platform/upstream/linaro-gcc.git
23 years ago * config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__HAVE_SHORT_DOUBLE__
ciceron [Fri, 4 May 2001 19:49:25 +0000 (19:49 +0000)]
* config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__HAVE_SHORT_DOUBLE__
to the pre-processor when -fshort-double is specified.
* config/m68hc11/m68hc11.2 (CPP_SPEC): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41843 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/m68hc11/larith.asm (divmodhi4): Empty for 68HC12.
ciceron [Fri, 4 May 2001 19:42:50 +0000 (19:42 +0000)]
* config/m68hc11/larith.asm (divmodhi4): Empty for 68HC12.
(__mulsi3): Rewrite for 68HC12.
* config/m68hc11/m68hc11.md (divmodhi4): Use idivs for 68HC12.
Mark 'x' constraint with earlyclobber to prevent a
RELOAD_FOR_OTHER_ADDRESS to go in it.
(mulhi3_m68hc12): New pattern.
(mulhi3_m68hc11): Rename of mulhi3.
(mulhi3): New expand for 68HC12 optimisation.
(umulhisi3, mulhisi3): New patterns for 68HC12.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41841 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * libjava.lang/Thread_Wait_Interrupt.xfail: New file.
tromey [Fri, 4 May 2001 19:33:10 +0000 (19:33 +0000)]
* libjava.lang/Thread_Wait_Interrupt.xfail: New file.
* libjava.lang/Thread_Wait_2.xfail: New file.
* libjava.lang/Thread_Wait.xfail: New file.
* libjava.lang/Thread_Sleep.xfail: New file.
* libjava.lang/Thread_Monitor.xfail: New file.
* libjava.lang/Thread_Join.xfail: New file.
* libjava.lang/Thread_Interrupt.xfail: New file.
* libjava.lang/Thread_Alive.xfail: New file.
* lib/libjava.exp (libjava_init): Set global
libjava_uses_threads.
(test_libjava): Document `need-threads' tag.
(test_libjava_from_source): handle need-threads tag.
(test_libjava_from_javac): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41840 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * gcc.c-torture/execute/longlong.c: Update for 16 bit int issues.
neil [Fri, 4 May 2001 18:40:35 +0000 (18:40 +0000)]
* gcc.c-torture/execute/longlong.c: Update for 16 bit int issues.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41838 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/m68hc11/m68hc11.md (*tbne, *tbeq): New patterns for 68HC12.
ciceron [Fri, 4 May 2001 18:22:00 +0000 (18:22 +0000)]
* config/m68hc11/m68hc11.md (*tbne, *tbeq): New patterns for 68HC12.
(extendqisi2, extendqihi2, extendhisi2): Use sex for 68HC12.
(uminqi3, umaxqi3, uminhi3, umaxhi3): New pattern for 68HC12.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41836 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/m68hc11/m68hc11.h (CONST_COSTS): Make the cost of
ciceron [Fri, 4 May 2001 18:08:36 +0000 (18:08 +0000)]
* config/m68hc11/m68hc11.h (CONST_COSTS): Make the cost of
constants cheap after reload.
* config/m68hc11/m68hc11.c (m68hc11_shift_cost): Shift by 16 and 32
are cheap.
(m68hc11_rtx_costs): Cost of multiplication by 65536 is expensive
so that gcc prefers a shift by 16.
(m6811_cost, m6812_cost): Make the shift cheap compared to an add.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41834 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoAdd alignment parameter to .comm directives for ELF targets.
nickc [Fri, 4 May 2001 16:16:43 +0000 (16:16 +0000)]
Add alignment parameter to .comm directives for ELF targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41832 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * alpha.h: NULL_PTR -> NULL.
ghazi [Fri, 4 May 2001 15:06:41 +0000 (15:06 +0000)]
* alpha.h: NULL_PTR -> NULL.
* arm.c: Likewise.
* arm.h: Likewise.
* avr.h: Likewise.
* c4x.c: Likewise.
* c4x.h: Likewise.
* i386.c: Likewise.
* i386.md: Likewise.
* i860.c: Likewise.
* ia64.c: Likewise.
* m68hc11.h: Likewise.
* rs6000.h: Likewise.
* sh.c: Likewise.
* sh.h: Likewise.
* sparc.h: Likewise.
* v850.c: Likewise.

* expr.c: Likewise.
* final.c: Likewise.
* gcc.c: Likewise.
* recog.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41831 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * i386.c (ix86_emit_restore_regs_using_mov, ix86_save_reg): Change
ghazi [Fri, 4 May 2001 14:36:39 +0000 (14:36 +0000)]
* i386.c (ix86_emit_restore_regs_using_mov, ix86_save_reg): Change
`bool' parameter to `int'.

* hash.c (hash_lookup): Likewise.

* hash.h (hash_lookup): Likewise.

