Commit Graph

20617 Commits

Author SHA1 Message Date
Jeffrey A Law
e860aea39d jvspec.c (xmalloc): Kill the prototype.
* jvspec.c (xmalloc): Kill the prototype.  It does not belong
        here anymore.

From-SVN: r25141
1999-02-10 15:28:58 -07:00
Jim Wilson
b5a3eb8445 Fix 64b-x-32b cross compiler breakage. Make alpha-x-m32r work again.
* emit-rtl.c (operand_subword): Sign extend REAL_VALUE_TO_TARGET_SINGLE
	result.
	* final.c (split_double): Sign extend REAL_VALUE_TO_TARGET_DOUBLE
	result.
	* real.c (endian): Delete sign extension code.
	* config/m32r/m32r.md (movsf_insn+1): REAL_VALUE_TO_TARGET_SINGLE call
	replaced with operand_subword call.

From-SVN: r25140
1999-02-10 09:28:24 -08:00
Jonathan Larmour
01dd4564b6 Test gcc features used by ECOS.
* gcc.dg/special/ecos.exp: New test driver for new tests with
	special requirements.
	* gcc.dg/special/alias-1.c: New test.
	* gcc.dg/special/gcsec-1.c: New test.
	* gcc.dg/special/weak-1.c: New test.
	* gcc.dg/special/weak-1a.c: Accompanying file to weak-1.c.
	* gcc.dg/special/weak-2.c: New test.
	* gcc.dg/special/weak-2a.c: Accompanying file to weak-2.c.
	* gcc.dg/special/weak-2b.c: Accompanying file to weak-2.c.
	* gcc.dg/special/wkali-1.c: New test.
	* gcc.dg/special/wkali-2.c: New test.
	* gcc.dg/special/wkali-2a.c: Accompanying file to wkali-2.c.
	* gcc.dg/special/wkali-2b.c: Accompanying file to wkali-2.c.

From-SVN: r25139
1999-02-10 08:00:06 -08:00
Richard Henderson
809afeef87 alpha.md (cmov compound patterns): Delete.
* alpha.md (cmov compound patterns): Delete.  Jump can now
        create the correct constructs in the first place.

From-SVN: r25138
1999-02-10 07:17:20 -08:00
Alexandre Petit-Bianco
fa2bb9fd4e lex.c (yylex): Encode \0 as UTF8.
1999-02-10  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* lex.c (yylex): Encode \0 as UTF8.

From-SVN: r25137
1999-02-10 15:11:25 +00:00
Tom Tromey
00368bdd0f jvspec.c (lang_specific_driver): Use libgcj, not libjava.
* jvspec.c (lang_specific_driver): Use libgcj, not libjava.
	* Makefile.in (jcf-path.o): Define LIBGCJ_ZIP_FILE.
	(libgcj_zip): Renamed.
	* jcf-path.c (add_entry): Use LIBGCJ_ZIP_FILE, not
	LIBJAVA_ZIP_FILE.
	(jcf_path_init): Use LIBGCJ_ZIP_FILE.

From-SVN: r25136
1999-02-10 14:27:53 +00:00
Tom Tromey
0ffe9eeafa jvspec.c (THREAD_NAME): Renamed -lqthreads to -lgcjcoop.
* jvspec.c (THREAD_NAME): Renamed -lqthreads to -lgcjcoop.
	(GC_NAME): Renamed -lgc to -lgcjgc.

From-SVN: r25135
1999-02-10 14:05:24 +00:00
Jeffrey A Law
21375863a0 * mn10200.md (bset, bclr): Operand 0 is a read/write operand.
From-SVN: r25134
1999-02-10 05:37:42 -07:00
Felix Lee
05a596505c Cleanup and bug-fix patch from Felix Lee.
* lib/c-torture.exp (c-torture-compile): Pull out code for
        analyzing gcc error messages.
        (c-torture-execute): Likewise.  Fix some (harmless) false
        positives.
        * lib/gcc.exp (gcc_check_compile): New function.

