[Bug c++/42038] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p

2009-11-23 Thread paolo dot carlini at oracle dot com
-- paolo dot carlini at oracle dot com changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |paolo dot carlini at oracle |dot org

[Bug c++/42038] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p

2009-11-23 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2009-11-23 23:18 --- Jason, as far as I know, we never compiled this, the ICE is new. If we only want to avoid the ICE, I'm attaching a patchlet to except.c which works fine, otherwise, please let me know... -- paolo dot

[Bug c++/42038] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p

2009-11-23 Thread paolo dot carlini at oracle dot com
--- Comment #5 from paolo dot carlini at oracle dot com 2009-11-23 23:19 --- Created an attachment (id=19105) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19105action=view) Draft patch -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42038

[Bug c++/42038] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p

2009-11-13 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2009-11-14 00:15 --- And bug.cc is... -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/42038] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p

2009-11-13 Thread d dot g dot gorbachev at gmail dot com
--- Comment #2 from d dot g dot gorbachev at gmail dot com 2009-11-14 01:31 --- Created an attachment (id=19015) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19015action=view) The bug.cc file Sorry, forgot it. :) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42038

[Bug c++/42038] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p

2009-11-13 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2009-11-14 01:58 --- Funny, and I agree the compiler should behave more gracefully, but this code is invalid per 17.4.3.1.2: names containing a double underscore are reserved. -- paolo dot carlini at oracle dot com changed: