platform/upstream/gcc.git
21 years agore PR c++/9559 (ICE with invalid initialization of a static const member)
Mark Mitchell [Tue, 1 Jul 2003 07:17:03 +0000 (07:17 +0000)]
re PR c++/9559 (ICE with invalid initialization of a static const member)

PR c++/9559
* decl2.c (grokfield): Do not build NOP_EXPRs around the
error_mark_node.

PR c++/9559
* g++.dg/init/static1.C: New test.

From-SVN: r68764

21 years agosol2.h, [...]: Use c_dialect_ macros.
Neil Booth [Tue, 1 Jul 2003 05:45:19 +0000 (05:45 +0000)]
sol2.h, [...]: Use c_dialect_ macros.

* config/sol2.h, config/alpha/alpha.h, config/alpha/linux.h,
config/i386/i386-interix.h, config/ia64/hpux.h, config/mips/iris6.h,
config/mips/linux.h, config/mips/mips.h, config/pa/pa-hpux.h,
config/pa/pa-hpux10.h, config/pa/pa-hpux11.h, config/pa/pa-pro-end.h,
config/pa/pa.h, config/pa/rtems.h: Use c_dialect_ macros.

From-SVN: r68763

21 years ago7.cc: New.
Jerry Quinn [Tue, 1 Jul 2003 05:44:42 +0000 (05:44 +0000)]
7.cc: New.

2003-07-01  Jerry Quinn  <jlquinn@optonline.net>

* 22_locale/num_put/put/char/7.cc: New.
* 22_locale/num_put/put/wchar_t/7.cc: New.

From-SVN: r68762

21 years agolocale.cc (__use_cache<numpunct>): Revert previous relocation.
Jerry Quinn [Tue, 1 Jul 2003 05:38:04 +0000 (05:38 +0000)]
locale.cc (__use_cache<numpunct>): Revert previous relocation.

2003-06-30  Jerry Quinn  <jlquinn@optonline.net>

* src/locale.cc (__use_cache<numpunct>): Revert previous relocation.
* include/bits/locale_facets.tcc (__use_cache<numpunct>): Ditto.

From-SVN: r68761

21 years agofinal.c: Convert prototypes to ISO C90.
Andreas Jaeger [Tue, 1 Jul 2003 05:00:18 +0000 (07:00 +0200)]
final.c: Convert prototypes to ISO C90.

* final.c: Convert prototypes to ISO C90.
* flow.c: Likewise.
* flags.h: Likewise.

From-SVN: r68760

