diff gcc/c-decl.c @ 101:5c3ad79fc15b

modify implemeted __rectype expression
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Thu, 16 Feb 2012 18:15:22 +0900
parents 99e7b6776dd1
children fdc380f80c07
line wrap: on
line diff
--- a/gcc/c-decl.c	Sun Feb 05 10:24:11 2012 +0900
+++ b/gcc/c-decl.c	Thu Feb 16 18:15:22 2012 +0900
@@ -5640,6 +5640,7 @@
           if ( declspecs->typespec_word == cts_CbC_rec )
             {
               type = build_code_segment_type (type, NULL_TREE);
+	      IS_RECTYPE(type) = 1;
             }
 #endif
 	    /* Merge any constancy or volatility into the target type