[Bug middle-end/56712] [4.6 Regression] constructor function is called twice
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56712 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED Target Milestone|4.6.4 |4.7.0 --- Comment #8 from Jakub Jelinek 2013-04-12 16:17:21 UTC --- The 4.6 branch has been closed, fixed in GCC 4.7.0.
[Bug middle-end/56712] [4.6 Regression] constructor function is called twice
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56712 Bernd Edlinger changed: What|Removed |Added Attachment #29724|0 |1 is obsolete|| --- Comment #7 from Bernd Edlinger 2013-03-26 19:18:59 UTC --- Created attachment 29735 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29735 backport of commit r180700 in gcc-4.7 branch OK, now I see... I tested the new patch again. Everything looks good.
[Bug middle-end/56712] [4.6 Regression] constructor function is called twice
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56712 --- Comment #6 from Mikael Pettersson 2013-03-26 10:24:08 UTC --- (In reply to comment #5) > Created attachment 29724 [details] > backport of the above mentioned fix Don't base your backport on the original patch submission, base it on the actual commit, r180700. There are differences between the two.
[Bug middle-end/56712] [4.6 Regression] constructor function is called twice
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56712 --- Comment #5 from Bernd Edlinger 2013-03-26 06:15:52 UTC --- Created attachment 29724 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29724 backport of the above mentioned fix
[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 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.
[Bug middle-end/56712] [4.6 Regression] constructor function is called twice
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56712 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Status|UNCONFIRMED |NEW Known to work||4.5.3, 4.7.0 Keywords||wrong-code Last reconfirmed||2013-03-25 CC||pbrook at gcc dot gnu.org Ever Confirmed|0 |1 Summary|constructor function is |[4.6 Regression] |called twice|constructor function is ||called twice Target Milestone|--- |4.6.4 Known to fail||4.6.3 --- Comment #3 from Richard Biener 2013-03-25 10:14:40 UTC --- Thus confirmed. Can eventually be backported to the next 4.6 release.