Bug 88053 - [9 regression] g++.dg/lto/pr54625-1.C fails with r266194
Summary: [9 regression] g++.dg/lto/pr54625-1.C fails with r266194
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: testsuite (show other bugs)
Version: 9.0
: P3 normal
Target Milestone: 9.0
Assignee: Richard Biener
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-15 23:22 UTC by seurer
Modified: 2018-11-16 12:23 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2018-11-16 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description seurer 2018-11-15 23:22:56 UTC
I think perhaps this test case was missed when the others were updated for this revision.

> FAIL: g++.dg/lto/pr54625-1 cp_lto_pr54625-1_0.o assemble, -O0 -flto -flto-partition=1to1 -fno-use-linker-plugin 
> FAIL: g++.dg/lto/pr54625-1 cp_lto_pr54625-1_0.o assemble, -O0 -flto -flto-partition=none -fuse-linker-plugin
> FAIL: g++.dg/lto/pr54625-1 cp_lto_pr54625-1_0.o assemble, -O0 -flto -fuse-linker-plugin -fno-fat-lto-objects 
> FAIL: g++.dg/lto/pr54625-1 cp_lto_pr54625-1_0.o assemble, -O2 -flto -flto-partition=1to1 -fno-use-linker-plugin 
> FAIL: g++.dg/lto/pr54625-1 cp_lto_pr54625-1_0.o assemble, -O2 -flto -flto-partition=none -fuse-linker-plugin -fno-fat-lto-objects 
> FAIL: g++.dg/lto/pr54625-1 cp_lto_pr54625-1_0.o assemble, -O2 -flto -fuse-linker-plugin
> FAIL: g++.dg/lto/pr54625-2 cp_lto_pr54625-2_0.o assemble, -O0 -flto -flto-partition=1to1 -fno-use-linker-plugin 
> FAIL: g++.dg/lto/pr54625-2 cp_lto_pr54625-2_0.o assemble, -O0 -flto -flto-partition=none -fuse-linker-plugin
> FAIL: g++.dg/lto/pr54625-2 cp_lto_pr54625-2_0.o assemble, -O0 -flto -fuse-linker-plugin -fno-fat-lto-objects 
> FAIL: g++.dg/lto/pr54625-2 cp_lto_pr54625-2_0.o assemble, -O2 -flto -flto-partition=1to1 -fno-use-linker-plugin 
> FAIL: g++.dg/lto/pr54625-2 cp_lto_pr54625-2_0.o assemble, -O2 -flto -flto-partition=none -fuse-linker-plugin -fno-fat-lto-objects 
> FAIL: g++.dg/lto/pr54625-2 cp_lto_pr54625-2_0.o assemble, -O2 -flto -fuse-linker-plugin

spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-trunk/gcc/xgcc -B/home/seurer/gcc/build/gcc-trunk/gcc/ -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=never -O0 -flto -flto-partition=1to1 -fno-use-linker-plugin -c -o cp_lto_pr54625-1_0.o /home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/lto/pr54625-1_0.c
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/lto/pr54625-1_0.c: In function 'speex_resampler_init_frac':
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/lto/pr54625-1_0.c:9:12: warning: 'sin' argument 1 type is 'int' where 'double' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch]
/home/seurer/gcc/gcc-trunk/gcc/testsuite/g++.dg/lto/pr54625-1_0.c:5:8: note: built-in 'sin' declared here
FAIL: g++.dg/lto/pr54625-1 cp_lto_pr54625-1_0.o assemble, -O0 -flto -flto-partition=1to1 -fno-use-linker-plugin
Comment 1 Richard Biener 2018-11-16 09:28:09 UTC
Author: rguenth
Date: Fri Nov 16 09:27:36 2018
New Revision: 266202

URL: https://gcc.gnu.org/viewcvs?rev=266202&root=gcc&view=rev
Log:
2018-11-16  Richard Biener  <rguenther@suse.de>

	PR testsuite/88053
	* g++.dg/lto/pr54625-1_0.c: Add -w.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/lto/pr54625-1_0.c
Comment 2 Richard Biener 2018-11-16 09:29:02 UTC
Fixed by adding -w.
Comment 3 Richard Biener 2018-11-16 12:23:20 UTC
Author: rguenth
Date: Fri Nov 16 12:22:48 2018
New Revision: 266206

URL: https://gcc.gnu.org/viewcvs?rev=266206&root=gcc&view=rev
Log:
2018-11-16  Richard Biener  <rguenther@suse.de>

	PR testsuite/88053
	* g++.dg/lto/pr54625-2_0.c: Add -w.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/lto/pr54625-2_0.c