Commit Graph

15747 Commits

Author SHA1 Message Date
Jason Merrill
63f38a9064 oops
From-SVN: r18140
1998-02-20 07:30:20 -05:00
Jason Merrill
c2d731c4e9 * collect2.c (main): Still handle !do_collecting for non-AIX targets.
From-SVN: r18139
1998-02-20 07:28:16 -05:00
Jason Merrill
96abf60005 ropeimpl.h: Check __STL_PTHREADS instead of _PTHREADS.
* ropeimpl.h: Check __STL_PTHREADS instead of _PTHREADS.
	* stl_alloc.h: Ditto.
	* stl_config.h: Ditto.
	* stl_rope.h: Ditto.
	* stl_config.h: include <_G_config.h> if __GNUG__ is defined.
	(__STL_PTHREADS): Defined if _PTHREADS is defined or
	__GLIBC__ >= 2.

From-SVN: r18138
1998-02-20 06:13:44 -05:00
Michael Tiemann
9766dbcffc Patch from Michael Tiemann to fix typo.
* ginclude/va-mips.h (va_arg): Remove trailing space after '\'
	continuation character (line 243).

From-SVN: r18136
1998-02-20 02:42:11 -08:00
Andreas Schwab
01a7aaeade * genrecog.c (main): Remove duplicated sentence in emitted comment.
From-SVN: r18134
1998-02-20 03:17:40 +00:00
David Edelsohn
db126753a6 [multiple changes]
Thu Feb 19 22:36:53 1998  Andrey Slepuhin  <pooh@msu.net>
			  David Edelsohn  <edelsohn@mhpcc.edu>
	* collect2.c (XCOFF_SCAN_LIBS): Remove.
	(export_flag): New variable.
	(export_file): #ifdef COLLECT_EXPORT_LIST.
	(import_file, exports, imports, undefined): New variables.
	(libs, cmdline_lib_dirs, libpath_lib_dirs, libpath, libexts): Same.
	(dump_list, dump_prefix_list, is_in_list): New functions.
	(write_export_file): $ifdef COLLECT_EXPORT_LIST.
	(write_import_file, resolve_lib_name): New functions.
	(use_import_list, ignore_library): Same.
	(collect_exit): maybe_unlink import_file and #ifdef.
	(handler): Same.
	(main): New variable importf, #ifdef exportf.  Move parsing of
 	-shared before general argument parsing.  Resolve AIX library
 	paths and import libgcc.a symbols.  Treat .so shared libraries the
 	same as objects and .a libraries.  Create alias for object_lst and
 	increment it instead of original pointer.  Scan AIX libraries as
 	objects earlier instead of using scan_libraries.  Perform AIX
 	tlink later to resolve templates instead of forking ld.
	(GCC_OK_SYMBOL): Ensure symbol not in undef section.
	(GCC_UNDEF_SYMBOL): New macro.
	(scan_prog_file): Loop for members of AIX libraries.  Handle
 	export/import of ctors/dtors.
	(aix_std_libs): New variable.
	(scan_libraries, XCOFF): Delete.
Fri Feb 19 22:36:52 1998  Robert Lipe   <robertl@dgii.com>
	* collect2.c (full_real_ld_suffix): #ifdef CROSS_COMPILE.

From-SVN: r18128
1998-02-19 14:41:03 -05:00
Mike Stump
e642002f86 Makefile.in: Use $tooldir for sys-include to match toplevel configure.
* Makefile.in: Use $tooldir for sys-include to match toplevel
        configure.

From-SVN: r18126
1998-02-19 12:12:33 -07:00
Jeff Law
d09ae635f7 opps.
From-SVN: r18125
1998-02-19 07:16:42 -07:00
Jeff Law
acde952dea method.c (build_mangled_name): Start CPP directives in column zero.
8
        * method.c (build_mangled_name): Start CPP directives in column zero.

From-SVN: r18124
1998-02-19 06:49:28 -07:00
Jeff Law
2fc11007df method.c (build_mangled_name): Start CPP directives in column zero.
* method.c (build_mangled_name): Start CPP directives in column zero.

