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]

Bug report - g77 0.5.24-19981002, egcs-2.91.66 19990314/Linux(egcs-1.1.2 release)



The following source code has been extracted from a much larger
subroutine:

      SUBROUTINE HISTOGRAM( STATUS )
            CALL KPG1_HSTLO( NUMBIN, %VAL( HPNTR ), MINIM, MAXIM, NULL,
     :                       .FALSE., .FALSE., YNULL, NPOS, %VAL( HPPTR1 ),
     :                       %VAL( HPPTR2 ), STATUS )
      END

and causes g77 to abort compilation with the following error

../../../gcc/f/expr.c:8320: failed assertion `"bad context?!?!" == NULL'
g77: Internal compiler error: program f771 got fatal signal 6

The source code IS in error as the first continuation line has gone over
column 72 - it compiles when this is corrected.

However a compiler abort with no indication of the faulty line number is
not perhaps ideal!

Brian McIlwrath

   -------------------------------------------------------------------------
   Brian McIlwrath,                                e-mail: bkm@star.rl.ac.uk
   Starlink Project,                               Tel: +44 (0)1235 446254
   Space Science Department,                       Fax: +44 (0)1235 446667
   Rutherford Appleton Laboratory, UK.
   -------------------------------------------------------------------------


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