This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/82374] #pragma GCC optimize is not applied to openmp-generated functions
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 02 Oct 2017 08:28:51 +0000
- Subject: [Bug tree-optimization/82374] #pragma GCC optimize is not applied to openmp-generated functions
- Auto-submitted: auto-generated
- References: <bug-82374-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82374
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
CC| |jakub at gcc dot gnu.org,
| |rguenth at gcc dot gnu.org
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I think it's actually wrong-code (and I suppose target attributes are not
applied either). The outlining has to copy all attributes of the function we
outline from.