Commit Graph

55 Commits

Author SHA1 Message Date
Craig Burley
677c2af0df document Toon's patch, fix grammo
From-SVN: r27176
1999-05-26 08:52:30 -04:00
Craig Burley
794228803c rename version numbers, etc
From-SVN: r27174
1999-05-26 08:48:41 -04:00
Craig Burley
bac23dd63d rename -fsubscript-check to -fbounds-check
From-SVN: r27170
1999-05-26 05:52:31 -04:00
Craig Burley
ff852b4454 fix INTEGER*8 subscripts, add -fflatten-arrays
From-SVN: r26948
1999-05-15 11:46:16 -04:00
Craig Burley
41af162ca7 disable maintenance of errno
From-SVN: r26897
1999-05-12 00:38:14 -04:00
Craig Burley
2729076adc Doc upgrade to netlib libf2c as of today
From-SVN: r26865
1999-05-10 10:42:40 -04:00
Craig Burley
ef8d4abd7a automatic arrays reportedly working on HP-UX systems
From-SVN: r26803
1999-05-06 01:28:16 -04:00
Craig Burley
2b0bdd9a77 reverse order of arguments to CTIME_subr, DTIME_subr, ETIME_subr, and TTYNAM_subr
From-SVN: r26756
1999-05-03 12:07:36 -04:00
Craig Burley
a31f6b9fd0 doc upgrade to netlib libf2c as of today
From-SVN: r26742
1999-05-03 04:38:23 -04:00
Craig Burley
8f00eff749 doc fix
From-SVN: r26626
1999-04-25 15:39:22 -04:00
Craig Burley
f658f69524 forgot to update news.texi
From-SVN: r26614
1999-04-24 05:29:46 -04:00
Craig Burley
6b55276ed9 support array bounds checking
From-SVN: r26592
1999-04-22 19:01:43 -04:00
Craig Burley
1a5cfb80ec clarify -malign-double situation
From-SVN: r26555
1999-04-19 18:42:00 -04:00
Craig Burley
bded05359b Fix DATA repeat-count bug
From-SVN: r26554
1999-04-19 18:27:05 -04:00
Craig Burley
4e6a144034 remove -fugly, other doc fixes
From-SVN: r26519
1999-04-17 10:09:21 -04:00
Craig Burley
d8955e1744 Make -fno-emulate-complex the default
From-SVN: r26161
1999-04-03 15:34:35 -05:00
Craig Burley
7cceca3288 The -malign-double option now works
From-SVN: r26114
1999-04-02 05:37:16 -05:00
Craig Burley
f6a12244c3 Editorial fix to g77 news
From-SVN: r25819
1999-03-17 03:39:59 -05:00
Craig Burley
811cabeeb6 Editorial fixes to g77 docs
From-SVN: r25790
1999-03-15 09:15:16 -05:00
Craig Burley
f8e1d0a169 Fix INTEGER*8 conversion bugs
From-SVN: r25746
1999-03-13 10:14:29 -05:00
Craig Burley
51efa892bf Improve g77 doc infrastructure
From-SVN: r25743
1999-03-13 07:04:03 -05:00
Craig Burley
411d4e28f8 Warn about invoking non-Y2K-compliant intrinsics
From-SVN: r25609
1999-03-05 18:40:12 -05:00
Craig Burley
a332224a56 Update news item about IDATE (VXT) fix timeline
From-SVN: r25597
1999-03-05 05:22:50 -05:00
Craig Burley
37159e91c1 Fix IDATE (VXT) intrinsic
From-SVN: r25551
1999-03-02 16:59:52 -05:00
Craig Burley
5efcdab15f fix references for HTML, etc.
From-SVN: r25548
1999-03-02 16:41:30 -05:00
Craig Burley
c4a920a097 delete fixed bugs, describe one as appropriate news
From-SVN: r25547
1999-03-02 16:14:32 -05:00
Craig Burley
cc60b3c1db doc 1.1.2 news in trunk
From-SVN: r25546
1999-03-02 16:06:55 -05:00
Craig Burley
0d51fab433 Support -ax for Fortran code
From-SVN: r25545
1999-03-02 15:44:33 -05:00
Craig Burley
5460eb076d fix news-doc item
From-SVN: r25543
1999-03-02 15:38:14 -05:00
Craig Burley
cea0198ed9 update BUGS, INSTALL, NEWS, and their sources
From-SVN: r25320
1999-02-19 09:45:46 -05:00
Craig Burley
19d987e26d improve global/filewide semantic checking
From-SVN: r25319
1999-02-19 09:05:51 -05:00
Craig Burley
5d0e7057cb fix IOSTAT=16-bit-int crash
From-SVN: r25279
1999-02-18 00:45:56 -05:00
Craig Burley
d1d80a921c Allow .FOR and .FPP suffixes for Fortran source files
From-SVN: r25198
1999-02-14 06:42:50 -05:00
Craig Burley
90b8e60a8e document forgotten fix circa egcs-1.1
From-SVN: r25194
1999-02-14 00:09:10 -05:00
Jeffrey A Law
36ded32a3f * g77.texi, news.texi: Updates from Craig.
From-SVN: r23593
1998-11-09 15:17:04 -07:00
Jeffrey A Law
7542d87cee * news.texi: Update from Craig.
From-SVN: r22615
1998-09-27 21:23:24 -06:00
Craig Burley
0e5b2a4dee bugs.texi, [...]: Doc updates from Craig.
8
        * bugs.texi, g77.1, g77.texi, intdoc.in, news.texi: Doc updates
        from Craig.

