[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug target/11371] bogus warning and/or mis-optimization on ia64



PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

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


------- Additional Comments From pinskia at physics dot uc dot edu  2003-06-29 13:47 -------
This is a know documented defect of gcc's warning about uninitialized variables. In fact 
gcc should warn about it on all platforms but it does not.
Here is the sample from the documenation:
{
  int save_y;
  if (change_y) save_y = y, y = new_y;
  ...
  if (change_y) y = save_y;
} 

which is almost like your code but slightly different so this is not a bug.



------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.



Reply to: