Bug 46119 - -fsplit-stack -fstack-protector-all - code crashes when passing large struct via stack
Summary: -fsplit-stack -fstack-protector-all - code crashes when passing large struct ...
Status: UNCONFIRMED
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 4.6.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: wrong-code
Depends on:
Blocks:
 
Reported: 2010-10-21 16:04 UTC by Zdenek Sojka
Modified: 2012-02-02 17:26 UTC (History)
1 user (show)

See Also:
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Build:
Known to work:
Known to fail: 4.6.0
Last reconfirmed:


Attachments
reduced testcase (88 bytes, text/plain)
2010-10-21 16:04 UTC, Zdenek Sojka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zdenek Sojka 2010-10-21 16:04:24 UTC
Created attachment 22108 [details]
reduced testcase

Output:
$ gcc -fsplit-stack -fstack-protector-all pr46119.c
$ ./a.out 
Segmentation fault

Tested revisions:
r165768 - fail
Comment 1 Andrew Pinski 2012-02-02 17:26:40 UTC
This works for me on the trunk