https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108201
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I see the warning already in r0-88996 (haven't bisected exactly, r0-88387 didn't warn), but before r10-6125-g731dbfc3f3b586e78f2ccdca24561ea3369c6338 the warning looked like: pr108201.c: In function ‘decode’: pr108201.c:4:34: warning: conversion to ‘m_string_unicode_t’ {aka ‘unsigned int’} from ‘char’ may change the sign of the result [-Wsign-conversion] 4 | *unicode = ((*unicode << 6)) | ((m_string_unicode_t) c); | ^ and since then till latest trunk like: pr108201.c: In function ‘decode’: pr108201.c:4:34: warning: conversion to ‘m_string_unicode_t’ {aka ‘unsigned int’} from ‘unsigned int’ may change the sign of the result [-Wsign-conversion] 4 | *unicode = ((*unicode << 6)) | ((m_string_unicode_t) c); | ^