On Tue, Feb 14, 2012 at 6:18 PM, Richard Smith
<[email protected]> wrote:
> Author: rsmith
> Date: Tue Feb 14 20:18:13 2012
> New Revision: 150557
>
> URL: http://llvm.org/viewvc/llvm-project?rev=150557&view=rev
> Log:
> Implement DR1454. This allows all intermediate results in constant expressions
> to be core constant expressions (including pointers and references to
> temporaries), and makes constexpr calculations Turing-complete. A Turing
> machine
> simulator is included as a testcase.
>
> This opens up the possibilty of removing CCValue entirely, and removing some
> copies from the constant evaluator in the process, but that cleanup is not
> part
> of this change.
This commit appears to be breaking the following testcase from the gcc
testsuite:
int *p = (int*)(int[1]){0};
-Eli
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits