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: 31 Aug 2007 11:30:00 -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 #7 from vda dot linux at googlemail dot com 2007-08-31 11:30 -------
This is unfortunate, it skews busybox's "make bloatcheck" results.
In general, I suppose if generated asm sequences are different -> one of them
is "better" (for some definition of "better") -> gcc generates better/worse
code depending on irrelevant factors.In this case gcc saw
typedef unsigned long int nfds_t;
struct pollfd { int fd; short int events; short int revents; };
extern int poll (...);
extern int ppoll (...);
and decided to spill one register more in function which has nothing to do with
the above.
btw, Andrew, you seem to sit on gcc bugzilla for a long time. Thank you for
your work in such, eh, thankless area!
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29950