Roger Sayle
faf32f4aa5
re PR middle-end/26729 (bad bitops folding)
...
PR middle-end/26729
* gcc.dg/pr26729-1.c: New test case.
From-SVN: r113764
2006-05-14 17:20:01 +00:00
Roger Sayle
56106c2ed0
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
2006-05-14 16:07:12 +00:00
Roger Sayle
c505fc0613
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
2006-05-14 15:48:11 +00:00
Bernhard Fischer
f9a4b91e4b
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
2006-05-14 12:48:49 +02:00
Bernhard Fischer
fc92a2d4e6
README: Fix typo.
...
2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
* README: Fix typo.
From-SVN: r113757
2006-05-14 12:36:31 +02:00
Nick Clifton
834094639e
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
2006-05-14 07:44:21 +00:00
Richard Guenther
75c3fb73f0
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
2006-05-14 03:49:50 +00:00
GCC Administrator
623f4a4daa
Daily bump.
...
From-SVN: r113752
2006-05-14 00:17:15 +00:00
Steven Bosscher
a1b53177b7
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
2006-05-13 23:14:47 +00:00
Tom Tromey
628cacef24
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
2006-05-13 21:21:28 +00:00
Zdenek Dvorak
becd11a1d8
pr27003.c: New test.
...
* gcc.dg/pr27003.c: New test.
From-SVN: r113743
2006-05-13 19:52:31 +00:00
Sandra Loosemore
ccce691788
add self to MAINTAINERS
...
From-SVN: r113741
2006-05-13 14:46:39 -04:00
Tom Tromey
6aaaa44beb
sources.am, [...]: Rebuilt.
...
* sources.am, Makefile.in: Rebuilt.
* java/text/DateFormat.java: Removed.
From-SVN: r113740
2006-05-13 18:41:38 +00:00
Tom Tromey
8d288df0fe
sources.am, [...]: Rebuilt.
...
* sources.am, Makefile.in: Rebuilt.
* gnu/java/net/protocol/jar/Connection.java: Removed.
* java/net/JarURLConnection.java: Removed.
From-SVN: r113739
2006-05-13 17:58:50 +00:00
Tom Tromey
793da155cd
java-interp.h (_Jv_InterpMethod::dump_object): Removed declaration.
...
* include/java-interp.h (_Jv_InterpMethod::dump_object): Removed
declaration.
From-SVN: r113738
2006-05-13 15:49:07 +00:00
Peter Doerfler
6c4e9c60ad
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
2006-05-13 10:49:40 +00:00
Tom Tromey
143145daa4
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
2006-05-13 02:16:22 +00:00
GCC Administrator
a2038cd64d
Daily bump.
...
From-SVN: r113733
2006-05-13 00:17:10 +00:00
Steve Ellcey
38ccd98ad2
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
2006-05-12 19:52:34 +00:00
Anton Blanchard
824bceb033
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
2006-05-12 15:44:29 -04:00
Andreas Krebbel
651a36e333
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
2006-05-12 07:51:35 +00:00
GCC Administrator
66ec80f982
Daily bump.
...
From-SVN: r113719
2006-05-12 00:17:30 +00:00
Bryce McKinlay
c1ef8ca9ac
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
2006-05-11 23:20:07 +01:00
Jason Merrill
a33259d0bd
* lib/scanasm.exp (scan-not-hidden): Fix typo.
...
From-SVN: r113714
2006-05-11 17:49:35 -04:00
Francois-Xavier Coudert
e983d070ff
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
2006-05-11 21:37:10 +00:00
Bryce McKinlay
64c9036718
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
2006-05-11 21:53:04 +01:00
Joseph Myers
1dbf8c2405
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
2006-05-11 20:56:21 +01:00
David Daney
498f0cf38a
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
2006-05-11 17:52:42 +00:00
Jan Hubicka
5d342ef9c5
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
2006-05-11 16:11:37 +00:00
Volker Reichelt
7ebcc52c5a
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
2006-05-11 15:07:45 +00:00
Volker Reichelt
81e61fb4e6
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
2006-05-11 14:58:54 +00:00
Volker Reichelt
80cdd94a6c
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
2006-05-11 14:41:03 +00:00
Andrew Haley
c6c097b26c
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
2006-05-11 09:57:53 +00:00
Richard Guenther
497cfe246b
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
2006-05-11 08:29:40 +00:00
GCC Administrator
34b95ebe0e
Daily bump.
...
From-SVN: r113690
2006-05-11 00:17:24 +00:00
Janis Johnson
65c3758b85
target-supports-dg.exp (check-flags): New.
...
* lib/target-supports-dg.exp (check-flags): New.
(dg-skip-if): Move flag checks.
From-SVN: r113686
2006-05-10 22:13:39 +00:00
Steve Ellcey
403ac6aca3
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
2006-05-10 21:58:34 +00:00
Steve Ellcey
21f638b9b0
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
2006-05-10 21:55:34 +00:00
Richard Earnshaw
29e339b95a
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
2006-05-10 21:54:06 +00:00
Richard Guenther
5ac4f3bb75
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
2006-05-10 19:41:46 +00:00
Paolo Carlini
0fc125eaee
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
2006-05-10 18:37:54 +00:00
Thomas Koenig
3a7e3b6994
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
2006-05-10 18:26:51 +00:00
Kazu Hirata
0e2df6898a
* gcc.target/arm/pr27387.C: Fix a comment typo.
...
From-SVN: r113678
2006-05-10 17:50:34 +00:00
Andrew Haley
e68dbbf5a3
natClassLoader.cc: Add comments.
...
2006-05-10 Andrew Haley <aph@redhat.com>
* java/lang/natClassLoader.cc: Add comments.
From-SVN: r113677
2006-05-10 17:50:09 +00:00
Andrew Haley
e080b30bd7
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
2006-05-10 17:49:23 +00:00
Kazu Hirata
e43d8b8a0e
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
2006-05-10 17:35:24 +00:00
Andrew Haley
fdafd4613f
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
2006-05-10 17:17:20 +00:00
Marc Glisse
05a79eb6bc
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
2006-05-10 15:43:20 +00:00
Francois-Xavier Coudert
7fdf6c6980
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
2006-05-10 14:58:48 +00:00
Francois-Xavier Coudert
8e785b78e8
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
2006-05-10 14:51:26 +00:00