https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110432
Patrick Palka <ppalka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Target Milestone|--- |13.2
Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot
gnu.org
--- Comment #9 from Patrick Palka <ppalka at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #1)
> Patrick, we talked about this and IIRC your suggestion was to move the
> __has_attribute check into configure, so that it depends on GCC, not on
> whichever compiler happens to include <iostream> later.
Yes, sorry for letting this issue slip through the cracks. It makes sense to
fix this by simply disabling the <iostream> optimization on macOS as you
suggested, and perhaps worry about a configure-time check only if it turns out
another platform hits this issue.