[Bug target/59884] Unexpected warning pragma GCC target

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jan 20 03:46:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59884

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |target

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
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.



More information about the Gcc-bugs mailing list