comparison 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
comparison
equal deleted inserted replaced
85:32380d8cb035 86:12b3180c7d07
6739 6739
6740 /* declare retval. (int retval;) */ 6740 /* declare retval. (int retval;) */
6741 tree decl_cond = 6741 tree decl_cond =
6742 build_decl (location, VAR_DECL, get_identifier ("retval"), 6742 build_decl (location, VAR_DECL, get_identifier ("retval"),
6743 TREE_TYPE (TREE_TYPE (current_function_decl))); 6743 TREE_TYPE (TREE_TYPE (current_function_decl)));
6744 /* use thread-local */
6745 // DECL_TLS_MODEL (decl_cond) = decl_default_tls_model (decl_cond);
6744 TREE_STATIC (decl_cond) = 1; 6746 TREE_STATIC (decl_cond) = 1;
6747
6745 DECL_ARTIFICIAL (decl_cond) = 1; 6748 DECL_ARTIFICIAL (decl_cond) = 1;
6746 pushdecl (decl_cond); 6749 pushdecl (decl_cond);
6747 6750
6748 /* define nested function. */ 6751 /* define nested function. */
6749 decl = 6752 decl =