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 c/11307] Random printf values under different optimization levels.


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

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



------- Additional Comments From paudley at compbio dot dundee dot ac dot uk  2003-06-24 16:18 -------
Subject: Re: [bugc/11307] Random printf values under different optimization levels.

    pinskia> uc dot edu 2003-06-24 15:02 ------- Not a bug, if you are
    pinskia> going to using printf and %f to print ints, you have to
    pinskia> use casts. Also -Wall will warning about this.

    Agreed, but the value of "double s" is giving the wrong value as well.


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