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
Tom Tromey
8b45a0d38e
re PR bootstrap/14614 (Double target prefixed gcjh)
...
PR bootstrap/14614:
* Make-lang.in (java.install-common): Only install transformed
From-SVN: r91692
2004-12-03 19:32:38 +00:00
Eric Christopher
76f56a4d25
stormy16.md (pushqi, [...]): Add number of arguments to name so that the pattern is recognized as a named...
...
2004-12-03 Eric Christopher <echristo@redhat.com>
* config/stormy16/stormy16.md (pushqi, popqi, pushhi,
pophi): Add number of arguments to name so that the
pattern is recognized as a named pattern.
From-SVN: r91691
2004-12-03 19:06:02 +00:00
Andrew Haley
2360c81be6
re PR java/18812 (ICE in catalina/common/lib/naming-resources.jar)
...
2004-12-03 Andrew Haley <aph@redhat.com>
PR java/18812
* except.c (link_handler): Patch 'outer' field of siblings of the
range we're demoting.
From-SVN: r91690
2004-12-03 18:11:21 +00:00
Andrew Haley
3381c28f38
re PR java/18697 (Miscompilation of GtkMenuItemPeer.setParent(MenuItem))
...
2004-12-03 Andrew Haley <aph@redhat.com>
PR java/18697
* class.c (layout_class_method): Don't fail to override a method
simply because it has DECL_ARTIFICIAL set.
From-SVN: r91689
2004-12-03 18:01:59 +00:00
Janis Johnson
5edea4c664
extend.texi (AltiVec Builtins): Fix info about signedness.
...
* doc/extend.texi (AltiVec Builtins): Fix info about signedness.
* testsuite/gcc.dg/altivec-18.c: Fix for darwin
From-SVN: r91688
2004-12-03 17:37:12 +00:00
Andreas Tobler
9c7956fd00
rs6000.c (rs6000_override_options): Protect darwin_one_byte_bool with #if.
...
2004-12-03 Andreas Tobler <a.tobler@schweiz.ch>
* config/rs6000/rs6000.c (rs6000_override_options): Protect
darwin_one_byte_bool with #if.
From-SVN: r91686
2004-12-03 16:47:44 +01:00
Paolo Bonzini
d6c2b67dea
tm.texi (Misc): Document TARGET_FOLD_BUILTIN.
...
2004-12-03 Paolo Bonzini <bonzini@gnu.org>
* doc/tm.texi (Misc): Document TARGET_FOLD_BUILTIN.
From-SVN: r91685
2004-12-03 15:37:16 +00:00
H.J. Lu
aaf67a1450
mklibgcc.in: Put back the default set of EXTRA_MULTILIB_PART.
...
2004-12-03 H.J. Lu <hongjiu.lu@intel.com>
* mklibgcc.in: Put back the default set of EXTRA_MULTILIB_PART.
From-SVN: r91684
2004-12-03 07:11:56 -08:00
Richard Sandiford
dafb7f3f52
re PR libgcj/7305 (Install path for libgcj header files)
...
PR libgcj/7305
* configure.ac: Use TL_AC_GXX_INCLUDE_DIR.
* Makefile.am (install-data-local): Install headers into
$(gxx_include_dir) rather than $(includedir).
(AM_MAKEFLAGS): Pass down gxx_include_dir.
* gcj/Makefile.am (gcjdir): Set to $(gxx_include_dir)/gcj.
* include/Makefile.am (tool_include__HEADERS): Define this...
(include_HEADERS): ...instead of this.
* configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
* include/Makefile.in, testsuite/Makefile.in: Regenerate.
From-SVN: r91682
2004-12-03 11:15:25 +00:00
Nathan Sidwell
f4ed7d2144
re PR c++/18782 (ICE on invalid pointer-to-member declaration)
...
cp:
PR c++/18782
* decl.c (grokdeclarator): Make sure class in pointer to member is
not a namespace.
testsuite:
PR c++/18782
* g++.dg/parse/ptrmem2.C: New.
From-SVN: r91681
2004-12-03 10:51:13 +00:00
Richard Sandiford
bb59c33970
Introduce config/gxx-include-dir.m4.
...
From-SVN: r91680
2004-12-03 10:44:37 +00:00
Richard Sandiford
4982adbebc
config.if: Delete.
...
* config.if: Delete.
* configure.in: Set libstdcxx_incdir directly.
* configure: Regenerate.
From-SVN: r91679
2004-12-03 10:40:18 +00:00
Nathan Sidwell
ad1063d545
re PR c++/18318 (ICE: error: Multiple inline callers)
...
cp:
PR c++/18318
* parser.c (cp_parser_new_type_id): Move array size expression
checks from here ...
* init.c (build_new): ... to here.
testsuite:
PR c++/18318
* g++.dg/template/new1.C: New.
From-SVN: r91678
2004-12-03 09:51:39 +00:00