This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/61058] [4.7/4.8/4.9/4.10 Regression] ICE: RTL check: expected elt 3 type 'B', have '0' (rtx barrier) in distance_agu_use_in_bb, at config/i386/i386.c:16740 with __builtin_unreachable()
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 05 May 2014 09:34:20 +0000
- Subject: [Bug target/61058] [4.7/4.8/4.9/4.10 Regression] ICE: RTL check: expected elt 3 type 'B', have '0' (rtx barrier) in distance_agu_use_in_bb, at config/i386/i386.c:16740 with __builtin_unreachable()
- Auto-submitted: auto-generated
- References: <bug-61058-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61058
--- Comment #1 from UroÅ Bizjak <ubizjak at gmail dot com> ---
Similar to PR54455, where Steven said:
--q--
There can't be a BARRIER in the middle of a basic block. This problem typically
indicates that either a BARRIER was emitted in the wrong place, or BB_END
wasn't updated properly after a BARRIER was inserted somewhere. BARRIERs never
appear inside a basic block.
--/q--
The target ICEs due to invalid BARRIER location, so it looks like
rtl-optimization bug to me.