Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/c-c++-common/builtin-arith-overflow-2.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
1 /* PR c/68120 - can't easily deal with integer overflow at compile time */ | 1 /* PR c/68120 - can't easily deal with integer overflow at compile time */ |
2 /* { dg-do run } */ | 2 /* { dg-do run } */ |
3 /* { dg-additional-options "-Wno-long-long" } */ | 3 /* { dg-additional-options "-Wno-long-long" } */ |
4 /* { dg-skip-if "Program too big" { "avr-*-*" } } */ | 4 /* { dg-skip-if "Program too big" { "avr-*-* pdp11*-*-*" } } */ |
5 | 5 |
6 #define SCHAR_MAX __SCHAR_MAX__ | 6 #define SCHAR_MAX __SCHAR_MAX__ |
7 #define SHRT_MAX __SHRT_MAX__ | 7 #define SHRT_MAX __SHRT_MAX__ |
8 #define INT_MAX __INT_MAX__ | 8 #define INT_MAX __INT_MAX__ |
9 #define LONG_MAX __LONG_MAX__ | 9 #define LONG_MAX __LONG_MAX__ |