[gcc r17-3527] match: Remove extra `#if GIMPLE` [PR126955]

Andrea Pinski via Gcc-cvs <[email protected]>
Newsgroups gmane.comp.gcc.cvs
Message-ID <[email protected]>
https://gcc.gnu.org/g:db4b57cec86f48565f88da7c1c92d27e259621d8

commit r17-3527-gdb4b57cec86f48565f88da7c1c92d27e259621d8
Author: Andrea Pinski <[email protected]>
Date:   Thu Aug 20 23:42:33 2026 -0700

    match: Remove extra `#if GIMPLE` [PR126955]
    
    There was an extra `#if GIMPLE` added when already
    inside a `#if GIMPLE` case. So this removes it.
    
    Pushed as obvious after a bootstrap/test on x86_64-linux-gnu.
    
            PR middle-end/126955
    
    gcc/ChangeLog:
    
            * match.pd: Remove extra `#if GIMPLE`/`#endif` pair.
    
    Signed-off-by: Andrea Pinski <[email protected]>

Diff:
---
 gcc/match.pd | 2 --
 1 file changed, 2 deletions(-)

diff --git a/gcc/match.pd b/gcc/match.pd
index 4e28b5d9ded0..9ef2136754c5 100644
--- a/gcc/match.pd
+++ b/gcc/match.pd
@@ -12806,7 +12806,6 @@ and,
    INTEGER_CST@2) INTEGER_CST@3)
   (if (compare_tree_int (@sub1, 1) == 0)))
 
-#if GIMPLE
 /* Match low and high parts of longhand multiplication.
    Given a 2N-bit unsigned type, x = xh*2^N + xl and y = yh*2^N + yl,
    where xh, xl, yh, yl are N-bit halves extracted via shifts and masks.  */
@@ -12962,7 +12961,6 @@ and,
        && (TYPE_PRECISION (wide_type) & 3) == 0
        && tree_fits_uhwi_p (@2)
        && tree_to_uhwi (@2) * 2 == TYPE_PRECISION (wide_type)))))
-#endif
 
 /* Floatint point/integer comparison and integer->integer
    or floating point -> float point conversion.  */
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.