Ticket #28 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

errors building some tests using clang compiler

Reported by: carns Owned by:
Priority: minor Component: code generator
Version: git repository Keywords:
Cc:

Description

If you compile the aesop tree using clang as the underlying compiler (../configure CC=clang) then everything works except for three specific test programs:

  • tests/blocking-overhead
  • parser/tests/blocking/nbfun
  • parser/tests/blocking/lonely-pbranch3

In all three cases the error looks something like this:

../tests/blocking-overhead.ae:65:5: error: indirect goto in function with no address-of-label expressions
    goto * (__ae_ctl->gen.state_label);
    ^

The translator is emitting boilerplate code that includes jumping to a label pointer, but the function doesn't have any blocking calls or label pointers.

This ticket isn't critical; clang is mainly of interest for some analysis and debugging tools and the above tests can be commented out.

Change History

comment:1 Changed 11 years ago by dkimpe

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in 81c56af54c10f4d600d5e05b63fb603b0e053159 by always emitting at least one label in the function body.

Note: See TracTickets for help on using tickets.