[Bug c++/37452] New: -fPIC and inline seems to generate incorrect code with nested class templates

2008-09-09 Thread notquitezeus at gmail dot com
t: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: notquitezeus at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37452

[Bug c++/37452] -fPIC and inline seems to generate incorrect code with nested class templates

2008-09-09 Thread notquitezeus at gmail dot com
--- 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

[Bug c++/37452] -fPIC and inline seems to generate incorrect code with nested class templates

2008-09-09 Thread notquitezeus at gmail dot com
--- 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

[Bug c++/37452] -fPIC and inline seems to generate incorrect code with nested class templates

2008-09-09 Thread notquitezeus at gmail dot com
--- 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.

[Bug c++/37452] -fPIC and inline seems to generate incorrect code with nested class templates

2008-09-09 Thread notquitezeus at gmail dot com
--- 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

[Bug c++/37452] -fPIC and inline seems to generate incorrect code with nested class templates

2008-09-09 Thread notquitezeus at gmail dot com
--- 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