Commit Graph

18490 Commits

Author SHA1 Message Date
Jeffrey A Law
e12994aba3 Bump for snapshot
From-SVN: r22418
1998-09-14 08:04:01 -06:00
Dave Brolley
13aa1501c0 expr.c (build_chill_function_call): Remove redundant call to chill_convert_to_assignment
Mon Sep 14 16:46:36 1998  Dave Brolley  <brolley@cygnus.com>
	* expr.c (build_chill_function_call): Remove redundant call to
 	chill_convert_to_assignment

From-SVN: r22417
1998-09-14 09:50:41 -04:00
David Edelsohn
8f6854597b - update listing of rs6000-specific constraints
From-SVN: r22416
1998-09-14 07:11:07 -04:00
Mark Mitchell
aed7b2a6e2 cp-tree.h (lang_type): Add has_non_private_static_mem_fn.
* cp-tree.h (lang_type): Add has_non_private_static_mem_fn.
	(CLASSTYPE_HAS_NON_PRIVATE_STATIC_MEM_FN): New macro, to access it.
	* class.c (maybe_class_too_private_p): New function.
	(finish_struct_methods): Use it.
	(finish_struct_1): Likewise.
	(finish_struct): Set CLASSTYPE_HAS_NON_PRIVATE_STATIC_MEM_FN if
	appropriate.

From-SVN: r22415
1998-09-14 11:09:07 +00:00
Mark Mitchell
fd4de5ff4a pt.c (check_specialization_scope): Fix spelling error.
* pt.c (check_specialization_scope): Fix spelling error.
	(check_explicit_specialization): Remove code to handle explicit
	specializations in class scope; they are now correctly diagnosed
	as errors.

From-SVN: r22414
1998-09-14 11:05:47 +00:00
Jeffrey A Law
028d0b2aaf Bump for snapshot
From-SVN: r22413
1998-09-14 04:34:00 -06:00
Jeff Law
7fb54db594 Fix typos/thinkos in previous change.
From-SVN: r22412
1998-09-14 04:32:46 -06:00
Jeffrey A Law
466973eda8 Bump for snapshot
From-SVN: r22411
1998-09-14 03:51:08 -06:00
Jeffrey A Law
1f43f4b493 Makefile.in: Add many missing dependencies.
* Makefile.in: Add many missing dependencies.
        * buffer.c, class.c, constants.c, decl.c: Use system.h and toplev.h
        as appropriate.
        * except.c, expr.c, jcf-io.c jcf-parse.c, jcf-write.c: Likewise.
        * jvgenmain.c lang.c mangle.c typeck.c verify.c: Likewise.

From-SVN: r22410
1998-09-14 03:42:24 -06:00
Jeff Law
edfc5c062e Daily bump.
From-SVN: r22409
1998-09-13 18:45:01 -06:00
David S. Miller
ad299d9bc8 * invoke.texi (C Dialect Options): Put back missing @end itemize.
From-SVN: r22408
1998-09-13 16:15:59 -07:00
Alexandre Oliva
1b015bec9d configure.in: remove usage of `!' to negate the result of a command...
* configure.in: remove usage of `!' to negate the result of a
	command; some common shells do not support it

From-SVN: r22407
1998-09-13 22:37:15 +00:00
David S. Miller
073149a276 Fix non-local goto testsuite failures on sparc64.
* config/sparc/sparc.md (goto_handler_and_restore): Allow any mode
	for operand zero.

From-SVN: r22406
1998-09-13 14:22:53 -07:00
Jeff Law
51568a9c4c Revert previous patch.
From-SVN: r22405
1998-09-13 15:12:44 -06:00
David S. Miller
d7496fbb76 We now fully bootstrap on solaris-2.7 sparcv9.
toplevel:
	* config.sub: Recognize sparcv9 just like sparc64.
	gcc/ChangeLog:
	* configure.in: in sparc9-sol2 config, use 'if test' not
	brackets.
	* configure: Rebuilt.
	* config/sparc/sol2-sld-64.h (SPARC_DEFAULT_CMODEL): Change to
	CM_MEDANY.
	(CPP_CPU_SPEC): Do not define _LP64, header files do this.
	(CPP_CPU_DEFAULT_SPEC): Likewise.
	* config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Get the names right
	for arch64 libfuncs.
	gcc/java/ChangeLog:
	* jcf-io.c: Include string.h.
	libchill/ChangeLog:
	* configure.in: Use 'if test' not brackets.
	* configure: Rebuilt.

