public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/96968] New: aarch64 : ICE in vregs pass lowering  __builtin_aarch64_get_fpcr
@ 2020-09-08  6:22 iains at gcc dot gnu.org
  2020-09-08  6:26 ` [Bug target/96968] " iains at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 15+ messages in thread
From: iains at gcc dot gnu.org @ 2020-09-08  6:22 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 96968
           Summary: aarch64 : ICE in vregs pass lowering
                    __builtin_aarch64_get_fpcr
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: iains at gcc dot gnu.org
  Target Milestone: ---

Testcase from FX:

int main (void) {
  unsigned int fpcr;
  fpcr = __builtin_aarch64_get_fpcr ();
}

gcc11 / master r11-3035.

$ ./gcc/xgcc -Bgcc ~/fpcr-test-a.c -S
.../fpcr-test-a.c: In function ‘main’:
.../fpcr-test-a.c:7:1: error: unrecognizable insn:
    7 | }
      | ^
(insn 5 2 6 2 (set (mem/c:SI (plus:DI (reg/f:DI 87 virtual-stack-vars)
                (const_int -4 [0xfffffffffffffffc])) [1 fpcr+0 S4 A32])
        (unspec_volatile:SI [
                (const_int 0 [0])
            ] UNSPECV_GET_FPCR)) ".../fpcr-test-a.c":5:10 -1
     (nil))
during RTL pass: vregs
.../fpcr-test-a.c:7:1: internal compiler error: in extract_insn, at
recog.c:2294
0x61cf73 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ../../src/gcc/rtl-error.c:108
0x61cfa7 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        ../../src/gcc/rtl-error.c:116
0xbdd5ef extract_insn(rtx_insn*)
        ../../src/gcc/recog.c:2294
0x96407b instantiate_virtual_regs_in_insn
        ../../src/gcc/function.c:1607
0x96407b instantiate_virtual_regs
        ../../src/gcc/function.c:1977
0x96407b execute
        ../../src/gcc/function.c:2026

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

end of thread, other threads:[~2020-09-30  7:15 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-08  6:22 [Bug target/96968] New: aarch64 : ICE in vregs pass lowering __builtin_aarch64_get_fpcr iains at gcc dot gnu.org
2020-09-08  6:26 ` [Bug target/96968] " iains at gcc dot gnu.org
2020-09-08  6:51 ` fxcoudert at gcc dot gnu.org
2020-09-08  7:05 ` iains at gcc dot gnu.org
2020-09-08 11:36 ` [Bug target/96968] aarch64 : ICE in vregs or expand pass, lowering __builtin_aarch64_get_{fpcr,fpsr,fpcr64,fpsr64} akrl at gcc dot gnu.org
2020-09-14 17:27   ` Andrea Corallo
2020-09-24  9:59   ` Andrea Corallo
2020-09-14 17:27 ` andrea.corallo at arm dot com
2020-09-21  8:40 ` cvs-commit at gcc dot gnu.org
2020-09-24  9:59 ` andrea.corallo at arm dot com
2020-09-24 10:07 ` iains at gcc dot gnu.org
2020-09-24 10:11   ` Andrea Corallo
2020-09-24 10:11 ` andrea.corallo at arm dot com
2020-09-29 23:24 ` iains at gcc dot gnu.org
2020-09-30  7:15 ` akrl 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).