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/30506] violation of automatic storage duration [basic.stc.auto 3.7.2/1].



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-01-18 23:15 -------
This is not really a violation of that rule at all.  What that rule is stating
is that if you access that array again outside of the block where it was
created, you invoke undefined behavior.


-- 


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


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