aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-11-13 00:03:19 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-11-13 00:03:19 +0000
commitdd2b12a0329fee69ac2c26c2a3a355fb722e1e54 (patch)
tree94d0bf29f204747d3f75d53c003d26b1baa53541 /lib/CodeGen/CodeGenFunction.cpp
parent1e5bb3c12a898dd3218e46248fe3f099698c95b1 (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