bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #42717] Crash in -[NSBox(Private) calcSizesAllowingNegative:]


From: Fred Kiefer
Subject: [bug #42717] Crash in -[NSBox(Private) calcSizesAllowingNegative:]
Date: Wed, 23 Jul 2014 07:57:28 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0

Update of bug #42717 (project gnustep):

                  Status:             In Progress => Ready For Test         
             Open/Closed:                    Open => In Test                

    _______________________________________________________

Follow-up Comment #13:

You are correct, calling this a compiler bug was incorrect. It is just changed
behaviour in a corner case.
The method in this case was supposed to return an NSSize value, that is two
CGFloats and I think even on x86 this should be possible in registers, which
are easlily set to zero.

I still think it wasn't a great idea of the gcc people to change the
optimisation in this case, but GNUstep code should take care to handle it
correctly anayway, as we want to support Sparc and other platforms as well.


What needs to be done now is to test as much of GNUstep code on x86 wiht gcc
4.9 as possible to avoid a massive issue when this compiler gets into more
widespread use.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42717>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]