public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/42642]  New: "-fcompare-debug failure" with "-O1 -fpeel-loops"
@ 2010-01-07  0:38 zsojka at seznam dot cz
  2010-01-07  0:39 ` [Bug tree-optimization/42642] " zsojka at seznam dot cz
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: zsojka at seznam dot cz @ 2010-01-07  0:38 UTC (permalink / raw)
  To: gcc-bugs

Command line:
g++ -O1 -fpeel-loops -fcompare-debug -c testcase.cpp
it has to be compiled as C++ code, even though it's valid C code

Tested revisions (x86_64):
r155680 - crash
r155662 - crash (x86)
r154886 - crash
r154830 - crash
r153685 - OK (built without graphite support, if that matters)

Output:
$ /mnt/svn/gcc-trunk/binary-155680-lto/bin/g++ -O1 -fcompare-debug -fpeel-loops
testcase.cpp -c
g++: testcase.cpp: -fcompare-debug failure

Valgrind:
no errors reported


-- 
           Summary: "-fcompare-debug failure" with "-O1 -fpeel-loops"
           Product: gcc
           Version: 4.5.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=42642


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug tree-optimization/42642] "-fcompare-debug failure" with "-O1 -fpeel-loops"
  2010-01-07  0:38 [Bug tree-optimization/42642] New: "-fcompare-debug failure" with "-O1 -fpeel-loops" zsojka at seznam dot cz
@ 2010-01-07  0:39 ` zsojka at seznam dot cz
  2010-01-07  7:17 ` steven at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: zsojka at seznam dot cz @ 2010-01-07  0:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from zsojka at seznam dot cz  2010-01-07 00:39 -------
Created an attachment (id=19494)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19494&action=view)
reduced testcase

Command line:
g++ -O1 -fpeel-loops -fcompare-debug pr42642.cpp -c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42642


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug tree-optimization/42642] "-fcompare-debug failure" with "-O1 -fpeel-loops"
  2010-01-07  0:38 [Bug tree-optimization/42642] New: "-fcompare-debug failure" with "-O1 -fpeel-loops" zsojka at seznam dot cz
  2010-01-07  0:39 ` [Bug tree-optimization/42642] " zsojka at seznam dot cz
@ 2010-01-07  7:17 ` steven at gcc dot gnu dot org
  2010-01-07 12:50 ` zsojka at seznam dot cz
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: steven at gcc dot gnu dot org @ 2010-01-07  7:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from steven at gcc dot gnu dot org  2010-01-07 07:17 -------
Can you try with -fnoweb?


-- 

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-07 07:17:23
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42642


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug tree-optimization/42642] "-fcompare-debug failure" with "-O1 -fpeel-loops"
  2010-01-07  0:38 [Bug tree-optimization/42642] New: "-fcompare-debug failure" with "-O1 -fpeel-loops" zsojka at seznam dot cz
  2010-01-07  0:39 ` [Bug tree-optimization/42642] " zsojka at seznam dot cz
  2010-01-07  7:17 ` steven at gcc dot gnu dot org
@ 2010-01-07 12:50 ` zsojka at seznam dot cz
  2010-01-18 16:58 ` steven at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: zsojka at seznam dot cz @ 2010-01-07 12:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from zsojka at seznam dot cz  2010-01-07 12:50 -------
-fno-web helps even with original testcase (and higher optimization level)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42642


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug tree-optimization/42642] "-fcompare-debug failure" with "-O1 -fpeel-loops"
  2010-01-07  0:38 [Bug tree-optimization/42642] New: "-fcompare-debug failure" with "-O1 -fpeel-loops" zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2010-01-07 12:50 ` zsojka at seznam dot cz
@ 2010-01-18 16:58 ` steven at gcc dot gnu dot org
  2010-01-18 17:45 ` zsojka at seznam dot cz
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: steven at gcc dot gnu dot org @ 2010-01-18 16:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from steven at gcc dot gnu dot org  2010-01-18 16:57 -------
I think this is fixed now, with Alexandre's patch. Could the OP confirm that
please?

On to the next -fcompare-debug failure :-)


-- 

steven at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42642


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug tree-optimization/42642] "-fcompare-debug failure" with "-O1 -fpeel-loops"
  2010-01-07  0:38 [Bug tree-optimization/42642] New: "-fcompare-debug failure" with "-O1 -fpeel-loops" zsojka at seznam dot cz
                   ` (3 preceding siblings ...)
  2010-01-18 16:58 ` steven at gcc dot gnu dot org
@ 2010-01-18 17:45 ` zsojka at seznam dot cz
  2010-01-18 18:31 ` steven at gcc dot gnu dot org
  2010-01-18 19:19 ` steven at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: zsojka at seznam dot cz @ 2010-01-18 17:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from zsojka at seznam dot cz  2010-01-18 17:45 -------
$ /mnt/svn/gcc-trunk/binary-155984-lto/bin/g++ -O1 -fpeel-loops -fcompare-debug
pr42642.cpp -c
g++: pr42642.cpp: -fcompare-debug failure

r155984 still fails for me


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42642


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug tree-optimization/42642] "-fcompare-debug failure" with "-O1 -fpeel-loops"
  2010-01-07  0:38 [Bug tree-optimization/42642] New: "-fcompare-debug failure" with "-O1 -fpeel-loops" zsojka at seznam dot cz
                   ` (4 preceding siblings ...)
  2010-01-18 17:45 ` zsojka at seznam dot cz
@ 2010-01-18 18:31 ` steven at gcc dot gnu dot org
  2010-01-18 19:19 ` steven at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: steven at gcc dot gnu dot org @ 2010-01-18 18:31 UTC (permalink / raw)
  To: gcc-bugs



-- 

steven at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
   Last reconfirmed|2010-01-07 07:17:23         |2010-01-18 18:31:13
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42642


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug tree-optimization/42642] "-fcompare-debug failure" with "-O1 -fpeel-loops"
  2010-01-07  0:38 [Bug tree-optimization/42642] New: "-fcompare-debug failure" with "-O1 -fpeel-loops" zsojka at seznam dot cz
                   ` (5 preceding siblings ...)
  2010-01-18 18:31 ` steven at gcc dot gnu dot org
@ 2010-01-18 19:19 ` steven at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: steven at gcc dot gnu dot org @ 2010-01-18 19:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from steven at gcc dot gnu dot org  2010-01-18 19:19 -------
Same issue: web renaming a single-USE "web".

*** This bug has been marked as a duplicate of 42685 ***


-- 

steven at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42642


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-01-18 19:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-07  0:38 [Bug tree-optimization/42642] New: "-fcompare-debug failure" with "-O1 -fpeel-loops" zsojka at seznam dot cz
2010-01-07  0:39 ` [Bug tree-optimization/42642] " zsojka at seznam dot cz
2010-01-07  7:17 ` steven at gcc dot gnu dot org
2010-01-07 12:50 ` zsojka at seznam dot cz
2010-01-18 16:58 ` steven at gcc dot gnu dot org
2010-01-18 17:45 ` zsojka at seznam dot cz
2010-01-18 18:31 ` steven at gcc dot gnu dot org
2010-01-18 19:19 ` steven 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).