[Bug c/15767] ppc-linux type attribute aligned, packed on vector types behaves wrongly

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 27 19:09:00 GMT 2016


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'.


More information about the Gcc-bugs mailing list