bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/30308] as crash (infinite recursion) on invalid source file


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gas/30308] as crash (infinite recursion) on invalid source file
Date: Thu, 15 Feb 2024 01:29:31 +0000

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 <amodra@sourceware.org>:

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

commit 2fbbadc2c336cad228be998a118e3bab3be30757
Author: Alan Modra <amodra@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

[Prev in Thread] Current Thread [Next in Thread]