[prev in list] [next in list] [prev in thread] [next in thread] 

List:       llvm-bugs
Subject:    [llvm-bugs] [Bug 27163] New: clang-cl: The unwind destination does not have an exception handling in
From:       via llvm-bugs <llvm-bugs () lists ! llvm ! org>
Date:       2016-03-31 16:37:37
Message-ID: bug-27163-206 () http ! llvm ! org/bugs/
[Download RAW message or body]

--1459442259.db2E4.25445
Date: Thu, 31 Mar 2016 11:37:39 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"

https://llvm.org/bugs/show_bug.cgi?id=27163

            Bug ID: 27163
           Summary: clang-cl: The unwind destination does not have an
                    exception handling instruction!, again
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs@nondot.org
          Reporter: stephan.bergmann.secondary@googlemail.com
                CC: david.majnemer@gmail.com, dgregor@apple.com,
                    llvm-bugs@lists.llvm.org
    Classification: Unclassified

Created attachment 16140
  --> https://llvm.org/bugs/attachment.cgi?id=16140&action=edit
reproducer, gzip'ed

Another one similar to bug 27056 (but with the fix for it in): At least with
recent trunk r264998, running

  clang-cl --target=x86_64-pc-windows-mscv -Xclang -std=gnu++14 -EHa -O2 -c
test.cc

on the attached (non-reduced) test.cc(.gz) fails with

> The unwind destination does not have an exception handling instruction!
> invoke void %.pre(i8* %4, i8* %.pre55)
> to label %try.cont unwind label %catch.dispatch
> CatchSwitchInst not the first non-PHI instruction in the block.
> %6 = catchswitch within none [label %invoke.cont8] unwind label %ehcleanup
> fatal error: error in backend: Broken function found, compilation aborted!

-- 
You are receiving this mail because:
You are on the CC list for the bug.

--1459442259.db2E4.25445
Date: Thu, 31 Mar 2016 11:37:39 -0500
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"

<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 --- - clang-cl: The unwind destination does not have an exception \
handling instruction!, again"  \
href="https://llvm.org/bugs/show_bug.cgi?id=27163">27163</a>  </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clang-cl: The unwind destination does not have an exception handling \
instruction!, again  </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </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>C++
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs&#64;nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>stephan.bergmann.secondary&#64;googlemail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>david.majnemer&#64;gmail.com, dgregor&#64;apple.com, \
llvm-bugs&#64;lists.llvm.org  </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=16140" \
name="attach_16140" title="reproducer, gzip'ed">attachment 16140</a> <a \
href="attachment.cgi?id=16140&amp;action=edit" title="reproducer, \
gzip'ed">[details]</a></span> reproducer, gzip'ed

Another one similar to <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - clang-cl: The unwind destination does not have an \
exception handling instruction!"  href="show_bug.cgi?id=27056">bug 27056</a> (but \
with the fix for it in): At least with recent trunk r264998, running

  clang-cl --target=x86_64-pc-windows-mscv -Xclang -std=gnu++14 -EHa -O2 -c
test.cc

on the attached (non-reduced) test.cc(.gz) fails with

<span class="quote">&gt; The unwind destination does not have an exception handling \
instruction! &gt;   invoke void %.pre(i8* %4, i8* %.pre55)
&gt;           to label %try.cont unwind label %catch.dispatch
&gt; CatchSwitchInst not the first non-PHI instruction in the block.
&gt;   %6 = catchswitch within none [label %invoke.cont8] unwind label %ehcleanup
&gt; fatal error: error in backend: Broken function found, compilation aborted!</span \
></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>

--1459442259.db2E4.25445--


[Attachment #3 (text/plain)]

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic