Commit Graph

45 Commits

Author SHA1 Message Date
Manfred Hollstein
6e11d4728d a
In gcc/:
	* i386.h (RTX_COSTS): Insert braces around nested if.
	(ADDITIONAL_REGISTER_NAMES): Insert braces around structured
	elements.
	* gcc.c (default_compilers): Properly put brackets around array elements in
	initializer.
	* getopt.c (_getopt_internal): Add explicit braces around nested if;
	reformatted.
	* reg-stack.c (record_asm_reg_life): Add explicit braces around nested if's.
	(record_reg_life_pat): Add explicit parens around && and || in expression.
	(stack_reg_life_analysis): Add parens around assignment used as expression.
	(convert_regs): Likewise.
In gcc/cp/:
	* lang-specs.h: Properly put brackets around array elements in initializer.
	* typeck.c (build_binary_op_nodefault): Correctly place parens around
	&& and || in expression.
In gcc/f/:
	* lang-specs.h: Properly put brackets around array elements in initializer.

From-SVN: r18502
1998-03-12 00:43:12 +00:00
Jeffrey A Law
f75fb5095c * Make-lang.in: Remove more references to libf77.
From-SVN: r18404
1998-03-04 09:35:10 -07:00
Manfred Hollstein
207ee1570c g77.texi: Use @url for citing URLs.
E
	* g77.texi: Use @url for citing URLs.

From-SVN: r18380
1998-03-03 01:51:49 +00:00
Kaveh R. Ghazi
567f3d3603 com.c (type_for_mode): Add explicit braces to avoid ambiguous `else'.
* com.c (type_for_mode): Add explicit braces to avoid ambiguous `else'.
        * expr.c (ffeexpr_type_combine): Likewise.
        (ffeexpr_reduce_): Likewise.
        (ffeexpr_declare_parenthesized_): Likewise.
        * src.c (ffesrc_strcmp_1ns2i): Likewise.
        (ffesrc_strcmp_2c): Likewise.
        (ffesrc_strncmp_2c): Likewise.
        * stb.c (ffestb_halt1_): Likewise.
        (ffestb_R90910_): Likewise.
        (ffestb_R9109_): Likewise.
        * stc.c (ffestc_R544_equiv_): Likewise.
        * std.c (ffestd_subr_copy_easy_): Likewise.
        (ffestd_R1001dump_): Likewise.
        (ffestd_R1001dump_1005_1_): Likewise.
        (ffestd_R1001dump_1005_2_): Likewise.
        (ffestd_R1001dump_1005_3_): Likewise.
        (ffestd_R1001dump_1005_4_): Likewise.
        (ffestd_R1001dump_1005_5_): Likewise.
        (ffestd_R1001dump_1010_2_): Likewise.
        * ste.c (ffeste_R840): Likewise.
        * sts.c (ffests_puttext): Likewise.
        * symbol.c (ffesymbol_check_token_): Likewise.
        * target.c (ffetarget_real1): Likewise.
        (ffetarget_real2): Likewise.

From-SVN: r17884
1998-02-12 16:18:26 -07:00
Richard Henderson
e203760cfa com.c (ffecom_ptr_to_expr): Do upper - lower in the native type, so as to properly handle negative indices.
* com.c (ffecom_ptr_to_expr) [FFEBLD_opARRAYREF]:  Do upper - lower
        in the native type, so as to properly handle negative indices.

From-SVN: r17847
1998-02-10 17:44:03 -07:00
Craig Burley
34bea46406 Fix -fpedantic combined with `F()' invocation,
also -fugly-comma combined with `IARGC()' invocation:
        * bad.def (FFEBAD_NULL_ARGUMENT_W): New diagnostic.
        * expr.c (ffeexpr_finished_): Don't reject null expressions
        in the argument-expression context -- let outer context
        handle that.
        (ffeexpr_token_arguments_): Warn about null expressions
        here if -fpedantic (as appropriate).
        Obey -fugly-comma for only external-procedure invocations.

From-SVN: r17793
1998-02-08 16:55:11 -07:00
Richard Henderson
63797cbe78 * config-lang.in: Remove references to runtime/.
From-SVN: r17635
1998-02-03 12:13:42 -08:00
J"orn Rennecke
c8bec8c8be com.c (ffecom_tree_canonize_ptr_): Place bitsizetype typed expr as first agument in MULT_EXPR.
* com.c (ffecom_tree_canonize_ptr_): Place bitsizetype typed expr
        as first agument in MULT_EXPR.
        Use bitsize_int (0L, 0L) as zero for bitsizes.
        (ffecom_tree_canonize_ref_):
        Use bitsize_int (0L, 0L) as zero for bitsizes.
        (ffecom_init_0): Use set_sizetype.

