Skip to content
Snippets Groups Projects
  1. Jan 29, 2004
    • Giovanni Bajo's avatar
      c-lex.c (c_lex): Rename to... · 7625e73d
      Giovanni Bajo authored
      	* c-lex.c (c_lex): Rename to...
      	(c_lex_with_flags): Add new parameter to get CPP flags.
      	(c_lex): Thunk to c_lex_with_flags while keeping the old interface.
      	* c-pragma.h (c_lex_with_flags): Declare.
      
      From-SVN: r76844
      7625e73d
    • Ziemowit Laski's avatar
      Fix LP64 failures. · 55cbf824
      Ziemowit Laski authored
      	* objc.dg/proto-qual-1.m (ROUND, aligned_sizeof): New.
      	(scan_initial, main): Use aligned_sizeof instead of sizeof.
      
      From-SVN: r76842
      55cbf824
    • Mark Mitchell's avatar
      re PR c++/13791 (ICE in layout_type with packed types) · b1a95e0b
      Mark Mitchell authored
      	PR c++/13791
      	* typeck.c (merge_types): Do not merge attributes into
      	TYPENAME_TYPEs.
      
      2004-01-28  Mark Mitchell  <mark@codesourcery.com>
      
      	PR c++/13791
      	* g++.dg/ext/attrib12.C: New test.
      
      From-SVN: r76837
      b1a95e0b
    • Kazu Hirata's avatar
      mcore.c (mcore_external_libcall): Add a comment. · dc7efe6e
      Kazu Hirata authored
      	* config/mcore/mcore.c (mcore_external_libcall): Add a
      	comment.
      	(mcore_return_in_memory): Likewise.
      
      From-SVN: r76836
      dc7efe6e
    • Kazu Hirata's avatar
      mcore-protos.h: Remove the prototype for mcore_setup_incoming_varargs. · 09a2b93a
      Kazu Hirata authored
      	* config/mcore/mcore-protos.h: Remove the prototype for
      	mcore_setup_incoming_varargs.
      	* config/mcore/mcore.c (TARGET_ASM_EXTERNAL_LIBCALL): New.
      	(TARGET_PROMOTE_FUNCTION_ARGS): Likewise.
      	(TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
      	(TARGET_PROMOTE_PROTOTYPES): Likewise.
      	(TARGET_STRUCT_VALUE_RTX): Likewise.
      	(TARGET_RETURN_IN_MEMORY): Likewise.
      	(TARGET_SETUP_INCOMING_VARARGS): Likewise.
      	(mcore_setup_incoming_varargs): Make it static.  Receive the
      	first argument by reference.  Add argument second_time.
      	(mcore_external_libcall): New.
      	(mcore_return_in_memory): Likewise.
      	* config/mcore/mcore.h (PROMOTE_FUNCTION_ARGS): New.
      	(PROMOTE_FUNCTION_RETURN): Likewise.
      	(STRUCT_VALUE): Likewise.
      	(RETURN_IN_MEMORY): Likewise.
      	(SETUP_INCOMING_VARARGS): Likewise.
      	(PROMOTE_PROTOTYPES): Likewise.
      	(ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
      
      From-SVN: r76835
      09a2b93a
    • Kazu Hirata's avatar
      m32r-protos.h: Remove the prototype for m32r_setup_incoming_varargs. · a7ed00da
      Kazu Hirata authored
      	* config/m32r/m32r-protos.h: Remove the prototype for
      	m32r_setup_incoming_varargs.
      	* config/m32r/m32r.c (TARGET_PROMOTE_PROTOTYPES): New.
      	(TARGET_STRUCT_VALUE_RTX): Likewise.
      	(TARGET_RETURN_IN_MEMORY): Likewise.
      	(TARGET_SETUP_INCOMING_VARARGS): Likewise.
      	(m32r_return_in_memory): New.
      	(m32r_setup_incoming_varargs): Make it static.
      	* config/m32r/m32r.h: Remove #undef of
      	ASM_OUTPUT_EXTERNAL_LIBCALL.  Remove the commented-out
      	definitions of PROMOTE_FUNCTION_ARGS and
      	PROMOTE_FUNCTION_RETURN.
      	(PROMOTE_PROTOTYPES): Remove.
      	(RETURN_IN_MEMORY): Likewise.
      	(STRUCT_VALUE): Likewise.
      
      From-SVN: r76834
      a7ed00da
    • Kazu Hirata's avatar
      m68k.c (TARGET_PROMOTE_PROTOTYPES): New. · 8636be86
      Kazu Hirata authored
      	* config/m68k/m68k.c (TARGET_PROMOTE_PROTOTYPES): New.
      	(TARGET_STRUCT_VALUE_RTX): Likewise.
      	(m68k_struct_value_rtx): Likewise.
      	* config/m68k/m68k.h (STRUCT_VALUE_REGNUM): Rename to
      	STRUCT_VALUE_REGNUM.
      	(PROMOTE_PROTOTYPES): Remove.
      	* config/m68k/m68kelf.h (STRUCT_VALUE_REGNUM): Rename to
      	STRUCT_VALUE_REGNUM.
      	* config/m68k/m68kv4.h (STRUCT_VALUE_REGNUM): Likewise.
      	* config/m68k/netbsd-elf.h (STRUCT_VALUE_REGNUM): Likewise.
      
      From-SVN: r76833
      8636be86
    • Kazu Hirata's avatar
      * config/stormy16/stormy16.c · f2f61ee7
      Kazu Hirata authored
      	(TARGET_BUILD_BUILTIN_VA_LIST_TYPE): Rename to
      	TARGET_BUILD_BUILTIN_VA_LIST.
      
      From-SVN: r76832
      f2f61ee7
    • Kazu Hirata's avatar
      v850.c (TARGET_PROMOTE_PROTOTYPES): New. · fb7bc7fb
      Kazu Hirata authored
      	* config/v850/v850.c (TARGET_PROMOTE_PROTOTYPES): New.
      	(TARGET_STRUCT_VALUE_RTX): Likewise.
      	(TARGET_RETURN_IN_MEMORY): Likewise.
      	(TARGET_SETUP_INCOMING_VARARGS): Likewise.
      	(v850_return_in_memory): Likewise.
      	(v850_setup_incoming_varargs): Likewise.
      	* config/v850/v850.h (PROMOTE_PROTOTYPES): Remove.
      	(SETUP_INCOMING_VARARGS): Likewise.
      	(RETURN_IN_MEMORY): Likewise.
      	(STRUCT_VALUE): Likewise.
      
      From-SVN: r76831
      fb7bc7fb
    • Kazu Hirata's avatar
      fr30.c (TARGET_PROMOTE_PROTOTYPES): New. · 0fd818e7
      Kazu Hirata authored
      	* config/fr30/fr30.c (TARGET_PROMOTE_PROTOTYPES): New.
      	(fr30_setup_incoming_varargs): Don't use
      	STRICT_ARGUMENT_NAMING.
      	* config/fr30/fr30.h (PROMOTE_PROTOTYPES): Remove.
      	(STRICT_ARGUMENT_NAMING): Likewise.
      
      From-SVN: r76830
      0fd818e7
    • Mark Mitchell's avatar
      Fix typo in ChangeLog · ba4aecd9
      Mark Mitchell authored
      From-SVN: r76827
      ba4aecd9
    • Kazu Hirata's avatar
      frv-protos.h: Remove the prototype for frv_expand_builtin_saveregs. · 8ac411c7
      Kazu Hirata authored
      	* config/frv/frv-protos.h: Remove the prototype for
      	frv_expand_builtin_saveregs.
      	* config/frv/frv.c (TARGET_STRUCT_VALUE_RTX): Likewise.
      	(TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise.
      	(frv_stack_info): Use FRV_STRUCT_VALUE_REGNUM instead of
      	STRUCT_VALUE_REGNUM.
      	(frv_expand_builtin_saveregs): Make it static.
      	(frv_struct_value_rtx): New.
      	* config/frv/frv.h (EXPAND_BUILTIN_SAVEREGS): Remove.
      
      From-SVN: r76826
      8ac411c7
    • Mark Mitchell's avatar
      re PR c++/13736 (Parser confused on compound casts) · a7324e75
      Mark Mitchell authored
      	PR c++/13736
      	* parser.c (cp_parser_direct_declarator): Do not prevent
      	backtracking inside a parenthesized declarator.
      	(cp_parser_parameter_declaration): Fix typo in comment.
      
      	PR c++/13736
      	* g++.dg/parse/cast2.C (main): New test.
      
      From-SVN: r76825
      a7324e75
    • Jan Hubicka's avatar
      re PR c++/12850 (memory consumption for heavy template instantiations tripled since 3.3) · d173e685
      Jan Hubicka authored
      	PR c++/12850
      	* cgraph.c (cgraph_remove_node): Clear out saved/insns/arguments and
      	initial pointers.
      	* cgraphunit.c (cgraph_finalize_function): Clear out DECL_SAVED_INSNS
      	for functions that will be only inlined.
      	(cgraph_mark_function_to_output): Likewise.
      	(cgraph_expand_function): Sanity check that DECL_DEFER_OUTPUT is clear;
      	do not clear function body.
      	* tree-optimize.c (clear_decl_rtl): Use decl_function_context.
      	(tree_rest_of_compilation): Reorganize the logic releasing function
      	body to use callgraph datastructure.
      
      From-SVN: r76822
      d173e685
    • Benjamin Kosnik's avatar
      Makefile.am (bits_headers): Remove allocator_traits.h. · ba9d552e
      Benjamin Kosnik authored
      2004-01-28  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/Makefile.am (bits_headers): Remove allocator_traits.h.
      	* include/Makefile.in: Regenerate.
      	* include/bits/allocator_traits.h: Remove.
      	* include/bits/allocator.h: Remove allocator_traits.h include, and
      	relevant comments.
      	(allocator): Empty base class, inherit from the underlying allocator.
      	* src/allocator-inst.cc: Move __pool_alloc instantiation to...
      	* src/allocator.cc: ...here. New. For the underlying allocators.
      	Add __mt_alloc, __pool_alloc, new_allocator, malloc_allocator bits.
      	* config/linker-map.gnu: Remove __pool_alloc bits.
      	* src/Makefile.am (sources): Add allocator.cc.
      	* src/Makefile.in: Regenerate.
      	* testsuite/20_util/allocator/1.cc: Split second test into...
      	* testsuite/20_util/allocator/8230.cc: ...this.
      	* include/bits/stl_bvector.h (__gnu_norm): Change bit_vector
      	typedef to use std::allocatore. Format.
      	* include/ext/pool_allocator.h: Remove allocator_traits.h include,
      	_Alloc_traits.
      	* include/ext/mt_allocator.h (__gnu_cxx): Qualify
      	__throw_bad_alloc calls. Don't include <memory>.
      	* include/ext/malloc_allocator.h: Remove <memory> include.
      	* include/ext/new_allocator.h (new_allocator): Same.
      	* include/ext/ropeimpl.h (__gnu_cxx): Remove __alloc using
      	declaration. Switch __alloc to _Alloc.
      	* include/ext/hashtable.h: Remove __alloc.
      	* include/backward/alloc.h: Only inject allocator, not
      	implementation details.
      
      	* include/ext/mt_allocator.h: Replace free with delete.
      
      From-SVN: r76821
      ba9d552e
    • GCC Administrator's avatar
      Daily bump. · 63d47f2a
      GCC Administrator authored
      From-SVN: r76818
      63d47f2a
  2. Jan 28, 2004
    • John David Anglin's avatar
      pa.md: Change predicate of a peephole2 pattern from reg_or_0_operand to register_operand. · f7a1010e
      John David Anglin authored
      	* pa.md: Change predicate of a peephole2 pattern from reg_or_0_operand
      	to register_operand.
      
      From-SVN: r76814
      f7a1010e
    • Zack Weinberg's avatar
      * config/ia64/ia64.md (fetchadd_acq_si, fetchadd_acq_di) · e7f47f83
      Zack Weinberg authored
      	(cmpxchg_acq_si, cmpxchg_acq_di): Exchange match_dup and
      	match_operand expressions so that all match_dups appear
      	lexically after their corresponding match_operands.
      
      From-SVN: r76812
      e7f47f83
    • Kazu Hirata's avatar
      h8300.c (WORD_REG_USED): Use HARD_FRAME_POINTER_REGNUM instead of FRAME_POINTER_REGNUM. · 1807b726
      Kazu Hirata authored
      	* config/h8300/h8300.c (WORD_REG_USED): Use
      	HARD_FRAME_POINTER_REGNUM instead of FRAME_POINTER_REGNUM.
      	(compute_saved_regs): Likewise.
      	(h8300_expand_prologue): Likewise.  Allocate locals after
      	saving registers.
      	(h8300_expand_epilogue): Use HARD_FRAME_POINTER_REGNUM instead
      	of FRAME_POINTER_REGNUM.  Deallocate locals before saving
      	registers.
      	(h8300_initial_elimination_offset): Adjust for the new frame
      	layout, which swaps flips the order of locals and saved
      	registers.
      	* config/h8300/h8300.h (FIRST_PSEUDO_REGISTER): Change to 12.
      	(HARD_FRAME_POINTER_REGNUM): New.
      	(ELIMINABLE_REGS): Add an elimination rule from
      	FRAME_POINTER_REGNUM to HARD_FRAME_POINTER_REGNUM.
      	(REGISTER_NAMES): Add fp.
      	* config/h8300/h8300.md (FP_REG): Change to 11.
      	(HFP_REG): New.
      
      From-SVN: r76811
      1807b726
    • Benjamin Kosnik's avatar
      globals_io.cc: Change to __gnu_internal namespace. · ff4cf05b
      Benjamin Kosnik authored
      2004-01-28  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* src/globals_io.cc: Change to __gnu_internal namespace.
      	* src/globals_locale.cc: Same.
      	* src/locale_init.cc: Same.
      	* src/ios_init.cc: Same.
      
      From-SVN: r76810
      ff4cf05b
    • Michael Koch's avatar
      2004-01-28 Michael Koch <konqueror@gmx.de> · a54ca8cf
      Michael Koch authored
      	* gnu/java/lang/ClassHelper.java
      	(getPackagePortion): Removed.
      
      From-SVN: r76809
      a54ca8cf
    • Kazu Hirata's avatar
      * genrecog.c (write_node): Remove a useless local variable. · be2c39f8
      Kazu Hirata authored
      From-SVN: r76807
      be2c39f8
    • Jan Hubicka's avatar
      * semantics.c (expand_body) Do emit_associated_thunks before · de81ffd4
      Jan Hubicka authored
      	expansion.
      
      From-SVN: r76804
      de81ffd4
    • Ian Lance Taylor's avatar
      Makefile.in (options.c options.h): Use stamp file s-options to avoid unnecessary rebuilds. · 469ef4a3
      Ian Lance Taylor authored
      	* Makefile.in (options.c options.h): Use stamp file s-options to
      	avoid unnecessary rebuilds.
      	(options.o): New target listing dependencies.
      	(gtyp-gen.h): Use stamp file s-gtyp-gen.
      	(STAGESTUFF): Add s-gtyp-gen.
      
      From-SVN: r76803
      469ef4a3
    • Michael Koch's avatar
      2004-01-28 Michael Koch <konqueror@gmx.de> · 4f90e1c5
      Michael Koch authored
      	* javax/swing/JComponent.java
      	(listenerList): Initalize globally.
      	(ancestor_list): Removed.
      	(veto_list): Removed.
      	(change_list): Removed.
      	(get_veto_list): Removed.
      	(get_change_list): Removed.
      	(get_ancestor_list): Removed.
      	(removeAncestorListener): Reimplemented.
      	(removePropertyChangeListener): Likewise.
      	(removeVetoableChangeListener): Likewise.
      	(addAncestorListener): Likewise.
      	(addPropertyChangeListener): Likewise.
      	(addVetoableChangeListener): Likewise.
      	(getListeners): New method.
      	(getAncestorListeners): Likewise.
      	(getVetoableChangeListeners): Likewise.
      	(fireVetoableChange): Throws PropertyVetoException.
      	* javax/swing/JEditorPane.java
      	(JEditorPane): Throws IOException.
      
      From-SVN: r76802
      4f90e1c5
    • Richard Henderson's avatar
      ggc.h (ggc_free): Declare. · 685fe032
      Richard Henderson authored
              * ggc.h (ggc_free): Declare.
              * ggc-common.c (ggc_realloc): Use it.
              * ggc-page.c: Remove lots of inline markers.
              (globals): Add free_object_list.
              (ggc_alloc): Tidy.
              (ggc_free, validate_free_objects): New.
              (poison_pages): Provide default.
              (ggc_collect): Call validate_free_objects; emit markers to
              the debug file.
      
      From-SVN: r76801
      685fe032
    • Ian Lance Taylor's avatar
      Make-lang.in (f/str-*.h, f/str-*.j): Use stamp files and move-if-change to... · 42e5a9b9
      Ian Lance Taylor authored
      Make-lang.in (f/str-*.h, f/str-*.j): Use stamp files and move-if-change to avoid changing these files unnecessarily.
      
      	* Make-lang.in (f/str-*.h, f/str-*.j): Use stamp files and
      	move-if-change to avoid changing these files unnecessarily.
      
      From-SVN: r76800
      42e5a9b9
    • Zack Weinberg's avatar
      ia64.c (ia64_split_tmode, [...]): Rewrite to use POST_INC/POST_DEC/POST_MODIFY... · 2ffe0e02
      Zack Weinberg authored
      ia64.c (ia64_split_tmode, [...]): Rewrite to use POST_INC/POST_DEC/POST_MODIFY instead of a scratch pointer.
      
      2004-01-28  Zack Weinberg  <zack@codesourcery.com>
      	    Jim Wilson  <wilson@specifixinc.com>
      
      	* config/ia64/ia64.c (ia64_split_tmode, ia64_split_tmode_move):
      	Rewrite to use POST_INC/POST_DEC/POST_MODIFY instead of a
      	scratch pointer.
      	(ia64_secondary_reload_class): Delete case GR_REGS.
      	* config/ia64/ia64.md (movti, *movti_internal, movtf, *movtf_internal):
      	Do not allocate a scratch register.
      	(reload_inti, reload_outti, reload_intf, reload_outtf): Delete.
      
      From-SVN: r76798
      2ffe0e02
    • Stefan Olsson's avatar
      mt_allocator.h: Replaced all malloc() calls with operator new(). · f15f99a1
      Stefan Olsson authored
      2004-01-28  Stefan Olsson  <stefan@snon.net>
      
       	* include/ext/mt_allocator.h: Replaced all malloc() calls with
      	operator new(). Added support for the env variable
      	GLIBCXX_FORCE_NEW (this required the _S_init call to be the first
      	one in allocate() as well). Fix typos.
      
      From-SVN: r76795
      f15f99a1
    • David Jee's avatar
      2004-01-28 David Jee <djee@redhat.com> · 796e87a2
      David Jee authored
      	* gnu/java/awt/peer/gtk/GtkFramePeer.java
      	(create): Set the default foreground color to
      	java.awt.SystemColor.windowText.
      
      From-SVN: r76792
      796e87a2
    • Jan Hubicka's avatar
      gcse.c (bypass_block): Prevent edges to be unified when we are about to emit compenstation code. · a544524a
      Jan Hubicka authored
      	* gcse.c (bypass_block): Prevent edges to be unified when we are
      	about to emit compenstation code.
      
      From-SVN: r76791
      a544524a
    • Nick Clifton's avatar
      1b8f8174
    • Paolo Carlini's avatar
      basic_string.h (_S_create(size_t, const _Alloc&): Change signature to take two size_type arguments. · 234e0d31
      Paolo Carlini authored
      2004-01-28  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/basic_string.h (_S_create(size_t,
      	const _Alloc&): Change signature to take two size_type
      	arguments.
      	* include/bits/basic_string.tcc (_S_construct(_InIterator,
      	_InIterator, const _Alloc&, input_iterator_tag)): Update
      	call, tweak a bit.
      	(_S_construct(_InIterator, _InIterator, const _Alloc&,
      	forward_iterator_tag)): Likewise.
      	(_S_construct(size_type, _CharT, const _Alloc&)): Likewise.
      	(_M_mutate(size_type, size_type, size_type)): Don't
      	implement the exponential growth policy, demand it to
      	_S_create, update call and simplify.
      	(_M_clone(const _Alloc&, size_type)): Likewise.
      	(_S_create(size_type, size_type, const _Alloc&)): Implement
      	the growth policy, simplify otherwise.
      
      	* include/bits/basic_string.h (_Rep::operator[]): Tweak
      	signature to take a size_type, consistently with the other
      	members.
      
      From-SVN: r76786
      234e0d31
    • James E Wilson's avatar
      encode-2.m (main): New local string. · 220a38ab
      James E Wilson authored
      	* objc.dg/encode-2.m (main): New local string.  Set depending on
      	sizeof long.  Use in sscanf call.
      	* objc.dg/encode-3.m (main): New local string.  Set depending on
      	sizeof long.  Use in scan_initial call.
      
      From-SVN: r76783
      220a38ab
    • Richard Sandiford's avatar
      fp-bit.c (pack_d): When using paired doubles to implement a long double... · faceece3
      Richard Sandiford authored
      	* config/fp-bit.c (pack_d): When using paired doubles to implement
      	a long double, round the high part separately.
      	(unpack_d): Fix the case in which the high part is a power of two
      	and the low part is a nonzero value of the opposite sign.
      
      From-SVN: r76780
      faceece3
    • Kazu Hirata's avatar
      c4x.c (TARGET_ASM_EXTERNAL_LIBCALL): New. · 28b24176
      Kazu Hirata authored
      	* config/c4x/c4x.c (TARGET_ASM_EXTERNAL_LIBCALL): New.
      	(TARGET_STRUCT_VALUE_RTX): Likewise.
      	(c4x_external_libcall): Likewise.
      	(c4x_struct_value_rtx): Likewise.
      	* config/c4x/c4x.h: Remove.
      	(STRUCT_VALUE_REGNUM): Likewise.
      	(ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
      
      From-SVN: r76779
      28b24176
    • Kazu Hirata's avatar
      i386.c (TARGET_PROMOTE_PROTOTYPES): New. · 9184f892
      Kazu Hirata authored
      	* config/i386/i386.c (TARGET_PROMOTE_PROTOTYPES): New.
      	(TARGET_STRUCT_VALUE_RTX): Likewise.
      	* config/i386/i386.h (STRUCT_VALUE_INCOMING): Remove.
      	(STRUCT_VALUE): Likewise.
      	(PROMOTE_PROTOTYPES): Likewise.
      
      From-SVN: r76778
      9184f892
    • Roger Sayle's avatar
      pa.c (emit_move_sequence): Check that operand1 is a CONST_INT before using INTVAL. · 4cce9dd8
      Roger Sayle authored
      	* config/pa/pa.c (emit_move_sequence): Check that operand1 is a
      	CONST_INT before using INTVAL.
      
      From-SVN: r76776
      4cce9dd8
    • GCC Administrator's avatar
      Daily bump. · c4ef6525
      GCC Administrator authored
      From-SVN: r76771
      c4ef6525
    • Ulrich Weigand's avatar
      s390.h (TARGET_DEFAULT): Default to !TARGET_BACKCHAIN. · 590fcf48
      Ulrich Weigand authored
      	* config/s390/s390.h (TARGET_DEFAULT): Default to !TARGET_BACKCHAIN.
      	* config/s390/s390.c (s390_return_addr_rtx): Fail for all but current
      	frame if !TARGET_BACKCHAIN.
      	* config/s390/s390.md ("allocate_stack"): Use pattern only if
      	TARGET_BACKCHAIN.
      	* doc/invoke.texi (-mbackchain/-mno-backchain): Document new default.
      
      From-SVN: r76767
      590fcf48
Loading