- 18 Dec, 2004 8 commits
-
-
* tree-nested.c (save_tmp_var): New. (struct walk_stmt_info): Add is_lhs. (walk_stmts) <MODIFY_EXPR>: Be more accurate with setting of val_only; set is_lhs. (convert_nonlocal_reference): Use save_tmp_var when is_lhs; clear is_lhs when appropriate. (convert_local_reference): Likewise. From-SVN: r92357
Richard Henderson committed -
* arm/ieee754-sf.S (floatdisf): Fix label definition in FPA compatibility code. From-SVN: r92356
Richard Earnshaw committed -
2004-12-18 H.J. Lu <hongjiu.lu@intel.com> * Makefile.in (top_builddir): Set to `.'. (OUTPUT_OPTION): Removed. (LIBTOOL): New. (LTLIBOBJS): New. (EXTRA_LTOFILES): New. (FLAGS_TO_PASS): Add EXTRA_LTOFILES. (all): Remove stamp-picdir. (LTCOMPILE): New. (.c.lo): New rule. (REQUIRED_LTOFILES): New. (CONFIGURED_LTOFILES): New. ($(TARGETLIB)): Check .libs for PIC object files. Depend on $(REQUIRED_LTOFILES) $(EXTRA_LTOFILES) $(LTLIBOBJS). (stamp-picdir): Completely removed. (maint-missing): Pass $(REQUIRED_LTOFILES) $(CONFIGURED_LTOFILES) instead of (REQUIRED_OFILES) $(CONFIGURED_OFILES) (maint-buildall): Depend on $(REQUIRED_LTOFILES) $(CONFIGURED_LTOFILES). (mostlyclean): Also remove *.lo .libs. Run "make maint-deps". * aclocal.m4: Include ../libtool.m4. * config.table: Don't check --enable-shared. * configure.ac (AC_PROG_LIBTOOL): Add. (AC_PROG_CC_C_O): Removed. (OUTPUT_OPTION): Removed. (NO_MINUS_C_MINUS_O): Removed. (ltpexecute): New substitute. (LIBOBJS): Cleanup. * configure: Regenerated. * maint-tool: Updated for .lo/libtool. From-SVN: r92353
H.J. Lu committed -
* ifcvt.c (total_bb_rtx_cost): Rename function to cheap_bb_rtx_cost_p. Take a max_cost argument to avoid scanning large blocks, by returning a Boolean instead of a total. Include the cost of a "fstp %st(0)" instruction required to pop dead values off of a register stack. From-SVN: r92352
Roger Sayle committed -
PR middle-end/18548 * expr.c (expand_expr_real_1) <MAX_EXPR>: Ensure that target, op0 and op1 are all registers (or constants) before expanding the RTL comparison sequence [to avoid reg_overlap_mentioned (target, op1)]. * gcc.dg/max-1.c: New test case. From-SVN: r92351
Roger Sayle committed -
PR rtl-optimization/16968 * loop.c (scan_loop): Stop scanning the loop for movable insns as soon as an optimization barrier is encountered. From-SVN: r92348
Eric Botcazou committed -
re PR middle-end/18897 (/usr/ccs/bin/ld: Unsatisfied symbols: putchar (first referenced in build/gengenrtl.o) (data)) PR 18897 * toplev.c (compile_file): Call process_pending_assemble_externals just before targetm.asm_out.file_end. From-SVN: r92347
Zack Weinberg committed -
From-SVN: r92343
GCC Administrator committed
-
- 17 Dec, 2004 19 commits
-
-
* MAINTAINERS: Move myself to OS Port Maintainers for windows, cygwin, mingw. From-SVN: r92340
Danny Smith committed -
tree-optimize.c (init_tree_optimization_passes): Run pass_late_warn_uninitialized before the last DCE run. tree-optimization/18501 * tree-optimize.c (init_tree_optimization_passes): Run pass_late_warn_uninitialized before the last DCE run. testsuite/ChangeLog: * gcc.dg/pr18501.c: New test. * gcc.dg/uninit-5.c: XFAIL. * gcc.dg/uninit-9.c: XFAIL. From-SVN: r92337
Diego Novillo committed -
* config/i386/i386.c (x86_64_reg_class_name): Re-indent. (classify_argument, examine_argument, construct_container, merge_classes): Remove prototypes. (type_natural_mode): Split out from ... (function_arg): ... here. (gen_reg_or_parallel): Remove alt_mode argument. Update callers. Use orig_mode unless it's BLKmode. (construct_container): Add orig_mode argument. Update callers. Use gen_reg_or_parallel for SSE registers. (ix86_function_value): Use type_natural_mode. (ix86_gimplify_va_arg): Likewise. (ix86_hard_regno_mode_ok): Always accept all SSE, MMX, 3DNOW modes in SSE registers; always accept all MMX, 3DNOW modes in MMX registers. * config/i386/i386.h (VALID_SSE2_REG_MODE): Don't include VALID_MMX_REG_MODE. * config/i386/i386.md (attribute mode): Add V1DF. (movsi_1): Use 'x' instead of 'Y' constraints. (movsi_1_nointernunit, movdi_2, movdi_1_rex64): Likewise. (movdi_1_rex64_nointerunit): Likewise. (movdf_nointeger, movdf_integer): Likewise. Handle SSE1. (movsf_1, movsf_1_nointerunit): Line up constraint alternatives. (swapsf): Use fp_register_operand, don't disable for TARGET_SSE. (swapdf): Likewise. (swapxf): Enable only for TARGET_80387. (movv2sf, movv2sf_internal, pushv2sf): Enable for MMX. (movtf): Remove double-check for TARGET_64BIT. (movv2df_internal): Enable for SSE1. (movv8hi_internal, movv16qi_internal): Likewise. (movv2df, movv8hi, movv16qi): Likewise. (pushv2di, pushv8hi, pushv16qi, pushv4si): Likewise. (pushdi2_rex64, movv4sf_internal, movv4si_internal, movv2di_internal, movv8qi_internal, movv4hi_internal, movv2sf_internal, movv2df_internal, movv8hi_internal, movv16qi_internal, movti_internal): Add leading '*' to name. From-SVN: r92336
Richard Henderson committed -
c-decl.c (diagnose_mismatched_decls): Accept mismatched function types: void with previous implicit int. 2004-12-17 Dale Johannesen <dalej@apple.com> * c-decl.c (diagnose_mismatched_decls): Accept mismatched function types: void with previous implicit int. From-SVN: r92329
Dale Johannesen committed -
[gcc/testsuite/ChangeLog] 2004-12-17 Ziemowit Laski <zlaski@apple.com> * objc.dg/stabs-1.m: Allow assembly label to begin with a dot ('.'). From-SVN: r92328
Ziemowit Laski committed -
* init.c (build_zero_init): max_index is the number of elements, minus 1. From-SVN: r92323
Steven Bosscher committed -
* gcc.c-torture/execute/20041213-1.c: Move... * gcc.c-torture/execute/ieee/20041213-1.c: ...to here. From-SVN: r92318
Jakub Jelinek committed -
From-SVN: r92317
Nathan Sidwell committed -
cp: PR c++/17821 * class.c (add_method): Do not push conversion operators into a binding level. * cp-tree.h (CLASSTYPE_PRIMARY_TEMPLATE_TYPE): Reformat. * error.c (dump_decl): <TYPE_DECL case> Remove extraneous braces. testsuite: PR c++/17821 * g++.dg/lookup/conv-5.C: New. From-SVN: r92316
Nathan Sidwell committed -
2004-12-10 Andrew Haley <aph@redhat.com> PR java/15001 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Look up abstract methods by name. From-SVN: r92315
Andrew Haley committed -
2004-12-17 Andrew Haley <aph@redhat.com> PR java/18931 * typeck.c (convert): Use a CONVERT_EXPR when converting to BOOLEAN_TYPE or CHAR_TYPE. (convert_to_boolean, convert_to_char) : Remove. * convert.h (convert_to_boolean, convert_to_char) : Remove. * expr.c (expand_load_internal): Do type conversion if type is not as required. From-SVN: r92314
Andrew Haley committed -
2004-12-17 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.c (s390_gimplify_va_arg): Set alias set to s390_sr_alias_set. From-SVN: r92313
Andreas Krebbel committed -
2004-12-17 Jan Beulich <jbeulich@novell.com> PR target/17603 * config/i386/i386.c (enum x86_64_reg_class): Define X86_64_COMPLEX_X87_CLASS. (x86_64_reg_class_names): Add name for X86_64_COMPLEX_X87_CLASS. (merge_classes): Handle X86_64_COMPLEX_X87_CLASS. (classify_argument): XCmode is X86_64_COMPLEX_X87_CLASS. (examine_argument): X86_64_COMPLEX_X87_CLASS requires two registers when dealing with a return value. (construct_container): Handle X86_64_COMPLEX_X87_CLASS. Eliminate impossible case of two X87/X87UP pairs (this now is being expressed by a single COMPLEX_X87). (x86_libcall_value): XCmode gets returned in st0/st1. From-SVN: r92312
Jan Beulich committed -
tree.c (type_contains_placeholder_1): Always return false for VECTOR_TYPE if its TREE_TYPE does not contain a placeholder. * tree.c (type_contains_placeholder_1): Always return false for VECTOR_TYPE if its TREE_TYPE does not contain a placeholder. From-SVN: r92310
Steven Bosscher committed -
*extendsfdf2_1_sse_only): Unify enable constraint with respect to TARGET_SSE2, TARGET_80387, TARGET_SSE_MATH and TARGET_MIX_SSE_I387. (*extendsfdf2_i387): New insn pattern. (*extendsfdf2_1): Rename to *extendsfdf2_mixed. Fix register constraint for operand 0. (*extendsfdf2_1_sse_only): Rename to *extendsfdf2_sse. (*extend{s,d}fxf2_1): Rename to *extend{s,d}fxf2_i387. From-SVN: r92308
Uros Bizjak committed -
[gcc/testsuite/ChangeLog] 2004-12-16 Ziemowit Laski <zlaski@apple.com> * objc.dg/stabs-1.m: New test. From-SVN: r92302
Ziemowit Laski committed -
2004-12-16 Andrew Pinski <pinskia@physics.uc.edu> * gcc.dg/visibility-c.c: Change compile to assemble for the test. From-SVN: r92293
Andrew Pinski committed -
2004-12-16 Andrew Pinski <pinskia@physics.uc.edu> PR target/19041 * config/darwin.c (machopic_symbol_defined_p): Return false if the binds local and is a common symbol. 2004-12-16 Andrew Pinski <pinskia@physics.uc.edu> PR target/19041 * gcc.dg/visibility-c.c: New test. From-SVN: r92292
Andrew Pinski committed -
From-SVN: r92290
GCC Administrator committed
-
- 16 Dec, 2004 13 commits
-
-
* config/i386/i386.md (extv, extzv, insv): Revalidate the operand with ext_register_operand. From-SVN: r92287
Richard Henderson committed -
From-SVN: r92286
Kazu Hirata committed -
From-SVN: r92283
Joseph Myers committed -
PR tree-optimization/18707 * cfgloopmanip.c (create_preheader): Move the preheader only if the latch was falling through to the header. Co-Authored-By: Roger Sayle <roger@eyesopen.com> From-SVN: r92282
Eric Botcazou committed -
gcc PR target/18997 * config/i386/cygwin.h (GTHREAD_USE_WEAK): Define to 0. libstdc++-v3 PR target/18997 * config/os/newlib/os_defines.h (_GLIBCXX_GTHREAD_USE_WEAK): Define to 0 for __CYGWIN__. From-SVN: r92281
Danny Smith committed -
2004-12-16 Andrew Stubbs <andrew.stubbs@st.com> * configure.in (sh64-*-*): Reenable gprof. * configure: Regenerate. From-SVN: r92280
Andrew Stubbs committed -
* simplify-rtx.c (simplify_replace_rtx): Do not blindly replace hard registers. [[Split portion of a mixed commit.]] Co-Authored-By: Aldy Hernandez <aldyh@redhat.com> From-SVN: r92278.2
Richard Henderson committed -
2004-12-14 H.J. Lu <hongjiu.lu@intel.com> PR other/18508 * config/alpha/t-osf4 (SHLIB_LINK): Use `.backup' as the suffix to back up the existing shared library. * config/arm/t-netbsd (SHLIB_LINK): Likewise. * config/mips/t-slibgcc-irix (SHLIB_LINK): Likewise. * config/pa/t-hpux-shlib (SHLIB_LINK): Likewise. * config/sh/t-linux (SHLIB_LINK): Likewise. * config/t-libunwind-elf (SHLIBUNWIND_LINK): Likewise. * config/t-slibgcc-darwin (SHLIB_LINK): Likewise. * config/t-slibgcc-elf-ver (SHLIB_LINK): Likewise. * config/t-slibgcc-sld (SHLIB_LINK): Likewise. * config/i386/t-nwld (SHLIB_LINK): Don't use the temporary file. From-SVN: r92276
H.J. Lu committed -
* trans-intrinsic.c (build_fixbound_expr): Clarify comment, fix comment typo. From-SVN: r92274
Tobias Schlüter committed -
PR middle-end/18493 * gcc.dg/switch-8.c: New test case. From-SVN: r92271
Roger Sayle committed -
* Makefile.in (MD_DEPS, s-mddeps): New. (s-config, s-conditions, s-flags, s-codes, s-constants, s-emit, s-recog, s-opinit, s-extract, s-peep, s-attr, s-attrtab, s-output, s-preds): Depend on MD_DEPS instead of md_file. (genobjnames): Add genmddeps.o (build/genmddeps, build/genmddeps.o): New. (mostlyclean): Remove mddeps.mk. * genmddeps.c: New file. * gensupport.c (include_callback): New. (process_include): Call it. * gensupport.h (include_callback): Declare. From-SVN: r92269
Richard Henderson committed -
* local-alloc.c (block_alloc): Replace IN_RANGE with simple comparison. From-SVN: r92268
Nathan Sidwell committed -
2004-12-16 Paolo Carlini <pcarlini@suse.de> * include/tr1/type_traits: Implement add_const, add_volatile, and add_cv. * testsuite/tr1/4_metaprogramming/const_volatile_modifications/ add_const.cc: New. * testsuite/tr1/4_metaprogramming/const_volatile_modifications/ add_cv.cc: Likewise. * testsuite/tr1/4_metaprogramming/const_volatile_modifications/ add_volatile.cc: Likewise. From-SVN: r92265
Paolo Carlini committed
-