public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "clyon at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/96475] direct threaded interpreter with computed gotos generates suboptimal dispatch loop
Date: Wed, 09 Sep 2020 19:53:09 +0000	[thread overview]
Message-ID: <bug-96475-4-5xtD1H5ifi@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-96475-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #11 from Christophe Lyon <clyon at gcc dot gnu.org> ---
Ha sorry I missed the beginning (interleaved in the log with other commands):
during RTL pass: sched_fusion
vfprintf-internal.c: In function '__vfprintf_internal':
vfprintf-internal.c:1702:1: internal compiler error: in operator[], at
vec.h:880
 1702 | }
      | ^
0x82a054 vec<basic_block_def*, va_gc, vl_embed>::operator[](unsigned int)
        /tmp/4800342_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/vec.h:880
0x82a054 pre_and_rev_post_order_compute_fn(function*, int*, int*, bool)
       
/tmp/4800342_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/cfganal.c:1036
0x82a0b7 pre_and_rev_post_order_compute(int*, int*, bool)
       
/tmp/4800342_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/cfganal.c:1050
0x7db017 init_alias_analysis()
       
/tmp/4800342_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/alias.c:3392
0x180c862 sched_init()
       
/tmp/4800342_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/haifa-sched.c:7326
0x180e1ed haifa_sched_init()
       
/tmp/4800342_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/haifa-sched.c:7363
0xcd64dc schedule_insns
       
/tmp/4800342_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/sched-rgn.c:3514
0xcd6da0 schedule_insns
       
/tmp/4800342_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/sched-rgn.c:3930
0xcd6da0 rest_of_handle_sched_fusion
       
/tmp/4800342_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/sched-rgn.c:3757
0xcd6da0 execute
       
/tmp/4800342_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/sched-rgn.c:3932


I can prepare the preprocessed source tomorrow if needed.


The full compilation command:
/tmp/4800342_6.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/tools/bin/aarch64-none-linux-gnu-gcc
vfprintf-internal.c -c -std=gnu11 -fgnu89-inline  -g -O2 -Wall -Wwrite-strings
-Wundef -fmerge-all-const
ants -frounding-math -fno-stack-protector -Wstrict-prototypes
-Wold-style-definition -fmath-errno      -ftls-model=initial-exec     
-I../include -I/tmp/4800342_6.tmpdir/aci-gcc-fsf/builds/gcc-fsf-
gccsrc/obj-aarch64-none-linux-gnu/glibc-1/stdio-common 
-I/tmp/4800342_6.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64-none-linux-gnu/glibc-1
 -I../sysdeps/unix/sysv/linux/aarch64  -I../sysd
eps/aarch64/nptl  -I../sysdeps/unix/sysv/linux/generic 
-I../sysdeps/unix/sysv/linux/wordsize-64  -I../sysdeps/unix/sysv/linux/include
-I../sysdeps/unix/sysv/linux  -I../sysdeps/nptl  -I../sysdeps/
pthread  -I../sysdeps/gnu  -I../sysdeps/unix/inet  -I../sysdeps/unix/sysv 
-I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/aarch64/fpu 
-I../sysdeps/aarch64/multiarch  -I../sysdeps/aarch64  -I.
./sysdeps/wordsize-64  -I../sysdeps/ieee754/ldbl-128 
-I../sysdeps/ieee754/dbl-64/wordsize-64  -I../sysdeps/ieee754/dbl-64 
-I../sysdeps/ieee754/flt-32  -I../sysdeps/ieee754  -I../sysdeps/generic  
-I.. -I../libio -I. -nostdinc -isystem
/tmp/4800342_6.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/tools/lib/gcc/aarch64-none-linux-gnu/11.0.0/include
-isystem /tmp/4800342_6.tmpdir/aci-gcc-fsf/builds/
gcc-fsf-gccsrc/tools/lib/gcc/aarch64-none-linux-gnu/11.0.0/include-fixed
-isystem
/tmp/4800342_6.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/sysroot-aarch64-none-linux-gnu/usr/include
 -D_LIBC_REENTRA
NT -include
/tmp/4800342_6.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64-none-linux-gnu/glibc-1/libc-modules.h
-DMODULE_NAME=libc -include ../include/libc-symbols.h       -DTOP_NAMESPACE=gli
bc -D_IO_MTSAFE_IO -o
/tmp/4800342_6.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64-none-linux-gnu/glibc-1/stdio-common/vfprintf-internal.o
-MD -MP -MF /tmp/4800342_6.tmpdir/aci-gcc-fsf/build
s/gcc-fsf-gccsrc/obj-aarch64-none-linux-gnu/glibc-1/stdio-common/vfprintf-internal.o.dt
-MT
/tmp/4800342_6.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64-none-linux-gnu/glibc-1/stdio-common/v
fprintf-internal.o

  parent reply	other threads:[~2020-09-09 19:53 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-05  0:14 [Bug rtl-optimization/96475] New: " npiggin at gmail dot com
2020-08-05 10:02 ` [Bug rtl-optimization/96475] " mikpelinux at gmail dot com
2020-08-05 17:54 ` segher at gcc dot gnu.org
2020-08-05 22:33 ` mikpelinux at gmail dot com
2020-08-05 22:55 ` segher at gcc dot gnu.org
2020-08-06 16:44 ` mikpelinux at gmail dot com
2020-08-06 23:47 ` segher at gcc dot gnu.org
2020-09-09 16:56 ` cvs-commit at gcc dot gnu.org
2020-09-09 17:06 ` segher at gcc dot gnu.org
2020-09-09 19:27 ` clyon at gcc dot gnu.org
2020-09-09 19:37 ` segher at gcc dot gnu.org
2020-09-09 19:53 ` clyon at gcc dot gnu.org [this message]
2020-09-09 20:05 ` segher at gcc dot gnu.org
2020-09-10  8:58 ` clyon at gcc dot gnu.org
2020-09-10  9:30 ` clyon at gcc dot gnu.org
2020-09-10 10:50 ` acoplan at gcc dot gnu.org
2020-09-13  5:50 ` dinuxbg at gmail dot com
2020-09-14  8:18 ` asolokha at gmx dot com
2020-09-14 13:42 ` segher at gcc dot gnu.org
2020-09-14 14:34 ` segher at gcc dot gnu.org
2020-09-14 14:35 ` segher at gcc dot gnu.org
2020-09-14 15:24 ` asolokha at gmx dot com
2020-09-14 16:02 ` clyon at gcc dot gnu.org
2020-09-14 19:07 ` dinuxbg at gmail dot com
2020-09-15 13:18 ` cvs-commit at gcc dot gnu.org
2021-05-04 12:31 ` rguenth at gcc dot gnu.org

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=bug-96475-4-5xtD1H5ifi@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@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).