#1590 hc08 regression test

closed-fixed
hc08 port (43)
5
2013-05-25
2009-12-10
Gary Osborn
No

The changelog shows that bug 1579949 has been fixed, yet the comments in
support/regression/tests/bug1579949.c state that an error occurs if the
--stack-auto option is used on the hc08. The description of the error
in the comments is not quite right, but the compiler does generate a lda
instruction with a blank address, which results in an assembler error.

Discussion

  • Gary Osborn

    Gary Osborn - 2009-12-14

    This is a portion of the regression test that fails the hc08
    --stack-auto test.

    char foo (int x, struct st_s *arg)
    {
    x;
    return ((struct st_s *) arg) -> el;
    }

    The problem goes away if the code is changed to this:

    char foo (int x, struct st_s *arg)
    {
    x;
    return arg->el;
    }

    Very strange.

     
  • Erik Petrich

    Erik Petrich - 2009-12-26
    • assigned_to: nobody --> epetrich
    • status: open --> closed-fixed
     
  • Erik Petrich

    Erik Petrich - 2009-12-26

    Fixed in revision 5611.

     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:





No, thanks