Commit Graph

46580 Commits

Author SHA1 Message Date
Doug Evans
9d3030465c m32r.c (addr24_operand): Fix arg to CONSTANT_POOL_ADDRESS_P and LIT_NAME_P.
* m32r/m32r.c (addr24_operand): Fix arg to CONSTANT_POOL_ADDRESS_P
	and LIT_NAME_P.
	(move_src_operand): Remove compile-time warning.
	* m32r/m32r.h (ROUND_ADVANCE_ARG): Ditto.

From-SVN: r60262
2002-12-18 19:23:58 +00:00
Nathanael Nerode
79308c5dbb Makefile.tpl: Don't let real targets depend on phony targets.
* Makefile.tpl: Don't let real targets depend on phony targets.
	* Makefile.in: Regenerate.

From-SVN: r60261
2002-12-18 18:34:22 +00:00
Jason Merrill
a597750cf1 re PR c++/8674 (ICE in cp_expr_size, at cp/cp-lang.c:307)
PR c++/8674
        * call.c (build_over_call): Check specifically for TARGET_EXPR
        when eliding.

From-SVN: r60260
2002-12-18 11:43:20 -05:00
Jason Merrill
328c4f55b9 re PR c++/6255 (ICE with templatess)
PR c++/6255
        * decl.c (lookup_name_real): Build a new TYPENAME_TYPE rather than
        modifying the old one.

From-SVN: r60259
2002-12-18 11:42:23 -05:00
Jason Merrill
914fc8d6ca new test
From-SVN: r60258
2002-12-18 11:41:11 -05:00
Jason Merrill
235678dcec date_.c (G77_date_y2kbuggy_0): Declare G77_abort_0 noreturn.
* libU77/date_.c (G77_date_y2kbuggy_0): Declare G77_abort_0 noreturn.
        * libU77/vxtidate_.c (G77_vxtidate_y2kbuggy_0): Likewise.

From-SVN: r60256
2002-12-18 11:37:14 -05:00
Jason Merrill
fc88355291 vterminate.cc (__verbose_terminate_handler): Send diagnostics to stderr.
* src/vterminate.cc (__verbose_terminate_handler): Send
        diagnostics to stderr.

From-SVN: r60254
2002-12-18 11:31:35 -05:00
Jason Merrill
80d83b160f unwind-dw2-fde.c (frame_downheap): Split out from...
* unwind-dw2-fde.c (frame_downheap): Split out from...
        (frame_heapsort): Here.

From-SVN: r60253
2002-12-18 11:27:56 -05:00
Nick Clifton
a15791b0c9 Only invoke testsuite_flags if the libstdc++-v3 directory has been found.
From-SVN: r60252
2002-12-18 15:50:40 +00:00
Gabriel Dos Reis
e220f0a455 cp-tree.h (struct tree_srcloc): Use location_t.
* cp-tree.h (struct tree_srcloc): Use location_t.
        (SOURCE_LOCUS): New.
        (SRCLOC_FILE, SRCLOC_LINE): Adjust.

From-SVN: r60247
2002-12-18 13:07:42 +00:00
GCC Administrator
7552fc4305 Daily bump.
From-SVN: r60244
2002-12-18 08:17:54 +00:00
Jason Merrill
9ec227134b tree.c (make_node): Don't set TREE_TYPE on 's' class nodes.
* tree.c (make_node): Don't set TREE_TYPE on 's' class nodes.
        (build1): Always set TREE_SIDE_EFFECTS on 's' class nodes.

From-SVN: r60237
2002-12-18 01:36:51 -05:00
Jason Merrill
efc7052de7 decl.c (finish_function): Also complain about no return in templates.
* decl.c (finish_function): Also complain about no return in
        templates.
        * semantics.c (finish_return_stmt): Also call check_return_expr in
        templates.
        * typeck.c (check_return_expr): In a template, just remember that we
        saw a return.

From-SVN: r60236
2002-12-18 01:26:58 -05:00
Jason Merrill
a3a0177e77 * gcc.c (do_spec_1) ['W']: End any pending argument from the braces.
From-SVN: r60235
2002-12-18 01:07:26 -05:00
Jason Merrill
f32ac70dae calls.c (expand_call): Don't try to be clever about expanding the return slot address.
* calls.c (expand_call): Don't try to be clever about expanding
        the return slot address.

