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 middle-end/44681] usage of macro in loop boundary leads to crash



------- Comment #9 from jd at cococo dot de  2010-07-01 05:37 -------
Ok, but in terms of semantics there is only one way of interpreting the
sentence

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

because we have to differ between conditions yielding truth values and
expressions yielding numbers. So from a domain theoretic point of view I
assumed it to be

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

Have a nice day,
Jens


-- 


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


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