<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 - Clang 11 crashes when building NSAccessibilityCustomAction.m in GNUstep"
   href="https://bugs.llvm.org/show_bug.cgi?id=52431">52431</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Clang 11 crashes when building NSAccessibilityCustomAction.m in GNUstep
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>11.0
          </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>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>greg.casamento@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>For some reason the compiler chokes on this file and I am not certain why.  The
class itself is simply a placeholder (for now).

Please see the attachments.

GC

Below is the script to build..
----
# Crash reproducer for Debian clang version 11.0.1-2
# Driver args: "NSAccessibilityCustomAction.m" "-c" "-MMD" "-MP" "-D"
"GNUSTEP_TARGET_DIR=\".\"" "-D" "GNUSTEP_TARGET_CPU=\"x86_64\"" "-D"
"GNUSTEP_TARGET_OS=\"linux-gnu\"" "-D" "LIBRARY_COMBO=\"ng-gnu-gnu\"" "-D"
"GNUSTEP_BASE_HAVE_LIBXML=1" "-D" "BACKEND_BUNDLE=1" "-D" "GNUSTEP" "-D"
"GNUSTEP_BASE_LIBRARY=1" "-D" "GNU_GUI_LIBRARY=1" "-D" "GNUSTEP_RUNTIME=1" "-D"
"_NONFRAGILE_ABI=1" "-D" "GNUSTEP_BASE_LIBRARY=1" "-fno-strict-aliasing"
"-fexceptions" "-fobjc-exceptions" "-D" "_NATIVE_OBJC_EXCEPTIONS" "-pthread"
"-fPIC" "-Wall" "-D" "GSWARN" "-D" "GSDIAGNOSE" "-Wno-import" "-g" "-O2"
"-fobjc-runtime=gnustep-1.8" "-fblocks" "-Wall"
"-fconstant-string-class=NSConstantString" "-I" "../Headers/Additions" "-I"
"../Headers" "-I" "./." "-I" "." "-I" "/root/GNUstep/Library/Headers" "-I"
"/usr/GNUstep/Local/Library/Headers" "-I" "/usr/GNUstep/System/Library/Headers"
"-fopenmp" "-D" "MAGICKCORE_HDRI_ENABLE=0" "-D" "MAGICKCORE_QUANTUM_DEPTH=16"
"-I" "/usr/include/x86_64-linux-gnu//ImageMagick-6" "-I"
"/usr/include/ImageMagick-6" "-I" "/usr/include/libpng16" "-o"
"obj/libgnustep-gui.obj/NSAccessibilityCustomAction.m.o"
# Original command:  "/usr/lib/llvm-11/bin/clang" "-cc1" "-triple"
"x86_64-pc-linux-gnu" "-emit-obj" "-disable-free" "-disable-llvm-verifier"
"-discard-value-names" "-main-file-name" "NSAccessibilityCustomAction.m"
"-mrelocation-model" "pic" "-pic-level" "2" "-mframe-pointer=none"
"-relaxed-aliasing" "-fmath-errno" "-fno-rounding-math" "-mconstructor-aliases"
"-munwind-tables" "-target-cpu" "x86-64" "-fno-split-dwarf-inlining"
"-debug-info-kind=limited" "-dwarf-version=4" "-debugger-tuning=gdb"
"-resource-dir" "/usr/lib/llvm-11/lib/clang/11.0.1" "-dependency-file"
"obj/libgnustep-gui.obj/NSAccessibilityCustomAction.m.d" "-MT"
"obj/libgnustep-gui.obj/NSAccessibilityCustomAction.m.o" "-MP" "-D"
"GNUSTEP_TARGET_DIR=\".\"" "-D" "GNUSTEP_TARGET_CPU=\"x86_64\"" "-D"
"GNUSTEP_TARGET_OS=\"linux-gnu\"" "-D" "LIBRARY_COMBO=\"ng-gnu-gnu\"" "-D"
"GNUSTEP_BASE_HAVE_LIBXML=1" "-D" "BACKEND_BUNDLE=1" "-D" "GNUSTEP" "-D"
"GNUSTEP_BASE_LIBRARY=1" "-D" "GNU_GUI_LIBRARY=1" "-D" "GNUSTEP_RUNTIME=1" "-D"
"_NONFRAGILE_ABI=1" "-D" "GNUSTEP_BASE_LIBRARY=1" "-D"
"_NATIVE_OBJC_EXCEPTIONS" "-D" "GSWARN" "-D" "GSDIAGNOSE" "-I"
"../Headers/Additions" "-I" "../Headers" "-I" "./." "-I" "." "-I"
"/root/GNUstep/Library/Headers" "-I" "/usr/GNUstep/Local/Library/Headers" "-I"
"/usr/GNUstep/System/Library/Headers" "-D" "MAGICKCORE_HDRI_ENABLE=0" "-D"
"MAGICKCORE_QUANTUM_DEPTH=16" "-I"
"/usr/include/x86_64-linux-gnu//ImageMagick-6" "-I"
"/usr/include/ImageMagick-6" "-I" "/usr/include/libpng16" "-internal-isystem"
"/usr/local/include" "-internal-isystem"
"/usr/lib/llvm-11/lib/clang/11.0.1/include" "-internal-externc-isystem"
"/usr/include/x86_64-linux-gnu" "-internal-externc-isystem" "/include"
"-internal-externc-isystem" "/usr/include" "-O2" "-Wall" "-Wno-import" "-Wall"
"-fdebug-compilation-dir" "/home/heron/Development/gnustep/libs-gui/Source"
"-fconstant-string-class" "NSConstantString" "-ferror-limit" "19" "-fopenmp"
"-fopenmp-cuda-parallel-target-regions" "-pthread" "-fblocks"
"-fgnuc-version=4.2.1" "-fobjc-runtime=gnustep-1.8"
"-fobjc-dispatch-method=non-legacy" "-fobjc-exceptions" "-fexceptions"
"-fcolor-diagnostics" "-vectorize-loops" "-vectorize-slp" "-faddrsig" "-o"
"obj/libgnustep-gui.obj/NSAccessibilityCustomAction.m.o" "-x" "objective-c"
"NSAccessibilityCustomAction.m"
 "/usr/lib/llvm-11/bin/clang" "-cc1" "-triple" "x86_64-pc-linux-gnu"
"-emit-obj" "-disable-free" "-disable-llvm-verifier" "-discard-value-names"
"-main-file-name" "NSAccessibilityCustomAction.m" "-mrelocation-model" "pic"
"-pic-level" "2" "-mframe-pointer=none" "-relaxed-aliasing" "-fmath-errno"
"-fno-rounding-math" "-mconstructor-aliases" "-munwind-tables" "-target-cpu"
"x86-64" "-fno-split-dwarf-inlining" "-debug-info-kind=limited"
"-dwarf-version=4" "-debugger-tuning=gdb" "-D" "GNUSTEP_TARGET_DIR=\".\"" "-D"
"GNUSTEP_TARGET_CPU=\"x86_64\"" "-D" "GNUSTEP_TARGET_OS=\"linux-gnu\"" "-D"
"LIBRARY_COMBO=\"ng-gnu-gnu\"" "-D" "GNUSTEP_BASE_HAVE_LIBXML=1" "-D"
"BACKEND_BUNDLE=1" "-D" "GNUSTEP" "-D" "GNUSTEP_BASE_LIBRARY=1" "-D"
"GNU_GUI_LIBRARY=1" "-D" "GNUSTEP_RUNTIME=1" "-D" "_NONFRAGILE_ABI=1" "-D"
"GNUSTEP_BASE_LIBRARY=1" "-D" "_NATIVE_OBJC_EXCEPTIONS" "-D" "GSWARN" "-D"
"GSDIAGNOSE" "-D" "MAGICKCORE_HDRI_ENABLE=0" "-D" "MAGICKCORE_QUANTUM_DEPTH=16"
"-O2" "-Wall" "-Wno-import" "-Wall" "-fconstant-string-class"
"NSConstantString" "-ferror-limit" "19" "-fopenmp"
"-fopenmp-cuda-parallel-target-regions" "-pthread" "-fblocks"
"-fgnuc-version=4.2.1" "-fobjc-runtime=gnustep-1.8"
"-fobjc-dispatch-method=non-legacy" "-fobjc-exceptions" "-fexceptions"
"-fcolor-diagnostics" "-vectorize-loops" "-vectorize-slp" "-faddrsig" "-x"
"objective-c" "NSAccessibilityCustomAction-06494b.m"</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>