public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: bangerth@dealii.org
To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, mutz@kde.org,
	nobody@gcc.gnu.org
Subject: Re: optimization/9331: ICE in final_scan_finsn
Date: Wed, 15 Jan 2003 19:30:00 -0000	[thread overview]
Message-ID: <20030115193018.32368.qmail@sources.redhat.com> (raw)

Old Synopsis: g++ 3.2 gives ice on optimizing a VTK source file - SSE releated
New Synopsis: ICE in final_scan_finsn

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Wed Jan 15 11:30:16 2003
State-Changed-Why:
    Confirmed. Here's a much reduced testcase:
    ----------------------------
    void foo() {
      float trueValue;
      float* outSI;
    
      if (*outSI)
        *outSI = trueValue;
      else
        *outSI = 0;
    }
    ----------------------------
    It crashed the C and C++ front ends of 3.2/3/4 branches
    alike:
    
    g/a> /home/bangerth/bin/gcc-3.4-pre/bin/gcc -march=pentium3 -O -c x.c
    x.c: In function `foo':
    x.c:9: error: could not split insn
    (insn 34 11 35 0x4001839c (set (reg:SF 21 exmm0 [62])
            (if_then_else:SF (ne (mem:SF (reg/v/f:SI 0 eax [59]) [0 S4 A32])
                    (reg:SF 21 exmm0 [61]))
                (reg/v:SF 22 exmm1 [58])
                (const_double:SF 0 [0x0] 0.0 [0x0.0p+0]))) 495 {*sse_movsfcc_const0_3} (insn_list 11 (nil))
        (expr_list:REG_DEAD (reg/v:SF 22 exmm1 [58])
            (expr_list:REG_EQUIV (mem:SF (reg/v/f:SI 0 eax [59]) [0 S4 A32])
                (nil))))
    x.c:9: internal compiler error: in final_scan_insn, at final.c:2495
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
    
    
    W.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9331


             reply	other threads:[~2003-01-15 19:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-15 19:30 bangerth [this message]
2003-05-10  5:36 Dara Hazeghi
2003-05-12 11:45 giovannibajo
2003-05-12 15:06 Marc Mutz
2003-05-12 15:37 bangerth
2003-05-12 17:26 Dara Hazeghi

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=20030115193018.32368.qmail@sources.redhat.com \
    --to=bangerth@dealii.org \
    --cc=gcc-bugs@gcc.gnu.org \
    --cc=gcc-gnats@gcc.gnu.org \
    --cc=gcc-prs@gcc.gnu.org \
    --cc=mutz@kde.org \
    --cc=nobody@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: link
Be 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).