Bug in dwarf2out.c:output_file_names()

Ulrich Drepper drepper@redhat.com
Mon Jan 22 14:08:00 GMT 2001


Mark Kettenis <kettenis@wins.uva.nl> writes:

>   idx_offset = dirs[0].length > 0 ? 1 : 0;
> 
> work?  It seems to do so for me, although I didn't run the testsuite.
> A patch is attached, feel free to use it.

I think the patch is correct.  The sorting function ensures that all
entries without a directory part come first and this test is there to
check for these entries.  But some gcc person has to say it's OK, too.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


More information about the Gcc mailing list