public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/106194] New: ICE on valid code at -O3 on x86_64-linux-gnu: in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:717
@ 2022-07-04 21:43 zhendong.su at inf dot ethz.ch
  2022-07-04 21:46 ` [Bug tree-optimization/106194] [13 Regression] " pinskia at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: zhendong.su at inf dot ethz.ch @ 2022-07-04 21:43 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 106194
           Summary: ICE on valid code at -O3 on x86_64-linux-gnu: in
                    check_loop_closed_ssa_def, at
                    tree-ssa-loop-manip.cc:717
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zhendong.su at inf dot ethz.ch
  Target Milestone: ---

[555] % gcctk -v
Using built-in specs.
COLLECT_GCC=gcctk
COLLECT_LTO_WRAPPER=/local/suz-local/software/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/13.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc-trunk/configure --disable-bootstrap
--prefix=/local/suz-local/software/local/gcc-trunk --enable-sanitizers
--enable-languages=c,c++ --disable-werror --enable-multilib --with-system-zlib
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 13.0.0 20220704 (experimental) [master r13-1463-gce8dbe7d834] (GCC) 
[556] % 
[556] % gcctk -O3 small.c
during GIMPLE pass: unswitch
small.c: In function ‘main’:
small.c:3:5: internal compiler error: in check_loop_closed_ssa_def, at
tree-ssa-loop-manip.cc:717
    3 | int main() {
      |     ^~~~
0x76e5ab check_loop_closed_ssa_def
        ../../gcc-trunk/gcc/tree-ssa-loop-manip.cc:717
0x1057144 check_loop_closed_ssa_bb
        ../../gcc-trunk/gcc/tree-ssa-loop-manip.cc:731
0x10583e6 verify_loop_closed_ssa(bool, loop*)
        ../../gcc-trunk/gcc/tree-ssa-loop-manip.cc:767
0x10583e6 verify_loop_closed_ssa(bool, loop*)
        ../../gcc-trunk/gcc/tree-ssa-loop-manip.cc:751
0xde6954 execute_function_todo
        ../../gcc-trunk/gcc/passes.cc:2109
0xde6d9b execute_todo
        ../../gcc-trunk/gcc/passes.cc:2145
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.
[557] % 
[557] % cat small.c
int printf(const char *, ...);
int a;
int main() {
  int c = 0, d;
  for (; a; a--)
    for (d = 0; d < 4; d++)
      while (a > 2U)
        c++;
  printf("%d", c);
  return 0;
}

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

* [Bug tree-optimization/106194] [13 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:717
  2022-07-04 21:43 [Bug tree-optimization/106194] New: ICE on valid code at -O3 on x86_64-linux-gnu: in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:717 zhendong.su at inf dot ethz.ch
@ 2022-07-04 21:46 ` pinskia at gcc dot gnu.org
  2022-07-04 21:46 ` pinskia at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-07-04 21:46 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |13.0
            Summary|ICE on valid code at -O3 on |[13 Regression] ICE on
                   |x86_64-linux-gnu: in        |valid code at -O3 on
                   |check_loop_closed_ssa_def,  |x86_64-linux-gnu: in
                   |at                          |check_loop_closed_ssa_def,
                   |tree-ssa-loop-manip.cc:717  |at
                   |                            |tree-ssa-loop-manip.cc:717
           Keywords|                            |ice-on-valid-code

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

* [Bug tree-optimization/106194] [13 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:717
  2022-07-04 21:43 [Bug tree-optimization/106194] New: ICE on valid code at -O3 on x86_64-linux-gnu: in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:717 zhendong.su at inf dot ethz.ch
  2022-07-04 21:46 ` [Bug tree-optimization/106194] [13 Regression] " pinskia at gcc dot gnu.org
@ 2022-07-04 21:46 ` pinskia at gcc dot gnu.org
  2022-07-04 21:55 ` zhendong.su at inf dot ethz.ch
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-07-04 21:46 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |106182

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Most likely a dup of bug 106182.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106182
[Bug 106182] [13 Regression] ICE in check_loop_closed_ssa_def, at
tree-ssa-loop-manip.cc:717 since r13-1450-gd2a898666609452e

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

* [Bug tree-optimization/106194] [13 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:717
  2022-07-04 21:43 [Bug tree-optimization/106194] New: ICE on valid code at -O3 on x86_64-linux-gnu: in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:717 zhendong.su at inf dot ethz.ch
  2022-07-04 21:46 ` [Bug tree-optimization/106194] [13 Regression] " pinskia at gcc dot gnu.org
  2022-07-04 21:46 ` pinskia at gcc dot gnu.org
@ 2022-07-04 21:55 ` zhendong.su at inf dot ethz.ch
  2022-07-04 21:57 ` zhendong.su at inf dot ethz.ch
  2022-07-05  7:29 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: zhendong.su at inf dot ethz.ch @ 2022-07-04 21:55 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Zhendong Su <zhendong.su at inf dot ethz.ch> ---
(In reply to Andrew Pinski from comment #1)
> Most likely a dup of bug 106182.

Yes, it should be. 
Sorry for the dup (the dup checker didn't show PR106182).

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

* [Bug tree-optimization/106194] [13 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:717
  2022-07-04 21:43 [Bug tree-optimization/106194] New: ICE on valid code at -O3 on x86_64-linux-gnu: in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:717 zhendong.su at inf dot ethz.ch
                   ` (2 preceding siblings ...)
  2022-07-04 21:55 ` zhendong.su at inf dot ethz.ch
@ 2022-07-04 21:57 ` zhendong.su at inf dot ethz.ch
  2022-07-05  7:29 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: zhendong.su at inf dot ethz.ch @ 2022-07-04 21:57 UTC (permalink / raw)
  To: gcc-bugs

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

Zhendong Su <zhendong.su at inf dot ethz.ch> changed:

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

--- Comment #3 from Zhendong Su <zhendong.su at inf dot ethz.ch> ---
dup

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

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

* [Bug tree-optimization/106194] [13 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:717
  2022-07-04 21:43 [Bug tree-optimization/106194] New: ICE on valid code at -O3 on x86_64-linux-gnu: in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:717 zhendong.su at inf dot ethz.ch
                   ` (3 preceding siblings ...)
  2022-07-04 21:57 ` zhendong.su at inf dot ethz.ch
@ 2022-07-05  7:29 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-07-05  7:29 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106194
Bug 106194 depends on bug 106182, which changed state.

Bug 106182 Summary: [13 Regression] ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:717 since r13-1450-gd2a898666609452e
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106182

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

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

end of thread, other threads:[~2022-07-05  7:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-04 21:43 [Bug tree-optimization/106194] New: ICE on valid code at -O3 on x86_64-linux-gnu: in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:717 zhendong.su at inf dot ethz.ch
2022-07-04 21:46 ` [Bug tree-optimization/106194] [13 Regression] " pinskia at gcc dot gnu.org
2022-07-04 21:46 ` pinskia at gcc dot gnu.org
2022-07-04 21:55 ` zhendong.su at inf dot ethz.ch
2022-07-04 21:57 ` zhendong.su at inf dot ethz.ch
2022-07-05  7:29 ` 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).