[Bug c/68454] New: internal compiler error: Segmentation fault

2015-11-19 Thread luser.droog at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: luser.droog at gmail dot com Target Milestone: --- Created attachment 36778 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36778&action=edit gcc -E -o main.cpp src/lib/xpost_main.c $ gcc -v Using built-i

[Bug c/68454] internal compiler error: Segmentation fault

2015-11-19 Thread luser.droog at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68454 --- Comment #1 from M Joshua Ryan --- This is on a fresh install of cygwin64 on a new Windows 10 laptop.

[Bug c/68454] internal compiler error: Segmentation fault

2015-11-20 Thread luser.droog at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68454 M Joshua Ryan changed: What|Removed |Added Attachment #36778|0 |1 is obsolete|

[Bug c/68454] internal compiler error: Segmentation fault

2015-11-20 Thread luser.droog at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68454 --- Comment #4 from M Joshua Ryan --- Created attachment 36789 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36789&action=edit .i file left by `make CFLAGS='-g -O2 -save-temps'` I think this is the correct file now. I see "0" "0" and "1"

[Bug c/68454] internal compiler error: Segmentation fault

2015-11-20 Thread luser.droog at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68454 M Joshua Ryan changed: What|Removed |Added Attachment #36786|0 |1 is obsolete|

[Bug c/68454] internal compiler error: Segmentation fault

2015-11-20 Thread luser.droog at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68454 --- Comment #6 from M Joshua Ryan --- Just to clarify, the file with symbols is marked obsolete; the latest file is believed good. No external symbols. It produces the compiler error when run with no options `gcc xpost_main.i`.

[Bug target/68454] internal compiler error: Segmentation fault

2015-11-24 Thread luser.droog at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68454 --- Comment #8 from M Joshua Ryan --- Yes, I think it must be something unique to cygwin over windows 10. This code compiles fine with gcc on cygwin/win8, mingw, linux, suncc on solaris, and even MSVC. I suppose it could even be something in the

[Bug target/68454] internal compiler error: Segmentation fault

2015-11-24 Thread luser.droog at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68454 --- Comment #9 from M Joshua Ryan --- Investigated the offending source line a little deeper. It now looks to me like it has to do with mixed floating/integer arithmetic, especially with bizarre types like `time_t`. Changing the source to use all

[Bug target/68454] internal compiler error: Segmentation fault

2015-11-24 Thread luser.droog at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68454 --- Comment #11 from M Joshua Ryan --- Created attachment 36831 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36831&action=edit additional source triggering same error Having successfully compiled the other file, I have received the same

[Bug target/68454] internal compiler error: Segmentation fault

2015-11-25 Thread luser.droog at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68454 --- Comment #12 from M Joshua Ryan --- (In reply to Andrew Pinski from comment #10) > This sounds related to GMP/MPFR, can you recompile those? Downloading the src packages now. Will update.

[Bug target/68454] internal compiler error: Segmentation fault

2015-11-25 Thread luser.droog at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68454 --- Comment #13 from M Joshua Ryan --- I get the same error compiling GMP. Following instructions from http://stackoverflow.com/a/9450422/733077 josh@LAPTOP-ILO10OOF /tmp $ cd gmp-4.3.2 josh@LAPTOP-ILO10OOF /tmp/gmp-4.3.2 $ mkdir ../gcc josh@

[Bug target/68454] internal compiler error: Segmentation fault

2015-11-26 Thread luser.droog at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68454 --- Comment #14 from M Joshua Ryan --- Created attachment 36850 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36850&action=edit gmp component triggering the same error I've been able to modify some of the gmp sources to avoid this bug, by