From-SVN: r18123
1998-02-19 06:49:26 -07:00
Jason Merrill
f02d609c67 oops
From-SVN: r18122
1998-02-19 06:32:23 -05:00
Jason Merrill
c8fcb3318e typeck2.c (process_init_constructor): Sorry about non-trivial labeled initializers.
* typeck2.c (process_init_constructor): Sorry about non-trivial
	labeled initializers.
	* parse.y (initlist): Reenable labeled initializers.

From-SVN: r18121
1998-02-19 05:41:58 -05:00
Kriang Lerdsuwanakij
de5750097b * pt.c (coerce_template_parms) Add a new parameter, is_tmpl_parm,
all callers changed.  Rely on the new parameter instead of arg
	being a TREE_LIST when determine whether we are working inside
	template template parameter.  Clean up is_type test.

From-SVN: r18120
1998-02-19 05:17:10 -05:00
Jason Merrill
31bcaa204f cvt.c (cp_convert_to_pointer): Preserve TREE_CONSTANT.
* cvt.c (cp_convert_to_pointer): Preserve TREE_CONSTANT.
	* typeck2.c (initializer_constant_valid_p): Allow conversions
	between pointers and refrerences.

From-SVN: r18119
1998-02-19 05:05:22 -05:00
Brendan Kehoe
e62d5b5833 typeck.c (build_unary_op): Only warn about incr/decr a pointer if pedantic || warn_pointer_arith.
* typeck.c (build_unary_op): Only warn about incr/decr a pointer
	if pedantic || warn_pointer_arith.

From-SVN: r18118
1998-02-19 04:55:51 -05:00
Kriang Lerdsuwanakij
027905b46a * pt.c (unify): Handle TEMPLATE_DECL.
From-SVN: r18117
1998-02-19 04:38:02 -05:00
Jeff Law
062fa01821 Initial revision
From-SVN: r18114
1998-02-18 20:47:44 -07:00
Jeffrey A Law
aff48bcaae emit-rtl.c (gen_lowpart_common): Suppress last change if __complex__.
* emit-rtl.c (gen_lowpart_common): Suppress last change if __complex__.
        * emit-rtl.c (hard-reg-set.h): Include.
        (get_lowpart_common): Don't make new REG for hard reg in a
        class that cannot change size.
        * Makefile.in (emit-rtl.o): Depend on hard-reg-set.h.
        * combine.c: Revert previous patch.

Co-Authored-By: Richard Kenner <kenner@vlsi1.ultra.nyu.edu>

From-SVN: r18109
1998-02-18 17:35:51 -07:00
Paul Eggert
0a9bdce34d sol2-sld.h: New file.
* config/sparc/sol2-sld.h: New file.
        * configure.in (sparc-*-solaris2*): Use it when using the
        system linker.

From-SVN: r18105
1998-02-18 17:08:12 -07:00
Jeff Law
556e0f21f4 Fix doc typos.
From-SVN: r18104
1998-02-18 17:04:36 -07:00
Jeffrey A Law
3875b31da7 * loop.c (force_movables): Fix typo.
From-SVN: r18102
1998-02-18 16:47:59 -07:00
Manfred Hollstein
8edcf09f30 m88k.h: Change file pattern to match reality.
�
	* m88k.h: Change file pattern to match reality.

From-SVN: r18101
1998-02-18 23:28:57 +00:00
Manfred Hollstein
bb5fa67f9f m88k.h: Change file pattern to match reality.
�
	* m88k.h: Change file pattern to match reality.

From-SVN: r18100
1998-02-18 23:28:54 +00:00
Jeffrey A Law
7f83c0e7ab varasm.c (output_constant_pool): Fix dumb thinko in last change.
* varasm.c (output_constant_pool): Fix dumb thinko in last
        change.

From-SVN: r18099
1998-02-18 15:19:00 -07:00
David Edelsohn
1da4b26c35 Note AIX 4.3 assembler bug for RS/6000 installation.
From-SVN: r18080
1998-02-18 08:25:57 -05:00
Jeff Law
ba73e25d06 Update now that the if/else warning buglet is fixed.
From-SVN: r18079
1998-02-18 06:08:43 -07:00
Jeff Law
3848822256 pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Correctly translate from a function name to a section name.
8
        * pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Correctly translate from
        a function name to a section name.

