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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
             Status|UNCONFIRMED                 |NEW
      Known to work|                            |5.4.0, 6.3.0
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|                            |2017-06-03
     Ever confirmed|0                           |1
            Summary|ICE with class argument and |[7/8 Regression] ICE with
                   |-O2 optimization            |class argument and -O2
                   |                            |optimization
   Target Milestone|---                         |7.2
      Known to fail|                            |7.1.0, 8.0

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed for gcc-7 and trunk (8.0).

If the compiler is configured with --enable-checking=yes, I get

pr80965.f90:3:0:

 subroutine xyz(loc)

Error: mismatching comparison operand types
void (*<T923>) ()
integer(kind=4)
if (loc.2_2 == 177599) goto <D.3553>; else goto <D.3554>;
pr80965.f90:3:0: Error: mismatching comparison operand types
void (*<T923>) ()
integer(kind=4)
if (loc.3_3 == 64409183) goto <D.3555>; else goto <D.3556>;
pr80965.f90:3:0: internal compiler error: verify_gimple failed

pr80965.f90:3:0: internal compiler error: Abort trap: 6

without/with optimization.

Reply via email to