This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/62308] A bug with aarch64 big-endian
- From: "clyon at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 01 Jun 2015 22:06:44 +0000
- Subject: [Bug target/62308] A bug with aarch64 big-endian
- Auto-submitted: auto-generated
- References: <bug-62308-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62308
--- Comment #12 from Christophe Lyon <clyon at gcc dot gnu.org> ---
(In reply to Vladimir Makarov from comment #11)
> (In reply to Christophe Lyon from comment #10)
> > Hello Vladimir,
> > Have you been able to make progress on this bug?
>
> Thanks for the remainder, Cristophe. Sometimes I am loosing track of bugs I
> should work on as I have to many of them.
>
> I checked gcc-4.9-branch and the test. I believe the patch mentioned for
> rev. 215707 is the right solution. It could be a bit different but it has
> no sense to try something else as the patch had already good testing and
> proved by time.
>
> So you can submit the patch into gcc-4.9-branch after standard procedure
> (bootstrap at least on x86-64 and aarch64 and testing on the both platform).
> I approve it.
The patch applies cleanly to the 4.9-branch.
However, I am probably missing something since with an updated 4.9-branch and
without this patch, I couldn't make the compiler crash:
$ aarch64-unknown-linux-gnu-gcc -S test.c -mbig-endian
test.c:2:15: error: expected specifier-qualifier-list before âv4siâ
struct S2823 {v4si a;int b[0];};