Commit Graph

35226 Commits

Author SHA1 Message Date
Richard Kenner
070ef6f4c4 genrecog.c (enum decision_type): Add DT_elt_zero-wide_safe.
* genrecog.c (enum decision_type): Add DT_elt_zero-wide_safe.
	(add_to_sequence): Make that decision type.
	(maybe_both_true_2, nodes_identical_1, factor_tests): Use it.
	(write_switch, write_cond, debug_decision_2): Likewise.

From-SVN: r42285
2001-05-18 16:53:55 -04:00
Richard Kenner
8d81254bc0 Merge in proper ChangeLog
From-SVN: r42284
2001-05-18 16:48:28 -04:00
Richard Kenner
3342b6fdab /tmp/pl
From-SVN: r42283
2001-05-18 16:43:43 -04:00
Tom Tromey
63f36be6e7 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (awt_java_source_files): Added Polygon.java.

From-SVN: r42276
2001-05-18 19:22:05 +00:00
Stan Shebs
41948db560 configure.in (gcc_cv_as_eh_frame): Cope with old assemblers.
* configure.in (gcc_cv_as_eh_frame): Cope with old assemblers.
        * configure: Regenerate.

From-SVN: r42274
2001-05-18 19:14:19 +00:00
Angela Marie Thomas
28e8acb68f libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags appropriately for remote testing and testing installed files without...
2001-05-18  Angela Marie Thomas <angela@cygnus.com>

        * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
        appropriately for remote testing and testing installed files without
        a build dir.

From-SVN: r42272
2001-05-18 18:55:44 +00:00
Per Bothner
9d28960448 jvspec.c (lang_specific_pre_link): Re-arrange the linker command line so the jvgenmain-generated main program...
* jvspec.c (lang_specific_pre_link):  Re-arrange the linker
        command line so the jvgenmain-generated main program comes first.

From-SVN: r42270
2001-05-18 11:34:51 -07:00
Per Bothner
3a5a9edc34 Changes needed for java/jvspec.c
Changes needed for java/jvspec.c
        * gcc.h (n_infiles, outfiles):  Add declarations.
        * gcc.c (n_infiles, outfiles):  Mske no longer static.

From-SVN: r42269
2001-05-18 11:30:40 -07:00
Jeffrey A Law
c19814b607 * config/pa/som.h (EXCEPTION_SECTION): Define.
From-SVN: r42268
2001-05-18 10:12:34 -06:00
Daniel Berlin
63e4656873 dwarf2out.c: Add dw_loc_list_ref, a reference to a location list.
2001-05-18  Daniel Berlin  <dan@cgsoftware.com>

	* dwarf2out.c: Add dw_loc_list_ref, a reference to a location
	list.
	Add have_location_lists, a variable to determine whether we need a
	.debug_loc section or not.
	(enum dw_val_class): Add dw_val_class_loc_list.
	(dw_val_struct): Add val_loc_list.
	(dw_loc_list_struct): New structure, represents location lists.
	(new_loc_list): New function, return a new location list, given
	the range and location expression.
	(add_loc_descr_to_loc_list): New function, add a location
	expression to a location list, given the expression and range.
	(output_loc_list): New function, output a location list.
	(gen_internal_sym): Modified to take symbol prefix, so we can
	reuse it for location list symbols.
	(add_AT_loc_list): New function, add a location list to a DIE at
	the named attribute.
	(AT_loc_list): New function, return the location list reference
	for a given attribute, if it's a location list.
	(print_die): Handle dw_val_class_loc_list.
	(size_of_die): Ditto.
	(value_format): Ditto.
	(output_die): Ditto.
	(output_location_lists): New function, output all of the location
	lists for a DIE and it's children.
	(dwarf2out_finish): Call output_location_lists if we have location
	lists.

From-SVN: r42266
2001-05-18 15:39:11 +00:00
Nathan Sidwell
2b0cbc5d55 re PR c++/2526 (internal compiler error (version 2.95.3 and 3.0))
cp:
	PR c++/2526
	* decl.c (pushdecl): Adjust error string.
	(xref_tag): Adjust friend class injection warning. Remove the
	inherited name from the class shadowed scope.
testsuite:
	* g++.old-deja/g++.pt/inherit2.C: Remove XFAIL.
	* g++.old-deja/g++.pt/crash67.C: New test.

From-SVN: r42265
2001-05-18 15:00:29 +00:00
Jan Hubicka
9e71c818a1 gcse.c (try_replace_reg): First try global replace, later try to simplify the expression.
* gcse.c (try_replace_reg): First try global replace, later try to
	simplify the expression.

	* gcse.c (find_used_regs): Change calling convention; work via
	note_uses.
	(cprop_insn): Update call of find_used_regs; work for CALL_INSNs too.

From-SVN: r42264
2001-05-18 13:43:27 +00:00
Bernd Schmidt
24cdff3459 Revert an incorrect change
From-SVN: r42262
2001-05-18 12:45:03 +00:00
Andreas Jaeger
5a2c9d7035 Makefile.in (stamp-h): Only create config.h, touch stamp-h.
* libI77/Makefile.in (stamp-h): Only create config.h, touch stamp-h.
	(${srcdir}/config.h.in): Add true rule.

	* libI77/stamp-h.in: Added.

From-SVN: r42258
2001-05-18 09:45:56 +02:00
Andreas Jaeger
f3e16a470f * gcc_update: Add rules for libf2c/libI77.
From-SVN: r42257
2001-05-18 09:44:34 +02:00
Mark Mitchell
db3c03158c function.c (expand_function_start): Avoid creating BLKmode pseudos.
* function.c (expand_function_start): Avoid creating BLKmode
	pseudos.

	* dwarf2out.c (output_comp_unit): Always output a compilation-unit
	DIE, even if it has no children.
	(dwarf2out_finish): Always output the line-number table, even if
	it has no content.

From-SVN: r42254
2001-05-18 07:25:50 +00:00
Benjamin Kosnik
52a5725062 acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir amd glibcpp_prefixdir with absolute paths.
2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>

	* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
	amd glibcpp_prefixdir with absolute paths.

	* include/bits/c++config (__GLIBCPP__): Bump.
	* acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.

From-SVN: r42253
2001-05-18 07:24:24 +00:00
GCC Administrator
132887fd28 Daily bump.
From-SVN: r42251
2001-05-18 07:16:19 +00:00
Bryce McKinlay
ca1906ff9a [multiple changes]
2001-05-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>

	* include/jvm.h: Move "#pragma GCC java_exceptions" to ...
	* gcj/javaprims.h: ... here.
	* gnu/gcj/io/shs.cc: Add "#pragma GCC java_exceptions".

2001-05-17  Martin Kahlert  <martin.kahlert@infineon.com>

	* java/lang/natClass.cc (_Jv_FindIIndex): Fix an off by one error
	with length of ioffset table.
	(_Jv_IsAssignableFrom): Likewise.

From-SVN: r42248
2001-05-18 07:29:11 +01:00
David Edelsohn
6fd72f814a * rs6000.md (movsfcc,movdfcc): Remove NE case.
From-SVN: r42247
2001-05-18 01:55:52 -04:00
Gabriel Dos Reis
a60d96b1df Oops, forgot the ChangeLog entry.
From-SVN: r42246
2001-05-18 05:49:20 +00:00
Gabriel Dos Reis
5c542b4a19 std_valarray.h (valarray<>::operator[] const): Return a const reference.
* include/bits/std_valarray.h (valarray<>::operator[] const):
        Return a const reference.
        * testsuite/26_numerics/valarray_const_bracket.cc: New test.

From-SVN: r42245
2001-05-18 05:47:46 +00:00
Alexandre Oliva
a75b7b0bd7 configure.target (ATOMICITYH): Actually use AIX-specific code on earlier versions of AIX 4.*.
* configure.target (ATOMICITYH): Actually use AIX-specific code on
earlier versions of AIX 4.*.

From-SVN: r42244
2001-05-18 05:46:30 +00:00
Angela Marie Thomas
256e7e85b0 libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set output_file based on the name of the testcase.
2001-05-18  Angela Marie Thomas <angela@cygnus.com>

        * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test):  Set
        output_file based on the name of the testcase.

