This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/15767] ppc-linux type attribute aligned, packed on vector types behaves wrongly
- From: "msebor at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 27 Jan 2016 19:09:12 +0000
- Subject: [Bug c/15767] ppc-linux type attribute aligned, packed on vector types behaves wrongly
- Auto-submitted: auto-generated
- References: <bug-15767-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15767
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|powerpc-*-linux-*, |
|powerpc-*-elf-* |
Component|target |c
--- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> ---
This also doesn't seem to be a powerpc-specific problem but rather one in how
the C front end treats the attributes. The same behavior can be reproduced on
x86_64 (the 'vector' in struct A needs to be replaced with Vector(16) for the
code to compile). Changing Component to 'c'.