Commit Graph

51222 Commits

Author SHA1 Message Date
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
Giovanni Bajo
37198bc85c 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
2003-06-30 11:05:43 -06:00
Wolfgang Bangerth
b10d2c9d46 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
2003-06-30 10:08:38 -06:00
Kazu Hirata
81983b04ee 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
2003-06-30 14:42:32 +00:00
Nick Clifton
1e0b938e57 oops - entry omitted during previous delta
From-SVN: r68708
2003-06-30 13:55:05 +00:00
Jan Hubicka
a9bce3ab59 (fyl2x_sfxf3, fyl2x_dfxf3, fscale_sfxf3, fscale_dfxf3): Fix condition.
From-SVN: r68706
2003-06-30 13:39:03 +00:00
Christopher Faylor
a22a090819 fix typo
From-SVN: r68705
2003-06-30 13:34:44 +00:00
Hartmut Penner
46c07df8a1 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
2003-06-30 13:30:45 +00:00
Nick Clifton
8fca31a21e (BIGGEST_FIELD_ALIGNMENT): Make defintion constant.
From-SVN: r68703
2003-06-30 13:17:38 +00:00
Jason Merrill
9d6bef9526 defaults.h (PUSH_ARGS_REVERSED): Define default here.
* defaults.h (PUSH_ARGS_REVERSED): Define default here.
        * calls.c: Not here.

From-SVN: r68701
2003-06-30 09:16:26 -04:00
Ben Elliston
4e938719ec 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
2003-06-30 22:06:04 +10:00
Rainer Orth
73383a8105 * cfgrtl.c (mark_killed_regs): Cast HARD_REGNO_NREGS to int.
From-SVN: r68697
2003-06-30 12:00:16 +00:00
Rainer Orth
2d583dcbac 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
2003-06-30 11:57:35 +00:00