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]

c/8114: Modulair var is not checked


>Number:         8114
>Category:       c
>Synopsis:       Modulair var is not checked
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          wrong-code
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 01 23:56:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     j.westgeest@chello.nl
>Release:        2002-06-25_FREAKS.exe
>Organization:
>Environment:
win2000
>Description:
when you declare an unsigned char global.
and check it in your main loop the code is wrong.
reg 24 is and with reg 24.
and jmp -2 which makes an never ending loop.

but if you make an global pointer to an local var and check this one the code is ok.
>How-To-Repeat:
See Zip
>Fix:
Do not know, but for workaround see zip
>Release-Note:
>Audit-Trail:
>Unformatted:


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