------- Comment #3 from kretz at kde dot org  2009-08-25 15:26 -------
Actually I came across this problem because my code was failing on MSVC and
icc. Then I noticed that icc compiles the code, the one that I pasted,
differently. On further investigation I decided that gcc is at fault and that
my code was wrong (which I didn't notice because gcc made my wrong right again
:-) ).

I tested with icc 11.1 and MSVC 2008.

For the testcase you describe I thought gcc works correctly. I could only
reproduce the problem if the ctor is called as a default argument of a
function.


-- 


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

Reply via email to