Commit Graph

55432 Commits

Author SHA1 Message Date
Ian Lance Taylor
5e777af517 demangle.h (enum demangle_component_type): Define.
* demangle.h (enum demangle_component_type): Define.
	(struct demangle_operator_info): Declare.
	(struct demangle_builtin_type_info): Declare.
	(struct demangle_component): Define.
	(cplus_demangle_fill_component): Declare.
	(cplus_demangle_fill_name): Declare.
	(cplus_demangle_fill_builtin_type): Declare.
	(cplus_demangle_fill_operator): Declare.
	(cplus_demangle_fill_extended_operator): Declare.
	(cplus_demangle_fill_ctor, cplus_demangle_fill_dtor): Declare.
	(cplus_demangle_v3_components): Declare.
	(cplus_demangle_print): Declare.

	* cp-demangle.c: Include "cp-demangle.h".  If IN_GLIBCPP_V3 is
	defined, rename some functions which are to become static via
	#define.
	(CP_STATIC_IF_GLIBCPP_V3): Define.
	(struct d_operator_info): Move definition to cp-demangle.h, and
	rename to demangle_operator_info.  Change all uses.
	(enum d_builtin_type_print): Move definition to cp-demangle.h.
	(struct d_builtin_type_info): Move definition to cp-demangle.h,
	and rename to demangle_builtin_type_info.  Change all uses.
	(enum d_comp_type): Move definition to include/demangle.h, and
	rename to demangle_component_type, and change all enums to start
	with DEMANGLE_COMPONENT_ instead of D_.  Change all uses.
	(struct d_comp): Move definition to include/demangle.h, and rename
	to demangle_component.  Change all uses.
	(struct d_info): Move definition to cp-demangle.h.
	(cplus_demangle_fill_name): New function.
	(cplus_demangle_fill_extended_operator): New function.
	(cplus_demangle_fill_ctor): New function.
	(cplus_demangle_fill_dtor): New function.
	(d_make_empty): Remove type parameter.  Change all callers.
	(d_make_name): Use cplus_demangle_fill_name.
	(d_make_extended_operator): Use
	cplus_demangle_fill_extended_operator.
	(d_make_ctor): Use cplus_demangle_fill_ctor.
	(d_make_dtor): Use cplus_demangle_fill_dtor.
	(cplus_demangle_mangled_name): Rename from d_mangled_name.  Make
	non-static by default.  Change all callers.
	(cplus_demangle_operators): Rename from d_operators.  Change all
	uses.  Make non-static by default.  Add sentinel at end of array.
	(d_operator_name): Adjust initialization of high for new sentinel
	in cplus_demangle_operators.
	(cplus_demangle_builtin_types): Rename from d_builtin_types.
	Change all uses.  Make non-static by default.  Change initializer
	to use D_BUILTIN_TYPE_COUNT instead of magic number 26.
	(cplus_demangle_type): Rename from d_type.  Make non-static by
	default.  Change all callers.
	(cplus_demangle_init_info): Rename from d_init_info.  Make
	non-static by default.  Change all callers.
	* cp-demangle.h: New file.
	* cp-demint.c: New file.
	* Makefile.in: Rebuild dependencies.
	(CFILES): Add cp-demint.c.
	(REQUIRED_OFILES): Add cp-demint.o.

From-SVN: r75748
2004-01-12 19:46:31 +00:00
Kazu Hirata
5c88165592 re PR rtl-optimization/12508 (weak optimization for some constants < 2^16)
2004-01-12  Kazu Hirata  <kazu@cs.umass.edu>

        PR optimization/12508.
        * combine.c (try_combine): Remove a dead set in a parallel
        even if its destination is a subreg.

        Revert:
        2003-06-03  Kazu Hirata  <kazu@cs.umass.edu>
        * combine.c (simplify_set): Don't move a subreg in SET_SRC to
        SET_DEST if WORD_REGISTER_OPERATIONS is not defined.

From-SVN: r75747
2004-01-12 11:42:42 -08:00
Ian Lance Taylor
74c0b320be * MAINTAINERS: Add myself as a libiberty MAINTAINER.
From-SVN: r75746
2004-01-12 19:39:46 +00:00
Graydon Hoare
55db8fa9e7 JLayeredPane.java: Rewrite to accomodate djee@redhat.com's recent inverse ordering of Container...
2004-01-08  Graydon Hoare  <graydon@redhat.com>

	* javax/swing/JLayeredPane.java: Rewrite to accomodate
	djee@redhat.com's recent inverse ordering of Container elements.

