OSDN Git Service

pf3gnuchains/gcc-fork.git
19 years ago * config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Don't use
ciceron [Fri, 20 Jul 2001 19:34:56 +0000 (19:34 +0000)]
* config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Don't use
gen_highpart.

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

19 years ago2001-07-20 Daniel Berlin <dan@cgsoftware.com>
dberlin [Fri, 20 Jul 2001 19:12:46 +0000 (19:12 +0000)]
2001-07-20  Daniel Berlin  <dan@cgsoftware.com>

* Make-lang.in (cp/optimize.o): Depend on $(PARAMS_H), not
params.h.

2001-07-20  Daniel Berlin  <dan@cgsoftware.com>

* params.def: Change default max inline insns to 100.

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

19 years ago * combine.c (combine_simplify_rtx): Generate a new shift operation
dnovillo [Fri, 20 Jul 2001 17:47:03 +0000 (17:47 +0000)]
* combine.c (combine_simplify_rtx): Generate a new shift operation
when simplifying the first operand of a (neg (ashift)) expression.

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

19 years ago * regclass.c (N_REG_INTS): Use only 32 bits per element.
rth [Fri, 20 Jul 2001 16:55:03 +0000 (16:55 +0000)]
    * regclass.c (N_REG_INTS): Use only 32 bits per element.

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

19 years ago * doc/install.texi (sparc-sun-solaris*): Add in 4.x assembler bug
gerald [Fri, 20 Jul 2001 16:33:52 +0000 (16:33 +0000)]
* doc/install.texi (sparc-sun-solaris*): Add in 4.x assembler bug
information.   Move rest into ...
(*-*-solaris): ... here.  Eliminate redundant information and
reword necessary packages section.  Delete 4.x assembler bug info.
(sparc-sun-*): Merge into ...
(sparc-sun-sunos*): here.

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

19 years ago * config/v850/v850.md (casesi): Generate LABEL_REF
clm [Fri, 20 Jul 2001 13:42:57 +0000 (13:42 +0000)]
    * config/v850/v850.md (casesi): Generate LABEL_REF
        with Pmode.

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

19 years ago2001-07-20 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Fri, 20 Jul 2001 13:27:40 +0000 (13:27 +0000)]
2001-07-20  Toon Moene  <toon@moene.indiv.nluug.nl>

* com.c (ffecom_expr_intrinsic_):
case FFEINTRIN_impIBITS: Remove TREE_SHIFT_FULLWIDTH define.
case FFEINTRIN_impISHFT: Ditto. Change LT_EXPR to NE_EXPR.
case FFEINTRIN_impISHFTC: Ditto.
case FFEINTRIN_impMVBITS: Ditto.

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

19 years agooops, missed rej file.
hubicka [Fri, 20 Jul 2001 12:38:08 +0000 (12:38 +0000)]
oops, missed rej file.

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

19 years ago * i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
hubicka [Fri, 20 Jul 2001 12:15:36 +0000 (12:15 +0000)]
* i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
* i386.c (ix86_zero_extend_to_Pmode): Make global.
* i386.md (strclrsi expander): Use it.

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

19 years ago * integrate.c (copy_insn_list): handle
hubicka [Fri, 20 Jul 2001 11:30:13 +0000 (11:30 +0000)]
* integrate.c (copy_insn_list): handle
NOTE_INSN_DELETED_LABEL, as if it were CODE_LABEL.
(copy_rtx_and_substitute): Likewise; behave to NOTE_INSN_DELETED_LABEL
identically as to CODE_LABEL.

* fold-const (fold): Convert A/B/C to A/(B*C) and
A/(B/C) to (A/B)*C

* except.c (connect_post_landing_pads): Delete the RESX insns.

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

19 years ago2001-07-20 David Billinghurst <David.Billinghurst@riotinto.org>
toon [Fri, 20 Jul 2001 10:52:06 +0000 (10:52 +0000)]
2001-07-20  David Billinghurst <David.Billinghurst@riotinto.org>

* g77.f-torture/compile/pr3743.f:  New test

2001-07-20  David Billinghurst <David.Billinghurst@riotinto.com>

* g77.f-torture/execute/f90-intrinsic-bit.f: New test

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

19 years agoremove conflicts
aldyh [Fri, 20 Jul 2001 10:36:09 +0000 (10:36 +0000)]
remove conflicts

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

19 years ago * config/mips/mips.h (ISA_HAS_NMADD_NMSUB): New macro.
aldyh [Fri, 20 Jul 2001 10:35:33 +0000 (10:35 +0000)]
    * config/mips/mips.h (ISA_HAS_NMADD_NMSUB): New macro.

        * config/mips/mips.md (nmadd/nmsub): Use macro.

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

19 years agothis is a test
aldyh [Fri, 20 Jul 2001 10:33:00 +0000 (10:33 +0000)]
this is a test

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

19 years ago * cppinit.c (remove_dup_dir): Make static.
nathan [Fri, 20 Jul 2001 10:30:47 +0000 (10:30 +0000)]
* cppinit.c (remove_dup_dir): Make static.
(remove_dup_dirs): Make static. Only warn about preempting a
system directory with a non-system directory.

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

