Am Thu, 17 Jun 2021 13:02:39 +0200 schrieb Julien Grall : > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=4210 Thanks, comments in this bug suggest a workaround like this: new_max |= sizeof(unsigned long) > 4 ? new_max >> 32 : 0; This triggers no warning. Olaf