From-SVN: r75745
2004-01-12 19:11:00 +00:00
Paul Brook
1c48f4be22 Fix ChangeLog date.
From-SVN: r75744
2004-01-12 18:39:56 +00:00
Geoffrey Keating
a42f8ae785 Correct my e-mail address
From-SVN: r75743
2004-01-12 18:38:16 +00:00
Geoffrey Keating
affad9a4be real.c: Update copyright date.
* real.c: Update copyright date.
	* emit-rtl.c: Likewise.
	* rtl.h: Likewise.
	* dwarf2out.c: Likewise.
	* config/rs6000/darwin-ldouble.c: Likewise.
	* config/rs6000/rs6000.md: Likewise.

From-SVN: r75742
2004-01-12 18:37:40 +00:00
David Edelsohn
4274207b37 rs6000.c (rs6000_init_libfuncs): Add AIX TFmode to SImode libfuncs.
* config/rs6000/rs6000.c (rs6000_init_libfuncs): Add AIX
        TFmode to SImode libfuncs.

From-SVN: r75741
2004-01-12 13:34:36 -05:00
Andrew Pinski
b40ee5d63d re PR target/13534 (Invalid offset generated for loading 64-bit GPR on PPC64)
2004-01-12  Hartmut Penner  <hpenner@de.ibm.com>

        PR target/13534
        * gcc/config/rs6000/rs6000.c (word_offset_memref_operand): New
        predicate to handle 'ld' conform addresses.
        * gcc/config/rs6000/rs6000.h (EXTRA_CONSTRAINT): New 'Y'
        contraint.
        (EXTRA_MEMORY_CONSTRAINT): Tell reload which constraint
        are memory contraints.
        * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand):
        New prototype.
        * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64):
        Change 'o' to 'Y' constraint.
        (*movdf_softfloat64): Ditto.

From-SVN: r75739
2004-01-12 09:57:16 -08:00
Paolo Carlini
300b3317f3 13582-2.cc: Use try_mkfifo.
2004-01-12  Paolo Carlini  <pcarlini@suse.de>

	* testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc:
	Use try_mkfifo.
	* testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
	Likewise.

From-SVN: r75738
2004-01-12 17:25:25 +00:00
Roger Sayle
06e4eab554 re PR middle-end/11397 (weak aliases broken on Tru64 UNIX)
PR middle-end/11397
	* varasm.c (assemble_alias): Remove weak aliases from weak_decls.

	* gcc.dg/special/wkali-2.c: Add dg-require-alias.

From-SVN: r75737
2004-01-12 17:22:12 +00:00
Paolo Carlini
dc6798f865 locale_facets.h (struct __numpunct_cache): Add members _M_truename_len and _M_falsename_len...
2004-01-12  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/locale_facets.h (struct __numpunct_cache):
	Add members _M_truename_len and _M_falsename_len, caching
	the lengths of _M_truename and _M_falsename.
	(__numpunct_cache<>::_M_cache): Assign the latter.
	* include/bits/locale_facets.tcc (num_get::do_get(bool&),
	num_put::do_put(bool)): Use the new members, thus avoiding
	computing string lengths again and again.
	* config/locale/generic/numeric_members.cc
	(numpunct<>::_M_initialize_numpunct): Assign the new members.
	* config/locale/gnu/numeric_members.cc
	(numpunct<>::_M_initialize_numpunct): Likewise.

From-SVN: r75735
2004-01-12 17:02:08 +00:00
Richard Earnshaw
59774bb047 Update copyright.
From-SVN: r75734
2004-01-12 16:40:32 +00:00
Jan Hubicka
432f982f5c re PR rtl-optimization/12826 (Optimizer removes reference through volatile pointer)
PR opt/12826
	* loop.c (insert_loop_mem): Preffer VOLATILE memory references to be
	stored.

	PR opt/12863
	* cfgcleanup.c (label_is_jump_target_p): Move to...
	* rtlanal.c (label_is_jump_target_p): ... here.
	* cfgrtl.c (cfg_layout_redirect_edge_and_branch):  Fix redirecting of fallthru
	edges unified with branch edges.

