From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15900 invoked by alias); 11 Apr 2002 11:56:04 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 15859 invoked by uid 71); 11 Apr 2002 11:56:02 -0000 Resent-Date: 11 Apr 2002 11:56:02 -0000 Resent-Message-ID: <20020411115602.15857.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, cichon@ifn.et.tu-dresden.de Received:(qmail 12547 invoked by uid 61); 11 Apr 2002 11:53:15 -0000 Message-Id:<20020411115315.12546.qmail@sources.redhat.com> Date: Thu, 11 Apr 2002 04:56:00 -0000 From: cichon@ifn.et.tu-dresden.de Reply-To: cichon@ifn.et.tu-dresden.de To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: target/6254: ia64 cross-compiler crashes X-SW-Source: 2002-04/txt/msg00607.txt.bz2 List-Id: >Number: 6254 >Category: target >Synopsis: ia64 cross-compiler crashes >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu Apr 11 04:56:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Gordon Cichon >Release: gcc version 3.2 20020410 (experimental) >Organization: >Environment: Suse Linux 7.2 >Description: The compiler crashes on compiling a simple test program. Here is the output: addv.c: In function `addv': addv.c:8: internal error: Floating point exception Please submit a full bug report, with preprocessed source if appropriate. See for instructions. This is the stack at the time of the crash: #0 0x838879f in htab_find_slot_with_hash (htab=0x84a3e00, element=0xbfffe340, hash=2027808484, insert=NO_INSERT) at /tmp/gcc/libiberty/hashtab.c:414 #1 0x8388865 in htab_find_slot (htab=0x84a3e00, element=0xbfffe340, insert=NO_INSERT) at /tmp/gcc/libiberty/hashtab.c:463 #2 0x810906f in maybe_remove_eh_handler (label=0x40442e88) at /tmp/gcc/gcc/except.c:2677 #3 0x80e05c0 in flow_delete_block_noexpunge (b=0x84a4500) at /tmp/gcc/gcc/cfgrtl.c:383 #4 0x80e06e2 in flow_delete_block (b=0x84a4500) at /tmp/gcc/gcc/cfgrtl.c:421 #5 0x82be97b in try_optimize_cfg (mode=24) at /tmp/gcc/gcc/cfgcleanup.c:1621 #6 0x82befac in cleanup_cfg (mode=24) at /tmp/gcc/gcc/cfgcleanup.c:1805 #7 0x82438e4 in optimize_sibling_and_tail_recursive_calls () at /tmp/gcc/gcc/sibcall.c:593 #8 0x826d88c in rest_of_compilation (decl=0x40442bb8) at /tmp/gcc/gcc/toplev.c:2484 #9 0x8074055 in c_expand_body (fndecl=0x40442bb8, nested_p=0, can_defer_p=1) at /tmp/gcc/gcc/c-decl.c:6848 #10 0x8073ba1 in finish_function (nested=0, can_defer_p=1) at /tmp/gcc/gcc/c-decl.c:6715 #11 0x804a6ee in yyparse () at c-parse.y:359 #12 0x80592bb in c_common_parse_file () at /tmp/gcc/gcc/c-lex.c:164 #13 0x826c6be in compile_file () at /tmp/gcc/gcc/toplev.c:2032 #14 0x827249e in do_compile () at /tmp/gcc/gcc/toplev.c:5098 #15 0x827250d in toplev_main (argc=8, argv=0xbfffebfc) at /tmp/gcc/gcc/toplev.c:5130 #16 0x80c1176 in main (argc=8, argv=0xbfffebfc) at /tmp/gcc/gcc/main.c:35 #17 0x40041c6f in __libc_start_main () from /lib/libc.so.6 What is wrong with it? Can't see why it does that... >How-To-Repeat: The compiler was configured as follows: configure --prefix=$HOME/local --enable-languages=c --target=ia64-elf --with-ld=$HOME/bin/myld --with-as=$HOME/bin/myas --disable-c-mbchar --disable-threads --disable-shared --disable-nls The compiler was called with the following options: cc1 -da -O2 -fexpensive-optimizations -fstrict-aliasing -o addv.s addv.c >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/octet-stream; name="addv.c" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="addv.c" CnZvaWQKYWRkdiAoaW50ICogYSwgaW50ICogYiwgaW50ICogYykKewogICAgaW50ICogYV9lbmQg PSBhICsgNDA5NjsKICAgIHdoaWxlIChhICE9IGFfZW5kKQoJKihjKyspID0gKihhKyspICsgKihi KyspOwp9Cg==