https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108283
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- > As a user I’m not aware of every switch and option of the compiler. So you are saying you don't understand the programming language you are writing in. Again deferencing a null pointer is undefined by the C standard. Gcc just had an option that makes it well defined. Also again building for arm-eabi by default is just building for a semi hosted env. If you want something different you need to use an option.