This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/29680] [4.3 Regression] Misscompilation of spec2006 gcc
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Nov 2006 17:28:19 -0000
- Subject: [Bug tree-optimization/29680] [4.3 Regression] Misscompilation of spec2006 gcc
- References: <bug-29680-5077@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #13 from pinskia at gcc dot gnu dot org 2006-11-04 17:28 -------
(In reply to comment #12)
> Created an attachment (id=12547)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12547&action=view) [edit]
> A testcase to show array reference is ok
>
> Gcc doesn't have a problem with array reference. That is if I change it
> from
Yes because for arrays we keep ARRAY_REF around instead of lowering it to
pointer arthematic. See PR 29708 for another testcase which goes funny because
of casts in the IR.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29680