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/33292] optimizer optimizes out a piece of code



------- Comment #2 from nicolas at dyalog dot com  2007-09-03 14:07 -------
after a bit more work it seems optimized out because diff64() doesn't observe
strict aliasing... 
that was tricky because it was not the diff64() code that was snipped out but
TimeValToFileTime()...
I think the compiler should either warn (strict aliasing) in diff64, or not
remove TimeValToFileTime()...
Or did I miss something ?


-- 


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


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