This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/65517] [5 Regression] ICE: in get_loop_body, at cfgloop.c:856


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65517

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-03-22
                 CC|                            |trippels at gcc dot gnu.org
          Component|lto                         |middle-end
            Summary|src/getargs.c:112:1:        |[5 Regression] ICE: in
                   |internal compiler error: in |get_loop_body, at
                   |get_loop_body, at           |cfgloop.c:856
                   |cfgloop.c:856               |
     Ever confirmed|0                           |1

--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Quick reduction:

markus@x4 testc % cat foo.i
typedef (*argmatch_exit_fn)();
a;
__argmatch_die () { exit (0); }

main ()
{
  while (1)
    {
      argmatch_exit_fn b = __argmatch_die;
      if (a)
        b ();
    }
}

markus@x4 testc % gcc -w -O2 foo.i
foo.i: In function âmainâ:
foo.i:13:1: internal compiler error: in get_loop_body, at cfgloop.c:856

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]