From-SVN: r25133
1999-02-10 04:26:21 -08:00
Richard Henderson
44e95b192c * configure.in (alphaev6*): Fix typo in target_cpu_default2.
From-SVN: r25132
1999-02-10 03:08:04 -08:00
Mumit Khan
d25346e71f * gen-params (VTABLE_LABEL_PREFIX): Handle windows32.
From-SVN: r25130
1999-02-10 04:04:34 -07:00
Dave Brolley
4d2a3f76f2 mbchar.c (local_mb_cur_max): Handle the case where MB_CUR_MAX is 0.
Wed Feb 10 13:59:18 1999  Dave Brolley  <brolley@cygnus.com>
	* mbchar.c (local_mb_cur_max): Handle the case where MB_CUR_MAX is 0.

From-SVN: r25129
1999-02-10 06:00:12 -05:00
Mark Mitchell
00aeceec1b cp-tree.h (get_template_base): Don't declare.
* cp-tree.h (get_template_base): Don't declare.
	(dfs_walk): Declare.
	(dfs_unmark): Likewise.
	(markedp): Likewise.
	* pt.c (unify): Remove duplicate declaration.  Pass tparms and
	targs to get_template_base.
	(get_template_base_recursive): Move here from search.c.  Check to
	see that the base found can be instantiated to form the desired
	type.
	(get_template_base): Likewise.
	(get_class_bindings): Simplify.
	* search.c (get_template_base_recursive): Move to pt.c.
	(get_template_base): Likewise.
	(markedp): Make it global.
	(dfs_walk): Likewise.
	(dfs_unmark): Likewise.

From-SVN: r25128
1999-02-10 10:46:30 +00:00
Jim Wilson
a3b3fa5eb7 Delete temporary file.
From-SVN: r25127
1999-02-10 02:35:40 -08:00
Mark Mitchell
fcfb9f965e cp-tree.h (get_template_base): Don't declare.
* cp-tree.h (get_template_base): Don't declare.
	(dfs_walk): Declare.
	(dfs_unmark): Likewise.
	(markedp): Likewise.
	* pt.c (unify): Remove duplicate declaration.  Pass tparms and
	targs to get_template_base.
	(get_template_base_recursive): Move here from search.c.  Check to
	see that the base found can be instantiated to form the desired
	type.
	(get_template_base): Likewise.
	(get_class_bindings): Simplify.
	* search.c (get_template_base_recursive): Move to pt.c.
	(get_template_base): Likewise.
	(markedp): Make it global.
	(dfs_walk): Likewise.
	(dfs_unmark): Likewise.

From-SVN: r25126
1999-02-10 10:28:07 +00:00
Mark Mitchell
ef30399b50 rtlanal.c (for_each_rtx): Fix declaration to conform to GNU coding standards.
* rtlanal.c (for_each_rtx): Fix declaration to conform to GNU
	coding standards.

From-SVN: r25125
1999-02-10 09:56:36 +00:00
Jeffrey A Law
f93233bbe9 reload1.c (reload_combine_note_store): Second argument is no longer unused/ignored.
* reload1.c (reload_combine_note_store): Second argument is no
        longer unused/ignored.  Handle multi-register hard regs.
        (move2add_note_store): Simplify.

From-SVN: r25124
1999-02-10 02:13:41 -07:00
Mumit Khan
93ea10ba5b * collect2.c (collect_execute): Remove cygwin-specific code.
From-SVN: r25123
1999-02-10 02:09:22 -07:00
Jeff Law
ff2a6c322f Daily bump.
From-SVN: r25122
1999-02-09 17:45:06 -07:00
Mumit Khan
2b9f972f58 cygwin.h (SUBTARGET_OVERRIDE_OPTIONS): New macro to ignore fpic/fPIC for windows32 targets.
* i386/cygwin.h (SUBTARGET_OVERRIDE_OPTIONS): New macro to ignore
	fpic/fPIC for windows32 targets.
	* i386/xm-cygwin.h (GET_ENV_PATH_LIST): Replace '\\' in windows32
	paths with '/'.
	* i386/mingw32.h (CPP_SPEC): Define.
	(CPP_PREDEFINES): Add MINGW32 version id.
	* i386/crtdll.h (CPP_PREDEFINES): Likewise.

From-SVN: r25121
1999-02-09 16:52:06 -07:00
Mumit Khan
82281fc2c1 configure.in (*-*-cygwin32*): Use config/mh-cygwin instead of the old name config/mh-cygwin32.
x
        * configure.in (*-*-cygwin32*): Use config/mh-cygwin instead of
        the old name config/mh-cygwin32.
        Enable texinfo.

From-SVN: r25120
1999-02-09 14:01:13 -07:00
Mumit Khan
c48dd3f59f configure.in (*-*-cygwin32*): Use config/mh-cygwin instead of the old name config/mh-cygwin32.
�
        * configure.in (*-*-cygwin32*): Use config/mh-cygwin instead of
        the old name config/mh-cygwin32.
        Enable texinfo.

From-SVN: r25119
1999-02-09 14:01:11 -07:00
Mumit Khan
a2d2576329 Makefile.in (collect2$(exeext)): Delete redundant dependency and add missing exeext to target.
* Makefile.in (collect2$(exeext)): Delete redundant dependency and
        add missing exeext to target.

From-SVN: r25118
1999-02-09 13:55:29 -07:00
Nathan Sidwell
38d9d13089 system.h (_, N_): Remove dummy i18n macros.
* system.h (_, N_): Remove dummy i18n macros.
        * protoize.c: Move inclusion of intl.h to after system.h.
        * cexp.y: Include intl.h.
        * cexp.c: Rebuilt.

From-SVN: r25117
1999-02-09 13:30:46 -07:00
Nathan Sidwell
2d54e33a8f Makefile.in (distclean): Move Makefile deletion to end of commands.
* Makefile.in (distclean): Move Makefile deletion to end of
        commands.

From-SVN: r25116
1999-02-09 12:55:01 -07:00
Mumit Khan
87e690e264 * gcc.c (convert_filename): Handle null filename argument.
From-SVN: r25115
1999-02-09 12:48:40 -07:00
Alexandre Petit-Bianco
09ed0f70df lex.c (java_lang_cloneable): Initialize.
Tue Feb  9 19:31:09 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* lex.c (java_lang_cloneable): Initialize.
	* parse.y (java_lang_cloneable): New static variable.
	(qualify_ambiguous_name): Take CONVERT_EXPR into account when
 	doing one more qualification round.
	(valid_ref_assignconv_cast_p): Reject null source or
 	destination. Allow an array to be cast into java.lang.Cloneable.
	(patch_cast): Swapped two first arguments to first call to
 	valid_ref_assignconv_cast_p.

From-SVN: r25114
1999-02-09 11:40:16 -08:00
Michael Hayes
95d62815b5 c4x.md (*movhf_noclobber, [...]): Use m constraint instead of QT.
* config/c4x/c4x.md (*movhf_noclobber, *movhi_noclobber): Use
	m constraint instead of QT.

From-SVN: r25113
1999-02-09 18:50:19 +00:00
Brendan Kehoe
e4d8ad2321 cpplib.c (special_symbol): Move IP to be declared in function scope, rather than individual case statements.
* cpplib.c (special_symbol): Move IP to be declared in function
	scope, rather than individual case statements.
fixes building under solaris

From-SVN: r25112
1999-02-09 10:02:18 -05:00
Zack Weinberg
6458033dde [multiple changes]
1999-02-09 16:42 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
	* cppfiles.c (finclude):  Handle pipes properly under old BSD
          derivatives.
1999-02-09 16:42 -0500  Melissa O'Neill <oneill@cs.sfu.ca>
	* system.h: Provide fallback definitions for S_ISCHR,
          S_ISSOCK, S_ISFIFO, O_NONBLOCK, and O_NOCTTY.

From-SVN: r25111
1999-02-09 13:48:34 +00:00
Dave Brolley
8ec65f13b0 Makefile.in: Change mkstemp -> mkstemps.
Tue Feb  9 16:39:01 1999  Dave Brolley  <brolley@cygnus.com>
	* Makefile.in: Change mkstemp -> mkstemps.

