[Bug inline-asm/19111] Alignment ignored if optimizing for size

2004-12-21 Thread rth at gcc dot gnu dot org

--- Additional Comments From rth at gcc dot gnu dot org  2004-12-21 17:25 
---
If movaps crashes in main, it means your libc is broken and isn't aligning
the stack before main.  GCC does add some code to main to realign the end
of the stack, but that doesn't help main itself.  You'd have to move your
code to a new function like so:

static int __attribute__((noinline)) main1 (int ac, char **av)
{
  /* whatever */
}
int main(int ac, char **av)
{
  return main1(ac, av);
}

In either case, gcc has done all it can do.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||INVALID


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


[Bug inline-asm/19111] Alignment ignored if optimizing for size

2004-12-21 Thread alonsoschaich at gmx dot de


-- 
   What|Removed |Added

  Known to fail||3.3.4 3.4.3


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


[Bug inline-asm/19111] Alignment ignored if optimizing for size

2004-12-21 Thread alonsoschaich at gmx dot de

--- Additional Comments From alonsoschaich at gmx dot de  2004-12-21 16:33 
---
Created an attachment (id=7798)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7798&action=view)
.ii file


-- 


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