bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#47191: 28.0.50; Native compilation branch freeze in cc-mode


From: Daniel Colascione
Subject: bug#47191: 28.0.50; Native compilation branch freeze in cc-mode
Date: Mon, 22 Mar 2021 13:01:26 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 3/17/21 3:47 AM, Damien wrote:

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.

The following program freezes in Emacs -Q on current master. To repro, start with emacs -Q bad-cc-mode.cpp and scroll down

"Andrea Corallo" akrl@sdf.org – 16 mars 2021 16:35
Damien <dam@cosinux.org> 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_connected,
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<aaaaa::bbbb::aaaaaa::bbbbbbb::states::init>>::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




Attachment: bad-cc-mode.cpp
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]