Commit Graph

22036 Commits

Author SHA1 Message Date
Vladimir Makarov 8b04083bec function.c (purge_addressof_replacements): Rename into purge_bitfield_addressof_replacements.
Wed May  5 16:26:13 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
	* function.c (purge_addressof_replacements): Rename into
 	purge_bitfield_addressof_replacements.
	(purge_addressof_replacements): New variable.
	(purge_addressof_1): Add code for changing addressof in notes for
 	field values which are extracted by usage MEM with narrower mode.
	(purge_addressof): Initialize purge_bitfield_addressof_replacements.

From-SVN: r26784
1999-05-05 13:30:51 +00:00
Per Bothner 24dc3000dd New class.
From-SVN: r26783
1999-05-05 05:26:37 -07:00
Tom Tromey 8b91074ea7 libjava.exp (libjava_arguments): Don't use -nodefaultlibs.
* lib/libjava.exp (libjava_arguments): Don't use -nodefaultlibs.
	(libjava_find_lib): Add `-L' option to find the actual library.

From-SVN: r26782
1999-05-05 11:56:28 +00:00
Gilles Zunino 395e3bf94c configure.in: Switch from irix threads to posix threads
1999-05-05  Gilles Zunino  <Gilles.Zunino@hei.fr>
	* configure.in: Switch from irix threads to posix threads
	* configure: Regenerate.

From-SVN: r26781
1999-05-05 11:52:03 +00:00
Mark Mitchell b3f738dacc decl2.c (start_objects): Don't let static constructors and destructors get inlined.
* decl2.c (start_objects): Don't let static constructors and
	destructors get inlined.
	* parse.y (nested_name_specifier): Make sure ordinary types are
	complete, just like template types.
	* parse.c: Regenerated.
	* pt.c (check_explicit_specialization): Improve error messages.

From-SVN: r26780
1999-05-05 11:50:03 +00:00
Gilles Zunino 14caa62fcb configure.in: Switch from irix threads to posix threads Defined IRIX_THREADS.
1999-05-05  Gilles Zunino  <Gilles.Zunino@hei.fr>
	* configure.in: Switch from irix threads to posix threads
	Defined IRIX_THREADS. Put mips_sgi_mach_dep.lo into machdep
	for mips architecture.
	* configure: Regenerate.

From-SVN: r26779
1999-05-05 11:46:18 +00:00
Per Bothner fd164b17ac Add AWT stubs and incomplete classes.
From-SVN: r26778
1999-05-05 04:05:57 -07:00
Tom Tromey dfac8a1333 Makefile.in: Replace with automake-generated file.
* Makefile.in: Replace with automake-generated file.
	* Makefile.am: New file.
	* configure: Replaced with autoconf-generated script.
	* aclocal.m4: New file.
	* acinclude.m4: New file.
	* configure.in: New file.
	* Makefile: Removed.

From-SVN: r26777
1999-05-05 10:04:39 +00:00
Nick Clifton afef3d7a1b Remove assembler dialect dependencies.
From-SVN: r26776
1999-05-05 07:46:43 +00:00
Zack Weinberg 9ba051d33e gcc.c (default_compilers): Fix brace nesting bug.
1999-05-05 09:58 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
	* gcc.c (default_compilers): Fix brace nesting bug.
	* objc/lang-specs.h: Use %i, not %g.mi, for the input file
	when processing an .mi file.

From-SVN: r26775
1999-05-05 07:02:04 +00:00
Jeff Law a0f8c821c3 Daily bump.
From-SVN: r26774
1999-05-04 18:45:03 -06:00
Tom Tromey c45f211ee3 Initial revision
From-SVN: r26770
1999-05-04 19:30:25 +00:00
Mark Mitchell 3d298f8f0e resource.c (mark_set_resources): Handle UNSPEC_VOLATILE...
* resource.c (mark_set_resources): Handle UNSPEC_VOLATILE,
	ASM_INPUT, TRAP_IF, and ASM_OPERANDS just like in
	mark_referenced_resources.

From-SVN: r26769
1999-05-04 16:02:07 +00:00
Zack Weinberg 50e0211ea0 C89-compliant quines
From-SVN: r26768
1999-05-04 15:15:48 +00:00
Dave Brolley d234235cb4 actions.c (chill_expand_assignment): Use powersetlen to calculate the length of an array of packed bits.
Tue May  4 14:52:53 1999  Dave Brolley  <brolley@cygnus.com>
	* actions.c (chill_expand_assignment): Use powersetlen to calculate the
	length of an array of packed bits.

From-SVN: r26767
1999-05-04 07:56:26 -04:00
Jeff Law 6bdbd22b69 Daily bump.
From-SVN: r26766
1999-05-03 18:45:03 -06:00
Jeff Law 3574d94766 Add Ben as maintainer for the config.guess & config.sub files.
From-SVN: r26765
1999-05-03 18:12:51 -06:00
Martin v. Löwis 6e176bd682 typeck.c (string_conv_p): Use same_type_p to check whether we try to convert between char and wchar_t.
* typeck.c (string_conv_p): Use same_type_p to check whether we
	try to convert between char and wchar_t.

From-SVN: r26764
1999-05-03 23:57:18 +00:00
Martin v. Löwis 891febc6e1 New test case
From-SVN: r26763
1999-05-03 23:55:28 +00:00
David Edelsohn bf03405415 aix43.h (SUBTARGET_OVERRIDE_OPTIONS): Change non-PowerPC and AIX64 combination to warning.
* rs6000/aix43.h (SUBTARGET_OVERRIDE_OPTIONS): Change non-PowerPC
        and AIX64 combination to warning.  Add warning for disabling
        PowerPC64 support when using 64-bit mode.
        (LIB_SPEC): Do not link with libg.a in 64-bit mode.
        (LINK_SPEC): Do not export libg.exp symbols in 64-bit mode.
        * rs6000/rs6000.h (MY_ISCOFF): Treat import/export files as valid
        XCOFF files.
        (read_only_data_section, private_data_section,
        read_only_private_data_section): Always align CSECTs to doubleword
        boundary regardless of mode.
        (TEXT_SECTION_ASM_OP): Align text CSECT on doubleword boundary in
        64-bit mode.
        (DATA_SECTION_ASM_OP): Always align CSECT to doubleword boundary.
        (ASM_OUTPUT_LOCAL): Use rounded size in 64-bit mode to
        maintain doublword alignment.

From-SVN: r26762
1999-05-03 16:10:06 -04:00
Tom Tromey 51d2ffa1a2 parse-scan.y (interface_declaration): Call report_class_declaration for interfaces.
* parse-scan.y (interface_declaration): Call
	report_class_declaration for interfaces.

From-SVN: r26761
1999-05-03 17:04:54 +00:00
Tom Tromey a7f0ef91f6 parse-scan.y (interface_declaration): Call report_class_declaration for interfaces.
* parse-scan.y (interface_declaration): Call
	report_class_declaration for interfaces.

From-SVN: r26760
1999-05-03 16:59:16 +00:00
Craig Burley c56f65d675 fix CTIME_subr bug
From-SVN: r26759
1999-05-03 12:46:45 -04:00
Alexandre Petit-Bianco 7f10c2e2fc check-init.c (check_init): Exclude a case of error when doing xrefs.
Fri Apr 30 17:54:40 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* check-init.c (check_init): Exclude a case of error when doing
 	xrefs.
	* class.c (layout_class_method): Don't generate the error message
 	twice when compiling from source.
	* lang-options.h: Added `-Wredundant-modifers' and
	`-Wunusupported-jdk11' flags and help text.
	* lang.c (lang_decode_option): Added support for
 	`-Wunsupported-jdk11' and `-Wredundant-modifiers'.
	flag_static_local_jdk11 and flag_redundant set accordingly.
	* lex.c (java_lex): Call BUILD_OPERATOR on CCB_TK.
	* parse.h (EXPR_WFL_ADD_COL): New macro.
	(DECL_END_SOURCE_LINE): Likewise.
	(DECL_INHERITED_SOURCE_LINE): Likewise.
	* parse.y (static_ref_err): New function, prototyped.
	(CCB_TK): Now tagged <operator>.
	(class_body:): Remember the location of the closing '}' of a class
 	definition when doing xrefs.
	(block:): Likewise.
	(block_end:): Likewise.
	(create_class): Remember the location of the inherited class
 	identifier when doing xrefs.
	(register_fields): Added test on first operand of `init' before
 	testing it TREE_CODE.
	(method_header): Store the location of the class identifier in the
 	class decl when doing xrefs.
	(finish_method_declaration): Don't combine first/last method line
 	when doing xref.
	(java_check_regular_methods): Warning check on not overriding
 	methods with default access on other packages move before check on
 	static methods. Initialization of `aflags' also moved up.
	(resolve_expression_name): Call static_ref_err to report the error.
	(static_ref_err): New function, implemented.
	(resolve_field_access): Returned simplified static field access
 	when doing xrefs.
	(resolve_qualified_expression_name): Check for illegal use of
 	static fields in a non static context. Call static_ref_err to
 	report error in various places.
	(java_complete_tree): To not fold initialized static fields when
 	doing xrefs.
	(java_complete_lhs): Likewise.