From-SVN: r25110
1999-02-09 08:40:23 -05:00
Zack Weinberg
0961816af0 cpplib.c (do_define): Allow redefining __STDC__ with -D.
1999-02-09 10:30 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
	* cpplib.c (do_define): Allow redefining __STDC__ with -D.

From-SVN: r25109
1999-02-09 07:31:59 +00:00
Jeff Law
5cb8bcbbbf Daily bump.
From-SVN: r25108
1999-02-08 17:45:06 -07:00
Jim Blandy
507ba95664 configure.in: For PowerPC configurations...
1999-02-09  Jim Blandy  <jimb@zwingli.cygnus.com>
        * configure.in: For PowerPC configurations, accept "401", "ec603e",
        "740", and "750" as valid arguments to --with-cpu.
        * configure: Rebuilt.

From-SVN: r25107
1999-02-08 17:23:07 -07:00
Marc Espie
687361c834 Makefile.in (REQUIRED_OFILES): remove mkstemp.o
* Makefile.in (REQUIRED_OFILES): remove mkstemp.o
        * configure.in (funcs): Check for and conditionally add mkstemps to
        the list of functions libiberty will provide.
        * configure: Rebuilt.

From-SVN: r25106
1999-02-08 17:17:32 -07:00
Mark Kettenis
cd9e5e7ce0 configure.in (i[34567]86-*gnu*): Set float_format to i386.
* configure.in (i[34567]86-*gnu*): Set float_format to i386.
        * configure: Rebuilt.

From-SVN: r25104
1999-02-08 16:04:55 -07:00
Richard Henderson
247b14bd49 Clarify inline substitution failure.
From-SVN: r25103
1999-02-08 14:02:13 -08:00
Jeffrey A Law
29ae5b8934 rs6000.md: Revert "alternate use of crs if cr0 not available" patches from 01-22-1999...
* rs6000.md: Revert "alternate use of crs if cr0 not available"
        patches from 01-22-1999, 01-24-1999, 01-26-1999, and 02-08-1999.

From-SVN: r25102
1999-02-08 14:48:45 -07:00
Richard Henderson
20d83a046a * gcc.c-torture/execute/990208-1.c: New test.
From-SVN: r25101
1999-02-08 13:43:39 -08:00
Richard Henderson
acd693d10c output.h (current_function_has_computed_jump): Rename from current_function_addresses_labels.
* output.h (current_function_has_computed_jump): Rename from
        current_function_addresses_labels.
        * function.h (struct function): Likewise for addresses_labels member.
        * rtl.h (FUNCTION_FLAGS_HAS_COMPUTED_JUMP): Likewise.
        * function.c (current_function_has_computed_jump): Likewise.
        Update all references.
        * integrate.c (function_cannot_inline_p):
        Test current_function_has_computed_jump instead of addresses_labels.
        (initialize_for_inline): Likewise save.
        (output_inline_function): Likewise restore.
        * expr.c (expand_expr): Don't reference addresses_labels variables.
        * stmt.c (expand_computed_goto): Set has_computed_jump.

From-SVN: r25100
1999-02-08 13:39:33 -08:00
Michael Meissner
6ffc8580a7 This is being installed only to get it into the repository to help with the revert...
This is being installed only to get it into the repository to help
        with the revert, resubmit & review process for the massive rs6000.md
        changes.
        * rs6000.md (andsi3_internal1 splitter): Don't split if using the
        rlwinm instruction.
        (anddi3_internal1): Ditto.
        (andsi3_internal{2,3}): Correct some insn lengths.
        (anddi3*): Restore missing TARGET_POWERPC64, and don't emit old
        mnemonics.

From-SVN: r25099
1999-02-08 14:37:18 -07:00
Richard Henderson
d6b4453299 loop.c (reg_single_usage): New file-scope variable ...
* loop.c (reg_single_usage): New file-scope variable ...
        (scan_loop): ... moved out of here.  Always initialize.
        Test loop_has_call instead of reg_single_usage not zero.
        Free reg_single_usage after strength reduction.
        (count_loop_regs_set): Assume single_usage non-zero.
        (combine_givs_used_by_other): Test reg_single_usage.
        (load_mems_and_recount_loop_regs_set): Remove reg_single_usage
        as a parameter.  Assume non-zero.

