https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95315
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:3d0675f3bb54b58903bc9214d05c8e6d20e5f313 commit r11-712-g3d0675f3bb54b58903bc9214d05c8e6d20e5f313 Author: Jakub Jelinek <ja...@redhat.com> Date: Fri May 29 10:48:40 2020 +0200 openmp: One omp_resolve_declare_variant followup As noticed by Arseny, I got the condition when to call the add removal hook wrong wrong. Fixed thusly. 2020-05-28 Jakub Jelinek <ja...@redhat.com> PR middle-end/95315 * omp-general.c (omp_resolve_declare_variant): Fix up addition of declare variant cgraph node removal callback. * gcc.dg/gomp/pr95315-2.c: New test.