#1000 genIpop overwrites acc

closed-fixed
5
2013-05-25
2005-10-25
No

char e;

void foo (unsigned long ul, bit b, char c) reentrant
{
if (b &&
(long) ul < 0)
e = 0;
if (ul && b && c)
e = 1;
}

genIpop (which restores bit b!?) overwrites the result of the
comparison ((long) ul < 0) in acc.

This happens only with reentrant (resp. stack-auto) and a bit in
the parameter list.

Discussion

  • Maarten Brock

    Maarten Brock - 2005-10-27
    • milestone: --> fixed
    • assigned_to: nobody --> maartenbrock
    • status: open --> closed-fixed
     
  • Maarten Brock

    Maarten Brock - 2005-10-27

    Logged In: YES
    user_id=888171

    Fixed in SDCC 2.5.3 #1129

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks