public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/111483] New: ICE in to_sreal, at profile-count.cc:472
@ 2023-09-19 16:11 19373742 at buaa dot edu.cn
  2023-09-19 16:13 ` [Bug c/111483] " 19373742 at buaa dot edu.cn
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: 19373742 at buaa dot edu.cn @ 2023-09-19 16:11 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 111483
           Summary: ICE in to_sreal, at profile-count.cc:472
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: 19373742 at buaa dot edu.cn
  Target Milestone: ---

Created attachment 55935
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55935&action=edit
The preprocessed file

*******************************************************************************
OS and Platform:
Ubuntu 20.04.4 LTS
*******************************************************************************
gcc version:
$ gcc -v
Using built-in specs.
COLLECT_GCC=/home/cuisk/ctc/gcc-releases/gcc-14/bin/gcc
COLLECT_LTO_WRAPPER=/home/cuisk/ctc/gcc-releases/gcc-14/libexec/gcc/x86_64-pc-linux-gnu/14.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ./configure --prefix=/home/cuisk/ctc/gcc-releases/gcc-14
--disable-multilib --enable-language=c,c++
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 14.0.0 20230917 (experimental) (GCC)
*******************************************************************************
Command Lines:
$ gcc -I /csmith/include/csmith-2.3.0/ -O3 -fno-guess-branch-probability
-fno-inline -fno-ipa-pure-const -fno-tree-ccp -fno-tree-dce -fno-tree-fre
-fno-tree-vrp a.c

during GIMPLE pass: lsplit
/home/cuisk/ctc/example/5/code/1-18.c: In function ‘func_19.isra’:
/home/cuisk/ctc/example/5/code/1-18.c:287:17: internal compiler error: in
to_sreal, at profile-count.cc:472
  287 | static uint32_t  func_19(int64_t  p_20)
      |                 ^~~~~~~
0x819c3f profile_probability::to_sreal() const
        ../.././gcc/profile-count.cc:472
0x11aa7e2 split_loop
        ../.././gcc/tree-ssa-loop-split.cc:716
0x11ab2cb tree_ssa_split_loops
        ../.././gcc/tree-ssa-loop-split.cc:1773
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.

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

* [Bug c/111483] ICE in to_sreal, at profile-count.cc:472
  2023-09-19 16:11 [Bug c/111483] New: ICE in to_sreal, at profile-count.cc:472 19373742 at buaa dot edu.cn
@ 2023-09-19 16:13 ` 19373742 at buaa dot edu.cn
  2023-09-19 16:18 ` [Bug middle-end/111483] [14 Regression] " mpolacek at gcc dot gnu.org
  2023-09-20 16:55 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: 19373742 at buaa dot edu.cn @ 2023-09-19 16:13 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from CTC <19373742 at buaa dot edu.cn> ---
Created attachment 55936
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55936&action=edit
The compiler output

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

* [Bug middle-end/111483] [14 Regression] ICE in to_sreal, at profile-count.cc:472
  2023-09-19 16:11 [Bug c/111483] New: ICE in to_sreal, at profile-count.cc:472 19373742 at buaa dot edu.cn
  2023-09-19 16:13 ` [Bug c/111483] " 19373742 at buaa dot edu.cn
@ 2023-09-19 16:18 ` mpolacek at gcc dot gnu.org
  2023-09-20 16:55 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2023-09-19 16:18 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2023-09-19
           Keywords|                            |ice-on-valid-code
            Summary|ICE in to_sreal, at         |[14 Regression] ICE in
                   |profile-count.cc:472        |to_sreal, at
                   |                            |profile-count.cc:472
                 CC|                            |hubicka at gcc dot gnu.org,
                   |                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1
          Component|c                           |middle-end
             Status|UNCONFIRMED                 |NEW
   Target Milestone|---                         |14.0
           Priority|P3                          |P1

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Started with r14-2967:

commit d6ac3aae2a32869d9d37f3bc7783d9bbad27d72b
Author: Jan Hubicka <jh@suse.cz>
Date:   Thu Aug 3 22:47:55 2023 +0200

    Update loop iteration estimates after splitting

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

* [Bug middle-end/111483] [14 Regression] ICE in to_sreal, at profile-count.cc:472
  2023-09-19 16:11 [Bug c/111483] New: ICE in to_sreal, at profile-count.cc:472 19373742 at buaa dot edu.cn
  2023-09-19 16:13 ` [Bug c/111483] " 19373742 at buaa dot edu.cn
  2023-09-19 16:18 ` [Bug middle-end/111483] [14 Regression] " mpolacek at gcc dot gnu.org
@ 2023-09-20 16:55 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-09-20 16:55 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 111054.

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

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

end of thread, other threads:[~2023-09-20 16:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-19 16:11 [Bug c/111483] New: ICE in to_sreal, at profile-count.cc:472 19373742 at buaa dot edu.cn
2023-09-19 16:13 ` [Bug c/111483] " 19373742 at buaa dot edu.cn
2023-09-19 16:18 ` [Bug middle-end/111483] [14 Regression] " mpolacek at gcc dot gnu.org
2023-09-20 16:55 ` 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).