<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - arm-linux-android-eabi: error in backend: Can't handle live physical register dependency!"
   href="http://llvm.org/bugs/show_bug.cgi?id=16044">16044</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>arm-linux-android-eabi: error in backend: Can't handle live physical register dependency!
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kcc@google.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>test case by csmith/creduce. 
The test case is a bit overly synthetic, so I am not sure if this reports is
very useful. Still filing just in case. 

#pragma pack(1)
struct S1 {
  int:24;
  int f2:23;
  int:20;
  volatile int f4:21;
  int :29;
  int :31;
  int f8:27;
};
static const struct S1 a;
void bar(int);
void foo () {
  bar (a.f2);
  bar (a.f4);
  bar (a.f8);
}


% clang  -S -target arm-linux-android-eabi f.c
fatal error: error in backend: Can't handle live physical register dependency!
clang-3.3: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
clang version 3.4 (182077)
Target: arm--linux-eabi-android
Thread model: posix

#0  0x00000000011c7310 in llvm::report_fatal_error(char const*, bool) ()
#1  0x0000000000c083de in (anonymous
namespace)::ScheduleDAGRRList::PickNodeToScheduleBottomUp() ()
#2  0x0000000000c04cd6 in (anonymous namespace)::ScheduleDAGRRList::Schedule()
()
#3  0x0000000000b8adef in llvm::SelectionDAGISel::CodeGenAndEmitDAG() ()
#4  0x0000000000b89519 in
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) ()
#5  0x0000000000b86fe6 in
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) ()
#6  0x0000000000cc9b9d in
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) ()
#7  0x0000000001138c9c in llvm::FPPassManager::runOnFunction(llvm::Function&)
()
#8  0x0000000001138f0b in llvm::FPPassManager::runOnModule(llvm::Module&) ()
#9  0x000000000113925e in llvm::MPPassManager::runOnModule(llvm::Module&) ()
#10 0x00000000011398fb in llvm::PassManagerImpl::run(llvm::Module&) ()
#11 0x0000000001139a6a in llvm::PassManager::run(llvm::Module&) ()
#12 0x0000000001213b87 in clang::EmitBackendOutput(clang::DiagnosticsEngine&,
clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions
const&, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) ()
#13 0x00000000012111fb in
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) ()
#14 0x00000000014a4b83 in clang::ParseAST(clang::Sema&, bool, bool) ()
#15 0x0000000001210512 in clang::CodeGenAction::ExecuteAction() ()
#16 0x00000000013f4171 in clang::FrontendAction::Execute() ()
#17 0x00000000013d449d in
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) ()
#18 0x00000000011f91c4 in
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) ()
#19 0x0000000000631074 in cc1_main(char const**, char const**, char const*,
void*) ()
#20 0x000000000062ea2b in main ()</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>