public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/60763] New: ICE in extract_insn starting with rev 208984
@ 2014-04-04 16:21 pthaugen at gcc dot gnu.org
  2014-04-05  7:34 ` [Bug rtl-optimization/60763] " rsandifo at gcc dot gnu.org
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: pthaugen at gcc dot gnu.org @ 2014-04-04 16:21 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60763

            Bug ID: 60763
           Summary: ICE in extract_insn starting with rev 208984
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pthaugen at gcc dot gnu.org
                CC: bergner at gcc dot gnu.org, dje at gcc dot gnu.org,
                    rsandifo at gcc dot gnu.org
              Host: powerpc64-linux
            Target: powerpc64-linux
             Build: powerpc64-linux

Bootstrap build on PowerPC using --with-cpu=power8 started failing in stage2
build with stated revision. Also noticed with non-bootstrap build that several
testcases fail in similar manner. Following is example (reduced from
gcc.c-torture/compile/20020604-1.c).

[pthaugen@igoo delta]$ cat 20020604-1.c
foo (unsigned int n, int x, int y, unsigned char *z)
{
  {
    unsigned int i;
    for (i = 0; i < n; i++)
      {
    {
      union
      {
        float r;
        unsigned int i;
      }
      e;
      ((e.i >= 0x3f7f0000) ? ((int) e.i <
                  0) ? (unsigned char) 0 : (unsigned char) 255
       : (e.r = e.r * (255.0F / 256.0F) + 32768.0F, (unsigned char) e.i));
    }
      }
  }
}
[pthaugen@igoo delta]$ ~/install/gcc/trunk_work/bin/gcc -c -O1 -mcpu=power8
20020604-1.c
20020604-1.c: In function ‘foo’:
20020604-1.c:20:1: error: unrecognizable insn:
 }
 ^
(insn 64 63 65 5 (set (subreg:DI (reg:SF 32 0) 0)
        (reg:DI 8 8)) 20020604-1.c:16 -1
     (nil))
20020604-1.c:20:1: internal compiler error: in extract_insn, at recog.c:2202
0x105fafe3 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
    /home/pthaugen/src/gcc/trunk_work/gcc/gcc/rtl-error.c:109
0x105fb053 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
    /home/pthaugen/src/gcc/trunk_work/gcc/gcc/rtl-error.c:117
0x105c5723 extract_insn(rtx_def*)
    /home/pthaugen/src/gcc/trunk_work/gcc/gcc/recog.c:2202
0x105c57ef extract_insn_cached(rtx_def*)
    /home/pthaugen/src/gcc/trunk_work/gcc/gcc/recog.c:2105
0x10370f37 cleanup_subreg_operands(rtx_def*)
    /home/pthaugen/src/gcc/trunk_work/gcc/gcc/final.c:3063
0x105c46b7 split_insn
    /home/pthaugen/src/gcc/trunk_work/gcc/gcc/recog.c:2920
0x105c498b split_all_insns()
    /home/pthaugen/src/gcc/trunk_work/gcc/gcc/recog.c:2974
0x105c4b0f rest_of_handle_split_after_reload
    /home/pthaugen/src/gcc/trunk_work/gcc/gcc/recog.c:3923
0x105c4b0f execute
    /home/pthaugen/src/gcc/trunk_work/gcc/gcc/recog.c:3952
Please submit a full bug report,
>From gcc-bugs-return-448318-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 04 16:30:00 2014
Return-Path: <gcc-bugs-return-448318-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9236 invoked by alias); 4 Apr 2014 16:30:00 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 9190 invoked by uid 48); 4 Apr 2014 16:29:57 -0000
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/60743] build/genautomata uses 700 MB memory for ARM
Date: Fri, 04 Apr 2014 16:30:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: bootstrap
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bernd.edlinger at hotmail dot de
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-60743-4-YzG5gZAzqW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60743-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60743-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-04/txt/msg00338.txt.bz2
Content-length: 186

http://gcc.gnu.org/bugzilla/show_bug.cgi?id`743

--- Comment #9 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
The patch works for me.

Thanks for fixing this so quickly!


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2014-04-08 19:43 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-04 16:21 [Bug rtl-optimization/60763] New: ICE in extract_insn starting with rev 208984 pthaugen at gcc dot gnu.org
2014-04-05  7:34 ` [Bug rtl-optimization/60763] " rsandifo at gcc dot gnu.org
2014-04-06 16:43 ` [Bug rtl-optimization/60763] [4.9 Regression] " pinskia at gcc dot gnu.org
2014-04-06 16:43 ` pinskia at gcc dot gnu.org
2014-04-06 20:34 ` rsandifo at gcc dot gnu.org
2014-04-07 10:27 ` rguenth at gcc dot gnu.org
2014-04-07 13:58 ` dje at gcc dot gnu.org
2014-04-07 14:27 ` rsandifo at gcc dot gnu.org
2014-04-07 14:29 ` rsandifo at gcc dot gnu.org
2014-04-07 20:38 ` meissner at gcc dot gnu.org
2014-04-07 21:04 ` pthaugen at gcc dot gnu.org
2014-04-08  1:29 ` dje at gcc dot gnu.org
2014-04-08  6:42 ` rsandifo at gcc dot gnu.org
2014-04-08 15:21 ` dje at gcc dot gnu.org
2014-04-08 17:19 ` rsandifo at gcc dot gnu.org
2014-04-08 17:20 ` dje at gcc dot gnu.org
2014-04-08 17:37 ` rsandifo at gcc dot gnu.org
2014-04-08 17:51 ` rsandifo at gcc dot gnu.org
2014-04-08 19:43 ` jakub at gcc dot gnu.org

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).