[Bug tree-optimization/97360] [11 Regression] ICE in range_on_exit

bergner at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 19 20:50:59 GMT 2020


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

--- Comment #26 from Peter Bergner <bergner at gcc dot gnu.org> ---
(In reply to Andrew Macleod from comment #25)
> (In reply to Peter Bergner from comment #24)
> > (In reply to Richard Biener from comment #22)
> > >        tree oi_uns_type = make_unsigned_type (256);
> > > -      vector_pair_type_node = build_distinct_type_copy (oi_uns_type);
> > >        SET_TYPE_MODE (vector_pair_type_node, POImode);
> > 
> > So this doesn't work.  Without that line vector_pair_type_node is
> > NULL and the SET_TYPE_MODE() usage on the next line ends up dereferencing it
> > and we SEGV.
> 
> Wonder if it was suppose to be something like:

Maybe? :-)   I'll report back how the build does with this.


More information about the Gcc-bugs mailing list