--- Additional Comments From horst dot reiterer at fabasoft dot com 2004-10-28
14:31 ---
(In reply to comment #3)
> The definition of ObjectAddress is incompatible,
> there for this is undefined behavior.
You're right, the code relies on undefined behavior. My main questi
--
What|Removed |Added
Summary|g++ passes struct by|g++ passes struct by
|reference instead of by |reference instead of by
--- Additional Comments From horst dot reiterer at fabasoft dot com 2004-10-28
10:50 ---
(In reply to comment #0)
> /* CASE 1: non-default constructor
> (...)
> /* CASE 2: default constructor
'Constructor' was of course a typo, should have been '
--- Additional Comments From horst dot reiterer at fabasoft dot com 2004-10-28
10:46 ---
Created an attachment (id=7423)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7423&action=view)
Testcase tarball containing the two source files and a corresponding makefile
--
lue if
non-default constructor exists
Product: gcc
Version: 3.4.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: horst dot reiterer