2001-05-18  Angela Marie Thomas <angela@cygnus.com>

        * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):  Build
        gluefile and use it if needs_status_wrapper is set.

From-SVN: r42240
2001-05-18 05:37:43 +00:00
Alexandre Oliva
9c233cb328 configure.target (ATOMICITYH): Use cpu/generic code on earlier versions of AIX.
* configure.target (ATOMICITYH): Use cpu/generic code on earlier
versions of AIX.

From-SVN: r42237
2001-05-18 04:50:27 +00:00
Bruce Korb
dac3286202 regeneration based on new engine
From-SVN: r42236
2001-05-18 03:13:20 +00:00
Bruce Korb
98c197fe39 Upgrade to AutoGen 5 Template
From-SVN: r42235
2001-05-18 02:54:25 +00:00
Brendan Conoboy
b3eddceefe accept local directory for fixincl in fixincl.sh script
Co-Authored-By: Bruce Korb <bkorb@gnu.org>

From-SVN: r42234
2001-05-18 02:02:37 +00:00
Jeffrey Oldham
02db7776c7 dbxout.c (dbxout_symbol_location): For CONCAT, skip types not COMPLEX_TYPE.
2001-05-17  Jeffrey Oldham  <oldham@codesourcery.com>

	* dbxout.c (dbxout_symbol_location): For CONCAT, skip types not
	COMPLEX_TYPE.

From-SVN: r42231
2001-05-17 22:57:36 +00:00
Alexandre Oliva
e8dc2763f1 * gcc_update (touch_files): Use simpler, yet as portable, syntax.
From-SVN: r42229
2001-05-17 22:48:41 +00:00
Mark Kettenis
3d2999ba09 * dwarf2out.c (modified_type_die): Equate qualified type to die.
From-SVN: r42227
2001-05-17 22:43:07 +00:00
Alexandre Oliva
754ad41da6 configure.target (ATOMICITYH): Don't use AIX 4.3-specific code on earlier versions of AIX.
* configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
on earlier versions of AIX.

From-SVN: r42225
2001-05-17 22:38:13 +00:00
Jan Hubicka
e5c56fd9bf integrate.c (copy_rtx_and_substitute): Use simplify_gen_subreg.
* integrate.c (copy_rtx_and_substitute): Use simplify_gen_subreg.
	(simplify_subreg): Handle complex types represented as CONCAT.

	* recog.c (validate_replace_rtx_1): Properly canonicalize expression
	* rtl.h (swap_commutative_operands_p): Declare.
	* rtlanal.c (swap_commutative_operands_p): New.
	(operand_preference): New static function.

	* combine.c (combine_simplify_rtx): Use swap_commutative_operands_p.
	(gen_binary): Likewise.
	* optabs.c (emit_cmp_and_jump_insns, emit_conditional_move): Likewise.
	* simplify-rtx.c (simplify_gen_binary,
	simplify_gen_relational): Likewise.

From-SVN: r42224
2001-05-17 21:21:21 +00:00
Jan Hubicka
949c5d6257 cse.c (fold_rtx): Use simplify_subreg.
* cse.c (fold_rtx): Use simplify_subreg.

	* simplify-rtx.c (simplify_replace_rtx): Use simplify_gen_subreg.
	(simplify_gen_subreg): New.
	(simplify_rtx): Use simplify_subreg.
	* rtl.h (simplify_gen_subreg): Declare.

