public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/39043]  New: C++ compiler doesn't optimize function call for PIE
@ 2009-01-30 16:41 hjl dot tools at gmail dot com
  2009-02-05  8:17 ` [Bug c++/39043] C++ compiler doesn't optimize inlined " hp at gcc dot gnu dot org
  0 siblings, 1 reply; 5+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-01-30 16:41 UTC (permalink / raw)
  To: gcc-bugs

[hjl@gnu-6 gcc]$ cat /tmp/i.ii 
inline void foo () {}

int
main ()
{
  foo ();
  return 0;
}
[hjl@gnu-6 gcc]$ ./xgcc -B./ -fpie /tmp/i.ii -S
[hjl@gnu-6 gcc]$ grep call i.s | grep foo
        call    _Z3foov@PLT
[hjl@gnu-6 gcc]$ 

Do we need @PLT for PIE?


-- 
           Summary: C++ compiler doesn't optimize function call for PIE
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com


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


^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <bug-39043-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2021-07-22 18:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-30 16:41 [Bug c++/39043] New: C++ compiler doesn't optimize function call for PIE hjl dot tools at gmail dot com
2009-02-05  8:17 ` [Bug c++/39043] C++ compiler doesn't optimize inlined " hp at gcc dot gnu dot org
     [not found] <bug-39043-4@http.gcc.gnu.org/bugzilla/>
2011-10-09 16:17 ` paolo.carlini at oracle dot com
2011-10-10  9:42 ` rguenth at gcc dot gnu.org
2021-07-22 18:33 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).