1. 13 Jan, 2004 3 commits
  2. 12 Jan, 2004 37 commits
    • system.h: handle YYBYACC like YYBISON. · f92ed976
      2004-01-12  Marc Espie <espie@openbsd.org>
      
      	* system.h: handle YYBYACC like YYBISON.
      
      From-SVN: r75764
      Marc Espie committed
    • re PR rtl-optimization/10776 (Large aggregate initializers with a single… · 25ebb82a
      re PR rtl-optimization/10776 (Large aggregate initializers with a single relocated entry causes excessive compile time regression)
      
              PR opt/10776
              * typeck2.c (split_nonconstant_init_1, split_nonconstant_init): New.
              (store_init_value): Use it.
              * decl.c (check_initializer): Expect full initialization code
              from store_init_value.
              * init.c (expand_aggr_init_1): Likewise.
              * decl2.c (maybe_emit_vtables): Abort if runtime init needed.
      
      From-SVN: r75763
      Richard Henderson committed
    • libjava.exp: Add LD_LIBRARY_PATH_32/64 to get proper path setting for Ssolaris 32/64-bit testing. · 6b692ad7
      2004-01-12  Andreas Tobler  <a.tobler@schweiz.ch>
      
      	* lib/libjava.exp: Add LD_LIBRARY_PATH_32/64 to get proper
      	path setting for Ssolaris 32/64-bit testing.
      	Reorganize LD_LIBRARY_PATH setting.
      
      From-SVN: r75762
      Andreas Tobler committed
    • lvalue1.C: No longer expected to fail. · 4139f34d
      	* g++.dg/ext/lvalue1.C: No longer expected to fail.
      	* g++.dg/warn/Wunused-2.C: Likewise.
      
      From-SVN: r75761
      Zack Weinberg committed
    • libffi-dg.exp: Set LD_LIBRARY_PATH_32 for Solaris. · 7b2e3e60
      2004-01-12  Andreas Tobler  <a.tobler@schweiz.ch>
      
      	* testsuite/lib/libffi-dg.exp: Set LD_LIBRARY_PATH_32 for
      	Solaris.
      
      From-SVN: r75760
      Andreas Tobler committed
    • libstdc++.exp: Set LD_LIBRARY_PATH_32 for Solaris. · c91de77a
      2004-01-10  Andreas Tobler  <a.tobler@schweiz.ch>
      
      	* testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_32 for
      	Solaris.
      
      From-SVN: r75759
      Andreas Tobler committed
    • class.c (layout_class_type): For non-POD class types... · 4f0a2b81
      	* class.c (layout_class_type): For non-POD class types, also copy
      	the DECL_SIZE and DECL_MODE of fields to the base class type.
      
      From-SVN: r75758
      Mark Mitchell committed
    • re PR c++/13289 (ICE in regenerate_decl_from_template on recursive template) · 66e0c440
      2004-01-12  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
      
              PR c++/13289
              * pt.c (instantiate_decl): Set DECL_TEMPLATE_INSTANTIATED before
              calling regenerate_decl_from_template.
      2004-01-12  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
      
              PR c++/13289
              * g++.dg/template/instantiate6.C: New test.
      
      From-SVN: r75752
      Kriang Lerdsuwanakij committed
    • re PR bootstrap/10847 (build fails on openbsd3.2-sparc64) · ff2aaa93
      2004-01-12  Jonathan Merriman <jonm@dualitymedia.com>
      
              PR target/10847
              * config.gcc: No longer includes conflicting header sparc/sol2.h when
              building on sparc64-*-openbsd*.
      
      From-SVN: r75751
      Jonathan Merriman committed
    • re PR debug/13539 (dbxout.c does not recognize protected inheritance) · c5ff9123
      2004-01-12  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR debug/13539
              * dbxout.c (dbxout_type): Protected inheritance is not
              private but protected.
      
      From-SVN: r75750
      Andrew Pinski committed
    • demangle.h (enum demangle_component_type): Define. · 5e777af5
      	* 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
      Ian Lance Taylor committed
    • re PR rtl-optimization/12508 (weak optimization for some constants < 2^16) · 5c881655
      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
      Kazu Hirata committed
    • * MAINTAINERS: Add myself as a libiberty MAINTAINER. · 74c0b320
      From-SVN: r75746
      Ian Lance Taylor committed
    • JLayeredPane.java: Rewrite to accomodate djee@redhat.com's recent inverse ordering of Container... · 55db8fa9
      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
      Graydon Hoare committed
    • Fix ChangeLog date. · 1c48f4be
      From-SVN: r75744
      Paul Brook committed
    • Correct my e-mail address · a42f8ae7
      From-SVN: r75743
      Geoffrey Keating committed
    • real.c: Update copyright date. · affad9a4
      	* 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
      Geoffrey Keating committed
    • rs6000.c (rs6000_init_libfuncs): Add AIX TFmode to SImode libfuncs. · 4274207b
              * config/rs6000/rs6000.c (rs6000_init_libfuncs): Add AIX
              TFmode to SImode libfuncs.
      
      From-SVN: r75741
      David Edelsohn committed
    • re PR target/13534 (Invalid offset generated for loading 64-bit GPR on PPC64) · b40ee5d6
      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
      Andrew Pinski committed
    • 13582-2.cc: Use try_mkfifo. · 300b3317
      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
      Paolo Carlini committed
    • re PR middle-end/11397 (weak aliases broken on Tru64 UNIX) · 06e4eab5
      
      	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
      Roger Sayle committed
    • locale_facets.h (struct __numpunct_cache): Add members _M_truename_len and _M_falsename_len... · dc6798f8
      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
      Paolo Carlini committed
    • Update copyright. · 59774bb0
      From-SVN: r75734
      Richard Earnshaw committed
    • re PR rtl-optimization/12826 (Optimizer removes reference through volatile pointer) · 432f982f
      	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
      Jan Hubicka committed
    • re PR rtl-optimization/12826 (Optimizer removes reference through volatile pointer) · 9a249c79
      
      	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
      Jan Hubicka committed
    • re PR c++/4100 ([parser] friend qualifier accepted in definition of nested class) · 59147a62
      	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
      Ian Lance Taylor committed
    • re PR c++/4100 ([parser] friend qualifier accepted in definition of nested class) · 0426c4ca
      	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
      Scott Brumbaugh committed
    • simplify-rtx.c (simplify_immed_subreg): Correctly extract the high word of an… · 8064d930
      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
      Richard Earnshaw committed
    • parser.c (cp_parser_decl_specifier_seq): Add parenthetical clauses to comments… · 543ca912
      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
      Ian Lance Taylor committed
    • pt.c (for_each_template_parm): Do not check for duplicates. · c1e39976
      
      	* pt.c (for_each_template_parm): Do not check for duplicates.
      	(for_each_template_parm): Use walk_tree duplicate checking code.
      
      From-SVN: r75718
      Jan Hubicka committed
    • re PR target/13585 (Incorrect optimisation of call to sfunc) · 07d7d2f4
      	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
      J"orn Rennecke committed
    • misc.c: Remove trailing spaces. · f6ea0188
      	* misc.c: Remove trailing spaces.
      	Update copyright notice missed in previous change.
      
      From-SVN: r75716
      Arnaud Charlet committed
    • [multiple changes] · 8b52de7b
      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
      Arnaud Charlet committed
    • [multiple changes] · a397db96
      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
      Arnaud Charlet committed