https://bugs.kde.org/show_bug.cgi?id=416667

--- Comment #3 from Carl Love <c...@us.ibm.com> ---
Julian:

I hadn't thought to try different optimizations.  I can reproduce the issue for
the mfvsrd test only with no optimizations.  No errors are reported with -O1,
-O2 and -O3 optimization levels.

$GCC_INSTALL/bin/gcc  -c valgrind-bug.c
valgrind-bug.c: In function ‘test_mfvsrd’:
valgrind-bug.c:19:4: error: impossible constraint in ‘asm’
   19 |    __asm__ __volatile__ ("mfvsrd %0,%x1" : "=r" (r14) : "ws"
(vec_inA));
      |    ^~~~~~~

$GCC_INSTALL/bin/gcc -O0 -c valgrind-bug.c
valgrind-bug.c: In function ‘test_mfvsrd’:
valgrind-bug.c:19:4: error: impossible constraint in ‘asm’
   19 |    __asm__ __volatile__ ("mfvsrd %0,%x1" : "=r" (r14) : "ws"
(vec_inA));
      |    ^~~~~~~

~/Valgrind$ $GCC_INSTALL/bin/gcc -O1 -c valgrind-bug.c

~/Valgrind$ $GCC_INSTALL/bin/gcc -O2 -c valgrind-bug.c

~/Valgrind$ $GCC_INSTALL/bin/gcc -O3 -c valgrind-bug.c

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to