public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/104464] New: [12 Regression] ICE: in gimple_expand_vec_cond_expr, at gimple-isel.cc:268 with  -O -fnon-call-exceptions -fno-tree-dce -fno-tree-forwprop -fsignaling-nans
@ 2022-02-09 12:38 zsojka at seznam dot cz
  2022-02-09 13:42 ` [Bug tree-optimization/104464] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: zsojka at seznam dot cz @ 2022-02-09 12:38 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 104464
           Summary: [12 Regression] ICE: in gimple_expand_vec_cond_expr,
                    at gimple-isel.cc:268 with  -O -fnon-call-exceptions
                    -fno-tree-dce -fno-tree-forwprop -fsignaling-nans
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu

Created attachment 52390
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52390&action=edit
reduced testcase

Compiler output:
$ x86_64-pc-linux-gnu-gcc -O -fnon-call-exceptions -fno-tree-dce
-fno-tree-forwprop -fsignaling-nans testcase.c 
during GIMPLE pass: isel
testcase.c: In function 'foo':
testcase.c:5:1: internal compiler error: in gimple_expand_vec_cond_expr, at
gimple-isel.cc:268
    5 | foo(void) {
      | ^~~
0x7eb2b9 gimple_expand_vec_cond_expr
        /repo/gcc-trunk/gcc/gimple-isel.cc:268
0x7eb2b9 gimple_expand_vec_exprs
        /repo/gcc-trunk/gcc/gimple-isel.cc:297
0x7eb2b9 execute
        /repo/gcc-trunk/gcc/gimple-isel.cc:351
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

$ x86_64-pc-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=/repo/gcc-trunk/binary-latest-amd64/bin/x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-r12-7124-20220209171435-g59b31f0e2d1-checking-yes-rtl-df-extra-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/12.0.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++
--enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra
--with-cloog --with-ppl --with-isl --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu
--with-ld=/usr/bin/x86_64-pc-linux-gnu-ld
--with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch
--prefix=/repo/gcc-trunk//binary-trunk-r12-7124-20220209171435-g59b31f0e2d1-checking-yes-rtl-df-extra-amd64
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.0.1 20220209 (experimental) (GCC)

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

* [Bug tree-optimization/104464] [12 Regression] ICE: in gimple_expand_vec_cond_expr, at gimple-isel.cc:268 with  -O -fnon-call-exceptions -fno-tree-dce -fno-tree-forwprop -fsignaling-nans
  2022-02-09 12:38 [Bug tree-optimization/104464] New: [12 Regression] ICE: in gimple_expand_vec_cond_expr, at gimple-isel.cc:268 with -O -fnon-call-exceptions -fno-tree-dce -fno-tree-forwprop -fsignaling-nans zsojka at seznam dot cz
@ 2022-02-09 13:42 ` rguenth at gcc dot gnu.org
  2022-02-09 14:50 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-02-09 13:42 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2022-02-09
             Status|UNCONFIRMED                 |ASSIGNED
           Priority|P3                          |P1
   Target Milestone|---                         |12.0
     Ever confirmed|0                           |1
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Mine.  Thanks for the testcase.

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

* [Bug tree-optimization/104464] [12 Regression] ICE: in gimple_expand_vec_cond_expr, at gimple-isel.cc:268 with  -O -fnon-call-exceptions -fno-tree-dce -fno-tree-forwprop -fsignaling-nans
  2022-02-09 12:38 [Bug tree-optimization/104464] New: [12 Regression] ICE: in gimple_expand_vec_cond_expr, at gimple-isel.cc:268 with -O -fnon-call-exceptions -fno-tree-dce -fno-tree-forwprop -fsignaling-nans zsojka at seznam dot cz
  2022-02-09 13:42 ` [Bug tree-optimization/104464] " rguenth at gcc dot gnu.org
@ 2022-02-09 14:50 ` cvs-commit at gcc dot gnu.org
  2022-02-09 14:54 ` rguenth at gcc dot gnu.org
  2023-04-17 10:44 ` cvs-commit at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-02-09 14:50 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 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:8f8f8c68b434eb32756284dd8e80cfbdff524a20

