public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/42630] New: "-fcompare-debug failure (length)" with "-O1 -fvariable-expansion-in-unroller -funroll-loops"
@ 2010-01-06 0:40 zsojka at seznam dot cz
2010-01-06 0:41 ` [Bug debug/42630] " zsojka at seznam dot cz
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: zsojka at seznam dot cz @ 2010-01-06 0:40 UTC (permalink / raw)
To: gcc-bugs
Can be related to pr42629
Command line:
gcc -O1 -fvariable-expansion-in-unroller -funroll-loops -fcompare-debug -c
testcase.c
Tested revisions (x86_64):
r155643 - crash
r155290 - crash (x86)
r154886 - crash
r153685 - crash
Output:
/mnt/svn/gcc-trunk/binary-155643-lto/bin/gcc -O1
-fvariable-expansion-in-unroller -funroll-loops -fcompare-debug -c testcase.c
gcc: testcase.c: -fcompare-debug failure (length)
--
Summary: "-fcompare-debug failure (length)" with "-O1 -fvariable-
expansion-in-unroller -funroll-loops"
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
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=42630
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug debug/42630] "-fcompare-debug failure (length)" with "-O1 -fvariable-expansion-in-unroller -funroll-loops"
2010-01-06 0:40 [Bug debug/42630] New: "-fcompare-debug failure (length)" with "-O1 -fvariable-expansion-in-unroller -funroll-loops" zsojka at seznam dot cz
@ 2010-01-06 0:41 ` zsojka at seznam dot cz
2010-01-06 8:35 ` steven at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: zsojka at seznam dot cz @ 2010-01-06 0:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from zsojka at seznam dot cz 2010-01-06 00:41 -------
Created an attachment (id=19481)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19481&action=view)
reduced testcase
Command line:
gcc -O1 -fvariable-expansion-in-unroller -funroll-loops -fcompare-debug -c
pr42630.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42630
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug debug/42630] "-fcompare-debug failure (length)" with "-O1 -fvariable-expansion-in-unroller -funroll-loops"
2010-01-06 0:40 [Bug debug/42630] New: "-fcompare-debug failure (length)" with "-O1 -fvariable-expansion-in-unroller -funroll-loops" zsojka at seznam dot cz
2010-01-06 0:41 ` [Bug debug/42630] " zsojka at seznam dot cz
@ 2010-01-06 8:35 ` steven at gcc dot gnu dot org
2010-01-08 7:10 ` aoliva at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: steven at gcc dot gnu dot org @ 2010-01-06 8:35 UTC (permalink / raw)
To: gcc-bugs
--
steven at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |steven at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-01-06 08:35:43
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42630
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug debug/42630] "-fcompare-debug failure (length)" with "-O1 -fvariable-expansion-in-unroller -funroll-loops"
2010-01-06 0:40 [Bug debug/42630] New: "-fcompare-debug failure (length)" with "-O1 -fvariable-expansion-in-unroller -funroll-loops" zsojka at seznam dot cz
2010-01-06 0:41 ` [Bug debug/42630] " zsojka at seznam dot cz
2010-01-06 8:35 ` steven at gcc dot gnu dot org
@ 2010-01-08 7:10 ` aoliva at gcc dot gnu dot org
2010-01-08 7:31 ` stevenb dot gcc at gmail dot com
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: aoliva at gcc dot gnu dot org @ 2010-01-08 7:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from aoliva at gcc dot gnu dot org 2010-01-08 07:10 -------
Taking this over, I hoep stevenb doesn't mind I got a patch.
--
aoliva at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |steven at gcc dot gnu dot
| |org
AssignedTo|steven at gcc dot gnu dot |aoliva at gcc dot gnu dot
|org |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42630
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug debug/42630] "-fcompare-debug failure (length)" with "-O1 -fvariable-expansion-in-unroller -funroll-loops"
2010-01-06 0:40 [Bug debug/42630] New: "-fcompare-debug failure (length)" with "-O1 -fvariable-expansion-in-unroller -funroll-loops" zsojka at seznam dot cz
` (2 preceding siblings ...)
2010-01-08 7:10 ` aoliva at gcc dot gnu dot org
@ 2010-01-08 7:31 ` stevenb dot gcc at gmail dot com
2010-01-09 14:42 ` aoliva at gcc dot gnu dot org
2010-01-09 14:50 ` aoliva at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: stevenb dot gcc at gmail dot com @ 2010-01-08 7:31 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 531 bytes --]
------- Comment #3 from stevenb dot gcc at gmail dot com 2010-01-08 07:31 -------
Subject: Re: "-fcompare-debug failure (length)" with "-O1
-fvariable-expansion-in-unroller -funroll-loops"
> ------- Comment #2 from aoliva at gcc dot gnu dot org 2010-01-08 07:10 -------
> Taking this over, I hoep stevenb doesn't mind I got a patch.
Not at all. You may also want to look at bug 42642. It's another case
where -fno-web helps "fix" a -fcompare-debug issue.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42630
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug debug/42630] "-fcompare-debug failure (length)" with "-O1 -fvariable-expansion-in-unroller -funroll-loops"
2010-01-06 0:40 [Bug debug/42630] New: "-fcompare-debug failure (length)" with "-O1 -fvariable-expansion-in-unroller -funroll-loops" zsojka at seznam dot cz
` (3 preceding siblings ...)
2010-01-08 7:31 ` stevenb dot gcc at gmail dot com
@ 2010-01-09 14:42 ` aoliva at gcc dot gnu dot org
2010-01-09 14:50 ` aoliva at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: aoliva at gcc dot gnu dot org @ 2010-01-09 14:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from aoliva at gcc dot gnu dot org 2010-01-09 14:42 -------
Subject: Bug 42630
Author: aoliva
Date: Sat Jan 9 14:41:35 2010
New Revision: 155764
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155764
Log:
gcc/ChangeLog:
PR debug/42630
* loop-unroll.c (referenced_in_one_insn_in_loop_p): Count debug
uses in new incoming argument. Free body.
(reset_debug_uses_in_loop): New.
(analyze_insn_to_expand_var): Call the latter if the former found
anything. Fix whitespace. Reject invalid dest overlaps before
going through all insns in the loop.
gcc/testsuite/ChangeLog:
PR debug/42630
* gcc.dg/pr42630.c: New.
Added:
trunk/gcc/testsuite/gcc.dg/pr42630.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/loop-unroll.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42630
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug debug/42630] "-fcompare-debug failure (length)" with "-O1 -fvariable-expansion-in-unroller -funroll-loops"
2010-01-06 0:40 [Bug debug/42630] New: "-fcompare-debug failure (length)" with "-O1 -fvariable-expansion-in-unroller -funroll-loops" zsojka at seznam dot cz
` (4 preceding siblings ...)
2010-01-09 14:42 ` aoliva at gcc dot gnu dot org
@ 2010-01-09 14:50 ` aoliva at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: aoliva at gcc dot gnu dot org @ 2010-01-09 14:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from aoliva at gcc dot gnu dot org 2010-01-09 14:50 -------
Fixed
--
aoliva at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42630
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-01-09 14:50 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-06 0:40 [Bug debug/42630] New: "-fcompare-debug failure (length)" with "-O1 -fvariable-expansion-in-unroller -funroll-loops" zsojka at seznam dot cz
2010-01-06 0:41 ` [Bug debug/42630] " zsojka at seznam dot cz
2010-01-06 8:35 ` steven at gcc dot gnu dot org
2010-01-08 7:10 ` aoliva at gcc dot gnu dot org
2010-01-08 7:31 ` stevenb dot gcc at gmail dot com
2010-01-09 14:42 ` aoliva at gcc dot gnu dot org
2010-01-09 14:50 ` 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).