[Bug debug/126662] FAIL: gcc.dg/guality/pr36728-1.c -O1 -DPREVENT_OPTIMIZATION line 16 arg5 == 5

"danglin at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126662

--- Comment #4 from John David Anglin <danglin at gcc dot gnu.org> ---
On x86_64, there are some similar fails:
spawn gdb -nx -nw -quiet -batch -x pr36728-2.gdb pr36728-2.exe
Breakpoint 1 at 0x401145: file
/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/guali
ty/pr36728-2.c, line 16.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 1, foo (arg7=<optimized out>, arg6=<optimized out>, arg5=<optimized
o
ut>, arg4=<optimized out>, arg3=<optimized out>, arg2=<optimized out>,
arg1=<opt
imized out>) at
/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/guality/pr36728-2.c:
16
16        asm (NOP : "=m" (y), "=m" (b) : "m" (y));
$1 = <optimized out>
$2 = 1
<optimized out> != 1
FAIL: gcc.dg/guality/pr36728-2.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  -DPREVENT_OPTIMIZATION line 16 arg1 == 1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.