This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/37060] [4.3/4.4/4.5/4.6 regression] Bogus __builtin___memcpy_chk overflow warning
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jul 2010 09:06:07 -0000
- Subject: [Bug middle-end/37060] [4.3/4.4/4.5/4.6 regression] Bogus __builtin___memcpy_chk overflow warning
- References: <bug-37060-50@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #13 from rguenth at gcc dot gnu dot org 2010-07-26 09:06 -------
(In reply to comment #11)
> I think this testcase has some other issues at least on the trunk.
> sparc_floating_p.isra.0 is produced for 32bit but not 64bit.
>
>
> And then we have:
> MEM[(const struct type *)type_1(D)].code;
>
> Why didn't we just produce an indirect reference here as the const should be
> able to be ignored? (CCing Richard about that part).
There are no more INDIRECT_REFs. The above is type_1->code, just not
pretty printed as such.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37060