[Bug fortran/67063] segfault in opening a formatted file at second time with status=replace

2015-08-04 Thread ismail at donmez dot ws
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67063

İsmail Dönmez ismail at donmez dot ws changed:

   What|Removed |Added

 CC||ismail at donmez dot ws

--- Comment #5 from İsmail Dönmez ismail at donmez dot ws ---
You can try with my 6.x snapshots from https://i10z.com/mingw-w64/6.x/ , I
tested your testcase and it works fine.

[Bug c++/66748] New: Crash with abi_tag attribute

2015-07-03 Thread ismail at donmez dot ws
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66748

Bug ID: 66748
   Summary: Crash with abi_tag attribute
   Product: gcc
   Version: 5.1.1
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
  Assignee: unassigned at gcc dot gnu.org
  Reporter: ismail at donmez dot ws
  Target Milestone: ---

λ cat t.cpp 
enum __attribute__((abi_tag(foo))) E {};

λ g++ -c t.cpp
t.cpp:1:41: internal compiler error: Segmentation fault
 enum __attribute__((abi_tag(foo))) E {};
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See http://bugs.opensuse.org/ for instructions.

λ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/5/lto-wrapper
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada,go
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/5
--enable-ssp --disable-libssp --disable-libvtv --enable-libmpx --disable-plugin
--with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux'
--disable-libgcj --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --disable-libstdcxx-pch
--enable-version-specific-runtime-libs --enable-linker-build-id
--enable-linux-futex --program-suffix=-5 --without-system-libunwind
--enable-multilib --with-arch-32=i586 --with-tune=generic
--build=x86_64-suse-linux --host=x86_64-suse-linux
Thread model: posix
gcc version 5.1.1 20150622 [gcc-5-branch revision 224722] (SUSE Linux)

[Bug bootstrap/66471] New: BITMAP is a reserved keyword on MinGW

2015-06-09 Thread ismail at donmez dot ws
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66471

Bug ID: 66471
   Summary: BITMAP is a reserved keyword on MinGW
   Product: gcc
   Version: 6.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
  Assignee: unassigned at gcc dot gnu.org
  Reporter: ismail at donmez dot ws
  Target Milestone: ---

gcc/mem-stats-traits.h has:

/* Memory allocation origin.  */
   enum mem_alloc_origin
   {
 HASH_TABLE,
 HASH_MAP,
 HASH_SET,
 VEC,
 BITMAP,
 GGC,
 ALLOC_POOL,
 MEM_ALLOC_ORIGIN_LENGTH
   };

and this fails to compile on mingw-w64 with:


In file included from
/usr/x86_64-w64-mingw32/sys-root/mingw/include/windows.h:71:0,
 from ../../combined-6.0.0/gcc/config/i386/host-mingw32.c:29:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/wingdi.h:467:5: error: 'typedef
struct tagBITMAP BITMAP' redeclared as different kind of symbol
   } BITMAP,*PBITMAP,*NPBITMAP,*LPBITMAP;
 ^
In file included from ../../combined-6.0.0/gcc/hash-table.h:204:0,
 from ../../combined-6.0.0/gcc/coretypes.h:310,
 from ../../combined-6.0.0/gcc/config/i386/host-mingw32.c:22:
../../combined-6.0.0/gcc/mem-stats-traits.h:11:3: note: previous declaration
'mem_alloc_origin BITMAP'
   BITMAP,
   ^
In file included from
/usr/x86_64-w64-mingw32/sys-root/mingw/include/windows.h:71:0,
 from ../../combined-6.0.0/gcc/config/i386/host-mingw32.c:29:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/wingdi.h:2688:55: error:
'BITMAP' does not name a type
   WINGDIAPI HBITMAP WINAPI CreateBitmapIndirect(CONST BITMAP *pbm);
   ^
In file included from
/usr/x86_64-w64-mingw32/sys-root/mingw/include/windows.h:71:0,
 from ../../combined-6.0.0/gcc/config/i386/host-mingw32.c:29:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/wingdi.h:3218:5: error: 'BITMAP'
does not name a type
 BITMAP dsBm;
 ^
../../combined-6.0.0/gcc/config/i386/x-mingw32:30: recipe for target
'host-mingw32.o' failed

Renaming BITMAP enum should ne enough.


[Bug bootstrap/66471] BITMAP is a reserved keyword on MinGW

2015-06-09 Thread ismail at donmez dot ws
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66471

--- Comment #2 from İsmail Dönmez ismail at donmez dot ws ---
(In reply to Martin Liška from comment #1)
 Created attachment 35725 [details]
 Patch
 
 May I ask you for testing the patch?

Fixes the bootstrap for me, thanks.

[Bug c++/56926] Crash (without ICE) while compiling Boost.Math

2015-06-02 Thread ismail at donmez dot ws
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56926

İsmail cartman Dönmez ismail at donmez dot ws changed:

   What|Removed |Added

 CC||ismail at donmez dot ws

--- Comment #18 from İsmail cartman Dönmez ismail at donmez dot ws ---
It would make sense to set this fixed size to 1GB.