[Bug c++/2892] array addresses corrupted when using template classes

nathan at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Apr 28 09:19:00 GMT 2004


------- Additional Comments From nathan at gcc dot gnu dot org  2004-04-28 07:19 -------
I was unable to get 3.4 to give the warning that Andrew showed.  I agree with
Wolfgang, that it looks like the int[2] parameter of X::Foo is being
passed by value, rather than pointer -- which is what I said in attachment 6.



-- 


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



More information about the Gcc-bugs mailing list