GNU bug report logs - #46824
28.0.50; nativecomp crash with cl-block/cl-defun

Previous Next

Package: emacs;

Reported by: Aaron Jensen <aaronjensen <at> gmail.com>

Date: Sun, 28 Feb 2021 00:35:01 UTC

Severity: normal

Found in version 28.0.50

Done: Andrea Corallo <akrl <at> sdf.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: pipcet <at> gmail.com
Cc: 46824 <at> debbugs.gnu.org, aaronjensen <at> gmail.com, akrl <at> sdf.org
Subject: bug#46824: 28.0.50; nativecomp crash with cl-block/cl-defun
Date: Tue, 02 Mar 2021 17:42:45 +0200
> Date: Tue, 02 Mar 2021 17:22:56 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 46824 <at> debbugs.gnu.org, aaronjensen <at> gmail.com, akrl <at> sdf.org
> 
> > > > +  gcc_jit_param *params[] =
> > > > +    {
> > > > +      gcc_jit_context_new_param (comp.ctxt, NULL, comp.void_ptr_type, "buf"),
> > > > +    };
> > >
> > > Nitpicking: the braces here should be in column zero.
> > 
> > How about we compromise and put them in column two rather than four or zero? :-)
> > 
> > (I hope that's what you meant).
> 
> Sorry, yes: aligned with first non-whitespace character on the
> previous line.
> 
> > I was going to apologize for apparently messing up my cc-mode setup
> > here, but emacs -Q also insists on the incorrect brace placement. We
> > might want to fix that somehow for those Emacs developers who use this
> > "Emacs" thing.
> 
> Perhaps submit a bug report against CC Mode.

Btw, my personal workaround for these cases is this:

  gcc_jit_param *params[] = {
    ...;
  }





This bug report was last modified 4 years and 83 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.