<html>
    <head>
      <base href="https://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 --- - [Regression] Clang crashes on structs with large alignment"
   href="https://llvm.org/bugs/show_bug.cgi?id=26444">26444</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[Regression] Clang crashes on structs with large alignment
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.8
          </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>Frontend
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>Yunzhong_Gao@playstation.sony.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hi,

Clang 3.8 (and trunk) crashes on the following test case, but clang 3.7.1 works
fine.

$ cat align.cc
struct A {
  A();
} a __attribute__((aligned(0x10000)));

$ clang --version
clang version 3.9.0 (trunk 259447)
Target: x86_64-unknown-linux-gnu

$ clang -S -o - align.cc
clang: Address.h:32: clang::CodeGen::Address::Address(llvm::Value*,
clang::CharUnits): Assertion `(!alignment.isZero() || pointer == nullptr) &&
"creating valid address with invalid alignment"' failed.

Could someone take a look?</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>