------- Comment #1 from zackw at panix dot com 2007-12-14 21:26 ------- Created an attachment (id=14756) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14756&action=view) -fdump-tree-optimized output
I looked at the -fdump-tree-optimized output (attached) and it makes somewhat more sense that the presence of std::string would matter -- the code generated to convert the string constant to a std::string object introduces seriously nontrivial control flow. However, that's not an excuse. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34470