[Bug target/67089] [4.8/4.9/5/6 Regression] Integer overflow checks not optimized on x86/x86_64

2015-08-03 Thread m.mukovnikov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67089 --- Comment #2 from Mike --- (In reply to Uroš Bizjak from comment #1) > We shouldn't do this, and it reflected in PR58779. But can't we improve the logic to satisfy both pr58779 and pr67089? The absolute metric is code quality, and with all due

[Bug target/67089] New: [4.8/4.9/5/6 Regression] Integer overflow checks not optimized on x86/x86_64

2015-08-01 Thread m.mukovnikov at gmail dot com
: minor Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: m.mukovnikov at gmail dot com Target Milestone: --- Starting from 4.8.3, gcc does not optimize integer overflow and underflow checks inserting a redundant cmp instruction