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

            Bug ID: 57824
           Summary: Raw string literals not handled correctly in macro
                    arguments or deferred pragmas
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: preprocessor
          Assignee: jakub at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
                CC: tromey at gcc dot gnu.org

#define S(s) s

const char x[] = R"(
abc
)";
const char y[] = S(R"(
abc
)");

void bar ();
void foo ()
{
#pragma omp parallel num_threads(sizeof R"(
abc
)")
  bar ();
}

isn't lexed properly.

Reply via email to