[Bug driver/64998] New: -shared -static-libasan does not actually link libasan

2015-02-10 Thread holger.gr...@ix-n.net
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

[Bug c++/64834] New: Captured variable not available in unevaluated context in a lambda with auto argument

2015-01-28 Thread holger.gr...@ix-n.net
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)

[Bug preprocessor/64831] New: Preprocessing # operator with C++11 user-defined literal produces bad output

2015-01-28 Thread holger.gr...@ix-n.net
: 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