This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/34205] iwmmxt type/size error
- From: "aldot at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Nov 2007 19:48:55 -0000
- Subject: [Bug bootstrap/34205] iwmmxt type/size error
- References: <bug-34205-11811@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from aldot at gcc dot gnu dot org 2007-11-27 19:48 -------
I ment to build with arch=tune=abi for iwmmxt
As you say, arm.c suggests that iwmmxt defaults to -fshort-enums here, fwiw:
/* AAPCS based ABIs use short enums by default. */
static bool
arm_default_short_enums (void)
{
return TARGET_AAPCS_BASED && arm_abi != ARM_ABI_AAPCS_LINUX;
}
I'll see if turning on "int enums" per default (which i thought was mandated by
C) for building GCC does what i intend.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34205