Summary: | [4.1 Regression] gcc 4.1 side effect missed (call clobbering is broken) | ||
---|---|---|---|
Product: | gcc | Reporter: | Vitaly V. Bursov <vitalyb> |
Component: | tree-optimization | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | dberlin, fang, gcc-bugs, rguenth |
Priority: | P3 | Keywords: | alias, wrong-code |
Version: | 4.1.2 | ||
Target Milestone: | 4.2.0 | ||
Host: | x86_64-unknown-linux-gnu | Target: | |
Build: | Known to work: | 4.3.0 4.2.0 | |
Known to fail: | 4.1.3 | Last reconfirmed: | 2007-03-20 10:54:58 |
Description
Vitaly V. Bursov
2007-03-19 23:09:26 UTC
Related to PR 20115. Though in this case we only get VUSE as all the variables listed are really const which is why if you add a function which sets for_stack_ptr, it works as for_stack_ptr is no longer const. This works on the mainline for some reason, we just use GLOBAL_VAR. Confirmed. Also related to PR28778 - call clobbering is broken in 4.1. I don't see us fixing this on the 4.1 branch though. Closing 4.1 branch. |