public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/111482] New: ice in lower_bound with -O3
@ 2023-09-19 15:26 dcb314 at hotmail dot com
  2023-09-19 16:01 ` [Bug c++/111482] [14 Regression] " mpolacek at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: dcb314 at hotmail dot com @ 2023-09-19 15:26 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 111482
           Summary: ice in lower_bound with -O3
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 55934
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55934&action=edit
gzipped C++ source code

Given the attached C++ code and compiler flag -O3, recent gcc does
this:

during GIMPLE pass: vrp
bicgstab.cpp: In member function ‘QuantLib::BiCGStabResult
QuantLib::BiCGstab::solve(const QuantLib::Array&, const QuantLib::Array&)
const’:
bicgstab.cpp:37:20: internal compiler error: in lower_bound, at
value-range.h:1078
0xd452bb irange::lower_bound(unsigned int) const
        ../../trunk.year/gcc/value-range.h:1078
0x1800346 gimple_simplify_EXACT_DIV_EXPR(gimple_match_op*, gimple**, tree_node*
(*)(tree_node*), code_helper, tree_node*, tree_node*, tree_node*)
        /home/dcb38/gcc/working/gcc/gimple-match-9.cc:8878

git range seems to be g:a335cf241b93ae9e .. g:fe0f9e0941304748,
a range of 48 commits.

I have a reduction running, but since this is C++, I am not expecting
fast results.

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

end of thread, other threads:[~2023-09-21  7:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-19 15:26 [Bug c++/111482] New: ice in lower_bound with -O3 dcb314 at hotmail dot com
2023-09-19 16:01 ` [Bug c++/111482] [14 Regression] " mpolacek at gcc dot gnu.org
2023-09-19 16:06 ` mpolacek at gcc dot gnu.org
2023-09-19 16:15 ` zhendong.su at inf dot ethz.ch
2023-09-19 16:33 ` dcb314 at hotmail dot com
2023-09-20  2:54 ` guojiufu at gcc dot gnu.org
2023-09-20  3:29 ` guojiufu at gcc dot gnu.org
2023-09-20  4:10 ` guojiufu at gcc dot gnu.org
2023-09-21  7:33 ` [Bug tree-optimization/111482] " guojiufu 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).