https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113194

--- Comment #4 from Paul Hua <paul.hua.gm at gmail dot com> ---
(In reply to Andrew Pinski from comment #2)
> Works for me with r14-6875-g3a7dd24eadeb91 on x86_64:
> ./cc1plus tmp/ExtractAPIConsumer.cpp.ii -quiet -Og -fPIC
> -fno-semantic-interposition -fvisibility-inlines-hidden -fno-lifetime-dse
> -ffunction-sections -fdata-sections -fno-common -fno-strict-aliasing
> -fno-exceptions -funwind-tables -fno-rtti -Werror=date-time -Wall -Wextra
> -Wno-unused-parameter -Wwrite-strings -Wcast-qual
> -Wno-missing-field-initializers -Wpedantic -Wno-long-long
> -Wimplicit-fallthrough=3 -Wno-maybe-uninitialized -Wno-nonnull
> -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move
> -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment
> -Wno-misleading-indentation -Wctad-maybe-unsupported -Woverloaded-virtual=2
> -std=c++17

The key is "-g", with "-g" it will hangup.

Reply via email to