public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/48727] New: FAIL: g++.dg/opt/devirt2.C scan-assembler-times xyzzy 2
@ 2011-04-22 15:07 danglin at gcc dot gnu.org
2011-06-14 20:26 ` [Bug testsuite/48727] " sje at gcc dot gnu.org
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-04-22 15:07 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48727
Summary: FAIL: g++.dg/opt/devirt2.C scan-assembler-times xyzzy
2
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: danglin@gcc.gnu.org
Host: hppa2.0w-hp-hpux11.11
Target: hppa2.0w-hp-hpux11.11
Build: hppa2.0w-hp-hpux11.11
Executing on host: /test/gnu/gcc/objdir/gcc/testsuite/g++/../../g++
-B/test/gnu/
gcc/objdir/gcc/testsuite/g++/../../
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/opt/d
evirt2.C -nostdinc++
-I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/
include/hppa2.0w-hp-hpux11.11
-I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libst
dc++-v3/include -I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++
-I/test/gnu/gcc/gcc/l
ibstdc++-v3/include/backward -I/test/gnu/gcc/gcc/libstdc++-v3/testsuite/util
-fm
essage-length=0 -O2 -S -o devirt2.s (timeout = 300)
PASS: g++.dg/opt/devirt2.C (test for excess errors)
FAIL: g++.dg/opt/devirt2.C scan-assembler-times xyzzy 2
.s has two calls and one .import directive for _ZN1S5xyzzyEv:
bl _ZN1S5xyzzyEv,%r2
bl _ZN1S5xyzzyEv,%r2
.IMPORT _ZN1S5xyzzyEv,CODE
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug testsuite/48727] FAIL: g++.dg/opt/devirt2.C scan-assembler-times xyzzy 2
2011-04-22 15:07 [Bug testsuite/48727] New: FAIL: g++.dg/opt/devirt2.C scan-assembler-times xyzzy 2 danglin at gcc dot gnu.org
@ 2011-06-14 20:26 ` sje at gcc dot gnu.org
2011-06-16 20:39 ` sje at gcc dot gnu.org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: sje at gcc dot gnu.org @ 2011-06-14 20:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48727
--- Comment #1 from Steve Ellcey <sje at gcc dot gnu.org> 2011-06-14 20:26:13 UTC ---
Author: sje
Date: Tue Jun 14 20:26:08 2011
New Revision: 175055
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175055
Log:
2011-06-14 Steve Ellcey <sje@cup.hp.com>
PR testsuite/48727
* g++.dg/opt/devirt2.C: Fix scan rules for ia64*-*-hpux* and hppa*-*-*.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/opt/devirt2.C
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug testsuite/48727] FAIL: g++.dg/opt/devirt2.C scan-assembler-times xyzzy 2
2011-04-22 15:07 [Bug testsuite/48727] New: FAIL: g++.dg/opt/devirt2.C scan-assembler-times xyzzy 2 danglin at gcc dot gnu.org
2011-06-14 20:26 ` [Bug testsuite/48727] " sje at gcc dot gnu.org
@ 2011-06-16 20:39 ` sje at gcc dot gnu.org
2011-07-06 17:11 ` ro at gcc dot gnu.org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: sje at gcc dot gnu.org @ 2011-06-16 20:39 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48727
--- Comment #2 from Steve Ellcey <sje at gcc dot gnu.org> 2011-06-16 20:38:52 UTC ---
Author: sje
Date: Thu Jun 16 20:38:49 2011
New Revision: 175112
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175112
Log:
2011-06-16 Steve Ellcey <sje@cup.hp.com>
PR testsuite/48727
* g++.dg/opt/devirt2.C: Change xfail rule to target.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/opt/devirt2.C
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug testsuite/48727] FAIL: g++.dg/opt/devirt2.C scan-assembler-times xyzzy 2
2011-04-22 15:07 [Bug testsuite/48727] New: FAIL: g++.dg/opt/devirt2.C scan-assembler-times xyzzy 2 danglin at gcc dot gnu.org
2011-06-14 20:26 ` [Bug testsuite/48727] " sje at gcc dot gnu.org
2011-06-16 20:39 ` sje at gcc dot gnu.org
@ 2011-07-06 17:11 ` ro at gcc dot gnu.org
2011-07-06 19:16 ` ebotcazou at gcc dot gnu.org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ro at gcc dot gnu.org @ 2011-07-06 17:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48727
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|hppa2.0w-hp-hpux11.11 |hppa2.0w-hp-hpux11.11,
| |sparc-sun-solaris2*
CC| |ebotcazou at gcc dot
| |gnu.org, ro at gcc dot
| |gnu.org
Host|hppa2.0w-hp-hpux11.11 |hppa2.0w-hp-hpux11.11,
| |sparc-sun-solaris2*
Target Milestone|--- |4.7.0
Build|hppa2.0w-hp-hpux11.11 |hppa2.0w-hp-hpux11.11,
| |sparc-sun-solaris2*
--- Comment #3 from Rainer Orth <ro at gcc dot gnu.org> 2011-07-06 17:10:22 UTC ---
This also fails on 32-bit Solaris/SPARC with Sun as, which has:
sethi %hi(_ZN1S5xyzzyEv), %g1
jmp %g1 + %lo(_ZN1S5xyzzyEv)
sethi %hi(_ZN1S5xyzzyEv), %g1
jmp %g1 + %lo(_ZN1S5xyzzyEv)
On the other hand, both 64-bit with Sun as and 32-bit with gas have
call _ZN1S5xyzzyEv, 0
call _ZN1S5xyzzyEv, 0
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug testsuite/48727] FAIL: g++.dg/opt/devirt2.C scan-assembler-times xyzzy 2
2011-04-22 15:07 [Bug testsuite/48727] New: FAIL: g++.dg/opt/devirt2.C scan-assembler-times xyzzy 2 danglin at gcc dot gnu.org
` (2 preceding siblings ...)
2011-07-06 17:11 ` ro at gcc dot gnu.org
@ 2011-07-06 19:16 ` ebotcazou at gcc dot gnu.org
2011-07-07 13:05 ` ro at CeBiTec dot Uni-Bielefeld.DE
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-07-06 19:16 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48727
--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-07-06 19:15:49 UTC ---
> This also fails on 32-bit Solaris/SPARC with Sun as, which has:
>
> sethi %hi(_ZN1S5xyzzyEv), %g1
> jmp %g1 + %lo(_ZN1S5xyzzyEv)
> sethi %hi(_ZN1S5xyzzyEv), %g1
> jmp %g1 + %lo(_ZN1S5xyzzyEv)
>
> On the other hand, both 64-bit with Sun as and 32-bit with gas have
>
> call _ZN1S5xyzzyEv, 0
> call _ZN1S5xyzzyEv, 0
This is OK, these are the 2 forms of a direct tail call on the SPARC: sethi/jmp
or call, depending on the capability of the assembler (HAVE_AS_RELAX_OPTION).
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug testsuite/48727] FAIL: g++.dg/opt/devirt2.C scan-assembler-times xyzzy 2
2011-04-22 15:07 [Bug testsuite/48727] New: FAIL: g++.dg/opt/devirt2.C scan-assembler-times xyzzy 2 danglin at gcc dot gnu.org
` (3 preceding siblings ...)
2011-07-06 19:16 ` ebotcazou at gcc dot gnu.org
@ 2011-07-07 13:05 ` ro at CeBiTec dot Uni-Bielefeld.DE
2011-07-07 13:33 ` ebotcazou at gcc dot gnu.org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2011-07-07 13:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48727
--- Comment #5 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2011-07-07 13:04:18 UTC ---
> --- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-07-06 19:15:49 UTC ---
>> This also fails on 32-bit Solaris/SPARC with Sun as, which has:
>>
>> sethi %hi(_ZN1S5xyzzyEv), %g1
>> jmp %g1 + %lo(_ZN1S5xyzzyEv)
>> sethi %hi(_ZN1S5xyzzyEv), %g1
>> jmp %g1 + %lo(_ZN1S5xyzzyEv)
>>
>> On the other hand, both 64-bit with Sun as and 32-bit with gas have
>>
>> call _ZN1S5xyzzyEv, 0
>> call _ZN1S5xyzzyEv, 0
>
> This is OK, these are the 2 forms of a direct tail call on the SPARC: sethi/jmp
> or call, depending on the capability of the assembler (HAVE_AS_RELAX_OPTION).
Then it's probably best to only look for
(jmp|call)[^\n]*xyzzy
on SPARC, and ignore the sethi, so the count still matches? Or, perhaps safer:
(sethi[^\n]*xyzzy[^\n]*\n)?[^\n]*(jmp|call)[^\n]*xyzzy
Rainer
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug testsuite/48727] FAIL: g++.dg/opt/devirt2.C scan-assembler-times xyzzy 2
2011-04-22 15:07 [Bug testsuite/48727] New: FAIL: g++.dg/opt/devirt2.C scan-assembler-times xyzzy 2 danglin at gcc dot gnu.org
` (4 preceding siblings ...)
2011-07-07 13:05 ` ro at CeBiTec dot Uni-Bielefeld.DE
@ 2011-07-07 13:33 ` ebotcazou at gcc dot gnu.org
2011-07-08 10:20 ` ro at gcc dot gnu.org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-07-07 13:33 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48727
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.07.07 13:32:09
Ever Confirmed|0 |1
--- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-07-07 13:32:09 UTC ---
> Then it's probably best to only look for
>
> (jmp|call)[^\n]*xyzzy
>
> on SPARC, and ignore the sethi, so the count still matches?
That seems sufficient, IIUC the point is to have a symbol in the jmp/call. As
I usually don't test with Sun as, please go ahead with whatever works for you.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug testsuite/48727] FAIL: g++.dg/opt/devirt2.C scan-assembler-times xyzzy 2
2011-04-22 15:07 [Bug testsuite/48727] New: FAIL: g++.dg/opt/devirt2.C scan-assembler-times xyzzy 2 danglin at gcc dot gnu.org
` (5 preceding siblings ...)
2011-07-07 13:33 ` ebotcazou at gcc dot gnu.org
@ 2011-07-08 10:20 ` ro at gcc dot gnu.org
2011-07-14 8:49 ` ebotcazou at gcc dot gnu.org
2011-08-06 21:38 ` uros at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: ro at gcc dot gnu.org @ 2011-07-08 10:20 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48727
--- Comment #7 from Rainer Orth <ro at gcc dot gnu.org> 2011-07-08 10:20:39 UTC ---
Author: ro
Date: Fri Jul 8 10:20:36 2011
New Revision: 176034
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176034
Log:
PR testsuite/48727
* g++.dg/opt/devirt2.C: Use specific pattern for sparc*-*-*.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/opt/devirt2.C
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug testsuite/48727] FAIL: g++.dg/opt/devirt2.C scan-assembler-times xyzzy 2
2011-04-22 15:07 [Bug testsuite/48727] New: FAIL: g++.dg/opt/devirt2.C scan-assembler-times xyzzy 2 danglin at gcc dot gnu.org
` (6 preceding siblings ...)
2011-07-08 10:20 ` ro at gcc dot gnu.org
@ 2011-07-14 8:49 ` ebotcazou at gcc dot gnu.org
2011-08-06 21:38 ` uros at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-07-14 8:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48727
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #8 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-07-14 08:48:19 UTC ---
Everywhere.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug testsuite/48727] FAIL: g++.dg/opt/devirt2.C scan-assembler-times xyzzy 2
2011-04-22 15:07 [Bug testsuite/48727] New: FAIL: g++.dg/opt/devirt2.C scan-assembler-times xyzzy 2 danglin at gcc dot gnu.org
` (7 preceding siblings ...)
2011-07-14 8:49 ` ebotcazou at gcc dot gnu.org
@ 2011-08-06 21:38 ` uros at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: uros at gcc dot gnu.org @ 2011-08-06 21:38 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48727
--- Comment #9 from uros at gcc dot gnu.org 2011-08-06 21:37:25 UTC ---
Author: uros
Date: Sat Aug 6 21:37:22 2011
New Revision: 177537
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177537
Log:
PR testsuite/48727
* g++.dg/opt/devirt2.C: Use specific pattern for alpha*-*-*.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/opt/devirt2.C
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2011-08-06 21:38 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-22 15:07 [Bug testsuite/48727] New: FAIL: g++.dg/opt/devirt2.C scan-assembler-times xyzzy 2 danglin at gcc dot gnu.org
2011-06-14 20:26 ` [Bug testsuite/48727] " sje at gcc dot gnu.org
2011-06-16 20:39 ` sje at gcc dot gnu.org
2011-07-06 17:11 ` ro at gcc dot gnu.org
2011-07-06 19:16 ` ebotcazou at gcc dot gnu.org
2011-07-07 13:05 ` ro at CeBiTec dot Uni-Bielefeld.DE
2011-07-07 13:33 ` ebotcazou at gcc dot gnu.org
2011-07-08 10:20 ` ro at gcc dot gnu.org
2011-07-14 8:49 ` ebotcazou at gcc dot gnu.org
2011-08-06 21:38 ` uros 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).