After r16-1738-g0337e3c2743ca0, a call to ASM_GENERATE_INTERNAL_LABEL was done without including tm_p.h. This does not break most targets as ASM_GENERATE_INTERNAL_LABEL macro function does not call target specific functions from it; mostly just sprintf. It does however break pdp11-aout and powerpc-aix* because those two call a target specific function to do create the internal label.
Pushed as obvious after a build of gcc for pdp11-aout and x86_64-linux-gnu. PR middle-end/120866 gcc/ChangeLog: * tree.cc: Add include to tm_p.h. Signed-off-by: Andrew Pinski <quic_apin...@quicinc.com> --- gcc/tree.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/tree.cc b/gcc/tree.cc index 6a055c8c2d0..9d3d0ecf324 100644 --- a/gcc/tree.cc +++ b/gcc/tree.cc @@ -32,6 +32,7 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "backend.h" #include "target.h" +#include "tm_p.h" #include "tree.h" #include "gimple.h" #include "tree-pass.h" -- 2.43.0