GCC Administrator
bddfe34a9e
Daily bump.
...
From-SVN: r91797
2004-12-07 00:16:23 +00:00
Richard Henderson
f21edfd62d
c99_functions.c, [...]: Whitespace fixes.
...
* intrinsics/c99_functions.c, intrinsics/eoshift0.c,
intrinsics/eoshift2.c, intrinsics/exit.c, intrinsics/flush.c,
intrinsics/ishftc.c, intrinsics/mvbits.c, intrinsics/pack_generic.c,
intrinsics/random.c, intrinsics/reshape_generic.c, intrinsics/size.c,
intrinsics/spread_generic.c, intrinsics/stat.c,
intrinsics/string_intrinsics.c, intrinsics/system_clock.c,
intrinsics/transpose_generic.c, intrinsics/unlink.c,
intrinsics/unpack_generic.c, io/backspace.c, io/format.c,
io/list_read.c, io/lock.c, io/open.c, io/transfer.c, io/unix.c,
io/write.c, runtime/environ.c, runtime/error.c,
runtime/in_pack_generic.c, runtime/in_unpack_generic.c, runtime/main.c,
runtime/memory.c, runtime/pause.c, runtime/stop.c,
runtime/string.c: Whitespace fixes.
From-SVN: r91794
2004-12-06 16:01:01 -08:00
Aldy Hernandez
9f91e6cc16
* config/rs6000/sysv4.h: Define RELOCATABLE_NEEDS_FIXUP to 1.
...
From-SVN: r91792
2004-12-06 23:57:57 +00:00
Richard Henderson
a8bc7089b5
Makefile.am: Generate all m4 output under $(srcdir).
...
* Makefile.am: Generate all m4 output under $(srcdir).
* Makefile.in: Regenerate.
From-SVN: r91788
2004-12-06 13:29:57 -08:00
Zdenek Dvorak
63bb59a32c
re PR tree-optimization/18601 (tree cfglceanup is slow)
...
PR tree-optimization/18601
* tree-cfg.c (thread_jumps, thread_jumps_from_bb): Removed.
(tree_forwarder_block_p): Do not consider blocks that are its own
successors forwarders.
(cleanup_forwarder_blocks, remove_forwarder_block): New functions.
(cleanup_tree_cfg): Use cleanup_forwarder_blocks instead of
thread_jumps.
* tree-flow.h (bb_ann_d): Remove forwardable.
Co-Authored-By: Kazu Hirata <kazu@cs.umass.edu>
From-SVN: r91787
2004-12-06 20:22:01 +00:00
Kazu Hirata
c4cfdac0e6
expr.c (expand_expr_real_1): Remove an "if" whose condition is always false.
...
* expr.c (expand_expr_real_1): Remove an "if" whose condition
is always false.
From-SVN: r91786
2004-12-06 18:52:10 +00:00
Tom Tromey
6e07ee6da0
Make-lang.in (JAVA_MANFILES): Added gcj-dbtool.
...
* Make-lang.in (JAVA_MANFILES): Added gcj-dbtool.
(java.uninstall): Likewise.
(java.maintainer-clean): Likewise.
(.INTERMEDIATE): Likewise.
(java.install-man): Likewise.
(gcj-dbtool.pod): New target.
* gcj.texi (Code Generation): Document -findirect-dispatch.
(libgcj Runtime Properties): Document
gnu.gcj.precompiled.db.path.
(Top): Link to "Invoking gcj-dbtool".
From-SVN: r91785
2004-12-06 17:59:57 +00:00
Roger Sayle
b086a2eaf8
c-gimplify.c (gimplify_c_loop): Improve initial implementations for loops whose conditions are known at...
...
* c-gimplify.c (gimplify_c_loop): Improve initial implementations
for loops whose conditions are known at compile-time.
* gimplify.c (append_to_statement_list_1): Remove side_effects
parameter, this function should never be called if its false.
(append_to_statement_list): Only call append_to_statement_list_1
if t is non-NULL tree with side-effects.
(append_to_statement_list_force): Likewise, if t is not NULL.
From-SVN: r91784
2004-12-06 17:24:16 +00:00
J"orn Rennecke
ff8b369ad3
bt-load.c (btr_def_s): New member own_end;
...
* bt-load.c (btr_def_s): New member own_end;
(add_btr_to_live_range): Add second parameter. Changed caller.
(clear_btr_from_live_range): Clear btrs_live_at_end bit
for the register its definition basic block if own_end is set.
(augment_live_range): Also take btrs_live_at_end into account.
(combine_btr_defs): Don't bother with
other_def->other_btr_uses_after_use if it pertains to a different
register.
(move_btr_def): Set def->other_btr_uses_before_def after
calling combine_btr_defs."
* bt-load.c (augment_live_range): New argument full_range.
Changed all callers.
* bt-load.c (move_tr_def): Set other_tr_uses_before_def
taking new btr assignment into account.
From-SVN: r91780
2004-12-06 16:07:57 +00:00
Paolo Carlini
e21cb773e5
type_traits: Implement is_reference.
...
2004-12-06 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Implement is_reference.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_reference/is_reference.cc: New.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_reference/typedefs.cc: Likewise.
From-SVN: r91779
2004-12-06 15:47:05 +00:00
Tom Tromey
a58d74533c
re PR java/14853 (Assignment to final field permitted when compiling to native)
...
PR java/14853:
* java-tree.h (extract_field_decl): Declare.
* parse.y (extract_field_decl): Renamed from
strip_out_static_field_access_decl. No longer static.
* check-init.c (get_variable_decl): Unwrap COMPOUND_EXPRs.
From-SVN: r91778
2004-12-06 15:32:38 +00:00
Tom Tromey
0bc371d376
For PR java/14853:
...
* testsuite/libjava.compile/PR14853.java: New file.
* testsuite/libjava.compile/PR14853.xfail: New file.
From-SVN: r91777
2004-12-06 15:30:57 +00:00
Nick Clifton
a52c836bd5
Move ChangeLog entry to the correct ChangeLog!
...
From-SVN: r91775
2004-12-06 12:32:45 +00:00
Nick Clifton
c092f1e161
oops - omitted from previous checkin
...
From-SVN: r91771
2004-12-06 11:00:49 +00:00
Nick Clifton
dd8301b8e0
builtins-config.h: Use <sys/types.h> instead of <limits.h> because the latter comes from gcc's...
...
* gcc.dg/builtins-config.h: Use <sys/types.h> instead of <limits.h> because the
latter comes from gcc's include/ directory and not the newlib/libc/include
directory.
From-SVN: r91770
2004-12-06 10:57:43 +00:00
Daniel Berlin
b07f8ee279
tree-ssa-alias.c (create_global_var): Use void_type_node, not size_type_node.
...
2004-12-05 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-alias.c (create_global_var): Use void_type_node,
not size_type_node.
From-SVN: r91768
2004-12-06 02:00:47 +00:00
GCC Administrator
caace8f5df
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r91761.2
2004-12-06 00:16:20 +00:00
GCC Administrator
47af4cae60
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r91760.2
2004-12-06 00:16:14 +00:00
Kazu Hirata
ba8081eb6c
expr.c (expand_expr_real_1): Abort on COND_EXPR of VOID_TYPE.
...
* expr.c (expand_expr_real_1): Abort on COND_EXPR of
VOID_TYPE.
From-SVN: r91758
2004-12-06 00:14:07 +00:00
Paolo Carlini
ae23f7575c
re PR libstdc++/18837 (testsuite_performance.h:63: error: redefinition of 'struct mallinfo')
...
2004-12-05 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/18837
* testsuite/testsuite_performance.h: Fix mallinfo macros for
hpux.
From-SVN: r91757
2004-12-05 23:28:22 +00:00
Richard Henderson
618a86bf2b
Test case for PR target/18841.
...
From-SVN: r91756
2004-12-05 12:07:09 -08:00
Richard Henderson
cbb16d8ef6
re PR target/18841 (setjmp and eh receivers can mis-schedule)
...
PR target/18841
* config/alpha/alpha.md (UNSPECV_SETJMPR_ER): New.
(builtin_setjmp_receiver_er_sl_1): Use it.
(builtin_setjmp_receiver_er_1): Likewise.
(builtin_setjmp_receiver_er, exception_receiver_er): Remove.
(builtin_setjmp_receiver): Don't split for explicit relocs until
after reload.
(exception_receiver): Likewise.
From-SVN: r91753
2004-12-05 11:52:24 -08:00
Andrew Pinski
82f4593a97
mklibgcc.in (vis_hide): Add the prototype for the test.
...
2004-12-05 Andrew Pinski <pinskia@physics.uc.edu>
* mklibgcc.in (vis_hide): Add the prototype for the test.
From-SVN: r91752
2004-12-05 11:28:27 -08:00
Andrew Pinski
82618d44f7
Add forgotten to check in changeLog:
...
2004-12-04 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/17909
* builtins.c (fold_builtin_next_arg): Export and return true
when there is a warning or an error.
(expand_builtin_va_start): When fold_builtin_next_arg returns true,
return const0_rtx.
(expand_builtin): Likewise.
* gimplify.c (gimplify_call_expr): Error out if there is not
enough arguments to va_start. Call fold_builtin_next_arg also
on the second argument.
* tree.h (fold_builtin_next_arg): Prototype.
From-SVN: r91751
2004-12-05 09:47:04 -08:00
Roger Sayle
28af952a24
c-typeck.c (c_finish_loop): Improve initial implementations for loops whose conditions are known at...
...
* c-typeck.c (c_finish_loop): Improve initial implementations
for loops whose conditions are known at compile-time.
From-SVN: r91750
2004-12-05 15:31:02 +00:00
Kazu Hirata
118f3b19a3
* builtins.c: Fix comment typos.
...
From-SVN: r91749
2004-12-05 14:18:18 +00:00
John David Anglin
91373fe8f7
re PR middle-end/18730 (cppexp.c:1076: error: unrecognizable insn)
...
PR middle-end/18730
* emit-rtl.c (get_first_nonnote_insn, get_last_nonnote_insn): When
the first/last insn is a sequence, return the first/last insn of the
sequence.
From-SVN: r91742
2004-12-05 04:05:59 +00:00
Richard Henderson
6ac5aa910e
* gcc.dg/tree-ssa/loop-5.c: Use long instead of int.
...
From-SVN: r91740
2004-12-04 17:39:55 -08:00
Richard Henderson
192b2fc48c
* testsuite/26_numerics/complex/pow.cc: Use -mieee on alpha.
...
From-SVN: r91738
2004-12-04 16:26:16 -08:00
Richard Henderson
4ec3604f50
* include/ext/malloc_allocator.h: Include cstdlib.
...
From-SVN: r91737
2004-12-04 16:25:18 -08:00
GCC Administrator
f7b279f9d0
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r91735.2
2004-12-05 00:16:15 +00:00
GCC Administrator
66002fe5ee
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r91734.2
2004-12-05 00:16:11 +00:00
John David Anglin
bf842f624b
re PR bootstrap/18804 (lib2funcs.vis:1: Error: unknown pseudo-op: `.hidden')
...
PR bootstrap/18804
* mklibgcc.in (vis_hide): Use implementation instead of declaration
for test function.
From-SVN: r91732
2004-12-04 20:32:51 +00:00
Richard Henderson
346424935e
alpha.c (alpha_expand_unaligned_load): Don't forget to use ofs in BWX two byte special case.
...
* config/alpha/alpha.c (alpha_expand_unaligned_load): Don't forget to
use ofs in BWX two byte special case.
(alpha_expand_unaligned_store): Likewise.
From-SVN: r91731
2004-12-04 10:13:50 -08:00
Richard Henderson
8138dfe456
target-supports.exp (check_gc_sections_available): Disable for alpha and ia64.
...
* lib/target-supports.exp (check_gc_sections_available): Disable
for alpha and ia64.
From-SVN: r91730
2004-12-04 10:01:09 -08:00
Kazu Hirata
b732f36fe6
* gcse.c (gcse_main): Add a comment.
...
From-SVN: r91729
2004-12-04 14:53:13 +00:00
Andrew Pinski
a6ac7f6fb4
re PR middle-end/17909 (ICE: verifiy_stms failed)
...
2004-12-04 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/17909
* g++.dg/other/vararg-2.C: New test.
From-SVN: r91728
2004-12-04 06:15:01 -08:00
Andrew Pinski
2efcfa4ef6
re PR middle-end/17909 (ICE: verifiy_stms failed)
...
2004-12-04 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/17909
* builtins.c (fold_builtin_next_arg): Export and return true
when there is a warning or an error.
(expand_builtin_va_start): When fold_builtin_next_arg returns true,
return const0_rtx.
(expand_builtin): Likewise.
* gimplify.c (gimplify_call_expr): Error out if there is not
enough arguments to va_start. Call fold_builtin_next_arg also
on the second argument.
* tree.h (fold_builtin_next_arg): Prototype.
From-SVN: r91727
2004-12-04 06:11:45 -08:00
Joseph Myers
e488786134
* tr.po: Update.
...
From-SVN: r91726
2004-12-04 11:38:37 +00:00
Alan Modra
d12c5a4ce5
mklibgcc.in: Build shared libgcc and shared libunwind in gcc/.
...
* mklibgcc.in: Build shared libgcc and shared libunwind in gcc/.
Don't subst shlib_dir for SHLIB_LINK, SHLIBUNWIND_LINK,
SHLIB_INSTALL, and SHLIBUNWIND_INSTALL.
* config/i386/t-nwld (SHLIB_NAME): Use shlib_base_name in place of
shlib_dir and shlib_so_name.
* config/mips/t-slibgcc-irix (SHLIB_NAME): Likewise.
* config/t-libunwind-elf (SHLIB_NAME): Likewise.
* config/t-slibgcc-darwin (SHLIB_NAME): Likewise.
* config/t-slibgcc-elf-ver (SHLIB_NAME): Likewise.
* config/t-slibgcc-sld (SHLIB_NAME): Likewise.
(SHLIB_LINK): Don't use shlib_dir when creating symlink.
From-SVN: r91724
2004-12-04 19:52:32 +10:30
Paolo Carlini
493bc46004
type_traits: New.
...
2004-12-04 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: New.
* include/Makefile.am: Add.
* include/Makefile.in: Regenerate.
* testsuite/testsuite_tr1.h: New.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_arithmetic/is_arithmetic.cc: New.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_arithmetic/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_fundamental/is_fundamental.cc: Likewise.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_fundamental/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/helper_classes/
true_false_type.cc: Likewise.
* testsuite/tr1/4_metaprogramming/helper_classes/
true_false_type_typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/helper_classes/
typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_array/is_array.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_array/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_floating_point/is_floating_point.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_floating_point/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_integral/is_integral.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_integral/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_void/is_void.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_void/typedefs.cc: Likewise.
From-SVN: r91723
2004-12-04 09:08:42 +00:00
Kriang Lerdsuwanakij
bad1f4626e
PR c++/17011, c++/17971
...
PR c++/17011, c++/17971
* pt.c (tsubst_copy) <FIELD_DECL case>: Check and diagnose
invalid field.
(tsubst_copy_and_build) <COMPONENT_REF case>: Check
error_mark_node after member substitution.
* semantics.c (finish_id_expression): Call
finish_non_static_data_member for non-dependent FIELD_DECL.
* g++.dg/template/error15.C: Adjust expected error.
* g++.dg/template/instantiate3.C: Likewise.
From-SVN: r91720
2004-12-04 06:45:13 +00:00
Roger Sayle
73f8783add
* doc/tm.texi (TARGET_DELEGITIMIZE_ADDRESS): Document target hook.
...
From-SVN: r91713
2004-12-04 00:34:43 +00:00
Richard Henderson
2039d7aaea
alias.c (component_uses_parent_alias_set): Rename from can_address_p.
...
* alias.c (component_uses_parent_alias_set): Rename from
can_address_p. Return bool. Reverse the sense of the result.
Reinstate the check for alias set zero.
(get_alias_set): Update to match.
* alias.h (component_uses_parent_alias_set): Likewise.
* emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise.
* expr.c (expand_assignment): Likewise.
* expr.h: Remove commented out prototypes that were moved to alias.h.
From-SVN: r91712
2004-12-03 16:20:31 -08:00
GCC Administrator
1b68ae543c
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r91710.2
2004-12-04 00:16:24 +00:00
GCC Administrator
8313ff6505
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r91709.2
2004-12-04 00:16:17 +00:00
Richard Henderson
d3da4d1439
tm.texi (TARGET_BUILD_BUILTIN_VA_LIST): New.
...
* doc/tm.texi (TARGET_BUILD_BUILTIN_VA_LIST): New.
(TARGET_CANNOT_FORCE_CONST_MEM): New.
From-SVN: r91703
2004-12-03 15:15:15 -08:00
Alan Modra
668707f70d
PR middle end/18718
...
PR middle end/18718
* sched-rgn.c (schedule_region): Don't assume REG_SAVE_NOTEs are
in pairs.
* sched-ebb.c (schedule_ebb): Likewise.
From-SVN: r91702
2004-12-04 09:32:33 +10:30
Andreas Schwab
e69d6ca7a4
Makefile.in (HOSTHOOKS_DEF_H): Define.
...
* Makefile.in (HOSTHOOKS_DEF_H): Define.
(ggc-common.o): Depend on $(HOSTHOOKS_DEF_H).
(host-default.o): Likewise.
From-SVN: r91697
2004-12-03 22:04:27 +00:00
Tom Tromey
c56c2878f7
lang.c (flag_new_verifier): Define.
...
* lang.c (flag_new_verifier): Define.
(java_post_options): Set flag_new_verifier if indirect dispatch
is being used.
* lang.opt (fnew-verifier): Removed.
From-SVN: r91693
2004-12-03 19:43:52 +00:00