* [Bug target/54121] ICE at extract_insn, at recog.c:2123 sparc64
2012-07-29 17:53 [Bug gcov-profile/54121] New: ICE at extract_insn, at recog.c:2123 sparc64 jengelh at medozas dot de
@ 2012-07-30 7:28 ` mikpe at it dot uu.se
2012-12-11 9:46 ` [Bug target/54121] [4.7/4.8 regression] ICE at extract_insn, at recog.c:2123 with -fprofile-generate ebotcazou at gcc dot gnu.org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: mikpe at it dot uu.se @ 2012-07-30 7:28 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54121
Mikael Pettersson <mikpe at it dot uu.se> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikpe at it dot uu.se
--- Comment #1 from Mikael Pettersson <mikpe at it dot uu.se> 2012-07-30 07:28:19 UTC ---
I can reproduce the ICE with gcc 4.8-20120729 and 4.7-20120728, but not with
4.6-20120727, on sparc64-linux.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/54121] [4.7/4.8 regression] ICE at extract_insn, at recog.c:2123 with -fprofile-generate
2012-07-29 17:53 [Bug gcov-profile/54121] New: ICE at extract_insn, at recog.c:2123 sparc64 jengelh at medozas dot de
2012-07-30 7:28 ` [Bug target/54121] " mikpe at it dot uu.se
@ 2012-12-11 9:46 ` ebotcazou at gcc dot gnu.org
2012-12-11 9:48 ` ebotcazou at gcc dot gnu.org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-12-11 9:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54121
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-12-11
CC| |ebotcazou at gcc dot
| |gnu.org
Target Milestone|--- |4.7.3
Summary|ICE at extract_insn, at |[4.7/4.8 regression] ICE at
|recog.c:2123 sparc64 |extract_insn, at
| |recog.c:2123 with
| |-fprofile-generate
Ever Confirmed|0 |1
--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-12-11 09:46:34 UTC ---
Yup.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/54121] [4.7/4.8 regression] ICE at extract_insn, at recog.c:2123 with -fprofile-generate
2012-07-29 17:53 [Bug gcov-profile/54121] New: ICE at extract_insn, at recog.c:2123 sparc64 jengelh at medozas dot de
2012-07-30 7:28 ` [Bug target/54121] " mikpe at it dot uu.se
2012-12-11 9:46 ` [Bug target/54121] [4.7/4.8 regression] ICE at extract_insn, at recog.c:2123 with -fprofile-generate ebotcazou at gcc dot gnu.org
@ 2012-12-11 9:48 ` ebotcazou at gcc dot gnu.org
2012-12-11 11:19 ` ebotcazou at gcc dot gnu.org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-12-11 9:48 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54121
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |ebotcazou at gcc dot
|gnu.org |gnu.org
--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-12-11 09:47:45 UTC ---
Investigating.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/54121] [4.7/4.8 regression] ICE at extract_insn, at recog.c:2123 with -fprofile-generate
2012-07-29 17:53 [Bug gcov-profile/54121] New: ICE at extract_insn, at recog.c:2123 sparc64 jengelh at medozas dot de
` (2 preceding siblings ...)
2012-12-11 9:48 ` ebotcazou at gcc dot gnu.org
@ 2012-12-11 11:19 ` ebotcazou at gcc dot gnu.org
2012-12-11 11:51 ` jakub at gcc dot gnu.org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-12-11 11:19 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54121
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-12-11 11:19:11 UTC ---
Jakub, I presume it's an oversight that the combined tldo_add + store patterns
have a "=r" constraint on the source operand:
(define_insn "*tldo_stb_sp32"
[(set (mem:QI (plus:SI (unspec:SI [(match_operand:SI 2 "register_operand"
"r")
(match_operand 3 "tld_symbolic_operand" "")]
UNSPEC_TLSLDO)
(match_operand:SI 1 "register_operand" "r")))
(match_operand:QI 0 "register_operand" "=r"))]
"TARGET_TLS && TARGET_ARCH32"
"stb\t%0, [%1 + %2], %%tldo_add(%3)"
[(set_attr "type" "store")])
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/54121] [4.7/4.8 regression] ICE at extract_insn, at recog.c:2123 with -fprofile-generate
2012-07-29 17:53 [Bug gcov-profile/54121] New: ICE at extract_insn, at recog.c:2123 sparc64 jengelh at medozas dot de
` (3 preceding siblings ...)
2012-12-11 11:19 ` ebotcazou at gcc dot gnu.org
@ 2012-12-11 11:51 ` jakub at gcc dot gnu.org
2012-12-11 18:43 ` ebotcazou at gcc dot gnu.org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-12-11 11:51 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54121
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-12-11 11:51:29 UTC ---
(In reply to comment #4)
> Jakub, I presume it's an oversight that the combined tldo_add + store patterns
> have a "=r" constraint on the source operand:
>
> (define_insn "*tldo_stb_sp32"
> [(set (mem:QI (plus:SI (unspec:SI [(match_operand:SI 2 "register_operand"
> "r")
> (match_operand 3 "tld_symbolic_operand" "")]
> UNSPEC_TLSLDO)
> (match_operand:SI 1 "register_operand" "r")))
> (match_operand:QI 0 "register_operand" "=r"))]
> "TARGET_TLS && TARGET_ARCH32"
> "stb\t%0, [%1 + %2], %%tldo_add(%3)"
> [(set_attr "type" "store")])
Obviously. Please remove the = from all the tldo_st*_sp* patterns. I bet I've
created them from the tldo_ld* patterns initially by swapping the operands.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/54121] [4.7/4.8 regression] ICE at extract_insn, at recog.c:2123 with -fprofile-generate
2012-07-29 17:53 [Bug gcov-profile/54121] New: ICE at extract_insn, at recog.c:2123 sparc64 jengelh at medozas dot de
` (4 preceding siblings ...)
2012-12-11 11:51 ` jakub at gcc dot gnu.org
@ 2012-12-11 18:43 ` ebotcazou at gcc dot gnu.org
2012-12-11 18:45 ` ebotcazou at gcc dot gnu.org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-12-11 18:43 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54121
--- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-12-11 18:42:37 UTC ---
Author: ebotcazou
Date: Tue Dec 11 18:42:31 2012
New Revision: 194410
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194410
Log:
PR target/54121
* config/sparc/sparc.md (tldo_stb_sp32): Fix pasto.
(tldo_stb_sp64): Likewise.
(tldo_sth_sp32): Likewise.
(tldo_sth_sp64): Likewise.
(tldo_stw_sp32): Likewise.
(tldo_stw_sp64): Likewise.
(tldo_stx_sp64): Likewise.
Added:
trunk/gcc/testsuite/gcc.dg/pr54121.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/sparc/sparc.md
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/54121] [4.7/4.8 regression] ICE at extract_insn, at recog.c:2123 with -fprofile-generate
2012-07-29 17:53 [Bug gcov-profile/54121] New: ICE at extract_insn, at recog.c:2123 sparc64 jengelh at medozas dot de
` (5 preceding siblings ...)
2012-12-11 18:43 ` ebotcazou at gcc dot gnu.org
@ 2012-12-11 18:45 ` ebotcazou at gcc dot gnu.org
2012-12-11 18:46 ` ebotcazou at gcc dot gnu.org
2012-12-11 18:48 ` ebotcazou at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-12-11 18:45 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54121
--- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-12-11 18:44:57 UTC ---
Author: ebotcazou
Date: Tue Dec 11 18:44:48 2012
New Revision: 194411
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194411
Log:
PR target/54121
* config/sparc/sparc.md (tldo_stb_sp32): Fix pasto.
(tldo_stb_sp64): Likewise.
(tldo_sth_sp32): Likewise.
(tldo_sth_sp64): Likewise.
(tldo_stw_sp32): Likewise.
(tldo_stw_sp64): Likewise.
(tldo_stx_sp64): Likewise.
Added:
branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/pr54121.c
- copied unchanged from r194410, trunk/gcc/testsuite/gcc.dg/pr54121.c
Modified:
branches/gcc-4_7-branch/gcc/ChangeLog
branches/gcc-4_7-branch/gcc/config/sparc/sparc.md
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/54121] [4.7/4.8 regression] ICE at extract_insn, at recog.c:2123 with -fprofile-generate
2012-07-29 17:53 [Bug gcov-profile/54121] New: ICE at extract_insn, at recog.c:2123 sparc64 jengelh at medozas dot de
` (6 preceding siblings ...)
2012-12-11 18:45 ` ebotcazou at gcc dot gnu.org
@ 2012-12-11 18:46 ` ebotcazou at gcc dot gnu.org
2012-12-11 18:48 ` ebotcazou at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-12-11 18:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54121
--- Comment #8 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-12-11 18:46:30 UTC ---
Author: ebotcazou
Date: Tue Dec 11 18:46:20 2012
New Revision: 194413
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194413
Log:
PR target/54121
* config/sparc/sparc.md (tldo_stb_sp32): Fix pasto.
(tldo_stb_sp64): Likewise.
(tldo_sth_sp32): Likewise.
(tldo_sth_sp64): Likewise.
(tldo_stw_sp32): Likewise.
(tldo_stw_sp64): Likewise.
(tldo_stx_sp64): Likewise.
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/config/sparc/sparc.md
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/54121] [4.7/4.8 regression] ICE at extract_insn, at recog.c:2123 with -fprofile-generate
2012-07-29 17:53 [Bug gcov-profile/54121] New: ICE at extract_insn, at recog.c:2123 sparc64 jengelh at medozas dot de
` (7 preceding siblings ...)
2012-12-11 18:46 ` ebotcazou at gcc dot gnu.org
@ 2012-12-11 18:48 ` ebotcazou at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-12-11 18:48 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54121
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #9 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-12-11 18:47:49 UTC ---
Thanks for reporting the problem.
^ permalink raw reply [flat|nested] 10+ messages in thread