* tlink.c (symbol_hash_lookup, demangled_hash_lookup): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41829 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * i386.c (x86_initialize_trampoline): Fix mode of constant.
hubicka [Fri, 4 May 2001 11:16:35 +0000 (11:16 +0000)]
* i386.c (x86_initialize_trampoline): Fix mode of constant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41828 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
gccadmin [Fri, 4 May 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41826 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * invoke.texi (i386 Options): Delete references to -malign-jumps,
geoffk [Fri, 4 May 2001 06:31:27 +0000 (06:31 +0000)]
* invoke.texi (i386 Options): Delete references to -malign-jumps,
-malign-loops, -malign-functions.
* i386.c (ix86_align_funcs): Delete.
(ix86_align_loops): Delete.
(ix86_align_jumps): Delete.
(override_options): Mark -malign-* as obsolete.  Emulate their
behaviour with the -falign-* options.  Default -falign-* from
the processor table.
* i386.h (FUNCTION_BOUNDARY): Define to 16; revert Richard Kenner's
patch of Wed May 2 13:09:36 2001.
(LOOP_ALIGN): Delete.
(LOOP_ALIGN_MAX_SKIP): Delete.
(LABEL_ALIGN_AFTER_BARRIER): Delete.
(LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41825 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * cp-tree.h (enum cp_tree_index): Add CPTI_PFN_VFLAG_IDENTIFIER.
geoffk [Fri, 4 May 2001 06:28:54 +0000 (06:28 +0000)]
* cp-tree.h (enum cp_tree_index): Add CPTI_PFN_VFLAG_IDENTIFIER.
(pfn_vflag_identifier): Define.
Update comment about layout of pointer functions.
(build_ptrmemfunc1): Update prototype.
(expand_ptrmemfunc_cst): Update prototype.
* decl.c (initialize_predefined_identifiers): Initialize
pfn_vflag_identifier.
(build_ptrmemfunc_type): When FUNCTION_BOUNDARY < 16, add
an extra field to the type.
* expr.c (cplus_expand_constant): Pass 'flag' between
expand_ptrmemfunc_cst and build_ptrmemfunc1.
* typeck.c (get_member_function_from_ptrfunc): When
FUNCTION_BOUNDARY < 16, look at additional field to determine
if a pointer-to-member is a real pointer or a vtable offset.
(build_ptrmemfunc1): Add new parameter to contain extra field.
(build_ptrmemfunc): Pass the extra field around.
(expand_ptrmemfunc_cst): Add new parameter to return extra field.
(pfn_from_ptrmemfunc): Ignore the extra field.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41824 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * except.h: Add prototype declaration for
aj [Fri, 4 May 2001 04:58:46 +0000 (04:58 +0000)]
* except.h: Add prototype declaration for
expand_builtin_init_dwarf_reg_sizes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41823 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * cp-tree.h (flag_inline_trees): Update documentation.
mmitchel [Fri, 4 May 2001 03:03:39 +0000 (03:03 +0000)]
* cp-tree.h (flag_inline_trees): Update documentation.
* decl.c (init_decl_processing): Adjust handling of
flag_inline_functions and flag_inline_trees to support -O3.
(grokfndecl): Set DECL_INLINE on all functions if that's what
the user requested.
(save_function_data): Clear DECL_INLINE in
current_function_cannot_inline is non-NULL.
* decl2.c (flag_inline_trees): Update documentation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41822 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoIndex: gcc/gcc/ChangeLog
geoffk [Fri, 4 May 2001 02:58:46 +0000 (02:58 +0000)]
Index: gcc/gcc/ChangeLog
2001-05-03  Geoffrey Keating  <geoffk@redhat.com>

* Makefile.in (site.exp): Set TESTING_IN_BUILD_TREE.

Index: gcc/gcc/testsuite/ChangeLog
2001-05-03  Geoffrey Keating  <geoffk@redhat.com>

* lib/g++.exp (g++_include_flags): Don't use any special flags
if TESTING_IN_BUILD_TREE is not defined.
(g++_init): Use a plain 'c++' as the compiler if
TESTING_IN_BUILD_TREEE is not defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41820 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-05-03 Mo DeJong <mdejong@redhat.com>
apbianco [Fri, 4 May 2001 00:34:48 +0000 (00:34 +0000)]
2001-05-03  Mo DeJong  <mdejong@redhat.com>

        * lex.c (java_new_lexer): Call iconv_close on temp handle used to
        check for byte swap.

(http://gcc.gnu.org/ml/java-patches/2001-q2/msg00185.html )

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41818 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * libjava.lang/err11.xfail: Removed.
tromey [Thu, 3 May 2001 22:03:44 +0000 (22:03 +0000)]
* libjava.lang/err11.xfail: Removed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41817 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * jartool.c (jt_strdup): New function.
danglin [Thu, 3 May 2001 21:40:47 +0000 (21:40 +0000)]
* jartool.c (jt_strdup): New function.
(get_next_arg): Use jt_strdup instead of strdup.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41815 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/m68hc11/m68hc11.md ("bitcmpqi"): New pattern for bitb
ciceron [Thu, 3 May 2001 21:09:28 +0000 (21:09 +0000)]
* config/m68hc11/m68hc11.md ("bitcmpqi"): New pattern for bitb
instruction.
("bitcmpqi2"): New pattern for bit-extract and test.
("bitcmphi"): New pattern for bitb/bita instructions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41812 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * gccbug.in: Use a temporary directory when the mktemp command is
jsm28 [Thu, 3 May 2001 20:57:17 +0000 (20:57 +0000)]
* gccbug.in: Use a temporary directory when the mktemp command is
not available.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41809 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/m68hc11/m68hc11.h (STATIC_CHAIN_REGNUM): Use soft z register
ciceron [Thu, 3 May 2001 20:52:43 +0000 (20:52 +0000)]
* config/m68hc11/m68hc11.h (STATIC_CHAIN_REGNUM): Use soft z register
instead of _.d1.
(INITIALIZE_TRAMPOLINE): Call it.
(TRAMPOLINE_SIZE): Define according to 68HC11/68HC12.
(TRAMPOLINE_TEMPLATE): Remove.
* config/m68hc11/m68hc11.c (m68hc11_initialize_trampoline): New.
* config/m68hc11/m68hc11-protos.h (m68hc11_initialize_trampoline):
Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41808 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
aoliva [Thu, 3 May 2001 20:35:18 +0000 (20:35 +0000)]
* configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
-prefer-non-pic depending on whether libtool has shared libraries
enabled or disabled.
* libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
$(LIBSUPCXX_PICFLAGS).
* configure, */Makefile.in: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41806 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* configure.in (noconfigdirs) [*-cygwin*, *-mingw*, *-beos]: Disable
aoliva [Thu, 3 May 2001 20:31:25 +0000 (20:31 +0000)]
* configure.in (noconfigdirs) [*-cygwin*, *-mingw*, *-beos]: Disable
libgcj.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41805 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-05-03 David O'Brien <obrien@FreeBSD.org>
obrien [Thu, 3 May 2001 20:13:05 +0000 (20:13 +0000)]
2001-05-03  David O'Brien  <obrien@FreeBSD.org>
* config/t-freebsd: Don't install "assert.h" in gcc.  Compile crtbeginS.o
and crtendS.o with PIC.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20010503125836.A15813@redhat.com>

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41803 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoReport fixes from 3_0-branch made on 2001-03-04:
ciceron [Thu, 3 May 2001 19:56:46 +0000 (19:56 +0000)]
Report fixes from 3_0-branch made on 2001-03-04:

* config/m68hc11/larith.asm (__mulqi3): Fix multiplication of two
negative numbers.
(___subdi3, ___adddi3): Use x instead of y as index register.
(__init_bss_section, __map_data_section): Optimize for 68HC12.
(__memset, __memcpy): Likewise.
(regs): Put the soft registers in bss for 68HC12.
(abort): Use trap to abort for 68hc12.
(__mulhi3, __mulhi32): Use emul for 68hc12.
(__mulsi3): Avoid to use the tmp soft register for 68hc12.
* config/m68hc11/m68hc11.h (LIMIT_RELOAD_CLASS): Don't define.
* config/m68hc11/m68hc11-protos.h (limit_reload_class): Remove.
* config/m68hc11/m68hc11.c (limit_reload_class): Remove.
(m68hc11_override_options): Remove setting of flag_no_nonansi_builtin.
Set 68HC12 min offset to -65536.
(print_operand): Put parenthesis arround the operand if it refers
to a symbol having the same name as a register.
(m68hc11_z_replacement): When z register is replaced by its
equivalent soft register, force the insn to be re-recognized.
(m68hc11_check_z_replacement): Fix the test when destination is
the index register and z dies in the insn.
(m68hc11_reorg): Remove the REG_DEAD notes beforce recomputing them.
* config/m68hc11/m68hc11.c (m68hc11_override_options): Initialize
costs according to processor variant.
(m68hc11_shift_cost): New function to compute shift costs.
(m68hc11_rtx_costs): Define costs according to processor variant.
(m6811_cost): Costs for 68HC11.
(m6812_cost): Costs for 68HC12.
(COSTS_N_INSNS): Remove.

* config/m68hc11/m68hc11.h (RTX_COSTS): New.
(DEFAULT_RTX_COSTS): Remove.
(CONST_COSTS): Define costs according to OUTER_CODE.
(processor_costs): New struct to define costs.
(m68hc11_cost): Pointer to current costs.

* config/m68hc11/m68hc11.md (*addhi3_68hc12): Fix generation
and use m68hc11_notice_keep_cc when using leax/leay.
(addhi3 split): Reject split if the insn is handled by
leax/leay above.
* config/m68hc11/m68hc11.c (m68hc11_split_move): For 68HC12 the
push must be handled in a special way if the source operand uses
sp as index register.
(m68hc11_notice_keep_cc): New function.
(m68hc11_gen_movhi): Use it when an insn changes a register but
not the flags.
(m68hc11_gen_movqi): Fix move for 68HC12.
* config/m68hc11/m68hc11-protos.h (m68hc11_notice_keep_cc): Declare.

* config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Use LCT_CONST
and don't pass operands[0] to emit_library_call_value.

* config/m68hc11/m68hc11.md (tsthi_1): Use cpd for 68HC12.
(zero_extendsi split): Simplify and use (zero_extendhi).
(*addhi3): Remove 'w' constraint since stack pointer is handled
by (addhi3_sp).
(*ashlhi3_2): Operand 2 is clobbered use '+' for its constraint.
(*ashlhi3, *ashrhi3, *lshrhi3): Likewise.
(*ashrhi3_const): Fix shift by 7.
(*lshrsi3_const16): Fix template.
(call, call_value): Fix constraint and predicate.

* config/m68hc11/m68hc11.md (X_REGNUM, D_REGNUM): New constant.
(Y_REGNUM, SP_REGNUM, PC_REGNUM, A_REGNUM, B_REGNUM): Likewise.
(CC_REGNUM): Likewise.
(*unnamed splits): Use above constants instead of hard coded numbers.
(*adcq, *subcq, *addsi_carry, *rotlqi3_with_carry): Likewise.
(*rotlhi3_with_carry, *rotrhi3_with_carry): Likewise.
(*return_16bit, *unnamed peepholes): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41802 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * texi2pod.pl: Add copyright and GPL notices.
jsm28 [Thu, 3 May 2001 19:45:32 +0000 (19:45 +0000)]
* texi2pod.pl: Add copyright and GPL notices.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41800 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-05-03 David O'Brien <obrien@FreeBSD.org>
obrien [Thu, 3 May 2001 19:32:51 +0000 (19:32 +0000)]
2001-05-03  David O'Brien  <obrien@FreeBSD.org>
* config.gcc(rs6000-ibm-aix|powerpc-ibm-aix):  Do not include
rs6000/rs6000.h twice.

Approved by:  David Edelsohn <dje@watson.ibm.com>
              <200105031901.PAA24582@makai.watson.ibm.com>

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41799 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* config/i386/djgpp.h (CPP_PREDEFINES): Define __GO32__.
dj [Thu, 3 May 2001 19:08:11 +0000 (19:08 +0000)]
* config/i386/djgpp.h (CPP_PREDEFINES): Define __GO32__.
(CPP_SPEC): Conditionally define MSDOS and GO32.
(SUBTARGET_SWITCHES): Ignore -mbnu210 and -mno-bnu210.
(SUBTARGET_OVERRIDE_OPTIONS): Warn that -mbnu210 and -mno-bnu210 are
ignored.
(SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41798 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* config/mn10300/mn10300.md: Sign-extend GEN_INT operands.
aoliva [Thu, 3 May 2001 18:41:29 +0000 (18:41 +0000)]
* config/mn10300/mn10300.md: Sign-extend GEN_INT operands.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41797 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-05-03 Martin Kahlert <martin.kahlert@infineon.com>
tromey [Thu, 3 May 2001 16:56:38 +0000 (16:56 +0000)]
2001-05-03  Martin Kahlert  <martin.kahlert@infineon.com>

* jni.cc (_Jv_JNI_GetPrimitiveArrayRegion): Fixed bounds
checking.
(_Jv_JNI_SetPrimitiveArrayRegion): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41795 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoFix bad checkin.
aph [Thu, 3 May 2001 16:53:38 +0000 (16:53 +0000)]
Fix bad checkin.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41793 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoWrong ChangeLog entry.
jakub [Thu, 3 May 2001 16:40:38 +0000 (16:40 +0000)]
Wrong ChangeLog entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41792 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * integrate.h (struct inline_remap): Add leaf_reg_map table.
mmitchel [Thu, 3 May 2001 16:14:34 +0000 (16:14 +0000)]
* integrate.h (struct inline_remap): Add leaf_reg_map table.
* integrate.c (expand_inline_function): Use xcalloc to allocate
memory.
(copy_rtx_and_substitute): Use the leaf_reg_map for leaf
registers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41791 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * update_web_docs: Don't generate HTML from gxxint.texi. Don't
jsm28 [Thu, 3 May 2001 15:49:22 +0000 (15:49 +0000)]
* update_web_docs: Don't generate HTML from gxxint.texi.  Don't
run texi2html on manuals that aren't present.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41789 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * c-dump.c (dequeue_and_dump): Don't look at DECL_ASSEMBLER_NAME
nathan [Thu, 3 May 2001 15:41:13 +0000 (15:41 +0000)]
* c-dump.c (dequeue_and_dump): Don't look at DECL_ASSEMBLER_NAME
if it is not set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41788 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* config/mn10300/mn10300.h (LINK_SPEC): Pass --relax to the
aoliva [Thu, 3 May 2001 15:19:15 +0000 (15:19 +0000)]
* config/mn10300/mn10300.h (LINK_SPEC): Pass --relax to the
linker if -mrelax is given.
(TARGET_SWITCHES): Document -mrelax.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41787 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-04-30 Andrew Haley <aph@cambridge.redhat.com>
aph [Thu, 3 May 2001 12:54:10 +0000 (12:54 +0000)]
2001-04-30  Andrew Haley  <aph@cambridge.redhat.com>

        * libgcj.spec.in (jc1): Add EXCEPTIONSPEC.
        * configure.host (EXCEPTIONSPEC): New.
        * configure.in (EXCEPTIONSPEC): New.
        * configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41786 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoRe-installed 2001-01-09's patch:
aoliva [Thu, 3 May 2001 11:58:43 +0000 (11:58 +0000)]
Re-installed 2001-01-09's patch:
* hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long
if it's wider than long and the target's long is wider than the
host's.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41785 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * dump.c (cp_dump_tree, USING_STMT case): New case.
nathan [Thu, 3 May 2001 11:02:26 +0000 (11:02 +0000)]
* dump.c (cp_dump_tree, USING_STMT case): New case.
* tree.c (cp_statement_code_p): Add USING_STMT.
* decl2.c (do_using_directive): Add the using directive statement.

* tree.c (walk_tree): Reformat an if block.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41783 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-05-02 David O'Brien <obrien@FreeBSD.org>
obrien [Thu, 3 May 2001 07:56:42 +0000 (07:56 +0000)]
2001-05-02  David O'Brien  <obrien@FreeBSD.org>
* config.gcc, config/rs6000/aix51.h, config/rs6000/mach.h:  Do not
directly include rs6000/rs6000.h.  Instead do it in tm.h.

Approved by:  Geoff Keating <geoffk@geoffk.org>
              Message-ID: <jmae4vtdi0.fsf@geoffk.org>

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41782 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
gccadmin [Thu, 3 May 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41780 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * doc/*.texi: Remove generated documentation.
bryce [Thu, 3 May 2001 03:01:44 +0000 (03:01 +0000)]
* doc/*.texi: Remove generated documentation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41778 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * objc/objc-act.c (STRING_OBJECT_CLASS_NAME): Default to
shebs [Wed, 2 May 2001 21:51:54 +0000 (21:51 +0000)]
    * objc/objc-act.c (STRING_OBJECT_CLASS_NAME): Default to
        NSConstantString for NeXT-style runtimes.
        (STRING_OBJECT_GLOBAL_NAME): New macro.
        (enum objc_tree_index): Add values OCTI_CNST_STR_GLOB_ID and
        OCTI_STRING_CLASS_DECL.
        (constant_string_global_id): New macro.
        (string_class_decl): Ditto.
        (setup_string_decl): New function.
        (build_objc_string_object): Use it to build a NeXT runtime
        compatible string initializer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41776 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * g++.old-deja/g++.eh/catch13.C: New test.
jakub [Wed, 2 May 2001 21:00:00 +0000 (21:00 +0000)]
* g++.old-deja/g++.eh/catch13.C: New test.
* g++.old-deja/g++.eh/catch14.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41774 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * tradcpp.c (do_define): Make sure we don't walk past limit.
jakub [Wed, 2 May 2001 20:50:01 +0000 (20:50 +0000)]
* tradcpp.c (do_define): Make sure we don't walk past limit.

* gcc.dg/cpp/tr-define.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41773 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago 2000-05-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Wed, 2 May 2001 20:30:19 +0000 (20:30 +0000)]
    2000-05-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

        * config/rs6000/rs6000.c (rs6000_legitimate_address): Allow any stack
        offsets if not REG_OK_STRICT.

        * config/rs6000/rs6000.h (REG_OK_STRICT_FLAG): New macro.
        (INT_REG_OK_FOR_INDEX_P): Likewise.
        (INT_REG_OK_FOR_BASE_P): Likewise.
        (REG_OK_FOR_INDEX_P): Use INT_REG_OK_FOR_INDEX_P.
        (REG_OK_FOR_BASE_P): Use INT_REG_OK_FOR_BASE_P.
        (LEGITIMATE_OFFSET_ADDRESS_P): Use INT_REG_OK_FOR_INDEX_P and
        INT_REG_OK_FOR_BASE_P instead of REG_OK_FOR_INDEX_P and
        REG_OK_FOR_BASE_P. Take an additional parameter.
        (LEGITIMATE_INDEXED_ADDRESS_P): Likeewise.
        (LEGITIMATE_INDIRECT_ADDRESS_P): Likewise.
        (LEGITIMATE_LO_SUM_ADDRESS_P): Likewise.
        (GO_IF_LEGITIMATE_ADDRESS): Move code into new function
        rs6000_legitimate_address() and use it.
        * config/rs6000/rs6000.c: Update all callers.
        (rs6000_legitimate_address): New function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41772 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-05-02 David Edelsohn <edelsohn@gnu.org>
dje [Wed, 2 May 2001 18:21:06 +0000 (18:21 +0000)]
2001-05-02  David Edelsohn  <edelsohn@gnu.org>

* config/rs6000/rs6000.c (rs6000_emit_move): Merge
special_constant conditional blocks together.

2001-05-02  Dale Johannesen  <dalej@apple.com>

* config/rs6000/rs6000.h (RS6000_ARG_SIZE): Remove unused NAMED
parameter.
(STRICT_ARGUMENT_NAMING): Define.
* config/rs6000/rs6000.c (function_arg_advance, function_arg,
function_arg_partial_nregs, setup_incoming_varargs): Remove
args logic which depends on "named" now that STRICT_ARGUMENT_NAMING
is defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41771 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * decl.c (compute_array_index_type): Don't try to do anything with
mmitchel [Wed, 2 May 2001 18:04:18 +0000 (18:04 +0000)]
* decl.c (compute_array_index_type): Don't try to do anything with
the indices when processing a template.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41770 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/i386/i386.h (FUNCTION_BOUNDARY): Result is unsigned.
kenner [Wed, 2 May 2001 17:37:26 +0000 (17:37 +0000)]
* config/i386/i386.h (FUNCTION_BOUNDARY): Result is unsigned.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41767 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * function.c (fixup_var_regs_1, case SUBREG): Use promoted mode
kenner [Wed, 2 May 2001 17:31:19 +0000 (17:31 +0000)]
* function.c (fixup_var_regs_1, case SUBREG): Use promoted mode
for replacement.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41765 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * expr.c (store_field): Do nothing except elaborate side-effects if
kenner [Wed, 2 May 2001 17:08:19 +0000 (17:08 +0000)]
* expr.c (store_field): Do nothing except elaborate side-effects if
zero-bit field.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41763 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agocp:
ghazi [Wed, 2 May 2001 14:38:35 +0000 (14:38 +0000)]
cp:
* call.c: NULL_PTR -> NULL.
* class.c: Likewise.
* cvt.c: Likewise.
* decl.c: Likewise.
* decl2.c: Likewise.
* except.c: Likewise.
* init.c: Likewise.
* rtti.c: Likewise.
* search.c: Likewise.
* tree.c: Likewise.
* typeck.c: Likewise.
* typeck2.c: Likewise.

f:
* com.c: NULL_PTR -> NULL.

java:
* decl.c: NULL_PTR -> NULL.
* jcf-write.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41762 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * c-lex.c: NULL_PTR -> NULL.
ghazi [Wed, 2 May 2001 14:31:45 +0000 (14:31 +0000)]
* c-lex.c: NULL_PTR -> NULL.
* cse.c: Likewise.
* emit-rtl.c: Likewise.
* gcse.c: Likewise.
* genpeep.c: Likewise.
* jump.c: Likewise.
* mips-tdump.c: Likewise.
* reload1.c: Likewise.
* rtlanal.c: Likewise.
* stmt.c: Likewise.
* stor-layout.c: Likewise.
* toplev.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41761 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * decl2.c (do_using_directive): Revert previous patch.
aj [Wed, 2 May 2001 12:23:08 +0000 (12:23 +0000)]
* decl2.c (do_using_directive): Revert previous patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41759 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
gccadmin [Wed, 2 May 2001 07:16:08 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41757 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * g++.old-deja/g++.abi/cxa_vec.C: Get malloc() from
ljrittle [Wed, 2 May 2001 06:55:39 +0000 (06:55 +0000)]
* g++.old-deja/g++.abi/cxa_vec.C: Get malloc() from
<stdlib.h>, not <malloc.h>.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41756 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 2 May 2001 05:50:20 +0000 (05:50 +0000)]
2001-05-01  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
* testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.

* include/bits/std_sstream.h (stringbuf): Leak
copied string.
* testsuite/24_iterators/ostreambuf_iterator.cc: Correct.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41755 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * expr.c (expand_expr): When compiling LABELED_BLOCK_EXPR,
bothner [Wed, 2 May 2001 02:04:27 +0000 (02:04 +0000)]
* expr.c (expand_expr):  When compiling LABELED_BLOCK_EXPR,
call do_pending_stack_adjust before emiting label.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41753 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-05-01 Tom Browder <tbrowder@home.com>
pme [Wed, 2 May 2001 01:39:03 +0000 (01:39 +0000)]
2001-05-01  Tom Browder  <tbrowder@home.com>

* docs/html/ext/howto.html:  Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41752 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoFix typo
mmitchel [Wed, 2 May 2001 00:58:46 +0000 (00:58 +0000)]
Fix typo

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41750 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * extend.texi: Fix typo.
mmitchel [Wed, 2 May 2001 00:52:58 +0000 (00:52 +0000)]
* extend.texi: Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41749 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * fdl.texi: New file.
mmitchel [Wed, 2 May 2001 00:39:01 +0000 (00:39 +0000)]
* fdl.texi: New file.
* objc-features.texi: Simplify.
* Makefile.in: Adjust accordingly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41747 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * Make-lang.in ($(srcdir)/java/gcj.info): Added `-I..'.
tromey [Tue, 1 May 2001 22:21:01 +0000 (22:21 +0000)]
* Make-lang.in ($(srcdir)/java/gcj.info): Added `-I..'.
(java/gcj.dvi): Added $(srcdir) to TEXINPUTS.
* gcj.texi: Updated copyright text.  Include fdl.texi.
(Top): Link to new node.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41743 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * parse.h (REGISTER_IMPORT): Use tree_cons instead of chainon.
bothner [Tue, 1 May 2001 22:13:31 +0000 (22:13 +0000)]
* parse.h (REGISTER_IMPORT):  Use tree_cons instead of chainon.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41741 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * parse.y (java_pop_parser_context): The TREE_VALUE of a link in the
bothner [Tue, 1 May 2001 22:05:46 +0000 (22:05 +0000)]
* parse.y (java_pop_parser_context):  The TREE_VALUE of a link in the
import_list contains the name, not the TREE_PURPOSE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41739 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-05-01 Jeffrey Oldham <oldham@codesourcery.com>
oldham [Tue, 1 May 2001 21:44:02 +0000 (21:44 +0000)]
2001-05-01  Jeffrey Oldham  <oldham@codesourcery.com>

* gc_priv.h (UNLOCK): Change type of GC_noop1 argument.
(GC_noop1): Change declaration to take one argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41738 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * objc/objc-act.c (build_module_descriptor): Clear DECL_CONTEXT
shebs [Tue, 1 May 2001 20:45:55 +0000 (20:45 +0000)]
    * objc/objc-act.c (build_module_descriptor): Clear DECL_CONTEXT
        of UOBJC_MODULES_decl.
        (generate_strings): Clear DECL_CONTEXT of new decl nodes.
        (generate_descriptor_table): Ditto.
        (generate_protocols): Ditto.
        (generate_protocol_list): Ditto.
        (generate_classref_translation_entry): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41736 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-05-01 Jeffrey Oldham <oldham@codesourcery.com>
oldham [Tue, 1 May 2001 18:51:06 +0000 (18:51 +0000)]
2001-05-01  Jeffrey Oldham  <oldham@codesourcery.com>

* invoke.texi (Optimize Options): Add documentation for `--param
max-delay-slot-insn-search' and `--param
max-delay-slot-live-search' and reorder --param section.
* params.def: Modify initial comment.
* params.h (param_info): Add `help' member.
* toplev.c (lang_independent_params): Include `help' description.
(display_help): Print --param parameters.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41734 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-04-30 Andrew Haley <aph@cambridge.redhat.com>
aph [Tue, 1 May 2001 17:45:11 +0000 (17:45 +0000)]
2001-04-30  Andrew Haley  <aph@cambridge.redhat.com>

        * libgcj.spec.in (jc1): Add EXCEPTIONSPEC.
        * configure.host (EXCEPTIONSPEC): New.
        * configure.in (EXCEPTIONSPEC): New.
        * configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41733 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-05-01 Zack Weinberg <zackw@stanford.edu>
zack [Tue, 1 May 2001 17:45:05 +0000 (17:45 +0000)]
2001-05-01  Zack Weinberg  <zackw@stanford.edu>

* config.gcc: Don't default xmake_file to ${cpu_type}/x-${cpu_type}.
Remove references to deleted files.
(*-*-openbsd): No need to override xmake_file.
(*-*-sysv4): Treat like *-*-sysv.

* configure.in: Probe for ldopen in various places, and set up
collect2 to be linked with them if found.
Don't dink with Windows registry stuff unless $host_os is a
Win32 os name.  Check to see if we need -ladvapi32.
* configure: Regenerate.

* Makefile: Get rid of CLIB and HOST_CLIB.
Substitute in COLLECT2_LIBS and link collect2 against its contents.
* build-make: Get rid of HOST_CLIB.

* config/a29k/x-unix, config/alpha/x-osf, config/i386/x-aix,
config/i386/x-osfrose, config/m68k/x-dpx2, config/mips/x-iris3,
config/mips/x-mips, config/mips/x-osfrose, config/mips/x-sony,
config/mips/x-sysv, config/rs6000/x-aix31, config/rs6000/x-aix41,
config/rs6000/x-rs6000: Delete.

* config/i386/x-cygwin, config/m68k/t-aux, config/mips/x-iris:
Don't set CLIB.

24 x-host fragments remain, 0 x-cpu, 3 top level.

2001-05-01  Zack Weinberg  <zackw@stanford.edu>

* aclocal.m4 (gcc_AC_C_CHAR_BIT): Correct test program.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41732 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * testsuite/libstdc++.tests/tests.exp: Add comment.
gdr [Tue, 1 May 2001 17:28:02 +0000 (17:28 +0000)]
  * testsuite/libstdc++.tests/tests.exp: Add comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41730 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * Makefile.in (install-headers): Remove redundant dependency.
rth [Tue, 1 May 2001 16:58:40 +0000 (16:58 +0000)]
    * Makefile.in (install-headers): Remove redundant dependency.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41729 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * testsuite/libstdc++.tests/tests.exp: Set ulimits.
gdr [Tue, 1 May 2001 15:01:50 +0000 (15:01 +0000)]
  * testsuite/libstdc++.tests/tests.exp: Set ulimits.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41727 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * c-tree.texi (USING_STMT): Document.
nathan [Tue, 1 May 2001 14:43:17 +0000 (14:43 +0000)]
* c-tree.texi (USING_STMT): Document.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41726 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agocp:
nathan [Tue, 1 May 2001 12:56:12 +0000 (12:56 +0000)]
cp:
* cp-tree.def (USING_STMT): New statement node.
* cp-tree.h (USING_STMT_NAMESPACE): New macro.
* decl2.c (do_using_directive): Add USING_STMT to statement
tree. Don't emit errors when processing template decl.
* pt.c (tsubst_expr, USING_STMT case): New case.
* semantics.c (cp_expand_stmt, USING_STMT case): New case.
testsuite:
* g++.old-deja/g++.ns/template17.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41724 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * bitmap.c: Change NULL_PTR to NULL or "(rtx*)0".
ghazi [Tue, 1 May 2001 12:11:35 +0000 (12:11 +0000)]
* bitmap.c: Change NULL_PTR to NULL or "(rtx*)0".
* c-common.c: Likewise.
* c-decl.c: Likewise.
* combine.c: Likewise.
* rs6000.c: Likewise.
* except.c: Likewise.
* explow.c: Likewise.
* expr.c: Likewise.
* fold-const.c: Likewise.
* function.c: Likewise.
* gcc.c: Likewise.
* gcse.c: Likewise.
* integrate.c: Likewise.
* loop.c: Likewise.
* objc/objc-act.c: Likewise.
* recog.c: Likewise.
* reg-stack.c: Likewise.
* reload.c: Likewise.
* reload1.c: Likewise.
* simplify-rtx.c: Likewise.
* stmt.c: Likewise.
* varasm.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41722 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agocp:
nathan [Tue, 1 May 2001 11:47:49 +0000 (11:47 +0000)]
cp:
* call.c (build_new_op): Convert args from reference here.
(build_conditional_expr): Don't convert here.
testsuite:
* g++.old-deja/g++.pt/ref4.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41721 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agocp:
nathan [Tue, 1 May 2001 10:53:09 +0000 (10:53 +0000)]
cp:
* spew.c (last_token_id): New static variable.
(read_token): Set it here.
(yyerror): Use it here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41719 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * diagnostic.def: New file.
gdr [Tue, 1 May 2001 08:19:45 +0000 (08:19 +0000)]
  * diagnostic.def: New file.
      * diagnostic.h (diagnostic_t): New enum.
      * Makefile.in (diagnostic.o): Depend on diagnostic.def

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41717 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
gccadmin [Tue, 1 May 2001 07:16:43 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41716 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * tsystem.h: Test only POSIX for availability of string.h
zack [Tue, 1 May 2001 03:48:04 +0000 (03:48 +0000)]
* tsystem.h: Test only POSIX for availability of string.h
and time.h.
* config.gcc (all systems): If USG appeared in xm_defines,
change it to POSIX.  If both USG and POSIX appeared, just
delete USG. Remove unnecessary quotes around xm_defines
settings.
(m68k-crds-unos*): Don't #define unos - tested nowhere.
(m68k-apple-aux*): Don't #define AUX - tested nowhere.
(alpha*-*-linux*ecoff*, powerpc-*-linux*libc1,
powerpc-*-linux*): No need to set xm_defines - handled by
global settings for *-*-linux*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41714 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * dbxout.c, mips-tfile.c, config/mips/mips.c, xcoffout.c:
zack [Tue, 1 May 2001 01:58:32 +0000 (01:58 +0000)]
* dbxout.c, mips-tfile.c, config/mips/mips.c, xcoffout.c:
Always include gstab.h, not system stab.h.  Don't provide
default definitions of N_CATCH or N_OPT.  Always use the
gstab.h variant of STAB_CODE_TYPE.
* final.c: Don't include stab.h/gstab.h at all, or provide
defaults for N_SLINE and N_SOL.

* xcoffout.c: Can assume N_MAIN, N_DSLINE, N_BSLINE, N_BINCL,
N_EINCL, N_EXCL, N_M2C, N_SCOPE, N_CATCH, and N_OPT are
available.
* sdbout.c: Always include gsyms.h instead of system syms.h.

* configure.in: No need to check for stab.h.
* configure, config.in: Regenerate.
* Makefile.in (final.o): Don't depend on gstab.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41713 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * extend.texi: Improve documentation of volatile asms.
mmitchel [Tue, 1 May 2001 00:39:59 +0000 (00:39 +0000)]
* extend.texi: Improve documentation of volatile asms.

* c-tree.texi: Fix thinko.
* gcc.texi: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41712 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * c-common.c (c_promoting_integer_type_p): New function, from the
rth [Mon, 30 Apr 2001 23:59:10 +0000 (23:59 +0000)]
    * c-common.c (c_promoting_integer_type_p): New function, from the
        corpse of old macro.  Properly promote too-small enumerations and
        booleans.  Adjust all callers.
        * c-common.h (C_PROMOTING_INTEGER_TYPE_P): Remove.
        (c_promoting_integer_type_p): Declare.
        * c-decl.c: Adjust C_PROMOTING_INTEGER_TYPE_P invocations.
        * c-typeck.c: Likewise.
        (default_conversion): Remove now redundant boolean check.

        * cvt.c: Downcase C_PROMOTING_INTEGER_TYPE_P invocations.
        * decl.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41709 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoRevert last change.
rth [Mon, 30 Apr 2001 23:28:23 +0000 (23:28 +0000)]
Revert last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41708 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * regmove.c (try_apply_stack_adjustment): Remove now redundant
rth [Mon, 30 Apr 2001 23:27:22 +0000 (23:27 +0000)]
    * regmove.c (try_apply_stack_adjustment): Remove now redundant
        sanity checks.
        (combine_stack_adjustments_for_block): Don't combine stack
        allocation followed by deallocations.  Handle grow-up stacks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41707 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-04-30 Matt Kraai <kraai@alumni.carnegiemellon.edu>
tromey [Mon, 30 Apr 2001 23:09:39 +0000 (23:09 +0000)]
2001-04-30  Matt Kraai  <kraai@alumni.carnegiemellon.edu>

* java/io/natFile.cc (performSetReadOnly): Fix #ifdef test.
(performDelete): Fix #endif placement.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41703 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * fdl.texi: New file.
mmitchel [Mon, 30 Apr 2001 22:46:47 +0000 (22:46 +0000)]
* fdl.texi: New file.
* c-tree.texi: Use the GFDL.
* gcc.texi: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41701 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * fdl.texi: New file.
mmitchel [Mon, 30 Apr 2001 22:46:01 +0000 (22:46 +0000)]
* fdl.texi: New file.
* c-tree.texi: Use the GFDL.
* gcc.texi: Likewise.

* porting.texi: Use the GFDL.

* objc-features.texi: Use the GFDL.

* gxxint.texi: Remove.
* Make-lang.in: Remove all traces of gxxint.texi.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41700 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * decl2.c (start_static_initialization_or_destruction): Correct
mmitchel [Mon, 30 Apr 2001 22:20:03 +0000 (22:20 +0000)]
* decl2.c (start_static_initialization_or_destruction): Correct
logic to handle the -fno-use-cxa-atexit case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41697 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-04-30 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Mon, 30 Apr 2001 21:51:57 +0000 (21:51 +0000)]
2001-04-30  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.f-torture/execute/20010430.f: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41695 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 30 Apr 2001 20:53:31 +0000 (20:53 +0000)]
2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/2627
* testsuite/24_iterators/ostreambuf_iterator.cc: New file.
* include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
specializations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41694 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * invoke.texi: Add a section documenting Objective-C options.
shebs [Mon, 30 Apr 2001 18:17:13 +0000 (18:17 +0000)]
    * invoke.texi: Add a section documenting Objective-C options.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41692 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 30 Apr 2001 18:07:51 +0000 (18:07 +0000)]
2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/2964
* include/bits/stl_iterator_base_funcs.h (__advance): Fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41691 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 30 Apr 2001 17:48:41 +0000 (17:48 +0000)]
2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/2964
* include/bits/stl_iterator_base_funcs.h (__advance): Fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41690 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 30 Apr 2001 17:41:29 +0000 (17:41 +0000)]
2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/2964
* include/bits/stl_iterator_base_funcs.h (__advance): Fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41689 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-04-27 Andrew Haley <aph@cambridge.redhat.com>
aph [Mon, 30 Apr 2001 16:07:26 +0000 (16:07 +0000)]
2001-04-27  Andrew Haley  <aph@cambridge.redhat.com>

        * emit-rtl.c (try_split):  Copy EH notes to sequence.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41688 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * regmove.c (record_stack_memrefs): Catch all references to the
mmitchel [Mon, 30 Apr 2001 15:09:51 +0000 (15:09 +0000)]
* regmove.c (record_stack_memrefs): Catch all references to the
stack pointer.

* optimize.c (update_cloned_parm): New function.
(maybe_clone_body): Use it.  Update the `this' parameter too.

* gcc.dg/20000724-1.c: Add a clobber of `esp'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41687 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
gccadmin [Mon, 30 Apr 2001 07:16:39 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41679 138bc75d-0d04-0410-961f-82ee72b054a4