From-SVN: r60234
2002-12-18 00:57:43 -05:00
Nathanael Nerode
212f6dd0fe Makefile.tpl (do-info): Depend on maybe-all-texinfo, not all-texinfo.
2002-12-18  Nathanael Nerode  <neroden@gcc.gnu.org>

	* Makefile.tpl (do-info): Depend on maybe-all-texinfo, not all-texinfo.
	* Makefile.in: Regenerate.

From-SVN: r60233
2002-12-18 05:28:41 +00:00
Kaz Kojima
d5db5b9790 linux.h (NO_IMPLICIT_EXTERN_C, [...]): Define.
* config/sh/linux.h (NO_IMPLICIT_EXTERN_C, CPLUSPLUS_CPP_SPEC):
	Define.

From-SVN: r60231
2002-12-18 02:26:03 +00:00
Ulrich Weigand
b1f70d9d15 configure.in: Define with_target_subdir and with_build_subdir variables in config-ml.in...
* configure.in: Define with_target_subdir and with_build_subdir
	variables in config-ml.in AC_OUTPUT call.
	* configure: Regenerate.

From-SVN: r60230
2002-12-18 01:18:58 +00:00
Jason Merrill
89ea02fbac calls.c (expand_call): Handle CALL_EXPR_HAS_RETURN_SLOT_ADDR with special struct-return ABIs.
* calls.c (expand_call): Handle CALL_EXPR_HAS_RETURN_SLOT_ADDR
        with special struct-return ABIs.

cp/
        * semantics.c (simplify_aggr_init_exprs_r): Don't change the type
        of the CALL_EXPR.

From-SVN: r60223
2002-12-17 16:29:29 -05:00
Jason Merrill
e489a31f89 * genmultilib: Use 'cd ./foo'.
From-SVN: r60222
2002-12-17 16:17:35 -05:00
Kazu Hirata
5b8f02c6b1 * doc/c-tree.texi: Restore deliberate spelling mistakes.
From-SVN: r60219
2002-12-17 19:59:45 +00:00
Kazu Hirata
c0478a660f c-tree.texi: Fix typos and follow spelling conventions.
* doc/c-tree.texi: Fix typos and follow spelling conventions.
	* doc/cpp.texi: Likewise.
	* doc/extend.texi: Likewise.
	* doc/gty.texi: Likewise.
	* doc/install.texi: Likewise.
	* doc/invoke.texi: Likewise.
	* doc/md.texi: Likewise.
	* doc/passes.texi: Likewise.
	* doc/rtl.texi: Likewise.
	* doc/sourcebuild.texi: Likewise.
	* doc/tm.texi: Likewise.

From-SVN: r60213
2002-12-17 16:47:45 +00:00
Jerry Quinn
3364c33bf7 * doc/invoke.texi: Minor spelling and grammar fixes.
From-SVN: r60212
2002-12-17 14:38:59 +00:00
Ulrich Weigand
d65f135a99 s390.c (s390_output_constant_pool): Replace ASM_OUTPUT_INTERNAL_LABEL by (*targetm.asm_out.internal_label).
* config/s390/s390.c (s390_output_constant_pool): Replace
	ASM_OUTPUT_INTERNAL_LABEL by (*targetm.asm_out.internal_label).

From-SVN: r60208
2002-12-17 12:38:58 +00:00
Svein E. Seldal
ab17919f95 config.sub: Import from master repository
* config.sub: Import from master repository
	* config.guess: Ditto

From-SVN: r60207
2002-12-17 10:01:10 +00:00
Jan Hubicka
4b20744484 convert.c (convert_to_real): Disable function transformation for now.
* convert.c (convert_to_real): Disable function transformation for
	now.

From-SVN: r60206
2002-12-17 08:50:41 +00:00
GCC Administrator
3ac036b50b Daily bump.
From-SVN: r60205
2002-12-17 08:17:34 +00:00
Geoffrey Keating
cde26509ba * gcc.c (handle_braces): Allow '@' as a switch name.
From-SVN: r60198
2002-12-17 07:49:32 +00:00
Jason Merrill
9f17520894 c-semantics.c (add_scope_stmt): Abort if the end SCOPE_STMT doesn't match the begin SCOPE_STMT in partialness.
* c-semantics.c (add_scope_stmt): Abort if the end SCOPE_STMT
        doesn't match the begin SCOPE_STMT in partialness.

