[Bug c++/39444] ICE caused by default template argument

2009-03-12 Thread tortoise_74 at yahoo dot co dot uk
--- Comment #3 from tortoise_74 at yahoo dot co dot uk 2009-03-12 18:34 --- I should point out (as it is not obvious to the uninitiated) that this may not be legal C++ as "A string literal cannot be used as a template argument". String literals have internal linkage.

[Bug c++/39444] ICE caused by default template argument

2009-03-12 Thread tortoise_74 at yahoo dot co dot uk
--- Comment #2 from tortoise_74 at yahoo dot co dot uk 2009-03-12 17:23 --- Created an attachment (id=17450) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17450&action=view) "defect in the C++ ABI" message -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39444

[Bug c++/39444] ICE caused by default template argument

2009-03-12 Thread tortoise_74 at yahoo dot co dot uk
--- Comment #1 from tortoise_74 at yahoo dot co dot uk 2009-03-12 17:21 --- Created an attachment (id=17449) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17449&action=view) ICE with arg = std::string("") -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39444

[Bug c++/39444] New: ICE caused by default template argument

2009-03-12 Thread tortoise_74 at yahoo dot co dot uk
efect in the C++ ABI -- Summary: ICE caused by default template argument Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org