public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/37452] -fPIC and inline seems to generate incorrect code with nested class templates
       [not found] <bug-37452-4@http.gcc.gnu.org/bugzilla/>
@ 2021-12-11  8:20 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-11  8:20 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I can't reproduce the results in GCC 4.9 or above (I have not really tried
anything before either).

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

* [Bug c++/37452] -fPIC and inline seems to generate incorrect code with nested class templates
  2008-09-10  1:52 [Bug c++/37452] New: " notquitezeus at gmail dot com
                   ` (3 preceding siblings ...)
  2008-09-10  1:58 ` notquitezeus at gmail dot com
@ 2008-09-10  2:00 ` notquitezeus at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: notquitezeus at gmail dot com @ 2008-09-10  2:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from notquitezeus at gmail dot com  2008-09-10 01:58 -------
Created an attachment (id=16273)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16273&action=view)
g++ assembly output (-fPIC -fno-inline -O0)


-- 


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


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

* [Bug c++/37452] -fPIC and inline seems to generate incorrect code with nested class templates
  2008-09-10  1:52 [Bug c++/37452] New: " notquitezeus at gmail dot com
                   ` (2 preceding siblings ...)
  2008-09-10  1:56 ` notquitezeus at gmail dot com
@ 2008-09-10  1:58 ` notquitezeus at gmail dot com
  2008-09-10  2:00 ` notquitezeus at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: notquitezeus at gmail dot com @ 2008-09-10  1:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from notquitezeus at gmail dot com  2008-09-10 01:57 -------
Created an attachment (id=16272)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16272&action=view)
g++ assembly output (-fPIC -finline -O0)


-- 


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


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

* [Bug c++/37452] -fPIC and inline seems to generate incorrect code with nested class templates
  2008-09-10  1:52 [Bug c++/37452] New: " notquitezeus at gmail dot com
  2008-09-10  1:53 ` [Bug c++/37452] " notquitezeus at gmail dot com
  2008-09-10  1:55 ` notquitezeus at gmail dot com
@ 2008-09-10  1:56 ` notquitezeus at gmail dot com
  2008-09-10  1:58 ` notquitezeus at gmail dot com
  2008-09-10  2:00 ` notquitezeus at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: notquitezeus at gmail dot com @ 2008-09-10  1:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from notquitezeus at gmail dot com  2008-09-10 01:55 -------
Created an attachment (id=16271)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16271&action=view)
Assembly code generated by Intel's compiler with -fPIC -finline -O0


-- 


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


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

* [Bug c++/37452] -fPIC and inline seems to generate incorrect code with nested class templates
  2008-09-10  1:52 [Bug c++/37452] New: " notquitezeus at gmail dot com
  2008-09-10  1:53 ` [Bug c++/37452] " notquitezeus at gmail dot com
@ 2008-09-10  1:55 ` notquitezeus at gmail dot com
  2008-09-10  1:56 ` notquitezeus at gmail dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: notquitezeus at gmail dot com @ 2008-09-10  1:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from notquitezeus at gmail dot com  2008-09-10 01:53 -------
Created an attachment (id=16270)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16270&action=view)
Preprocessed source that demonstrates the problem


-- 


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


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

* [Bug c++/37452] -fPIC and inline seems to generate incorrect code with nested class templates
  2008-09-10  1:52 [Bug c++/37452] New: " notquitezeus at gmail dot com
@ 2008-09-10  1:53 ` notquitezeus at gmail dot com
  2008-09-10  1:55 ` notquitezeus at gmail dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: notquitezeus at gmail dot com @ 2008-09-10  1:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from notquitezeus at gmail dot com  2008-09-10 01:52 -------
Created an attachment (id=16269)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16269&action=view)
g++ -dumpspecs output


-- 


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


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

end of thread, other threads:[~2021-12-11  8:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-37452-4@http.gcc.gnu.org/bugzilla/>
2021-12-11  8:20 ` [Bug c++/37452] -fPIC and inline seems to generate incorrect code with nested class templates pinskia at gcc dot gnu.org
2008-09-10  1:52 [Bug c++/37452] New: " notquitezeus at gmail dot com
2008-09-10  1:53 ` [Bug c++/37452] " notquitezeus at gmail dot com
2008-09-10  1:55 ` notquitezeus at gmail dot com
2008-09-10  1:56 ` notquitezeus at gmail dot com
2008-09-10  1:58 ` notquitezeus at gmail dot com
2008-09-10  2:00 ` notquitezeus at gmail dot com

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