This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/81318] New: [8 regression] ICE in to_reg_br_prob_base, at profile-count.h:189


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

            Bug ID: 81318
           Summary: [8 regression] ICE in to_reg_br_prob_base, at
                    profile-count.h:189
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dimhen at gmail dot com
  Target Milestone: ---

r249892 PASS
r249961 (?) FAIL / sadly, I rm this version from HDD & cant double-check
r249982 FAIL

$ cat x.i
__attribute__((__cold__)) int a();
inline int b() { a(); }
int c() { b(); }

$ /usr/local/gcc_current/bin/gcc -fpreprocessed -O -c x.i
during GIMPLE pass: profile_estimate
x.i: In function ‘c’:
x.i:3:1: internal compiler error: in to_reg_br_prob_base, at
profile-count.h:189
 int c() { b(); }
 ^~~
0x69298d profile_probability::to_reg_br_prob_base() const
        /home/dimhen/src/gcc_current/gcc/profile-count.h:189
0x69298d estimate_bb_frequencies(bool)
        /home/dimhen/src/gcc_current/gcc/predict.c:3559
0xdb373f tree_estimate_probability(bool)
        /home/dimhen/src/gcc_current/gcc/predict.c:2828
0xdb3a93 execute
        /home/dimhen/src/gcc_current/gcc/predict.c:3701
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

$ /usr/local/gcc_current/bin/gcc -v
Using built-in specs.
COLLECT_GCC=/usr/local/gcc_current/bin/gcc
COLLECT_LTO_WRAPPER=/usr/local/gcc_current/libexec/gcc/x86_64-pc-linux-gnu/8.0.0/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
Target: x86_64-pc-linux-gnu
Configured with: /home/dimhen/src/gcc_current/configure
--prefix=/usr/local/gcc_current --enable-checking=yes,df,fold,rtl
--enable-languages=c,c++,lto --disable-multilib --enable-shared
--enable-threads=posix --enable-__cxa_atexit --disable-libunwind-exceptions
--enable-gnu-unique-object --enable-linker-build-id
--with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl
--enable-libmpx --enable-offload-targets=nvptx-none --without-cuda-driver
--enable-gnu-indirect-function --with-tune=generic
Thread model: posix
gcc version 8.0.0 20170705 (experimental) [trunk revision 249982] (GCC)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]