public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/41841] New: segfault using '-O -fipa-cp -fipa-struct-reorg -fwhole-program -combine -fprofile-generate'
@ 2009-10-27 5:03 b3timmons at speedymail dot org
2009-10-27 5:07 ` [Bug c/41841] " b3timmons at speedymail dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: b3timmons at speedymail dot org @ 2009-10-27 5:03 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2878 bytes --]
gcc -B. -r -nostdlib -v -Wall -Wextra -O -fipa-cp -fipa-struct-reorg
-fwhole-program -combine -fprofile-generate devices.i
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /home/b3po/build/gcc/gcc/configure --with-mpfr=/usr/local
--with-gmp=/usr/local --with-ppl=/usr/local --with-cloog=/usr/local
--with-mpc=/usr/local --with-libelf=/usr/local --enable-languages=c,c++
--enable-__cxa_atexit --enable-targets=all
Thread model: posix
gcc version 4.5.0 20091026 (experimental) (GCC)
COLLECT_GCC_OPTIONS='-B.' '-r' '-nostdlib' '-v' '-Wall' '-Wextra' '-O'
'-fipa-cp' '-fipa-struct-reorg' '-fwhole-program' '-combine'
'-fprofile-generate' '-mtune=generic'
/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/cc1 -fpreprocessed
devices.i -quiet -dumpbase devices.i -mtune=generic -auxbase devices -O -Wall
-Wextra -version -fipa-cp -fipa-struct-reorg -fwhole-program -fprofile-generate
-o /tmp/ccNSNGpE.s
GNU C (GCC) version 4.5.0 20091026 (experimental) (x86_64-unknown-linux-gnu)
compiled by GNU C version 4.5.0 20091026 (experimental), GMP version
4.3.1, MPFR version 2.4.1, MPC version 0.7
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C (GCC) version 4.5.0 20091026 (experimental) (x86_64-unknown-linux-gnu)
compiled by GNU C version 4.5.0 20091026 (experimental), GMP version
4.3.1, MPFR version 2.4.1, MPC version 0.7
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 51f39aedff8c196534353c80fb0ba358
devices.c: In function CoreKeyboardBell:
devices.c:287:43: warning: unused parameter pDev
devices.c:287:66: warning: unused parameter something
devices.c: In function CoreKeyboardCtl:
devices.c:295:30: warning: unused parameter pDev
devices.c:295:47: warning: unused parameter ctrl
devices.c: In function InitCoreDevices:
devices.c:407:38: warning: comparison between signed and unsigned integer
expressions
devices.c: In function InitStringFeedbackClassDeviceStruct:
devices.c:1103:39: warning: cast from pointer to integer of different size
devices.c: At top level:
devices.c:2060:1: internal compiler error: Segmentation fault
--
Summary: segfault using '-O -fipa-cp -fipa-struct-reorg -fwhole-
program -combine -fprofile-generate'
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: b3timmons at speedymail dot org
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41841
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/41841] segfault using '-O -fipa-cp -fipa-struct-reorg -fwhole-program -combine -fprofile-generate'
2009-10-27 5:03 [Bug c/41841] New: segfault using '-O -fipa-cp -fipa-struct-reorg -fwhole-program -combine -fprofile-generate' b3timmons at speedymail dot org
@ 2009-10-27 5:07 ` b3timmons at speedymail dot org
2009-10-27 10:22 ` [Bug c/41841] segfault using '-O -fipa-cp -fipa-struct-reorg -fwhole-program -fprofile-generate' rguenth at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: b3timmons at speedymail dot org @ 2009-10-27 5:07 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from b3timmons at speedymail dot org 2009-10-27 05:07 -------
Created an attachment (id=18910)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18910&action=view)
gzipped preprocessed source triggering failure
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41841
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/41841] segfault using '-O -fipa-cp -fipa-struct-reorg -fwhole-program -fprofile-generate'
2009-10-27 5:03 [Bug c/41841] New: segfault using '-O -fipa-cp -fipa-struct-reorg -fwhole-program -combine -fprofile-generate' b3timmons at speedymail dot org
2009-10-27 5:07 ` [Bug c/41841] " b3timmons at speedymail dot org
@ 2009-10-27 10:22 ` rguenth at gcc dot gnu dot org
2009-10-27 14:28 ` [Bug tree-optimization/41841] " jakub at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-10-27 10:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2009-10-27 10:21 -------
Confirmed. -combine is not necessary. IPA struct reorg is known to be broken.
Program received signal SIGSEGV, Segmentation fault.
0x0000000000c6b3cf in build_data_structure (unsuitable_types=0x7fffffffdae8)
at /space/rguenther/src/svn/trunk/gcc/ipa-struct-reorg.c:3378
3378 for (var_list = fn->local_decls; var_list;
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-10-27 10:21:58
date| |
Summary|segfault using '-O -fipa-cp |segfault using '-O -fipa-cp
|-fipa-struct-reorg -fwhole- |-fipa-struct-reorg -fwhole-
|program -combine -fprofile- |program -fprofile-generate'
|generate' |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41841
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/41841] segfault using '-O -fipa-cp -fipa-struct-reorg -fwhole-program -fprofile-generate'
2009-10-27 5:03 [Bug c/41841] New: segfault using '-O -fipa-cp -fipa-struct-reorg -fwhole-program -combine -fprofile-generate' b3timmons at speedymail dot org
2009-10-27 5:07 ` [Bug c/41841] " b3timmons at speedymail dot org
2009-10-27 10:22 ` [Bug c/41841] segfault using '-O -fipa-cp -fipa-struct-reorg -fwhole-program -fprofile-generate' rguenth at gcc dot gnu dot org
@ 2009-10-27 14:28 ` jakub at gcc dot gnu dot org
2009-11-02 13:57 ` jakub at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-10-27 14:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jakub at gcc dot gnu dot org 2009-10-27 14:28 -------
Created an attachment (id=18915)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18915&action=view)
gcc45-pr41841.patch
Fix.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41841
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/41841] segfault using '-O -fipa-cp -fipa-struct-reorg -fwhole-program -fprofile-generate'
2009-10-27 5:03 [Bug c/41841] New: segfault using '-O -fipa-cp -fipa-struct-reorg -fwhole-program -combine -fprofile-generate' b3timmons at speedymail dot org
` (2 preceding siblings ...)
2009-10-27 14:28 ` [Bug tree-optimization/41841] " jakub at gcc dot gnu dot org
@ 2009-11-02 13:57 ` jakub at gcc dot gnu dot org
2009-11-02 13:59 ` jakub at gcc dot gnu dot org
2009-11-20 14:52 ` hjl at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-11-02 13:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jakub at gcc dot gnu dot org 2009-11-02 13:57 -------
Subject: Bug 41841
Author: jakub
Date: Mon Nov 2 13:57:13 2009
New Revision: 153807
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153807
Log:
PR tree-optimization/41841
* ipa-struct-reorg.c (build_data_structure): Don't attempt to look at
local variables of not yet materialized clones.
* gcc.dg/pr41841.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr41841.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ipa-struct-reorg.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41841
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/41841] segfault using '-O -fipa-cp -fipa-struct-reorg -fwhole-program -fprofile-generate'
2009-10-27 5:03 [Bug c/41841] New: segfault using '-O -fipa-cp -fipa-struct-reorg -fwhole-program -combine -fprofile-generate' b3timmons at speedymail dot org
` (3 preceding siblings ...)
2009-11-02 13:57 ` jakub at gcc dot gnu dot org
@ 2009-11-02 13:59 ` jakub at gcc dot gnu dot org
2009-11-20 14:52 ` hjl at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-11-02 13:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jakub at gcc dot gnu dot org 2009-11-02 13:59 -------
Fixed.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41841
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/41841] segfault using '-O -fipa-cp -fipa-struct-reorg -fwhole-program -fprofile-generate'
2009-10-27 5:03 [Bug c/41841] New: segfault using '-O -fipa-cp -fipa-struct-reorg -fwhole-program -combine -fprofile-generate' b3timmons at speedymail dot org
` (4 preceding siblings ...)
2009-11-02 13:59 ` jakub at gcc dot gnu dot org
@ 2009-11-20 14:52 ` hjl at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: hjl at gcc dot gnu dot org @ 2009-11-20 14:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from hjl at gcc dot gnu dot org 2009-11-20 14:50 -------
Subject: Bug 41841
Author: hjl
Date: Fri Nov 20 14:49:22 2009
New Revision: 154366
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154366
Log:
2009-11-20 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline:
2009-11-18 Alexandre Oliva <aoliva@redhat.com>
PR debug/41926
* gcc.dg/vect/vect-debug-pr41926.c: New.
2009-11-16 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/42055
* g++.dg/template/crash92.C: New.
2009-11-08 Richard Guenther <rguenther@suse.de>
PR rtl-optimization/41928
* gfortran.dg/pr41928.f90: New testcase.
2009-11-06 Jakub Jelinek <jakub@redhat.com>
PR middle-end/41935
* gcc.dg/pr41935.c: New test.
* c-c++-common/pr41935.c: New test.
* gcc.c-torture/execute/pr41935.c: New test.
2009-11-04 Richard Guenther <rguenther@suse.de>
PR tree-optimization/41919
* gcc.c-torture/execute/pr41919.c: New testcase.
2009-11-03 Tobias Burnus <burnus@net-b.de>
PR fortran/41907
* gfortran.dg/missing_optional_dummy_6.f90: New test.
2009-11-02 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/41750
* gcc.c-torture/execute/pr41750.c: New test.
2009-11-02 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/41841
* gcc.dg/pr41841.c: New test.
Added:
branches/gcc-4_4-branch/gcc/testsuite/c-c++-common/pr41935.c
- copied unchanged from r154365,
trunk/gcc/testsuite/c-c++-common/pr41935.c
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/template/crash92.C
- copied unchanged from r154365,
trunk/gcc/testsuite/g++.dg/template/crash92.C
branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/execute/pr41750.c
- copied unchanged from r154365,
trunk/gcc/testsuite/gcc.c-torture/execute/pr41750.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/execute/pr41919.c
- copied unchanged from r154365,
trunk/gcc/testsuite/gcc.c-torture/execute/pr41919.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/execute/pr41935.c
- copied unchanged from r154365,
trunk/gcc/testsuite/gcc.c-torture/execute/pr41935.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/pr41841.c
- copied unchanged from r154365, trunk/gcc/testsuite/gcc.dg/pr41841.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/pr41935.c
- copied unchanged from r154365, trunk/gcc/testsuite/gcc.dg/pr41935.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/vect/vect-debug-pr41926.c
- copied unchanged from r154365,
trunk/gcc/testsuite/gcc.dg/vect/vect-debug-pr41926.c
branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/missing_optional_dummy_6.f90
- copied unchanged from r154365,
trunk/gcc/testsuite/gfortran.dg/missing_optional_dummy_6.f90
branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/pr41928.f90
- copied unchanged from r154365,
trunk/gcc/testsuite/gfortran.dg/pr41928.f90
Modified:
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41841
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-11-20 14:52 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-27 5:03 [Bug c/41841] New: segfault using '-O -fipa-cp -fipa-struct-reorg -fwhole-program -combine -fprofile-generate' b3timmons at speedymail dot org
2009-10-27 5:07 ` [Bug c/41841] " b3timmons at speedymail dot org
2009-10-27 10:22 ` [Bug c/41841] segfault using '-O -fipa-cp -fipa-struct-reorg -fwhole-program -fprofile-generate' rguenth at gcc dot gnu dot org
2009-10-27 14:28 ` [Bug tree-optimization/41841] " jakub at gcc dot gnu dot org
2009-11-02 13:57 ` jakub at gcc dot gnu dot org
2009-11-02 13:59 ` jakub at gcc dot gnu dot org
2009-11-20 14:52 ` hjl at gcc dot gnu dot org
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).