#1590 hc08 regression test

hc08 port (43)
Gary Osborn

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.


  • 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)
    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)
    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