On 2020-12-20 14:18, Alexander Korotkov wrote:
On Sun, Dec 20, 2020 at 9:06 AM Erik Rijkers <[email protected]> wrote:
On 2020-12-20 05:21, Alexander Korotkov wrote:
> Multirange datatypes
>
> Multiranges are basically sorted arrays of non-overlapping ranges with
> set-theoretic operations defined over them.
>
With --enable-cassert gcc 10.1.0 gives me:
typecmds.c: In function ‘DefineRange’:
typecmds.c:1367:16: warning: variable ‘mltrngaddress’ set but not used
[-Wunused-but-set-variable]
1367 | ObjectAddress mltrngaddress;
| ^~~~~~~~~~~~~
Thank you. But are you sure that happened with --enable-cassert?
I've reproduced this only without --enable-cassert. And that seems
reasonable, because there is an assert, which uses this variable.
Sorry, you're right, of course. I misread my output.
It occurs only without --enable-cassert
------
Regards,
Alexander Korotkov