* [Bug middle-end/45015] ICE in cselib.c caused by fix for PR43051
2010-07-21 7:19 [Bug middle-end/45015] New: ICE in cselib.c caused by fix for PR43051 mkuvyrkov at gcc dot gnu dot org
@ 2010-07-21 7:21 ` mkuvyrkov at gcc dot gnu dot org
2010-07-21 12:29 ` [Bug debug/45015] " jakub at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: mkuvyrkov at gcc dot gnu dot org @ 2010-07-21 7:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from mkuvyrkov at gcc dot gnu dot org 2010-07-21 07:20 -------
Created an attachment (id=21276)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21276&action=view)
Testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45015
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug debug/45015] ICE in cselib.c caused by fix for PR43051
2010-07-21 7:19 [Bug middle-end/45015] New: ICE in cselib.c caused by fix for PR43051 mkuvyrkov at gcc dot gnu dot org
2010-07-21 7:21 ` [Bug middle-end/45015] " mkuvyrkov at gcc dot gnu dot org
@ 2010-07-21 12:29 ` jakub at gcc dot gnu dot org
2010-07-21 12:41 ` jakub at gcc dot gnu dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-07-21 12:29 UTC (permalink / raw)
To: gcc-bugs
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
Component|middle-end |debug
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-07-21 12:29:16
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45015
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug debug/45015] ICE in cselib.c caused by fix for PR43051
2010-07-21 7:19 [Bug middle-end/45015] New: ICE in cselib.c caused by fix for PR43051 mkuvyrkov at gcc dot gnu dot org
2010-07-21 7:21 ` [Bug middle-end/45015] " mkuvyrkov at gcc dot gnu dot org
2010-07-21 12:29 ` [Bug debug/45015] " jakub at gcc dot gnu dot org
@ 2010-07-21 12:41 ` jakub at gcc dot gnu dot org
2010-07-21 17:59 ` mkuvyrkov at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-07-21 12:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from jakub at gcc dot gnu dot org 2010-07-21 12:40 -------
Created an attachment (id=21278)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21278&action=view)
gcc46-pr45015.patch
Untested fix (together with testcase that fails even with current trunk without
the patch). Will bootstrap/regtest on x86_64-linux and i686-linux, can you
please do the same on m68k? Thanks.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45015
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug debug/45015] ICE in cselib.c caused by fix for PR43051
2010-07-21 7:19 [Bug middle-end/45015] New: ICE in cselib.c caused by fix for PR43051 mkuvyrkov at gcc dot gnu dot org
` (2 preceding siblings ...)
2010-07-21 12:41 ` jakub at gcc dot gnu dot org
@ 2010-07-21 17:59 ` mkuvyrkov at gcc dot gnu dot org
2010-07-21 18:05 ` jakub at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: mkuvyrkov at gcc dot gnu dot org @ 2010-07-21 17:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from mkuvyrkov at gcc dot gnu dot org 2010-07-21 17:58 -------
Created an attachment (id=21280)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21280&action=view)
Testcase for patch
Thanks for looking into this problem!
The patch fixes the original testcase but causes a segmentation fault when
compiling libgcc.
.../cc1 -fpreprocessed libgcc2.i -quiet -dumpbase libgcc2.c -mcpu=54455
-auxbase-strip _muldi3.o -g -g -g -O2 -W -Wall -Wwrite-strings -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -version -fPIC
-fvisibility=hidden -fremove-local-statics -o libgcc2.s
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45015
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug debug/45015] ICE in cselib.c caused by fix for PR43051
2010-07-21 7:19 [Bug middle-end/45015] New: ICE in cselib.c caused by fix for PR43051 mkuvyrkov at gcc dot gnu dot org
` (3 preceding siblings ...)
2010-07-21 17:59 ` mkuvyrkov at gcc dot gnu dot org
@ 2010-07-21 18:05 ` jakub at gcc dot gnu dot org
2010-07-21 18:20 ` maxim at codesourcery dot com
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-07-21 18:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jakub at gcc dot gnu dot org 2010-07-21 18:05 -------
Can't reproduce that. Were you testing the patch attached here, or the one
posted to gcc-patches? The one attached here won't work when not
ENABLE_CHECKING...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45015
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug debug/45015] ICE in cselib.c caused by fix for PR43051
2010-07-21 7:19 [Bug middle-end/45015] New: ICE in cselib.c caused by fix for PR43051 mkuvyrkov at gcc dot gnu dot org
` (4 preceding siblings ...)
2010-07-21 18:05 ` jakub at gcc dot gnu dot org
@ 2010-07-21 18:20 ` maxim at codesourcery dot com
2010-07-21 19:12 ` jakub at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: maxim at codesourcery dot com @ 2010-07-21 18:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from mkuvyrkov at gcc dot gnu dot org 2010-07-21 18:20 -------
Subject: Re: ICE in cselib.c caused by fix for PR43051
On 7/21/10 10:05 PM, jakub at gcc dot gnu dot org wrote:
> ------- Comment #4 from jakub at gcc dot gnu dot org 2010-07-21 18:05 -------
> Can't reproduce that. Were you testing the patch attached here, or the one
> posted to gcc-patches? The one attached here won't work when not
> ENABLE_CHECKING...
That fixes the SIGSEGV. Regtesting on m68k didn't show any regressions.
Thanks for fixing this.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45015
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug debug/45015] ICE in cselib.c caused by fix for PR43051
2010-07-21 7:19 [Bug middle-end/45015] New: ICE in cselib.c caused by fix for PR43051 mkuvyrkov at gcc dot gnu dot org
` (5 preceding siblings ...)
2010-07-21 18:20 ` maxim at codesourcery dot com
@ 2010-07-21 19:12 ` jakub at gcc dot gnu dot org
2010-07-22 6:39 ` jakub at gcc dot gnu dot org
2010-07-22 6:47 ` jakub at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-07-21 19:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from jakub at gcc dot gnu dot org 2010-07-21 19:12 -------
Subject: Bug 45015
Author: jakub
Date: Wed Jul 21 19:11:55 2010
New Revision: 162385
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162385
Log:
PR debug/45015
* var-tracking.c (adjust_mems): Ignore ASM_OPERANDS with non-zero
ASM_OPERANDS_OUTPUT_IDX.
(adjust_insn): For inline asm with multiple sets ensure first
ASM_OPERANDS vectors are used by all following ASM_OPERANDS in
the insn.
* gcc.target/m68k/pr45015.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/m68k/pr45015.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/var-tracking.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45015
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug debug/45015] ICE in cselib.c caused by fix for PR43051
2010-07-21 7:19 [Bug middle-end/45015] New: ICE in cselib.c caused by fix for PR43051 mkuvyrkov at gcc dot gnu dot org
` (6 preceding siblings ...)
2010-07-21 19:12 ` jakub at gcc dot gnu dot org
@ 2010-07-22 6:39 ` jakub at gcc dot gnu dot org
2010-07-22 6:47 ` jakub at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-07-22 6:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from jakub at gcc dot gnu dot org 2010-07-22 06:38 -------
Subject: Bug 45015
Author: jakub
Date: Thu Jul 22 06:38:25 2010
New Revision: 162397
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162397
Log:
PR debug/45015
* var-tracking.c (adjust_mems): Ignore ASM_OPERANDS with non-zero
ASM_OPERANDS_OUTPUT_IDX.
(adjust_insn): For inline asm with multiple sets ensure first
ASM_OPERANDS vectors are used by all following ASM_OPERANDS in
the insn.
* gcc.target/m68k/pr45015.c: New test.
Added:
branches/gcc-4_5-branch/gcc/testsuite/gcc.target/m68k/pr45015.c
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
branches/gcc-4_5-branch/gcc/var-tracking.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45015
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug debug/45015] ICE in cselib.c caused by fix for PR43051
2010-07-21 7:19 [Bug middle-end/45015] New: ICE in cselib.c caused by fix for PR43051 mkuvyrkov at gcc dot gnu dot org
` (7 preceding siblings ...)
2010-07-22 6:39 ` jakub at gcc dot gnu dot org
@ 2010-07-22 6:47 ` jakub at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-07-22 6:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from jakub at gcc dot gnu dot org 2010-07-22 06:46 -------
Should be fixed now.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45015
^ permalink raw reply [flat|nested] 10+ messages in thread