From-SVN: r75733
2004-01-12 16:32:12 +00:00
Jan Hubicka
9a249c79b3 re PR rtl-optimization/12826 (Optimizer removes reference through volatile pointer)
PR opt/12826
	* gcc.dg/20040112-1.c: New.

	* gcc.dg/dwarf-die[1-7].c: Move to...
	* gcc.dg/debug/dwarf2/dwarf-die[1-7].c: ... here.
	* gcc.dg/debug/dwarf2/dwarf2.exp: New.

From-SVN: r75732
2004-01-12 16:25:32 +00:00
J"orn Rennecke
68d2b0bb98 Fixed date in ChangeLog. Also updated Copyright dates in source files.
From-SVN: r75730
2004-01-12 16:20:14 +00:00
Ian Lance Taylor
59147a629a re PR c++/4100 ([parser] friend qualifier accepted in definition of nested class)
PR c++/4100
	* g++.dg/parse/friend4.C: New test.
	* g++.old-deja/g++.pt/niklas01a.C: Mark an error where a class
	definition is called a friend.

From-SVN: r75727
2004-01-12 16:15:19 +00:00
Scott Brumbaugh
0426c4ca86 re PR c++/4100 ([parser] friend qualifier accepted in definition of nested class)
PR c++/4100
	* parser.c (cp_parser_decl_specifier_seq): Add check for a friend
	decl-specifier occurring along with a class definition.

From-SVN: r75726
2004-01-12 16:14:41 +00:00
Richard Earnshaw
8064d930e8 simplify-rtx.c (simplify_immed_subreg): Correctly extract the high word of an integral CONST_DOUBLE.
* simplify-rtx.c (simplify_immed_subreg): Correctly extract the
high word of an integral CONST_DOUBLE.

From-SVN: r75725
2004-01-12 16:01:18 +00:00
Paul Brook
0786ca8784 * simplify-rtx.c (simplify_plus_minus): Always generate canonical form.
From-SVN: r75724
2004-01-12 15:33:59 +00:00
Ian Lance Taylor
543ca912c8 parser.c (cp_parser_decl_specifier_seq): Add parenthetical clauses to comments describing declares_class_or_enum.
* parser.c (cp_parser_decl_specifier_seq): Add parenthetical
	clauses to comments describing declares_class_or_enum.
	(cp_parser_type_specifier): Set *declares_class_or_enum to 0, not
	false.

From-SVN: r75723
2004-01-12 15:25:16 +00:00
Jan Hubicka
c1e39976c9 pt.c (for_each_template_parm): Do not check for duplicates.
* pt.c (for_each_template_parm): Do not check for duplicates.
	(for_each_template_parm): Use walk_tree duplicate checking code.

From-SVN: r75718
2004-01-12 13:18:13 +00:00
J"orn Rennecke
07d7d2f4d1 re PR target/13585 (Incorrect optimisation of call to sfunc)
PR target/13585
	* sh-protos.h (check_use_sfunc_addr): Declare.
	* sh.c (extract_sfunc_addr, check_use_sfunc_addr): New functions.
	* sh.md (use_sfunc_addr): Use check_use_sfunc_addr in insn predicate.

From-SVN: r75717
2004-01-12 12:59:38 +00:00
Arnaud Charlet
f6ea0188bf misc.c: Remove trailing spaces.
* misc.c: Remove trailing spaces.
	Update copyright notice missed in previous change.

From-SVN: r75716
2004-01-12 13:56:39 +01:00
Arnaud Charlet
8b52de7b96 [multiple changes]
2004-01-12  Arnaud Charlet  <charlet@act-europe.fr>

	* bld.adb (Recursive_Process): Reference prefix/share/gnat instead of
	prefix/share/make

	* Makefile.generic: Update copyright.
	Add license notice.

	* Makefile.in (ADA_SHARE_MAKE_DIR): Set to prefix/share/gnat instead
	of prefix/share/make.

	* Makefile.prolog: Update copyright.
	Add license notice.

2004-01-12  Laurent Pautet  <pautet@act-europe.fr>

	* 3vsocthi.adb, 3vsocthi.ads, 3wsocthi.adb,
	3wsocthi.ads, 3zsocthi.adb, 3zsocthi.ads, g-socthi.adb,
	g-socthi.ads (Socket_Error_Message): Return C.Strings.chars_ptr
	instead of String.

	* g-socket.adb (Raise_Socket_Error): Use new Socket_Error_Message
	signature.

2004-01-12  Javier Miranda  <miranda@gnat.com>

	* cstand.adb, exp_aggr.adb, exp_ch3.adb, exp_ch9.adb, exp_dist.adb,
	exp_imgv.adb, exp_pakd.adb, exp_util.adb, par-ch3.adb, sem.adb,
	sem_ch12.adb, sem_ch3.adb, sem_dist.adb, sem_prag.adb, sem_res.adb,
	sem_util.adb, sinfo.adb, sinfo.ads, sprint.adb: Addition of
	Component_Definition node.

2004-01-12  Ed Falis  <falis@gnat.com>

	* impunit.adb: Add GNAT.Secondary_Stack_Info as user-visible unit

2004-01-12  Thomas Quinot  <quinot@act-europe.fr>

	* link.c: Change default libgnat kind to STATIC for FreeBSD.

2004-01-12  Bernard Banner  <banner@gnat.com>

	* Makefile.in: map 86numaux to a-numaux for x86_64

2004-01-12  Ed Schonberg  <schonberg@gnat.com>

	* lib-xref.adb (Get_Type_Reference): If the type is the subtype entity
	generated to rename a generic actual, go to the actual itself, the
	subtype is not a user-visible entity.

	* sem_ch7.adb (Uninstall_Declarations): If an entity in the visible
	part is a private subtype, reset the visibility of its full view, if
	any, to be consistent.

	* sem_ch12.adb (Analyze_Formal_Package): Diagnose properly an attempt
	to use a generic package G as a formal package for another generic
	declared within G.

2004-01-12  Robert Dewar  <dewar@gnat.com>

	* trans.c (Eliminate_Error_Msg): New procedure called to generate msg

	* usage.adb: Remove mention of obsolete -gnatwb switch
	Noticed during code reading

2004-01-12  Jerome Guitton  <guitton@act-europe.fr>

	* 1ssecsta.adb: Minor changes for -gnatwa warnings

2004-01-12  GNAT Script  <nobody@gnat.com>

	* Make-lang.in: Makefile automatically updated

From-SVN: r75715
2004-01-12 12:46:25 +01:00
Arnaud Charlet
a397db9637 [multiple changes]
2004-01-12  Laurent Pautet  <pautet@act-europe.fr>

	* 3vsocthi.adb, 3vsocthi.ads, 3wsocthi.adb,
	3wsocthi.ads, 3zsocthi.adb, 3zsocthi.ads, g-socthi.adb,
	g-socthi.ads (Socket_Error_Message): Return C.Strings.chars_ptr
	instead of String.

	* g-socket.adb (Raise_Socket_Error): Use new Socket_Error_Message
	signature.

2004-01-12  Javier Miranda  <miranda@gnat.com>

	* cstand.adb, exp_aggr.adb, exp_ch3.adb, exp_ch9.adb, exp_dist.adb,
	exp_imgv.adb, exp_pakd.adb, exp_util.adb, par-ch3.adb, sem.adb,
	sem_ch3.adb, sem_dist.adb, sem_prag.adb, sem_res.adb,
	sem_util.adb, sinfo.adb, sinfo.ads, sprint.adb: Addition of
	Component_Definition node.

2004-01-12  Ed Falis  <falis@gnat.com>

	* impunit.adb: Add GNAT.Secondary_Stack_Info as user-visible unit

2004-01-12  Thomas Quinot  <quinot@act-europe.fr>

	* link.c: Change default libgnat kind to STATIC for FreeBSD.

2004-01-12  Ed Schonberg  <schonberg@gnat.com>

	* lib-xref.adb (Get_Type_Reference): If the type is the subtype entity
	generated to rename a generic actual, go to the actual itself, the
	subtype is not a user-visible entity.

	* sem_ch7.adb (Uninstall_Declarations): If an entity in the visible
	part is a private subtype, reset the visibility of its full view, if
	any, to be consistent.

2004-01-12  Robert Dewar  <dewar@gnat.com>

	* trans.c (Eliminate_Error_Msg): New procedure called to generate msg

	* usage.adb: Remove mention of obsolete -gnatwb switch
	Noticed during code reading

2004-01-12  Jerome Guitton  <guitton@act-europe.fr>

	* 1ssecsta.adb: Minor changes for -gnatwa warnings

2004-01-12  GNAT Script  <nobody@gnat.com>

	* Make-lang.in: Makefile automatically updated

From-SVN: r75714
2004-01-12 12:45:26 +01:00
Arnaud Charlet
16bf3959da [multiple changes]
2004-01-12  Javier Miranda  <miranda@gnat.com>

	* sem_ch12.adb: Addition of Component_Definition node.

