Skip to content
Commit ce8eca57 authored by Richard Smith's avatar Richard Smith
Browse files

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
parent 0ebc8605
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment