[Bug c++/34824] ICE with explicit copy constructor

2008-01-17 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-01-17 12:26 --- Confirmed. Even if it doesn't look like it makes sense to have an explicit copy constructor, the standard does not seem to prohibit this. But, B f(A const &a) { return B(a); } invokes the copy constructor for B,

[Bug c++/34824] ICE with explicit copy constructor

2008-01-16 Thread kristian dot spangsege at gmail dot com
--- Comment #1 from kristian dot spangsege at gmail dot com 2008-01-17 07:37 --- Just tested it on the latest release 4.2.2 build from source with no patches and the ICE is still there. System: g++ (GCC) 4.2.2 Linux localhost.localdomain 2.6.20-1.2952.fc6 #1 SMP Wed May 16 18:59:18 EDT