Commit Graph

21435 Commits

Author SHA1 Message Date
Philip Blundell 925a60f3e7 Applied patch from Phillip Blundell <pb@nexus.co.uk>:
This patch fixes a couple of Linux-specific problems with profiling and
  debugging.  It's against the trunk version.  Without it gdb reports wrong
  line numbers and -pg does not work at all.

From-SVN: r25972
1999-03-25 09:45:15 +00:00
Jason Merrill fe1e8929ab new
From-SVN: r25971
1999-03-24 22:50:54 -05:00
Nathan Sidwell 45075bf3df decl.c (init_decl_processing): Add `signed' type as a synonym for `int'.
* decl.c (init_decl_processing): Add `signed' type as a synonym
	for `int'.

From-SVN: r25970
1999-03-24 22:50:45 -05:00
Jason Merrill 0b9c1e4dc4 update
From-SVN: r25969
1999-03-24 22:28:39 -05:00
Jason Merrill b8b0126f61 new
From-SVN: r25968
1999-03-24 22:28:05 -05:00
Jason Merrill 5b163de408 typeck.c (common_type): Handle cv-qual unification for pointers to members.
* typeck.c (common_type): Handle cv-qual unification for pointers
	to members.
	* decl.c (unqualified_namespace_lookup): Return error_mark_node
	on error.
	(lookup_name_real): Set LOOKUP_COMPLAIN when *not* parsing.
	* lex.c (do_identifier): If we got error_mark_node, call
	lookup_name again.

From-SVN: r25967
1999-03-24 22:06:16 -05:00
Finn Hakansson 63681b5ff9 * rtl.h (MEM_COPY_ATTRIBUTES): Remove unnecessary ending backslash.
From-SVN: r25966
1999-03-24 18:14:00 -07:00
Axel Thimm b6c8f0b758 * Makefile.in (RANLIB_TEST): Improve test.
From-SVN: r25965
1999-03-24 18:07:20 -07:00
Donn Terry 835c8e044b combine.c (force_to_mode, case PLUS): Use sign extended mask when masking the low bits out of a constant.
* combine.c (force_to_mode, case PLUS): Use sign extended mask
        when masking the low bits out of a constant.

From-SVN: r25964
1999-03-24 17:48:16 -07:00
Jeff Law 5e7d21e916 Daily bump.
From-SVN: r25963
1999-03-24 17:45:02 -07:00
Martin v. Löwis 9e3a8a5825 Add main, then link it
From-SVN: r25962
1999-03-25 00:36:15 +00:00
Martin v. Löwis 51795d12fb Can't link it - no main()
From-SVN: r25961
1999-03-25 00:33:16 +00:00
Mark Elbrecht f3692274cb system.h (STDIN_FILENO): Provide default definition if one is not provided by the system header files.
* system.h (STDIN_FILENO): Provide default definition if one is not
        provided by the system header files.
        (STDOUT_FILENO, STDERR_FILENO): Likewise.
        * i386/xm-djgpp.h (COLLECT2_HOST_INITIALIZATION): New macro.
        * collect2.c (main): Use it.
        (pexecute_pid): New variable. Holds return value from call to pexecute.
        (collect2_execute): Rework to use pexecute instead of fork.
        (collect2_wait): Use pwait() instead of wait().

Co-Authored-By: Jeffrey A Law <law@cygnus.com>

From-SVN: r25960
1999-03-24 16:35:34 -07:00
Richard Earnshaw cc33944a7a fold-const.c (make_range): If orig_type is unset, set it as soon as we know the type.
* fold-const.c (make_range): If orig_type is unset, set it as soon
        as we know the type.  Remove now unnecessary set of orig_type for
        conversions.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>

From-SVN: r25959
1999-03-24 15:48:37 -07:00
Mark Elbrecht 79d868e887 * i386/djgpp.h: Fix typo.
From-SVN: r25958
1999-03-24 15:30:18 -07:00
Jeffrey A Law 940e53cefe mkfixinc.sh: Recognize cygwin* instead of only cygwin32.
* fixinc/mkfixinc.sh: Recognize cygwin* instead of only
        cygwin32.

From-SVN: r25957
1999-03-24 15:26:54 -07:00
Jeffrey A Law 7633094fe2 * gcc.c-torture/execute/990324-1.c: New test.
From-SVN: r25956
1999-03-24 14:55:06 -07:00
Mumit Khan da4b192759 configure.in (AC_PREREQ): Update to 2.13.
�
        * configure.in (AC_PREREQ): Update to 2.13.
        (AC_EXEEXT): Call to find possible file extension.
        (compiler_name): Use.
        * configure: Regenerate.

From-SVN: r25955
1999-03-24 14:46:41 -07:00
Mumit Khan e33abc2d02 configure.in (AC_PREREQ): Update to 2.13.
�
        * configure.in (AC_PREREQ): Update to 2.13.
        (AC_EXEEXT): Call to find possible file extension.
        (compiler_name): Use.
        * configure: Regenerate.

