Commit Graph

70279 Commits

Author SHA1 Message Date
Oyvind Harboe 5887a1bb9c re PR testsuite/21073 (Incorrect declaration of member variable in p3060d.C testcase)
2005-07-23  Oyvind Harboe  <oyvind.harboe@zylin.com>

        PR testsuite/21073
        * g++.old-deja/g++.mike/p3060d.C: Fix type of VoidObjMemberFunc.

        PR testsuite/20454
        * gcc.dg/20001117-1.c: Fix type of __cyg_profile_func_enter
        and __cyg_profile_func_exit.

From-SVN: r102306
2005-07-22 21:49:57 -07:00
David Edelsohn 43aa51814c comma_format_extension_3.f: Fix typo.
* gfortran.dg/comma_format_extension_3.f: Fix typo.
        * gfortran.dg/comma_format_extension_4.f: Same.
        * gfortran.dg/pr15332.f: Same.
        * gfortran.dg/pr21730.f: Same.

From-SVN: r102305
2005-07-22 23:26:27 -04:00
Andrew Pinski 163f101829 vrp2.C: Fix testcase.
2005-07-22  Andrew Pinski  <pinskia@physics.uc.edu>

        * g++.dg/opt/vrp2.C: Fix testcase.

From-SVN: r102304
2005-07-22 19:32:25 -07:00
Andrew Pinski 452f9012f4 re PR tree-optimization/22625 (-ftree-vrp produces wrong code)
2005-07-22  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/22625
        * g++.dg/opt/vrp2.C: New test.

From-SVN: r102303
2005-07-22 19:20:30 -07:00
GCC Administrator 2188985147 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r102301.2
2005-07-23 00:16:12 +00:00
SUGIOKA Toshinobu 583a92e874 sysv.S (ffi_call_SYSV): Stop argument popping correctly on sh3.
* src/sh/sysv.S (ffi_call_SYSV): Stop argument popping correctly
	on sh3.
	(ffi_closure_SYSV): Change the stack layout for sh3 struct argument.
	* src/sh/ffi.c (ffi_prep_args): Fix sh3 argument copy, when it is
	partially on register.
	(ffi_closure_helper_SYSV): Likewise.
	(ffi_prep_cif_machdep): Don't set too many cif->flags.

From-SVN: r102298
2005-07-22 22:56:27 +00:00
Tom Tromey 46a2c9d2d1 Makefile.in: Rebuilt.
* include/Makefile.in: Rebuilt.
	* include/Makefile.am (tool_include__HEADERS): Include
	classpath's jni.h.

From-SVN: r102296
2005-07-22 20:45:36 +00:00
DJ Delorie d2fcbf6f86 c-objc-common.c (c_cannot_inline_tree_fn): Add warning control to warning calls.
* c-objc-common.c (c_cannot_inline_tree_fn): Add warning control
to warning calls.
* tree-inline.c (inlinable_function_p): Likewise.

From-SVN: r102289
2005-07-22 14:09:37 -04:00
Jerry DeLisle d1cc97e081 re PR libfortran/22570 (Null Characters instead of blanks in text output.)
2005-07-22 Jerry DeLisle <jvdelisle@verizon.net>

	PR libfortran/22570
	* io/unit.c (init_units): Replace BLANK_ZERO with
	BLANK_UNSPECIFIED.

From-SVN: r102288
2005-07-22 17:43:31 +00:00
Mark Mitchell 9881e3e5e8 re PR debug/21828 (debug info omitted for uninitialized variables)
PR debug/21828
	* toplev.c (check_global_declarations): Do not mark undefined
	variables as DECL_IGNORED_P.
	* varasm.c (first_global_object_name): GTY it.
	(weak_global_object_name): Likewise.
	(notice_global_symbol): Use ggc_strdup, not xstrdup, when creating
	a string to go into {weak,first}_global_object_name.

	PR debug/21828
	* gcc.dg/debug/dwarf2/dwarf-uninit.c: New test.

