public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/105597] New: ice in type, at value-range.h:223
@ 2022-05-13 17:03 dcb314 at hotmail dot com
  2022-05-13 17:07 ` [Bug c/105597] " dcb314 at hotmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: dcb314 at hotmail dot com @ 2022-05-13 17:03 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 105597
           Summary: ice in type, at value-range.h:223
           Product: gcc
           Version: 12.0
            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 52972
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52972&action=edit
C source code

For the attached C code, recent gcc trunk with flag -O2 does this:

during GIMPLE pass: vrp
mgpswindows.c: In function 'mgps_initpsdevice':
mgpswindows.c:48:5: internal compiler error: in type, at value-range.h:223
   48 | int mgps_initpsdevice()
      |     ^~~~~~~~~~~~~~~~~
0x1c9b178 irange::type() const
    ../../trunk.git/gcc/value-range.h:223
0x1c9b178 operator_minus::lhs_op1_relation(irange const&, irange const&, irange
const&, tree_code) const
    /home/dcb/gcc/working/gcc/../../trunk.git/gcc/range-op.cc:1349

I will have my usual go at reducing the code and finding a range of git
hashes where the problem starts.

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

end of thread, other threads:[~2022-10-28 20:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-13 17:03 [Bug c/105597] New: ice in type, at value-range.h:223 dcb314 at hotmail dot com
2022-05-13 17:07 ` [Bug c/105597] " dcb314 at hotmail dot com
2022-05-13 17:14 ` amacleod at redhat dot com
2022-05-13 17:21 ` dcb314 at hotmail dot com
2022-05-13 17:21 ` mpolacek at gcc dot gnu.org
2022-05-13 18:41 ` cvs-commit at gcc dot gnu.org
2022-05-13 18:42 ` amacleod at redhat dot com
2022-10-28 20:19 ` [Bug tree-optimization/105597] [13 Regression] " 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).