Commit Graph

18498 Commits

Author SHA1 Message Date
Jason Merrill
9d07bfaf50 tweak
From-SVN: r22427
1998-09-15 09:43:48 -04:00
Mark Mitchell
b0e0b31f6f cp-tree.h: Revert previous change.
* cp-tree.h: Revert previous change.
	(finish_struct_methods): Remove declaration.
	* class.c: Revert previous change.
	(maybe_warn_about_overly_private_class): New function.
	(finish_struct_methods): Declare here, and make static.  Remove
	unnecessary parameters.  Tidy slightly.  Use
	maybe_warn_about_overly_private_class.
	(finish_struct_1): Adjust.  Remove check for private constructors,
	now done elsewhere.
	(finish_struct): Adjust.

From-SVN: r22426
1998-09-15 11:43:54 +00:00
Andrew MacLeod
bf71cd2eaa [multiple changes]
Tue Sep 15 14:10:54 EDT 1998  Andrew MacLeod  <amacleod@cygnus.com>
        * except.h (struct eh_entry): Add false_label field.
        (end_catch_handler): Add prototype.
        * except.c (push_eh_entry): Set false_label field to NULL_RTX.
        (start_catch_handler): When using old style exceptions, issue
        runtime typematch code before continuing with the handler.
        (end_catch_handler): New function, generates label after handler
        if needed by older style exceptions.
        (expand_start_all_catch): No need to check for new style exceptions.
        (output_exception_table_entry): Only output the first handler label
        for old style exceptions.
        * libgcc2.c (__eh_rtime_match): New routine to lump runtime matching
        mechanism into one function, if a runtime matcher is provided.
1998-09-15  Andrew MacLeod  <amacleod@cygnus.com>
        * cp/except.c (expand_start_catch_block): No need to check for new
        exception model.
        (process_start_catch_block_old): Deleted.
        (process_start_catch_block): Add call to start_decl_1().
        (expand_end_catch_block): Add call to end_catch_handler().
        * cp/exception.cc (__cplus_type_matcher): Only check the exception
        language if there is an exception table.

From-SVN: r22425
1998-09-15 11:20:52 +00:00
Andrew MacLeod
8a21007c94 [multiple changes]
Tue Sep 15 13:53:59 EDT 1998  Andrew MacLeod  <amacleod@cygnus.com>
	* config/i960/i960.h (SLOW_BYTE_ACCESS): Change definition to 1.
1998-09-15  Andrew MacLeod  <amacleod@cygnus.com>
	* cp/search.c (expand_indirect_vtbls_init): Mark temporary stack slots
	as used to prevent conflicts with virtual function tables.

From-SVN: r22424
1998-09-15 11:03:03 +00:00
Mark Mitchell
11d09c08aa * integrate.c (copy_decl_list): Fix typo.
From-SVN: r22423
1998-09-15 10:03:15 +00:00
David S. Miller
2d81c9bfe7 sparc.md (movdf_const_intreg_sp32): Fix length attribute.
* config/sparc/sparc.md (movdf_const_intreg_sp32): Fix length
	attribute.

From-SVN: r22422
1998-09-14 22:26:00 -07:00
Jeff Law
a9c17941be Daily bump.
From-SVN: r22421
1998-09-14 18:45:02 -06:00
Dave Brolley
20aa9a3576 typeck.c (build_chill_slice): Always use TYPE_DOMAIN to get the domain type of the array.
Mon Sep 14 16:46:36 1998  Dave Brolley  <brolley@cygnus.com>
	* typeck.c (build_chill_slice): Always use TYPE_DOMAIN to get the
	domain type of the array.

From-SVN: r22420
1998-09-14 10:55:10 -04:00
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