From-SVN: r102287
2005-07-22 17:40:37 +00:00
DJ Delorie 1a8d0d41ac c-format.c (check_function_format): Change warning control option from OPT_Wattribute to OPT_Wmissing_format_attribute.
* c-format.c (check_function_format): Change warning control
option from OPT_Wattribute to OPT_Wmissing_format_attribute.

From-SVN: r102286
2005-07-22 13:10:34 -04:00
Paul Thomas 94e2b58a28 [multiple changes]
2005-07-22 Jerry DeLisle <jvdelisle@verizon.net>

	PR libfortran/21875  (FM111.f)
	* io/read.c (next_char): Return a ' ' character when BLANK_ZERO
	or BLANK_NULL are active.
	(read_decimal): Interpret ' ' character correctly for BZ or BN.
	(read_radix): Interpret ' ' character correctly for BZ or BN.
	(read_f): Interpret ' ' character correctly for BZ or BN.

2005-07-22 Paul Thomas  <pault@gcc.gnu.org>

	PR libfortran/22570
	* read.c (read_x): Correct the condition for doing the
	x-editing during formatted input.
	* transfer.c (formatted_transfer): Cast offset difference
	as int, clean-up arithmetic with new variable, bytes_used,
	zero counters for FMT_SLASH,
	(data_transfer_init) Zero X- and T-editing counters
	unconditionally.
	(next_record_w) Zero X- and T-editing counters.
	unconditionally.

From-SVN: r102284
2005-07-22 14:07:19 +00:00
Diego Novillo 17c7e33e8c tree-ssa-alias.c (count_ptr_derefs): Do not consider &PTR->FLD a dereference of PTR.
* tree-ssa-alias.c (count_ptr_derefs): Do not consider
        &PTR->FLD a dereference of PTR.
        * tree-ssa-structalias.c (update_alias_info): Consider &PTR->FLD
        a potential dereference of PTR.

testsuite/ChangeLog

        * gcc.dg/tree-ssa/20050719-1.c: New test.

From-SVN: r102283
2005-07-22 09:39:18 -04:00
J"orn Rennecke 191e1ff2f5 re PR rtl-optimization/20370 (dead_or_predictable doesn't resize reg_n_info)
PR rtl-optimization/20370
	* ifcvt.c (dead_or_predicable): Before calling propagate_block,
	call allocate_reg_info if necessary.

From-SVN: r102282
2005-07-22 13:25:20 +01:00
J"orn Rennecke 475a3eef78 re PR rtl-optimization/21848 (load_mems / replace_loop_mems bug causes miscompilation of jcf-io.c / SEGV while processing java/lang/AbstractMethodError)
PR rtl-optimization/21848
	* calls.c (emit_library_call_value_1): For const functions, add
	USEs of the stack slots to CALL_INSN_FUNCTION_USAGE.

From-SVN: r102281
2005-07-22 13:15:37 +01:00
J"orn Rennecke 29c1846ba3 re PR rtl-optimization/22445 (Optimizations done by cselib depend on pointer values)
PR rtl-optimization/22445
	* cselib.c (target.h): Include.
	(rtx_equal_for_cselib_p): Allow commutative matches.
	(cselib_hash_rtx): Don't use MODE for CONST_INT hashing.
	Remove MODE parameter.  Changed all callers.

From-SVN: r102280
2005-07-22 13:06:18 +01:00
J"orn Rennecke 45002e594c re PR rtl-optimization/22258 (combine causes spill failure on return value register)
PR rtl-optimization/22258
	* combine.c (likely_spilled_retval_1, likely_spilled_retval_p):
	New functions.
	(try_combine): Use likely_spilled_retval_p.

