Attachment 'C11atomic6.patch'
Download 1 * cp/parser.c (cp_parser_simple_type_specifier): Change TYPEOF for
2 atomic types to return the non-atomic type.
3
4 Index: gcc/cp/parser.c
5 ===================================================================
6 *** gcc/cp/parser.c (revision 201248)
7 --- gcc/cp/parser.c (working copy)
8 *************** cp_parser_simple_type_specifier (cp_pars
9 *** 14262,14267 ****
10 --- 14262,14269 ----
11 /* If it is not already a TYPE, take its type. */
12 if (!TYPE_P (type))
13 type = finish_typeof (type);
14 + if (TYPE_ATOMIC (type))
15 + type = TYPE_MAIN_VARIANT (type);
16
17 if (decl_specs)
18 cp_parser_set_decl_spec_type (decl_specs, type,
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.