[Bug c++/45249] Indirect variable parameters sometimes cause segmentation fault

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Aug 11 17:49:00 GMT 2010



------- Comment #23 from pinskia at gcc dot gnu dot org  2010-08-11 17:49 -------
First off I already mentioned what is undefined in this example in comment #11.
 The part of the standard that mentions about arrays.  And how the address of a
scalar is considered an array of size 1.  I don't have the standard in front of
me right now but those are what I remember from the standard.


-- 


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



More information about the Gcc-bugs mailing list