This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/40179] Incorrectly use Built-in function to replace the normal function with flag -O1
- 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: 18 May 2009 00:37:00 -0000
- Subject: [Bug c/40179] Incorrectly use Built-in function to replace the normal function with flag -O1
- References: <bug-40179-17725@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2009-05-18 00:36 -------
Hmm, The warning is a bit weird because the return type of strlen is size_t
which is unsigned int on i686-linux-gnu and unsigned long on x86_64-linux-gnu
but we ignore the signness for some reason.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40179