This is the mail archive of the cygwin mailing list for the Cygwin 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]

cygwin 64bit on Win7 gcc internal compiler error: Segmentation fault on floating point literal 10.0


gcc is broken on fresh install of 64 bit cygwin on 64 bit Win7
Enterprise on new laptop.
version 4.9.3-1 , but other versions broken as well (4.9.2-3, 5.2.0-1)

I suspect there is a straightforward fix to my problem but I have no
idea where to begin.


Cygwin DLL version info:
        DLL version: 2.3.1

gcc-core                 4.9.3-1

Fresh cygwin64 install default base files + gcc_core

bug5.c



void demo(void)
{
  1.0;
  10.01;
  11.0;
  10.0;
}

$ gcc -c bug5.c
bug5.c: In function 'demo':
bug5.c:9:3: internal compiler error: Segmentation fault
   10.0;
   ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


A basic hello world program compiles and runs fine.

Old install from tarball from old laptop with gcc 4.8.2 cygwin 2.1.0 works fine.

Any help would be appreciated.

Thanks

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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