[LLVMbugs] [Bug 704] NEW: PPC code gen failure for indirect function calls

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Jan 29 11:07:21 PST 2006


           Summary: PPC code gen failure for indirect function calls
           Product: tools
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: lli
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: bocchino at uiuc.edu

When I compile and run this simple program

#include <stdio.h>

void hello() {
  printf("Hello, world!\n");

void goodbye() {
  printf("Goodbye, world!\n");

int main(int argc, char **argv) {
  void (*f)() = (argc > 1) ? &hello : &goodbye;
  return 0;

on PPC, I get this error message:

/Users/bocchino/llvm-checkin/src/lib/Target/PowerPC/PPCCodeEmitter.cpp:213: failed assertion 
`isExternal && "Something in the ISEL changed\n"'

------- 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