public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/98102] New: [9/10/11 Regression] ICE tree check: expected block, have function_decl in change_scope, at final.c:1480
@ 2020-12-02 17:17 gscfq@t-online.de
  2020-12-03  7:20 ` [Bug c++/98102] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: gscfq@t-online.de @ 2020-12-02 17:17 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98102
           Summary: [9/10/11 Regression] ICE tree check: expected block,
                    have function_decl in change_scope, at final.c:1480
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

This combination of options affects several files
from gcc/testsuite at -O2+, and goes back to r7 :


$ g++-6 -c pr61654.C -g -O2 -fvtable-verify=std -fopenacc
$ g++-11-20201129 -c pr61654.C -g -O1 -fvtable-verify=std -fopenacc
$
$ g++-11-20201129 -c pr61654.C -g -O2 -fvtable-verify=std -fopenacc
during RTL pass: final
pr61654.C: In function '(static initializers for pr61654.C)':
pr61654.C:17:12: internal compiler error: tree check: expected block, have
function_decl in change_scope, at final.c:1480
   17 |   return a ('\0');
      |          ~~^~~~~~
0x64cac4 tree_check_failed(tree_node const*, char const*, int, char const*,
...)
        ../../gcc/tree.c:9810
0xbc4b19 tree_check(tree_node*, char const*, int, char const*, tree_code)
        ../../gcc/tree.h:3331
0xbc4b19 change_scope
        ../../gcc/final.c:1480
0xbce0c0 reemit_insn_block_notes
        ../../gcc/final.c:1581
0xbce0c0 final_start_function_1
        ../../gcc/final.c:1784
0xbce609 rest_of_handle_final
        ../../gcc/final.c:4675
0xbce609 execute
        ../../gcc/final.c:4754

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

* [Bug c++/98102] [9/10/11 Regression] ICE tree check: expected block,  have function_decl in change_scope, at final.c:1480
  2020-12-02 17:17 [Bug c++/98102] New: [9/10/11 Regression] ICE tree check: expected block, have function_decl in change_scope, at final.c:1480 gscfq@t-online.de
@ 2020-12-03  7:20 ` rguenth at gcc dot gnu.org
  2021-01-19 13:52 ` jakub at gcc dot gnu.org
  2021-02-04  1:50 ` mpolacek at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-12-03  7:20 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |9.4
           Keywords|                            |openacc

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
VTV and openacc ... eh

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

* [Bug c++/98102] [9/10/11 Regression] ICE tree check: expected block,  have function_decl in change_scope, at final.c:1480
  2020-12-02 17:17 [Bug c++/98102] New: [9/10/11 Regression] ICE tree check: expected block, have function_decl in change_scope, at final.c:1480 gscfq@t-online.de
  2020-12-03  7:20 ` [Bug c++/98102] " rguenth at gcc dot gnu.org
@ 2021-01-19 13:52 ` jakub at gcc dot gnu.org
  2021-02-04  1:50 ` mpolacek at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-01-19 13:52 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Doesn't ICE anymore after r11-6455-g6b69738c1e30ec31cb11dce1d9209e7a5b92301b
Do we want the testcase into the testsuite with those flags?

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

* [Bug c++/98102] [9/10/11 Regression] ICE tree check: expected block,  have function_decl in change_scope, at final.c:1480
  2020-12-02 17:17 [Bug c++/98102] New: [9/10/11 Regression] ICE tree check: expected block, have function_decl in change_scope, at final.c:1480 gscfq@t-online.de
  2020-12-03  7:20 ` [Bug c++/98102] " rguenth at gcc dot gnu.org
  2021-01-19 13:52 ` jakub at gcc dot gnu.org
@ 2021-02-04  1:50 ` mpolacek at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2021-02-04  1:50 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I think it's not worth it.

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

end of thread, other threads:[~2021-02-04  1:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-02 17:17 [Bug c++/98102] New: [9/10/11 Regression] ICE tree check: expected block, have function_decl in change_scope, at final.c:1480 gscfq@t-online.de
2020-12-03  7:20 ` [Bug c++/98102] " rguenth at gcc dot gnu.org
2021-01-19 13:52 ` jakub at gcc dot gnu.org
2021-02-04  1:50 ` mpolacek 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).