Bug 94334 - new tests gcc.dg/lto/pr94271 fail
Summary: new tests gcc.dg/lto/pr94271 fail
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: testsuite (show other bugs)
Version: 10.0
: P3 normal
Target Milestone: 10.0
Assignee: Martin Liška
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-25 20:56 UTC by Bill Seurer
Modified: 2020-03-26 09:13 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2020-03-26 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bill Seurer 2020-03-25 20:56:14 UTC
g:724ec02c2c6d1b79788be77f68ebb6ca7b5b6acd, r10-7372

This specific revision can't be built because of a compilation error but this is where the test case was introduced.  This was seen on powerpc64.


# of unexpected failures	12
# of unresolved testcases	12
FAIL: gcc.dg/lto/pr94271 c_lto_pr94271_0.o assemble, -O0 -flto -flto-partition=none -fuse-linker-plugin
FAIL: gcc.dg/lto/pr94271 c_lto_pr94271_1.o assemble, -O0 -flto -flto-partition=none -fuse-linker-plugin
FAIL: gcc.dg/lto/pr94271 c_lto_pr94271_0.o assemble, -O2 -flto -flto-partition=none -fuse-linker-plugin -fno-fat-lto-objects 
FAIL: gcc.dg/lto/pr94271 c_lto_pr94271_1.o assemble, -O2 -flto -flto-partition=none -fuse-linker-plugin -fno-fat-lto-objects 
FAIL: gcc.dg/lto/pr94271 c_lto_pr94271_0.o assemble, -O0 -flto -flto-partition=1to1 -fno-use-linker-plugin 
FAIL: gcc.dg/lto/pr94271 c_lto_pr94271_1.o assemble, -O0 -flto -flto-partition=1to1 -fno-use-linker-plugin 
FAIL: gcc.dg/lto/pr94271 c_lto_pr94271_0.o assemble, -O2 -flto -flto-partition=1to1 -fno-use-linker-plugin 
FAIL: gcc.dg/lto/pr94271 c_lto_pr94271_1.o assemble, -O2 -flto -flto-partition=1to1 -fno-use-linker-plugin 
FAIL: gcc.dg/lto/pr94271 c_lto_pr94271_0.o assemble, -O0 -flto -fuse-linker-plugin -fno-fat-lto-objects 
FAIL: gcc.dg/lto/pr94271 c_lto_pr94271_1.o assemble, -O0 -flto -fuse-linker-plugin -fno-fat-lto-objects 
FAIL: gcc.dg/lto/pr94271 c_lto_pr94271_0.o assemble, -O2 -flto -fuse-linker-plugin
FAIL: gcc.dg/lto/pr94271 c_lto_pr94271_1.o assemble, -O2 -flto -fuse-linker-plugin

/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/lto/pr94271_0.c:6:67: error: __attribute__((__target__('avx512f'))) is invalid
Comment 1 Richard Biener 2020-03-26 06:58:17 UTC
Confirmed.
Comment 2 Martin Liška 2020-03-26 08:19:15 UTC
Obvious error, sorry.
Comment 3 Rainer Orth 2020-03-26 09:06:10 UTC
Even on x86, the test can FAIL, e.g. on Solaris/x86:

/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/lto/pr94271_0.c:6:67: error: the call requires 'ifunc', which is not supported by this target
Comment 4 GCC Commits 2020-03-26 09:13:25 UTC
The master branch has been updated by Martin Liska <marxin@gcc.gnu.org>:

https://gcc.gnu.org/g:d6730f06420106af01e26414f046626b5292565d

commit r10-7396-gd6730f06420106af01e26414f046626b5292565d
Author: Martin Liska <mliska@suse.cz>
Date:   Thu Mar 26 10:12:57 2020 +0100

    Skip test for non-x86 targets.
    
            PR testsuite/94334
            * gcc.dg/lto/pr94271_0.c: Skip for non-x86 targets
            and add ifunc effective target.
            * gcc.target/i386/pr81213-2.c: Add ifunc effective target.
Comment 5 Martin Liška 2020-03-26 09:13:45 UTC
Both issues should be fixed now.