------- Additional Comments From trauscher at loytec dot com  2005-05-09 07:04 
-------
The problem is that -march=xxx -mtune=yyy doesn't work.
The arm_override_option function scans the options
in the order -mtune, -march, -mcpu. So when -mtune is
given, 'arm_tune' first set by -mtune and then
overwritten with the wrong tune settings from -march.

I think, this problem was introduced between gcc-3.4.3 and
gcc-4.0.0. In 3.4.3 only -mtune sets 'arm_tune' where in
4.0.0 all three flags affect 'arm_tune'.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


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

Reply via email to