https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67680

            Bug ID: 67680
           Summary: Seg Fault in gcc 4.9.3 compiling
                    libiberty/floatformat.c when building gcc 5.2.1 on
                    Cygwin 64 on Windows
           Product: gcc
           Version: 4.9.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bplummer at hotmail dot com
  Target Milestone: ---

both the configure and the make args were default.  I've tried a wide variety
of args for both configure and make and the error is blindingly consistent.

Here are the details :

Brian@MBPWin7-64 ~/gnu/gcc/gcc-5.2.0/build/libiberty
$ gmake
if [ x"" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g  -I. -I../../libiberty/../include  -W -Wall
-Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  
../../libiberty/floatformat.c -o pic/floatformat.o; \
else true; fi
if [ x"" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g  -I. -I../../libiberty/../include  -W -Wall
-Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic   
../../libiberty/floatformat.c -o noasan/floatformat.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g  -I. -I../../libiberty/../include  -W -Wall
-Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic 
../../libiberty/floatformat.c -o floatformat.o
../../libiberty/floatformat.c: In function ‘floatformat_to_double’:
../../libiberty/floatformat.c:529:2: internal compiler error: Segmentation
fault
  dto = ldexp (1.0, exponent);
  ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Makefile:773: recipe for target 'floatformat.o' failed
gmake: *** [floatformat.o] Error 1

Brian@MBPWin7-64 ~/gnu/gcc/gcc-5.2.0/build/libiberty
$ uname -a
CYGWIN_NT-6.1 MBPWin7-64 2.2.1(0.289/5/3) 2015-08-20 11:42 x86_64 Cygwin

Brian@MBPWin7-64 ~/gnu/gcc/gcc-5.2.0/build/libiberty
$ gcc --version
gcc (GCC) 4.9.3
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.

Reply via email to