https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69018
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- You could also just use dg-additional-options instead of dg-options. But yeah, this sounds to be the issue whether the include flags are added to flags unconditionally or go just to default flags.