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] |
Hello! When using __readeflags, we have to prevent possible flag-clobbering zero-extensions and make flag-setting operation persistent. 2015-07-10 Uros Bizjak <ubizjak@gmail.com> PR target/66703 * gcc.target/i386/readeflags-1.c (readeflags_test): Declare with __attribute__((noinline, noclone)). Change "x" to "volatile char" type to prevent possible flag-clobbering zero-extensions. * gcc.target/i386/pr66703.c: New test. Tested on x86_64-linux-gnu {,-m32} and committed to mainline SVN. 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] |