URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [opt6.adb] - Rev 700
Go to most recent revision | Compare with Previous | Blame | View Log
-- PR rtl-optimization/45394 -- { dg-do compile } -- { dg-options "-O2 -g" } package body Opt6 is function Current_Parameter (Iter : Command_Line_Iterator) return String is begin if Iter.Params = null or else Iter.Current > Iter.Params'Last or else Iter.Params (Iter.Current) = null then return ""; else declare P : constant String := Iter.Params (Iter.Current).all; begin -- Skip separator return P (P'First + 1 .. P'Last); end; end if; end Current_Parameter; end Opt6;
Go to most recent revision | Compare with Previous | Blame | View Log