public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "doko at debian dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/97634] New: [10/11 Regression] ICE 'verify_gimple' failed on arm-linux-gnueabihf
Date: Thu, 29 Oct 2020 21:24:51 +0000	[thread overview]
Message-ID: <bug-97634-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 97634
           Summary: [10/11 Regression] ICE 'verify_gimple' failed on
                    arm-linux-gnueabihf
           Product: gcc
           Version: 10.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at debian dot org
  Target Milestone: ---

seen building webkit2gtk with current gcc-10 branch and trunk on
arm-linux-gnueabihf:

$ cat foo.ii
class ResourceResponseBase {
  enum class Tainting { Opaque, Opaqueredirect };
  void sanitizeHTTPHeaderFieldsAccordingToTainting();
  Tainting m_tainting : 2;
};
void ResourceResponseBase::sanitizeHTTPHeaderFieldsAccordingToTainting() {
  switch (m_tainting)
  case Tainting::Opaque:
  case Tainting::Opaqueredirect:;
}

$ g++ -c -Wall -std=c++17 foo.ii
foo.ii: In member function 'void
ResourceResponseBase::sanitizeHTTPHeaderFieldsAccordingToTainting()':
foo.ii:6:6: error: type precision mismatch in switch statement
    6 | void
ResourceResponseBase::sanitizeHTTPHeaderFieldsAccordingToTainting() {
      |      ^~~~~~~~~~~~~~~~~~~~
switch (_1) <default: <D.5888>, case 0: <D.5882>, case 1: <D.5883>>
foo.ii:6:6: internal compiler error: 'verify_gimple' failed
0x965511 verify_gimple_in_seq(gimple*)
        ../../src/gcc/tree-cfg.c:5113
0x6e8acb gimplify_body(tree_node*, bool)
        ../../src/gcc/gimplify.c:14998
0x6e8d2b gimplify_function_tree(tree_node*)
        ../../src/gcc/gimplify.c:15069
0x546c1f cgraph_node::analyze()
        ../../src/gcc/cgraphunit.c:671
0x5493c5 analyze_functions
        ../../src/gcc/cgraphunit.c:1234
0x54a24f symbol_table::finalize_compilation_unit()
        ../../src/gcc/cgraphunit.c:2994
Please submit a full bug report,
with preprocessed source if appropriate.

configured with 

--with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb 
--enable-checking=yes,extra,rtl
--enable-default-pie

             reply	other threads:[~2020-10-29 21:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-29 21:24 doko at debian dot org [this message]
2020-10-30  8:30 ` [Bug c++/97634] " rguenth at gcc dot gnu.org
2020-10-30  9:08 ` marxin at gcc dot gnu.org
2020-12-08 22:25 ` mpolacek at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-97634-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).