From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C5C0D3887003; Mon, 13 Apr 2020 14:49:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C5C0D3887003 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1586789350; bh=ShqcaylxkpQxTwjKc4NzQ+E6El7gIOAKoydISrUiHWE=; h=From:To:Subject:Date:From; b=dk7zOG72JSOM92onNQ+bEJ8TmheD+niWFBSgnmjdkVWhEchR1Iy2h4ozYRflQAPnM IoVfRf+hJvgyhZ5IHYXgYyXSomBndEaf+N6IFWbQ228FjpxXWlPXy8wwKBcG8X7UAF vII/QigMm1WzA5cejzTJg7TSugb9yBexEVw8/HxE= From: "u9012063 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/94579] New: OVS compiled with gcc10 with -fanalyzer Date: Mon, 13 Apr 2020 14:49:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: u9012063 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2020 14:49:10 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94579 Bug ID: 94579 Summary: OVS compiled with gcc10 with -fanalyzer Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: u9012063 at gmail dot com Target Milestone: --- Hi, I'd like to create an account to submit a bug for gcc10 when compiling openvswitch $ uname -a Linux osboxes 5.5.0-rc1+ #112 SMP Fri Feb 21 10:28:49 PST 2020 x86_64 x86_64 x86_64 GNU/L $ gcc -v Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/local/libexec/gcc/x86_64-pc-linux-gnu/10.0.1/lto= -wrapper Target: x86_64-pc-linux-gnu Configured with: ./configure Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.0.1 20200405 (experimental) (GCC)=20 $ git clone https://github.com/openvswitch/ovs.git $ cd ovs $ ./boot.sh; ./configure; make CFLAGS+=3D-fanalyzer In file included from lib/flow.h:31, from lib/flow.c:18: lib/packets.h: In function =E2=80=98in6_addr_mapped_ipv4=E2=80=99: lib/packets.h:1187:12: internal compiler error: in saved_diagnostic, at analyzer/diagnostic-manager.cc:84 1187 | return ip6; | ^~~ 0x7888f9 ana::saved_diagnostic::saved_diagnostic(ana::state_machine const*, ana::exploded_node const*, ana::supernode const*, gimple const*, ana::stmt_finder*, tree_node*, unsigned int, ana::pending_diagnostic*) ../.././gcc/analyzer/diagnostic-manager.cc:84 0x1757703 ana::diagnostic_manager::add_diagnostic(ana::state_machine const*, ana::exploded_node const*, ana::supernode const*, gimple const*, ana::stmt_finder*, tree_node*, unsigned int, ana::pending_diagnostic*) ../.././gcc/analyzer/diagnostic-manager.cc:175 0x17578f9 ana::diagnostic_manager::add_diagnostic(ana::exploded_node const*, ana::supernode const*, gimple const*, ana::stmt_finder*, ana::pending_diagnostic*) ../.././gcc/analyzer/diagnostic-manager.cc:192 0x10aead4 ana::impl_region_model_context::warn(ana::pending_diagnostic*) ../.././gcc/analyzer/engine.cc:114 0x10d3664 ana::region_model::deref_rvalue(ana::svalue_id, ana::region_model_context*) ../.././gcc/analyzer/region-model.cc:5458 0x10d59de ana::region_model::get_or_create_mem_ref(tree_node*, ana::svalue_id, ana::svalue_id, ana::region_model_context*) ../.././gcc/analyzer/region-model.cc:6971 0x10d62b3 ana::region_model::get_lvalue(ana::path_var, ana::region_model_context*) ../.././gcc/analyzer/region-model.cc:5068 0x10de90d ana::region_model::update_for_return_superedge(ana::return_supere= dge const&, ana::region_model_context*) ../.././gcc/analyzer/region-model.cc:6171 0x10dea17 ana::region_model::maybe_update_for_edge(ana::superedge const&, gimple const*, ana::region_model_context*) ../.././gcc/analyzer/region-model.cc:6092 0x10c37d2 ana::program_state::on_edge(ana::exploded_graph&, ana::exploded_node const&, ana::superedge const*, ana::state_change*) ../.././gcc/analyzer/program-state.cc:829 0x10af589 ana::exploded_node::on_edge(ana::exploded_graph&, ana::superedge const*, ana::program_point*, ana::program_state*, ana::state_change*) const ../.././gcc/analyzer/engine.cc:1153 0x10b6b5b ana::exploded_graph::process_node(ana::exploded_node*) ../.././gcc/analyzer/engine.cc:2597 0x10b716a ana::exploded_graph::process_worklist() ../.././gcc/analyzer/engine.cc:2348 0x10b787b ana::impl_run_checkers(ana::logger*) ../.././gcc/analyzer/engine.cc:4029 0x10b840c ana::run_checkers() ../.././gcc/analyzer/engine.cc:4097 0x10ad598 execute ../.././gcc/analyzer/analyzer-pass.cc:84 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.=