Commit Graph

70828 Commits

Author SHA1 Message Date
Alan Modra d82bf74753 configure.ac (HAVE_LD_NO_DOT_SYMS): Set for powerpc-linux biarch.
* configure.ac (HAVE_LD_NO_DOT_SYMS): Set for powerpc-linux biarch.
	* configure: Regenerate.

From-SVN: r103425
2005-08-24 11:08:05 +09:30
GCC Administrator d984318c95 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r103419.2
2005-08-24 00:16:15 +00:00
Kelley Cook b71ed55244 re PR libstdc++/23462 (27_io/basic_filebuf/sgetn/char/[12]-i[no].cc execution tests fail)
2005-08-23  Kelley Cook  <kcook@gcc.gnu.org>

	PR libstdc++/23462
	* testsuite/data/sgetn.txt: Revert to previous FSF address.

From-SVN: r103415
2005-08-23 23:05:38 +00:00
Roman Kennke daa6fb4110 2005-08-23 Roman Kennke <roman@kennke.org>
* java/lang/Character.java
	(toChars(int)): New JDK1.5 method.
	(toChars(int, char[], int)): New JDK1.5 method.
	(charCount): New JDK1.5 method.
	(isSupplementaryCodePoint): New JDK1.5 method.
	(isValidCodePoint): New JDK1.5 method.

From-SVN: r103413
2005-08-23 22:19:17 +00:00
DJ Delorie 7d04db3f0f stdarg-2.c (main): Make sure long constants have the L suffix.
* gcc.c-torture/execute/stdarg-2.c (main): Make sure long
constants have the L suffix.

