| commit | ce8eca578d6956885b46f1fb85173b1296f33dba | [log] [tgz] |
|---|---|---|
| author | Richard Smith <richard-llvm@metafoo.co.uk> | Tue Dec 08 03:21:47 2015 +0000 |
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | Tue Dec 08 03:21:47 2015 +0000 |
| tree | b176ae78da1ddec35cbf2d599b414897adec09b0 | |
| parent | 0ebc8605ad74082c1b01b8500782ca220d3eb0df [diff] |
Explicitly permit undefined behavior in constant initializers for global variables in C, in the cases where we can constant-fold it to a value regardless (such as floating-point division by zero and signed integer overflow). Strictly enforcing this rule breaks too much code. llvm-svn: 254992