public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "hjl at lucon dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/23485] New: [ia64]: Integer dvide by zero doesn't raise a signal Date: Fri, 19 Aug 2005 18:20:00 -0000 [thread overview] Message-ID: <20050819181718.23485.hjl@lucon.org> (raw) [hjl@gnu-4 zero]$ cat x.c int foo (int y, int x) { return y/x; } [hjl@gnu-4 zero]$ cat y.c #include <stdio.h> extern int foo (int, int); int main () { printf ("(10/0) = %d\n", foo (10, 0)); return 0; } [hjl@gnu-4 zero]$ gcc x.c y.c [hjl@gnu-4 zero]$ ./a.out (10/0) = 0 It happens on gcc 3.4/4.0/4.1. -- Summary: [ia64]: Integer dvide by zero doesn't raise a signal Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hjl at lucon dot org CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: ia64-unknown-linux-gnu GCC host triplet: ia64-unknown-linux-gnu GCC target triplet: ia64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23485
next reply other threads:[~2005-08-19 18:17 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-08-19 18:20 hjl at lucon dot org [this message] 2005-08-19 18:22 ` [Bug target/23485] " hjl at lucon dot org 2005-08-19 18:32 ` pinskia at gcc dot gnu dot org 2005-08-20 15:27 ` hjl at lucon dot org 2005-08-20 18:34 ` hjl at lucon dot org 2005-08-21 0:00 ` cvs-commit at gcc dot gnu dot org 2005-08-22 3:08 ` cvs-commit at gcc dot gnu dot org 2005-08-22 3:45 ` hjl at lucon dot org 2005-08-23 1:50 ` pinskia at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20050819181718.23485.hjl@lucon.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).