This is the mail archive of the gcc-patches@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]

Re: Bug in loop opt


Jeffrey A Law <law@upchuck.cygnus.com> writes:

|>   In message <vyz90as6oom.fsf@issan.cs.uni-dortmund.de>you write:
|>   > The function prescan_loop considers any sufficiently simple do-while loop
|>   > as having mutiple exit targets just because there is no label after the
|>   > end of the loop.  For example, in the following very simple loop:
|> [ ... ]
|> This is strictly an optimization, correct?

Yes, it does not generate buggy code.

Andreas.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.cs.uni-dortmund.de                      completely different"
schwab@gnu.org


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