‘gimple_match_range_of_expr’ was not declared in this scope

Project / Subsystem

gcc / gcc

Date

2026-07-04

Proposer

Kael Andrew Franco <kaelfandrew@gmail.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

7/10

Technical tradeoffs

  • Missing function declaration leads to build failure, requiring a quick fix.

All attributes

project
gcc
subsystem
gcc
patch_id
discussion_id
CACAb0qfE04Gmy_47ZoaYatE49SmPsjOu-bS1zhYCGfQCYfSqHA@mail.gmail.com
source_type
public_inbox
title
‘gimple_match_range_of_expr’ was not declared in this scope
headline
‘gimple_match_range_of_expr’ was not declared in this scope
tldr
Developer introduces a new function in GCC's pattern matching code but forgets to declare it, causing a build error.
proposer
Kael Andrew Franco <kaelfandrew@gmail.com>
consensus
Proposed
outcome
proposed
sentiment_score
7
technical_tradeoffs
  • Missing function declaration leads to build failure, requiring a quick fix.
series_id
series_role
standalone
series_parts
[]
tags
  • build
  • gcc
  • pattern matching
bugzilla_url
date
2026-07-04T00:00:00.000Z

‘gimple_match_range_of_expr’ was not declared in this scope

Kael Andrew Franco encountered an ‘undeclared identifier’ error for ‘gimple_match_range_of_expr’ while working on PR126085. The error stems from a recent change to gcc/match.pd. Franco acknowledged the issue was caused by their own commit and promised to upload a fix after testing.