On Tue, 28 Apr 2015, Jan Hubicka wrote:

> Hi,
> actually I bootstrapped/regtested without fortran (as I frogot the setting 
> from
> LTO bootstrap).  There are several new warnings in the fortran's testsuite.
> As far as I can tell, they represent real mismatches.  I wonder, do we want
> to fix the testcases (some fortran-fu would be needed), disable warnings on 
> those
> or explicitely allow excess warnings (bcause we still have no way to match
> link-time warnings)?

Please disable the warnigns by default unless -Wodr is given.  I also
explicitely pointed you to an existing PR with Fortran vs. C 
interoperability...  so you could have double-checked.

There is still the

FAIL: g++.dg/tree-ssa/pr61034.C  -std=gnu++11  scan-tree-dump-times fre2 
"free" 
18
FAIL: g++.dg/tree-ssa/pr61034.C  -std=gnu++14  scan-tree-dump-times fre2 
"free" 
18
FAIL: g++.dg/tree-ssa/pr61034.C  -std=gnu++98  scan-tree-dump-times fre2 
"free" 

from one of your patches.  Please make sure you fix testsuite fallout
you cause quickly.

Richard.

> Honza
> 
> spawn /aux/hubicka/trunk-8/build5/gcc/testsuite/gfortran3/../../gfortran 
> -B/aux/hubicka/trunk-8/build5/gcc/testsuite/gfortran3/../../ 
> -B/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libgfortran/ 
> f_lto_20091028-1_0.o f_lto_20091028-1_1.o -fno-diagnostics-show-caret 
> -fdiagnostics-color=never -O0 -flto -flto-partition=none -fuse-linker-plugin 
> -r -nostdlib -finline-functions 
> -B/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libgfortran/.libs 
> -L/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libgfortran/.libs 
> -L/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libgfortran/.libs 
> -L/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libatomic/.libs 
> -B/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libquadmath/.libs 
> -L/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libquadmath/.libs 
> -L/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libquadmath/.libs -o 
> gfortran-dg-lto-20091028-1-01.exe
> /aux/hubicka/trunk-8/gcc/testsuite/gfortran.dg/lto/20091028-1_0.f90:7:0: 
> warning: type of 'int_gen_ti_header_c' does not match original declaration
> lto1: note: return value type mismatch
> lto1: note: type 'int' should match type 'void'
> /aux/hubicka/trunk-8/gcc/testsuite/gfortran.dg/lto/20091028-1_1.c:3:5: note: 
> previously declared here
> 
> spawn /aux/hubicka/trunk-8/build5/gcc/testsuite/gfortran3/../../gfortran 
> -B/aux/hubicka/trunk-8/build5/gcc/testsuite/gfortran3/../../ 
> -B/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libgfortran/ 
> f_lto_pr40724_0.o f_lto_pr40724_1.o -fno-diagnostics-show-caret 
> -fdiagnostics-color=never -O0 -flto -flto-partition=none -fuse-linker-plugin 
> -B/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libgfortran/.libs 
> -L/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libgfortran/.libs 
> -L/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libgfortran/.libs 
> -L/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libatomic/.libs 
> -B/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libquadmath/.libs 
> -L/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libquadmath/.libs 
> -L/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libquadmath/.libs -o 
> gfortran-dg-lto-pr40724-01.exe
> /aux/hubicka/trunk-8/gcc/testsuite/gfortran.dg/lto/pr40724_1.f:2:0: warning: 
> type of 'f' does not match original declaration
> lto1: note: types have different parameter counts
> /aux/hubicka/trunk-8/gcc/testsuite/gfortran.dg/lto/pr40724_0.f:1:0: note: 
> previously declared here
> 
> spawn /aux/hubicka/trunk-8/build5/gcc/testsuite/gfortran3/../../gfortran 
> -B/aux/hubicka/trunk-8/build5/gcc/testsuite/gfortran3/../../ 
> -B/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libgfortran/ 
> f_lto_pr41069_0.o f_lto_pr41069_1.o f_lto_pr41069_2.o 
> -fno-diagnostics-show-caret -fdiagnostics-color=never -O0 -flto 
> -flto-partition=none -fuse-linker-plugin 
> -B/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libgfortran/.libs 
> -L/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libgfortran/.libs 
> -L/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libgfortran/.libs 
> -L/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libatomic/.libs 
> -B/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libquadmath/.libs 
> -L/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libquadmath/.libs 
> -L/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libquadmath/.libs -o 
> gfortran-dg-lto-pr41069-01.exe
> /aux/hubicka/trunk-8/gcc/testsuite/gfortran.dg/lto/pr41069_1.f90:4:0: 
> warning: type of 'mltfftsg' does not match original declaration
> lto1: note: types have different parameter counts
> /aux/hubicka/trunk-8/gcc/testsuite/gfortran.dg/lto/pr41069_1.f90:4:0: 
> warning: type of 'mltfftsg' does not match original declaration
> lto1: note: types have different parameter counts
> /aux/hubicka/trunk-8/gcc/testsuite/gfortran.dg/lto/pr41069_0.f90:2:0: note: 
> previously declared here
> 
> spawn /aux/hubicka/trunk-8/build5/gcc/testsuite/gfortran3/../../gfortran 
> -B/aux/hubicka/trunk-8/build5/gcc/testsuite/gfortran3/../../ 
> -B/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libgfortran/ 
> f_lto_pr41521_0.o f_lto_pr41521_1.o -fno-diagnostics-show-caret 
> -fdiagnostics-color=never -g -O -flto 
> -B/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libgfortran/.libs 
> -L/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libgfortran/.libs 
> -L/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libgfortran/.libs 
> -L/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libatomic/.libs 
> -B/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libquadmath/.libs 
> -L/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libquadmath/.libs 
> -L/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libquadmath/.libs -o 
> gfortran-dg-lto-pr41521-11.exe
> /aux/hubicka/trunk-8/gcc/testsuite/gfortran.dg/lto/pr41521_0.f90:7:0: 
> warning: type of 'atom' does not match original declaration
> lto1: note: types have different parameter counts
> /aux/hubicka/trunk-8/gcc/testsuite/gfortran.dg/lto/pr41521_1.f90:1:0: note: 
> previously declared here
> 
> spawn /aux/hubicka/trunk-8/build5/gcc/testsuite/gfortran11/../../gfortran 
> -B/aux/hubicka/trunk-8/build5/gcc/testsuite/gfortran11/../../ 
> -B/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libgfortran/ 
> f_lto_pr41576_0.o f_lto_pr41576_1.o -fno-diagnostics-show-caret 
> -fdiagnostics-color=never -O2 -flto -Werror 
> -B/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libgfortran/.libs 
> -L/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libgfortran/.libs 
> -L/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libgfortran/.libs 
> -L/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libatomic/.libs 
> -B/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libquadmath/.libs 
> -L/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libquadmath/.libs 
> -L/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libquadmath/.libs -o 
> gfortran-dg-lto-pr41576-01.exe
> /aux/hubicka/trunk-8/gcc/testsuite/gfortran.dg/lto/pr41576_1.f90:4:0: error: 
> type of 'foo' does not match original declaration [-Werror]
> lto1: note: types have different parameter counts
> /aux/hubicka/trunk-8/gcc/testsuite/gfortran.dg/lto/pr41576_0.f90:4:0: note: 
> previously declared here
> lto1: all warnings being treated as errors
> lto-wrapper: fatal error: 
> /aux/hubicka/trunk-8/build5/gcc/testsuite/gfortran11/../../gfortran returned 
> 1 exit status
> compilation terminated.
> /usr/bin/ld: fatal error: lto-wrapper failed
> collect2: error: ld returned 1 exit status
> compiler exited with status 1
> 
> spawn /aux/hubicka/trunk-8/build5/gcc/testsuite/gfortran11/../../gfortran 
> -B/aux/hubicka/trunk-8/build5/gcc/testsuite/gfortran11/../../ 
> -B/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libgfortran/ 
> f_lto_pr60635_0.o f_lto_pr60635_1.o -fno-diagnostics-show-caret 
> -fdiagnostics-color=never -O0 -flto -flto-partition=none -fuse-linker-plugin 
> -B/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libgfortran/.libs 
> -L/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libgfortran/.libs 
> -L/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libgfortran/.libs 
> -L/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libatomic/.libs 
> -B/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libquadmath/.libs 
> -L/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libquadmath/.libs 
> -L/aux/hubicka/trunk-8/build5/x86_64-unknown-linux-gnu/./libquadmath/.libs -o 
> gfortran-dg-lto-pr60635-01.exe
> /aux/hubicka/trunk-8/gcc/testsuite/gfortran.dg/lto/pr60635_0.f90:13:0: 
> warning: type of 'bigendc16' does not match original declaration
> lto1: note: return value type mismatch
> /usr/include/stdint.h:50:28: note: type 'uint16_t' should match type 'short 
> int'
> /aux/hubicka/trunk-8/gcc/testsuite/gfortran.dg/lto/pr60635_1.c:6:10: note: 
> previously declared here
> 
> 

-- 
Richard Biener <rguent...@suse.de>
SUSE LINUX GmbH, GF: Felix Imendoerffer, Jane Smithard, Jennifer Guild,
Dilip Upmanyu, Graham Norton HRB 21284 (AG Nuernberg)

Reply via email to