19 years agoDaily bump.
gccadmin [Fri, 20 Jul 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.

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

19 years ago * ifcvt.c (noce_try_store_flag_constants): Correct order
geoffk [Fri, 20 Jul 2001 03:59:19 +0000 (03:59 +0000)]
* ifcvt.c (noce_try_store_flag_constants): Correct order
of parameters to trunc_int_for_mode.

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

19 years ago * reorg.c (fill_simple_delay_slots): If an instruction might throw
mmitchel [Fri, 20 Jul 2001 02:38:57 +0000 (02:38 +0000)]
* reorg.c (fill_simple_delay_slots): If an instruction might throw
an exception that will be caught within this function, do not fill
its delay slot with any subsequent instruction.

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

19 years ago2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
bkoz [Fri, 20 Jul 2001 01:17:13 +0000 (01:17 +0000)]
2001-07-19  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

        * include/bits/stl_algo.h : Fix typos.
* testsuite/25_algorithms/unique.cc: New file.

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

19 years ago2001-07-19 Phil Edwards <pme@sources.redhat.com>
pme [Fri, 20 Jul 2001 00:09:31 +0000 (00:09 +0000)]
2001-07-19  Phil Edwards  <pme@sources.redhat.com>
            Mark Mitchell <mark@codesourcery.com>

Merge from cp-parser-branch.
* include/bits/basic_string.h:  Qualify symbols with 'template'.
* include/bits/basic_string.tcc:  Likewise.
* include/bits/fstream.tcc:  Likewise.
* include/bits/istream.tcc:  Likewise.
* include/bits/sstream.tcc:  Likewise.
* include/bits/std_istream.h:  Likewise.
* include/bits/stl_iterator.h:  Likewise.
* include/bits/streambuf.tcc:  Likewise.
* src/gen-num-limits.cc:  Add 'template<>' to specializations.
* src/locale.cc:  Likewise.

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

19 years ago * tm.texi (POINTERS_EXTEND_UNSIGNED) Modify definition.
rth [Thu, 19 Jul 2001 23:26:51 +0000 (23:26 +0000)]
* tm.texi (POINTERS_EXTEND_UNSIGNED) Modify definition.
* optabs.c (can_extend_p) Check HAVE_ptr_extend for a specialized
pointer extension instruction.
* combine.c (nonzero_bits,num_sign_bit_copies) Likewise.
* simplify-rtx.c (simplify_unary_operation) Likewise.
* explow.c (convert_memory_address) Check value of
POINTERS_EXTEND_UNSIGNED to avoid some conversions when
less than zero.
* config/ia64/t-hpux (LIBGCC, INSTALL_LIBGCC, MULTILIB_OPTIONS,
MULTILIB_DIRNAMES, MULTILIB_MATCHES) Add multilib support.
* config/ia64/hpux.h (CPP_SPEC, ASM_SPEC, SUBTARGET_SWITCHES)
Add Multilib Support.
(POINTERS_EXTEND_UNSIGNED)  Define for ILP32 support.
* config/ia64/ia64.h (MASK_ILP32, TARGET_ILP32, SUBTARGET_SWITCHES)
Add Multilib Support.
(POINTER_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE) Modify for ILP32
support.
* config/ia64/ia64.c (rtx_needs_barrier) Add support for addp4.
* config/ia64/ia64.md (ptr_extend) New instruction to "swizzle"
a 32 bit HP-UX pointer into a 64 bit HP-UX pointer.

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

19 years ago2001-07-19 Alexandre Oliva <aoliva@redhat.com>
kazu [Thu, 19 Jul 2001 22:42:07 +0000 (22:42 +0000)]
2001-07-19  Alexandre Oliva  <aoliva@redhat.com>

* simplify-rtx.c (simplify_replace_rtx): Try to obtain mode from
old and new operands in `<', `3' and `b'.

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

19 years ago * Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
neil [Thu, 19 Jul 2001 21:17:09 +0000 (21:17 +0000)]
* Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
(final.o): Don't depend on xcoffout.h, dbxout.h or sdbout.h.
(toplev.o): Don't depend on xcoffout.h.
* c-decl.c: Include debug.h
(duplicate_decls): Use debug hook.
* dbxout.c (dbxout_source_file, dbxout_args): Make static.
(dbx_debug_hooks, xcoff_debug_hooks): Update.
(dbxout_types): Remove.
* dbxout.h (dbxout_source_file, dbxout_types, dbxout_args): Remove.
* debug.c (do_nothing_debug_hooks): Update.
(debug_true_tree, debug_nothing_rtx): New.
* debug.h (struct rtx_def): New.
(struct gcc_debug_hooks): New hooks ignore_block,
outlining_inline_function and label.
(debug_true_tree, debug_nothing_rtx, dwarf2out_frame_init,
dwarf2out_frame_finish): New.
* dwarf2out.c (dwarf2out_ignore_block, dwarf2out_abstract_function):
Make static, update prototype.
(dwarf2_debug_hooks): Update.
* dwarf2out.h (dwarf2out_ignore_block, dwarf2out_abstract_function,
dwarf2out_frame_init, dwarf2out_frame_finish): Remove.
* dwarfout.c (dwarf_debug_hooks): Update.
* emit-rtl.c: Include debug.h.
(remove_unnecessary_notes): Use debug hook.
* final.c: Don't include dbxout.h, xcoffout.h or sdbout.h.
(final_scan_insn): Use debug hook.
* integrate.c (output_inline_function): Use debug hook.
* sdbout.c (sdbout_toplevel_data, sdbout_label): Make static.
(sdb_debug_hooks): Update.
* sdbout.h (sdbout_label, sdbout_toplevel_data): Remove.
* toplev.c: Don't include xcoffout.h.
(note_outlining_of_inline_function, debug_ignore_block): Remove.
* toplev.h (note_outlining_of_inline_function, debug_ignore_block):
Remove.
* tree.h (dwarf2out_do_frame): Remove.

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

19 years agoRestore ASM_OUTPUT_LABEL_REF definition.
clm [Thu, 19 Jul 2001 20:20:42 +0000 (20:20 +0000)]
Restore ASM_OUTPUT_LABEL_REF definition.

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

19 years ago * reload1.c (eliminate_regs_in_insn): When updating a set
geoffk [Thu, 19 Jul 2001 19:46:29 +0000 (19:46 +0000)]
* reload1.c (eliminate_regs_in_insn): When updating a set
to the frame pointer to the hardware frame pointer, perform
the update always not just when REPLACE is set.

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

19 years ago * reload1.c (choose_reload_regs): Don't inherit a reload
geoffk [Thu, 19 Jul 2001 19:45:24 +0000 (19:45 +0000)]
* reload1.c (choose_reload_regs): Don't inherit a reload
that crosses multiple registers if registers past the first
don't fit in the desired class.

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

19 years ago * top.c (ffe_decode_option): Disallow lang-independent processing
jakub [Thu, 19 Jul 2001 19:44:12 +0000 (19:44 +0000)]
* top.c (ffe_decode_option): Disallow lang-independent processing
for -ffixed-form.

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

19 years ago * ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode
geoffk [Thu, 19 Jul 2001 19:43:44 +0000 (19:43 +0000)]
* ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode
when negating constants.

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

19 years ago2001-07-19 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Thu, 19 Jul 2001 18:33:30 +0000 (18:33 +0000)]
2001-07-19  Toon Moene  <toon@moene.indiv.nluug.nl>

* tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument.
* doc/tree.texi: Ditto.
* f/com.c (ffecom_expr_intrinsic_): Cope with it.

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

19 years ago * unwind-dw2.c (_Unwind_FrameState): Add eh_ptr.
jakub [Thu, 19 Jul 2001 18:20:49 +0000 (18:20 +0000)]
* unwind-dw2.c (_Unwind_FrameState): Add eh_ptr.
(extract_cie_info): Handle "eh" augmentation properly,
remember eh_ptr.
(struct frame_state, __frame_state_for): New.

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

19 years ago * config/alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL,
ro [Thu, 19 Jul 2001 18:08:17 +0000 (18:08 +0000)]
* config/alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL,
HANDLE_SYSV_PRAGMA): Define.
* mips-tfile.c (add_ext_symbol): Pass complete symbol ptr, inline
previous args.
(copy_object): Caller changed.

testsuite:
* g++.old-deja/g++.pt/static3.C: Removed alpha*-*-osf* XFAIL.
g++.old-deja/g++.pt/static6.C: Likewise.
* lib/target-supports.exp (check_weak_available): alpha*-*-osf*
supports weak symbols.

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

19 years ago* libjava.lang/PR3731.java: New file.
jsturm [Thu, 19 Jul 2001 14:03:08 +0000 (14:03 +0000)]
* libjava.lang/PR3731.java: New file.
* libjava.lang/PR3731.out: New file.
* libjava.lang/PR3731.xfail: New file.

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

19 years ago * configure.in (assembler dwarf2 debug_line support): Define nop
schwab [Thu, 19 Jul 2001 09:59:50 +0000 (09:59 +0000)]
* configure.in (assembler dwarf2 debug_line support): Define nop
insn for m68k.
* configure: Regenerated.

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

19 years ago * class.c (finish_struct_anon): Forbid nested classes.
mmitchel [Thu, 19 Jul 2001 07:22:40 +0000 (07:22 +0000)]
* class.c (finish_struct_anon): Forbid nested classes.

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

