Re: [PATCH] Fix altivec-cell-2.C test regression (PR c++/83778)

2018-01-12 Thread Segher Boessenkool
On Fri, Jan 12, 2018 at 09:23:49PM +0100, Jakub Jelinek wrote: > After the addition of location wrappers the > targetm.resolve_overloaded_builtin target hook is called with parameters > that may have those location wrappers in it. Seems generic code has been > changed to fold_for_warn fold it away

[PATCH] Fix altivec-cell-2.C test regression (PR c++/83778)

2018-01-12 Thread Jakub Jelinek
Hi! After the addition of location wrappers the targetm.resolve_overloaded_builtin target hook is called with parameters that may have those location wrappers in it. Seems generic code has been changed to fold_for_warn fold it away when looking for something that should be e.g. INTEGER_CST. Fixe