Turns out, this is due to the programmer's assumption that fcb->name[8]
and fcb->ext[3] can be accessed contiguously by fcb->name[0..10]. So,
the code is actually "lazy", if not bad. Obviously, this has worked in C
for a long time but no longer can be depended on.
** Changed in: gcc-9 (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1909838
Title:
gcc -O3 produces invalid code
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-9/+bug/1909838/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs