Use the --gen_acp_raw option to diagnose this problem. Read about it in the ARM compiler manual. Look at the resulting .rl file to see how the problem line changes from original source to the post-processed form. The problem is often quite evident then.
Thanks and regards,
-George