public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jojelino at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/50784] [4.7 regression] -fenable-ipa-pure-const causes segmentation fault in cgraph.c:327
Date: Thu, 27 Oct 2011 11:26:00 -0000	[thread overview]
Message-ID: <bug-50784-4-mBDrDNykFx@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-50784-4@http.gcc.gnu.org/bugzilla/>

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)


  parent reply	other threads:[~2011-10-27 11:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-19  0:35 [Bug tree-optimization/50784] New: [4.6 regression] internal compiler error: " jojelino at gmail dot com
2011-10-19  8:15 ` [Bug tree-optimization/50784] [4.7 " rguenth at gcc dot gnu.org
2011-10-27 11:18 ` rguenth at gcc dot gnu.org
2011-10-27 11:26 ` jojelino at gmail dot com [this message]
2011-10-27 14:49 ` [Bug tree-optimization/50784] [4.7 regression] -fenable-ipa-pure-const causes " rguenth at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-50784-4-mBDrDNykFx@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).