Bernd Schmidt
f9e967516f
bfin.c (bfin_discover_loop): When retrying fails, mark the loop as bad.
...
* config/bfin/bfin.c (bfin_discover_loop): When retrying fails, mark
the loop as bad.
From-SVN: r144645
2009-03-05 15:09:22 +00:00
Jason Merrill
2588c9e970
re PR c++/38908 (Unexplained "'<anonymous>' is used uninitialized in this function" warning in cc1plus -m64)
...
PR c++/38908
* class.c (is_really_empty_class): New fn.
* cp-tree.h: Declare it.
* cp-objcp-common.c (cp_expr_size): Use it.
From-SVN: r144643
2009-03-05 09:10:07 -05:00
Jakub Jelinek
ee0ee7e2c1
re PR debug/39379 (DW_TAG_imported* no longer emitted)
...
PR debug/39379
* tree-cfg.c (remove_useless_stmts_bind): Don't remove GIMPLE_BINDs
with blocks containing IMPORTED_DECLs in BLOCK_VARS.
* g++.dg/debug/dwarf2/imported-module-3.C: New test.
* g++.dg/debug/dwarf2/imported-module-4.C: New test.
From-SVN: r144640
2009-03-05 13:50:36 +01:00
Uros Bizjak
6c6094f12f
i386.md (R8_REG, R9_REG): New constants.
...
* config/i386/i386.md (R8_REG, R9_REG): New constants.
* config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Use named
constants instead of magic numbers.
(HARD_REGNO_CALLER_SAVE_MODE): Ditto.
(QI_REG_P): Ditto.
* config/i386/i386.c (x86_64_int_parameter_registers): Ditto.
(x86_64_ms_abi_int_parameter_registers): Ditto.
(x86_64_int_return_registers): Ditto.
(ix86_expand_call): Ditto for clobbered_registers array.
(ix86_hard_regno_mode_ok): Ditto.
(x86_extended_QIreg_mentioned_p): Ditto.
From-SVN: r144638
2009-03-05 08:34:16 +01:00
Jason Merrill
d095e03c25
re PR c++/13549 (Problem compiling Boost.Python test)
...
PR c++/13549
* semantics.c (perform_koenig_lookup): Handle TEMPLATE_ID_EXPR.
* parser.c (cp_parser_postfix_expression): Call it for
TEMPLATE_ID_EXPR.
* tree.c (is_overloaded_fn): Look through TEMPLATE_ID_EXPR.
(get_first_fn): Likewise.
From-SVN: r144636
2009-03-04 21:49:13 -05:00
Joern Rennecke
4a1f5eeddb
Fix bugzilla references in ChangeLog for last recent checkins.
...
From-SVN: r144635
2009-03-05 02:07:26 +00:00
J"orn Rennecke
1f3ad3f0f6
* cse.c (cse_insn): Fix loop to stop at VOIDmode.
...
From-SVN: r144634
2009-03-05 01:21:13 +00:00
GCC Administrator
da6ccc178a
Daily bump.
...
From-SVN: r144633
2009-03-05 00:16:48 +00:00
J"orn Rennecke
b267bd416b
combine.c (gen_lowpart_for_combine): Use omode when generating clobber.
...
* combine.c (gen_lowpart_for_combine): Use omode when generating
clobber.
From-SVN: r144630
2009-03-05 00:16:04 +00:00
Nathan Sidwell
630c80e635
predcom-1.C: New test.
...
2009-03-04 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/torture/predcom-1.C: New test.
From-SVN: r144629
2009-03-04 23:26:51 +00:00
J"orn Rennecke
1242bc9dc6
re PR rtl-optimization/39235 (get_simple_loop_desc returns uninitialized memory)
...
PR39235:
* loop-iv.c (get_simple_loop_desc): Use XCNEW.
From-SVN: r144628
2009-03-04 23:22:22 +00:00
Zdenek Dvorak
48f036062a
graphite.c (nb_reductions_in_loop): Update simple_iv arguments.
...
* graphite.c (nb_reductions_in_loop): Update simple_iv arguments.
From-SVN: r144627
2009-03-04 23:04:03 +00:00
Richard Guenther
b505e785a3
re PR tree-optimization/39362 (ICE failing to coalesce ab SSA names)
...
2009-03-04 Richard Guenther <rguenther@suse.de>
PR tree-optimization/39362
* tree-ssa-sccvn.c (visit_use): Stores and copies from SSA_NAMEs
that occur in abnormal PHIs should be varying.
* g++.dg/torture/pr39362.C: New testcase.
From-SVN: r144626
2009-03-04 23:00:25 +00:00
Jason Merrill
b78ef3ee22
add DR note
...
From-SVN: r144619
2009-03-04 13:44:24 -05:00
Jason Merrill
1cb801bc76
re PR c++/9634 ([DR224] Injected class name as qualifier should not make the name dependent)
...
PR c++/9634
PR c++/29469
PR c++/29607
* decl.c (make_typename_type): Do look inside currently open classes.
* parser.c (cp_parser_lookup_name): Likewise.
(cp_parser_template_name): Likewise.
* pt.c (dependent_scope_p): New function.
* cp-tree.h: Declare it.
* class.c (currently_open_class): Return fast if T isn't a class.
Co-Authored-By: Giovanni Bajo <giovannibajo@gcc.gnu.org>
From-SVN: r144618
2009-03-04 13:42:17 -05:00
Zdenek Dvorak
f017bf5e2d
tree-scalar-evolution.c (analyze_scalar_evolution_in_loop): Extend comments.
...
* tree-scalar-evolution.c (analyze_scalar_evolution_in_loop):
Extend comments.
(simple_iv): Take loop as an argument instead of statement.
* tree-scalar-evolution.h (simple_iv): Declaration changed.
* tree-ssa-loop-niter.c (number_of_iterations_exit): Update calls
to simple_iv.
* tree-ssa-loop-ivopts.c (determine_biv_step, find_givs_in_stmt_scev):
Ditto.
* tree-parloops.c (loop_parallel_p, canonicalize_loop_ivs): Ditto.
* matrix-reorg.c (analyze_transpose): Ditto.
* tree-data-ref.c (dr_analyze_innermost): Ditto.
* tree-vect-analyze.c (vect_analyze_data_refs): Ditto.
* tree-predcom.c (ref_at_iteration): Ditto.
* tree-ssa-loop-prefetch.c (idx_analyze_ref): Ditto.
From-SVN: r144615
2009-03-04 17:50:20 +00:00
Steve Ellcey
79c09787dc
re PR testsuite/39357 (gcc.dg/vect/vect-iv-6.c)
...
PR testsuite/39357
* gcc.dg/vect-iv-6.c (dg-require-effective-target): Change from
vect_int to vect_int_mult.
From-SVN: r144614
2009-03-04 17:25:16 +00:00
Richard Guenther
6a66f28ed5
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
2009-03-04 12:36:56 +00:00
Joseph Myers
c0de290730
* es.po: Update.
...
From-SVN: r144600
2009-03-04 10:48:40 +00:00
Richard Guenther
57e454eeb2
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
2009-03-04 09:02:59 +00:00
Joseph Myers
a6fe9ed43e
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
2009-03-04 01:57:29 +00:00
GCC Administrator
dd7d0a4f8f
Daily bump.
...
From-SVN: r144594
2009-03-04 00:16:45 +00:00
Joseph Myers
a6776c9060
* es.po: Update.
...
From-SVN: r144591
2009-03-03 22:48:24 +00:00
Steve Ellcey
dc6729518a
re PR middle-end/10109 (documentation of target macro LIBCALL_VALUE)
...
PR middle-end/10109
* tm.texi (LIBCALL_VALUE): Update description.
From-SVN: r144586
2009-03-03 18:33:40 +00:00
Steve Ellcey
8b9d598f03
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
2009-03-03 18:27:42 +00:00
H.J. Lu
13e4e36e17
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
2009-03-03 10:08:01 -08:00
Andrew John Hughes
6eaf85d001
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
2009-03-03 17:03:51 +00:00
Jakub Jelinek
067dd3c96d
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
2009-03-03 17:43:42 +01:00
Richard Guenther
9bd9f73827
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
2009-03-03 13:05:53 +00:00
Jakub Jelinek
f07049c8f1
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
2009-03-03 12:29:51 +01:00
Ira Rosen
fc0ffad7cb
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
2009-03-03 07:42:26 +00:00
Sebastian Pop
7d4fba4aac
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
2009-03-03 03:47:22 +00:00
Bruce Korb
10fc64a7a6
fix ChangeLog date
...
From-SVN: r144561
2009-03-03 00:35:19 +00:00
GCC Administrator
39512b9efd
Daily bump.
...
From-SVN: r144560
2009-03-03 00:16:44 +00:00
Uros Bizjak
781686320a
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
2009-03-02 21:58:39 +01:00
Richard Sandiford
6355305908
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
2009-03-02 20:26:22 +00:00
Ulrich Weigand
500a1f8513
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
2009-03-02 19:32:05 +00:00
Benjamin Kosnik
33b4155d1b
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
2009-03-02 18:55:54 +00:00
Benjamin Kosnik
48a3a45a6c
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
2009-03-02 18:49:03 +00:00
H.J. Lu
0f07d5761a
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
2009-03-02 09:58:10 -08:00
Uros Bizjak
962aae340f
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
2009-03-02 14:46:05 +01:00
Richard Guenther
6dfb529ce2
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
2009-03-02 11:52:15 +00:00
GCC Administrator
cbf92fc258
Daily bump.
...
From-SVN: r144538
2009-03-02 00:16:44 +00:00
Eric Botcazou
67901d32d6
Fix latest entry.
...
From-SVN: r144534
2009-03-01 23:04:50 +00:00
Uros Bizjak
434426d2dd
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
2009-03-01 22:58:31 +01:00
Uros Bizjak
6b5629db5a
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
2009-03-01 22:30:24 +01:00
Richard Guenther
14e5b28507
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
2009-03-01 20:49:14 +00:00
Eric Botcazou
f4ea99bd34
Fix long lines.
...
From-SVN: r144530
2009-03-01 19:01:14 +00:00
Jan Hubicka
526d73abff
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
2009-03-01 18:47:08 +00:00
Ralf Wildenhues
7a9d3fe886
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
2009-03-01 17:49:31 +00:00