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/46794] ICE on valid code involving power of small integer kinds


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

--- Comment #4 from Daniel Kraft <domob at gcc dot gnu.org> 2010-12-04 12:12:40 UTC ---
Author: domob
Date: Sat Dec  4 12:12:35 2010
New Revision: 167454

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167454
Log:
2010-12-04  Daniel Kraft  <d@domob.eu>

    PR fortran/46794
    * trans-expr.c (gfc_conv_power_op): Handle kind of result expression
    correctly for integer kind 1 and 2 operands.

2010-12-04  Daniel Kraft  <d@domob.eu>

    PR fortran/46794
    * gfortran.dg/power2.f90: New test.

Added:
    branches/gcc-4_5-branch/gcc/testsuite/gfortran.dg/power2.f90
Modified:
    branches/gcc-4_5-branch/gcc/fortran/ChangeLog
    branches/gcc-4_5-branch/gcc/fortran/trans-expr.c
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog


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