19 years agoDaily bump.
gccadmin [Thu, 19 Jul 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.

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

19 years ago * Makefile.in (toplev.o, dwarfout.o, final.o): Don't depend on
neil [Thu, 19 Jul 2001 06:22:04 +0000 (06:22 +0000)]
* Makefile.in (toplev.o, dwarfout.o, final.o): Don't depend on
dwarfout.h.
* dbxout.c (dbxout_function): Rename dbxout_funciton_decl, move
to conditionally compiled block.
(dbx_debug_hooks, xcoff_debug_hooks): Update.
* dbxout.h (dbxout_function): Remove.
* debug.c (do_nothing_debug_hooks): Update.
* debug.h (struct gcc_debug_hooks): New hooks function_decl,
global_decl, deferred_inline_function.
* dwarf2out.c (dwarf2_debug_hooks): Update.
(dwarf2out_global_decl): New.
* dwarfout.c: Don't include dwarfout.h.
(dwarfout_global_decl, dwarfout_function_decl,
dwarfout_deferred_inline_function): New.
(dwarf_debug_hooks): Update.
* dwarfout.h: Remove.
* final.c: Don't include dwarfout.h.
* sdbout.c (sdbout_global_decl): New.
(sdbout_debug_hooks): Update.
* toplev.c: Don't include dwarfout.h.
(check_global_declarations, rest_of_compilation): Use new debug hooks.
(note_deferral_of_defined_inline_function): Remove.
* toplev.h (note_deferral_of_defined_inline_function): Remove.
* ch/Makefile.in (lex.o): No dependence on dwarfout.h.
* ch/lex.c: Don't include dwarfout.h.
* cp/Make-lang.in (decl2.o): No dependence on dwarfout.h, dwarf2out.h.
(semantics.o, optimize.o): Depend on debug.h not dwarfout.h.
* cp/decl2.c: Don't include dwarfout.h and dwarf2out.h.
* cp/optimize.c: Include debug.h.
(maybe_clone_body): Use debug hook.
* cp/semantics.c: Include debug.h.
(expand_body): Use debug hook.
* po/POTFILES.in: Remove dwarfout.h.

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

19 years ago * c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases.
neil [Thu, 19 Jul 2001 06:12:50 +0000 (06:12 +0000)]
* c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases.
* c-parse.in (yyerror, _yylex): Similarly.
* cppexp.c (parse_number, parse_defined, lex, _cpp_parse_expr):
Don't use CPP_INT, CPP_FLOAT; CPP_NUMBER is enough.
Update comments.
* cpplib.h (CPP_INT, CPP_FLOAT): Remove.
* cp/spew.c (read_token, yyerror): Remove CPP_INT, CPP_FLOAT cases.

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

19 years ago * class.c (type_requires_array_cookie): New function.
mmitchel [Thu, 19 Jul 2001 04:27:16 +0000 (04:27 +0000)]
* class.c (type_requires_array_cookie): New function.
(check_methods): Don't try to figure out whether the type needs a
cookie here.
(check_bases_and_members): Set TYPE_VEC_NEW_USES_COOKIE here.
* cp-tree.h (TYPE_VEC_DELETE_TAKES_SIZE): Remove.
(TYPE_VEC_NEW_USES_COOKIE): Reimplement.
* pt.c (instantiate_class_template): Don't set
TYPE_VEC_DELETE_TAKES_SIZE.
* NEWS: Document ABI changes from GCC 3.0.

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

19 years ago* dwarf2out.c (dwarf2out_abstract_function): Don't emit
jsturm [Thu, 19 Jul 2001 03:50:07 +0000 (03:50 +0000)]
* dwarf2out.c (dwarf2out_abstract_function): Don't emit
in-class declaration at -g1.  Fixes c++/2814.

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

19 years ago * src/gen-num-limits.cc (set_signals_handler): New function.
gdr [Thu, 19 Jul 2001 03:06:01 +0000 (03:06 +0000)]
    * src/gen-num-limits.cc (set_signals_handler): New function.
        Factor out signals setting.  Set signal handler for SIGILL.

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

19 years agomerge from glibc
dj [Wed, 18 Jul 2001 23:40:00 +0000 (23:40 +0000)]
merge from glibc

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

19 years agoFix markup for reload_in/out.
rth [Wed, 18 Jul 2001 22:02:07 +0000 (22:02 +0000)]
Fix markup for reload_in/out.

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

19 years ago2001-07-18 Phil Edwards <pme@sources.redhat.com>
pme [Wed, 18 Jul 2001 21:37:06 +0000 (21:37 +0000)]
2001-07-18  Phil Edwards  <pme@sources.redhat.com>

* docs/html/27_io/howto.html:  Fix typo.
* docs/html/faq/index.html:  Minor updates for 3.0 all around.
* docs/html/faq/index.txt:  Regenerated.

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

19 years ago * doc/md.texi (reload_in/out): Document restrictions in predicates
rth [Wed, 18 Jul 2001 21:34:15 +0000 (21:34 +0000)]
    * doc/md.texi (reload_in/out): Document restrictions in predicates
        and constraints for these patterns.  Document empty string matching
        ALL_REGS.

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

19 years ago2001-07-18 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Wed, 18 Jul 2001 20:50:54 +0000 (20:50 +0000)]
2001-07-18  Toon Moene  <toon@moene.indiv.nluug.nl>

* libI77/configure.in (_XOPEN_SOURCE, _FILE_OFFSET_BITS): Move
these defines before tests which might be affected by them.
(_XOPEN_SOURCE_EXTENDED): Define.
* libI77/configure, libI77/config.h.in: Regenerate.

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

19 years ago * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL.
ro [Wed, 18 Jul 2001 20:43:40 +0000 (20:43 +0000)]
* defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL.

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

19 years ago * java/net/natPlainDatagramSocketImpl.cc (mcastGrp): Use new RFC
ro [Wed, 18 Jul 2001 20:39:52 +0000 (20:39 +0000)]
* java/net/natPlainDatagramSocketImpl.cc (mcastGrp): Use new RFC
2533 socket options IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP, falling
back to old RFC 2133 variants if missing.

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

19 years ago * NEWS (Changes in GCC 3.0): Fix typo.
gerald [Wed, 18 Jul 2001 19:09:25 +0000 (19:09 +0000)]
* NEWS (Changes in GCC 3.0): Fix typo.

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

19 years ago * cse.c: Undo my previous patch.
hubicka [Wed, 18 Jul 2001 18:52:41 +0000 (18:52 +0000)]
* cse.c: Undo my previous patch.

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

