blob: 0a370f7d82e1b9f775f512c44699c766f3f3cb55 [file] [log] [blame]
/* { dg-do run } */
/* { dg-options "-O2" } */
#include <limits.h>
extern void abort(void);
void decCompareOp (int result)
{
if (result != (int) (INT_MAX + 1U))
{
result = -result;
if (result != (int) (INT_MAX + 2U))
abort ();
}
}
int main()
{
decCompareOp (INT_MAX);
return 0;
}