SATURDAY, APRIL 18, 2026
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.