19 years ago * java/io/natFileWin32.cc (_access): Renamed.
tromey [Wed, 18 Jul 2001 18:35:12 +0000 (18:35 +0000)]
* java/io/natFileWin32.cc (_access): Renamed.
(_stat): Likewise.
* java/io/natFile.cc (_access): Renamed.
(_stat): Likewise.
* java/io/File.java (access, stat): Add leading `_' to name.
Updated all callers.

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

19 years ago2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
bkoz [Wed, 18 Jul 2001 17:58:37 +0000 (17:58 +0000)]
2001-07-18  Stephen M. Webb  <stephen@bregmasoft..com>
            Roman Sulzhyk  <roman_sulzhyk@yahoo.com>

        libstdc++/3599
        * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
        * testsuite/27_io/streambuf.cc (test07): Added new regression test.

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

19 years ago For PR java/2812:
tromey [Wed, 18 Jul 2001 17:18:55 +0000 (17:18 +0000)]
For PR java/2812:
* lex.h: Use HAVE_ICONV, not HAVE_ICONV_H.
* lex.c (java_new_lexer): Use ICONV_CONST.
(java_read_char): Likewise.
* Make-lang.in (jc1$(exeext)): Link against LIBICONV.
(jv-scan$(exeext)): Likewise.

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

19 years ago For PR java/2812:
tromey [Wed, 18 Jul 2001 17:17:03 +0000 (17:17 +0000)]
For PR java/2812:
* configure: Rebuilt.
* configure.in: Don't check for iconv.h or iconv(); use AM_ICONV
instead.
* aclocal.m4 (AM_ICONV): New macro from Bruno Haible.

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

19 years ago * flow.c (redirect_edge_and_branch): Bail out on complex edges.
hubicka [Wed, 18 Jul 2001 17:11:11 +0000 (17:11 +0000)]
* flow.c (redirect_edge_and_branch): Bail out on complex edges.
(try_optimize_cfg): Do not remove tail recursive labels before sibcall.
* jump.c (mark_jump_label): Do not forward branches.

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

19 years ago2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
bkoz [Wed, 18 Jul 2001 17:09:02 +0000 (17:09 +0000)]
2001-07-17  Stephen M. Webb   <stephen@bregmasoft.com>r

All occurrences of the __value_type() and __distance_type()
functions, which were required to support the HP STL, have been
removed along with all the auxiliary forwarding functions that
were required to support their use.

The __iterator_category() function was pretty much left alone
because there was no benefit to removing it and its use made code
just a little more readable.

Incidences of distance() with nonstandard argument list were
replaced by calls to the standard function (only in the files
affected by the removal of the other HP functions).

The signature of the rotate() algorithm was changed to match the
standard.

Headers were reformatted under C++STYLE guidelines (indentation,
linebreaks, typename keyword).

* include/bits/stl_algo.h: replaced __value_type() and
__distance_type() with iterator_traits, eliminated auxiliary
support functions required to support said function usage.
Changed nonstandard distance() call to standard call.

* include/bits/stl_algobase.h: Same.
* include/bits/stl_heap.h: Same.
* include/bits/stl_numeric.h: Same.
* include/bits/stl_uninitialized.h: Same.
* include/bits/stl_iterator_base_types.h (__value_type()):
Removed.
(__distance_type()): Removed.
(value_type()): Gone.
(distance_type()): Done in.
(iterator_category()): Hasta la vista, baby.

* include/bits/stl_iterator_base_funcs.h (iterator_category()):
Replaced with __iterator_category().
* include/backward/iterator.h: moved definition of value_type(),
distance_type(), and iterator_category() out of std:: and into
here.
* testsuite/23_containers/vector_ctor.cc (test03): New testcases.
* testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
* testsuite/25_algorithms/rotate.cc: New testcase.
* testsuite/25_algorithms/copy.cc: New testcase.
* testsuite/25_algorithms/sort.cc: Same.
* testsuite/25_algorithms/heap.cc: Same.
* testsuite/25_algorithms/partition.cc: Same.
* testsuite/25_algorithms/binary_search.cc: Same.
* testsuite/26_numerics/sum_diff.cc: Ditto.

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

19 years ago For PR java/2812:
tromey [Wed, 18 Jul 2001 17:06:24 +0000 (17:06 +0000)]
For PR java/2812:
* libgcj.spec.in (*lib): Added LIBICONV.
* configure: Rebuilt.
* configure.in: Call AM_ICONV.  Don't check for iconv function.
Add parameters to JV_HASH_SYNCHRONIZATION define.
* acinclude.m4 (AM_ICONV): New macro, from Bruno Haible.

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

19 years ago * cse.c (delete_trivially_dead_insns): Delete the libcall block
hubicka [Wed, 18 Jul 2001 16:36:33 +0000 (16:36 +0000)]
* cse.c (delete_trivially_dead_insns): Delete the libcall block
when return value is unused.

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

19 years ago * gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores.
hubicka [Wed, 18 Jul 2001 16:29:50 +0000 (16:29 +0000)]
* gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores.

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

19 years ago * g++.dg/vtgc1.C: Revert patch from 2001-04-26 since vtable-gc is
aj [Wed, 18 Jul 2001 16:26:45 +0000 (16:26 +0000)]
    * g++.dg/vtgc1.C: Revert patch from 2001-04-26 since vtable-gc is
        supported again.

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

19 years ago * libU77/configure.in (_XOPEN_SOURCE, _FILE_OFFSET_BITS): Move
ghazi [Wed, 18 Jul 2001 15:16:10 +0000 (15:16 +0000)]
* libU77/configure.in (_XOPEN_SOURCE, _FILE_OFFSET_BITS): Move
these defines before tests which might be affected by them.
(_XOPEN_SOURCE_EXTENDED): Define.

* libU77/configure, libU77/config.hin: Regenerate.

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

19 years agoSave a function call in common mutex locking/unlocking operations
nicola [Wed, 18 Jul 2001 11:55:24 +0000 (11:55 +0000)]
Save a function call in common mutex locking/unlocking operations

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

19 years agoSave a function call on mutex locking/unlocking
nicola [Wed, 18 Jul 2001 11:54:03 +0000 (11:54 +0000)]
Save a function call on mutex locking/unlocking

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

19 years agoFixed bug in gthr-posix.h - buggy backend thread functions for objective-c
nicola [Wed, 18 Jul 2001 11:22:37 +0000 (11:22 +0000)]
Fixed bug in gthr-posix.h - buggy backend thread functions for objective-c

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

19 years agoFixed backend function of objc_mutex_trylock which was broken
nicola [Wed, 18 Jul 2001 11:21:20 +0000 (11:21 +0000)]
Fixed backend function of objc_mutex_trylock which was broken

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

19 years agoDaily bump.
gccadmin [Wed, 18 Jul 2001 07:16:08 +0000 (07:16 +0000)]
Daily bump.

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

19 years ago * gcc.dg/iftrap-1.c: Fix target line.
aj [Wed, 18 Jul 2001 07:13:09 +0000 (07:13 +0000)]
* gcc.dg/iftrap-1.c: Fix target line.

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

19 years ago * integrate.c (output_inline_function): Correct type of debug_hooks.
aj [Wed, 18 Jul 2001 06:35:24 +0000 (06:35 +0000)]
* integrate.c (output_inline_function): Correct type of debug_hooks.

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

19 years ago2001-07-18 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Wed, 18 Jul 2001 05:26:38 +0000 (05:26 +0000)]
2001-07-18  Toon Moene  <toon@moene.indiv.nluug.nl>

* combine.c (combine_simplify_rtx): DIV can be treated
associatively for floats if unsafe math optimisations are enabled.

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

19 years ago * reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.
rth [Wed, 18 Jul 2001 03:32:46 +0000 (03:32 +0000)]
    * reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.

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

19 years ago * calls.c (prepare_call_address): New parameter SIBCALLP. If true,
rth [Wed, 18 Jul 2001 03:24:53 +0000 (03:24 +0000)]
    * calls.c (prepare_call_address): New parameter SIBCALLP.  If true,
        don't force the function address into a register.
        (expand_call, emit_library_call_value_1): Update callers.
        * builtins.c (expand_builtin_apply): Likewise.
        * expr.h (prepare_call_address): Update decl.

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

19 years ago * config.gcc: For *-*-chorusos triplet, get chorus.h file from
cchavva [Wed, 18 Jul 2001 03:10:10 +0000 (03:10 +0000)]
    * config.gcc: For *-*-chorusos triplet, get chorus.h file from
        config directory.
        * config/i386/chorus.h: Move up.
        * config/sparc/chorus.h: Likewise.
        * config/rs6000/chorus.h: Likewise.
        * config/chorus.h: Moved here

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

19 years ago2001-07-13 Alexandre Petit-Bianco <apbianco@redhat.com>
apbianco [Tue, 17 Jul 2001 23:59:07 +0000 (23:59 +0000)]
2001-07-13  Alexandre Petit-Bianco  <apbianco@redhat.com>

* include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Removed unused
local `_ebp.'

