features add request, bug in 6.0.0

Jonathan Wakely jwakely.gcc@gmail.com
Wed Apr 20 09:55:00 GMT 2016

On 20 April 2016 at 05:51, Jim Michaels wrote:
> On 4/19/2016 2:04 AM, Jonathan Wakely wrote:
>> On 19 April 2016 at 08:54, Jim Michaels wrote:
>>> please add ||= and &&= to C++ and C. I use it a lot. I am not the only
>>> one.
>> You should propose them to the relevant standards committees, these
>> days GCC prefers not to add non-portable extensions without very good
>> reason.
> through openstd? never posted there before.

No, not there. You could try the std-proposals forum:


>>> std::ios_base::trunc is broken and std::ofstream::good() thus returns
>>> false.
>>> watch for regressions.
>> Could you try being a bit less vague? This is a useless comment as it
>> stands.
>> What code are you running? What makes you think it's broken?
> because using trunc in fstream causes no file zeroing, just opening for
> output with an error. sorry for not specifying what error.

It works fine for me, so you must be using it wrong, or your
understanding of the behaviour is wrong.

More information about the Gcc-help mailing list