From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4A9523861004; Sat, 31 Oct 2020 02:45:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4A9523861004 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/95519] [coroutines] non-functions for promise_type::return_void not supported Date: Sat, 31 Oct 2020 02:45:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.1.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: iains at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Oct 2020 02:45:30 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95519 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |hjl.tools at gmail dot com, | |skpgkp2 at gmail dot com Resolution|FIXED |--- --- Comment #9 from H.J. Lu --- On AVX or AVX512 machines, I got FAIL: g++.dg/coroutines/torture/pr95519-05-gro.C -O0 execution test FAIL: g++.dg/coroutines/torture/pr95519-05-gro.C -O1 execution test FAIL: g++.dg/coroutines/torture/pr95519-05-gro.C -O2 execution test FAIL: g++.dg/coroutines/torture/pr95519-05-gro.C -O3 -g execution test FAIL: g++.dg/coroutines/torture/pr95519-05-gro.C -Os execution test FAIL: g++.dg/coroutines/torture/pr95519-05-gro.C -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone execution test FAIL: g++.dg/coroutines/torture/pr95519-05-gro.C -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects execution test with r11-1673: commit e74c76073092f4715007584edb1fe6b7a17274db Author: Iain Sandoe Date: Fri Jun 26 10:48:35 2020 +0100 coroutines: Handle non-method promise expressions [PR95519] (gdb) r Starting program: /tmp/x=20 Program received signal SIGABRT, Aborted. 0x00007ffff7ad3b85 in raise () from /lib64/libc.so.6 (gdb) f 2 #2 0x00000000004013ee in main () at pr95519-05-gro.C:56 56 abort (); (gdb) list 51 } 52 f.resume(); 53 if (!f.done()) 54 { 55 PRINT ("expected foo to be finished"); 56 abort (); 57 } 58=20=20=20=20=20=20 59 if (called_gro_op !=3D 1) 60 { (gdb)=