* [Bug rtl-optimization/38280] [4.4 regression] Revision 142207 breaks 416.gamess/481.wrf in SPEC CPU 2006
2008-11-26 19:00 [Bug rtl-optimization/38280] New: [4.3 Regression] Revision 142207 breaks 416.gamess/481.wrf/ in SPEC CPU 2006 hjl dot tools at gmail dot com
@ 2008-11-27 17:33 ` jsm28 at gcc dot gnu dot org
2008-11-27 20:33 ` vmakarov at redhat dot com
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-11-27 17:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from jsm28 at gcc dot gnu dot org 2008-11-27 17:32 -------
Setting to P4, please restore to P3 if a C or C++ test showing this problem is
found.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38280
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/38280] [4.4 regression] Revision 142207 breaks 416.gamess/481.wrf in SPEC CPU 2006
2008-11-26 19:00 [Bug rtl-optimization/38280] New: [4.3 Regression] Revision 142207 breaks 416.gamess/481.wrf/ in SPEC CPU 2006 hjl dot tools at gmail dot com
2008-11-27 17:33 ` [Bug rtl-optimization/38280] [4.4 regression] Revision 142207 breaks 416.gamess/481.wrf " jsm28 at gcc dot gnu dot org
@ 2008-11-27 20:33 ` vmakarov at redhat dot com
2008-11-27 23:31 ` hjl at gcc dot gnu dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: vmakarov at redhat dot com @ 2008-11-27 20:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from vmakarov at redhat dot com 2008-11-27 20:32 -------
The problem was in violation of allocno order in regno_allocno_map list.
This order is very important for many algorithms (allocno info propagation,
conflict propagation and IR flattening). For example,
loop 0:
no usage of R
loop 1:
a1 representing R
loop 2:
a2 representing R
After removing Loop1, we move a1 to loop 0. Allocnos on upper levels should be
after allocnos on lower levels in regno_allocno_map list. Before removing loop
we had a1 a2 in the list which is ok because they are on the same loop level.
After removing loop 1, we have again a1 and a2 which is not ok because a1 now
corresponds to loop 0 containing loop 1 and as a consequence should be after
a2.
We had no problem before the patch because we removed always a loop and all
its subloops (removing loops based on register pressure) and the order
violation was not possible.
I'll submit a patch solving the problem today.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38280
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/38280] [4.4 regression] Revision 142207 breaks 416.gamess/481.wrf in SPEC CPU 2006
2008-11-26 19:00 [Bug rtl-optimization/38280] New: [4.3 Regression] Revision 142207 breaks 416.gamess/481.wrf/ in SPEC CPU 2006 hjl dot tools at gmail dot com
2008-11-27 17:33 ` [Bug rtl-optimization/38280] [4.4 regression] Revision 142207 breaks 416.gamess/481.wrf " jsm28 at gcc dot gnu dot org
2008-11-27 20:33 ` vmakarov at redhat dot com
@ 2008-11-27 23:31 ` hjl at gcc dot gnu dot org
2008-11-28 3:41 ` Joey dot ye at intel dot com
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: hjl at gcc dot gnu dot org @ 2008-11-27 23:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from hjl at gcc dot gnu dot org 2008-11-27 23:30 -------
Subject: Bug 38280
Author: hjl
Date: Thu Nov 27 23:28:44 2008
New Revision: 142250
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142250
Log:
2008-11-27 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/38280
* ira-build.c (loop_is_inside_p, regno_allocno_order_compare_func,
ira_rebuild_regno_allocno_list): New functions.
(regno_allocnos): New static variable.
(remove_unnecessary_allocnos): Allocate/deallocate regno_allocnos.
Call ira_rebuild_regno_allocno_list.
Modified:
branches/ira-merge/gcc/ChangeLog.ira
branches/ira-merge/gcc/ira-build.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38280
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/38280] [4.4 regression] Revision 142207 breaks 416.gamess/481.wrf in SPEC CPU 2006
2008-11-26 19:00 [Bug rtl-optimization/38280] New: [4.3 Regression] Revision 142207 breaks 416.gamess/481.wrf/ in SPEC CPU 2006 hjl dot tools at gmail dot com
` (2 preceding siblings ...)
2008-11-27 23:31 ` hjl at gcc dot gnu dot org
@ 2008-11-28 3:41 ` Joey dot ye at intel dot com
2008-11-28 8:43 ` hjl dot tools at gmail dot com
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Joey dot ye at intel dot com @ 2008-11-28 3:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from Joey dot ye at intel dot com 2008-11-28 03:39 -------
142250 doesn't fix this regression. 416.gamess and 481.wrf still fail.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38280
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/38280] [4.4 regression] Revision 142207 breaks 416.gamess/481.wrf in SPEC CPU 2006
2008-11-26 19:00 [Bug rtl-optimization/38280] New: [4.3 Regression] Revision 142207 breaks 416.gamess/481.wrf/ in SPEC CPU 2006 hjl dot tools at gmail dot com
` (3 preceding siblings ...)
2008-11-28 3:41 ` Joey dot ye at intel dot com
@ 2008-11-28 8:43 ` hjl dot tools at gmail dot com
2008-11-28 15:12 ` Joey dot ye at intel dot com
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-11-28 8:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from hjl dot tools at gmail dot com 2008-11-28 08:42 -------
(In reply to comment #4)
> 142250 doesn't fix this regression. 416.gamess and 481.wrf still fail.
>
Revision 142250 is for ira-merge branch. Please try
http://gcc.gnu.org/ml/gcc-patches/2008-11/msg01428.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38280
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/38280] [4.4 regression] Revision 142207 breaks 416.gamess/481.wrf in SPEC CPU 2006
2008-11-26 19:00 [Bug rtl-optimization/38280] New: [4.3 Regression] Revision 142207 breaks 416.gamess/481.wrf/ in SPEC CPU 2006 hjl dot tools at gmail dot com
` (4 preceding siblings ...)
2008-11-28 8:43 ` hjl dot tools at gmail dot com
@ 2008-11-28 15:12 ` Joey dot ye at intel dot com
2008-11-28 15:22 ` hjl dot tools at gmail dot com
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Joey dot ye at intel dot com @ 2008-11-28 15:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from Joey dot ye at intel dot com 2008-11-28 15:11 -------
Patch at http://gcc.gnu.org/ml/gcc-patches/2008-11/msg01428.html fixed this
regression.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38280
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/38280] [4.4 regression] Revision 142207 breaks 416.gamess/481.wrf in SPEC CPU 2006
2008-11-26 19:00 [Bug rtl-optimization/38280] New: [4.3 Regression] Revision 142207 breaks 416.gamess/481.wrf/ in SPEC CPU 2006 hjl dot tools at gmail dot com
` (5 preceding siblings ...)
2008-11-28 15:12 ` Joey dot ye at intel dot com
@ 2008-11-28 15:22 ` hjl dot tools at gmail dot com
2008-12-01 2:19 ` Joey dot ye at intel dot com
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-11-28 15:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from hjl dot tools at gmail dot com 2008-11-28 15:20 -------
(In reply to comment #6)
> Patch at http://gcc.gnu.org/ml/gcc-patches/2008-11/msg01428.html fixed this
> regression.
>
481.wrf also failed on Intel64. Does this patch fix it?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38280
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/38280] [4.4 regression] Revision 142207 breaks 416.gamess/481.wrf in SPEC CPU 2006
2008-11-26 19:00 [Bug rtl-optimization/38280] New: [4.3 Regression] Revision 142207 breaks 416.gamess/481.wrf/ in SPEC CPU 2006 hjl dot tools at gmail dot com
` (6 preceding siblings ...)
2008-11-28 15:22 ` hjl dot tools at gmail dot com
@ 2008-12-01 2:19 ` Joey dot ye at intel dot com
2008-12-02 0:18 ` vmakarov at gcc dot gnu dot org
2008-12-02 18:50 ` hjl dot tools at gmail dot com
9 siblings, 0 replies; 11+ messages in thread
From: Joey dot ye at intel dot com @ 2008-12-01 2:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from Joey dot ye at intel dot com 2008-12-01 02:18 -------
Yes. It fixes 416/481 on 32 bits and 481 on 64 bits.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38280
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/38280] [4.4 regression] Revision 142207 breaks 416.gamess/481.wrf in SPEC CPU 2006
2008-11-26 19:00 [Bug rtl-optimization/38280] New: [4.3 Regression] Revision 142207 breaks 416.gamess/481.wrf/ in SPEC CPU 2006 hjl dot tools at gmail dot com
` (7 preceding siblings ...)
2008-12-01 2:19 ` Joey dot ye at intel dot com
@ 2008-12-02 0:18 ` vmakarov at gcc dot gnu dot org
2008-12-02 18:50 ` hjl dot tools at gmail dot com
9 siblings, 0 replies; 11+ messages in thread
From: vmakarov at gcc dot gnu dot org @ 2008-12-02 0:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from vmakarov at gcc dot gnu dot org 2008-12-02 00:17 -------
Subject: Bug 38280
Author: vmakarov
Date: Tue Dec 2 00:15:35 2008
New Revision: 142336
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142336
Log:
2008-12-01 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/38280
* ira-build.c (loop_is_inside_p, regno_allocno_order_compare_func,
ira_rebuild_regno_allocno_list): New functions.
(regno_allocnos): New static variable.
(remove_unnecessary_allocnos): Allocate/deallocate regno_allocnos.
Call ira_rebuild_regno_allocno_list.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ira-build.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38280
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/38280] [4.4 regression] Revision 142207 breaks 416.gamess/481.wrf in SPEC CPU 2006
2008-11-26 19:00 [Bug rtl-optimization/38280] New: [4.3 Regression] Revision 142207 breaks 416.gamess/481.wrf/ in SPEC CPU 2006 hjl dot tools at gmail dot com
` (8 preceding siblings ...)
2008-12-02 0:18 ` vmakarov at gcc dot gnu dot org
@ 2008-12-02 18:50 ` hjl dot tools at gmail dot com
9 siblings, 0 replies; 11+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-12-02 18:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from hjl dot tools at gmail dot com 2008-12-02 18:46 -------
Fixed as of revision 142345.
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38280
^ permalink raw reply [flat|nested] 11+ messages in thread