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/31120] ICE with integer_exponentiation_1.f90 and -ffast-math



------- Comment #9 from fxcoudert at gcc dot gnu dot org  2007-03-17 19:58 -------
Subject: Bug 31120

Author: fxcoudert
Date: Sat Mar 17 19:58:37 2007
New Revision: 123028

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123028
Log:
        PR fortran/31120

        * trans-expr.c (gfc_conv_powi): Make n argument unsigned hwi.
        (gfc_conv_cst_int_power): Handle integer exponent with care,
        since it might be too large for us.

        * gfortran.dg/integer_exponentiation_2.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-expr.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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