gcc.git
21 years agodocumentation.html: Add link for debug.html.
Benjamin Kosnik [Thu, 19 Dec 2002 08:18:14 +0000 (08:18 +0000)]
documentation.html: Add link for debug.html.

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

  * docs/html/documentation.html: Add link for debug.html.
* docs/html/debug.html: New.

From-SVN: r60302

21 years agoDaily bump.
GCC Administrator [Thu, 19 Dec 2002 08:18:11 +0000 (08:18 +0000)]
Daily bump.

From-SVN: r60301

21 years agoomit needless braces
Jason Merrill [Thu, 19 Dec 2002 07:29:28 +0000 (02:29 -0500)]
omit needless braces

From-SVN: r60293

21 years agoBigInteger.java (euclidInv): Make sure quot and rem are in canonical form after divide().
Raif Naffah [Thu, 19 Dec 2002 06:59:46 +0000 (06:59 +0000)]
BigInteger.java (euclidInv): Make sure quot and rem are in canonical form after divide().

2002-12-18  Raif Naffah  <raif@fl.net.au>

* java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
canonical form after divide().
(modInverse): Likewise.

From-SVN: r60292

21 years agore PR libgcj/8945 (StringTokenizer)
Andrew Haley [Thu, 19 Dec 2002 06:43:12 +0000 (06:43 +0000)]
re PR libgcj/8945 (StringTokenizer)

2002-12-18  Andrew Haley  <aph@redhat.com>

