This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/40946] [4.3/4.4/4.5 Regression] Spurious array subscript is above bounds warning
- From: "rguenther at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Nov 2009 15:51:18 -0000
- Subject: [Bug middle-end/40946] [4.3/4.4/4.5 Regression] Spurious array subscript is above bounds warning
- References: <bug-40946-87@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from rguenther at suse dot de 2009-11-09 15:51 -------
Subject: Re: [4.3/4.4/4.5 Regression] Spurious array
subscript is above bounds warning
On Mon, 9 Nov 2009, jakub at gcc dot gnu dot org wrote:
> ------- Comment #1 from jakub at gcc dot gnu dot org 2009-11-09 15:47 -------
> This got fixed on the trunk with PR41317 and on the 4.4 branch also works well
> with the backport of that patch (which I'm using for roughly a month on
> redhat/gcc-4_4-branch because it cured some __builtin_object_size issues too).
> I think we should just backport PR41317 patch to 4.4 branch and add this
> testcase to trunk/4.4. Richi, is that ok with you?
Ok with me - it's a wrong-code fix anyway (I just didn't do it because
it might affect code generation quality in subtle ways without the
new oracle). So I was waiting for a "real" testcase.
Richard.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40946