https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106984
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:41b5edaa5c03db36ad45a9cf524881de221a1812 commit r13-2759-g41b5edaa5c03db36ad45a9cf524881de221a1812 Author: Richard Biener <rguent...@suse.de> Date: Wed Sep 21 11:30:57 2022 +0200 tree-optimization/106984 - tsan and COND_EXPR GIMPLE The following adjusts a missed spot in TSAN for the RHS COND_EXPR GIMPLE IL rework. PR tree-optimization/106984 * tsan.cc (instrument_builtin_call): Build the COND_EXPR condition in a separate statement. * gcc.dg/tsan/pr106984.c: New testcase.