From-SVN: r25954
1999-03-24 14:46:39 -07:00
Mumit Khan 3508525e5c configure.in (AC_PREREQ): Update to 2.13.
�
        * configure.in (AC_PREREQ): Update to 2.13.
        (AC_EXEEXT): Call to find possible file extension.
        (compiler_name): Use.
        * configure: Regenerate.

From-SVN: r25953
1999-03-24 14:46:18 -07:00
Jeff Law 411a2e59fa configure.in (AC_PREREQ): Update to 2.13.
H
        * configure.in (AC_PREREQ): Update to 2.13.
        (AC_EXEEXT): Call to find possible file extension.
        (compiler_name): Use.
        * configure: Regenerate.

From-SVN: r25952
1999-03-24 14:46:17 -07:00
Mumit Khan 5e34b217d1 configure.in (EXEEXT): Define.
Wed Mar 24 22:36:45 1999  Mumit Khan  <khan@xraylith.wisc.edu>
        * configure.in (EXEEXT): Define.
        (compiler_name): Use.

From-SVN: r25951
1999-03-24 14:44:48 -07:00
Mumit Khan 763ecbbc61 configure.in (EXEEXT): Define.
0
        * configure.in (EXEEXT): Define.
        (compiler_name): Use.

From-SVN: r25950
1999-03-24 14:44:23 -07:00
Mumit Khan adbfd1de80 configure.in (EXEEXT): Define.
8
        * configure.in (EXEEXT): Define.
        (compiler_name): Use.

From-SVN: r25949
1999-03-24 14:44:22 -07:00
Nick Clifton 6aa489b470 Accept both 'model' and '__model__' as attribute names.
Ref: CR 100400-990301-CR-1

From-SVN: r25948
1999-03-24 15:47:29 +00:00
Joern Rennecke d676f55c32 Added star.
From-SVN: r25947
1999-03-24 13:47:44 +00:00
J"orn Rennecke 8593b74599 reload1.c (choose_reload_regs): If output-reloading for a simple move insn...
reload1.c (choose_reload_regs): If output-reloading for a
	simple move insn, try to inherit an equivalence for the input.

From-SVN: r25946
1999-03-24 13:44:58 +00:00
Mike Stump 32ec3c9d86 * arm/aout.h (DBX_OUTPUT_MAIN_SOURCE_FILENAME): Fix quoting.
From-SVN: r25945
1999-03-24 10:01:56 +00:00
Martin v. Löwis 5c6e1aa14a * class.c (finish_struct_1): Always reset TYPE_FIELDS for empty classes.
From-SVN: r25944
1999-03-24 03:01:03 +00:00
Jason Merrill 9747e84add decl.c (lookup_name_real): Do nested field lookup regardless of TYPE_BEING_DEFINED.
* decl.c (lookup_name_real): Do nested field lookup regardless of
	TYPE_BEING_DEFINED.

From-SVN: r25943
1999-03-23 21:41:55 -05:00
Jason Merrill 2ced0b14a9 new
From-SVN: r25942
1999-03-23 21:36:44 -05:00
Jason Merrill d986e15aa3 tidy
From-SVN: r25941
1999-03-23 21:36:33 -05:00
Mark Mitchell 6a629cac2b cp-tree.h (lang_type): Remove has_assignment and has_real_assignment.
* cp-tree.h (lang_type): Remove has_assignment and
	has_real_assignment.  Add befriending_classes.
	(TYPE_HAS_ASSIGNMENT): Remove.
	(TYPE_HAS_REAL_ASSIGNMENT): Likewise.
	(CLASSTYPE_BEFRIENDING_CLASSES): New macro.
	(lang_decl): Document.
	(DECL_BEFRIENDING_CLASSES): New macro.
	(FRIEND_NAME): Move declaration to more obvious location.
	(FRIEND_DECLS): Likewise.
	* class.c (finish_struct_1): Don't use TYPE_HAS_REAL_ASSIGNMENT.
	* decl.c (duplicate_decls): Copy DECL_BEFRIENDING_CLASSES.
	(fixup_anonymous_union): Don't use TYPE_HAS_ASSIGNMENT.
	(grok_op_properties): Likewise.
	* friend.c (is_friend): Use FRIEND_NAME and FRIEND_DECLS.
	(add_friend): Likewise.  Don't do weird things with assignment
	operators.  Update DECL_BEFRIENDING_CLASSES.
	(add_friends): Don't do weird things with assignment operators.
	(make_friend_class): Likewise.  Update
	CLASSTYPE_BEFRIENDING_CLASSES.
	* pt.c (instantiate_class_template): Don't set
	TYPE_HAS_ASSIGNMENT.
	(tsubst_copy): Substitute the TREE_TYPE for more unary
	expressions.
	* ptree.c (print_lang_type): Don't look at TYPE_HAS_ASSIGNMENT.
	* search.c (protected_accessible_p): New function.
	(friend_accessible_p): Likewise.
	(accessible_p): Use them.

