During a pass with "gcc -fanalyzer", gcc told me to file a bug:
gcc -std=gnu11 -ggdb -ffreestanding -fmacro-prefix-map=/home/pjones/devel/github.com/shim/gcc-fanalyzer/= -fno-stack-protector -fno-strict-aliasing -fpic -fshort-wchar -fanalyzer -Os -Wall -Wextra -Wno-missing-field-initializers -mno-mmx -mno-sse -mno-red-zone -nostdinc -maccumulate-outgoing-args -m64 -DMDE_CPU_X64 -DPAGE_SIZE=4096 -Werror=analyzer-null-dereference -nostdinc -I/home/pjones/devel/github.com/shim/gcc-fanalyzer/Cryptlib -I/home/pjones/devel/github.com/shim/gcc-fanalyzer/Cryptlib/Include -I/home/pjones/devel/github.com/shim/gcc-fanalyzer/gnu-efi/inc -I/home/pjones/devel/github.com/shim/gcc-fanalyzer/gnu-efi/inc/x86_64 -I/home/pjones/devel/github.com/shim/gcc-fanalyzer/gnu-efi/inc/protocol -I/home/pjones/devel/github.com/shim/gcc-fanalyzer/include -iquote /home/pjones/devel/github.com/shim/gcc-fanalyzer -iquote /home/pjones/devel/github.com/shim/gcc-fanalyzer -isystem /home/pjones/devel/github.com/shim/gcc-fanalyzer/include/system -isystem /usr/lib/gcc/x86_64-redhat-linux/13/include -DDEFAULT_LOADER='L"\\\\grubx64.efi"' -DDEFAULT_LOADER_CHAR='"\\\\grubx64.efi"' -DEFI_ARCH='L"x64"' -DDEBUGDIR='L"/usr/lib/debug/usr/share/shim/x64-15.7/"' -c -o csv.o csv.c
during IPA pass: analyzer
csv.c: In function ‘parse_csv_line’:
csv.c:30:36: internal compiler error: in make, at analyzer/store.cc:132
30 | columns[n] = NULL;
| ^
Please submit a full bug report, with preprocessed source.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccyJ6wGT.out file, please attach this to your bugreport.
make: *** [<builtin>: csv.o] Error 1
Reproducible: Always
Steps to Reproduce:
1. run gcc with the command line shown in the attached file
2. gcc tells me to file a bug
Actual Results:
gcc tells me about its bugs
Expected Results:
gcc tells me about my bugs
During a pass with "gcc -fanalyzer", gcc told me to file a bug: gcc -std=gnu11 -ggdb -ffreestanding -fmacro-prefix-map=/home/pjones/devel/github.com/shim/gcc-fanalyzer/= -fno-stack-protector -fno-strict-aliasing -fpic -fshort-wchar -fanalyzer -Os -Wall -Wextra -Wno-missing-field-initializers -mno-mmx -mno-sse -mno-red-zone -nostdinc -maccumulate-outgoing-args -m64 -DMDE_CPU_X64 -DPAGE_SIZE=4096 -Werror=analyzer-null-dereference -nostdinc -I/home/pjones/devel/github.com/shim/gcc-fanalyzer/Cryptlib -I/home/pjones/devel/github.com/shim/gcc-fanalyzer/Cryptlib/Include -I/home/pjones/devel/github.com/shim/gcc-fanalyzer/gnu-efi/inc -I/home/pjones/devel/github.com/shim/gcc-fanalyzer/gnu-efi/inc/x86_64 -I/home/pjones/devel/github.com/shim/gcc-fanalyzer/gnu-efi/inc/protocol -I/home/pjones/devel/github.com/shim/gcc-fanalyzer/include -iquote /home/pjones/devel/github.com/shim/gcc-fanalyzer -iquote /home/pjones/devel/github.com/shim/gcc-fanalyzer -isystem /home/pjones/devel/github.com/shim/gcc-fanalyzer/include/system -isystem /usr/lib/gcc/x86_64-redhat-linux/13/include -DDEFAULT_LOADER='L"\\\\grubx64.efi"' -DDEFAULT_LOADER_CHAR='"\\\\grubx64.efi"' -DEFI_ARCH='L"x64"' -DDEBUGDIR='L"/usr/lib/debug/usr/share/shim/x64-15.7/"' -c -o csv.o csv.c during IPA pass: analyzer csv.c: In function ‘parse_csv_line’: csv.c:30:36: internal compiler error: in make, at analyzer/store.cc:132 30 | columns[n] = NULL; | ^ Please submit a full bug report, with preprocessed source. See <http://bugzilla.redhat.com/bugzilla> for instructions. Preprocessed source stored into /tmp/ccyJ6wGT.out file, please attach this to your bugreport. make: *** [<builtin>: csv.o] Error 1 Reproducible: Always Steps to Reproduce: 1. run gcc with the command line shown in the attached file 2. gcc tells me to file a bug Actual Results: gcc tells me about its bugs Expected Results: gcc tells me about my bugs