Landing: 37846b229e14

Project / Subsystem

gcc / tree-optimization

Date

2026-09-18

Author

Richard Biener

Commit

37846b229e14a54d74bcf77ee8bbfceb6e0b9bbe

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
tree-optimization
patch_id
—
commit_hash
37846b229e14a54d74bcf77ee8bbfceb6e0b9bbe
source_type
github
headline
Fix ICE with SLP discovery dumping when trapping_stmt is NULL
tldr
Resolves an Internal Compiler Error (ICE) when dumping SLP discovery information with a null trapping statement.
author
Richard Biener
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • optimization
  • • compiler
  • • tree-optimization
discussion_id_link
—
bugzilla_pr
—
date
2026-09-18T00:00:00.000Z

This commit fixes an Integer Compiler Error (ICE) that occurred during SLP discovery dumping when the trapping_stmt was NULL. The issue was caused by attempting to print a NULL pointer using the %G format specifier. The fix involves printing the correct trapping_stmt in tree-vect-slp.cc to resolve this diagnostic issue.