https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85344
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|thomas.preudhomme at celest dot fr |unassigned at gcc dot gnu.org Status|ASSIGNED |NEW Keywords|ice-on-valid-code, |documentation |wrong-code | --- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This should just be documented about how constants get sign extended no matter what the type is to 64bit. This is how standard expand works due to const_int handling as const_int does NOT have a mode.