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.

Reply via email to