From-SVN: r42221
2001-05-17 18:46:58 +00:00
Mark Mitchell
e221a0a8fb * doc/install.texi: Update Solaris information.
From-SVN: r42219
2001-05-17 18:14:47 +00:00
Mark Mitchell
e6855a2d29 except.h (protect_cleanup_actions): Remove it.
* except.h (protect_cleanup_actions): Remove it.
	(lang_protect_cleanup_actions): Declare it.
	* except.c (protect_cleanup_actions): Remove it.
	(lang_protect_cleanup_actions): New variable.
	(init_eh): Don't make protect_cleanup_actions a GC root.
	(expand_eh_region_and_cleanup): Call
	lang_protect_cleanup_actions.
	(output_function_exception_table): Remove unused `align'
	variable.
	* varasm.c (assemble_external): Abort if we have not yet
	opened the assembly output file.

	* except.c (cp_protect_cleanup_actions): New function.
	(init_exception_processing): Don't set protect_cleanup_actions
	here.  Do set lang_protect_cleanup_actions.

From-SVN: r42218
2001-05-17 18:12:27 +00:00
Jeffrey A Law
8979edec07 except.c (sjlj_emit_function_enter): Call assemble_external_libcall for eh_personality_libfunc.
* except.c (sjlj_emit_function_enter): Call assemble_external_libcall
        for eh_personality_libfunc.

From-SVN: r42216
2001-05-17 11:53:52 -06:00
Jan Hubicka
992550d9a6 recog.c (validate_replace_rtx_1): Use "TO" mode if not VOIDmode when calling simplify_subreg.
* recog.c (validate_replace_rtx_1): Use "TO" mode if not VOIDmode
	when calling simplify_subreg.  This is needed to allow replacing
	of expression of one mode by expression of different mode.

From-SVN: r42214
2001-05-17 17:49:34 +00:00
Jeffrey D. Oldham
20415bba8a debug9.C: New test.
2001-05-17  Jeffrey D. Oldham  <oldham@codesourcery.com>

	* g++.old-deja/g++.other/debug9.C: New test.

From-SVN: r42213
2001-05-17 17:44:55 +00:00
Jan Hubicka
8f7785933c * simplify-rtx.c (simplify_subreg): Avoid creating of incorrect subregs.
From-SVN: r42212
2001-05-17 17:40:48 +00:00
Per Bothner
b2040e7b55 * Makefile.am (ZIP): The "fastjar" binary is now plain "jar".
From-SVN: r42207
2001-05-17 10:04:08 -07:00
Bernd Schmidt
73b7f58c90 Fix queueing related bugs
From-SVN: r42206
2001-05-17 17:02:35 +00:00
Per Bothner
7332066bda * Makefile.am (bin_PROGRAMS): Renamed from "fastjar" to "jar".
From-SVN: r42205
2001-05-17 10:02:03 -07:00
Jan Hubicka
07b5314928 * simplify_rtx.c (simplify_subreg): Fix simplification of nested subregs.
From-SVN: r42202
2001-05-17 16:18:26 +00:00
Gerald Pfeifer
e18748c0e5 * gccbug.in (CATEGORIES): Add "bootstrap".
From-SVN: r42201
2001-05-17 15:19:53 +00:00
Jan Hubicka
eea50aa0ab simplify-rtx.c (simplify_subreg): Break out from ...
* simplify-rtx.c (simplify_subreg): Break out from ...
	* combine.c (combine_splify_rtx) ... here and ...
	* recog.c (validate_replace_rtx_1): ... here;
	* rtl.h (subreg_lowpart_parts_p, simplify_subreg): Declare.
	* emit-rtl.c (subreg_lowpart_parts_p): Break out from ...
	(subreg_lowpart_p): ... here.

From-SVN: r42199
2001-05-17 15:00:35 +00:00
Bernd Schmidt
5d7ef82a5d Correctly count substitutions if eliminations are going on.
From-SVN: r42198
2001-05-17 12:38:47 +00:00
Bernd Schmidt
2e2ed7d22d Fix c/2728
From-SVN: r42195
2001-05-17 11:26:04 +00:00
Gerald Pfeifer
8d2b611685 gcc.texi (gccbug): Refer to the web pages for detailed information on GNATS.
* gcc.texi (gccbug): Refer to the web pages for detailed information
	on GNATS.

From-SVN: r42194
2001-05-17 11:21:53 +00:00
Andreas Jaeger
0314a6ce8b Makefile.in: Add rules to rebuild config.h.in when needed.
* libI77/Makefile.in: Add rules to rebuild config.h.in when
	needed.

From-SVN: r42191
2001-05-17 10:47:10 +02:00