[m-rev.] for review: deconstruct.named_arg for java

Ian MacLarty maclarty at csse.unimelb.edu.au
Wed Jul 14 15:42:06 AEST 2010


On Wed, Jul 14, 2010 at 3:15 PM, Zoltan Somogyi <zs at csse.unimelb.edu.au> wrote:
> On 14-Jul-2010, Ian MacLarty <maclarty at csse.unimelb.edu.au> wrote:
>> That doesn't appear to solve the problem.  The function is actually
>> used.  What is needed is a "defined" attribute to convince gcc that
>> the function is actually defined.
>
> Since the state of things as they were before all this started actually
> worked, I think gcc was sufficiently convinced already.
>
>> I changed the definition of the macro that emits the function
>> declaration to the following to test your suggestion:
>>
>> static void label(void) __asm__("_entry_" MR_STRINGIFY(label))
>> __attribute__((unused))
>
> And what is the result? Do you get the right code generated, and do you get
> the warnings?
>

I still get the warnings.  I didn't try to run the generated code.

Ian.

--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list