[Bug middle-end/58041] Unaligned access to arrays in packed structure

jamborm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Aug 6 15:18:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58041

--- Comment #31 from Martin Jambor <jamborm at gcc dot gnu.org> ---
(In reply to Bernd Edlinger from comment #30)
> Hi Martin,
> 
> I have bootstrapped this patch for i686-pc-linux-gnu and have
> seen some "excess errors" in your test script:
> 
> /home/ed/gnu/gcc-4.9-20130728/gcc/testsuite/gcc.dg/torture/pr58041.c: In
> function 'foo':
> /home/ed/gnu/gcc-4.9-20130728/gcc/testsuite/gcc.dg/torture/pr58041.c:15:11:
> note: The ABI for passing parameters with 16-byte alignment has changed in
> GCC 4.6
> /home/ed/gnu/gcc-4.9-20130728/gcc/testsuite/gcc.dg/torture/pr58041.c:15:11:
> warning: SSE vector argument without SSE enabled changes the ABI [enabled by
> default]

I can't reproduce this with the -m32 flag on my x86_64... do you still
have the compiler built on an i686?  If so, could you try and make
function foo static in that testcase and see if the error goes away?
Thanks!



More information about the Gcc-bugs mailing list