[Bug lto/60721] xcoral fails to build with LTO: internal compiler error: verify_flow_info failed

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 1 11:21:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60721

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-04-01
     Ever confirmed|0                           |1

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Reduced testcase:

> cat t1.i
extern char *getenv (const char *);
int main ()
{
  getenv("");
}
> cat t2.c
#include <setjmp.h>
extern char *getenv (const char *) __attribute__ ((__leaf__));
int init_smac()
{
  jmp_buf come_back;
  getenv("");
  return setjmp (come_back);
}
> ./xgcc -B. t1.i t2.c -flto
t2.c: In function 'init_smac':
t2.c:3:5: error: control flow in the middle of basic block 2
 int init_smac()
     ^
t2.c:3:5: error: control flow in the middle of basic block 2
t2.c:3:5: internal compiler error: verify_flow_info failed



More information about the Gcc-bugs mailing list