This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] c: Delete a stray line in asm inline


I noticed I accidentally copied a line too many from the "volatile"
handling to the "inline" handling.  This fixes it.

Tested on powerpc64-linux {-m32,-m64}; committing as trivial and obvious.


Segher


2018-12-08  Segher Boessenkool  <segher@kernel.crashing.org>

gcc/c/
	* c-parser (c_parser_asm_statement) [RID_INLINE]: Delete stray line
	setting "quals".

---
 gcc/c/c-parser.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gcc/c/c-parser.c b/gcc/c/c-parser.c
index 3a7fcdc..b875c4f 100644
--- a/gcc/c/c-parser.c
+++ b/gcc/c/c-parser.c
@@ -6389,7 +6389,6 @@ c_parser_asm_statement (c_parser *parser)
 	if (!is_inline)
 	  {
 	    is_inline = true;
-	    quals = c_parser_peek_token (parser)->value;
 	    c_parser_consume_token (parser);
 	  }
 	else
-- 
1.8.3.1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]