This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Segmentation Faults


José Miguel Fernandes <Jose.M.Fernandes@siemens.com> writes:

> Dear Sirs,
>
> The fault may be in the compiler or the OS. I used to have my old
> Pentium Pro 200, OS was Solaris, GCC 2.95.2 24/10/99. Everything was
> OK during execution of my applications.
>
> Now I have P4 1.8 (Compaq Presario 2820EA), GCC 3.2 03/09/02,
> Xfree86 4.2.0, Red Hat 8.0 3.2-7, and I have Segmentation faults
> during program execution, exactly for the same code. When compiling
> and linking no errors are produced. I suspect of options in the GCC
> specs file ! I don't know.

You do not give enough information for us to diagnose the problem.
The most likely cause is that there is a bug in your code; GCC 2.95
happened to generate executables which worked correctly, by accident,
but 3.2 does not.

You must spend some more time investigating the problem yourself.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]