C++0x constexpr PATCHes #7-10: the rest of the compiler support

H.J. Lu hjl.tools@gmail.com
Sun Jan 16 20:44:00 GMT 2011


On Fri, Jan 7, 2011 at 6:53 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Mon, Nov 29, 2010 at 9:37 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
>> On Sun, Nov 7, 2010 at 7:51 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
>>> On Tue, Nov 2, 2010 at 1:51 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
>>>> On Sun, Oct 31, 2010 at 7:29 PM, Jason Merrill <jason@redhat.com> wrote:
>>>>> The rest of these patches I'm not applying immediately because the last one
>>>>> depends on my fold_indirect_ref_1 patch, and it doesn't really make sense to
>>>>> apply the others without the last one; I'm just sending them to the list now
>>>>> to make the end of Stage 1.
>>>>>
>>>>> decl_constant_var.patch: Replaces uses of DECL_INTEGRAL_CONSTANT_VAR_P with
>>>>> the new decl_constant_var_p which also allows constexpr variables, adjusts
>>>>> when-used template instantiation to require immediate instantiation of
>>>>> constexpr functions.
>>>>>
>>>>> constexpr-register.patch: Handles storing the definition of constexpr
>>>>> functions for later expansion.
>>>>>
>>>>> constexpr-eval.patch: Handles the actual compile-time evaluation of C++0x
>>>>> constant expressions.
>>>>>
>>>>> constexpr-integrate.patch: Integrates the C++0x constant expression
>>>>> semantics into the rest of the compiler.
>>>>>
>>>>> The last patch in particular still needs some work; in particular, I still
>>>>> need to sort out the relationship between constant expression evaluation and
>>>>> value_dependent_expression_p.  I think this will just mean using
>>>>> potential_constant_expression, but it still needs to happen; I think this
>>>>> can be cleaned up in stage 3.
>>>>>
>>>>
>>>> The last patch caused:
>>>>
>>>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46277
>>>>
>>>
>>> It also caused:
>>>
>>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46335
>>>
>>
>> It also caused:
>>
>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46626
>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46670
>>
>
> This also caused:
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46557
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46977
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47020
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47172
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47199
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47200
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47206
>

This also caused:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47317


-- 
H.J.



More information about the Gcc-patches mailing list