This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/41682] Need for attributes to tag code blocks so optimiser can remove more code.
- 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: 12 Oct 2009 20:04:11 -0000
- Subject: [Bug middle-end/41682] Need for attributes to tag code blocks so optimiser can remove more code.
- References: <bug-41682-10492@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 2009-10-12 20:04 -------
Just to expand on that, fopen might change errno and it also it might return
NULL which case fgetc might cause the program to seg fault. etc.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41682