https://gcc.gnu.org/g:4dee18cade51d955d9cd6dc86f4399be133a2821

commit r17-5583-g4dee18cade51d955d9cd6dc86f4399be133a2821
Author: Filip Kastl <[email protected]>
Date:   Mon Oct 26 16:09:05 2026 +0100

    gimple-fold.h: Update a comment
    
    Update a comment saying that you can find gimple_simplify (...)
    definitions in gimple-match.cc.  They are actually in
    gimple-match-exports.cc and gimple-match.cc doesn't even exist.
    
    Pushing as obvious.
    
    gcc/ChangeLog:
    
            * gimple-fold.h (gimple_simplify): Update comment wrongly
            claiming this function is defined in gimple-match.cc.
    
    Signed-off-by: Filip Kastl <[email protected]>

Diff:
---
 gcc/gimple-fold.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/gimple-fold.h b/gcc/gimple-fold.h
index febc15330c82..058e87c55005 100644
--- a/gcc/gimple-fold.h
+++ b/gcc/gimple-fold.h
@@ -268,7 +268,7 @@ extern bool gimple_stmt_nonnegative_p (gimple *, int = 0);
 extern bool gimple_stmt_integer_valued_real_p (gimple *, int = 0);
 extern void mark_lhs_in_seq_for_dce (bitmap, gimple_seq);
 
-/* In gimple-match.cc.  */
+/* In gimple-match-exports.cc.  */
 extern tree gimple_simplify (enum tree_code, tree, tree,
                             gimple_seq *, tree (*)(tree));
 extern tree gimple_simplify (enum tree_code, tree, tree, tree,

Reply via email to