This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15057] Compiling of conditional value throw constructs cause a segmentation violation
- From: "christian dot groove at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Apr 2004 20:26:54 -0000
- Subject: [Bug c++/15057] Compiling of conditional value throw constructs cause a segmentation violation
- References: <20040421204752.15057.christian.groove@gmx.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From christian dot groove at gmx dot de 2004-04-22 20:26 -------
(In reply to comment #1)
> I think this is invalid as the compile needs to do a copy of the expression
> but I do not know until I look
> into the full preprocessed source as there is non yet.
The construct ist correct. It worked also in some
previously version of G++ and other c++ compilers
too !
The only think that has to be make sure is that the
types of the conditional structure is unequivocally.
Anyway my replacement was correct, so the conditional
must be correct too !
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15057