https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80592

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
clang can detect this but only if max_tu_symbol is made const:

l.c:9:21: warning: signed shift result (0x1F7FFF800000) requires 46 bits to
represent, but 'int' only
      has 32 bits [-Wshift-overflow]
    g(max_tu_symbol << 23);
      ~~~~~~~~~~~~~ ^  ~~

Reply via email to