While porting the fortran acc routine changes from gomp4 to trunk, I noticed that device was listed in the acc routine clause mask. That is incorrect; it should be device_type not device. I fixed that problem in the trunk patch submission. Here's the corresponding fix and test case that I applied to gomp4. As time permits, I'll add more test cases with invalid clause combination for all of the constructs. Cesar