public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/43781] New: ice: verify_ssa failed
@ 2010-04-18 3:02 regehr at cs dot utah dot edu
2010-04-18 15:20 ` [Bug c/43781] " hjl dot tools at gmail dot com
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: regehr at cs dot utah dot edu @ 2010-04-18 3:02 UTC (permalink / raw)
To: gcc-bugs
[regehr@gamow tmp405]$ current-gcc -c -O2 small.c
small.c: In function 'int32func':
small.c:26:1: error: definition in block 8 follows the use
for SSA_NAME: g_313.0_6 in statement:
# VUSE <.MEM_22>
g_313.8_12 = *g_313.0_6;
small.c:26:1: 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.
[regehr@gamow tmp405]$ cat small.c
typedef int int32_t;
typedef unsigned char uint8_t;
struct S0
{
uint8_t f3;
};
struct S2
{
uint8_t f5;
};
struct S0 g_22 = {
0
};
int32_t g_91;
const struct S2 *g_314;
const struct S2 **g_313 = &g_314;
struct S2 g_320[2] = {
0
};
void
int32func (uint64p_34)
{
for (g_22.f3 = 0; g_22.f3 <= 0; g_22.f3)
{
lbl_491:{
if (1)
{
int32_t *l_453[2][7][7][1][1];
int i, j, k, l, m;
for (m; m; m++)
l_453[i][j][k][l][m];
}
*g_313 = 0;
if (g_91)
goto lbl_491;
}
}
}
[regehr@gamow tmp405]$ current-gcc -v
Using built-in specs.
COLLECT_GCC=current-gcc
COLLECT_LTO_WRAPPER=/uusoc/exports/scratch/regehr/z/compiler-install/gcc-r158448-install/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --with-libelf=/usr/local --enable-lto
--prefix=/home/regehr/z/compiler-install/gcc-r158448-install
--program-prefix=r158448- --enable-languages=c,c++
Thread model: posix
gcc version 4.6.0 20100416 (experimental) (GCC)
--
Summary: ice: verify_ssa failed
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: regehr at cs dot utah dot edu
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43781
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/43781] ice: verify_ssa failed
2010-04-18 3:02 [Bug c/43781] New: ice: verify_ssa failed regehr at cs dot utah dot edu
@ 2010-04-18 15:20 ` hjl dot tools at gmail dot com
2010-04-18 17:23 ` [Bug c/43781] [4.6 Regression] " rguenth at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-04-18 15:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from hjl dot tools at gmail dot com 2010-04-18 15:20 -------
It is caused by revision 158380:
http://gcc.gnu.org/ml/gcc-cvs/2010-04/msg00486.html
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-04-18 15:20:10
date| |
Target Milestone|--- |4.6.0
Version|unknown |4.6.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43781
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/43781] [4.6 Regression] ice: verify_ssa failed
2010-04-18 3:02 [Bug c/43781] New: ice: verify_ssa failed regehr at cs dot utah dot edu
2010-04-18 15:20 ` [Bug c/43781] " hjl dot tools at gmail dot com
@ 2010-04-18 17:23 ` rguenth at gcc dot gnu dot org
2010-04-18 20:15 ` rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-18 17:23 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2010-04-18 15:20:10 |2010-04-18 17:23:26
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43781
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/43781] [4.6 Regression] ice: verify_ssa failed
2010-04-18 3:02 [Bug c/43781] New: ice: verify_ssa failed regehr at cs dot utah dot edu
2010-04-18 15:20 ` [Bug c/43781] " hjl dot tools at gmail dot com
2010-04-18 17:23 ` [Bug c/43781] [4.6 Regression] " rguenth at gcc dot gnu dot org
@ 2010-04-18 20:15 ` rguenth at gcc dot gnu dot org
2010-06-28 11:53 ` [Bug tree-optimization/43781] " rguenth at gcc dot gnu dot org
2010-06-28 17:26 ` hjl at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-18 20:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2010-04-18 20:14 -------
Loop invariant motion breaks this.
<bb 6>:
- g_313.0_6 = pretmp.4_9;
- *g_313.0_6 = 0B;
<bb 8>:
# m_21 = PHI <0(11), m_3(D)(2)>
+ g_313.8_12 = *g_313.0_6;
+ g_313.0_6 = pretmp.4_9;
goto <bb 5>;
we insert stmts not preserving ordering.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43781
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/43781] [4.6 Regression] ice: verify_ssa failed
2010-04-18 3:02 [Bug c/43781] New: ice: verify_ssa failed regehr at cs dot utah dot edu
` (2 preceding siblings ...)
2010-04-18 20:15 ` rguenth at gcc dot gnu dot org
@ 2010-06-28 11:53 ` rguenth at gcc dot gnu dot org
2010-06-28 17:26 ` hjl at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-06-28 11:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2010-06-28 11:53 -------
I can no longer reproduce this.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43781
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/43781] [4.6 Regression] ice: verify_ssa failed
2010-04-18 3:02 [Bug c/43781] New: ice: verify_ssa failed regehr at cs dot utah dot edu
` (3 preceding siblings ...)
2010-06-28 11:53 ` [Bug tree-optimization/43781] " rguenth at gcc dot gnu dot org
@ 2010-06-28 17:26 ` hjl at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: hjl at gcc dot gnu dot org @ 2010-06-28 17:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from hjl at gcc dot gnu dot org 2010-06-28 17:26 -------
Subject: Bug 43781
Author: hjl
Date: Mon Jun 28 17:25:49 2010
New Revision: 161505
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161505
Log:
Add a testcase for PR tree-optimization/43781.
2010-06-28 H.J. Lu <hongjiu.lu@intel.com>
PR tree-optimization/43781
* gcc.dg/torture/pr43781.c: New.
Added:
trunk/gcc/testsuite/gcc.dg/torture/pr43781.c
Modified:
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43781
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-06-28 17:26 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-18 3:02 [Bug c/43781] New: ice: verify_ssa failed regehr at cs dot utah dot edu
2010-04-18 15:20 ` [Bug c/43781] " hjl dot tools at gmail dot com
2010-04-18 17:23 ` [Bug c/43781] [4.6 Regression] " rguenth at gcc dot gnu dot org
2010-04-18 20:15 ` rguenth at gcc dot gnu dot org
2010-06-28 11:53 ` [Bug tree-optimization/43781] " rguenth at gcc dot gnu dot org
2010-06-28 17:26 ` hjl 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).