public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/110544] New: [14 regression] gcc.dg/vect/pr71264.c ICEs after r14-2150
@ 2023-07-04 13:47 seurer at gcc dot gnu.org
  2023-07-05  7:00 ` [Bug tree-optimization/110544] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: seurer at gcc dot gnu.org @ 2023-07-04 13:47 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 110544
           Summary: [14 regression] gcc.dg/vect/pr71264.c ICEs after
                    r14-2150
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:fe48f2651334bc4d96b6df6b2bb6b29fcb732a83, r14-2150-gfe48f2651334bc

make  -k check-gcc RUNTESTFLAGS="vect.exp=gcc.dg/vect/pr71264.c"
FAIL: gcc.dg/vect/pr71264.c (internal compiler error: tree check: expected none
of vector_type, have vector_type in type_has_mode_precision_p, at tree.h:6644)
FAIL: gcc.dg/vect/pr71264.c (test for excess errors)
FAIL: gcc.dg/vect/pr71264.c scan-tree-dump vect "vectorized 1 loops in
function"
FAIL: gcc.dg/vect/pr71264.c -flto -ffat-lto-objects (internal compiler error:
tree check: expected none of vector_type, have vector_type in
type_has_mode_precision_p, at tree.h:6644)
FAIL: gcc.dg/vect/pr71264.c -flto -ffat-lto-objects (test for excess errors)
FAIL: gcc.dg/vect/pr71264.c -flto -ffat-lto-objects  scan-tree-dump vect
"vectorized 1 loops in function"
# of unexpected failures        6


spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test/gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test/gcc/
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/vect/pr71264.c
-fdiagnostics-plain-output -flto -ffat-lto-objects -maltivec -mpower9-vector
-ftree-vectorize -fno-tree-loop-distribute-patterns -fno-vect-cost-model
-fno-common -O2 -fdump-tree-vect-details -S -o pr71264.s
during GIMPLE pass: vect
dump file: pr71264.c.173t.vect
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/vect/pr71264.c: In function
'test':
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/vect/pr71264.c:7:6: internal
compiler error: tree check: expected none of vector_type, have vector_type in
type_has_mode_precision_p, at tree.h:6644
0x1027a693 tree_not_check_failed(tree_node const*, char const*, int, char
const*, ...)
        /home/seurer/gcc/git/gcc-test/gcc/tree.cc:8936
0x11c9dd33 tree_not_check(tree_node const*, char const*, int, char const*,
tree_code)
        /home/seurer/gcc/git/gcc-test/gcc/tree.h:3837
0x11c9dd33 type_has_mode_precision_p(tree_node const*)
        /home/seurer/gcc/git/gcc-test/gcc/tree.h:6644
0x11c9dd33 vectorizable_operation
        /home/seurer/gcc/git/gcc-test/gcc/tree-vect-stmts.cc:6488
0x11cb56c3 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.cc:11906
0x1105df73 vect_analyze_loop_operations
        /home/seurer/gcc/git/gcc-test/gcc/tree-vect-loop.cc:2086
0x1105fabf vect_analyze_loop_2
        /home/seurer/gcc/git/gcc-test/gcc/tree-vect-loop.cc:2869
0x1106181b vect_analyze_loop_1
        /home/seurer/gcc/git/gcc-test/gcc/tree-vect-loop.cc:3303
0x1106212f vect_analyze_loop(loop*, vec_info_shared*)
        /home/seurer/gcc/git/gcc-test/gcc/tree-vect-loop.cc:3457
0x110b8837 try_vectorize_loop_1
        /home/seurer/gcc/git/gcc-test/gcc/tree-vectorizer.cc:1064
0x110b8837 try_vectorize_loop
        /home/seurer/gcc/git/gcc-test/gcc/tree-vectorizer.cc:1180
0x110b8dc3 execute
        /home/seurer/gcc/git/gcc-test/gcc/tree-vectorizer.cc:1296


commit fe48f2651334bc4d96b6df6b2bb6b29fcb732a83 (HEAD)
Author: Richard Biener <rguenther@suse.de>
Date:   Fri Jun 9 09:31:14 2023 +0200

    Prevent TYPE_PRECISION on VECTOR_TYPEs

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

* [Bug tree-optimization/110544] [14 regression] gcc.dg/vect/pr71264.c ICEs after r14-2150
  2023-07-04 13:47 [Bug tree-optimization/110544] New: [14 regression] gcc.dg/vect/pr71264.c ICEs after r14-2150 seurer at gcc dot gnu.org
@ 2023-07-05  7:00 ` rguenth at gcc dot gnu.org
  2023-07-05  7:17 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-05  7:00 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |14.0
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2023-07-05
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
             Status|UNCONFIRMED                 |ASSIGNED

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I will have a look.

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

