https://sourceware.org/bugzilla/show_bug.cgi?id=30308
Bug ID: 30308 Summary: as crash (infinite recursion) on invalid source file Product: binutils Version: 2.39 Status: UNCONFIRMED Severity: normal Priority: P2 Component: gas Assignee: unassigned at sourceware dot org Reporter: andrius-sourceware at stikonas dot eu Target Milestone: --- Created attachment 14800 --> https://sourceware.org/bugzilla/attachment.cgi?id=14800&action=edit cc_x86.S I was able to crash gas with the following input that causes infinite recursion .intel_syntax a = a mov eax, [a] You can build it with as "as cc_x86.S" or "as --32 cc_x86.S" Result: $ as cc_x86.S Segmentation fault (core dumped) Expected result: At the very least no, crash. Ideally a useful error message (maybe something like a is not defined). GAS version: GNU assembler (Gentoo 2.39 p5) 2.39.0 -- You are receiving this mail because: You are on the CC list for the bug.