diff gcc/c-parser.c @ 25:2476ed92181e

modified machine description of i386 for support indirect sibcall attributed fastcall.
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Tue, 27 Oct 2009 16:04:06 +0900
parents 775dfe898662
children cc07adb17855
line wrap: on
line diff
--- a/gcc/c-parser.c	Thu Oct 15 18:47:39 2009 +0900
+++ b/gcc/c-parser.c	Tue Oct 27 16:04:06 2009 +0900
@@ -1547,9 +1547,14 @@
 	  t.spec = c_parser_peek_token (parser)->value;
 	  declspecs_add_type (specs, t);
 
+	  /*
 	  attrs = get_identifier("fastcall");
 	  attrs = build_tree_list(attrs, NULL_TREE);
 	  declspecs_add_attrs(specs, attrs);
+	  */
+	  attrs = build_tree_list (get_identifier("fastcall"), NULL_TREE);
+	  //attrs = build_tree_list (get_identifier("noreturn"), attrs);
+	  declspecs_add_attrs(specs, attrs);
 
 	  c_parser_consume_token (parser);
 	  break;