------- Additional Comments From rakdver at gcc dot gnu dot org  2005-05-22 
21:29 -------
Grrrr.... you should first try to understand what is happening, and then
reopen the bug.

get_type1 is always executed when the loop is entered, therefore moving it
out of the loop is always a win.

get_type2 does not have to be executed (in case the first call to do_something
exits), thus moving it out may cause problems in case the get_type2 call is
expensive.

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


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

Reply via email to