From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17704 invoked by alias); 15 Jul 2005 19:53:09 -0000 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 Received: (qmail 17677 invoked by uid 48); 15 Jul 2005 19:53:07 -0000 Date: Fri, 15 Jul 2005 20:22:00 -0000 Message-ID: <20050715195307.17676.qmail@sourceware.org> From: "falk at debian dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040924041536.17645.mathieu@malaterre.com> References: <20040924041536.17645.mathieu@malaterre.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c/17645] Add a warning for potentially unsafe unsigned operations X-Bugzilla-Reason: CC X-SW-Source: 2005-07/txt/msg01936.txt.bz2 List-Id: ------- Additional Comments From falk at debian dot org 2005-07-15 19:53 ------- (In reply to comment #9) > I cannot seems to find a way to generate traps on overflow. -ftrapv does not trigger on overflowing calculations that are compile-time constant. I am unsure whether this is a bug or a feature. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17645