Giovanni Bajo
814ae570ea
re PR c++/8046 (ICE on illegal code involving destructor being treated as bit-not expression)
...
2003-07-01 Giovanni Bajo <giovannibajo@libero.it>
PR c++/8046
* error.c (dump_decl): Handle BIT_NOT_EXPR as
pseudo destructor calls.
From-SVN: r68775
2003-07-01 09:38:02 -06:00
Michael Koch
3d8daef2cd
2003-07-01 Michael Koch <konqueror@gmx.de>
...
* gnu/gcj/convert/natIconv.cc
(iconv_init): Fixed possible memory leak by releasing allocated iconv
handle.
From-SVN: r68774
2003-07-01 14:42:38 +00:00
Kazu Hirata
c0cbdbd97d
contrib.texi: Fix typos.
...
* doc/contrib.texi: Fix typos.
* doc/invoke.texi: Likewise.
* doc/passes.texi: Likewise.
* doc/sourcebuild.texi: Likewise.
* doc/tm.texi: Likewise.
From-SVN: r68772
2003-07-01 14:39:20 +00:00
Matt Kraai
bf3aff48a9
ChangeLog.6: Fix misspellings.
...
* ChangeLog.6: Fix misspellings.
* ChangeLog.7: Likewise.
(testsuite):
* gcc.c-torture/execute/20030125-1.c: Likewise.
From-SVN: r68771
2003-07-01 13:10:26 +00:00
Kazu Hirata
e0bb17a83f
basic-block.h: Fix comment typos.
...
* basic-block.h: Fix comment typos.
* bb-reorder.c: Likewise.
* c-format.c: Likewise.
* cfgcleanup.c: Likewise.
* cfghooks.h: Likewise.
* cfgloop.c: Likewise.
* cfgloopmanip.c: Likewise.
* cfgrtl.c: Likewise.
* cgraph.h: Likewise.
* cgraphunit.c: Likewise.
* combine.c: Likewise.
* convert.c: Likewise.
* dbxout.c: Likewise.
* df.c: Likewise.
* df.h: Likewise.
* diagnostic.c: Likewise.
* dwarf2out.c: Likewise.
* et-forest.h: Likewise.
* flow.c: Likewise.
* fold-const.c: Likewise.
* function.h: Likewise.
* gcov-io.h: Likewise.
* gcov.c: Likewise.
* gcse.c: Likewise.
* genautomata.c: Likewise.
* ggc-common.c: Likewise.
* ggc-page.c: Likewise.
* loop-unroll.c: Likewise.
* loop-unswitch.c: Likewise.
* loop.c: Likewise.
* mips-tfile.c: Likewise.
* optabs.c: Likewise.
* ra-build.c: Likewise.
* ra-colorize.c: Likewise.
* ra-rewrite.c: Likewise.
* ra.h: Likewise.
* regmove.c: Likewise.
* reload.c: Likewise.
* rtlanal.c: Likewise.
* sched-ebb.c: Likewise.
* sched-int.h: Likewise.
* sched-vis.c: Likewise.
* sreal.c: Likewise.
* ssa-ccp.c: Likewise.
* ssa.c: Likewise.
* toplev.c: Likewise.
* tree-inline.c: Likewise.
* value-prof.c: Likewise.
* value-prof.h: Likewise.
From-SVN: r68770
2003-07-01 12:18:01 +00:00
Kazu Hirata
0d0a1710d9
vbase1.C: Fix comment typos.
...
* g++.old-deja/g++.abi/vbase1.C: Fix comment typos.
* g++.old-deja/g++.abi/vtable3.h: Likewise.
* g++.old-deja/g++.law/code-gen5.C: Likewise.
* g++.old-deja/g++.other/union2.C: Likewise.
* gcc.dg/c90-const-expr-2.c: Likewise.
* gcc.dg/c90-const-expr-3.c: Likewise.
* gcc.dg/c99-const-expr-2.c: Likewise.
* gcc.dg/c99-const-expr-3.c: Likewise.
* gcc.dg/concat.c: Likewise.
From-SVN: r68769
2003-07-01 12:01:44 +00:00
Matt Kraai
6344b1f122
gnat_ug.texi: Remove unlikely characters from @vars.
...
* gnat_ug.texi: Remove unlikely characters from @vars.
* gnat_ug_vms.texi: Regenerate.
From-SVN: r68768
2003-07-01 11:21:12 +00:00
Nathan Sidwell
5f2fc772a6
rtl.h (emit_line_note_after): Remove.
...
* rtl.h (emit_line_note_after): Remove.
(emit_note_copy_after, emit_note_copy): New.
* emit-rtl.c (reorder_insns_with_line_notes): Replace
emit_line_note_after with emit_note_copy_after.
(emit_insn_after_with_line_notes): Likewise.
(emit_line_note_after): Kill.
(emit_note_copy_after): New.
(emit_note_copy): New.
* function.c (emit_return_into_block): Use emit_note_copy_after.
(thread_prologue_and_epilogue_insns): Likewise.
* integrate.c (expand_inline_function): Use emit_note_copy.
(copy_insn_list): Likewise.
* unroll.c (copy_loop_body): Likewise.
* cfglayout.c (duplicate_insn_chain): Likewise.
From-SVN: r68767
2003-07-01 09:17:52 +00:00
Nathan Sidwell
5b030314af
c-tree.h (define_label): Replace filename and lineno arguments with a location_t.
...
* c-tree.h (define_label): Replace filename and lineno arguments
with a location_t.
* c-decl.c (poplevel): Adjust define_label call.
(pop_label_level): Likewise.
(define_label): Replace filename and lineno arguments with a
location_t.
(store_parm_decls): Use DECL_SOURCE_LOCATION.
* c-parse.in (label): Adjust define_label call.
* cp/cp-tree.h (define_label): Replace filename and lineno
arguments with a location_t.
* cp/decl.c (pop_label): Adjust define_label call.
(define_label): Replace filename and lineno arguments with a
location_t.
* cp/semantics.c (finish_label): Adjust define_label call.
* java/decl.c (poplevel): Adjust define_label call.
From-SVN: r68766
2003-07-01 09:00:45 +00:00
Mark Mitchell
c9bdad3517
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
2003-07-01 07:17:03 +00:00
Neil Booth
04df67304a
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
2003-07-01 05:45:19 +00:00
Jerry Quinn
5ee78c21f1
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
2003-07-01 05:44:42 +00:00
Jerry Quinn
e97ee22ea5
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
2003-07-01 05:38:04 +00:00
Andreas Jaeger
6cf9ac2858
final.c: Convert prototypes to ISO C90.
...
* final.c: Convert prototypes to ISO C90.
* flow.c: Likewise.
* flags.h: Likewise.
From-SVN: r68760
2003-07-01 07:00:18 +02:00
Bruno Haible
4c20b2e76b
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
2003-07-01 04:04:13 +00:00
Benjamin Kosnik
7d6a09934c
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
2003-07-01 03:04:43 +00:00
Jerry Quinn
cf0cad0951
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
2003-07-01 02:55:20 +00:00
Jeff Law
de1f565924
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
2003-06-30 20:04:11 -06:00
Kazu Hirata
6001794def
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
2003-07-01 01:15:07 +00:00
Mark Mitchell
7d896ee96b
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
2003-07-01 01:11:53 +00:00
GCC Administrator
8e16d3afe8
Daily bump.
...
From-SVN: r68749
2003-07-01 00:16:06 +00:00
Bob Wilson
e677f70c66
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
2003-07-01 00:14:33 +00:00
Thomas Fitzsimmons
29e531ff29
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
2003-06-30 23:53:29 +00:00
Paolo Carlini
884a757a31
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
2003-06-30 22:29:42 +00:00
Ulrich Weigand
d3632d41e2
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
2003-06-30 22:06:41 +00:00
Hartmut Penner
52609473f8
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
2003-06-30 22:01:00 +00:00
Jan Hubicka
ed2df68b4b
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
2003-06-30 21:56:46 +00:00
Volker Reichelt
f11c1f9089
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
2003-06-30 21:17:05 +00:00
Volker Reichelt
109b748d3f
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
2003-06-30 21:11:44 +00:00
Doug Gregor
5892c641b3
Avoid subscripting empty string.
...
From-SVN: r68739
2003-06-30 20:45:22 +00:00
Phil Edwards
7685a26d92
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
2003-06-30 20:40:10 +00:00
Kazu Hirata
90b97100a7
h8300.h (LEGITIMATE_CONSTANT_P): Make it always 1.
...
* config/h8300/h8300.h (LEGITIMATE_CONSTANT_P): Make it always
1.
From-SVN: r68737
2003-06-30 20:29:10 +00:00
Ulrich Weigand
f13e0d4e03
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
2003-06-30 19:47:22 +00:00
Andreas Jaeger
82a30d6f0f
gcov-io.c: Convert prototypes to ISO C90.
...
* gcov-io.c: Convert prototypes to ISO C90.
* gcov-io.h: Likewise.
From-SVN: r68735
2003-06-30 21:45:17 +02:00
Neil Booth
37fa72e9d3
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
2003-06-30 19:36:25 +00:00
Giovanni Bajo
4497827651
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
2003-06-30 13:22:48 -06:00
Giovanni Bajo
c85e18ee68
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
2003-06-30 13:21:25 -06:00
Gary Benson
27758dc09f
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
2003-06-30 19:15:56 +00:00
Doug Gregor
d147b75b92
Don't initialize an insert_iterator with a singular iterator
...
From-SVN: r68729
2003-06-30 19:11:12 +00:00
Giovanni Bajo
20929c7f42
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
2003-06-30 13:07:32 -06:00
Giovanni Bajo
f8bee204f6
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
2003-06-30 13:02:04 -06:00
Giovanni Bajo
b3c5e31b81
error6.C: New test.
...
2003-06-30 Giovanni Bajo <giovannibajo@libero.it>
* g++.dg/other/error6.C: New test.
From-SVN: r68723
2003-06-30 13:01:08 -06:00
Wolfgang Bangerth
813e059114
Fix bad indentation due to changes in whitespace between patch creation and patch application.
...
From-SVN: r68722
2003-06-30 12:55:06 -06:00
Giovanni Bajo
984e085f58
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
2003-06-30 12:46:19 -06:00
Giovanni Bajo
9b61cc1bcc
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
2003-06-30 12:45:25 -06:00
Paolo Carlini
fbfcbadc8f
2003-06-30 Paolo Carlini <pcarlini@unitus.it>
...
Tweak a couple of recent Changelog entries.
From-SVN: r68716
2003-06-30 17:46:26 +00:00
Benjamin Kosnik
44f0760eae
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
2003-06-30 17:40:13 +00:00
Kazu Hirata
ec097612bc
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
2003-06-30 17:30:32 +00:00
Phil Edwards
e37f7da796
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
2003-06-30 17:17:58 +00:00
Giovanni Bajo
5806e0404c
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
2003-06-30 11:07:07 -06:00