For a non-static local variable with __attribute__ ((aligned (0x40))) gcc 4.3.3
makes no attempt in the generated code to align the variable and emitts no
warning about that.  Same if the type has the attribute specified instead of
the variable (the types I tried were an array of 6 uint64_t's or a struct
containing the array as a member).


-- 
           Summary: attribute ((aligned)) for stack variables is ignored
                    without warning
           Product: gcc
           Version: 4.3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: balrogg at gmail dot com
 GCC build triplet: x86_64-linux-gnu
  GCC host triplet: x86_64-linux-gnu


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

Reply via email to