Debian Codegraph @

gcc/testsuite/g++.dg/torture/pr105142.C

raw
1 // { dg-do run { target lp64 } }
2
3 long int c = 3623214276426624192L;
4 unsigned short b;
5 char a = 42;
6 const long &min(const long &x, const long &y) { return x < y ? x : y; }
7 __attribute__((noipa)) void test() { b = min(a, min(a, c) + 5713568809962283044L); }
8 int main() { test(); if (b != 42) __builtin_abort(); }