platform/upstream/gcc.git
15 years agoFix PR number reference in ChangeLog from 39409 to 39402.
Jerry DeLisle [Mon, 9 Mar 2009 04:57:34 +0000 (04:57 +0000)]
Fix PR number reference in ChangeLog from 39409 to 39402.

From-SVN: r144720

15 years agore PR libfortran/39402 (gfortran 20090306: internal write of 0.0 with F0.3 gives...
Jerry DeLisle [Mon, 9 Mar 2009 04:54:50 +0000 (04:54 +0000)]
re PR libfortran/39402 (gfortran 20090306: internal write of  0.0 with F0.3 gives  **)

2009-03-08  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/39402
* gfortran.dg/fmt_f0_1.f90: New test.

From-SVN: r144719

15 years agore PR libfortran/39402 (gfortran 20090306: internal write of 0.0 with F0.3 gives...
Jerry DeLisle [Mon, 9 Mar 2009 04:47:51 +0000 (04:47 +0000)]
re PR libfortran/39402 (gfortran 20090306: internal write of  0.0 with F0.3 gives  **)

2009-03-08  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/39409
* io/write_float.def (output_float): Handle F0.d formatting correctly
for any d when value is 0.0.

From-SVN: r144718

15 years agoDaily bump.
GCC Administrator [Mon, 9 Mar 2009 00:16:46 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r144716

15 years agore PR target/39361 (Many new neon test failures)
Jan Hubicka [Sun, 8 Mar 2009 22:37:26 +0000 (23:37 +0100)]
re PR target/39361 (Many new neon test failures)

PR target/39361
* tree-inline.c (setup_one_parameter): Do replacement of const argument
by constant in SSA form.

From-SVN: r144713

15 years agore PR c++/39060 (ICE with lots of invalid member functions)
H.J. Lu [Sun, 8 Mar 2009 17:29:12 +0000 (17:29 +0000)]
re PR c++/39060 (ICE with lots of invalid member functions)

gcc/cp/

2009-03-08  H.J. Lu  <hongjiu.lu@intel.com>

PR c++/39060
* parser.c (cp_parser_late_parsing_default_args): Continue
the loop when cp_parser_assignment_expression returns
error_mark_node.

gcc/testsuite/

2009-03-08  H.J. Lu  <hongjiu.lu@intel.com>

PR c++/39060
* g++.dg/other/new1.C: Adjusted.
* g++.dg/parse/crash40.C: Likewise.
* g++.dg/parse/defarg12.C: Likewise.
* g++.dg/template/error15.C: Likewise.

* g++.dg/other/pr39060.C: New.

From-SVN: r144710

15 years ago(Add missing PR reference)
Laurent Guerby [Sun, 8 Mar 2009 09:41:17 +0000 (09:41 +0000)]
(Add missing PR reference)

2009-02-25  Laurent GUERBY  <laurent@guerby.net>

PR ada/39221
* a-teioed.adb (Expand): Fix Result overflow.

From-SVN: r144708

15 years agoi386.c (ix86_maybe_switch_abi): Use named constants instead of magic numbers.
Uros Bizjak [Sun, 8 Mar 2009 07:24:32 +0000 (08:24 +0100)]
i386.c (ix86_maybe_switch_abi): Use named constants instead of magic numbers.

* config/i386/i386.c (ix86_maybe_switch_abi): Use named
constants instead of magic numbers.

From-SVN: r144706

15 years agoDaily bump.
GCC Administrator [Sun, 8 Mar 2009 00:16:42 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r144705

15 years agoCorrect filename.
H.J. Lu [Sat, 7 Mar 2009 19:08:02 +0000 (11:08 -0800)]
Correct filename.

From-SVN: r144702

15 years agore PR c++/39367 (ICE at tree-inline.c:1042 with -O)
Jason Merrill [Sat, 7 Mar 2009 16:21:05 +0000 (11:21 -0500)]
re PR c++/39367 (ICE at tree-inline.c:1042 with -O)

        PR c++/39367
        * init.c (build_new_1): Don't use a VLA type.
        (build_vec_init): Handle getting a pointer for BASE.

From-SVN: r144697

15 years agore PR middle-end/38028 (eh failures on spu-elf)
Ulrich Weigand [Sat, 7 Mar 2009 16:02:30 +0000 (16:02 +0000)]
re PR middle-end/38028 (eh failures on spu-elf)

PR middle-end/38028
* function.c (assign_parm_setup_stack): Use STACK_SLOT_ALIGNMENT to
determine alignment passed to assign_stack_local.
(assign_parms_unsplit_complex): Likewise.
* except.c (sjlj_build_landing_pads): Likewise.

From-SVN: r144696

15 years agore PR target/37520 (NO_DOLLAR_IN_LABEL should be defined on x86 targets)
H.J. Lu [Sat, 7 Mar 2009 01:47:25 +0000 (01:47 +0000)]
re PR target/37520 (NO_DOLLAR_IN_LABEL should be defined on x86 targets)

2009-03-06  H.J. Lu  <hongjiu.lu@intel.com>

PR c++/37520
* cp-tree.h: Check NO_DOT_IN_LABEL before NO_DOLLAR_IN_LABEL
when mangling symbols.

From-SVN: r144692

15 years agoDaily bump.
GCC Administrator [Sat, 7 Mar 2009 00:16:35 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r144690

15 years agore PR c++/33492 (Broken diagnostic: 'must_not_throw_expr' not supported by dump_expr)
Paolo Carlini [Fri, 6 Mar 2009 23:52:02 +0000 (23:52 +0000)]
re PR c++/33492 (Broken diagnostic: 'must_not_throw_expr' not supported by dump_expr)

/cp
2009-03-06  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/33492
* error.c (dump_expr): Don't try to print THROW_EXPRs in full.

/testsuite
2009-03-06  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/33492
* g++.dg/other/error32.C: New.

From-SVN: r144686

15 years agore PR middle-end/39360 (ICE in referenced_var_lookup, at tree-dfa.c:563)
Jakub Jelinek [Fri, 6 Mar 2009 22:51:28 +0000 (23:51 +0100)]
re PR middle-end/39360 (ICE in referenced_var_lookup, at tree-dfa.c:563)

PR middle-end/39360
* tree-flow.h (add_referenced_var): Return bool instead of void.
* tree-dfa.c (add_referenced_var): Return result of
referenced_var_check_and_insert call.
* tree-inline.c (expand_call_inline): Call add_referenced_var instead
of referenced_var_check_and_insert.

* gcc.c-torture/compile/pr39360.c: New test.

From-SVN: r144683

15 years agore PR debug/39372 (Missing DW_AT_location for constructor static variable)
Jakub Jelinek [Fri, 6 Mar 2009 22:49:39 +0000 (23:49 +0100)]
re PR debug/39372 (Missing DW_AT_location for constructor static variable)

PR debug/39372
* dwarf2out.c (add_abstract_origin_attribute): Return
origin_die.
(gen_variable_die): Emit DW_AT_location on abstract static variable's
DIE, don't emit it if abstract origin already has it.
* tree-cfg.c (remove_useless_stmts_bind): GIMPLE_BINDs with any
BLOCK_NONLOCALIZED_VARS in its gimple_bind_block aren't useless.

* g++.dg/debug/dwarf2/static-local-var-in-ctor.C: New test.

From-SVN: r144682

15 years agogenpreds.c: (needs_variable): Fix parentheses at variable name detection.
Jan-Benedict Glaw [Fri, 6 Mar 2009 19:13:04 +0000 (19:13 +0000)]
genpreds.c: (needs_variable): Fix parentheses at variable name detection.

* genpreds.c: (needs_variable): Fix parentheses at variable name
detection.
(write_tm_constrs_h): Indent generated code.

From-SVN: r144679

15 years agoFix isr documentation for ARM
Ramana Radhakrishnan [Fri, 6 Mar 2009 11:40:21 +0000 (11:40 +0000)]
Fix isr documentation for ARM

From-SVN: r144668

15 years agore PR debug/39387 (Wrong DW_AT_decl_line on DW_TAG_imported* for using directives...
Jakub Jelinek [Fri, 6 Mar 2009 09:48:25 +0000 (10:48 +0100)]
re PR debug/39387 (Wrong DW_AT_decl_line on DW_TAG_imported* for using directives in C+ functions)

PR debug/39387
* dwarf2out.c (dwarf2out_imported_module_or_decl_1): For IMPORTED_DECL
take locus from its DECL_SOURCE_LOCATION instead of input_location.

From-SVN: r144666

15 years agodecl.c (record_builtin_java_type): Use canonicalized integer types.
Alexandre Oliva [Fri, 6 Mar 2009 09:10:46 +0000 (09:10 +0000)]
decl.c (record_builtin_java_type): Use canonicalized integer types.

* decl.c (record_builtin_java_type): Use canonicalized integer
types.

From-SVN: r144664

15 years agosimplify.c (gfc_simplify_transfer): Zero-initialize the buffer.
Alexandre Oliva [Fri, 6 Mar 2009 09:06:51 +0000 (09:06 +0000)]
simplify.c (gfc_simplify_transfer): Zero-initialize the buffer.

* simplify.c (gfc_simplify_transfer): Zero-initialize the
buffer.

From-SVN: r144663

15 years agoDaily bump.
GCC Administrator [Fri, 6 Mar 2009 00:16:51 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r144656

15 years agobfin.c (bfin_discover_loop): When retrying fails, mark the loop as bad.
Bernd Schmidt [Thu, 5 Mar 2009 15:09:22 +0000 (15:09 +0000)]
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

15 years agore PR c++/38908 (Unexplained "'<anonymous>' is used uninitialized in this function...
Jason Merrill [Thu, 5 Mar 2009 14:10:07 +0000 (09:10 -0500)]
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

15 years agore PR debug/39379 (DW_TAG_imported* no longer emitted)
Jakub Jelinek [Thu, 5 Mar 2009 12:50:36 +0000 (13:50 +0100)]
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

15 years agoi386.md (R8_REG, R9_REG): New constants.
Uros Bizjak [Thu, 5 Mar 2009 07:34:16 +0000 (08:34 +0100)]
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

15 years agore PR c++/13549 (Problem compiling Boost.Python test)
Jason Merrill [Thu, 5 Mar 2009 02:49:13 +0000 (21:49 -0500)]
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

15 years agoFix bugzilla references in ChangeLog for last recent checkins.
Joern Rennecke [Thu, 5 Mar 2009 02:07:26 +0000 (02:07 +0000)]
Fix bugzilla references in ChangeLog for last recent checkins.

From-SVN: r144635

15 years ago* cse.c (cse_insn): Fix loop to stop at VOIDmode.
J"orn Rennecke [Thu, 5 Mar 2009 01:21:13 +0000 (01:21 +0000)]
* cse.c (cse_insn): Fix loop to stop at VOIDmode.

From-SVN: r144634

15 years agoDaily bump.
GCC Administrator [Thu, 5 Mar 2009 00:16:48 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r144633

15 years agocombine.c (gen_lowpart_for_combine): Use omode when generating clobber.
J"orn Rennecke [Thu, 5 Mar 2009 00:16:04 +0000 (00:16 +0000)]
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

15 years agopredcom-1.C: New test.
Nathan Sidwell [Wed, 4 Mar 2009 23:26:51 +0000 (23:26 +0000)]
predcom-1.C: New test.

2009-03-04  Nathan Sidwell  <nathan@codesourcery.com>

* g++.dg/torture/predcom-1.C: New test.

From-SVN: r144629

15 years agore PR rtl-optimization/39235 (get_simple_loop_desc returns uninitialized memory)
J"orn Rennecke [Wed, 4 Mar 2009 23:22:22 +0000 (23:22 +0000)]
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

15 years agographite.c (nb_reductions_in_loop): Update simple_iv arguments.
Zdenek Dvorak [Wed, 4 Mar 2009 23:04:03 +0000 (00:04 +0100)]
graphite.c (nb_reductions_in_loop): Update simple_iv arguments.

* graphite.c (nb_reductions_in_loop): Update simple_iv arguments.

From-SVN: r144627

15 years agore PR tree-optimization/39362 (ICE failing to coalesce ab SSA names)
Richard Guenther [Wed, 4 Mar 2009 23:00:25 +0000 (23:00 +0000)]
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

15 years agoadd DR note
Jason Merrill [Wed, 4 Mar 2009 18:44:24 +0000 (13:44 -0500)]
add DR note

From-SVN: r144619

15 years agore PR c++/9634 ([DR224] Injected class name as qualifier should not make the name...
Jason Merrill [Wed, 4 Mar 2009 18:42:17 +0000 (13:42 -0500)]
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

15 years agotree-scalar-evolution.c (analyze_scalar_evolution_in_loop): Extend comments.
Zdenek Dvorak [Wed, 4 Mar 2009 17:50:20 +0000 (18:50 +0100)]
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

15 years agore PR testsuite/39357 (gcc.dg/vect/vect-iv-6.c)
Steve Ellcey [Wed, 4 Mar 2009 17:25:16 +0000 (17:25 +0000)]
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

15 years agore PR tree-optimization/39358 (Wrong aliasing warning with lists)
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

15 years ago* es.po: Update.
Joseph Myers [Wed, 4 Mar 2009 10:48:40 +0000 (10:48 +0000)]
* es.po: Update.

From-SVN: r144600

15 years agore PR tree-optimization/39339 (SRA miscompilation of vte)
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

15 years agoemit-rtl.c (adjust_address_1): Reduce offset to a signed value that fits within Pmode.
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

15 years agoDaily bump.
GCC Administrator [Wed, 4 Mar 2009 00:16:45 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r144594

15 years ago* es.po: Update.
Joseph Myers [Tue, 3 Mar 2009 22:48:24 +0000 (22:48 +0000)]
* es.po: Update.

From-SVN: r144591

15 years agore PR middle-end/10109 (documentation of target macro LIBCALL_VALUE)
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

15 years agore PR middle-end/34443 (The GCC manual about section variable attribute is incorrect)
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

15 years agore PR tree-optimization/39345 (ICE in copy_tree_body_r, at tree-inline.c:1020)
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

15 years agoCleanup new JDK directory support in GCJ.
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

15 years agore PR fortran/39354 (bad codegen for openmp atomics (Intel64 Fortran logical ops))
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

15 years agore PR tree-optimization/39272 (-D_FORTIFY_SOURCE=2 no longer warns with new glibc...
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

15 years agore PR tree-optimization/39343 (Wrong result for __builtin_object_size (x, 1))
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

15 years agore PR tree-optimization/39248 (FAIL: gcc.dg/vect/vect-complex-1.c)
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

15 years agore PR middle-end/39335 (ICE in GCC 4.4 with -O[123] -floop-interchange)
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

15 years agofix ChangeLog date
Bruce Korb [Tue, 3 Mar 2009 00:35:19 +0000 (00:35 +0000)]
fix ChangeLog date

From-SVN: r144561

15 years agoDaily bump.
GCC Administrator [Tue, 3 Mar 2009 00:16:44 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r144560

15 years agoi386.md (ST?_REG, MM?_REG): New constants.
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

15 years agomips.c (mips_mdebug_abi_name): Fix the handling of ABI_64.
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

15 years agospu.c (TARGET_SECTION_TYPE_FLAGS): Define.
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

15 years agopthread4.cc: Move...
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

15 years agopthread4.cc: Move...
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

15 years agoreturn-4.c: Scan andl/andq instead of andl.
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

15 years agoi386.h (CONDITIONAL_REGISTER_USAGE): Do not copy reg_class_contents of FLOAT_REGS...
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

15 years agore PR middle-end/39318 (internal compiler error: verify_stmts failed)
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

15 years agoDaily bump.
GCC Administrator [Mon, 2 Mar 2009 00:16:44 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r144538

15 years agoFix latest entry.
Eric Botcazou [Sun, 1 Mar 2009 23:04:50 +0000 (23:04 +0000)]
Fix latest entry.

From-SVN: r144534

15 years agoi386.h (CONDITIONAL_REGISTER_USAGE): Use defined names instead of magic constants...
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

15 years agoi386.h (CONDITIONAL_REGISTER_USAGE): Do not shadow "i" variable.
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

15 years agore PR tree-optimization/39331 (OpenMP and return-slot-optimization generate invalid...
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

15 years agoFix long lines.
Eric Botcazou [Sun, 1 Mar 2009 19:01:14 +0000 (19:01 +0000)]
Fix long lines.

From-SVN: r144530

15 years agore PR debug/39267 (gdb testsuite regressions)
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

15 years agobackport: Support GNU/kOpenSolaris.
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

15 years agooptc-gen.awk: No need to duplicate option flags twice.
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

15 years agogcc.c (display_help): Document --version.
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

15 years agogcc.c (main): If print_help_list and verbose_flag...
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

15 years agooptc-gen.awk: Assign all remaining fields to help string...
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

15 years agocheck_warning_flags.sh: Update flag exceptions.
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

15 years agooptions.texi (Option file format): Fix bad indentation, restoring dropped sentence.
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

15 years ago* tree-inline.c (tree_function_versioning): Output debug info.
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

15 years agore PR debug/39267 (gdb testsuite regressions)
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

15 years agore PR ada/39264 (gnat.dg/pack3.adb fails on powerpc64/s390x)
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

15 years agoMove entry
Eric Botcazou [Sun, 1 Mar 2009 10:51:28 +0000 (10:51 +0000)]
Move entry

From-SVN: r144513

15 years agoDaily bump.
GCC Administrator [Sun, 1 Mar 2009 00:16:55 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r144501

15 years agore PR target/39327 (Incorrect addsub/unpck patterns in sse.md)
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

15 years agotree-inline.c (expand_call_inline): Avoid duplicate declarations of static vars.
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

15 years agore PR debug/39267 (gdb testsuite regressions)
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

15 years agoIt has been a long time since I updated this....
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

15 years agoadd alpha_if_semocolon fix
Giovanni Bajo [Sat, 28 Feb 2009 18:13:31 +0000 (18:13 +0000)]
add alpha_if_semocolon fix

From-SVN: r144490

15 years agoMakefile.in (cygwin/mingw): Revert accidental EH_MECHANISM change in r130816.
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

15 years agoDaily bump.
GCC Administrator [Sat, 28 Feb 2009 00:16:57 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r144479

15 years agoFix long lines.
Eric Botcazou [Fri, 27 Feb 2009 20:17:29 +0000 (20:17 +0000)]
Fix long lines.

From-SVN: r144476

15 years agore PR debug/39267 (gdb testsuite regressions)
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

15 years agore PR middle-end/39308 (ICE when compiling with -O[s123] -floop-interchange)
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

15 years agos390.c: (s390_swap_cmp): Look for conditional jumps if COND is NULL.
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

15 years agoUpdate e-mail address.
Andreas Schwab [Fri, 27 Feb 2009 14:44:33 +0000 (14:44 +0000)]
Update e-mail address.

From-SVN: r144465

15 years agoAdd PR ref.
Andreas Schwab [Fri, 27 Feb 2009 09:56:42 +0000 (09:56 +0000)]
Add PR ref.

From-SVN: r144464

15 years agoMakefile.in (srcdir): Set to @top_srcdir@ instead of @srcdir@.
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

15 years agore PR fortran/39309 (.mod file versioning causes error instead of overwritting the...
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

15 years agore PR fortran/39309 (.mod file versioning causes error instead of overwritting the...
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