http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56047
--- Comment #6 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2013-01-20 11:35:59 UTC --- > Btw, while the ICE is obviously a 4.8 regression, 4.6 and 4.7 are not much > more > helpful, either: > > if (template%type_string () == name) return > 1 > Error: Operands of comparison operator '==' at (1) are > TYPE(string_t)/TYPE(string_t) This is for the reduced test in comment #3. The original test compiles with 4.7.2 for me.