This is the mail archive of the gcc-patches@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]

[PATCH] Fix PR tree-opt/32527: ICE in build2_stat (aff_combination_scale)


Hi,
  The problem here is aff_combination_scale needs to build the multiply 
expression in sizetype instead of a pointer type when the type of affine 
is a pointer.

OK? Bootstrapped and tested on i686-linux-gnu with no regresions.

Thanks,
Andrew Pinski

ChangeLog:

        * tree-affine.c (aff_combination_scale): Use sizetype for
        mutiplication when the affine is a pointer type.


        * gfortran.fortran-torture/compile/pr32527.f90: New test.

Attachment: fixpr32527.diff.txt
Description: Text document


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