This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/29950] Generated code changes after unrelated edits in source.
- From: "vda dot linux at googlemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Aug 2007 14:49:18 -0000
- Subject: [Bug rtl-optimization/29950] Generated code changes after unrelated edits in source.
- References: <bug-29950-12956@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from vda dot linux at googlemail dot com 2007-08-28 14:49 -------
Created an attachment (id=14125)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14125&action=view)
An example of code compiled differently by 4.2.1
It still exists in 4.2.1
testcase-421 contains preporcesses and slightly trimmed sources of less.c:
less3.c originally lacked #include <sys/poll.h>, less4.c had that line.
Nothing in these files actually use poll.h
Function buffer_fill_and_print() is compiled differently:
$ nm --size-sort less3.o less4.o | grep buffer_fill_and_print
00000049 T buffer_fill_and_print
0000004c T buffer_fill_and_print
More details are in README file.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29950