http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55523
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org Component|other |target --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-11-29 12:46:20 UTC --- Yeah, either you'd need to provide prototype for the function in epiphany-protos.h, or you shouldn't include those calls in the condition of the peephole2, but instead in the C sequence do if (!get_attr_*) FAIL; Including insn-attr.h in the generated gencondmd.c is not an option, that would be a cyclic dependency (as insn-attr.h generation depends on insn-conditions.md and insn-conditions.md generation depends on gencondmd.c compilation and that would need to depend on insn-attr.h).