[LLVMbugs] [Bug 641] NEW: unreachable code not removed [further debugging help appreciated]

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Oct 27 09:13:25 PDT 2005


           Summary: unreachable code not removed [further debugging help
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Miscellaneous Instrumentation passes
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: markus at oberhumer.com


I've been trying to come up with a simple testcase for some time without
success, so I'd appreciate any hints for further debugging.

The attachment is a snippet from some large C++ program compiled with
-fno-exceptions -fno-rtti. As you can see it contains several fractions of
unreachable code that no LLVM pass seems to be able to remove.

I initially had suspected that utils/InlineFunction.cpp might be a candidate
because sometimes "noexc" pops up, but it might also be a problem in llvm-gcc.
And I'm not sure if we even could have two diffent problems (there should be no
unreachable code, and there should be no "invoke" when using -fno-exceptions).
But all of this is just wild guessing.


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list