------- Comment #56 from jakub at gcc dot gnu dot org  2010-08-12 08:20 -------
Please stop wasting your and GCC developers time.  As several people have
explained, your code triggers undefined behavior in C/C++, so it can do
anything at runtime.  The fact that it happens to work as you expect with some
compilers doesn't mean anything.  If you choose to program in C (or C++), you
just need to follow the standard.  GCC bugzilla is for reporting GCC bugs, not
for learning programming languages, look for various C forums instead.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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

Reply via email to