public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/16475] New: FAIL: g++.dg/rtti/tinfo1.C scan-assembler _ZTIP9CTemplateIhE:
@ 2004-07-11 17:57 danglin at gcc dot gnu dot org
2004-07-12 5:55 ` [Bug c++/16475] [3.5 Regression] " pinskia at gcc dot gnu dot org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: danglin at gcc dot gnu dot org @ 2004-07-11 17:57 UTC (permalink / raw)
To: gcc-bugs
Executing on host: /xxx/gnu/gcc-3.4/objdir/gcc/testsuite/../g++ -B/xxx/gnu/gcc-3
.4/objdir/gcc/testsuite/../ /xxx/gnu/gcc-3.4/gcc/gcc/testsuite/g++.dg/rtti/tinfo
1.C -nostdinc++ -I/xxx/gnu/gcc-3.4/objdir/hppa2.0w-hp-hpux11.00/libstdc++-v3/in
clude/hppa2.0w-hp-hpux11.00 -I/xxx/gnu/gcc-3.4/objdir/hppa2.0w-hp-hpux11.00/libs
tdc++-v3/include -I/xxx/gnu/gcc-3.4/gcc/libstdc++-v3/libsupc++ -I/xxx/gnu/gcc-3.
4/gcc/libstdc++-v3/libsupc++ -I/xxx/gnu/gcc-3.4/gcc/libstdc++-v3/include/backwar
d -I/xxx/gnu/gcc-3.4/gcc/libstdc++-v3/testsuite -fmessage-length=0 -ansi -peda
ntic-errors -Wno-long-long -S -o tinfo1.s (timeout = 300)
PASS: g++.dg/rtti/tinfo1.C (test for excess errors)
FAIL: g++.dg/rtti/tinfo1.C scan-assembler _ZTIP9CTemplateIhE:
PASS: g++.dg/rtti/tinfo1.C scan-assembler-not .globl[ \t]+_ZTIP9CTemplateIhE
PASS: g++.dg/rtti/tinfo1.C scan-assembler-not .section[^\n\r]*
_ZTIP9CTemplateIhE[^\n\r]*
Looking at tinfo1.s, I see:
.IMPORT _ZTIP9CTemplateIhE,DATA
ldil LR'_ZTIP9CTemplateIhE,%r19
ldo RR'_ZTIP9CTemplateIhE(%r19),%r26
.CALL ARGW0=GR
bl _ZNKSt9type_info4nameEv,%r2
ldil LR'_ZTIP9CTemplateIhE,%r19
ldo RR'_ZTIP9CTemplateIhE(%r19),%r26
.CALL ARGW0=GR
bl _ZNKSt9type_info4nameEv,%r2
.align 4
_ZTIP9CTemplateIhE
.IMPORT _ZTVN10__cxxabiv119__pointer_type_infoE,DATA
.word _ZTVN10__cxxabiv119__pointer_type_infoE+8
.word _ZTSP9CTemplateIhE
.word 8
.word _ZTI9CTemplateIhE
.weak _ZTSP9CTemplateIhE
.EXPORT _ZTSP9CTemplateIhE,DATA
This problem was introduced by the fix for PR c++/16276.
--
Summary: FAIL: g++.dg/rtti/tinfo1.C scan-assembler
_ZTIP9CTemplateIhE:
Product: gcc
Version: 3.4.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: hppa2.0w-hp-hpux11.00
GCC host triplet: hppa2.0w-hp-hpux11.00
GCC target triplet: hppa2.0w-hp-hpux11.00
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16475
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/16475] [3.5 Regression] FAIL: g++.dg/rtti/tinfo1.C scan-assembler _ZTIP9CTemplateIhE:
2004-07-11 17:57 [Bug c++/16475] New: FAIL: g++.dg/rtti/tinfo1.C scan-assembler _ZTIP9CTemplateIhE: danglin at gcc dot gnu dot org
@ 2004-07-12 5:55 ` pinskia at gcc dot gnu dot org
2004-07-12 6:41 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-12 5:55 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-12 05:55 -------
I have a semi fix for it, as it also wrong on powerpc-apple-darwin, the rest of the fix is for other
targets which define MAKE_DECL_ONE_ONLY also define MAKE_DECL_NON_ONE_ONLY with right
definition.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |wrong-code
Last reconfirmed|0000-00-00 00:00:00 |2004-07-12 05:55:49
date| |
Summary|FAIL: g++.dg/rtti/tinfo1.C |[3.5 Regression] FAIL:
|scan-assembler |g++.dg/rtti/tinfo1.C scan-
|_ZTIP9CTemplateIhE: |assembler
| |_ZTIP9CTemplateIhE:
Target Milestone|--- |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16475
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/16475] [3.5 Regression] FAIL: g++.dg/rtti/tinfo1.C scan-assembler _ZTIP9CTemplateIhE:
2004-07-11 17:57 [Bug c++/16475] New: FAIL: g++.dg/rtti/tinfo1.C scan-assembler _ZTIP9CTemplateIhE: danglin at gcc dot gnu dot org
2004-07-12 5:55 ` [Bug c++/16475] [3.5 Regression] " pinskia at gcc dot gnu dot org
@ 2004-07-12 6:41 ` pinskia at gcc dot gnu dot org
2004-07-12 6:41 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-12 6:41 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-12 06:41 -------
Mine, I will do the second part tommorrow (Monday).
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16475
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/16475] [3.5 Regression] FAIL: g++.dg/rtti/tinfo1.C scan-assembler _ZTIP9CTemplateIhE:
2004-07-11 17:57 [Bug c++/16475] New: FAIL: g++.dg/rtti/tinfo1.C scan-assembler _ZTIP9CTemplateIhE: danglin at gcc dot gnu dot org
2004-07-12 5:55 ` [Bug c++/16475] [3.5 Regression] " pinskia at gcc dot gnu dot org
2004-07-12 6:41 ` pinskia at gcc dot gnu dot org
@ 2004-07-12 6:41 ` pinskia at gcc dot gnu dot org
2004-07-12 20:53 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-12 6:41 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-12 06:41 -------
Here is the first part of the patch which fixes the darwin issue: <http://gcc.gnu.org/ml/gcc-patches/
2004-07/msg00878.html>, fixing the other target issues is easier and HJL suggested one approach
but I think it is wrong and each target which defines its own MAKE_DECL_ONE_ONLY should also define
its own MAKE_DECL_NON_ONE_ONLY.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16475
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/16475] [3.5 Regression] FAIL: g++.dg/rtti/tinfo1.C scan-assembler _ZTIP9CTemplateIhE:
2004-07-11 17:57 [Bug c++/16475] New: FAIL: g++.dg/rtti/tinfo1.C scan-assembler _ZTIP9CTemplateIhE: danglin at gcc dot gnu dot org
` (2 preceding siblings ...)
2004-07-12 6:41 ` pinskia at gcc dot gnu dot org
@ 2004-07-12 20:53 ` pinskia at gcc dot gnu dot org
2004-07-12 22:15 ` [Bug c++/16475] [3.4/3.5 " pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-12 20:53 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-12 20:53 -------
Patch posted here: <http://gcc.gnu.org/ml/gcc-patches/2004-07/msg01275.html>.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16475
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/16475] [3.4/3.5 Regression] FAIL: g++.dg/rtti/tinfo1.C scan-assembler _ZTIP9CTemplateIhE:
2004-07-11 17:57 [Bug c++/16475] New: FAIL: g++.dg/rtti/tinfo1.C scan-assembler _ZTIP9CTemplateIhE: danglin at gcc dot gnu dot org
` (3 preceding siblings ...)
2004-07-12 20:53 ` pinskia at gcc dot gnu dot org
@ 2004-07-12 22:15 ` pinskia at gcc dot gnu dot org
2004-07-12 22:26 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-12 22:15 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-12 22:15 -------
I am just reverting the patch per Mark's request.
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|[3.5 Regression] FAIL: |[3.4/3.5 Regression] FAIL:
|g++.dg/rtti/tinfo1.C scan- |g++.dg/rtti/tinfo1.C scan-
|assembler |assembler
|_ZTIP9CTemplateIhE: |_ZTIP9CTemplateIhE:
Target Milestone|3.5.0 |3.4.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16475
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/16475] [3.4/3.5 Regression] FAIL: g++.dg/rtti/tinfo1.C scan-assembler _ZTIP9CTemplateIhE:
2004-07-11 17:57 [Bug c++/16475] New: FAIL: g++.dg/rtti/tinfo1.C scan-assembler _ZTIP9CTemplateIhE: danglin at gcc dot gnu dot org
` (4 preceding siblings ...)
2004-07-12 22:15 ` [Bug c++/16475] [3.4/3.5 " pinskia at gcc dot gnu dot org
@ 2004-07-12 22:26 ` cvs-commit at gcc dot gnu dot org
2004-07-12 22:28 ` cvs-commit at gcc dot gnu dot org
2004-07-12 22:29 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-07-12 22:26 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-07-12 22:26 -------
Subject: Bug 16475
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: pinskia@gcc.gnu.org 2004-07-12 22:26:39
Modified files:
gcc/cp : ChangeLog rtti.c
Log message:
2004-07-12 Andrew Pinski <apinski@apple.com>
PR c++/16475
Revert:
2004-07-07 H.J. Lu <hongjiu.lu@intel.com>
PR c++/16276
* rtti.c (emit_tinfo_decl): Turn off DECL_ONE_ONLY if typeinfo
is not public.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3892.2.131&r2=1.3892.2.132
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/rtti.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.176.4.4&r2=1.176.4.5
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16475
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/16475] [3.4/3.5 Regression] FAIL: g++.dg/rtti/tinfo1.C scan-assembler _ZTIP9CTemplateIhE:
2004-07-11 17:57 [Bug c++/16475] New: FAIL: g++.dg/rtti/tinfo1.C scan-assembler _ZTIP9CTemplateIhE: danglin at gcc dot gnu dot org
` (5 preceding siblings ...)
2004-07-12 22:26 ` cvs-commit at gcc dot gnu dot org
@ 2004-07-12 22:28 ` cvs-commit at gcc dot gnu dot org
2004-07-12 22:29 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-07-12 22:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-07-12 22:28 -------
Subject: Bug 16475
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: pinskia@gcc.gnu.org 2004-07-12 22:28:54
Modified files:
gcc/cp : ChangeLog rtti.c
Log message:
2004-07-12 Andrew Pinski <apinski@apple.com>
PR c++/16475
Revert:
2004-07-07 H.J. Lu <hongjiu.lu@intel.com>
PR c++/16276
* rtti.c (emit_tinfo_decl): Turn off DECL_ONE_ONLY if typeinfo
is not public.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4193&r2=1.4194
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/rtti.c.diff?cvsroot=gcc&r1=1.187&r2=1.188
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16475
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/16475] [3.4/3.5 Regression] FAIL: g++.dg/rtti/tinfo1.C scan-assembler _ZTIP9CTemplateIhE:
2004-07-11 17:57 [Bug c++/16475] New: FAIL: g++.dg/rtti/tinfo1.C scan-assembler _ZTIP9CTemplateIhE: danglin at gcc dot gnu dot org
` (6 preceding siblings ...)
2004-07-12 22:28 ` cvs-commit at gcc dot gnu dot org
@ 2004-07-12 22:29 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-12 22:29 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-12 22:29 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16475
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2004-07-12 22:29 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-11 17:57 [Bug c++/16475] New: FAIL: g++.dg/rtti/tinfo1.C scan-assembler _ZTIP9CTemplateIhE: danglin at gcc dot gnu dot org
2004-07-12 5:55 ` [Bug c++/16475] [3.5 Regression] " pinskia at gcc dot gnu dot org
2004-07-12 6:41 ` pinskia at gcc dot gnu dot org
2004-07-12 6:41 ` pinskia at gcc dot gnu dot org
2004-07-12 20:53 ` pinskia at gcc dot gnu dot org
2004-07-12 22:15 ` [Bug c++/16475] [3.4/3.5 " pinskia at gcc dot gnu dot org
2004-07-12 22:26 ` cvs-commit at gcc dot gnu dot org
2004-07-12 22:28 ` cvs-commit at gcc dot gnu dot org
2004-07-12 22:29 ` pinskia at gcc dot gnu dot 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).