This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Quick Optimization Question
>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:
Tom> There used to be code to do this in some situations but I think it was
Tom> removed.
Sigh. I looked and I think I'm just wrong -- it looks like the code
is still here. I think I'm mixing different memories together.
As I recall this path was not implemented for the .java front end, but
now that is irrelevant of course.
See typeck.c:java_array_type_length().
Also, try your code with -fdump-tree-all.
Tom