21 years agore PR middle-end/6578 (-ftrapv doesn't catch multiplication overflow)
Bruno Haible [Tue, 1 Jul 2003 04:04:13 +0000 (04:04 +0000)]
re PR middle-end/6578 (-ftrapv doesn't catch multiplication overflow)

2003-06-30  Bruno Haible  <bruno@clisp.org>

PR middle-end/6578
* libgcc2.c (__subvsi3): Remove simplification that would not work
when subtracting -0x80000000.
(__subvdi3): Remove simplification that would return a wrong result.
(__mulvsi3): Fix overflow check.
(__absvdi2): Fix simplification that would return a wrong result.
(__mulvdi3): Fix overflow check.

From-SVN: r68758

21 years ago1-in.cc: New.
Benjamin Kosnik [Tue, 1 Jul 2003 03:04:43 +0000 (03:04 +0000)]
1-in.cc: New.

2003-06-30  Benjamin Kosnik  <bkoz@redhat.com>

* 27_io/basic_filebuf/seekoff/char/1-in.cc: New.
* 27_io/basic_filebuf/seekoff/char/1-io.cc: New.
* 27_io/basic_filebuf/seekoff/char/1-out.cc: New.
* 27_io/basic_filebuf/seekoff/char/2-in.cc: New.
* 27_io/basic_filebuf/seekoff/char/2-io.cc: New.
* 27_io/basic_filebuf/seekoff/char/2-out.cc: New.
* 27_io/basic_filebuf/seekoff/char/2.cc: Remove.
* 27_io/basic_filebuf/seekoff/char/3-in.cc: New.
* 27_io/basic_filebuf/seekoff/char/3-io.cc: Change.
* 27_io/basic_filebuf/seekoff/char/3-out.cc: New.
* 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove.
* 27_io/basic_filebuf/seekpos/char/1-in.cc: New.
* 27_io/basic_filebuf/seekpos/char/1-io.cc: New.
* 27_io/basic_filebuf/seekpos/char/1-out.cc: New.
* 27_io/basic_filebuf/seekpos/char/2-in.cc: New.
* 27_io/basic_filebuf/seekpos/char/2-io.cc: New.
* 27_io/basic_filebuf/seekpos/char/2-out.cc: New.
* 27_io/basic_filebuf/seekpos/char/2.cc: Change.
* 27_io/basic_filebuf/seekpos/char/3-in.cc: New.
* 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove.
* 27_io/basic_filebuf/seekpos/char/3-out.cc: New.
* 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove.
  * data/seekoff-1.tst: Remove.
* data/seekoff-1io.tst: New.
* data/seekoff-1out.tst: New.
* data/seekoff-2.tst: Remove.
* data/seekoff-2io.tst: New.
* data/seekoff-2out.tst: New.
* data/seekoff.txt
* data/seekpos-1.tst: Remove.
* data/seekpos-1io.tst: New.
* data/seekpos-1out.tst: New.
* data/seekpos-2.tst: Remove.
* data/seekpos-2io.tst: New.
* data/seekpos-2out.tst: New.
* data/seekpos.txt: New.

From-SVN: r68757

21 years agolocale.cc (__use_cache<numpunct>): Move from here ...
Jerry Quinn [Tue, 1 Jul 2003 02:55:20 +0000 (02:55 +0000)]
locale.cc (__use_cache<numpunct>): Move from here ...

2003-06-27  Jerry Quinn  <jlquinn@optonline.net>

* src/locale.cc (__use_cache<numpunct>): Move from here ...
* include/bits/locale_facets.tcc (__use_cache<numpunct>): To
here.

From-SVN: r68756

21 years agostmt.c (any_pending_cleanups): Lose argument THIS_CONTOUR, it was always passed in...
Jeff Law [Tue, 1 Jul 2003 02:04:11 +0000 (20:04 -0600)]
stmt.c (any_pending_cleanups): Lose argument THIS_CONTOUR, it was always passed in the value '1'.

        * stmt.c (any_pending_cleanups): Lose argument THIS_CONTOUR, it
        was always passed in the value '1'.  Simplify body appropriately.
        * tree.h (any_pending_cleanups): Corresponding changes.
        * calls.c: (expand_call): Corresponding changes.

From-SVN: r68754

21 years agocombine.c (distribute_notes): Don't bother REG_WAS_0.
Kazu Hirata [Tue, 1 Jul 2003 01:15:07 +0000 (01:15 +0000)]
combine.c (distribute_notes): Don't bother REG_WAS_0.

* combine.c (distribute_notes): Don't bother REG_WAS_0.
* cse.c (cse_insn): Likewise.
* final.c (final_scan_insn): Likewise.
* jump.c (duplicate_loop_exit_test): Likewise.
* rtl.c (reg_note_name): Remove REG_WAS_0.
* rtl.h (REG_WAS_0): Remove.
* unroll.c (final_reg_note_copy): Don't bother REG_WAS_0.
* config/avr/avr.c (output_movqi): Don't use reg_was_0.
(output_movhi): Likewise.
(output_movsisf): Likewise.
(reg_was_0): Remove.
* config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Don't use
REG_WAS_0.
(m68hc11_gen_movqi): Likewise.
* config/vax/vax-protos.h: Remove the prototype for
reg_was_0_p.
* config/vax/vax.c (follows_p): Remove.
(reg_was_0_p): Likewise.
* config/vax/vax.md (movsi): Don't use reg_was_0_p.
(movhi): Likewise.
(movqi): Likewise.
* doc/rtl.texi (REG_WAS_0): Remove.

From-SVN: r68753

21 years agospe.h (__ev_set_spefscr_frmc): Set the flag.
Mark Mitchell [Tue, 1 Jul 2003 01:11:53 +0000 (01:11 +0000)]
spe.h (__ev_set_spefscr_frmc): Set the flag.

* config/rs6000/spe.h (__ev_set_spefscr_frmc): Set the flag.

[[Split portion of a mixed commit.]]

From-SVN: r68751.2

21 years agoDaily bump.
GCC Administrator [Tue, 1 Jul 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r68749

21 years agoxtensa-config.h: New file imported from binutils.
Bob Wilson [Tue, 1 Jul 2003 00:14:33 +0000 (00:14 +0000)]
xtensa-config.h: New file imported from binutils.

include/ChangeLog:
* xtensa-config.h: New file imported from binutils.

gcc/ChangeLog:
* config/xtensa/lib1funcs.asm: Use "xtensa-config.h" from
top-level include directory.
* config/xtensa/lib2funcs.S: Likewise.
* config/xtensa/xtensa.h: Likewise.
* config/xtensa/xtensa-config.h: Remove.
* doc/install.texi: Update location of "xtensa-config.h" header.

From-SVN: r68747

21 years agoglib-2.0.m4: New file.
Thomas Fitzsimmons [Mon, 30 Jun 2003 23:53:29 +0000 (23:53 +0000)]
glib-2.0.m4: New file.

* glib-2.0.m4: New file.
* gtk-2.0.m4: New file.
* glib.m4: Remove.
* gtk.m4: Remove.
* configure.in: Update AM_PATH_GTK macro call to
AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
jni/gtk-peer/gthread-jni.c,
jni/gtk-peer/gthread-jni.h:
New versions from classpath.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* Makefile.in: Regenerate.
* gcj/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.

From-SVN: r68746

21 years agostl_algobase.h: Fully qualify standard functions with std::, thus avoiding Koenig...
Paolo Carlini [Mon, 30 Jun 2003 22:29:42 +0000 (00:29 +0200)]
stl_algobase.h: Fully qualify standard functions with std::, thus avoiding Koenig lookup.

2003-06-30  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/stl_algobase.h: Fully qualify standard
functions with std::, thus avoiding Koenig lookup.

From-SVN: r68745

21 years agos390.c (s390_extra_constraint): New function.
Ulrich Weigand [Mon, 30 Jun 2003 22:06:41 +0000 (22:06 +0000)]
s390.c (s390_extra_constraint): New function.

* config/s390/s390.c (s390_extra_constraint): New function.
* config/s390/s390-protos.h (s390_extra_constraint): Declare it.
* config/s390/s390.h (EXTRA_CONSTRAINT): Use it.
* config/s390/s390.c (q_constraint): Remove.
* config/s390/s390-protos.h (q_constraint): Likewise.
* config/s390/s390.h (EXTRA_MEMORY_CONSTRAINT): Add 'R', 'S', 'T'.
(EXTRA_ADDRESS_CONSTRAINT): Define.

* config/s390/s390.c (larl_operand): Refuse out-of-range operands.
(DISP_IN_RANGE, s390_short_displacement): New.
(legitimate_reload_operand_p): Support long displacements.
(s390_decompose_address): Likewise.
(legitimize_pic_address): Likewise.
(legitimize_address): Likewise.
(s390_fixup_clobbered_return_reg): Likewise.
(s390_emit_prologue, s390_emit_epilogue): Likewise.
(s390_output_mi_thunk): Likewise.

* config/s390/s390.md (attr "op_type"): Add "RXY", "RSY", "SIY".
(attr "atype", attr "length"): Add defaults for new op_types.
(all insns): Change op_type attribute where appropriate.

("*movdi_lay", "*movsi_lay", "*extendqidi2", "*extendqisi2"): New insns.
("*tmqi_ext", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem", *tmqi_mem",
"*tstsi", "*tstsi_cconly", "*tsthiCCT", "*tsthiCCT_cconly",
"*tsthi", "*tsthi_cconly", "*tstqiCCT", "*tstqiCCT_cconly",
"*tstqi", "*tstqi_cconly", "*cmpsi_ccs_sign", "*cmpsi_ccs",
"*cmpsi_ccu", "*cmphi_ccu", "*cmpqi_ccu", "*cli",
"movti", "*movdi_64", "*movdi_31", "*movsi", "movhi", "movqi_64",
"movqi", "*movstrictqi", "*movstricthi", "movstrictsi",
"*movdf_64", "*movdf_31", "*movsf",
"*load_multiple_si", "*store_multiple_di",
"*sethighqisi", "*sethighhisi", "*sethighqidi_31", "*extendhisi2",
"*la_64", "*la_31", "*la_31_and", "force_la_31",
"*addsi3_carry1_cc", *addsi3_carry1_cconly",
"*addsi3_carry2_cc", *addsi3_carry2_cconly",
"*addsi3_cc", "*addsi3_cconly", "*addsi3_cconly2",
"*addsi3_sign", "*addsi3_sub", "addsi3",
"*subsi3_borrow_cc", "*subsi3_borrow_cconly", "*subsi3_cc",
"*subsi3_cconly", "*subsi3_sign", "*subsi3_sub", "subsi3",
"mulsi3"
"*andsi3_cc", "*andsi3_cconly", "andsi3",
"*andqi3_ss", "*andqi3_ss_inv",
"*iorsi3_cc", "*iorsi3_cconly", "iorsi3",
"*iorqi3_ss", "*iorqi3_ss_inv",
"*xorsi3_cc", "*xorsi3_cconly", "xorsi3",
"*xorqi3_ss", "*xorqi3_ss_inv",
"*tls_load_31"): Add alternatives for long-displacement instructions.

("*cmpdf_ccs", "*cmpdf_ccs_ibm", "*cmpsf_ccs", "*cmpsf_ccs_ibm",
"*load_multiple_di", "*store_multiple_di",
"*sethighqidi_64", "*zero_extendhisi2_31",
"truncdfsf2_ibm", "extendsfdf2_ieee", "extendsfdf2_ibm",
"adddf3", "*adddf3", "*adddf3_ibm",
"addsf3", "*addsf3", "*addsf3_ibm",
"subdf3", "*subdf3", "*subdf3_ibm",
"subsf3", "*subsf3", "*subsf3_ibm",
"mulsi_6432", "divmoddisi3",
"muldf3", "*muldf3", "*muldf3_ibm",
"mulsf3", "*mulsf3", "*mulsf3_ibm",
"divdf3", "*divdf3", "*divdf3_ibm",
"divsf3", "div*sf3", "*divsf3_ibm",
"sqrtdf2", "sqrtsf2",
"*cjump_long", "*icjump_long", "indirect_jump", "casesi_jump",
"*doloop_si_long", "*doloop_di_long", "bas_64", "bas_31",
"bas_r_64", "bas_r_31", "bas_tls_31", "bas_tls_64"): Adapt memory
and address constraints for instructions that do not accept long
displacements.

From-SVN: r68744

21 years ago2084.md: New file.
Hartmut Penner [Mon, 30 Jun 2003 22:01:00 +0000 (22:01 +0000)]
2084.md: New file.

* config/s390/2084.md: New file.
* config/s390/s390.md: Include it.
* config/s390/s390.c (s390_adjust_priority): New function.
(TARGET_SCHED_ADJUST_PRIORITY): Define.
(s390_first_cycle_multipass_dfa_lookahead): New function.
(TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
(s390_sched_reorder2): New function.
(TARGET_SCHED_REORDER2): Define.
(s390_adjust_cost): Support PROCESSOR_2084_Z990 cpu type.
(s390_issue_rate): Likewise.

Co-Authored-By: Ulrich Weigand <uweigand@de.ibm.com>
From-SVN: r68743

21 years agoMakefile.in (GTFILES): Add cgraph.h.
Jan Hubicka [Mon, 30 Jun 2003 21:56:46 +0000 (23:56 +0200)]
Makefile.in (GTFILES): Add cgraph.h.

* Makefile.in (GTFILES): Add cgraph.h.
* cgraph.c (known_decls): Remove.
(cgraph_hash, cgraph_nodes, cgraph_nodes_queue,
cgraph_varpool_hash, cgraph_varpool_nodes_queue): GTYize.
(cgraph_node): Do not allocate known_decls; use polutate hashtable.
(cgraph_varpool_node): Likewise; add next pointer.
(cgraph_varpool_nodes): New static variable.
* cgraph.h (cgraph_local_info, cgraph_global_info, cgraph_rtl_info,
cgraph_node, cgraph_edge, cgraph_varpool_node, cgraph_nodes, cgraph_n_nodes,
cgraph_varpool_n_nodes, cgraph_varpool_nodes_queue): GTYize.
* gengtype.c (open_base_files): Include cgraph.h

From-SVN: r68742

21 years agoChangelog: Remove ">>>>>>>" from previous change.
Volker Reichelt [Mon, 30 Jun 2003 21:17:05 +0000 (21:17 +0000)]
Changelog: Remove ">>>>>>>" from previous change.

2003-06-30  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>

* Changelog: Remove ">>>>>>>" from previous change.
* testsuite/Changelog: Likewise.

From-SVN: r68741

21 years agoREADME: Fix spelling for "testcase".
Volker Reichelt [Mon, 30 Jun 2003 21:11:44 +0000 (21:11 +0000)]
README: Fix spelling for "testcase".

2003-06-30  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>

* g++.old-deja/g++.niklas/README: Fix spelling for "testcase".
* g++.old-deja/g++.other/access2.C: Likewise.
* g++.old-deja/g++.other/decl2.C: Likewise.
* gcc.c-torture/execute/20020615-1.c: Likewise.

2003-06-30  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>

* config/cris/cris.c: Fix spelling for "testcase".
* config/cris/cris.h: Likewise.
* config/cris/cris.md: Likewise.
* config/mmix/crti.asm: Likewise.
* config/mmix/mmix.h: Likewise.
* config/mmix/mmix.md: Likewise.

From-SVN: r68740

21 years agoAvoid subscripting empty string.
Doug Gregor [Mon, 30 Jun 2003 20:45:22 +0000 (20:45 +0000)]
Avoid subscripting empty string.

From-SVN: r68739

21 years agoMakefile.am (check-am): Do not override.
Phil Edwards [Mon, 30 Jun 2003 20:40:10 +0000 (20:40 +0000)]
Makefile.am (check-am): Do not override.

2003-06-30  Phil Edwards  <pme@gcc.gnu.org>

* testsuite/Makefile.am (check-am):  Do not override.
(baseline_symbols):  Declare as PHONY, so no need to 'touch' it.
* testsuite/Makefile.in:  Regenerate.

From-SVN: r68738

21 years agoh8300.h (LEGITIMATE_CONSTANT_P): Make it always 1.
Kazu Hirata [Mon, 30 Jun 2003 20:29:10 +0000 (20:29 +0000)]
h8300.h (LEGITIMATE_CONSTANT_P): Make it always 1.

* config/h8300/h8300.h (LEGITIMATE_CONSTANT_P): Make it always
1.

From-SVN: r68737

21 years agoconfig.gcc [...]: Support --with-arch, --with-tune, and --with-mode configure options.
Ulrich Weigand [Mon, 30 Jun 2003 19:47:22 +0000 (19:47 +0000)]
config.gcc [...]: Support --with-arch, --with-tune, and --with-mode configure options.

* config.gcc [s390*-*-*]: Support --with-arch, --with-tune, and
--with-mode configure options.
* config/s390/s390.h (OPTION_DEFAULT_SPECS): Define.
(DRIVER_SELF_SPECS): Define.
* config/s390/linux.h (ASM_SPEC): Pass architecture mode and cpu
architecture to assembler.
(LINK_SPEC): Merge 31-bit and 64-bit variants.
(LINK_ARCH31_SPEC, LINK_ARCH64_SPEC, EXTRA_SPECS): Remove.
* config/s390/s390.c (override_options): New default rules for
architecture mode and cpu architecture selection.
* doc/invoke.texi (-mesa, -mzarch, -march, -mtune): Document
new default rules.

* config/s390/s390.h (enum processor_type): Add PROCESSOR_2084_Z990.
* config/s390/s390.md (attr "cpu"): Add "z990" processor type.
* config/s390/s390.c (override_options): Add "z990" to
processor_alias_table.
* doc/invoke.texi (-march): Document "z990" processor type.

* config/s390/s390.c (s390_tune_flags, s390_arch_flags): New variables.
* config/s390/s390.h (s390_tune_flags, s390_arch_flags): Declare.
(enum processor_flags, TARGET_CPU_IEEE_FLOAT, TARGET_CPU_ZARCH,
TARGET_CPU_LONG_DISPLACEMENT, TARGET_LONG_DISPLACEMENT): New.
* config/s390/s390.c (override_options): Replace enum pta_flags by
enum processor_flags.  Fill in s390_tune_flags and s390_arch_flags.

* config/s390/s390.c (s390_cpu): Rename to ...
(s390_tune): ... this.
* config/s390/s390.h (s390_cpu, s390_tune): Likewise.
* config/s390/s390.c (s390_issue_rate, override_options): Likewise.
* config/s390/s390.md (attr "cpu"): Likewise.

From-SVN: r68736

21 years agogcov-io.c: Convert prototypes to ISO C90.
Andreas Jaeger [Mon, 30 Jun 2003 19:45:17 +0000 (21:45 +0200)]
gcov-io.c: Convert prototypes to ISO C90.

* gcov-io.c: Convert prototypes to ISO C90.
* gcov-io.h: Likewise.

From-SVN: r68735

21 years agoc-common.c (enum c_language_kind, flag_objc): Remove.
Neil Booth [Mon, 30 Jun 2003 19:36:25 +0000 (19:36 +0000)]
c-common.c (enum c_language_kind, flag_objc): Remove.

* c-common.c (enum c_language_kind, flag_objc): Remove.
(fix_string_type, check_case_value, c_common_nodes_and_builtins,
c_add_case_label, finish_label_addr_expr, boolean_increment):
Use c_dialect_ macros.
* c-common.h (enum c_language_kind): Extend.
(c_dialect_cxx, c_dialect_objc): New.
(flag_objc): Remove.
(c_common_init_options): Update prototype.
* c-cppbuiltin.c (define__GNUC__, c_cpp_builtins): Use c_dialect_
macros.
* c-decl.c (finsih_decl, grokfield, finish_struct): Use c_dialect_
macros.
* c-format.c (C_STD_VER, C_STD_NAME): Similarly.
* c-lang.c (c_init_options): Remove.
(c_language): Define.
(LANG_HOOKS_INIT_OPTIONS): Use common hook.
* c-lex.c (lex_charconst): Use c_dialect_cxx().
* c-opts.c (lang_flags): Make function-local.
(c_common_init_options): Use c_dialect_ macros.  Handle
C++ diagnostic requirements.
(c_common_handle_option, c_common_post_options): Use flag_cxx.
* c-parse.in (init_reswords): Use c_dialect_objc ().
* c-pch.c (get_ident): Use c_language.
* c-pretty-print.c (pp_c_bool_literal): Use c_dialect_ macros.
* c-typeck.c (comptypes, build_c_cast): Similarly.
* objc/objc-lang.c (c_language): Define.
(LANG_HOOKS_INIT_OPTIONS): Use common hook.
(objc_init_options): Remove.
cp:
* Make-lang.in: Update.
* cp-lang.c (c_language): Define.
(LANG_HOOKS_INIT_OPTIONS): Use common hook.
* cp-tree.h (cxx_init_options): Remove.
* lex.c: Don't include diagnostic.h.
(cxx_init_options): Remove.

From-SVN: r68734

21 years agore PR c++/4933 (tree_list not supported by dump_expr)
Giovanni Bajo [Mon, 30 Jun 2003 19:22:48 +0000 (21:22 +0200)]
re PR c++/4933 (tree_list not supported by dump_expr)

2003-06-30  Giovanni Bajo  <giovannibajo@libero.it>

        PR c++/4933
        * error.c (dump_expr): Support correctly the COMPOUND_EXPR
        tree generated within a template. Use dump_expr to dump an
        expression sizeof.

From-SVN: r68733

21 years agore PR c++/4933 (tree_list not supported by dump_expr)
Giovanni Bajo [Mon, 30 Jun 2003 19:21:25 +0000 (21:21 +0200)]
re PR c++/4933 (tree_list not supported by dump_expr)

2003-06-30  Giovanni Bajo  <giovannibajo@libero.it>

        PR c++/4933
        * g++.dg/template/sizeof4.C: New test.

From-SVN: r68732

21 years agoFor PR libgcj/11349:
Gary Benson [Mon, 30 Jun 2003 19:15:56 +0000 (19:15 +0000)]
For PR libgcj/11349:

2003-06-30  Gary Benson  <gbenson@redhat.com>

For PR libgcj/11349:
* javax/naming/spi/NamingManager.java (getURLContext): Use

From-SVN: r68730

21 years agoDon't initialize an insert_iterator with a singular iterator
Doug Gregor [Mon, 30 Jun 2003 19:11:12 +0000 (19:11 +0000)]
Don't initialize an insert_iterator with a singular iterator

From-SVN: r68729

21 years agopt.c (value_dependent_expression_p): Cast expressions are value-dependent also if...
Giovanni Bajo [Mon, 30 Jun 2003 19:07:32 +0000 (13:07 -0600)]
pt.c (value_dependent_expression_p): Cast expressions are value-dependent also if...

2003-06-30  Giovanni Bajo  <giovannibajo@libero.it>

        * pt.c (value_dependent_expression_p): Cast expressions are
        value-dependent also if their operand is value-dependent itself.

From-SVN: r68728

21 years agomangle.c (write_expression): Exit gracefully when trying to mangle a CALL_EXPR.
Giovanni Bajo [Mon, 30 Jun 2003 19:02:04 +0000 (21:02 +0200)]
mangle.c (write_expression): Exit gracefully when trying to mangle a CALL_EXPR.

2003-06-30  Giovanni Bajo  <giovannibajo@libero.it>

        * mangle.c (write_expression): Exit gracefully when trying to
        mangle a CALL_EXPR.

From-SVN: r68724

21 years agoerror6.C: New test.
Giovanni Bajo [Mon, 30 Jun 2003 19:01:08 +0000 (21:01 +0200)]
error6.C: New test.

2003-06-30  Giovanni Bajo  <giovannibajo@libero.it>

        * g++.dg/other/error6.C: New test.

From-SVN: r68723

21 years agoFix bad indentation due to changes in whitespace between patch creation and patch...
Wolfgang Bangerth [Mon, 30 Jun 2003 18:55:06 +0000 (12:55 -0600)]
Fix bad indentation due to changes in whitespace between patch creation and patch application.

From-SVN: r68722

21 years agore PR c++/10750 (error with using template template expression in static const initia...
Giovanni Bajo [Mon, 30 Jun 2003 18:46:19 +0000 (20:46 +0200)]
re PR c++/10750 (error with using template template expression in static const initializer)

2003-06-17  Giovanni Bajo  <giovannibajo@libero.it>

        PR c++/10750
        * g++.dg/parse/constant2.C: New test.

From-SVN: r68721

21 years agore PR c++/10750 (error with using template template expression in static const initia...
Giovanni Bajo [Mon, 30 Jun 2003 18:45:25 +0000 (20:45 +0200)]
re PR c++/10750 (error with using template template expression in static const initializer)

2003-06-30  Giovanni Bajo  <giovannibajo@libero.it>

        PR c++/10750
        * parser.c (cp_parser_primary_expression): A VAR_DECL with a
        (value- or type-) dependent expression as DECL_INITIAL is a
        valid constant-expression (at parser time).

From-SVN: r68720

21 years ago2003-06-30 Paolo Carlini <pcarlini@unitus.it>
Paolo Carlini [Mon, 30 Jun 2003 17:46:26 +0000 (17:46 +0000)]
2003-06-30  Paolo Carlini  <pcarlini@unitus.it>

Tweak a couple of recent Changelog entries.

From-SVN: r68716

21 years agoacinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch.
Benjamin Kosnik [Mon, 30 Jun 2003 17:40:13 +0000 (17:40 +0000)]
acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch.

2003-06-30  Benjamin Kosnik  <bkoz@redhat.com>

* acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch.
* aclocal.m4: Regenerate.
* configure.in (GLIBCPP_CHECK_PCH): Move, change to
GLIBCPP_ENABLE_PCH, default to yes.
* configure: Regenerate.
* docs/html/configopts.html: Add --enable-pch.

From-SVN: r68715

21 years agoalpha.h (FUNCTION_ARG_PADDING): Remove.
Kazu Hirata [Mon, 30 Jun 2003 17:30:32 +0000 (17:30 +0000)]
alpha.h (FUNCTION_ARG_PADDING): Remove.

* config/alpha/alpha.h (FUNCTION_ARG_PADDING): Remove.
* config/alpha/unicosmk.h: Don't #undef FUNCTION_ARG_PADDING.

From-SVN: r68714

21 years agolibstdc++-v3-dg.exp: Add comments.
Phil Edwards [Mon, 30 Jun 2003 17:17:58 +0000 (17:17 +0000)]
libstdc++-v3-dg.exp: Add comments.

2003-06-30  Phil Edwards  <pme@gcc.gnu.org>

* testsuite/lib/libstdc++-v3-dg.exp:  Add comments.
(libstdc++-v3-init):  Also set LD_RUN_PATH.

From-SVN: r68713

21 years agore PR c++/11106 (Error message gives partially mangled operator name)
Giovanni Bajo [Mon, 30 Jun 2003 17:07:07 +0000 (19:07 +0200)]
re PR c++/11106 (Error message gives partially mangled operator name)

2003-06-30  Giovanni Bajo <giovannibajo@libero.it>

        PR c++/11106
        * g++.dg/other/error5.C: New test.

From-SVN: r68712

21 years agore PR c++/11106 (Error message gives partially mangled operator name)
Giovanni Bajo [Mon, 30 Jun 2003 17:05:43 +0000 (19:05 +0200)]
re PR c++/11106 (Error message gives partially mangled operator name)

2003-06-10  Giovanni Bajo <giovannibajo@libero.it>

        PR c++/11106
        * error.c (dump_decl): Call dump_decl to dump the DECL_NAME for a
        USING_DECL, instead of print_tree_identifier.

From-SVN: r68711

21 years agosourcebuild.texi: Don't reference gnats.html any more.
Wolfgang Bangerth [Mon, 30 Jun 2003 16:08:38 +0000 (10:08 -0600)]
sourcebuild.texi: Don't reference gnats.html any more.

2003-06-30  Wolfgang Bangerth  <bangerth@dealii.org>

       * doc/sourcebuild.texi: Don't reference gnats.html any more.

From-SVN: r68710

21 years agoh8300.c (compute_mov_length): Fix length of mov:SF on H8/300.
Kazu Hirata [Mon, 30 Jun 2003 14:42:32 +0000 (14:42 +0000)]
h8300.c (compute_mov_length): Fix length of mov:SF on H8/300.

* config/h8300/h8300.c (compute_mov_length): Fix length of
mov:SF on H8/300.

From-SVN: r68709

21 years agooops - entry omitted during previous delta
Nick Clifton [Mon, 30 Jun 2003 13:55:05 +0000 (13:55 +0000)]
oops - entry omitted during previous delta

From-SVN: r68708

21 years ago(fyl2x_sfxf3, fyl2x_dfxf3, fscale_sfxf3, fscale_dfxf3): Fix condition.
Jan Hubicka [Mon, 30 Jun 2003 13:39:03 +0000 (15:39 +0200)]
(fyl2x_sfxf3, fyl2x_dfxf3, fscale_sfxf3, fscale_dfxf3): Fix condition.

From-SVN: r68706

21 years agofix typo
Christopher Faylor [Mon, 30 Jun 2003 13:34:44 +0000 (13:34 +0000)]
fix typo

From-SVN: r68705

21 years agors6000.c (rs6000_split_altivec_in_gprs): New function.
Hartmut Penner [Mon, 30 Jun 2003 13:30:45 +0000 (13:30 +0000)]
rs6000.c (rs6000_split_altivec_in_gprs): New function.

2003-06-30 Hartmut Penner  <hpenner@de.ibm.com>

        * config/rs6000/rs6000.c (rs6000_split_altivec_in_gprs): New function.
        (altivec_in_gprs_p): New function.

* config/rs6000/rs6000-protos (rs6000_split_altivec_in_gprs): New
prototype.
(altivec_in_gprs_p): New prototype.

* config/rs6000/altivec.md (*movv4si_internal): Change
multi-assembler alternative to '#'. Add postreload splitter to
handle this cases.
(*movv4hi_internal): Likewise.
(*movv4qi_internal): Likewise.
(*movv4sf_internal): Likewise.

From-SVN: r68704

21 years ago(BIGGEST_FIELD_ALIGNMENT): Make defintion constant.
Nick Clifton [Mon, 30 Jun 2003 13:17:38 +0000 (13:17 +0000)]
(BIGGEST_FIELD_ALIGNMENT): Make defintion constant.

From-SVN: r68703

21 years agodefaults.h (PUSH_ARGS_REVERSED): Define default here.
Jason Merrill [Mon, 30 Jun 2003 13:16:26 +0000 (09:16 -0400)]
defaults.h (PUSH_ARGS_REVERSED): Define default here.

        * defaults.h (PUSH_ARGS_REVERSED): Define default here.
        * calls.c: Not here.

From-SVN: r68701

21 years agoarm.c (arm_rtx_costs): Remove #if 0 block.
Ben Elliston [Mon, 30 Jun 2003 12:06:04 +0000 (12:06 +0000)]
arm.c (arm_rtx_costs): Remove #if 0 block.

* config/arm/arm.c (arm_rtx_costs): Remove #if 0 block.
(bad_signed_byte_operand): Likewise.
(arm_output_epilogue): Likewise.
(arm_final_prescan_insn): Likewise.

From-SVN: r68698

21 years ago* cfgrtl.c (mark_killed_regs): Cast HARD_REGNO_NREGS to int.
Rainer Orth [Mon, 30 Jun 2003 12:00:16 +0000 (12:00 +0000)]
* cfgrtl.c (mark_killed_regs): Cast HARD_REGNO_NREGS to int.

From-SVN: r68697

21 years agoc-pch.c (c_common_write_pch): Flush asm_out_file to allow for subsequent writes.
Rainer Orth [Mon, 30 Jun 2003 11:57:35 +0000 (11:57 +0000)]
c-pch.c (c_common_write_pch): Flush asm_out_file to allow for subsequent writes.

* c-pch.c (c_common_write_pch): Flush asm_out_file to allow for
subsequent writes.

From-SVN: r68696

21 years agostd_streambuf.h (_M_mode): Move from here to filebuf and stringbuf.
Paolo Carlini [Mon, 30 Jun 2003 11:17:23 +0000 (13:17 +0200)]
std_streambuf.h (_M_mode): Move from here to filebuf and stringbuf.

2003-06-30  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_streambuf.h (_M_mode): Move from here to
filebuf and stringbuf.
(~basic_streambuf()): Don't set _M_mode.
(basic_streambuf()): Don't set _M_mode.
* include/std/std_fstream.h (_M_mode): Move here, from streambuf.
(~basic_filebuf()): Clean up.
* include/bits/fstream.tcc (basic_filebuf()): Set _M_mode.
* include/std/std_sstream.h (_M_mode): Move here, from streambuf.
* testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode.
* testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
* testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
* testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
* testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.

2003-06-30  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_fstream.h (_M_underflow): Remove.
(uflow): Remove, inherited from streambuf.
(underflow): Only declare.
* include/bits/fstream.tcc (_M_underflow): Rename to
underflow, to which is equivalent for __bump == false,
simplify.
* include/std/std_sstream.h (_M_underflow): Remove.
(uflow): Remove, inherited from streambuf.
(underflow): Only declare.
* include/bits/sstream.tcc (_M_underflow): Rename to
underflow, to which is equivalent for __bump == false,
simplify.

From-SVN: r68695

21 years agocfgrtl.c (verify_flow_info): Accept degenerated condjumps in cfglayout mode.
Jan Hubicka [Mon, 30 Jun 2003 08:04:24 +0000 (10:04 +0200)]
cfgrtl.c (verify_flow_info): Accept degenerated condjumps in cfglayout mode.

* cfgrtl.c (verify_flow_info): Accept degenerated condjumps
in cfglayout mode.

From-SVN: r68694

21 years agoi386.c (standard_80387_constant_p): Accept TFmode constants too.
Jan Hubicka [Mon, 30 Jun 2003 07:57:58 +0000 (09:57 +0200)]
i386.c (standard_80387_constant_p): Accept TFmode constants too.

* i386.c (standard_80387_constant_p): Accept TFmode constants too.
(init_ext_80387_constants): Likewise.
(standard_80387_constant_rtx): Likewise.
* i386.md (atanxf): Disable for TARGET_128BIT_LONG_LONG
(atantf): Disable for !TARGET_128BIT_LONG_LONG
(fyl2x_sfxf3, fyl2x_dfxf3): Accept TFmode operands.
(fyl2x_xfxf3, fyl2x_tfxf3): Enable/disable as needed.
(fscale_sfxf3, fscale_dfxf3): Accept TFmode operands.
(fscale_xfxf3, fscale_tfxf3): Enable/disable as needed.
(frndinttf2): New.
(f2xm1tf2): New.
(exp?f2): Use expsf2_tf when needed.
(exp?f2_tf): New.
(exptf): New.

From-SVN: r68693

21 years agoPatch from Uwe Stieber.
Uwe Stieber [Mon, 30 Jun 2003 05:43:37 +0000 (05:43 +0000)]
Patch from Uwe Stieber.

* config.gcc (sh*-*-kaos*): Put tm_file setting in separate case
statement from tmake_file set.

From-SVN: r68692

21 years agoreload.c (find_reloads): Change push_reloads to push_reload in comment.
James E Wilson [Mon, 30 Jun 2003 03:11:48 +0000 (20:11 -0700)]
reload.c (find_reloads): Change push_reloads to push_reload in comment.

* reload.c (find_reloads): Change push_reloads to push_reload in
comment.
* reload1.c (eliminate_regs): Likewise.
(dump_needs): Delete prototype for deleted function.

From-SVN: r68691

21 years agostl_algo.h (LOTS): Fully qualify standard functions with std::, thus avoiding Koenig...
Paolo Carlini [Mon, 30 Jun 2003 01:46:42 +0000 (03:46 +0200)]
stl_algo.h (LOTS): Fully qualify standard functions with std::, thus avoiding Koenig lookup.

2003-06-29  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/stl_algo.h (LOTS): Fully qualify standard
functions with std::, thus avoiding Koenig lookup.

From-SVN: r68690

21 years agobuiltin-attrs.def (gcc_diag, [...]): New format attributes.
Kaveh R. Ghazi [Mon, 30 Jun 2003 00:31:21 +0000 (00:31 +0000)]
builtin-attrs.def (gcc_diag, [...]): New format attributes.

gcc:
* builtin-attrs.def (gcc_diag, gcc_cdiag, gcc_cxxdiag): New
format attributes.
* c-format.c (enum format_type): Add gcc_diag_format_type,
gcc_cdiag_format_type, and gcc_cxxdiag_format_type.
(gcc_diag_length_specs, gcc_cdiag_length_specs,
gcc_cxxdiag_length_specs, gcc_diag_flag_pairs,
gcc_cdiag_flag_pairs, gcc_cxxdiag_flag_pairs, gcc_diag_flag_specs,
gcc_cdiag_flag_specs, gcc_cxxdiag_flag_specs, gcc_diag_char_table,
gcc_cdiag_char_table, gcc_cxxdiag_char_table): New.
(format_types_orig): Add new data.
(find_char_info_specifier_index, init_dynamic_diag_info): New
functions.
(handle_format_attribute): Update to handle new format attributes.

testsuite:
* gcc.dg/format/gcc_diag-1.c: New test.

From-SVN: r68689

21 years agoDaily bump.
GCC Administrator [Mon, 30 Jun 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r68687

21 years ago* config/i386/mingw32.h (__GTHREAD_HIDE_WIN32API): Define to 1.
Aaron W. LaFramboise [Sun, 29 Jun 2003 23:35:55 +0000 (23:35 +0000)]
* config/i386/mingw32.h (__GTHREAD_HIDE_WIN32API): Define to 1.

From-SVN: r68685

21 years agoPatch from Dara Hazeghi.
Dara Hazeghi [Sun, 29 Jun 2003 23:10:28 +0000 (23:10 +0000)]
Patch from Dara Hazeghi.

* doc/install.texi: Remove install documentation for obsoleted targets
i?86-*-sco, i?86-*-sco3.2v4, powerpcle-*-pe, powerpcle-*-winnt,
arm-*-aof.
Update information about IA64 toolchain, AIX make requirements,
and binutils for m68k-*-hpux and *-*-linuxaout targets.

From-SVN: r68683

21 years agoregmove.c (regmove_optimize): Don't try to make src and dst match when they are in...
Jan Hubicka [Sun, 29 Jun 2003 22:51:45 +0000 (00:51 +0200)]
regmove.c (regmove_optimize): Don't try to make src and dst match when they are in different modes.

* regmove.c (regmove_optimize): Don't try to make src and dst match
when they are in different modes.

From-SVN: r68682

21 years agobuiltins.c (expand_builtin_mathfn, [...]): Avoid busy work when builtin is not suppor...
Jan Hubicka [Sun, 29 Jun 2003 21:16:13 +0000 (23:16 +0200)]
builtins.c (expand_builtin_mathfn, [...]): Avoid busy work when builtin is not supported by the backend.

* builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2): Avoid
busy work when builtin is not supported by the backend.

From-SVN: r68681

21 years agoloop.c (count_one_set): Fix detection of registers set in more than one basic block.
Zdenek Dvorak [Sun, 29 Jun 2003 20:42:42 +0000 (22:42 +0200)]
loop.c (count_one_set): Fix detection of registers set in more than one basic block.

* loop.c (count_one_set): Fix detection of registers set in more
than one basic block.

From-SVN: r68680

21 years agotarget-def.h: Remove usage of OBJECT_FORMAT_ROSE.
Andreas Jaeger [Sun, 29 Jun 2003 18:34:38 +0000 (20:34 +0200)]
target-def.h: Remove usage of OBJECT_FORMAT_ROSE.

* target-def.h: Remove usage of OBJECT_FORMAT_ROSE.
* system.h: Poison OBJ_FORMAT_ROSE.
* doc/tm.texi (Macros for Initialization): Remove documentatin of
OBJECT_FORMAT_ROSE.
* config/rs6000/lynx.h: Remove undef of OBJECT_FORMAT_ROSE.
* collect2.c: Remove usage of OBJECT_FORMAT_ROSE.

From-SVN: r68678

21 years agopa.c (update_total_code_bytes): New function.
John David Anglin [Sun, 29 Jun 2003 18:21:57 +0000 (18:21 +0000)]
pa.c (update_total_code_bytes): New function.

        * pa.c (update_total_code_bytes): New function.
(last_address): Number of bytes output for a function and its
associated thunks.
(compute_frame_size): Use BITS_PER_UNIT.
(pa_output_function_epilogue): Compute last_address.  Use
update_total_code_bytes.
(output_lbranch): Handle long branch on portable runtime.
(attr_length_millicode_call, attr_length_call,
attr_length_indirect_call): Only use total_code_bytes for calls in
the text section.
(output_call): Only use an indirect call sequence when the target is
not local.
(pa_asm_output_mi_thunk): Handle updating of total_code_bytes.  Improve
test to determine when an IA-relative branch can be used.  Add various
long branch sequences.  Avoid using an indirect branch on all ports
except SOM.

From-SVN: r68677

21 years ago* expr.c (clear_by_pieces): Fix prototype.
Ulrich Weigand [Sun, 29 Jun 2003 17:47:37 +0000 (17:47 +0000)]
* expr.c (clear_by_pieces): Fix prototype.

From-SVN: r68676

21 years ago* config.gcc: Add 970.
David Edelsohn [Sun, 29 Jun 2003 17:36:44 +0000 (17:36 +0000)]
* config.gcc: Add 970.

From-SVN: r68675

21 years agoexcept.c: Convert prototypes to ISO C90.
Andreas Jaeger [Sun, 29 Jun 2003 16:21:58 +0000 (18:21 +0200)]
except.c: Convert prototypes to ISO C90.

* except.c: Convert prototypes to ISO C90.
* except.h: Likewise.
* emit-rtl.c: Likewise.
* et-forest.c: Likewise.
* et-forest.h: Likewise.
* except.c: Likewise.
* explow.c: Likewise.
* expmed.c: Likewise.
* expr.c: Likewise.
* expr.h: Likewise.

From-SVN: r68674

21 years agocse.c: Convert prototypes to ISO C90.
Andreas Jaeger [Sun, 29 Jun 2003 15:19:13 +0000 (17:19 +0200)]
cse.c: Convert prototypes to ISO C90.

* cse.c: Convert prototypes to ISO C90.
* cselib.c: Likewise.
* cselib.h: Likewise.
* dbxout.c: Likewise.
* debug.c: Likewise.
* df.c: Likewise.
* df.h: Likewise.
* dojump.c: Likewise.
* doloop.c: Likewise.
* dominance.c: Likewise.
* dwarf2asm.c: Likewise.
* dwarf2out.c: Likewise.
* dwarf2out.h: Likewise.
* dwarfout.c: Likewise.

From-SVN: r68673

21 years agoalloc-pool.c: Fix comment formatting.
Kazu Hirata [Sun, 29 Jun 2003 13:53:12 +0000 (13:53 +0000)]
alloc-pool.c: Fix comment formatting.

* alloc-pool.c: Fix comment formatting.
* bitmap.c: Likewise.
* bitmap.h: Likewise.
* bt-load.c: Likewise.
* builtins.c: Likewise.
* caller-save.c: Likewise.
* cfganal.c: Likewise.
* cfgrtl.c: Likewise.
* collect2.c: Likewise.
* cse.c: Likewise.
* df.c: Likewise.
* diagnostic.c: Likewise.
* dwarf2out.c: Likewise.
* dwarfout.c: Likewise.
* expmed.c: Likewise.
* final.c: Likewise.
* flags.h: Likewise.
* fold-const.c: Likewise.
* gcc.c: Likewise.
* gcov-io.h: Likewise.
* gcov.c: Likewise.
* genattrtab.c: Likewise.
* genautomata.c: Likewise.
* libgcov.c: Likewise.
* mips-tfile.c: Likewise.
* optabs.c: Likewise.
* prefix.c: Likewise.
* rtlanal.c: Likewise.
* stmt.c: Likewise.
* stor-layout.c: Likewise.
* toplev.c: Likewise.
* varasm.c: Likewise.
* vmsdbgout.c: Likewise.

From-SVN: r68672

21 years agoexpr.c (emit_single_push_insn): If padding is needed downward...
Kazu Hirata [Sun, 29 Jun 2003 13:40:24 +0000 (13:40 +0000)]
expr.c (emit_single_push_insn): If padding is needed downward...

* expr.c (emit_single_push_insn): If padding is needed
downward, adjust the stack pointer first, and then store the
data into the stack location using an offset.

From-SVN: r68670

21 years agocollect2.h: Convert prototypes to ISO C90.
Andreas Jaeger [Sun, 29 Jun 2003 12:07:06 +0000 (14:07 +0200)]
collect2.h: Convert prototypes to ISO C90.

* collect2.h: Convert prototypes to ISO C90.
* collect2.c: Likewise.
* conflict.c: Likewise.
* coverage.c: Likewise.
* convert.h: Likewise.
* convert.c: Likewise.

From-SVN: r68669

21 years agocp-tree.h (language_to_string): Adjust declaration.
Gabriel Dos Reis [Sun, 29 Jun 2003 12:02:58 +0000 (12:02 +0000)]
cp-tree.h (language_to_string): Adjust declaration.

* cp-tree.h (language_to_string): Adjust declaration.
* dump.c (cp_dump_tree): Adjust usage.
* error.c (dump_char): Use output_formatted_scalar. Tidy.
(parm_to_string): Lose unused parameter.  Tidy.
(expr_to_string): Likewise.
(code_to_string): Likewise.
(language_to_string): Likewise.
(op_to_string): Likewise.
(assop_to_string): Likewise.
(digit_buffer): Remove.
(dump_type): Format builtin vector type as __vector__.

From-SVN: r68668

21 years agoc-decl.c (c_init_decl_processing): Use a location_t.
Nathan Sidwell [Sun, 29 Jun 2003 11:28:00 +0000 (11:28 +0000)]
c-decl.c (c_init_decl_processing): Use a location_t.

* c-decl.c (c_init_decl_processing): Use a location_t. Set input
filename to <internal>.
* tree.c (make_node): Just copy the current location.

From-SVN: r68667

21 years ago11305-1.cc: Improve type correctness-wise.
Paolo Carlini [Sun, 29 Jun 2003 11:12:35 +0000 (13:12 +0200)]
11305-1.cc: Improve type correctness-wise.

2003-06-29  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc:
Improve type correctness-wise.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc:
Likewise.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc:
Likewise.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc:
Likewise.

From-SVN: r68666

21 years agoerror.c (print_integer): Remove.
Gabriel Dos Reis [Sun, 29 Jun 2003 10:55:33 +0000 (10:55 +0000)]
error.c (print_integer): Remove.

* error.c (print_integer): Remove.
(dump_type_suffix): Adjust.
(dump_expr): Likewise.

From-SVN: r68665

21 years agostd_streambuf.h (uflow): According to 27.5.2.4.3,p16, don't check gptr() < egptr().
Paolo Carlini [Sun, 29 Jun 2003 10:31:06 +0000 (12:31 +0200)]
std_streambuf.h (uflow): According to 27.5.2.4.3,p16, don't check gptr() < egptr().

2003-06-29  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_streambuf.h (uflow): According to
27.5.2.4.3,p16, don't check gptr() < egptr().

From-SVN: r68664

21 years agore PR rtl-optimization/11210 (optimizer drops conditional with typecast from signed...
Eric Botcazou [Sun, 29 Jun 2003 08:31:52 +0000 (10:31 +0200)]
re PR rtl-optimization/11210 (optimizer drops conditional with typecast from signed to unsigned char)

PR optimization/11210
* fold-const (decode_field_reference): Revert 2003-06-26 patch.

From-SVN: r68662

21 years agotoplev.c (flag_dummy): Remove.
Neil Booth [Sun, 29 Jun 2003 08:18:17 +0000 (08:18 +0000)]
toplev.c (flag_dummy): Remove.

* toplev.c (flag_dummy): Remove.
(f_options): Restore flag pointers.

From-SVN: r68661

21 years ago* config/rs6000/rs6000.c (processor_target_table): Add 970.
David Edelsohn [Sun, 29 Jun 2003 04:42:20 +0000 (04:42 +0000)]
* config/rs6000/rs6000.c (processor_target_table): Add 970.

From-SVN: r68660

21 years agodwarf2out.c (add_AT_string): Replace ggc_alloc_string (X, -1) with ggc_strdup.
Kazu Hirata [Sun, 29 Jun 2003 04:24:55 +0000 (04:24 +0000)]
dwarf2out.c (add_AT_string): Replace ggc_alloc_string (X, -1) with ggc_strdup.

* dwarf2out.c (add_AT_string): Replace ggc_alloc_string (X,
-1) with ggc_strdup.
* stmt.c (expand_asm_operands): Likewise.
* config/rs6000/rs6000.md (builtin_setjmp_receiver): Likewise.

From-SVN: r68659

21 years agoip2k.c (ip2k_reorg): Use INSN_P instead of its definition.
Kazu Hirata [Sun, 29 Jun 2003 02:15:51 +0000 (02:15 +0000)]
ip2k.c (ip2k_reorg): Use INSN_P instead of its definition.

* config/ip2k/ip2k.c (ip2k_reorg): Use INSN_P instead of its
definition.

From-SVN: r68658

21 years agoopts.c: Include insn-attr.h.
Franz Sirl [Sun, 29 Jun 2003 01:17:54 +0000 (01:17 +0000)]
opts.c: Include insn-attr.h.

2003-06-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* opts.c: Include insn-attr.h.
* Makefile.in (opts.o): Depend on INSN_ATTR_H.

From-SVN: r68657

21 years agoDaily bump.
GCC Administrator [Sun, 29 Jun 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r68655

21 years agoflow.c (propagate_one_insn): Use proper test for a register being part of the return...
J"orn Rennecke [Sat, 28 Jun 2003 22:57:58 +0000 (22:57 +0000)]
flow.c (propagate_one_insn): Use proper test for a register being part of the return value.

* flow.c (propagate_one_insn): Use proper test for a register
being part of the return value.

From-SVN: r68653

21 years ago* gcc.c-torture/execute/multi-ix.c: Fix off-by-one bugs.
Ulrich Weigand [Sat, 28 Jun 2003 21:30:30 +0000 (21:30 +0000)]
* gcc.c-torture/execute/multi-ix.c: Fix off-by-one bugs.

From-SVN: r68652

21 years ago* config/avr/avr.c: Fix a comment typo.
Kazu Hirata [Sat, 28 Jun 2003 20:00:06 +0000 (20:00 +0000)]
* config/avr/avr.c: Fix a comment typo.

From-SVN: r68651

21 years agoavr-protos.h: Replace avr_simplify_comparision_p with avr_simplify_comparison_p.
Kazu Hirata [Sat, 28 Jun 2003 19:55:01 +0000 (19:55 +0000)]
avr-protos.h: Replace avr_simplify_comparision_p with avr_simplify_comparison_p.

* config/avr/avr-protos.h: Replace avr_simplify_comparision_p
with avr_simplify_comparison_p.
* config/avr/avr.c: Likewise.

From-SVN: r68650

21 years agobuiltins.c: Follow spelling conventions.
Kazu Hirata [Sat, 28 Jun 2003 19:53:17 +0000 (19:53 +0000)]
builtins.c: Follow spelling conventions.

* builtins.c: Follow spelling conventions.
* cgraph.c: Likewise.
* cpplex.c: Likewise.
* config/arm/arm.c: Likewise.
* config/arm/iwmmxt.md: Likewise.
* config/c4x/c4x-modes.def: Likewise.
* config/c4x/c4x.c: Likewise.
* config/c4x/c4x.h: Likewise.
* config/c4x/c4x.md: Likewise.
* config/i386/i386-interix.h: Likewise.
* config/mips/mips.h: Likewise.

From-SVN: r68649

21 years agobuiltins.c: Follow spelling conventions.
Kazu Hirata [Sat, 28 Jun 2003 19:43:01 +0000 (19:43 +0000)]
builtins.c: Follow spelling conventions.

* builtins.c: Follow spelling conventions.
* cgraph.c: Likewise.
* cpplex.c: Likewise.
* config/arm/arm.c: Likewise.
* config/arm/iwmmxt.md: Likewise.
* config/c4x/c4x-modes.def: Likewise.
* config/c4x/c4x.c: Likewise.
* config/c4x/c4x.h: Likewise.
* config/c4x/c4x.md: Likewise.
* config/i386/i386-interix.h: Likewise.
* config/mips/mips.h: Likewise.

From-SVN: r68648

21 years agom68k.h (TARGET_CPU_CPP_BUILTINS): Predicate __mc68020__ on TARGET_68020.
Neil Booth [Sat, 28 Jun 2003 19:35:37 +0000 (19:35 +0000)]
m68k.h (TARGET_CPU_CPP_BUILTINS): Predicate __mc68020__ on TARGET_68020.

* config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Predicate
__mc68020__ on TARGET_68020.

From-SVN: r68647

21 years ago* config/h8300/h8300.c: Fix a comment typo.
Kazu Hirata [Sat, 28 Jun 2003 19:15:57 +0000 (19:15 +0000)]
* config/h8300/h8300.c: Fix a comment typo.

From-SVN: r68646

21 years ago* c-parse.in (yylexstring): Use a location_t.
Nathan Sidwell [Sat, 28 Jun 2003 19:05:32 +0000 (19:05 +0000)]
* c-parse.in (yylexstring): Use a location_t.

From-SVN: r68645

21 years agoerror.c (print_instantiation_partial_context): Take a location_t.
Nathan Sidwell [Sat, 28 Jun 2003 19:02:32 +0000 (19:02 +0000)]
error.c (print_instantiation_partial_context): Take a location_t.

* error.c (print_instantiation_partial_context): Take a
location_t.
(print_instantiation_full_context): Adjust.
(print_instantiation_context): Adjust.

From-SVN: r68644

21 years agodiagnostic.h (diagnostic_set_info): Replace file and lineno parameters with a location_t.
Nathan Sidwell [Sat, 28 Jun 2003 16:23:29 +0000 (16:23 +0000)]
diagnostic.h (diagnostic_set_info): Replace file and lineno parameters with a location_t.

* diagnostic.h (diagnostic_set_info): Replace file and lineno
parameters with a location_t.
* diagnostic.c (diagnostic_set_info): Replace file and lineno
parameters with a location_t.
(inform, warning, pedwarn, error, sorry, fatal_error,
internal_error, warning_with_decl, pedwarn_with_decl,
error_with_decl): Adjust.
* c-error.c (pedwarn_c99): Adjust.
* c-format.c (status_warning): Adjust.
* rtl-error.c (file_and_line_for_asm): Rename to ...
(location_for_asm): Return a location_t.
(diagnostic_for_asm): Adjust.

* cp/cp-tree.h (cp_line_of, cp_file_of): Remove.
* cp/error.c (cp_line_of, cp_file_of): Merge into ...
(location_of): ... here. Make static, return a location_t.
(cp_error_at, cp_warning_at, cp_pedwarn_at): Adjust.

* testsuite/g++.old-deja/g++.robertl/eb133.C: Set expected line
number.
* testsuite/g++.old-deja/g++.robertl/eb133a.C: Likewise.
* testsuite/g++.old-deja/g++.robertl/eb133b.C: Likewise.

From-SVN: r68643

21 years agocpptrad.c (skip_macro_block_comment): New.
Neil Booth [Sat, 28 Jun 2003 15:16:10 +0000 (15:16 +0000)]
cpptrad.c (skip_macro_block_comment): New.

* cpptrad.c (skip_macro_block_comment): New.
(copy_comment): Use it if appropriate.

From-SVN: r68641

21 years agogcse.c (compute_ld_motion_mems): Use INSN_P instead of its definition.
Kazu Hirata [Sat, 28 Jun 2003 14:56:24 +0000 (14:56 +0000)]
gcse.c (compute_ld_motion_mems): Use INSN_P instead of its definition.

* gcse.c (compute_ld_motion_mems): Use INSN_P instead of its
definition.
(store_killed_in_insn): Likewise.
* print-rtl.c (print_rtx): Likewise.
* config/frv/frv.c (frv_final_prescan_insn): Likewise.
* config/m68hc11/m68hc11.c (dead_register_here): Likewise.
(m68hc11_reassign_regs): Likewise.
(m68hc11_reorg): Likewise.

From-SVN: r68640