public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/102372] New: [12 regression] ICE in gfortran.dg/ISO_Fortran_binding_1.f90 after r12-3482
@ 2021-09-16 15:49 seurer at gcc dot gnu.org
  2021-09-17  6:36 ` [Bug target/102372] " rguenth at gcc dot gnu.org
  2021-10-19 21:19 ` pinskia at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: seurer at gcc dot gnu.org @ 2021-09-16 15:49 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 102372
           Summary: [12 regression] ICE in
                    gfortran.dg/ISO_Fortran_binding_1.f90 after r12-3482
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:5f6a6c91d7c592cb49f7c519f289777eac09bb74, r12-3482

This revision causes ICEs on power7 BE.  I did not see any failures on power 8
BE nor any power LE machines.

make  -k check-gcc-fortran
RUNTESTFLAGS="dg.exp=gfortran.dg/ISO_Fortran_binding_1.f90"

FAIL: gfortran.dg/ISO_Fortran_binding_1.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (internal compiler
error)
FAIL: gfortran.dg/ISO_Fortran_binding_1.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess
errors)
FAIL: gfortran.dg/ISO_Fortran_binding_1.f90   -O3 -g  (internal compiler error)
FAIL: gfortran.dg/ISO_Fortran_binding_1.f90   -O3 -g  (test for excess errors)

# of expected passes            8
# of unexpected failures        4
# of unresolved testcases       2

spawn -ignore SIGHUP
/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_1.f90
-fdiagnostics-plain-output -fdiagnostics-plain-output -O3 -g -pedantic-errors
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_1.c
-dumpbase 
-B/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libatomic/.libs
-B/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libquadmath/.libs
-L/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libquadmath/.libs
-L/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libquadmath/.libs
-lm -o ./ISO_Fortran_binding_1.exe
during GIMPLE pass: slp
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_1.f90:6:33:
internal compiler error: in rs6000_builtin_vectorization_cost, at
config/rs6000/rs6000.c:5215
0x11136277 rs6000_builtin_vectorization_cost
        /home/seurer/gcc/git/gcc-test/gcc/config/rs6000/rs6000.c:5215
0x10f8f367 builtin_vectorization_cost
        /home/seurer/gcc/git/gcc-test/gcc/tree-vectorizer.h:1520
0x10f8f367 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-test/gcc/tree-vect-stmts.c:109
0x10f8fad7 record_stmt_cost
        /home/seurer/gcc/git/gcc-test/gcc/tree-vectorizer.h:1913
0x10f8fad7 vect_get_store_cost(vec_info*, _stmt_vec_info*, int, unsigned int*,
vec<stmt_info_for_cost, va_heap, vl_ptr>*)
        /home/seurer/gcc/git/gcc-test/gcc/tree-vect-stmts.c:1049
0x10fb065b vect_model_store_cost
        /home/seurer/gcc/git/gcc-test/gcc/tree-vect-stmts.c:972
0x10fb065b vectorizable_store
        /home/seurer/gcc/git/gcc-test/gcc/tree-vect-stmts.c:7421
0x10fba8ef 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-test/gcc/tree-vect-stmts.c:10972
0x11009bab vect_slp_analyze_node_operations_1
        /home/seurer/gcc/git/gcc-test/gcc/tree-vect-slp.c:4523
0x11009bab vect_slp_analyze_node_operations
        /home/seurer/gcc/git/gcc-test/gcc/tree-vect-slp.c:4681
0x1100dc87 vect_slp_analyze_operations(vec_info*)
        /home/seurer/gcc/git/gcc-test/gcc/tree-vect-slp.c:4920
0x11011153 vect_slp_analyze_bb_1
        /home/seurer/gcc/git/gcc-test/gcc/tree-vect-slp.c:5860
0x11011153 vect_slp_region
        /home/seurer/gcc/git/gcc-test/gcc/tree-vect-slp.c:5907
0x110130d7 vect_slp_bbs
        /home/seurer/gcc/git/gcc-test/gcc/tree-vect-slp.c:6099
0x11013733 vect_slp_function(function*)
        /home/seurer/gcc/git/gcc-test/gcc/tree-vect-slp.c:6187
0x1101ee77 execute
        /home/seurer/gcc/git/gcc-test/gcc/tree-vectorizer.c:1454
Pl

commit 5f6a6c91d7c592cb49f7c519f289777eac09bb74
Author: Richard Earnshaw <rearnsha@arm.com>
Date:   Fri Sep 3 17:06:15 2021 +0100

    gimple: allow more folding of memcpy [PR102125]

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

* [Bug target/102372] [12 regression] ICE in gfortran.dg/ISO_Fortran_binding_1.f90 after r12-3482
  2021-09-16 15:49 [Bug target/102372] New: [12 regression] ICE in gfortran.dg/ISO_Fortran_binding_1.f90 after r12-3482 seurer at gcc dot gnu.org
@ 2021-09-17  6:36 ` rguenth at gcc dot gnu.org
  2021-10-19 21:19 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-09-17  6:36 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu.org
   Target Milestone|---                         |12.0
           Keywords|                            |ice-on-valid-code

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
        if (TARGET_ALTIVEC)
          /* Misaligned stores are not supported.  */
          gcc_unreachable ();

so that might be a latent issue, now vectorizing something in a way not
supported.

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

* [Bug target/102372] [12 regression] ICE in gfortran.dg/ISO_Fortran_binding_1.f90 after r12-3482
  2021-09-16 15:49 [Bug target/102372] New: [12 regression] ICE in gfortran.dg/ISO_Fortran_binding_1.f90 after r12-3482 seurer at gcc dot gnu.org
  2021-09-17  6:36 ` [Bug target/102372] " rguenth at gcc dot gnu.org
@ 2021-10-19 21:19 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-10-19 21:19 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is a dup of bug 102767 which has much more information in it about what is
going wrong..

*** This bug has been marked as a duplicate of bug 102767 ***

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

end of thread, other threads:[~2021-10-19 21:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-16 15:49 [Bug target/102372] New: [12 regression] ICE in gfortran.dg/ISO_Fortran_binding_1.f90 after r12-3482 seurer at gcc dot gnu.org
2021-09-17  6:36 ` [Bug target/102372] " rguenth at gcc dot gnu.org
2021-10-19 21:19 ` pinskia 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).