On 08/20/2015 07:45 AM, Christian Bruel wrote:
Hello,
2 tests from rev 226480 introduced a new failure for ARM testing -Werror
because a warning is always emitted regardless -Wframe-address is given
or not.
From expand_builtin_frame_address:
/* Some ports cannot access arbitrary stack frames. */
if (tem == NULL)
{
warning (0, "unsupported argument to %qD", fndecl);
return const0_rtx;
}
This patch just skips the test on ARM that can't access arbitrary stack
frame anyway and will always warn.
OK for trunk ? thanks,
Christian
no-frame-address.patch
015-08-20 Christian Bruel<christian.br...@st.com>
* gcc.dg/Wno-frame-address.c: Skip for ARM.
* g++.dg/Wno-frame-address.C: Ditto.
OK.
jeff