[Bug middle-end/17402] static functions are removed before builtins are expanded

phython at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Oct 3 17:31:00 GMT 2004


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



More information about the Gcc-bugs mailing list