Commit Graph

42389 Commits

Author SHA1 Message Date
Zack Weinberg
f18664c152 arc.md: Remove #if HOST_FLOAT_FORMAT != TARGET_FLOAT_FORMAT blocks.
* config/arc/arc.md: Remove #if HOST_FLOAT_FORMAT !=
	TARGET_FLOAT_FORMAT blocks.

From-SVN: r52479
2002-04-18 17:38:23 +00:00
Hans-Peter Nilsson
528d8489c3 * config/cris/cris.h (TARGET_VERSION): Remove local version number.
From-SVN: r52477
2002-04-18 16:55:31 +00:00
Jan Hubicka
91da27c552 i386.h (SSE_FLOAT_MODE_P): Fix bogus conflict resolution in last patch.
* i386.h (SSE_FLOAT_MODE_P): Fix bogus conflict resolution
	in last patch.

From-SVN: r52475
2002-04-18 15:25:54 +00:00
Jakub Jelinek
a32db60568 fold-const.c (fold): Use (*lang_hooks.types.unsigned_type) instead of unsigned_type.
* fold-const.c (fold): Use (*lang_hooks.types.unsigned_type)
	instead of unsigned_type.

From-SVN: r52474
2002-04-18 17:17:47 +02:00
Jan Hubicka
5a28d8ccd8 i386.h (SSE_FLOAT_MODE_P): Kill bogus TARGET_SSE_MATH check.
* i386.h (SSE_FLOAT_MODE_P): Kill bogus TARGET_SSE_MATH check.
	* i386.md (sse_mov?fcc*): Swap operands for cases they will be swapped
	later.

From-SVN: r52471
2002-04-18 14:05:03 +00:00
Jason Merrill
8152c32042 re PR c++/5658 (Regression on redefinition of a type in a derived class.)
PR c++/5658
        * search.c (setup_class_bindings): A class template qualifies as a
        type binding.

