This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ Patch/RFC] PR 53025


Hi,

On 10/02/2014 07:37 PM, Jason Merrill wrote:
On 10/02/2014 12:44 PM, Paolo Carlini wrote:
+  s->noexcept_operand = scope_chain ? cp_noexcept_operand : 0;
    s->x_stmt_tree.stmts_are_full_exprs_p = true;

    scope_chain = s;
@@ -6182,6 +6183,7 @@ pop_from_top_level_1 (void)
    current_function_decl = s->function_decl;
    cp_unevaluated_operand = s->unevaluated_operand;
    c_inhibit_evaluation_warnings = s->inhibit_evaluation_warnings;
+  cp_noexcept_operand = s->noexcept_operand;

The benefit of putting it in scope_chain directly is that you don't need to change anything here. OK without these changes.
Oh, nice. Then I'm going to apply the below and resolve the bug.

Thanks,
Paolo.

///////////////////

Attachment: CL_53025
Description: Text document

Attachment: patch_53025_4
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]