[Bug c/70038] [5.3.0 and 4.9.1]Wrong optimization with -O2

2016-03-01 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70038 --- Comment #4 from Andrew Pinski --- (In reply to kenlon from comment #2) > call to stat with a null argument is not the matter,it will return -1,that > is ok. > the matter code is: > (prevlinkname ? "TRUE":"NULL"); > > if (prevlinkname) { > ..

[Bug c/70038] [5.3.0 and 4.9.1]Wrong optimization with -O2

2016-03-01 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70038 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c/70038] [5.3.0 and 4.9.1]Wrong optimization with -O2

2016-03-01 Thread 366899789 at qq dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70038 kenlon <366899789 at qq dot com> changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Re

[Bug c/70038] [5.3.0 and 4.9.1]Wrong optimization with -O2

2016-03-01 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70038 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---