http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59884
--- Comment #2 from Joey Ye <joey.ye at arm dot com> --- (In reply to Andrew Pinski from comment #1) > Comes from: > if (p->target_binary != target_option_current_node) > { > (void) targetm.target_option.pragma_parse (NULL_TREE, > p->target_binary); > target_option_current_node = p->target_binary; > } > > > The front-end expects the target always to implement these target hooks it > seems rather than the default. > > Really I think the arm back-end should implement them so that thumb2 code > can be in the same source file as arm32 code and would help out LTO when > people mix and match them. It is a useful feature on ARM. I don't know why it isn't support now. But this warning still need to be fixed as there are always some targets not supportting this pragma.