Hi,

I do not know if it is really a bug.

My program stops to an assertion (with abort).  I examine the core file
and here is what happens (compiled with gcc -O0 -ggdb):
--
eminescu:~/abc/parmass2$ gdb a.out core 
[...]
(gdb) p nb
$1 = 4
--
The same program compiled with -O3 instead of -O3 gives:
--
eminescu:~/abc/parmass2$ gdb a.out core 
[...]
(gdb) p nb
$1 = 6
--

The correct variant is the first (I looked in the program too).  So if
you think this is a bug (the value of a parameter is different if
compiled with -O0 or with -O3) please let me know.  I will send you more
information.

GNU gdb 19991004
This GDB was configured as "i386-redhat-linux".  (the gdb which comes
with RedHat 6.2 distribution).

HTH,
Eugen
-- 
http://www.ese-metz.fr/~dedu

_______________________________________________
Bug-gdb mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gdb

Reply via email to