Mercurial > hg > CbC > CbC_gcc
diff gcc/c-parser.c @ 86:12b3180c7d07
modify calls.c.
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 15 Dec 2011 02:37:13 +0900 |
parents | 32380d8cb035 |
children | f214c1d5b862 |
line wrap: on
line diff
--- a/gcc/c-parser.c Sun Nov 13 16:24:42 2011 +0900 +++ b/gcc/c-parser.c Thu Dec 15 02:37:13 2011 +0900 @@ -6741,7 +6741,10 @@ tree decl_cond = build_decl (location, VAR_DECL, get_identifier ("retval"), TREE_TYPE (TREE_TYPE (current_function_decl))); + /* use thread-local */ + // DECL_TLS_MODEL (decl_cond) = decl_default_tls_model (decl_cond); TREE_STATIC (decl_cond) = 1; + DECL_ARTIFICIAL (decl_cond) = 1; pushdecl (decl_cond);