From-SVN: r25098
1999-02-08 13:34:25 -08:00
Zack Weinberg
5dfa4da130 cpplib.c (special_symbol): Rewrite.
1999-02-08 23:25 -0500  Zack Weinberg  <zack@midnite.ec.rhno.columbia.edu>
	* cpplib.c (special_symbol): Rewrite.  Don't copy things
	  multiple times.  Handle __STDC__ specially.  T_CONST
	  indicates a constant /string/.  Don't handle T_*_TYPE and
	  T_SPEC_DEFINED.  Use cpp_buf_line_and_col instead of
	  adjust_position.  Determine the file buffer only if needed.
	  (initialize_builtins): Handle __SIZE_TYPE__,
	  __PTRDIFF_TYPE__, __WCHAR_TYPE__, __USER_LABEL_PREFIX__, and
	  __REGISTER_PREFIX__ with T_CONST special hashtab entries.
	  Don't provide __OBJC__; the driver does that.	 Provide
	  __STDC_VERSION__, using T_CONST.  Use T_STDC for
	  __STDC__.  Give install the length of all symbols defined.
	  (eval_if_expression): Drop code to insert and remove the
	  "defined" special symbol.
	* cpplib.h: Remove SELF_DIR_DUMMY (no longer used).  Remove
	  T_*_TYPE and T_SPEC_DEFINED from enum node_type; add T_STDC.
	* cpphash.c (install): Drop the `ivalue' parameter.  Constify
	  the `value' parameter.  All callers changed.
	* cpphash.h (install): Change prototype to match.
	  (union hashval): Remove `ival' member.
	* cppexp.c (cpp_lex): Handle `defined' here.

From-SVN: r25097
1999-02-08 20:27:27 +00:00
Jeff Law
1c6c21c8a8 pa.h (EXTRA_CONSTRAINT): Fix comment.
* pa.h (EXTRA_CONSTRAINT): Fix comment.

From-SVN: r25096
1999-02-08 09:34:10 -07:00
Jeff Law
49ad900dd1 pa.h (EXTRA_CONSTRAINT): Fix comment.
�
	* pa.h (EXTRA_CONSTRAINT): Fix comment.

From-SVN: r25095
1999-02-08 09:34:07 -07:00
Vladimir Makarov
ebc3c07836 Reset the correct date in Changelog for the previous patch.
From-SVN: r25094
1999-02-08 16:11:55 +00:00
Vladimir N. Makarov
43f7bed538 c-typeck.c (check_init_type_bitfields): Use nonincremental initialization of unions whose first member is a bitfield.
Mon Feb  9 18:57:45 1999  Vladimir N. Makarov  <vmakarov@cygnus.com>
	* c-typeck.c (check_init_type_bitfields): Use nonincremental
	initialization of unions whose first member is a bitfield.
        Remove unnecessary code for checking the declaration mode
        after DECL_C_BIT_FIELD.
	* varasm.c (output_constructor): Additional comment about the
 	constructor of bitfield union initialization.

From-SVN: r25093
1999-02-08 16:00:46 +00:00
Nick Clifton
ef5ae17671 Replace \\n\\t with \\;
From-SVN: r25092
1999-02-08 15:04:12 +00:00
Michael Hayes
e42efef590 c4x.md (*movhi_stik): New pattern.
* config/c4x/c4x.md (*movhi_stik): New pattern.
	(movhi): Allow some immediate constants to be directly
	stored in memory.

From-SVN: r25091
1999-02-08 14:58:08 +00:00
Michael Hayes
b2e9a2fdc8 c4x.md (all call patterns): Add constraints "Ur".
* config/c4x/c4x.md (all call patterns): Add constraints "Ur".
	(call, call_value): Force address into a register if not valid
	for a call instruction.
	(load_immed_address): Emit a USE of the SYMBOL_REF that is
	forced into memory.
	* config/c4x/c4x.c (c4x_print_operand): Fix 'C' and 'U' modifiers.

From-SVN: r25090
1999-02-08 14:50:03 +00:00