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

Rafael Avila de Espindola <rafael at espindo dot la> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #48579|0                           |1
        is obsolete|                            |

--- Comment #28 from Rafael Avila de Espindola <rafael at espindo dot la> ---
Created attachment 48723
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48723&action=edit
new testcase

This testcase still fails with gcc 50ff02b534195c12298c64311d03a8b2d2dc261f

$ ~/gcc/inst/bin/g++ -std=gnu++20 -fcoroutines -g coroutines_test.cc -o t &&
valgrind ./t
...
==105582== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
% ~/gcc/inst/bin/g++ -std=gnu++20 -fcoroutines -g coroutines_test.cc 
-fsanitize=undefined -o t &&  ./t
/home/espindola/scylla/t/coroutines_test.cc:793: runtime error: member call on
misaligned address 0x00000020d854 for type 'struct future', which requires 8
byte alignment
...

Reply via email to