public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/46036] New: [4.6 Regression] verify_ssa failed: definition in block 3 follows the use
Date: Fri, 15 Oct 2010 14:12:00 -0000 [thread overview]
Message-ID: <bug-46036-4@http.gcc.gnu.org/bugzilla/> (raw)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46036
Summary: [4.6 Regression] verify_ssa failed: definition in
block 3 follows the use
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: rguenth@gcc.gnu.org
function no_of_edges(self) result(res)
integer(kind=kind(1)) :: edge_bit_string
integer(kind=kind(1)) :: res
integer(kind=kind(1)) :: e
do e = 0, 11
if (.not. btest(edge_bit_string,e)) cycle
res = res + 1
end do
end function
> ./f951 -quiet -O -ftree-vectorize -flto t.f90
t.f90: In function 'no_of_edges_':
t.f90:1:0: error: definition in block 3 follows the use
for SSA_NAME: D.1536_19 in statement:
res_3 = [cond_expr] D.1536_19 ? res_12 : res_2;
t.f90:1:0: 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.
for some reason needs -flto to trigger. if-conversion produces:
<bb 3>:
# e_1 = PHI <0(2), e_14(4)>
# res_2 = PHI <res_6(D)(2), res_3(4)>
# ivtmp.2_17 = PHI <12(2), ivtmp.2_18(4)>
D.1524_8 = edge_bit_string_7(D) >> e_1;
D.1525_9 = D.1524_8 & 1;
D.1526_10 = (logical(kind=4)) D.1525_9;
res_12 = res_2 + 1;
res_3 = [cond_expr] D.1536_19 ? res_12 : res_2;
e_14 = e_1 + 1;
ivtmp.2_18 = ivtmp.2_17 - 1;
D.1536_19 = (<unnamed type>) D.1526_10;
D.1537_20 = !D.1536_19;
D.1538_21 = D.1536_19 || D.1537_20;
if (ivtmp.2_18 == 0)
goto <bb 5>;
else
goto <bb 4>;
next reply other threads:[~2010-10-15 14:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-15 14:12 rguenth at gcc dot gnu.org [this message]
2010-10-15 14:13 ` [Bug tree-optimization/46036] " rguenth at gcc dot gnu.org
2010-10-26 1:03 ` jakub at gcc dot gnu.org
2010-11-03 20:52 ` spop at gcc dot gnu.org
2010-11-05 22:02 ` spop at gcc dot gnu.org
2010-11-09 19:23 ` spop at gcc dot gnu.org
2010-11-09 19:24 ` spop at gcc dot gnu.org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-46036-4@http.gcc.gnu.org/bugzilla/ \
--to=gcc-bugzilla@gcc.gnu.org \
--cc=gcc-bugs@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).