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

rth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Sep 13 06:01:00 GMT 2004


------- Additional Comments From rth at gcc dot gnu dot org  2004-09-13 06:01 -------
Not wrong-code.  Without -ffreestanding, i.e. in a hosted environment, the
compiler is allowed to assume that the entire standard C library is present.
Thus an external call to strcpy is legal.

So I've changed this to an enhancement request.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
           Keywords|wrong-code                  |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17402



More information about the Gcc-bugs mailing list