From-SVN: r52469
2002-04-18 09:57:35 -04:00
Bernd Schmidt
2e676d7878 Prevent aborts taking a vector mode subreg of a constant integer
From-SVN: r52467
2002-04-18 11:29:19 +00:00
Bernd Schmidt
3d980b9f8a Plug memory leak in handle_vector_size_attribute
From-SVN: r52466
2002-04-18 11:23:25 +00:00
Roger Sayle
58c2956cc7 fold-const.c (fold): Convert (T)(x&c) into ((T)x&(T)c) for integer constant c (if...
* fold-const.c (fold) [NOP_EXPR]: Convert (T)(x&c) into ((T)x&(T)c)
	for integer constant c (if x has unsigned type or sign bit is not
	set in c).  This folds the zero/sign extension into the bit-wise and
	operation.

	* gcc.c-torture/compile/20020415-1.c: New.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>

From-SVN: r52465
2002-04-18 12:39:41 +02:00
Jakub Jelinek
692efa8ed5 re PR middle-end/6205 (-O -fpmath=sse breaks visibility of register accumulated sum)
PR middle-end/6205
	* config/i386/i386.md (movsf_1): Use pxor only if TARGET_SSE2,
	otherwise xorps.

From-SVN: r52464
2002-04-18 12:22:14 +02:00
Geoffrey Keating
29a948c850 * gcc_update (touch_files): Don't have empty for loop.
From-SVN: r52462
2002-04-18 10:09:10 +00:00
David S. Miller
887fc41aef 20020418-1.c: New test.
2002-04-18  David S. Miller  <davem@redhat.com>

	* gcc.c-torture/execute/20020418-1.c: New test.

From-SVN: r52461
2002-04-18 01:05:23 -07:00
GCC Administrator
977ea2f238 Daily bump.
From-SVN: r52459
2002-04-18 07:18:01 +00:00
Phil Edwards
bf551f96b1 doxygroups.cc: New group on binary searching.
2002-04-17  Phil Edwards  <pme@gcc.gnu.org>

	* docs/doxygen/doxygroups.cc:  New group on binary searching.
	* include/bits/stl_algo.h:  Document binary searches and merges.
	* include/bits/stl_deque.h:  The 'map' member is not the 'map' class.

From-SVN: r52453
2002-04-18 02:55:50 +00:00
Phil Edwards
d4c6e01f81 mainpage.html: Doxygen logo is now a PNG file.
2002-04-17  Phil Edwards  <pme@gcc.gnu.org>

	* docs/doxygen/mainpage.html:  Doxygen logo is now a PNG file.
	* docs/doxygen/run_doxygen:  Bump required version.
	* docs/doxygen/user.cfg.in:  Revert accidental change.
	* docs/html/faq/index.html:  Reindent a block of links.
	(4.4):  New note on using dlsym.
	* docs/html/faq/index.txt:  Regenerated.

From-SVN: r52451
2002-04-18 01:42:50 +00:00
Phil Edwards
822ca943a3 testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
2002-04-17  Phil Edwards  <pme@gcc.gnu.org>

	* testsuite_flags.in (cxxflags):  Also pass @EXTRA_CXX_FLAGS@.

From-SVN: r52450
2002-04-18 01:37:42 +00:00
Bryce McKinlay
b798d8b64d class.c (make_class_data): Set DECL_ALIGN on static class data, for hash synchronization.
* class.c (make_class_data): Set DECL_ALIGN on static class data,
	for hash synchronization.
	* expr.c (java_expand_expr): Set DECL_ALIGN on static array objects.
	* decl.c (java_init_decl_processing): Don't set TYPE_ALIGN for
	class_type_node.

From-SVN: r52448
2002-04-18 00:13:11 +01:00
Adam King
b7403f10f2 File.java (normalizePath): Add Win32 support for auto conversion of a '/' path separator to Win32's '\'...
* java/io/File.java (normalizePath): Add Win32 support for auto
	conversion of a '/' path separator to Win32's '\' separator.

From-SVN: r52447
2002-04-18 00:02:33 +01:00
Nathanael Nerode
63501e9115 configure.in: Move default CC setting out of config/mh-* fragments directly into here.
* configure.in:  Move default CC setting out of config/mh-* fragments
directly into here.

From-SVN: r52443
2002-04-17 16:45:24 -04:00
Nathanael Nerode
701afd4dd0 configure.in: don't even try to configure or make a subdirectory if...
* configure.in: don't even try to configure or make a subdirectory
if there's no configure script for it.

From-SVN: r52442
2002-04-17 16:23:44 -04:00
Benjamin Kosnik
cff5778913 linker-map.gnu (__malloc_alloc_template): Add.
2002-04-17  Benjamin Kosnik  <bkoz@redhat.com>

	* config/linker-map.gnu (__malloc_alloc_template): Add.
	(__default_alloc_template): Same.
	* include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
	template.
	(__default_alloc_template): Same.

From-SVN: r52441
2002-04-17 20:08:18 +00:00
Hans Boehm
9416403264 gcconfig.h: Use LINUX_STACKBOTTOM for SPARC Linux.
* include/private/gcconfig.h: Use LINUX_STACKBOTTOM for
	SPARC Linux.

From-SVN: r52440
2002-04-17 19:54:59 +00:00
Benjamin Kosnik
cf76d875db filebuf_virtuals.cc: Add _S_pback_size instantiation.
2002-04-17  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.

From-SVN: r52436
2002-04-17 17:35:00 +00:00
NIIBE Yutaka
1372d4ce83 elf.h: Undefine ASM_OUTPUT_CASE_LABEL.
2002-04-17  NIIBE Yutaka  <gniibe@m17n.org>

	* config/sh/elf.h: Undefine ASM_OUTPUT_CASE_LABEL.

From-SVN: r52435
2002-04-17 18:21:49 +01:00
Jakub Jelinek
32121b96b6 re PR c++/6316 (trap when compiling file)
PR c++/6316
	* decl2.c (finish_file): Clear DECL_EXTERNAL in a separate loop
	before expanding.

	* g++.dg/opt/inline1.C: New test.

From-SVN: r52434
2002-04-17 19:17:55 +02:00
Mark Wielaard
03408d2b80 negzero.java: New.
* libjava.lang/negzero.java: New.
	* libjava.lang/negzero.out: New.

From-SVN: r52429
2002-04-17 16:39:47 +00:00
Mark Wielaard
1cde1d0533 jcf-write.c (generate_bytecode_insns): Only write const_0 if not negative zero.
* jcf-write.c (generate_bytecode_insns): Only write const_0 if not
	negative zero.

From-SVN: r52427
2002-04-17 16:36:47 +00:00
Nick Clifton
169ce44d8d gcc.c (read_specs): Detect and fail if an attempt is made to rename a spec string to an already...
2002-04-17  Nick Clifton  <nickc@cambridge.redhat.com>

    * gcc.c (read_specs): Detect and fail if an attempt is made to
    rename a spec string to an already existing string.

From-SVN: r52426
2002-04-17 16:26:28 +00:00
Ulrich Weigand
b30d21159d s390.c (legitimize_pic_address): Do not generate illegal address constant without CONST.
* config/s390/s390.c (legitimize_pic_address): Do not generate
illegal address constant without CONST.

From-SVN: r52425
2002-04-17 16:02:16 +00:00
Kaveh R. Ghazi
d6964c30b4 linux64.h (CC1_SPEC): Error for -m32 and -m64.
* sparc/linux64.h (CC1_SPEC): Error for -m32 and -m64.
	* sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.

From-SVN: r52421
2002-04-17 14:22:17 +00:00
Ulrich Weigand
7c82a1ed2b re PR rtl-optimization/6305 (c++ gets ICE in reload_cse_simplify_operands)
PR optimization/6305
* config/s390/s390.c (s390_expand_plus_operand): Use find_replacement
to make sure previous reloads are taken into account.  Generate
better code if one operand is an in-range immediate constant.

From-SVN: r52417
2002-04-17 12:25:31 +00:00
Andrew Haley
58db9d1a88 install.texi (Building): libgcj requires GNU make.
2002-04-16  Andrew Haley  <aph@cambridge.redhat.com>

	* doc/install.texi (Building): libgcj requires GNU make.

From-SVN: r52414
2002-04-17 09:38:09 +00:00
Jakub Jelinek
2a7325756a re PR bootstrap/6315 (sparc64 gcc -mhard-quad-float cannot compile libstdc++-v3)
PR bootstrap/6315
	* config/sparc/sparc.md (movtf reg<-reg split): Allow spliting
	even if hard quad and register is not floating.
	(movtf reg<-mem split): Disallow splitting if hard quad and
	register is floating.
	(movtf mem<-reg split): Likewise.
	* config/sparc/sparc.c (fp_register_operand): New predicate.
	* config/sparc/sparc.h (PREDICATE_CODES): Add fp_register_operand.

	* gcc.dg/20020416-1.c: New test.

From-SVN: r52412
2002-04-17 10:24:03 +02:00
Bryce McKinlay
3020a7f5a4 re PR java/6294 (private inner interface is flagged illegal)
Fix for PR java/6294:
	* parse.h (INNER_INTERFACE_MODIFIERS): Allow ACC_PRIVATE for inner
	interfaces.

From-SVN: r52411
2002-04-17 09:23:00 +01:00
GCC Administrator
8f8d72013d Daily bump.
From-SVN: r52409
2002-04-17 07:17:56 +00:00
Benjamin Kosnik
42ca0438ce concept-inst.cc (vector<locale::facet*>): Remove instantiations.
2002-04-16  Benjamin Kosnik  <bkoz@redhat.com>

	* src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
	* src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
	(__malloc_alloc_template): Conditionalize.

	* include/bits/istream.tcc: Remove sputbackc calls.

	* testsuite/19_diagnostics/stdexceptions.cc: Fix comment.

From-SVN: r52405
2002-04-17 06:20:20 +00:00
Zack Weinberg
c0fe1b1d56 Makefile.in (PROTO_OBJS): Add cppdefault.o.
2002-04-17  Zack Weinberg  <zack@codesourcery.com>
	* Makefile.in (PROTO_OBJS): Add cppdefault.o.
	(protoize.o): Take $(PREPROCESSOR_DEFINES) off command line.
	(unprotoize.o): Ditto.  Build from protoize.c.  Define
	UNPROTOIZE on command line.
	* protoize.c: Include cppdefault.h.  Delete include_defaults.
	(in_system_include_dir): Use cpp_include_defaults (defined in
	cppdefault.o).
	* unprotoize.c: Delete file.

Approved by:  rth
              Message-ID: <20020415171022.A20025@redhat.com>

From-SVN: r52404
2002-04-17 03:23:45 +00:00
Zack Weinberg
75a65e4651 Makefile.in (PROTO_OBJS): Add cppdefault.o.
2002-04-17  Zack Weinberg  <zack@codesourcery.com>
	* Makefile.in (PROTO_OBJS): Add cppdefault.o.
	(protoize.o): Take $(PREPROCESSOR_DEFINES) off command line.
	(unprotoize.o): Ditto.  Build from protoize.c.  Define
	UNPROTOIZE on command line.
	* protoize.c: Include cppdefault.h.  Delete include_defaults.
	(in_system_include_dir): Use cpp_include_defaults (defined in
	cppdefault.o).
	* unprotoize.c: Delete file.

Approved by:  rth
              Message-ID: <20020415171022.A20025@redhat.com>

From-SVN: r52402
2002-04-17 03:15:21 +00:00
Aldy Hernandez
650f0e9713 altivec.h (vec_ld): Add array variants.
2002-04-17  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/altivec.h (vec_ld): Add array variants.
        (vec_lde): Same.
        (vec_ldl): Same.

From-SVN: r52400
2002-04-17 02:31:30 +00:00
Alan Matsuoka
71a0ab0c8c altivec.h: Define __ALTIVEC__.
2002-04-17  Alan Matsuoka  <alanm@redhat.com>
            Aldy Hernandez <aldyh@redhat.com>

        * config/rs6000/altivec.h: Define __ALTIVEC__.
        (bool): New.
        (__pixel): New.
        (pixel): New.
        (vec_cfux): New.
        (vec_vmaddfp): New.
        (vec_vsldoi): New.
        Add parentheses to all macro arguments.

Co-Authored-By: Aldy Hernandez <aldyh@redhat.com>

From-SVN: r52398
2002-04-17 02:03:43 +00:00
Richard Henderson
ff2c46ac29 re PR c++/6320 (3.1 regression wrt 3.0: ICE in remove_eh_handler, at except.c:2696)
PR c++/6320
        * except.c (remove_eh_handler): Insert inner regions at beginning
        of sibling chain.  Refactor expressions.

	* g++.dg/eh/dead1.C: New.

From-SVN: r52397
2002-04-16 18:52:38 -07:00
Mark Mitchell
b2123dc0d8 c-common.h (STMT_EXPR_NO_SCOPE): New macro.
* c-common.h (STMT_EXPR_NO_SCOPE): New macro.
	* c-common.c (c_expand_expr): Respect STMT_EXPR_NO_SCOPE.
	* tree.h (expand_start_stmt_expr): Update prototype.
	* stmt.c (expand_start_stmt_expr): Add has_scope parameter.
	* tree-inline.c (expand_call_inline): Set STMT_EXPR_NO_SCOPE
	on the STMT_EXPR created for the inline function.

	* trans.c (tree_transform): Add has_scope argument to
	expand_start_stmt_expr.

	* com.c (ffecom_expr_power_integer): Add has_scope argument to
	call to expand_start_stmt_expr.

	* init.c (begin_init_stmts): Remove commented out code.
	(finish_init_stmts): Set STMT_EXPR_NO_SCOPE.
	* semantics.c (begin_gobal_stmt_expr): Adjust call to
	expand_start_stmt_expr.

From-SVN: r52395
2002-04-17 01:47:36 +00:00
Richard Henderson
f0871dfe8f sol2-bi.h (AS_SPARC64_FLAG): New.
* config/sparc/sol2-bi.h (AS_SPARC64_FLAG): New.
        * config/sparc/sol2-gas-bi.h: New file.
        * config.gcc (sparc*-solaris): Add it as needed.
        * configure.in (AS_SPARC64_FLAG): Remove check.
        * config.in, configure: Regenerate.

From-SVN: r52393
2002-04-16 18:37:42 -07:00
Richard Henderson
6519603408 * config/sparc/sol2-bi.h (CC1_SPEC): Error for -m32 and -m64.
From-SVN: r52391
2002-04-16 18:34:22 -07:00
Richard Henderson
409d3c6029 mips.c (override_options): Don't override N32 for a 64-bit ISA.
* config/mips/mips.c (override_options): Don't override N32 for
        a 64-bit ISA.

From-SVN: r52389
2002-04-16 17:43:04 -07:00
Richard Henderson
f1ba94ddd2 mips.md (can_delay): Split out of existing define_delays.
* config/mips/mips.md (can_delay): Split out of existing define_delays.
        (HILO_delay): Set can_delay false.

From-SVN: r52387
2002-04-16 17:34:44 -07:00
Richard Henderson
3bb6f0700a Remove, again.
From-SVN: r52386
2002-04-16 17:32:33 -07:00
Richard Henderson
b8d70bee36 * gcc_update: Remove libchill.
From-SVN: r52385
2002-04-16 17:30:17 -07:00
David S. Miller
4780f10144 xregex2.h (__restrict_arr): Define to __restrict on GCC 3.1 and later.
2002-04-16  David S. Miller  <davem@redhat.com>

	* xregex2.h (__restrict_arr): Define to __restrict on GCC
	3.1 and later.  Do not redefine.

From-SVN: r52383
2002-04-16 17:12:54 -07:00
Mark Mitchell
c6370adf34 Remove libchill
From-SVN: r52379
2002-04-16 22:01:55 +00:00