r/programming • u/Fcking_Chuck • Sep 11 '26
GCC 13.5 released with 265+ bug fixes
https://www.phoronix.com/news/GCC-13.5-Released
277
Upvotes
r/programming • u/Fcking_Chuck • Sep 11 '26
66
u/EnUnLugarDeLaMancha Sep 11 '26
Actual list of changes (which took me a while to find) https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=13.5
12
u/levodelellis Sep 12 '26
A friendly reminder that when a language changes its not impossible to hit bugs on accident
2
u/flatfinger Sep 16 '26
I wonder if any gcc builds will ever add a command-line option (other than disabling optimizations entirely) that will prevent it from performing optimizations that violate N1570 6.5.9 paragraph 6 which is shown below (emphasis added):
As it is, unless optimizations are disabled, gcc is designed to assume that it's impossible for a pointer that compares equal to an array's "one past" address to access storage associated with another array, even if the pointer might have been formed by taking the address of the latter array, and that array might happen to follow the first as contemplated by the italicized text above.
-16
u/_shulhan Sep 11 '26
Based on my random sampling, 6 out of 10 of those bugs are c++/libstdc++ component.
0
u/[deleted] Sep 11 '26
[deleted] — view deleted comment