This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/65555] [5 Regression] ICE: verify_gimple failed (LHS in noreturn call)
- 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, 25 Mar 2015 17:11:47 +0000
- Subject: [Bug middle-end/65555] [5 Regression] ICE: verify_gimple failed (LHS in noreturn call)
- Auto-submitted: auto-generated
- References: <bug-65555-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65555
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-03-25
CC| |trippels at gcc dot gnu.org
Target Milestone|--- |5.0
Ever confirmed|0 |1
--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
trippels@gcc2-power8 ~ % cat FileScanner.ii
class basic_ostream {
public:
basic_ostream &operator<<(basic_ostream &p1(basic_ostream &)) {
return p1(*this);
}
} a;
void fn1() __attribute__((__noreturn__));
basic_ostream &fn2(basic_ostream &) { fn1(); }
void fn3() { a << fn2; }
trippels@gcc2-power8 ~ % g++ -c -O2 FileScanner.ii
FileScanner.ii: In function âvoid fn3()â:
FileScanner.ii:9:24: error: LHS in noreturn call
void fn3() { a << fn2; }
^
# .MEM_2 = VDEF <.MEM_1(D)>
_3 = fn2 (&a);
FileScanner.ii:9:24: internal compiler error: verify_gimple failed
0x10a7249f verify_gimple_in_cfg(function*, bool)
../../gcc/gcc/tree-cfg.c:5070
0x10928a43 execute_function_todo
../../gcc/gcc/passes.c:1957
0x109296d3 do_per_function
../../gcc/gcc/passes.c:1649
0x109299a7 execute_todo
../../gcc/gcc/passes.c:2014
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.