chiark / gitweb /
Ben Hutchings reports that gcc 4 gives an optimiser warning because
authorSimon Tatham <anakin@pobox.com>
Fri, 29 Jul 2005 11:34:02 +0000 (11:34 +0000)
committerSimon Tatham <anakin@pobox.com>
Fri, 29 Jul 2005 11:34:02 +0000 (11:34 +0000)
commitb0adb79178a5a00e843c6ac27ce0e1bcd2bec9d8
treec61d3daeced1b3b717c7b1492b554185b1bad103
parent178a86197b8b769bac35a7032313572551614a4d
Ben Hutchings reports that gcc 4 gives an optimiser warning because
it can't tell that one branch of a particular switch is always
taken. Adding a default clause with an automatic assertion failure
apparently fixes it.

[originally from svn r6148]
rect.c