Summary: | [6 Regression] Incorrect "array subscript is above array bounds" warning with -O2 | ||
---|---|---|---|
Product: | gcc | Reporter: | Vincent Lefèvre <vincent-gcc> |
Component: | tree-optimization | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 6.0 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: |
Description
Vincent Lefèvre
2015-07-31 12:59:10 UTC
I believe this has been fixed with 2015-07-23 Richard Biener <rguenther@suse.de> PR middle-end/66916 * match.pd: Guard widen and sign-change comparison simplification with single_use. Author: hjl Date: Mon Aug 3 16:58:03 2015 New Revision: 226518 URL: https://gcc.gnu.org/viewcvs?rev=226518&root=gcc&view=rev Log: Add a testcase for PR tree-optimization/67077 PR tree-optimization/67077 * gcc.dg/pr67077.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr67077.c Modified: trunk/gcc/testsuite/ChangeLog |