public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/56005] New: [4.8 Regression] FAIL: gcc.target/i386/pr45352.c (internal compiler error)
@ 2013-01-16 15:34 dominiq at lps dot ens.fr
2013-01-16 15:41 ` [Bug target/56005] " jakub at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: dominiq at lps dot ens.fr @ 2013-01-16 15:34 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56005
Bug #: 56005
Summary: [4.8 Regression] FAIL: gcc.target/i386/pr45352.c
(internal compiler error)
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: dominiq@lps.ens.fr
CC: hjl.tools@gmail.com, vmakarov@gcc.gnu.org
Target: x86_64-*-* i686-*-*
The test gcc.target/i386/pr45352.c has started to fail (see
http://gcc.gnu.org/ml/gcc-regression/2013-01/msg00148.html) between revisions
195208 (OK) and 195212 (ICE
/opt/gcc/work/gcc/testsuite/gcc.target/i386/pr45352.c: In function 'foo':
/opt/gcc/work/gcc/testsuite/gcc.target/i386/pr45352.c:25:1: internal compiler
error: in add_insn_mem_dependence, at sched-deps.c:1717
}
The options -O3 -march=amdfam10 -fselective-scheduling2 are enough to trigger
the ICE.
It is likely due to revision 195211
Author: vmakarov
Date: Tue Jan 15 16:47:36 2013 UTC (22 hours, 42 minutes ago)
Changed paths: 4
Log Message:
2013-01-15 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/pr55153
* sched-deps.c (sched_analyze_2): Add pending reads for prefetch.
2013-01-15 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/pr55153
* gcc.dg/pr55153.c: New.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/56005] [4.8 Regression] FAIL: gcc.target/i386/pr45352.c (internal compiler error)
2013-01-16 15:34 [Bug target/56005] New: [4.8 Regression] FAIL: gcc.target/i386/pr45352.c (internal compiler error) dominiq at lps dot ens.fr
@ 2013-01-16 15:41 ` jakub at gcc dot gnu.org
2013-01-16 15:54 ` [Bug rtl-optimization/56005] " schwab@linux-m68k.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-01-16 15:41 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56005
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-01-16
CC| |jakub at gcc dot gnu.org
Target Milestone|--- |4.8.0
Ever Confirmed|0 |1
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-16 15:40:46 UTC ---
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55153#c4
Let's close PR55153 as fixed and keep this PR to track the regression the fix
caused.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug rtl-optimization/56005] [4.8 Regression] FAIL: gcc.target/i386/pr45352.c (internal compiler error)
2013-01-16 15:34 [Bug target/56005] New: [4.8 Regression] FAIL: gcc.target/i386/pr45352.c (internal compiler error) dominiq at lps dot ens.fr
2013-01-16 15:41 ` [Bug target/56005] " jakub at gcc dot gnu.org
@ 2013-01-16 15:54 ` schwab@linux-m68k.org
2013-01-16 16:39 ` vmakarov at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: schwab@linux-m68k.org @ 2013-01-16 15:54 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56005
Andreas Schwab <schwab@linux-m68k.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|x86_64-*-* i686-*-* |x86_64-*-* i686-*-*
| |ia64-*-*
Component|target |rtl-optimization
--- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> 2013-01-16 15:53:34 UTC ---
Likely target independent, also breaks gcc.dg/pr45352-1.c on ia64 with the same
ICE.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug rtl-optimization/56005] [4.8 Regression] FAIL: gcc.target/i386/pr45352.c (internal compiler error)
2013-01-16 15:34 [Bug target/56005] New: [4.8 Regression] FAIL: gcc.target/i386/pr45352.c (internal compiler error) dominiq at lps dot ens.fr
2013-01-16 15:41 ` [Bug target/56005] " jakub at gcc dot gnu.org
2013-01-16 15:54 ` [Bug rtl-optimization/56005] " schwab@linux-m68k.org
@ 2013-01-16 16:39 ` vmakarov at gcc dot gnu.org
2013-01-16 18:28 ` vmakarov at gcc dot gnu.org
2013-01-16 18:37 ` jakub at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: vmakarov at gcc dot gnu.org @ 2013-01-16 16:39 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56005
--- Comment #3 from Vladimir Makarov <vmakarov at gcc dot gnu.org> 2013-01-16 16:39:21 UTC ---
(In reply to comment #1)
> See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55153#c4
> Let's close PR55153 as fixed and keep this PR to track the regression the fix
> caused.
Sorry, I forgot about selective scheduler which uses deps->readonly mechanism
for its own purposes. The fix is really easy. It is just adding an if-cond
when prefetch is added.
if (!deps->readonly)
add_insn_mem_dependence (deps, true, insn,
gen_rtx_MEM (Pmode, XEXP
(PATTERN (insn), 0)));
I'll submit the patch today.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug rtl-optimization/56005] [4.8 Regression] FAIL: gcc.target/i386/pr45352.c (internal compiler error)
2013-01-16 15:34 [Bug target/56005] New: [4.8 Regression] FAIL: gcc.target/i386/pr45352.c (internal compiler error) dominiq at lps dot ens.fr
` (2 preceding siblings ...)
2013-01-16 16:39 ` vmakarov at gcc dot gnu.org
@ 2013-01-16 18:28 ` vmakarov at gcc dot gnu.org
2013-01-16 18:37 ` jakub at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: vmakarov at gcc dot gnu.org @ 2013-01-16 18:28 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56005
--- Comment #4 from Vladimir Makarov <vmakarov at gcc dot gnu.org> 2013-01-16 18:28:04 UTC ---
Author: vmakarov
Date: Wed Jan 16 18:27:58 2013
New Revision: 195247
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195247
Log:
2013-01-16 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/56005
* sched-deps.c (sched_analyze_2): Check deps->readonly for adding
pending reads for prefetch.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/sched-deps.c
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug rtl-optimization/56005] [4.8 Regression] FAIL: gcc.target/i386/pr45352.c (internal compiler error)
2013-01-16 15:34 [Bug target/56005] New: [4.8 Regression] FAIL: gcc.target/i386/pr45352.c (internal compiler error) dominiq at lps dot ens.fr
` (3 preceding siblings ...)
2013-01-16 18:28 ` vmakarov at gcc dot gnu.org
@ 2013-01-16 18:37 ` jakub at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-01-16 18:37 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56005
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-16 18:36:47 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-01-16 18:37 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-16 15:34 [Bug target/56005] New: [4.8 Regression] FAIL: gcc.target/i386/pr45352.c (internal compiler error) dominiq at lps dot ens.fr
2013-01-16 15:41 ` [Bug target/56005] " jakub at gcc dot gnu.org
2013-01-16 15:54 ` [Bug rtl-optimization/56005] " schwab@linux-m68k.org
2013-01-16 16:39 ` vmakarov at gcc dot gnu.org
2013-01-16 18:28 ` vmakarov at gcc dot gnu.org
2013-01-16 18:37 ` jakub at gcc dot gnu.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).