[Bug c++/42338] [c++0x] ICE on decltype usage with templates

2010-02-09 Thread jason at gcc dot gnu dot org
--- Comment #5 from jason at gcc dot gnu dot org 2010-02-09 22:30 --- Fixed. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/42338] [c++0x] ICE on decltype usage with templates

2010-01-21 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2010-01-21 10:17 --- Thus, Jason, it turns out this is *not* a duplicate of c++/38600, doesn't have to do with mangling template_id_expr, right? By the way, if you have got two spare minutes, could you maybe add something about

[Bug c++/42338] [c++0x] ICE on decltype usage with templates

2010-01-20 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug c++/42338] [c++0x] ICE on decltype usage with templates

2010-01-20 Thread jason at gcc dot gnu dot org
--- Comment #3 from jason at gcc dot gnu dot org 2010-01-21 01:59 --- Subject: Bug 42338 Author: jason Date: Thu Jan 21 01:58:53 2010 New Revision: 156103 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=156103 Log: PR c++/42338 * mangle.c (write_expression): Handle

[Bug c++/42338] [c++0x] ICE on decltype usage with templates

2009-12-17 Thread redi at gcc dot gnu dot org
--- Comment #2 from redi at gcc dot gnu dot org 2009-12-18 00:42 --- I suspect this is the same issue, as it also passes a null argument to write_expression $ cat ice.cc templatetypename T auto f(T t) - decltype(++t, 0) { ++t; return 0; } int main() { f((int*)0); } $

[Bug c++/42338] [c++0x] ICE on decltype usage with templates

2009-12-09 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2009-12-09 09:50 --- Jason, the ICE happens in mangle.c, write_expression gets a null argument. Is this another variant of c++/38600 and the likes? -- paolo dot carlini at oracle dot com changed: What|Removed