SUNDAY, APRIL 19, 2026 GCC DIGEST · OPEN-SOURCE SYSTEMS DAILY VOL. 1 · NO. 109
Late Edition · APRIL 19, 2026 · VOL. 1 · NO. 109
The GCC Digest
— A Daily Record of the GNU Compiler Collection —
gcc Proposed

Glob to match bare-metal SuperH target triple in config.gcc seems wrong

The glob "sh*-superh-elf" in config.gcc may incorrectly identify SuperH bare-metal targets.

A discussion arose about the glob expression “sh*-superh-elf” used in config.gcc to match embedded SuperH targets. The concern is that the “superh” token, which appears to be a manufacturer name, might be causing the glob to miss some valid target triples like “sh-elf”. The discussion suggests that the expression is confusing and could benefit from clarification.

Technical Tradeoffs

  • Changing the glob may break existing configurations.
  • Leaving it as-is may cause confusion and incorrect target matching.
Filed Under: configurationtarget tripleSuperH