This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: bitfield-- != 0 still broken
- From: Falk Hueffner <hueffner at informatik dot uni-tuebingen dot de>
- To: Michael Matz <matz at suse dot de>
- Cc: Roger Sayle <roger at eyesopen dot com>, gcc at gcc dot gnu dot org
- Date: Mon, 29 Mar 2004 15:54:05 +0200
- Subject: Re: bitfield-- != 0 still broken
- References: <Pine.LNX.4.58.0403291527270.18453@wotan.suse.de>
Michael Matz <matz@suse.de> writes:
> I write to you directly because you changed the code in fold dealing with
> this not long ago. Consider this:
>
> --------------------------
> void puts(const char *);
> struct { signed int count : 1;} s = {0};
> int main()
> {
> if ( s.count-- )
> puts("impossible");
> return 0;
> }
> --------------------------
Note that this is also PR 14755.
--
Falk