From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6301 invoked by alias); 14 Jan 2013 22:24:34 -0000 Received: (qmail 6285 invoked by uid 22791); 14 Jan 2013 22:24:33 -0000 X-SWARE-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 14 Jan 2013 22:24:26 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1TusS9-0003h5-DJ from joseph_myers@mentor.com ; Mon, 14 Jan 2013 14:24:25 -0800 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Mon, 14 Jan 2013 14:24:24 -0800 Received: from digraph.polyomino.org.uk (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.1.289.1; Mon, 14 Jan 2013 22:24:22 +0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.76) (envelope-from ) id 1TusS5-0006BX-Uz; Mon, 14 Jan 2013 22:24:22 +0000 Date: Mon, 14 Jan 2013 22:24:00 -0000 From: "Joseph S. Myers" To: Jakub Jelinek CC: Subject: Re: [PATCH] Handle -fwrapv -ftrapv (PR tree-optimization/48766) In-Reply-To: <20130114205218.GS7269@tucnak.redhat.com> Message-ID: References: <20130114205218.GS7269@tucnak.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" 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-01/txt/msg00753.txt.bz2 On Mon, 14 Jan 2013, Jakub Jelinek wrote: > Hi! > > With this patch, -fno-[wt]rapv cancels corresponding -f[wt]rapv if any as > before, and later -f[wt]rapv disables -f[tw]rapv, which is IMHO better > behavior than if we use Negative(f[tw]rapv) on f[wt]rapv in common.opt. > > Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? > > 2013-01-14 Jakub Jelinek > > PR tree-optimization/48766 > * opts.c (common_handle_option): For -fwrapv disable -ftrapv, for > -ftrapv disable -fwrapv. OK. -- Joseph S. Myers joseph@codesourcery.com