[Bug c++/40056] implicit instantiation of function templates fails with -O2, works with -O and -g...

2009-05-07 Thread Fons dot Rademakers at cern dot ch
--- Comment #3 from Fons dot Rademakers at cern dot ch 2009-05-07 13:55 --- Explicit template instantiation also works for us in this case. However, would be nice to see this regression fixed. No blocker anymore. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40056

[Bug c++/40056] implicit instantiation of function templates fails with -O2, works with -O and -g...

2009-05-07 Thread Fons dot Rademakers at cern dot ch
--- Comment #1 from Fons dot Rademakers at cern dot ch 2009-05-07 10:01 --- Created an attachment (id=17817) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17817&action=view) Source file (-E output) demonstrating the reported issue. Btw, this bug shows up on MacOS X 10.5.6

[Bug c++/40056] New: implicit instantiation of function templates fails with -O2, works with -O and -g...

2009-05-07 Thread Fons dot Rademakers at cern dot ch
rks with -O and -g... Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: Fons dot Rademakers at cern dot ch GCC build trip