Home » U++ Library support » LineEdit, EditFields, DocEdit » DropList bug when compiling with SPEED option
DropList bug when compiling with SPEED option [message #26786] |
Thu, 27 May 2010 22:47  |
Didier
Messages: 725 Registered: November 2008 Location: France
|
Contributor |
|
|
Hi everyone,
I just encountered this strange bug:
When compiling an app with 'GCC Speed' the DropList widget doesn't work wright: he doesn't display his value although the pull down list does
This bug disappears when compiling with 'GCC Optimal'
I first though it was my code who was wrong but it isn't.
The same happens with Uword example app.
I'm compiling with : gcc (GCC) 4.4.3 20100127 (Red Hat 4.4.3-4)
and use an unmodified UPP
[Updated on: Thu, 27 May 2010 22:47] Report message to a moderator
|
|
|
|
|
Re: DropList bug when compiling with SPEED option [message #26812 is a reply to message #26805] |
Sun, 30 May 2010 21:34   |
 |
mirek
Messages: 14255 Registered: November 2005
|
Ultimate Member |
|
|
Didier wrote on Fri, 28 May 2010 17:38 | Hi Myrek,
Thanks for the reply. I remember having encountering the same kind of bug about a year ago, but it disappeared without notice.
The strange part about it ,is that for some values, the DropList's value gets displayed and for others it doesn't ???
I tried moving around UPP versions to see if it was an UPP bug, but there's no change.
Anyway this is not blocking, the speed option was a manipulation error: this ??bug?? doesn't bother me.
I'll try to keep an eye on it any way.
|
Still, it could mean that some code in DropList.cpp (or elsewhere) has implementation defined baheviour, something similar to this famous example:
x[i++] = i;
which hits us when optimizer tries another path for speed optimizations....
Mirek
|
|
|
|
|
Goto Forum:
Current Time: Fri Apr 25 21:32:55 CEST 2025
Total time taken to generate the page: 0.00740 seconds
|