compiler-explorer: [BUG]: CFG doesn't work well for `clean`

Describe the bug

Clean assembly output looks very much like C++ output, but for some reason the CFG parses labels as functions.

Steps to reproduce

https://www.compiler-explorer.com/z/n4KrqGhqs

Expected behavior

proper CFG

Reproduction link

https://www.compiler-explorer.com/z/n4KrqGhqs

Screenshots

Not applicable

Operating System

No response

Browser version

No response

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 19 (10 by maintainers)

Most upvoted comments

If no one is working , can you assign this to me !

(fun fact about this issue; I asked chatgpt to find a solution for this as it can access the internet and read the code etc, and it took way too much prompts to even get started correctly. Here’s the conversation I had if you want to learn how not to do it https://chatgpt.com/share/670112e0-4950-800e-8e18-359107f774f8 (it took my .globl instruction as they were literally the start of a function, they are not, .globl can be anywhere, only the actual label (which is marked as globl) is the start of the function))

can you assign me this issue?