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

* [Bug c++/39043] C++ compiler doesn't optimize inlined function call for PIE
  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 ` hp at gcc dot gnu dot org
  0 siblings, 0 replies; 5+ messages in thread
From: hp at gcc dot gnu dot org @ 2009-02-05  8:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hp at gcc dot gnu dot org  2009-02-05 08:17 -------
Isn't the answer an obvious "no"?  Lots of s/flag_pic/flag_shlib/ remaining to
do?


-- 

hp at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hp at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/39043] C++ compiler doesn't optimize inlined function call for PIE
       [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
  2 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-07-22 18:33 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |5.0
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Been fixed since GCC 5.1.0.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/39043] C++ compiler doesn't optimize inlined function call for PIE
       [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
  2 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-10-10  9:42 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011-10-10
     Ever Confirmed|0                           |1
      Known to fail|                            |4.7.0

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-10 09:42:08 UTC ---
Confirmed.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/39043] C++ compiler doesn't optimize inlined function call for PIE
       [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
  2 siblings, 0 replies; 5+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-10-09 16:17 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|gcc-bugs at gcc dot gnu.org |

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-10-09 16:17:03 UTC ---
Thus, invalid?


^ permalink raw reply	[flat|nested] 5+ messages in thread

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).