Commit 7b9efd03 by Uros Bizjak Committed by Uros Bizjak

pr79804.c: Add additional dg-error directive.

	* gcc.target/i386/pr79804.c: Add additional dg-error directive.

From-SVN: r247065
parent 946ecd6a
2017-04-21 Uros Bizjak <ubizjak@gmail.com>
* gcc.target/i386/pr79804.c: Add additional dg-error directive.
2017-04-21 Richard Biener <rguenther@suse.de> 2017-04-21 Richard Biener <rguenther@suse.de>
PR tree-optimization/79547 PR tree-optimization/79547
......
...@@ -7,4 +7,4 @@ void foo (void) ...@@ -7,4 +7,4 @@ void foo (void)
register int r20 asm ("20"); register int r20 asm ("20");
asm volatile ("# %0" : "=r"(r20)); /* { dg-error "invalid use of register" } */ asm volatile ("# %0" : "=r"(r20)); /* { dg-error "invalid use of register" } */
} } /* { dg-error "cannot be used in asm here" } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment