https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120051

Julian Waters <tanksherman27 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tanksherman27 at gmail dot com

--- Comment #23 from Julian Waters <tanksherman27 at gmail dot com> ---
Created attachment 62546
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62546&action=edit
Crash with -g -gcodeview even with the workaround patch applied

Even with the workaround patch applied to fix codeview crashes, g++ will still
crash with a SIGSEGV while compiling the attached source file when the
following compile command line is given if -g -gcodeview is passed. Removing -g
-gcodeview resolves the problem and g++ compiles the file without issue



Command line (Warning: Long!)
g++ -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe
-fno-strict-aliasing -fno-omit-frame-pointer -fno-stack-protector
-finput-charset=utf-8 -std=c++17 -DLIBC=default -D_WINDOWS -DWIN32
-D_JNI_IMPLEMENTATION_ -DNOMINMAX -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0602
-Wall -Wextra -Wformat=2 -Winvalid-pch -Wpointer-arith -Wreturn-type
-Wsign-compare -Wtrampolines -Wtype-limits -Wundef -Wuninitialized
-Wunused-const-variable=1 -Wunused-function -Wunused-result -Wunused-value
-Woverloaded-virtual -Wreorder
-fmacro-prefix-map=/c/Users/vertig0/Downloads/eclipse-committers-2023-12-R-win32-x86_64/Workspace/jdk/=
-DVM_LITTLE_ENDIAN -D_LP64=1 -fno-lifetime-dse -m64 -DNDEBUG -DPRODUCT
-DTARGET_ARCH_x86 -DINCLUDE_SUFFIX_OS=_windows -DINCLUDE_SUFFIX_CPU=_x86
-DINCLUDE_SUFFIX_COMPILER=_gcc -DTARGET_COMPILER_gcc -DAMD64
-DHOTSPOT_LIB_ARCH=\"amd64\" -DCOMPILER1 -DCOMPILER2 -flto=15
-fuse-linker-plugin -fno-strict-aliasing -fno-fat-lto-objects
-I/c/Users/vertig0/Downloads/eclipse-committers-2023-12-R-win32-x86_64/Workspace/jdk/build/windows-x86_64-server-release/hotspot/variant-server/gensrc/adfiles
-I/c/Users/vertig0/Downloads/eclipse-committers-2023-12-R-win32-x86_64/Workspace/jdk/src/hotspot/share
-I/c/Users/vertig0/Downloads/eclipse-committers-2023-12-R-win32-x86_64/Workspace/jdk/src/hotspot/os/windows
-I/c/Users/vertig0/Downloads/eclipse-committers-2023-12-R-win32-x86_64/Workspace/jdk/src/hotspot/cpu/x86
-I/c/Users/vertig0/Downloads/eclipse-committers-2023-12-R-win32-x86_64/Workspace/jdk/src/hotspot/os_cpu/windows_x86
-I/c/Users/vertig0/Downloads/eclipse-committers-2023-12-R-win32-x86_64/Workspace/jdk/build/windows-x86_64-server-release/hotspot/variant-server/gensrc
-I/c/Users/vertig0/Downloads/eclipse-committers-2023-12-R-win32-x86_64/Workspace/jdk/src/hotspot/share/include
-I/c/Users/vertig0/Downloads/eclipse-committers-2023-12-R-win32-x86_64/Workspace/jdk/src/hotspot/os/windows/include
-I/c/Users/vertig0/Downloads/eclipse-committers-2023-12-R-win32-x86_64/Workspace/jdk/build/windows-x86_64-server-release/support/modules_include/java.base
-I/c/Users/vertig0/Downloads/eclipse-committers-2023-12-R-win32-x86_64/Workspace/jdk/build/windows-x86_64-server-release/support/modules_include/java.base/win32
-I/c/Users/vertig0/Downloads/eclipse-committers-2023-12-R-win32-x86_64/Workspace/jdk/src/java.base/share/native/libjimage
-I/c/Users/vertig0/Downloads/eclipse-committers-2023-12-R-win32-x86_64/Workspace/jdk/build/windows-x86_64-server-release/hotspot/variant-server/gensrc/adfiles
-I/c/Users/vertig0/Downloads/eclipse-committers-2023-12-R-win32-x86_64/Workspace/jdk/src/hotspot/share
-I/c/Users/vertig0/Downloads/eclipse-committers-2023-12-R-win32-x86_64/Workspace/jdk/src/hotspot/os/windows
-I/c/Users/vertig0/Downloads/eclipse-committers-2023-12-R-win32-x86_64/Workspace/jdk/src/hotspot/cpu/x86
-I/c/Users/vertig0/Downloads/eclipse-committers-2023-12-R-win32-x86_64/Workspace/jdk/src/hotspot/os_cpu/windows_x86
-I/c/Users/vertig0/Downloads/eclipse-committers-2023-12-R-win32-x86_64/Workspace/jdk/build/windows-x86_64-server-release/hotspot/variant-server/gensrc
-I/c/Users/vertig0/Downloads/eclipse-committers-2023-12-R-win32-x86_64/Workspace/jdk/build/windows-x86_64-server-release/support/modules_include/java.base
-I/c/Users/vertig0/Downloads/eclipse-committers-2023-12-R-win32-x86_64/Workspace/jdk/src/java.base/windows/native/include
-I/c/Users/vertig0/Downloads/eclipse-committers-2023-12-R-win32-x86_64/Workspace/jdk/src/java.base/share/native/include
-g -gcodeview
-fdebug-prefix-map=/c/Users/vertig0/Downloads/eclipse-committers-2023-12-R-win32-x86_64/Workspace/jdk/=
-fdebug-prefix-map=/c/msys64/usr/include/=/usr/include/
-fdebug-prefix-map=/c/msys64/ucrt64/lib/gcc/x86_64-w64-mingw32/15.1.0/include/=/usr/local/gcc_include/
-fdebug-prefix-map=/c/msys64/ucrt64/include/c++/15.1.0/=/usr/local/gxx_include/
-fdebug-prefix-map=/c/Users/vertig0/Downloads/eclipse-committers-2023-12-R-win32-x86_64/Workspace/jdk/build/windows-x86_64-server-release/=
-Wno-unused-parameter -Wno-array-bounds -Wno-comment
-Wno-delete-non-virtual-dtor -Wno-empty-body -Wno-format-zero-length
-Wno-implicit-fallthrough -Wno-int-in-bool-context -Wno-invalid-offsetof
-Wno-maybe-uninitialized -Wno-missing-field-initializers
-Wno-shift-negative-value -Wno-unknown-pragmas -Wno-unused-but-set-variable
-Wno-unused-local-typedefs -Wno-unused-variable -Wno-cast-function-type
-Wno-sign-compare -Wno-unused-function -Werror -O3 -c -o
/c/Users/vertig0/Downloads/Analyzer/gcc/g1ParScanThreadState.o
/c/Users/vertig0/Downloads/eclipse-committers-2023-12-R-win32-x86_64/Workspace/jdk/src/hotspot/share/gc/g1/g1ParScanThreadState.cpp
-frandom-seed=g1ParScanThreadState.cpp

Reply via email to