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

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> 2011-11-15 16:34:22 
UTC ---
(In reply to comment #4)
> Hi,
> the bug is loopy epilogue not being used because promoted value is not
> availbale. The non-loopy epilogue does not expect alignments
> greater than 16.
> 
> I am testing the following patch.
> I think we might still have bugs for blocks >8 && <16. Will try to produce
> testcase.

I believe so.  If you configure GCC for Linux/x86-64 with

--with-arch=core2 --with-cpu=atom

you will get

gengtype: malloc.c:3840: _int_malloc: Assertion `(unsigned long)(size) >=
(unsigned long)(nb)' failed.
make[6]: *** [s-gtype] Aborted

Reply via email to