This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]