Component: driver
Assignee: unassigned at gcc dot gnu.org
Reporter: holger.gr...@ix-n.net
It was my expectation that I could statically link libasan into a shared object
with:
$ cat t.c
void foo(char* x) { x[4] = 1; }
$ gcc -fsanitize=address t.c -shared -fPIC -static-libasan
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: holger.gr...@ix-n.net
Created attachment 34605
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34605&action=edit
Repro
$ cat t.cpp
template
void e(F f)
: normal
Priority: P3
Component: preprocessor
Assignee: unassigned at gcc dot gnu.org
Reporter: holger.gr...@ix-n.net
$ cat t.cpp
#define S1(a) S2(a)
#define S2(a) #a
void foo()
{
S1("bla"_udl);
}
$ c++ t.cpp -E -P
void foo()
{
"\"bla\&q