64 bit g++ 5.4.0 bug
Wed Jul 12 13:12:00 GMT 2017
I have encountered a weird behaviour of g++ compiler.
If the following code is compiled with -ansi -O flags,
the resulting executable causes core dump.
This is caused only in 64 bit environment. In 32 bit
environment, it works as expected.
$ cat str.cc
s = "ABC";
$ g++ -ansi -O str.cc -o str
Abort (core dumped)
Is this known problem?
My environment is as follows.
CYGWIN_NT-10.0 Express5800-S70 2.8.1(0.312/5/3) 2017-07-03 14:11 x86_64 Cygwin
g++ (GCC) 5.4.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Thank you in advance.
Takashi Yano <firstname.lastname@example.org>
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin