public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/23153] New: code size regression from 4.0 on x86
@ 2005-07-30 23:13 dann at godzilla dot ics dot uci dot edu
  2005-07-31  0:12 ` [Bug rtl-optimization/23153] " pinskia at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: dann at godzilla dot ics dot uci dot edu @ 2005-07-30 23:13 UTC (permalink / raw)
  To: gcc-bugs

Compiling xterm-202 on i686-pc-linux-gnu shows that 4.1 generates bigger code
than 4.0. 
This happens for all combinations of {-march=i386 and -march=i686} and 
{-O2 and -Os}. 

 size -f 4.*/xterm
  text    data     bss     dec     hex filename
 175215   21724    6684  203623   31b67 4.0-O2-i386/xterm
 181835   14052    6684  202571   3174b 4.1-O2-i386/xterm
 189064   21728    6684  217476   35184 4.0-O2-i686/xterm
 195680   14056    6684  216420   34d64 4.1-O2-i686/xterm
 148727   21724    6684  177135   2b3ef 4.0-Os-i386/xterm
 156443   14052    6684  177179   2b41b 4.1-Os-i386/xterm
 149011   21724    6684  177419   2b50b 4.0-Os-i686/xterm
 156779   14052    6684  177515   2b56b 4.1-Os-i686/xterm

The same is true for the individual object files, not only for the final binary. 
The preprocessed sources can be obtained from PR22574

If someone wants to investigate the cause, maybe it would be a good idea to look
at one of the small files like xstrings.i (500 bytes text size).

-- 
           Summary: code size regression from 4.0 on x86
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dann at godzilla dot ics dot uci dot edu
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23153


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2005-09-13 23:09 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-30 23:13 [Bug rtl-optimization/23153] New: code size regression from 4.0 on x86 dann at godzilla dot ics dot uci dot edu
2005-07-31  0:12 ` [Bug rtl-optimization/23153] " pinskia at gcc dot gnu dot org
2005-08-01 14:51 ` [Bug rtl-optimization/23153] [4.1 Regression] " pinskia at gcc dot gnu dot org
2005-08-01 14:51 ` [Bug tree-optimization/23153] " pinskia at gcc dot gnu dot org
2005-08-01 18:51 ` dann at godzilla dot ics dot uci dot edu
2005-08-01 18:57 ` pinskia at gcc dot gnu dot org
2005-08-01 20:43 ` dann at godzilla dot ics dot uci dot edu
2005-08-08 21:53 ` pinskia at gcc dot gnu dot org
2005-08-10  0:14 ` pinskia at gcc dot gnu dot org
2005-08-10  0:15 ` pinskia at gcc dot gnu dot org
2005-08-11  9:03 ` rguenth at gcc dot gnu dot org
2005-08-19 21:50 ` dann at godzilla dot ics dot uci dot edu
2005-08-19 21:54 ` pinskia at gcc dot gnu dot org
2005-08-19 22:06 ` [Bug target/23153] [4.1 Regression] [meta-bug] " pinskia at gcc dot gnu dot org
2005-09-13 23:09 ` dann at godzilla dot ics dot uci dot edu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).