[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: g77 internal error



Hashibon Adham <phadham@aluf.technion.ac.il> wrote:
>  Hi, we have a problem compiling a 'simple' fortran program with g77. on
>  all other platforms (example alpha) it works fine, but on
>  Linux/Pentium-II/RH5.1/gcc2.7.2 or egcs, we obtain the following error:
>  
>  
>  ~/LYA>g77 -c logfit.f
>  f/com.c:940: failed assertion `TREE_CODE (TREE_TYPE (e)) == REAL_TYPE'
>  gcc: Internal compiler error: program f771 got fatal signal 6
>  ~/LYA>

1. Do `g77 -v'. You'll see something like "GNU Fortran Front End version 0.5.22"
   0.* means _beta_.
2. Run `info g77', go to the section "Bugs". You'll find there where one should
   send the bug reports to.
3. Based on 1) above: if the results of your code is of real importance to you, 
   avoid using g77. f2c+gcc is _much_ more reliable alternative - as far as
   your code is ANSI F77.

Regards,

Evgeny


--
   ____________________________________________________________
  / Evgeny Stambulchik  <fnevgeny@plasma-gate.weizmann.ac.il>  \
 /  Plasma Laboratory, Weizmann Institute of Science, Israel \  \
 |  Phone : (972)8-934-3610  == | == FAX   : (972)8-934-3491 |  |
 |  URL   :    http://plasma-gate.weizmann.ac.il/~fnevgeny/  |  |
 |  Finger for PGP key >=====================================+  | 
 |______________________________________________________________|