This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/29716] [4.2/4.3 Regression] Wrong code with arrays
- From: "dberlin at dberlin dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Nov 2006 00:46:55 -0000
- Subject: [Bug tree-optimization/29716] [4.2/4.3 Regression] Wrong code with arrays
- References: <bug-29716-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from dberlin at gcc dot gnu dot org 2006-11-05 00:46 -------
Subject: Re: [4.2/4.3 Regression] Wrong code with arrays
>
> so do we miss it because it's a PHI argument or because in the first case
> we point one after the last element of the array and in the second case to
> the last element?
>
> Danny, does this ring a bell?
/* In languages like C, you can access one past the end of an
array. You aren't allowed to dereference it, so we can
ignore this constraint. When we handle pointer subtraction,
we may have to do something cute here. */
>
>
> --
>
> rguenth at gcc dot gnu dot org changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> CC| |dberlin at gcc dot gnu dot
> | |org
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29716
>
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug, or are watching someone who is.
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29716