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/41502] ICE in expand_call_inline



------- Comment #1 from rguenth at gcc dot gnu dot org  2009-09-29 13:46 -------
Reduced testcase, fails at -O1:

typedef void (*fnt) (void);
extern inline void check3 (void)
{
  bar ();
}
void test (void) 
{
  const fnt pcheck3 = check3;
  pcheck3 ();
}

all details important: extern, the call to bar() and the indirect call in test.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-09-29 13:46:24
               date|                            |


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


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