This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/23338] -march=i686 -O2 generates smaller code that -march=i686 -Os


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-11 19:56 -------
Confirmed.  Note -march=i486 -O2 generates the same code as -Os i686 which means that this might 
want to be enabled if we have a large offset and -Os.
Another example:
int i;
void foo (void)
{
 i = 0;
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
 GCC target triplet|i686-pc-linux-gnu           |i686-*-*
           Keywords|                            |missed-optimization
   Last reconfirmed|0000-00-00 00:00:00         |2005-08-11 19:56:01
               date|                            |


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]