Ken Werner reported for spu-unknown-elf: "I'm getting the following message: "error: integral result type precision does not match field size of BIT_FIELD_REF". It looks like this could be a problem of the frontend. Please find attached the complete output and let me know if you need further infos."
$ /home/kwerner/dailybuild/spu-tc-2010-03-01/gcc-build/gcc/testsuite/gfortran2/../../gfortran -B/home/kwerner/dailybuild/spu-tc-2010-03-01/gcc-build/gcc/testsuite/gfortran2/../../ /home/kwerner/dailybuild/spu-tc-2010-03-01/gcc-head/src/gcc/testsuite/gfortran.dg/logical_dot_product.f90 -O3 -fomit-frame-pointer -pedantic-errors -Wl,--gc-sections -B/home/kwerner/dailybuild/spu-tc-2010-03-01/gcc-build/spu/./libgfortran/.libs -L/home/kwerner/dailybuild/spu-tc-2010-03-01/gcc-build/spu/./libgfortran/.libs -L/home/kwerner/dailybuild/spu-tc-2010-03-01/gcc-build/spu/./libiberty -Wl,--auto-overlay -Wl,--reserved-space=131072 -lm -o ./logical_dot_product.exe /home/kwerner/dailybuild/spu-tc-2010-03-01/gcc-head/src/gcc/testsuite/gfortran.dg/logical_dot_product.f90: In function 'main': /home/kwerner/dailybuild/spu-tc-2010-03-01/gcc-head/src/gcc/testsuite/gfortran.dg/logical_dot_product.f90:11:0: error: integral result type precision does not match field size of BIT_FIELD_REF BIT_FIELD_REF <vect_var_.52_105, 32, 0> f951: note: in statement stmp_var_.53_106 = BIT_FIELD_REF <vect_var_.52_105, 32, 0>; /home/kwerner/dailybuild/spu-tc-2010-03-01/gcc-head/src/gcc/testsuite/gfortran.dg/logical_dot_product.f90:11:0: error: integral result type precision does not match field size of BIT_FIELD_REF BIT_FIELD_REF <vect_var_.52_105, 32, 32> f951: note: in statement stmp_var_.53_107 = BIT_FIELD_REF <vect_var_.52_105, 32, 32>; /home/kwerner/dailybuild/spu-tc-2010-03-01/gcc-head/src/gcc/testsuite/gfortran.dg/logical_dot_product.f90:11:0: error: integral result type precision does not match field size of BIT_FIELD_REF BIT_FIELD_REF <vect_var_.52_105, 32, 64> f951: note: in statement stmp_var_.53_109 = BIT_FIELD_REF <vect_var_.52_105, 32, 64>; /home/kwerner/dailybuild/spu-tc-2010-03-01/gcc-head/src/gcc/testsuite/gfortran.dg/logical_dot_product.f90:11:0: error: integral result type precision does not match field size of BIT_FIELD_REF BIT_FIELD_REF <vect_var_.52_105, 32, 96> f951: note: in statement stmp_var_.53_111 = BIT_FIELD_REF <vect_var_.52_105, 32, 96>; /home/kwerner/dailybuild/spu-tc-2010-03-01/gcc-head/src/gcc/testsuite/gfortran.dg/logical_dot_product.f90:11:0: error: integral result type precision does not match field size of BIT_FIELD_REF BIT_FIELD_REF <vect_var_.31_73, 32, 0> f951: note: in statement stmp_var_.32_74 = BIT_FIELD_REF <vect_var_.31_73, 32, 0>; /home/kwerner/dailybuild/spu-tc-2010-03-01/gcc-head/src/gcc/testsuite/gfortran.dg/logical_dot_product.f90:11:0: error: integral result type precision does not match field size of BIT_FIELD_REF BIT_FIELD_REF <vect_var_.31_73, 32, 32> f951: note: in statement stmp_var_.32_75 = BIT_FIELD_REF <vect_var_.31_73, 32, 32>; /home/kwerner/dailybuild/spu-tc-2010-03-01/gcc-head/src/gcc/testsuite/gfortran.dg/logical_dot_product.f90:11:0: error: integral result type precision does not match field size of BIT_FIELD_REF BIT_FIELD_REF <vect_var_.31_73, 32, 64> f951: note: in statement stmp_var_.32_77 = BIT_FIELD_REF <vect_var_.31_73, 32, 64>; /home/kwerner/dailybuild/spu-tc-2010-03-01/gcc-head/src/gcc/testsuite/gfortran.dg/logical_dot_product.f90:11:0: error: integral result type precision does not match field size of BIT_FIELD_REF BIT_FIELD_REF <vect_var_.31_73, 32, 96> f951: note: in statement stmp_var_.32_79 = BIT_FIELD_REF <vect_var_.31_73, 32, 96>; /home/kwerner/dailybuild/spu-tc-2010-03-01/gcc-head/src/gcc/testsuite/gfortran.dg/logical_dot_product.f90:11:0: internal compiler error: verify_stmts failed Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. -- Summary: logical_dot_product.f90: error: integral result type precision does not match field size of BIT_FIELD_REF Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org GCC target triplet: spu-unknown-elf http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43390