2004-01-12  Ed Schonberg  <schonberg@gnat.com>

	PR ada/13417
	* sem_ch12.adb (Analyze_Formal_Package): Diagnose properly an attempt
	to use a generic package G as a formal package for another generic
	declared within G.

From-SVN: r75713
2004-01-12 12:38:15 +01:00
Arnaud Charlet
5fb1788b9b [multiple changes]
2004-01-12  Arnaud Charlet  <charlet@act-europe.fr>

	PR ada/13572
	* bld.adb (Recursive_Process): Reference prefix/share/gnat instead of
	prefix/share/make

	* Makefile.generic: Update copyright.
	Add license notice.

	* Makefile.in (ADA_SHARE_MAKE_DIR): Set to prefix/share/gnat instead
	of prefix/share/make.

	* Makefile.prolog: Update copyright.
	Add license notice.

2004-01-12  Bernard Banner  <banner@gnat.com>

	* Makefile.in: map 86numaux to a-numaux for x86_64

From-SVN: r75712
2004-01-12 12:36:13 +01:00
Jan Hubicka
9ddb66ca2c alias.c: Invlude varray.h
* alias.c:  Invlude varray.h
	(alias_sets): Turn into varray.
	(get_alias_set_entry): Use VARRAY; mark inline.
	(mems_in_disjoint_alias_sets_p): Mark inline.
	(record_alias_subset): Use varray.
	(init_alias_once): Initialize varray.
	(new_alias_set): Grow array.
	* varray.c: Make VARRAY_GENERIC_PTR non GTYized.

From-SVN: r75711
2004-01-12 11:15:33 +00:00
Jan Hubicka
c65ecebc82 Partial fox for PR opt/10776 II
Partial fox for PR opt/10776 II
	* cselib.c: Include params.h
	(cselib_invalidate_mem):  Limit amount of nonconflicting memory
	locations.
	* params.def (PARAM_MAX_CSELIB_MEMORY_LOCATIONS): New.
	* Makefile.in (cselib.o): Depend on params.h

From-SVN: r75710
2004-01-12 09:44:16 +00:00
Richard Sandiford
c065787208 combine.c (combine_simplify_rtx): Don't pass VOIDmode to simplify_unary_operation if the operand has a known mode.
* combine.c (combine_simplify_rtx): Don't pass VOIDmode to
	simplify_unary_operation if the operand has a known mode.

From-SVN: r75709
2004-01-12 09:20:24 +00:00
Hartmut Penner
d2288d5d76 rs6000.c (word_offset_memref_operand): New predicate to handle 'ld' conform addresses.
* gcc/config/rs6000/rs6000.c (word_offset_memref_operand): New
       predicate to handle 'ld' conform addresses.
       * gcc/config/rs6000/rs6000.h (EXTRA_CONSTRAINT): New 'Y'
       contraint.
       (EXTRA_MEMORY_CONSTRAINT): Tell reload which constraint
       are memory contraints.
       * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand):
       New prototype.
       * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64):
       Change 'o' to 'Y' constraint.
       (*movdf_softfloat64): Ditto.

From-SVN: r75707
2004-01-12 08:11:28 +00:00
Mark Mitchell
ea1ea21af5 testsuite_hooks.h (__gnu_test::try_mkfifo): Declare it.
* testsuite/testsuite_hooks.h (__gnu_test::try_mkfifo): Declare it.
	* testsuite/testsuite_hooks.cc (__gnu_test::try_mkfifo): Define
	it.
	* testsuite/27_io/basic_filebuf/close/char/4879.cc: Use try_mkfifo
	and remove Cygwin XFAIL.
	* testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
	* testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
	* testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
	* testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
	Likewise.
	* testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
	* testsuite/27_io/objects/char/7.cc: Likewise.
	* testsuite/27_io/objects/char/9661-1.cc: Likewise.
	* testsuite/27_io/objects/wchar_t/7.cc: Likewise.
	* testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.

From-SVN: r75706
2004-01-12 08:11:08 +00:00
Bernardo Innocenti
c223cf45e5 m68k.md: Switch from the "*..." syntax to the brace-enclosed syntax in all C output...
* gcc/config/m68k/m68k.md: Switch from the "*..." syntax to the
	brace-enclosed syntax in all C output statements.

From-SVN: r75705
2004-01-12 08:52:54 +01:00
David Edelsohn
5fc921c198 re PR target/13401 (Traceback table does not conform to PowerPC 64 ABI)
PR target/13401
        * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
        Objective-C language type value is 14.

