https://sourceware.org/bugzilla/show_bug.cgi?id=30308

--- Comment #19 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Alan Modra <[email protected]>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=85fb82cc8c960e97c5a51f51b87b19a3e6263c50

commit 85fb82cc8c960e97c5a51f51b87b19a3e6263c50
Author: Alan Modra <[email protected]>
Date:   Thu Jul 23 09:23:52 2026 +0930

    PR 30308 more unbounded recursion

    oss-fuzz found another case where i386_intel_simplify and
    i386_intel_simplify_symbol recurse until stack overflow.  This time
    recursion happened on an expression with both X_add_symbol and
    X_op_symbol, the call stack alternating on the two symbols.  Fix
    that case too.

            * config/tc-i386-intel.c (i386_intel_simplify): Mark X_add_symbol
            whenever calling i386_intel_simplify_symbol for X_op_symbol.
            * testsuite/gas/i386/intel-equ-loop.s,
            * testsuite/gas/i386/intel-equ-loop.l: Extend testcase.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to