This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/41837] Using '-O -fipa-struct-reorg -fwhole-program -fprofile-generate' gives 'internal compiler error: Segmentation fault'
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Oct 2009 10:20:03 -0000
- Subject: [Bug middle-end/41837] Using '-O -fipa-struct-reorg -fwhole-program -fprofile-generate' gives 'internal compiler error: Segmentation fault'
- References: <bug-41837-18357@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from rguenth at gcc dot gnu dot org 2009-10-27 10:20 -------
Confirmed. -combine is not necessary. IPA struct-reorg is known to be broken.
Program received signal SIGSEGV, Segmentation fault.
0x0000000000c6123c in find_field_in_struct_1 (str_type=0x7ffff6c4a6e0,
field=0x7ffff6f095a0)
at /space/rguenther/src/svn/trunk/gcc/ipa-struct-reorg.c:267
267 str_field_name = IDENTIFIER_POINTER (DECL_NAME (str_field));
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2009-10-27 10:20:02
date| |
Summary|Using '-O -fipa-struct-reorg|Using '-O -fipa-struct-reorg
|-fwhole-program -combine - |-fwhole-program -fprofile-
|fprofile-generate' gives |generate' gives 'internal
|'internal compiler error: |compiler error: Segmentation
|Segmentation fault' |fault'
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41837