From-SVN: r75704
2004-01-11 23:47:58 -05:00
Markus F.X.J. Oberhumer
48568ec72b re PR target/12148 (longstanding m68k libgcc.a bug when using ` -mshort')
PR c/12148
	* config/m68k/fpgnulib.c: Fix `-mshort' bugs: Use `long' instead of
	`int' in a number of places to make sure we always have a SImode
	and not a HImode.  Add a 'L' suffix to a number of constants.

From-SVN: r75703
2004-01-12 04:55:43 +01:00
John David Anglin
124c9423a1 pa.c: Don't include obstack.h.
* pa.c: Don't include obstack.h.
	* pa.md: Correct constraint in pattern for loading PIC label address.

From-SVN: r75702
2004-01-12 03:42:09 +00:00
Kaz Kojima
c924f70c9d linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine before defining.
* config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine
	 before defining.

From-SVN: r75701
2004-01-12 02:29:13 +00:00
GCC Administrator
a0af2afae4 Daily bump.
From-SVN: r75698
2004-01-12 00:16:08 +00:00
Richard Henderson
6d758274dd New test.
From-SVN: r75696
2004-01-11 15:58:28 -08:00
Steven Bosscher
53efeb8d0b re PR fortran/9972 (Failure of g77.f-torture/execute/980520-1.f)
PR fortran/9972
	* toplev.c (rest_of_handle_inlining): Also consider functions
	for deferral if the language is GNU F77.

testsuite:
	* 980520-1.x: Removed.

From-SVN: r75692
2004-01-11 23:05:49 +00:00
Zack Weinberg
d4968a1116 c-decl.c (diagnose_arglist_conflict): Add missing space to diagnostic messages.
* c-decl.c (diagnose_arglist_conflict): Add missing space to
	diagnostic messages.

From-SVN: r75691
2004-01-11 22:40:47 +00:00
Zack Weinberg
70adfc365c * gcc.dg/tls/diag-3.c: Tweak dg-error regexp.
From-SVN: r75690
2004-01-11 22:35:15 +00:00
Ian Lance Taylor
9b913b0302 re PR c++/3478 (Accepts invalid "enum typename")
PR c++/3478
	* g++.dg/parse/error10.C: New test.
	* g++.dg/template/arg2.C: Accept "invalid type" error.

From-SVN: r75689
2004-01-11 20:33:56 +00:00
Ian Lance Taylor
e90c7b8433 re PR c++/3478 (Accepts invalid "enum typename")
PR c++/3478
	* parser.c (cp_parser_decl_specifier_seq): If the first decl_spec
	is error_mark_node, don't add any more decl_specs.
	(cp_parser_init_declarator): After committing to a declaration, if
	the decl_specifiers start with error_mark_node, issue an error and
	change the type to "int".

From-SVN: r75688
2004-01-11 20:33:35 +00:00
Jakub Jelinek
b4544c366a Update Copyright year.
From-SVN: r75685
2004-01-11 20:09:02 +01:00
Jakub Jelinek
1759c760db re PR middle-end/13392 (ICE in convert_from_eh_region_ranges_1, at except.c:1133)
PR middle-end/13392
	* builtins.c (expand_builtin_expect_jump): Handle conditional jumps
	to drop through label.  Don't fall back to SCC even when conditional
	jump has not been found.

	* g++.dg/opt/expect2.C: New test.

From-SVN: r75684
2004-01-11 20:05:34 +01:00
Paolo Carlini
b74a685105 2004-01-11 Paolo Carlini <pcarlini@suse.de>
* Fix a date in the ChangeLog.

From-SVN: r75682
2004-01-11 17:43:11 +00:00
Jan Hubicka
fb544601db * invoke.texi: Fix syntax error in previous patch.
From-SVN: r75681
2004-01-11 17:01:13 +00:00
Gabriel Dos Reis
3b3bfc0eeb std_complex.h (std::complex<>::real): Return a reference.
* include/std/std_complex.h (std::complex<>::real): Return a
        reference. Add non-const overload.
        (std::complex<>::real): Likewise.
        (std::real): Likewise.
        (std::imag): Likewise.
        (std::operator+): Tidy.
        (std::operator-): Likewise.
        (std::operator*): Likewise.
        (std::operator/): Likewise.
        (std::operator>>): Likewise.

From-SVN: r75680
2004-01-11 16:15:42 +00:00