------- Additional Comments From paulthomas2 at wanadoo dot fr 2005-04-19 13:31 ------- Subject: Re: Segmentation fault on correct code
> > ------- Additional Comments From pinskia at gcc dot gnu dot org > 2005-04-19 12:21 ------- > I don't think this is correct code. See PR 20960. Yes ICC does not seg > fault on it. I will note that XLC > does the same thing as gfortran. > I am not sure if it is correct or not; probably not - see below. This PR, 20960 and 18197 are clearly related - I did not find them because I looked in the summary for segmentation fault rather than bus error. The difference with 20960 is that an interface for the function, in the subroutine, did not fix the problem. At module level, the private declaration prohibits the interface. > I also think this is a dup of bug 18197. I agree. I am just out of the door and on the road for a couple of days. As soon as I am back, I willl run these by the Digital compiler, with /strict set. These usually sorts out the wolves in sheep's clothing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21104