------- Comment #8 from redi at gcc dot gnu dot org  2010-06-30 17:10 -------
(In reply to comment #7)
> Sorry, I was not precise enough. Delphi is the IDE for both, Pascal and C, and
> what I meant by the word are the language(s) Borland C and C++. They have an
> option for Standard C. Maybe I misunderstood it ... 

Well if they disagree then Borland is wrong :-)

The precedence rules of C mean that this

  nr <= left->rows > right->rows ? left->rows : right->rows

is interpreted as 

  ((nr <= left->rows) > right->rows) ? left->rows : right->rows

so your loop condition is either 'left->rows' or 'right->rows'

so if both those values are non-zero then you loop will never exit, regardless
of the value of 'nr'


-- 


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

Reply via email to