1  /* { dg-do compile } */
       2  
       3  #include <stdint.h>
       4  
       5  uint64_t test(uint8_t IA1)
       6  {
       7    return (uint8_t)(IA1 & 158) & 1UL; /* { dg-bogus "integer overflow" } */
       8  }
       1  /* { dg-do compile } */
       2  
       3  #include <stdint.h>
       4  
       5  uint64_t test(uint8_t IA1)
       6  {
       7    return (uint8_t)(IA1 & 158) & 1UL; /* { dg-bogus "integer overflow" } */
       8  }