[Bug analyzer/94999] New: internal compiler error: in saved_diagnostic
tommy-gccbugs at thorn dot ws
gcc-bugzilla@gcc.gnu.org
Fri May 8 08:46:44 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94999
Bug ID: 94999
Summary: internal compiler error: in saved_diagnostic
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: analyzer
Assignee: dmalcolm at gcc dot gnu.org
Reporter: tommy-gccbugs at thorn dot ws
Target Milestone: ---
Created attachment 48478
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48478&action=edit
Reproduces the internal bug
GCC 10 just landed in Ubuntu Focal, identifying itself as
gcc version 10.0.1 20200411 (experimental) [master revision
bb87d5cc77d:75961caccb7:f883c46b4877f637e0fa5025b4d6b5c9040ec566]
(Ubuntu 10-20200411-0ubuntu1)
I gave the analyzer a try and immediately hit an internal error with
$ gcc-10 -fanalyzer -std=c99 bug.c
during IPA pass: analyzer
memory.c: In function ‘mk_entry’:
memory.c:116:12: internal compiler error: in saved_diagnostic, at
analyzer/diagnostic-manager.cc:84
116 | return (struct entry) {safe_calloc(end - start, 1), start, end};
| ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
More information about the Gcc-bugs
mailing list