diff options
author | Daniel Dunbar <daniel@zuster.org> | 2008-11-13 00:03:19 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2008-11-13 00:03:19 +0000 |
commit | dd2b12a0329fee69ac2c26c2a3a355fb722e1e54 (patch) | |
tree | 94d0bf29f204747d3f75d53c003d26b1baa53541 /lib/CodeGen/CodeGenFunction.cpp | |
parent | 1e5bb3c12a898dd3218e46248fe3f099698c95b1 (diff) |
Fix bug in constant evaluation exposed by 176.gcc.
- Evaluation of , operator used bogus assumption that LHS could be
evaluated as an integral expression even though its type is
unspecified.
This change is making isICE very permissive of the LHS in non-evaluated
contexts because it is not clear what predicate we would use to reject
code here. The standard didn't offer me any guidance; opinions?
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59196 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions