public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/44539]  New: [4.6 Regression] ICE: verify_ssa failed: type mismatch between an SSA_NAME and its symbol
@ 2010-06-14 17:46 zsojka at seznam dot cz
  2010-06-14 17:48 ` [Bug tree-optimization/44539] " zsojka at seznam dot cz
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: zsojka at seznam dot cz @ 2010-06-14 17:46 UTC (permalink / raw)
  To: gcc-bugs

Command line:
$ gcc -O[12] -ftracer -freorder-blocks testcase.c

It doesn't crash when -fno-ipa-pure-const is supplied.

Compiler output:
$ gcc -O1 -ftracer -freorder-blocks testcase.c
testcase.c: In function 'foo':
testcase.c:21:6: error: type mismatch between an SSA_NAME and its symbol
testcase.c:21:6: error: in statement
# .MEM_5 = VDEF <.MEM_7>
noret1 ();
testcase.c:21:6: internal compiler error: verify_ssa failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r160687 - crash (+rtl,df checking)
r160527 - crash (+rtl,df checking)
r159696 - OK


-- 
           Summary: [4.6 Regression] ICE: verify_ssa failed: type mismatch
                    between an SSA_NAME and its symbol
           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=44539


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

* [Bug tree-optimization/44539] [4.6 Regression] ICE: verify_ssa failed: type mismatch between an SSA_NAME and its symbol
  2010-06-14 17:46 [Bug tree-optimization/44539] New: [4.6 Regression] ICE: verify_ssa failed: type mismatch between an SSA_NAME and its symbol zsojka at seznam dot cz
@ 2010-06-14 17:48 ` zsojka at seznam dot cz
  2010-06-14 19:00 ` rguenth at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: zsojka at seznam dot cz @ 2010-06-14 17:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from zsojka at seznam dot cz  2010-06-14 17:48 -------
Created an attachment (id=20910)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20910&action=view)
reduced testcase (from gcc/lto-wrapper.c)

Command line:
$ gcc -O1 -ftracer -freorder-blocks pr44539.c

Bootstrap with BOOT_CFLAGS="-O2 -ftracer" probably fails.


-- 


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


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

* [Bug tree-optimization/44539] [4.6 Regression] ICE: verify_ssa failed: type mismatch between an SSA_NAME and its symbol
  2010-06-14 17:46 [Bug tree-optimization/44539] New: [4.6 Regression] ICE: verify_ssa failed: type mismatch between an SSA_NAME and its symbol zsojka at seznam dot cz
  2010-06-14 17:48 ` [Bug tree-optimization/44539] " zsojka at seznam dot cz
@ 2010-06-14 19:00 ` rguenth at gcc dot gnu dot org
  2010-06-14 21:39 ` hjl dot tools at gmail dot com
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-06-14 19:00 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.6.0


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


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

* [Bug tree-optimization/44539] [4.6 Regression] ICE: verify_ssa failed: type mismatch between an SSA_NAME and its symbol
  2010-06-14 17:46 [Bug tree-optimization/44539] New: [4.6 Regression] ICE: verify_ssa failed: type mismatch between an SSA_NAME and its symbol zsojka at seznam dot cz
  2010-06-14 17:48 ` [Bug tree-optimization/44539] " zsojka at seznam dot cz
  2010-06-14 19:00 ` rguenth at gcc dot gnu dot org
@ 2010-06-14 21:39 ` hjl dot tools at gmail dot com
  2010-06-24  9:43 ` jakub at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-06-14 21:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hjl dot tools at gmail dot com  2010-06-14 21:39 -------
It is caused by revision 160124:

http://gcc.gnu.org/ml/gcc-cvs/2010-06/msg00036.html


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-06-14 21:39:14
               date|                            |


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


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

* [Bug tree-optimization/44539] [4.6 Regression] ICE: verify_ssa failed: type mismatch between an SSA_NAME and its symbol
  2010-06-14 17:46 [Bug tree-optimization/44539] New: [4.6 Regression] ICE: verify_ssa failed: type mismatch between an SSA_NAME and its symbol zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2010-06-14 21:39 ` hjl dot tools at gmail dot com
@ 2010-06-24  9:43 ` jakub at gcc dot gnu dot org
  2010-06-24  9:55 ` jakub at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-06-24  9:43 UTC (permalink / raw)
  To: gcc-bugs



-- 

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|NEW                         |ASSIGNED
   Last reconfirmed|2010-06-14 21:39:14         |2010-06-24 09:43:17
               date|                            |


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


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

* [Bug tree-optimization/44539] [4.6 Regression] ICE: verify_ssa failed: type mismatch between an SSA_NAME and its symbol
  2010-06-14 17:46 [Bug tree-optimization/44539] New: [4.6 Regression] ICE: verify_ssa failed: type mismatch between an SSA_NAME and its symbol zsojka at seznam dot cz
                   ` (3 preceding siblings ...)
  2010-06-24  9:43 ` jakub at gcc dot gnu dot org
@ 2010-06-24  9:55 ` jakub at gcc dot gnu dot org
  2010-06-24 10:14 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-06-24  9:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jakub at gcc dot gnu dot org  2010-06-24 09:55 -------
Created an attachment (id=20994)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20994&action=view)
gcc46-pr44539.patch

Untested fix.


-- 


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


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

* [Bug tree-optimization/44539] [4.6 Regression] ICE: verify_ssa failed: type mismatch between an SSA_NAME and its symbol
  2010-06-14 17:46 [Bug tree-optimization/44539] New: [4.6 Regression] ICE: verify_ssa failed: type mismatch between an SSA_NAME and its symbol zsojka at seznam dot cz
                   ` (4 preceding siblings ...)
  2010-06-24  9:55 ` jakub at gcc dot gnu dot org
@ 2010-06-24 10:14 ` rguenth at gcc dot gnu dot org
  2010-06-24 10:44 ` jakub at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-06-24 10:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2010-06-24 10:13 -------
I would simply move the update_stmt call down to be called unconditionally
before returning.  Setting changed to true isn't needed, as iterating
will not discover more things just because we remove a vop.


-- 


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


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

* [Bug tree-optimization/44539] [4.6 Regression] ICE: verify_ssa failed: type mismatch between an SSA_NAME and its symbol
  2010-06-14 17:46 [Bug tree-optimization/44539] New: [4.6 Regression] ICE: verify_ssa failed: type mismatch between an SSA_NAME and its symbol zsojka at seznam dot cz
                   ` (5 preceding siblings ...)
  2010-06-24 10:14 ` rguenth at gcc dot gnu dot org
@ 2010-06-24 10:44 ` jakub at gcc dot gnu dot org
  2010-06-25 12:07 ` jakub at gcc dot gnu dot org
  2010-06-25 12:30 ` jakub at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-06-24 10:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jakub at gcc dot gnu dot org  2010-06-24 10:44 -------
Created an attachment (id=20996)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20996&action=view)
gcc46-pr44539.patch

This works too.


-- 


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


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

* [Bug tree-optimization/44539] [4.6 Regression] ICE: verify_ssa failed: type mismatch between an SSA_NAME and its symbol
  2010-06-14 17:46 [Bug tree-optimization/44539] New: [4.6 Regression] ICE: verify_ssa failed: type mismatch between an SSA_NAME and its symbol zsojka at seznam dot cz
                   ` (6 preceding siblings ...)
  2010-06-24 10:44 ` jakub at gcc dot gnu dot org
@ 2010-06-25 12:07 ` jakub at gcc dot gnu dot org
  2010-06-25 12:30 ` jakub at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-06-25 12:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from jakub at gcc dot gnu dot org  2010-06-25 12:07 -------
Subject: Bug 44539

Author: jakub
Date: Fri Jun 25 12:07:00 2010
New Revision: 161374

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161374
Log:
        PR tree-optimization/44539
        * tree-cfgcleanup.c (fixup_noreturn_call): Call update_stmt even when
        the call doesn't have LHS, but has VDEF.

        * gcc.dg/pr44539.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr44539.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-cfgcleanup.c


-- 


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


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

* [Bug tree-optimization/44539] [4.6 Regression] ICE: verify_ssa failed: type mismatch between an SSA_NAME and its symbol
  2010-06-14 17:46 [Bug tree-optimization/44539] New: [4.6 Regression] ICE: verify_ssa failed: type mismatch between an SSA_NAME and its symbol zsojka at seznam dot cz
                   ` (7 preceding siblings ...)
  2010-06-25 12:07 ` jakub at gcc dot gnu dot org
@ 2010-06-25 12:30 ` jakub at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-06-25 12:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from jakub at gcc dot gnu dot org  2010-06-25 12:30 -------
Should be fixed now.


-- 

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=44539


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

end of thread, other threads:[~2010-06-25 12:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-14 17:46 [Bug tree-optimization/44539] New: [4.6 Regression] ICE: verify_ssa failed: type mismatch between an SSA_NAME and its symbol zsojka at seznam dot cz
2010-06-14 17:48 ` [Bug tree-optimization/44539] " zsojka at seznam dot cz
2010-06-14 19:00 ` rguenth at gcc dot gnu dot org
2010-06-14 21:39 ` hjl dot tools at gmail dot com
2010-06-24  9:43 ` jakub at gcc dot gnu dot org
2010-06-24  9:55 ` jakub at gcc dot gnu dot org
2010-06-24 10:14 ` rguenth at gcc dot gnu dot org
2010-06-24 10:44 ` jakub at gcc dot gnu dot org
2010-06-25 12:07 ` jakub at gcc dot gnu dot org
2010-06-25 12:30 ` jakub 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).