S
Spiros Bousbouras
In the thread "Eventual undefined behaviour" Harald van Dijk
said:
How does this follow from the standard ? And what would
happen if x was unsigned int ?
said:
The standard allows
int f(int x) {
return x + 1 > x;
}
to be optimised to
int f(int x) {
return 1;
}
How does this follow from the standard ? And what would
happen if x was unsigned int ?