Jakub Jelinek
4e44c1ef05
re PR rtl-optimization/13424 (gcc.dg/20031202-1.c is miscompiled)
...
PR optimization/13424
* expr.c (store_constructor): Revert 2003-12-03 change.
* emit-rtl.c (change_address): Check also if MEM_ATTRS is set as
expected before returning early. Avoid sharing RTL if they
need to be changed.
* config/i386/i386.c (ix86_expand_movstr): Rework rep_mov and strmov
handling so that memory attributes are preserved. Don't call
ix86_set_move_mem_attrs.
(ix86_set_move_mem_attrs_1, ix86_set_move_mem_attrs): Removed.
(ix86_expand_clrstr): Rename src argument to
dst. Rework rep_stos and strset handling so that memory attributes
are preserved.
(ix86_expand_strlen): Pass src argument to
ix86_expand_strlensi_unroll_1. Rework strlenqi_1 handling so that
memory attributes are preserved.
(ix86_expand_strlensi_unroll_1): Add src argument. Use
change_address instead of gen_rtx_MEM.
* config/i386/i386.md (strmov, strmov_singleop, rep_mov): New
expanders.
(strmovdi_rex64, strmovsi, strmovsi_rex64, strmovhi, strmovhi_rex64,
strmovqi, strmovqi_rex64): Remove.
(rep_mov*, strmov*): Prefix insn names with *.
(strset, strset_singleop, rep_stos): New expanders.
(strsetdi_rex64, strsetsi, strsetsi_rex64, strsethi, strsethi_rex64,
strsetqi, strsetqi_rex64): Remove.
(rep_stos*, strset*): Prefix insn names with *.
(rep_stosqi_rex64): Likewise. Fix mode of dirflag reg from DImode
to SImode.
(cmpstrsi): Rework cmpstrqi_1 handling so that memory attributes
are preserved.
(cmpstrqi_nz_1, cmpstrqi_nz_rex_1, cmpstrqi_1, cmpstrqi_rex_1):
Prefix insn names with *.
(cmpstrqi_nz_1, cmpstrqi_1): New expanders.
(strlenqi_1, strlenqi_rex_1): Prefix insn names with *.
(strlenqi_1): New expander.
* config/i386/i386.h (ix86_set_move_mem_attrs): Remove prototype.
From-SVN: r76852
2004-01-29 09:05:47 +01:00
Zdenek Dvorak
f470c378ac
Makefile.in (cfghooks.o): Add TIMEVAR_H and toplev.h dependency.
...
* Makefile.in (cfghooks.o): Add TIMEVAR_H and toplev.h dependency.
* basic-block.h (tidy_fallthru_edge, tidy_fallthru_edges, dump_bb,
verify_flow_info): Declaration removed.
* cfg.c (verify_flow_info, dump_bb): Moved to cfghooks.c.
(debug_bb, debug_bb_n): Add argument to dump_bb call.
* cfgcleanup.c (try_simplify_condjump, try_crossjump_to_edge,
try_optimize_cfg, delete_unreachable_blocks): Use delete_basic_block
instead of delete_block.
* cfghooks.c: Include timevar.h and toplev.h.
(cfg_hooks): Define here.
(verify_flow_info, dump_bb): Moved from cfg.c.
(redirect_edge_and_branch, redirect_edge_and_branch_force,
split_block, split_block_after_labels, move_block_after,
delete_basic_block, split_edge, create_basic_block,
create_empty_bb, can_merge_blocks_p, merge_blocks,
make_forwarder_block, tidy_fallthru_edge, tidy_fallthru_edges):
New functions.
* cfghooks.h (struct cfg_hooks): Added fields name,
make_forwarder_block, tidy_fallthru_edge and
move_block_after. Changed type of verify_flow_info, dump_bb,
split_block fields. Renamed cfgh_split_edge and delete_block
fields.
(redirect_edge_and_branch, redirect_edge_and_branch_force,
split_block, delete_block, split_edge, create_basic_block,
can_merge_blocks_p, merge_blocks): Macros removed.
(cfg_hooks): Do not export.
(verify_flow_info, dump_bb, redirect_edge_and_branch,
redirect_edge_and_branch_force, split_block, split_block_after_labels,
move_block_after, delete_basic_block, split_edge, create_basic_block,
create_empty_bb, can_merge_blocks_p, merge_blocks,
make_forwarder_block, tidy_fallthru_edge, tidy_fallthru_edges):
Declare.
(cfg_layout_rtl_cfg_hooks): Declare.
* cfgloop.c (update_latch_info, mfb_keep_just, mfb_keep_nonlatch):
New functions.
(canonicalize_loop_headers): Use new semantics of make_forwarder_block.
(redirect_edge_with_latch_update): Removed.
(make_forwarder_block): Moved to cfghooks.c, semantics changed.
* cfgloopmanip.c (remove_bbs): Do not update dominators here.
* cfgrtl.c (cfg_layout_split_block, rtl_split_block, rtl_dump_bb,
rtl_delete_block, rtl_split_block, rtl_merge_blocks,
tidy_fallthru_edge, rtl_split_edge, cfg_layout_delete_block,
cfg_layout_merge_blocks, cfg_layout_split_edge): Partly moved to
cfghooks.c.
(rtl_create_basic_block): Coding style fix.
(rtl_tidy_fallthru_edge, rtl_move_block_after,
rtl_make_forwarder_block): New functions.
(update_cfg_after_block_merging): Removed.
(rtl_cfg_hooks, cfg_layout_rtl_cfg_hooks): Fill in new entries.
* flow.c (verify_wide_reg, verify_local_live_at_start): Add argument
to dump_bb.
* ifcvt.c (merge_if_block, find_cond_trap, find_if_case_1,
find_if_case_2): Don't update dominators.
* timevar.def (TV_CFG_VERIFY): New.
* loop-unswitch.c (unswitch_loop): Don't call add_to_dominance_info.
* cfglayout.c (copy_bbs): Don't call add_to_dominance_info.
* cfgloopmanip.c (split_loop_bb): Don't update dominators.
(remove_bbs): Don't call remove_bbs.
(create_preheader): Use make_forwarder_block.
(mfb_keep_just, mfb_update_loops): New static functions.
From-SVN: r76851
2004-01-29 07:47:56 +00:00
Kazu Hirata
3cea478846
avr.h: Remove target-independent comments about target macros.
...
* config/avr/avr.h: Remove target-independent comments about
target macros.
From-SVN: r76850
2004-01-29 07:35:40 +00:00
Daniel Berlin
75e853f2c3
timevar.c (timevar_print): Mention when checking is enabled.
...
2004-01-28 Daniel Berlin <dberlin@dberlin.org>
* timevar.c (timevar_print): Mention when checking is enabled.
From-SVN: r76848
2004-01-29 05:31:47 +00:00
Giovanni Bajo
b1521c3afa
error11.C: New test.
...
* g++.dg/parse/error11.C: New test.
* g++.dg/parse/error12.C: Likewise.
From-SVN: r76846
2004-01-29 04:26:50 +00:00
Giovanni Bajo
f4abade9fe
parser.c (cp_parser_template_id): Parse tentatively [:' after a template name as it was
<::' (digraph typo).
...
* parser.c (cp_parser_template_id): Parse tentatively `[:' after a
template name as it was `<::' (digraph typo).
(cp_parser_nth_token_starts_template_argument_list_p): New function.
(cp_parser_id_expression): Use it.
(cp_parser_nested_name_specifier_opt): Likewise.
(cp_parser_template_name): Likewise.
(cp_parser_class_name): Likewise.
(cp_lexer_get_preprocessor_token): Use c_lex_with_flags.
From-SVN: r76845
2004-01-29 04:23:37 +00:00
Giovanni Bajo
7625e73d57
c-lex.c (c_lex): Rename to...
...
* 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
2004-01-29 04:19:01 +00:00
Ziemowit Laski
55cbf82427
Fix LP64 failures.
...
* objc.dg/proto-qual-1.m (ROUND, aligned_sizeof): New.
(scan_initial, main): Use aligned_sizeof instead of sizeof.
From-SVN: r76842
2004-01-28 19:14:35 -08:00
Mark Mitchell
b1a95e0b15
re PR c++/13791 (ICE in layout_type with packed types)
...
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
2004-01-29 02:21:51 +00:00
Kazu Hirata
dc7efe6ea9
mcore.c (mcore_external_libcall): Add a comment.
...
* config/mcore/mcore.c (mcore_external_libcall): Add a
comment.
(mcore_return_in_memory): Likewise.
From-SVN: r76836
2004-01-29 02:19:44 +00:00
Kazu Hirata
09a2b93aa8
mcore-protos.h: Remove the prototype for mcore_setup_incoming_varargs.
...
* 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
2004-01-29 02:13:52 +00:00
Kazu Hirata
a7ed00da04
m32r-protos.h: Remove the prototype for m32r_setup_incoming_varargs.
...
* 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
2004-01-29 02:06:02 +00:00
Kazu Hirata
8636be86ea
m68k.c (TARGET_PROMOTE_PROTOTYPES): New.
...
* 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
2004-01-29 01:56:28 +00:00
Kazu Hirata
f2f61ee79c
* config/stormy16/stormy16.c
...
(TARGET_BUILD_BUILTIN_VA_LIST_TYPE): Rename to
TARGET_BUILD_BUILTIN_VA_LIST.
From-SVN: r76832
2004-01-29 01:51:28 +00:00
Kazu Hirata
fb7bc7fb8a
v850.c (TARGET_PROMOTE_PROTOTYPES): New.
...
* 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
2004-01-29 01:47:24 +00:00
Kazu Hirata
0fd818e75b
fr30.c (TARGET_PROMOTE_PROTOTYPES): New.
...
* 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
2004-01-29 01:40:48 +00:00
Mark Mitchell
ba4aecd9d2
Fix typo in ChangeLog
...
From-SVN: r76827
2004-01-29 01:32:20 +00:00
Kazu Hirata
8ac411c731
frv-protos.h: Remove the prototype for frv_expand_builtin_saveregs.
...
* 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
2004-01-29 01:31:15 +00:00
Mark Mitchell
a7324e75d1
re PR c++/13736 (Parser confused on compound casts)
...
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
2004-01-29 01:29:03 +00:00
Jan Hubicka
d173e68599
re PR c++/12850 (memory consumption for heavy template instantiations tripled since 3.3)
...
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
2004-01-29 00:34:09 +00:00
Benjamin Kosnik
ba9d552e03
Makefile.am (bits_headers): Remove allocator_traits.h.
...
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
2004-01-29 00:18:40 +00:00
GCC Administrator
63d47f2ab4
Daily bump.
...
From-SVN: r76818
2004-01-29 00:16:14 +00:00
John David Anglin
f7a1010e23
pa.md: Change predicate of a peephole2 pattern from reg_or_0_operand to register_operand.
...
* pa.md: Change predicate of a peephole2 pattern from reg_or_0_operand
to register_operand.
From-SVN: r76814
2004-01-28 22:50:32 +00:00
Zack Weinberg
e7f47f8395
* config/ia64/ia64.md (fetchadd_acq_si, fetchadd_acq_di)
...
(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
2004-01-28 22:09:27 +00:00
Kazu Hirata
1807b72620
h8300.c (WORD_REG_USED): Use HARD_FRAME_POINTER_REGNUM instead of FRAME_POINTER_REGNUM.
...
* 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
2004-01-28 22:00:26 +00:00
Benjamin Kosnik
ff4cf05b3d
globals_io.cc: Change to __gnu_internal namespace.
...
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
2004-01-28 21:20:42 +00:00
Michael Koch
a54ca8cfca
2004-01-28 Michael Koch <konqueror@gmx.de>
...
* gnu/java/lang/ClassHelper.java
(getPackagePortion): Removed.
From-SVN: r76809
2004-01-28 21:13:11 +00:00
Kazu Hirata
be2c39f82c
* genrecog.c (write_node): Remove a useless local variable.
...
From-SVN: r76807
2004-01-28 21:07:09 +00:00
Jan Hubicka
de81ffd4c7
* semantics.c (expand_body) Do emit_associated_thunks before
...
expansion.
From-SVN: r76804
2004-01-28 20:15:40 +00:00
Ian Lance Taylor
469ef4a30c
Makefile.in (options.c options.h): Use stamp file s-options to avoid unnecessary rebuilds.
...
* 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
2004-01-28 19:43:45 +00:00
Michael Koch
4f90e1c5fe
2004-01-28 Michael Koch <konqueror@gmx.de>
...
* 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
2004-01-28 19:37:59 +00:00
Richard Henderson
685fe0325c
ggc.h (ggc_free): Declare.
...
* 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
2004-01-28 10:49:26 -08:00
Ian Lance Taylor
42e5a9b957
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
2004-01-28 18:24:11 +00:00
Zack Weinberg
2ffe0e0241
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
2004-01-28 18:13:28 +00:00
Stefan Olsson
f15f99a14e
mt_allocator.h: Replaced all malloc() calls with operator new().
...
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
2004-01-28 17:50:34 +00:00
David Jee
796e87a2b0
2004-01-28 David Jee <djee@redhat.com>
...
* gnu/java/awt/peer/gtk/GtkFramePeer.java
(create): Set the default foreground color to
java.awt.SystemColor.windowText.
From-SVN: r76792
2004-01-28 16:23:54 +00:00
Jan Hubicka
a544524ad3
gcse.c (bypass_block): Prevent edges to be unified when we are about to emit compenstation code.
...
* gcse.c (bypass_block): Prevent edges to be unified when we are
about to emit compenstation code.
From-SVN: r76791
2004-01-28 14:13:35 +00:00
Nick Clifton
1b8f817446
(arm_expand_builtin): Force second argument of the setcwx insn into a register.
...
From-SVN: r76787
2004-01-28 11:41:38 +00:00
Paolo Carlini
234e0d3121
basic_string.h (_S_create(size_t, const _Alloc&): Change signature to take two size_type arguments.
...
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
2004-01-28 10:37:32 +00:00
James E Wilson
220a38ab6e
encode-2.m (main): New local string.
...
* 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
2004-01-28 00:17:55 -08:00
Richard Sandiford
faceece35d
fp-bit.c (pack_d): When using paired doubles to implement a long double...
...
* 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
2004-01-28 07:21:21 +00:00
Kazu Hirata
28b241764f
c4x.c (TARGET_ASM_EXTERNAL_LIBCALL): New.
...
* 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
2004-01-28 05:27:12 +00:00
Kazu Hirata
9184f8921b
i386.c (TARGET_PROMOTE_PROTOTYPES): New.
...
* 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
2004-01-28 05:12:22 +00:00
Roger Sayle
4cce9dd84a
pa.c (emit_move_sequence): Check that operand1 is a CONST_INT before using INTVAL.
...
* config/pa/pa.c (emit_move_sequence): Check that operand1 is a
CONST_INT before using INTVAL.
From-SVN: r76776
2004-01-28 01:37:28 +00:00
GCC Administrator
c4ef652567
Daily bump.
...
From-SVN: r76771
2004-01-28 00:16:16 +00:00
Ulrich Weigand
590fcf48ae
s390.h (TARGET_DEFAULT): Default to !TARGET_BACKCHAIN.
...
* 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
2004-01-28 00:14:00 +00:00
Benjamin Kosnik
62b21ea0fc
11584.cc: Correct new and delete declarations, add include and test variable.
...
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
2004-01-27 23:41:16 +00:00
Zack Weinberg
826b47cc77
ia64.c (ia64_function_arg): When placing HFAs in integer registers...
...
* 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
2004-01-27 22:48:11 +00:00
Michael Koch
272c310d13
2004-01-27 Michael Koch <konqueror@gmx.de>
...
* gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
* gnu/java/awt/peer/gtk/GdkGlyphVector.java:
Reindented to merge with classpath.
From-SVN: r76757
2004-01-27 22:42:24 +00:00
Richard Sandiford
83810fcb9b
re PR target/7297 ([irix6 o32] sjlj exceptions fail)
...
PR target/7297
* except.c (init_eh): Use a 5-word __jbuf for __builtin_setjmp().
From-SVN: r76754
2004-01-27 22:13:29 +00:00