From-SVN: r102279
2005-07-22 12:55:42 +01:00
Paul Woegerer db8697336f config.gcc: Add crx-elf support.
* config.gcc: Add crx-elf support.

        * doc/contrib.texi: Mention crx.
        * doc/extend.texi: Document crx extensions.
        * doc/install.texi: Document crx install.
        * doc/invoke.texi: Document crx options.
        * doc/md.texi: Document crx constraints.

        * config/crx/crx-protos.h: New file.
        * config/crx/crx.c: New file.
        * config/crx/crx.h: New file.
        * config/crx/crx.md: New file.
        * config/crx/crx.opt: New file.
        * config/crx/t-crx: New file.

From-SVN: r102278
2005-07-22 09:49:48 +00:00
Bernd Schmidt 0fb6f88ac7 bfin-longcall-1.c: New file.
* gcc.dg/bfin-longcall-1.c: New file.
	* gcc.dg/bfin-longcall-2.c: New file.

From-SVN: r102277
2005-07-22 09:46:30 +00:00
Manfred Hollstein 32cafd7366 tree-ssa-structalias.c (merge_graph_nodes): Fix uninitialised warnings.
gcc/ChangeLog:

	* tree-ssa-structalias.c (merge_graph_nodes): Fix uninitialised
	warnings.
	(int_add_graph_edge): Likewise.
	(collapse_nodes): Likewise.
	(process_unification_queue): Likewise.

gcc/cp/ChangeLog:

	* parser.c (cp_parser_declaration): Fix unitialised warnings.

gcc/fortran/ChangeLog:

	* match.c (gfc_match_symbol): Fix uninitialised warnings.
	* matchexp.c (gfc_match_expr): Likewise.

gcc/java/ChangeLog:

	* verify-impl.c (check_class_constant): Fix uninitialised warnings.
	(check_constant): Likewise.
	(check_wide_constant): Likewise.

From-SVN: r102273
2005-07-22 07:31:32 +00:00
Richard Kenner ee184c4def re PR tree-optimization/22336 (ICE Segfault in record_block_change at function.c:5498)
2005-07-22  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
            Laurent GUERBY  <laurent@guerby.net>

        PR tree-optimization/22336
        * function.c (record_block_change): Check for
        cfun->ib_boundaries_block.

Co-Authored-By: Laurent GUERBY <laurent@guerby.net>

From-SVN: r102272
2005-07-22 07:13:42 +00:00
Ben Elliston f4f94d6bc0 getopt.c: Include "ansidecl.h".
* getopt.c: Include "ansidecl.h".
	(_getopt_initialize): Mark argc and argv parameters as unused.

