[Bug tree-optimization/56347] New: [4.8 Regression] FAIL: gfortran.dg/integer_exponentiation_2.f90 -O2 execution test
danglin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 15 16:38:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56347
Bug #: 56347
Summary: [4.8 Regression] FAIL:
gfortran.dg/integer_exponentiation_2.f90 -O2
execution test
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: danglin@gcc.gnu.org
Host: hppa2.0w-hp-hpux11.11
Target: hppa2.0w-hp-hpux11.11
Build: hppa2.0w-hp-hpux11.11
Executing on host: /test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../gfortran
-B
/test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../
-B/test/gnu/gcc/objdir/hppa2.
0w-hp-hpux11.11/./libgfortran/
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integ
er_exponentiation_2.f90 -fno-diagnostics-show-caret -O2
-B/test/gnu/gcc/ob
jdir/hppa2.0w-hp-hpux11.11/./libgfortran/.libs
-L/test/gnu/gcc/objdir/hppa2.0w-h
p-hpux11.11/./libgfortran/.libs
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./l
ibgfortran/.libs
-B/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libquadmath/.lib
s -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libquadmath/.libs
-L/test/gnu/g
cc/objdir/hppa2.0w-hp-hpux11.11/./libquadmath/.libs -lm -o
./integer_exponent
iation_2.exe (timeout = 300)
spawn /test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../gfortran
-B/test/gnu/gcc
/objdir/gcc/testsuite/gfortran/../../
-B/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.
11/./libgfortran/
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentia
tion_2.f90 -fno-diagnostics-show-caret -O2
-B/test/gnu/gcc/objdir/hppa2.0w-hp-hp
ux11.11/./libgfortran/.libs
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgfortran/.libs
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgfortran/.libs
-B/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libquadmath/.libs
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libquadmath/.libs
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libquadmath/.libs -lm -o
./integer_exponentiation_2.exe
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90:142.13:
call gee_i(i**0_8) ! { dg-warning "Type mismatch in argument" }
1
Warning: Type mismatch in argument 'i' at (1); passed INTEGER(8) to INTEGER(4)
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90:143.13:
call gee_i(i**1_8) ! { dg-warning "Type mismatch in argument" }
1
Warning: Type mismatch in argument 'i' at (1); passed INTEGER(8) to INTEGER(4)
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90:144.13:
call gee_i(i**2_8) ! { dg-warning "Type mismatch in argument" }
1
Warning: Type mismatch in argument 'i' at (1); passed INTEGER(8) to INTEGER(4)
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90:145.13:
call gee_i(i**3_8) ! { dg-warning "Type mismatch in argument" }
1
Warning: Type mismatch in argument 'i' at (1); passed INTEGER(8) to INTEGER(4)
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90:146.13:
call gee_i(i**(-1_8)) ! { dg-warning "Type mismatch in argument" }
1
Warning: Type mismatch in argument 'i' at (1); passed INTEGER(8) to INTEGER(4)
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90:147.13:
call gee_i(i**(-2_8)) ! { dg-warning "Type mismatch in argument" }
1
Warning: Type mismatch in argument 'i' at (1); passed INTEGER(8) to INTEGER(4)
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90:148.13:
call gee_i(i**(-3_8)) ! { dg-warning "Type mismatch in argument" }
1
Warning: Type mismatch in argument 'i' at (1); passed INTEGER(8) to INTEGER(4)
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90:149.13:
call gee_i(i**huge(0_8)) ! { dg-warning "Type mismatch in argument" }
1
Warning: Type mismatch in argument 'i' at (1); passed INTEGER(8) to INTEGER(4)
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90:150.13:
call gee_i(i**(-huge(0_8))) ! { dg-warning "Type mismatch in argument" }
1
Warning: Type mismatch in argument 'i' at (1); passed INTEGER(8) to INTEGER(4)
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90:151.13:
call gee_i(i**(-huge(0_8)-1_8)) ! { dg-warning "Type mismatch in argument" }
1
Warning: Type mismatch in argument 'i' at (1); passed INTEGER(8) to INTEGER(4)
output is:
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90:142.13:
call gee_i(i**0_8) ! { dg-warning "Type mismatch in argument" }
1
Warning: Type mismatch in argument 'i' at (1); passed INTEGER(8) to INTEGER(4)
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90:143.13:
call gee_i(i**1_8) ! { dg-warning "Type mismatch in argument" }
1
Warning: Type mismatch in argument 'i' at (1); passed INTEGER(8) to INTEGER(4)
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90:144.13:
call gee_i(i**2_8) ! { dg-warning "Type mismatch in argument" }
1
Warning: Type mismatch in argument 'i' at (1); passed INTEGER(8) to INTEGER(4)
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90:145.13:
call gee_i(i**3_8) ! { dg-warning "Type mismatch in argument" }
1
Warning: Type mismatch in argument 'i' at (1); passed INTEGER(8) to INTEGER(4)
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90:146.13:
call gee_i(i**(-1_8)) ! { dg-warning "Type mismatch in argument" }
1
Warning: Type mismatch in argument 'i' at (1); passed INTEGER(8) to INTEGER(4)
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90:147.13:
call gee_i(i**(-2_8)) ! { dg-warning "Type mismatch in argument" }
1
Warning: Type mismatch in argument 'i' at (1); passed INTEGER(8) to INTEGER(4)
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90:148.13:
call gee_i(i**(-3_8)) ! { dg-warning "Type mismatch in argument" }
1
Warning: Type mismatch in argument 'i' at (1); passed INTEGER(8) to INTEGER(4)
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90:149.13:
call gee_i(i**huge(0_8)) ! { dg-warning "Type mismatch in argument" }
1
Warning: Type mismatch in argument 'i' at (1); passed INTEGER(8) to INTEGER(4)
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90:150.13:
call gee_i(i**(-huge(0_8))) ! { dg-warning "Type mismatch in argument" }
1
Warning: Type mismatch in argument 'i' at (1); passed INTEGER(8) to INTEGER(4)
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90:151.13:
call gee_i(i**(-huge(0_8)-1_8)) ! { dg-warning "Type mismatch in argument" }
1
Warning: Type mismatch in argument 'i' at (1); passed INTEGER(8) to INTEGER(4)
PASS: gfortran.dg/integer_exponentiation_2.f90 -O2 (test for warnings, line
142)
PASS: gfortran.dg/integer_exponentiation_2.f90 -O2 (test for warnings, line
143)
PASS: gfortran.dg/integer_exponentiation_2.f90 -O2 (test for warnings, line
144)
PASS: gfortran.dg/integer_exponentiation_2.f90 -O2 (test for warnings, line
145)
PASS: gfortran.dg/integer_exponentiation_2.f90 -O2 (test for warnings, line
146)
PASS: gfortran.dg/integer_exponentiation_2.f90 -O2 (test for warnings, line
147)
PASS: gfortran.dg/integer_exponentiation_2.f90 -O2 (test for warnings, line
148)
PASS: gfortran.dg/integer_exponentiation_2.f90 -O2 (test for warnings, line
149)
PASS: gfortran.dg/integer_exponentiation_2.f90 -O2 (test for warnings, line
150)
PASS: gfortran.dg/integer_exponentiation_2.f90 -O2 (test for warnings, line
151)
PASS: gfortran.dg/integer_exponentiation_2.f90 -O2 (test for excess errors)
Setting LD_LIBRARY_PATH to
.:/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgfortran/.libs:/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgfortran/.libs:/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libquadmath/.libs:/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libquadmath/.libs:/test/gnu/gcc/objdir/gcc:.:/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgfortran/.libs:/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgfortran/.libs:/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libquadmath/.libs:/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libquadmath/.libs:/test/gnu/gcc/objdir/gcc
spawn [open ...]
Program aborted. Backtrace:
#0 0xC1239FEF
FAIL: gfortran.dg/integer_exponentiation_2.f90 -O2 execution test
Component is just a guess.
Test appears to fail on this test:
36 call check_equal_r (a**(-2.0), (1/a)*(1/a))
(gdb)
85 if (abs(a - b) > 1.e-5 * abs(b)) call abort
(gdb)
95 if (a /= b) call abort
(gdb)
0x00002e08 in _gfortran_abort ()
at ../../../gcc/libgfortran/intrinsics/abort.c:32
32 {
Introduced between 195125 and 195497.
More information about the Gcc-bugs
mailing list