Steve Ellcey [Fri, 12 May 2006 19:52:34 +0000 (19:52 +0000)]
target-supports.dg (check_cxa_atexit_available): Change v3_target_compile to ${tool}_target_compile.
* lib/target-supports.dg (check_cxa_atexit_available): Change
v3_target_compile to ${tool}_target_compile.
From-SVN: r113729
Anton Blanchard [Fri, 12 May 2006 19:44:29 +0000 (19:44 +0000)]
cplus-dem.c (demangle_fund_type): Ensure buf is large enough to hold "int%u_t".
* cplus-dem.c (demangle_fund_type): Ensure buf is large enough to
hold "int%u_t".
From-SVN: r113728
Andreas Krebbel [Fri, 12 May 2006 07:51:35 +0000 (07:51 +0000)]
s390.c (s390_const_ok_for_constraint_p): Disallow -4G for On contraint.
2006-05-12 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.c (s390_const_ok_for_constraint_p): Disallow -4G for
On contraint.
* config/s390/s390.md: Adjust comment describing On constraint.
From-SVN: r113721
GCC Administrator [Fri, 12 May 2006 00:17:30 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r113719
Bryce McKinlay [Thu, 11 May 2006 22:20:07 +0000 (22:20 +0000)]
NameFinder.java (lookup): If exec'ing addr2line fails, don't try again.
2006-05-11 Bryce McKinlay <mckinlay@redhat.com>
* gnu/gcj/runtime/NameFinder.java (lookup): If exec'ing addr2line
fails, don't try again.
(use_addr2line): Field no longer final.
From-SVN: r113715
Jason Merrill [Thu, 11 May 2006 21:49:35 +0000 (17:49 -0400)]
* lib/scanasm.exp (scan-not-hidden): Fix typo.
From-SVN: r113714
Francois-Xavier Coudert [Thu, 11 May 2006 21:37:10 +0000 (23:37 +0200)]
re PR fortran/27553 ([4.1 only] Testsuite ICE with -Wunused-labels)
PR fortran/27553
* parse.c (next_free): Return instead of calling decode_statement
upon error.
* gfortran.dg/label_5.f90: New test.
From-SVN: r113712
Bryce McKinlay [Thu, 11 May 2006 20:53:04 +0000 (20:53 +0000)]
NameFinder.java (blacklist): New static field.
2006-05-11 Bryce McKinlay <mckinlay@redhat.com>
* gnu/gcj/runtime/NameFinder.java (blacklist): New static field.
(lookup): If addr2line fails to find an address, flag the binary as
having no debug info and avoid calling addr2line on it again.
From-SVN: r113711
Joseph Myers [Thu, 11 May 2006 19:56:21 +0000 (20:56 +0100)]
target-supports.exp (check_effective_target_powerpc_fprs, [...]): New.
* lib/target-supports.exp (check_effective_target_powerpc_fprs,
check_effective_target_powerpc_altivec_ok): New.
* g++.dg/eh/simd-2.C, g++.dg/ext/altivec-1.C,
g++.dg/ext/altivec-10.C, g++.dg/ext/altivec-11.C,
g++.dg/ext/altivec-12.C, g++.dg/ext/altivec-13.C,
g++.dg/ext/altivec-2.C, g++.dg/ext/altivec-3.C,
g++.dg/ext/altivec-4.C, g++.dg/ext/altivec-5.C,
g++.dg/ext/altivec-6.C, g++.dg/ext/altivec-7.C,
g++.dg/ext/altivec-8.C, g++.dg/ext/altivec-9.C,
g++.dg/ext/altivec-types-1.C, g++.dg/ext/altivec-types-2.C,
g++.dg/ext/altivec-types-3.C, g++.dg/ext/altivec-types-4.C,
gcc.dg/dfp/altivec-types.c, gcc.dg/simd-3.c,
gcc.dg/vect/vect-82_64.c, gcc.dg/vect/vect-83_64.c,
gcc.dg/vmx/vmx.exp, gcc.target/powerpc/980827-1.c,
gcc.target/powerpc/altivec-1.c, gcc.target/powerpc/altivec-10.c,
gcc.target/powerpc/altivec-11.c, gcc.target/powerpc/altivec-12.c,
gcc.target/powerpc/altivec-13.c, gcc.target/powerpc/altivec-14.c,
gcc.target/powerpc/altivec-15.c, gcc.target/powerpc/altivec-16.c,
gcc.target/powerpc/altivec-17.c, gcc.target/powerpc/altivec-18.c,
gcc.target/powerpc/altivec-19.c, gcc.target/powerpc/altivec-2.c,
gcc.target/powerpc/altivec-21.c, gcc.target/powerpc/altivec-22.c,
gcc.target/powerpc/altivec-3.c, gcc.target/powerpc/altivec-4.c,
gcc.target/powerpc/altivec-5.c, gcc.target/powerpc/altivec-6.c,
gcc.target/powerpc/altivec-7.c, gcc.target/powerpc/altivec-8.c,
gcc.target/powerpc/altivec-9.c,
gcc.target/powerpc/altivec-consts.c,
gcc.target/powerpc/altivec-pr22085.c,
gcc.target/powerpc/altivec-splat.c,
gcc.target/powerpc/altivec-types-1.c,
gcc.target/powerpc/altivec-types-2.c,
gcc.target/powerpc/altivec-types-3.c,
gcc.target/powerpc/altivec-types-4.c,
gcc.target/powerpc/altivec-varargs-1.c,
gcc.target/powerpc/altivec-vec-merge.c,
gcc.target/powerpc/ppc-vector-memcpy.c,
gcc.target/powerpc/ppc-vector-memset.c,
gcc.target/powerpc/ppc64-abi-2.c, gcc.target/powerpc/pr16155.c,
gcc.target/powerpc/pr16286.c, gcc.target/powerpc/pr27158.c: Use
these effective targets.
* gcc.dg/vmx/pr27006.c: Add missing close brace.
* gcc.dg/
20020103-1.c: XFAIL on powerpc*-*-*.
From-SVN: r113709
David Daney [Thu, 11 May 2006 17:52:42 +0000 (17:52 +0000)]
re PR java/20418 (ICE if variable name is omitted in an initialiser and a qualified type for the variable is used)
* testsuite/libjava.compile/PR20418.java: New.
* testsuite/libjava.compile/PR20418.xfail: New.
From-SVN: r113707
Jan Hubicka [Thu, 11 May 2006 16:11:37 +0000 (18:11 +0200)]
cgraphunit.c (decide_is_function_needed): Don't force always_inline to be output at -O0.
* cgraphunit.c (decide_is_function_needed): Don't force always_inline
to be output at -O0.
From-SVN: r113704
Volker Reichelt [Thu, 11 May 2006 15:07:45 +0000 (15:07 +0000)]
re PR c++/27384 (ICE with invalid array size)
PR middle-end/27384
* fold-const.c (size_binop): Move sanity check for arguments to
the beginning of the function.
* g++.dg/other/fold1.C: New test.
From-SVN: r113701
Volker Reichelt [Thu, 11 May 2006 14:58:54 +0000 (14:58 +0000)]
re PR middle-end/27488 (ICE in tree_expr_nonnegative_p)
PR middle-end/27488
* fold-const.c (tree_expr_nonnegative_p): Return early on invalid
expression.
* gcc.dg/fold-nonneg-1.c: New test.
From-SVN: r113699
Volker Reichelt [Thu, 11 May 2006 14:41:03 +0000 (14:41 +0000)]
re PR c++/27547 (ICE on invalid operator=)
PR c++/27547
* decl.c (copy_fn_p): Return early on non-member functions.
* g++.dg/other/operator1.C: New test.
From-SVN: r113696
Andrew Haley [Thu, 11 May 2006 09:57:53 +0000 (09:57 +0000)]
natSharedLibLoader.cc (init): Remove debugging line.
2006-05-11 Andrew Haley <aph@redhat.com>
* gnu/gcj/runtime/natSharedLibLoader.cc (init): Remove debugging
line.
From-SVN: r113693
Richard Guenther [Thu, 11 May 2006 08:29:40 +0000 (08:29 +0000)]
re PR middle-end/27529 (Does not fold (char *)(size_t)char_ptr or (size_t)(char *)size_t_var)
2006-05-11 Richard Guenther <rguenther@suse.de>
PR middle-end/27529
* fold-const.c (fold_unary): Handle intermediate conversion
to a pointer type like intermediate conversion to an integer
type in folding of (T1)(T2)var to var.
Match the code to the comment in the final conversion for
(T1)(T2)var to (T1)var regarding to type precision. Rather
than disallow T1 being of pointer type, assert that both T1
and var are of pointer type or not. Make sure not to fall
over the frontends lazyness wrt array to pointer decay though.
* gcc.dg/tree-ssa/foldcast-1.c: New testcase.
From-SVN: r113692
GCC Administrator [Thu, 11 May 2006 00:17:24 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r113690
Janis Johnson [Wed, 10 May 2006 22:13:39 +0000 (22:13 +0000)]
target-supports-dg.exp (check-flags): New.
* lib/target-supports-dg.exp (check-flags): New.
(dg-skip-if): Move flag checks.
From-SVN: r113686
Steve Ellcey [Wed, 10 May 2006 21:58:34 +0000 (21:58 +0000)]
libstdc++.exp (check_v3_target_cxa_atexit): Move to gcc subdir.
* testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit):
Move to gcc subdir.
* testsuite/lib/dg-options.exp (dg-require-iconv): Remove.
(dg-require-cxa-atexit): Move to gcc subdir.
From-SVN: r113685
Steve Ellcey [Wed, 10 May 2006 21:55:34 +0000 (21:55 +0000)]
target-supports-dg.exp (dg-require-cxa-atexit): New.
* lib/target-supports-dg.exp (dg-require-cxa-atexit): New.
* lib/target-supports.dg (check_cxa_atexit_available): New.
From-SVN: r113684
Richard Earnshaw [Wed, 10 May 2006 21:54:06 +0000 (21:54 +0000)]
r113709@merlin: rearnsha | 2006-05-10 22:53:26 +0100
r113709@merlin: rearnsha | 2006-05-10 22:53:26 +0100
* arm.c (arm_struct_value_rtx): Delete.
(TARGET_STRUCT_VALUE_RTX): Use the default definition.
(arm_init_cumulative_args): Always initialize nregs to zero.
From-SVN: r113683
Richard Guenther [Wed, 10 May 2006 19:41:46 +0000 (19:41 +0000)]
re PR tree-optimization/27532 (__builtin_object_size does not handle &a + b.)
2006-05-10 Richard Guenther <rguenther@suse.de>
PR tree-optimization/27532
* tree-object-size.c (plus_expr_object_size): Fix typo.
From-SVN: r113682
Paolo Carlini [Wed, 10 May 2006 18:37:54 +0000 (18:37 +0000)]
hashtable (hashtable_iterator<>::hashtable_iterator(), [...]): Add.
2006-05-10 Paolo Carlini <pcarlini@suse.de>
Peter Doerfler <gcc@pdoerfler.com>
* include/tr1/hashtable (hashtable_iterator<>::hashtable_iterator(),
hashtable_const_iterator<>::hashtable_const_iterator(),
node_iterator<>::node_iterator(),
node_const_iterator<>::node_const_iterator()): Add.
(node_iterator<>::node_iterator(hash_node<>*),
node_const_iterator<>::node_const_iterator(hash_node<>*)): Tweak,
remove default.
* testsuite/tr1/6_containers/unordered/hashtable/
iterators_default_constructor.c: New.
Co-Authored-By: Peter Doerfler <gcc@pdoerfler.com>
From-SVN: r113681
Thomas Koenig [Wed, 10 May 2006 18:26:51 +0000 (18:26 +0000)]
re PR fortran/27470 (wrong memory allocator for derived types)
2005-05-10 Thomas Koenig <Thomas.Koenig@online.de>
PR fortran/27470
* trans-array.c(gfc_array_allocate): If ref->next exists
that is if there is a statement like ALLOCATE(foo%bar(2)),
F95 rules require that bar should be a pointer.
2005-05-10 Thomas Koenig <Thomas.Koenig@online.de>
PR fortran/27470
* gfortran.dg/multiple_allocation_2.f90: New test case.
From-SVN: r113680
Kazu Hirata [Wed, 10 May 2006 17:50:34 +0000 (17:50 +0000)]
* gcc.target/arm/pr27387.C: Fix a comment typo.
From-SVN: r113678
Andrew Haley [Wed, 10 May 2006 17:50:09 +0000 (17:50 +0000)]
natClassLoader.cc: Add comments.
2006-05-10 Andrew Haley <aph@redhat.com>
* java/lang/natClassLoader.cc: Add comments.
From-SVN: r113677
Andrew Haley [Wed, 10 May 2006 17:49:23 +0000 (17:49 +0000)]
class.c (emit_indirect_register_classes): Fix comment.
2006-05-10 Andrew Haley <aph@redhat.com>
* class.c (emit_indirect_register_classes): Fix comment.
From-SVN: r113676
Kazu Hirata [Wed, 10 May 2006 17:35:24 +0000 (17:35 +0000)]
re PR target/24949 (FAIL: gcc.c-torture/compile/
20000403-2.c -O0)
PR target/24949
* config/m68k/m68k.md (ashrdi_const32, ashrdi_const32_mem,
ashrdi_const, ashrdi3): Use a scratch register.
From-SVN: r113675
Andrew Haley [Wed, 10 May 2006 17:17:20 +0000 (17:17 +0000)]
prims.cc (_Jv_soleIndirectCompiledEngine): New.
2006-05-09 Andrew Haley <aph@redhat.com>
* prims.cc (_Jv_soleIndirectCompiledEngine): New.
* include/execution.h (Jv_CompiledEngine::do_allocate_static_fields):
Remove body.
(_Jv_CompiledEngine::allocate_field_initializers): New.
(_Jv_CompiledEngine::_Jv_CompiledEngine): Initialize
allocate_field_initializers.
(class _Jv_IndirectCompiledClass): New.
(struct _Jv_IndirectCompiledEngine): New.
* java/lang/Class.h: (IndirectCompiledEngine): New.
* java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Set
engine to _Jv_soleIndirectCompiledEngine
* link.cc (ensure_fields_laid_out): Call
engine->allocate_field_initializers().
From-SVN: r113674
Marc Glisse [Wed, 10 May 2006 15:43:20 +0000 (15:43 +0000)]
pool_allocator.h: Add missing std:: qualifications.
2006-05-10 Marc Glisse <marc.glisse@normalesup.org>
* include/ext/pool_allocator.h: Add missing std:: qualifications.
* include/ext/mt_allocator.h: Likewise.
* include/ext/pb_assoc/detail/resize_policy/
hash_load_check_resize_trigger_imp.hpp: Likewise.
* include/ext/pb_assoc/detail/resize_policy/
hash_standard_resize_policy_imp.hpp: Likewise.
* include/ext/pb_assoc/detail/lu_policy/
counter_lu_metadata_imp.hpp: Likewise.
* include/ext/pb_assoc/detail/map_debug_base.hpp: Likewise.
* libsupc++/eh_alloc.cc: Typo: memcpy -> memset.
From-SVN: r113673
Francois-Xavier Coudert [Wed, 10 May 2006 14:58:48 +0000 (16:58 +0200)]
re PR fortran/20460 (Nasty extensions that should always warn)
PR fortran/20460
* resolve.c (gfc_resolve_index): Make REAL array indices a
GFC_STD_LEGACY feature.
From-SVN: r113672
Francois-Xavier Coudert [Wed, 10 May 2006 14:51:26 +0000 (16:51 +0200)]
re PR fortran/24549 ([4.1 only] ICE with invalid pseudo-declaration statement)
PR fortran/24549
* parse.c (reject_statement): Clear gfc_new_block.
* gfortran.dg/error_recovery_1.f90: New test.
From-SVN: r113671
Richard Guenther [Wed, 10 May 2006 10:22:39 +0000 (10:22 +0000)]
re PR middle-end/27302 (Fold does not fold (i < j) == (j > i) to 1)
2006-05-10 Richard Guenther <rguenther@suse.de>
PR tree-optimization/27302
* fold-const.c (operand_equal_p): For two comparisons,
try comparison of one comparison code swapped if that yields
the same code.
* gcc.dg/torture/pr27302.c: New testcase.
From-SVN: r113670
Ben Elliston [Wed, 10 May 2006 01:18:28 +0000 (01:18 +0000)]
tree-pretty-print.c (pretty_print_string): No need to handle '\0' as a special character.
* tree-pretty-print.c (pretty_print_string): No need to handle
'\0' as a special character.
From-SVN: r113669
Ben Elliston [Wed, 10 May 2006 01:10:11 +0000 (01:10 +0000)]
tree.h: Include "hashtab.h".
* tree.h: Include "hashtab.h".
(iterative_hash_expr): Use hashval_t in its prototype.
* Makefile.in (TREE_H): Add $(HASHTAB_H).
From-SVN: r113668
GCC Administrator [Wed, 10 May 2006 00:17:34 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r113666
Steve Ellcey [Tue, 9 May 2006 20:00:55 +0000 (20:00 +0000)]
re PR bootstrap/26872 (Internal Compiler Error when bootstrap GCC 4.1.0 with GCC 4.0.2)
PR bootstrap/26872
* config.gcc (hppa[12]*-*-hpux10*): Set gas to yes.
(hppa*64*-*-hpux11*): Ditto.
(hppa[12]*-*-hpux11*): Ditto.
From-SVN: r113661
David Edelsohn [Tue, 9 May 2006 17:09:06 +0000 (17:09 +0000)]
re PR bootstrap/26545 (undeclared 64bit constants in c-common.c)
PR target/26545
* config/rs6000/aix41.h (TARGET_64BIT): Define.
From-SVN: r113659
Steven G. Kargl [Tue, 9 May 2006 16:25:21 +0000 (16:25 +0000)]
Commit chnages missed in the previous commit.
From-SVN: r113658
Michael Matz [Tue, 9 May 2006 15:40:12 +0000 (15:40 +0000)]
config.host (<i[34567]86-*-*, [...]): Set host_extra_gcc_objs and host_xmake_file.
* config.host (<i[34567]86-*-*, x86_64-*-*>): Set
host_extra_gcc_objs and host_xmake_file.
(<*-*-linux*>): Don't overwrite host_xmake_file.
* gcc.c (static_spec_functions): Add EXTRA_SPEC_FUNCTIONS.
* config/i386/i386.h (EXTRA_SPEC_FUNCTIONS): Define.
(host_detect_local_cpu): Declare.
(CC1_CPU_SPEC): Add -march=native and -mtune=native cases.
* config/i386/i386.c (override_options): Handle -mtune=native
as -mtune=generic.
* config/i386/x-i386: New file.
* config/i386/driver-i386.c: New file.
* doc/invoke.texi (<i386 and x86-64 Options>): Describe
cpu-type "native".
From-SVN: r113655
Dirk Mueller [Tue, 9 May 2006 14:16:50 +0000 (14:16 +0000)]
re PR middle-end/27498 (fold does not fold reads from constant static strings)
2006-05-09 Dirk Mueller <dmueller@suse.de>
Richard Guenther <rguenther@suse.de>
PR middle-end/27498
* fold-const.c (fold_read_from_constant_string): Relax check
for matching types to matching modes.
* gcc.dg/tree-ssa/pr27498.c: New testcase.
Co-Authored-By: Richard Guenther <rguenther@suse.de>
From-SVN: r113651
Zdenek Dvorak [Tue, 9 May 2006 09:10:15 +0000 (11:10 +0200)]
re PR rtl-optimization/27335 (ICE in get_loop_body)
PR rtl-optimization/27335
* loop-unroll.c (peel_loops_completely): Use loops->parray to walk the
loops.
* gcc.dg/pr27335.c: New test.
From-SVN: r113648
Richard Sandiford [Tue, 9 May 2006 07:42:38 +0000 (07:42 +0000)]
mips-ps-3d.md (scc_ps, s<code>_ps): New patterns.
2006-05-06 Chao-ying Fu <fu@mips.com>
Richard Sandiford <richard@codesourcery.com>
gcc/
* config/mips/mips-ps-3d.md (scc_ps, s<code>_ps): New patterns.
(vcondv2sf, sminv2sf3, smaxv2sf3): Likewise.
* config/mips/mips.md (UNSPEC_SCC): New constant.
* config/mips/mips-protos.h (mips_expand_vcondv2sf): Declare.
* config/mips/mips.c (mips_reverse_fp_cond_p): New function.
(mips_emit_compare): Use it.
(mips_expand_vcondv2sf): New function.
gcc/testsuite/
* gcc.target/mips/mips-ps-5.c: New file.
From-SVN: r113644
Ben Elliston [Tue, 9 May 2006 05:25:08 +0000 (15:25 +1000)]
Remove conflict marker around 2006-05-07.
From-SVN: r113643
Daniel Berlin [Tue, 9 May 2006 01:28:47 +0000 (01:28 +0000)]
re PR tree-optimization/27093 (verify_ssa failed: definition does not dominate use)
2006-05-08 Daniel Berlin <dberlin@dberlin.org>
Fix PR tree-optimization/27093
* tree-ssa-alias.c (recalculate_used_alone): Mark variables for
renaming when they become not-used_alone.
From-SVN: r113641
John David Anglin [Tue, 9 May 2006 00:36:11 +0000 (00:36 +0000)]
hpux-unwind.h (pa_fallback_frame_state): Handle return parameter relocation and relocation stubs.
* hpux-unwind.h (pa_fallback_frame_state): Handle return parameter
relocation and relocation stubs.
From-SVN: r113640
GCC Administrator [Tue, 9 May 2006 00:17:02 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r113638
Eric Christopher [Mon, 8 May 2006 22:16:31 +0000 (22:16 +0000)]
unwind-dw2-fde-darwin.c (examine_objects): Only check data section for ppc.
2006-05-08 Eric Christopher <echristo@apple.com>
* unwind-dw2-fde-darwin.c (examine_objects): Only check data
section for ppc.
From-SVN: r113634
Jan Hubicka [Mon, 8 May 2006 21:42:17 +0000 (23:42 +0200)]
re PR middle-end/25962 (Pointer (null) check after the use in cgraph.c)
PR middle-end/25962
* cgraphunit.c (decide_is_function_needed): When not optimizing even
unused static functions are needed.
* gcc.dg/pr25962.c: New.
From-SVN: r113633
Roger Sayle [Mon, 8 May 2006 21:09:49 +0000 (21:09 +0000)]
re PR target/27158 (ICE in extract_insn with -maltivec)
PR target/27158
* reload.c (find_reloads_toplev): Only return the simplified SUBREG
of a reg_equiv_constant if the result is a legitimate constant.
* gcc.target/powerpc/pr27158.c: New test case.
From-SVN: r113632
Laurent GUERBY [Mon, 8 May 2006 16:50:40 +0000 (16:50 +0000)]
re PR testsuite/27476 (ACATS: Ada testsuite Bourne shell compatibility problem on hpux)
2006-05-08 Laurent GUERBY <laurent@guerby.net>
PR testsuite/27476
* ada/acats/run_all.sh: Use test -z.
From-SVN: r113630
Francois-Xavier Coudert [Mon, 8 May 2006 09:59:09 +0000 (11:59 +0200)]
re PR fortran/18271 (INT is allowed in a specification expression)
PR libfortran/18271
* gfortran.dg/spec_expr_3.f90: New test.
From-SVN: r113627
Uros Bizjak [Mon, 8 May 2006 06:10:03 +0000 (08:10 +0200)]
re PR target/27277 (standard i387 constant loading insns (fldz, fld1) are not generated anymore)
PR target/27277
* config/i386/i386.c (ix86_rtx_costs) [FLOAT_EXTEND]: For
standard 80387 constants, raise the cost to prevent
compress_float_constant() to generate load from memory.
From-SVN: r113622
Kazu Hirata [Mon, 8 May 2006 05:17:54 +0000 (05:17 +0000)]
see.c, [...]: Fix comment typos.
* see.c, tree-flow-inline.h, tree-phinodes.c: Fix comment
typos.
From-SVN: r113621
Kazu Hirata [Mon, 8 May 2006 05:10:07 +0000 (05:10 +0000)]
* config/arm/constraints.md (c): Fix a typo.
From-SVN: r113620
Kazu Hirata [Mon, 8 May 2006 05:03:35 +0000 (05:03 +0000)]
Remove the svn:mime-type property.
From-SVN: r113619
H.J. Lu [Mon, 8 May 2006 03:43:07 +0000 (03:43 +0000)]
re PR target/24879 ([4.1]: SSE3 monitor intrinsic doesn't work in 64bit)
gcc/
2006-05-07 H.J. Lu <hongjiu.lu@intel.com>
PR target/24879
* config/i386/pmmintrin.h (_mm_monitor): Remove macro. Use
inline function.
(_mm_mwait): Likewise.
* config/i386/sse.md (sse3_mwait): Replace "mwait\t%0, %1" with
"mwait".
(sse3_monitor): Make it 32bit only.
(sse3_monitor64): New. 64bit monitor.
gcc/testsuite/
2006-05-07 H.J. Lu <hongjiu.lu@intel.com>
PR target/24879
* gcc.target/i386/monitor.c: New file.
From-SVN: r113617
Alan Modra [Mon, 8 May 2006 00:39:10 +0000 (00:39 +0000)]
pr27095.c: xfail *-*-darwin*.
* gcc.dg/pr27095.c: xfail *-*-darwin*.
From-SVN: r113616
Volker Reichelt [Mon, 8 May 2006 00:26:08 +0000 (00:26 +0000)]
re PR c++/27447 (ICE on invalid ptr-to-member-function)
PR c++/27447
* decl2.c (build_memfn_type): Skip invalid functions and class types.
* g++.dg/other/ptrmem7.C: New test.
From-SVN: r113615
GCC Administrator [Mon, 8 May 2006 00:17:25 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r113613
Volker Reichelt [Sun, 7 May 2006 21:15:33 +0000 (21:15 +0000)]
re PR target/27421 (ICE with invalid array in struct)
PR target/27421
* config/i386/i386.c (classify_argument): Skip fields with invalid
types.
* gcc.dg/array-9.c: New test.
From-SVN: r113609
Richard Guenther [Sun, 7 May 2006 21:03:55 +0000 (21:03 +0000)]
re PR middle-end/27409 (ICE in get_constraint_for_component_ref)
2006-05-07 Richard Guenther <rguenther@suse.de>
PR tree-optimization/27409
* tree-ssa-structalias.c (get_constraint_for_component_ref):
Do not try to find zero-sized subvars.
* gcc.dg/torture/pr27409.c: New testcase.
From-SVN: r113607
Paolo Carlini [Sun, 7 May 2006 16:52:41 +0000 (16:52 +0000)]
type_traits (integral_constant<>::value): Define.
2006-05-07 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits (integral_constant<>::value): Define.
* testsuite/tr1/4_metaprogramming/helper_classes/static_definition.cc:
New.
From-SVN: r113605
Steven Bosscher [Sun, 7 May 2006 16:36:41 +0000 (16:36 +0000)]
ChangeLog: haste made me write my name, but I'm only the commiter of revision 113603.
* ChangeLog: haste made me write my name, but I'm only the
commiter of revision 113603.
From-SVN: r113604
Steven Bosscher [Sun, 7 May 2006 16:33:30 +0000 (16:33 +0000)]
re PR fortran/27378 ([4.1 only] ICE on unexpected ELSE statement)
PR fortran/27378
* parse.c (next_statement): Add check to avoid an ICE when
gfc_current_locus.lb is not set.
From-SVN: r113603
Tobias Schlüter [Sun, 7 May 2006 13:46:02 +0000 (15:46 +0200)]
re PR fortran/27457 (ICE in match_case_eos())
fortran/
PR fortran/27457
* match.c (match_case_eos): Error out on garbage following
CASE(...).
testsuite/
PR fortran/27457
* gfortran.dg/select_6.f90: New.
From-SVN: r113602
Richard Guenther [Sun, 7 May 2006 13:07:22 +0000 (13:07 +0000)]
re PR middle-end/27136 (Compile failure with -O -ffast-math)
2006-05-07 Richard Guenther <rguenther@suse.de>
PR tree-optimization/27136
* tree-ssa-loop-niter.c (get_val_for): Correct function
comment, assert requirements.
(loop_niter_by_eval): Stop processing if the iterated
value did not simplify.
* gcc.dg/torture/pr27136.c: New testcase.
From-SVN: r113601
Mircea Namolaru [Sun, 7 May 2006 08:21:25 +0000 (08:21 +0000)]
opts.c (flag_see): remove its setting at -O3.
2006-05-07 Mircea Namolaru <namolaru@il.ibm.com>
* opts.c (flag_see): remove its setting at -O3.
From-SVN: r113598
Paul Thomas [Sun, 7 May 2006 05:46:26 +0000 (05:46 +0000)]
re PR fortran/24813 (ICE with scalarization LEN of character types)
2006-05-07 Paul Thomas <pault@gcc.gnu.org>
PR fortran/24813
* trans-array.c (get_array_ctor_strlen): Remove static attribute.
* trans.h: Add prototype for get_array_ctor_strlen.
* trans-intrinsic.c (gfc_conv_intrinsic_len): Switch on EXPR_ARRAY
and call get_array_ctor_strlen.
2006-05-07 Paul Thomas <pault@gcc.gnu.org>
PR fortran/24813
* gfortran.dg/char_cons_len_1.f90: New test.
From-SVN: r113594
GCC Administrator [Sun, 7 May 2006 00:17:25 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r113592
Richard Earnshaw [Sat, 6 May 2006 23:19:48 +0000 (23:19 +0000)]
r113612@merlin: rearnsha | 2006-05-07 00:19:18 +0100
r113612@merlin: rearnsha | 2006-05-07 00:19:18 +0100
* genpeep.c (main): Make insn-peep.c depend on flags.h.
* arm/constraints.md: New file.
* arm.h (REG_CLASS_FROM_LETTER_P): Delete.
(CONST_OK_FOR_ARM_LETTER, CONST_OK_FOR_THUMB_LETTER)
(CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_ARM_LETTER)
(CONST_DOUBLE_OK_FOR_LETTER_P, EXTRA_CONSTRAINT_STR_ARM)
(CONSTRAINT_LEN, EXTRA_CONSTRAINT_THUMB, EXTRA_CONSTRAINT_STR)
(EXTRA_MEMORY_CONSTRAINT): Likewise.
* arm.md: Include constraints.md.
(thumb_movsi_insn): Use satisfies_constraint_J.
(movhi, movqi): Use satisfies_constraint_I.
From-SVN: r113588
Andreas Tobler [Sat, 6 May 2006 20:57:18 +0000 (22:57 +0200)]
jni.exp (gcj_jni_compile_c_to_so): Add check for HP-UX and add appropriate extension for shared libraries, sl.
2006-05-06 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Add check for
HP-UX and add appropriate extension for shared libraries, sl.
(gcj_jni_test_one): Likewise.
* testsuite/lib/libjava.exp (libjava_find_lib): Add sl to the shared
library extensions.
From-SVN: r113587
Anatoly Sokolov [Sat, 6 May 2006 20:49:20 +0000 (00:49 +0400)]
avr.h (CRT_BINUTILS_SPECS): Fixed crt* file name for atmega645 device.
* config/avr/avr.h (CRT_BINUTILS_SPECS): Fixed crt* file name for
atmega645 device.
From-SVN: r113585
Volker Reichelt [Sat, 6 May 2006 20:40:23 +0000 (20:40 +0000)]
re PR c++/27427 (ICE with invalid template parameter)
PR c++/27427
* pt.c (convert_nontype_argument): Return early on invalid arguments.
* g++.dg/template/incomplete2.C: New test.
From-SVN: r113582
Richard Guenther [Sat, 6 May 2006 17:37:53 +0000 (17:37 +0000)]
re PR tree-optimization/27151 (ICE with -ftree-vectorize with mixed types)
2006-05-06 Richard Guenther <rguenther@suse.de>
PR tree-optimization/27151
* tree-vect-transform.c (vectorizable_condition): Punt on
values that have a different type than the condition.
* gcc.dg/vect/pr27151.c: New testcase.
From-SVN: r113580
Stanislaw Skowronek [Sat, 6 May 2006 16:06:40 +0000 (16:06 +0000)]
Credit Stanislaw Skowronek in 2006-05-02 change.
From-SVN: r113577
Volker Reichelt [Sat, 6 May 2006 00:44:29 +0000 (00:44 +0000)]
* pt.c (process_template_parm): Remove superfluous temporary.
From-SVN: r113573
Volker Reichelt [Sat, 6 May 2006 00:40:40 +0000 (00:40 +0000)]
re PR c++/27430 (ICE on array of voids as template parameter)
PR c++/27430
* pt.c (process_template_parm): Handle erroneous non-type parameters.
* g++.dg/template/void1.C: New test.
From-SVN: r113572
Volker Reichelt [Sat, 6 May 2006 00:32:27 +0000 (00:32 +0000)]
re PR c++/27423 (ICE on default argument for void parameter)
PR c++/27423
* typeck.c (convert_for_initialization): Skip erroneous types.
* g++.dg/other/void2.C: New test.
From-SVN: r113571
Volker Reichelt [Sat, 6 May 2006 00:19:40 +0000 (00:19 +0000)]
re PR c++/27422 (ICE with invalid function argument)
PR c++/27422
* typeck.c (convert_arguments): Return early on args with
invalid types.
* g++.dg/conversion/void1.C: New test.
From-SVN: r113568
GCC Administrator [Sat, 6 May 2006 00:17:22 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r113566
Steven G. Kargl [Fri, 5 May 2006 23:14:50 +0000 (23:14 +0000)]
invoke.texi: Update description of -fall-intrinsics
2006-05-05 Steven G. Kargl <kargls@comcast.net>
* invoke.texi: Update description of -fall-intrinsics
* options.c (gfc_post_options): Disable -Wnonstd-intrinsics if
-fall-intrinsics is used.
(gfc_handle_option): Permit -Wno-nonstd-intrinsics.
From-SVN: r113562
Aldy Hernandez [Fri, 5 May 2006 19:57:38 +0000 (19:57 +0000)]
c-parser.c (c_parser_cast_expression): Only insert casts into hash table if pointer.
PR/21391
* c-parser.c (c_parser_cast_expression): Only insert casts into
hash table if pointer.
* function.c (used_types_insert_helper): Rename from
used_types_insert.
(used_types_insert): Call used_types_insert_helper.
* function.h (used_types_insert): Accept only one argument.
* cp/typeck.c (build_static_cast_1): Save casted types in used types
hash table.
(build_reinterpret_cast_1): Same.
* cp/rtti.c (build_dynamic_cast_1): Same.
* testsuite/g++.dg/other/unused1.C: New.
From-SVN: r113561
Volker Reichelt [Fri, 5 May 2006 19:48:26 +0000 (19:48 +0000)]
re PR objc/27240 (ICE with invalid fields)
PR objc/27240
* objc-act.c (objc_is_public): Return early on invalid type.
* objc.dg/member-1.m: New test.
From-SVN: r113559
David Edelsohn [Fri, 5 May 2006 15:23:38 +0000 (11:23 -0400)]
rs6000.md: Mark all "X" constraints for clobbered scratch with output modifier.
* config/rs6000/rs6000.md: Mark all "X" constraints for clobbered
scratch with output modifier.
From-SVN: r113555
Tom Tromey [Fri, 5 May 2006 15:05:20 +0000 (15:05 +0000)]
re PR libgcj/27294 (gij throws NullPointerException, when the interpreter is not enabled)
PR libgcj/27294:
* java/lang/natVMClassLoader.cc (defineClass): Throw
VirtualMachineError if no interpreter configured.
From-SVN: r113554
Steve Ellcey [Fri, 5 May 2006 15:04:03 +0000 (15:04 +0000)]
* gfortran.dg/large_real_kind_form_io_2.f90: Use nearest.
From-SVN: r113553
Francois-Xavier Coudert [Fri, 5 May 2006 11:08:23 +0000 (13:08 +0200)]
re PR libfortran/26985 (incorrect matmul result)
PR libfortran/26985
* m4/matmul.m4: Correct the condition for the memset call,
and remove the unneeded call to size0.
* generated/matmul_r4.c: Regenerate.
* generated/matmul_r8.c: Regenerate.
* generated/matmul_r10.c: Regenerate.
* generated/matmul_r16.c: Regenerate.
* generated/matmul_c4.c: Regenerate.
* generated/matmul_c8.c: Regenerate.
* generated/matmul_c10.c: Regenerate.
* generated/matmul_c16.c: Regenerate.
* generated/matmul_i4.c: Regenerate.
* generated/matmul_i8.c: Regenerate.
* generated/matmul_i16.c: Regenerate.
* gfortran.dg/matmul_2.f90: New test.
From-SVN: r113552
Laurent GUERBY [Fri, 5 May 2006 08:43:04 +0000 (08:43 +0000)]
run_all.sh: Use sync when main not found.
2005-05-05 Laurent GUERBY <laurent@guerby.net>
* ada/acats/run_all.sh: Use sync when main not found.
From-SVN: r113550
Tom Tromey [Fri, 5 May 2006 00:59:48 +0000 (00:59 +0000)]
java-tree.h (uses_jv_markobj_p): Declare.
* java-tree.h (uses_jv_markobj_p): Declare.
* class.c (uses_jv_markobj_p): Removed.
* boehm.c (PROCEDURE_OBJECT_DESCRIPTOR): New define.
(get_boehm_type_descriptor): Use it.
(uses_jv_markobj_p): Moved from class.c. Return bool.
From-SVN: r113549
GCC Administrator [Fri, 5 May 2006 00:17:24 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r113547
Tom Tromey [Thu, 4 May 2006 23:20:40 +0000 (23:20 +0000)]
* java-tree.def (THIS_EXPR): Now a tcc_expression.
From-SVN: r113542
David Edelsohn [Thu, 4 May 2006 20:40:52 +0000 (20:40 +0000)]
re PR target/26481 (ICE with -mcpu=power and struct passing)
PR target/26481
* config/rs6000/rs6000.md (stmsi_power): Mark clobber constraint
with output modifier.
From-SVN: r113539
Kazu Hirata [Thu, 4 May 2006 20:13:37 +0000 (20:13 +0000)]
re PR target/26765 (ICE in in extract_insn with __thread and optimization)
gcc/
PR target/26765
* config/mips/mips.c (mips_symbolic_address_p): Return true
for SYMBOL_TLSGD, SYMBOL_TLSLDM, SYMBOL_DTPREL, SYMBOL_TPREL,
SYMBOL_GOTTPREL, and SYMBOL_TLS.
gcc/testsuite/
PR target/26765
* gcc.target/mips/pr26765.c: New.
From-SVN: r113536
Andrew Haley [Thu, 4 May 2006 18:44:53 +0000 (18:44 +0000)]
[multiple changes]
2006-05-04 Andrew Haley <aph@redhat.com>
* class.c (make_field_value): Always build_address_of fdecl if
there is an initializer.
2006-05-03 Andrew Haley <aph@redhat.com>
PR libgcj/27352
* expr.c (maybe_rewrite_invocation): New function.
(rewrite_arglist_getclass): Likewise.
(rules): New.
(expand_invoke): Call maybe_rewrite_invocation.
* parse.y (patch_invoke): Likewise.
* java-tree.h: (maybe_rewrite_invocation): New function.
2006-05-03 Andrew Haley <aph@redhat.com>
PR libgcj/27352
* java/lang/Class.java (getClassLoader(Class)): New.
forName(String, Class): New.
* java/lang/natClass.cc (getClassLoader(Class)): New.
2006-05-02 Andrew Haley <aph@redhat.com>
* prims.cc (_Jv_NewMultiArray): Check for phantom class.
From-SVN: r113532
Tom Tromey [Thu, 4 May 2006 17:35:05 +0000 (17:35 +0000)]
re PR libgcj/26861 (VirtualMachineError in interperter.)
PR libgcj/26861:
* interpret.cc (run) <insn_getfield>: Removed 0xffff check.
<insn_putfield>: Likewise.
(NULLCHECK): Define unconditionally.
* link.cc (ensure_class_linked): Removed dead code.
From-SVN: r113531
Tom Tromey [Thu, 4 May 2006 15:29:22 +0000 (15:29 +0000)]
Class.h (JV_STATE_LOADING): Added comment.
* java/lang/Class.h (JV_STATE_LOADING): Added comment.
* Makefile.in: Rebuilt.
* Makefile.am (nat_source_files): Added natSystemClassLoader.cc.
* gnu/gcj/runtime/natSystemClassLoader.cc: New file.
* gnu/gcj/runtime/SystemClassLoader.java (nativeClasses):
New field.
(loadedClasses): Removed.
(findClass): Declare.
(addClass): Add to nativeClasses, not loadedClasses.
From-SVN: r113530
Bernd Schmidt [Thu, 4 May 2006 15:14:43 +0000 (15:14 +0000)]
bfin: New directory.
* gcc.target/bfin: New directory.
* gcc.target/bfin/bfin.exp: New file.
* gcc.target/bfin/frmul.c: New file.
* gcc.target/bfin/arith.c: New file.
* gcc.target/bfin/mul-combine.c: New file.
* gcc.target/bfin/shift.c: New file.
From-SVN: r113529
Richard Guenther [Thu, 4 May 2006 13:56:52 +0000 (13:56 +0000)]
re PR tree-optimization/14287 ([tree-ssa] does not remove unnecessary extensions)
2006-05-04 Richard Guenther <rguenther@suse.de>
PR tree-optimization/14287
PR tree-optimization/14844
PR tree-optimization/19792
PR tree-optimization/21608
PR tree-optimization/27090
* tree-ssa-pre.c (try_combine_conversion): New function.
(compute_avail): After constructing the value-handle
expression, use try_combine_conversion to combine NOP_EXPRs
with previous value-handle expressions and use the result if it
is available.
* gcc.dg/tree-ssa/ssa-fre-1.c: New testcase.
* gcc.dg/tree-ssa/ssa-fre-2.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-3.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-4.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-5.c: Likewise.
From-SVN: r113527
Andrew Haley [Thu, 4 May 2006 13:54:15 +0000 (13:54 +0000)]
re PR libgcj/26858 (NullPointerException not generated for large classes...)
2006-05-04 Andrew Haley <aph@redhat.com>
PR java/26858
* testsuite/libjava.lang/PR26858.xfail: Delete.
From-SVN: r113526