public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/44178] New: -fcompare-debug failure with -O1 -fgcse -fsched-pressure -funroll-loops -fschedule-insns
@ 2010-05-17 21:46 zsojka at seznam dot cz
2010-05-17 21:47 ` [Bug tree-optimization/44178] " zsojka at seznam dot cz
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: zsojka at seznam dot cz @ 2010-05-17 21:46 UTC (permalink / raw)
To: gcc-bugs
Compiler flags:
$ g++ -O1 -fsched-pressure -funroll-loops -fschedule-insns -fcompare-debug
testcase.C
Tested revisions:
r159305 - fail
r159045 - fail
r158095 - fail
r153685 - OK
--
Summary: -fcompare-debug failure with -O1 -fgcse -fsched-pressure
-funroll-loops -fschedule-insns
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
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=44178
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/44178] -fcompare-debug failure with -O1 -fgcse -fsched-pressure -funroll-loops -fschedule-insns
2010-05-17 21:46 [Bug tree-optimization/44178] New: -fcompare-debug failure with -O1 -fgcse -fsched-pressure -funroll-loops -fschedule-insns zsojka at seznam dot cz
@ 2010-05-17 21:47 ` zsojka at seznam dot cz
2010-05-19 13:54 ` [Bug debug/44178] " jakub at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: zsojka at seznam dot cz @ 2010-05-17 21:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from zsojka at seznam dot cz 2010-05-17 21:47 -------
Created an attachment (id=20689)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20689&action=view)
reduced testcase
$ /mnt/svn/gcc-trunk/binary-159305-lto-fortran/bin/g++ -O1 -fgcse
-fsched-pressure -funroll-loops -fschedule-insns -fcompare-debug pr44178.C
g++: pr44178.C: -fcompare-debug failure
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44178
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/44178] -fcompare-debug failure with -O1 -fgcse -fsched-pressure -funroll-loops -fschedule-insns
2010-05-17 21:46 [Bug tree-optimization/44178] New: -fcompare-debug failure with -O1 -fgcse -fsched-pressure -funroll-loops -fschedule-insns zsojka at seznam dot cz
2010-05-17 21:47 ` [Bug tree-optimization/44178] " zsojka at seznam dot cz
@ 2010-05-19 13:54 ` jakub at gcc dot gnu dot org
2010-05-20 16:35 ` jakub at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-05-19 13:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from jakub at gcc dot gnu dot org 2010-05-19 13:53 -------
Created an attachment (id=20700)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20700&action=view)
gcc46-pr44178.patch
Untested fix.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44178
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/44178] -fcompare-debug failure with -O1 -fgcse -fsched-pressure -funroll-loops -fschedule-insns
2010-05-17 21:46 [Bug tree-optimization/44178] New: -fcompare-debug failure with -O1 -fgcse -fsched-pressure -funroll-loops -fschedule-insns zsojka at seznam dot cz
2010-05-17 21:47 ` [Bug tree-optimization/44178] " zsojka at seznam dot cz
2010-05-19 13:54 ` [Bug debug/44178] " jakub at gcc dot gnu dot org
@ 2010-05-20 16:35 ` jakub at gcc dot gnu dot org
2010-05-20 16:59 ` jakub at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-05-20 16:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jakub at gcc dot gnu dot org 2010-05-20 16:35 -------
Subject: Bug 44178
Author: jakub
Date: Thu May 20 16:34:43 2010
New Revision: 159632
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159632
Log:
PR debug/44178
* haifa-sched.c (initiate_bb_reg_pressure_info): Do not call
setup_ref_regs for DEBUG_INSNs.
* g++.dg/debug/pr44178.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/debug/pr44178.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/haifa-sched.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44178
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/44178] -fcompare-debug failure with -O1 -fgcse -fsched-pressure -funroll-loops -fschedule-insns
2010-05-17 21:46 [Bug tree-optimization/44178] New: -fcompare-debug failure with -O1 -fgcse -fsched-pressure -funroll-loops -fschedule-insns zsojka at seznam dot cz
` (2 preceding siblings ...)
2010-05-20 16:35 ` jakub at gcc dot gnu dot org
@ 2010-05-20 16:59 ` jakub at gcc dot gnu dot org
2010-05-20 17:01 ` jakub at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-05-20 16:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jakub at gcc dot gnu dot org 2010-05-20 16:59 -------
Subject: Bug 44178
Author: jakub
Date: Thu May 20 16:58:52 2010
New Revision: 159634
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159634
Log:
PR debug/44178
* haifa-sched.c (initiate_bb_reg_pressure_info): Do not call
setup_ref_regs for DEBUG_INSNs.
* g++.dg/debug/pr44178.C: New test.
Added:
branches/gcc-4_5-branch/gcc/testsuite/g++.dg/debug/pr44178.C
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/haifa-sched.c
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44178
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/44178] -fcompare-debug failure with -O1 -fgcse -fsched-pressure -funroll-loops -fschedule-insns
2010-05-17 21:46 [Bug tree-optimization/44178] New: -fcompare-debug failure with -O1 -fgcse -fsched-pressure -funroll-loops -fschedule-insns zsojka at seznam dot cz
` (3 preceding siblings ...)
2010-05-20 16:59 ` jakub at gcc dot gnu dot org
@ 2010-05-20 17:01 ` jakub at gcc dot gnu dot org
2010-06-05 15:34 ` ebotcazou at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-05-20 17:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jakub at gcc dot gnu dot org 2010-05-20 17:01 -------
Fixed.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44178
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/44178] -fcompare-debug failure with -O1 -fgcse -fsched-pressure -funroll-loops -fschedule-insns
2010-05-17 21:46 [Bug tree-optimization/44178] New: -fcompare-debug failure with -O1 -fgcse -fsched-pressure -funroll-loops -fschedule-insns zsojka at seznam dot cz
` (4 preceding siblings ...)
2010-05-20 17:01 ` jakub at gcc dot gnu dot org
@ 2010-06-05 15:34 ` ebotcazou at gcc dot gnu dot org
2010-06-05 18:32 ` jakub at gcc dot gnu dot org
2010-06-27 8:32 ` ebotcazou at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2010-06-05 15:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from ebotcazou at gcc dot gnu dot org 2010-06-05 15:34 -------
The testcase doesn't pass on 4.5 branch with RTL checking:
/home/eric/gnat/gnat6_45/src/gcc/testsuite/g++.dg/debug/pr44178.C:39:1:
internal compiler error: RTL check: expected elt 3 type 'B', have '0' (rtx
barrier) in setup_insn_max_reg_pressure, at haifa-sched.c:1589
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
compiler exited with status 1
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ebotcazou at gcc dot gnu dot
| |org
Status|RESOLVED |UNCONFIRMED
Resolution|FIXED |
Target Milestone|--- |4.5.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44178
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/44178] -fcompare-debug failure with -O1 -fgcse -fsched-pressure -funroll-loops -fschedule-insns
2010-05-17 21:46 [Bug tree-optimization/44178] New: -fcompare-debug failure with -O1 -fgcse -fsched-pressure -funroll-loops -fschedule-insns zsojka at seznam dot cz
` (5 preceding siblings ...)
2010-06-05 15:34 ` ebotcazou at gcc dot gnu dot org
@ 2010-06-05 18:32 ` jakub at gcc dot gnu dot org
2010-06-27 8:32 ` ebotcazou at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-06-05 18:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from jakub at gcc dot gnu dot org 2010-06-05 18:32 -------
That's because of PR43332, which has been fixed just on the trunk, not on 4.5
branch.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44178
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/44178] -fcompare-debug failure with -O1 -fgcse -fsched-pressure -funroll-loops -fschedule-insns
2010-05-17 21:46 [Bug tree-optimization/44178] New: -fcompare-debug failure with -O1 -fgcse -fsched-pressure -funroll-loops -fschedule-insns zsojka at seznam dot cz
` (6 preceding siblings ...)
2010-06-05 18:32 ` jakub at gcc dot gnu dot org
@ 2010-06-27 8:32 ` ebotcazou at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2010-06-27 8:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from ebotcazou at gcc dot gnu dot org 2010-06-27 08:32 -------
Fully fixed.
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44178
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2010-06-27 8:32 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-17 21:46 [Bug tree-optimization/44178] New: -fcompare-debug failure with -O1 -fgcse -fsched-pressure -funroll-loops -fschedule-insns zsojka at seznam dot cz
2010-05-17 21:47 ` [Bug tree-optimization/44178] " zsojka at seznam dot cz
2010-05-19 13:54 ` [Bug debug/44178] " jakub at gcc dot gnu dot org
2010-05-20 16:35 ` jakub at gcc dot gnu dot org
2010-05-20 16:59 ` jakub at gcc dot gnu dot org
2010-05-20 17:01 ` jakub at gcc dot gnu dot org
2010-06-05 15:34 ` ebotcazou at gcc dot gnu dot org
2010-06-05 18:32 ` jakub at gcc dot gnu dot org
2010-06-27 8:32 ` ebotcazou 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).