URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [function_optimize_4.f90] - Rev 694
Compare with Previous | Blame | View Log
! { dg-do run }! { dg-options "-O" }! PR 48412 - function elimination got temporary varibles in the wrong order.! Test case contributed by Joost VandeVondele.INTEGER FUNCTION S1(m,ma,lx)INTEGER :: m,ma,lxIF (((m < 0).AND.(MODULO(ABS(ma-lx),2) == 1)).OR.&((m > 0).AND.(MODULO(ABS(ma-lx),2) == 0))) THENS1=1ELSES1=0ENDIFEND FUNCTIONINTEGER :: s1IF (S1(1,2,1).NE.0) CALL ABORT()END
