Re: [gomp4] Remove goacc_parse_device_num

2014-10-28 Thread Thomas Schwinge
Hi Julian! On Tue, 28 Oct 2014 13:19:18 +, Julian Brown wrote: > This patch removes the goacc_parse_device_num function in libgomp's > env.c since it is redundant with parse_int. I also added some bounds > checking for the device number in oacc-init.c (the behaviour is left as > "implementat

[gomp4] Remove goacc_parse_device_num

2014-10-28 Thread Julian Brown
Hi, This patch removes the goacc_parse_device_num function in libgomp's env.c since it is redundant with parse_int. I also added some bounds checking for the device number in oacc-init.c (the behaviour is left as "implementation defined" in the OpenACC 2.0 spec, so I chose to raise an error for an