This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/41069] lto1: error: type mismatch in indirect reference
- From: "jv244 at cam dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Aug 2009 16:31:01 -0000
- Subject: [Bug middle-end/41069] lto1: error: type mismatch in indirect reference
- References: <bug-41069-6642@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from jv244 at cam dot ac dot uk 2009-08-14 16:30 -------
Created an attachment (id=18365)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18365&action=view)
testcase
'reduced' testcase, untar to get:
gfortran -flto -O2 -ffree-form -march=native -cpp -D__FFTSG mltfftsg_tools.F
mltfftsg.F fftstp.F fftsg_lib.F ctrig.F main.f90 fftpre.F fftrot.F
main.f90:9.7:
CALL s(zin,zout)
1
Warning: Type mismatch in argument 'zin' at (1); passed REAL(8) to COMPLEX(8)
In function ?fftsg3d?:
lto1: error: type mismatch in indirect reference
<unnamed-signed:32>[0:]
__complex__ <float:64>[27]
# VUSE <.MEM_234(D)>
nx.5_5 = (*n_4(D))[0];
lto1: error: type mismatch in indirect reference
<unnamed-signed:32>[0:]
__complex__ <float:64>[27]
# VUSE <.MEM_235>
ny.6_6 = (*n_4(D))[1];
lto1: error: type mismatch in indirect reference
<unnamed-signed:32>[0:]
__complex__ <float:64>[27]
# VUSE <.MEM_236>
nz.7_7 = (*n_4(D))[2];
lto1: 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.
lto-wrapper: /data03/vondele/gcc_lto/build/bin/gfortran returned 1 exit status
collect2: lto-wrapper returned 1 exit status
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41069