On 02/11/2015 03:44 PM, Thomas Schwinge wrote:
Note the global cold/hot labels. This confuses mkoffload, and it runs into a busy loop due to what I understand to be a bug in skipping of "strange" tokens, cited above, which such global labels would fall under. Here is what might be a fix for this (but I didn't analyze the parsing code in detail); OK for trunk?
I'd rather fail if anything unexpected is seen. Things like -freorder-blocks-and-partition should be forced off in nvptx_option_override.
Bernd