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 target/39013] [4.3/4.4 Regression] Missing @PLT when -fpie is used



------- Comment #12 from rguenth at gcc dot gnu dot org  2009-01-29 15:20 -------
My testcase is

> cat t2.c
void foo() {}

> cat t.c
inline void foo ();
int main ()
{
  foo ();
  return 0;
}

which works perfectly fine even with 4.3 and 4.4 if I build both t2.c and t.c
with -fpie and fails with all compilers supporting -fpie if I only build
t.c with -fpie but t2.c not.

They bind locally with 4.3 and 4.4 though.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|accepts-invalid             |
      Known to fail|3.4.6                       |4.3.3 4.4.0
      Known to work|                            |4.2.4
            Summary|Missing @PLT when -fpie is  |[4.3/4.4 Regression] Missing
                   |used                        |@PLT when -fpie is used
   Target Milestone|---                         |4.3.4


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


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