From-SVN: r103412
2005-08-23 16:58:13 -04:00
Paolo Bonzini 4d3c798d3f re PR middle-end/23517 (can't cast between generic vector types and target supported vector types)
2005-08-23  Paolo Bonzini  <bonzini@gnu.org>

	PR middle-end/23517
	* fold-const.c (fold_convert): Use VIEW_CONVERT_EXPR to convert
	between vectors.
	* convert.c (convert_to_integer, convert_to_vector): Likewise.
	* tree-vect-generic.c (tree_vec_extract, expand_vector_operations_1):
	Likewise.

From-SVN: r103406
2005-08-23 17:48:37 +00:00
Paolo Bonzini 28d0e143fe predicates.md (equality_operator): New.
2005-08-23  Paolo Bonzini  <bonzini@gnu.org>

	* config/rs6000/predicates.md (equality_operator): New.
	* config/rs6000/rs6000.md: Rewrite as a peephole2 the split for
	comparison with a large constant.

From-SVN: r103405
2005-08-23 17:39:59 +00:00
Tom Tromey e293cbd536 aclocal.m4, [...]: Rebuilt.
* aclocal.m4, Makefile.in: Rebuilt.
	* Makefile.am (property_files): Added META-INF files.
	(propertyo_files): Changed definition.
	($(propertyo_files)): Updated patterns.

From-SVN: r103403
2005-08-23 16:54:31 +00:00
Mark Mitchell 6194fd98b2 * hwint.h (HOST_WIDE_INT_PRINT): Use HOST_LONG_LONG_FORMAT.
From-SVN: r103402
2005-08-23 15:04:07 +00:00
Tom Tromey 0a9649e8a1 configure: Rebuilt.
* configure: Rebuilt.
	* configure.ac: Fixed typo.

From-SVN: r103399
2005-08-23 13:53:12 +00:00
J"orn Rennecke a11c004bd7 sh.c (sh_builtin_saveregs): If the number of to-be-saved fp registers is even...
* sh.c (sh_builtin_saveregs): If the number of to-be-saved fp
        registers is even, and we have a hardware double precision fp,
        align the buffer.
        (sh_gimplify_va_arg_expr): For floating point arguments, consider
        size of current argument when checking if argument was passed in
        registers.

        * sh.c (sh_attr_renesas_p): Handle error_mark_node.

From-SVN: r103398
2005-08-23 14:07:16 +01:00
Nathan Sidwell aec5ba601b re PR c++/23044 (ICE on valid code)
cp:
	PR c++/23044
	* pt.c (tsubst_qualified_id): A SCOPE_REF can still remain.
testsuite:
	PR c++/23044
	* g++.dg/template/instantiate8.C: New.

From-SVN: r103395
2005-08-23 12:35:42 +00:00
J"orn Rennecke 39d67d5bd4 re PR middle-end/23467 (alignment of member doesn't always carry over to alignment of struct.)
gcc:
        PR middle-end/23467
        * stor-layout.c (finalize_type_size): Dont override
        existing alignment with a smaller alignment from the mode.
testsuite:
        PR middle-end/23467
        * gcc.c-torture/execute/pr23467.c: New test.

From-SVN: r103394
2005-08-23 13:27:53 +01:00
Thomas Kho 9191d64118 re PR libstdc++/23358 (_Destroy doesn't optimize for scalar types)
2005-08-23  Thomas Kho  <tkho@ucla.edu>

	PR libstdc++/23358
	* include/bits/stl_construct.h (_Destroy(_ForwardIterator,
	_ForwardIterator, allocator<_Tp>)): Removed unused template parameter.

From-SVN: r103393
2005-08-23 10:40:14 +00:00
Sebastian Pop 37b8a73b50 lambda-code.c (lambda_vector_lexico_pos): Moved...
* lambda-code.c (lambda_vector_lexico_pos): Moved...
	* lambda.h (lambda_vector_lexico_pos): ... here.
	* tree-data-ref.c (build_classic_dist_vector): Return false when
	the distance vector is lexicographically negative.

From-SVN: r103392
2005-08-23 08:24:20 +00:00
Sebastian Pop ce8f9416be re PR tree-optimization/23511 (Segfault in fold_binary)
PR tree-optimization/23511
	* tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined): Don't
	handle cases where TYPE_MIN_VALUE or TYPE_MAX_VALUE are NULL_TREE.

From-SVN: r103391
2005-08-23 08:15:13 +00:00
Jakub Jelinek 73ed17ff80 re PR middle-end/22043 (Fields not initialized for automatic structs with flexible array members)
PR tree-optimization/22043
	* tree.h (count_type_elements): Add ALLOW_FLEXARR argument.
	* expr.c (count_type_elements): Add ALLOW_FLEXARR argument.
	If ALLOW_FLEXARR, handle types ending with flexible array member.
	Pass false as second argument to recursive count_type_elements calls.
	(categorize_ctor_elements_1, mostly_zeros_p): Pass false as second
	argument to count_type_elements call.
	* tree-sra.c (decide_block_copy): Likewise.
	* gimplify.c (gimplify_init_constructor): If num_type_elements < 0
	for a constant-sized object, set cleared as well.  Pass true as
	second argument to count_type_elements call.

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

From-SVN: r103389
2005-08-23 09:28:26 +02:00
Alan Modra 18b10a7276 missed in last commit
From-SVN: r103383
2005-08-23 12:21:53 +09:30
Alan Modra 0c380712e7 re PR target/21571 (ICE in rs6000.c with -msdata=default.)
PR target/21571
	* config/rs6000/rs6000.c (rs6000_legitimate_small_data_p): Rename
	from legitimate_small_data_p, and make global.  Update use.
	Remove forward declaration.
	* config/rs6000/rs6000-protos.h (rs6000_legitimate_small_data_p):
	Declare.
	* config/rs6000/rs6000.md (movdf_hardfloat32): Allow small data mems.

From-SVN: r103382
2005-08-23 12:09:56 +09:30
David Edelsohn d0515b3965 rs6000.md (eq<mode>): Use output operand instead of scratch intermediates.
* config/rs6000/rs6000.md (eq<mode>): Use output operand instead
        of scratch intermediates.
        (eq<mode>_compare): Same.
        (neg_eq0<mode>): New.
        (neg_eq<mode>): Convert to define_insn_and_split.

From-SVN: r103379
2005-08-22 22:08:36 -04:00
Tom Tromey 6bd2fcdadc re PR libgcj/23498 (libgcj/classpath add two undesired info files: hacking.info, vmintegration.info)
PR libgcj/23498:
	* doc/Makefile.am (info_TEXINFOS): Commented out.
	* doc/Makefile.in: Rebuilt.

From-SVN: r103378
2005-08-23 01:46:49 +00:00
Geoffrey Keating 96d06af84b 1.cc: XFAIL on darwin8.
* testsuite/23_containers/vector/resize/1.cc: XFAIL on darwin8.
	* testsuite/27_io/ios_base/storage/2.cc: Likewise.

From-SVN: r103377
2005-08-23 01:16:45 +00:00
Ben Elliston 5464337b7f * gcc_update: Update dependencies for libjava/aclocal.m4.
From-SVN: r103376
2005-08-23 10:55:08 +10:00
Alan Modra c1fa753e42 re PR target/23070 ([3.4 only] CALL_V4_CLEAR_FP_ARGS flag not properly set)
PR target/23070
	* config/rs6000/rs6000.c (function_arg): For ABI_V4 calls to
	stdarg functions, set/clear the fp marker even when no variable
	args are passed.
	* config/rs6000/sysv4.opt (mprototype): Describe.

From-SVN: r103375
2005-08-23 10:03:18 +09:30
GCC Administrator a0940ff608 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r103370.2
2005-08-23 00:16:18 +00:00
James E Wilson 75389255ac Fix FreeBSD fopen instrumentation.
* mf-hooks2.c (MF_REGISTER_fopen): Define to __MF_TYPE_STATIC when
__FreeBSD__ is defined.

From-SVN: r103368
2005-08-22 17:12:18 -07:00
Ben Elliston 7768a94a9a * gcc.c-torture/execute/ieee/ieee.exp: Load gcc-dg.exp library.
From-SVN: r103365
2005-08-23 09:59:14 +10:00
Jim Wilson 94b0413aaf Correct PR number in last patch checked in.
PR tree-optimization/23426
* decl.c (grokdeclarator): Use TYPE_SIZE_UNIT not TYPE_SIZE for
array size check.

From-SVN: r103364
2005-08-22 16:56:29 -07:00
James E Wilson 96ce2ac9e8 Partial fix for too large arrays.
PR tree-optimization/21105
* decl.c (grokdeclarator): Use TYPE_SIZE_UNIT not TYPE_SIZE for
array size check.

From-SVN: r103363
2005-08-22 16:52:22 -07:00
Tom Tromey 10cbe699ce re PR libgcj/22622 (gnu/classpath/Configuration.java being grep'ed for before created)
PR libgcj/22622:
	* configure: Rebuilt.
	* configure.ac: Correctly create Configuration.java (for
	temporary use).

From-SVN: r103362
2005-08-22 22:39:11 +00:00
Kelley Cook 029e5fc0c5 Makefile.am (ACLOCAL_AMFLAGS): Also include "..".
2005-08-22  Kelley Cook  <kcook@gcc.gnu.org>

	* Makefile.am (ACLOCAL_AMFLAGS): Also include "..".
	* acinclude.m4: Delete.  Extract CHECK_FOR_BROKEN_MINGW_LD to ...
	* mingwld.m4: ... this new file.
	* aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
	* include/Makefile.in, testsuite/Makfile.in: Regenerate.

From-SVN: r103361
2005-08-22 22:36:35 +00:00
Kelley Cook 9c8f164b94 Makefile.am (ACLOCAL_AMFLAGS): New.
2005-08-22  Kelley Cook  <kcook@gcc.gnu.org>

	* Makefile.am (ACLOCAL_AMFLAGS): New.
	* Makefile.in: Regenerate.

From-SVN: r103358
2005-08-22 21:51:59 +00:00
Tom Tromey 03192b9875 re PR libgcj/23498 (libgcj/classpath add two undesired info files: hacking.info, vmintegration.info)
PR libgcj/23498:
	* doc/Makefile.am (info_TEXINFOS): Commented out.
	* doc/Makefile.in: Rebuilt.

From-SVN: r103353
2005-08-22 20:01:53 +00:00
Jakub Jelinek 27004606de re PR rtl-optimization/23478 (Miscompilation due to reloading of a var that is also used in EH pad)
PR rtl-optimization/23478
	* regs.h (reg_info): Add throw_calls_crossed.
	(REG_N_THROWING_CALLS_CROSSED): Define.
	* flow.c (allocate_reg_life_data): Initialize
	REG_N_THROWING_CALLS_CROSSED.
	(propagate_one_insn, attempt_auto_inc): Update
	REG_N_THROWING_CALLS_CROSSED.
	* global.c (global_alloc): Don't allocate pseudos across
	calls that may throw.

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

From-SVN: r103348
2005-08-22 18:58:50 +02:00
Aldy Hernandez ad685e8112 * MAINTAINERS: Add self as ms1 maintainer.
From-SVN: r103347
2005-08-22 16:54:35 +00:00
Andrew Pinski d9e99a3721 Fix PR number in changelog:
2005-08-22  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c/18715
        * gcc.dg/switch-warn-3.c: New test.

From-SVN: r103344
2005-08-22 09:25:57 -07:00
Andrew Pinski 201ae393e6 re PR c/18715 (warning: "enumeration value not handled in switch" for '...' ranges)
2005-08-22  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c/18715
        * c-common.c (c_do_switch_warnings): Look for a node where the enum's
        value is inbetween the range if we did not find an exact match.

2005-08-22  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c/18175
        * gcc.dg/switch-warn-3.c: New test.

From-SVN: r103343
2005-08-22 09:21:18 -07:00
Aldy Hernandez c85ba4fb34 invoke.texi (Option Summary): Add ms1 options.
* doc/invoke.texi (Option Summary): Add ms1 options.
	* doc/extend.texi: Document interrupt handler attribute for ms1.
	* doc/md.texi: Document ms1 constraints.
	* config.gcc: Add ms1-*-elf.
	* config/ms1/ms1.h: New.
	* config/ms1/ms1.c: New.
	* config/ms1/ms1.md: New.
	* config/ms1/ms1-protos.h: New.
	* config/ms1/ABI.txt: New.
	* config/ms1/crti.asm: New.
	* config/ms1/crtn.asm: New.
	* config/ms1/lib2extra-funcs.c: New.
	* config/ms1/t-ms1: New.
	* config/ms1/ms1.opt: New.

From-SVN: r103342
2005-08-22 16:12:14 +00:00
Volker Reichelt f1cc051537 re PR c++/22233 (ICE with wrong number of template parameters)
PR c++/22233
	* pt.c (push_template_decl_real): Return error_mark_node if the
	number of template parameters does not match previous definition.

	* g++.dg/template/param1.C: New test.

From-SVN: r103339
2005-08-22 09:48:26 +00:00
Volker Reichelt dff1b563b3 re PR c++/23089 (internal compiler error: in int_mode_for_mode, at stor-layout.c:251 at -O1)
PR c++/23089
	* decl.c (require_complete_types_for_parms): Mark incomplete types
	as invalid.

	* g++.dg/other/incomplete1.C: New test.

From-SVN: r103336
2005-08-22 08:37:17 +00:00
Ira Rosen 70a39602ab altivec.md (xorv4sf3): New.
* config/rs6000/altivec.md (xorv4sf3): New.
        (negv4sf2, neg<mode>2): Likewise.

From-SVN: r103335
2005-08-22 08:13:18 +00:00
H.J. Lu 85199961c5 re PR target/23485 ([ia64]: Integer dvide by zero doesn't raise a signal)
PR target/23485
        * config/ia64/ia64.md (divsi3): Check divide by zero.
        (udivsi3): Likewise.
        (divdi3): Likewise.
        (udivdi3): Likewise.

From-SVN: r103331
2005-08-21 20:07:43 -07:00
Steven G. Kargl 46fa431d51 * decl.c: Typo in comment.
From-SVN: r103330
2005-08-22 00:21:40 +00:00
GCC Administrator 332aade2ee Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r103327.2
2005-08-22 00:16:16 +00:00
John David Anglin 38fa6e732a re PR libgcj/23507 (gij testsuite failures)
PR libgcj/23507
	* stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Fix typo in newLength
	assignment.  Cast operands of compare to function pointer type.

From-SVN: r103325
2005-08-21 23:35:46 +00:00
Tom Tromey aa5190e9dc * HACKING: Updated for hacking classpath in libgcj.
From-SVN: r103324
2005-08-21 23:24:58 +00:00
Steven G. Kargl beb6ae889f * array.c: Bump GFC_MAX_AC_EXPAND from 100 to 65535.
From-SVN: r103323
2005-08-21 22:04:35 +00:00
Tobias Schlüter e0bcf78cc8 gfortran.h (gfc_option_t): Remove source field.
fortran/
	* gfortran.h (gfc_option_t): Remove source field.  Add
	flag_d_lines field.
	(gfc_new_file): Remove arguments in prototype.
	(gfc_source_file): Make 'const char *'.
	* f95-lang.c (gfc_init): Use gfc_source_file instead of
	gfc_option.source.  Call gfc_new_file without arguments.
	* invoke.texi: Document new options '-fd-lines-as-code' and
	'-fd-lines-as-comment'.
	* lang.opt: Add new options.  Alphabetize.
	* options.c (gfc_init_options): Initialize gfc_source_file instead
	of gfc_option.source.  Initialize gfc_option.flag_d_lines.
	(form_from_filename): Move here from scanner.c.  Make
	'filename' argument 'const'.
	(gfc_post_options): Set gfc_source_file.  Determine source form.
	Warn if 'd-lines*' are used in free form.
	* scanner.c (gfc_source_file): Constify.
	(skip_fixed_comments): Deal with d-lines.
	(get_file): Constify argument 'name'.
	(load_file): Constify argument 'filename'.
	(form_from_filename): Moved to options.c.
	(gfc_new_file): Remove arguments.  Don't initialize
	gfc_source_file, don't determine source form.
	* trans-const.c (gfc_init_constants): Use gfc_source_file instead
	of gfc_option.source.

testsuite/
	* d_lines_1.f, d_lines_2.f, d_lines_3.f, d_lines_4.f,
	d_lines_5.f: New.

From-SVN: r103322
2005-08-21 17:28:27 +02:00
Jakub Jelinek 1125164cd3 simplify-rtx.c (simplify_immed_subreg): Only clear up to elem_bitsize bits, not max_bitsize.
* simplify-rtx.c (simplify_immed_subreg) <case CONST_DOUBLE>: Only clear
	up to elem_bitsize bits, not max_bitsize.

	* gcc.target/i386/sse-4.c: New test.

From-SVN: r103318
2005-08-21 15:27:56 +02:00
Sebastian Pop 3c0c8f9dff re PR tree-optimization/23433 (ICE: tree check: expected real_cst, have integer_cst in const_binop, at fold-const.c:1512)
PR tree-optimization/23433
        * tree-chrec.c (chrec_apply): Translate INTEGER_CST to a
        REAL_CST when the type is SCALAR_FLOAT_TYPE_P.

From-SVN: r103317
2005-08-21 10:59:15 +00:00