This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos 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]

Re: Avoid gcc 3.2 bug with signals


Robin Farine wrote:
On Thu, 2003-02-13 at 01:02, Jonathan Larmour wrote:


+
+	* include/signal.inl (raise): Use if/else rather than switch to
+	avoid GCC 3.2 bug.
+

Quite a change just to avoid a compiler bug no? I'd rather avoid the
compiler but I guess you don't have the choice.

It seems that the GCC guys are quite insistent. From a strict interpretation they're right (although that doesn't mean they should reject it IMHO).

+    if ( __sigfun == SIG_DFL {
                              ^^^
Something's missing here :)
oops! Fixed.

jifl
--
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


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