From-SVN: r26758
1999-05-03 09:45:18 -07:00
Craig Burley dbd9ec970e Declare ABORT as intrinsic
From-SVN: r26757
1999-05-03 12:20:06 -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
Zack Weinberg 2d6d3dc232 Rearrange so the problem is not obscured by warnings
From-SVN: r26755
1999-05-03 15:29:58 +00:00
Mark Mitchell aa65d1a2ad search.c (lookup_field_r): Set the TREE_TYPE of an ambiguous lookup to error_mark_node here.
* search.c (lookup_field_r): Set the TREE_TYPE of an ambiguous
	lookup to error_mark_node here.
	(lookup_member): Revise documentation.  Add comments.  Don't set
	the TREE_TYPE to error_mark_node here, and don't build up an extra
	TREE_LIST for ambiguous lookups.
	(setup_class_bindings): Adjust accordingly.
	(push_class_decls): Revise out-of-date comments.

From-SVN: r26754
1999-05-03 15:08:33 +00:00
Mark Mitchell 2f8ec491ba * typeck.c (build_const_cast): Tighten checks for legality.
From-SVN: r26753
1999-05-03 15:04:58 +00:00
Jeffrey A Law d750f6f780 mn10200.md (btst insns): btst does not leave cc0 in a useable state for redundant tst eliminatino.
* mn10200.md (btst insns): btst does not leave cc0 in a useable
        state for redundant tst eliminatino.
        * mn10300.md (btst insns): Likewise.