commit r12-7132-g8f8f8c68b434eb32756284dd8e80cfbdff524a20
Author: Richard Biener <rguenther@suse.de>
Date:   Wed Feb 9 14:52:24 2022 +0100

    middle-end/104464 - ISEL and non-call EH #2

    The following adjusts the earlier change to still allow an
    uncritical replacement.

    2022-02-09  Richard Biener  <rguenther@suse.de>

            PR middle-end/104464
            * gimple-isel.cc (gimple_expand_vec_cond_expr): Postpone
            throwing check to after unproblematic replacement.

            * gcc.dg/pr104464.c: New testcase.

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

* [Bug tree-optimization/104464] [12 Regression] ICE: in gimple_expand_vec_cond_expr, at gimple-isel.cc:268 with  -O -fnon-call-exceptions -fno-tree-dce -fno-tree-forwprop -fsignaling-nans
  2022-02-09 12:38 [Bug tree-optimization/104464] New: [12 Regression] ICE: in gimple_expand_vec_cond_expr, at gimple-isel.cc:268 with -O -fnon-call-exceptions -fno-tree-dce -fno-tree-forwprop -fsignaling-nans zsojka at seznam dot cz
  2022-02-09 13:42 ` [Bug tree-optimization/104464] " rguenth at gcc dot gnu.org
  2022-02-09 14:50 ` cvs-commit at gcc dot gnu.org
@ 2022-02-09 14:54 ` rguenth at gcc dot gnu.org
  2023-04-17 10:44 ` cvs-commit at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-02-09 14:54 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.  Keep the testcases coming!  (yeah, expect another unhandled case - this
one was too easy ;))

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

* [Bug tree-optimization/104464] [12 Regression] ICE: in gimple_expand_vec_cond_expr, at gimple-isel.cc:268 with  -O -fnon-call-exceptions -fno-tree-dce -fno-tree-forwprop -fsignaling-nans
  2022-02-09 12:38 [Bug tree-optimization/104464] New: [12 Regression] ICE: in gimple_expand_vec_cond_expr, at gimple-isel.cc:268 with -O -fnon-call-exceptions -fno-tree-dce -fno-tree-forwprop -fsignaling-nans zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2022-02-09 14:54 ` rguenth at gcc dot gnu.org
@ 2023-04-17 10:44 ` cvs-commit at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-04-17 10:44 UTC (permalink / raw)
  To: gcc-bugs

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

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

https://gcc.gnu.org/g:cfd4a86221bc647eaa1c418eb777499250804df6

commit r11-10631-gcfd4a86221bc647eaa1c418eb777499250804df6
Author: Richard Biener <rguenther@suse.de>
Date:   Wed Feb 9 14:52:24 2022 +0100

    middle-end/104464 - ISEL and non-call EH #2

    The following adjusts the earlier change to still allow an
    uncritical replacement.

    2022-02-09  Richard Biener  <rguenther@suse.de>

            PR middle-end/104464
            * gimple-isel.cc (gimple_expand_vec_cond_expr): Postpone
            throwing check to after unproblematic replacement.

            * gcc.dg/pr104464.c: New testcase.

    (cherry picked from commit 8f8f8c68b434eb32756284dd8e80cfbdff524a20)

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

end of thread, other threads:[~2023-04-17 10:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-09 12:38 [Bug tree-optimization/104464] New: [12 Regression] ICE: in gimple_expand_vec_cond_expr, at gimple-isel.cc:268 with -O -fnon-call-exceptions -fno-tree-dce -fno-tree-forwprop -fsignaling-nans zsojka at seznam dot cz
2022-02-09 13:42 ` [Bug tree-optimization/104464] " rguenth at gcc dot gnu.org
2022-02-09 14:50 ` cvs-commit at gcc dot gnu.org
2022-02-09 14:54 ` rguenth at gcc dot gnu.org
2023-04-17 10:44 ` cvs-commit 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).