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

            Bug ID: 67907
           Summary: regression: internal compiler error: Segmentation
                    fault
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tropikhajma at gmail dot com
  Target Milestone: ---

Created attachment 36470
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36470&action=edit
preprocessed source

cc1 crashes when building a piece of android.
It only crashes with -On specified, it passes when without optimization.
Also any previous version of gcc in the system (4.8.4, 4.7.4) does not exhibit
this problem.

This is on an uptodate Debian Jessie, amd64

hajma@chrastavec:~/android/system-ics$ gcc --version
gcc (Debian 4.9.2-10) 4.9.2
Copyright (C) 2014 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.

hajma@chrastavec:~/android/system-ics$ /usr/lib/gcc/x86_64-linux-gnu/4.9/cc1  
/tmp/a.i   -O1
 __bswap_32 __bswap_64 gnu_dev_major gnu_dev_minor gnu_dev_makedev stat lstat
fstat fstatat mknod mknodat __strcspn_c1 __strcspn_c2 __strcspn_c3 __strspn_c1
__strspn_c2 __strspn_c3 __strpbrk_c2 __strpbrk_c3 __strtok_r_1c __strsep_1c
__strsep_2c __strsep_3c atoi atol atoll bsearch atof vprintf getchar
fgetc_unlocked getc_unlocked getchar_unlocked putchar fputc_unlocked
putc_unlocked putchar_unlocked feof_unlocked ferror_unlocked tolower toupper
__cmsg_nxthdr usage print_cmdline grow_config is_defined_config define_config
clear_config use_config parse_config_file strrcmp do_config_file parse_dep_file
print_deps traps main
Analyzing compilation unit
Performing interprocedural optimizations
 <*free_lang_data> <visibility> <early_local_cleanups> <*free_inline_summary>
<whole-program> <profile_estimate> <inline> <pure-const> <static-var>Assembling
functions:
 define_config
/home/hajma/android/system-ics/kernel/semc/msm7x30/scripts/basic/fixdep.c: In
function ‘define_config’:
/home/hajma/android/system-ics/kernel/semc/msm7x30/scripts/basic/fixdep.c:188:1:
internal compiler error: Segmentation fault
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.

Reply via email to