public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/63187] New: Unrecognizable insn ICE due to revision 214080
@ 2014-09-05 13:56 bergner at gcc dot gnu.org
  2014-09-05 19:17 ` [Bug target/63187] " segher at gcc dot gnu.org
  2014-09-05 19:27 ` segher at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: bergner at gcc dot gnu.org @ 2014-09-05 13:56 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 63187
           Summary: Unrecognizable insn ICE due to revision 214080
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bergner at gcc dot gnu.org

Revision 214080 causes an unrecognizable insn ICE when compiling the following
test case with -O2 -m32 -mlra:

[bergner@makalu-lp1 decnumber]$ cat testcase-min.i
typedef struct
{
  unsigned char bits;
} decNumber;

void
__decNumberPower (unsigned int status)
{
  int i;
  decNumber dacbuff;
  decNumber *dac = &dacbuff;
  for (i = 1;; i++)
    {
      if ((status & 0x2200) && (dac->bits & 0x70))
        break;
    }
  if (status & 0x2200)
    bar (dac);
}

[bergner@makalu-lp1 decnumber]$
/home/bergner/gcc/build/gcc-fsf-mainline-bootstrap-lra-r214080/./gcc/xgcc
-B/home/bergner/gcc/build/gcc-fsf-mainline-bootstrap-lra-r214080/./gcc/ -O2
-m32 -mlra testcase-min.i 
testcase-min.i: In function ‘__decNumberPower’:
testcase-min.i:19:1: error: unrecognizable insn:
 }
 ^
(insn 41 40 42 2 (parallel [
            (set (reg:SI 9 9 [168])
                (and:SI (reg:SI 9 9 [orig:159 dacbuff.bits+-3 ] [159])
                    (const_int 112 [0x70])))
            (clobber (reg:CC 68 0 [169]))
        ]) -1
     (nil))
testcase-min.i:19:1: internal compiler error: in extract_insn, at recog.c:2204
>From gcc-bugs-return-461299-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Sep 05 13:56:08 2014
Return-Path: <gcc-bugs-return-461299-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12809 invoked by alias); 5 Sep 2014 13:56:08 -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 12750 invoked by uid 48); 5 Sep 2014 13:56:02 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/62659] [4.9/5 regression] Regression in template argument substitution in 4.9+
Date: Fri, 05 Sep 2014 13:56: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.9.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-62659-4-Q3UU2tjiUX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-62659-4@http.gcc.gnu.org/bugzilla/>
References: <bug-62659-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-09/txt/msg01133.txt.bz2
Content-length: 291

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.9.2


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

* [Bug target/63187] Unrecognizable insn ICE due to revision 214080
  2014-09-05 13:56 [Bug target/63187] New: Unrecognizable insn ICE due to revision 214080 bergner at gcc dot gnu.org
@ 2014-09-05 19:17 ` segher at gcc dot gnu.org
  2014-09-05 19:27 ` segher at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: segher at gcc dot gnu.org @ 2014-09-05 19:17 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Author: segher
Date: Fri Sep  5 19:17:08 2014
New Revision: 214976

URL: https://gcc.gnu.org/viewcvs?rev=214976&root=gcc&view=rev
Log:
2014-09-05  Segher Boessenkool  <segher@kernel.crashing.org>

    PR target/63187
    * config/rs6000/rs6000.md (*and<mode>3_imm_dot, *and<mode>3_imm_dot2):
    Do not allow any_mask_operand for operands[2].
    (*and<mode>3_imm_mask_dot, *and<mode>3_imm_mask_dot2): New.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/rs6000.md


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

* [Bug target/63187] Unrecognizable insn ICE due to revision 214080
  2014-09-05 13:56 [Bug target/63187] New: Unrecognizable insn ICE due to revision 214080 bergner at gcc dot gnu.org
  2014-09-05 19:17 ` [Bug target/63187] " segher at gcc dot gnu.org
@ 2014-09-05 19:27 ` segher at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: segher at gcc dot gnu.org @ 2014-09-05 19:27 UTC (permalink / raw)
  To: gcc-bugs

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

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Fixed.


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

end of thread, other threads:[~2014-09-05 19:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-05 13:56 [Bug target/63187] New: Unrecognizable insn ICE due to revision 214080 bergner at gcc dot gnu.org
2014-09-05 19:17 ` [Bug target/63187] " segher at gcc dot gnu.org
2014-09-05 19:27 ` segher 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).