> This patch is causing ICEs on arm and aarch64, and others according to
> gcc-testresults:
> on aarch64:
>     g++.dg/ipa/devirt-7.C  -std=gnu++14 (internal compiler error)
>     g++.dg/ipa/devirt-7.C  -std=gnu++17 (internal compiler error)
>     g++.dg/ipa/devirt-7.C  -std=gnu++2a (internal compiler error)
>     g++.dg/ipa/devirt-7.C  -std=gnu++98 (internal compiler error)
>     g++.dg/ipa/pr71146.C  -std=gnu++14 (internal compiler error)
>     g++.dg/ipa/pr71146.C  -std=gnu++17 (internal compiler error)
>     g++.dg/ipa/pr71146.C  -std=gnu++2a (internal compiler error)
>     g++.dg/ipa/pr71146.C  -std=gnu++98 (internal compiler error)
>     g++.dg/ipa/pr85421.C   (internal compiler error)
>     g++.dg/ipa/pr92528.C   (internal compiler error)
>     g++.dg/lto/pr89330 cp_lto_pr89330_0.o-cp_lto_pr89330_1.o link,
> -O3 -g -flto -shared -fPIC -Wno-odr  (internal compiler error)
>     g++.dg/torture/covariant-1.C   -O2 -flto -fno-use-linker-plugin
> -flto-partition=none  (internal compiler error)
>     g++.dg/torture/covariant-1.C   -O2 -flto -fuse-linker-plugin
> -fno-fat-lto-objects  (internal compiler error)
>     g++.dg/torture/pr46287.C   -O2  (internal compiler error)
>     g++.dg/torture/pr46287.C   -O2 -flto -fno-use-linker-plugin
> -flto-partition=none  (internal compiler error)
>     g++.dg/torture/pr46287.C   -O2 -flto -fuse-linker-plugin
> -fno-fat-lto-objects  (internal compiler error)
>     g++.dg/torture/pr46287.C   -O3 -fomit-frame-pointer -funroll-loops
> -fpeel-loops -ftracer -finline-functions  (internal compiler error)
>     g++.dg/torture/pr46287.C   -O3 -g  (internal compiler error)
>     g++.dg/torture/pr78692.C   -O2  (internal compiler error)
>     g++.dg/torture/pr78692.C   -O2 -flto -fno-use-linker-plugin
> -flto-partition=none  (internal compiler error)
>     g++.dg/torture/pr78692.C   -O3 -g  (internal compiler error)
>     g++.dg/torture/pr83619.C   -O2  (internal compiler error)
>     g++.dg/torture/pr83619.C   -O2 -flto -fno-use-linker-plugin
> -flto-partition=none  (internal compiler error)
>     g++.dg/torture/pr83619.C   -O3 -g  (internal compiler error)
> 
> The backtrace includes:
> FAIL: g++.dg/ipa/devirt-7.C  -std=gnu++98 (internal compiler error)
> FAIL: g++.dg/ipa/devirt-7.C  -std=gnu++98 (test for excess errors)
> Excess errors:
> /gcc/testsuite/g++.dg/ipa/devirt-7.C:85:1: internal compiler error: in
> release_body, at cgraph.c:1863
> 0xb98d4f cgraph_node::release_body(bool)
>         /gcc/cgraph.c:1863
> 0xba7f3c expand_all_functions
>         /gcc/cgraphunit.c:1994
> 0xba7f3c symbol_table::compile()
>         /gcc/cgraphunit.c:2358
> 0xbab204 symbol_table::finalize_compilation_unit()
>         /gcc/cgraphunit.c:2539
> 
> Can you check/fix?

I checked in a fix for most of the yesterday (I added last minute check
that was too restrictive and apparently did not fully re-test by
mistake).  In some setups there is one failure
libgomp.c/declare-variant-1.c remaining that is different, I am looking
into it now and will fix it soon.

Honza

Reply via email to