[Bug middle-end/25022] [4.2,4.1,4.0,3.4 regression] failure to transform the unlocked stdio calls

ghazi at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Nov 24 16:51:00 GMT 2005



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



More information about the Gcc-bugs mailing list