From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19799 invoked by alias); 16 Apr 2002 13:56:05 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 19759 invoked by uid 71); 16 Apr 2002 13:56:03 -0000 Date: Tue, 16 Apr 2002 06:56:00 -0000 Message-ID: <20020416135603.19755.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Gwenole Beauchesne Subject: Re: optimization/6323: GCC 3.1 regression from previous snapshot Reply-To: Gwenole Beauchesne X-SW-Source: 2002-04/txt/msg00835.txt.bz2 List-Id: The following reply was made to PR optimization/6323; it has been noted by GNATS. From: Gwenole Beauchesne To: gcc-gnats@gcc.gnu.org, , , , , , Cc: Subject: Re: optimization/6323: GCC 3.1 regression from previous snapshot Date: Tue, 16 Apr 2002 15:49:09 +0200 (CEST) Hi, The following patch appears to have caused the regression: 2002-03-28 Roger Sayle PR c++/5998: * decl.c (cxx_init_decl_processing): Re-enable built-in functions in the g++ front-end. (duplicate_decl): Allow redefinition of anticipated built-ins. Fix inlining problem by over-writing the old DECL_RTL. (lookup_namespace_name): Fail to find an identifier in the specified namespace if its still anticipated. (builtin_function_1): New function split out from builtin_function to create a builtin in the current namespace with given context. (builtin_function): Call builtin_function_1 to define the appropriate builtins in both the std and global namespaces. (select_decl): Don't test for anticipated decls here. (unqualified_namespace_lookup): Instead ignore them whilst searching through scopes and namespaces. * decl2.c (do_nonmember_using_decl): If a using declaration specifies an anticipated built-in function, mark it as no longer anticipated in that scope. (ambiguous_decl): Avoid resolving to an anticipated decl. * lex.c (do_scoped_id): Fail to find an identifier in the global namespace if its still anticipated. Bye, Gwenole.