https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70205

--- Comment #2 from Zhendong Su <su at cs dot ucdavis.edu> ---
(In reply to Andrew Pinski from comment #1)
> Confirmed, it ICEs with checking turned on.
> 
> Note this might be invalid code as what GCC is iceing on is an error_mark
> node.

Andrew, this should be valid code. Also see below: 

$ g++-5.3 -Wall -Wextra -pedantic -c small.cpp
$ clang++ -Weverything -pedantic -c small.cpp
$

Reply via email to