features add request, bug in 6.0.0
Jim Michaels
jim.michaels@jesusnjim.com
Wed Apr 20 04:51:00 GMT 2016
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.
>
>> 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.
>
>> C:\gcc-6-win32\i686-w64-mingw32\include>gcc -v
>>
>> Using built-in specs.
>> COLLECT_GCC=gcc
>> COLLECT_LTO_WRAPPER=c:/gcc-6-win32/bin/../libexec/gcc/i686-w64-mingw32/6.0.0/lto-wrapper.exe
>> Target: i686-w64-mingw32
>> Configured with: /home/cauchy/vcs/svn/gcc/trunk/configure
>> --prefix=/home/cauchy/native/gcc-6-win32
>> --with-sysroot=/home/cauchy/native/gcc-6-win32 --build=x
>> 86_64-unknown-linux-gnu --host=i686-w64-mingw32 --target=i686-w64-mingw32
>> --disable-multilib --disable-nls --disable-win32-registry
>> --disable-gcov-tool --e
>> nable-checking=release --enable-languages=c,c++,fortran
>> --enable-fully-dynamic-string --with-arch=core2 --with-tune=generic
>> Thread model: win32
>> gcc version 6.0.0 20160412 (experimental) (GCC)
>>
More information about the Gcc-help
mailing list