From-SVN: r17575
1998-02-01 04:43:05 -07:00
Richard Henderson
0dfb6849ef * runtime directory -- moved into "libfc2" in the toplevel
directory.
        * Make-lang.in: Remove all runtime related stuff.
Starting libfc2 rearrangement.

From-SVN: r17567
1998-01-31 18:30:56 -07:00
Kaveh R. Ghazi
eb1d4d913f Make-lang.in (f77.stage1): Depend on stage1-start so parallel make works better.
* Make-lang.in (f77.stage1): Depend on stage1-start so parallel
        make works better.
        * (f77.stage2): Likewise for stage2-start.
        * (f77.stage3): Likewise for stage3-start.
        * (f77.stage4): Likewise for stage4-start.

From-SVN: r17474
1998-01-25 04:30:32 -07:00
Pieter Nagel
3bf810d837 Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and local_prefix to sub-make invocations.
8
        * Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and
        local_prefix to sub-make invocations.

From-SVN: r17392
1998-01-17 13:29:12 -07:00
Jeffrey A Law
69956def9a * lang-options.h: Add missing options.
From-SVN: r17342
1998-01-13 14:06:08 -07:00
Richard Henderson
8342981f2d * com.c (ffecom_sym_transform_): Assumed arrays have no upper bound.
From-SVN: r17141
1997-12-18 16:11:42 -07:00
Richard Henderson
395928138c * com.c (ffecom_type_vardesc_): Vardesc.dims is a `ftnlen*'.
From-SVN: r17102
1997-12-15 09:34:23 -08:00
Jeffrey A Law
561b3c6ad5 * Make-lang.in (f77.clean): Remove g77.c.
From-SVN: r16883
1997-12-02 09:54:03 -07:00
Jeffrey A Law
6ba2ab5ff0 Make-lang.in (f77.all.build): Add $(exeext) to binary files.
* Make-lang.in (f77.all.build): Add $(exeext) to binary files.
        (f77.all.cross, f77.start.encap): Simliarly.

From-SVN: r16714
1997-11-25 16:32:19 -07:00
Fred Fish
e9295d5321 Make-lang.in (stmp-f2c.h): Move inclusion of F77_FLAGS_TO_PASS to before override of CC so that the...
* Make-lang.in (stmp-f2c.h): Move inclusion of F77_FLAGS_TO_PASS
        to before override of CC so that the override works.

From-SVN: r16642
1997-11-21 10:21:34 -07:00
H.J. Lu
dd5e269d22 * Make-lang.in (f77.install-info): Depend on f77.info.
From-SVN: r16595
1997-11-20 00:56:28 -07:00
Dave Love
79cf8f5e2c intrin.def: Supply gfrt for CPU_TIME.
1997-11-14  Dave Love  <d.love@dl.ac.uk>

	* intrin.def: Supply gfrt for CPU_TIME.  Generalize arg types of
	INT2, INT8, per doc.

From-SVN: r16496
1997-11-14 08:13:42 -07:00
Richard Henderson
af75269882 com.c (ffecom_expr_): Only use TREE_TYPE argument for simple arithmetic...
* com.c (ffecom_expr_): Only use TREE_TYPE argument for simple
        arithmetic; convert types as necessary; recurse with target tree type.

CVS _----------------------------------------------------------------------

From-SVN: r16287
1997-11-02 19:49:29 -07:00
Richard Henderson
83ffecd201 com.c (ffecom_expr_): Take an new arg TREE_TYPE that if non-null specifies the type in which to do...
* com.c (ffecom_expr_): Take an new arg TREE_TYPE that if non-null
        specifies the type in which to do the calculation.  Change all callers.
        [FFEBLD_opARRAYREF]: Force the index expr to use sizetype.

From-SVN: r16148
1997-10-22 11:38:47 -07:00
Paul Koning
022abf9081 Make-lang.in (stmp-f2c.h): Don't configure the runtime directory if LANGUAGES does not include f77.
* Make-lang.in (stmp-f2c.h): Don't configure the runtime
        directory if LANGUAGES does not include f77.

From-SVN: r15930
1997-10-16 02:02:09 -06:00
Richard Henderson
9abbaac7c2 Make-lang.in (g77*): Copied from cp/Make-lang.in g++*.
* Make-lang.in (g77*): Copied from cp/Make-lang.in g++*.
        * g77spec.c: New file, mostly copied from g++spec.c
        * g77.c: Removed.

From-SVN: r15893
1997-10-13 12:09:13 -06:00
Jeffrey A Law
bac2a45427 Make-lang.in (f77.mostlyclean): Clean up stuff in the object tree too.
* Make-lang.in (f77.mostlyclean): Clean up stuff in the
        object tree too.
        (f77.clean, f77.distclean, f77.maintainer-clean): Likewise.

From-SVN: r15846
1997-10-06 14:13:30 -06:00
Philippe De Muyter
3c8f617e2f * g77.c (pexecute, main): Use unlink, not remove.
From-SVN: r15820
1997-10-01 01:42:36 -06:00
Jeffrey A Law
2b67aa29e5 * intdoc.c (main): Remove unused attribute for main's arguments.
From-SVN: r15791
1997-09-29 10:35:19 -06:00
Jeffrey A Law
771c2d1bb7 Make-lang.in (G77_FLAGS_TO_PASS): Pass down RANLIB, RANLIB_TEST and AR instead of the _FOR_TARGET versions.
* Make-lang.in (G77_FLAGS_TO_PASS): Pass down RANLIB, RANLIB_TEST
        and AR instead of the _FOR_TARGET versions.

From-SVN: r15752
1997-09-28 01:44:42 -06:00
Alexandre Oliva
4fd10464e7 Forgot to commit.
From-SVN: r15671
1997-09-23 01:19:31 -06:00
Jeffrey A Law
a79177f5a1 proj.h (FFEPROJ_BSEARCH): Delete all references.
* proj.h (FFEPROJ_BSEARCH): Delete all references.
        (FFEPROJ_STRTOUL): Likewise.
        * proj.c (bsearch): Compile this if no bsearch is provided by the
        host system.
        (strtoul): Similarly.

From-SVN: r15561
1997-09-18 23:16:54 -06:00
Jeffrey A Law
4ac480d605 g77install.texi: Renamed from install.texi
* g77install.texi: Renamed from install.texi
        * g77.texi: Corresponding changes.

Fixes problem with g77.texi getting gcc/install.texi instead of
gcc/f/install.texi when building in the source tree.

From-SVN: r15556
1997-09-18 19:28:39 -06:00
Jeffrey A Law
feb5876a0b * fini.c (main): Return type is int.
From-SVN: r15553
1997-09-18 17:33:06 -06:00
Jeffrey A Law
b92f5cc093 com.c (lang_printable_name): Use verbosity argument.
* com.c (lang_printable_name): Use verbosity argument.
Just to keep the compiler quiet.

From-SVN: r15552
1997-09-18 17:30:08 -06:00
Jeffrey A Law
d6420b5b31 * Make-lang.in: Fix merge problems.
From-SVN: r15544
1997-09-18 16:06:05 -06:00
Jeffrey A Law
f0e6e32439 Make-lang.in: Various changes to build info files in the object tree rather than the source tree.
* Make-lang.in: Various changes to build info files
        in the object tree rather than the source tree.

        * proj.h: Include ctype.h.

From-SVN: r15447
1997-09-14 21:02:41 -06:00
Fred Fish
a9aaedc9f7 * proj.h (isascii): Provide a default definition if none is available.
From-SVN: r15437
1997-09-14 12:36:19 -06:00
Dave Love
3c5b8fa6b4 Patch from Dave Love
* config-lang.in: Remove the messages about possible build problems.

From-SVN: r15425
1997-09-11 19:27:51 -07:00
Jim Wilson
ac64120eeb Add Fred Fish's LN/LN_S patch.
From-SVN: r15415
1997-09-11 13:39:08 -07:00
Jim Wilson
233bd86d2e Add CYGWIN32 support.
* g77.c (pexecute, doit): Add checks for __CYGWIN32__.

From-SVN: r15183
1997-09-09 13:21:58 -07:00
Jeff Law
795232f720 Update to Aug 26 g77 front end and runtime.
From-SVN: r14985
1997-08-27 21:21:05 -06:00
Jim Wilson
10549cbd85 H.J. Lu's SMP patch.
From-SVN: r14924
1997-08-25 23:36:27 -07:00
Jim Wilson
ebf92f1c90 missed ChangeLog entry for last checkin
From-SVN: r14911
1997-08-24 17:26:31 -07:00
Jim Wilson
7d11fb7f0c Eliminate circular dependence on f77-runtime that caused build failures.
* Make-lang.in (f77): Delete f77-runtime.
	(f77.all.build, f77.all.cross, f77.rest.encap): Add f77-runtime.

From-SVN: r14873
1997-08-21 13:17:25 -07:00
Jim Wilson
177873a521 Fix irix6 `make install' problem.
* intdoc.texi: Readd generated file.

From-SVN: r14867
1997-08-20 16:39:40 -07:00
Jim Wilson
63d0810bae Change gcc3 reference to egcs.
From-SVN: r14865
1997-08-20 15:14:18 -07:00
Jim Wilson
145856168e Expunge reference to gcc3.
From-SVN: r14864
1997-08-20 14:53:38 -07:00