Summary: | when do lto opitimizing with attribute (weak,alias), it will produce wrong code | ||
---|---|---|---|
Product: | gcc | Reporter: | huangcunjian <hcj20080469> |
Component: | middle-end | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hubicka |
Priority: | P3 | Keywords: | lto, wrong-code |
Version: | 4.7.2 | ||
Target Milestone: | --- | ||
See Also: | https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32219 | ||
Host: | Target: | ||
Build: | Known to work: | 5.1.0 | |
Known to fail: | 4.7.2, 4.8.0, 4.9.3 | Last reconfirmed: | 2012-09-24 00:00:00 |
Bug Depends on: | |||
Bug Blocks: | 92932 |
Description
huangcunjian
2012-09-22 02:05:40 UTC
Confirmed. 4.6.x segfaults for me. This was fixed for GCC 5.1.0. The problem is the same as PR 32219 really. (In reply to Andrew Pinski from comment #2) > This was fixed for GCC 5.1.0. The problem is the same as PR 32219 really. That is the patch which fixes PR 32219 fixed this one. |