https://sourceware.org/bugzilla/show_bug.cgi?id=32892

--- Comment #5 from Bruno Haible <bruno at clisp dot org> ---
Created attachment 16076
  --> https://sourceware.org/bugzilla/attachment.cgi?id=16076&action=edit
gperf and test.1.er from Bruno's machine

I got the same negative results with various GCC versions:

g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

g++ (GCC) 13.3.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

g++ (GCC) 14.2.0
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

g++ (GCC) 15.1.0
Copyright (C) 2025 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Find attached here (as brunos-binaries.tar.gz) the 'gperf' program (created
with the 'Ubuntu 13.3.0-6ubuntu2~24.04' compiler) and the test.1.er directory
from the gperf-3.3/src/ directory.

1) If you run
$ gp-display-text -lines test.1.er/ | grep find_asso_values
and it displays source line numbers, the difference between your and my machine
is in the gp-display-text step.

2) If you run
$ rm -rf test.1.er/
$ gp-collect-app -o test.1.er -p on -S on ./gperf -m 10 ../tests/5000.gperf >
/dev/null
$ gp-display-text -lines test.1.er/ | grep find_asso_values
and it displays source line numbers, the difference between your and my machine
is in the gp-collect-app step.

3) Otherwise, the difference between your and my machine is in the 'gperf'
executable. Maybe yours contains different types of debug information?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to