https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104248
--- Comment #1 from Mathieu Malaterre <mathieu.malaterre at gmail dot com> --- In case that help, cmake instructions for the test case is: ``` project(p C) set(CMAKE_C_STANDARD 11) add_library(foo STATIC foo.c) add_executable(prog prog.c) target_link_libraries(prog foo) ```