[LLVMbugs] [Bug 12244] New: fatal error: error in backend: Couldn't allocate input reg for constraint

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Mar 11 16:31:30 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=12244

             Bug #: 12244
           Summary: fatal error: error in backend: Couldn't allocate input
                    reg for constraint
           Product: clang
           Version: 3.0
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: mrsmiley98 at lycos.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Using clang-3.1 (318.0.54) from XCode-4.3.1 on OSX Lion 10.7.3,
I get a fatal error compiling avidemux-2.5.6.
It will compile with llvm-gcc-4.2.1 (5658,2336.9)

fatal error: error in backend: Couldn't allocate input reg for constraint
'{_l_src_pitch}'!

Here is a gist of the exact error, and some analysis of the source code:
https://raw.github.com/gist/1919007

Here is a link to the source code, so you can browse the code for
ADM_vidFlux.cpp
http://svn.berlios.de/viewvc/avidemux/branches/avidemux_2.5_branch_gruntster/plugins/ADM_videoFilters/FluxSmooth/


I bring your attention to this line of source, and ask you if it causes this?

  ADM_vidFlux.cpp:69:static long int FUNNY_MANGLE(_l_src_pitch) ASM_CONST =0

Ok thanks.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list