[Bug preprocessor/106930] New: No __ILP32__ preprocessor macro defined on ARM (32bit)
stefan.bruens@rwth-aachen.de
gcc-bugzilla@gcc.gnu.org
Tue Sep 13 14:38:11 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106930
Bug ID: 106930
Summary: No __ILP32__ preprocessor macro defined on ARM (32bit)
Product: gcc
Version: 12.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: preprocessor
Assignee: unassigned at gcc dot gnu.org
Reporter: stefan.bruens@rwth-aachen.de
Target Milestone: ---
For generic code, it is useful to have macros like __LP64__ and __ILP32__
everywhere.
On ix86 (32bit), __ILP32__ is defined, while on ARM (e.g. ARMv7) it is not.
IMHO __ILP32__ should be defined on *all* matching archs.
More information about the Gcc-bugs
mailing list