Commit Graph

35191 Commits

Author SHA1 Message Date
Mark Mitchell
4da5f005d4 defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): New macro.
* defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): New
	macro.
	* tm.texi (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER):
	Document it.
	* toplev.c (main): If the target does not allow profiling without
	a frame pointer, issue an error message.
	* config/i386/linux.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER):
	Define it to false.

From-SVN: r42312
2001-05-19 17:56:48 +00:00
Richard Kenner
e86f9f3267 recog.c (general_operand): Modify last change to allow it if reload has completed.
* recog.c (general_operand): Modify last change to allow it if reload
	has completed.

From-SVN: r42309
2001-05-19 07:51:32 -04:00
Jan Hubicka
30cf266f94 recog.c (general_operand): Prohibit nonzero subreg bytes on subregs containing mem.
* recog.c (general_operand): Prohibit nonzero subreg bytes on
	subregs containing mem.

From-SVN: r42308
2001-05-19 08:24:50 +00:00
GCC Administrator
4ab7a7db6f Daily bump.
From-SVN: r42306
2001-05-19 07:16:09 +00:00
Denis Chertykov
65599eb413 regrename.c (regrename_optimize): frame pointer register can use a few hardregs.
* regrename.c (regrename_optimize): frame pointer register can
	use a few hardregs.

From-SVN: r42305
2001-05-19 09:59:52 +04:00
Alexandre Petit-Bianco
ec54a908e5 posix-threads.h (_Jv_CondInit): 0' used in place of NULL.'
2001-05-18  Alexandre Petit-Bianco  <apbianco@redhat.com>

        * include/posix-threads.h (_Jv_CondInit): `0' used in place of `NULL.'
        (_Jv_MutexInit): Likewise.

(http://gcc.gnu.org/ml/java-patches/2001-q2/msg00245.html )

From-SVN: r42303
2001-05-18 22:43:00 -07:00
Benjamin Kosnik
9e0e191b0f configure.in (libstdcxx_flags): Remove reference to libstdc++.INC.
2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>

	* configure.in (libstdcxx_flags): Remove reference to libstdc++.INC.

From-SVN: r42299
2001-05-19 03:44:03 +00:00
Benjamin Kosnik
662d942545 README: Add notes.
2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/README: Add notes.

	* src/Makefile.am (libstdc++.INC): Remove.
	* src/Makefile.in: Regenerate.

	Phil Edwards <pedwards@disaster.jaj.com>
	* mkcheck.in: Add missing '#'.

From-SVN: r42298
2001-05-19 03:42:53 +00:00
Diego Novillo
f99df08ea8 decl2.c (finish_objects): Use the original SYMBOL_REF from the function declaration to avoid stripping...
2001-05-18  Diego Novillo  <dnovillo@redhat.com>

	* decl2.c (finish_objects): Use the original SYMBOL_REF from the
	function declaration to avoid stripping the symbol's attributes.

From-SVN: r42297
2001-05-18 23:05:15 -04:00
Jason Merrill
897979760b add emacs magic comment
From-SVN: r42294
2001-05-18 19:37:25 -04:00
Jason Merrill
ab1f084cdf fix
From-SVN: r42292
2001-05-18 19:32:45 -04:00
Jason Merrill
3804fe2e1b * README.DWARF: Move into dwarfout.c.
From-SVN: r42290
2001-05-18 18:39:38 -04:00
Stan Shebs
10d6cbb812 * gcc.c-torture/compile/20010518-1.c: New test.
From-SVN: r42289
2001-05-18 22:33:26 +00:00
Dale Johannesen
46fad5b721 rs6000.c (secondary_reload_class): Fix Darwin specific misuse of r0 as a reload address.
2001-05-18  Dale Johannesen  <dalej@apple.com>

        * config/rs6000/rs6000.c (secondary_reload_class): Fix Darwin
        specific misuse of r0 as a reload address.

From-SVN: r42287
2001-05-18 22:01:54 +00:00
Jan Hubicka
eb47ec1b69 combine.c (combine_simplify_rtx): Clear op0_mode if simplification suceeded.
* combine.c (combine_simplify_rtx): Clear op0_mode if simplification
	suceeded.

From-SVN: r42286
2001-05-18 21:04:56 +00:00
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