[Bug rtl-optimization/52060] [4.6 Regression] Invalid constant simplification in combine with parallel result

2012-03-01 Thread jingyu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52060

--- Comment #14 from Jing Yu  2012-03-02 01:01:31 
UTC ---
Author: jingyu
Date: Fri Mar  2 01:01:16 2012
New Revision: 184771

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184771
Log:
2012-03-01  Jing Yu  
   Backport r184061 from gcc-4_6-branch to fix PR52060.

   2012-02-07  Jakub Jelinek  
   PR rtl-optimization/52060
   * gcc.dg/torture/pr52060.c: New test.

   2012-02-07  Jakub Jelinek  
   PR rtl-optimization/52060
   * combine.c (try_combine): Add i0src_copy and i0src_copy2 variables,
   copy i1src to i1src_copy whenever added_sets_2 && i1_feeds_i2_n
   already before i1dest -> i1src substitution in newpat, copy i0src
   to i0src_copy and/or i0src_copy2 when needed.


Added:
branches/google/gcc-4_6_2-mobile/gcc/testsuite/gcc.dg/torture/pr52060.c
Modified:
branches/google/gcc-4_6_2-mobile/gcc/ChangeLog.google-4_6
branches/google/gcc-4_6_2-mobile/gcc/combine.c
branches/google/gcc-4_6_2-mobile/gcc/testsuite/ChangeLog.google-4_6


[Bug rtl-optimization/52060] [4.6 Regression] Invalid constant simplification in combine with parallel result

2012-02-24 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52060

Richard Guenther  changed:

   What|Removed |Added

   Target Milestone|4.6.4   |4.6.3


[Bug rtl-optimization/52060] [4.6 Regression] Invalid constant simplification in combine with parallel result

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52060

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #13 from Jakub Jelinek  2012-02-09 
17:49:36 UTC ---
Fixed.


[Bug rtl-optimization/52060] [4.6 Regression] Invalid constant simplification in combine with parallel result

2012-02-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52060

--- Comment #12 from Jakub Jelinek  2012-02-09 
17:29:52 UTC ---
Author: jakub
Date: Thu Feb  9 17:29:38 2012
New Revision: 184061

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184061
Log:
Backported from mainline
2012-02-07  Jakub Jelinek  

PR rtl-optimization/52060
* combine.c (try_combine): Add i0src_copy and i0src_copy2 variables,
copy i1src to i1src_copy whenever added_sets_2 && i1_feeds_i2_n already
before i1dest -> i1src substitution in newpat, copy i0src to i0src_copy
and/or i0src_copy2 when needed.

* gcc.dg/torture/pr52060.c: New test.

Added:
branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/torture/pr52060.c
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/combine.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog


[Bug rtl-optimization/52060] [4.6 Regression] Invalid constant simplification in combine with parallel result

2012-02-07 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52060

Jakub Jelinek  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 AssignedTo|unassigned at gcc dot   |jakub at gcc dot gnu.org
   |gnu.org |
Summary|[4.6/4.7 Regression]|[4.6 Regression] Invalid
   |Invalid constant|constant simplification in
   |simplification in combine   |combine with parallel
   |with parallel result|result

--- Comment #11 from Jakub Jelinek  2012-02-07 
16:16:21 UTC ---
Fixed on the trunk so far.