public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/60950] New: powerpc-e500v2-linux-gnuspe: ICE in extract_insn, at recog.c:2202
@ 2014-04-24  9:30 asolokha at gmx dot com
  2015-03-31 18:28 ` [Bug target/60950] " msebor at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: asolokha at gmx dot com @ 2014-04-24  9:30 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 60950
           Summary: powerpc-e500v2-linux-gnuspe: ICE in extract_insn, at
                    recog.c:2202
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com

gcc 4.10.0-alpha20140411 fails to compile the following snippet for target
powerpc-e500v2-linux-gnuspe-gcc at -O3 and -Ofast:

void
e5(void)
{
  static int e2;
  static unsigned long long int cc;
  if (0 == e2)
    for (cc = 0; cc < 1; ++cc)
      ;
  else {
    int cb;
    int b8;
    int bb[6] = { 0 };
  b9:
    if (!((e2 = bb[0]) & cb)) {
      for (b8 = 0; b8 < 5; ++b8) {
        static char a8;
        static char *f2 = &a8;
        static char **b3 = &f2;
        static char ***b1 = &b3;
        static signed char *dd = &a8;
        static signed char **ba = &dd;
        static int bc;
        static int *db = &bc;
        static int **d4 = &db;
        static int ***f1 = &d4;
        bb[b8] = (*dd >= ((65535 & **ba) && ((***b1 = 0) <= ***f1)));
      }
      for (b8 = 0; b8 < 1; ++b8)
        if (0 == cc)
          goto b9;
    }
  }
}

fbba3e54.c: In function 'e5':
fbba3e54.c:33:1: error: unrecognizable insn:
 }
 ^
(insn 224 223 124 10 (set (reg:CC 75 7 [242])
        (compare:CC (reg:HI 10 10)
            (const_int 0 [0]))) fbba3e54.c:26 -1
     (nil))
fbba3e54.c:33:1: internal compiler error: in extract_insn, at recog.c:2202


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

* [Bug target/60950] powerpc-e500v2-linux-gnuspe: ICE in extract_insn, at recog.c:2202
  2014-04-24  9:30 [Bug target/60950] New: powerpc-e500v2-linux-gnuspe: ICE in extract_insn, at recog.c:2202 asolokha at gmx dot com
@ 2015-03-31 18:28 ` msebor at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: msebor at gcc dot gnu.org @ 2015-03-31 18:28 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60950

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |msebor at gcc dot gnu.org

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
This ICE still appears to exist today (r221777):

$ ./gcc/xgcc -Bgcc -O3 -S -o/dev/tty t.c || ./gcc/xgcc -v
    .file    "t.c"
t.c: In function ‘e5’:
t.c:33:1: error: unrecognizable insn:
 }
 ^
(insn 236 235 126 10 (set (reg:CC 75 7 [275])
        (compare:CC (reg:HI 10 10)
            (const_int 0 [0]))) t.c:26 -1
     (nil))
t.c:33:1: internal compiler error: in extract_insn, at recog.c:2343
0xa17f08 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
    /home/msebor/fsf/gcc-git/gcc/rtl-error.c:110
0xa17f39 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
    /home/msebor/fsf/gcc-git/gcc/rtl-error.c:118
0x9ea867 extract_insn(rtx_insn*)
    /home/msebor/fsf/gcc-git/gcc/recog.c:2343
0x9ea8f1 extract_insn_cached(rtx_insn*)
    /home/msebor/fsf/gcc-git/gcc/recog.c:2234
0x78be0d cleanup_subreg_operands(rtx_insn*)
    /home/msebor/fsf/gcc-git/gcc/final.c:3137
0x9e811f split_insn
    /home/msebor/fsf/gcc-git/gcc/recog.c:2957
0x9ecc6f split_all_insns()
    /home/msebor/fsf/gcc-git/gcc/recog.c:3011
0x9ecd12 rest_of_handle_split_after_reload
    /home/msebor/fsf/gcc-git/gcc/recog.c:3958
0x9ecd12 execute
    /home/msebor/fsf/gcc-git/gcc/recog.c:3987
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
Using built-in specs.
COLLECT_GCC=./gcc/xgcc
Target: powerpc-linux-gnuspe
Configured with: /home/msebor/fsf/gcc-git/configure --disable-bootstrap
--enable-languages=c --target=powerpc-linux-gnuspe
Thread model: posix
gcc version 5.0.0 20150330 (experimental) (GCC)
>From gcc-bugs-return-482438-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 31 17:58:01 2015
Return-Path: <gcc-bugs-return-482438-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79301 invoked by alias); 31 Mar 2015 17:58:01 -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 79220 invoked by uid 48); 31 Mar 2015 17:57:57 -0000
From: "kariya_mitsuru at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/65398] [5 Regression] [C++11] GCC rejects constexpr variable definitions with valid initialization
Date: Tue, 31 Mar 2015 18:35:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kariya_mitsuru at hotmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-65398-4-hJslqXMHur@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65398-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65398-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: 2015-03/txt/msg03582.txt.bz2
Content-length: 234

https://gcc.gnu.org/bugzilla/show_bug.cgi?ide398

--- Comment #15 from Mitsuru Kariya <kariya_mitsuru at hotmail dot com> ---
I have opened a new issue bug 65642.
(Sorry, I made a mistake in operation so its description is empty.)


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

end of thread, other threads:[~2015-03-31 17:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-24  9:30 [Bug target/60950] New: powerpc-e500v2-linux-gnuspe: ICE in extract_insn, at recog.c:2202 asolokha at gmx dot com
2015-03-31 18:28 ` [Bug target/60950] " msebor 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).