- 14 Apr, 2004 5 commits
-
-
* builtins.c (fold_builtin_cabs, fold_builtin): Use `mathfn_built_in' to determine the new builtin. * fold-const.c (fold): Likewise. From-SVN: r80680
Kaveh R. Ghazi committed -
* doc/invoke.texi: Rename MIPS's -mfix-vr4122-bugs to -mfix-vr4120. * config/mips/mips.h (MASK_FIX_VR4120): Renamed from MASK_FIX_VR4122. (TARGET_FIX_VR4120): Likewise TARGET_FIX_VR4122. (TARGET_SWITCHES): Replace -mfix-vr4122-bugs with -mfix-vr4120. (ASM_SPEC): Update accordingly. * config/mips/mips.c: Update after above renaming. * config/mips/mips.md, config/mips/t-vr, config/mips/vr.h: Likewise. * config/mips/vr4120-div.S: Renamed from vr4122-div.S. From-SVN: r80679
Richard Sandiford committed -
* c-opt.c (c_common_post_options): If this_input_filename is NULL, increment errorcount and return false instead of true. From-SVN: r80678
James E Wilson committed -
2004-04-13 Uros Bizjak <uros@kss-loka.si>: * optabs.c (expand_twoval_unop): Reorder function arguments. * builtins.c (expand_builtin_mathfn_3): Update calls to expand_twoval_unop. * reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_TAN_ONE and UNSPEC_TAN_TAN. Add missing comment. * config/i386/i386.md (*tandf3_1, *tansf3_1, *tanxf3_1): New patterns to implement fptan x87 instruction. (tandf2, tansf2, tanxf2): New expanders to implement tan, tanf and tanl built-ins as inline x87 intrinsics. Define corresponding peephole2 optimizers for 'fptan; fstp %st(0); fld1' sequence. (UNSPEC_TAN_ONE, UNSPEC_TAN_TAN): New unspecs to represent x87's fptan insn. * gcc.dg/i386-387-1.c: Add new test for __builtin_tan. * gcc.dg/i386-387-2.c: Likewise. * gcc.dg/i386-387-7.c: New test. * gcc.dg/i386-387-8.c: New test. * gcc.dg/builtins-37.c: New test. From-SVN: r80677
Uros Bizjak committed -
From-SVN: r80673
GCC Administrator committed
-
- 13 Apr, 2004 12 commits
-
-
* varasm.c (unlikely_text_section): Use assemble_align instead of ASM_OUTPUT_ALIGN. Use it in the correct place with an approximately correct alignment argument. From-SVN: r80669
Richard Henderson committed -
* defaults.h (HOT_TEXT_SECTION_NAME): Add leading dot. (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Likewise. * doc/invoke.texi: Update to match. From-SVN: r80668
Richard Henderson committed -
* bb-reorder.c (fix_crossing_unconditional_branches): Use Pmode for LABEL_REFs. From-SVN: r80667
Richard Henderson committed -
reload1.c (emit_reload_insns): Set reg_has_output_reload to one after setting reg_last_reload_reg for optional... * reload1.c (emit_reload_insns): Set reg_has_output_reload to one after setting reg_last_reload_reg for optional output reloads. From-SVN: r80666
Ulrich Weigand committed -
From-SVN: r80662
Geoffrey Keating committed -
* strerror.c: Include config.h, and redefine sys_nerr and sys_errlist, before including ansidecl.h and libiberty.h. From-SVN: r80650
Ian Lance Taylor committed -
2004-04-12 Michael Chastain <mec.gnu@mindspring.com> * MAINTAINERS: Add myself to write-after-approval. From-SVN: r80649
Michael Chastain committed -
OKed by Aldy Hernandez. From-SVN: r80646
Fariborz Jahanian committed -
* hashtab.c (htab_remove_elt_with_hash): New function. (htab_remove_elt): Implement in terms of htab_remove_elt_with_hash. * hashtab.h (htab_remove_elt_with_hash): Prototype new function. From-SVN: r80641
Jeff Law committed -
* fix-header.c: kill(), putenv() and tzset() are POSIX not ANSI. From-SVN: r80639
Jonathan Larmour committed -
From-SVN: r80638
Aldy Hernandez committed -
From-SVN: r80635
GCC Administrator committed
-
- 12 Apr, 2004 11 commits
-
-
* config/i386/i386.c (output_387_reg_move): New function. * config/i386/i386-protos.h (output_387_reg_move): Prototype here. * config/i386/i386.md (*movsf_1, *movsf1_nointerunit, *movdf_nointeger, *movdf_integer, *movxf_nointeger, *movxf_integer, *extendsfdf2_1, *extendsfxf2_1, *extenddfxf2_1, truncdfsf2_noop, truncxfsf2_noop, truncxfdf2_noop): Call output_387_reg_move. From-SVN: r80631
Roger Sayle committed -
* c-decl.c (finish_decl): Make a decl_stmt for a variable-sized TYPE_DECL. * c-semantics.c (genrtl_decl_stmt): Handle TYPE_DECL. * stmt.c (expand_decl): Remove redundant expansion of TYPE_DOMAIN. * stor-layout.c (variable_size): Don't check for MINUS_EXPR. Use skip_simple_arithmetic to find SAVE_EXPR. (force_type_save_exprs, force_type_save_exprs_1): New functions. * tree-inline.c (remap_type, case POINTER_TYPE, case REFERENCE_TYPE): Properly chain multiple pointers. (copy_tree_r): Copy a TYPE_DECL. * tree.c (variably_modified_type_p): Add some missing tests and make some other minor changes. * tree.h (force_type_save_exprs): New declaration. * gcc.c-torture/execute/20040411-1.c: New test. From-SVN: r80629
Richard Kenner committed -
2004-04-12 Kelley Cook <kcook@gcc.gnu.org> PR bootstrap/14905 * configure.ac: Parse --enable-generated-files-in-srcdir. * Makefile.am: Copy man and info files to srcdir if requested. * configure: Regenerate. * Makefile.in Regenerate. From-SVN: r80628
Kelley Cook committed -
* simplify-rtx.c (simplify_binary_operation) <UDIV, DIV, UMOD, MOD>: Remove fall throughs. Convert 0/x and 0%x into x&0 when x has side-effects. Don't convert x/1.0 into x if we honor signaling NaNs. Convert x/-1.0 into -x if we don't honor signaling NaNs. Convert x/-1 into -x. Optimize x%1 into x&0 if x has side-effects. Optimize x%-1 into 0 (or x&0 if x has side-effects). From-SVN: r80625
Roger Sayle committed -
2004-04-12 Dhruv Matani <dhruvbird@gmx.net> * testsuite/performance/20_util/allocator/list_sort_search.cc: Minor formatting fixes. * testsuite/performance/20_util/allocator/map_mt_find.cc: Likewise. From-SVN: r80624
Dhruv Matani committed -
2004-04-12 Kelley Cook <kcook@gcc.gnu.org> * Makefile.am: Add in libz_a_CFLAGS as recommended by automake doc. * Makefile.in: Regenerate with automake 1.7.9. * aclocal.m4: Likewise. * configure: Regenerate. From-SVN: r80620
Kelley Cook committed -
Co-Authored-By: Andreas Jaeger <aj@suse.de> From-SVN: r80619
Kelley Cook committed -
* config/locale/gnu/numeric_members.cc (numpunct<wchar_t>::_M_initialize_numpunct): No need to wrap in __uselocale, since btowc is called for chars belonging to the basic character set. From-SVN: r80618
Paolo Carlini committed -
* config/rs6000/rs6000.md: Document why a pattern is not available. * config/rs6000/rs6000.c (rs6000_emit_cmove): Disable comparisons of floats on the E500. (branch_positive_comparison_operator): Do not allow NE even on the E500. From-SVN: r80617
Aldy Hernandez committed -
From-SVN: r80614
GCC Administrator committed -
* config/rs6000/rs6000.c (rs6000_assemble_integer): Change in_text_unlikely_section to in_unlikely_text_section. From-SVN: r80611
Aldy Hernandez committed
-
- 11 Apr, 2004 5 commits
-
-
fold-const.c (fold_binary_op_with_conditional_arg): Tweak calling convention to allow a NULL_TREE to be returned. * fold-const.c (fold_binary_op_with_conditional_arg): Tweak calling convention to allow a NULL_TREE to be returned. Factor sanity checks from callers, return NULL_TREE when appropriate. (fold): Handle COMPOUND_EXPR operands of binary expressions before COND_EXPR operands. Use reorder_operands_p(a,b) to check whether a op (b,c) can be rewritten as (b, a op c). Simplify calls to fold_binary_op_with_conditional_arg. From-SVN: r80609
Roger Sayle committed -
* config/mips/iris5.h (current_section_flags): Add in_unlikely_executed_text and default case. From-SVN: r80604
Kaveh R. Ghazi committed -
2004-04-11 Andreas Tobler <a.tobler@schweiz.ch> * bb-reorder.c (fix_crossing_conditional_branches): Fix bootstrap failure on solaris. Place ifdef HAVE_return around gen_ret call. * cfgrtl.c (force_nonfallthru_and_redirect): Remove ifdef HAVE_return and place it around the place where it is needed. From-SVN: r80594
Andreas Tobler committed -
varasm.c (text_section): Use TEXT_SECTION_ASM_OP and ASM_OUTPUT_ALIGN instead of SECTION_FORMAT_STRING... 2004-04-11 Andrew Pinski <pinskia@physics.uc.edu> * varasm.c (text_section): Use TEXT_SECTION_ASM_OP and ASM_OUTPUT_ALIGN instead of SECTION_FORMAT_STRING and NORMAL_TEXT_SECTION_NAME. (unlikely_text_section): Check targetm.have_named_sections instead of TARGET_ASM_NAMED_SECTION and use TEXT_SECTION_ASM_OP instead of SECTION_FORMAT_STRING. * config/mips/iris5.h (current_section_name): Add in_unlikely_executed_text case and move the abort into the switch. * config/rs6000/sysv4.h (HOT_TEXT_SECTION_NAME): Remove. (NORMAL_TEXT_SECTION_NAME): Remove. (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Remove. (SECTION_FORMAT_STRING): Remove. * defaults.h (SECTION_FORMAT_STRING): Remove. * tm.texi (NORMAL_TEXT_SECTION_NAME): Remove. (SECTION_FORMAT_STRING): Remove. From-SVN: r80593
Andrew Pinski committed -
From-SVN: r80590
GCC Administrator committed
-
- 10 Apr, 2004 5 commits
-
-
* c-typeck.c (common_type): Prefer long long to long when same precision. testsuite: * gcc.dg/c90-intprom-1.c, gcc.dg/c99-intprom-1.c: New tests. From-SVN: r80584
Joseph Myers committed -
2004-04-10 Kelley Cook <kcook@gcc.gnu.org> * configure.in: Rename file to ... * configure.ac: ...this. * Makefile.in: Regenerate. From-SVN: r80582
Kelley Cook committed -
2004-04-09 Danny Smith <dannysmith@users.sourceforge.net> * method.c (make_alias_for_thunk): Remove preprocessor guard on declaration and definition. From-SVN: r80581
Danny Smith committed -
2004-04-09 Chris Demetriou <cgd@broadcom.com> * g++.dg/other/packed1.C: Mark xfail for mips*- not mips-. From-SVN: r80580
Chris Demetriou committed -
From-SVN: r80577
GCC Administrator committed
-
- 09 Apr, 2004 2 commits
-
-
* lib/target-supports.exp (check_named_sections_available): New. * lib/gcc-dg.exp (dg-require-named-sections): New. * lib/prune.exp (prune_gcc_output): Incorporate prunes from old-deja.exp. Also prune error-count message from HP linker. * g++.old-deja/old-deja.exp (g++-dg-prune): Delete. * g++.dg/init/init-ref4.C: Use dg-require-weak. * g++.old-deja/g++.pt/static3.C: Likewise. * g++.dg/parse/attr-ctor1.C: Use dg-require-named-sections. From-SVN: r80572
Zack Weinberg committed -
PR 14887 * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Look only at mode argument. * config/ia64/ia64.c (ia64_hpux_file_end): Check TREE_SYMBOL_REFERENCED on DECL_ASSEMBLER_NAME, not DECL_NAME. From-SVN: r80571
Zack Weinberg committed
-