Re: [PR87793] reject non-toplevel unspecs in debug loc exprs on x86

2018-11-07 Thread Jeff Law
On 11/7/18 12:42 AM, Alexandre Oliva wrote: > Before revision 254025, we'd reject UNSPECs in debug loc exprs. > TARGET_CONST_NOT_OK_FOR_DEBUG_P still rejects that by default, on all > ports that override it, except for x86, that accepts @gotoff unspecs. > We can indeed accept them in top-level expr

[PR87793] reject non-toplevel unspecs in debug loc exprs on x86

2018-11-06 Thread Alexandre Oliva
Before revision 254025, we'd reject UNSPECs in debug loc exprs. TARGET_CONST_NOT_OK_FOR_DEBUG_P still rejects that by default, on all ports that override it, except for x86, that accepts @gotoff unspecs. We can indeed accept them in top-level expressions, but not as subexpressions: the assembler re