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 ` 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
` (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 ` [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] New: pragma interface/implementation still break synthesized methods
@ 2005-06-30 14:55 matz at suse dot de
2005-09-09 16:34 ` [Bug c++/22252] [4.0 Regression] " mmitchel at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: matz at suse dot de @ 2005-06-30 14:55 UTC (permalink / raw)
To: gcc-bugs
This is similar to bug 21280, but it is _not_ fixed by the patches therein.
In fact it still happens with current 4.0 branch as of 2005-06-30.
Compile these files:
% cat a.h
#include <vector>
#pragma interface
struct A {
std::vector<char> vc;
};
% cat use.cc
#include "a.h"
A a;
int main() {}
% cat a.cc
#include <vector>
#pragma implementation
#include "a.h"
% g++ -W -Wall -O2 a.cc use.cc
a.h:3: warning: inline function ‘A::A()’ used but never defined
a.h:3: warning: inline function ‘A::~A()’ used but never defined
/tmp/ccuIwMBN.o: In function `__static_initialization_and_destruction_0(int,
int)':
use.cc:(.text+0x31): undefined reference to `A::A()'
collect2: ld returned 1 exit status
This is because A::A() is not synthesized, although it should happen in file
a.cc (which contains the pragma implementation).
So, something still is wrong (this actually breaks building lyx btw.) after
21280 was fixed.
--
Summary: pragma interface/implementation still break synthesized
methods
Product: gcc
Version: 4.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: matz at suse dot de
CC: gcc-bugs at gcc dot gnu dot org,schwab at suse dot de
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).