This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/17402] [3.4/4.0 Regression] static functions are removed before builtins are expanded
- From: "rth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Sep 2004 06:01:48 -0000
- Subject: [Bug middle-end/17402] [3.4/4.0 Regression] 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 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