This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/55341] address-sanitizer and Fortran
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 17 Nov 2012 12:15:45 +0000
- Subject: [Bug fortran/55341] address-sanitizer and Fortran
- Auto-submitted: auto-generated
- References: <bug-55341-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55341
--- Comment #5 from janus at gcc dot gnu.org 2012-11-17 12:15:45 UTC ---
(In reply to comment #4)
> Untested fix. memcpy's last argument is size_type_node, i.e. unsigned C
> size_t, while in several places the FE was calling memcpy with a signed type of
> the argument instead.
This fixes the ICE and regtests cleanly on x86_64-unknown-linux-gnu. Looks good
to me!