public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/54470] New: FAIL: gcc.dg/ipa/iinline-4.c scan-ipa-dump inline "hooray4[^\\n]*inline copy in test4"
@ 2012-09-03 17:34 danglin at gcc dot gnu.org
2012-09-04 14:02 ` [Bug middle-end/54470] " jamborm at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: danglin at gcc dot gnu.org @ 2012-09-03 17:34 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54470
Bug #: 54470
Summary: FAIL: gcc.dg/ipa/iinline-4.c scan-ipa-dump inline
"hooray4[^\\n]*inline copy in test4"
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: danglin@gcc.gnu.org
Host: hppa*-*-* (32-bit)
Target: hppa*-*-* (32-bit)
Build: hppa*-*-* (32-bit)
Created attachment 28124
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28124
ipa inline dump
Executing on host: /home/dave/gnu/gcc/objdir/gcc/xgcc
-B/home/dave/gnu/gcc/objdir/gcc/
/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/ipa/iinline-4.c
-fno-diagnostics-show-caret -O3 -fdump-ipa-inline -fno-early-inlining -S -o
iinline-4.s (timeout = 300)
spawn /home/dave/gnu/gcc/objdir/gcc/xgcc -B/home/dave/gnu/gcc/objdir/gcc/
/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/ipa/iinline-4.c
-fno-diagnostics-show-caret -O3 -fdump-ipa-inline -fno-early-inlining -S -o
iinline-4.s
PASS: gcc.dg/ipa/iinline-4.c (test for excess errors)
PASS: gcc.dg/ipa/iinline-4.c scan-ipa-dump inline "hooray1[^\\n]*inline copy in
test1"
PASS: gcc.dg/ipa/iinline-4.c scan-ipa-dump inline "hooray2[^\\n]*inline copy in
test2"
PASS: gcc.dg/ipa/iinline-4.c scan-ipa-dump inline "hooray3[^\\n]*inline copy in
test3"
FAIL: gcc.dg/ipa/iinline-4.c scan-ipa-dump inline "hooray4[^\\n]*inline copy in
test4"
PASS: gcc.dg/ipa/iinline-4.c scan-ipa-dump inline "hooray5[^\\n]*inline copy in
test5"
PASS: gcc.dg/ipa/iinline-4.c scan-ipa-dump inline "hooray6[^\\n]*inline copy in
test6"
PASS: gcc.dg/ipa/iinline-4.c scan-ipa-dump inline "hooray7[^\\n]*inline copy in
test7"
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug middle-end/54470] FAIL: gcc.dg/ipa/iinline-4.c scan-ipa-dump inline "hooray4[^\\n]*inline copy in test4"
2012-09-03 17:34 [Bug middle-end/54470] New: FAIL: gcc.dg/ipa/iinline-4.c scan-ipa-dump inline "hooray4[^\\n]*inline copy in test4" danglin at gcc dot gnu.org
@ 2012-09-04 14:02 ` jamborm at gcc dot gnu.org
2012-11-30 17:49 ` jamborm at gcc dot gnu.org
2012-12-09 18:24 ` danglin at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: jamborm at gcc dot gnu.org @ 2012-09-04 14:02 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54470
Martin Jambor <jamborm at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-09-04
CC| |jamborm at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #1 from Martin Jambor <jamborm at gcc dot gnu.org> 2012-09-04 14:02:31 UTC ---
Yay, I can see this on gcc61.fsffrance.org too. I will have a look
what is going on.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug middle-end/54470] FAIL: gcc.dg/ipa/iinline-4.c scan-ipa-dump inline "hooray4[^\\n]*inline copy in test4"
2012-09-03 17:34 [Bug middle-end/54470] New: FAIL: gcc.dg/ipa/iinline-4.c scan-ipa-dump inline "hooray4[^\\n]*inline copy in test4" danglin at gcc dot gnu.org
2012-09-04 14:02 ` [Bug middle-end/54470] " jamborm at gcc dot gnu.org
@ 2012-11-30 17:49 ` jamborm at gcc dot gnu.org
2012-12-09 18:24 ` danglin at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: jamborm at gcc dot gnu.org @ 2012-11-30 17:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54470
--- Comment #2 from Martin Jambor <jamborm at gcc dot gnu.org> 2012-11-30 17:49:07 UTC ---
The problem is that whereas on other platforms, hiphip4 looks like:
hiphip4 (struct S s)
{
void (*<T29e>) (struct S *) _2;
<bb 2>:
_2 = s.f;
_2 (&s);
return;
}
on hppa, there is an extra aggregate aggregate variable with an extra
assignment:
hiphip4 (struct S s)
{
struct S s.0;
void (*<T2b0>) (struct S *) _3;
<bb 2>:
s.0 = s;
_3 = s.0.f;
_3 (&s.0);
return;
}
Thus _3 is not loaded from a PARM_DECL but from the extra VAR_DECL and
ipa-prop.c is not able to associate it with the parameter and I cannot
think of a simple way of doing that (I checked and
DECL_HAS_VALUE_EXPR_P of the parm decl is NULL when ipa-cp analysis
runs so that cannot be used, it seems).
Thus, I'm afraid that the best solution, at least for 4.8, is to xfail
the test for hppa.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug middle-end/54470] FAIL: gcc.dg/ipa/iinline-4.c scan-ipa-dump inline "hooray4[^\\n]*inline copy in test4"
2012-09-03 17:34 [Bug middle-end/54470] New: FAIL: gcc.dg/ipa/iinline-4.c scan-ipa-dump inline "hooray4[^\\n]*inline copy in test4" danglin at gcc dot gnu.org
2012-09-04 14:02 ` [Bug middle-end/54470] " jamborm at gcc dot gnu.org
2012-11-30 17:49 ` jamborm at gcc dot gnu.org
@ 2012-12-09 18:24 ` danglin at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: danglin at gcc dot gnu.org @ 2012-12-09 18:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54470
--- Comment #3 from John David Anglin <danglin at gcc dot gnu.org> 2012-12-09 18:24:32 UTC ---
Author: danglin
Date: Sun Dec 9 18:24:27 2012
New Revision: 194337
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194337
Log:
PR middle-end/54470
* gcc.dg/ipa/iinline-4.c: xfail hooray4 test on 32-bit hppa*-*-*.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/ipa/iinline-4.c
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-12-09 18:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-03 17:34 [Bug middle-end/54470] New: FAIL: gcc.dg/ipa/iinline-4.c scan-ipa-dump inline "hooray4[^\\n]*inline copy in test4" danglin at gcc dot gnu.org
2012-09-04 14:02 ` [Bug middle-end/54470] " jamborm at gcc dot gnu.org
2012-11-30 17:49 ` jamborm at gcc dot gnu.org
2012-12-09 18:24 ` danglin 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).