From: Andreas Politz <politza@hochschule-trier.de>
To: Vibhav Pant <vibhavp@gmail.com>
Cc: 26047@debbugs.gnu.org, Leo Liu <sdl.web@gmail.com>
Subject: bug#26047: 26.0.50; emacs crash by cl-caff2
Date: Fri, 17 Mar 2017 16:44:56 +0100 [thread overview]
Message-ID: <87a88j9abr.fsf@luca> (raw)
In-Reply-To: <CA+T2Sh1cAtuvpjszkeoLOpDYX1pdgp=FwW6-8oNF0WnrmKumyQ@mail.gmail.com> (Vibhav Pant's message of "Fri, 17 Mar 2017 17:09:25 +0530")
Here is a test case.
(ert-deftest byte-code-optimzier-1 ()
(let* ((el-file (make-temp-file "test" nil ".el"))
(elc-file (concat (file-name-sans-extension el-file) ".elc")))
(unwind-protect
(let ((byte-compile-warnings t))
(with-temp-file el-file
(dolist (form '((require 'cl-lib)
(put 's 'buf "abcd")
(cl-callf2 cl-concatenate 'string (get 's 'buf) "efg")
(provide 't)))
(insert (prin1-to-string form))
(insert "\n")))
(byte-compile-file el-file)
(should (progn (load-file elc-file) t)))
(when (file-exists-p el-file)
(delete-file el-file))
(when (file-exists-p elc-file)
(delete-file elc-file)))))
-ap
next prev parent reply other threads:[~2017-03-17 15:44 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-10 10:01 bug#26047: 26.0.50; emacs crash by cl-caff2 Leo Liu
2017-03-10 20:56 ` Andreas Politz
2017-03-14 18:07 ` Andreas Politz
2017-03-14 18:18 ` Vibhav Pant
2017-03-14 18:42 ` Andreas Politz
2017-03-16 19:45 ` Vibhav Pant
2017-03-17 10:17 ` Andreas Politz
2017-03-17 11:39 ` Vibhav Pant
2017-03-17 15:44 ` Andreas Politz [this message]
2017-05-18 3:19 ` npostavs
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=87a88j9abr.fsf@luca \
--to=politza@hochschule-trier.de \
--cc=26047@debbugs.gnu.org \
--cc=sdl.web@gmail.com \
--cc=vibhavp@gmail.com \
/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).