https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39456
etienne_lorrain at yahoo dot fr changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from etienne_lorrain at yahoo dot fr --- Fixed (string concat into __attribute__((section("pre" "fix"))) ) on g++ (GCC-Explorer-Build) 7.0.0 20161113 (experimental), result of: void fct2 (void) __attribute__((__section__("sect1_" "fct2"))); void fct2 (void) { return; } is: .section sect1_fct2,"ax",@progbits .p2align 4,,15 .globl fct2() .type fct2(), @function fct2(): .LFB0: .file 1 "/tmp/gcc-explorer-compiler1161115-73-1xzfvi6/example.cpp" .loc 1 2 0 .cfi_startproc .loc 1 2 0 rep ret