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.
  • [get | view] (2013-09-26 22:28:39, 3.3 KB) [[attachment:C11atomic1.patch]]
  • [get | view] (2013-09-26 22:29:03, 10.1 KB) [[attachment:C11atomic2.patch]]
  • [get | view] (2013-09-26 22:29:32, 23.8 KB) [[attachment:C11atomic3.patch]]
  • [get | view] (2013-09-26 22:30:03, 11.1 KB) [[attachment:C11atomic4.patch]]
  • [get | view] (2013-09-26 22:30:34, 13.8 KB) [[attachment:C11atomic5.patch]]
  • [get | view] (2013-09-26 22:31:14, 0.6 KB) [[attachment:C11atomic6.patch]]
  • [get | view] (2013-09-26 22:31:49, 8.6 KB) [[attachment:C11stdatomic.patch]]
  • [get | view] (2013-09-30 15:02:51, 47.7 KB) [[attachment:atomicproto.patch]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.