[Bug middle-end/56712] [4.6 Regression] constructor function is called twice

bernd.edlinger at hotmail dot de gcc-bugzilla@gcc.gnu.org
Tue Mar 26 06:14:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56712

--- Comment #4 from Bernd Edlinger <bernd.edlinger at hotmail dot de> 2013-03-26 06:13:55 UTC ---
(In reply to comment #2)
> Works for me with 4.7/4.8/4.9, and 4.5 and older, but fails with 4.6.
> The bug was fixed for 4.7.0 by r180700; that change has no BZ PR entry, but the
> patch submission (http://gcc.gnu.org/ml/gcc-patches/2011-10/msg02486.html)
> described a scenario involving cloned constructor functions much like this one.

OK, confirmed.
with this fix the bug went away in the test example and in the original
more complex context.



More information about the Gcc-bugs mailing list