From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13112 invoked by alias); 21 Feb 2013 23:03:58 -0000 Received: (qmail 13101 invoked by uid 22791); 21 Feb 2013 23:03:58 -0000 X-SWARE-Spam-Status: No, hits=-4.6 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from multi.imgtec.com (HELO multi.imgtec.com) (194.200.65.239) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 21 Feb 2013 23:03:53 +0000 From: Steve Ellcey To: Jakub Jelinek , Aldy Hernandez CC: gcc-patches , "rdsandiford@googlemail.com" Subject: RE: PR target/52555: attribute optimize is overriding command line options Date: Thu, 21 Feb 2013 23:03:00 -0000 Message-ID: <1C0E790D7E4C75418622FD04CC2A1172015D5C06@bamail02.ba.imgtec.org> References: <20130218230522.GB1215@tucnak.zalov.cz> In-Reply-To: <20130218230522.GB1215@tucnak.zalov.cz> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-SEF-Processed: 7_3_0_01181__2013_02_21_23_03_51 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2013-02/txt/msg01039.txt.bz2 On Mon, Feb 18, 2013 at 12:50:59PM -0600, Aldy Hernandez wrote: > OK pending tests? > PR target/52555 > * genopinit.c (raw_optab_handler): Use this_fn_optabs. > (swap_optab_enable): Same. > (init_all_optabs): Use argument instead of global. > * tree.h (struct tree_optimization_option): New field > target_optabs. > * expr.h (init_all_optabs): Add argument to prototype. > (TREE_OPTIMIZATION_OPTABS): New. > (save_optabs_if_changed): Protoize. > * optabs.h: Declare this_fn_optabs. > * optabs.c (save_optabs_if_changed): New. > Declare this_fn_optabs. > (init_optabs): Add argument to init_all_optabs() call. > * function.c (invoke_set_current_function_hook): Handle per > function optabs. > * function.h (struct function): New field optabs. > * config/mips/mips.c (mips_set_mips16_mode): Handle when > optimization_current_node has changed. > * target-globals.h (save_target_globals_default_opts): Protoize. > * target-globals.c (save_target_globals_default_opts): New. > c/family > PR target/52555 > * c-common.c (handle_optimize_attribute): Call > save_optabs_if_changed. Aldy, Have you gotten any reports of problems with this patch? It seems to be se= nding cc1 into an infinite loop during the GCC testsuite for me. I am testing the mips-mti-linux-gnu = target and tests like gcc.target/mips/call-saved-1.c are causing cc1 to suck up all my memory and= swap space before the test times out. I will keep digging and see if I can figure out what is going on but I want= ed to see if anyone else has reported this problem. Steve Ellcey sellcey@imgtec.com