From-SVN: r22154
1998-09-01 03:13:23 -06:00
Craig Burley
4801aa8f37 Cleanups vis-a-vis g77-0.5.24:
Mon Jul 13 18:02:29 1998  Craig Burley  <burley@gnu.org>
	Cleanups vis-a-vis g77-0.5.24:
	* g77spec.c (lang_specific_driver): Tabify source.
	* top.c (ffe_decode_option): Use fixed macro to set
	internal-checking flag.
	* top.h (ffe_set_is_do_internal_checks): Fix macro.

From-SVN: r21177
1998-07-15 07:13:43 +00:00
Craig Burley
a6fa642003 Fix 980628-*.f:
Mon Jun 29 09:47:33 1998  Craig Burley  <burley@gnu.org>
	Fix 980628-*.f:
	* bld.h: New `pad' field and accessor macros for
	ACCTER, ARRTER, and CONTER ops.
	* bld.c (ffebld_new_accter, ffebld_new_arrter,
	ffebld_new_conter_with_orig): Initialize `pad' field
	to zero.
	* com.c (ffecom_transform_common_): Include initial
	padding (aka modulo aka offset) in size calculation.
	Copy initial padding value into FFE initialization expression
	so the GBE transformation of that expression includes it.
	Make array low bound 0 instead of 1, for consistency.
	(ffecom_transform_equiv_): Include initial
	padding (aka modulo aka offset) in size calculation.
	Copy initial padding value into FFE initialization expression
	so the GBE transformation of that expression includes it.
	Make array low bound 0 instead of 1, for consistency.
	(ffecom_expr_, case FFEBLD_opACCTER): Delete unused `size'
	variable.
	Track destination offset separately, allowing for
	initial padding.
	Don't bother setting initial PURPOSE offset if zero.
	Include initial padding in size calculation.
	(ffecom_expr_, case FFEBLD_opARRTER): Allow for
	initial padding.
	Include initial padding in size calculation.
	Make array low bound 0 instead of 1, for consistency.
	(ffecom_finish_global_): Make array low bound 0 instead
	of 1, for consistency.
	(ffecom_notify_init_storage): Copy `pad' field from old
	ACCTER to new ARRTER.
	(ffecom_notify_init_symbol): Ditto.
	* data.c (ffedata_gather_): Initialize `pad' field in new
	ARRTER to 0.
	(ffedata_value_): Ditto.
	* equiv.c (ffeequiv_layout_local_): When lowering start
	of equiv area, extend lowering to maintain needed alignment.
	* target.c (ffetarget_align): Handle negative offset correctly.
	* global.c (ffeglobal_pad_common): Warn about non-zero
	padding only the first time its seen.
	If new padding larger than old, update old.
	(ffeglobal_save_common): Use correct type for size throughout.
	* global.h: Use correct type for size throughout.
	(ffeglobal_common_pad): New macro.
	(ffeglobal_pad): Delete this unused and broken macro.

From-SVN: r20817
1998-06-30 07:59:40 +00:00
Craig Burley
973bd7a49f g77spec.c (lang_specific_driver): Put -lg2c' in front of any -lm' that is seen.
* g77spec.c (lang_specific_driver): Put `-lg2c' in
	front of any `-lm' that is seen.

From-SVN: r20763
1998-06-27 16:12:42 -06:00
Craig Burley
95a1b67649 Restore circa-0.5.22 capabilities of `g77' driver:
Thu May 28 21:32:18 1998  Craig Burley  <burley@gnu.org>
	Restore circa-0.5.22 capabilities of `g77' driver:
	* Make-lang.in (g77spec.o): Depend on f/version.h.
	(g77version.o): New rule to compile g77 version info.
	(g77$(exeext)): Depend on and link in g77version.o.
	* g77spec.c: Rewrite to be more like 0.5.22 version
	of g77.c, making filtering of command line smarter
	so mixed Fortran and C (etc.) can be compiled, verbose
	version info can be obtained, etc.
	* lang-specs.h (f77-version): New "language" to support
	"g77 -v" command under new gcc 2.8 regime.
	* lex.c (ffelex_file_fixed): If -fnull-version, just
	substitute a "source file" that prints out version info.
	* top.c, top.h: Support -fnull-version.
	* lang-specs.h: Use "%O" instead of OO macro to specify
	object extension.  Remove old stringizing cruft.
	* Make-lang.in (g77.c, g77spec.o, g77.o, g77$(exeext),
	g77-cross$(exeext), f771,
	$(srcdir)/f/g77.info, $(srcdir)/f/g77.dvi,
	$(srcdir)/f/intdoc.texi,
	f77.install-common, f77.install-info, f77.install-man,
	f77.uninstall, $(G77STAGESTUFF), f77.stage1, f77.stage2,
	f77.stage3, f77.stage4, f77.distdir): Don't do anything
	unless user specified "f77" or "F77" in $LANGUAGES either
	during configuration or explicitly.  For convenience of
	various tests and to work around lack of the assignment
	"LANGUAGES=$(BOOT_LANGUAGES)" in the "make stage1" command
	of "make bootstrap" in gcc, use a touch file named "lang-f77"
	to communicate whether this is the case.
	* Make-lang.in (F77_FLAGS_TO_PASS): Delete this macro,
	replace with minimal expansion of its former self in
	each of the two instances where it was used.
	* Makefile.in (HOST_CC): Delete this definition.
	* com.c (index, rindex): Delete these declarations.
	* proj.h: (isascii): Delete this.
	* Make-lang.in (f77.install-common): Warn if `f77-install-ok'
	flag-file exists, since it no longer triggers any activity.
	Rename libf2c.a and f2c.h to libg2c.a and g2c.h,
	normalize and simplify g77/libg2c build process:
	* Make-lang.in: Remove all support for overwriting
	/usr/bin/f77 etc., or whatever the actual names are
	via $(prefix) and $(local_prefix).  (g++ overwrites
	/usr/bin/c++, but then it's often the only C++ compiler
	on the system; f77 often exists on systems that are
	installing g77.)
	(f77.realclean): Remove obsolete target.
	(g77.c, g77$(exeext)): Minor changes to look more like g++'s
	stuff.
	(f771): Now built with srcdir=gcc/f, not srcdir=gcc, to be
	more like g++ and such.
	(f/Makefile): Removed, as g++ doesn't need this rule.
	(f77.install-common): No longer install f77, etc.
	(f77.install-man): No longer install f77.1.
	(f77.uninstall): No longer uninstall f77, f77.1, etc.
	(f77.stage1, f77.stage2, f77.stage3, f77.stage4): Do work
	only if "f77" appears in $(LANGUAGES).
	(Note: gcc's Makefile.in's bootstrap target should set
	LANGUAGES=$(BOOT_LANGUAGES) when making the stage1 target.)
	* Makefile.in: Update vis-a-vis gcc/cp/Makefile.in.
	(none): Remove.
	(g77-only): Relocate.
	(all.indirect, f771, *.o): Now assumes current directory
	is this dir (gcc/f), not the parent directory.
	(TAGS): Remove "echo 'parse.y,0'  >> TAGS ;" line.
	* config-lang.in: Delete commented-out code.
	Fix stagestuff definition.  Add more stuff to
	diff_excludes definition.  Don't create any directories.
	Set outputs to f/Makefile, to get variable substition
	to happen (what does that really do, anyway?!).
	* g77spec.c: Rename libf2c to libg2c.
	* com.h: Remove all of the gcc back-end decls,
	since egcs should have all of them correct.
	* com.c: Include "proj.h" before anything else,
	as that's how things are supposed to work.
	* ste.c: Ditto.
	* bad.c: Include "flags.j" here, since some diagnostics
	check flag_pedantic_errors.
	* Makefile.in (f/*.o): Rebuild dependencies via
	deps-kinda.
	* output.j: New source file.
	* Make-lang.in (F77_SRCS): Update accordingly.
	* Makefile.in (OUTPUT_H): Ditto.
	(deps-kinda): Ditto.
	* com.c: Include "output.j" here.
	* lex.c: Ditto.

From-SVN: r20506
1998-06-15 07:37:33 +00:00
Craig Burley
a835e35137 com.c (ffecom_init_0): Fix setup of INTEGER(KIND=7) pointer type.
Mon Jun  1 19:37:42 1998  Craig Burley  <burley@gnu.org>
	* com.c (ffecom_init_0): Fix setup of INTEGER(KIND=7)
	pointer type.
	* info.c (ffeinfo_type): Don't crash on null type.
	* expr.c (ffeexpr_fulfill_call_): Don't special-case
	%LOC(expr) or LOC(expr).
	Delete FFEGLOBAL_argsummaryPTR.
	* global.c, global.h: Delete FFEGLOBAL_argsummaryPTR.

From-SVN: r20225
1998-06-04 10:41:23 +00:00
Dave Love
43ebf5a445 JCB update.
From-SVN: r19958
1998-05-22 10:55:21 +00:00
Dave Love
7b40ddbde5 Update to Netlib version of 1998-04-20
From-SVN: r19875
1998-05-19 10:45:44 +00:00
Dave Love
0063c7779b JCB updates.
From-SVN: r19874
1998-05-19 10:29:42 +00:00
Craig Burley
3cf0cea4f9 Changes from Craig. See ChangeLog for details.
From-SVN: r19217
1998-04-14 18:19:01 -06:00
Jeff Law
44d2eabcec Merge in g77-0.5.22.
From-SVN: r18753
1998-03-22 03:06:48 -07:00
Craig Burley
b50fa387cb expr.c (ffeexpr_token_arguments_): Make sure outer exprstack isn't null.
* expr.c (ffeexpr_token_arguments_): Make sure
	outer exprstack isn't null.

From-SVN: r18190
1998-02-22 12:39:08 -07:00
Craig Burley
86fc7a6c5d Improve run-time diagnostic for "PRINT '(I1', 42":
* com.c (ffecom_char_args_x_): Renamed from ffecom_char_args_,
        which is now a macro (to avoid lots of changes to other code)
        with new arg, ffecom_char_args_with_null_ being another new
        macro to call same function with different value for new arg.
        This function now appends a null byte to opCONTER expression
        if the new arg is TRUE.
        (ffecom_arg_ptr_to_expr): Support NULL length pointer.
        * ste.c (ffeste_io_cilist_):
        (ffeste_io_icilist_): Pass NULL length ptr for
        FORMAT expression, so null byte gets appended where
        feasible.
        * target.c (ffetarget_character1):
        (ffetarget_concatenate_character1):
        (ffetarget_substr_character1):
        (ffetarget_convert_character1_character1):
        (ffetarget_convert_character1_hollerith):
        (ffetarget_convert_character1_integer4):
        (ffetarget_convert_character1_logical4):
        (ffetarget_convert_character1_typeless):
        (ffetarget_hollerith): Append extra phantom null byte as
        part of FFETARGET-NULL-BYTE kludge.
Yes, even more patches from Craig :-)

From-SVN: r18187
1998-02-22 12:31:54 -07:00
Craig Burley
6d43319624 Various changes from Craig. See the appropriate ChangeLog files.
From-SVN: r18182
1998-02-22 12:25:07 -07:00