This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/47175] New: no predefined macros __amd64, __amd64__, __x86_64 __x86_64__ in prepocessor
- From: "jan.rauberg at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 5 Jan 2011 11:13:23 +0000
- Subject: [Bug fortran/47175] New: no predefined macros __amd64, __amd64__, __x86_64 __x86_64__ in prepocessor
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47175
Summary: no predefined macros __amd64, __amd64__, __x86_64
__x86_64__ in prepocessor
Product: gcc
Version: 4.4.5
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: jan.rauberg@gmx.de
Matlab and probably other software uses the predefined macros to check for the
current platform to enable long pointer or not. I have found that the macros
above are no more in gfortran 4.4 and higher. The only way to check for the
right platform is the __LP64__ macro which seems not to be used on other
compiles like sunf90. It takes me some hours to find why a Matlab mex file
crashes immediately after calling. Whith gcc these macros are available, why
not whith gfortran?
Jan
- Follow-Ups:
- [Bug fortran/47175] no predefined macros __amd64, __amd64__, __x86_64 __x86_64__ in prepocessor
- From: hjl.tools at gmail dot com
- [Bug fortran/47175] no predefined macros __amd64, __amd64__, __x86_64 __x86_64__ in prepocessor
- From: jan.rauberg at gmx dot de
- [Bug fortran/47175] no predefined macros __amd64, __amd64__, __x86_64 __x86_64__ in prepocessor
- From: hjl.tools at gmail dot com
- [Bug fortran/47175] no predefined macros __amd64, __amd64__, __x86_64 __x86_64__ in prepocessor
- From: jan.rauberg at gmx dot de
- [Bug fortran/47175] no predefined macros __amd64, __amd64__, __x86_64 __x86_64__ in prepocessor
- From: hjl.tools at gmail dot com
- [Bug fortran/47175] no predefined macros __amd64, __amd64__, __x86_64 __x86_64__ in prepocessor
- From: pinskia at gcc dot gnu.org