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

            Bug ID: 87396
           Summary: gcc/ada/gcc-interface/decl.c:8798:53:Value Conversion
                    Issue: implicit conversion from 'int' to 'char'
                    changes value from 132 to -124: -Wconstant-conversion
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---

Maybe it's a relevant warning for Ada FE:

  8795    /* Only issue an error if a Value_Size clause was explicitly given.
  8796       Otherwise, we'd be duplicating an error on the Size clause.  */
  8797    gnat_attr_node
  8798      = Get_Attribute_Definition_Clause (gnat_entity, Attr_Value_Size);
  8799  
  8800    /* Get the size as an INTEGER_CST.  Issue an error if a size was
specified
  8801       but cannot be represented in bitsizetype.  */
  8802    size = UI_To_gnu (uint_size, bitsizetype);
  8803    if (TREE_OVERFLOW (size))

Reply via email to