r251375 - /branches/range-gen2/gcc/range.c
aldyh@gcc.gnu.org
aldyh@gcc.gnu.org
Mon Aug 28 08:01:00 GMT 2017
Author: aldyh
Date: Mon Aug 28 08:01:10 2017
New Revision: 251375
URL: https://gcc.gnu.org/viewcvs?rev=251375&root=gcc&view=rev
Log:
Use types_compatible_p in operator== to handle equality when the
ranges being compared are basically the same type but have different
qualifiers.
This will allow us to compare a `const bool' with a `bool'.
This is the same treatment as Andrew did for union/intersect.
Modified:
branches/range-gen2/gcc/range.c
More information about the Gcc-cvs
mailing list