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 optimization/13816] access to local array in while loop is optimized away


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-22 18:14 -------
This is invalid as this line:
    localArray[current]=localArray[++current];
you modified current twice which violates squence points.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID
            Summary|access to local array in    |access to local array in
                   |while loop is optimized away|while loop is optimized away


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


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