From-SVN: r25940
1999-03-24 01:10:13 +00:00
Jim Blandy 7ad3a049d3 libgcc2.c (__CTOR_LIST__, [...]): Initialize on all platforms.
* libgcc2.c (__CTOR_LIST__, __DTOR_LIST__): Initialize on all
        platforms.

From-SVN: r25939
1999-03-23 17:51:16 -07:00
Jeff Law f4dbd6e4f7 Daily bump.
From-SVN: r25938
1999-03-23 17:45:05 -07:00
Geoff Keating a9d9c1084d * fold-const.c (fold): Recognise a rotate by an unsigned amount.
From-SVN: r25937
1999-03-23 17:39:44 -07:00
Jeffrey A Law db4237a4cb pa.md (rotlsi3): New expander.
* pa.md (rotlsi3): New expander.  Synthesize a variable rotate
        left using a variable rotate right.  Provide anonymous pattern for
        rotate left by a constant value.

From-SVN: r25936
1999-03-23 17:30:32 -07:00
Alexandre Oliva b48afaf700 * gen-params (CONFIG_NM): test ... -o ... is not portable
From-SVN: r25935
1999-03-23 23:58:21 +00:00
Jeffrey A Law 9a7b9f4f06 expr.c (expand_assignment): Do not try to optimize a aggregate address which has VOIDmode.
* expr.c (expand_assignment): Do not try to optimize a aggregate
        address which has VOIDmode.

From-SVN: r25934
1999-03-23 15:33:35 -07:00
Mumit Khan 8ebf19db46 protoize.c (abspath): Preserve multiple leading slashes for _WIN32 and Interix.
* protoize.c (abspath): Preserve multiple leading slashes for
        _WIN32 and Interix.

Co-Authored-By: Donn Terry <donn@interix.com>

From-SVN: r25933
1999-03-23 14:53:39 -07:00
Mike Stump 2aa0c933d1 vxarm.h: Split out vxWorks support into separate headerfile and vxify.
* arm/vxarm.h: Split out vxWorks support into separate headerfile
        and vxify.
        * arm/arm.c (cpu_defaults): Allow arm710 as default.
        * configure.in: Split out vxWorks support for Arm.
        * configure: Rebuilt.

From-SVN: r25932
1999-03-23 14:49:39 -07:00
Jeffrey A Law 5ef2fb7986 openbsd.h (TARGET_DEFAULT): Use symbolic names instead of numbers.
* i386/openbsd.h (TARGET_DEFAULT): Use symbolic names instead of
        numbers.
        * i386/netbsd.h, i386/freebsd.h: Likewise.

From-SVN: r25931
1999-03-23 14:34:50 -07:00
Jason Merrill 0234ca0209 tweak
From-SVN: r25930
1999-03-23 14:17:08 -05:00
Mark Mitchell 93aa462d4e pt.c (convert_nontype_argument): Don't create things that aren't PTRMEM_CSTs when...
* pt.c (convert_nontype_argument): Don't create things that aren't
	PTRMEM_CSTs when applying a qualification conversion to a
	PTRMEM_CST.

From-SVN: r25929
1999-03-23 16:13:44 +00:00
Jason Merrill 6599009997 restore
From-SVN: r25928
1999-03-23 06:59:23 -05:00
Per Bothner 79c3b046ff tree.c (first_rtl_op, [...]): Handle GOTO_SUBROUTINE_EXPR.
�
	* tree.c (first_rtl_op, has_cleanups):  Handle GOTO_SUBROUTINE_EXPR.

From-SVN: r25927
1999-03-23 03:20:50 -08:00
Per Bothner 8dd858ca3d tree.c (first_rtl_op, [...]): Handle GOTO_SUBROUTINE_EXPR.
h
	* tree.c (first_rtl_op, has_cleanups):  Handle GOTO_SUBROUTINE_EXPR.

From-SVN: r25926
1999-03-23 03:20:47 -08:00
Alexandre Petit-Bianco de0b553f86 parse.y (find_applicable_accessible_methods_list): When dealing with interface...
Tue Mar 23 10:48:24 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* parse.y (find_applicable_accessible_methods_list): When dealing
 	with interface: ensure that a given interface or java.lang.Object
 	are searched only once.

From-SVN: r25925
1999-03-23 03:20:03 -08:00
Nick Clifton bdeb987972 Add doc strings for SUBTARGET_SWITCHES
From-SVN: r25924
1999-03-23 09:02:07 +00:00
Mark Mitchell eb30a37534 Remove conflict marker.
From-SVN: r25923
1999-03-23 08:38:04 +00:00