This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/28176] FAIL: gfortran.dg/actual_array_constructor_1.f90 -O0 (ICE)



------- Comment #8 from sje at cup dot hp dot com  2006-10-19 18:09 -------
Well, I found that the TImode is getting introduced in layout_type.  For an
ARRAY_TYPE tree there is this line:

            TYPE_SIZE (type) = size_binop (MULT_EXPR, element_size,
                                           fold_convert (bitsizetype,
                                                         length));

If you look at bitsizetype, you will find that it is TImode and thus the
resulting expression is TImode.  bitsizetype is set in set_sizetype based on 2
* BITS_PER_UNIT_LOG which is 64 for hppa64.  Thus our problem.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28176


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]