https://sourceware.org/bugzilla/show_bug.cgi?id=30308
--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Sourceware Commits from comment #3) > The master branch has been updated by Alan Modra <[email protected]>: > > https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git; > h=2fbbadc2c336cad228be998a118e3bab3be30757 > > commit 2fbbadc2c336cad228be998a118e3bab3be30757 > Author: Alan Modra <[email protected]> > 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. A testcase would prevent it from happening again. -- You are receiving this mail because: You are on the CC list for the bug.
