This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/35581] Option '-ftree-vrp' looks broken with '-O2'
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Mar 2008 12:01:41 -0000
- Subject: [Bug c/35581] Option '-ftree-vrp' looks broken with '-O2'
- References: <bug-35581-15918@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2008-03-14 12:01 -------
The test has undefined behavior in it as signed integer overflow is undefined.
time_t is a signed integer.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
Summary|Option '-ftree-vrp' looks |Option '-ftree-vrp' looks
|broken with '-O2' |broken with '-O2'
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35581