Eric Gallager <egallager at gcc dot> changed:

           What    |Removed                     |Added
           Keywords|                            |patch
                 CC|                            |egallager at gcc dot

--- Comment #6 from Eric Gallager <egallager at gcc dot> ---
(In reply to Andrew Pinski from comment #5)
> Patch for this was posted:

The -mstackrealign option and the force_align_arg_pointer attribute from this
patch have both been added; -mstackrealign doesn't work with
__attribute__((target(""))) though:

$ cat 6737.c && /usr/local/bin/gcc -c 6737.c
void foo(void) __attribute__((__target__("stackrealign")));

void foo(void)
  // ...

void __attribute__((force_align_arg_pointer)) bar(void *baz)
  // ...
6737.c:1:1: error: attribute(target("stackrealign")) is unknown
 void foo(void) __attribute__((__target__("stackrealign")));

Reply via email to