H.J. Lu [Mon, 15 May 2006 03:09:17 +0000 (03:09 +0000)]
Make-lang.in (ada/decl.o): Replace target.h with $(TARGET_H).
gcc/ada/
2006-05-14 H.J. Lu <hongjiu.lu@intel.com>
* Make-lang.in (ada/decl.o): Replace target.h with $(TARGET_H).
(ada/misc.o): Likewise.
(ada/utils.o): Likewise.
gcc/cp/
2006-05-14 H.J. Lu <hongjiu.lu@intel.com>
* Make-lang.in (cp/decl.o): Add dependency on $(TARGET_H).
(cp/decl2.o): Likewise.
(cp/typeck.o): Likewise.
(cp/cvt.o): Likewise.
(cp/parser.o): Likewise.
(cp/call.o): Replace target.h with $(TARGET_H).
gcc/fortran/
2006-05-14 H.J. Lu <hongjiu.lu@intel.com>
* Make-lang.in (fortran/options.o): Depend on $(TARGET_H).
gcc/java/
2006-05-14 H.J. Lu <hongjiu.lu@intel.com>
* Make-lang.in (java/decl.o): Add dependency on $(TARGET_H).
(java/expr.o): Replace target.h with $(TARGET_H).
(java/parse.o): Likewise.
gcc/objcp/
2006-05-14 H.J. Lu <hongjiu.lu@intel.com>
* Make-lang.in (objcp/objcp-decl.o): Add dependency on
$(TARGET_H).
gcc/treelang/
2006-05-14 H.J. Lu <hongjiu.lu@intel.com>
* Make-lang.in (treelang/treetree.o): Add dependency on
$(TARGET_H).
From-SVN: r113773
GCC Administrator [Mon, 15 May 2006 00:17:18 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r113770
Kaz Kojima [Sun, 14 May 2006 22:51:12 +0000 (22:51 +0000)]
re PR rtl-optimization/27406 (gcc.c-torture/execute/built-in-setjmp.c fails on sh64-*-linux-gnu with -O2)
PR rtl-optimization/27406
* bt-load.c (migrate_btr_def): Skip the block having abnormal
edges.
From-SVN: r113766
Alexandre Oliva [Sun, 14 May 2006 20:37:56 +0000 (20:37 +0000)]
pt.c (build_non_dependent_expr): Leave ADDR_EXPR of COMPONENT_REF alone.
gcc/cp/ChangeLog:
* pt.c (build_non_dependent_expr): Leave ADDR_EXPR of
COMPONENT_REF alone.
gcc/testsuite/ChangeLog:
* g++.dg/template/dependent-expr5.C: New test.
From-SVN: r113765
Roger Sayle [Sun, 14 May 2006 17:20:01 +0000 (17:20 +0000)]
re PR middle-end/26729 (bad bitops folding)
PR middle-end/26729
* gcc.dg/pr26729-1.c: New test case.
From-SVN: r113764
Roger Sayle [Sun, 14 May 2006 16:07:12 +0000 (16:07 +0000)]
re PR rtl-optimization/27538 (execute/
20030128-1.c FAILs)
PR rtl-optimization/27538
* combine.c (expand_compound_operation): Call gen_lowpart
before calling simplify_shift_const.
From-SVN: r113763
Roger Sayle [Sun, 14 May 2006 15:48:11 +0000 (15:48 +0000)]
re PR rtl-optimization/22563 (performance regression for gcc newer than 2.95)
PR rtl-optimization/22563
* expmed.c (store_fixed_bit_field): When using AND and IOR to store
a fixed width bitfield, always force the intermediates into psuedos.
From-SVN: r113762
Bernhard Fischer [Sun, 14 May 2006 10:48:49 +0000 (12:48 +0200)]
re PR bootstrap/27501 (Shell compatibility problem)
2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
PR 27501
* mkconfig.sh: Use operator = instead of == for test.
From-SVN: r113758
Bernhard Fischer [Sun, 14 May 2006 10:36:31 +0000 (12:36 +0200)]
README: Fix typo.
2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
* README: Fix typo.
From-SVN: r113757
Nick Clifton [Sun, 14 May 2006 07:44:21 +0000 (07:44 +0000)]
dwarf2out.c (dbx_reg_number): Check return value from LEAF_REG_REMAP and only use it if it is valid.
* dwarf2out.c (dbx_reg_number): Check return value from
LEAF_REG_REMAP and only use it if it is valid.
(multiple_reg_loc_descriptor): Likewise.
From-SVN: r113756
Richard Guenther [Sun, 14 May 2006 03:49:50 +0000 (03:49 +0000)]
config.host: Append i386/x-cygwin to host_xmake_file.
2006-05-13 Richard Guenther <rguenther@suse.de>
* config.host <i[34567]86-*-cygwin*>: Append i386/x-cygwin to
host_xmake_file.
From-SVN: r113754
GCC Administrator [Sun, 14 May 2006 00:17:15 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r113752
Steven Bosscher [Sat, 13 May 2006 23:14:47 +0000 (23:14 +0000)]
df-core.c (df_bb_regno_last_use_find): Do not look for dataflow information attached to non-INSNs such as NOTEs.
* df-core.c (df_bb_regno_last_use_find): Do not look for dataflow
information attached to non-INSNs such as NOTEs.
(df_bb_regno_first_def_find, df_bb_regno_last_def_find): Likewise.
From-SVN: r113748
Tom Tromey [Sat, 13 May 2006 21:21:28 +0000 (21:21 +0000)]
sources.am, [...]: Rebuilt.
* sources.am, Makefile.in: Rebuilt.
* Makefile.am (nat_source_files): Mention natVMChannels.cc, not
natChannels.cc.
* java/nio/channels/natVMChannels.cc: Renamed from
natChannels.cc.
* java/nio/channels/Channels.java: Removed.
* java/nio/channels/natChannels.cc: Removed.
* java/nio/channels/VMChannels.java: New file.
From-SVN: r113745
Zdenek Dvorak [Sat, 13 May 2006 19:52:31 +0000 (21:52 +0200)]
pr27003.c: New test.
* gcc.dg/pr27003.c: New test.
From-SVN: r113743
Sandra Loosemore [Sat, 13 May 2006 18:46:39 +0000 (14:46 -0400)]
add self to MAINTAINERS
From-SVN: r113741
Tom Tromey [Sat, 13 May 2006 18:41:38 +0000 (18:41 +0000)]
sources.am, [...]: Rebuilt.
* sources.am, Makefile.in: Rebuilt.
* java/text/DateFormat.java: Removed.
From-SVN: r113740
Tom Tromey [Sat, 13 May 2006 17:58:50 +0000 (17:58 +0000)]
sources.am, [...]: Rebuilt.
* sources.am, Makefile.in: Rebuilt.
* gnu/java/net/protocol/jar/Connection.java: Removed.
* java/net/JarURLConnection.java: Removed.
From-SVN: r113739
Tom Tromey [Sat, 13 May 2006 15:49:07 +0000 (15:49 +0000)]
java-interp.h (_Jv_InterpMethod::dump_object): Removed declaration.
* include/java-interp.h (_Jv_InterpMethod::dump_object): Removed
declaration.
From-SVN: r113738
Peter Doerfler [Sat, 13 May 2006 10:49:40 +0000 (10:49 +0000)]
hashtable (identity<>::operator(), [...]): Return by const ref.
2006-05-13 Peter Doerfler <gcc@pdoerfler.com>
* include/tr1/hashtable (identity<>::operator(),
extract1st<>::operator()): Return by const ref.
From-SVN: r113737
Tom Tromey [Sat, 13 May 2006 02:16:22 +0000 (02:16 +0000)]
sources.am, [...]: Rebuilt.
* sources.am, Makefile.in: Rebuilt.
* java/util/logging/LogManager.java: Removed.
* java/util/logging/Logger.java (resetLogger): New method, from
Classpath.
* java/io/RandomAccessFile.java: Removed.
* gnu/java/nio/channels/FileChannelImpl.java (create): New
method.
(FileChannelImpl): Now private.
* java/io/FileInputStream.java: Removed.
* java/io/FileOutputStream.java: Removed.
* java/security/AccessControlContext.java: Removed.
* java/lang/ThreadLocal.java: Removed.
* java/lang/InheritableThreadLocal.java: Removed.
* java/lang/Thread.java (locals): New field.
(getThreadLocals): New method.
* java/lang/natThread.cc (finish_): Clear 'locals'.
From-SVN: r113735
GCC Administrator [Sat, 13 May 2006 00:17:10 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r113733
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