Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Apr 1998 15:19:38 -0500
From:      Glenn Johnson <gjohnson@nola.srrc.usda.gov>
To:        hackers@FreeBSD.ORG
Subject:   debugging
Message-ID:  <199804292019.PAA03017@symbion.srrc.usda.gov>

next in thread | raw e-mail | index | archive | help
I sent the message below to questions@freebsd.org a few days ago but have not 
received a response so I thought I would try here. Thanks.

--------------------------------
I have some Fortran programs that compile and run fine using f77 (f2c/cc). If 
I compile the code with g77 I get significantly better performance but some of 
the programs will give the following message upon completion:

	free(): warning: modified (page-) pointer

I get the correct results from the programs but I am concerned. How serious of 
a problem is this? Am I correct in assuming that g77 is optimizing the code in 
a way that is exposing a bug in the program code? Since using gdb on g77 
compiled code is less than ideal, does anyone have an idea on how to go about 
finding info on the problem(s)?

I am not a skilled programmer but I would like to be able to provide 
information to the program developers. The malloc warning does not occur under 
Linux/g77 and so they may not be aware of any underlying bug(s). Thanks in 
advance for your help.
-- 
Glenn Johnson				Technician
USDA-ARS-SRRC				Phone: (504) 286-4252
1100 Robert E. Lee Boulevard		FAX: (504) 286-4217
New Orleans, LA 70124			e-mail: gjohnson@nola.srrc.usda.gov





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804292019.PAA03017>