This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/81720] [arm] Invalid code generation
- From: "rearnsha at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 04 Aug 2017 16:24:51 +0000
- Subject: [Bug target/81720] [arm] Invalid code generation
- Auto-submitted: auto-generated
- References: <bug-81720-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81720
Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|INVALID |WONTFIX
--- Comment #5 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
Bare metal target compilers should still respect the standard, which is quite
clear that dereferencing NULL is undefined. Some users of the compiler expect
this behaviour. It's not about to change.
You have an option you can use, so use it.