This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/67790] verify_ssa failed: definition in block 20 follows the use
- From: "trippels at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 30 Sep 2015 20:00:12 +0000
- Subject: [Bug middle-end/67790] verify_ssa failed: definition in block 20 follows the use
- Auto-submitted: auto-generated
- References: <bug-67790-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67790
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-09-30
CC| |trippels at gcc dot gnu.org
Component|c++ |middle-end
Ever confirmed|0 |1
--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
trippels@gcc2-power8 ~ % cat test.i
struct {
int x_advance;
int y_advance;
} * a;
int b, c, d;
void fn1() {
for (; d; d++) {
c -= a[d].x_advance;
b -= a[d].y_advance;
}
}
trippels@gcc2-power8 ~ % gcc -O3 -c test.i
test.i: In function âfn1â:
test.i:6:6: error: definition in block 6 follows the use
void fn1() {
^
for SSA_NAME: vect__9.19_72 in statement:
vect__23.20_73 = -vect__9.19_72;
test.i:6:6: internal compiler error: verify_ssa failed
0x10a54107 verify_ssa(bool, bool)
../../gcc/gcc/tree-ssa.c:1047
0x106d4fcb execute_function_todo
../../gcc/gcc/passes.c:1978
0x106d5b93 do_per_function
../../gcc/gcc/passes.c:1654
0x106d5e3f execute_todo
../../gcc/gcc/passes.c:2028
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.