Landing: 64be1fa670a0

Project / Subsystem

gcc / openmp

Date

2026-05-25

Author

Tobias Burnus

Commit

64be1fa670a04c81d48dfdaa074d8bf8f935d746

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
openmp
patch_id
commit_hash
64be1fa670a04c81d48dfdaa074d8bf8f935d746
source_type
github
headline
OpenMP: Fix error message for duplicate variants.
tldr
Corrects the error message when duplicate variants are declared in OpenMP.
author
Tobias Burnus
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • openmp
  • bugfix
  • error message
discussion_id_link
bugzilla_pr
date
2026-05-25T00:00:00.000Z

This commit fixes an internal compiler error (ICE) that occurred when duplicate variants were declared in OpenMP code. The error message reporting the duplicate variant now correctly identifies the problematic code, resolving an issue introduced in a prior commit. A new test case has also been added to prevent regressions.