All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Henderson <rth@redhat.com>
To: Alexandre Oliva <aoliva@redhat.com>
Cc: sailer@ife.ee.ethz.ch, Kaoru Fukui <k_fukui@highway.ne.jp>,
	linuxppc-dev@lists.linuxppc.org, gcc@gcc.gnu.org
Subject: Re: kerne-2.4.0-test13pre3 with gcc-2.97
Date: Wed, 27 Dec 2000 15:37:13 -0800	[thread overview]
Message-ID: <20001227153713.A30728@redhat.com> (raw)
In-Reply-To: <orsnnd3d6f.fsf@guarana.lsd.ic.unicamp.br>; from Alexandre Oliva on Sun, Dec 24, 2000 at 04:08:08PM -0200


On Sun, Dec 24, 2000 at 04:08:08PM -0200, Alexandre Oliva wrote:
> > Which is not backward compatible, unfortunately.
>
> Indeed.  I wish we had maintained the old syntax for
> backward-compatibility, even if with a deprecation warning.

We *have* maintained the old syntax.

But there are some quirky differences from the old behaviour wrt
initialization and sizeof that need to be resolved.  To wit:

 * The linux net/ code insists on initializing a zero-length array
   member with an empty initializer.  We should silently drop the
   initialization in this case.

 * Several places in the linux kernel expect sizeof of a zero-length
   array to be zero.  Typically this happens in some edge case like

	long stuff[N_WORDS-1]

   where a flexible array member isn't really wanted, but N_WORDS
   happens to be 1 for some configuration.

Fixing this compatibility stuff is on my to-do list.


r~

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

  parent reply	other threads:[~2000-12-27 23:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-23  5:52 kerne-2.4.0-test13pre3 with gcc-2.97 Kaoru Fukui
     [not found] ` <20001223142145.T5858@coruscant.gnumonks.org>
2000-12-23 13:30   ` Kaoru Fukui
2000-12-24  3:29 ` Alexandre Oliva
2000-12-24 13:53   ` Kaoru Fukui
2000-12-24 15:20     ` Thomas Sailer
2000-12-24 15:19   ` Thomas Sailer
2000-12-24 18:08     ` Alexandre Oliva
2000-12-26  1:41       ` how to use macro in assemble language embedded in C? kerler
     [not found]         ` <20001226221757.Postino-028251@smtp01.highway.ne.jp>
2000-12-27  3:33           ` kerler
2000-12-27 15:50             ` Alexandre Oliva
2000-12-27 23:37       ` Richard Henderson [this message]
2000-12-24 15:16 ` kerne-2.4.0-test13pre3 with gcc-2.97 Thomas Sailer
  -- strict thread matches above, loose matches on Subject: below --
2000-12-25  0:04 Kaoru Fukui

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20001227153713.A30728@redhat.com \
    --to=rth@redhat.com \
    --cc=aoliva@redhat.com \
    --cc=gcc@gcc.gnu.org \
    --cc=k_fukui@highway.ne.jp \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=sailer@ife.ee.ethz.ch \
    /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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.