cp/
        * semantics.c (do_pushlevel): Call pushlevel after adding the
        SCOPE_STMT.
        (do_poplevel): Call poplevel before adding the SCOPE_STMT.
        * parse.y (function_body): Go back to using compstmt.
        * decl.c (pushdecl): Skip another level to get to the parms level.

        * call.c (build_new_method_call): Use is_dummy_object to determine
        whether or not to evaluate the object parameter to a static member
        function.

From-SVN: r60196
2002-12-17 01:24:02 -05:00
Geoffrey Keating
c79d892f64 * genmultilib: Create temporary files in unique subdirectory.
From-SVN: r60195
2002-12-17 05:23:07 +00:00
Geoffrey Keating
7a975113a8 * gcc.c (validate_switches): Allow '@' as a switch name.
From-SVN: r60194
2002-12-17 05:18:51 +00:00
Jason Merrill
5ecf91d13a Makefile.tpl (all-gcc): Use 'make quickstrap' if there was a previous 'make bootstrap'.
* Makefile.tpl (all-gcc): Use 'make quickstrap' if there was a
        previous 'make bootstrap'.
        * Makefile.in: Regenerate.

From-SVN: r60193
2002-12-17 00:10:23 -05:00
Hans-Peter Nilsson
d8437e1bb6 * configure.in (noconfigdirs) [mmix-*-*]: Disable libgloss and gdb.
From-SVN: r60192
2002-12-17 04:32:25 +00:00
Christopher Faylor
c91b0d2323 * mh-cygwin: Don't build libtermcap if it doesn't exist.
From-SVN: r60191
2002-12-17 02:58:05 +00:00
Loren J. Rittle
8483c7e022 * Makefile.in (gcov-iov.h): Improve portability.
From-SVN: r60190
2002-12-17 02:02:48 +00:00
Jan Hubicka
9ee7999f33 mips.h (ASM_OUTPUT_ADDR_DIFF_ELT): Do not use qpword on API_N32/not gas
* mips.h (ASM_OUTPUT_ADDR_DIFF_ELT): Do not use qpword on API_N32/not
	gas
	* mips.md (tablejump insn): Likewise.

From-SVN: r60188
2002-12-16 22:45:41 +00:00
Mark Mitchell
682aea8720 * root.texi: Change version number to 3.4.
From-SVN: r60185
2002-12-16 22:18:33 +00:00
Mark Mitchell
7a04c51ba3 gcc-common.texi: Change version number to 3.4.
* doc/include/gcc-common.texi: Change version number to 3.4.

	* gcj.texi: Change version number to 3.4.

	* root.texi: Change version number to 3.4.

From-SVN: r60183
2002-12-16 21:59:43 +00:00
Jason Merrill
ed698fc59d add PR reference
From-SVN: r60182
2002-12-16 15:52:22 -05:00
Paolo Carlini
77bd447bb4 re PR libstdc++/8949 (numeric_limits<>::denorm_min() and is_iec559 problems.)
2002-12-16  Paolo Carlini  <pcarlini@unitus.it>

	PR libstdc++/8949
	* include/std/std_limits.h
	(struct numeric_limits<short>,
	struct numeric_limits<unsigned short>,
	struct numeric_limits<int>,
	struct numeric_limits<unsigned int>,
	struct numeric_limits<long>,
	struct numeric_limits<unsigned long>,
	struct numeric_limits<long long>,
	struct numeric_limits<unsigned long long>): According
	to 18.2.1.2,53 and 18.2.1.5,1 is_iec559 shall be false.
	* testsuite/18_support/numeric_limits.cc: Add test04.

From-SVN: r60181
2002-12-16 19:52:37 +00:00
Bruce Korb
165bfb59b2 oops.
From-SVN: r60178
2002-12-16 19:02:09 +00:00
Benjamin Kosnik
6aa43d99a3 configure.in (GLIBCPP_ENABLE_DEBUG): Default to none.
2002-12-16  Benjamin Kosnik  <bkoz@redhat.com>

        * configure.in (GLIBCPP_ENABLE_DEBUG): Default to none.
	Call GLIBCPP_ENABLE_DEBUG_FLAGS.
        * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): GLIBCPP_BUILD_DEBUG, new
        conditional if --enable-debug is yes. Rework.
	(GLIBCPP_ENABLE_DEBUG_FLAGS): New.
        * aclocal.m4: Regenerate.
	* libio/Makefile.am: Remove DEBUG_FLAGS.
	* libio/Makefile.in: Regenerate.
	* libsupc++/Makefile.am: Remove DEBUG_FLAGS.
	* libsupc++/Makefile.in: Regenerate.
	* docs/html/configopts.html: Add docs for --enable-debug,
	--enable-debug-flags.

