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

            Bug ID: 102847
           Summary: [12 regression] r12-4504 breaks powerpc64 build on
                    power 7
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:e3ef92e79f9f1c4275a9e19652439089a310627d, r12-4504


libtool: compile:  /home/seurer/gcc/git/build/gcc-test/./gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test/./gcc/
-B/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/bin/
-B/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/lib/
-isystem
/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/include
-isystem
/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/sys-include
-DHAVE_CONFIG_H -I. -I/home/seurer/gcc/git/gcc-test/libgfortran
-iquote/home/seurer/gcc/git/gcc-test/libgfortran/io
-I/home/seurer/gcc/git/gcc-test/libgfortran/../gcc
-I/home/seurer/gcc/git/gcc-test/libgfortran/../gcc/config
-I/home/seurer/gcc/git/gcc-test/libgfortran/../libquadmath -I../.././gcc
-I/home/seurer/gcc/git/gcc-test/libgfortran/../libgcc -I../libgcc
-I/home/seurer/gcc/git/gcc-test/libgfortran/../libbacktrace -I../libbacktrace
-I../libbacktrace -std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wextra -Wwrite-strings
-Werror=implicit-function-declaration -Werror=vla -fcx-fortran-rules
-ffunction-sections -fdata-sections -ffast-math -ftree-vectorize -funroll-loops
--param max-unroll-times=4 -g -O2 -MT matmul_i1.lo -MD -MP -MF
.deps/matmul_i1.Tpo -c
/home/seurer/gcc/git/gcc-test/libgfortran/generated/matmul_i1.c  -fPIC -DPIC -o
.libs/matmul_i1.o
during GIMPLE pass: vect
/home/seurer/gcc/git/gcc-test/libgfortran/generated/matmul_i1.c: In function
'matmul_i1':
/home/seurer/gcc/git/gcc-test/libgfortran/generated/matmul_i1.c:2450:1:
internal compiler error: in rs6000_builtin_vectorization_cost, at
config/rs6000/rs6000.c:5176
 2450 | matmul_i1 (gfc_array_i1 * const restrict retarray,
      | ^~~~~~~~~
0x110b9f47 rs6000_builtin_vectorization_cost
        /home/seurer/gcc/git/gcc-trunk/gcc/config/rs6000/rs6000.c:5176
0x10f13547 builtin_vectorization_cost
        /home/seurer/gcc/git/gcc-trunk/gcc/tree-vectorizer.h:1520
0x10f13547 record_stmt_cost(vec<stmt_info_for_cost, va_heap, vl_ptr>*, int,
vect_cost_for_stmt, _stmt_vec_info*, tree_node*, int, vect_cost_model_location)
        /home/seurer/gcc/git/gcc-trunk/gcc/tree-vect-stmts.c:109
0x10f13f87 record_stmt_cost
        /home/seurer/gcc/git/gcc-trunk/gcc/tree-vectorizer.h:1928
0x10f13f87 vect_get_load_cost(vec_info*, _stmt_vec_info*, int,
dr_alignment_support, int, bool, unsigned int*, unsigned int*,
vec<stmt_info_for_cost, va_heap, vl_ptr>*, vec<stmt_info_for_cost, va_heap,
vl_ptr>*, bool)
        /home/seurer/gcc/git/gcc-trunk/gcc/tree-vect-stmts.c:1240
0x10f3000b vect_model_load_cost
        /home/seurer/gcc/git/gcc-trunk/gcc/tree-vect-stmts.c:1195
0x10f3000b vectorizable_load
        /home/seurer/gcc/git/gcc-trunk/gcc/tree-vect-stmts.c:8783
0x10f3f55b vect_analyze_stmt(vec_info*, _stmt_vec_info*, bool*, _slp_tree*,
_slp_instance*, vec<stmt_info_for_cost, va_heap, vl_ptr>*)
        /home/seurer/gcc/git/gcc-trunk/gcc/tree-vect-stmts.c:10963
0x10f5f247 vect_analyze_loop_operations
        /home/seurer/gcc/git/gcc-trunk/gcc/tree-vect-loop.c:1779
0x10f61067 vect_analyze_loop_2
        /home/seurer/gcc/git/gcc-trunk/gcc/tree-vect-loop.c:2518
0x10f62e17 vect_analyze_loop(loop*, vec_info_shared*)
        /home/seurer/gcc/git/gcc-trunk/gcc/tree-vect-loop.c:3029
0x10fa6cbf try_vectorize_loop_1
        /home/seurer/gcc/git/gcc-trunk/gcc/tree-vectorizer.c:1010
0x10fa7b9f vectorize_loops()
        /home/seurer/gcc/git/gcc-trunk/gcc/tree-vectorizer.c:1249
0x10deb787 execute
        /home/seurer/gcc/git/gcc-trunk/gcc/tree-ssa-loop.c:413



commit e3ef92e79f9f1c4275a9e19652439089a310627d (HEAD)
Author: Cl<C3><A9>ment Chigot <clement.chi...@atos.net>
Date:   Thu Oct 14 09:03:13 2021 +0200

    aix: ensure reference to __tls_get_addr is in text section.

Reply via email to