Performing verification for gcc-12 on jammy.

Using 12.3.0-1ubuntu1~22.04.2 from -updates, compiling the testcase and
running it gets:

$ gcc-12 -O3 -march=armv8.1-a+sve -o program program.c
$ ./program 
ERROR: expected 0x00bbbbbb 0x00aaaaaa but got 0x00bbbbbb 0xaaaaaaaa 

I enabled -proposed, and installed 12.3.0-1ubuntu1~22.04.3 and
recompiled:

$ gcc-12 -O3 -march=armv8.1-a+sve -o program program.c
$ ./program 
PASS: got 0x00bbbbbb 0x00aaaaaa as expected

The program passes. Happy to mark verified for gcc-12 on jammy.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2101084

Title:
  GCC produces wrong code for arm64+sve in some cases

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/2101084/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to