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
Joseph Myers [Thu, 4 May 2006 13:21:11 +0000 (14:21 +0100)]
* config/mips/linux64.h (DWARF_OFFSET_SIZE): Remove.
From-SVN: r113524
Tobias Schlüter [Thu, 4 May 2006 13:07:07 +0000 (15:07 +0200)]
simplify.c (ascii_table): Fix wrong entry.
* simplify.c (ascii_table): Fix wrong entry.
From-SVN: r113523
Jan Hubicka [Thu, 4 May 2006 12:42:55 +0000 (14:42 +0200)]
re PR middle-end/25962 (Pointer (null) check after the use in cgraph.c)
PR middle-end/25962
* cgraphunit.c (verify_cgraph_node): Fix cgraph_hash testing.
From-SVN: r113522
Bernd Schmidt [Thu, 4 May 2006 11:10:03 +0000 (11:10 +0000)]
bfin.c: Include "optabs.h".
* config/bfin/bfin.c: Include "optabs.h".
(bfin_rtx_costs): Some costs for vector operations, to allow combine
to do more work.
(enum bfin_builtins): Add a number of fractional and vector builtins.
(bfin_init_builtins): Likewise.
(struct builtin_description, bdesc_2arg, bdesc_1arg): New.
(safe_vector_operand, bfin_expand_binop_builtin,
bfin_expand_unop_builtin): New functions.
(bfin_expand_builtin): Handle the new builtins.
* config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define
__ADSPBLACKFIN__.
From-SVN: r113521
Bernd Schmidt [Thu, 4 May 2006 11:03:41 +0000 (11:03 +0000)]
predicates.md (const01_rtx): Tell generator programs that this only matches CONST_INTs.
* config/bfin/predicates.md (const01_rtx): Tell generator programs
that this only matches CONST_INTs. All users changed to VOIDmode
operands.
From-SVN: r113520
Douglas Gregor [Thu, 4 May 2006 09:37:56 +0000 (09:37 +0000)]
re PR libstdc++/27404 (Rope iterators are not InputIterators)
2006-05-04 Douglas Gregor <dgregor@cs.indiana.edu>
PR libstdc++/27404
* include/ext/rope (_Rope_const_iterator<>::operator*() const,
_Rope_iterator<>::operator*() const): Add.
From-SVN: r113519
Razya Ladelsky [Thu, 4 May 2006 09:19:02 +0000 (09:19 +0000)]
[multiple changes]
2006-05-04 Leehod Baruch <leehod@il.ibm.com>
* see.c: New file.
* Makefile.in (OBJS-common): Add see.o.
(see.o): Add dependencies.
* common.opt (fsee): New flag for the see optimization was added.
* opts.c (flag_see): Initialized.
* passes.c (init_optimization_passes, pass_see): New pass.
* rtl.h (see_main): Declaration as extern.
* timevar.def (TV_SEE): New.
* tree-pass.h (pass_see): Declaration as extern.
* invoke.texi (-fsee): Document.
* recog.c (validate_simplify_insn): New function.
* recog.h (validate_simplify_insn): Declaration as extern.
* df-problems.c (df_chain_dump): Check for NULL.
2006-05-04 Kenneth Zadeck <zadeck@naturalbridge.com>
Daniel Berlin <dberlin@dberlin.org>
* cfgrtl.c (insert_insn_bb_end_new): New function.
* basic-block.h (insert_insn_bb_end_new): Declaration as extern.
2006-05-04 Leehod Baruch <leehod.baruch@weizmann.ac.il>
* df.h (struct web_entry): Moved from web.c.
(union_defs): Declaration as extern.
(unionfind_root): Likewise.
(unionfind_union): Likewise.
* web.c (struct web_entry): Moved to df.h.
(unionfind_root): Remove static declaration.
(unionfind_union): Likewise.
(union_defs): Likewise and generalize to use callback function.
(web_main): Update arguments for union_defs function call.
From-SVN: r113518
Richard Guenther [Thu, 4 May 2006 07:44:37 +0000 (07:44 +0000)]
re PR tree-optimization/26447 (verify_flow_info failed, load PRE with java program)
2006-05-04 Richard Guenther <rguenther@suse.de>
PR tree-optimization/26447
* tree-ssa-pre.c (realify_fake_stores): For necessary loads
produce SSA_NAME copies before the store stmt to avoid
breaking exception handling.
From-SVN: r113517
Jakub Jelinek [Thu, 4 May 2006 06:43:50 +0000 (08:43 +0200)]
re PR tree-optimization/27285 (ivopts postgresql miscompilation)
PR tree-optimization/27285
* gcc.c-torture/execute/pr27285.c: New test.
From-SVN: r113516
Jakub Jelinek [Thu, 4 May 2006 06:34:06 +0000 (08:34 +0200)]
re PR middle-end/27388 (omp_is_private issues)
PR middle-end/27388
* gimplify.c (omp_is_private): If var is shared in some outer context,
return false instead of true. Stop searching on parallel context
boundary.
* gcc.dg/gomp/pr27388-1.c: New test.
* gcc.dg/gomp/pr27388-2.c: New test.
* gcc.dg/gomp/pr27388-3.c: New test.
From-SVN: r113514
Jakub Jelinek [Thu, 4 May 2006 06:29:16 +0000 (08:29 +0200)]
re PR c++/27359 (ICE with missing initialization of iteration variable in parallel for loop)
PR c++/27359
* parser.c (cp_parser_omp_for_loop): Only call
cp_parser_abort_tentative_parse if cp_parser_parse_definitely was not
called.
* g++.dg/gomp/pr27359.C: New test.
From-SVN: r113513
Alexandre Oliva [Thu, 4 May 2006 02:02:01 +0000 (02:02 +0000)]
re PR java/8260 (gcj -fprofile-arcs doesn't work)
PR java/8260
* coverage.c: Use get_gcov_unsigned_t() instead of
unsigned_type_node all over.
From-SVN: r113512
GCC Administrator [Thu, 4 May 2006 00:17:19 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r113508
Steven G. Kargl [Wed, 3 May 2006 21:24:11 +0000 (21:24 +0000)]
re PR fortran/26896 (Description of implementation of -Wtabs/-Wno-tabs reversed)
2006-03-30 Steven G. Kargl <kargls@comcast.net>
PR fortran/26896
* lang.opt: Fix -Wtab description
PR fortran/20248
* lang.opt: New flag -fall-intrinsics.
* invoke.texi: Document option.
* gfortran.h (options_t): New member flag_all_intrinsics.
* options.c (gfc_init_options, gfc_handle_option): Set new option.
sort nearby misplaced options.
* intrinsic.c (add_sym, make_generic, make_alias): Use it.
2006-03-30 Steven G. Kargl <kargls@comcast.net>
* gfortran.dg/iargc.f90: New test.
From-SVN: r113502
Andrew MacLeod [Wed, 3 May 2006 17:13:37 +0000 (17:13 +0000)]
re PR tree-optimization/27381 (ice on valid code with -O)
2006-05-02 Andrew MacLeod <amacleod@redhat.com>
PR tree-optimization/27381
* tree-phinodes.c (remove_phi_arg_num): When moving a phi argument,
maintain the same immediate_use links.
* tree-ssa-operands.c (dump_immediate_uses_for): Show iteration marker
node rather than segfaulting.
From-SVN: r113499
Jakub Jelinek [Wed, 3 May 2006 12:51:33 +0000 (14:51 +0200)]
re PR fortran/27395 (Problem with arrays in the OpenMP REDUCTION clause in Fortran)
PR fortran/27395
* gimplify.c (gimplify_scan_omp_clauses): Compare OMP_CLAUSE_CODE
rather than TREE_CODE to OMP_CLAUSE_REDUCTION. Set also GOVD_SEEN
bit for OMP_CLAUSE_REDUCTION_PLACEHOLDER.
* testsuite/libgomp.fortran/pr27395-1.f90: New test.
* testsuite/libgomp.fortran/pr27395-2.f90: New test.
From-SVN: r113494
Daniel Berlin [Wed, 3 May 2006 03:19:22 +0000 (03:19 +0000)]
re PR tree-optimization/26626 (ICE in in add_virtual_operand)
2006-05-02 Daniel Berlin <dberlin@dberlin.org>
Fix PR tree-optimization/26626
* tree-ssa-structalias.c (compute_points_to_sets): For now, solve
always.
* tree-ssa-operands.c (access_can_touch_variable): Allow
typecasting through union pointers.
From-SVN: r113493
Mark Mitchell [Wed, 3 May 2006 00:19:40 +0000 (00:19 +0000)]
re PR c++/27102 (ICE with invalid class name in function template)
PR c++/27102
* decl.c (grokdeclarator): Robustify checks for defining members
of incomplete types.
PR c++/27102
* g++.dg/template/crash49.C: New test.
From-SVN: r113492
GCC Administrator [Wed, 3 May 2006 00:18:06 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r113490
Steve Ellcey [Tue, 2 May 2006 22:16:13 +0000 (22:16 +0000)]
re PR testsuite/27032 (gcc.c-torture/compile/pr23237.c fails)
PR testsuite/27032
* gcc.c-torture/compile/pr23237.c: Move dg-do line.
From-SVN: r113484
Jakub Jelinek [Tue, 2 May 2006 20:03:38 +0000 (22:03 +0200)]
re PR c++/26943 ([gomp] firstprivate + lastprivate uses inefficient barrier)
PR c++/26943
* omp-low.c (maybe_lookup_decl_in_outer_ctx): New function.
(build_outer_var_ref): Use maybe_lookup_decl_in_outer_ctx
to find if var will be a global variable even in the nested context.
(omp_copy_decl): Only check for global variable at the end, it might
be overridden in outer contexts.
(scan_sharing_clauses): For global variables don't create a field.
(lower_rec_input_clauses): Do nothing for global shared variables.
Emit a barrier at the end of ILIST if there were any decls in both
firstprivate and lastprivate clauses.
(lower_send_clauses): Do nothing for global variables except for
COPYIN.
* testsuite/libgomp.c/pr26943-1.c: New test.
* testsuite/libgomp.c/pr26943-2.c: New test.
* testsuite/libgomp.c/pr26943-3.c: New test.
* testsuite/libgomp.c/pr26943-4.c: New test.
* testsuite/libgomp.c++/pr27337.C: Remove barrier.
* testsuite/libgomp.c++/pr26943.C: New test.
From-SVN: r113483
Zdenek Dvorak [Tue, 2 May 2006 19:59:21 +0000 (21:59 +0200)]
tree.c (unsigned_type_for, [...]): Make sure a type of the correct signedness is returned.
* tree.c (unsigned_type_for, signed_type_for): Make sure a type
of the correct signedness is returned.
From-SVN: r113482
Jeff Law [Tue, 2 May 2006 19:54:20 +0000 (13:54 -0600)]
re PR tree-optimization/27364 (VRP miscompiles some unsigned math)
PR tree-optimization/27364
* tree-vrp.c (vrp_int_const_binop): Fix detection of overflow from
multiply expressions.
* gcc.c-torture/execute/pr27364.c: New test.
From-SVN: r113481
Bryce McKinlay [Tue, 2 May 2006 17:41:40 +0000 (17:41 +0000)]
libjava.exp (test_libjava): Test bytecode->native -findirect-dispatch compilation.
2006-05-02 Bryce McKinlay <mckinlay@redhat.com>
* testsuite/lib/libjava.exp (test_libjava): Test bytecode->native
-findirect-dispatch compilation.
From-SVN: r113477
Mark Mitchell [Tue, 2 May 2006 15:59:50 +0000 (15:59 +0000)]
re PR c++/27309 (ICE on invalid constructor definition)
PR c++/27309
* class.c (add_method): Call grok_special_member_properties.
* decl.c (grokdeclarator): Don't call it here.
(copy_fn_p): A TEMPLATE_DECL is never a copy constructor or
assignment operator. Set TYPE_HAS_CONSTURCTOR if DECL is a
constructor.
(start_method): Don't call grok_special_member_properties.
* method.c (implicitly_declare_fn): Likewise.
* pt.c (instantiate_class_template): Likewise.
* decl2.c (grokfield): Likewise.
PR c++/27309
* g++.dg/parser/ctor5.C: New test.
From-SVN: r113473
Tom Tromey [Tue, 2 May 2006 15:54:00 +0000 (15:54 +0000)]
* tree-flow-inline.h (op_iter_init_phiuse): Fixed typo.
From-SVN: r113472
Kazu Hirata [Tue, 2 May 2006 15:06:35 +0000 (15:06 +0000)]
re PR target/27387 (Thumb thunk is not PIC)
gcc/
PR target/27387
* arm.c (arm_output_mi_thunk): Use pc-relative addressing when
-mthumb -fPIC are used.
testsuite/
PR target/27387
* gcc.target/arm/arm.exp: New.
* gcc.target/arm/pr27387.C: Likewise.
From-SVN: r113468
Kazu Hirata [Tue, 2 May 2006 15:04:52 +0000 (15:04 +0000)]
re PR target/27387 (Thumb thunk is not PIC)
gcc/
PR target/27387
* arm.c (arm_output_mi_thunk): Use pc-relative addressing when
-mthumb -fPIC are used.
testsuite/
PR target/27387
* gcc.target/arm/arm.exp: New.
* gcc.target/arm/pr27387.C: Likewise.
From-SVN: r113467
Paul Thomas [Tue, 2 May 2006 14:13:17 +0000 (14:13 +0000)]
re PR fortran/27269 (Segfault with EQUIVALENCEs in modules together with ONLY clauses)
2006-05-02 Paul Thomas <pault@gcc.gnu.org>
PR fortran/27269
* module.c: Add static flag in_load_equiv.
(mio_expr_ref): Return if no symtree and in_load_equiv.
(load_equiv): If any of the equivalence members have no symtree, free
the equivalence and the associated expressions.
PR fortran/27324
* trans-common.c (gfc_trans_common): Invert the order of calls to
finish equivalences and gfc_commit_symbols.
PR fortran/27269
PR fortran/27324
* gfortran.dg/module_equivalence_2.f90: New test.
From-SVN: r113465
Daniel Jacobowitz [Tue, 2 May 2006 14:00:22 +0000 (14:00 +0000)]
Correct changelog date in last commit.
From-SVN: r113463
Daniel Jacobowitz [Tue, 2 May 2006 13:50:58 +0000 (13:50 +0000)]
* texi2pod.pl: Handle -I.
From-SVN: r113462
Zdenek Dvorak [Tue, 2 May 2006 13:16:37 +0000 (13:16 +0000)]
Fix mistake in my previous commit (n_of_executions_at_least should be
named n_of_executions_at_most).
From-SVN: r113461
Stanislaw Skowronek [Tue, 2 May 2006 12:57:52 +0000 (12:57 +0000)]
re PR target/25871 (TRAMPOLINE_TEMPLATE uses 32bit moves on 64bit code)
2006-05-02 Joshua Kinard <kumba@gentoo.org>
PR target/25871
* gcc/config/mips/mips.h (TRAMPOLINE_TEMPLATE): Avoid 32-bit moves
with 64-bit pointers.
From-SVN: r113460
Paul Brook [Tue, 2 May 2006 12:49:48 +0000 (12:49 +0000)]
arm.c (add_minipool_forward_ref): Check if insn and pool overlap.
2006-05-02 Paul Brook <paul@codesourcery.com>
* config/arm/arm.c (add_minipool_forward_ref): Check if insn
and pool overlap.
(create_fix_barrier): Check that a suitable barrier location is
found.
(arm_reorg): Include ftmp->address in allowable range of addresses.
From-SVN: r113459
David Billinghurst [Tue, 2 May 2006 11:38:35 +0000 (11:38 +0000)]
re PR ada/27366 (ada build fails as cygwin does not have clearenv)
2006-05-02 David Billinghurst <David.Billinghurst@riotinto.com>
PR ada/27366
* ada/env.c (__gnat_clearenv): Use unsetenv() to clear
environment on Cygwin.
From-SVN: r113457
Jakub Jelinek [Tue, 2 May 2006 10:44:55 +0000 (12:44 +0200)]
re PR middle-end/27337 (OpenMP ICE in expand_expr_real_1 at expr.c:6814)
PR middle-end/27337
* gimplify.c (gimplify_scan_omp_clauses): Handle INDIRECT_REF
around RESULT_DECL for result passed by reference.
(gimplify_expr): Call omp_notice_variable when RESULT_DECL is seen.
* omp-low.c (use_pointer_for_field): Don't look at
DECL_HAS_VALUE_EXPR_P for RESULT_DECLs.
(scan_omp_1): Call remap_decl on RESULT_DECLs.
(lower_rec_input_clauses): Don't allocate VLA memory for the second
time or var for passing by reference for
OMP_CLAUSE_LASTPRIVATE_FIRSTPRIVATE clauses. Allow creation of
TREE_ADDRESSABLE variables when passing by reference.
* omp-low.c (dump_omp_region): Fix output formatting.
cp/
* cp-gimplify.c (cxx_omp_privatize_by_reference): New function.
* cp-tree.h (cxx_omp_privatize_by_reference): New prototype.
* cp-objcp-common.h (LANG_HOOKS_OMP_PRIVATIZE_BY_REFERENCE): Define.
testsuite/
* g++.dg/gomp/pr27337-1.C: New test.
* g++.dg/gomp/pr27337-2.C: New test.
libgomp/
* testsuite/libgomp.c++/pr27337.C: New test.
From-SVN: r113456
Jakub Jelinek [Tue, 2 May 2006 10:41:44 +0000 (12:41 +0200)]
re PR middle-end/27328 (ICE with -fopenmp and goto)
PR middle-end/27328
* omp-low.c (remove_exit_barrier): Handle NULL exit_bb.
(expand_omp_parallel): Likewise.
* tree-cfg.c (move_sese_region_to_fn): Likewise.
* gcc.dg/gomp/pr27328.c: New test.
From-SVN: r113455
Jakub Jelinek [Tue, 2 May 2006 10:40:21 +0000 (12:40 +0200)]
re PR middle-end/27325 (ICE with enabled exceptions and -fopenmp)
PR middle-end/27325
* omp-low.c (lower_omp_sections): Call maybe_catch_exception
on statement list containing also constructors and destructors.
(lower_omp_single, lower_omp_for, lower_omp_parallel): Likewise.
* g++.dg/gomp/pr27325.C: New test.
From-SVN: r113454
Jakub Jelinek [Tue, 2 May 2006 10:38:12 +0000 (12:38 +0200)]
re PR middle-end/27310 (ICE in duplicate_eh_regions)
PR middle-end/27310
* except.c (duplicate_eh_regions): Fix clearing of
cfun->eh->region_array entries.
* g++.dg/gomp/pr27310.C: New test.
From-SVN: r113453
Ben Elliston [Tue, 2 May 2006 05:53:01 +0000 (15:53 +1000)]
Trivial formatting fixes accumulated over the last few months.
From-SVN: r113452
DJ Delorie [Tue, 2 May 2006 00:59:56 +0000 (20:59 -0400)]
Fix typo.
From-SVN: r113448
DJ Delorie [Tue, 2 May 2006 00:55:43 +0000 (20:55 -0400)]
configure.ac (gcc_cv_nm): Don't use an in-tree nm if build!=host.
* configure.ac (gcc_cv_nm): Don't use an in-tree nm if
build!=host.
(gcc_cv_objdump): Likewise.
* configure: Regenerated.
From-SVN: r113447
GCC Administrator [Tue, 2 May 2006 00:17:16 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r113445
DJ Delorie [Tue, 2 May 2006 00:17:08 +0000 (20:17 -0400)]
configure.in: Restore CFLAGS if GM P isn't present.
* configure.in: Restore CFLAGS if GM P isn't present.
* configure: Regenerate.
From-SVN: r113444
Kazu Hirata [Mon, 1 May 2006 21:55:02 +0000 (21:55 +0000)]
re PR target/27374 (*arm_movdi_vfp in config/arm/vfp.md has wrong output templates)
PR target/27374
* config/arm/vfp.md (*arm_movdi_vfp): Correct the output
templates for case 3 and 4.
From-SVN: r113436