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

           Summary: msp430 backend: Cannot yet select
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Seen on Ubuntu Hardy.  No idea if anyone cares to fix this but since I have a
nice reduced test input I figured I'd submit it...

reg...@john-home:~/z/tinyos-2.x/apps/Blink/build/telosb/tmp2$ clang
-ccc-host-triple msp430-generic-generic -ccc-clang-archs msp430 -x c -S -w -O3
small.c
fatal error: error in backend: Cannot yet select: 0x9807d08: i16,ch =
      dynamic_stackalloc 0x98074e0, 0x9807ea0, 0x9807ae8

reg...@john-home:~/z/tinyos-2.x/apps/Blink/build/telosb/tmp2$ clang -v

clang version 1.0 (http://llvm.org/svn/llvm-project/cfe/trunk 79920)
Target: i386-pc-linux-gnu
Thread model: posix

reg...@john-home:~/z/tinyos-2.x/apps/Blink/build/telosb/tmp2$ cat small.c

int foo (void)
{
  volatile int result = 0;
  return result;
}

int bar (void);

int main (void)
{
  while (bar ());
  foo ();
  return 0;
}


-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to