https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87957
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ebotcazou at gcc dot gnu.org --- Comment #16 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > (gdb) pt > warning: Expression is not an assignment (and might have no effect) > <record_type fa58ccc0 > system__tasking__protected_objects__operations__communication_block > sizes-gimplified volatile visited type_2 BLK The problem is here ^^^^^^^ I think, i.e. we have a volatile variant. The problem may come from the Ada front-end, but it would be nice to have Jan's viewpoint.