OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [predcom-1.f] - Rev 694

Compare with Previous | Blame | View Log

! PR 32160, complex temporary variables were not marked as gimple registers
! { dg-do compile }
! { dg-options "-O3" }
 
      REAL             FUNCTION CLANHT( N, E )
      INTEGER            N
      COMPLEX            E( * )
      INTEGER            I
      REAL               ANORM
      INTRINSIC          ABS
            DO 20 I = 1, N
               ANORM = ANORM +ABS( E( I ) )+ ABS( E( I-1 ) )
   20       CONTINUE
      CLANHT = ANORM
      RETURN
      END
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.