<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:richard-llvm@metafoo.co.uk" title="Richard Smith &lt;richard-llvm&#64;metafoo.co.uk&gt;"> <span class="fn">Richard Smith</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed" title="RESOLVED WORKSFORME - Sanitizer options are spelled differently between gcc and clang" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24285&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=r4oowQ0WbXqUyI1fAAvbd4LOJ6BhTX6Dd0pJs43_dIQ&s=fhZpxUlI0uIyG9nK3zF4L4jJZigdfEZ3pBLsz2RmTXE&e=">bug 24285</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>richard-llvm@metafoo.co.uk
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>WORKSFORME
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed" title="RESOLVED WORKSFORME - Sanitizer options are spelled differently between gcc and clang" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24285-23c1&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=r4oowQ0WbXqUyI1fAAvbd4LOJ6BhTX6Dd0pJs43_dIQ&s=CTrvTckHtAvbeWc4TAW4ibEAOiWGGZJa0Yr8AnFFb2k&e=">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed" title="RESOLVED WORKSFORME - Sanitizer options are spelled differently between gcc and clang" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24285&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=r4oowQ0WbXqUyI1fAAvbd4LOJ6BhTX6Dd0pJs43_dIQ&s=fhZpxUlI0uIyG9nK3zF4L4jJZigdfEZ3pBLsz2RmTXE&e=">bug 24285</a>
              from <span class="vcard"><a class="email" href="mailto:richard-llvm@metafoo.co.uk" title="Richard Smith &lt;richard-llvm&#64;metafoo.co.uk&gt;"> <span class="fn">Richard Smith</span></a>
</span></b>
        <pre>GCC inherited these options from Clang, so if there's a "drop-in replacement"
issue, you're filing it with the wrong compiler ;) Also, Clang trunk *does*
accept the GCC spelling, as you call it.

FYI: "undefined" and "undefined-trap" used to refer to different groups of
sanitizers (where "undefined-trap" is the subset of "undefined" that is
compatible with -fsanitize-undefined-trap-on-error). We used to reject
combinations of options that would request trapping and also request sanitizers
incompatible with trapping. We've since changed our interface so that we'll
just turn off the incompatible sanitizers when
-fsanitize-undefined-trap-on-error is specified (if they're enabled via a
sanitizer group), and they now mean the same thing. (We still error if an
incompatible sanitizer is explicitly enabled, so -fsanitize=vptr
-fsanitize-undefined-trap-on-error is still rejected.)

[Also, -fsanitize-undefined-trap-on-error is deprecated; the new syntax is
-fsanitize-trap=undefined (though GCC might not yet accept that).]</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>