This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/14322] Unrecognizable lo_sum insn with -m64 and -fPIC
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Mar 2004 20:10:20 -0000
- Subject: [Bug target/14322] Unrecognizable lo_sum insn with -m64 and -fPIC
- References: <20040227162515.14322.ehrhardt@mathematik.uni-ulm.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-10 20:10 -------
No the bug cannot be closed as GCC should never ICE on any input this is policy, it does not matter if
-mptr64 is not supplied at all when -m64 is used at all. See how other targets deal with the problem.
For an example:
-m64 on PPC64 Linux requires that you supply a -mcpu that has 64bit support:
if (TARGET_64BIT) \
{ \
if ((target_flags & MASK_POWERPC64) == 0) \
{ \
target_flags |= MASK_POWERPC64; \
error ("-m64 requires a PowerPC64 cpu"); \
} \
--
What |Removed |Added
----------------------------------------------------------------------------
Component|middle-end |target
Target Milestone|3.5.0 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14322