https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233394

Dimitry Andric <d...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |d...@freebsd.org

--- Comment #1 from Dimitry Andric <d...@freebsd.org> ---
Currently I don't have the time to really investigate, but from the description
and the source code, it seems like a classic case of static initialization
order fiasco.  I.e. not a bug in the compiler, but in the program.

Using a #define is the easiest workaround, otherwise the static variable should
probably be moved into the class that is using it.  And maybe an upstream PR to
have it properly fixed in the future.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"

Reply via email to