public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/43656] New: "-fcompare-debug failure" with "-O2 -fschedule-insns -fsched-pressure -funroll-loops -fgraphite-identity"
@ 2010-04-05 22:30 zsojka at seznam dot cz
2010-04-05 22:31 ` [Bug middle-end/43656] " zsojka at seznam dot cz
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: zsojka at seznam dot cz @ 2010-04-05 22:30 UTC (permalink / raw)
To: gcc-bugs
Command line:
gcc -O2 -fschedule-insns -fsched-pressure -funroll-loops -fgraphite-identity
-fcompare-debug testcase.c
Tested revisions:
r157965 - fail
r157877 - fail
r153685 - fail
--
Summary: "-fcompare-debug failure" with "-O2 -fschedule-insns -
fsched-pressure -funroll-loops -fgraphite-identity"
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: zsojka at seznam dot cz
GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43656
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/43656] "-fcompare-debug failure" with "-O2 -fschedule-insns -fsched-pressure -funroll-loops -fgraphite-identity"
2010-04-05 22:30 [Bug middle-end/43656] New: "-fcompare-debug failure" with "-O2 -fschedule-insns -fsched-pressure -funroll-loops -fgraphite-identity" zsojka at seznam dot cz
@ 2010-04-05 22:31 ` zsojka at seznam dot cz
2010-04-08 11:53 ` jakub at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: zsojka at seznam dot cz @ 2010-04-05 22:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from zsojka at seznam dot cz 2010-04-05 22:31 -------
Created an attachment (id=20318)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20318&action=view)
reduced testcase
Command line:
gcc -O2 -fschedule-insns -fsched-pressure -funroll-loops -fgraphite-identity
-fcompare-debug pr43656.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43656
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/43656] "-fcompare-debug failure" with "-O2 -fschedule-insns -fsched-pressure -funroll-loops -fgraphite-identity"
2010-04-05 22:30 [Bug middle-end/43656] New: "-fcompare-debug failure" with "-O2 -fschedule-insns -fsched-pressure -funroll-loops -fgraphite-identity" zsojka at seznam dot cz
2010-04-05 22:31 ` [Bug middle-end/43656] " zsojka at seznam dot cz
@ 2010-04-08 11:53 ` jakub at gcc dot gnu dot org
2010-04-08 12:21 ` zsojka at seznam dot cz
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-04-08 11:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from jakub at gcc dot gnu dot org 2010-04-08 11:53 -------
Can't reproduce this with r158104.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43656
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/43656] "-fcompare-debug failure" with "-O2 -fschedule-insns -fsched-pressure -funroll-loops -fgraphite-identity"
2010-04-05 22:30 [Bug middle-end/43656] New: "-fcompare-debug failure" with "-O2 -fschedule-insns -fsched-pressure -funroll-loops -fgraphite-identity" zsojka at seznam dot cz
2010-04-05 22:31 ` [Bug middle-end/43656] " zsojka at seznam dot cz
2010-04-08 11:53 ` jakub at gcc dot gnu dot org
@ 2010-04-08 12:21 ` zsojka at seznam dot cz
2010-05-22 18:00 ` zsojka at seznam dot cz
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: zsojka at seznam dot cz @ 2010-04-08 12:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from zsojka at seznam dot cz 2010-04-08 12:21 -------
Created an attachment (id=20334)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20334&action=view)
testcase that crashes in r158095
When size of arrays is changed from 64 to 1000, it fails again in r158095
--
zsojka at seznam dot cz changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #20318|0 |1
is obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43656
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug middle-end/43656] "-fcompare-debug failure" with "-O2 -fschedule-insns -fsched-pressure -funroll-loops -fgraphite-identity"
2010-04-05 22:30 [Bug middle-end/43656] New: "-fcompare-debug failure" with "-O2 -fschedule-insns -fsched-pressure -funroll-loops -fgraphite-identity" zsojka at seznam dot cz
` (2 preceding siblings ...)
2010-04-08 12:21 ` zsojka at seznam dot cz
@ 2010-05-22 18:00 ` zsojka at seznam dot cz
2010-06-11 13:58 ` [Bug debug/43656] " aoliva at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: zsojka at seznam dot cz @ 2010-05-22 18:00 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from zsojka at seznam dot cz 2010-05-22 18:00 -------
This, nor the original (unreduced) testcase, no longer fails in r159387,
r159511 and r159696.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43656
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug debug/43656] "-fcompare-debug failure" with "-O2 -fschedule-insns -fsched-pressure -funroll-loops -fgraphite-identity"
2010-04-05 22:30 [Bug middle-end/43656] New: "-fcompare-debug failure" with "-O2 -fschedule-insns -fsched-pressure -funroll-loops -fgraphite-identity" zsojka at seznam dot cz
` (3 preceding siblings ...)
2010-05-22 18:00 ` zsojka at seznam dot cz
@ 2010-06-11 13:58 ` aoliva at gcc dot gnu dot org
2010-06-11 14:01 ` aoliva at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: aoliva at gcc dot gnu dot org @ 2010-06-11 13:58 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from aoliva at gcc dot gnu dot org 2010-06-11 13:57 -------
Mine
--
aoliva at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |aoliva at gcc dot gnu dot
|dot org |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43656
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug debug/43656] "-fcompare-debug failure" with "-O2 -fschedule-insns -fsched-pressure -funroll-loops -fgraphite-identity"
2010-04-05 22:30 [Bug middle-end/43656] New: "-fcompare-debug failure" with "-O2 -fschedule-insns -fsched-pressure -funroll-loops -fgraphite-identity" zsojka at seznam dot cz
` (4 preceding siblings ...)
2010-06-11 13:58 ` [Bug debug/43656] " aoliva at gcc dot gnu dot org
@ 2010-06-11 14:01 ` aoliva at gcc dot gnu dot org
2010-06-11 16:11 ` zsojka at seznam dot cz
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: aoliva at gcc dot gnu dot org @ 2010-06-11 14:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from aoliva at gcc dot gnu dot org 2010-06-11 14:00 -------
Created an attachment (id=20892)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20892&action=view)
Patch that fixes the problem
This patch (perhaps in addition to the patch for PR 44181, I haven't tried the
old tree without that patch) fixes sched to disregard any apparent register
pressure from debug insns. I'm going to give it some more testing before
posting it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43656
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug debug/43656] "-fcompare-debug failure" with "-O2 -fschedule-insns -fsched-pressure -funroll-loops -fgraphite-identity"
2010-04-05 22:30 [Bug middle-end/43656] New: "-fcompare-debug failure" with "-O2 -fschedule-insns -fsched-pressure -funroll-loops -fgraphite-identity" zsojka at seznam dot cz
` (5 preceding siblings ...)
2010-06-11 14:01 ` aoliva at gcc dot gnu dot org
@ 2010-06-11 16:11 ` zsojka at seznam dot cz
2010-06-14 19:18 ` aoliva at gcc dot gnu dot org
2010-06-14 19:19 ` aoliva at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: zsojka at seznam dot cz @ 2010-06-11 16:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from zsojka at seznam dot cz 2010-06-11 16:10 -------
I can confirm the testcase from comment #3 doesn't fail in r158095 when only
patch from comment #6 is applied (and gcc_checking_assert() is replaced by
gcc_assert())
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43656
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug debug/43656] "-fcompare-debug failure" with "-O2 -fschedule-insns -fsched-pressure -funroll-loops -fgraphite-identity"
2010-04-05 22:30 [Bug middle-end/43656] New: "-fcompare-debug failure" with "-O2 -fschedule-insns -fsched-pressure -funroll-loops -fgraphite-identity" zsojka at seznam dot cz
` (6 preceding siblings ...)
2010-06-11 16:11 ` zsojka at seznam dot cz
@ 2010-06-14 19:18 ` aoliva at gcc dot gnu dot org
2010-06-14 19:19 ` aoliva at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: aoliva at gcc dot gnu dot org @ 2010-06-14 19:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from aoliva at gcc dot gnu dot org 2010-06-14 19:18 -------
Subject: Bug 43656
Author: aoliva
Date: Mon Jun 14 19:18:04 2010
New Revision: 160761
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160761
Log:
PR debug/43656
* haifa-sched.c (setup_insn_reg_pressure_info,
update_register_pressure): Reject debug insns.
(ready_sort): Don't setup reg pressure for debug insns.
(schedule_insn): Don't update reg pressure for debug insns.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/haifa-sched.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43656
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug debug/43656] "-fcompare-debug failure" with "-O2 -fschedule-insns -fsched-pressure -funroll-loops -fgraphite-identity"
2010-04-05 22:30 [Bug middle-end/43656] New: "-fcompare-debug failure" with "-O2 -fschedule-insns -fsched-pressure -funroll-loops -fgraphite-identity" zsojka at seznam dot cz
` (7 preceding siblings ...)
2010-06-14 19:18 ` aoliva at gcc dot gnu dot org
@ 2010-06-14 19:19 ` aoliva at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: aoliva at gcc dot gnu dot org @ 2010-06-14 19:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from aoliva at gcc dot gnu dot org 2010-06-14 19:19 -------
Fixed
--
aoliva at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43656
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2010-06-14 19:19 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-05 22:30 [Bug middle-end/43656] New: "-fcompare-debug failure" with "-O2 -fschedule-insns -fsched-pressure -funroll-loops -fgraphite-identity" zsojka at seznam dot cz
2010-04-05 22:31 ` [Bug middle-end/43656] " zsojka at seznam dot cz
2010-04-08 11:53 ` jakub at gcc dot gnu dot org
2010-04-08 12:21 ` zsojka at seznam dot cz
2010-05-22 18:00 ` zsojka at seznam dot cz
2010-06-11 13:58 ` [Bug debug/43656] " aoliva at gcc dot gnu dot org
2010-06-11 14:01 ` aoliva at gcc dot gnu dot org
2010-06-11 16:11 ` zsojka at seznam dot cz
2010-06-14 19:18 ` aoliva at gcc dot gnu dot org
2010-06-14 19:19 ` aoliva at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).