> "Nathan" == Nathan Froyd writes:
Nathan> gcc/java/
Nathan> * expr.c (expand_java_switch): Call build_case_label.
Nathan> (expand_java_add_case): Likewise.
The java parts are ok.
FWIW, I tend to think that if a core change like this one is accepted,
then updates to the fron
On Fri, Mar 11, 2011 at 2:01 PM, Joseph S. Myers
wrote:
> On Thu, 10 Mar 2011, Nathan Froyd wrote:
>
>> This patch does lose location information on CASE_LABEL_EXPRs from the C
>> family of front-ends; it did not seem worth it to have a number of
>> places pass input_location when said information
On Thu, 10 Mar 2011, Nathan Froyd wrote:
> This patch does lose location information on CASE_LABEL_EXPRs from the C
> family of front-ends; it did not seem worth it to have a number of
> places pass input_location when said information isn't even used. I'm
> happy to add the location_t argument b
If we're going to add another TREE_OPERAND to CASE_LABEL_EXPR, then we'd
have to update a number of calls to buildN or similar to know about the
new operand. But that's not a good idea; the new operand is a strictly
private thing and FEs in particular shouldn't have to know anything
about it. Ins