(http://gcc.gnu.org/ml/java-patches/2001-q3/msg00070.html )

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

19 years ago * config.gcc: For *-*-chorusos triplet, get chorus.h file from
cchavva [Tue, 17 Jul 2001 21:54:37 +0000 (21:54 +0000)]
    * config.gcc: For *-*-chorusos triplet, get chorus.h file from
        config directory.
        * config/i386/chorus.h: Move up.
        * config/sparc/chorus.h: Likewise.
        * config/rs6000/chorus.h: Likewise.
        * config/chorus.h: Moved here.

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

19 years ago * configure.in (assembler eh_frame optimization): Handle big
schwab [Tue, 17 Jul 2001 21:51:19 +0000 (21:51 +0000)]
* configure.in  (assembler eh_frame optimization): Handle big
endian.
* configure: Regenerated.

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

19 years ago * expr.c (epxand_expr): Convert divisions into multiplications by
hubicka [Tue, 17 Jul 2001 21:44:57 +0000 (21:44 +0000)]
* expr.c (epxand_expr): Convert divisions into multiplications by
reciprocals if -ffast-math.

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

19 years ago * dbxout.c (dbxout_really_begin_function): Rename to
neil [Tue, 17 Jul 2001 19:47:58 +0000 (19:47 +0000)]
* dbxout.c (dbxout_really_begin_function): Rename to
dbxout_begin_function.
(dbx_debug_hooks, xcoff_debug_hooks): Update.
(dbxout_begin_function): Remove.
(dbxout_function): Update.
(dbxout_source_line): Update prototype.
* dbxout.h (dbxout_begin_function): Remove.
* debug.c (do_nothing_debug_hooks): Update.
(debug_nothing_tree): Update.
(debug_nothing_charstar_rtx): Remove.
* debug.h (union tree_node): Declare.
(struct rtx_def): Remove.
(gcc_debug_hooks): New hooks begin_prologue, end_prologue,
begin_function.  Change source_line prototype.
(debug_nothing_tree): New.
(debug_nothing_charstar_rtx): Delete.
(dwarf2out_begin_prologue): Moved from ...
* tree.h: ... here.
* dwarf2out.c (dwarf2_debug_hooks): Update.
(dwarf2out_begin_prologue): Update prototype.  If genuine dwarf2
debug info, call dwarf2out_source_line.
(dwarf2out_souce_line): Update prototype.
* dwarfout.c (dwarfout_begin_function): Rename dwarfout_end_prologue.
Change prototype, make static.
(dwarfout_source_line): Update prototype.
(dwarf_debug_hooks): Update.
* dwarfout.h (dwarfout_begin_function): Remove.
* final.c (final_start_function, final_scan_insn): Use appropriate
debug hooks, update to use notice_source_line.
(output_source_line): Rename notice_source_line.  Don't call the
source_line debug hook.
* sdbout.c (sdbout_begin_function): Rename sdbout_begin_prologue,
make static, update prototype.
(sdbout_mark_begin_function): Rename sdbout_begin_function, update
prototype.
(sdbout_end_prologue): New.
(sdbout_source_line): Update prototype.
(sdbout_debug_hooks): Update.
(sdbout_symbol): Remove unused var.
* sdbout.h (sdbout_begin_function, sdbout_mark_begin_function):
Delete.
* varasm.c: Include debug.h.
(assemble_start_function): Use begin_function debug_hook.
* xcoffout.c (xcoffout_begin_prologue): Rename xcoffout_begin_function,
update with prototype.
(xcoffout_source_line): Update prototype.
* xcoffout.h (xcoffout_begin_prologue): Rename xcoffout_begin_function,
update prototype.
(xcoffout_source_line): Update prototype.

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

19 years ago * c-typeck.c (build_binary_op): Do not shorten unsigned
rth [Tue, 17 Jul 2001 19:01:54 +0000 (19:01 +0000)]
    * c-typeck.c (build_binary_op): Do not shorten unsigned
        right shift after sign extension.

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

19 years ago2001-07-17 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 17 Jul 2001 18:47:34 +0000 (18:47 +0000)]
2001-07-17  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/README: Add notes on naming test cases.
* testsuite/22_locale/members.cc: Mark as xfail.
* testsuite/22_locale/numpunct_char_members.cc: Same.

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

