public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/22252] [4.0 Regression] pragma interface/implementation still break synthesized methods
[not found] <bug-22252-183@http.gcc.gnu.org/bugzilla/>
2005-10-18 12:43 ` [Bug c++/22252] [4.0 Regression] pragma interface/implementation still break synthesized methods pinskia at gcc dot gnu dot org
@ 2005-10-18 12:43 ` pinskia at gcc dot gnu dot org
2005-11-14 16:04 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-18 12:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from pinskia at gcc dot gnu dot org 2005-10-18 12:43 -------
*** Bug 24248 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |halcy0n at gentoo dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22252
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/22252] [4.0 Regression] pragma interface/implementation still break synthesized methods
[not found] <bug-22252-183@http.gcc.gnu.org/bugzilla/>
@ 2005-10-18 12:43 ` pinskia at gcc dot gnu dot org
2005-10-18 12:43 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-18 12:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from pinskia at gcc dot gnu dot org 2005-10-18 12:43 -------
*** Bug 24421 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |das at cs dot ucla dot edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22252
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/22252] [4.0 Regression] pragma interface/implementation still break synthesized methods
[not found] <bug-22252-183@http.gcc.gnu.org/bugzilla/>
2005-10-18 12:43 ` [Bug c++/22252] [4.0 Regression] pragma interface/implementation still break synthesized methods pinskia at gcc dot gnu dot org
2005-10-18 12:43 ` pinskia at gcc dot gnu dot org
@ 2005-11-14 16:04 ` pinskia at gcc dot gnu dot org
2005-12-04 4:49 ` halcy0n at gentoo dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-14 16:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from pinskia at gcc dot gnu dot org 2005-11-14 16:04 -------
*** Bug 24852 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |belyshev at depni dot sinp
| |dot msu dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22252
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/22252] [4.0 Regression] pragma interface/implementation still break synthesized methods
[not found] <bug-22252-183@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2005-11-14 16:04 ` pinskia at gcc dot gnu dot org
@ 2005-12-04 4:49 ` halcy0n at gentoo dot org
2006-01-15 22:43 ` [Bug c++/22252] [4.0/4.1 " mmitchel at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 11+ messages in thread
From: halcy0n at gentoo dot org @ 2005-12-04 4:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from halcy0n at gentoo dot org 2005-12-04 04:49 -------
Created an attachment (id=10401)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10401&action=view)
preprocessed output that causes ICE
This patch seems to cause another ICE. I applied the patch on gcc-4.0 to fix
this bug, and now the attached output causes an ICE with >= -O1 (the same seems
to be true on gcc-4.1 as well). Reverting the patch seems to stop the new ICE.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22252
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/22252] [4.0/4.1 Regression] pragma interface/implementation still break synthesized methods
[not found] <bug-22252-183@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2005-12-04 4:49 ` halcy0n at gentoo dot org
@ 2006-01-15 22:43 ` mmitchel at gcc dot gnu dot org
2006-01-15 22:52 ` [Bug c++/22252] [4.0 " pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-01-15 22:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from mmitchel at gcc dot gnu dot org 2006-01-15 22:43 -------
The claim in Comment #9 is that this is a 4.1 regression as well as a 4.0
regression, so I've udpated the subject line. It would be interesting to know
if this affects mainline as well.
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.0 Regression] pragma |[4.0/4.1 Regression] pragma
|interface/implementation |interface/implementation
|still break synthesized |still break synthesized
|methods |methods
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22252
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/22252] [4.0 Regression] pragma interface/implementation still break synthesized methods
[not found] <bug-22252-183@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2006-01-15 22:43 ` [Bug c++/22252] [4.0/4.1 " mmitchel at gcc dot gnu dot org
@ 2006-01-15 22:52 ` pinskia at gcc dot gnu dot org
2006-03-11 3:17 ` mmitchel at gcc dot gnu dot org
2007-01-18 11:43 ` gdr at gcc dot gnu dot org
7 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-15 22:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from pinskia at gcc dot gnu dot org 2006-01-15 22:52 -------
(In reply to comment #10)
> The claim in Comment #9 is that this is a 4.1 regression as well as a 4.0
> regression, so I've udpated the subject line. It would be interesting to know
> if this affects mainline as well.
Actually that was a different bug. That was PR 25010 so this was fixed also in
4.1 fully. Tested on the mainline and the 4.1 branch to confirm that.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.0/4.1 Regression] pragma |[4.0 Regression] pragma
|interface/implementation |interface/implementation
|still break synthesized |still break synthesized
|methods |methods
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22252
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/22252] [4.0 Regression] pragma interface/implementation still break synthesized methods
[not found] <bug-22252-183@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2006-01-15 22:52 ` [Bug c++/22252] [4.0 " pinskia at gcc dot gnu dot org
@ 2006-03-11 3:17 ` mmitchel at gcc dot gnu dot org
2007-01-18 11:43 ` gdr at gcc dot gnu dot org
7 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-03-11 3:17 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.3 |4.0.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22252
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/22252] [4.0 Regression] pragma interface/implementation still break synthesized methods
[not found] <bug-22252-183@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2006-03-11 3:17 ` mmitchel at gcc dot gnu dot org
@ 2007-01-18 11:43 ` gdr at gcc dot gnu dot org
7 siblings, 0 replies; 11+ messages in thread
From: gdr at gcc dot gnu dot org @ 2007-01-18 11:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from gdr at gcc dot gnu dot org 2007-01-18 11:42 -------
not release critical for GCC-4.0.x
--
gdr at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|4.0.4 |4.1.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22252
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/22252] [4.0 Regression] pragma interface/implementation still break synthesized methods
2005-06-30 14:55 [Bug c++/22252] New: " matz at suse dot de
2005-09-09 16:34 ` [Bug c++/22252] [4.0 Regression] " mmitchel at gcc dot gnu dot org
2005-09-09 18:56 ` cvs-commit at gcc dot gnu dot org
@ 2005-09-27 16:21 ` mmitchel at gcc dot gnu dot org
2 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-09-27 16:21 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.2 |4.0.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22252
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/22252] [4.0 Regression] pragma interface/implementation still break synthesized methods
2005-06-30 14:55 [Bug c++/22252] New: " matz at suse dot de
2005-09-09 16:34 ` [Bug c++/22252] [4.0 Regression] " mmitchel at gcc dot gnu dot org
@ 2005-09-09 18:56 ` cvs-commit at gcc dot gnu dot org
2005-09-27 16:21 ` mmitchel at gcc dot gnu dot org
2 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-09 18:56 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-09-09 18:56 -------
Subject: Bug 22252
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: mmitchel@gcc.gnu.org 2005-09-09 18:56:16
Modified files:
gcc/testsuite : ChangeLog
gcc/cp : ChangeLog decl.c decl2.c pt.c semantics.c
Added files:
gcc/testsuite/g++.dg/ext: interface1.C interface1.h
interface1a.cc
Log message:
PR c++/22252
* decl.c (start_preparsed_function): Do not pay attention to
#pragma interface for implicitly-defined methods.
* decl2.c (cp_finish_file): Do not complain about uses of inline
functions that have bodies, even if we decided not to emit the
body in this translation unit.
* semantics.c (note_decl_for_pch): Do not mess with linkage.
(expand_or_defer_fn): Make inline, non-template functions COMDAT
at this point.
PR c++/22252
* g++.dg/ext/interface1.C: New test.
* g++.dg/ext/interface1.h: Likewise.
* g++.dg/ext/interface1a.cc: Likewise.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6041&r2=1.6042
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4880&r2=1.4881
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&r1=1.1424&r2=1.1425
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl2.c.diff?cvsroot=gcc&r1=1.799&r2=1.800
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&r1=1.1029&r2=1.1030
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcc&r1=1.487&r2=1.488
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/interface1.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/interface1.h.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/interface1a.cc.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22252
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/22252] [4.0 Regression] pragma interface/implementation still break synthesized methods
2005-06-30 14:55 [Bug c++/22252] New: " matz at suse dot de
@ 2005-09-09 16:34 ` mmitchel at gcc dot gnu dot org
2005-09-09 18:56 ` cvs-commit at gcc dot gnu dot org
2005-09-27 16:21 ` mmitchel at gcc dot gnu dot org
2 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-09-09 16:34 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2005-09-09 16:33 -------
Fixed in 4.1.
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.0/4.1 Regression] pragma |[4.0 Regression] pragma
|interface/implementation |interface/implementation
|still break synthesized |still break synthesized
|methods |methods
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22252
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2007-01-18 11:43 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-22252-183@http.gcc.gnu.org/bugzilla/>
2005-10-18 12:43 ` [Bug c++/22252] [4.0 Regression] pragma interface/implementation still break synthesized methods pinskia at gcc dot gnu dot org
2005-10-18 12:43 ` pinskia at gcc dot gnu dot org
2005-11-14 16:04 ` pinskia at gcc dot gnu dot org
2005-12-04 4:49 ` halcy0n at gentoo dot org
2006-01-15 22:43 ` [Bug c++/22252] [4.0/4.1 " mmitchel at gcc dot gnu dot org
2006-01-15 22:52 ` [Bug c++/22252] [4.0 " pinskia at gcc dot gnu dot org
2006-03-11 3:17 ` mmitchel at gcc dot gnu dot org
2007-01-18 11:43 ` gdr at gcc dot gnu dot org
2005-06-30 14:55 [Bug c++/22252] New: " matz at suse dot de
2005-09-09 16:34 ` [Bug c++/22252] [4.0 Regression] " mmitchel at gcc dot gnu dot org
2005-09-09 18:56 ` cvs-commit at gcc dot gnu dot org
2005-09-27 16:21 ` mmitchel 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).