Hide Forgot
Created attachment 794823 [details] Test code causing ICE. Description of problem: When compiling the attached file, g++ ICEs. Version-Release number of selected component (if applicable): g++ (GCC) 4.8.1 20130603 (Red Hat 4.8.1-1) How reproducible: Always. Steps to Reproduce: 1. Get the test.cc attachement 2. g++ -c -std=c++11 -DBUGBUGBUG test.cc (I used /usr/bin/g++ to avoid using ccache). Actual results: test.cc:32:21: internal compiler error: unexpected expression ‘letters’ of kind template_parm_index Str str(ToStr< Foo >::get ()); ^ Please submit a full bug report, with preprocessed source if appropriate. See <http://bugzilla.redhat.com/bugzilla> for instructions. Preprocessed source stored into /tmp/ccJKCZf6.out file, please attach this to your bugreport. Expected results: No output expected. Additional info: When BUGBUGBUG macro is undefined, the compilation completes successfully.
Created attachment 794824 [details] Preprocessed code causing ICE. Attached also preprocessed code generated because of ICE.
Tracking upstram.