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] |
On Fri, Apr 21, 2017 at 7:15 AM, Markus Trippelsdorf <markus@trippelsdorf.de> wrote: > On 2017.04.20 at 22:29 +0200, Uros Bizjak wrote: >> >> PR target/79804 >> * gcc.target/i386/pr79804.c: New test. >> >> Bootstrapped and regression tested on x86_64-linux-gnu {,-m32}. >> >> Committed to mainline SVN. > > The test fails without optimizations: > > gcc/testsuite/gcc.target/i386/pr79804.c: In function ‘foo’: > gcc/testsuite/gcc.target/i386/pr79804.c:10:1: error: frame cannot be used in asm here > } > ^ > gcc/testsuite/gcc.target/i386/pr79804.c:9:3: error: invalid 'asm': invalid use of register 'frame' > asm volatile ("# %0" : "=r"(r20)); /* { dg-error "invalid use of register" } */ > ^~~ Oops, fixed with attached patch. 2017-04-21 Uros Bizjak <ubizjak@gmail.com> * gcc.target/i386/pr79804.c: Add additional dg-error directive. Thanks, Uros.
Attachment:
t.diff.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |