]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
14 years agoDaily bump.
GCC Administrator [Tue, 30 Nov 2010 00:20:04 +0000 (00:20 +0000)] 
Daily bump.

From-SVN: r167281

14 years agoUse SSA_NAME_DEF_STMT only on SSA_NAMEs.
H.J. Lu [Mon, 29 Nov 2010 21:54:24 +0000 (21:54 +0000)] 
Use SSA_NAME_DEF_STMT only on SSA_NAMEs.

gcc/

2010-11-29  H.J. Lu  <hongjiu.lu@intel.com>

Backport from mainline
PR middle-end/46651
2010-07-22  Sebastian Pop  <sebastian.pop@amd.com>

* graphite-sese-to-poly.c (rewrite_phi_out_of_ssa): Use
SSA_NAME_DEF_STMT only on SSA_NAMEs.

gcc/testsuite/

2010-11-29  H.J. Lu  <hongjiu.lu@intel.com>

Backport from mainline
2010-07-22  Sebastian Pop  <sebastian.pop@amd.com>

PR middle-end/46651
* gcc.dg/graphite/id-24.c: New.

From-SVN: r167274

14 years ago[multiple changes]
Uros Bizjak [Mon, 29 Nov 2010 20:31:21 +0000 (21:31 +0100)] 
[multiple changes]

2010-11-29  Zdenek Dvorak  <rakdver@kam.uniff.cz>

PR tree-optimization/46675
* tree-ssa-loop-niter.c (split_to_var_and_offset): Avoid overflow
in offset calculation.

testsuite/ChangeLog:

2010-11-29  Richard Guenther  <rguenther@suse.de>
    Zdenek Dvorak  <rakdver@kam.uniff.cz>

PR tree-optimization/46675
* gcc.dg/pr46675.c: New test.

From-SVN: r167267

