public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug analyzer/94689] New: arrays of functions are not meaningful
@ 2020-04-21 12:24 pmatos at gcc dot gnu.org
  2020-04-21 12:37 ` [Bug analyzer/94689] " redi at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: pmatos at gcc dot gnu.org @ 2020-04-21 12:24 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 94689
           Summary: arrays of functions are not meaningful
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: analyzer
          Assignee: dmalcolm at gcc dot gnu.org
          Reporter: pmatos at gcc dot gnu.org
  Target Milestone: ---

With head of git from today (2020.04.21), gcc with -fanalyzer return non-zero
exit code for

///
*a;
b;
c() { d((void (*)())a + b); }

///


using the command line:
gcc -O2 -g -fanalyzer  -Wall   -I./.. -I./../include -I./../../rktio
-I../../rktio -pthread -I/usr/lib64/libffi/include   -DUSE_SENORA_GC    -c
foreign.i -o foreign.o

yet, if you remove the -fanalyzer flag it returns exit code 0.

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

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

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-21 12:24 [Bug analyzer/94689] New: arrays of functions are not meaningful pmatos at gcc dot gnu.org
2020-04-21 12:37 ` [Bug analyzer/94689] " redi at gcc dot gnu.org
2020-04-21 12:42 ` jakub at gcc dot gnu.org
2020-04-21 12:46 ` jakub at gcc dot gnu.org
2020-05-12 11:01 ` pmatos at gcc dot gnu.org
2020-08-13 20:33 ` dmalcolm at gcc dot gnu.org
2020-08-13 21:13 ` pmatos 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).