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

r121138 - in /branches/gcc-4_1-branch/gcc: fort...


Author: sayle
Date: Wed Jan 24 21:26:59 2007
New Revision: 121138

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121138
Log:

	* trans-intrinsic.c (gfc_conv_intrinsic_sign): Call gfc_evaluate_now
	to prevent re-evaluation of first operand.

	* gfortran.dg/intrinsic_sign_1.f90: New test case.
	* gfortran.dg/intrinsic_sign_2.f90: Likewise.


Added:
    branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/intrinsic_sign_1.f90
    branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/intrinsic_sign_2.f90   (with props)
Modified:
    branches/gcc-4_1-branch/gcc/fortran/ChangeLog
    branches/gcc-4_1-branch/gcc/fortran/trans-intrinsic.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog

Propchange: branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/intrinsic_sign_2.f90
            ('svn:executable' added)



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