* cp/parser.c (cp_parser_simple_type_specifier): Change TYPEOF for atomic types to return the non-atomic type. Index: gcc/cp/parser.c =================================================================== *** gcc/cp/parser.c (revision 201248) --- gcc/cp/parser.c (working copy) *************** cp_parser_simple_type_specifier (cp_pars *** 14262,14267 **** --- 14262,14269 ---- /* If it is not already a TYPE, take its type. */ if (!TYPE_P (type)) type = finish_typeof (type); + if (TYPE_ATOMIC (type)) + type = TYPE_MAIN_VARIANT (type); if (decl_specs) cp_parser_set_decl_spec_type (decl_specs, type,