https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96482
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2020-08-10 Ever confirmed|0 |1 Status|UNCONFIRMED |WAITING --- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> --- Thank you for the report, I can take a look. Can you please provide steps how to build Mesa with -O3 and -flto? About the addr_to_index function: am I right that unreachable is defined in your configuration as __builtin_unreachable? Can you please replace it with fprintf that prints the value?