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

--- Comment #3 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Alan Modra <amo...@sourceware.org>:

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

commit 2fbbadc2c336cad228be998a118e3bab3be30757
Author: Alan Modra <amo...@gmail.com>
Date:   Thu Feb 15 11:12:01 2024 +1030

    PR30308, infinite recursion in i386_intel_simplify

    This patch exposes the symbol "resolving" flag for use in
    i386_intel_simplify, not only preventing infinite recursion on the
    testcase in the PR but also more complicated cases like:

     .intel_syntax
     b = a
     a = b
     mov eax, [a]

            PR 30308
            * symbols.c (symbol_mark_resolving, symbol_clear_resolving),
            (symbol_resolving_p): New functions.
            * symbols.h: Declare them.
            * config/tc-i386-intel.c (i386_intel_simplify): Delete forward
            declaration.  Formatting.
            (i386_intel_simplify_symbol): Use resolving flag to prevent
            infinite recursion.

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

Reply via email to