From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Damien Newsgroups: gmane.emacs.bugs Subject: bug#47191: 28.0.50; Native compilation branch freeze in cc-mode Date: Wed, 17 Mar 2021 07:47:35 +0000 Message-ID: <20210317074735.Horde.cYwNxki8H-tCN55W4GORo6y@cloud.cosinux.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5563"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Horde Application Framework 5 To: 47191@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 17 08:48:20 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lMQuh-0001MC-V0 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 Mar 2021 08:48:19 +0100 Original-Received: from localhost ([::1]:37136 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMQug-00045Q-HM for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 Mar 2021 03:48:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48870) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMQuP-00045E-VE for bug-gnu-emacs@gnu.org; Wed, 17 Mar 2021 03:48:01 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58525) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lMQuP-0006UP-Nv for bug-gnu-emacs@gnu.org; Wed, 17 Mar 2021 03:48:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lMQuP-0002IP-MM for bug-gnu-emacs@gnu.org; Wed, 17 Mar 2021 03:48:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Damien Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Mar 2021 07:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47191 X-GNU-PR-Package: emacs Original-Received: via spool by 47191-submit@debbugs.gnu.org id=B47191.16159672668804 (code B ref 47191); Wed, 17 Mar 2021 07:48:01 +0000 Original-Received: (at 47191) by debbugs.gnu.org; 17 Mar 2021 07:47:46 +0000 Original-Received: from localhost ([127.0.0.1]:41838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMQu9-0002Hv-Vg for submit@debbugs.gnu.org; Wed, 17 Mar 2021 03:47:46 -0400 Original-Received: from relay9-d.mail.gandi.net ([217.70.183.199]:59965) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMQu6-0002He-Hn for 47191@debbugs.gnu.org; Wed, 17 Mar 2021 03:47:45 -0400 X-Originating-IP: 85.201.69.35 Original-Received: from cloud.cosinux.org (host-85-201-69-35.dynamic.voo.be [85.201.69.35]) (Authenticated sender: dam@cosinux.org) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 0064AFF815 for <47191@debbugs.gnu.org>; Wed, 17 Mar 2021 07:47:35 +0000 (UTC) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:202513 Archived-At: So I just tested again, with recompiling with `--with-nativecompilation` and I have the exact same behavior. So maybe it is not linked to the compilation branch then. I'll try to reproduce it this weekend on master and maybe bisect it. "Andrea Corallo" akrl@sdf.org – 16 mars 2021 16:35 > Damien writes: > > > Using the native compilation branch, Create tmp.cpp with this: > > > > ``` > > // In state_machine > > private: auto > > state_machine::stop_bbbbbbb(states::recording &&s, > > aaaaaa::bbbbbbb_stopped_reason reason) > > -> fsm::state_machine< > > aaaaaa::bbbbbbb::state_machine, > > std::variant > aaaaa::bbbb::cccccc::ddddddd::eeeeee::aaaaaa_disconnected, > > aaaaa::bbbb::cccccc::ddddddd::eeeeee::aaaaaa_state, > > aaaaa::bbbb::cccccc::ddddddd::eeeeee::aaaaaa_info, > > aaaaa::bbbb::cccccc::ddddddd::eeeeee::aaaaaa_battery, > > aaaaa::bbbb::cccccc::ddddddd::eeeeee::account_error, > > aaaaa::bbbb::cccccc::ddddddd::eeeeee::account_valid>, > > std::variant>::state > > ``` > > > > Open using `emacs -Q tmp.cpp` and emacs freezes. > > I've just compiled f3abb17118 but I can't reproduce this. > > I'm seeing you are compiling with '--with-nativecomp', we have changed > the flag into '--with-nativecompilation' (yeah sorry) so native > compilation is disable on your build (should be also listed in > "Configured features:" if enabled). > > Rebuilding f3abb17118 without enabling native compilation I still can't > reproduce this :( > > Thanks > > Andrea > >