14 years agore PR debug/46258 (gcc.dg/tree-ssa/pr23820.c: -fcompare-debug failure with -O3 -ffloa...
Alexandre Oliva [Mon, 29 Nov 2010 19:20:48 +0000 (19:20 +0000)] 
re PR debug/46258 (gcc.dg/tree-ssa/pr23820.c: -fcompare-debug failure with -O3 -ffloat-store)

PR debug/46258
* tree-cfg.c (replace_uses_by): Don't mark BBs as altered on
debug stmts.

From-SVN: r167264

14 years agoDaily bump.
GCC Administrator [Mon, 29 Nov 2010 00:19:32 +0000 (00:19 +0000)] 
Daily bump.

From-SVN: r167228

14 years agoaliasing2.adb (dg-final): Robustify pattern matching.
Eric Botcazou [Sun, 28 Nov 2010 17:34:41 +0000 (17:34 +0000)] 
aliasing2.adb (dg-final): Robustify pattern matching.

* gnat.dg/aliasing2.adb (dg-final): Robustify pattern matching.
* gnat.dg/pack9.adb (dg-final): Likewise.

From-SVN: r167223

14 years agoDaily bump.
GCC Administrator [Sun, 28 Nov 2010 00:19:01 +0000 (00:19 +0000)] 
Daily bump.

From-SVN: r167215

14 years agore PR fortran/46638 (Wrong result with TRANSFER from string to DT)
Tobias Burnus [Sat, 27 Nov 2010 21:26:15 +0000 (22:26 +0100)] 
re PR fortran/46638 (Wrong result with TRANSFER from string to DT)

2010-11-27  Tobias Burnus  <burnus@net-b.de>

        PR fortran/46638
        PR fortran/46668
        * gfortran.dg/transfer_simplify_10.f90: Fix endian issue.

From-SVN: r167210

14 years agore PR ada/40777 (compile error on gcc-interface/targtyps.c)
Eric Botcazou [Sat, 27 Nov 2010 18:47:06 +0000 (18:47 +0000)] 
re PR ada/40777 (compile error on gcc-interface/targtyps.c)

PR ada/40777
* gcc-interface/targtyps.c (get_target_double_scalar_alignment): Guard
use of TARGET_64BIT macro.

From-SVN: r167206

14 years agoDaily bump.
GCC Administrator [Sat, 27 Nov 2010 00:19:24 +0000 (00:19 +0000)] 
Daily bump.

From-SVN: r167193

14 years agognat.exp: Load gcc.exp.
Rainer Orth [Fri, 26 Nov 2010 17:39:05 +0000 (17:39 +0000)] 
gnat.exp: Load gcc.exp.

* lib/gnat.exp: Load gcc.exp.
(gnat_target_compile): Use gcc_target_compile for *.c sources.
* gnat.dg/sse_nolib.adb: Use dg-require-effective-target sse_runtime.

Backport from mainline:
2010-11-25  Eric Botcazou  <ebotcazou@adacore.com>

* gnat.dg/loop_optimization7.adb: Remove dg-require-effective-target.
* gnat.dg/sse_nolib.adb: Likewise.

From-SVN: r167187

14 years agoDaily bump.
GCC Administrator [Fri, 26 Nov 2010 00:19:03 +0000 (00:19 +0000)] 
Daily bump.

From-SVN: r167157

14 years agore PR fortran/46638 (Wrong result with TRANSFER from string to DT)
Tobias Burnus [Thu, 25 Nov 2010 09:02:33 +0000 (10:02 +0100)] 
re PR fortran/46638 (Wrong result with TRANSFER from string to DT)

2010-11-25  Tobias Burnus  <burnus@net-b.de>

        PR fortran/46638
        * target-memory.c (gfc_interpret_derived): Correctly handle
        component offset.

2010-11-25  Tobias Burnus  <burnus@net-b.de>

        PR fortran/46638
        * gfortran.dg/transfer_simplify_10.f90: New.

From-SVN: r167139

14 years agoDaily bump.
GCC Administrator [Thu, 25 Nov 2010 00:17:55 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r167134

14 years agoDaily bump.
GCC Administrator [Wed, 24 Nov 2010 00:20:26 +0000 (00:20 +0000)] 
Daily bump.

From-SVN: r167102

14 years agoDaily bump.
GCC Administrator [Tue, 23 Nov 2010 00:17:32 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r167067

14 years agore PR middle-end/43057 ([LTO] fold check: original tree changed by fold)
Uros Bizjak [Mon, 22 Nov 2010 18:02:58 +0000 (19:02 +0100)] 
re PR middle-end/43057 ([LTO] fold check: original tree changed by fold)

PR middle-end/43057
* fold-const.c (pedantic_non_lvalue_loc): Unshare x before
setting location.

From-SVN: r167042

14 years agoDaily bump.
GCC Administrator [Mon, 22 Nov 2010 00:18:57 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r167017

14 years agore PR rtl-optimization/46571 (bootstrap comparison failure in fortran/trans-openmp.c)
Richard Henderson [Sun, 21 Nov 2010 17:27:23 +0000 (09:27 -0800)] 
re PR rtl-optimization/46571 (bootstrap comparison failure in fortran/trans-openmp.c)

PR rtl-optimization/46571
* gcse.c (hash_scan_set): Use next_nonnote_nondebug_insn.
(compute_hash_table_work): Use NONDEBUG_INSN_P.

From-SVN: r167008

14 years agomips.c (machine_function): Rename load_label_length to load_label_num_insns.
Eric Botcazou [Sun, 21 Nov 2010 10:38:43 +0000 (10:38 +0000)] 
mips.c (machine_function): Rename load_label_length to load_label_num_insns.

* config/mips/mips.c (machine_function): Rename load_label_length to
load_label_num_insns.
(mips_load_label_length): Rename to...
(mips_load_label_num_insns): ...this.  Adjust to first renaming.
(mips_adjust_insn_length): Adjust to second renaming.  Fix thinko.

From-SVN: r167002

14 years agoDaily bump.
GCC Administrator [Sun, 21 Nov 2010 00:18:53 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r166990

14 years agore PR target/31100 (ASM_OUTPUT_ALIGN_WITH_NOP wrong with GNU as)
Eric Botcazou [Sat, 20 Nov 2010 22:05:08 +0000 (22:05 +0000)] 
re PR target/31100 (ASM_OUTPUT_ALIGN_WITH_NOP wrong with GNU as)

PR target/31100
* config/sparc/sparc.h (ASM_OUTPUT_ALIGN_WITH_NOP): Move to...
* config/sparc/sol2.h (ASM_OUTPUT_ALIGN_WITH_NOP): ...here.
* config/sparc/sol2-gas.h (ASM_OUTPUT_ALIGN_WITH_NOP): Undefine.

From-SVN: r166987

14 years agoDaily bump.
GCC Administrator [Sat, 20 Nov 2010 00:19:14 +0000 (00:19 +0000)] 
Daily bump.

From-SVN: r166971

14 years agore PR c/46547 (internal compiler error when converting a complex to a bool)
Jakub Jelinek [Fri, 19 Nov 2010 23:46:57 +0000 (00:46 +0100)] 
re PR c/46547 (internal compiler error when converting a complex to a bool)

PR c/46547
* objc-act.c (in_late_binary_op): Remove.

From-SVN: r166965

14 years agore PR c/46547 (internal compiler error when converting a complex to a bool)
Joseph Myers [Fri, 19 Nov 2010 20:45:00 +0000 (20:45 +0000)] 
re PR c/46547 (internal compiler error when converting a complex to a bool)

PR c/46547
* c-common.c (in_late_binary_op): Define.
(c_common_truthvalue_conversion): Check in_late_binary_op before
calling c_save_expr.
* c-common.h (in_late_binary_op): Declare.
* c-tree.h (in_late_binary_op): Move to c-common.h.
* c-typeck.c (in_late_binary_op): Move to c-common.c.

testsuite:
* gcc.c-torture/compile/pr46547-1.c: New test.

From-SVN: r166957

14 years agoDaily bump.
GCC Administrator [Fri, 19 Nov 2010 00:20:49 +0000 (00:20 +0000)] 
Daily bump.

From-SVN: r166925

14 years agoDaily bump.
GCC Administrator [Thu, 18 Nov 2010 00:17:54 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r166893

14 years agore PR tree-optimization/46498 (ICE: in eliminate_unnecessary_stmts, at tree-ssa-dce...
Richard Guenther [Wed, 17 Nov 2010 10:46:36 +0000 (10:46 +0000)] 
re PR tree-optimization/46498 (ICE: in eliminate_unnecessary_stmts, at tree-ssa-dce.c:1112 with -O -funsafe-math-optimizations -fno-tree-dominator-opts -fno-tree-reassoc)

2010-11-17  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/46498
* tree-ssa-dce.c (perform_tree_ssa_dce): Compute dominator info.

From-SVN: r166862

14 years agore PR target/45807 (Lying eh_frame r2 save info causes crashes with static libgcc_eh...
Alan Modra [Wed, 17 Nov 2010 06:09:53 +0000 (16:39 +1030)] 
re PR target/45807 (Lying eh_frame r2 save info causes crashes with static libgcc_eh and libstdc++)

PR target/45807
Backport r164685,r164825,r165101
* config/rs6000/aix.h (SETUP_FRAME_ADDRESSES): Delete.
* config/rs6000/linux64.h (SETUP_FRAME_ADDRESSES): Delete.
* config/rs6000/rs6000-protos.h (rs6000_aix_emit_builtin_unwind_init):
Delete.
* config/rs6000/rs6000.c (rs6000_aix_emit_builtin_unwind_init): Delete.
(rs6000_emit_prologue): Don't just create frame save info for r2,
actually save r2.

From-SVN: r166857

14 years agore PR target/44266 (stack frame lacks parameter save area)
Alan Modra [Wed, 17 Nov 2010 06:01:03 +0000 (16:31 +1030)] 
re PR target/44266 (stack frame lacks parameter save area)

PR target/44266
Backport r159963
* config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Use
emit_library_call machinery to set up __tls_get_addr calls.

From-SVN: r166856

14 years agoDaily bump.
GCC Administrator [Wed, 17 Nov 2010 00:18:11 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r166843

14 years agore PR rtl-optimization/46315 (-O2 -fno-strict-overflow causes wrong code generation)
Eric Botcazou [Tue, 16 Nov 2010 22:17:17 +0000 (22:17 +0000)] 
re PR rtl-optimization/46315 (-O2 -fno-strict-overflow causes wrong code generation)

PR rtl-optimization/46315
* rtl.h (remove_reg_equal_equiv_notes_for_regno): Declare.
* rtlanal.c (remove_reg_equal_equiv_notes_for_regno): New function
extracted from...
* dce.c (delete_corresponding_reg_eq_notes): ...here.  Rename into...
(remove_reg_equal_equiv_notes_for_defs): ...this.
(delete_unmarked_insns): Adjust to above renaming.
* ifcvt.c (dead_or_predicable): Remove REG_EQUAL and REG_EQUIV notes
referring to registers set in the insns being moved, if any.

* df-core.c (df_ref_dump): New function extracted from...
(df_refs_chain_dump): ...here.  Call it.
(df_regs_chain_dump): Likewise.
* df-problems.c (df_chain_dump): Print 'e' for uses in notes.
* df-scan.c (df_scan_start_dump): Likewise.  Fix long line.

From-SVN: r166828

14 years agore PR tree-optimization/44545 (internal compiler error: in remove_unreachable_handler...
Richard Guenther [Tue, 16 Nov 2010 13:53:50 +0000 (13:53 +0000)] 
re PR tree-optimization/44545 (internal compiler error: in remove_unreachable_handlers, at tree-eh)

2010-11-16  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/44545
* tree-ssa-reassoc.c (linearize_expr_tree): Possibly throwing
statements are not reassociatable.
(reassociate_bb): Likewise.

* gcc.dg/pr44545.c: New testcase.

From-SVN: r166796

14 years agoDaily bump.
GCC Administrator [Tue, 16 Nov 2010 00:18:06 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r166785

14 years agore PR tree-optimization/46491 (ipa-pure-const.c miscompilation)
Jakub Jelinek [Mon, 15 Nov 2010 22:27:24 +0000 (23:27 +0100)] 
re PR tree-optimization/46491 (ipa-pure-const.c miscompilation)

PR tree-optimization/46491
Backport from mainline

2010-05-14  Jan Hubicka  <jh@suse.cz>
* ipa-pure-const.c (check_stmt): Do not use memory_identifier_string.

* gcc.target/i386/pr46491.c: New test.

From-SVN: r166774

14 years agoDaily bump.
GCC Administrator [Mon, 15 Nov 2010 00:17:41 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r166741

14 years agoDaily bump.
GCC Administrator [Sun, 14 Nov 2010 00:17:50 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r166727

14 years agore PR fortran/45742 (VOLATILE has no effect)
Tobias Burnus [Sat, 13 Nov 2010 17:23:49 +0000 (18:23 +0100)] 
re PR fortran/45742 (VOLATILE has no effect)

2010-11-13  Tobias Burnus  <burnus@net-b.de>

        PR fortran/45742
        * trans-common.c (build_field): Add TREE_SIDE_EFFECTS for
        * volatile.
        * trans-decl.c (gfc_finish_var_decl): Ditto.
        (create_function_arglist): Handle volatile dummy arguments.

2010-11-13  Tobias Burnus  <burnus@net-b.de>

        PR fortran/45742
        * gfortran.dg/volatile12.f90: New.

From-SVN: r166714

14 years agoDaily bump.
GCC Administrator [Sat, 13 Nov 2010 00:17:48 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r166693

14 years agore PR tree-optimization/46177 (ICE: in prop_phis, at tree-loop-distribution.c:327...
Jakub Jelinek [Fri, 12 Nov 2010 21:54:47 +0000 (22:54 +0100)] 
re PR tree-optimization/46177 (ICE: in prop_phis, at tree-loop-distribution.c:327 with -fno-tree-copy-prop -ftree-loop-distribution)

PR tree-optimization/46177
* gcc.dg/pr46177.c: Fix dg-options.

From-SVN: r166679

14 years agors6000.c (rs6000_expand_ternop_builtin): Rewrite switch on insn codes as sequence...
Olivier Hainque [Fri, 12 Nov 2010 17:07:43 +0000 (17:07 +0000)] 
rs6000.c (rs6000_expand_ternop_builtin): Rewrite switch on insn codes as sequence of ifs.

        * config/rs6000/rs6000.c (rs6000_expand_ternop_builtin): Rewrite
        switch on insn codes as sequence of ifs.

From-SVN: r166659

14 years agobackport: re PR rtl-optimization/44691 (ICE: RTL check: expected code 'reg', have...
Alexander Monakov [Fri, 12 Nov 2010 15:47:38 +0000 (18:47 +0300)] 
backport: re PR rtl-optimization/44691 (ICE: RTL check: expected code 'reg', have 'plus' in rhs_regno, at rtl.h:1050)

Backport from mainline:
2010-08-19  Andrey Belevantsev  <abel@ispras.ru>

PR rtl-optimization/44691
* sel-sched.c (count_occurrences_1): Also punt when SUBREG_REG
is not a register.

* gfortran.dg/pr44691.f: New test.

From-SVN: r166653

14 years agobackport: [multiple changes]
Richard Guenther [Fri, 12 Nov 2010 14:43:19 +0000 (14:43 +0000)] 
backport: [multiple changes]

2010-11-12  Richard Guenther  <rguenther@suse.de>

Backport from mainline
2010-11-09  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/46355
* tree-loop-distribution.c (tree_loop_distribution): Do not
distribute loops without a single exit.

* gcc.dg/pr46355.c: New testcase.

2010-11-02  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/46177
* tree-loop-distribution.c (prop_phis): Use
mark_virtual_phi_result_for_renaming.

* gcc.dg/pr46177.c: New testcase.

2010-11-09  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/46177
* tree-loop-distribution.c (prop_phis): Remove.
(generate_builtin): Re-use the old loop exit edge to avoid
needing to update PHI nodes.

* gcc.dg/pr46177-2.c: New testcase.

From-SVN: r166652

14 years agoDaily bump.
GCC Administrator [Fri, 12 Nov 2010 00:17:58 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r166640

14 years agobackport: re PR c++/45894 ([C++0x] ICE: segmentation fault with -Wall)
Jakub Jelinek [Thu, 11 Nov 2010 20:41:34 +0000 (21:41 +0100)] 
backport: re PR c++/45894 ([C++0x] ICE: segmentation fault with -Wall)

Backport from mainline
2010-11-09  Jakub Jelinek  <jakub@redhat.com>

PR c++/45894
* tree.c (lvalue_p_1): Don't crash if ref has NULL type.

* g++.dg/warn/Wsequence-point-2.C: New test.

From-SVN: r166621

14 years agobackport: re PR c/44772 (-Wc++-compat warns incorrectly for anonymous unions)
Jakub Jelinek [Thu, 11 Nov 2010 20:40:32 +0000 (21:40 +0100)] 
backport: re PR c/44772 (-Wc++-compat warns incorrectly for anonymous unions)

Backport from mainline
2010-11-05  Jakub Jelinek  <jakub@redhat.com>

PR c/44772
* c-decl.c (warn_cxx_compat_finish_struct): Don't call
pointer_set_contains if DECL_NAME is NULL.

* gcc.dg/Wcxx-compat-21.c: New test.

From-SVN: r166620

14 years agobackport: re PR c++/46160 (ICE with volatile structure and enum)
Jakub Jelinek [Thu, 11 Nov 2010 20:39:25 +0000 (21:39 +0100)] 
backport: re PR c++/46160 (ICE with volatile structure and enum)

2010-11-11  Jakub Jelinek  <jakub@redhat.com>

Backport from mainline
2010-11-05  Jakub Jelinek  <jakub@redhat.com>

PR c++/46160
* cp-gimplify.c (cp_gimplify_expr): Drop volatile INDIRECT_REFs
on the RHS to avoid infinite recursion with gimplify_expr.

* g++.dg/opt/empty2.C: New test.

From-SVN: r166619

14 years agobackport: re PR tree-optimization/46099 (ICE: in replace_ssa_name, at tree-cfg.c...
Jakub Jelinek [Thu, 11 Nov 2010 20:38:12 +0000 (21:38 +0100)] 
backport: re PR tree-optimization/46099 (ICE: in replace_ssa_name, at tree-cfg.c:5643 with -ftree-parallelize-loops -g)

Backport from mainline
2010-11-05  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/46099
* tree-parloops.c (take_address_of): Add GSI argument.  Return NULL
if it is NULL and uid wasn't found in the hash table.  Just fold the
result if it is NULL otherwise.  Insert other potentially needed
stmts right before current stmt instead of on the entry edge.
(struct elv_data): Add gsi and reset fields.
(eliminate_local_variables_1): Adjust caller.  If take_address_of
failed for debug stmt, set dta->reset and return.
(eliminate_local_variables_stmt): Change STMT argument for GSI,
pass GSI through to the callback, handle resetting of debug stmts.
(eliminate_local_variables): Adjust caller.  Process debug stmts
in second phase.

* gcc.dg/autopar/pr46099.c: New test.

From-SVN: r166618

14 years agobackport: re PR middle-end/43690 (Internal compiler error detected by avr-gcc.)
Jakub Jelinek [Thu, 11 Nov 2010 20:36:49 +0000 (21:36 +0100)] 
backport: re PR middle-end/43690 (Internal compiler error detected by avr-gcc.)

Backport from mainline
2010-11-05  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/43690
* gimplify.c (gimplify_asm_expr): If a "m" input is a
{pre,post}{in,de}crement, fail.

* c-c++-common/pr43690.c: New test.

From-SVN: r166617

14 years agobackport: re PR tree-optimization/46165 (ICE: verify_flow_info failed when casting...
Jakub Jelinek [Thu, 11 Nov 2010 20:35:10 +0000 (21:35 +0100)] 
backport: re PR tree-optimization/46165 (ICE: verify_flow_info failed when casting-out attribute noreturn with -fno-tree-ccp -fno-tree-copy-prop -fno-tree-dce)

Backport from mainline
2010-11-03  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/46165
* tree-ssa-pre.c (eliminate): Return TODO_cleanup_cfg if changing
a normal call into noreturn call.

* gcc.dg/pr46165.c: New test.

From-SVN: r166616

14 years agobackport: re PR tree-optimization/46107 (-ftree-loop-distribute-patterns caused verif...
Jakub Jelinek [Thu, 11 Nov 2010 20:33:18 +0000 (21:33 +0100)] 
backport: re PR tree-optimization/46107 (-ftree-loop-distribute-patterns caused verify_loop_structure problem)

Backport from mainline
2010-11-03  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/46107
* cfgloopmanip.c (loop_version): Set irred_flag back into entry->flags
if cfg_hook_duplicate_loop_to_header_edge failed.

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

From-SVN: r166615

14 years agore PR libfortran/46373 (fflush called when reading from a string)
Jerry DeLisle [Thu, 11 Nov 2010 03:12:35 +0000 (03:12 +0000)] 
re PR libfortran/46373 (fflush called when reading from a string)

2010-11-10  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/46373
Backport from mainline:
* io/transfer.c (data_transfer_init): Do not call flush_if_preconnected
if this is an internal unit.

From-SVN: r166588

14 years agoDaily bump.
GCC Administrator [Thu, 11 Nov 2010 00:18:17 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r166581

14 years agore PR target/46419 (_mm_cvtpu16_ps (and hence _mm_cvtpu8_ps) returns false result)
Uros Bizjak [Wed, 10 Nov 2010 23:26:49 +0000 (00:26 +0100)] 
re PR target/46419 (_mm_cvtpu16_ps (and hence _mm_cvtpu8_ps) returns false result)

PR middle-end/46419
* config/i386/xmmintrin.h (_mm_cvtpi16_ps): Swap __hisi and __losi.
(_mm_cvtpu16_ps): Ditto.

testsuite/ChangeLog:

PR target/46419
* gcc-target/i386/pr46419.c: New test.

From-SVN: r166571

14 years agoDaily bump.
GCC Administrator [Wed, 10 Nov 2010 00:17:26 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r166513

14 years agoFix Changelog entry.
Sebastian Pop [Tue, 9 Nov 2010 19:15:36 +0000 (19:15 +0000)] 
Fix Changelog entry.

2010-11-09  Sebastian Pop  <sebastian.pop@amd.com>

   PR tree-optimization/45314
   Backport of revision 163132.
   * graphite-sese-to-poly.c (rewrite_phi_out_of_ssa): Always insert out
   of SSA copies on edges except for loop->latch.

From-SVN: r166507

14 years agoFix PR45314: backport revision 163123.
Sebastian Pop [Tue, 9 Nov 2010 19:08:57 +0000 (19:08 +0000)] 
Fix PR45314: backport revision 163123.

2010-11-09  Sebastian Pop  <sebastian.pop@amd.com>

PR tree-optimization/45902
Backport of revision 163132.
* graphite-sese-to-poly.c (rewrite_phi_out_of_ssa): Always insert out
of SSA copies on edges except for loop->latch.

From-SVN: r166506

14 years agore PR rtl-optimization/46237 (SPECint2006 403.gcc fails with -mzarch -m31)
Andreas Krebbel [Tue, 9 Nov 2010 15:53:18 +0000 (15:53 +0000)] 
re PR rtl-optimization/46237 (SPECint2006 403.gcc fails with -mzarch -m31)

2010-11-09  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

PR rtl-optimization/46237
* ira-conflicts.c (ira_build_conflicts): Record conflicts for call
saved hard regs if they might get partially clobbered.

From-SVN: r166496

14 years agoDaily bump.
GCC Administrator [Tue, 9 Nov 2010 00:18:37 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r166464

14 years agobackport: i386.exp (FLAGS): Remove.
Rainer Orth [Mon, 8 Nov 2010 15:57:23 +0000 (15:57 +0000)] 
backport: i386.exp (FLAGS): Remove.

Backport from mainline:
2010-11-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

* gcc.target/i386/i386.exp (FLAGS): Remove.
Wrap gcc_target_compile with $clearcap_ldflags added to options.

From-SVN: r166436

14 years agoDaily bump.
GCC Administrator [Mon, 8 Nov 2010 00:18:01 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r166425

14 years agoDaily bump.
GCC Administrator [Sun, 7 Nov 2010 00:16:59 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r166411

14 years agore PR debug/45939 (Wrong debug info: Negative location range generated)
Andreas Krebbel [Sat, 6 Nov 2010 06:28:59 +0000 (06:28 +0000)] 
re PR debug/45939 (Wrong debug info: Negative location range generated)

2010-11-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

PR debug/45939
* var-tracking.c (emit_note_insn_var_location): Make sure that
call related var location notes come before the normal ones.

From-SVN: r166395

14 years agoDaily bump.
GCC Administrator [Sat, 6 Nov 2010 00:17:26 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r166389

14 years agoDaily bump.
GCC Administrator [Fri, 5 Nov 2010 00:17:12 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r166342

14 years agobackport: re PR fortran/46010 (I/O: Namelist-reading bug)
Jerry DeLisle [Thu, 4 Nov 2010 00:25:10 +0000 (00:25 +0000)] 
backport: re PR fortran/46010 (I/O: Namelist-reading bug)

2010-11-03  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

Backport from mainline:
PR libgfortran/46010
* gfortran.dg/namelist_66.f90: New test.
* gfortran.dg/fmt_t_6.f: Whitespace.

From-SVN: r166293

14 years agoDaily bump.
GCC Administrator [Thu, 4 Nov 2010 00:18:00 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r166291

14 years agore PR fortran/46010 (I/O: Namelist-reading bug)
Jerry DeLisle [Thu, 4 Nov 2010 00:16:47 +0000 (00:16 +0000)] 
re PR fortran/46010 (I/O: Namelist-reading bug)

2010-11-03  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/46010
Backport from mainline:
* io/list_read.c (nml_parse_qualifier): Add additional conditions for
setting the end index for loop specification. Fix some whitespace.

From-SVN: r166288

14 years agoRevert:
Uros Bizjak [Wed, 3 Nov 2010 22:42:39 +0000 (23:42 +0100)] 
Revert:

2010-10-30  Uros Bizjak  <ubizjak@gmail.com>

PR middle-end/44569
* lower-suberg.c (simplify_subreg_concatn): For VOIDmode elements,
determine the mode of a subreg by GET_MODE_INNER of CONCATN RTX.

From-SVN: r166281

14 years agors6000.c (rs6000_pic_labelno): Make static.
Alan Modra [Wed, 3 Nov 2010 13:55:26 +0000 (00:25 +1030)] 
rs6000.c (rs6000_pic_labelno): Make static.

* config/rs6000/rs6000.c (rs6000_pic_labelno): Make static.
(rs6000_emit_load_toc_table): Don't use rs6000_pic_labelno when
TARGET_SECURE_PLT.
* config/rs6000/sysv4.h (rs6000_pic_labelno): Don't declare.
* config/rs6000/rs6000.md (load_toc_v4_PIC_3b): Use "b" constraint
on input, "r" on output.

From-SVN: r166248

14 years agoDaily bump.
GCC Administrator [Wed, 3 Nov 2010 00:17:05 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r166225

14 years agore PR fortran/46152 ([F03] ALLOCATE with type-spec fails for intrinsic types)
Steven G. Kargl [Tue, 2 Nov 2010 22:02:37 +0000 (22:02 +0000)] 
re PR fortran/46152 ([F03] ALLOCATE with type-spec fails for intrinsic types)

2010-10-30  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/46152
* gfortran.dg/select_type_11.f03: Update dg-error phrase.
* gfortran.dg/allocate_with_typespec_4.f90: New test.
* gfortran.dg/allocate_with_typespec_1.f90: New test.
* gfortran.dg/allocate_with_typespec_2.f: New test.
* gfortran.dg/allocate_with_typespec_3.f90: New test.
* gfortran.dg/allocate_derived_1.f90: Delete an obselescent test.
* gfortran.dg/select_type_1.f03: Update dg-error phrase.

2010-10-30  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/46152
* fortran/match.c (match_derived_type_spec): Reoplace gfc_match_symbol
with a gfc_find_symbol to prevent namespace pollution.  Remove dead
code.
(match_type_spec): Remove parsing of '::'.  Collapse character
kind checking to one location.
(gfc_match_allocate): Use correct locus in error message.

From-SVN: r166217

14 years agore PR tree-optimization/45902 (CPU2006 benchmark sphinx3 fails with vectorization)
Ira Rosen [Tue, 2 Nov 2010 12:12:56 +0000 (12:12 +0000)] 
re PR tree-optimization/45902 (CPU2006 benchmark sphinx3 fails with vectorization)

PR tree-optimization/45902
* tree-vectorizer.h (enum stmt_vec_info_type): Add new value for
shift.
(vect_get_slp_defs): Add arguments.
* tree-vect-stmts.c (cost_for_stmt): Handle shifts.
(vect_get_vec_def_for_operand): Use operand's
type to determine number of units in the created vector.
(vect_get_vec_defs): Pass scalar operands to vect_get_slp_defs.
(vectorizable_shift): New function.
(vectorizable_operation): Move code that handles shifts to
vectorizable_shift.
(vectorizable_type_demotion): Pass scalar operands to
vect_get_slp_defs.
(vectorizable_type_promotion, vectorizable_store): Likewise.
(vect_analyze_stmt): Call vectorizable_shift.
(vect_transform_stmt): Likewise.
* tree-vect-slp.c (vect_get_constant_vectors): Add new argument.
Use it as the operand to create vectors except for stores.
(vect_get_slp_defs): Add new arguments. Pass them to
vect_get_constant_vectors.

From-SVN: r166175

14 years agoDaily bump.
GCC Administrator [Tue, 2 Nov 2010 00:17:32 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r166160

14 years agore PR libstdc++/45999 (runtime error in std::vector python pretty printer.)
Jonathan Wakely [Mon, 1 Nov 2010 21:32:01 +0000 (21:32 +0000)] 
re PR libstdc++/45999 (runtime error in std::vector python pretty printer.)

2010-11-01  Jonathan Wakely  <jwakely.gcc@gmail.com>

PR libstdc++/45999
* python/libstdcxx/v6/printers.py (StdVectorPrinter): Replace
conditional expression with backward-compatible if-else.

From-SVN: r166151

14 years agoDaily bump.
GCC Administrator [Mon, 1 Nov 2010 00:17:49 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r166117

14 years agoDaily bump.
GCC Administrator [Sun, 31 Oct 2010 00:17:22 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r166099

14 years agore PR middle-end/44569 (ICE in simplify_subreg for debug insn with CONCATN)
Uros Bizjak [Sat, 30 Oct 2010 20:37:54 +0000 (22:37 +0200)] 
re PR middle-end/44569 (ICE in simplify_subreg for debug insn with CONCATN)

PR middle-end/44569
* lower-suberg.c (simplify_subreg_concatn): For VOIDmode elements,
determine the mode of a subreg by GET_MODE_INNER of CONCATN RTX.

From-SVN: r166094

14 years agore PR target/46153 (ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with...
Uros Bizjak [Sat, 30 Oct 2010 20:32:11 +0000 (22:32 +0200)] 
re PR target/46153 (ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -ffloat-store and __builtin_ia32_movlhps)

PR target/46153
* config/i386/sse.md (sse_movhlps_exp): Use destination
returned from ix86_fixup_binary_operands to expand insn.
(sse_movlhps_exp): Ditto.
(sse_loadhps_exp): Ditto.
(sse_loadlps_exp): Ditto.
(sse2_loadhpd_exp): Ditto.
(sse2_loadlpd_exp): Ditto.

testsuite/ChangeLog:

PR target/46153
* gcc.target/i386/pr46153.c: New test.

From-SVN: r166093

14 years agoDaily bump.
GCC Administrator [Sat, 30 Oct 2010 00:16:54 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r166083

14 years agore PR rtl-optimization/46226 (asm goto may leave stack pointer invalid)
Richard Henderson [Fri, 29 Oct 2010 17:16:11 +0000 (10:16 -0700)] 
re PR rtl-optimization/46226 (asm goto may leave stack pointer invalid)

PR rtl-opt/46226
Move test case to x86 test directory.

From-SVN: r166070

14 years agore PR rtl-optimization/46226 (asm goto may leave stack pointer invalid)
Richard Henderson [Fri, 29 Oct 2010 16:58:36 +0000 (09:58 -0700)] 
re PR rtl-optimization/46226 (asm goto may leave stack pointer invalid)

PR rtl-opt/46226
* stmt.c (expand_asm_operands): Call do_pending_stack_adjust
for asm goto.

From-SVN: r166068

14 years agoDaily bump.
GCC Administrator [Fri, 29 Oct 2010 00:18:23 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r166054

14 years agoDaily bump.
GCC Administrator [Thu, 28 Oct 2010 00:18:17 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r166025

14 years agosol2-unwind.h (sparc64_fallback_frame_state): Adjust for newer Solaris 10 release.
Eric Botcazou [Wed, 27 Oct 2010 20:34:57 +0000 (20:34 +0000)] 
sol2-unwind.h (sparc64_fallback_frame_state): Adjust for newer Solaris 10 release.

* config/sparc/sol2-unwind.h (sparc64_fallback_frame_state): Adjust
for newer Solaris 10 release.
(sparc_fallback_frame_state): Likewise.

From-SVN: r166016

14 years agoDaily bump.
GCC Administrator [Wed, 27 Oct 2010 00:17:42 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r165993

14 years agore PR tree-optimization/46167 (ICE: SIGSEGV in flow_bb_inside_loop_p (cfgloop.c:776...
Ira Rosen [Tue, 26 Oct 2010 20:15:52 +0000 (20:15 +0000)] 
re PR tree-optimization/46167 (ICE: SIGSEGV in flow_bb_inside_loop_p (cfgloop.c:776) with -O -ftree-vectorize)

PR tree-optimization/46167
* tree-vect-patterns.c (vect_recog_dot_prod_pattern): Check that
there is basic block for the statement.

From-SVN: r165985

14 years agoDaily bump.
GCC Administrator [Tue, 26 Oct 2010 00:16:53 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r165931

14 years agore PR fortran/46140 (Include not found - but exit status code is zero)
Steven G. Kargl [Mon, 25 Oct 2010 16:09:47 +0000 (16:09 +0000)] 
re PR fortran/46140 (Include not found - but exit status code is zero)

2010-10-25  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/46140
* fortran/scanner.c (include_line): Check return value of load_file.

From-SVN: r165923

14 years agoDaily bump.
GCC Administrator [Mon, 25 Oct 2010 00:17:36 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r165909

14 years agoreg-stack.c (convert_regs_1): Return boolean value, true if the CFG has been modified.
Eric Botcazou [Sun, 24 Oct 2010 20:53:26 +0000 (20:53 +0000)] 
reg-stack.c (convert_regs_1): Return boolean value, true if the CFG has been modified.

* reg-stack.c (convert_regs_1): Return boolean value, true if the CFG
has been modified.
(convert_regs_2): Likewise.  Adjust calls to convert_regs_1.
(convert_regs): Adjust calls to convert_regs_2.  Clean up the CFG if
it has been modified.

From-SVN: r165906

14 years agoDaily bump.
GCC Administrator [Sun, 24 Oct 2010 00:17:04 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r165894

14 years agoDaily bump.
GCC Administrator [Sat, 23 Oct 2010 00:17:58 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r165878

14 years agore PR target/46098 (ICE: in extract_insn, at recog.c:2100 with -msse3 -ffloat-store...
Uros Bizjak [Fri, 22 Oct 2010 16:18:41 +0000 (18:18 +0200)] 
re PR target/46098 (ICE: in extract_insn, at recog.c:2100 with -msse3 -ffloat-store and __builtin_ia32_loadupd())

PR target/46098
* config/i386/sse.md (*avx_movup<avxmodesuffixf2c><avxmodesuffix>):
Rename from avx_movup<avxmodesuffixf2c><avxmodesuffix>.
(avx_movup<avxmodesuffixf2c><avxmodesuffix>): New expander.
(*<sse>_movup<ssemodesuffixf2c>): Rename from
<sse>_movup<ssemodesuffixf2c>.
(<sse>_movup<ssemodesuffixf2c>): New expander.
(*avx_movdqu<avxmodesuffix>): Rename from avx_movdqu<avxmodesuffix>.
(avx_movdqu<avxmodesuffix>): New expander.
(*sse2_movdqu): Rename from sse2_movdqu.
(sse2_movdqu): New expander.

testsuite/ChangeLog:

PR target/46098
* gcc.target/i386/pr46098.c: New test.

From-SVN: r165846

14 years agore PR target/45946 (ICE: in extract_insn, at recog.c:2127 when using _Decimal128...
Uros Bizjak [Fri, 22 Oct 2010 04:56:41 +0000 (06:56 +0200)] 
re PR target/45946 (ICE: in extract_insn, at recog.c:2127 when using _Decimal128 with -Os -fno-omit-frame-pointer)

PR target/45946
* config/i386/i386.md (*pushti2): New insn pattern.
(pushti2 splitter): New insn splitter.

testsuite/ChangeLog:

PR target/45946
* gcc.target/i386/pr45946.c: New test.

From-SVN: r165801

14 years agoDaily bump.
GCC Administrator [Fri, 22 Oct 2010 00:17:57 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r165797

14 years agofixincludes:
Rainer Orth [Thu, 21 Oct 2010 17:13:25 +0000 (17:13 +0000)] 
fixincludes:

Backport from mainline:
2010-10-20  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

PR c++/46024
* inclhack.def (solaris_sys_va_list): New fix.
* fixincl.x: Regenerate.
* tests/base/sys/va_list.h: New test.

gcc/testsuite:
Backport from mainline:
2010-10-20  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

PR c++/46024
* g++.dg/warn/miss-format-1.C: Enclose dg-error target list in braces.

2010-08-04  Daniel Gutson  <dgutson@codesourcery.com>

* g++.dg/warn/miss-format-1.C: Update line number.

2010-05-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

* g++.dg/warn/miss-format-1.C (bar): xfail dg-warning on
alpha*-dec-osf*.

From-SVN: r165782

14 years agore PR fortran/46007 (wrong code for SHAPE in a scalarized loop)
Thomas Koenig [Thu, 21 Oct 2010 13:02:09 +0000 (13:02 +0000)] 
re PR fortran/46007 (wrong code for SHAPE in a scalarized loop)

2010-10-21  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/46007
Backport from trunk
* m4/shape.m4 (shape_'rtype_kind`):  Use variable for rank.
Allocate return array if unallocated.
* generated/shape_i4.c:  Regenerated.
* generated/shape_i8.c:  Regenerated.
* generated/shape_i16.c:  Regenerated.

2010-10-21  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/46007
Backport from trunk
* gfortran.dg/shape_5.f90:  New test case.

From-SVN: r165773

14 years agoDaily bump.
GCC Administrator [Thu, 21 Oct 2010 00:17:41 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r165744

14 years agore PR c++/45983 (ICE: tree code 'template_parm_index' is not supported in gimple...
Jason Merrill [Wed, 20 Oct 2010 15:05:22 +0000 (11:05 -0400)] 
re PR c++/45983 (ICE: tree code 'template_parm_index' is not supported in gimple streams with -lto)

PR c++/45983
* tree.c (cp_build_qualified_type_real): Don't reuse a variant
with a different typedef variant of the element type.

From-SVN: r165728