[PATCH, i386]: Fix PR target/43528: Wrong assert in ix86_expand_prologue for TARGET_STACK_PROBE
Uros Bizjak
ubizjak@gmail.com
Fri Mar 26 18:31:00 GMT 2010
Hello!
There really is no reason to have this assert in ix86_expand_prologue.
The compilation works without problems when assert is removed and the
result looks sane for both -m32 and -m64 (you have to
provide your own __chkstk for -mstack-arg-probe, of course).
2010-03-26 Uros Bizjak <ubizjak@gmail.com>
PR target/43524
* config/i386/i386.c (ix86_expand_prologue) [TARGET_STACK_PROBE]:
Remove invalid assert and wrong comment.
testsuite/ChangeLog:
2010-03-26 Uros Bizjak <ubizjak@gmail.com>
PR target/43524
* gcc.target/i386/pr43524.c: New test.
Tested on x86_64-pc-linux-gnu {,-m32}, committed to mainline. The patch
will be backported to 4.4 and 4.3 in a couple of days.
Uros.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: p.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100326/e49730ed/attachment.txt>
More information about the Gcc-patches
mailing list