19 years ago2001-07-17 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 17 Jul 2001 18:43:28 +0000 (18:43 +0000)]
2001-07-17  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/README: Add notes on naming test cases.
* testsuite/22_locale/members.cc: Mark as xfail.
* testsuite/22_locale/numpunct_char_members.cc: Same.

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

19 years ago * combine.c (combine_simplify_rtx): Attempt to simplify
hubicka [Tue, 17 Jul 2001 15:11:56 +0000 (15:11 +0000)]
* combine.c (combine_simplify_rtx): Attempt to simplify
a*(b/c) as (a*b)/c for floats in unsafe_math mode.

* simplify-rtx.c (avoid_constatn_pool_reference): New static function.
(simplify_binary_operation, simplify_unary_operation,
 simplify_relational_operation): Use it.

* combine.c (combine_simplify_rtx): Don't do associative law
on divisions; allow associative law on floats.

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

19 years ago * c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and
ro [Tue, 17 Jul 2001 12:55:19 +0000 (12:55 +0000)]
* c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and
ASM_OUTPUT_WEAK_ALIAS are defined.
* defaults.h (ASM_OUTPUT_WEAK_ALIAS): Define if possible.
* config/mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL):
Moved ...
* config/mips/iris5.h: ... here.
(HANDLE_SYSV_PRAGMA): Defined as 1.
* varasm.c (weak_finish): Use ASM_OUTPUT_WEAK_ALIAS.
* doc/tm.texi (ASM_OUTPUT_WEAK_ALIAS): Support the undefined weak
symbol.

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

19 years ago * c-parse.in (all_prefix_attributes): New variable.
jsm28 [Tue, 17 Jul 2001 11:58:54 +0000 (11:58 +0000)]
* c-parse.in (all_prefix_attributes): New variable.
(PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): New macros.
(maybe_resetattrs): New production.
(c_parse_init, datadef, fndef, datadecl, setspecs, setattrs, decl,
maybe_type_quals_setattrs, initdecls, notype_initdecls, initdcl,
notype_initdcl, nested_function, notype_nested_function,
component_decl, components, components_notype,
component_declarator, component_notype_declarator,
absdcl_maybe_attribute, parm, firstparm, setspecs_fp, ivar_decl,
ivars, mydecl, myparm): Update.  Avoid prefix attributes just
after a comma being applied to more than one declarator.
* doc/extend.texi (Attribute Syntax): Update.  Remove
documentation of bugs that are no longer present.

testsuite:
* gcc.c-torture/compile/20010714-1.c, gcc.dg/format/attr-4.c: New
tests.

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

19 years ago2001-07-17 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Tue, 17 Jul 2001 10:42:57 +0000 (10:42 +0000)]
2001-07-17  Toon Moene  <toon@moene.indiv.nluug.nl>

* com.c (lang_print_error_function): Argument context
is unused.

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

19 years ago2001-07-16 Eric Christopher <echristo@redhat.com>
echristo [Tue, 17 Jul 2001 10:29:18 +0000 (10:29 +0000)]
2001-07-16  Eric Christopher  <echristo@redhat.com>

* config/mips/mips.h: Change TUNE_MIPS* options to use
mips_tune.
(EXTRA_SPECS): Add cc1_cpu_spec.
* config/mips/mips.md (muldf3): Fix typo.

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

19 years agoDaily bump.
gccadmin [Tue, 17 Jul 2001 07:16:17 +0000 (07:16 +0000)]
Daily bump.

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

19 years ago * config/m68k/m68k.c: Include expr.h and reload.h.
rth [Tue, 17 Jul 2001 06:54:45 +0000 (06:54 +0000)]
    * config/m68k/m68k.c: Include expr.h and reload.h.
        (print_operand_address) [16 bit int]: Cast INTVAL to int for %d.
        [general int]: Use HOST_WIDE_INT_PRINT_DEC.

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

19 years ago * cse.c (set_live_p): Take INSN argument for cc0; update callers.
rth [Tue, 17 Jul 2001 06:44:57 +0000 (06:44 +0000)]
    * cse.c (set_live_p): Take INSN argument for cc0; update callers.
        (insn_live_p): Fix fall off end of function.
        (dead_libcall_p): Remove COUNTS argument; update callers.
        (delete_trivially_dead_insns): Remove unused variables.

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

19 years agoFix typo in my last entry.
aj [Tue, 17 Jul 2001 05:09:29 +0000 (05:09 +0000)]
Fix typo in my last entry.

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

19 years ago * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for
aj [Tue, 17 Jul 2001 04:55:25 +0000 (04:55 +0000)]
    * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for
        x86-64 pic support.

        * lcm.c (optimize_mode_switching): Avoid warning for unused
        variable if !NORMAL_MODE

        * flow.c (try_crossjump_to_edge): Remove unused variable.

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

19 years agoregenerate
korbb [Tue, 17 Jul 2001 04:00:12 +0000 (04:00 +0000)]
regenerate

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

19 years agoupdate the sample output
korbb [Tue, 17 Jul 2001 03:59:18 +0000 (03:59 +0000)]
update the sample output

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

