Landing: e212f5ef86f1

Project / Subsystem

gcc / openmp

Date

2026-08-08

Author

Kevin Stefanov

Commit

e212f5ef86f1a87c4471f8076a2cc6843ad10a20

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
openmp
patch_id
—
commit_hash
e212f5ef86f1a87c4471f8076a2cc6843ad10a20
source_type
github
headline
OpenMP: Use VOID_TYPE_P for void return type checks in SIMD function clones.
tldr
Fixes OpenMP SIMD function cloning to correctly handle void return types via typedefs, preventing compiler crashes.
author
Kevin Stefanov
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • openmp
  • • compiler bug
  • • simd
discussion_id_link
—
bugzilla_pr
—
date
2026-08-08T00:00:00.000Z

This change updates OpenMP’s SIMD function cloning to use VOID_TYPE_P for checking void return types. Previously, functions with void return types defined via typedefs could cause an Internal Compiler Error (ICE) during compilation. The fix ensures these cases are handled correctly, and a new test case has been added to verify the fix.