[Bug 1909838] [NEW] gcc -O3 produces invalid code
Launchpad Bug Tracker
1909838 at bugs.launchpad.net
Sat Jan 2 12:52:43 UTC 2021
You have been subscribed to a public bug:
If I compile the attached file with -O3, gcc produces an empty function
(simply returns 0). If I compile without -O3, gcc produces viable code
that functions as expected.
Linux outhouse 5.4.0-58-generic #64-Ubuntu SMP Wed Dec 9 08:16:25 UTC
2020 x86_64 x86_64 x86_64 GNU/Linux
gcc 4:9.3.0-1ubuntu2
** Affects: gcc-9 (Ubuntu)
Importance: Undecided
Status: New
** Tags: bot-comment
--
gcc -O3 produces invalid code
https://bugs.launchpad.net/bugs/1909838
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to gcc-9 in Ubuntu.
More information about the foundations-bugs
mailing list