From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11496 invoked by alias); 31 Aug 2005 16:18:12 -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 11466 invoked by uid 48); 31 Aug 2005 16:18:07 -0000 Date: Wed, 31 Aug 2005 16:19:00 -0000 Message-ID: <20050831161807.11465.qmail@sourceware.org> From: "dje at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050822201829.23519.listor1.rombobeorn@comhem.se> References: <20050822201829.23519.listor1.rombobeorn@comhem.se> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug ada/23519] Dividing fixed point number by zero returns zero. X-Bugzilla-Reason: CC X-SW-Source: 2005-08/txt/msg03625.txt.bz2 List-Id: ------- Additional Comments From dje at gcc dot gnu dot org 2005-08-31 16:18 ------- On PowerPC, one needs to emit arithmetic instructions using the mnemonic with the "o" suffix to test for overflow (including divide by zero). The GCC language and/or front-end would need to inform the backend that this is required. Currently GCC cannot represent that overflow test or divide by zero test is required, e.g., with a different RTL code. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23519