This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/17402] static functions are removed before builtins are expanded
- From: "phython at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Oct 2004 17:31:17 -0000
- Subject: [Bug middle-end/17402] static functions are removed before builtins are expanded
- References: <20040910172335.17402.phython@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From phython at gcc dot gnu dot org 2004-10-03 17:31 -------
Ok, so I took a look at this on mainline. What happens is sprintf is folded
into __builtin_strcpy. All the tree optimizers run, strcpy is removed and a
call to __builtin_strcpy is still around.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17402