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

            Bug ID: 101092
           Summary: internal compiler error: Segmentation fault
           Product: gcc
           Version: 11.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: heinrich.heinzer at gmail dot com
  Target Milestone: ---

Created attachment 51028
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51028&action=edit
preprocessed file (*.i*) that triggers the bug

Output of `gcc -v`:
% gcc -v                                                                        
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib
--libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info
--with-bugurl=https://bugs.archlinux.org/
--enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d --with-isl
--with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit
--enable-cet=auto --enable-checking=release --enable-clocale=gnu
--enable-default-pie --enable-default-ssp --enable-gnu-indirect-function
--enable-gnu-unique-object --enable-install-libiberty --enable-linker-build-id
--enable-lto --enable-multilib --enable-plugin --enable-shared
--enable-threads=posix --disable-libssp --disable-libstdcxx-pch
--disable-libunwind-exceptions --disable-werror
gdc_include_dir=/usr/include/dlang/gdc
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.1.0 (GCC)


Complete command line that triggers the bug:
gcc polytools.c


Compiler output:
% gcc polytools.c               
during RTL pass: expand
polytools.c: In function ‘poly_gauss_jacobi_h’:
polytools.c:125:5: internal compiler error: Segmentation fault
  125 |     poly_jacobi_f_d(1, &z, &P_z, 0, n, alpha, beta);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0x1614f98 internal_error(char const*, ...)
        ???:0
0x65c488 attr_access::array_as_string[abi:cxx11](tree_node*) const
        ???:0
0x775dc9 expand_call(tree_node*, rtx_def*, int)
        ???:0
0x89252e expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        ???:0
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://bugs.archlinux.org/> for instructions.


Preprocessed file:
a-polytools.i (see attachments)

Reply via email to