This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/25022] [4.2,4.1,4.0,3.4 regression] failure to transform the unlocked stdio calls
- From: "ghazi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Nov 2005 16:51:01 -0000
- Subject: [Bug middle-end/25022] [4.2,4.1,4.0,3.4 regression] failure to transform the unlocked stdio calls
- References: <bug-25022-578@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from ghazi at gcc dot gnu dot org 2005-11-24 16:51 -------
This happens because the replacement functions are obtained in builtins.c from
the array implicit_built_in_decls. This array is initialized to null when the
replacement function is an "extension" builtin, as are all _unlocked stdio
calls. Therefore, no _unlocked calls will ever be replaced with another
_unlocked call.
I'm testing a patch.
--
ghazi at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |ghazi at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2005-11-24 16:51:00
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25022