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]

[trans-mem] PR46923


requires_barrier should really handle PARM_DECL and RESULT_DECLs, because they can escape the function just like any other variable.

The testcase in the PR isn't really valid, because volatiles aren't allowed inside transactions. It was just there to force a small reproducible testcase. Next I will work on warning if we ever try to use volatiles inside transactions.

Over-the-shoulder approval, committing, and closing the PR.

Aldy

Attachment: curr
Description: Text document


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