https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119864
--- Comment #9 from Pilar Latiesa <pilarlatiesa at gmail dot com> --- (In reply to Nathaniel Shead from comment #4) > The assertion is thrown when streaming the generated function "omp declare > reduction Op" because this is a DECL_LOCAL_DECL_P function but isn't on the > BLOCK of sum, so we didn't stream it by value when we were supposed to. Is the BLOCK incorrectly set or does it lack a DECL_CONTEXT at all? Thanks