From-SVN: r26752
1999-05-03 07:51:00 -06:00
Kaveh R. Ghazi ddcd89b9a0 * gcc.dg/compare1.c: New test.
From-SVN: r26751
1999-05-03 13:19:42 +00:00
Kaveh Ghazi 8ca4790205 mips.h (Pmode): Revert Oct 14th change which added a cast.
0
        * mips.h (Pmode): Revert Oct 14th change which added a cast.

From-SVN: r26750
1999-05-03 13:18:01 +00:00
Kaveh Ghazi 58690ba848 mips.h (Pmode): Revert Oct 14th change which added a cast.
�
        * mips.h (Pmode): Revert Oct 14th change which added a cast.

From-SVN: r26749
1999-05-03 13:17:54 +00:00
Tom Tromey e04aa64ded mauve.exp (test_mauve): Pass `link' to libjava_arguments when linking.
* libjava.mauve/mauve.exp (test_mauve): Pass `link' to
	libjava_arguments when linking.
	(test_mauve_sim): Likewise.
	* lib/libjava.exp (libjava_arguments): Run `libtool' to link.
	Don't use `-static'.  Added `mode' argument.  Use -nodefaultlibs
	when linking.
	(test_libjava_from_source): Mention why target_compile failed.
	Pass `link' to libjava_arguments when linking.  Only do `xfails'
	for tests we would actually have run.
	(test_libjava_from_javac): Likewise.
	(libjava_find_lib): Return name of `.la' file.

From-SVN: r26748
1999-05-03 12:48:34 +00:00
Martin v. Löwis 234af03211 Have main return int
From-SVN: r26747
1999-05-03 12:41:53 +00:00
Martin v. Löwis db898cddb0 New test case.
From-SVN: r26746
1999-05-03 12:21:16 +00:00
Martin v. Löwis c2e63b4c69 init.c (build_member_call): Lookup names coming from namespace-scoped LOOKUP_EXPR.
* init.c (build_member_call): Lookup names coming from
        namespace-scoped LOOKUP_EXPR.

From-SVN: r26745
1999-05-03 12:20:47 +00:00
Jim Blandy 01d903f487 * gxxint.texi: Add documentation for 'I'.
From-SVN: r26744
1999-05-03 12:15:40 +00:00
Craig Burley 192f4bc12b update derived files
From-SVN: r26743
1999-05-03 04:39:10 -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 336725627d cope with partial overlap
From-SVN: r26741
1999-05-03 04:36:27 -04:00
Craig Burley a152cad74a Update to Netlib version of 1999-05-03
From-SVN: r26740
1999-05-03 04:35:22 -04:00
Craig Burley 9cfd948e77 revert back to netlib versions as of f2c-19990501
From-SVN: r26739
1999-05-03 04:33:21 -04:00
Jeff Law d0369a2f4e Daily bump.
From-SVN: r26737
1999-05-02 18:45:03 -06:00
Martin v. Löwis 63061bc6f5 * tinfo.cc (operator==): Qualify type_info with std::.
From-SVN: r26736
1999-05-02 22:44:24 +00:00
Mark Mitchell 2a5557ffd5 New test case
From-SVN: r26735
1999-05-02 22:34:55 +00:00
Mark Mitchell 412e0b3cee cp-tree.h (lang_decl_flags): Remove comdat.
* cp-tree.h (lang_decl_flags): Remove comdat.  Updated dummy.
	(DECL_COMDAT): Remove definition.

From-SVN: r26734
1999-05-02 17:45:13 +00:00
Mark Mitchell 5918224249 tree.h (struct tree_decl): Add comdat_flag.
* tree.h (struct tree_decl): Add comdat_flag.
	(DECL_COMDAT): Define it.
	* toplev.c (wrapup_global_declarations): Don't output a
	DECL_COMDAT function just because it's public.

From-SVN: r26733
1999-05-02 17:43:33 +00:00
Joseph Myers af36a4d251 Joseph S.
Joseph S. Myers  <jsm28@cam.ac.uk>
        * pdp11.h (TARGET_SWITCHES): Fix error in previous change.
        (ASSEMBLER_DIALECT): Define.
        (CONDITIONAL_REGISTER_USAGE): Rename floating point registers if
        required for the UNIX assembler.
        (ASM_OUTPUT_INT): Remove.  The compiler will synthesise it.
        (ASM_OUTPUT_ADDR_VEC_PROLOGUE): Remove.
        (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Change to "[" and "]".
        (TRAMPOLINE_TEMPLATE): Use ASM_OUTPUT_SHORT.
        * pdp11.c (output_addr_const_pdp11): Copy of output_addr_const
        adapted to output constants in octal.
        * pdp11.c, pdp11.h, pdp11.md: Use output_addr_const_pdp11 instead
        of output_addr_const.  Output constants in octal.  Use assembler
        dialect alternatives where DEC and UNIX assemblers use different
        instruction names.

From-SVN: r26732
1999-05-02 08:17:32 -07:00
Joseph Myers 4014b382ea Joseph S.
Joseph S. Myers  <jsm28@cam.ac.uk>
        * gcc.dg/cast-qual-1.c, gcc.dg/return-type-1.c, gcc.dg/unused-1.c:
        New tests.

From-SVN: r26731
1999-05-02 08:14:53 -07:00