From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22177 invoked by alias); 24 Nov 2005 16:51:05 -0000 Received: (qmail 21858 invoked by uid 48); 24 Nov 2005 16:51:01 -0000 Date: Thu, 24 Nov 2005 16:51:00 -0000 Message-ID: <20051124165101.21857.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/25022] [4.2,4.1,4.0,3.4 regression] failure to transform the unlocked stdio calls In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "ghazi at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2005-11/txt/msg03376.txt.bz2 List-Id: ------- 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