* parse.y (patch_invoke): Force evaluation order when `check' is
set.  For PR libgcj/8945.

From-SVN: r60290

21 years agopr8945.java: New file.
Tom Tromey [Thu, 19 Dec 2002 06:40:03 +0000 (06:40 +0000)]
pr8945.java: New file.

* libjava.lang/pr8945.java: New file.
* libjava.lang/pr8945.out: New file.

From-SVN: r60286

21 years agogcc.c (validate_switches): Robustify against skipping past '\0'.
Loren James Rittle [Thu, 19 Dec 2002 05:22:53 +0000 (05:22 +0000)]
gcc.c (validate_switches): Robustify against skipping past '\0'.

2002-12-18  Loren James Rittle  <rittle@labs.mot.com>

* gcc.c (validate_switches): Robustify against skipping past '\0'.

From-SVN: r60283

21 years agoconfig.gcc: Set extra_objs in the generic Darwin rule, not in the machine-specific...
Geoffrey Keating [Thu, 19 Dec 2002 05:19:47 +0000 (05:19 +0000)]
config.gcc: Set extra_objs in the generic Darwin rule, not in the machine-specific rules.

* config.gcc: Set extra_objs in the generic Darwin rule,
not in the machine-specific rules.

From-SVN: r60282

21 years agoChangeLog: Follow spelling conventions.
Kazu Hirata [Thu, 19 Dec 2002 05:18:13 +0000 (05:18 +0000)]
ChangeLog: Follow spelling conventions.

* ChangeLog: Follow spelling conventions.
* ChangeLog.2: Likewise.
* ChangeLog.4: Likewise.
* ChangeLog.5: Likewise.
* cppexp.c: Likewise.
* df.c: Likewise.
* gcov.c: Likewise.
* gengtype.c: Likewise.
* reload1.c: Likewise.
* sched-rgn.c: Likewise.
* stmt.c: Likewise.
* stor-layout.c: Likewise.
* timevar.c: Likewise.
* toplev.c: Likewise.
* tree.h: Likewise.
* varasm.c: Likewise.
* config/fr30/fr30.md: Likewise.
* config/i386/i386.c: Likewise.
* config/ia64/ia64.c: Likewise.
* config/pa/pa.c: Likewise.

From-SVN: r60281

21 years ago* basic-block.h (flow_bb_inside_loop_p): Correct prototype.
Roger Sayle [Thu, 19 Dec 2002 02:59:15 +0000 (02:59 +0000)]
* basic-block.h (flow_bb_inside_loop_p): Correct prototype.

From-SVN: r60279

21 years agoclass.c (build_base_field): Do not set DECL_PACKED on the FIELD_DECL.
Mark Mitchell [Thu, 19 Dec 2002 02:31:50 +0000 (02:31 +0000)]
class.c (build_base_field): Do not set DECL_PACKED on the FIELD_DECL.

* class.c (build_base_field): Do not set DECL_PACKED on the
FIELD_DECL.

From-SVN: r60277

21 years agovector_capacity.cc (test03): Move ...
Kaveh R. Ghazi [Thu, 19 Dec 2002 01:54:59 +0000 (01:54 +0000)]
vector_capacity.cc (test03): Move ...

* testsuite/23_containers/vector_capacity.cc (test03): Move ...
* testsuite/23_containers/vector_resize.cc: ...here as a new file.
Pass in -lmalloc for irix6.
* testsuite/27_io/ios_base_storage.cc: Pass in -lmalloc for irix6.

From-SVN: r60276

21 years agoMakefile.tpl: Add @build_prefix@ before $(BUILD_SUBDIR).
H.J. Lu [Thu, 19 Dec 2002 00:51:33 +0000 (00:51 +0000)]
Makefile.tpl: Add @build_prefix@ before $(BUILD_SUBDIR).

2002-12-18  H.J. Lu <hjl@gnu.org>

* Makefile.tpl: Add @build_prefix@ before $(BUILD_SUBDIR).
* Makefile.in: Regenerated.

* configure.in (build_prefix): New. Substitute.

From-SVN: r60272

21 years agog77.texi: Fix typos.
Kazu Hirata [Thu, 19 Dec 2002 00:27:52 +0000 (00:27 +0000)]
g77.texi: Fix typos.

* g77.texi: Fix typos.
* intdoc.texi: Likewise.
* news.texi: Follow spelling conventions.

From-SVN: r60271

21 years agoaltivec.h (vec_cmplt macro): Reverse arguments in macro.
Aldy Hernandez [Wed, 18 Dec 2002 23:44:18 +0000 (23:44 +0000)]
altivec.h (vec_cmplt macro): Reverse arguments in macro.

2002-12-18  Aldy Hernandez  <aldyh@redhat.com>

* config/rs6000/altivec.h (vec_cmplt macro): Reverse arguments in
macro.
(vec_cmplt C++ functions): Reverse arguments.

From-SVN: r60269

21 years agot-rs6000: Move contents to t-fprules...
Geoffrey Keating [Wed, 18 Dec 2002 22:45:36 +0000 (22:45 +0000)]
t-rs6000: Move contents to t-fprules...

* config/rs6000/t-rs6000: Move contents to t-fprules,
add rules for dependencies of rs6000.o and to build rs6000-c.o
* config/rs6000/t-fprules: New file from t-rs6000.
* config/rs6000/t-beos: Remove soft-fp rules.
* config/rs6000/t-ppccomm: Likewise.
* config/rs6000/t-newas: Likewise.
* config/rs6000/t-rs6000-c-rule: Delete.
* config.gcc: Use t-fprules for rs6000/ ports when appropriate.
Use t-rs6000 for all rs6000/ ports instead of t-rs6000-c-rule.
Create generic Darwin rules.

From-SVN: r60265

21 years ago* gengenrtl.c (gencode): Delete unnecessary rtl_obstack declaration.
Geoffrey Keating [Wed, 18 Dec 2002 22:37:49 +0000 (22:37 +0000)]
* gengenrtl.c (gencode): Delete unnecessary rtl_obstack declaration.

From-SVN: r60264

21 years agonew test
Jason Merrill [Wed, 18 Dec 2002 20:00:28 +0000 (15:00 -0500)]
new test

From-SVN: r60263

21 years agom32r.c (addr24_operand): Fix arg to CONSTANT_POOL_ADDRESS_P and LIT_NAME_P.
Doug Evans [Wed, 18 Dec 2002 19:23:58 +0000 (19:23 +0000)]
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

21 years agoMakefile.tpl: Don't let real targets depend on phony targets.
Nathanael Nerode [Wed, 18 Dec 2002 18:34:22 +0000 (18:34 +0000)]
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

21 years agore PR c++/8674 (ICE in cp_expr_size, at cp/cp-lang.c:307)
Jason Merrill [Wed, 18 Dec 2002 16:43:20 +0000 (11:43 -0500)]
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

21 years agore PR c++/6255 (ICE with templatess)
Jason Merrill [Wed, 18 Dec 2002 16:42:23 +0000 (11:42 -0500)]
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

21 years agonew test
Jason Merrill [Wed, 18 Dec 2002 16:41:11 +0000 (11:41 -0500)]
new test

From-SVN: r60258

21 years agodate_.c (G77_date_y2kbuggy_0): Declare G77_abort_0 noreturn.
Jason Merrill [Wed, 18 Dec 2002 16:37:14 +0000 (11:37 -0500)]
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

21 years agovterminate.cc (__verbose_terminate_handler): Send diagnostics to stderr.
Jason Merrill [Wed, 18 Dec 2002 16:31:35 +0000 (11:31 -0500)]
vterminate.cc (__verbose_terminate_handler): Send diagnostics to stderr.

        * src/vterminate.cc (__verbose_terminate_handler): Send
        diagnostics to stderr.

From-SVN: r60254

21 years agounwind-dw2-fde.c (frame_downheap): Split out from...
Jason Merrill [Wed, 18 Dec 2002 16:27:56 +0000 (11:27 -0500)]
unwind-dw2-fde.c (frame_downheap): Split out from...

        * unwind-dw2-fde.c (frame_downheap): Split out from...
        (frame_heapsort): Here.

From-SVN: r60253

21 years agoOnly invoke testsuite_flags if the libstdc++-v3 directory has been found.
Nick Clifton [Wed, 18 Dec 2002 15:50:40 +0000 (15:50 +0000)]
Only invoke testsuite_flags if the libstdc++-v3 directory has been found.

From-SVN: r60252

21 years agocp-tree.h (struct tree_srcloc): Use location_t.
Gabriel Dos Reis [Wed, 18 Dec 2002 13:07:42 +0000 (13:07 +0000)]
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

21 years agoDaily bump.
GCC Administrator [Wed, 18 Dec 2002 08:17:54 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r60244

21 years agotree.c (make_node): Don't set TREE_TYPE on 's' class nodes.
Jason Merrill [Wed, 18 Dec 2002 06:36:51 +0000 (01:36 -0500)]
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

21 years agodecl.c (finish_function): Also complain about no return in templates.
Jason Merrill [Wed, 18 Dec 2002 06:26:58 +0000 (01:26 -0500)]
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

21 years ago* gcc.c (do_spec_1) ['W']: End any pending argument from the braces.
Jason Merrill [Wed, 18 Dec 2002 06:07:26 +0000 (01:07 -0500)]
* gcc.c (do_spec_1) ['W']: End any pending argument from the braces.

From-SVN: r60235

21 years agocalls.c (expand_call): Don't try to be clever about expanding the return slot address.
Jason Merrill [Wed, 18 Dec 2002 05:57:43 +0000 (00:57 -0500)]
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

21 years agoMakefile.tpl (do-info): Depend on maybe-all-texinfo, not all-texinfo.
Nathanael Nerode [Wed, 18 Dec 2002 05:28:41 +0000 (05:28 +0000)]
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

21 years agolinux.h (NO_IMPLICIT_EXTERN_C, [...]): Define.
Kaz Kojima [Wed, 18 Dec 2002 02:26:03 +0000 (02:26 +0000)]
linux.h (NO_IMPLICIT_EXTERN_C, [...]): Define.

* config/sh/linux.h (NO_IMPLICIT_EXTERN_C, CPLUSPLUS_CPP_SPEC):
Define.

From-SVN: r60231

21 years agoconfigure.in: Define with_target_subdir and with_build_subdir variables in config...
Ulrich Weigand [Wed, 18 Dec 2002 01:18:58 +0000 (01:18 +0000)]
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

21 years agocalls.c (expand_call): Handle CALL_EXPR_HAS_RETURN_SLOT_ADDR with special struct...
Jason Merrill [Tue, 17 Dec 2002 21:29:29 +0000 (16:29 -0500)]
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

21 years ago* genmultilib: Use 'cd ./foo'.
Jason Merrill [Tue, 17 Dec 2002 21:17:35 +0000 (16:17 -0500)]
* genmultilib: Use 'cd ./foo'.

From-SVN: r60222

21 years ago* doc/c-tree.texi: Restore deliberate spelling mistakes.
Kazu Hirata [Tue, 17 Dec 2002 19:59:45 +0000 (19:59 +0000)]
* doc/c-tree.texi: Restore deliberate spelling mistakes.

From-SVN: r60219

21 years agoc-tree.texi: Fix typos and follow spelling conventions.
Kazu Hirata [Tue, 17 Dec 2002 16:47:45 +0000 (16:47 +0000)]
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

21 years ago* doc/invoke.texi: Minor spelling and grammar fixes.
Jerry Quinn [Tue, 17 Dec 2002 14:38:59 +0000 (14:38 +0000)]
* doc/invoke.texi: Minor spelling and grammar fixes.

From-SVN: r60212

21 years agos390.c (s390_output_constant_pool): Replace ASM_OUTPUT_INTERNAL_LABEL by (*targetm...
Ulrich Weigand [Tue, 17 Dec 2002 12:38:58 +0000 (12:38 +0000)]
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

21 years agoconfig.sub: Import from master repository
Svein E. Seldal [Tue, 17 Dec 2002 10:01:10 +0000 (10:01 +0000)]
config.sub: Import from master repository

* config.sub: Import from master repository
* config.guess: Ditto

From-SVN: r60207

21 years agoconvert.c (convert_to_real): Disable function transformation for now.
Jan Hubicka [Tue, 17 Dec 2002 08:50:41 +0000 (09:50 +0100)]
convert.c (convert_to_real): Disable function transformation for now.

* convert.c (convert_to_real): Disable function transformation for
now.

From-SVN: r60206

21 years agoDaily bump.
GCC Administrator [Tue, 17 Dec 2002 08:17:34 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r60205

21 years ago* gcc.c (handle_braces): Allow '@' as a switch name.
Geoffrey Keating [Tue, 17 Dec 2002 07:49:32 +0000 (07:49 +0000)]
* gcc.c (handle_braces): Allow '@' as a switch name.

From-SVN: r60198

21 years agoc-semantics.c (add_scope_stmt): Abort if the end SCOPE_STMT doesn't match the begin...
Jason Merrill [Tue, 17 Dec 2002 06:24:02 +0000 (01:24 -0500)]
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

21 years ago* genmultilib: Create temporary files in unique subdirectory.
Geoffrey Keating [Tue, 17 Dec 2002 05:23:07 +0000 (05:23 +0000)]
* genmultilib: Create temporary files in unique subdirectory.

From-SVN: r60195

21 years ago* gcc.c (validate_switches): Allow '@' as a switch name.
Geoffrey Keating [Tue, 17 Dec 2002 05:18:51 +0000 (05:18 +0000)]
* gcc.c (validate_switches): Allow '@' as a switch name.

From-SVN: r60194

21 years agoMakefile.tpl (all-gcc): Use 'make quickstrap' if there was a previous 'make bootstrap'.
Jason Merrill [Tue, 17 Dec 2002 05:10:23 +0000 (00:10 -0500)]
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

21 years ago* configure.in (noconfigdirs) [mmix-*-*]: Disable libgloss and gdb.
Hans-Peter Nilsson [Tue, 17 Dec 2002 04:32:25 +0000 (04:32 +0000)]
* configure.in (noconfigdirs) [mmix-*-*]: Disable libgloss and gdb.

From-SVN: r60192

21 years ago* mh-cygwin: Don't build libtermcap if it doesn't exist.
Christopher Faylor [Tue, 17 Dec 2002 02:58:05 +0000 (02:58 +0000)]
* mh-cygwin: Don't build libtermcap if it doesn't exist.

From-SVN: r60191

21 years ago* Makefile.in (gcov-iov.h): Improve portability.
Loren J. Rittle [Tue, 17 Dec 2002 02:02:48 +0000 (02:02 +0000)]
* Makefile.in (gcov-iov.h): Improve portability.

From-SVN: r60190

21 years agomips.h (ASM_OUTPUT_ADDR_DIFF_ELT): Do not use qpword on API_N32/not gas
Jan Hubicka [Mon, 16 Dec 2002 22:45:41 +0000 (23:45 +0100)]
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

21 years ago* root.texi: Change version number to 3.4.
Mark Mitchell [Mon, 16 Dec 2002 22:18:33 +0000 (22:18 +0000)]
* root.texi: Change version number to 3.4.

From-SVN: r60185

21 years agogcc-common.texi: Change version number to 3.4.
Mark Mitchell [Mon, 16 Dec 2002 21:59:43 +0000 (21:59 +0000)]
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

21 years agoadd PR reference
Jason Merrill [Mon, 16 Dec 2002 20:52:22 +0000 (15:52 -0500)]
add PR reference

From-SVN: r60182

21 years agore PR libstdc++/8949 (numeric_limits<>::denorm_min() and is_iec559 problems.)
Paolo Carlini [Mon, 16 Dec 2002 19:52:37 +0000 (20:52 +0100)]
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

21 years agooops.
Bruce Korb [Mon, 16 Dec 2002 19:02:09 +0000 (19:02 +0000)]
oops.

From-SVN: r60178

21 years agoconfigure.in (GLIBCPP_ENABLE_DEBUG): Default to none.
Benjamin Kosnik [Mon, 16 Dec 2002 19:02:01 +0000 (19:02 +0000)]
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

21 years agomove inclusion of signal.h
Bruce Korb [Mon, 16 Dec 2002 18:58:42 +0000 (18:58 +0000)]
move inclusion of signal.h

From-SVN: r60176

21 years agoMerge basic-improvements-branch to trunk
Zack Weinberg [Mon, 16 Dec 2002 18:23:00 +0000 (18:23 +0000)]
Merge basic-improvements-branch to trunk

From-SVN: r60174

21 years agosh.h (EXTRA_CONSTRAINT_Z): New macro.
J"orn Rennecke [Mon, 16 Dec 2002 17:21:50 +0000 (17:21 +0000)]
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

21 years agoDaily bump.
GCC Administrator [Mon, 16 Dec 2002 08:17:31 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r60172

21 years agofix my email address
Doug Evans [Mon, 16 Dec 2002 08:16:06 +0000 (08:16 +0000)]
fix my email address

From-SVN: r60165

21 years ago* sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting
Geert Bosch [Sun, 15 Dec 2002 17:32:01 +0000 (18:32 +0100)]
* sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting

From-SVN: r60159

21 years agore PR ada/5690 (renaming subprograms and default_expression)
Geert Bosch [Sun, 15 Dec 2002 16:18:20 +0000 (17:18 +0100)]
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

21 years agoRevert last commit due to freeze.
Richard Sandiford [Sun, 15 Dec 2002 12:05:34 +0000 (12:05 +0000)]
Revert last commit due to freeze.

From-SVN: r60157

21 years ago* config/mips/mips.md: Disable the movstrsi define_split.
Richard Sandiford [Sun, 15 Dec 2002 11:34:17 +0000 (11:34 +0000)]
* config/mips/mips.md: Disable the movstrsi define_split.

From-SVN: r60156

21 years agoDaily bump.
GCC Administrator [Sun, 15 Dec 2002 08:17:26 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r60154

21 years agoMakefile.tpl (check-gcc-c++): Renamed from check-c++.
Jason Merrill [Sat, 14 Dec 2002 08:37:12 +0000 (03:37 -0500)]
Makefile.tpl (check-gcc-c++): Renamed from check-c++.

        * Makefile.tpl (check-gcc-c++): Renamed from check-c++.  Don't run
        library tests.
        (check-c++): Just depend on it and check-target-libstdc++-v3.
        * Makefile.in: Regenerate.

From-SVN: r60126

21 years agoDaily bump.
GCC Administrator [Sat, 14 Dec 2002 08:17:21 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r60125

21 years agopa.c (output_millicode_call): Correct typo.
John David Anglin [Sat, 14 Dec 2002 02:54:14 +0000 (02:54 +0000)]
pa.c (output_millicode_call): Correct typo.

* pa.c (output_millicode_call): Correct typo.
(output_call): Likewise.

From-SVN: r60115

21 years agoFix test for LP64, move it to gcc.c-torture/compile (per Kaveh Ghazi)
Dale Johannesen [Sat, 14 Dec 2002 00:54:02 +0000 (00:54 +0000)]
Fix test for LP64, move it to gcc.c-torture/compile (per Kaveh Ghazi)

From-SVN: r60111

21 years agomn10300.c (print_operand): Check operand's range.
Alexandre Oliva [Fri, 13 Dec 2002 23:07:47 +0000 (23:07 +0000)]
mn10300.c (print_operand): Check operand's range.

* config/mn10300/mn10300.c (print_operand) <case N>: Check
operand's range.  Print value directly, without aid from
output_address.
<case U>: New.
<case S>: Make sure argument to fprintf has the right type.
* config/mn10300/mn10300.h (OK_FOR_T): New macro.
(EXTRA_CONSTRAINT): Adjust.
* config/mn10300/mn10300.md: Add new all-QImode pattern for
bclr.  Use %U for immediate operands of bset and bclr.
(iorqi3): New expand, with insns for AM33 and mn10300.

From-SVN: r60109

21 years agoMakefile.in (check-gcc-c++): Renamed from check-c++.
Jason Merrill [Fri, 13 Dec 2002 22:26:37 +0000 (17:26 -0500)]
Makefile.in (check-gcc-c++): Renamed from check-c++.

        * Makefile.in (check-gcc-c++): Renamed from check-c++.  Don't run
        library tests.
        (check-c++): Just depend on it and check-target-libstdc++-v3.

From-SVN: r60107

21 years agore PR c++/8031 (ICE in comptypes, at cp/typeck.c:913)
Gabriel Dos Reis [Fri, 13 Dec 2002 21:58:54 +0000 (21:58 +0000)]
re PR c++/8031 (ICE in comptypes, at cp/typeck.c:913)

PR C++/8031
* cvt.c (convert_to_pointer_force): Don't try comparing against
erronous type.

From-SVN: r60106

21 years agocp-tree.h: Have the multiple-include guards around the entire file.
Geoffrey Keating [Fri, 13 Dec 2002 21:04:27 +0000 (21:04 +0000)]
cp-tree.h: Have the multiple-include guards around the entire file.

* cp-tree.h: Have the multiple-include guards around
the entire file.

From-SVN: r60104

21 years ago*** empty log message ***
J"orn Rennecke [Fri, 13 Dec 2002 20:20:28 +0000 (20:20 +0000)]
*** empty log message ***

From-SVN: r60103

21 years agoFix type.
Devang Patel [Fri, 13 Dec 2002 20:16:07 +0000 (12:16 -0800)]
Fix type.

From-SVN: r60102

21 years agoDoc fix for PR 1621.
Jim Wilson [Fri, 13 Dec 2002 20:07:15 +0000 (20:07 +0000)]
Doc fix for PR 1621.

* doc/extend.texi (Complex Numbers): Update info on debug info.

From-SVN: r60101

21 years agoSecurityRandom (digest): Removed field.
Casey Marshall [Fri, 13 Dec 2002 14:21:07 +0000 (14:21 +0000)]
SecurityRandom (digest): Removed field.

2002-12-13  Casey Marshall  <rsdio@metastatic.org>
    Mark Wielaard  <mark@klomp.org>

* java/security/SecurityRandom (digest): Removed field.
(SecureRandom): Check all providers for case-insensitive SecureRandom
implementation. Don't ignore classname == null. Fallback to SHA1PRNG
if necessary.
(getInstance(String,Provider,boolean): New method.
(getInstance(String)): Use new method.
(getInstance(String,String)): Likewise.
(getInstance(String,Provider)): Likewise.

2002-12-13  Casey Marshall  <rsdio@metastatic.org>

* java/security/Security.java (loadProviders): Increment i only once.

Co-Authored-By: Mark Wielaard <mark@klomp.org>
From-SVN: r60099

21 years agoh8300.md (addhi3_h8300): Remove the last alternative.
Kazu Hirata [Fri, 13 Dec 2002 13:47:12 +0000 (13:47 +0000)]
h8300.md (addhi3_h8300): Remove the last alternative.

* config/h8300/h8300.md (addhi3_h8300): Remove the last
alternative.

From-SVN: r60098

21 years agoClassLoader.java (resolveClass0): Transform ClassNotFoundException to NoClassDefFound...
Mark Wielaard [Fri, 13 Dec 2002 10:04:15 +0000 (10:04 +0000)]
ClassLoader.java (resolveClass0): Transform ClassNotFoundException to NoClassDefFoundError.

* java/lang/ClassLoader.java (resolveClass0): Transform
ClassNotFoundException to NoClassDefFoundError. Transform all other
throwables to LinkageError.

From-SVN: r60097

21 years agoDaily bump.
GCC Administrator [Fri, 13 Dec 2002 08:17:16 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r60096

21 years agoloader.exp (gcj_loader_test_one): Use libjava_prune_warnings.
Tom Tromey [Fri, 13 Dec 2002 05:00:15 +0000 (05:00 +0000)]
loader.exp (gcj_loader_test_one): Use libjava_prune_warnings.

* libjava.loader/loader.exp (gcj_loader_test_one): Use
libjava_prune_warnings.
(gcj_loader_run): Likewise.
* libjava.mauve/mauve.exp (test_mauve): Use
libjava_prune_warnings.
(test_mauve_sim): Likewise.
* libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
libjava_prune_warnings.
(gcj_jni_build_header): Likewise.
* lib/libjava.exp (libjava_prune_warnings): New proc.
(gcj_link): Use it.
(test_libjava_from_source): Likewise.
(test_libjava_from_javac): Likewise.

From-SVN: r60089

21 years agoI forgot to commit ChangeLogs with darwin ld tests and documentation patch.
Devang Patel [Fri, 13 Dec 2002 01:32:48 +0000 (17:32 -0800)]
I forgot to commit ChangeLogs with darwin ld tests and documentation patch.

From-SVN: r60088

21 years agore PR debug/1621 (Debugging with complex numbers)
Jim Wilson [Fri, 13 Dec 2002 01:24:52 +0000 (01:24 +0000)]
re PR debug/1621 (Debugging with complex numbers)

Fix for PR 1621.
* dbxout.c (dbxout_fptype_value): New.
(dbxout_type, case COMPLEX_TYPE): Call it.  Use 'R' instead of 'r'.

From-SVN: r60087

21 years agoc-decl.c: Fix a comment typo.
Kazu Hirata [Fri, 13 Dec 2002 00:17:22 +0000 (00:17 +0000)]
c-decl.c: Fix a comment typo.

* c-decl.c: Fix a comment typo.
* cfg.c: Likewise.
* cfgcleanup.c: Likewise.
* cfglayout.c: Likewise.
* cfgrtl.c: Likewise.
* c-typeck.c: Likewise.
* dominance.c: Likewise.
* dwarf2asm.c: Likewise.
* dwarfout.c: Likewise.
* expmed.c: Likewise.
* expr.c: Likewise.
* final.c: Likewise.
* flow.c: Likewise.
* function.c: Likewise.
* gcc.c: Likewise.
* genautomata.c: Likewise.
* integrate.c: Likewise.
* loop.c: Likewise.
* loop.h: Likewise.
* output.h: Likewise.
* profile.c: Likewise.
* ra.h: Likewise.
* reload1.c: Likewise.
* reload.c: Likewise.
* sched-rgn.c: Likewise.
* stmt.c: Likewise.
* tree.h: Likewise.
* vmsdbgout.c: Likewise.

From-SVN: r60085

21 years ago* config/h8300/h8300.md: Add a new peephole2.
Kazu Hirata [Thu, 12 Dec 2002 22:29:10 +0000 (22:29 +0000)]
* config/h8300/h8300.md: Add a new peephole2.

From-SVN: r60082

21 years agoinvoke.texi: Document Darwin linker options...
Devang Patel [Thu, 12 Dec 2002 22:23:45 +0000 (14:23 -0800)]
invoke.texi: Document Darwin linker options...

gcc
        *doc/invoke.texi: Document Darwin linker options, -bundle
        -bind_at_load, -all_load and -arch_errors_fatal

testsuite
        * gcc.dg/darwin-ld-1.c: New test.
        * gcc.dg/darwin-ld-2.c: New test.
        * gcc.dg/darwin-ld-3.c: New test.
        * gcc.dg/darwin-ld-4.c: New test.
        * gcc.dg/darwin-ld-5.c: New test.

From-SVN: r60081

21 years agoh8300.md (a peephole2): Accept a constant that's accepted by CONST_OK_FOR_J.
Kazu Hirata [Thu, 12 Dec 2002 21:33:43 +0000 (21:33 +0000)]
h8300.md (a peephole2): Accept a constant that's accepted by CONST_OK_FOR_J.

* config/h8300/h8300.md (a peephole2): Accept a constant
that's accepted by CONST_OK_FOR_J.

From-SVN: r60080

21 years agoh8300.h (CONST_OK_FOR_J): New.
Kazu Hirata [Thu, 12 Dec 2002 21:19:57 +0000 (21:19 +0000)]
h8300.h (CONST_OK_FOR_J): New.

* config/h8300/h8300.h (CONST_OK_FOR_J): New.
(CONST_OK_FOR_LETTER_P): Use CONST_OK_FOR_J.
* config/h8300/h8300.md (*addhi_h8300): Add a new alternative.
(*addhi_h8300hs): Likewise.

From-SVN: r60079

21 years agosh.c (reg_class_from_letter): No longer const.
J"orn Rennecke [Thu, 12 Dec 2002 17:11:13 +0000 (17:11 +0000)]
sh.c (reg_class_from_letter): No longer const.

* sh.c (reg_class_from_letter): No longer const.  Add 'e' entry.
(sh_register_move_cost): Add clause for SImode fp-fp moves.
Increase cost for moves involving multiple general purpose registers.
* sh.h (OVERRIDE_OPTIONS): Set reg_class_from_letter['e'] according to
TARGET_FMOVD.
(HARD_REGNO_MODE_OK): Allow V2SFmode and V4SFmode in general purpose
registers, and SImode in fp registers, for ! TARGET_SHMEDIA.
(enum reg_class reg_class_from_letter): No longer const.
(SECONDARY_OUTPUT_RELOAD_CLASS): Use REGCLASS_HAS_FP_REG /
REGCLASS_HAS_GENERAL_REG.
Handle SImode moves from/to fp registers.
! TARGET_SHMEDIA && TARGET_FMOVD.
(SECONDARY_INPUT_RELOAD_CLASS): Use REGCLASS_HAS_FP_REG.
* sh.md (movsi_ie): Add alternatives to move from / to fp regisyters.

From-SVN: r60076

21 years agosh.h (REG_CLASS_HAS_FP_REG): New.
Joern Rennecke [Thu, 12 Dec 2002 16:40:49 +0000 (16:40 +0000)]
sh.h (REG_CLASS_HAS_FP_REG): New.

Wed Dec 11 19:05:05 2002  J"orn Rennecke <joern.rennecke@superh.com>

        * sh.h (REG_CLASS_HAS_FP_REG): New.
        (REGISTER_MOVE_COST) Use it.  Put body into a function and
        move it into:
        * sh.c (sh_register_move_cost).
        * sh-protos.h (sh_register_move_cost): Declare.

        * sh.c (sh_expand_builtin): Abort for unexpected nop values.
        (sh_adjust_cost): Always return a value.

From-SVN: r60075

21 years agosh.h (REG_CLASS_HAS_FP_REG): New.
Joern Rennecke [Thu, 12 Dec 2002 16:25:12 +0000 (16:25 +0000)]
sh.h (REG_CLASS_HAS_FP_REG): New.

        * sh.h (REG_CLASS_HAS_FP_REG): New.
        (REGISTER_MOVE_COST) Use it.  Put body into a function and
        move it into:
        * sh.c (sh_register_move_cost).
        * sh-protos.h (sh_register_move_cost): Declare.

        * sh.c (sh_expand_builtin): Abort for unexpected nop values.
        (sh_adjust_cost): Always return a value.

From-SVN: r60074

21 years agoia64.c (ia64_hpux_asm_file_end): Fix typo in last change and some warnings.
Andreas Schwab [Thu, 12 Dec 2002 14:08:21 +0000 (14:08 +0000)]
ia64.c (ia64_hpux_asm_file_end): Fix typo in last change and some warnings.

* config/ia64/ia64.c (ia64_hpux_asm_file_end): Fix typo in last
change and some warnings.

From-SVN: r60073

21 years ago* doc/md.texi (pushm): Fix a typo.
Kazu Hirata [Thu, 12 Dec 2002 14:03:56 +0000 (14:03 +0000)]
* doc/md.texi (pushm): Fix a typo.

From-SVN: r60072

21 years ago20021212-1.c: New test.
Eric Botcazou [Thu, 12 Dec 2002 11:09:39 +0000 (12:09 +0100)]
20021212-1.c: New test.

2002-12-12  Eric Botcazou  <ebotcazou@libertysurf.fr>

* gcc.c-torture/compile/20021212-1.c: New test.

From-SVN: r60068

21 years agoLink PR opt/8334 to its fix.
Eric Botcazou [Thu, 12 Dec 2002 10:59:45 +0000 (10:59 +0000)]
Link PR opt/8334 to its fix.

From-SVN: r60067