http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50784

gee <jojelino at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.7 regression] internal   |[4.7 regression]
                   |compiler error:             |-fenable-ipa-pure-const
                   |segmentation fault in       |causes segmentation fault
                   |cgraph.c:327                |in cgraph.c:327

--- Comment #2 from gee <jojelino at gmail dot com> 2011-10-27 11:25:53 UTC ---
(In reply to comment #1)
> Ugh.  I suppose you have a less "reduced" set of options?  (it's not really
> useful to reduce the set of options this way)
> 
> Works for me on x86_64-linux with -m32 -O[123s]
> 
> Can you re-confirm with a simpler set of options please?

Starting program: /usr/libexec/gcc/i686-pc-cygwin/4.7.0/cc1plus.exe
./pseudo-reloc.ii -quiet -version -fenable-ipa-pure-const -o pseudo-reloc.s
[New Thread 4064.0xd34]
warning: section .gnu_debuglink not found in /cygdrive/d/cygwin/bin/cygwin1.dbg
[New Thread 4064.0x894]
cc1plus: note: enable pass ipa-pure-const for functions in the range of [0,
4294967295]
GNU C++ (GCC) version 4.7.0 20111025 (experimental) (i686-pc-cygwin)
        compiled by GNU C version 4.7.0 20111020 (experimental), GMP version
5.0.2, MPFR version 3.2.0-dev, MPC version 0.9
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C++ (GCC) version 4.7.0 20111025 (experimental) (i686-pc-cygwin)
        compiled by GNU C version 4.7.0 20111020 (experimental), GMP version
5.0.2, MPFR version 3.2.0-dev, MPC version 0.9
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: cf86ba87ee966d84e06e2ba1fe53e4c2

Program received signal SIGSEGV, Segmentation fault.
cgraph_remove_function_insertion_hook (entry=0x0) at ../.././gcc/cgraph.c:327
327       *ptr = entry->next;
(gdb)

Reply via email to