From-SVN: r102271
2005-07-22 14:24:05 +10:00
Ben Elliston 8cfb7ab7a2 * regex.c (regcomp): Change type of `i' from unsigned to int.
From-SVN: r102270
2005-07-22 13:55:44 +10:00
James A. Morrison b49ceb450f fold-const.c (fold_unary): Don't strip signed nops from ABS_EXPRs.
2005-07-21  James A. Morrison  <phython@gcc.gnu.org>

        * fold-const.c (fold_unary): Don't strip signed nops from ABS_EXPRs.
        (tree_expr_nonnegative_p): Return try for TYPE_UNSIGNED.

From-SVN: r102269
2005-07-22 03:48:00 +00:00
Ben Elliston b4db223f6e Recover patch lost in the sourceware repository:
2005-07-09  Ben Elliston  <bje@au.ibm.com>
	* memcpy.c: Remove ANSI_PROTOTYPES conditional code.
	* memmove.c: Likewise.
	* objalloc.c: Likewise.

From-SVN: r102268
2005-07-22 13:21:19 +10:00
Ben Elliston 8b82b72482 configure.ac: Check for a getopt(3) declaration.
* configure.ac: Check for a getopt(3) declaration.
	* configure, config.in: Regenerate.

From-SVN: r102267
2005-07-22 13:14:38 +10:00
DJ Delorie 30480ec4bb ... Add warning control to warning call.
* c-common.c (check_function_sentinel): Likewise.
(check_nonnull_arg): Likewise.

From-SVN: r102266
2005-07-21 23:11:24 -04:00
DJ Delorie c303630a7d c-typeck.c (parser_build_binary_op): Add warning control to warning calls.
* c-typeck.c (parser_build_binary_op): Add warning control to warning
calls.
(c_finish_if_stmt): Likewise.

From-SVN: r102265
2005-07-21 22:35:54 -04:00
DJ Delorie 30c54de9f2 toplev.c (warn_deprecated_use): Add warning control to warning call.
* toplev.c (warn_deprecated_use): Add warning control to warning
call.

From-SVN: r102264
2005-07-21 22:10:23 -04:00
Richard Henderson 95a8c15572 re PR tree-optimization/22504 (benchmark - galgel fails at runtime with miscompare output)
PR tree-opt/22504
        * tree-complex.c (complex_ssa_name_components): New.
        (cvc_lookup): Allow entry not found.
        (create_components): Remove.
        (create_one_component_var, get_component_var): New.
        (get_component_ssa_name, set_component_ssa_name): New.
        (extract_component): Use get_component_ssa_name.
        (update_complex_components): Use set_component_ssa_name.
        (update_complex_components_on_edge): Likewise.
        (update_phi_components): Create new PHI nodes directly, instead
        of adding insns to edges.
        (tree_lower_complex): Allocate and free complex_variable_components
        and complex_ssa_name_components here.

From-SVN: r102260
2005-07-21 17:33:46 -07:00
GCC Administrator f3cd1ce2f2 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r102258.2
2005-07-22 00:16:52 +00:00
Daniel Berlin c05a07664e alias.c (nonoverlapping_component_refs_p): Use TYPE_MAIN_VARIANT, revert to returning false.
2005-07-20  Daniel Berlin  <dberlin@dberlin.org>

	* alias.c (nonoverlapping_component_refs_p): Use TYPE_MAIN_VARIANT,
	revert to returning false.

From-SVN: r102256
2005-07-21 22:34:33 +00:00
Janis Johnson 58669148c9 * gcc.c-torture/compile/20050721-1.c: New test for 3.4 fix.
From-SVN: r102252
2005-07-21 22:00:27 +00:00
Uros Bizjak de343c8d7f re PR target/21149 (invalid code generation for _mm_movehl_ps SSE intrisinc)
PR target/21149
        * config/i386/i386.md (sse_movhlps): Fix vec_select values.

From-SVN: r102250
2005-07-21 12:59:09 -07:00
Uros Bizjak 5acc26efac re PR target/22576 (ICE with simple factorial program compiled with -ffast-math on gcc 4.0.2)
PR target/22576
        * config/i386/i386.md (cmpxf): Change operand constraints
        to "nonmemory_operand".

From-SVN: r102247
2005-07-21 12:55:03 -07:00
Andrew Pinski 61cb44fe9b i386.md (trap): Use "".word/t0x0b0f" instead of ud2.
2005-07-21  Andrew Pinski  <pinskia@physics.uc.edu>

        * config/i386/i386.md (trap): Use "".word/t0x0b0f" instead of ud2.

From-SVN: r102246
2005-07-21 12:51:49 -07:00
Andrew Pinski aa8f5c20ec class.c (build_base_path): Fix typo.
2005-07-21  Andrew Pinski  <pinskia@physics.uc.edu>

        * class.c (build_base_path): Fix typo.

From-SVN: r102245
2005-07-21 12:43:47 -07:00
Andrew Pinski e2fe73f62b re PR middle-end/21180 (checking on fold no longer happens in some cases)
2005-07-21  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/21180
        * fold-const.c (fold_build1): Add checksum for the operands.
        (fold_build2): Likewise.
        (fold_build3): Likewise.

From-SVN: r102244
2005-07-21 12:36:50 -07:00
Andrew Pinski 9d24eb542c re PR tree-optimization/19055 (Minor bit optimization with or and xor)
2005-07-21  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/19055
        * gcc.dg/tree-ssa/pr19055.c: New test.
        * gcc.dg/tree-ssa/pr19055-2.c: New test.

2005-07-21  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/19055
        * fold-const.c (fold_binary): Transform "(X | Y) ^ X" to "Y & ~ X".

From-SVN: r102243
2005-07-21 12:33:45 -07:00
Eric Christopher 35f5a23f7b MAINTAINERS: Change affiliation.
2005-07-21  Eric Christopher  <echristo@apple.com>

        * MAINTAINERS: Change affiliation.

From-SVN: r102241
2005-07-21 18:32:27 +00:00
Andrew Pinski 757d1b8848 re PR c++/22358 (C++ front-end produces mis-match types in MODIFY_EXPR)
2005-07-21  Andrew Pinski  <pinskia@physics.uc.edu>

        PR C++/22358
        * g++.dg/other/pr22358.C: New test.


2005-07-21  Andrew Pinski  <pinskia@physics.uc.edu>

        PR C++/22358
        * class.c (build_base_path): Convert BINFO_OFFSET to the correct type.

From-SVN: r102240
2005-07-21 11:29:05 -07:00
Paolo Bonzini b2e0afa038 common.opt (-fforward-propagate): Committed by mistake, removed.
2005-07-21  Paolo Bonzini  <bonzini@gnu.org>

	* common.opt (-fforward-propagate): Committed by mistake,
	removed.

From-SVN: r102239
2005-07-21 17:27:27 +00:00
Paul Woegerer ff3ddf1585 * Updated ChangeLog
From-SVN: r102238
2005-07-21 16:08:13 +00:00
Paul Woegerer 6a9da7becb * MAINTAINERS: Added myself as crx-port maintainer.
From-SVN: r102237
2005-07-21 15:46:10 +00:00
Douglas Gregor 5b8ce8f102 re PR c++/2922 ([DR 197] two-stage lookup for unqualified function calls with type-dependent arguments)
2005-07-21  Douglas Gregor  <doug.gregor@gmail.com>

	PR c++/2922
	* g++.dg/lookup/two-stage5.C: New test from bug comments.

From-SVN: r102236
2005-07-21 15:14:59 +00:00
Volker Reichelt b8bcbe3ae8 re PR c++/15938 (ICE with anonymous unions)
PR c++/15938
	* g++.dg/init/union2.C: New test.

From-SVN: r102235
2005-07-21 14:50:46 +00:00
Doug Gregor f339fc8e61 Completed this ChangeLog entry:
2005-07-20  Douglas Gregor <doug.gregor@gmail.com>

        PR c++/2922
        * semantics.c (perform_koenig_lookup): For dependent calls, just
        return the set of functions we've found so far. Later, it will be
        augmented by those found through argument-dependent lookup.
        * name-lookup.c (lookup_arg_dependent): Implement DR 164 by removing
        the optimization that skips namespaces where the functions were
        originally found.

From-SVN: r102234
2005-07-21 14:18:52 +00:00
Volker Reichelt 2e48874fee reg-stack.c: Fix comment typo(s).
* reg-stack.c: Fix comment typo(s).
	* tree-ssa-operands.c: Likewise.
	* tree-vectorizer: Likewise.

From-SVN: r102232
2005-07-21 11:53:00 +00:00
Volker Reichelt c72a1a8673 call.c: Fix comment typo(s).
* call.c: Fix comment typo(s).
	* cxx-pretty-print.h: Likewise.
	* name-lookup.c: Likewise.
	* parser.c: Likewise.

From-SVN: r102231
2005-07-21 10:33:31 +00:00
Volker Reichelt 423c1d1c54 re PR other/22393 (ICE in emit_move_insn, at expr.c:3142)
PR c/22393
	* gcc.dg/complex-4.c: New test.

From-SVN: r102229
2005-07-21 09:57:05 +00:00