OSDN Git Service
aj [Mon, 30 Jun 2003 19:45:17 +0000 (19:45 +0000)]
* gcov-io.c: Convert prototypes to ISO C90.
* gcov-io.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68735
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Mon, 30 Jun 2003 19:36:25 +0000 (19:36 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68734
138bc75d-0d04-0410-961f-
82ee72b054a4
bangerth [Mon, 30 Jun 2003 19:22:48 +0000 (19:22 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68733
138bc75d-0d04-0410-961f-
82ee72b054a4
bangerth [Mon, 30 Jun 2003 19:21:25 +0000 (19:21 +0000)]
2003-06-30 Giovanni Bajo <giovannibajo@libero.it>
PR c++/4933
* g++.dg/template/sizeof4.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68732
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 30 Jun 2003 19:15:56 +0000 (19:15 +0000)]
2003-06-30 Gary Benson <gbenson@redhat.com>
For PR libgcj/11349:
* javax/naming/spi/NamingManager.java (getURLContext): Use
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68730
138bc75d-0d04-0410-961f-
82ee72b054a4
dgregor [Mon, 30 Jun 2003 19:11:12 +0000 (19:11 +0000)]
Don't initialize an insert_iterator with a singular iterator
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68729
138bc75d-0d04-0410-961f-
82ee72b054a4
bangerth [Mon, 30 Jun 2003 19:07:32 +0000 (19:07 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68728
138bc75d-0d04-0410-961f-
82ee72b054a4
bangerth [Mon, 30 Jun 2003 19:02:04 +0000 (19:02 +0000)]
2003-06-30 Giovanni Bajo <giovannibajo@libero.it>
* mangle.c (write_expression): Exit gracefully when trying to
mangle a CALL_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68724
138bc75d-0d04-0410-961f-
82ee72b054a4
bangerth [Mon, 30 Jun 2003 19:01:08 +0000 (19:01 +0000)]
2003-06-30 Giovanni Bajo <giovannibajo@libero.it>
* g++.dg/other/error6.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68723
138bc75d-0d04-0410-961f-
82ee72b054a4
bangerth [Mon, 30 Jun 2003 18:55:06 +0000 (18:55 +0000)]
Fix bad indentation due to changes in whitespace between patch creation and patch application.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68722
138bc75d-0d04-0410-961f-
82ee72b054a4
bangerth [Mon, 30 Jun 2003 18:46:19 +0000 (18:46 +0000)]
2003-06-17 Giovanni Bajo <giovannibajo@libero.it>
PR c++/10750
* g++.dg/parse/constant2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68721
138bc75d-0d04-0410-961f-
82ee72b054a4
bangerth [Mon, 30 Jun 2003 18:45:25 +0000 (18:45 +0000)]
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).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68720
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68716
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 30 Jun 2003 17:40:13 +0000 (17:40 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68715
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 30 Jun 2003 17:30:32 +0000 (17:30 +0000)]
* config/alpha/alpha.h (FUNCTION_ARG_PADDING): Remove.
* config/alpha/unicosmk.h: Don't #undef FUNCTION_ARG_PADDING.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68714
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Mon, 30 Jun 2003 17:17:58 +0000 (17:17 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68713
138bc75d-0d04-0410-961f-
82ee72b054a4
bangerth [Mon, 30 Jun 2003 17:07:07 +0000 (17:07 +0000)]
2003-06-30 Giovanni Bajo <giovannibajo@libero.it>
PR c++/11106
* g++.dg/other/error5.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68712
138bc75d-0d04-0410-961f-
82ee72b054a4
bangerth [Mon, 30 Jun 2003 17:05:43 +0000 (17:05 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68711
138bc75d-0d04-0410-961f-
82ee72b054a4
bangerth [Mon, 30 Jun 2003 16:08:38 +0000 (16:08 +0000)]
2003-06-30 Wolfgang Bangerth <bangerth@dealii.org>
* doc/sourcebuild.texi: Don't reference gnats.html any more.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68710
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 30 Jun 2003 14:42:32 +0000 (14:42 +0000)]
* config/h8300/h8300.c (compute_mov_length): Fix length of
mov:SF on H8/300.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68709
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Mon, 30 Jun 2003 13:55:05 +0000 (13:55 +0000)]
oops - entry omitted during previous delta
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68708
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 30 Jun 2003 13:39:03 +0000 (13:39 +0000)]
(fyl2x_sfxf3, fyl2x_dfxf3, fscale_sfxf3, fscale_dfxf3): Fix condition.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68706
138bc75d-0d04-0410-961f-
82ee72b054a4
cgf [Mon, 30 Jun 2003 13:34:44 +0000 (13:34 +0000)]
fix typo
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68705
138bc75d-0d04-0410-961f-
82ee72b054a4
hpenner [Mon, 30 Jun 2003 13:30:45 +0000 (13:30 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68704
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Mon, 30 Jun 2003 13:17:38 +0000 (13:17 +0000)]
(BIGGEST_FIELD_ALIGNMENT): Make defintion constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68703
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 30 Jun 2003 13:16:26 +0000 (13:16 +0000)]
* defaults.h (PUSH_ARGS_REVERSED): Define default here.
* calls.c: Not here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68701
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Mon, 30 Jun 2003 12:06:04 +0000 (12:06 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68698
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Mon, 30 Jun 2003 12:00:16 +0000 (12:00 +0000)]
* cfgrtl.c (mark_killed_regs): Cast HARD_REGNO_NREGS to int.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68697
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68696
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 30 Jun 2003 11:17:23 +0000 (11:17 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68695
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 30 Jun 2003 08:04:24 +0000 (08:04 +0000)]
* cfgrtl.c (verify_flow_info): Accept degenerated condjumps
in cfglayout mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68694
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 30 Jun 2003 07:57:58 +0000 (07:57 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68693
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68692
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 30 Jun 2003 03:11:48 +0000 (03:11 +0000)]
* reload.c (find_reloads): Change push_reloads to push_reload in
comment.
* reload1.c (eliminate_regs): Likewise.
(dump_needs): Delete prototype for deleted function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68691
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 30 Jun 2003 01:46:42 +0000 (01:46 +0000)]
2003-06-29 Paolo Carlini <pcarlini@unitus.it>
* include/bits/stl_algo.h (LOTS): Fully qualify standard
functions with std::, thus avoiding Koenig lookup.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68690
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Mon, 30 Jun 2003 00:31:21 +0000 (00:31 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68689
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 30 Jun 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68687
138bc75d-0d04-0410-961f-
82ee72b054a4
cgf [Sun, 29 Jun 2003 23:35:55 +0000 (23:35 +0000)]
* config/i386/mingw32.h (__GTHREAD_HIDE_WIN32API): Define to 1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68685
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68683
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sun, 29 Jun 2003 22:51:45 +0000 (22:51 +0000)]
* regmove.c (regmove_optimize): Don't try to make src and dst match
when they are in different modes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68682
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sun, 29 Jun 2003 21:16:13 +0000 (21:16 +0000)]
* builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2): Avoid
busy work when builtin is not supported by the backend.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68681
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Sun, 29 Jun 2003 20:42:42 +0000 (20:42 +0000)]
* loop.c (count_one_set): Fix detection of registers set in more
than one basic block.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68680
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Sun, 29 Jun 2003 18:34:38 +0000 (18:34 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68678
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sun, 29 Jun 2003 18:21:57 +0000 (18:21 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68677
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Sun, 29 Jun 2003 17:47:37 +0000 (17:47 +0000)]
* expr.c (clear_by_pieces): Fix prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68676
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Sun, 29 Jun 2003 17:36:44 +0000 (17:36 +0000)]
* config.gcc: Add 970.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68675
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Sun, 29 Jun 2003 16:21:58 +0000 (16:21 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68674
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Sun, 29 Jun 2003 15:19:13 +0000 (15:19 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68673
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 29 Jun 2003 13:53:12 +0000 (13:53 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68672
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 29 Jun 2003 13:40:24 +0000 (13:40 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68670
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Sun, 29 Jun 2003 12:07:06 +0000 (12:07 +0000)]
* collect2.h: Convert prototypes to ISO C90.
* collect2.c: Likewise.
* conflict.c: Likewise.
* coverage.c: Likewise.
* convert.h: Likewise.
* convert.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68669
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sun, 29 Jun 2003 12:02:58 +0000 (12:02 +0000)]
* 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__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68668
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Sun, 29 Jun 2003 11:28:00 +0000 (11:28 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68667
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sun, 29 Jun 2003 11:12:35 +0000 (11:12 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68666
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sun, 29 Jun 2003 10:55:33 +0000 (10:55 +0000)]
* error.c (print_integer): Remove.
(dump_type_suffix): Adjust.
(dump_expr): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68665
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sun, 29 Jun 2003 10:31:06 +0000 (10:31 +0000)]
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().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68664
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sun, 29 Jun 2003 08:31:52 +0000 (08:31 +0000)]
PR optimization/11210
* fold-const (decode_field_reference): Revert 2003-06-26 patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68662
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sun, 29 Jun 2003 08:18:17 +0000 (08:18 +0000)]
* toplev.c (flag_dummy): Remove.
(f_options): Restore flag pointers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68661
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Sun, 29 Jun 2003 04:42:20 +0000 (04:42 +0000)]
* config/rs6000/rs6000.c (processor_target_table): Add 970.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68660
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [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.
* stmt.c (expand_asm_operands): Likewise.
* config/rs6000/rs6000.md (builtin_setjmp_receiver): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68659
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 29 Jun 2003 02:15:51 +0000 (02:15 +0000)]
* config/ip2k/ip2k.c (ip2k_reorg): Use INSN_P instead of its
definition.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68658
138bc75d-0d04-0410-961f-
82ee72b054a4
sirl [Sun, 29 Jun 2003 01:17:54 +0000 (01:17 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68657
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 29 Jun 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68655
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68653
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Sat, 28 Jun 2003 21:30:30 +0000 (21:30 +0000)]
* gcc.c-torture/execute/multi-ix.c: Fix off-by-one bugs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68652
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 28 Jun 2003 20:00:06 +0000 (20:00 +0000)]
* config/avr/avr.c: Fix a comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68651
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 28 Jun 2003 19:55:01 +0000 (19:55 +0000)]
* config/avr/avr-protos.h: Replace avr_simplify_comparision_p
with avr_simplify_comparison_p.
* config/avr/avr.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68650
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 28 Jun 2003 19:53:17 +0000 (19:53 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68649
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 28 Jun 2003 19:43:01 +0000 (19:43 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68648
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 28 Jun 2003 19:35:37 +0000 (19:35 +0000)]
* config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Predicate
__mc68020__ on TARGET_68020.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68647
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 28 Jun 2003 19:15:57 +0000 (19:15 +0000)]
* config/h8300/h8300.c: Fix a comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68646
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Sat, 28 Jun 2003 19:05:32 +0000 (19:05 +0000)]
* c-parse.in (yylexstring): Use a location_t.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68645
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Sat, 28 Jun 2003 19:02:32 +0000 (19:02 +0000)]
* error.c (print_instantiation_partial_context): Take a
location_t.
(print_instantiation_full_context): Adjust.
(print_instantiation_context): Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68644
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [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.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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68643
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 28 Jun 2003 15:16:10 +0000 (15:16 +0000)]
* cpptrad.c (skip_macro_block_comment): New.
(copy_comment): Use it if appropriate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68641
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 28 Jun 2003 14:56:24 +0000 (14:56 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68640
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Sat, 28 Jun 2003 13:48:53 +0000 (13:48 +0000)]
PR c++/10784
* call.c (joust): Move warn_conversion check outwards.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68639
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sat, 28 Jun 2003 13:40:31 +0000 (13:40 +0000)]
* diagnostic.c (output_integer_with_precision): New macro.
(output_format): Use it. Handle more format specifiers.
(output_long_decimal): Remove.
(output_unsigned_decimal): Likewise.
(output_long_unsigned_decimal): Likewise.
(output_octal): Likewise.
(output_long_octal): Likewise.
(output_hexadecimal): Likewise.
(output_long_hexadecimal): Likewise.
(output_long_long_decimal): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68638
138bc75d-0d04-0410-961f-
82ee72b054a4
schwab [Sat, 28 Jun 2003 12:45:37 +0000 (12:45 +0000)]
* config/ia64/ia64.md: Follow recent emit_note API change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68637
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Sat, 28 Jun 2003 12:30:05 +0000 (12:30 +0000)]
* c-parse.in (%union): Replace filename & lineno with location.
(save_filename, save_lineno): Remove.
(save_location): New.
(fndef, old_style_parm_decls_1, lineno_datadecl, lineno_decl,
nested_function, notype_nested_function, if_prefix, lineno_stmt,
lineno_label, label): Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68636
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Sat, 28 Jun 2003 12:21:13 +0000 (12:21 +0000)]
Typo fix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68635
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Sat, 28 Jun 2003 12:19:27 +0000 (12:19 +0000)]
* builtins.c (c_strlen): Add only_value argument.
Handle COND_EXPR and COMPOUND_EXPR.
(expand_builtin_strlen): Optimize also strlen (i++ ? "foo" : "bar").
Adjust c_strlen callers.
(expand_builtin_strcpy, expand_builtin_strncpy,
expand_builtin_strcmp, expand_builtin_strncmp,
expand_builtin_fputs, expand_builtin_sprintf,
fold_builtin): Adjust c_strlen callers.
* gcc.c-torture/execute/builtins/string-8.c: New test.
* gcc.c-torture/execute/builtins/string-8-lib.c: New.
* gcc.c-torture/execute/stdio-opt-1.c (main): Add new tests.
* gcc.c-torture/execute/string-opt-7.c (main): Add new test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68634
138bc75d-0d04-0410-961f-
82ee72b054a4
zlomek [Sat, 28 Jun 2003 12:07:04 +0000 (12:07 +0000)]
* bb-reorder.c (find_traces_1_round): Do not send basic block
to next round when we are in the last round.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68633
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 28 Jun 2003 08:27:29 +0000 (08:27 +0000)]
2003-06-28 Michael Koch <konqueror@gmx.de>
* java/io/PrintStream.java
(checkError): Call flush() instead of direct flushing of the Writer
object.
(print): Call print(String) instead of direct print method of the
Writer Object.
(println): Call println(String) instead of direct println method of the
Writer Object.
(write): Simplified.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68632
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 28 Jun 2003 08:13:24 +0000 (08:13 +0000)]
2003-06-28 Michael Koch <konqueror@gmx.de>
* java/net/ServerSocket.java
(setChannel): New method.
* java/net/Socket.java
(setChannel): New method.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68631
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sat, 28 Jun 2003 07:50:29 +0000 (07:50 +0000)]
2003-06-28 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/9875
* include/bits/fstream.tcc (seekoff): Fix for encoding() > 0.
(seekpos): Likewise.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc:
New test.
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc:
New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68630
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 28 Jun 2003 06:18:10 +0000 (06:18 +0000)]
* Makefile.in: Update.
* opts.c: Include tm_p.h.
(handle_options): Make static.
(decode_options): Copied from toplev.c.
* opts.h (decode_options): New.
* toplev.c (parse_options_and_default_flags): Move most to opts.c,
some to...
(general_init): ...here.
(toplev_main): Use decode_options instead.
* toplev.h (save_argc, save_argv): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68629
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 28 Jun 2003 05:39:40 +0000 (05:39 +0000)]
* explow.c (find_next_ref): Remove.
* rtl.h: Remove the prototype for find_next_ref.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68628
138bc75d-0d04-0410-961f-
82ee72b054a4
kraai [Sat, 28 Jun 2003 05:24:12 +0000 (05:24 +0000)]
* Make-lang.in: Add missing space to comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68627
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sat, 28 Jun 2003 02:21:49 +0000 (02:21 +0000)]
* config/alpha/alpha.md (anonymous define_split): Adjust emit_note
call to match recent API change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68626
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Sat, 28 Jun 2003 01:27:46 +0000 (01:27 +0000)]
PR other/10240
* configure.in: Removed $(XCFLAGS) from BUILD_CFLAGS for build != host.
* configure: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68625
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sat, 28 Jun 2003 00:42:31 +0000 (00:42 +0000)]
* dbxout.c (flag_debug_only_used_symbols): Delete redundant
declaration.
f:
* com.c (input_file_stack_tick): Delete redundant declaration.
java:
* gjavah.c (flag_jni): Make non-static.
* parse-scan.y (ctxp): Make non-static.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68624
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Sat, 28 Jun 2003 00:36:23 +0000 (00:36 +0000)]
PR target/11014
* config/m68k/m68k.c (m68k_output_mi_thunk): Use correct assembly
syntax for MIT / MOTOROLA.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68623
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sat, 28 Jun 2003 00:30:31 +0000 (00:30 +0000)]
* c-format.c (check_format_string, get_constant)
* cfgrtl.c (rtl_split_edge):
Mark the definition static, matching the forward declaration.
cp:
* decl.c (build_typename_type)
* mangle.c (write_template_template_arg)
* parser.c (cp_parser_scope_through_which_access_occurs)
* pt.c (push_access_scope_real, push_access_scope, pop_access_scope)
* repo.c (get_base_filename)
* semantics.c (maybe_convert_cond):
Mark the definition static, matching the forward declaration.
java:
* class.c (build_method_symbols_entry)
* expr.c (get_offset_table_index)
* jcf-parse.c (jcf_parse):
Mark the definition static, matching the forward declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68622
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Sat, 28 Jun 2003 00:18:50 +0000 (00:18 +0000)]
* gcc_release: Command "all" now creates .gz files only for
releases and pre-releases.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68620
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 28 Jun 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68618
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Sat, 28 Jun 2003 00:02:30 +0000 (00:02 +0000)]
Patch from Gunther Nikl.
* unwind-c.c (PERSONALITY_FUNCTION): Delete duplicate define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68616
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 27 Jun 2003 22:46:47 +0000 (22:46 +0000)]
PR c++/10468
* pt.c (tsubst): Handle qualified TYPEOF_TYPEs correctly.
PR c++/10468
* g++.dg/ext/typeof5.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68615
138bc75d-0d04-0410-961f-
82ee72b054a4
cgd [Fri, 27 Jun 2003 22:43:38 +0000 (22:43 +0000)]
2003-06-27 Chris Demetriou <cgd@broadcom.com>
* config/mips/mips.c (mips_build_va_list): Make padding in
va_list structure explicit to avoid -Wpadded warnings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68613
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 27 Jun 2003 21:21:08 +0000 (21:21 +0000)]
PR c++/10796
* decl.c (finish_enum): Implement DR377.
* decl.c (cp_finish_decl): Don't make variables with reference
type readonly while they are being initialized.
PR c++/10796
* g++.dg/init/enum1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68610
138bc75d-0d04-0410-961f-
82ee72b054a4