This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bitfield-- != 0 still broken


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]