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

--- Comment #4 from Sergei Trofimovich <slyfox at gcc dot gnu.org> ---
If I read a.cc.254t.optimized correctly I think there are two unrelated places
that are expected to generate `getWaitStatesSince6.constprop`:
- one is through main()
- another is through seemingly_unused_foo()

They have slightly different parameters, but gcc uses seemingly_unused_foo()'s
one in main()'s path and as a result calls code from normally unreachable
lambda.

Reply via email to