This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/58269] [4.9 Regression] ICE when building libobjc on x86_64-apple-darwin* after revision 201915
- From: "iains at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 06 Sep 2013 18:52:24 +0000
- Subject: [Bug target/58269] [4.9 Regression] ICE when building libobjc on x86_64-apple-darwin* after revision 201915
- Auto-submitted: auto-generated
- References: <bug-58269-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58269
--- Comment #19 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Mike Stump from comment #18)
> On Sep 6, 2013, at 8:43 AM, howarth at nitro dot med.uc.edu
> <gcc-bugzilla@gcc.gnu.org> wrote:
> > * i386.c (ix86_hard_regno_mode_ok): AVX modes are valid only when
> > AVX is enabled.
>
> llvm has:
>
> // The first 8 512-bit vector arguments are passed in ZMM registers.
> CCIfNotVarArg<CCIfType<[v16i32, v8i64, v16f32, v8f64],
> CCIfSubtarget<"hasAVX512()",
> CCAssignToReg<[ZMM0, ZMM1, ZMM2, ZMM3, ZMM4, ZMM5, ZMM6,
> ZMM7]>>>>,
>
> just after the sse registersâ conceptually, I wonder if gcc is missing that.
On the basis that clang (Darwin11, Darwin12) defines the ABI - we should see
about this. Presumably, this should be disabled for OS versions where
gcc-4.2/gcc-4.0 are the "system compiler".
As of now, the documentation does not refer to this - the web page still points
to the older psABI.
Is there an official update to the System V psABI covering these regs?