2002-12-16  Benjamin Kosnik  <bkoz@redhat.com>

	Correct dependency tracking, build warts.
	* configure.in: Correct repeated AC_OUTPUT thrashing by
	config-ml.in
	* configure: Regenerate.
	* include/Makefile.am (stamp-target): Stamp in top_builddir.
	* include/Makefile.in: Regenerate.
	* src/Makefile.am (codecvt_members.cc): New rule.
	(collate_members.cc): Same.
	(ctype_members.cc): Same.
	(messages_members.cc): Same.
	(monetary_members.cc): Same.
	(numeric_members.cc): Same.
	(time_members.cc): Same.
	(c++locale.cc): Same.
	(basic_file.cc): Same.
	* src/Makefile.in: Regenerate.
	* acinclude.m4 (CCTYPE_CHAR_CC): Remove.
	(CCCODECVT_CC): Don't link, AC_SUBST.
	(CCOLLATE_CC): Same.
	(CCTYPE_CC): Same.
	(CMESSAGES_CC): Same.
	(CMONEY_CC): Same.
	(CNUMERIC_CC): Same.
	(CTIME_CC): Same.
	(CLOCALE_CC): Same.
	* aclocal.m4: Regenerate.

	* src/Makefile.am (libstdc___la_LIBADD): Use top_builddir
	for convenience libraries.
	(version_arg): Rename linker.map to libstdc++.ver.
	(libstdc___la_DEPENDENCIES): Remove linker.map, add
	libstdc++-symbol.ver as a dependency.
	(libstdc++-symbol.ver): Add rule.
	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Change LINKER_MAP to
	SYMVER_MAP. Don't link, AC_SUBST.

	* include/Makefile.am (target_headers_noinst): New.
	(stamp-target): Add CLOCALE_INTERNAL_H.
	* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't link
	CLOCALE_INTERNAL_H, AC_SUBST.
	* config/locale/gnu/c_locale.cc: Modify c++locale_internal.h
	include.
	* config/locale/gnu/time_members.cc: Same.
	* config/locale/gnu/numeric_members.cc: Same.
	* config/locale/gnu/monetary_members.cc: Same.
	* config/locale/gnu/messages_members.cc: Same.
	* config/locale/gnu/ctype_members.cc: Same.
	* config/locale/gnu/collate_members.cc: Same.
	* config/locale/gnu/codecvt_members.cc: Same.
	* config/locale/generic/codecvt_members.cc: Remove.

From-SVN: r60177
2002-12-16 19:02:01 +00:00
Bruce Korb
27eaa70873 move inclusion of signal.h
From-SVN: r60176
2002-12-16 18:58:42 +00:00
Zack Weinberg
4977bab6ed Merge basic-improvements-branch to trunk
From-SVN: r60174
2002-12-16 18:23:00 +00:00
J"orn Rennecke
b51dc04500 sh.h (EXTRA_CONSTRAINT_Z): New macro.
* sh.h (EXTRA_CONSTRAINT_Z): New macro.
	(EXTRA_CONSTRAINT): Use it.
	* sh.md (anddi3): Use 'Z' constraint for alternative 2.

From-SVN: r60173
2002-12-16 17:21:50 +00:00
GCC Administrator
c82fec369b Daily bump.
From-SVN: r60172
2002-12-16 08:17:31 +00:00
Doug Evans
5d178a595a fix my email address
From-SVN: r60165
2002-12-16 08:16:06 +00:00
Geert Bosch
d2f97d3eb5 * sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting
From-SVN: r60159
2002-12-15 18:32:01 +01:00
Geert Bosch
93a81b023f re PR ada/5690 (renaming subprograms and default_expression)
* sem_ch6.adb (Analyze_Subprogram_Body): Recognize additional
        case of a body created for a Renaming_As_Body, on which
        conformance checks are not performed. Fixes PR ada/5690.

From-SVN: r60158
2002-12-15 17:18:20 +01:00
Richard Sandiford
595416a87f Revert last commit due to freeze.
From-SVN: r60157
2002-12-15 12:05:34 +00:00