This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/83490] New: [8 Regression] ICE in find_call_stack_args, at dce.c:392


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

            Bug ID: 83490
           Summary: [8 Regression] ICE in find_call_stack_args, at
                    dce.c:392
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: mpolacek at gcc dot gnu.org
  Target Milestone: ---

Starting from Marek's r255066 we ICE on:

$ g++ /home/marxin/Programming/gcc/gcc/testsuite/g++.dg/warn/pr36921.C 
-fipa-icf-functions -Og -maccumulate-outgoing-args
during RTL pass: rtl_dce
/home/marxin/Programming/gcc/gcc/testsuite/g++.dg/warn/pr36921.C: In function
‘A operator>(A, A)’:
/home/marxin/Programming/gcc/gcc/testsuite/g++.dg/warn/pr36921.C:8:3: internal
compiler error: in find_call_stack_args, at dce.c:392
 A operator>(A, A) { return A(); }
   ^~~~~~~~
0x153dcea find_call_stack_args
        ../../gcc/dce.c:392
0x153e49d prescan_insns_for_dce
        ../../gcc/dce.c:650
0x153ea79 fast_dce
        ../../gcc/dce.c:1063
0x153f6f4 rest_of_handle_fast_dce
        ../../gcc/dce.c:1158

ICE is somehow included here, should I take care Marek?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]