Jakub Jelinek
eeb1d9e08e
re PR middle-end/27416 (ICE on invalid firstprivate/lastprivate)
...
PR middle-end/27416
* omp-low.c (build_outer_var_ref): If VAR is reference in orphaned
construct, return *VAR.
* libgomp.fortran/pr27416-1.f90: New test.
From-SVN: r113788
2006-05-15 11:59:30 +02:00
Jakub Jelinek
5b8fdd1fad
re PR fortran/27446 (ICE on OpenMP array REDUCTION clause)
...
PR fortran/27446
* trans-openmp.c (gfc_trans_omp_array_reduction): Ensure
OMP_CLAUSE_REDUCTION_{INIT,MERGE} are set to BIND_EXPR.
From-SVN: r113787
2006-05-15 11:57:54 +02:00
Volker Reichelt
7e497d0c1f
re PR c++/27582 (ICE with invalid template parameter)
...
PR c++/27582
* pt.c (any_dependent_template_arguments_p): Return early on invalid
argument list.
* g++.dg/template/dependent-args1.C: New test.
From-SVN: r113784
2006-05-15 09:34:59 +00:00
Volker Reichelt
0616700cbc
re PR c++/27581 (ICE using this-pointer in static member function)
...
PR c++/27581
* search.c (adjust_result_of_qualified_name_lookup): Skip on
invalid context_class.
* g++.dg/lookup/this1.C: New test.
From-SVN: r113781
2006-05-15 09:19:30 +00:00
Volker Reichelt
ad47b891c8
re PR c++/27315 (ICE with ill-placed expression)
...
PR c++/27315
* pt.c (do_decl_instantiation): Return early on invalid decl.
* g++.dg/template/operator6.C: New test.
* g++.dg/template/incomplete3.C: New test.
From-SVN: r113778
2006-05-15 09:07:17 +00:00
Volker Reichelt
7c60008e24
re PR c++/27559 (ICE on templated operator new)
...
PR c++/27559
* pt.c (push_template_decl_real): Return error_mark_node instead
of broken decl.
* g++.dg/template/new4.C: New test.
From-SVN: r113777
2006-05-15 08:58:25 +00:00
Volker Reichelt
dca56f77ee
re PR c++/27496 (ICE on broken templated friend)
...
PR c++/27496
* pt.c (tsubst_friend_class): Return early on invalid friend
declarations.
* g++.dg/template/void2.C: New test.
From-SVN: r113776
2006-05-15 08:52:29 +00:00
H.J. Lu
05b449213c
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
2006-05-14 20:09:17 -07:00
GCC Administrator
eaebb9cbc1
Daily bump.
...
From-SVN: r113770
2006-05-15 00:17:18 +00:00
Kaz Kojima
a17097692b
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
2006-05-14 22:51:12 +00:00
Alexandre Oliva
c497db75ba
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
2006-05-14 20:37:56 +00:00
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