From-SVN: r18078
1998-02-18 05:38:29 -07:00
Jeff Law
dffc0da457 pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Correctly translate from a function name to a section name.
�
        * pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Correctly translate from
        a function name to a section name.

From-SVN: r18077
1998-02-18 05:38:28 -07:00
David Edelsohn
e4b0d7b3c2 add AIX 4.3 assembler bug and reorder items.
From-SVN: r18074
1998-02-18 07:12:15 -05:00
Dave Love
26f6827a8d dnrm2.f (dnrm2): Avoid uninitialized (and possibly uninitialized) variables and declare dnrm2.
* g77.f-torture/execute/dnrm2.f (dnrm2): Avoid uninitialized (and
possibly uninitialized) variables and declare dnrm2.

From-SVN: r18070
1998-02-18 12:03:40 +00:00
Dave Love
9f842786a0 (dnrm2): Avoid uninitialized (and
possibly uninitialized) variables and declare dnrm2.

From-SVN: r18069
1998-02-18 12:00:51 +00:00
Brendan Kehoe
3dc888ad51 * cp-tree.h (strip_attrs): Remove decl.
From-SVN: r18067
1998-02-18 06:00:03 -05:00
Brendan Kehoe
53f2361306 add doc for -fsquangle/-fno-squangle
From-SVN: r18066
1998-02-18 05:49:56 -05:00
Brendan Kehoe
d9525bec09 tree.h (merge_machine_{type,decl}_attributes): Declare.
./ChangeLog:	* tree.h (merge_machine_{type,decl}_attributes): Declare.
	(split_specs_attrs, strip_attrs): Add prototypes.
	* tree.c (merge_machine_{type,decl}_attributes): New functions.
	* c-decl.c (duplicate_decls): Call merge_machine_decl_attributes.
	Update olddecl's attributes too.
	* c-common.c (strip_attrs): New function.
	* c-typeck.c (common_type): Call merge_machine_type_attributes.
	* varasm.c (make_function_rtl): New target macro REDO_SECTION_INFO_P.
	(make_decl_rtl): Likewise.
	* c-decl.c (shadow_tag_warned): Call split_specs_attrs.
./cp/ChangeLog:	* decl.c (duplicate_decls): Call merge_machine_decl_attributes.
	Update olddecl's attributes too.
	(strip_attrs): Remove function.
	* typeck.c (common_type): Call merge_machine_type_attributes.

From-SVN: r18065
1998-02-18 05:38:57 -05:00
Jeffrey A Law
f9a366acb5 Remove this change until we can fix it correctly.
* collect2.c: Bracket declaration of 'exportf' and
        'full_real_ld_suffix'.

From-SVN: r18062
1998-02-18 01:07:59 -07:00
Bernd Schmidt
206ae7cf59 * Makefile.in (STAGESTUFF): Add genrtl.c, genrtl.h and gengenrtl.
From-SVN: r18061
1998-02-18 00:42:20 -07:00
Dave Love
ce0d965c12 Makefile.in ($(CONFIGURE_TARGET_MODULES)): Run configure with CONFIG_SITE=/dev/null to forestall lossage with site...
* Makefile.in ($(CONFIGURE_TARGET_MODULES)): Run configure with
        CONFIG_SITE=/dev/null to forestall lossage with site configuration.

From-SVN: r18060
1998-02-17 17:18:26 -07:00
Dave Love
9992b2e1f1 u77-test.f: Tweak some o/p.
* libU77/u77-test.f: Tweak some o/p.
        * libU77/Makefile.in (check): Use -L for new directory structure.
        * Makefile.in (check): Run the u77 check.
        (config.status, Makefile): New targets.

From-SVN: r18059
1998-02-17 16:52:39 -07:00
Kaveh R. Ghazi
2fde567ece fold-const.c: Include "system.h" to get stdlib.h and stdio.h.
* fold-const.c: Include "system.h" to get stdlib.h and stdio.h.
        (lshift_double): Add parentheses around + or - inside shift.
        (rshift_double): Likewise.
        (size_int_wide): Explicitly set type of `bit_p' to `int'.
        * Makefile.in (fold-const.o): Depend on system.h.

