OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [g77/] [pr9258.f] - Rev 149

Go to most recent revision | Compare with Previous | Blame | View Log

C Test case for PR/9258
C Origin: kmccarty@princeton.edu
C
C { dg-do compile }
      SUBROUTINE FOO (B)
 
  10  CALL BAR (A)
      ASSIGN 20 TO M           !{ dg-warning "Obsolete: ASSIGN" "" }
      IF (100.LT.A) GOTO 10
      GOTO 40
C
  20  IF (B.LT.ABS(A)) GOTO 10
      ASSIGN 30 TO M           !{ dg-warning "Obsolete: ASSIGN" "" }
      GOTO 40
C
  30  ASSIGN 10 TO M           !{ dg-warning "Obsolete: ASSIGN" "" }
  40  GOTO M,(10,20,30)        !{ dg-warning "Obsolete: Assigned GOTO" "" }
      END
 

Go to most recent revision | 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.