re PR target/66274 (gcc6: x86 -m32 emits 64bit register in inline asm)
authorUros Bizjak <ubizjak@gmail.com>
Mon, 25 May 2015 17:49:28 +0000 (19:49 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Mon, 25 May 2015 17:49:28 +0000 (19:49 +0200)
commit979455ea0ebfeb68f143f1c369fa83c6d2101201
tree4634cfc72412a5fbd1b9ee86316818f56f1414a4
parent4ea9e6c799b77c70911838adbef5cd594816d06a
re PR target/66274 (gcc6: x86 -m32 emits 64bit register in inline asm)

PR target/66274
* config/i386/i386.c (print_reg): Only print "r" for TARGET_64BIT
when LEGACY_INT_REGNO_P is processed.

testsuite/ChangeLog:

PR target/66274
* gcc.target/i386/pr66274.c: New test.

From-SVN: r223649
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr66274.c [new file with mode: 0644]