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

            Bug ID: 61733
           Summary: Fatal error with -ftest-coverage
           Product: gcc
           Version: 4.8.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tony.whittam at rapttouch dot com

Created attachment 33081
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33081&action=edit
Preprocessed file that causes error.

Compiling using standard CYGWIN install on Windows 7 Home Premium.

Command line

gcc  -isystem /cygdrive/c/gtest-1.7.0/include -Isrc -Iexternal_if 
-fprofile-arcs -ftest-coverage -g -Wall -Wextra -pthread -MMD -MP
-MF"Debug/Objects/chunk_dispatcher_setup.d"
-MT"Debug/Objects/chunk_dispatcher_setup.o" -o
"Debug/Objects/chunk_dispatcher_setup.o" -c "src/chunk_dispatcher_setup.c"

always causes output

      0 [main] cc1 1404760 C:\cygwin64\lib\gcc\x86_64-pc-cygwin\4.8.3\cc1.exe:
*** fatal error - NtCreateEvent(lock): 0xC0000077
gcc: internal compiler error: Hangup (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Preprocessed file is attached.


NOTE:
The problem does not occur with -ftest-coverage removed from the command line.
It also didn't occur on another machine running Windows 7 Professional SP1

Reply via email to