- 29 Jan, 2004 3 commits
-
-
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
Jan Hubicka committed -
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
Benjamin Kosnik committed -
From-SVN: r76818
GCC Administrator committed
-
- 28 Jan, 2004 24 commits
-
-
* pa.md: Change predicate of a peephole2 pattern from reg_or_0_operand to register_operand. From-SVN: r76814
John David Anglin committed -
(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
Zack Weinberg committed -
* 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
Kazu Hirata committed -
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
Benjamin Kosnik committed -
* gnu/java/lang/ClassHelper.java (getPackagePortion): Removed. From-SVN: r76809
Michael Koch committed -
From-SVN: r76807
Kazu Hirata committed -
expansion. From-SVN: r76804
Jan Hubicka committed -
* 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
Ian Lance Taylor committed -
* 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
Michael Koch committed -
* 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
Richard Henderson committed -
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
Ian Lance Taylor committed -
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
Zack Weinberg committed -
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
Stefan Olsson committed -
* gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Set the default foreground color to java.awt.SystemColor.windowText. From-SVN: r76792
David Jee committed -
* gcse.c (bypass_block): Prevent edges to be unified when we are about to emit compenstation code. From-SVN: r76791
Jan Hubicka committed -
From-SVN: r76787
Nick Clifton committed -
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
Paolo Carlini committed -
* 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
James E Wilson committed -
* 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
Richard Sandiford committed -
* 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
Kazu Hirata committed -
* 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
Kazu Hirata committed -
* config/pa/pa.c (emit_move_sequence): Check that operand1 is a CONST_INT before using INTVAL. From-SVN: r76776
Roger Sayle committed -
From-SVN: r76771
GCC Administrator committed -
* 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
Ulrich Weigand committed
-
- 27 Jan, 2004 13 commits
-
-
2004-01-27 Benjamin Kosnik <bkoz@redhat.com> * testsuite/27_io/ios_base/storage/11584.cc: Correct new and delete declarations, add include and test variable. From-SVN: r76766
Benjamin Kosnik committed -
* ia64.c (ia64_function_arg): When placing HFAs in integer registers, do not special case the mode used for complex types. Do not advance int_regs until the current register is full. From-SVN: r76758
Zack Weinberg committed -
* gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java, * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Reindented to merge with classpath. From-SVN: r76757
Michael Koch committed -
PR target/7297 * except.c (init_eh): Use a 5-word __jbuf for __builtin_setjmp(). From-SVN: r76754
Richard Sandiford committed -
* objc.dg/call-super-2.m: Make LP64-safe. * objc.dg/desig-init-1.m: Likewise. From-SVN: r76753
Kaveh R. Ghazi committed -
* config/rs6000/rs6000.c (rs6000_emit_move): #if 0 splitting slow, unaligned loads and stores while debugging. Fix formatting. From-SVN: r76752
David Edelsohn committed -
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c (addExposeFilter): Handle GtkFramePeer separately. (removeExposeFilter): Likewise. From-SVN: r76751
David Jee committed -
* config/rs6000/rs6000.md (save_stack_nonlocal): Use Pmode instead of computing wmode. (restore_stack_nonlocal): Same. From-SVN: r76750
David Edelsohn committed -
2003-01-26 Jerry Quinn <jlquinn@optonline.net> * include/bits/codecvt.h, include/bits/locale_facets.h, include/bits/postypes.h, include/bits/stl_bvector.h, include/bits/stl_multiset.h, include/bits/stl_set.h, include/bits/stream_iterator.h, include/bits/streambuf_iterator.h, include/std/std_complex.h: Document. From-SVN: r76749
Jerry Quinn committed -
* gnu/java/net/protocol/http/Connection.java (getOutputStream): Fixed typo. From-SVN: r76748
Michael Koch committed -
* java/lang/Class.java (getConstructor): Removed SecurityException from throws clause. (_getConstructors): Likewise. (getConstructors): Likewise. (getDeclaredConstructor): Likewise. (getDeclaredClasses): Likewise. (getDeclaredConstructors): Likewise. (getDeclaredField): Likewise. (getDeclaredMethod): Likewise. (getDeclaredMethods): Likewise. (getField): Likewise. (getMethod): Likewise. (getMethods): Likewise. From-SVN: r76747
Michael Koch committed -
2004-01-27 Devang Patel <dpatel@apple.com> * Makefile.in (dwarf2out.o): Depend on input.h * dbxout.c (dbx_debug_hooks): Add new empty hook for imported_module_or_decl. (xcoff_debug_hooks): Same. * sdbout.c (sdb_debug_hooks): Same. * vmsdbgout.c (vmsdbg_debug_hooks): Same. * debug.c (do_nothing_debug_hooks): Same. (debug_nothing_tree_tree): New function. * debug.h (gcc_debug_hooks): New hook, imported_module_or_decl. * dwarf2out.c: Include input.h. (dwarf2_debug_hooks): Add new hook for imported_module_or_decl. (remove_child_TAG): New function. (dwarf_tag_name): Handle DW_TAG_imported_module. (gen_subprogram_die): Equate decl number to declaration die. Do not remove all children dies while reusing declaration die for definition. Instead, selectively remove only formal parameters. (gen_variable_die): Equate variable decl to declaration die. (gen_field_die): Equate field decl to line number. (force_namespace_die): Replace it with ... (force_decl_die): ... this. (force_type_die): New function. (setup_namespace_context): Replace use of force_namespace_die() with force_decl_die(). (gen_namespace_die): Same. (dwarf2out_imported_module_or_decl): New function. testsuite: * g++.dg/debug/namespace1.C: New test. cp: * name-lookup.c: Include "debug.h" (do_namespace_alias): Invoke debug_hooks to emit debug info for namespace alias. (do_local_using_decl): Invoke debug_hooks to emit debug info for using decl. (do_class_using_decl): Same. (do_toplevel_using_decl): Same. (do_using_directive): Same. (cp_emit_debug_info_for_using): New function. * Make-lang.in (cp/parser.o): Depend on debug.h (cp/name-lookup.o): Same. From-SVN: r76746
Devang Patel committed -
xtensa.c (xtensa_copy_incoming_a7): Remove SUBREG on CQImode and CHImode incoming arguments in register a7. * config/xtensa/xtensa.c (xtensa_copy_incoming_a7): Remove SUBREG on CQImode and CHImode incoming arguments in register a7. (function_arg): Wrap BLKmode argument in register a7 in a PARALLEL. * config/xtensa/xtensa.h (BLOCK_REG_PADDING): Define. * config/xtensa/xtensa.md (movdi, movdf): Only call force_reg or xtensa_copy_incoming_a7 before reload. From-SVN: r76742
Bob Wilson committed
-