| ▲ | nneonneo 4 days ago | |||||||||||||||||||||||||||||||||||||
I mean, there is a reason why these sorts of constructs are UB, even if they work on popular architectures. The problems aren’t unique to IA64, either; the better solution is to be aware that UB means UB and to avoid it studiously. (Unfortunately, that’s also hard to do in C). | ||||||||||||||||||||||||||||||||||||||
| ▲ | loeg 4 days ago | parent | next [-] | |||||||||||||||||||||||||||||||||||||
It's a very weird architecture to have these NAT states representable in registers but not main memory. Register spilling is a common requirement! | ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||
| ▲ | awesome_dude 4 days ago | parent | prev [-] | |||||||||||||||||||||||||||||||||||||
The bigger problem is that a user cannot avoid an application where someone was writing code with UB, unless they both have the source code, and expertise in understanding it. | ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||