public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug analyzer/94999] New: internal compiler error: in saved_diagnostic
@ 2020-05-08  8:46 tommy-gccbugs at thorn dot ws
  2020-05-08 13:14 ` [Bug analyzer/94999] " dmalcolm at gcc dot gnu.org
  2020-05-08 13:16 ` dmalcolm at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: tommy-gccbugs at thorn dot ws @ 2020-05-08  8:46 UTC (permalink / raw)
  To: gcc-bugs

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-08 13:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-08  8:46 [Bug analyzer/94999] New: internal compiler error: in saved_diagnostic tommy-gccbugs at thorn dot ws
2020-05-08 13:14 ` [Bug analyzer/94999] " dmalcolm at gcc dot gnu.org
2020-05-08 13:16 ` dmalcolm at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).