Richard Guenther [Wed, 4 Mar 2009 12:36:56 +0000 (12:36 +0000)]
re PR tree-optimization/39358 (Wrong aliasing warning with lists)
2009-03-04 Richard Guenther <rguenther@suse.de>
PR tree-optimization/39358
* tree-ssa-structalias.c (do_sd_constraint): Fix check for
escaped_id and callused_id.
(solve_graph): Likewise.
* g++.dg/warn/Wstrict-aliasing-bogus-escape-2.C: New testcase.
* g++.dg/warn/Wstrict-aliasing-bogus-escape-3.C: Likewise.
From-SVN: r144602
Joseph Myers [Wed, 4 Mar 2009 10:48:40 +0000 (10:48 +0000)]
* es.po: Update.
From-SVN: r144600
Richard Guenther [Wed, 4 Mar 2009 09:02:59 +0000 (09:02 +0000)]
re PR tree-optimization/39339 (SRA miscompilation of vte)
2009-03-04 Richard Guenther <rguenther@suse.de>
PR tree-optimization/39339
* tree-sra.c (try_instantiate_multiple_fields): Make it
no longer ICE on the above.
* gcc.c-torture/execute/pr39339.c: New testcase.
From-SVN: r144598
Joseph Myers [Wed, 4 Mar 2009 01:57:29 +0000 (01:57 +0000)]
emit-rtl.c (adjust_address_1): Reduce offset to a signed value that fits within Pmode.
* emit-rtl.c (adjust_address_1): Reduce offset to a signed value
that fits within Pmode.
testsuite:
* gcc.c-torture/compile/
20090303-1.c,
gcc.c-torture/compile/
20090303-2.c: New tests.
From-SVN: r144595
GCC Administrator [Wed, 4 Mar 2009 00:16:45 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r144594
Joseph Myers [Tue, 3 Mar 2009 22:48:24 +0000 (22:48 +0000)]
* es.po: Update.
From-SVN: r144591
Steve Ellcey [Tue, 3 Mar 2009 18:33:40 +0000 (18:33 +0000)]
re PR middle-end/10109 (documentation of target macro LIBCALL_VALUE)
PR middle-end/10109
* tm.texi (LIBCALL_VALUE): Update description.
From-SVN: r144586
Steve Ellcey [Tue, 3 Mar 2009 18:27:42 +0000 (18:27 +0000)]
re PR middle-end/34443 (The GCC manual about section variable attribute is incorrect)
PR middle-end/34443
* doc/extend.texi (section): Update description.
From-SVN: r144582
H.J. Lu [Tue, 3 Mar 2009 18:08:01 +0000 (18:08 +0000)]
re PR tree-optimization/39345 (ICE in copy_tree_body_r, at tree-inline.c:1020)
2009-03-03 H.J. Lu <hongjiu.lu@intel.com>
PR middle-end/39345
* tree-inline.c (remapped_type): New.
(can_be_nonlocal): Call remapped_type instead of remap_type.
From-SVN: r144581
Andrew John Hughes [Tue, 3 Mar 2009 17:03:51 +0000 (17:03 +0000)]
Cleanup new JDK directory support in GCJ.
2009-03-03 Andrew John Hughes <ahughes@redhat.com>
* Makefile.am:
Remove dangling src.zip and javac symlinks.
Fix java.security symlink to use toolexeclibdir
as classpath/resource/Makefile.am does.
* Makefile.in,
* configure: Regenerated.
* configure.ac: Drop hard-coded prefix,
thus removing sdk_dir and making jre_dir="jre".
Map x86_64 to amd64 as used by OpenJDK.
* gcj/Makefile.in,
* include/Makefile.in,
* testsuite/Makefile.in: Regenerated.
From-SVN: r144576
Jakub Jelinek [Tue, 3 Mar 2009 16:43:42 +0000 (17:43 +0100)]
re PR fortran/39354 (bad codegen for openmp atomics (Intel64 Fortran logical ops))
PR fortran/39354
* gimplify.c (goa_stabilize_expr): Handle tcc_comparison,
TRUTH_ANDIF_EXPR and TRUTH_ORIF_EXPR.
* gfortran.dg/gomp/pr39354.f90: New test.
From-SVN: r144575
Richard Guenther [Tue, 3 Mar 2009 13:05:53 +0000 (13:05 +0000)]
re PR tree-optimization/39272 (-D_FORTIFY_SOURCE=2 no longer warns with new glibc headers)
2009-03-03 Richard Guenther <rguenther@suse.de>
PR middle-end/39272
* tree.c (tree_nonartificial_location): New function.
* tree.h (tree_nonartificial_location): Declare.
* builtins.c (expand_builtin_memory_chk): Provide location
of the call location for artificial function pieces.
(maybe_emit_chk_warning): Likewise.
(maybe_emit_sprintf_chk_warning): Likewise.
(maybe_emit_free_warning): Likewise.
* expr.c (expand_expr_real_1): Likewise.
From-SVN: r144573
Jakub Jelinek [Tue, 3 Mar 2009 11:29:51 +0000 (12:29 +0100)]
re PR tree-optimization/39343 (Wrong result for __builtin_object_size (x, 1))
PR tree-optimization/39343
* tree-ssa-ccp.c (maybe_fold_offset_to_address): Don't check if
COMPONENT_REF t has ARRAY_TYPE.
* gcc.dg/pr39343.c: New test.
From-SVN: r144571
Ira Rosen [Tue, 3 Mar 2009 07:42:26 +0000 (07:42 +0000)]
re PR tree-optimization/39248 (FAIL: gcc.dg/vect/vect-complex-1.c)
PR tree-optimization/39248
* gcc.dg/vect/vect-complex-1.c: Add attribute aligned
to the arrays.
* gcc.dg/vect/vect-iv-6.c: Don't expect to fail to vectorize
on targets without vector misalignment support.
* lib/target-supports.exp
(check_effective_target_vect_short_mult): Add
check_effective_target_arm32.
From-SVN: r144569
Sebastian Pop [Tue, 3 Mar 2009 03:47:22 +0000 (03:47 +0000)]
re PR middle-end/39335 (ICE in GCC 4.4 with -O[123] -floop-interchange)
2009-03-02 Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/39335
* tree-parloops.c (canonicalize_loop_ivs): Call fold_convert
when the type precision of the induction variable should be
larger than the type precision of nit.
(gen_parallel_loop): Update use of canonicalize_loop_ivs.
* graphite.c (graphite_loop_normal_form): Same.
* tree-flow.h (canonicalize_loop_ivs): Update declaration.
* testsuite/gcc.dg/graphite/pr39335_1.c: New.
* testsuite/gcc.dg/graphite/pr39335.c: New.
From-SVN: r144564
Bruce Korb [Tue, 3 Mar 2009 00:35:19 +0000 (00:35 +0000)]
fix ChangeLog date
From-SVN: r144561
GCC Administrator [Tue, 3 Mar 2009 00:16:44 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r144560
Uros Bizjak [Mon, 2 Mar 2009 20:58:39 +0000 (21:58 +0100)]
i386.md (ST?_REG, MM?_REG): New constants.
* config/i386/i386.md (ST?_REG, MM?_REG): New constants.
(*call_1_rex64_ms_sysv): Use named constants instead of magic
numbers to describe clobbbered registers.
(*call_value_0_rex64_ms_sysv): Ditto.
* config/i386/mmx.md (emms): Ditto.
(femms): Ditto.
From-SVN: r144554
Richard Sandiford [Mon, 2 Mar 2009 20:26:22 +0000 (20:26 +0000)]
mips.c (mips_mdebug_abi_name): Fix the handling of ABI_64.
gcc/
* config/mips/mips.c (mips_mdebug_abi_name): Fix the handling
of ABI_64.
From-SVN: r144552
Ulrich Weigand [Mon, 2 Mar 2009 19:32:05 +0000 (19:32 +0000)]
spu.c (TARGET_SECTION_TYPE_FLAGS): Define.
* config/spu/spu.c (TARGET_SECTION_TYPE_FLAGS): Define.
(spu_section_type_flags): New function.
From-SVN: r144550
Benjamin Kosnik [Mon, 2 Mar 2009 18:55:54 +0000 (18:55 +0000)]
pthread4.cc: Move...
2009-03-02 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/thread/pthread4.cc: Move...
* testsuite/21_strings/basic_string/pthread4.cc: ...here.
* testsuite/thread/pthread5.cc: Move...
* testsuite/23_containers/list/pthread5.cc: ...here.
* testsuite/thread/pthread6.cc: Move...
* testsuite/23_containers/map/pthread6.cc: ...here.
* testsuite/thread/pthread7-rope.cc: Move...
* testsuite/ext/rope/pthread7-rope.cc: ...here.
* testsuite/thread/guard.cc: Move...
* testsuite/18_support/pthread_guard.cc: ...here.
* testsuite/thread/18185.cc: Move...
* testsuite/21_strings/basic_string/pthread18185.cc: ...here.
* testsuite/thread/pthread1.cc: Move...
* testsuite/23_containers/list/pthread1.cc: ...here.
* testsuite/thread/pthread2.cc: Move...
* testsuite/27_io/basic_ofstream/pthread2.cc: ...here.
* testsuite/thread/pthread3.cc: Move...
* testsuite/27_io/basic_ostringstream/pthread3.cc: ...here.
* testsuite/libstdc++-dg/conformance.exp: Remove thread directory.
* testsuite/thread: Remove.
From-SVN: r144547
Benjamin Kosnik [Mon, 2 Mar 2009 18:49:03 +0000 (18:49 +0000)]
pthread4.cc: Move...
2009-03-02 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/thread/pthread4.cc: Move...
* testsuite/21_strings/basic_string/pthread4.cc: ...here.
* testsuite/thread/pthread5.cc: Move...
* testsuite/23_containers/list/pthread5.cc: ...here.
* testsuite/thread/pthread6.cc: Move...
* testsuite/23_containers/map/pthread6.cc: ...here.
* testsuite/thread/pthread7-rope.cc: Move...
* testsuite/ext/rope/pthread7-rope.cc: ...here.
* testsuite/thread/guard.cc: Move...
* testsuite/18_support/pthread_guard.cc: ...here.
* testsuite/thread/18185.cc: Move...
* testsuite/21_strings/basic_string/pthread18185.cc: ...here.
* testsuite/thread/pthread1.cc: Move...
* testsuite/23_containers/list/pthread1.cc: ...here.
* testsuite/thread/pthread2.cc: Move...
* testsuite/27_io/basic_ofstream/pthread2.cc: ...here.
* testsuite/thread/pthread3.cc: Move...
* testsuite/27_io/basic_ostringstream/pthread3.cc: ...here.
From-SVN: r144546
H.J. Lu [Mon, 2 Mar 2009 17:58:10 +0000 (09:58 -0800)]
return-4.c: Scan andl/andq instead of andl.
2009-03-02 H.J. Lu <hongjiu.lu@intel.com>
* gcc.target/i386/stackalign/return-4.c: Scan andl/andq instead
of andl.
* gcc.target/i386/stackalign/return-5.c: Likewise.
* gcc.target/i386/stackalign/return-6.c: Likewise.
From-SVN: r144544
Uros Bizjak [Mon, 2 Mar 2009 13:46:05 +0000 (14:46 +0100)]
i386.h (CONDITIONAL_REGISTER_USAGE): Do not copy reg_class_contents of FLOAT_REGS into a temporary.
* config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Do not copy
reg_class_contents of FLOAT_REGS into a temporary.
From-SVN: r144542
Richard Guenther [Mon, 2 Mar 2009 11:52:15 +0000 (11:52 +0000)]
re PR middle-end/39318 (internal compiler error: verify_stmts failed)
2009-03-02 Richard Guenther <rguenther@suse.de>
Ira Rosen <irar@il.ibm.com>
PR tree-optimization/39318
* tree-vect-transform.c (vectorizable_call): Transfer the EH region
information to the vectorized statement.
Co-Authored-By: Ira Rosen <irar@il.ibm.com>
From-SVN: r144541
GCC Administrator [Mon, 2 Mar 2009 00:16:44 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r144538
Eric Botcazou [Sun, 1 Mar 2009 23:04:50 +0000 (23:04 +0000)]
Fix latest entry.
From-SVN: r144534
Uros Bizjak [Sun, 1 Mar 2009 21:58:31 +0000 (22:58 +0100)]
i386.h (CONDITIONAL_REGISTER_USAGE): Use defined names instead of magic constants for REX SSE registers.
* config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Use defined
names instead of magic constants for REX SSE registers.
From-SVN: r144533
Uros Bizjak [Sun, 1 Mar 2009 21:30:24 +0000 (22:30 +0100)]
i386.h (CONDITIONAL_REGISTER_USAGE): Do not shadow "i" variable.
* config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Do not
shadow "i" variable.
From-SVN: r144532
Richard Guenther [Sun, 1 Mar 2009 20:49:14 +0000 (20:49 +0000)]
re PR tree-optimization/39331 (OpenMP and return-slot-optimization generate invalid gimple)
2009-03-01 Richard Guenther <rguenther@suse.de>
PR tree-optimization/39331
* omp-low.c (lower_send_shared_vars): Do not receive new
values for the reference of DECL_BY_REFERENCE parms or results.
From-SVN: r144531
Eric Botcazou [Sun, 1 Mar 2009 19:01:14 +0000 (19:01 +0000)]
Fix long lines.
From-SVN: r144530
Jan Hubicka [Sun, 1 Mar 2009 18:47:08 +0000 (19:47 +0100)]
re PR debug/39267 (gdb testsuite regressions)
PR debug/39267
* tree.h (BLOCK_NONLOCALIZED_VARS, BLOCK_NUM_NONLOCALIZED_VARS,
BLOCK_NONLOCALIZED_VAR): New macros.
(tree_block): Add nonlocalized_vars.
* dwarf2out.c (gen_formal_parameter_die, gen_variable_die, gen_decl_die): Add
origin argument; allow generation of die with origin at hand only.
(gen_member_die, gen_type_die_with_usage, force_decl_die,
declare_in_namespace, gen_namescpace_die, dwarf2out_decl): Update use of gen_*.
(gen_block_die): Fix checking for unused blocks.
(process_scope_var): Break out from .... ; work with origins only.
(decls_for_scope) ... here; process nonlocalized list.
(dwarf2out_ignore_block): Look for nonlocalized vars.
* tree-ssa-live.c (remove_unused_scope_block_p): Look for nonlocalized vars.
(dump_scope_block): Dump them.
* tree-inline.c (remap_decls): Handle nonlocalized vars.
(remap_block): Likewise.
(can_be_nonlocal): New predicate.
(copy_bind_expr, copy_gimple_bind): Update use of remap_block.
From-SVN: r144529
Ralf Wildenhues [Sun, 1 Mar 2009 17:49:31 +0000 (17:49 +0000)]
backport: Support GNU/kOpenSolaris.
Backport from git Libtool:
2009-01-19 Robert Millan <rmh@aybabtu.com>
Support GNU/kOpenSolaris.
* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
(_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
(_LT_LANG_CXX_CONFIG) [kopensolaris*-gnu]: Recognize
GNU/kOpenSolaris.
libjava/classpath/
* configure: Regenerate.
libjava/
* configure: Regenerate.
libssp/
* configure: Regenerate.
libobjc/
* configure: Regenerate.
libstdc++-v3/
* configure: Regenerate.
libgfortran/
* configure: Regenerate.
boehm-gc/
* configure: Regenerate.
gcc/
* configure: Regenerate.
libmudflap/
* configure: Regenerate.
zlib/
* configure: Regenerate.
libffi/
* configure: Regenerate.
libgomp/
* configure: Regenerate.
From-SVN: r144527
Ralf Wildenhues [Sun, 1 Mar 2009 12:20:33 +0000 (12:20 +0000)]
optc-gen.awk: No need to duplicate option flags twice.
gcc/
* optc-gen.awk: No need to duplicate option flags twice.
Reuse help texts for duplicate options which do not have
any.
From-SVN: r144526
Ralf Wildenhues [Sun, 1 Mar 2009 11:29:32 +0000 (11:29 +0000)]
gcc.c (display_help): Document --version.
gcc/
* gcc.c (display_help): Document --version.
From-SVN: r144525
Ralf Wildenhues [Sun, 1 Mar 2009 11:27:41 +0000 (11:27 +0000)]
gcc.c (main): If print_help_list and verbose_flag...
gcc/
* gcc.c (main): If print_help_list and verbose_flag, ensure
driver output comes before subprocess output.
From-SVN: r144524
Ralf Wildenhues [Sun, 1 Mar 2009 11:26:06 +0000 (11:26 +0000)]
optc-gen.awk: Assign all remaining fields to help string...
gcc/
* optc-gen.awk: Assign all remaining fields to help string,
space-separated, for multi-line help in *.opt.
From-SVN: r144523
Ralf Wildenhues [Sun, 1 Mar 2009 11:24:03 +0000 (11:24 +0000)]
check_warning_flags.sh: Update flag exceptions.
contrib/
* check_warning_flags.sh: Update flag exceptions.
gcc/
* doc/invoke.texi (Warning Options): -Wsync-nand is C/C++ only.
-Wno-pedantic-ms-format is for MinGW targets only.
From-SVN: r144522
Ralf Wildenhues [Sun, 1 Mar 2009 11:21:16 +0000 (11:21 +0000)]
options.texi (Option file format): Fix bad indentation, restoring dropped sentence.
gcc/
* doc/options.texi (Option file format): Fix bad indentation,
restoring dropped sentence.
From-SVN: r144518
Jan Hubicka [Sun, 1 Mar 2009 11:05:00 +0000 (12:05 +0100)]
* tree-inline.c (tree_function_versioning): Output debug info.
From-SVN: r144516
Jan Hubicka [Sun, 1 Mar 2009 11:02:30 +0000 (12:02 +0100)]
re PR debug/39267 (gdb testsuite regressions)
PR debug/39267
* tree-inline.c (setup_one_parameter): Do not copy propagate
arguments when not optimizing.
PR debug/39267
* gcc.dg/debug/dwarf2/inline1.c: New testcase.
From-SVN: r144515
Eric Botcazou [Sun, 1 Mar 2009 10:53:17 +0000 (10:53 +0000)]
re PR ada/39264 (gnat.dg/pack3.adb fails on powerpc64/s390x)
PR ada/39264
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Do no
call make_packable_type on fat pointer types.
<E_Array_Subtype>: Likewise.
<E_Record_Subtype>: Call make_packable_type on all record types
except for fat pointer types.
(make_packable_type): Likewise.
(gnat_to_gnu_field): Likewise.
From-SVN: r144514
Eric Botcazou [Sun, 1 Mar 2009 10:51:28 +0000 (10:51 +0000)]
Move entry
From-SVN: r144513
GCC Administrator [Sun, 1 Mar 2009 00:16:55 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r144501
H.J. Lu [Sat, 28 Feb 2009 22:29:25 +0000 (22:29 +0000)]
re PR target/39327 (Incorrect addsub/unpck patterns in sse.md)
2009-02-28 H.J. Lu <hongjiu.lu@intel.com>
PR target/39327
* config/i386/sse.md (avx_addsubv8sf3): Correct item bits.
(avx_addsubv4df3): Likewise.
(*avx_addsubv4sf3): Likewise.
(sse3_addsubv4sf3): Likewise.
(*avx_addsubv2df3): Likewise.
(sse3_addsubv2df3): Likewise.
(avx_unpckhps256): Correct item selectors.
(avx_unpcklps256): Likewise.
(avx_unpckhpd256): Likewise.
(avx_unpcklpd256): Likewise.
From-SVN: r144498
Jan Hubicka [Sat, 28 Feb 2009 22:14:43 +0000 (23:14 +0100)]
tree-inline.c (expand_call_inline): Avoid duplicate declarations of static vars.
* tree-inline.c (expand_call_inline): Avoid duplicate declarations of
static vars.
(copy_arguments_for_versioning): If var is declared don't declare it.
(tree_function_versioning): First setup substitutions and then copy
args.
From-SVN: r144497
Jan Hubicka [Sat, 28 Feb 2009 21:34:23 +0000 (22:34 +0100)]
re PR debug/39267 (gdb testsuite regressions)
PR debug/39267
* cgraph.h (varpool_output_debug_info): Remove.
* cgraphunit.c (varpool_output_debug_info): Remove.
* dwarf2out.c (deferred_locations_struct): New struct
(deferred_locations): New type.
(deferred_locations_list): New static var.
(deffer_location): New function.
(gen_variable_die): Use it.
(decls_for_scope): Output info on local static vars.
(dwarf2out_finish): Process deferred locations.
* varpool.c (varpool_output_debug_info): Remove.
From-SVN: r144496
Giovanni Bajo [Sat, 28 Feb 2009 20:47:01 +0000 (20:47 +0000)]
It has been a long time since I updated this....
From-SVN: r144494
Giovanni Bajo [Sat, 28 Feb 2009 18:13:31 +0000 (18:13 +0000)]
add alpha_if_semocolon fix
From-SVN: r144490
Eric Botcazou [Sat, 28 Feb 2009 17:29:55 +0000 (17:29 +0000)]
Makefile.in (cygwin/mingw): Revert accidental EH_MECHANISM change in r130816.
* gcc-interface/Makefile.in (cygwin/mingw): Revert accidental
EH_MECHANISM change in r130816.
From-SVN: r144488
GCC Administrator [Sat, 28 Feb 2009 00:16:57 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r144479
Eric Botcazou [Fri, 27 Feb 2009 20:17:29 +0000 (20:17 +0000)]
Fix long lines.
From-SVN: r144476
Jan Hubicka [Fri, 27 Feb 2009 19:49:42 +0000 (20:49 +0100)]
re PR debug/39267 (gdb testsuite regressions)
PR debug/39267
* tree.h (TREE_PROTECTED): Fix comment.
(BLOCK_HANDLER_BLOCK): Remove.
(struct tree_block): Remove handler_block add body_block.
(inlined_function_outer_scope_p): New.
(is_body_block): Remove.
* dbxout.c (dbxout_block): Remove BLOCK_HANDLER_BLOCK.
* dwarf2out.c (is_inlined_entry_point): Remove.
(add_high_low_attributes): Use inlined_function_outer_scope_p.
(gen_block_die): Use is_inlined_entry_point check; remove body block code.
* langhooks.h (struct lang_hooks): Remove no_bodu_blocks.
* gimplify.c (gimplify_expr): Gimplify body blocks.
* tree-ssa-live.c (remove_unused_scope_block_p): Allow removing wrapper block
with multiple subblocks.
(dump_scope_block): Prettier output; dump more flags and info.
(dump_scope_blocks): New.
(remove_unused_locals): Use dump_scope_blocks.
* tree-flow.h (dump_scope_blocks): Declare.
* tree-cfg.c (execute_build_cfg): Dump scope blocks.
* stmt.c (is_body_block): Remove.
* tree-inline.c (remap_block): Copy BODY_BLOCK info.
* langhooks-def.h (LANG_HOOKS_NO_BODY_BLOCKS): Remove.
From-SVN: r144474
Sebastian Pop [Fri, 27 Feb 2009 16:42:38 +0000 (16:42 +0000)]
re PR middle-end/39308 (ICE when compiling with -O[s123] -floop-interchange)
2009-02-27 Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/39308
* graphite.c (graphite_loop_normal_form): Do not call
number_of_iterations_exit from a gcc_assert.
From-SVN: r144470
Andreas Krebbel [Fri, 27 Feb 2009 14:56:19 +0000 (14:56 +0000)]
s390.c: (s390_swap_cmp): Look for conditional jumps if COND is NULL.
2009-02-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* gcc/config/s390/s390.c: (s390_swap_cmp): Look for conditional
jumps if COND is NULL.
(find_cond_jump): New function.
(s390_z10_optimize_cmp): Handling for reg-reg compares added.
* gcc/config/s390/s390.md: Remove z10_cobra attribute value.
From-SVN: r144466
Andreas Schwab [Fri, 27 Feb 2009 14:44:33 +0000 (14:44 +0000)]
Update e-mail address.
From-SVN: r144465
Andreas Schwab [Fri, 27 Feb 2009 09:56:42 +0000 (09:56 +0000)]
Add PR ref.
From-SVN: r144464
Andreas Schwab [Fri, 27 Feb 2009 09:54:25 +0000 (09:54 +0000)]
Makefile.in (srcdir): Set to @top_srcdir@ instead of @srcdir@.
gcc/ada/:
* Makefile.in (srcdir): Set to @top_srcdir@ instead of @srcdir@.
* gcc-interface/Makefile.in: Change all uses of $(srcdir),
$(fsrcdir) and $(fsrcpfx) to add ada subdir.
(AWK): Substitute.
(target_cpu_default): Substitute.
gnattools/:
* Makefile.in (fsrcdir): Point to gcc directory, not gcc/ada.
(INCLUDES_FOR_SUBDIR): Adjust.
(ADA_INCLUDES_FOR_SUBDIR): Adjust.
From-SVN: r144463
Tobias Burnus [Fri, 27 Feb 2009 07:45:47 +0000 (08:45 +0100)]
re PR fortran/39309 (.mod file versioning causes error instead of overwritting the file)
2009-02-27 Tobias Burnus <burnus@net-b.de>
PR fortran/39309
* module.c (read_md5_from_module_file): Add missing quote.
From-SVN: r144462
Tobias Burnus [Fri, 27 Feb 2009 06:44:59 +0000 (07:44 +0100)]
re PR fortran/39309 (.mod file versioning causes error instead of overwritting the file)
2009-02-27 Tobias Burnus <burnus@net-b.de>
PR fortran/39309
* module.c (read_md5_from_module_file): Include mod version
in had-changed test.
From-SVN: r144461
GCC Administrator [Fri, 27 Feb 2009 00:16:41 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r144460
H.J. Lu [Thu, 26 Feb 2009 19:59:38 +0000 (19:59 +0000)]
re PR c++/37789 (ICE with __FUNCTION__)
gcc/cp
2009-02-26 H.J. Lu <hongjiu.lu@intel.com>
PR c++/37789
* parser.c (cp_parser_mem_initializer): Return error_mark_node
if cp_parser_mem_initializer_id returns error_mark_node.
gcc/testsuite/
2009-02-26 H.J. Lu <hongjiu.lu@intel.com>
PR c++/37789
* other/pr37789.C: New.
From-SVN: r144451
Uros Bizjak [Thu, 26 Feb 2009 18:48:34 +0000 (19:48 +0100)]
alpha.h (alpha_expand_mov): Return false if force_const_mem returns NULL_RTX.
* config/alpha/alpha.h (alpha_expand_mov): Return false if
force_const_mem returns NULL_RTX.
From-SVN: r144450
Paul Thomas [Thu, 26 Feb 2009 18:43:50 +0000 (18:43 +0000)]
re PR fortran/39295 (Too strict interface conformance check)
2009-02-26 Paul Thomas <pault@gcc.gnu.org>
PR fortran/39295
* interface.c (compare_type_rank_if): Return 1 if the symbols
are the same and deal with external procedures where one is
identified to be a function or subroutine by usage but the
other is not.
2009-02-26 Paul Thomas <pault@gcc.gnu.org>
PR fortran/39295
* gfortran.dg/interface_25.f90: New test.
* gfortran.dg/interface_26.f90: New test.
From-SVN: r144449
H.J. Lu [Thu, 26 Feb 2009 15:31:11 +0000 (07:31 -0800)]
Split ChangeLog to ChangeLog-2007 and ChangeLog-2008.
From-SVN: r144448
H.J. Lu [Thu, 26 Feb 2009 15:26:52 +0000 (07:26 -0800)]
Correct year.
From-SVN: r144447
Paul Thomas [Thu, 26 Feb 2009 06:23:42 +0000 (06:23 +0000)]
re PR fortran/39292 (ICE in gfc_conv_array_initializer, at fortran/trans-array.c:3884)
2009-02-26 Paul Thomas <pault@gcc.gnu.org>
PR fortran/39292
* trans-array.c (gfc_conv_array_initializer): Convert all
expressions rather than ICEing.
2009-02-26 Paul Thomas <pault@gcc.gnu.org>
PR fortran/39292
* gfortran.dg/initialization_22.f90: New test.
From-SVN: r144444
GCC Administrator [Thu, 26 Feb 2009 00:16:58 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r144442
Andrew John Hughes [Wed, 25 Feb 2009 22:26:47 +0000 (22:26 +0000)]
Add missing class file.
From-SVN: r144437
Andrew John Hughes [Wed, 25 Feb 2009 21:40:28 +0000 (21:40 +0000)]
Sync libgcj with GNU Classpath 0.98.
2009-02-13 Andrew John Hughes <ahughes@redhat.com>
Import GNU Classpath (classpath-0_98-release).
* Makefile.am: Add natVMSecureRandom.cc.
* Makefile.in: Regenerated.
* classpath/ChangeLog,
* classpath/Makefile.am: Merged.
* classpath/Makefile.in: Regenerated.
* classpath/NEWS: Merged.
* classpath/config.guess,
* classpath/config.sub,
* classpath/configure: Regenerated.
* classpath/configure.ac: Merged.
* classpath/gnu/java/awt/peer/gtk/CairoGraphics2D.java,
* classpath/gnu/java/security/jce/prng/SecureRandomAdapter.java,
* classpath/gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
* classpath/gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
* classpath/gnu/javax/crypto/jce/prng/FortunaImpl.java,
* classpath/gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
* classpath/gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
* classpath/gnu/javax/crypto/prng/ICMGenerator.java,
* classpath/gnu/xml/stream/XMLParser.java,
* classpath/java/security/SecureRandom.java,
* classpath/native/jni/native-lib/cpproc.c,
* classpath/native/plugin/gcjwebplugin.cc,
* classpath/tools/gnu/classpath/tools/gjdoc/Main.java: Merged.
* configure: Regenerated.
* configure.ac: Add symlink for natVMSecureRandomPosix.cc to natVMSecureRandom.cc
* gnu/classpath/Configuration.java: Change version to 0.98.
* gnu/java/security/jce/prng/SecureRandomAdapter.h: Regenerated.
* gnu/java/security/jce/prng/VMSecureRandom.h: Generated.
* gnu/java/security/jce/prng/VMSecureRandom.java: Added native implementation.
* gnu/java/security/jce/prng/natVMSecureRandomPosix.cc: Wrapper around /dev/random.
* gnu/javax/crypto/jce/prng/CSPRNGSpi.h,
* gnu/javax/crypto/jce/prng/FortunaImpl.h,
* java/security/SecureRandom.h: Regenerated.
* java/security/VMSecureRandom$Spinner.h,
* java/security/VMSecureRandom.h,
* java/security/VMSecureRandom.java: Removed.
* sources.am: Move VMSecureRandom to gnu.java.security.jce.prng.
From-SVN: r144434
Adam Nemet [Wed, 25 Feb 2009 20:14:34 +0000 (20:14 +0000)]
Fixed location of libgomp.exp.
From-SVN: r144433
H.J. Lu [Wed, 25 Feb 2009 18:49:28 +0000 (10:49 -0800)]
re PR rtl-optimization/39241 (ICE in subreg_get_info, at rtlanal.c:3104)
gcc/
2008-02-25 H.J. Lu <hongjiu.lu@intel.com>
PR rtl-optimization/39241
* jump.c (rtx_renumbered_equal_p): Remove 2 superfluous calls
to subreg_offset_representable_p.
gcc/testsuite/
2008-02-25 H.J. Lu <hongjiu.lu@intel.com>
PR rtl-optimization/39241
* gcc.dg/torture/pr39241.c: New.
From-SVN: r144430
Paolo Bonzini [Wed, 25 Feb 2009 18:12:29 +0000 (18:12 +0000)]
regmove.c (regmove_optimize): Conform to struct rtl_opt_pass execute function prototype.
2009-02-25 Paolo Bonzini <bonzini@gnu.org>
* regmove.c (regmove_optimize): Conform to struct rtl_opt_pass
execute function prototype. Get f and nregs from max_reg_num
and get_insns. Remove the first backward pass as it's dead,
guard the forward pass by flag_expensive_optimizations.
(rest_of_handle_regmove): Delete.
(pass_regmove): Replace it with regmove_optimize.
From-SVN: r144429
Martin Jambor [Wed, 25 Feb 2009 17:34:40 +0000 (18:34 +0100)]
tree-inline.c (initialize_cfun): Remove asserts for calls_setjmp and alls_alloca function flags.
2009-02-25 Martin Jambor <mjambor@suse.cz>
* tree-inline.c (initialize_cfun): Remove asserts for calls_setjmp and
alls_alloca function flags.
(copy_bb): Set calls_setjmp and alls_alloca function flags if such
calls are detected.
From-SVN: r144428
Laurent GUERBY [Wed, 25 Feb 2009 17:22:58 +0000 (17:22 +0000)]
a-teioed.adb (Expand): Fix Result overflow.
2009-02-25 Laurent GUERBY <laurent@guerby.net>
* a-teioed.adb (Expand): Fix Result overflow.
From-SVN: r144427
Laurent GUERBY [Wed, 25 Feb 2009 16:59:13 +0000 (16:59 +0000)]
Makefile.in: Fix multilib handling for sparc64-linux.
2009-02-25 Laurent GUERBY <laurent@guerby.net>
* gcc-interface/Makefile.in: Fix multilib handling for
sparc64-linux.
From-SVN: r144426
Paolo Bonzini [Wed, 25 Feb 2009 14:08:14 +0000 (14:08 +0000)]
regmove.c (discover_flags_reg, [...]): Delete.
2009-02-25 Paolo Bonzini <bonzini@gnu.org>
* regmove.c (discover_flags_reg, flags_set_1, mark_flags_life_zones,
flags_set_1_rtx, flags_set_1_set): Delete.
(regmove_optimize): Do not call mark_flags_life_zones.
From-SVN: r144425
Julian Brown [Wed, 25 Feb 2009 07:18:01 +0000 (07:18 +0000)]
re PR target/35965 ([4.3 only] -fstack-protector produces segfaulting binaries on arm/armel)
2009-02-24 Julian Brown <julian@codesourcery.com>
PR target/35965
* config/arm/arm.c (require_pic_register): Only set
cfun->machine->pic_reg once per function.
Patch commited by Doug Kwan <dougkwan@google.com>
From-SVN: r144424
Sandra Loosemore [Wed, 25 Feb 2009 01:44:45 +0000 (20:44 -0500)]
invoke.texi (Link Options): Document an easier way to pass options that take arguments to the GNU linker...
2009-02-24 Sandra Loosemore <sandra@codesourcery.com>
gcc/
* doc/invoke.texi (Link Options): Document an easier way to pass
options that take arguments to the GNU linker using -Xlinker and
-Wl.
From-SVN: r144423
GCC Administrator [Wed, 25 Feb 2009 00:17:07 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r144421
Michael Eager [Wed, 25 Feb 2009 00:12:42 +0000 (00:12 +0000)]
Fix typo.
From-SVN: r144418
Steve Ellcey [Tue, 24 Feb 2009 16:28:07 +0000 (16:28 +0000)]
re PR target/33785 (TARGET_C99_FUNCTIONS default wrong in tm.texi)
PR target/33785
* doc/tm.texi (TARGET_C99_FUNCTIONS): Fix description.
From-SVN: r144411
Michael Eager [Tue, 24 Feb 2009 16:20:22 +0000 (16:20 +0000)]
Add self to MAINTAINERS.
From-SVN: r144410
Richard Guenther [Tue, 24 Feb 2009 14:50:30 +0000 (14:50 +0000)]
re PR c++/39242 (Inconsistent reject / accept of code)
2009-02-24 Richard Guenther <rguenther@suse.de>
PR c++/39242
* pt.c (instantiate_decl): Do not instantiate extern, non-inline
declared functions.
* g++.dg/template/instantiate10.C: New testcase.
From-SVN: r144408
Richard Guenther [Tue, 24 Feb 2009 14:47:30 +0000 (14:47 +0000)]
re PR debug/39285 (Missing debug info for enum members in C++)
2009-02-24 Richard Guenther <rguenther@suse.de>
PR debug/39285
* dwarf2out.c (gen_enumeration_type_die): Handle CONST_DECLs.
From-SVN: r144407
Richard Guenther [Tue, 24 Feb 2009 11:05:15 +0000 (11:05 +0000)]
re PR tree-optimization/39233 (ivopts + vrp miscompilation)
2009-02-24 Richard Guenther <rguenther@suse.de>
Zdenek Dvorak <ook@ucw.cz>
PR tree-optimization/39233
* tree-ssa-loop-ivopts.c (add_candidate_1): Do not except pointers
from converting them to a generic type.
* gcc.c-torture/execute/pr39233.c: New testcase.
Co-Authored-By: Zdenek Dvorak <ook@ucw.cz>
From-SVN: r144405
Sebastian Pop [Tue, 24 Feb 2009 06:47:56 +0000 (06:47 +0000)]
re PR middle-end/39260 (Failed to build lame-3.98-2 source with graphite)
2009-02-23 Sebastian Pop <sebastian.pop@amd.com>
PR tree-optimization/39260
* graphite.c (harmful_stmt_in_bb): Stop a SCoP when the basic block
contains a condition with a real type.
(build_scop_conditions_1): Conditions are always last_stmt of a bb.
* gcc.dg/graphite/pr39260.c: New.
From-SVN: r144403
H.J. Lu [Tue, 24 Feb 2009 05:29:04 +0000 (05:29 +0000)]
static-init1.C: Replace int with __PTRDIFF_TYPE__.
2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
* g++.dg/init/static-init1.C: Replace int with __PTRDIFF_TYPE__.
From-SVN: r144402
GCC Administrator [Tue, 24 Feb 2009 00:16:42 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r144399
H.J. Lu [Mon, 23 Feb 2009 22:34:50 +0000 (22:34 +0000)]
re PR c++/36411 (ICE with invalid template template parameter)
gcc/cp
2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
PR c++/36411
* pt.c (coerce_template_template_parms): Return 0 if parameter
is error_mark_node.
gcc/testsuite/
2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
PR c++/36411
* g++.dg/template/void14.C: New.
From-SVN: r144396
Jason Merrill [Mon, 23 Feb 2009 21:23:58 +0000 (16:23 -0500)]
re PR c++/38880 (g++.dg/init/const7.C XFAILed)
PR c++/38880
* varasm.c (initializer_constant_valid_p) [PLUS_EXPR]: Check
narrowing_initializer_constant_valid_p.
(narrowing_initializer_constant_valid_p): Don't return
null_pointer_node for adding a pointer to itself.
From-SVN: r144395
Adam Nemet [Mon, 23 Feb 2009 20:42:53 +0000 (20:42 +0000)]
abi.exp: Add multilib support.
* testsuite/libstdc++-abi/abi.exp: Add multilib support.
* acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Remove MULTISUBDIR
from baseline_dir.
* configure: Regenerate.
* testsuite/Makefile.am (baseline_file): Remove variable.
(site.exp): Set baseline_dir rather than baseline_file.
(check-abi): Pass AM_RUNTESTFLAGS and RUNTESTFLAGS to runtest.
* testsuite/Makefile.in: Regenerate.
From-SVN: r144394
Jason Merrill [Mon, 23 Feb 2009 20:28:50 +0000 (15:28 -0500)]
pt.c (unify): Call maybe_adjust_types_for_deduction when deducing from an initializer list.
* pt.c (unify): Call maybe_adjust_types_for_deduction when
deducing from an initializer list.
From-SVN: r144392
Jan Hubicka [Mon, 23 Feb 2009 16:46:32 +0000 (17:46 +0100)]
re PR c/12245 (Uses lots of memory when compiling large initialized arrays)
PR c/12245
* ggc.h (htab_create_ggc): Use ggc_free to free hashtable when resizing.
From-SVN: r144384
Rainer Orth [Mon, 23 Feb 2009 16:37:20 +0000 (16:37 +0000)]
* s-oscons-tmplt.c [__osf__ && !_SS_MAXSIZE]: Undef AF_UNIX6.
From-SVN: r144382
Jan Hubicka [Mon, 23 Feb 2009 13:10:53 +0000 (14:10 +0100)]
re PR tree-optimization/37709 (inlining causes explosion in debug info)
PR tree-optimization/37709
* tree.c (block_ultimate_origin): Move here from dwarf2out.
* tree.h (block_ultimate_origin): Declare.
* dwarf2out.c (block_ultimate_origin): Move to tree.c
* tree-ssa-live.c (remove_unused_scope_block_p):
Eliminate blocks containig no instructions nor live variables nor
nested blocks.
(dump_scope_block): New function.
(remove_unused_locals): Enable removal of dead blocks by default;
enable dumping at TDF_DETAILS.
From-SVN: r144381
GCC Administrator [Mon, 23 Feb 2009 00:16:38 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r144379
Mark Mitchell [Sun, 22 Feb 2009 18:43:30 +0000 (18:43 +0000)]
make-temp-file.c (<windows.h>): Include on Windows.
* make-temp-file.c (<windows.h>): Include on Windows.
(choose_tmpdir): On Windows, use GetTempPath.
From-SVN: r144375
Joseph Myers [Sun, 22 Feb 2009 17:04:04 +0000 (17:04 +0000)]
* zh_CN.po: Update.
From-SVN: r144374
H.J. Lu [Sun, 22 Feb 2009 01:10:29 +0000 (01:10 +0000)]
i386.c (classify_argument): Don't allow COImode and OImode.
2008-02-21 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (classify_argument): Don't allow COImode
and OImode.
(function_arg_advance_32): Don't allow OImode.
(function_arg_32): Likewise.
(function_value_32): Likewise.
(return_in_memory_32): Likewise.
(function_arg_64): Remove OImode comment.
From-SVN: r144367