From-SVN: r18057
1998-02-17 15:43:25 -07:00
Bernd Schmidt
0a7ed33c87 c-common.c (c_expand_start_cond, [...]): Don't warn about non-ambiguous else even if braces are missing.
* c-common.c (c_expand_start_cond, c_expand_end_cond,
        c_expand_start_else): Don't warn about non-ambiguous else even if
        braces are missing.

From-SVN: r18055
1998-02-17 15:28:23 -07:00
Robert Lipe
68c9728ad1 sco5.h (ASM_OUTPUT_DOUBLE, [...]): Delete.
* sco5.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
        ASM_OUTPUT_LONG_DOUBLE): Delete.   Use the ones from i386.h
        instead.

From-SVN: r18054
1998-02-17 22:02:42 +00:00
Richard Henderson
15941d29c8 combine.c (simplify_rtx): Obey CLASS_CANNOT_CHANGE_SIZE when simplifying a subreg of a hard reg.
* combine.c (simplify_rtx): Obey CLASS_CANNOT_CHANGE_SIZE when
        simplifying a subreg of a hard reg.
        (expand_compound_operation): Likewise.
        (force_to_mode): Likewise.

From-SVN: r18052
1998-02-17 14:54:24 -07:00
Jeff Law
d84a12e2de New testcase for x86 XFmode problems.
From-SVN: r18051
1998-02-17 14:50:10 -07:00
Jeff Law
979c1a1757 Remove unwanted CYGNUS LOCAL marker.
From-SVN: r18050
1998-02-17 14:44:09 -07:00
Kaveh R. Ghazi
8e85ff2c50 Makefile.in (gcc.o): Depend on system.h, in accordance with last change to gcc.c.
* Makefile.in (gcc.o): Depend on system.h, in accordance with last
	change to gcc.c.

From-SVN: r18049
1998-02-17 14:37:55 -07:00
Kaveh R. Ghazi
5835e573cd haifa-sched.c: Include "system.h" to get <stdlib.h> and <stdio.h>.
* haifa-sched.c: Include "system.h" to get <stdlib.h> and <stdio.h>.
        (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
        (sched_note_set): Remove unused parameter `b', all callers changed.
        (schedule_block): Likewise for `rgn'.
        (split_hard_reg_notes): Likewise for `orig_insn'.
        (check_live): Likewise for `trg'.
        (update_live): Likewise.
        (check_live_1): Explcitly declare variable `i' as int.
        (update_live_1): Likewise.
        (insn_issue_delay): Remove unused variable `link'.
        (sched_analyze_2): Add default case in enumeration switch.
        (schedule_insns): Remove unused variable `i'.
	* Makefile.in ($(SCHED_PREFIX)sched.o): Depend on system.h.

From-SVN: r18048
1998-02-17 14:35:43 -07:00
Jeffrey A Law
b1a0c81697 loop.c (rtx_equal_for_loop_p): Add some braces to disambiguate a dangling else clause.
* loop.c (rtx_equal_for_loop_p): Add some braces to disambiguate
        a dangling else clause.

From-SVN: r18047
1998-02-17 14:30:22 -07:00
Jeff Law
c03f75435d New alpha test from HJ.
From-SVN: r18046
1998-02-17 14:24:02 -07:00
Jeff Law
a5d3469c49 Various minor tweaks.
From-SVN: r18045
1998-02-17 14:21:20 -07:00
H.J. Lu
3c1493a855 linux.mt (IO_OBJECTS): Add iogetline.o.
* config/linux.mt (IO_OBJECTS): Add iogetline.o.
        * config/linuxlibc1.mt: Ditto.
        * iogetline.c (_IO_getline_info): Renamed from _IO_getline.
        (_IO_getline): Just call _IO_getline_info.
        * isgetline.cc (istream::getline, istream::get, _sb_readline):
        Call _IO_getline_info instead of _IO_getline and get the EOF
        information.
        * sbgetline.cc (streambuf::sgetline): Ditto.
        * libioP.h (_IO_getline_info): New declaration.
        * iogetline.c (_IO_getline): Handle the case when there is no
        buffer.

From-SVN: r18042
1998-02-17 13:54:12 -07:00