19 years ago* g++.old-deja/g++.robertl/eb130.C: Include the correct header file.
ljrittle [Tue, 17 Jul 2001 03:26:34 +0000 (03:26 +0000)]
* g++.old-deja/g++.robertl/eb130.C: Include the correct header file.

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

19 years agoHPUX-es vsnprintf and Ultrix-es atexit declaration
korbb [Tue, 17 Jul 2001 03:02:52 +0000 (03:02 +0000)]
HPUX-es vsnprintf and Ultrix-es atexit declaration

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

19 years ago * java/util/LinkedList.java (clone): Clear the copy list with clear(),
bryce [Tue, 17 Jul 2001 01:56:38 +0000 (01:56 +0000)]
* java/util/LinkedList.java (clone): Clear the copy list with clear(),
not by setting its size field.

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

19 years ago * basic-block.h (CLEANUP_PRE_SIBCALL): New constant.
hubicka [Mon, 16 Jul 2001 20:54:44 +0000 (20:54 +0000)]
* basic-block.h (CLEANUP_PRE_SIBCALL): New constant.
* except.c (finish_eh_generation): Update call of cleanup_cfg;
do rebuild_jump_labels instead of jump_optimize
* sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise.
* toplev.c (rest_of_compulation): Likewise for -Wreturn_type.
* flow.c (try_optimize_cfg): Remove unneeded code_labels.

* flow.c: Include timevar.h
(find_basic_block): Push/pop timevar;
(cleanup_cfg): Likewise.
* timevar.def (TV_CFG, TV_CLEANUP_CFG): New.
* Makefile: Add dependencies on timevar.h

* integrate.c (save_for_inline): Kill all BASIC_BLOCK notes.
(copy_insn_list): Avoid killing of BASIC_BLOCK notes.

* rtl.h (delete_trivially_dead_insns): Add new parameter.
* toplev.c (rest_of_compilation): Update calls.
* cse.c (set_live_p, insn_live_p, dead_libcall_p): Break out from ...
(delete_trivially_dead_insns): ... here; accept new argument
preserve_basic_blocks; preserve basic blocks if set.

* reg-stack.c (stack_regs_mentioned): Return 0 if
stack_regs_mentioned_data is not initialized.
(reg_to_stack): Make stack_regs_mentioned survive after the
reg-stack is completted; do not call cleanup_cfg.
* toplev.c (rest_of_compilation): Do cleanup_cfg before bb-reorder;
make cleanup_cfg after bb-reorder to output to debug file.

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

19 years ago * gcse.c: Update comment at top.
law [Mon, 16 Jul 2001 20:02:08 +0000 (20:02 +0000)]
    * gcse.c: Update comment at top.
        Update comment on mem handling.
        mem_last_set, mem_first_set, mem_set_in_block: gone.
        Declaration of reg_set_info: gone.
        (oprs_unchanged_p): Don't use mem_*set_* anymore. They are
        pointless with load_killed_in_block_p (they are *more*
        conservative then it, not less, and less accurate).
        (oprs_not_set_p): Ditto.
        (alloc_gcse_mem): Don't allocate mem_set_in_block
        (free_gcse_mem): Don't free it, either.
        (record_last_mem_set_info): Update comment in front, remove
        mem_*set_* stuff. Note the reason we don't handle stores directly
        here.
        (compute_hash_table): Update comments to reflect reality. Remove
        mem_*set_* references.
        (reset_opr_set_tables): Remove mem_*set_* references.
        (mark_call): Ditto.
        (mark_set): Ditto.  Also remove double sets of bitmaps for REG's.
        (mark_clobber): Ditto (on both parts, we double set here too).
        (expr_killed_p): Remove mem_set_in_block test.
        (compute_transp): Remove mem_set_in_block test.

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

19 years ago * regclass.c (init_reg_sets): Use only 32 bits per initializer
rth [Mon, 16 Jul 2001 17:57:11 +0000 (17:57 +0000)]
    * regclass.c (init_reg_sets): Use only 32 bits per initializer
        from int_reg_class_contents.

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

19 years ago * hard-reg-set.h (regs_invalidated_by_call): Declare.
rth [Mon, 16 Jul 2001 17:54:34 +0000 (17:54 +0000)]
    * hard-reg-set.h (regs_invalidated_by_call): Declare.
        * regclass.c (regs_invalidated_by_call): Move from cse.c.
        (init_reg_sets_1): Move initialization from cse_main.
        * cse.c (regs_invalidated_by_call): Move to regclass.c.
        (cse_main): Move its initialization also.
        * df.c (df_insn_refs_record): Use regs_invalidated_by_call.
        * flow.c (propagate_one_insn): Likewise.
        * gcse.c (compute_hash_table): Likewise.
        (compute_kill_rd, compute_store_table): Likewise.
        * sched-deps.c (sched_analyze_1): Likewise.

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

19 years ago2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
pme [Mon, 16 Jul 2001 17:43:54 +0000 (17:43 +0000)]
2001-07-16  Stephen M. Webb  <stephen@bregmasoft.com>

* acinclude.m4 (GLIBCPP_ENABLE_CHEADERS):  Use glibcpp_srcdir when
setting C_INCLUDE_DIR.
* configure.in:  Revert yesterday's LN_S change.
* aclocal.m4:  Regenerate.
* configure:  Regenerate.

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

19 years ago * gcc.c-torture/execute/20001229-1.c: Include <sys/proc.h> for
ro [Mon, 16 Jul 2001 17:20:58 +0000 (17:20 +0000)]
* gcc.c-torture/execute/20001229-1.c: Include <sys/proc.h> for
UAC_SIGBUS, UAC_NOPRINT definitions.

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