From: Eli Zaretskii <eliz@gnu.org>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: enometh@meer.net, emacs-devel@gnu.org
Subject: Re: (select-window nil) crash with gcc-8.2.0
Date: Sun, 07 Apr 2019 21:38:07 +0300 [thread overview]
Message-ID: <83o95h8xv4.fsf@gnu.org> (raw)
In-Reply-To: <37a9098c-d566-1813-1c9f-0c5c32c813cf@cs.ucla.edu> (message from Paul Eggert on Sun, 7 Apr 2019 11:33:22 -0700)
> From: Paul Eggert <eggert@cs.ucla.edu>
> Date: Sun, 7 Apr 2019 11:33:22 -0700
> Cc: emacs-devel@gnu.org
>
> and that last movq dereferences the window pointer in %rbx before the result of
> WINDOWP is checked to verify that the argument (originally in %rdi, now in %rbx)
> is indeed a window.
>
> Could you file a GCC bug report for this? And in the meantime, I wouldn't use -Os.
Thanks. So just -O2 produces correct code? Because I think GCC 8 is
quite popular, and the default build uses -O2. If -O2 is prone to
something similar, maybe we should make some changes in the code to
avoid that.
next prev parent reply other threads:[~2019-04-07 18:38 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-07 2:11 (select-window nil) crash with gcc-8.2.0 Madhu
2019-04-07 3:50 ` Eli Zaretskii
2019-04-07 5:19 ` Madhu
2019-04-07 7:13 ` Andreas Schwab
2019-04-07 16:16 ` Eli Zaretskii
2019-04-07 18:33 ` Paul Eggert
2019-04-07 18:38 ` Eli Zaretskii [this message]
2019-04-07 18:42 ` Paul Eggert
2019-04-08 22:08 ` Richard Stallman
2019-04-09 4:39 ` Paul Eggert
2019-04-09 23:13 ` Richard Stallman
2019-04-10 2:01 ` Paul Eggert
2019-04-11 18:38 ` Paul Eggert
2019-05-26 6:51 ` finding the pdmp file again Madhu
2019-05-27 10:32 ` Andreas Schwab
2019-05-27 20:13 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83o95h8xv4.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=eggert@cs.ucla.edu \
--cc=emacs-devel@gnu.org \
--cc=enometh@meer.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).