<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - UNREACHABLE in DAGTypeLegalizer::PromoteIntegerResult"
   href="https://bugs.llvm.org/show_bug.cgi?id=34837">34837</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>UNREACHABLE in DAGTypeLegalizer::PromoteIntegerResult
          </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>All
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>enhancement
          </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>babokin@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>clang trunk, rev314936, x86_64

<span class="quote">> cat f.cpp</span >
unsigned a;
struct {
  int b : 17;
  char c;
} d;
void e() { d.b = (a > (a > 0) + a) + a; }

<span class="quote">> clang++  -std=c++11 -w -O2 -c f.cpp</span >
Not implemented
UNREACHABLE executed at
/home/dybaboki/llvm/llvm-trunk-20171004/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp:776!
#0 0x000000000135083f llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/home/dybaboki/llvm/bin-trunk-20171004/bin/clang-6.0+0x135083f)
#1 0x0000000001350b46 SignalHandler(int)
(/home/dybaboki/llvm/bin-trunk-20171004/bin/clang-6.0+0x1350b46)
#2 0x00007fad4af2a370 __restore_rt (/lib64/libpthread.so.0+0xf370)
#3 0x00007fad49aa61d7 __GI_raise (/lib64/libc.so.6+0x351d7)
#4 0x00007fad49aa78c8 __GI_abort (/lib64/libc.so.6+0x368c8)
#5 0x000000000130f659
(/home/dybaboki/llvm/bin-trunk-20171004/bin/clang-6.0+0x130f659)
#6 0x0000000001b608ae
llvm::DAGTypeLegalizer::PromoteIntegerResult(llvm::SDNode*, unsigned int)
(/home/dybaboki/llvm/bin-trunk-20171004/bin/clang-6.0+0x1b608ae)
#7 0x0000000001b040ac llvm::DAGTypeLegalizer::run()
(/home/dybaboki/llvm/bin-trunk-20171004/bin/clang-6.0+0x1b040ac)
<...></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>