------- Comment #10 from rguenth at gcc dot gnu dot org  2009-01-29 09:56 
-------
No compiler with -fpie support manages to do this "correct".  Not a regression.

IMHO this is invalid.  6.7.4/6

"... If a function is declared with an inline function specifier, then it
shall also be defined in the same translation unit."

which is obviously not the case here.  That is C99 of course, so you might
argue that for GNU C89 the situation should be different, but then the
frontend should properly mark the declaration extern.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|target                      |c
           Keywords|                            |accepts-invalid
      Known to fail|                            |3.4.6
            Summary|[4.3/4.4 regression] Missing|Missing @PLT when -fpie is
                   |@PLT when -fpie is used     |used


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

Reply via email to