* [Bug tree-optimization/110544] [14 regression] gcc.dg/vect/pr71264.c ICEs after r14-2150
  2023-07-04 13:47 [Bug tree-optimization/110544] New: [14 regression] gcc.dg/vect/pr71264.c ICEs after r14-2150 seurer at gcc dot gnu.org
  2023-07-05  7:00 ` [Bug tree-optimization/110544] " rguenth at gcc dot gnu.org
@ 2023-07-05  7:17 ` rguenth at gcc dot gnu.org
  2023-07-05 14:41 ` seurer at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-05  7:17 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |WAITING

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
I can't reproduce with r14-2293-g11350734240dba

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

* [Bug tree-optimization/110544] [14 regression] gcc.dg/vect/pr71264.c ICEs after r14-2150
  2023-07-04 13:47 [Bug tree-optimization/110544] New: [14 regression] gcc.dg/vect/pr71264.c ICEs after r14-2150 seurer at gcc dot gnu.org
  2023-07-05  7:00 ` [Bug tree-optimization/110544] " rguenth at gcc dot gnu.org
  2023-07-05  7:17 ` rguenth at gcc dot gnu.org
@ 2023-07-05 14:41 ` seurer at gcc dot gnu.org
  2023-07-06  6:55 ` cvs-commit at gcc dot gnu.org
  2023-07-06  6:55 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: seurer at gcc dot gnu.org @ 2023-07-05 14:41 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from seurer at gcc dot gnu.org ---
I just tried it with current trunk and I no longer see an ICE either. 
However...

g:429905d809bbf2398bf666d65322b87ac7381e43, r14-2320-g429905d809bbf2
make  -k check-gcc RUNTESTFLAGS="vect.exp=gcc.dg/vect/pr71264.c"
FAIL: gcc.dg/vect/pr71264.c scan-tree-dump vect "vectorized 1 loops in
function"
FAIL: gcc.dg/vect/pr71264.c -flto -ffat-lto-objects  scan-tree-dump vect
"vectorized 1 loops in function"
# of expected passes            2
# of unexpected failures        2

configure --enable-languages=c,fortran,c++ --enable-secureplt
--with-cpu=power10 --disable-bootstrap --disable-multilib

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

* [Bug tree-optimization/110544] [14 regression] gcc.dg/vect/pr71264.c ICEs after r14-2150
  2023-07-04 13:47 [Bug tree-optimization/110544] New: [14 regression] gcc.dg/vect/pr71264.c ICEs after r14-2150 seurer at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2023-07-05 14:41 ` seurer at gcc dot gnu.org
@ 2023-07-06  6:55 ` cvs-commit at gcc dot gnu.org
  2023-07-06  6:55 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-07-06  6:55 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:

https://gcc.gnu.org/g:2ab065c3e6950bc4995fcb16cebc5164d6213708

commit r14-2342-g2ab065c3e6950bc4995fcb16cebc5164d6213708
Author: Richard Biener <rguenther@suse.de>
Date:   Thu Jul 6 08:52:46 2023 +0200

    Fix expectation on gcc.dg/vect/pr71264.c

    With the recent change to more reliably not vectorize code already
    using vector types we run into FAILs of gcc.dg/vect/pr71264.c
    The testcase was added for fixing an ICE and possible (re-)vectorization
    of the code isn't really supported and I suspect might even go
    wrong for non-bitops.

    The following leaves the testcase as just testing for an ICE.

            PR tree-optimization/110544
            * gcc.dg/vect/pr71264.c: Remove scan for vectorization.

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

* [Bug tree-optimization/110544] [14 regression] gcc.dg/vect/pr71264.c ICEs after r14-2150
  2023-07-04 13:47 [Bug tree-optimization/110544] New: [14 regression] gcc.dg/vect/pr71264.c ICEs after r14-2150 seurer at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2023-07-06  6:55 ` cvs-commit at gcc dot gnu.org
@ 2023-07-06  6:55 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-06  6:55 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.

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

end of thread, other threads:[~2023-07-06  6:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-04 13:47 [Bug tree-optimization/110544] New: [14 regression] gcc.dg/vect/pr71264.c ICEs after r14-2150 seurer at gcc dot gnu.org
2023-07-05  7:00 ` [Bug tree-optimization/110544] " rguenth at gcc dot gnu.org
2023-07-05  7:17 ` rguenth at gcc dot gnu.org
2023-07-05 14:41 ` seurer at gcc dot gnu.org
2023-07-06  6:55 ` cvs-commit at gcc dot gnu.org
2023-07-06  6:55 ` rguenth 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).