This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/29680] [4.3 Regression] Misscompilation of spec2006 gcc



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]