From-SVN: r22404
1998-09-13 13:37:17 -07:00
Kaveh R. Ghazi
007e8d2a78 Add support for strsignal, for platforms which have it but don't have sys_siglist (like Solaris 2.7.)
Add support for strsignal, for platforms which have it but don't have
sys_siglist (like Solaris 2.7.)
        * acconfig.h (NEED_DECLARATION_STRSIGNAL): Provide a stub.
        * collect2.c: Don't declare `sys_siglist' here.
        (my_strsignal): Prototype and define new function.  Use it in
        place of `sys_siglist' hacks.
        * mips_tfile.c:  Likewise.
        * configure.in (AC_CHECK_FUNCS): Check for strsignal.
        (GCC_NEED_DECLARATIONS): Likewise.
        * system.h (strsignal): Prototype it, if necessary.
        (sys_siglist): Declare it, if necessary.

From-SVN: r22403
1998-09-13 06:17:31 +00:00
David S. Miller
9655bf953a loop.c (move_movables): While removing insn sequences...
* loop.c (move_movables): While removing insn sequences, preserve
	the next pointer of the most recently deleted insn when we skip
	over a NOTE.

From-SVN: r22402
1998-09-12 22:44:40 -07:00
Kamil Iskra
50a029fdcc Makefile.in (install): Add missing "else true;".
Thu Sep 10 14:57:25 1998  Kamil Iskra  <iskra@student.uci.agh.edu.pl>
	* Makefile.in (install): Add missing "else true;".

From-SVN: r22401
1998-09-13 04:19:15 +00:00
Kamil Iskra
8d1fb67716 Make-lang.in (f77.install-common): Add missing "else true;".
Thu Sep 10 14:55:44 1998  Kamil Iskra  <iskra@student.uci.agh.edu.pl>
	* Make-lang.in (f77.install-common): Add missing "else true;".

From-SVN: r22400
1998-09-13 04:16:22 +00:00
Jeff Law
6f161ac4ed Daily bump.
From-SVN: r22399
1998-09-12 18:45:32 -06:00
Jason Merrill
1dc5fc4b35 update
From-SVN: r22398
1998-09-12 20:12:17 -04:00
Michael Meissner
b91d2c1041 Pass appropriate switches to cpp/asm if -mcpu={401,603e,604e,ec603e,823}
From-SVN: r22397
1998-09-12 08:40:02 +00:00
David S. Miller
c0222c217b More multi-register structure return recognition fixes and:
* config/sparc/sparc.md (movdf_const_intreg_sp64): Disable.

From-SVN: r22396
1998-09-11 20:45:22 -07:00
David S. Miller
86465af734 flow.c (mark_set_1): Recognize multi-register structure return values in CALL insns.
* flow.c (mark_set_1): Recognize multi-register structure return
	values in CALL insns.
	(mark_used_regs): Likewise.
	(count_reg_sets_1): Likewise.
	(count_reg_references):	Likewise.
	* rtlanal.c (note_stores): Likewise.

From-SVN: r22395
1998-09-11 18:03:36 -07:00
Jeff Law
b5754a68c6 Daily bump.
From-SVN: r22394
1998-09-11 18:45:03 -06:00
Alexandre Oliva
207192d92d typedef5.C: check whether typedefs can be redefined to the same non-trivial type
* g++.old-deja/g++.other/typedef5.C: check whether typedefs can be
 	redefined to the same non-trivial type
	* g++.old-deja/g++.pt/explicit73.C: test for proper
 	namespace-qualification of template specializations declared in
 	other namespaces
	* g++.old-deja/g++.other/friend4.C: check whether it is possible
	to declare a subset of the specializations of a template function
	as friends of specializations of a template class
	* g++.old-deja/g++.pt/explicit71.C: make sure specializations of
 	member templates that do not fully specialize the enclosing
 	template class are rejected

From-SVN: r22392
1998-09-11 21:44:37 +00:00
Robert Lipe
4525948204 fix typo.
From-SVN: r22391
1998-09-11 21:31:59 +00:00
Eric Dumazet
37a29ee710 *config/i386/sco5.h (ASM_WEAKEN_LABEL): Defined as in svr4.h.
From-SVN: r22390
1998-09-11 21:01:29 +00:00
Dave Love
770ce57a9d u77-test.f: Fix bad consistency checks.
1998-09-11  Dave Love  <d.love@dl.ac.uk>
	* g77.f-torture/execute/u77-test.f: Fix bad consistency checks.

From-SVN: r22387
1998-09-11 04:59:05 +00:00
Dave Love
342223a401 Fix bad consistency checks.
From-SVN: r22386
1998-09-11 04:57:47 +00:00
Jeff Law
92bcdc13d1 Daily bump.
From-SVN: r22385
1998-09-10 18:45:32 -06:00
David S. Miller
75bba2a6f9 * glimits.h (__LONG_MAX__): Recognize __sparcv9 too.
From-SVN: r22384
1998-09-10 16:06:43 -07:00
Jakub Jelinek
d1accaa33d configure.in: Add check for GAS subsection -1 support.
* configure.in: Add check for GAS subsection -1 support.
	* acconfig.h (HAVE_GAS_SUBSECTION_ORDERING): Add.
	* configure config.in: Rebuilt.
	* config/sparc/sparc.h (CASE_VECTOR_MODE): For V9 flag_pic, use
	SImode is subsection -1 works, else use DImode.
	(ASM_OUTPUT_ADDR_VEC_START, ASM_OUTPUT_ADDR_VEC_END): Define if
	subsection -1 works.
	* config/sparc/sparc.c (sparc_output_addr_vec,
	sparc_output_addr_diff_vec): Use them if defined.

From-SVN: r22383
1998-09-10 15:28:30 -07:00
Dave Brolley
6cf624a0a5 actions.c (chill_convert_for_assignment): Make a copy of the result node before modifying it.
Thu Sep 10 17:52:36 1998  Dave Brolley  <brolley@cygnus.com>
	* actions.c (chill_convert_for_assignment): Make a copy of the result
	node before modifying it.

From-SVN: r22382
1998-09-10 10:56:22 -04:00
Mark Mitchell
1c80fb65ce decl.c (pushdecl): Don't copy types if the DECL_ABSTRACT_ORIGIN of the new decl matches the...
* decl.c (pushdecl): Don't copy types if the
	DECL_ABSTRACT_ORIGIN of the new decl matches the TYPE_NAME of the
	type.

From-SVN: r22381
1998-09-10 11:20:43 +00:00
Mark Mitchell
02e24c7ab0 tree.h (DECL_ORIGIN): New macro.
* tree.h (DECL_ORIGIN): New macro.
	* integrate.c (copy_and_set_decl_abstract_origin): New function.
	(copy_decl_list): Use it.
	(integrate_parm_decls): Likewise.
	(integrate_decl_tree): Likewise.
	* dwarf2out.c (decl_ultimate_origin): Simplify.
	* dwarfout.c (decl_ultimate_origin): Likewise.
	* c-decl.c (duplicate_decls): Use DECL_ORIGIN.
	(pushdecl): Likewise.

From-SVN: r22380
1998-09-10 10:46:00 +00:00
Jeffrey A Law
76f4208677 * Make-lang.in (GCJ): Define before using.
From-SVN: r22379
1998-09-10 03:34:50 -06:00
Anthony Green
9517ead8df * config/rs6000/rs6000.c (output_epilog): Add Java support.
From-SVN: r22378
1998-09-10 08:08:04 +00:00
Martin v. Löwis
95c81fb86f * invoke.texi (C++ Dialect Options): Document -fhonor-std.
From-SVN: r22377
1998-09-10 05:55:04 +00:00
Jeffrey A Law
8feb7351f8 reg-stack.c (straighten_stack): Do nothing if the virtual stack is empty or has a single entry.
* reg-stack.c (straighten_stack): Do nothing if the virtual stack is
        empty or has a single entry.

From-SVN: r22376
1998-09-09 19:03:02 -06:00
Jeff Law
0c6bac90e7 Daily bump.
From-SVN: r22375
1998-09-09 18:45:02 -06:00
Jeffrey A Law
25ba75837f toplev.c (rest_of_compilation): Open up the dump file for reg-stack before calling reg_to_stack.
* toplev.c (rest_of_compilation): Open up the dump file for reg-stack
        before calling reg_to_stack.
So we get the proper debug information in the .stack dump file.

From-SVN: r22374
1998-09-09 18:40:19 -06:00
Richard Henderson
2c01018fc8 alpha.c (alphaev5_insn_pipe): Abort on default case.
* alpha.c (alphaev5_insn_pipe): Abort on default case.
        (alphaev5_next_group): Swallow CLOBBERs and USEs.

From-SVN: r22373
1998-09-09 17:07:33 -07:00
Richard Henderson
704e23f0d4 * c-tree.h (warn_long_long): Declare it.
From-SVN: r22372
1998-09-09 17:06:10 -07:00
Stephen L Moshier
7e3e369cdf emit-rtl.c (gen_lowpart_common): Disable optimization of initialized float-int union if the value is a NaN.
* emit-rtl.c (gen_lowpart_common): Disable optimization of
        initialized float-int union if the value is a NaN.

From-SVN: r22371
1998-09-09 16:33:06 -06:00
Nathan Sidwell
520c987d6a c-lex.c (real_yylex): Don't warn about long long constants if we're allowing long long
* c-lex.c (real_yylex): Don't warn about long long constants if
        we're allowing long long

From-SVN: r22370
1998-09-09 16:02:02 -06:00
Bernd Schmidt
c708eef986 except.h (current_function_eh_stub_label): Declare.
* except.h (current_function_eh_stub_label): Declare.
        (current_function_eh_old_stub_label): Declare.
        * function.h (struct function): New members eh_stub_label and
        eh_old_stub_label.
        * except.c (current_function_eh_stub_label): New variable.
        (current_function_eh_old_stub_label): New variable.
        (init_eh_for_function): Clear them.
        (save_eh_status): Save them.
        (restore_eh_status): Restore them.
        (expand_builtin_eh_stub): Set current_function_eh_stub_label.
        (expand_builtin_eh_stub_old): Set current_function_eh_old_stub_label.
        * flow.c (find_basic_blocks_1): When handling a REG_LABEL note, don't
        make an edge from the block that contains it to the block starting
        with the label if this label is one of the eh stub labels.
        If eh stub labels exist, show they are reachable from the last block
        in the function.

From-SVN: r22369
1998-09-09 15:48:42 -06:00
Jeffrey A Law
e1e837810e pa.c (pa_reorg): New marking scheme for jumps inside switch tables.
* pa.c (pa_reorg): New marking scheme for jumps inside switch
        tables.
        (pa_adjust_insn_length): Update to work with new marking scheme
        for jumps inside switch tables.
        * pa.md (switch_jump): Remove pattern.
        (jump): Handle jumps inside jump tables.

From-SVN: r22368
1998-09-09 15:31:17 -06:00
Bernd Schmidt
1e5bd8410b reload1.c (reload): Break out several subroutines and make some variables global.
* reload1.c (reload): Break out several subroutines and make some
	variables global.
	(calculate_needs_all_insns): New function, broken out of reload.
	(calculate_needs): Likewise.
	(find_reload_regs): Likewise.
	(find_group): Likewise.
	(find_tworeg_group): Likewise.
	(something_needs_reloads): New global variable, formerly in reload.
	(something_needs_elimination): Likewise.
	(caller_save_spill_class): Likewise.
	(caller_save_group_size): Likewise.
	(max_needs): Likewise.
	(group_size): Likewise.
	(max_groups): Likewise.
	(max_nongroups): Likewise.
	(group_mode): Likewise.
	(max_needs_insn): Likewise.
	(max_groups_insn): Likewise.
	(max_nongroups_insn): Likewise.
	(failure): Likewise.

From-SVN: r22367
1998-09-09 15:12:04 -06:00
Bernd Schmidt
5a0a1a6674 * print-rtl.c (print_rtx): For MEMs, print MEM_ALIAS_SET.
From-SVN: r22366
1998-09-09 14:59:53 -06:00