From aca957c92d097bc39322d137c3508df50a56ab75 Mon Sep 17 00:00:00 2001 From: rus Date: Fri, 10 Oct 2008 18:47:04 +0000 Subject: Merged revisions 139139,139142,139146-139149,139151-139152,139159-139162,139165,139167-139171,139179,139181,139184,139188-139196,139200-139204,139206-139213,139215-139216,139218,139221,139223-139226,139230,139232-139234,139239,139252,139263,139266,139269-139323,139325-139326,139328-139335,139338-139339,139341,139343,139347,139361,139363,139367,139373-139378,139385,139388-139389,139393-139394,139397-139399,139402-139403,139406,139408,139421,139425-139432,139435,139439-139450,139452,139456-139468,139471,139476-139481,139483-139484,139486-139493,139496-139497,139499-139502,139505,139507-139510,139517-139518,139520-139525,139528,139530-139534,139536-139537,139539,139542-139545,139549,139552,139554,139565-139570,139572,139576,139580,139589-139591,139599-139601,139603-139605,139609-139612,139615,139617,139623-139628,139630,139674,139677,139679-139683,139686,139688-139691,139702,139704-139706,139712-139727,139729-139731,139736-139743,139746,139750,139753-139757,139759-139784,139788-139792,139795,139798-139807,139809-139814,139817,139820-139828,139830-139840,139843,139846,139848,139854-139857,139859-139870,139873-139875,139878,139880-139881,139885-139894,139897-139898,139903-139906,139908-139912,139916,139918-139919,139922,139924,139926-139928,139930-139932,139934-139935,139937-139938,139940-139941,139943-139950,139952-139956,139959-139963,139966,139968-139970,139973,139977,139979-139983,139986-139987,139989-139991,139993-139994,139996-139999,140001,140003,140005,140008-140010,140012-140014,140018,140020,140023,140025,140030-140044,140046-140047,140050,140052-140056,140060-140061,140063,140068,140070-140071,140073-140076,140079,140082-140086,140089,140091,140093,140096,140099-140100,140102-140103,140105,140107,140111,140117-140118,140120-140126,140134,140137-140139,140141-140152,140155-140160,140162-140168,140174-140180,140183-140184,140187,140189,140195,140208,140228-140233,140236-140240,140243,140246-140251,140254,140257,140264-140265,140272,140275-140286,140288,140291,140293-140295,140297-140302,140310,140312-140313,140316,140318,140321,140325-140327,140330,140332-140338,140340-140344,140346-140351,140354,140356-140357,140360-140364,140366,140370,140373-140379,140381-140382,140385,140387-140388,140395,140398-140405,140408,140411-140412,140415,140417-140418,140420-140422,140424-140425,140427,140429-140435,140437,140440,140442,140444-140447,140449,140451-140453,140455-140465,140469-140470,140472-140477,140480,140482,140490,140494,140497-140498,140501-140502,140507,140509,140511-140514,140516,140519,140521-140522,140524-140530,140532,140534,140537,140539-140542,140544-140548,140551-140553,140556,140560,140562-140565,140571,140573-140576,140580-140582,140584,140590,140593-140594,140598,140600,140602-140613,140616,140618-140619,140622,140624-140625,140632,140635,140637,140642,140645-140646,140648,140650-140651,140654,140660-140663,140665,140669-140671,140673-140674,140677,140679-140680,140683-140687,140693,140697-140712,140714,140717,140721,140724,140727,140729-140730,140734,140737-140740,140743,140745-140746,140750,140757-140758,140760,140764-140765,140769,140772,140774,140778-140781,140785-140787,140789-140790,140792,140794,140797,140803,140807-140810,140812,140814,140816-140817,140819-140823,140826,140829-140830,140832-140833,140835-140838,140847,140849,140854-140855,140857-140860,140862,140865,140867-140870,140877,140879-140880,140882-140883,140887,140892,140895,140898,140900,140902,140904,140906,140910-140917,140920,140922,140924,140936-140941,140943-140945,140947-140948,140952-140955,140958,140960,140962,140964,140966,140970,140972,140974,140976-140977,140979,140986-140989,140992,140995-140997,141001-141004,141008-141010,141014,141016,141020-141021,141038-141039,141041-141042 via svnmerge from svn+ssh://gcc.gnu.org/svn/gcc/trunk ........ r139139 | ebotcazou | 2008-08-15 15:34:52 -0700 (Fri, 15 Aug 2008) | 4 lines * expr.c (expand_expr_real_1) : When converting to BLKmode, try to fetch an inner memory reference. Use 'mode' in lieu of TYPE_MODE (type) throughout. ........ r139142 | gccadmin | 2008-08-15 17:16:47 -0700 (Fri, 15 Aug 2008) | 1 line Daily bump. ........ r139146 | jvdelisle | 2008-08-15 20:36:32 -0700 (Fri, 15 Aug 2008) | 6 lines 2008-08-15 Jerry DeLisle PR fortran/35863 * io.c (gfc_match_open): Enable UTF-8 in checks. * simplify.c (gfc_simplify_selected_char_kind): Enable iso_10646. ........ r139147 | jvdelisle | 2008-08-15 20:38:31 -0700 (Fri, 15 Aug 2008) | 18 lines 2008-08-15 Jerry DeLisle PR libfortran/35863 * intrinsics/selected_char_kind.c: Enable iso_10646. * io/read.c (typedef uchar): New type. (read_utf8): New function to read a single UTF-8 encoded character. (read_utf8_char1): New function to read UTF-8 into a KIND=1 string. (read_default_char1): New functio to read default into KIND=1 string. (read_utf8_char4): New function to read UTF-8 into a KIND=4 string. (read_default_char4): New function to read UTF-8 into a KIND=4 string. (read_a): Modify to use the new functions. (read_a_char4): Modify to use the new functions. * io/write.c (error.h): Add include. (typedef uchar): New type. (write_default_char4): New function to default write KIND=4 string. (write_utf8_char4): New function to UTF-8 write KIND=4 string. (write_a_char4): Modify to use new functions. (write_character): Modify to use new functions. ........ r139148 | jvdelisle | 2008-08-15 20:42:54 -0700 (Fri, 15 Aug 2008) | 6 lines 2008-08-15 Jerry DeLisle PR fortran/35863 * gfortran.dg/utf8_1.f03: New test. * gfortran.dg/utf8_2.f03: New test. ........ r139149 | ebotcazou | 2008-08-16 00:25:30 -0700 (Sat, 16 Aug 2008) | 3 lines * Makefile.tpl: Add BOOT_ADAFLAGS. * Makefile.in: Regenerate. ........ r139151 | hutchinsonandy | 2008-08-16 06:38:06 -0700 (Sat, 16 Aug 2008) | 1 line * config/avr/avr.c (avr_override_options): Reduce value of PARAM_INLINE_CALL_COST. ........ r139152 | burnus | 2008-08-16 08:53:14 -0700 (Sat, 16 Aug 2008) | 11 lines 2008-08-16 Tobias Burnus PR fortran/36825 * libgfortran.h: Reduce GFC_MAX_DIMENSIONS to 7. 2008-08-16 Tobias Burnus PR fortran/36825 * gfortran.dg/rank_1.f90: Modify error message. ........ r139159 | ebotcazou | 2008-08-16 11:40:57 -0700 (Sat, 16 Aug 2008) | 39 lines PR ada/20548 * common.opt (-fstack-check): Do not declare the variable here. (-fstack-check=): New option variant. * doc/invoke.texi (Code Gen Options): Document it. * expr.h (STACK_OLD_CHECK_PROTECT): New macro. (STACK_CHECK_PROTECT): Bump to 3 pages if DWARF-2 EH is used. (STACK_CHECK_STATIC_BUILTIN): New macro. * doc/tm.texi (Stack Checking): Document STACK_CHECK_STATIC_BUILTIN. * opts.c: Include expr.h. (common_handle_option) : New case. : Likewise. * calls.c (initialize_argument_information): Use TYPE_SIZE_UNIT consistently in the test for variable-sized types. Adjust for new behaviour of flag_stack_check. * explow.c: Include except.h. (allocate_dynamic_stack_space): Do not take into account STACK_CHECK_MAX_FRAME_SIZE for static builtin stack checking. * function.c (gimplify_parameters): Use DECL_SIZE_UNIT in the test for variable-sized parameters. Treat all parameters whose size is greater than STACK_CHECK_MAX_VAR_SIZE as variable-sized if generic stack checking is enabled. * gimplify.c (gimplify_decl_expr): Treat non-static objects whose size is greater than STACK_CHECK_MAX_VAR_SIZE as variable-sized if generic stack checking is enabled. (expand_function_end): Adjust for new behaviour of flag_stack_check. * reload1.c (reload): Likewise. * stmt.c (expand_decl): Assert that all automatic variables have fixed size at this point and remove dead code. * flags.h (stack_check_type): New enumeration type. (flag_stack_check): Declare. * toplev.c (flag_stack_check): New global variable. * Makefile.in (opts.o): Add dependency on EXPR_H. (explow.o): Add dependency on except.h. ada/ * gcc-interface/decl.c (gnat_to_gnu_entity): Use DECL_SIZE_UNIT in the setjmp test consistently. Adjust for new behaviour of flag_stack_check. * gcc-interface/utils2.c (build_call_alloc_dealloc): Remove redundant test of flag_stack_check. Adjust for new behaviour of flag_stack_check. ........ r139160 | ebotcazou | 2008-08-16 11:49:51 -0700 (Sat, 16 Aug 2008) | 1 line Fix long lines. ........ r139161 | ebotcazou | 2008-08-16 13:15:08 -0700 (Sat, 16 Aug 2008) | 3 lines * gcc-interface/trans.c (call_to_gnu): Use the Sloc of the call for back-copy statements in lieu of that of the actual. ........ r139162 | dje | 2008-08-16 15:30:52 -0700 (Sat, 16 Aug 2008) | 2 lines * MAINTAINERS: Update my email address. ........ r139165 | gccadmin | 2008-08-16 17:16:33 -0700 (Sat, 16 Aug 2008) | 1 line Daily bump. ........ r139167 | aaronwl | 2008-08-16 22:44:15 -0700 (Sat, 16 Aug 2008) | 5 lines 2008-08-17 Aaron W. LaFramboise * adaint.c (_gnat_set_close_on_exec) [_WIN32]: Implement. ........ r139168 | paolo | 2008-08-17 03:19:34 -0700 (Sun, 17 Aug 2008) | 13 lines 2008-08-17 Paolo Carlini * acinclude.m4 ([GLIBCXX_CHECK_LFS], [GLIBCXX_CHECK_POLL], [GLIBCXX_CHECK_S_ISREG_OR_S_IFREG], [GLIBCXX_CHECK_WRITEV]): Use GCC_TRY_COMPILE_OR_LINK instead of AC_TRY_LINK, in C++, with -fno-exceptions as flags. * configure.ac: Run unconditionally GLIBCXX_CHECK_LFS, GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_S_ISREG_OR_S_IFREG, GLIBCXX_CHECK_WRITEV and commonized AC_CHECK_HEADERS. * crossconfig.m4: Adjust; remove AC_CHECK_HEADERS commonized in configure.ac. * configure: Regenerate. ........ r139169 | rsandifo | 2008-08-17 03:47:40 -0700 (Sun, 17 Aug 2008) | 4 lines gcc/ * config/mips/mips.c (mips_save_reg_p): Don't short-circuit rest of function when handling GLOBAL_POINTER_REGNUM. ........ r139170 | rsandifo | 2008-08-17 03:48:46 -0700 (Sun, 17 Aug 2008) | 40 lines gcc/ 2008-08-17 Daniel Jacobowitz Richard Sandiford * doc/install.texi (--with-mips-plt): Document. * doc/invoke.texi (-mplt, -mno-plt): Document. * config.gcc (mips*-*-*): Add mips-plt to supported_defaults and handle ${with_mips_plt}. * config/mips/mips.opt (mplt): New option. * config/mips/mips.h (TARGET_ABICALLS_PIC0): New macro. (TARGET_ABICALLS_PIC2): Likewise. (TARGET_GPWORD): Return false for TARGET_ABSOLUTE_ABICALLS. (OPTION_DEFAULT_SPECS): Add a mips-plt entry. (ASM_SPEC): Use !mabi=* instead of !mabi*. (MIPS_CALL): Use TARGET_ABICALLS_PIC2 instead of TARGET_ABICALLS to decide whether to output ".option picX" directives. * config/mips/linux.h (SUBTARGET_ASM_SPEC): Remove -mabi=64 handling. Pass -call_nonpic rather than -KPIC for -mplt. (BASE_DRIVER_SELF_SPECS): Remove -mplt if -mno-shared is not present on the command line. Also remove it when -mabi=64 is used without -msym32. * config/mips/linux64.h (SUBTARGET_ASM_SPEC): Delete. * config/mips/mips.c (mips_use_pic_fn_addr_reg_p): Handle TARGET_ABICALLS_PIC0. (mips_classify_symbol): Use TARGET_ABICALLS_PIC2 instead of TARGET_ABICALLS. (mips16_build_function_stub): Only output ".option pic" directives and PIC stubs if TARGET_ABICALLS_PIC2. Call through $25 instead of $1. (mips16_build_call_stub): Fix comment and remove redundant ".set at"/"set .noat" directives. (mips_function_rodata_section): Use the default behaviour for TARGET_ABSOLUTE_ABICALLS. (mips_file_start): Emit ".option pic0" for TARGET_ABICALLS_PIC0. (mips_global_pointer): Handle TARGET_ABICALLS_PIC0. (mips_restore_gp): Do nothing if the current function doesn't use a global pointer. (mips_expand_prologue): Only save $gp if the current function uses it. Use a normal move for TARGET_ABICALLS_PIC0. (mips_override_options): Only set flag_pic if TARGET_ABICALLS_PIC2. ........ r139171 | paolo | 2008-08-17 05:30:55 -0700 (Sun, 17 Aug 2008) | 8 lines 2008-08-17 Paolo Carlini * acinclude.m4 ([AC_LC_MESSAGES]): Use AC_TRY_COMPILE instead of AC_TRY_LINK. * configure.ac: Run unconditionally AC_LC_MESSAGES. * crossconfig.m4: Adjust. * configure: Regenerate. ........ r139179 | nickc | 2008-08-17 09:36:39 -0700 (Sun, 17 Aug 2008) | 3 lines * doc/extend.texi (Function Attributes): Fix typo in description if hot function attribute. ........ r139181 | mark | 2008-08-17 14:42:34 -0700 (Sun, 17 Aug 2008) | 9 lines * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Always loadLibrary gtk-peer. * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise. * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise. * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Likewise. * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise. * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise. * gnu/java/awt/peer/gtk/*.class: Rebuilt. ........ r139184 | gccadmin | 2008-08-17 17:16:30 -0700 (Sun, 17 Aug 2008) | 1 line Daily bump. ........ r139188 | rguenth | 2008-08-18 01:40:32 -0700 (Mon, 18 Aug 2008) | 11 lines 2008-08-18 Richard Guenther * tree-sra.c (generate_element_init_1): Deal with NULL constructor element index. (scalarize_init): If we failed to generate some initializers do not generate zeros for not instantiated members. Instead rely on the copy out. * tree-ssa-operands.c (get_addr_dereference_operands): Warn about missing flow-sensitive alias info only if we have aliases computed. ........ r139189 | rguenth | 2008-08-18 01:42:57 -0700 (Mon, 18 Aug 2008) | 20 lines 2008-08-18 Richard Guenther * passes.c (init_optimization_passes): Remove cleanup_cfg1, sdse1 and addressables2 passes. Replace dce1 with cddce1. Move call_cdce before build_alias. Move copyrename2, cunrolli and ccp2 beafore build_alias. Re-add addressable2 right after final inlining. * tree-cfg.c (build_gimple_cfg): Do not dump function here. (pass_build_cfg): But instead via TODO_dump_func. * gcc.dg/fold-alloca-1.c: Scan cfg dump instead of cleanup_cfg1. * gcc.dg/fold-compare-3.c: Likewise. * gcc.dg/tree-ssa/20030709-2.c: Scan cddce2 dump. * gcc.dg/tree-ssa/20030808-1.c: Likewise. * gcc.dg/tree-ssa/20040211-1.c: Likewise. * gcc.dg/tree-ssa/20040305-1.c: Likewise. * gcc.dg/tree-ssa/forwprop-1.c: Adjust pattern. * gcc.dg/tree-ssa/forwprop-2.c: Likewise.. * gcc.dg/tree-ssa/ssa-dce-3.c: Scan cddce1 dump. ........ r139190 | sam | 2008-08-18 01:58:58 -0700 (Mon, 18 Aug 2008) | 8 lines gcc/ada/ PR ada/15808 * sem_ch6.adb (Check_Private_Overriding): Check for generic packages as well. gcc/testsuite/ PR ada/15808 * gnat.dg/specs/abstract_private.ads: New. ........ r139191 | sam | 2008-08-18 01:59:47 -0700 (Mon, 18 Aug 2008) | 5 lines gcc/ada/ * exp_ch13.adb, exp_disp.adb, sem_cat.adb, sem_ch10.adb, * sem_ch12.adb, sem_ch6.adb, sem_ch7.adb, sem_ch8.adb, * sem_prag.adb, sem_util.adb, sem_warn.adb: Use Is_Package_Or_Generic_Package instead of hand-crafted tests. ........ r139192 | sam | 2008-08-18 02:09:24 -0700 (Mon, 18 Aug 2008) | 15 lines 2008-08-18 Samuel Tardieu Robert Dewar gcc/ada/ PR ada/30827 * bindgen.adb (Gen_Output_File_Ada): Zero-terminate the version string. Move comment in the right place. * g-comver.adb (Version): Look for a zero-termination in addition to a closing parenthesis. 2008-08-18 Robert Dewar gcc/testsuite/ PR ada/30827 * gnat.dg/test_version.adb: New. ........ r139193 | manu | 2008-08-18 04:17:52 -0700 (Mon, 18 Aug 2008) | 21 lines 2008-08-18 Manuel Lopez-Ibanez * diagnostics.c (permerror_at): Rename as permerror. (permerror): Delete. * toplev.h: Likewise. cp/ * typeck.c: Update all callers. * init.c: Likewise. * class.c: Likewise. * decl.c: Likewise. * call.c: Likewise. * except.c: Likewise. * cvt.c: Likewise. * typeck2.c: Likewise. * pt.c: Likewise. * semantics.c: Likewise. * name-lookup.c: Likewise. * lex.c: Likewise. * decl2.c: Likewise. * parser.c: Likewise. ........ r139194 | manu | 2008-08-18 04:30:32 -0700 (Mon, 18 Aug 2008) | 13 lines 2008-08-18 Manuel Lopez-Ibanez PR cpp/7263 * c-opts.c (cpp_opts): Remove static. * c-parser.c (cpp_opts): Declare it extern. (disable_extension_diagnostics): Handle cpp options. (enable_extension_diagnostics): Likewise. testsuite/ * gcc.dg/cpp/pr7263-2.c: New. * gcc.dg/cpp/pr7263-2.h: New. * gcc.dg/cpp/pr7263-3.c: New. * gcc.dg/cpp/pr7263-3.h: New. ........ r139195 | rguenth | 2008-08-18 07:21:35 -0700 (Mon, 18 Aug 2008) | 5 lines 2008-08-18 Richard Guenther * tree-cfg.c (verify_types_in_gimple_assign): Verify copies and loads have the correct types. ........ r139196 | andreast | 2008-08-18 07:31:58 -0700 (Mon, 18 Aug 2008) | 6 lines 2008-08-18 Andreas Tobler * config/rs6000/driver-rs6000.c (detect_caches_freebsd): New function. (detect_processor_freebsd): Likewise. (host_detect_local_cpu): Call newly added functions for FreeBSD. ........ r139200 | paolo | 2008-08-18 08:02:10 -0700 (Mon, 18 Aug 2008) | 7 lines 2008-08-18 Paolo Carlini PR libstdc++/37147 * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Tighten checks on stdint.h, check the macros too. * configure: Regenerate. ........ r139201 | rguenth | 2008-08-18 08:36:15 -0700 (Mon, 18 Aug 2008) | 5 lines 2008-08-18 Richard Guenther * tree-ssa-reassoc.c (reassociate_bb): Properly reset the statement iterator after statement removal. ........ r139202 | manu | 2008-08-18 09:17:16 -0700 (Mon, 18 Aug 2008) | 12 lines 2008-08-18 Manuel Lopez-Ibanez * real.h (dconst_e, dconst_third, dconst_sqrt2, dconst_e_ptr, dconst_third_ptr, dconst_sqrt2_ptr): Declare. (enum real_value_const): Delete. (get_real_const): Delete. * real.c (get_real_const): Delete. (dconst_e_ptr): Define. (dconst_third_ptr): Define. (dconst_sqrt2_ptr): Define. * builtins.c: Update all callers. ........ r139203 | paolo | 2008-08-18 09:21:18 -0700 (Mon, 18 Aug 2008) | 6 lines 2008-08-18 Paolo Carlini * configure.ac: Do not hardcode HAVE_S_ISREG and HAVE_S_IFREG for newlib. * configure: Regenerate. ........ r139204 | tomby | 2008-08-18 09:23:47 -0700 (Mon, 18 Aug 2008) | 36 lines * tree.h (IS_CONVERT_EXPR_CODE_P): Renamed to * CONVERT_EXPR_CODE_P. * tree-ssa-threadedge.c (simplify_control_stmt_condition): Use CONVERT_EXPR_P. * tree-data-ref.c (split_constant_offset_1): Likewise. * tree-inline.c (estimate_operator_cost): Use CASE_CONVERT. * tree-sra.c (sra_walk_expr): Likewise. * matrix-reorg.c (ssa_accessed_in_assign_rhs): Likewise. * tree-ssa-loop-niter.c (expand_simple_operations): Likewise. * gimple.h (gimple_assign_cast_p): Use CONVERT_EXPR_CODE_P. * tree-ssa-structalias.c (find_func_aliases, find_func_aliases): * Likewise. * gimple.c (gimple_assign_unary_nop_p): Likewise. * tree-vect-transform.c (vectorizable_type_demotion) (vectorizable_type_promotion): Likewise. * tree-inline.c (expand_call_inline): * tree-ssa-forwprop.c (get_prop_source_stmt, can_propagate_from) (forward_propagate_addr_expr_1, forward_propagate_comparison) (tree_ssa_forward_propagate_single_use_vars): Likewise. * expr.c (expand_expr_real_1): Likewise. * tree-ssa-dom.c (hashable_expr_equal_p, * iterative_hash_hashable_expr) (gimple_assign_unary_useless_conversion_p): Likewise. * tree-stdarg.c (execute_optimize_stdarg): Likewise. * tree-ssa-ccp.c (ccp_fold, fold_gimple_assign): Likewise. * fold-const.c (fold_unary): Likewise. * tree.h (CONVERT_EXPR_P): Likewise. * tree.c (simple_cst_equal, iterative_hash_expr): Likewise. * tree-ssa-loop-im.c (rewrite_bittest): Likewise. * tree-vrp.c: (register_edge_assert_for_2, extract_range_from_unary_expr) (register_edge_assert_for_1): Likewise. * cp/tree.c (cp_tree_equal): Likewise. ........ r139206 | paolo | 2008-08-18 10:48:15 -0700 (Mon, 18 Aug 2008) | 31 lines 2008-08-18 Paolo Carlini PR libstdc++/37149 * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Include . * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc: Likewise. * testsuite/27_io/objects/char/12048-1.cc: Likewise. * testsuite/27_io/objects/char/12048-3.cc: Likewise. * testsuite/27_io/objects/wchar_t/12048-1.cc: Likewise. * testsuite/27_io/objects/wchar_t/12048-3.cc: Likewise. * testsuite/ext/malloc_allocator/deallocate_global.cc: Likewise. * testsuite/ext/malloc_allocator/deallocate_local.cc: Likewise. * testsuite/ext/mt_allocator/deallocate_global-2.cc: Likewise. * testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise. * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise. * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise. * testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise. * testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise. * testsuite/ext/mt_allocator/deallocate_local-6.cc: Likewise. * testsuite/ext/mt_allocator/deallocate_local-8.cc: Likewise. * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise. * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise. * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: Likewise. * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: Likewise. * testsuite/ext/new_allocator/deallocate_global.cc: Likewise. * testsuite/ext/new_allocator/deallocate_local.cc: Likewise. * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise. * include/std/regex: Include . * include/tr1/regex: Likewise. ........ r139207 | rsandifo | 2008-08-18 11:21:01 -0700 (Mon, 18 Aug 2008) | 3 lines gcc/ * rtlanal.c (subreg_offset_representable_p): Check HARD_REGNO_MODE_OK. ........ r139208 | spark | 2008-08-18 12:02:44 -0700 (Mon, 18 Aug 2008) | 20 lines 2008-08-18 Paul Yuan Vinodha Ramasamy * cgraph.c (cgraph_edge): Handle inconsistent counts when setting count_scale. * value-prof.c (check_counter): Fix the counter if flag_profile_correction is true. (tree_divmod_fixed_value_transform, tree_mod_pow2_value_transform, tree_mod_subtract_transform): Follow check_counter parameter change. * common.opt (fprofile-correction): New option. * mcf.c: New file. * profile.c (edge_info, EDGE_INFO): Moved to new file profile.h. (sum_edge_counts, is_edge_inconsistent, correct_negative_edge_counts, is_inconsistent, set_bb_counts, read_profile_edge_counts): New functions. (compute_branch_probabilities): Refactored. Invokes mcf_smooth_cfg if flag_profile_correction is set. ........ r139209 | hjl | 2008-08-18 12:16:30 -0700 (Mon, 18 Aug 2008) | 4 lines 2008-08-18 H.J. Lu * mcf.c: Really add it. ........ r139210 | hjl | 2008-08-18 12:22:36 -0700 (Mon, 18 Aug 2008) | 4 lines 2008-08-18 H.J. Lu * profile.h: Really add it. ........ r139211 | hjl | 2008-08-18 12:48:41 -0700 (Mon, 18 Aug 2008) | 6 lines 2008-08-18 H.J. Lu PR bootstrap/37153 * value-prof.c (check_counter): Dereference pointer to overall count when printing it. ........ r139212 | sje | 2008-08-18 13:26:55 -0700 (Mon, 18 Aug 2008) | 2 lines * gcc.target/ia64/types-1.c: Change error to message. ........ r139213 | sje | 2008-08-18 13:36:03 -0700 (Mon, 18 Aug 2008) | 2 lines * gcc.dg/vect/no-vfa-pr29145.c: XFAIL if no_vect_align. ........ r139215 | dfranke | 2008-08-18 13:46:08 -0700 (Mon, 18 Aug 2008) | 7 lines 2008-08-18 Daniel Franke PR fortran/37032 * gfortran.texi: Document decision on include file handling in preprocessed files. ........ r139216 | sje | 2008-08-18 14:25:12 -0700 (Mon, 18 Aug 2008) | 2 lines * g++.dg/other/anon5.C: Skip on *-*-hpux*. ........ r139218 | nemet | 2008-08-18 17:14:59 -0700 (Mon, 18 Aug 2008) | 2 lines * gcc.target/mips/ext-1.c: Add -mgp64 to dg-mips-options. ........ r139221 | gccadmin | 2008-08-18 17:16:45 -0700 (Mon, 18 Aug 2008) | 1 line Daily bump. ........ r139223 | burnus | 2008-08-18 23:00:51 -0700 (Mon, 18 Aug 2008) | 7 lines 2008-08-19 Tobias Burnus PR libfortran/35863 * io/write.c (write_a_char4): Add missing variable declaration in HAVE_CRLF block. ........ r139224 | dorit | 2008-08-19 00:14:26 -0700 (Tue, 19 Aug 2008) | 6 lines PR bootstrap/37152 * tree-vect-transform.c (vect_create_epilog_for_reduction): Change = to == in assert statement. (vectorizable_reduction): Fix typo. ........ r139225 | irar | 2008-08-19 01:31:41 -0700 (Tue, 19 Aug 2008) | 52 lines * tree-vectorizer.c (supportable_widening_operation): Support multi-step conversion, return the number of steps in such conversion and the required intermediate types. (supportable_narrowing_operation): Likewise. * tree-vectorizer.h (vect_pow2): New function. (supportable_widening_operation): Change argument types. (supportable_narrowing_operation): Likewise. (vectorizable_type_promotion): Add an argument. (vectorizable_type_demotion): Likewise. * tree-vect-analyze.c (vect_analyze_operations): Call vectorizable_type_promotion and vectorizable_type_demotion with additional argument. (vect_get_and_check_slp_defs): Detect patterns. (vect_build_slp_tree): Add an argument, don't fail in case of multiple types. (vect_analyze_slp_instance): Don't fail in case of multiple types. Call vect_build_slp_tree with correct arguments. Calculate unrolling factor according to the smallest type in the loop. (vect_detect_hybrid_slp_stmts): Include statements from patterns. * tree-vect-patterns.c (vect_recog_widen_mult_pattern): Call supportable_widening_operation with correct arguments. * tree-vect-transform.c (vect_get_slp_defs): Allocate output vector operands lists according to the number of vector statements in left or right node, if exists. (vect_gen_widened_results_half): Remove unused argument. (vectorizable_conversion): Call supportable_widening_operation, supportable_narrowing_operation, and vect_gen_widened_results_half with correct arguments. (vectorizable_assignment): Change documentation, support multiple types in SLP. (vectorizable_operation): Likewise. (vect_get_loop_based_defs): New function. (vect_create_vectorized_demotion_stmts): Likewise. (vectorizable_type_demotion): Support loop-aware SLP and general multi-step conversion. Call vect_get_loop_based_defs and vect_create_vectorized_demotion_stmts for transformation. (vect_create_vectorized_promotion_stmts): New function. (vectorizable_type_promotion): Support loop-aware SLP and general multi-step conversion. Call vect_create_vectorized_promotion_stmts for transformation. (vectorizable_store): Change documentation, support multiple types in SLP. (vectorizable_load): Likewise. (vect_transform_stmt): Pass SLP_NODE to vectorizable_type_promotion and vectorizable_type_demotion. (vect_schedule_slp_instance): Move here the calculation of number of vectorized statements for each node from... (vect_schedule_slp): ... here. (vect_transform_loop): Call vect_schedule_slp without the last argument. ........ r139226 | rguenth | 2008-08-19 02:06:54 -0700 (Tue, 19 Aug 2008) | 98 lines 2008-08-19 Richard Guenther PR tree-optimization/35972 PR tree-optimization/23094 * tree-ssa-sccvn.h (vn_reference_lookup_pieces): Add maywalk parameter. * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Properly handle MISALIGNED_INDIRECT_REF. (get_ref_from_reference_ops): New helper. (vn_reference_lookup_pieces): Walk the use-def chain using the alias-oracle if requested. * tree-ssa-pre.c (phi_translate_1): Do reference lookup with walking the use-def chain. (compute_avail): But not here. (create_component_ref_by_pieces_1): Properly handle MISALIGNED_INDIRECT_REF. (do_regular_insertion): Handle fully redundant expressions after PHI-translation also for SSA_NAME values, not only constants. Correctly use edoubleprime for that. * gcc.dg/tree-ssa/ssa-pre-19.c: New testcase. * gcc.dg/autopar/reduc-1.c: Move constant initialized arrays to global memory. * gcc.dg/autopar/reduc-1char.c: Likewise. * gcc.dg/autopar/reduc-1short.c: Likewise. * gcc.dg/autopar/reduc-2.c: Likewise. * gcc.dg/autopar/reduc-2char.c: Likewise. * gcc.dg/autopar/reduc-2short.c: Likewise. * gcc.dg/autopar/reduc-3.c: Likewise. * gcc.dg/tree-ssa/ifc-20040816-1.c: Likewise. * gcc.dg/vect/costmodel/i386/costmodel-vect-reduc-1char.c: Likewise. * gcc.dg/vect/costmodel/x86_64/costmodel-vect-reduc-1char.c: Likewise. * gcc.dg/vect/fast-math-vect-reduc-5.c: Likewise. * gcc.dg/vect/fast-math-vect-reduc-7.c: Likewise. * gcc.dg/vect/no-trapping-math-2.c: Likewise. * gcc.dg/vect/no-trapping-math-vect-111.c: Likewise. * gcc.dg/vect/no-trapping-math-vect-ifcvt-11.c: Likewise. * gcc.dg/vect/no-trapping-math-vect-ifcvt-12.c: Likewise. * gcc.dg/vect/no-trapping-math-vect-ifcvt-13.c: Likewise. * gcc.dg/vect/no-trapping-math-vect-ifcvt-14.c: Likewise. * gcc.dg/vect/no-trapping-math-vect-ifcvt-15.c: Likewise. * gcc.dg/vect/no-vfa-vect-37.c: Likewise. * gcc.dg/vect/no-vfa-vect-depend-1.c: Likewise. * gcc.dg/vect/pr18400.c: Likewise. * gcc.dg/vect/slp-12b.c: Likewise. * gcc.dg/vect/slp-14.c: Likewise. * gcc.dg/vect/slp-7.c: Likewise. * gcc.dg/vect/slp-15.c: Likewise. * gcc.dg/vect/slp-16.c: Likewise. * gcc.dg/vect/slp-17.c: Likewise. * gcc.dg/vect/slp-24.c: Likewise. * gcc.dg/vect/slp-28.c: Likewise. * gcc.dg/vect/slp-3.c: Likewise. * gcc.dg/vect/slp-34.c: Likewise. * gcc.dg/vect/slp-6.c: Likewise. * gcc.dg/vect/slp-8.c: Likewise. * gcc.dg/vect/vect-107.c: Likewise. * gcc.dg/vect/vect-108.c: Likewise. * gcc.dg/vect/vect-11.c: Likewise. * gcc.dg/vect/vect-112.c: Likewise. * gcc.dg/vect/vect-115.c: Likewise. * gcc.dg/vect/vect-11a.c: Likewise. * gcc.dg/vect/vect-34.c: Likewise. * gcc.dg/vect/vect-9.c: Likewise. * gcc.dg/vect/vect-97.c: Likewise. * gcc.dg/vect/vect-align-1.c: Likewise. * gcc.dg/vect/vect-float-extend-1.c: Likewise. * gcc.dg/vect/vect-floatint-conversion-1.c: Likewise. * gcc.dg/vect/vect-ifcvt-16.c: Likewise. * gcc.dg/vect/vect-ifcvt-17.c: Likewise. * gcc.dg/vect/vect-ifcvt-2.c: Likewise. * gcc.dg/vect/vect-ifcvt-3.c: Likewise. * gcc.dg/vect/vect-ifcvt-4.c: Likewise. * gcc.dg/vect/vect-ifcvt-5.c: Likewise. * gcc.dg/vect/vect-ifcvt-6.c: Likewise. * gcc.dg/vect/vect-ifcvt-7.c: Likewise. * gcc.dg/vect/vect-intfloat-conversion-1.c: Likewise. * gcc.dg/vect/vect-intfloat-conversion-2.c: Likewise. * gcc.dg/vect/vect-intfloat-conversion-3.c: Likewise. * gcc.dg/vect/vect-intfloat-conversion-4a.c: Likewise. * gcc.dg/vect/vect-intfloat-conversion-4b.c: Likewise. * gcc.dg/vect/vect-multitypes-2.c: Likewise. * gcc.dg/vect/vect-multitypes-5.c: Likewise. * gcc.dg/vect/vect-reduc-1.c: Likewise. * gcc.dg/vect/vect-reduc-1char.c: Likewise. * gcc.dg/vect/vect-reduc-1short.c: Likewise. * gcc.dg/vect/vect-reduc-2.c: Likewise. * gcc.dg/vect/vect-reduc-3.c: Likewise. * gcc.dg/vect/vect-shift-1.c: Likewise. * gcc.dg/vect/vect-strided-float.c: Likewise. * gcc.dg/vect/vect-strided-store-u32-i2.c: Likewise. * gcc.dg/vect/wrapv-vect-reduc-2char.c: Likewise. * gcc.dg/vect/wrapv-vect-reduc-2short.c: Likewise. * gcc.dg/tree-ssa/gen-vect-11.c: Likewise. * gcc.dg/tree-ssa/gen-vect-11a.c: Likewise. * gcc.dg/tree-ssa/gen-vect-2.c: Likewise. * gcc.dg/vect/costmodel/ppc/costmodel-vect-76c.c: Likewise. ........ r139230 | jakub | 2008-08-19 04:44:42 -0700 (Tue, 19 Aug 2008) | 8 lines PR debug/37156 * pretty-print.c (pp_base_format): Deal with recursive BLOCK trees. * tree.c (block_nonartificial_location): Likewise. * error.c (cp_print_error_function): Deal with recursive BLOCK trees. * gcc.dg/pr37156.c: New test. ........ r139232 | hjl | 2008-08-19 05:49:28 -0700 (Tue, 19 Aug 2008) | 15 lines gcc/ 2008-08-19 H.J. Lu PR target/37157 * config/i386/sse.md (sse2_punpckhqdq, sse2_punpcklqdq): Moved before (sse2_shufpd_). gcc/testsuite/ 2008-08-19 H.J. Lu PR target/37157 * gcc.target/i386/sse2-unpack-1.c: New. ........ r139233 | espindola | 2008-08-19 07:11:18 -0700 (Tue, 19 Aug 2008) | 7 lines 2008-08-19 Rafael Espindola * varasm.c (weak_decls): Move earlier in the file. (assemble_external): Add weak decls to the weak_decls list. (declare_weak): Don't add decls to the weak_decls list. ........ r139234 | rguenth | 2008-08-19 08:01:03 -0700 (Tue, 19 Aug 2008) | 7 lines 2008-08-19 Richard Guenther * passes.c (init_optimization_passes): Exchange store-ccp with a ccp pass. * gcc.dg/tree-ssa/ssa-ccp-14.c: XFAIL. ........ r139239 | uweigand | 2008-08-19 09:12:44 -0700 (Tue, 19 Aug 2008) | 5 lines testsuite/ChangeLog: * gcc.dg/torture/fp-int-convert-float.c: Reenable test on SPU. * gcc.dg/torture/fp-int-convert-timode.c: Reenable "float" test on SPU. ........ r139252 | gccadmin | 2008-08-19 17:16:34 -0700 (Tue, 19 Aug 2008) | 1 line Daily bump. ........ r139263 | rguenth | 2008-08-20 01:28:17 -0700 (Wed, 20 Aug 2008) | 26 lines 2008-08-20 Richard Guenther * tree-vrp.c (found_in_subgraph): Remove. (live): New global static. (live_on_edge): New function. (blocks_visited): Remove. (register_edge_assert_for_2): Use live_on_edge. (find_conditional_asserts): Remove code dealing with found_in_subgraph. Do not walk the CFG. (find_switch_asserts): Likewise. (find_assert_locations_1): Renamed from find_assert_locations. Move finding assert locations for conditional and switch statements first. Update live bitmap. Do not walk the CFG. (find_assert_locations): New function. (insert_range_assertions): Remove entry of CFG walk. Adjust call to find_assert_locations. * tree-ssa-pre.c (do_regular_insertion): Ignore critical edges that only can appear because of fake exit edges but assert we never try to insert on those. (fini_pre): Do not remove fake exit edges here... (execute_pre): ...but here, before committing edge inserts. * gcc.dg/tree-ssa/pr20701.c: Scan vrp1 dump. * gcc.dg/tree-ssa/ssa-dom-thread-1.c: Pass -fno-tree-vrp. * gcc.dg/tree-ssa/ssa-pre-20.c: New testcase. ........ r139266 | nickc | 2008-08-20 03:23:08 -0700 (Wed, 20 Aug 2008) | 7 lines * configure.ac (HAVE_GAS_CFI_DIRECTIVE): Always test for assembler support of this feature. Do not assume that a sufficiently new assembler will support the feature regardless of the target type. (HAVE_GAS_CFI_PERSONALITY_DIRECTIVE): Likewise. * configure: Regenerate. ........ r139269 | charlet | 2008-08-20 04:02:51 -0700 (Wed, 20 Aug 2008) | 8 lines 2008-08-20 Ed Schonberg * sem_aggr.adb, sem_type.adb, exp_ch9.ads, einfo.ads, exp_ch6.adb, exp_aggr.adb (Valid_Ancestor): Resolve confusion between partial and full views of an ancestor of the context type when the parent is a private extension declared in a parent unit, and full views are available for the context type. ........ r139270 | victork | 2008-08-20 05:05:38 -0700 (Wed, 20 Aug 2008) | 10 lines 2008-08-20 Victor Kaplansky * gcc.dg/vect/vect-multitypes-15.c: Fix typo. * gcc/testsuite/lib/target-supports.exp (check_effective_target_vect_long_long): Remove spu-*-*. * gcc.dg/vect/vect-multitypes-16.c: Make init loop unvectorizable. * gcc.dg/vect/slp-widen-mult-u8.c: Likewise. ........ r139271 | charlet | 2008-08-20 05:06:35 -0700 (Wed, 20 Aug 2008) | 4 lines 2008-08-20 Ed Schonberg Revert partially previous changes, unrelated to the change at hand. ........ r139272 | charlet | 2008-08-20 05:07:06 -0700 (Wed, 20 Aug 2008) | 4 lines 2008-08-20 Robert Dewar * freeze.adb: Minor reformatting ........ r139273 | charlet | 2008-08-20 05:07:14 -0700 (Wed, 20 Aug 2008) | 4 lines 2008-08-20 Robert Dewar * g-comlin.adb: Minor reformatting ........ r139274 | charlet | 2008-08-20 05:07:22 -0700 (Wed, 20 Aug 2008) | 4 lines 2008-08-20 Robert Dewar * g-socket.adb: Minor reformatting ........ r139275 | charlet | 2008-08-20 05:07:36 -0700 (Wed, 20 Aug 2008) | 4 lines 2008-08-20 Robert Dewar * g-socthi-mingw.adb: Minor reformatting ........ r139276 | charlet | 2008-08-20 05:07:45 -0700 (Wed, 20 Aug 2008) | 4 lines 2008-08-20 Robert Dewar * g-stheme.adb: Minor reformatting ........ r139277 | charlet | 2008-08-20 05:08:26 -0700 (Wed, 20 Aug 2008) | 12 lines 2008-08-20 Robert Dewar * freeze.adb: Minor reformatting * g-comlin.adb: Minor reformatting * g-socket.adb: Minor reformatting * g-socthi-mingw.adb: Minor reformatting * g-stheme.adb: Minor reformatting ........ r139278 | charlet | 2008-08-20 05:32:51 -0700 (Wed, 20 Aug 2008) | 5 lines 2008-08-20 Robert Dewar * tbuild.ads: Clarify documentation of Make_Implicit_Exception_Handler ........ r139279 | charlet | 2008-08-20 05:33:17 -0700 (Wed, 20 Aug 2008) | 4 lines 2008-08-20 Robert Dewar * usage.adb: Minor change to avoid overlong line for -gnatwz/Z ........ r139280 | charlet | 2008-08-20 05:34:01 -0700 (Wed, 20 Aug 2008) | 4 lines 2008-08-20 Robert Dewar * a-textio.adb: Remove redundant test. ........ r139281 | charlet | 2008-08-20 05:34:09 -0700 (Wed, 20 Aug 2008) | 5 lines 2008-08-20 Robert Dewar * a-witeio.adb: Minor code reorganization Remove redundant test found working on another issue ........ r139282 | charlet | 2008-08-20 05:34:46 -0700 (Wed, 20 Aug 2008) | 5 lines 2008-08-20 Robert Dewar * a-ztexio.adb: Minor code reorganization Remove redundant test found working on another issue ........ r139283 | charlet | 2008-08-20 05:35:11 -0700 (Wed, 20 Aug 2008) | 8 lines 2008-08-20 Thomas Quinot * s-fileio.adb (Open) Use C helper function to determine whether a given errno value corresponds to a "file not found" error. * sysdep.c (__gnat_is_file_not_found_error): New C helper function. ........ r139284 | charlet | 2008-08-20 05:36:24 -0700 (Wed, 20 Aug 2008) | 8 lines 2008-08-20 Jose Ruiz * errno.c (__get_errno for MaRTE): Use the MaRTE function pthread_errno to get access to the per-task errno variable. (__set_errno for MaRTE): Do not redefine this function here since it is already defined in MaRTE. ........ r139285 | charlet | 2008-08-20 05:39:11 -0700 (Wed, 20 Aug 2008) | 5 lines 2008-08-20 Tristan Gingold * gnat_ugn.texi: Gcov is not supported on static library on AIX. ........ r139286 | rguenth | 2008-08-20 05:59:10 -0700 (Wed, 20 Aug 2008) | 47 lines 2008-08-20 Richard Guenther * passes.c (init_optimization_passes): Move the second forwprop pass before alias computation. Remove the second DCE pass. Remove the first dominator and phi copy/const prop passes. * gcc.dg/tree-ssa/20030530-2.c: Scan dom2 dump. * gcc.dg/tree-ssa/20030611-1.c: Likewise. * gcc.dg/tree-ssa/20030703-1.c: Likewise. * gcc.dg/tree-ssa/20030703-2.c: Likewise. * gcc.dg/tree-ssa/20030708-1.c: Likewise. * gcc.dg/tree-ssa/20030709-3.c: Likewise. * gcc.dg/tree-ssa/20030710-1.c: Likewise. * gcc.dg/tree-ssa/20030711-1.c: Likewise. * gcc.dg/tree-ssa/20030711-2.c: Likewise. * gcc.dg/tree-ssa/20030711-3.c: Likewise. * gcc.dg/tree-ssa/20030714-1.c: Likewise. * gcc.dg/tree-ssa/20030714-2.c: Likewise. * gcc.dg/tree-ssa/20030729-1.c: Likewise. * gcc.dg/tree-ssa/20030730-1.c: Likewise. * gcc.dg/tree-ssa/20030730-2.c: Likewise. * gcc.dg/tree-ssa/20030731-1.c: Likewise. * gcc.dg/tree-ssa/20030807-1.c: Likewise. * gcc.dg/tree-ssa/20030807-11.c: Likewise. * gcc.dg/tree-ssa/20030807-2.c: Likewise. * gcc.dg/tree-ssa/20030807-3.c: Likewise. * gcc.dg/tree-ssa/20030807-5.c: Likewise. * gcc.dg/tree-ssa/20030807-8.c: Likewise. * gcc.dg/tree-ssa/20030807-9.c: Likewise. * gcc.dg/tree-ssa/20030814-1.c: Likewise. * gcc.dg/tree-ssa/20030814-2.c: Likewise. * gcc.dg/tree-ssa/20030814-3.c: Likewise. * gcc.dg/tree-ssa/20030814-4.c: Likewise. * gcc.dg/tree-ssa/20030814-5.c: Likewise. * gcc.dg/tree-ssa/20030814-6.c: Likewise. * gcc.dg/tree-ssa/20030814-7.c: Likewise. * gcc.dg/tree-ssa/20030922-1.c: Likewise. * gcc.dg/tree-ssa/20040729-1.c: Likewise. * gcc.dg/tree-ssa/20041122-1.c: Likewise. * gcc.dg/tree-ssa/pr21417.c: Likewise. * gcc.dg/tree-ssa/pr21829.c: Scan phicprop2 dump. * gcc.dg/tree-ssa/ssa-dce-1.c: Scan dce2 dump. * gcc.dg/tree-ssa/ssa-dce-2.c: Likewise. * g++.dg/tree-ssa/pr31146.C: Remove XFAIL, adjust pattern. * gfortran.dg/ldist-1.f90: Adjust. ........ r139287 | charlet | 2008-08-20 06:15:11 -0700 (Wed, 20 Aug 2008) | 9 lines 2008-08-20 Robert Dewar * freeze.adb (Freeze_Record_Type): Improve msg for non-contiguous field * sem_ch13.adb: (Adjust_Record_For_Reverse_Bit_Order): Messages about layout are now labeled as info msgs, not warnings. ........ r139288 | rguenth | 2008-08-20 06:21:41 -0700 (Wed, 20 Aug 2008) | 8 lines 2008-08-20 Richard Guenther * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): More properly handle conversion/copy chains after tuplification. * gcc.dg/tree-ssa/forwprop-9.c: Scan FRE dump as well. * gcc.dg/tree-ssa/forwprop-10.c: New testcase. ........ r139289 | hjl | 2008-08-20 06:22:30 -0700 (Wed, 20 Aug 2008) | 16 lines gcc/ 2008-08-20 H.J. Lu PR target/37169 * config/i386/i386.c (ix86_expand_vector_init_one_nonzero): In V2DI mode, for SSE4.1, use movq instead of vector set if the second element is zero and inter-unit moves are OK. gcc/testsuite/ 2008-08-20 H.J. Lu PR target/37169 * i386/sse2-init-v2di-2.c: New. ........ r139290 | charlet | 2008-08-20 06:24:25 -0700 (Wed, 20 Aug 2008) | 5 lines 2008-08-20 Ed Schonberg * sem_ch8.adb (Analyze_Subprogram_Renaming): Inherit Is_Imported flag. ........ r139291 | charlet | 2008-08-20 06:24:40 -0700 (Wed, 20 Aug 2008) | 11 lines 2008-08-20 Gary Dismukes * exp_ch11.adb: (Expand_Exception_Handlers): Call Make_Exception_Handler instead of Make_Implicit_Exception_Handler when rewriting an exception handler with a choice parameter, and pass the handler's Sloc instead of that of the handled sequence of statements. Make_Implicit_Exception_Handler sets the Sloc to No_Location (unless debugging generated code), which we don't want for the case of a user handler. ........ r139292 | charlet | 2008-08-20 06:28:58 -0700 (Wed, 20 Aug 2008) | 2 lines * g-comlin.ads: Update comments. Add new paramter Add_Before. ........ r139293 | manu | 2008-08-20 06:35:00 -0700 (Wed, 20 Aug 2008) | 29 lines 2008-08-18 Manuel Lopez-Ibanez * diagnostic.c (inform): Add an explicit location_t parameter. * toplev.h (inform): Update declaration. * builtins.c: Update all calls to inform. * c-common.c: Likewise. * c-decl.c: Likewise. * c-opts.c: Likewise. * c-pch.c: Likewise. * c-pragma.c: Likewise. * c-typeck.c: Likewise. * coverage.c: Likewise. * opts.c: Likewise. * toplev.c: Likewise. * tree-cfg.c: Likewise. * tree-ssa.c: Likewise. cp/ * parser.c: Update all calls to inform. * typeck.c: Likewise. * init.c: Likewise. * class.c: Likewise. * call.c: Likewise. * method.c: Likewise. * friend.c: Likewise. * typeck2.c: Likewise. * pt.c: Likewise. * name-lookup.c: Likewise. * lex.c: Likewise. ........ r139294 | manu | 2008-08-20 06:50:26 -0700 (Wed, 20 Aug 2008) | 5 lines 2008-08-20 Manuel Lopez-Ibanez * profile.c: Update calls to inform. * value-prof.c: Update calls to inform. ........ r139295 | manu | 2008-08-20 06:55:12 -0700 (Wed, 20 Aug 2008) | 4 lines 2008-08-20 Manuel Lopez-Ibanez * value-prof.c (check_counter): Revert wrong call to error. ........ r139296 | charlet | 2008-08-20 06:55:20 -0700 (Wed, 20 Aug 2008) | 2 lines Fix copyright notice. ........ r139297 | charlet | 2008-08-20 06:58:12 -0700 (Wed, 20 Aug 2008) | 2 lines Minor reforamatting. ........ r139298 | charlet | 2008-08-20 07:26:52 -0700 (Wed, 20 Aug 2008) | 4 lines 2008-08-20 Robert Dewar * s-fileio.adb: Minor reformatting ........ r139299 | charlet | 2008-08-20 07:27:01 -0700 (Wed, 20 Aug 2008) | 7 lines 2008-08-20 Thomas Quinot * exp_strm.adb (Build_Elementary_Input_Call, Build_Elementary_Write_Call): Fix incorrect condition in circuitry that selects the stream attribute routines for long float types. ........ r139300 | charlet | 2008-08-20 07:27:11 -0700 (Wed, 20 Aug 2008) | 7 lines 2008-08-20 Vincent Celier * prj-proc.adb (Process_Declarative_Items): Add Location for Array_Data * prj.ads (Array_Data): Add a component Location ........ r139301 | charlet | 2008-08-20 07:27:21 -0700 (Wed, 20 Aug 2008) | 7 lines 2008-08-20 Ed Schonberg * sem_prag.adb: (Analyze_Pragma, case Obsolescent): Add entity information on the pragma argument for ASIS and navigation use. ........ r139302 | charlet | 2008-08-20 07:27:30 -0700 (Wed, 20 Aug 2008) | 5 lines 2008-08-20 Ed Schonberg * einfo.ads: Add comment. ........ r139303 | charlet | 2008-08-20 07:27:39 -0700 (Wed, 20 Aug 2008) | 5 lines 2008-08-20 Bob Duff * sem_eval.ads: Minor comment fix. ........ r139304 | charlet | 2008-08-20 07:27:50 -0700 (Wed, 20 Aug 2008) | 8 lines 2008-08-20 Bob Duff * exp_ch4.adb (Expand_N_And_Then, Expand_N_Or_Else): Improve constant folding. We were folding things like "False and then ...", but not "X and then ..." where X is a constant whose value is known at compile time. ........ r139305 | charlet | 2008-08-20 07:27:59 -0700 (Wed, 20 Aug 2008) | 12 lines 2008-08-20 Hristian Kirtchev * exp_ch5.adb (Controlled_Type): New routine. (Expand_N_Extended_Return_Statement): When generating a move of the final list in extended return statements, check the type of the function and in the case of double expanded return statements, the type of the returned object. (Expand_Simple_Function_Return): Perform an interface conversion when the type of the returned object is an interface and the context is an extended return statement. ........ r139306 | charlet | 2008-08-20 07:28:08 -0700 (Wed, 20 Aug 2008) | 6 lines 2008-08-20 Ed Schonberg * sem_util.adb (Set_Debug_Info_Needed): If the entity is a private type and the full view is visible, set flag on full view as well. ........ r139307 | charlet | 2008-08-20 07:28:17 -0700 (Wed, 20 Aug 2008) | 5 lines 2008-08-20 Thomas Quinot * g-comlin.adb: Minor reformatting Minor code reorganization. ........ r139308 | charlet | 2008-08-20 07:28:26 -0700 (Wed, 20 Aug 2008) | 4 lines 2008-08-20 Thomas Quinot * freeze.adb: Minor reformatting ........ r139309 | charlet | 2008-08-20 07:28:36 -0700 (Wed, 20 Aug 2008) | 6 lines 2008-08-20 Vincent Celier * prj-nmsc.adb (Check_File): An excluded Ada source file may be a source of another project. ........ r139310 | charlet | 2008-08-20 07:29:06 -0700 (Wed, 20 Aug 2008) | 4 lines 2008-08-20 Pascal Obry * s-os_lib.ads: Minor reformatting. ........ r139311 | charlet | 2008-08-20 08:02:41 -0700 (Wed, 20 Aug 2008) | 2 lines * gnat.dg/div_no_warning.adb: New test. ........ r139312 | charlet | 2008-08-20 08:29:33 -0700 (Wed, 20 Aug 2008) | 7 lines 2008-08-20 Vincent Celier * prj-nmsc.adb (Check_Naming_Schemes): Accept source file names for gprbuild when casing is MixedCase, whatever the casing of the letters in the file name. ........ r139313 | charlet | 2008-08-20 08:29:44 -0700 (Wed, 20 Aug 2008) | 11 lines 2008-08-20 Gary Dismukes * exp_ch3.adb (Build_Array_Init_Proc): Clarify comment related to creating dummy init proc. (Requires_Init_Proc): Return False in the case No_Default_Initialization is in force and the type does not have associated default initialization. Move test of Is_Public (with tests of restrictions No_Initialize_Scalars and No_Default_Initialization) to end, past tests for default initialization. ........ r139314 | charlet | 2008-08-20 08:30:04 -0700 (Wed, 20 Aug 2008) | 6 lines 2008-08-20 Jerome Lambourg * g-comlin.adb (For_Each_Simple_Switch): Take care of switches not part of any alias or prefix but having attached parameters (as \"-O2\"). ........ r139315 | charlet | 2008-08-20 08:42:52 -0700 (Wed, 20 Aug 2008) | 13 lines 2008-08-20 Vincent Celier * make.adb (Gnatmake_Switch_Found): New Boolean global variable (Switch_May_Be_Passed_To_The_Compiler): New Boolean global variable (Add_Switches): New Boolean parameter Unknown_Switches_To_The_Compiler defaulted to True. Fail when Unknown_Switches_To_The_Compiler is False and a switch is not recognized by gnatmake. (Gnatmake): Implement new scheme for gnatmake switches and global compilation switches. (Switches_Of): Try successively Switches (), Switches ("Ada"), Switches (others) and Default_Switches ("Ada"). ........ r139316 | charlet | 2008-08-20 08:43:11 -0700 (Wed, 20 Aug 2008) | 22 lines 2008-08-20 Ed Schonberg * styleg-c.ads, styleg-c.adb (Missing_Overriding): new procedure to implement style check that overriding operations are explicitly marked at such. * style.ads (Missing_Overriding): new procedure that provides interface to previous one. * stylesw.ads, stylesw.adb: New style switch -gnatyO, to enable check that the declaration or body of overriding operations carries an explicit overriding indicator. * sem_ch8.adb (Analyze_Subprogram_Renaming): if operation is overriding, check whether explicit indicator should be present. * sem_ch6.adb (Verify_Overriding_Indicator, Check_Overriding_Indicator): If operation is overriding, check whether declaration and/or body of subprogram should be present ........ r139317 | jakub | 2008-08-20 08:50:23 -0700 (Wed, 20 Aug 2008) | 7 lines PR c/37171 * c-parser.c (c_parser_attributes): For keywords use canonical spelling for attr_name. * gcc.dg/pr37171.c: New test. * g++.dg/ext/attrib34.C: New test. ........ r139318 | charlet | 2008-08-20 08:50:31 -0700 (Wed, 20 Aug 2008) | 4 lines 2008-08-20 Robert Dewar * exp_ch5.adb: Minor reformatting ........ r139319 | charlet | 2008-08-20 08:50:40 -0700 (Wed, 20 Aug 2008) | 5 lines 2008-08-20 Robert Dewar * g-comlin.adb: Minor reformatting ........ r139320 | charlet | 2008-08-20 08:50:52 -0700 (Wed, 20 Aug 2008) | 5 lines 2008-08-20 Robert Dewar * g-comlin.adb: Minor reformatting ........ r139321 | charlet | 2008-08-20 08:51:02 -0700 (Wed, 20 Aug 2008) | 5 lines 2008-08-20 Robert Dewar * make.adb: Minor reformatting ........ r139322 | charlet | 2008-08-20 08:51:15 -0700 (Wed, 20 Aug 2008) | 5 lines 2008-08-20 Robert Dewar * stylesw.ads: Minor reformatting ........ r139323 | charlet | 2008-08-20 08:51:37 -0700 (Wed, 20 Aug 2008) | 7 lines 2008-08-20 Robert Dewar * sem_ch13.adb: (Adjust_Record_For_Reverse_Bit_Order): Do not access First_Bit for non-existing component clause. ........ r139325 | rguenth | 2008-08-20 08:58:47 -0700 (Wed, 20 Aug 2008) | 8 lines 2008-08-20 Richard Guenther * tree-ssa-ccp.c (maybe_fold_stmt_indirect): Do not mess with TREE_THIS_VOLATILE on shared nodes. (fold_stmt_r): Likewise. * gcc.c-torture/compile/20080820-1.c: New testcase. ........ r139326 | rguenth | 2008-08-20 09:01:59 -0700 (Wed, 20 Aug 2008) | 10 lines 2008-08-20 Richard Guenther * tree-vrp.c (op_with_constant_singleton_value_range): New function. (extract_range_from_binary_expr): Fall back to constant propagation. (extract_range_from_unary_expr): Likewise. * gcc.dg/tree-ssa/pr21829.c: Scan optimized and cddce2 dumps instead of phicprop2. Make sure all is fine after cddce2, add an XFAILed scan for merging the two remaining ifs. ........ r139328 | manu | 2008-08-20 09:05:58 -0700 (Wed, 20 Aug 2008) | 8 lines 2008-08-20 Manuel Lopez-Ibanez PR c++/35602 * c-common.c (conversion_warning): Do not warn for artificial expressions. testsuite/ * g++.dg/warn/pr35602.C: New. ........ r139329 | manu | 2008-08-20 09:09:45 -0700 (Wed, 20 Aug 2008) | 12 lines 2008-08-20 Manuel Lopez-Ibanez PR 35701 * c-common.c (conversion_warning): Do not warn if applying bit-and operator to unsigned constant that fits in the target type. testsuite/ * gcc.dg/pr35701.c: New. * gcc.dg/Wconversion-real-integer.c: Add more tests. * gcc.dg/Wconversion-pr34389.c: Update. * g++.dg/warn/Wconversion-pr34389.C: Update. ........ r139330 | charlet | 2008-08-20 09:11:44 -0700 (Wed, 20 Aug 2008) | 5 lines 2008-08-20 Vincent Celier * make.adb (Gnatmake): Remove extra space in version line ........ r139331 | charlet | 2008-08-20 09:11:55 -0700 (Wed, 20 Aug 2008) | 8 lines 2008-08-20 Vincent Celier * ali.adb: (Scan_ALI): Use Name_Find, not Name_Enter to get the name of a subunit, as the name may already have been entered in the table by the Project Manager. ........ r139332 | charlet | 2008-08-20 09:12:17 -0700 (Wed, 20 Aug 2008) | 6 lines 2008-08-20 Jose Ruiz * errno.c (__get_errno, __set_errno for MaRTE): Transform then into weak symbols so we use the version provided by MaRTE when available. ........ r139333 | charlet | 2008-08-20 09:12:38 -0700 (Wed, 20 Aug 2008) | 8 lines 2008-08-20 Emmanuel Briot * g-catiio.ads, g-catiio.adb: (Value): Avoid an unnecessary system call to Clock in most cases. This call is only needed when only the time is provided in the string, and ignored in all other cases. This is more efficient. ........ r139334 | charlet | 2008-08-20 09:13:06 -0700 (Wed, 20 Aug 2008) | 4 lines 2008-08-20 Eric Botcazou * raise-gcc.c: Fix formatting nits. ........ r139335 | manu | 2008-08-20 09:35:21 -0700 (Wed, 20 Aug 2008) | 9 lines 2008-08-20 Manuel Lopez-Ibanez PR c++/35158 cp/ * parser.c (cp_parser_omp_for_loop): Handle parenthesized initializers. testsuite/ * g++.dg/gomp/pr35158.C: New. ........ r139338 | rsandifo | 2008-08-20 12:07:38 -0700 (Wed, 20 Aug 2008) | 3 lines gcc/ * rtlanal.c (subreg_offset_representable_p): Revert last change. ........ r139339 | paolo | 2008-08-20 12:29:54 -0700 (Wed, 20 Aug 2008) | 37 lines 2008-08-20 Paolo Carlini PR libstdc++/33979 (partial) * include/bits/postypes.h (u16streampos, u32streampos): Add. * include/bits/char_traits.h (char_traits, char_traits): Add. * include/bits/stringfwd.h (u16string, u32string): Add. * include/ext/vstring_fwd.h: Add typedefs for char16_t/char32_t. * testsuite/21_strings/char_traits/requirements/char32_t/typedefs.cc: New. * testsuite/21_strings/char_traits/requirements/ explicit_instantiation/short/1.cc: Likewise. * testsuite/21_strings/char_traits/requirements/ explicit_instantiation/char32_t/1.cc: Likewise. * testsuite/21_strings/char_traits/requirements/ explicit_instantiation/wchar_t/1.cc: Likewise. * testsuite/21_strings/char_traits/requirements/ explicit_instantiation/char16_t/1.cc: Likewise. * testsuite/21_strings/char_traits/requirements/ explicit_instantiation/char/1.cc: Likewise. * testsuite/21_strings/char_traits/requirements/char16_t/typedefs.cc: Likewise. * testsuite/21_strings/basic_string/requirements/ explicit_instantiation/char32_t/1.cc: Likewise. * testsuite/21_strings/basic_string/requirements/ explicit_instantiation/wchar_t/1.cc: Likewise. * testsuite/21_strings/basic_string/requirements/ explicit_instantiation/char16_t/1.cc: Likewise. * testsuite/21_strings/basic_string/requirements/ explicit_instantiation/char/1.cc: Likewise. * testsuite/21_strings/headers/string/types_std_c++0x.cc: Likewise. * testsuite/ext/vstring/requirements/explicit_instantiation/ char32_t/1.cc: Likewise. * testsuite/ext/vstring/requirements/explicit_instantiation/ char16_t/1.cc: Likewise. ........ r139341 | paolo | 2008-08-20 12:37:48 -0700 (Wed, 20 Aug 2008) | 4 lines 2008-08-20 Paolo Carlini * Fix last ChangeLog entry. ........ r139343 | hjl | 2008-08-20 14:05:15 -0700 (Wed, 20 Aug 2008) | 3 lines PR bootstrap/37155 Fixed by revision 139338. ........ r139347 | manu | 2008-08-20 15:23:45 -0700 (Wed, 20 Aug 2008) | 18 lines 2008-08-21 Manuel Lopez-Ibanez PR middle-end/179 * tree-ssa.c (warn_uninit): Do not warn for variables that can be initialized outside the current module. (warn_uninitialized_var): Ignore left-hand side when walking the trees. Ignore address expressions. Examine VUSE operands in gimple statements with a variable declaration on the right-hand side. testsuite/ * gcc.dg/uninit-6.c (make_something): Remove XFAIL. * gcc.dg/uninit-6-O0.c (make_something): Remove XFAIL. * gcc.dg/uninit-B.c (baz): Remove XFAIL. * gcc.dg/uninit-B-2.c: New. * gcc.dg/uninit-B-O0-2.c: New. * gcc.dg/uninit-pr19430-O0.c: New. * gcc.dg/uninit-pr19430.c: New. * gcc.dg/uninit-pr19430-2.c: New. ........ r139361 | gccadmin | 2008-08-20 17:16:43 -0700 (Wed, 20 Aug 2008) | 1 line Daily bump. ........ r139363 | jsm28 | 2008-08-20 17:17:45 -0700 (Wed, 20 Aug 2008) | 4 lines PR target/31070 * config/sparc/sparc.c (function_arg_slotno): Handle structure with MODE_VECTOR_INT mode. ........ r139367 | paolo | 2008-08-20 18:06:45 -0700 (Wed, 20 Aug 2008) | 6 lines 2008-08-20 Paolo Carlini * include/bits/char_traits.h (char_traits:: assign(char_type*, size_t, char_type), char_traits:: assign(char_type*, size_t, char_type)): For now, just open-code. ........ r139373 | manu | 2008-08-21 03:55:13 -0700 (Thu, 21 Aug 2008) | 27 lines 2008-08-21 Manuel Lopez-Ibanez * diagnostic.c (pedwarn_at): Rename as pedwarn. (pedwarn): Delete. * toplev.h (pedwarn_at): Likewise. * builtins.c: Update all calls to pedwarn. * c-lex.c: Likewise. * toplev.c: Likewise. * c-tree.h: Likewise. * c-decl.c: Likewise. * c-errors.c: Likewise. * c-typeck.c: Likewise. * c-common.c: Likewise. * c-parser.c: Likewise. cp/ * typeck.c: Update all calls to pedwarn. * decl.c: Likewise. * call.c: Likewise. * error.c: Likewise. * pt.c: Likewise. * name-lookup.c: Likewise. * parser.c: Likewise. fortran/ * f95-lang.c: Update all calls to pedwarn. ........ r139374 | rguenth | 2008-08-21 04:22:52 -0700 (Thu, 21 Aug 2008) | 7 lines 2008-08-21 Richard Guenther PR testsuite/37182 * gcc.dg/pr17506.c: Remove duplicate testcase. * gcc.dg/uninit-15.c: Adjust to allow for both correct behaviors, one xfailed. ........ r139375 | rguenth | 2008-08-21 04:25:28 -0700 (Thu, 21 Aug 2008) | 7 lines 2008-08-21 Richard Guenther PR tree-optimization/37181 * tree-vrp.c (extract_range_from_binary_expr): Check for NULL folding result. (extract_range_from_unary_expr): Likewise. ........ r139376 | rguenth | 2008-08-21 04:31:57 -0700 (Thu, 21 Aug 2008) | 8 lines 2008-08-21 Richard Guenther * gcc.dg/tree-ssa/ssa-fre-13.c: Remove XFAIL. * gcc.dg/tree-ssa/ssa-fre-14.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-17.c: Likewise. * gcc.dg/tree-ssa/data-dep-1.c: Likewise. * gcc.dg/tree-ssa/ltrans-3.c: Likewise. ........ r139377 | aaronwl | 2008-08-21 04:58:40 -0700 (Thu, 21 Aug 2008) | 5 lines 2008-08-21 Aaron W. LaFramboise * Makefile.am: Add -no-undefined * Makefile.in: Regenerate. ........ r139378 | hubicka | 2008-08-21 05:39:35 -0700 (Thu, 21 Aug 2008) | 25 lines Backport from LTO branch: 2008-05-05 Kenneth Zadeck Jan Hubicka * ipa-pure-const.c (init_state, finish_state, set_function_state, generate_summary): New functions. (scan_stmt): Renamed from scan_function. Changed to keep state in local static vars rather than cgraph aux field. (propagate): Renamed from static_execute. Changed to keep state in local static vars rather than cgraph aux field. (pass_ipa_pure_const): Changed from SIMPLE_IPA_PASS to IPA_PASS. * tree-pass.h (pass_ipa_pure_const): Turn into IPA_PASS. 2008-07-15 Kenneth Zadeck * tree-pass.h (pass_ipa_reference): Make into ipa_opt_pass. * ipa-reference.c (init_function_info, generate_summary, propagate): New functions. (analyze_function): Call init_function_info. (static_execute): Stripped into generate_summary and propagate. (pass_ipa_reference): Made into ipa_opt_pass. ........ r139385 | rguenth | 2008-08-21 06:50:30 -0700 (Thu, 21 Aug 2008) | 8 lines 2008-08-21 Richard Guenther PR middle-end/36817 * tree-chrec.c (chrec_apply): Always call chrec_fold_plus which makes sure to produce a result of the correct type. * gcc.c-torture/compile/pr36817.c: New testcase. ........ r139388 | rguenth | 2008-08-21 08:18:58 -0700 (Thu, 21 Aug 2008) | 7 lines 2008-08-21 Richard Guenther * tree-ssa-pre.c (insert_into_preds_of_block): Before inserting a PHI ask VN if it is already available. * tree-ssa-sccvn.h (vn_phi_lookup): Declare. * tree-ssa-sccvn.c (vn_phi_lookup): Export. ........ r139389 | hubicka | 2008-08-21 08:26:59 -0700 (Thu, 21 Aug 2008) | 34 lines * cgraph.c (first_cgraph_function_insertion_hook): New variable. (cgraph_add_function_insertion_hook, cgraph_remove_function_insertion_hook, cgraph_call_function_insertion_hooks): New functions. * cgraph.h (cgraph_add_function_insertion_hook, cgraph_remove_function_insertion_hook, cgraph_call_function_insertion_hooks): Declare. * ipa-reference.c (function_insertion_hook_holder): New variable. (check_operand, look_for_address_of): When checking late, do not care about module bitmaps. (add_new_function): New function. (generate_summary): Register hooks; zero module bitmaps. (propagate): Unregister hooks. * ipa-pure-const.c (function_insertion_hook_holder): New variable. (add_new_function): New function. (generate_summary): Register hook. (propagate): Remove hook. * ipa-cp.c (ipcp_need_redirect_p): Fix to not be constant 0. * tree-pass.h (pass_ipa_cp): Make ipa_opt_pass. * ipa-cp.c (ipcp_update_cloned_node): New function. (build_const_val): Handle functions correctly; bring type logic into sync with tree-inline.c (ipcp_init_stage): Take care of computing stuff needed by indirect inlining; update clones. (ipcp_generate_summary): Break out of ipcp_driver. (ipcp_driver): Do only execution and transformation. (pass_ipa_cp): Make IPA_PASS. * tree-ssa-ccp.c (fold_stmt_r): Check type before trying to fold offset to address. * ipa-inline.c (inline_indirect_intraprocedural_analysis): When doing ipcp, some info is already available. * ipa-prop.c (ipa_count_arguments): Grow edge lists as needed. * tree-inline.c (remap_ssa_name): Unshare expression. ........ r139393 | froydnj | 2008-08-21 08:37:05 -0700 (Thu, 21 Aug 2008) | 6 lines * testsuite/libgomp.exp (libgomp_init): Only set things that depend on blddir if blddir exists. (libgomp_target_compile): Likewise. * testsuite/libgomp.c++/c++.exp: Likewise. * testsuite/libgomp.fortran/fortran.exp: Likewise. ........ r139394 | froydnj | 2008-08-21 08:45:37 -0700 (Thu, 21 Aug 2008) | 1 line Fix ChangeLog typo ........ r139397 | daney | 2008-08-21 09:08:26 -0700 (Thu, 21 Aug 2008) | 5 lines 2008-08-21 David Daney * class.c (make_class_data): Don't add field_index when flag_reduced_reflection set. ........ r139398 | rguenth | 2008-08-21 09:15:08 -0700 (Thu, 21 Aug 2008) | 6 lines 2008-08-21 Richard Guenther * tree-ssa-ccp.c (ccp_fold): Fold VIEW_CONVERT_EXPRs of constants. * gcc.dg/vect/vect-fold-1.c: Scan ccp1 dump instead of dom1. ........ r139399 | jsm28 | 2008-08-21 09:32:38 -0700 (Thu, 21 Aug 2008) | 3 lines * g++.dg/opt/anchor1.C (foo): Return the return value of ycf->ascent. ........ r139402 | paolo | 2008-08-21 10:37:23 -0700 (Thu, 21 Aug 2008) | 5 lines 2008-08-21 Sebastian Redl * libsupc++/eh_ptr.cc (__gxx_dependent_exception_cleanup): Call __cxa_free_dependent_exception. ........ r139403 | aldyh | 2008-08-21 10:50:01 -0700 (Thu, 21 Aug 2008) | 14 lines * c-tree.h (grokfield): New argument. * c-decl.c (grokfield): Handle new location argument. * c-parser.c (c_parser_struct_declaration): Pass location to grokfield. testsuite/ * gcc.dg/20011008-1.c: Test column. * gcc.dg/20080820.c: New. * gcc.dg/fltconst-1.c: Test column. * gcc.dg/cpp/cpp.exp: Add -fno-show-column. * gcc.dg/cpp/trad/trad.exp: Same. * lib/gcc.exp (gcc_target_compile): Remove -fno-show-column. * lib/gcc-dg.exp (process-message): Handle columns. ........ r139406 | manu | 2008-08-21 12:05:46 -0700 (Thu, 21 Aug 2008) | 8 lines 2008-08-21 Manuel Lopez-Ibanez PR 30457 * builtins.c (fold_builtin_next_arg): Add warning about undefined behaviour. testsuite/ * gcc.dg/pr30457.c: New. ........ r139408 | rth | 2008-08-21 12:31:02 -0700 (Thu, 21 Aug 2008) | 3 lines * configure.ac (HAVE_GAS_CFI_PERSONALITY_DIRECTIVE): Remove spurrious comma from test. * configure: Rebuild. ........ r139421 | gccadmin | 2008-08-21 17:16:37 -0700 (Thu, 21 Aug 2008) | 1 line Daily bump. ........ r139425 | domob | 2008-08-22 00:13:25 -0700 (Fri, 22 Aug 2008) | 40 lines 2008-08-22 Daniel Kraft PR fortran/32095 PR fortran/34228 * gfortran.h (in_prefix): New global. (gfc_check_symbol_typed), (gfc_check_expr_typed): New methods. * array.c (match_array_element_spec): Check that bounds-expressions don't have symbols not-yet-typed in them. * decl.c (var_element): Check that variable used is already typed. (char_len_param_value): Check that expression does not contain not-yet-typed symbols. (in_prefix): New global. (gfc_match_prefix): Record using `in_prefix' if we're at the moment parsing a prefix or not. * expr.c (gfc_expr_check_typed): New method. * parse.c (verify_st_order): New argument to disable error output. (check_function_result_typed): New helper method. (parse_spec): Check that the function-result declaration, if given in a prefix, contains no not-yet-typed symbols when the IMPLICIT rules are parsed. * symbol.c (gfc_check_symbol_typed): Check that a symbol already has a type associated to it, otherwise use the IMPLICIT rules or signal an error. 2008-08-22 Daniel Kraft PR fortran/32095 PR fortran/34228 * gfortran.dg/used_before_typed_1.f90: New test. * gfortran.dg/used_before_typed_2.f90: New test. * gfortran.dg/used_before_typed_3.f90: New test. * gfortran.dg/array_constructor_26.f03: Add -std=gnu to not enable legacy-behaviour for the new check. * gfortran.dg/array_constructor_27.f03: Ditto. * gfortran.dg/blockdata_4.f90: Ditto. * gfortran.dg/bound_2.f90: Reordered declarations to satisfy the check. * gfortran.dg/result_in_spec_1.f90: Ditto. * gfortran.dg/argument_checking_7.f90: Adapted expected error messages. ........ r139426 | nathan | 2008-08-22 01:51:32 -0700 (Fri, 22 Aug 2008) | 2 lines * c-ppoutput.c (init_pp_output): Initialize src_line to 1. ........ r139427 | charlet | 2008-08-22 01:54:05 -0700 (Fri, 22 Aug 2008) | 6 lines 2008-08-22 Sergey Rybin * gnat_ugn.texi: Update the gnatcheck subsection for metric rules acoording to the latest changes in the metric rule interface ........ r139428 | charlet | 2008-08-22 01:54:14 -0700 (Fri, 22 Aug 2008) | 5 lines 2008-08-22 Robert Dewar * g-catiio.adb: Code cleanup. ........ r139429 | charlet | 2008-08-22 01:54:46 -0700 (Fri, 22 Aug 2008) | 7 lines 2008-08-22 Vincent Celier * make.adb (Check.File_Not_A_Source_Of): New Boolean function (Check): Check if the file names registered in the ALI file for the spec, the body and each of the subunits are the ones expected. ........ r139430 | charlet | 2008-08-22 02:03:16 -0700 (Fri, 22 Aug 2008) | 8 lines 2008-08-22 Ed Schonberg * sem_ch8.adb (Use_One_Type): when checking which of two use_type clauses in related units is redundant, if one of the units is a package instantiation, use its instance_spec to determine which unit is the ancestor of the other. ........ r139431 | charlet | 2008-08-22 02:03:30 -0700 (Fri, 22 Aug 2008) | 7 lines 2008-08-22 Sergey Rybin * vms_data.ads: Add entry for new gnatcheck -mNNN option * gnat_ugn.texi: Add description for gnatcheck option '-m' ........ r139432 | charlet | 2008-08-22 02:03:53 -0700 (Fri, 22 Aug 2008) | 9 lines 2008-08-22 Javier Miranda * exp_attr.adb (Expand_N_Attribute_Reference): In case of access attributes add missing support to handle designated types that come from the limited view. * exp_disp.adb (Expand_Interface_Conversion): Remove wrong assertion. ........ r139435 | domob | 2008-08-22 03:53:40 -0700 (Fri, 22 Aug 2008) | 14 lines 2008-08-22 Daniel Kraft * gfortran.h (in_prefix): Removed from this header. * match.h (gfc_matching_prefix): Moved and renamed from `in_prefix'. * decl.c (in_prefix): Removed from here. (gfc_match_prefix): Use new name of `gfc_matching_prefix'. * symbol.c (gfc_check_symbol_typed): Ditto. * expr.c (check_typed_ns): New helper variable. (expr_check_typed_help): New helper method. (gfc_expr_check_typed): Rewrote to use gfc_traverse_expr to do the work, fixing a minor problem. * match.c (gfc_matching_prefix): New variable. ........ r139439 | charlet | 2008-08-22 05:10:38 -0700 (Fri, 22 Aug 2008) | 7 lines 2008-08-22 Thomas Quinot * sem_ch8.adb: Minor reformatting Minor code reorganization (introduce subprogram to factor duplicated code). ........ r139440 | charlet | 2008-08-22 05:11:03 -0700 (Fri, 22 Aug 2008) | 6 lines 2008-08-22 Sergey Rybin * gnat_ugn.texi: Change the description of gnatcheck default rule settings. ........ r139441 | charlet | 2008-08-22 05:11:31 -0700 (Fri, 22 Aug 2008) | 12 lines 2008-08-22 Eric Botcazou * init.c (__gnat_adjust_context_for_raise): Delete for AIX, HP-UX, Solaris, FreeBSD, VxWorks and PowerPC/Linux. For x86{-64}/Linux, do not adjust the PC anymore. (__gnat_error_handler): Do not call __gnat_adjust_context_for_raise on AIX, HP-UX, Solaris, FreeBSD and VxWorks. * raise-gcc.c (get_call_site_action_for): Use _Unwind_GetIPInfo instead of _Unwind_GetIP. ........ r139442 | charlet | 2008-08-22 05:12:04 -0700 (Fri, 22 Aug 2008) | 11 lines 2008-08-22 Gary Dismukes * exp_aggr.adb (Static_Array_Aggregate): When a static array aggregate with a range is transformed into a positional aggregate, any copied component literals should be marked Is_Static_Expression. * sem_eval.adb (Compile_Time_Known_Value): Don't treat null literals as not being known at at compile time when Configurable_Run_Time_Mode is true. ........ r139443 | charlet | 2008-08-22 05:13:14 -0700 (Fri, 22 Aug 2008) | 7 lines 2008-08-22 Robert Dewar * exp_attr.adb: (Expand_N_Attribute_Reference): No validity checking on OUT parameter of Read or Input attribute. ........ r139444 | charlet | 2008-08-22 05:40:43 -0700 (Fri, 22 Aug 2008) | 4 lines 2008-08-22 Robert Dewar * sem_ch8.adb: Minor reformatting ........ r139445 | charlet | 2008-08-22 05:41:03 -0700 (Fri, 22 Aug 2008) | 12 lines 2008-08-22 Kevin Pouget * s-shasto.ads, s-shasto.adb: Move Shared_Var_ROpen, Shared_Var_WOpen and Shared_Var_Close procedure specifications from package spec to package body. * rtsfind.ads: Remove RE_Shared_Var_Close, RE_Shared_Var_ROpen, RE_Shared_Var_WOpen entries. * exp_dist.adb: Update RE_Any_Content_Ptr to RE_Any_Container_Ptr in Build_To_Any_Call, Build_TypeCode_Call and Build_From_Any_Call procedures. ........ r139446 | charlet | 2008-08-22 05:41:18 -0700 (Fri, 22 Aug 2008) | 7 lines 2008-08-22 Eric Botcazou * init.c: adjust EH support code on Alpha/Tru64 as well. * raise-gcc.c: Add back a couple of comments. ........ r139447 | charlet | 2008-08-22 05:41:30 -0700 (Fri, 22 Aug 2008) | 8 lines 2008-08-22 Ed Schonberg * exp_ch5.adb (Expand_Simple_Function_Return): If secondary stack is involved and the return type is class-wide, use the type of the expression for the generated access type. Suppress useless discriminant checks on the allocator. ........ r139448 | charlet | 2008-08-22 05:41:42 -0700 (Fri, 22 Aug 2008) | 5 lines 2008-08-22 Bob Duff * exp_ch7.adb: Minor comment fix ........ r139449 | charlet | 2008-08-22 05:42:17 -0700 (Fri, 22 Aug 2008) | 5 lines 2008-08-22 Bob Duff * exp_ch6.ads: Minor comment fix ........ r139450 | rguenth | 2008-08-22 05:43:49 -0700 (Fri, 22 Aug 2008) | 9 lines 2008-08-22 Richard Guenther PR middle-end/36548 PR middle-end/37125 * fold-const.c (extract_muldiv_1): Optimize (X * C1) % C2 only if the multiplication does not overflow. * gcc.c-torture/execute/pr37125.c: New testcase. ........ r139452 | charlet | 2008-08-22 05:59:45 -0700 (Fri, 22 Aug 2008) | 12 lines 2008-08-22 Bob Duff * exp_ch5.adb, exp_ch7.adb, exp_ch7.ads, exp_util.adb, freeze.adb, exp_ch4.adb, exp_ch6.ads, exp_ch6.adb, sem_ch6.adb, exp_aggr.adb, exp_intr.adb, exp_ch3.adb: Rename: Exp_Ch7.Controlled_Type => Needs_Finalization Exp_Ch7.CW_Or_Controlled_Type => CW_Or_Has_Controlled_Part Exp_Ch5.Expand_N_Extended_Return_Statement.Controlled_Type => Has_Controlled_Parts (Has_Some_Controlled_Component): Fix bug in array case. ........ r139456 | charlet | 2008-08-22 06:24:49 -0700 (Fri, 22 Aug 2008) | 11 lines 2008-08-22 Doug Rupp * bindgen.adb [VMS] (Gen_Adainit_Ada, Gen_Adainit_C): Import and call __gnat_set_features. * init.c (__gnat_set_features): New function. (__gnat_features_set): New tracking variable. (__gl_no_malloc_64): New feature global variable ........ r139457 | charlet | 2008-08-22 06:25:08 -0700 (Fri, 22 Aug 2008) | 6 lines 2008-08-22 Ed Schonberg * sem_ch8.adb (Use_One_Type): Do not emit warning message about redundant use_type_clause in an instance. ........ r139458 | charlet | 2008-08-22 06:25:19 -0700 (Fri, 22 Aug 2008) | 5 lines 2008-08-22 Bob Duff * exp_ch6.ads: Remove pragma Precondition, since it breaks some builds. ........ r139459 | charlet | 2008-08-22 06:25:29 -0700 (Fri, 22 Aug 2008) | 4 lines 2008-08-22 Robert Dewar * exp_ch6.adb: Minor reformatting ........ r139460 | charlet | 2008-08-22 06:25:41 -0700 (Fri, 22 Aug 2008) | 5 lines 2008-08-22 Robert Dewar * exp_ch7.adb: Minor reformatting ........ r139461 | charlet | 2008-08-22 06:25:50 -0700 (Fri, 22 Aug 2008) | 5 lines 2008-08-22 Robert Dewar * exp_ch7.ads: Put routines in proper alpha order ........ r139462 | charlet | 2008-08-22 06:26:00 -0700 (Fri, 22 Aug 2008) | 5 lines 2008-08-22 Robert Dewar * exp_dist.adb: Minor reformatting ........ r139463 | charlet | 2008-08-22 06:26:09 -0700 (Fri, 22 Aug 2008) | 5 lines 2008-08-22 Vincent Celier * prj.ads: Minor comment update ........ r139464 | charlet | 2008-08-22 06:26:19 -0700 (Fri, 22 Aug 2008) | 5 lines 2008-08-22 Robert Dewar * sem_ch5.adb (One_Bound): Fix latent bug involving secondary stack ........ r139465 | charlet | 2008-08-22 06:26:28 -0700 (Fri, 22 Aug 2008) | 7 lines 2008-08-22 Ed Schonberg * exp_tss.adb: (Base_Init_Proc): For a protected subtype, use the base type of the corresponding record to locate the propoer initialization procedure. ........ r139466 | charlet | 2008-08-22 06:26:38 -0700 (Fri, 22 Aug 2008) | 5 lines 2008-08-22 Pascal Obry * adaint.c: Fix possible race condition on win32_wait(). ........ r139467 | charlet | 2008-08-22 06:27:35 -0700 (Fri, 22 Aug 2008) | 23 lines 2008-08-22 Robert Dewar * checks.adb: (In_Subrange_Of): New calling sequence (Determine_Range): Prepare for new processing using base type * exp_ch4.adb: (Compile_Time_Compare): Use new calling sequence * exp_ch5.adb: (Compile_Time_Compare): Use new calling sequence * sem_eval.adb: (Compile_Time_Compare): New calling sequence allows dealing with invalid values. (In_Subrange_Of): Ditto * sem_eval.ads: (Compile_Time_Compare): New calling sequence allows dealing with invalid values. (In_Subrange_Of): Ditto ........ r139468 | charlet | 2008-08-22 06:29:10 -0700 (Fri, 22 Aug 2008) | 6 lines 2008-08-22 Geert Bosch * gcc-interface/trans.c: Define FP_ARITH_MAY_WIDEN (convert_with_check): Only use longest_float_type if FP_ARITH_MAY_WIDEN is 0 ........ r139471 | uros | 2008-08-22 06:58:52 -0700 (Fri, 22 Aug 2008) | 34 lines PR target/37184 * config/i386/i386.c (ix86_match_ccmode): Handle CCAmode, CCCmode, CCOmode and CCSmode destination modes. PR target/37191 * config/i386/mmx.md (*vec_extractv2sf_0): Avoid combining registers from different units in a single alternative. (*vec_extractv2sf_1): Ditto. (*vec_extractv2si_0): Ditto. (*vec_extractv2si_1): Ditto. * config/i386/sse.md (sse2_storehpd): Ditto. (sse2_storelpd): Ditto. (sse2_loadhpd): Ditto. (sse2_loadlpd): Ditto. PR target/37197 * config/i386/i386.md (clzsi2_abm): Fix operand 1 constraints. (popcountsi2): Ditto. (clzdi2_abm): Ditto. (popcountdi2): Ditto. (clzhi2_abm): Ditto. (popcounthi2): Ditto. testsuite/ChangeLog: PR target/37184 * gcc.target/i386/pr37184.c: New test. PR target/37191 * gcc.target/i386/pr37191.c: New test. PR target/37197 * gcc.target/i386/pr37197.c: New test. ........ r139476 | charlet | 2008-08-22 07:37:57 -0700 (Fri, 22 Aug 2008) | 6 lines 2008-08-22 Pascal Obry * initialize.c, adaint.c: Use Lock_Task and Unlock_Task for non-blocking spawn. ........ r139477 | charlet | 2008-08-22 07:38:14 -0700 (Fri, 22 Aug 2008) | 7 lines 2008-08-22 Javier Miranda * exp_ch3.adb (Build_Init_Statements): Transfer to the body of the init procedure all the expanded code associated with the spec of task types and protected types. ........ r139478 | charlet | 2008-08-22 07:55:14 -0700 (Fri, 22 Aug 2008) | 4 lines 2008-08-22 Javier Miranda * exp_ch3.adb: Revert previous patch. ........ r139479 | charlet | 2008-08-22 07:56:20 -0700 (Fri, 22 Aug 2008) | 7 lines 2008-08-22 Gary Dismukes * exp_aggr.adb (Static_Array_Aggregate): Call Analyze_And_Resolve on the component expression copies rather than directly setting Etype and Is_Static_Expression. ........ r139480 | charlet | 2008-08-22 07:56:32 -0700 (Fri, 22 Aug 2008) | 8 lines 2008-08-22 Gary Dismukes * sem_util.adb (Has_Preelaborable_Initialization): Revise checking of private types to allow for types derived from a private type with preelaborable initialization, but return False for a private extension (unless it has the pragma). ........ r139481 | charlet | 2008-08-22 07:56:55 -0700 (Fri, 22 Aug 2008) | 5 lines 2008-08-22 Robert Dewar * opt.ads: Minor code reorganization (put entries in alpha order) ........ r139483 | charlet | 2008-08-22 08:07:18 -0700 (Fri, 22 Aug 2008) | 7 lines 2008-08-22 Javier Miranda * exp_ch3.adb (Build_Init_Statements): Transfer to the body of the init procedure all the expanded code associated with the spec of task types and protected types. ........ r139484 | charlet | 2008-08-22 08:07:34 -0700 (Fri, 22 Aug 2008) | 19 lines 2008-08-22 Robert Dewar * checks.adb (Determine_Range): Deal with values that might be invalid * opt.adb, opt.ads (Assume_No_Invalid_Values[_Config]): New configuration switches. * par-prag.adb: Dummy entry for pragma Assume_No_Invalid_Values * sem_prag.adb: Implement pragma Assume_No_Default_Values * snames.adb, snames.ads, snames.h: Add entries for pragma Assume_No_Invalid_Values * switch-c.adb: Add processing for -gnatB switch * usage.adb: Add entry for flag -gnatB (no bad invalid values) ........ r139486 | charlet | 2008-08-22 08:45:29 -0700 (Fri, 22 Aug 2008) | 5 lines 2008-08-22 Robert Dewar * s-sopco3.adb: Minor code fix to avoid warning ........ r139487 | charlet | 2008-08-22 08:45:45 -0700 (Fri, 22 Aug 2008) | 4 lines 2008-08-22 Arnaud Charlet * lib-xref.ads: Fix typo in subprogram reference definition. ........ r139488 | charlet | 2008-08-22 08:46:00 -0700 (Fri, 22 Aug 2008) | 9 lines 2008-08-22 Robert Dewar * s-sopco4.adb: Minor code fix to avoid warning * s-sopco5.adb: Minor code fix to avoid warning * s-strops.adb: Minor code fix to avoid warning ........ r139489 | charlet | 2008-08-22 08:46:13 -0700 (Fri, 22 Aug 2008) | 5 lines 2008-08-22 Robert Dewar * s-utf_32.adb (Get_Category): Fix obvious typo ........ r139490 | charlet | 2008-08-22 08:46:29 -0700 (Fri, 22 Aug 2008) | 6 lines 2008-08-22 Robert Dewar * s-wwdcha.adb: Minor code reorganization Remove dead code ........ r139491 | charlet | 2008-08-22 08:47:50 -0700 (Fri, 22 Aug 2008) | 2 lines Minor code fix to avoid warning. ........ r139492 | aph | 2008-08-22 09:04:29 -0700 (Fri, 22 Aug 2008) | 14 lines 2008-08-22 Andrew Haley PR libgcj/8895: * interpret-run.cc (REWRITE_INSN): Null this macro. * include/jvm.h (class _Jv_Linker): Declare resolve_mutex, init. (read_cpool_entry, write_cpool_entry): New functions. * link.cc (_Jv_Linker::resolve_mutex): new. (_Jv_Linker::init): New function. (_Jv_Linker::resolve_pool_entry): Use {read,write}_cpool_entry to ensure atomic access to constant pool entries. ........ r139493 | aph | 2008-08-22 09:17:19 -0700 (Fri, 22 Aug 2008) | 16 lines Fix PR#. 2008-08-22 Andrew Haley PR libgcj/8995: * interpret-run.cc (REWRITE_INSN): Null this macro. * include/jvm.h (class _Jv_Linker): Declare resolve_mutex, init. (read_cpool_entry, write_cpool_entry): New functions. * link.cc (_Jv_Linker::resolve_mutex): new. (_Jv_Linker::init): New function. (_Jv_Linker::resolve_pool_entry): Use {read,write}_cpool_entry to ensure atomic access to constant pool entries. ........ r139496 | uros | 2008-08-22 11:10:21 -0700 (Fri, 22 Aug 2008) | 10 lines * gcc.dg/tree-ssa/pr21658.c (dg-options): Use -fdump-tree-ccp1-details. (dg-final): Use cleanup-tree-dump "ccp1". * gcc.dg/tree-prof/ic-misattribution-1a.c: Cleanup tree_profile. * gcc.dg/ipa/iinline-1.c: Cleanup ipa dump, not tree dump. * g++.dg/ipa/iinline-1.C: Ditto. * gfortran.dg/intrinsic_std_1.f90: Cleanup "original" tree dump. * gfortran.dg/char_eoshift_5.f90: Ditto. * gfortran.dg/index_2.f90: Ditto. ........ r139497 | paolo | 2008-08-22 11:59:41 -0700 (Fri, 22 Aug 2008) | 4 lines 2008-08-22 Paolo Carlini Revert again the N2179 patch. ........ r139499 | domob | 2008-08-22 13:36:12 -0700 (Fri, 22 Aug 2008) | 9 lines 2008-08-22 Daniel Kraft PR fortran/30239 * symbol.c (gfc_add_type): Warn on -Wsurprising if a function-result type is re-declared but neither -pedantic nor -std=f* is given and so this is no error. * invoke.texi (-Wsurprising): Document this new behaviour. ........ r139500 | rguenth | 2008-08-22 14:11:48 -0700 (Fri, 22 Aug 2008) | 8 lines 2008-08-22 Richard Guenther PR tree-optimization/37143 * tree-vect-transform.c (vect_create_cond_for_align_checks): Build a conversion statement instead of a copy. * g++.dg/vect/pr37143.C: New testcase. ........ r139501 | rguenth | 2008-08-22 14:13:00 -0700 (Fri, 22 Aug 2008) | 8 lines 2008-08-22 Richard Guenther PR tree-optimization/37078 * tree-vrp.c (extract_range_from_unary_expr): Avoid generating [+INF, +INF] ranges. * gcc.c-torture/compile/pr37078.c: New testcase. ........ r139502 | aesok | 2008-08-22 14:24:56 -0700 (Fri, 22 Aug 2008) | 13 lines PR target/11259 * config/avr/avr.md (UNSPEC_SWAP): New constants. (*swap): New insn pattern. (*ashlqi3): Rename from ashlqi3 insn pattern. (ashlqi3): New expanders. (*lshrqi3): Rename from lshrqi3 insn pattern. (lshrqi3): New expanders. (ashlqi3_const4, ashlqi3_const5, ashlqi3_const6, lshrqi3_const4, lshrqi3_const5, lshrqi3_const6): New splitters. (andi, ashlqi3_l_const4, ashlqi3_l_const5, ashlqi3_l_const6, lshrqi3_l_const4, lshrqi3_l_const5, lshrqi3_l_const6): Define peephole2 patterns. ........ r139505 | gccadmin | 2008-08-22 17:17:39 -0700 (Fri, 22 Aug 2008) | 1 line Daily bump. ........ r139507 | fxcoudert | 2008-08-23 01:33:12 -0700 (Sat, 23 Aug 2008) | 2 lines * MAINTAINERS: Move myself from Reviewers to Write after Approval. ........ r139508 | irar | 2008-08-23 03:42:34 -0700 (Sat, 23 Aug 2008) | 5 lines PR tree-optimization/37174 * tree-vect-analyze.c (vect_get_and_check_slp_defs): Check that the def stmt is a part of the loop before accessing its stmt_vec_info. ........ r139509 | paolo | 2008-08-23 04:28:30 -0700 (Sat, 23 Aug 2008) | 44 lines 2008-08-23 Paolo Carlini * testsuite/lib/libstdc++.exp (check_v3_target_atomic_builtins): Add. * testsuite/lib/dg-options.exp (dg-require-atomic-builtins): Likewise. * testsuite/18_support/exception_ptr/current_exception.cc: Use it. * testsuite/18_support/exception_ptr/rethrow_exception.cc: Likewise. * testsuite/18_support/exception_ptr/lifespan.cc: Likewise. 2008-08-23 Sebastian Redl Add (again) exception propagation support as per N2179. Feature is available only when _GLIBCXX_ATOMIC_BUILTINS_4 is defined. * libsupc++/exception_ptr.h (exception_ptr, current_exception, copy_exception, rethrow_exception): New file, implement exception propagation. * libsupc++/eh_ptr.cc (exception_ptr, current_exception, rethrow_exception, __gxx_dependent_exception_cleanup): Likewise. * libsupc++/unwind-cxx.h (__cxa_exception): Add reference count. (__cxa_dependent_exception, __cxa_allocate_dependent_exception, __cxa_free_dependent_exception, __get_dependent_exception_from_ue, __GXX_INIT_DEPENDENT_EXCEPTION_CLASS, __is_dependent_exception, __gxx_dependent_exception_class, __get_object_from_ue, __get_object_from_ambiguous_exception): Add. (__GXX_INIT_EXCEPTION_CLASS, __gxx_exception_class): Rename. (__is_gxx_exception_class): Handle dependent exceptions. * libsupc++/eh_arm.cc (__cxa_type_match): Likewise. * libsupc++/eh_call.cc (__cxa_call_unexpected): Likewise. * libsupc++/eh_personality.cc (__gxx_personality_*): Likewise. * libsupc++/eh_type.cc (__cxa_current_exception_type): Likewise. * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception, __cxa_free_dependent_exception): Add. * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Handle reference counting. * libsupc++/exception: Conditionally include exception_ptr.h. * libsupc++/Makefile.am: Register new files. * libsupc++/Makefile.in: Regenerate. * config/abi/pre/gnu.ver: Add new symbols. * testsuite/18_support/exception_ptr/current_exception.cc: Test the core functionality of current_exception(). * testsuite/18_support/exception_ptr/rethrow_exception.cc: Test the core functionality of rethrow_exception(). * testsuite/18_support/exception_ptr/lifespan.cc: Test the life span of exception objects during exception propagation. ........ r139510 | tkoenig | 2008-08-23 06:30:18 -0700 (Sat, 23 Aug 2008) | 5 lines 2008-08-23 Thomas Koenig * MAINTAINERS: Use correct Umlaut for last name. ........ r139517 | manu | 2008-08-23 08:36:32 -0700 (Sat, 23 Aug 2008) | 5 lines 2008-08-23 Manuel Lopez-Ibanez PR 35648 * doc/invoke.texi (Wwrite-strings): Clarify description. ........ r139518 | irar | 2008-08-23 10:04:12 -0700 (Sat, 23 Aug 2008) | 13 lines PR tree-optimization/37161 * tree-vectorizer.h (vect_get_smallest_scalar_type): Declare. * tree-vect-analyze.c (vect_get_smallest_scalar_type): New function. (vect_determine_vectorization_factor): Move the scalar type retrieval to vect_get_smallest_scalar_type. (vect_build_slp_tree): Call vect_get_smallest_scalar_type to get scalar type. Remove redundant computation. * tree-vect-transform.c (vect_get_constant_vectors): Add argument. (vect_get_slp_defs): Take the type of RHS into account if necessary by calling vect_get_smallest_scalar_type. Call vect_get_constant_vectors with additional argument. ........ r139520 | burnus | 2008-08-23 11:12:30 -0700 (Sat, 23 Aug 2008) | 12 lines 2008-08-23 Tobias Burnus PR fortran/37025 * target-memory.c (gfc_interpret_character): Support kind=4 characters. 2008-08-23 Tobias Burnus PR fortran/37025 * gfortran.dg/widechar_8.f90: New. ........ r139521 | burnus | 2008-08-23 11:49:43 -0700 (Sat, 23 Aug 2008) | 11 lines 2008-08-23 Tobias Burnus PR fortran/37076 * arith.c (gfc_arith_concat): Fix concat of kind=4 strings. 2008-08-23 Tobias Burnus PR fortran/37076 * gfortran.dg/widechar_9.f90: New. ........ r139522 | hubicka | 2008-08-23 13:02:08 -0700 (Sat, 23 Aug 2008) | 4 lines PR target/37094 * i386.c (standard_80387_constant_p): Use optimize_size. ........ r139523 | hubicka | 2008-08-23 13:28:07 -0700 (Sat, 23 Aug 2008) | 28 lines * tree.c (decl_address_ip_invariant_p): New function. * tree.h (decl_address_ip_invariant_p): Declare. * gimple.c (strip_invariant_refs): Break out from ... (is_gimple_invariant_address): ... here (is_gimple_ip_invariant_address): New function. (is_gimple_ip_invariant): New function. * gimple.h (is_gimple_ip_invariant_address, is_gimple_ip_invariant): Declare. * ipa-cp.c (ipcp_lat_is_const): Remove handling of IPA_CONST_VALUE_REF. (ipcp_lat_is_insertable): All constants are insertable. (ipcp_lattice_from_jfunc, ipcp_print_all_lattices): Remove handling of IPA_CONST_VALUE_REF. (ipcp_initialize_node_lattices): Propagate all types of operands. (build_const_val): Do not handle IPA_CONST_VALUE_REF. (ipcp_create_replace_map): Reformat. (ipcp_need_redirect_p): Simplify. (ipcp_insert_stage): Check that argument is used before clonning. * ipa-prop.c (ipa_print_node_jump_functions): Do not handle IPA_CONST_REF. (compute_scalar_jump_functions): Simplify using is_gimple_ip_invariat. (determine_cst_member_ptr): Keep wrapping ADDR_EXPR of members. (update_call_notes_after_inlining): Expect ADDR_EXPR in operand. * ipa-prop.h (jump_func_type): Remove IPA_CONST_REF. (jump_func_type): Remove IPA_CONST_VALUE_REF. * tree-inline.c (tree_function_versioning): Add variables referenced by replacing trees. ........ r139524 | janus | 2008-08-23 14:04:01 -0700 (Sat, 23 Aug 2008) | 28 lines 2008-08-23 Janus Weil * gfortran.h (gfc_component): Add field "symbol_attribute attr", remove fields "pointer", "allocatable", "dimension", "access". Remove functions "gfc_set_component_attr" and "gfc_get_component_attr". * interface.c (gfc_compare_derived_types): Ditto. * trans-array.c (gfc_array_allocate,structure_alloc_comps): Ditto. * trans-expr.c (gfc_conv_component_ref,gfc_trans_subcomponent_assign, gfc_conv_structure): Ditto. * symbol.c (gfc_find_component,free_components,gfc_set_component_attr, gfc_get_component_attr,verify_bind_c_derived_type, generate_isocbinding_symbol): Ditto. * decl.c (build_struct): Ditto. * dump-parse-tree.c (show_components): Ditto. * trans-stmt.c (gfc_trans_deallocate): Ditto. * expr.c (gfc_check_assign,gfc_check_pointer_assign, gfc_default_initializer): Ditto. * module.c (mio_component): Ditto. * trans-types.c (copy_dt_decls_ifequal,gfc_get_derived_type): Ditto. * resolve.c (has_default_initializer,resolve_structure_cons, gfc_iso_c_func_interface,find_array_spec,resolve_ref, resolve_deallocate_expr,resolve_allocate_expr,resolve_fl_derived, resolve_equivalence_derived): Ditto. * trans-io.c (transfer_expr): Ditto. * parse.c (parse_derived): Ditto. * dependency.c (gfc_check_dependency): Ditto. * primary.c (gfc_variable_attr): Ditto. ........ r139525 | hubicka | 2008-08-23 15:25:20 -0700 (Sat, 23 Aug 2008) | 10 lines * ipa-cp.c (constant_val_insert): Remove. (ipcp_propagate_one_const): Remove. (ipcp_create_replace_map): Always insert replacements to the map. (ipcp_insert_stage): Do not try to insert statements by hand. * tree-inline.c (insert_init_stmt): Break out from ... (setup_one_parameter): ... here; allow NULL BB pointer. (tree_function_versioning): Use setup_one_parameter to process replacement map. ........ r139528 | gccadmin | 2008-08-23 17:16:58 -0700 (Sat, 23 Aug 2008) | 1 line Daily bump. ........ r139530 | paolo | 2008-08-23 17:25:22 -0700 (Sat, 23 Aug 2008) | 12 lines 2008-08-23 Paolo Carlini * acinclude.m4 ([GLIBCXX_CHECK_GETTIMEOFDAY]): Change to use GCC_TRY_COMPILE_OR_LINK. ([GLIBCXX_CHECK_CLOCK_GETTIME]): Rename to [GLIBCXX_ENABLE_CLOCK_GETTIME], a versatile configure-time option, [no] by default, since it includes TRY_LINK checks. librt is also searched, if requested. * doc/xml/manual/configure.xml: Document the latter. * configure.ac: Move the above checks outside native-only. * configure: Regenerate. ........ r139531 | paolo | 2008-08-23 18:20:13 -0700 (Sat, 23 Aug 2008) | 6 lines 2008-08-23 Paolo Carlini * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME]): Use [=KIND] in GLIBCXX_ENABLE. * configure: Regenerate. ........ r139532 | hubicka | 2008-08-24 02:29:57 -0700 (Sun, 24 Aug 2008) | 2 lines * opts.c (decode_options): Revert accidental change enabling ipa-cp. ........ r139533 | paolo | 2008-08-24 02:37:07 -0700 (Sun, 24 Aug 2008) | 5 lines 2008-08-24 Paolo Carlini * acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME]): Improve documentation. * doc/xml/manual/configure.xml: Likewise. ........ r139534 | domob | 2008-08-24 09:15:27 -0700 (Sun, 24 Aug 2008) | 39 lines 2008-08-24 Daniel Kraft * gfortran.h (gfc_typebound_proc): New struct. (gfc_symtree): New member typebound. (gfc_find_typebound_proc): Prototype for new method. (gfc_get_derived_super_type): Prototype for new method. * parse.h (gfc_compile_state): New state COMP_DERIVED_CONTAINS. * decl.c (gfc_match_procedure): Handle PROCEDURE inside derived-type CONTAINS section. (gfc_match_end): Handle new context COMP_DERIVED_CONTAINS. (gfc_match_private): Ditto. (match_binding_attributes), (match_procedure_in_type): New methods. (gfc_match_final_decl): Rewrote to make use of new COMP_DERIVED_CONTAINS parser state. * parse.c (typebound_default_access): New global helper variable. (set_typebound_default_access): New callback method. (parse_derived_contains): New method. (parse_derived): Extracted handling of CONTAINS to new parser state and parse_derived_contains. * resolve.c (resolve_bindings_derived), (resolve_bindings_result): New. (check_typebound_override), (resolve_typebound_procedure): New methods. (resolve_typebound_procedures): New method. (resolve_fl_derived): Call new resolving method for typebound procs. * symbol.c (gfc_new_symtree): Initialize new member typebound to NULL. (gfc_find_typebound_proc): New method. (gfc_get_derived_super_type): New method. 2008-08-24 Daniel Kraft * gfortran.dg/finalize_5.f03: Adapted expected error message to changes to handling of CONTAINS in derived-type declarations. * gfortran.dg/typebound_proc_1.f08: New test. * gfortran.dg/typebound_proc_2.f90: New test. * gfortran.dg/typebound_proc_3.f03: New test. * gfortran.dg/typebound_proc_4.f03: New test. * gfortran.dg/typebound_proc_5.f03: New test. * gfortran.dg/typebound_proc_6.f03: New test. ........ r139536 | hubicka | 2008-08-24 10:11:13 -0700 (Sun, 24 Aug 2008) | 9 lines * ipa-cp.c (ipcp_analyze_node): New function. (ipcp_update_cloned_node): Use it. (ipcp_init_stage): Likewise. * ipa-inline.c (function_insertion_hook_holder): New static var. (analyze_function): Break out from .... (inline_generate_summary): Here; register insertion hook. (cgraph_decide_inlining): Remove hook. (add_new_function): New function. ........ r139537 | burnus | 2008-08-24 10:16:46 -0700 (Sun, 24 Aug 2008) | 13 lines 2008-08-24 Tobias Burnus PR fortran/37201 * trans-expr.c (gfc_conv_function_call): Add string_length for character-returning bind(C) functions. 2008-08-24 Tobias Burnus PR fortran/37201 * gfortran.dg/bind_c_usage_17.f90: New. * gfortran.dg/bind_c_usage_17_c.c: New. ........ r139539 | razya | 2008-08-24 12:39:04 -0700 (Sun, 24 Aug 2008) | 7 lines 2008-08-24 Razya Ladelsky PR tree-optimization/37185 * matrix-reorg.c (transform_access_sites): Update changed stmt. ........ r139542 | hubicka | 2008-08-24 13:06:06 -0700 (Sun, 24 Aug 2008) | 3 lines * tree-inline.c (tree_function_versioning): Look harder for referenced vars. ........ r139543 | hubicka | 2008-08-24 13:09:32 -0700 (Sun, 24 Aug 2008) | 19 lines * doc/invoke.texi (-fipa-cp-clone): New option. (-fipa-cp): Update docs. (--param ipcp-unit-growth):New. * ipa-cp.c: Include fibheap.h, params.h (ipcp_initialize_node_lattices): When not cloning, all externally visible functions are bottom. (ipcp_need_redirect_p): Accept clones. (ipcp_insert_stage): Use cost driven heuristics. (max_count, dead_nodes): New static vars. (ipcp_need_original_clone_p, ipcp_estimate_cloning_cost, ipcp_const_param_count): New functions. * common.opt (ipa-cp-clone): New command line option. * params.def (ipcp-unit-growth): New. * gcc.dg/ipa/ipacost-1.c: New testcase. * gcc.dg/ipa/ipacost-2.c: New testcase. * gcc.dg/ipa/ipa-7.c: Update template. ........ r139544 | hubicka | 2008-08-24 13:11:22 -0700 (Sun, 24 Aug 2008) | 5 lines * gcc.dg/ipa/ipacost-1.c: New testcase. * gcc.dg/ipa/ipacost-2.c: New testcase. * gcc.dg/ipa/ipa-7.c: Update template. ........ r139545 | burnus | 2008-08-24 13:31:09 -0700 (Sun, 24 Aug 2008) | 12 lines 2008-08-24 Tobias Burnus PR fortran/37201 * decl.c (verify_bind_c_sym): Reject array/string returning functions. 2008-08-24 Tobias Burnus PR fortran/37201 * gfortran.dg/bind_c_18.f90: New. ........ r139549 | paolo | 2008-08-24 16:47:35 -0700 (Sun, 24 Aug 2008) | 7 lines 2008-08-24 Paolo Carlini * acinclude.m4 ([GLIBCXX_CHECK_RANDOM_TR1]): Simplify, just use two test -r instead of an AC_TRY_RUN. * configure: Regenerate. * config.h.in: Likewise. ........ r139552 | gccadmin | 2008-08-24 17:16:41 -0700 (Sun, 24 Aug 2008) | 1 line Daily bump. ........ r139554 | nemet | 2008-08-24 17:57:01 -0700 (Sun, 24 Aug 2008) | 17 lines * config.gcc (mips64*-*-linux*): Handle mips64octeon*-*-linux*. * config/mips/mips.h (enum processor_type): Add PROCESSOR_OCTEON. (TARGET_OCTEON): New macro. (TARGET_CPU_CPP_BUILTINS): Define __OCTEON__ for Octeon. (MIPS_ISA_LEVEL_SPEC, MIPS_ARCH_FLOAT_SPEC): Handle -march=octeon. (ISA_HAS_POP): New macro. * config/mips/driver-native.c (host_detect_local_cpu): Handle Octeon. * config/mips/mips.c (mips_cpu_info_table, mips_rtx_cost_data): Handle Octeon. * config/mips/mips.md (cpu): Add octeon. (type): Add pop attribute value. (popcount2): New pattern. * doc/invoke.texi (-march=@var{arch}): Add octeon. testsuite/ * gcc.target/mips/octeon-pop-1.c: New test. ........ r139565 | rth | 2008-08-25 10:02:42 -0700 (Mon, 25 Aug 2008) | 6 lines * dwarf2out.c (def_cfa_1): Don't scale by DWARF_CIE_DATA_ALIGNMENT. (regsave): Likewise. (lookup_cfa_1): Don't rescale by DWARF_CIE_DATA_ALIGNMENT. (output_cfi_directive): Likewise. (div_data_align): New. (output_cfi): Use it. ........ r139566 | domob | 2008-08-25 10:58:53 -0700 (Mon, 25 Aug 2008) | 20 lines 2008-08-25 Daniel Kraft * gfortran.h (gfc_find_component): Add new arguments. * parse.c (parse_derived_contains): Check if the derived-type containing the CONTAINS section is SEQUENCE/BIND(C). * resolve.c (resolve_typebound_procedure): Check for name collision with components. (resolve_fl_derived): Check for name collision with inherited type-bound procedures. * symbol.c (gfc_find_component): New arguments `noaccess' and `silent'. (gfc_add_component): Adapt for new arguments. * primary.c (match_varspec), (gfc_match_structure_constructor): Ditto. 2008-08-25 Daniel Kraft * gfortran.dg/extends_7.f03: New test. * gfortran.dg/typebound_proc_7.f03: New test. * gfortran.dg/typebound_proc_8.f03: New test. ........ r139567 | andreast | 2008-08-25 11:35:20 -0700 (Mon, 25 Aug 2008) | 13 lines 2008-08-25 Andreas Tobler * src/powerpc/ffitarget.h (ffi_abi): Add FFI_LINUX and FFI_LINUX_SOFT_FLOAT to the POWERPC_FREEBSD enum. Add note about flag bits used for FFI_SYSV_TYPE_SMALL_STRUCT. Adjust copyright notice. * src/powerpc/ffi.c: Add two new flags to indicate if we have one register or two register to use for FFI_SYSV structs. (ffi_prep_cif_machdep): Pass the right register flag introduced above. (ffi_closure_helper_SYSV): Fix the return type for FFI_SYSV_TYPE_SMALL_STRUCT. Comment. Adjust copyright notice. ........ r139568 | daney | 2008-08-25 11:39:39 -0700 (Mon, 25 Aug 2008) | 19 lines 2008-08-25 David Daney * config/mips/mips.md (immediate_insn): Move up in file, fix comment typo, reformat. (fetchop_bit, atomic_hiqi_op memory_barrier, sync_compare_and_swap, compare_and_swap_12, sync_add, sync_, sync__12, sync_old_, sync_old__12, sync_new_, sync_new__12, sync_nand, sync_nand_12, sync_old_nand, sync_old_nand_12, sync_new_nand, sync_new_nand_12, sync_sub, sync_old_add, sync_old_sub, sync_new_add, sync_new_sub, sync_, sync_old_, sync_new_, sync_nand, sync_old_nand, sync_new_nand, sync_lock_test_and_set, sync_lock_test_and_set, test_and_set_12): Moved to sync.md. (sync.md): Include. * config/mips/sync.md: New file. ........ r139569 | uweigand | 2008-08-25 11:51:24 -0700 (Mon, 25 Aug 2008) | 9 lines ChangeLog: * config/rs6000/rs6000.c (rs6000_handle_altivec_attribute): Propagate all type qualifiers from element type to vector type. testsuite/ChangeLog: * gcc.target/powerpc/altivec-volatile.c: New test. ........ r139570 | uweigand | 2008-08-25 11:54:38 -0700 (Mon, 25 Aug 2008) | 3 lines * config/spu/spu_mfcio.h (mfc_begin_critical_section): New function. (mfc_end_critical_section): Likewise. ........ r139572 | janis | 2008-08-25 13:18:08 -0700 (Mon, 25 Aug 2008) | 4 lines PR target/36756 * config/rs6000/rs6000.c (optimization_options): Don't default to section anchors without toplevel reorder. ........ r139576 | paolo | 2008-08-25 15:52:47 -0700 (Mon, 25 Aug 2008) | 12 lines 2008-08-23 Paolo Carlini * acinclude.m4 ([GLIBCXX_CHECK_GETTIMEOFDAY]): Change to use GCC_TRY_COMPILE_OR_LINK. ([GLIBCXX_CHECK_CLOCK_GETTIME]): Rename to [GLIBCXX_ENABLE_CLOCK_GETTIME], a versatile configure-time option, [no] by default, since it includes TRY_LINK checks. librt is also searched, if requested. * doc/xml/manual/configure.xml: Document the latter. * configure.ac: Move the above checks outside native-only. * configure: Regenerate. ........ r139580 | gccadmin | 2008-08-25 17:16:41 -0700 (Mon, 25 Aug 2008) | 1 line Daily bump. ........ r139589 | victork | 2008-08-26 02:14:37 -0700 (Tue, 26 Aug 2008) | 25 lines 2008-08-26 Victor Kaplansky Dorit Nuzman * gcc/config/spu/spu.md (vec_extract_evenv4si, vec_extract_evenv4sf, vec_extract_evenv8hi, vec_extract_evenv16qi, vec_extract_oddv4si, vec_extract_oddv4sf, vec_extract_oddv8hi, vec_extract_oddv16qi, vec_interleave_highv4sf, vec_interleave_lowv4sf, vec_interleave_highv4si, vec_interleave_lowv4si, vec_interleave_highv8hi, vec_interleave_lowv8hi, vec_interleave_highv16qi, vec_interleave_lowv16qi, vec_pack_trunc_v8hi, vec_pack_trunc_v4si): Implement.S Testsuite * gcc.dg/vect/slp-18.c: Require vect_intfloat_cvt. * gcc.dg/vect/slp-11.c: Likewise. * gcc.dg/vect/fast-math-pr35982.c: Likewise. * lib/target-supports.exp: (check_effective_target_vect_pack_trunc): Add SPU to the list. (check_effective_target_vect_extract_even_odd): Likewise. (check_effective_target_vect_extract_even_odd_wide): Likewise. (check_effective_target_vect_interleave): Likewise. ........ r139590 | vmakarov | 2008-08-26 05:39:58 -0700 (Tue, 26 Aug 2008) | 218 lines 2008-08-26 Vladimir Makarov * ira-build.c, ira-color.c, ira-costs.c, ira.h, ira-lives.c, ira.c, ira-conflicts.c, ira-emit.c, ira-int.h: New files. * doc/passes.texi: Describe IRA. * doc/tm.texi (IRA_COVER_CLASSES, IRA_HARD_REGNO_ADD_COST_MULTIPLIER): Describe the new macros. * doc/invoke.texi (ira-max-loops-num): Describe the new parameter. (-fira, -fira-algorithm, -fira-coalesce, -fno-ira-move-spills, -fira-propagate-cost, -fno-ira-share-save-slots, -fno-ira-share-spill-slots, -fira-verbose): Describe new options. * flags.h (ira_algorithm): New enumeration. (flag_ira_algorithm, flag_ira_verbose): New external variable declarations. * postreload.c (gate_handle_postreload): Don't do post reload optimizations unless the reload is completed. * reload.c (push_reload, find_dummy_reload): Use DF_LR_OUT for IRA. * tree-pass.h (pass_ira): New external variable declaration. * reload.h: Add 2008 to the Copyright. * cfgloopanal.c: Include params.h. (estimate_reg_pressure_cost): Decrease cost for IRA optimization mode. * params.h (IRA_MAX_LOOPS_NUM): New macro. * toplev.c (ira.h): New include. (flag_ira_algorithm, flag_ira_verbose): New external variables. (backend_init_target): Call ira_init. (backend_init): Call ira_init_once. (finalize): Call finish_ira_once. * toplev.h (flag_ira, flag_ira_coalesce, flag_ira_move_spills, flag_ira_share_save_slots, flag_ira_share_spill_slots): New external variables. * regs.h (contains_reg_of_mode, move_cost, may_move_in_cost, may_move_out_cost): New external variable declarations. (move_table): New typedef. * caller-save.c: Include headers output.h and ira.h. (no_caller_save_reg_set): New global variable. (save_slots_num, save_slots): New variables. (reg_save_code, reg_restore_code, add_stored_regs): Add prototypes. (init_caller_save): Set up no_caller_save_reg_set. (init_save_areas): Reset save_slots_num. (saved_hard_reg): New structure. (hard_reg_map, saved_regs_num, all_saved_regs): New variables. (initiate_saved_hard_regs, new_saved_hard_reg, finish_saved_hard_regs, saved_hard_reg_compare_func): New functions. (setup_save_areas): Add code for sharing stack slots. (all_blocks): New variable. (save_call_clobbered_regs): Process pseudo-register too. (mark_set_regs): Process pseudo-register too. (insert_one_insn): Put the insn after bb note in a empty basic block. Add insn check. * global.c (eliminable_regset): Make it external. (mark_elimination): Use DF_LR_IN for IRA. (pseudo_for_reload_consideration_p): New. (build_insn_chain): Make it external. Don't ignore spilled pseudos for IRA. Use pseudo_for_reload_consideration_p. (gate_handle_global_alloc): New function. (pass_global_alloc): Add the gate function. * opts.c (decode_options): Set up flag_ira. Print the warning for -fira. (common_handle_option): Process -fira-algorithm and -fira-verbose. * timevar.def (TV_IRA, TV_RELOAD): New passes. * regmove.c (regmove_optimize): Don't do replacement of output for IRA. * hard-reg-set.h (no_caller_save_reg_set, reg_class_subclasses): New external variable declarations. * local-alloc.c (update_equiv_regs): Make it external. Return true if jump label rebuilding should be done. Rescan new_insn for notes. (gate_handle_local_alloc): New function. (pass_local_alloc): Add the gate function. * alias.c (value_addr_p, stack_addr_p): New functions. (nonoverlapping_memrefs_p): Use them for IRA. * common.opt (fira, fira-algorithm, fira-coalesce, fira-move-spills, fira-share-save-slots, fira-share-spill-slots, fira-verbose): New options. * regclass.c (reg_class_subclasses, contains_reg_of_mode, move_cost, may_move_in_cost, may_move_out_cost): Make the variables external. (move_table): Remove typedef. (init_move_cost): Make it external. (allocate_reg_info, resize_reg_info, setup_reg_classes): New functions. * rtl.h (init_move_cost, allocate_reg_info, resize_reg_info, setup_reg_classes): New function prototypes. (eliminable_regset): New external variable declaration. (build_insn_chain, update_equiv_regs): New function prototypes. * Makefile.in (IRA_INT_H): New definition. (OBJS-common): Add ira.o, ira-build.o, ira-costs.o, ira-conflicts.o, ira-color.o, ira-emit.o, and ira-lives.o. (reload1.o, toplev.o): Add dependence on ira.h. (cfgloopanal.o): Add PARAMS_H. (caller-save.o): Add dependence on output.h and ira.h. (ira.o, ira-build.o, ira-costs.o, ira-conflicts.o, ira-color.o, ira-emit.o, ira-lives.o): New entries. * passes.c (pass_ira): New pass. * params.def (PARAM_IRA_MAX_LOOPS_NUM): New parameter. * reload1.c (ira.h): Include the header. (changed_allocation_pseudos): New bitmap. (init_reload): Initiate the bitmap. (compute_use_by_pseudos): Permits spilled registers in FROM. (temp_pseudo_reg_arr): New variable. (reload): Allocate and free temp_pseudo_reg_arr. Sort pseudos for IRA. Call alter_reg with the additional parameter. Don't clear spilled_pseudos for IRA. Restore original insn chain for IRA. Clear changed_allocation_pseudos at the end of reload. (calculate_needs_all_insns): Call IRA's mark_memory_move_deletion. (hard_regno_to_pseudo_regno): New variable. (count_pseudo): Check spilled pseudos. Set up hard_regno_to_pseudo_regno. (count_spilled_pseudo): Check spilled pseudos. Update hard_regno_to_pseudo_regno. (find_reg): Use better_spill_reload_regno_p. Check hard_regno_to_pseudo_regno. (alter_reg): Set up spilled_pseudos. Add a new parameter. Add code for IRA. (eliminate_regs_1): Use additional parameter for alter_reg. (finish_spills): Set up pseudo_previous_regs only for spilled pseudos. Call reassign_pseudos once for all spilled pseudos, pass more arguments. Don't clear live_throughout and dead_or_set for spilled pseudos. Use additional parameter for alter_reg. Call mark_allocation_change. Set up changed_allocation_pseudos. Remove sanity check. (emit_input_reload_insns, delete_output_reload): Use additional parameter for alter_reg. Call mark_allocation_change. (substitute, gen_reload_chain_without_interm_reg_p): New functions. (reloads_conflict): Use gen_reload_chain_without_interm_reg_p. * testsuite/gcc.dg/20080410-1.c: New file. * config/s390/s390.h (IRA_COVER_CLASSES, IRA_HARD_REGNO_ADD_COST_MULTIPLIER): Define. * config/sparc/sparc.h (IRA_COVER_CLASSES): New macro. * config/i386/i386.h (IRA_COVER_CLASSES): Ditto. * config/ia64/ia64.h (IRA_COVER_CLASSES): Ditto. * config/rs6000/rs6000.h (IRA_COVER_CLASSES): Ditto. * config/arm/arm.h (IRA_COVER_CLASSES): Ditto. * config/alpha/alpha.h (IRA_COVER_CLASSES): Ditto. 2008-08-24 Jeff Law * ira.c (setup_reg_class_intersect_union): Prefer smallest class when ignoring unavailable registers. 2008-08-24 Jeff Law * ira-color.c (coalesced_pseudo_reg_slot_compare): Check FRAME_GROWS_DOWNWARD and STACK_GROWS_DOWNWARD. * ira.c (setup_eliminable_regset): Check stack_realign_needed. * config/mn10300/mn10300.h (IRA_COVER_CLASSES): New macro. 2008-06-03 Steve Chamberlain * ira-build.c (allocno_range_compare_func): Stabilize sort. 2008-05-29 Andy Hutchinson * config/avr/avr.h (IRA_COVER_CLASSES): New macro. * reload1.c (find_reg): Process registers in register allocation order. 2008-05-10 Richard Sandiford * toplev.c (backend_init_target): Move ira_init call from here... (lang_dependent_init_target): ...to here. 2008-05-10 Richard Sandiford * ira.c (setup_class_subset_and_memory_move_costs): Don't calculate memory move costs for NO_REGS. 2008-05-05 Kaz Kojima * ira-color.c (ira_fast_allocation): Use no_stack_reg_p only if STACK_REGS is defined. 2008-04-08 Andrew Pinski * config/spu/spu.h (IRA_COVER_CLASSES): New macro. 2008-04-04 Bernd Schmidt * config/bfin/bfin.h (IRA_COVER_CLASSES): New macro. 2008-04-04 Kaz Kojima * config/sh/sh.h (IRA_COVER_CLASSES): Define. * config/sh/sh.md (movsicc_true+3): Check if emit returns a barrier. ........ r139591 | bje | 2008-08-26 06:27:31 -0700 (Tue, 26 Aug 2008) | 6 lines * rtlanal.c: Fix uses of "it's" with "its" where appropriate. * cp/typeck.c: Likewise. * cp/tree.c: Likewise. * gimple-low.c: Likewise. * jump.c: Likewise. ........ r139599 | pbrook | 2008-08-26 08:41:54 -0700 (Tue, 26 Aug 2008) | 7 lines 2008-08-26 Paul Brook * config/arm/vfp.md: Move pipeline description for VFP11 to... * config/arm/vfp11.md: ...here. New. * config/arm/arm.md: Include vfp11.md. ........ r139600 | law | 2008-08-26 09:12:20 -0700 (Tue, 26 Aug 2008) | 6 lines * mn10300.md (movqi, movhi): Split i->d*a case into two cases to avoid the possibility of getting DATA_OR_ADDRESS_REGS as the preferred class when copying a constant into a partial word register. ........ r139601 | hp | 2008-08-26 09:36:34 -0700 (Tue, 26 Aug 2008) | 3 lines * opts.c (decode_options) [!IRA_COVER_CLASSES]: Add missing parameter to inform call. ........ r139603 | pbrook | 2008-08-26 10:16:00 -0700 (Tue, 26 Aug 2008) | 7 lines 2008-08-26 Paul Brook * config/arm/vfp.md: Move pipeline description for VFP11 to... * config/arm/vfp11.md: ...here. New. * config/arm/arm.md: Include vfp11.md. ........ r139604 | pbrook | 2008-08-26 10:16:53 -0700 (Tue, 26 Aug 2008) | 15 lines 2008-08-28 Paul Brook * config/arm/vfp.md: Document fmul{s,d} and fmac{s,d} types. Remove documentation entry for fmul type. Use fmuls to annotate single-precision multiplication patterns, fmuld to annotate double-precision multiplication patterns, fmacs to annotate single-precision multiply-accumulate patterns and fmacd to annotate double-precision multiply-accumulate patterns. * config/arm/vfp11.md: Update reservations accordingly. * config/arm/arm.md: Note that certain values of the "type" attribute are documented in vfp.md. * config/arm/arm1020e.md: Remove out of date duplicate comment. (v10_cvt): Use new fmul types. ........ r139605 | pinskia | 2008-08-26 12:02:05 -0700 (Tue, 26 Aug 2008) | 7 lines 2008-08-26 Andrew Pinski PR rtl-opt/37219 * fwprop.c (fwprop): Check that the loop_father is the outer loop. (fwprop_addr): Check that the loop_father is not the outer loop. ........ r139609 | janis | 2008-08-26 14:38:01 -0700 (Tue, 26 Aug 2008) | 3 lines gcc.dg/torture/type-generic-1.c: Don't use IBM 128-bit long double. g++.dg/torture/type-generic-1.C: Ditto. ........ r139610 | janis | 2008-08-26 14:39:49 -0700 (Tue, 26 Aug 2008) | 8 lines * gcc.target/powerpc/altivec-macros.c: Fix dg-message directives. * gcc.target/powerpc/ppu-intrinsics.c: Ignore some warnings. * gcc.target/powerpc/darwin-save-world-1.c: Require AltiVec hardware. * gcc.target/powerpc/altivec-types-1.c: Expect some notes. * gcc.dg/Wstrict-aliasing-bogus-ref-all-2.c: Ignore a warning. * g++.dg/ext/altivec-2.C: Initialize a local variable. * g++.dg/ext/altivec-3.C: Move AltiVec code out of main. ........ r139611 | dgregor | 2008-08-26 15:33:10 -0700 (Tue, 26 Aug 2008) | 67 lines 2008-08-26 Douglas Gregor * c-common.c (do_switch_warnings): Look through the CONST_DECLs in the enumerators of an ENUMERAL_TYPE. * dbxout.c (dbxout_type): Ditto. 2008-08-26 Douglas Gregor * typeck.c (type_after_usual_arithmetic_conversions): Don't do the usual arithmetic conversions on scoped enumeration types. (common_type): Ditto. (default_conversion): Don't perform integral promotions on scoped enumeration types. (build_array_ref): Scoped enumeration types can't be used as subscripts. * decl.c (start_enum): If building a C++0x scoped enumeration, enter its scope. If provided with an underlying type, check that underlying type and set up the enumeration type accordingly. (finish_enum): Only compute an underlying type if the underlying type isn't already fixed, and only convert the enumerator values now if we've just computed the underlying type. Finish the scope of C++0x scoped enumerations. (build_enumerator): For enumerations with a fixed underlying type, check the enumerator values when the enumerator is defined. (lookup_enumerator): New. * call.c (standard_conversion): Don't allow assignment from integers to scoped enumeration types, even with -fpermissive. Don't convert from scoped enumerations to bool or any arithmetic types. (build_conditional_expr): Don't per the usual arithmetic conversions for scoped enumeration types. (convert_like_real): Check complain to see if we should produce warnings. * error.c (class_key_or_enum_as_string): Print scoped enums. * cp-tree.h (MAYBE_CLASS_TYPE_P): Check CLASS_TYPE_P, not TYPE_LANG_FLAG_5. (INTEGRAL_OR_UNSCOPED_ENUMERATION_TYPE_P): New. (SCOPED_ENUM_P): New. (UNSCOPED_ENUM_P): New. (SET_SCOPED_ENUM_P): New. (ENUM_UNDERLYING_TYPE): New. * pt.c (lookup_template_class): Update the instantiation of enum types to deal with C++0x scoped enumerations and underlying types. * name-lookup.c (begin_scope): Deal with scoped enumeration scopes. (lookup_qualified_name): Deal with lookup into enumeration types. * name-lookup.h (enum scope_kind): Add sk_scoped_enum. * parser.c (cp_parser_class_or_namespace_name): Rename to... (cp_parser_qualifying_entity): ... this. Also, in C++0x mode, parse a type-name that can be an enumeration type. (cp_parser_nested_name_specifier_opt): Update with C++0x grammar. (cp_parser_elaborated_type_specifier): Parse the optional `struct' or `class' following enum (in C++0x). (cp_parser_enum_specifier): Parse C++0x scoped enumerations and enum-base clauses. 2008-08-26 Douglas Gregor * g++.dg/cpp0x/scoped_enum_examples.C: New. * g++.dg/cpp0x/scoped_enum.C: New. * g++.dg/cpp0x/scoped_enum_98.C: New. * g++.dg/cpp0x/enum_base_warn.C: New. * g++.dg/cpp0x/enum_base.C: New. ........ r139612 | dgregor | 2008-08-26 15:33:39 -0700 (Tue, 26 Aug 2008) | 1 line Neglected to commit two ChangeLogs ........ r139615 | gccadmin | 2008-08-26 17:16:40 -0700 (Tue, 26 Aug 2008) | 1 line Daily bump. ........ r139617 | bje | 2008-08-26 17:42:39 -0700 (Tue, 26 Aug 2008) | 2 lines * src/mt_allocator.cc (__pool): Fix error in comment. ........ r139623 | manu | 2008-08-27 01:18:44 -0700 (Wed, 27 Aug 2008) | 4 lines 2008-08-26 Manuel Lopez-Ibanez * cp-tree.h: Fix #error directive. ........ r139624 | pbrook | 2008-08-27 05:51:29 -0700 (Wed, 27 Aug 2008) | 7 lines 2008-08-27 Paul Brook * config/arm/t-arm-coff (LIB1ASMFUNCS): Add missing undescrore on _clzsi2. * config/arm/t-linux (LIB1ASMFUNCS): Ditto. ........ r139625 | manu | 2008-08-27 09:06:00 -0700 (Wed, 27 Aug 2008) | 11 lines 2008-08-27 Manuel Lopez-Ibanez PR c++/17880 cp/ * semantics.c (maybe_convert_cond): Call verify_sequence_points. (finish_return_stmt): Likewise. (finish_switch_condition): Likewise. testsuite/ * g++.dg/warn/sequence-pt-1.C: New. * g++.dg/warn/sequence-pt-pr17880.C: New. ........ r139626 | pbrook | 2008-08-27 09:10:19 -0700 (Wed, 27 Aug 2008) | 6 lines 2008-08-27 Paul Brook * libsupc++/eh_call.cc (__cxa_call_unexpected): Fix name of __get_object_from_ambiguous_exception. ........ r139627 | pbrook | 2008-08-27 09:22:06 -0700 (Wed, 27 Aug 2008) | 5 lines 2008-08-27 Paul Brook * config.gcc: Loosen checks for arm uclinux eabi targets. ........ r139628 | paolo | 2008-08-27 10:08:40 -0700 (Wed, 27 Aug 2008) | 11 lines 2008-08-27 Paolo Carlini PR c++/35321 * c-common.c (fold_offsetof_1): Handle TARGET_EXPR like CALL_EXPR. /testsuite 2008-08-27 Paolo Carlini PR c++/35321 * g++.dg/parse/offsetof8.C: New. ........ r139630 | jsm28 | 2008-08-27 10:44:43 -0700 (Wed, 27 Aug 2008) | 6 lines gcc/po: * gcc.pot: Regenerate. libcpp/po: * cpplib.pot: Regenerate. ........ r139674 | paolo | 2008-08-27 12:27:11 -0700 (Wed, 27 Aug 2008) | 21 lines 2008-08-27 Paolo Carlini * include/tr1_impl/hashtable (_Hashtable<>): Add missing pointer and const_pointer typedefs. * testsuite/tr1/6_containers/unordered_set/requirements/typedef.cc: Add. * testsuite/tr1/6_containers/unordered_map/requirements/typedef.cc: Likewise. * testsuite/tr1/6_containers/unordered_multiset/requirements/ typedef.cc: Likewise. * testsuite/tr1/6_containers/unordered_multimap/requirements/ typedef.cc: Likewise. * testsuite/23_containers/unordered_set/requirements/typedef.cc: Likewise. * testsuite/23_containers/unordered_map/requirements/typedef.cc: Likewise. * testsuite/23_containers/unordered_multiset/requirements/typedef.cc: Likewise. * testsuite/23_containers/unordered_multimap/requirements/typedef.cc: Likewise. ........ r139677 | hubicka | 2008-08-27 14:55:04 -0700 (Wed, 27 Aug 2008) | 11 lines * gcc.dg/ipa/ipacost-1.c: Remove template matching only x86-64 * gcc.dg/ipa/ipacost-2.c: Add -fipa-cp-clone; remove template matching only x86-64 * gcc.dg/ipa/ipa-1.c: Add -fipa-cp-clone * gcc.dg/ipa/ipa-2.c: Add -fipa-cp-clone * gcc.dg/ipa/ipa-3.c: Add -fipa-cp-clone * gcc.dg/ipa/ipa-4.c: Add -fipa-cp-clone * gcc.dg/ipa/ipa-5.c: Add -fipa-cp-clone * gcc.dg/ipa/ipa-7.c: Add -fipa-cp-clone ........ r139679 | janis | 2008-08-27 16:43:05 -0700 (Wed, 27 Aug 2008) | 3 lines * gcc.dg/torture/type-generic-1.c: Revert previous change. * g++.dg/torture/type-generic-1.C: Ditto. ........ r139680 | manu | 2008-08-27 16:51:13 -0700 (Wed, 27 Aug 2008) | 9 lines 2008-08-27 Manuel Lopez-Ibanez PR c/37186 * c-typeck.c (WARN_FOR_ASSIGNMENT): Add OPT parameter. (convert_for_assignment): Pass corrent OPT_W* parameter to WARN_FOR_ASSIGNMENT. testsuite/ * gcc.dg/pr37186.c: New. ........ r139681 | manu | 2008-08-27 16:54:36 -0700 (Wed, 27 Aug 2008) | 8 lines 2008-08-27 Manuel Lopez-Ibanez PR c/31673 * c-decl.c (check_for_loop_decls): Improve error message. Give hint. testsuite/ * gcc.dg/c90-fordecl-1.c: Update. ........ r139682 | manu | 2008-08-27 17:00:49 -0700 (Wed, 27 Aug 2008) | 7 lines 2008-08-27 Manuel Lopez-Ibanez PR 37217 * c-common.c (conversion_warning): Check for null operands. testsuite/ * gcc.dg/pr37217.c: New. ........ r139683 | manu | 2008-08-27 17:08:51 -0700 (Wed, 27 Aug 2008) | 4 lines 2008-08-28 Manuel Lopez-Ibanez * ChangeLog: Fix spelling mistake. ........ r139686 | gccadmin | 2008-08-27 17:16:44 -0700 (Wed, 27 Aug 2008) | 1 line Daily bump. ........ r139688 | kkojima | 2008-08-27 17:37:56 -0700 (Wed, 27 Aug 2008) | 4 lines * config/sh/sh.h (REG_CLASS_CONTENTS): Drop fr32 from FPUL_REGS. (IRA_COVER_CLASSES): Add FPUL_REGS. ........ r139689 | paolo | 2008-08-27 17:40:11 -0700 (Wed, 27 Aug 2008) | 5 lines 2008-08-27 Paolo Carlini * c-typeck.c (convert_for_assignment): Adjust WARN_FOR_ASSIGNMENT use not updated in the last change. ........ r139690 | bkoz | 2008-08-27 17:44:45 -0700 (Wed, 27 Aug 2008) | 14 lines 2008-08-27 Benjamin Kosnik * doc/Makefile.am: Edit xml file list. * doc/Makefile.in: Regenerate. * configure: Regenerate. * doc/xml/manual/intro.xml: Edit, correct links, structure. * doc/xml/manual/configure.xml: Same. * doc/xml/manual/debug.xml: Same. * doc/xml/manual/test.xml: Same. * doc/xml/manual/build.xml: Remove. * doc/xml/manual/prerequisites.xml: Add. * doc/html/*: Regenerate. ........ r139691 | danglin | 2008-08-27 18:56:47 -0700 (Wed, 27 Aug 2008) | 3 lines * MAINTAINERS: Update my hppa and hpux entries. Remove my vax entry. ........ r139702 | rguenth | 2008-08-28 01:31:37 -0700 (Thu, 28 Aug 2008) | 11 lines 2008-08-28 Richard Guenther PR middle-end/37005 * fold-const.c (maybe_canonicalize_comparison_1): Require undefined overflow only for canonicalizing A +- CST cmp CST. Make sure to not generate new constants that are not inside their TYPE_MIN/MAX_VALUE range. (maybe_canonicalize_comparison): Remove undefined overflow checking from here. (fold_binary): Remove now duplicate folding. ........ r139704 | paolo | 2008-08-28 02:20:57 -0700 (Thu, 28 Aug 2008) | 14 lines 2008-08-28 Chris Fairles * gthr-posix.h (__gthread_create, __gthread_join, __gthread_detach, __gthread_mutex_timed_lock, __gthread_recursive_mutex_timed_lock, __gthread_cond_signal, __gthread_cond_timedwait, __gthread_cond_timedwait_recursive): New functions. * gthr-posix.c (pthread_mutex_timedlock, pthread_cond_timedwait): Likewise. * gthr.h: Comment on defining __GTHREADS_CXX0X macro in conforming thread interfaces. ........ r139705 | paolo | 2008-08-28 03:22:19 -0700 (Thu, 28 Aug 2008) | 8 lines 2008-08-28 Chris Fairles * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): New. Checks for gthread support used by c++0x thread library. * configure.ac: Test unconditionally. * configure: Regenerate. * config.h.in: Regenerate. ........ r139706 | irar | 2008-08-28 04:11:14 -0700 (Thu, 28 Aug 2008) | 44 lines * target.h (struct vectorize): Add new target builtin. * tree-vectorizer.c (destroy_loop_vec_info): Call vect_free_slp_instance instead of vect_free_slp_node. * tree-vectorizer.h (enum slp_load_perm_type): New. (struct _slp_instance): Add new fields. (SLP_INSTANCE_LOAD_PERMUTATION): New. (SLP_INSTANCE_LOADS): New. (vect_free_slp_tree): Remove. (vect_free_slp_instance): Declare. (SLP_TREE_LOADS_PERM_TYPE, TARG_VEC_PERMUTE_COST): New. (vectorizable_load): Add argument. (vect_transform_slp_perm_load): New. * tree-vect-analyze.c (vect_analyze_operations): Add an argument to vectorizable_load. (vect_get_place_in_interleaving_chain): New function. (vect_free_slp_tree): Make static. (vect_free_slp_instance): New function. (vect_build_slp_tree): Add new arguments. Allow load permutations and collect the load location in the interleaving chain. (vect_supported_slp_permutation_p): New function. (vect_supported_load_permutation_p): Likewise. (vect_analyze_slp_instance): In case of loads permutation, call vect_supported_load_permutation_p to check that the permutation is supported. * target-def.h (TARGET_VECTORIZE_BUILTIN_VEC_PERM): New. * tree-vect-transform.c (vect_transform_stmt): Add new argument. (vect_create_mask_and_perm): New function. (vect_get_mask_element, vect_transform_slp_perm_load): Likewise. (vectorizable_load): Add an argument. Don't keep the created vectors statements in the node if permutation is required. Call vect_transform_slp_perm_load to generate the permutation. (vect_transform_stmt): Add new argument. Call vectorizable_load with additional argument. (vect_schedule_slp_instance): In case of loads permutation, allocate vectorized statements structure for all the related SLP nodes. Call vect_transform_stmt with addditional argument. (vect_transform_loop): Call vect_transform_stmt with correct arguments. * config/spu/spu.c (spu_builtin_vec_perm): New. (TARGET_VECTORIZE_BUILTIN_VEC_PERM): Redefine. * config/spu/spu.h (TARG_VEC_PERMUTE_COS): Define. * config/rs6000/rs6000.c (rs6000_builtin_vec_perm): New. (TARGET_VECTORIZE_BUILTIN_VEC_PERM): Redefine. ........ r139712 | dodji | 2008-08-28 07:49:48 -0700 (Thu, 28 Aug 2008) | 7 lines 2008-08-28 Dodji Seketeli PR c++/36741 * tree.c (int_fits_type_p): Don't forget unsigned integers of type sizetype which higher end word equals -1. ........ r139713 | janus | 2008-08-28 08:10:50 -0700 (Thu, 28 Aug 2008) | 12 lines 2008-08-28 Janus Weil PR fortran/37253 * module.c (ab_attribute,attr_bits,mio_symbol_attribute): Take care of saving attr.procedure and attr.proc_ptr to the module file. 2008-08-28 Janus Weil PR fortran/37253 * gfortran.dg/proc_ptr_10.f90: New. ........ r139714 | rguenth | 2008-08-28 08:26:13 -0700 (Thu, 28 Aug 2008) | 8 lines 2008-08-28 Richard Guenther PR tree-optimization/37207 * tree-ssa-ifcombine.c (recognize_single_bit_test): Fix tuplification bug. * gcc.c-torture/compile/pr37207.c: New testcase. ........ r139715 | hainque | 2008-08-28 08:35:34 -0700 (Thu, 28 Aug 2008) | 5 lines * configure.ac (powerpc-*-darwin*, i?86-*-darwin*,x86_64-*-darwin9): Enable bfd, binutils and opcodes. * configure: Regenerate. ........ r139716 | guerby | 2008-08-28 08:58:31 -0700 (Thu, 28 Aug 2008) | 6 lines 2008-08-28 Laurent Guerby * configure: Regenerate. ........ r139717 | pbrook | 2008-08-28 09:17:11 -0700 (Thu, 28 Aug 2008) | 6 lines 2008-08-28 Paul Brook * config/arm/vfp11.md: Update license notice. * config/arm/cortex-r4.md: Ditto. ........ r139718 | nickc | 2008-08-28 09:47:18 -0700 (Thu, 28 Aug 2008) | 2 lines * config/m32r/m32r.h (IRA_COVER_CLASSES): Define. ........ r139719 | nickc | 2008-08-28 09:49:56 -0700 (Thu, 28 Aug 2008) | 2 lines * config/fr30/fr30.h (IRA_COVER_CLASSES): Define. ........ r139720 | nickc | 2008-08-28 09:52:16 -0700 (Thu, 28 Aug 2008) | 2 lines * config/iq2000/iq2000.h (IRA_COVER_CLASSES): Define. ........ r139721 | nickc | 2008-08-28 09:54:08 -0700 (Thu, 28 Aug 2008) | 2 lines * config/mcore/mcore.h (IRA_COVER_CLASSES): Define. ........ r139722 | nickc | 2008-08-28 09:57:34 -0700 (Thu, 28 Aug 2008) | 3 lines * config/v850/v850.h (IRA_COVER_CLASSES): Define. * config/v850/v850.md (return): Remove frame size restriction. ........ r139723 | nickc | 2008-08-28 10:02:28 -0700 (Thu, 28 Aug 2008) | 4 lines * config/stormy16/stormy16.h (IRA_COVER_CLASSES): Define. * config/stormy16/stormy16.md (zero_extendqihi2): Fix length attribute. ........ r139724 | domob | 2008-08-28 11:03:02 -0700 (Thu, 28 Aug 2008) | 57 lines 2008-08-28 Daniel Kraft * gfortran.h (enum expr_t): New value `EXPR_COMPCALL'. (gfc_get_typebound_proc): New macro. (struct gfc_expr): New union-member `compcall' for EXPR_COMPCALL. (enum gfc_exec_op): New value `EXEC_COMPCALL'. (gfc_find_typebound_proc): New argument. (gfc_copy_ref), (gfc_match_varspec): Made public. * decl.c (match_procedure_in_type): Use gfc_get_typebound_proc. * expr.c (free_expr0), (gfc_copy_expr): Handle EXPR_COMPCALL. (gfc_copy_ref): Made public and use new name. (simplify_const_ref): Use new name of gfc_copy_ref. (simplify_parameter_variable): Ditto. (gfc_simplify_expr): gcc_unreachable for EXPR_COMPCALL. * match.c (match_typebound_call): New method. (gfc_match_call): Allow for CALL's to typebound procedures. * module.c (binding_passing), (binding_overriding): New variables. (expr_types): Add EXPR_COMPCALL. (mio_expr): gcc_unreachable for EXPR_COMPCALL. (mio_typebound_proc), (mio_typebound_symtree): New methods. (mio_f2k_derived): Handle type-bound procedures. * primary.c (gfc_match_varspec): Made public and parse trailing references to type-bound procedures; new argument `sub_flag'. (gfc_match_rvalue): New name and argument of gfc_match_varspec. (match_variable): Ditto. * resolve.c (update_arglist_pass): New method. (update_compcall_arglist), (resolve_typebound_static): New methods. (resolve_typebound_call), (resolve_compcall): New methods. (gfc_resolve_expr): Handle EXPR_COMPCALL. (resolve_code): Handle EXEC_COMPCALL. (resolve_fl_derived): New argument to gfc_find_typebound_proc. (resolve_typebound_procedure): Ditto and removed not-implemented error. * st.c (gfc_free_statement): Handle EXEC_COMPCALL. * symbol.c (gfc_find_typebound_proc): New argument `noaccess' and implement access-checking. * trans-expr.c (gfc_apply_interface_mapping_to_expr): gcc_unreachable on EXPR_COMPCALL. * trans-intrinsic.c (gfc_conv_intrinsic_bound): Add missing break. * trans-openmp.c (gfc_trans_omp_array_reduction): Add missing intialization of ref->type. 2008-08-28 Daniel Kraft * gfortran.dg/typebound_call_1.f03: New test. * gfortran.dg/typebound_call_2.f03: New test. * gfortran.dg/typebound_call_3.f03: New test. * gfortran.dg/typebound_call_4.f03: New test. * gfortran.dg/typebound_call_5.f03: New test. * gfortran.dg/typebound_call_6.f03: New test. * gfortran.dg/typebound_proc_1.f08: Don't expect not-implemented error. * gfortran.dg/typebound_proc_2.f90: Ditto. * gfortran.dg/typebound_proc_5.f03: Ditto. * gfortran.dg/typebound_proc_6.f03: Ditto. * gfortran.dg/typebound_proc_7.f03: Ditto. * gfortran.dg/typebound_proc_8.f03: Ditto. ........ r139725 | pbrook | 2008-08-28 11:03:51 -0700 (Thu, 28 Aug 2008) | 17 lines 2008-08-28 Paul Brook Mark Shinwell Richard Earnshaw gcc/ * config/arm/arm.c (TARGET_MAX_ANCHOR_OFFSET): New. (TARGET_MIN_ANCHOR_OFFSET): New. (arm_override_options): Set correct anchor ranges for Thumb-1 and Thumb-2 if required. (legitimize_pic_address): Handle case involving a TLS symbol reference with an addend. (arm_optimization_options): Enable section anchors at -O1 and above. * config/arm/arm.h (OPTIMIZATION_OPTIONS): New. * config/arm/arm-protos.h (arm_optimization_options): New. ........ r139726 | hjl | 2008-08-28 12:18:44 -0700 (Thu, 28 Aug 2008) | 677 lines 2008-08-28 H.J. Lu Joey Ye Xuepeng Guo * config.gcc (extra_headers): Add gmmintrin.h for x86 and x86-64. * config/i386/cpuid.h (bit_FMA): New. (bit_XSAVE): Likewise. (bit_OSXSAVE): Likewise. (bit_AVX): Likewise. * config/i386/gas.h (ASM_OUTPUT_OPCODE): Undefine before define. Use ASM_OUTPUT_AVX_PREFIX. * config/i386/gmmintrin.h: New. * config/i386/i386.c (x86_64_reg_class): Add X86_64_AVX_CLASS. (OPTION_MASK_ISA_AVX_SET): New. (OPTION_MASK_ISA_FMA_SET): Likewise. (OPTION_MASK_ISA_AVX_UNSET): Likewise. (OPTION_MASK_ISA_FMA_SET): Likewise. (OPTION_MASK_ISA_SSE4_2_UNSET): Updated. (ix86_handle_option): Handle OPT_mavx and OPT_mfma. (pta_flags): Add PTA_AVX and PTA_FMA. (override_options): Handle PTA_AVX and PTA_FMA. (init_cumulative_args): Handle warn_avx. (classify_argument): Return 0 for COImode and OImode. Return 1 and X86_64_AVX_CLASS for 256bit vector types. (examine_argument): Handle X86_64_AVX_CLASS. (construct_container): Likewise. (function_arg_advance_32): Pass OImode and 256bit vector types in AVX register. (function_arg_advance_64): Take a new argument to indicate if a parameter is named. Handle 256bit vector types. Return immediately for unnamed 256bit vector mode parameters. (function_arg_advance): Updated. (function_arg_32): Add comments for TImode. Handle OImode and 256bit vector types. (function_arg_64): Take a new argument to indicate if a parameter is named. Handle 256bit vector types. Return NULL for unnamed 256bit vector mode parameters. (function_arg): Updated. (setup_incoming_varargs_64): Support AVX encoding for *sse_prologue_save_insn. (ix86_gimplify_va_arg): Handle 256bit vector mode parameters. (standard_sse_constant_p): Return -2 for all 1s if SSE2 isn't enabled. For all 1s in 256bit vector modes, return 3 if AVX is enabled, otherwise return -3. (standard_sse_constant_opcode): Handle AVX and 256bit vector modes. (print_reg): Support AVX registers. Handle 'x' and 't'. Handle 'd' to duplicate the operand. (print_operand): Likewise. Also support AVX vector compare instructions. (output_387_binary_op): Support AVX. (output_fp_compare): Likewise. (ix86_expand_vector_move_misalign): Likewise. (ix86_attr_length_vex_default): New. (ix86_builtins): Add IX86_BUILTIN_ADDPD256, IX86_BUILTIN_ADDPS256, IX86_BUILTIN_ADDSUBPD256, IX86_BUILTIN_ADDSUBPS256, IX86_BUILTIN_ANDPD256, IX86_BUILTIN_ANDPS256, IX86_BUILTIN_ANDNPD256, IX86_BUILTIN_ANDNPS256, IX86_BUILTIN_BLENDPD256, IX86_BUILTIN_BLENDPS256, IX86_BUILTIN_BLENDVPD256, IX86_BUILTIN_BLENDVPS256, IX86_BUILTIN_DIVPD256, IX86_BUILTIN_DIVPS256, IX86_BUILTIN_DPPS256, IX86_BUILTIN_HADDPD256, IX86_BUILTIN_HADDPS256, IX86_BUILTIN_HSUBPD256, IX86_BUILTIN_HSUBPS256, IX86_BUILTIN_MAXPD256, IX86_BUILTIN_MAXPS256, IX86_BUILTIN_MINPD256, IX86_BUILTIN_MINPS256, IX86_BUILTIN_MULPD256, IX86_BUILTIN_MULPS256, IX86_BUILTIN_ORPD256, IX86_BUILTIN_ORPS256, IX86_BUILTIN_SHUFPD256, IX86_BUILTIN_SHUFPS256, IX86_BUILTIN_SUBPD256, IX86_BUILTIN_SUBPS256, IX86_BUILTIN_XORPD256, IX86_BUILTIN_XORPS256, IX86_BUILTIN_CMPSD, IX86_BUILTIN_CMPSS, IX86_BUILTIN_CMPPD, IX86_BUILTIN_CMPPS, IX86_BUILTIN_CMPPD256, IX86_BUILTIN_CMPPS256, IX86_BUILTIN_CVTDQ2PD256, IX86_BUILTIN_CVTDQ2PS256, IX86_BUILTIN_CVTPD2PS256, IX86_BUILTIN_CVTPS2DQ256, IX86_BUILTIN_CVTPS2PD256, IX86_BUILTIN_CVTTPD2DQ256, IX86_BUILTIN_CVTPD2DQ256, IX86_BUILTIN_CVTTPS2DQ256, IX86_BUILTIN_EXTRACTF128PD256, IX86_BUILTIN_EXTRACTF128PS256, IX86_BUILTIN_EXTRACTF128SI256, IX86_BUILTIN_VZEROALL, IX86_BUILTIN_VZEROUPPER, IX86_BUILTIN_VZEROUPPER_REX64, IX86_BUILTIN_VPERMILVARPD, IX86_BUILTIN_VPERMILVARPS, IX86_BUILTIN_VPERMILVARPD256, IX86_BUILTIN_VPERMILVARPS256, IX86_BUILTIN_VPERMILPD, IX86_BUILTIN_VPERMILPS, IX86_BUILTIN_VPERMILPD256, IX86_BUILTIN_VPERMILPS256, IX86_BUILTIN_VPERMIL2PD, IX86_BUILTIN_VPERMIL2PS, IX86_BUILTIN_VPERMIL2PD256, IX86_BUILTIN_VPERMIL2PS256, IX86_BUILTIN_VPERM2F128PD256, IX86_BUILTIN_VPERM2F128PS256, IX86_BUILTIN_VPERM2F128SI256, IX86_BUILTIN_VBROADCASTSS, IX86_BUILTIN_VBROADCASTSD256, IX86_BUILTIN_VBROADCASTSS256, IX86_BUILTIN_VBROADCASTPD256, IX86_BUILTIN_VBROADCASTPS256, IX86_BUILTIN_VINSERTF128PD256, IX86_BUILTIN_VINSERTF128PS256, IX86_BUILTIN_VINSERTF128SI256, IX86_BUILTIN_LOADUPD256, IX86_BUILTIN_LOADUPS256, IX86_BUILTIN_STOREUPD256, IX86_BUILTIN_STOREUPS256, IX86_BUILTIN_LDDQU256, IX86_BUILTIN_LOADDQU256, IX86_BUILTIN_STOREDQU256, IX86_BUILTIN_MASKLOADPD, IX86_BUILTIN_MASKLOADPS, IX86_BUILTIN_MASKSTOREPD, IX86_BUILTIN_MASKSTOREPS, IX86_BUILTIN_MASKLOADPD256, IX86_BUILTIN_MASKLOADPS256, IX86_BUILTIN_MASKSTOREPD256, IX86_BUILTIN_MASKSTOREPS256, IX86_BUILTIN_MOVSHDUP256, IX86_BUILTIN_MOVSLDUP256, IX86_BUILTIN_MOVDDUP256, IX86_BUILTIN_SQRTPD256, IX86_BUILTIN_SQRTPS256, IX86_BUILTIN_SQRTPS_NR256, IX86_BUILTIN_RSQRTPS256, IX86_BUILTIN_RSQRTPS_NR256, IX86_BUILTIN_RCPPS256, IX86_BUILTIN_ROUNDPD256, IX86_BUILTIN_ROUNDPS256, IX86_BUILTIN_UNPCKHPD256, IX86_BUILTIN_UNPCKLPD256, IX86_BUILTIN_UNPCKHPS256, IX86_BUILTIN_UNPCKLPS256, IX86_BUILTIN_SI256_SI, IX86_BUILTIN_PS256_PS, IX86_BUILTIN_PD256_PD, IX86_BUILTIN_SI_SI256, IX86_BUILTIN_PS_PS256, IX86_BUILTIN_PD_PD256, IX86_BUILTIN_VTESTZPD, IX86_BUILTIN_VTESTCPD, IX86_BUILTIN_VTESTNZCPD, IX86_BUILTIN_VTESTZPS, IX86_BUILTIN_VTESTCPS, IX86_BUILTIN_VTESTNZCPS, IX86_BUILTIN_VTESTZPD256, IX86_BUILTIN_VTESTCPD256, IX86_BUILTIN_VTESTNZCPD256, IX86_BUILTIN_VTESTZPS256, IX86_BUILTIN_VTESTCPS256, IX86_BUILTIN_VTESTNZCPS256, IX86_BUILTIN_PTESTZ256, IX86_BUILTIN_PTESTC256, IX86_BUILTIN_PTESTNZC256, IX86_BUILTIN_MOVMSKPD256 and IX86_BUILTIN_MOVMSKPS256, (ix86_special_builtin_type): Add V32QI_FTYPE_PCCHAR, V8SF_FTYPE_PCV4SF, V8SF_FTYPE_PCFLOAT, V4DF_FTYPE_PCV2DF, V4DF_FTYPE_PCDOUBLE, V8SF_FTYPE_PCV8SF_V8SF, V4DF_FTYPE_PCV4DF_V4DF, V4SF_FTYPE_PCV4SF_V4SF, V2DF_FTYPE_PCV2DF_V2DF, VOID_FTYPE_PCHAR_V32QI, VOID_FTYPE_PFLOAT_V8SF, VOID_FTYPE_PDOUBLE_V4DF, VOID_FTYPE_PV8SF_V8SF_V8SF, VOID_FTYPE_PV4DF_V4DF_V4DF, VOID_FTYPE_PV4SF_V4SF_V4SF and VOID_FTYPE_PV2DF_V2DF_V2DF, (ix86_builtin_type): Add INT_FTYPE_V8SF_V8SF_PTEST, INT_FTYPE_V4DI_V4DI_PTEST, INT_FTYPE_V4DF_V4DF_PTEST, INT_FTYPE_V4SF_V4SF_PTEST, INT_FTYPE_V2DF_V2DF_PTEST, INT_FTYPE_V8SF, INT_FTYPE_V4DF, V8SI_FTYPE_V8SF, V8SI_FTYPE_V4SI, V8SF_FTYPE_V8SF, V8SF_FTYPE_V8SI, V8SF_FTYPE_V4SF, V4SI_FTYPE_V8SI, V4SI_FTYPE_V4DF, V4DF_FTYPE_V4DF, V4DF_FTYPE_V4SI, V4DF_FTYPE_V4SF, V4DF_FTYPE_V2DF, V4SF_FTYPE_V4DF, V4SF_FTYPE_V8SF, V2DF_FTYPE_V4DF, V8SF_FTYPE_V8SF_V8SF, V8SF_FTYPE_V8SF_V8SI, V4DF_FTYPE_V4DF_V4DF, V4DF_FTYPE_V4DF_V4DI, V4SF_FTYPE_V4SF_V4SI, V2DF_FTYPE_V2DF_V2DI, V8SF_FTYPE_V8SF_INT, V4SI_FTYPE_V8SI_INT, V4SF_FTYPE_V8SF_INT, V2DF_FTYPE_V4DF_INT, V4DF_FTYPE_V4DF_INT, V8SF_FTYPE_V8SF_V8SF_V8SF, V4DF_FTYPE_V4DF_V4DF_V4DF, V8SI_FTYPE_V8SI_V8SI_INT, V8SF_FTYPE_V8SF_V8SF_INT, V4DF_FTYPE_V4DF_V4DF_INT, V4DF_FTYPE_V4DF_V2DF_INT, V8SF_FTYPE_V8SF_V8SF_V8SI_INT, V4DF_FTYPE_V4DF_V4DF_V4DI_INT, V4SF_FTYPE_V4SF_V4SF_V4SI_INT and V2DF_FTYPE_V2DF_V2DF_V2DI_INT. (bdesc_special_args): Add IX86_BUILTIN_VZEROALL, IX86_BUILTIN_VZEROUPPER. IX86_BUILTIN_VZEROUPPER_REX64, IX86_BUILTIN_VBROADCASTSS, IX86_BUILTIN_VBROADCASTSD256, IX86_BUILTIN_VBROADCASTSS256, IX86_BUILTIN_VBROADCASTPD256, IX86_BUILTIN_VBROADCASTPS256, IX86_BUILTIN_LOADUPD256, IX86_BUILTIN_LOADUPS256, IX86_BUILTIN_STOREUPD256, IX86_BUILTIN_STOREUPS256, IX86_BUILTIN_LOADDQU256, IX86_BUILTIN_STOREDQU256, IX86_BUILTIN_LDDQU256, IX86_BUILTIN_MASKLOADPD, IX86_BUILTIN_MASKLOADPS, IX86_BUILTIN_MASKLOADPD256, IX86_BUILTIN_MASKLOADPS256, IX86_BUILTIN_MASKSTOREPD, IX86_BUILTIN_MASKSTOREPS, IX86_BUILTIN_MASKSTOREPD256 and IX86_BUILTIN_MASKSTOREPS256. (ix86_builtins): Add IX86_BUILTIN_ADDPD256, IX86_BUILTIN_ADDPS256, IX86_BUILTIN_ADDSUBPD256, IX86_BUILTIN_ADDSUBPS256, IX86_BUILTIN_ANDPD256, IX86_BUILTIN_ANDPS256, IX86_BUILTIN_ANDNPD256, IX86_BUILTIN_ANDNPS256, IX86_BUILTIN_DIVPD256, IX86_BUILTIN_DIVPS256, IX86_BUILTIN_HADDPD256, IX86_BUILTIN_HSUBPS256, IX86_BUILTIN_HSUBPD256, IX86_BUILTIN_HADDPS256, IX86_BUILTIN_MAXPD256, IX86_BUILTIN_MAXPS256, IX86_BUILTIN_MINPD256, IX86_BUILTIN_MINPS256, IX86_BUILTIN_MULPD256, IX86_BUILTIN_MULPS256, IX86_BUILTIN_ORPD256, IX86_BUILTIN_ORPS256, IX86_BUILTIN_SUBPD256, IX86_BUILTIN_SUBPS256, IX86_BUILTIN_XORPD256, IX86_BUILTIN_XORPS256, IX86_BUILTIN_VPERMILVARPD, IX86_BUILTIN_VPERMILVARPS, IX86_BUILTIN_VPERMILVARPD256, IX86_BUILTIN_VPERMILVARPS256, IX86_BUILTIN_BLENDPD256, IX86_BUILTIN_BLENDPS256, IX86_BUILTIN_BLENDVPD256, IX86_BUILTIN_BLENDVPS256, IX86_BUILTIN_DPPS256, IX86_BUILTIN_SHUFPD256, IX86_BUILTIN_SHUFPS256, IX86_BUILTIN_CMPSD, IX86_BUILTIN_CMPSS, IX86_BUILTIN_CMPPD, IX86_BUILTIN_CMPPS, IX86_BUILTIN_CMPPD256,IX86_BUILTIN_CMPPS256, IX86_BUILTIN_EXTRACTF128PD256, IX86_BUILTIN_EXTRACTF128PS256, IX86_BUILTIN_EXTRACTF128SI256, IX86_BUILTIN_CVTDQ2PD256, IX86_BUILTIN_CVTDQ2PS256, IX86_BUILTIN_CVTPD2PS256, IX86_BUILTIN_CVTPS2DQ256, IX86_BUILTIN_CVTPS2PD256, IX86_BUILTIN_CVTTPD2DQ256, IX86_BUILTIN_CVTPD2DQ256, IX86_BUILTIN_CVTTPS2DQ256, IX86_BUILTIN_VPERM2F128PD256, IX86_BUILTIN_VPERM2F128PS256, IX86_BUILTIN_VPERM2F128SI256, IX86_BUILTIN_VPERMILPD, IX86_BUILTIN_VPERMILPS, IX86_BUILTIN_VPERMILPD256, IX86_BUILTIN_VPERMILPS256, IX86_BUILTIN_VPERMIL2PD, IX86_BUILTIN_VPERMILPS, IX86_BUILTIN_VPERMILPD256, IX86_BUILTIN_VPERMILPS256, IX86_BUILTIN_VPERMIL2PD, IX86_BUILTIN_VPERMIL2PS, IX86_BUILTIN_VPERMIL2PD256, IX86_BUILTIN_VPERMIL2PS256, IX86_BUILTIN_VINSERTF128PD256, IX86_BUILTIN_VINSERTF128PS256, IX86_BUILTIN_VINSERTF128SI256, IX86_BUILTIN_MOVSHDUP256, IX86_BUILTIN_MOVSLDUP256, IX86_BUILTIN_MOVDDUP256, IX86_BUILTIN_SQRTPD256, IX86_BUILTIN_SQRTPS256, IX86_BUILTIN_SQRTPS_NR256, IX86_BUILTIN_RSQRTPS256, IX86_BUILTIN_RSQRTPS_NR256, IX86_BUILTIN_RCPPS256, IX86_BUILTIN_ROUNDPD256, IX86_BUILTIN_ROUNDPS256, IX86_BUILTIN_UNPCKHPD256, IX86_BUILTIN_UNPCKLPD256, IX86_BUILTIN_UNPCKHPS256, IX86_BUILTIN_UNPCKLPS256, IX86_BUILTIN_SI256_SI, IX86_BUILTIN_PS256_PS, IX86_BUILTIN_PD256_PD, IX86_BUILTIN_SI_SI256, IX86_BUILTIN_PS_PS256, IX86_BUILTIN_PD_PD256, IX86_BUILTIN_VTESTZPD, IX86_BUILTIN_VTESTCPD, IX86_BUILTIN_VTESTNZCPD, IX86_BUILTIN_VTESTZPS, IX86_BUILTIN_VTESTCPS, IX86_BUILTIN_VTESTNZCPS, IX86_BUILTIN_VTESTZPD256, IX86_BUILTIN_VTESTCPD256, IX86_BUILTIN_VTESTNZCPD256, IX86_BUILTIN_VTESTZPS256, IX86_BUILTIN_VTESTCPS256, IX86_BUILTIN_VTESTNZCPS256, IX86_BUILTIN_PTESTZ256, IX86_BUILTIN_PTESTC256, IX86_BUILTIN_PTESTNZC256, IX86_BUILTIN_MOVMSKPD256 and IX86_BUILTIN_MOVMSKPS256. (ix86_init_mmx_sse_builtins): Support AVX builtins. (ix86_expand_args_builtin): Likewise. (ix86_expand_special_args_builtin): Likewise. (ix86_hard_regno_mode_ok): Handle AVX modes. (ix86_expand_vector_init_duplicate): Likewise. (ix86_expand_vector_init_one_nonzero): Likewise. (ix86_expand_vector_init_one_var): Likewise. (ix86_expand_vector_init_concat): Likewise. (ix86_expand_vector_init_general): Likewise. (ix86_expand_vector_set): Likewise. (ix86_vector_mode_supported_p): Likewise. (x86_extended_reg_mentioned_p): Check INSN_P before using PATTERN. * config/i386/i386-c.c (ix86_target_macros_internal): Handle OPTION_MASK_ISA_AVX and OPTION_MASK_ISA_FMA. * config/i386/i386.h (TARGET_AVX): New. (TARGET_FMA): Likewise. (TARGET_CPU_CPP_BUILTINS): Handle TARGET_AVX and TARGET_FMA. (BIGGEST_ALIGNMENT): Set to 256 for TARGET_AVX. (VALID_AVX256_REG_MODE): New. (AVX256_VEC_FLOAT_MODE_P): Likewise. (AVX_FLOAT_MODE_P): Likewise. (AVX128_VEC_FLOAT_MODE_P): Likewise. (AVX256_VEC_FLOAT_MODE_P): Likewise. (AVX_VEC_FLOAT_MODE_P): Likewise. (ASM_OUTPUT_AVX_PREFIX): Likewise. (ASM_OUTPUT_OPCODE): Likewise. (UNITS_PER_SIMD_WORD): Add a FIXME for 32byte vectorizer support. (SSE_REG_MODE_P): Allow 256bit vector modes. (ix86_args): Add a warn_avx field. * config/i386/i386.md (UNSPEC_PCMP): New. (UNSPEC_VPERMIL): Likewise. (UNSPEC_VPERMIL2): Likewise. (UNSPEC_VPERMIL2F128): Likewise. (UNSPEC_MASKLOAD): Likewise. (UNSPEC_MASKSTORE): Likewise. (UNSPEC_CAST): Likewise. (UNSPEC_VTESTP): Likewise. (UNSPECV_VZEROALL): Likewise. (UNSPECV_VZEROUPPER): Likewise. (XMM0_REG): Likewise. (XMM1_REG): Likewise. (XMM2_REG): Likewise. (XMM3_REG): Likewise. (XMM4_REG): Likewise. (XMM5_REG): Likewise. (XMM6_REG): Likewise. (XMM8_REG): Likewise. (XMM9_REG): Likewise. (XMM10_REG): Likewise. (XMM11_REG): Likewise. (XMM12_REG): Likewise. (XMM13_REG): Likewise. (XMM14_REG): Likewise. (XMM15_REG): Likewise. (prefix): Likewise. (prefix_vex_imm8): Likewise. (prefix_vex_w): Likewise. (length_vex): Likewise. (maxmin): Likewise. (movoi): Likewise. (*avx_ashlti3): Likewise. (*avx_lshrti3): Likewise. (*avx_setcc): Likewise. (*fop__comm_mixed_avx): Likewise. (*fop__comm_avx): Likewise. (*fop__1_mixed_avx): Likewise. (*fop__1_avx): Likewise. (*avx_3): Likewise. (*avx_ieee_smin3): Likewise. (*avx_ieee_smax3): Likewise. (mode): Add OI, V8SF and V4DF. (length): Support VEX prefix. (*cmpfp_i_mixed): Set prefix attribute. (*cmpfp_i_sse): Likewise. (*cmpfp_iu_mixed): Likewise. (*cmpfp_iu_sse): Likewise. (*movsi_1): Support AVX. (*movdi_2): Likewise. (*movdi_1_rex64): Likewise. (*movti_internal): Likewise. (*movti_rex64): Likewise. (*movsf_1): Likewise. (*movdf_nointeger): Likewise. (*movdf_integer_rex64): Likewise. (*movtf_internal): Likewise. (zero_extendsidi2_32): Likewise. (zero_extendsidi2_rex64): Likewise. (*extendsfdf2_mixed): Likewise. (*extendsfdf2_sse): Likewise. (*truncdfsf_fast_mixed): Likewise. (*truncdfsf_fast_sse): Likewise. (*truncdfsf_mixed): Likewise. (fix_truncdi_sse): Likewise. (fix_truncsi_sse): Likewise. (*float2_mixed_interunit): Likewise. (*float2_mixed_nointerunit): Likewise. (*float2_sse_interunit): Likewise. (*float2_sse_nointerunit): Likewise. (*rcpsf2_sse): Likewise. (*rsqrtsf2_sse): Likewise. (*sqrt2_sse): Likewise. (sse4_1_round2): Likewise. (*sse_prologue_save_insn): Disallow REX prefix for AVX. Support AVX. Set length attribute properly for AVX. * config/i386/i386-modes.def (VECTOR_MODES (INT, 32)): New. (VECTOR_MODES (FLOAT, 32)): Likewise. (VECTOR_MODE (INT, DI, 8)): Likewise. (VECTOR_MODE (INT, HI, 32)): Likewise. (VECTOR_MODE (INT, QI, 64)): Likewise. (VECTOR_MODE (FLOAT, DF, 8)): Likewise. (VECTOR_MODE (FLOAT, SF, 16)): Likewise. (VECTOR_MODE (INT, DI, 4)): Removed. (VECTOR_MODE (INT, SI, 8)): Likewise. (VECTOR_MODE (INT, HI, 16)): Likewise. (VECTOR_MODE (INT, QI, 32)): Likewise. (VECTOR_MODE (FLOAT, SF, 8)): Likewise. (INT_MODE (OI, 32)): Likewise. * config/i386/i386.opt (mavx): New. (mfma): Likewise. * config/i386/i386-protos.h (ix86_attr_length_vex_default): New. * config/i386/mmx.md (*mov_internal_rex64): Support AVX. (*mov_internal_avx): New. (*movv2sf_internal_rex64_avx): Likewise. (*movv2sf_internal_avx): Likewise. * config/i386/predicates.md (const_4_to_5_operand): New. (const_6_to_7_operand): Likewise. (const_8_to_11_operand): Likewise. (const_12_to_15_operand): Likewise. (avx_comparison_float_operator): Likewise. * config/i386/sse.md (AVX256MODEI): New. (AVX256MODE): Likewise. (AVXMODEQI): Likewise. (AVXMODE): Likewise. (AVX256MODEF2P): Likewise. (AVX256MODE2P): Likewise. (AVX256MODE4P): Likewise. (AVX256MODE8P): Likewise. (AVXMODEF2P): Likewise. (AVXMODEF4P): Likewise. (AVXMODEDCVTDQ2PS): Likewise. (AVXMODEDCVTPS2DQ): Likewise. (avxvecmode): Likewise. (avxvecpsmode): Likewise. (avxhalfvecmode): Likewise. (avxscalarmode): Likewise. (avxcvtvecmode): Likewise. (avxpermvecmode): Likewise. (avxmodesuffixf2c): Likewise. (avxmodesuffixp): Likewise. (avxmodesuffixs): Likewise. (avxmodesuffix): Likewise. (vpermilbits): Likewise. (pinsrbits): Likewise. (mov): Likewise. (*mov_internal): Likewise. (push1): Likewise. (movmisalign): Likewise. (avx_movup): Likewise. (avx_movdqu): Likewise. (avx_lddqu): Likewise. (3): Likewise. (*avx_3): Likewise. (*avx_vm3): Likewise. (mul3): Likewise. (*avx_mul3): Likewise. (*avx_vmmul3): Likewise. (divv8sf3): Likewise. (divv4df3): Likewise. (avx_div3): Likewise. (*avx_div3): Likewise. (*avx_vmdiv3): Likewise. (avx_rcpv8sf2): Likewise. (*avx_vmrcpv4sf2): Likewise. (sqrtv8sf2): Likewise. (avx_sqrtv8sf2): Likewise. (*avx_vmsqrt2): Likewise. (rsqrtv8sf2): Likewise. (avx_rsqrtv8sf2): Likewise. (*avx_vmrsqrtv4sf2): Likewise. (3): Likewise. (*avx_3_finite): Likewise. (*avx_3): Likewise. (*avx_vm3): Likewise. (*avx_ieee_smin3): Likewise. (*avx_ieee_smax3): Likewise. (avx_addsubv8sf3): Likewise. (avx_addsubv4df3): Likewise. (*avx_addsubv4sf3): Likewise. (*avx_addsubv2df3): Likewise. (avx_hv4df3): Likewise. (avx_hv8sf3): Likewise. (*avx_hv4sf3): Likewise. (*avx_hv2df3): Likewise. (avx_cmpp3): Likewise. (avx_cmps3): Likewise. (*avx_maskcmp3): Likewise. (avx_nand3): Likewise. (*avx_3): Likewise. (*avx_nand3): Likewise. (*avx_3): Likewise. (*avx_cvtsi2ss): Likewise. (*avx_cvtsi2ssq): Likewise. (*avx_cvtsi2sd): Likewise. (*avx_cvtsi2sdq): Likewise. (*avx_cvtsd2ss): Likewise. (avx_cvtss2sd): Likewise. (avx_cvtdq2ps): Likewise. (avx_cvtps2dq): Likewise. (avx_cvttps2dq): Likewise. (*avx_cvtsi2sd): Likewise. (*avx_cvtsi2sdq): Likewise. (avx_cvtdq2pd256): Likewise. (avx_cvtpd2dq256): Likewise. (avx_cvttpd2dq256): Likewise. (*avx_cvtsd2ss): Likewise. (*avx_cvtss2sd): Likewise. (avx_cvtpd2ps256): Likewise. (avx_cvtps2pd256): Likewise. (*avx_movhlps): Likewise. (*avx_movlhps): Likewise. (avx_unpckhps256): Likewise. (*avx_unpckhps): Likewise. (avx_unpcklps256): Likewise. (*avx_unpcklps): Likewise. (avx_movshdup256): Likewise. (avx_movsldup256): Likewise. (avx_shufps256): Likewise. (avx_shufps256_1): Likewise. (*avx_shufps_): Likewise. (*avx_loadhps): Likewise. (*avx_storelps): Likewise. (*avx_loadlps): Likewise. (*avx_movss): Likewise. (*vec_dupv4sf_avx): Likewise. (*vec_concatv2sf_avx): Likewise. (*vec_concatv4sf_avx): Likewise. (*vec_setv4sf_0_avx): Likewise. (*vec_setv4sf_avx): Likewise. (*avx_insertps): Likewise. (avx_vextractf128): Likewise. (vec_extract_lo_): Likewise. (vec_extract_hi_): Likewise. (vec_extract_lo_): Likewise. (vec_extract_hi_): Likewise. (vec_extract_lo_v16hi): Likewise. (vec_extract_hi_v16hi): Likewise. (vec_extract_lo_v32qi): Likewise. (vec_extract_hi_v32qi): Likewise. (avx_unpckhpd256): Likewise. (*avx_unpckhpd): Likewise. (avx_movddup256): Likewise. (*avx_movddup): Likewise. (avx_unpcklpd256): Likewise. (*avx_unpcklpd): Likewise. (avx_shufpd256): Likewise. (avx_shufpd256_1): Likewise. (*avx_punpckhqdq): Likewise. (*avx_punpcklqdq): Likewise. (*avx_shufpd_): Likewise. (*avx_storehpd): Likewise. (*avx_loadhpd): Likewise. (*avx_loadlpd): Likewise. (*avx_movsd): Likewise. (*vec_concatv2df_avx): Likewise. (*avx_3): Likewise. (*avx_3): Likewise. (*avx_mulv8hi3): Likewise. (*avxv8hi3_highpart): Likewise. (*avx_umulv8hi3_highpart): Likewise. (*avx_umulv2siv2di3): Likewise. (*avx_mulv2siv2di3): Likewise. (*avx_pmaddwd): Likewise. (*avx_mulv4si3): Likewise. (*avx_ashr3): Likewise. (*avx_lshr3): Likewise. (*avx_ashl3): Likewise. (*avx_3): Likewise. (*avx_eq3): Likewise. (*avx_gt3): Likewise. (*avx_nand3): Likewise. (*avx_nand3): Likewise. (*avx_3): Likewise. (*avx_3): Likewise. (*avx_packsswb): Likewise. (*avx_packssdw): Likewise. (*avx_packuswb): Likewise. (*avx_punpckhbw): Likewise. (*avx_punpcklbw): Likewise. (*avx_punpckhwd): Likewise. (*avx_punpcklwd): Likewise. (*avx_punpckhdq): Likewise. (*avx_punpckldq): Likewise. (*avx_pinsr): Likewise. (*avx_pinsrq): Likewise. (*avx_loadld): Likewise. (*vec_extractv2di_1_rex64_avx): Likewise. (*vec_extractv2di_1_avx): Likewise. (*vec_dupv2di_avx): Likewise. (*vec_concatv2si_avx): Likewise. (*vec_concatv4si_1_avx): Likewise. (*vec_concatv2di_avx): Likewise. (*vec_concatv2di_rex64_avx): Likewise. (*avx_uavgv16qi3): Likewise. (*avx_uavgv8hi3): Likewise. (*avx_psadbw): Likewise. (avx_movmskp256): Likewise. (*avx_phaddwv8hi3): Likewise. (*avx_phadddv4si3): Likewise. (*avx_phaddswv8hi3): Likewise. (*avx_phsubwv8hi3): Likewise. (*avx_phsubdv4si3): Likewise. (*avx_phsubswv8hi3): Likewise. (*avx_pmaddubsw128): Likewise. (*avx_pmulhrswv8hi3): Likewise. (*avx_pshufbv16qi3): Likewise. (*avx_psign3): Likewise. (*avx_palignrti): Likewise. (avx_blendp): Likewise. (avx_blendvp): Likewise. (avx_dpp): Likewise. (*avx_mpsadbw): Likewise. (*avx_packusdw): Likewise. (*avx_pblendvb): Likewise. (*avx_pblendw): Likewise. (avx_vtestp): Likewise. (avx_ptest256): Likewise. (avx_roundp256): Likewise. (*avx_rounds): Likewise. (*avx_aesenc): Likewise. (*avx_aesenclast): Likewise. (*avx_aesdec): Likewise. (*avx_aesdeclast): Likewise. (avx_vzeroupper): Likewise. (avx_vzeroupper_rex64): Likewise. (avx_vpermil): Likewise. (avx_vpermilvar3): Likewise. (avx_vpermil23): Likewise. (avx_vperm2f1283): Likewise. (avx_vbroadcasts): Likewise. (avx_vbroadcastss256): Likewise. (avx_vbroadcastf128_p256): Likewise. (avx_vinsertf128): Likewise. (vec_set_lo_): Likewise. (vec_set_hi_): Likewise. (vec_set_lo_): Likewise. (vec_set_hi_): Likewise. (vec_set_lo_v16hi): Likewise. (vec_set_hi_v16hi): Likewise. (vec_set_lo_v32qi): Likewise. (vec_set_hi_v32qi): Likewise. (avx_maskloadp): Likewise. (avx_maskstorep): Likewise. (avx__): Likewise. (avx__): Likewise. (vec_init): Likewise. (*vec_concat_avx): Likewise. (blendbits): Support V8SF and V4DF. (sse2_movq128): Support AVX. (_movnt): Likewise. (sse2_movntv2di): Likewise. (sse_rcpv4sf2): Likewise. (sse_sqrtv4sf2): Likewise. (sse_rsqrtv4sf2): Likewise. (_comi): Likewise. (_ucomi): Likewise. (sse_cvtss2si): Likewise. (sse_cvtss2si_2): Likewise. (sse_cvtss2siq): Likewise. (sse_cvtss2siq_2): Likewise. (sse_cvttss2si): Likewise. (sse_cvttss2siq): Likewise. (sse2_cvtsd2si): Likewise. (sse2_cvtsd2si_2): Likewise. (sse2_cvtsd2siq): Likewise. (sse2_cvtsd2siq_2): Likewise. (sse2_cvttsd2si): Likewise. (sse2_cvttsd2siq): Likewise. (sse2_cvtdq2pd): Likewise. (*sse2_cvtpd2dq): Likewise. (*sse2_cvttpd2dq): Likewise. (*sse2_cvtpd2ps): Likewise. (sse2_cvtps2pd): Likewise. (sse3_movshdup): Likewise. (sse3_movsldup): Likewise. (sse_storehps): Likewise. (*sse4_1_extractps): Likewise. (sse2_storelpd): Likewise. (vec_dupv2df_sse3): Likewise. (*vec_concatv2df_sse3): Likewise. (*sse4_1_pextrb): Likewise. (*sse4_1_pextrb_memory): Likewise. (*sse2_pextrw): Likewise. (*sse4_1_pextrw_memory): Likewise. (*sse4_1_pextrd): Likewise. (*sse4_1_pextrq): Likewise. (sse2_pshufd_1): Likewise. (sse2_pshuflw_1): Likewise. (sse2_pshufhw_1): Likewise. (*sse2_storeq_rex64): Likewise. (*vec_dupv4si): Likewise. (_movmskp): Likewise. (sse2_pmovmskb): Likewise. (*sse2_maskmovdqu): Likewise. (*sse2_maskmovdqu_rex64): Likewise. (sse_ldmxcsr): Likewise. (sse_stmxcsr): Likewise. (abs2): Likewise. (sse4_1_movntdqa): Likewise. (sse4_1_phminposuw): Likewise. (sse4_1_extendv8qiv8hi2): Likewise. (*sse4_1_extendv8qiv8hi2): Likewise. (sse4_1_extendv4qiv4si2): Likewise. (*sse4_1_extendv4qiv4si2): Likewise. (sse4_1_extendv2qiv2di2): Likewise. (*sse4_1_extendv2qiv2di2): Likewise. (sse4_1_extendv4hiv4si2): Likewise. (*sse4_1_extendv4hiv4si2): Likewise. (sse4_1_extendv2hiv2di2): Likewise. (*sse4_1_extendv2hiv2di2): Likewise. (sse4_1_extendv2siv2di2): Likewise. (*sse4_1_extendv2siv2di2): Likewise. (sse4_1_zero_extendv8qiv8hi2): Likewise. (*sse4_1_zero_extendv8qiv8hi2): Likewise. (sse4_1_zero_extendv4qiv4si2): Likewise. (*sse4_1_zero_extendv4qiv4si2): Likewise. (sse4_1_zero_extendv2qiv2di2): Likewise. (*sse4_1_zero_extendv2qiv2di2): Likewise. (sse4_1_zero_extendv4hiv4si2): Likewise. (*sse4_1_zero_extendv4hiv4si2): Likewise. (sse4_1_zero_extendv2hiv2di2): Likewise. (*sse4_1_zero_extendv2hiv2di2): Likewise. (sse4_1_zero_extendv2siv2di2): Likewise. (*sse4_1_zero_extendv2siv2di2): Likewise. (sse4_1_ptest): Likewise. (sse4_1_roundp): Likewise. (sse4_2_pcmpestri): Likewise. (sse4_2_pcmpestrm): Likewise. (sse4_2_pcmpistri): Likewise. (sse4_2_pcmpistrm): Likewise. (aesimc): Likewise. (aeskeygenassist): Likewise. 2008-08-28 Uros Bizjak * config/i386/predicates.md (vzeroall_operation): New. * config/i386/sse.md (avx_vzeroall): New. (*avx_vzeroall): Likewise. ........ r139727 | hjl | 2008-08-28 12:20:03 -0700 (Thu, 28 Aug 2008) | 5 lines 2008-08-28 Joey Ye * doc/extend.texi: Document AVX built-in functions. * doc/invoke.texi: Document -mavx. ........ r139729 | manu | 2008-08-28 12:34:36 -0700 (Thu, 28 Aug 2008) | 17 lines 2008-08-28 Manuel Lopez-Ibanez PR c/30949 * c-typeck.c (convert_for_assignment): Give a note describing what was passed and what was expected. testsuite/ * gcc.dg/pr30949.c: New. * gcc.dg/transparent-union-1.c: Update. * gcc.dg/cleanup-1.c: Update. * gcc.dg/assign-warn-2.c: Update. * gcc.dg/conv-2.c: Update. * gcc.dg/Wpointer-sign-pedantic.c: Update. * gcc.dg/Wpointer-sign-Wall.c: Update. * gcc.dg/assign-warn-1.c: Update. * gcc.dg/dfp/composite-type.c: Update. * gcc.dg/noncompile/20020213-1.c: Update. ........ r139730 | hjl | 2008-08-28 12:36:58 -0700 (Thu, 28 Aug 2008) | 796 lines 2008-08-28 Xuepeng Guo Joey Ye H.J. Lu * gcc.dg/compat/vector-1b_main.c: New. * gcc.dg/compat/vector-1b_x.c: Likewise. * gcc.dg/compat/vector-1b_y.c: Likewise. * gcc.dg/compat/vector-2b_main.c: Likewise. * gcc.dg/compat/vector-2b_x.c: Likewise. * gcc.dg/compat/vector-2b_y.c: Likewise. * gcc.target/i386/aes-avx-check.h: Likewise. * gcc.target/i386/avx-1.c: Likewise. * gcc.target/i386/avx-2.c: Likewise. * gcc.target/i386/avx-3.c: Likewise. * gcc.target/i386/avx-check.h: Likewise. * gcc.target/i386/avx-set1-epi32-1.c: Likewise. * gcc.target/i386/avx-set1-pd-256-1.c: Likewise. * gcc.target/i386/avx-set1-ps-256-1.c: Likewise. * gcc.target/i386/avx-set-v16hi-1.c: Likewise. * gcc.target/i386/avx-set-v16hi-2.c: Likewise. * gcc.target/i386/avx-set-v16hi-3.c: Likewise. * gcc.target/i386/avx-set-v16hi-4.c: Likewise. * gcc.target/i386/avx-set-v16hi-5.c: Likewise. * gcc.target/i386/avx-set-v32qi-1.c: Likewise. * gcc.target/i386/avx-set-v32qi-2.c: Likewise. * gcc.target/i386/avx-set-v32qi-3.c: Likewise. * gcc.target/i386/avx-set-v32qi-4.c: Likewise. * gcc.target/i386/avx-set-v32qi-5.c: Likewise. * gcc.target/i386/avx-set-v4df-1.c: Likewise. * gcc.target/i386/avx-set-v4df-2.c: Likewise. * gcc.target/i386/avx-set-v4df-3.c: Likewise. * gcc.target/i386/avx-set-v4df-4.c: Likewise. * gcc.target/i386/avx-set-v4df-5.c: Likewise. * gcc.target/i386/avx-set-v4di-1.c: Likewise. * gcc.target/i386/avx-set-v4di-2.c: Likewise. * gcc.target/i386/avx-set-v4di-3.c: Likewise. * gcc.target/i386/avx-set-v4di-4.c: Likewise. * gcc.target/i386/avx-set-v4di-5.c: Likewise. * gcc.target/i386/avx-set-v8sf-1.c: Likewise. * gcc.target/i386/avx-set-v8sf-2.c: Likewise. * gcc.target/i386/avx-set-v8sf-3.c: Likewise. * gcc.target/i386/avx-set-v8sf-4.c: Likewise. * gcc.target/i386/avx-set-v8sf-5.c: Likewise. * gcc.target/i386/avx-set-v8si-1.c: Likewise. * gcc.target/i386/avx-set-v8si-2.c: Likewise. * gcc.target/i386/avx-set-v8si-3.c: Likewise. * gcc.target/i386/avx-set-v8si-4.c: Likewise. * gcc.target/i386/avx-set-v8si-5.c: Likewise. * gcc.target/i386/avx-setzero-pd-256-1.c: Likewise. * gcc.target/i386/avx-setzero-ps-256-1.c: Likewise. * gcc.target/i386/avx-setzero-si256-1.c: Likewise. * gcc.target/i386/avx-vaddpd-1.c: Likewise. * gcc.target/i386/avx-vaddpd-256-1.c: Likewise. * gcc.target/i386/avx-vaddps-1.c: Likewise. * gcc.target/i386/avx-vaddps-256-1.c: Likewise. * gcc.target/i386/avx-vaddsd-1.c: Likewise. * gcc.target/i386/avx-vaddss-1.c: Likewise. * gcc.target/i386/avx-vaddsubpd-1.c: Likewise. * gcc.target/i386/avx-vaddsubpd-256-1.c: Likewise. * gcc.target/i386/avx-vaddsubps-1.c: Likewise. * gcc.target/i386/avx-vaddsubps-256-1.c: Likewise. * gcc.target/i386/avx-vaesdec-1.c: Likewise. * gcc.target/i386/avx-vaesdeclast-1.c: Likewise. * gcc.target/i386/avx-vaesenc-1.c: Likewise. * gcc.target/i386/avx-vaesenclast-1.c: Likewise. * gcc.target/i386/avx-vaesimc-1.c: Likewise. * gcc.target/i386/avx-vaeskeygenassist-1.c: Likewise. * gcc.target/i386/avx-vandnpd-1.c: Likewise. * gcc.target/i386/avx-vandnpd-256-1.c: Likewise. * gcc.target/i386/avx-vandnps-1.c: Likewise. * gcc.target/i386/avx-vandnps-256-1.c: Likewise. * gcc.target/i386/avx-vandpd-1.c: Likewise. * gcc.target/i386/avx-vandpd-256-1.c: Likewise. * gcc.target/i386/avx-vandps-1.c: Likewise. * gcc.target/i386/avx-vandps-256-1.c: Likewise. * gcc.target/i386/avx-vblendpd-1.c: Likewise. * gcc.target/i386/avx-vblendpd-256-1.c: Likewise. * gcc.target/i386/avx-vblendps-256-1.c: Likewise. * gcc.target/i386/avx-vblendvpd-256-1.c: Likewise. * gcc.target/i386/avx-vblendvps-256-1.c: Likewise. * gcc.target/i386/avx-vbroadcastf128-256-1.c: Likewise. * gcc.target/i386/avx-vbroadcastf128-256-2.c: Likewise. * gcc.target/i386/avx-vbroadcastsd-1.c: Likewise. * gcc.target/i386/avx-vbroadcastss-1.c: Likewise. * gcc.target/i386/avx-vbroadcastss-2.c: Likewise. * gcc.target/i386/avx-vcmppd-1.c: Likewise. * gcc.target/i386/avx-vcmppd-256-1.c: Likewise. * gcc.target/i386/avx-vcmpps-1.c: Likewise. * gcc.target/i386/avx-vcmpps-256-1.c: Likewise. * gcc.target/i386/avx-vcmpsd-1.c: Likewise. * gcc.target/i386/avx-vcmpss-1.c: Likewise. * gcc.target/i386/avx-vcomisd-1.c: Likewise. * gcc.target/i386/avx-vcomisd-2.c: Likewise. * gcc.target/i386/avx-vcomisd-3.c: Likewise. * gcc.target/i386/avx-vcomisd-4.c: Likewise. * gcc.target/i386/avx-vcomisd-5.c: Likewise. * gcc.target/i386/avx-vcomisd-6.c: Likewise. * gcc.target/i386/avx-vcomiss-1.c: Likewise. * gcc.target/i386/avx-vcomiss-2.c: Likewise. * gcc.target/i386/avx-vcomiss-3.c: Likewise. * gcc.target/i386/avx-vcomiss-4.c: Likewise. * gcc.target/i386/avx-vcomiss-5.c: Likewise. * gcc.target/i386/avx-vcomiss-6.c: Likewise. * gcc.target/i386/avx-vcvtdq2pd-1.c: Likewise. * gcc.target/i386/avx-vcvtdq2pd-256-1.c: Likewise. * gcc.target/i386/avx-vcvtdq2ps-1.c: Likewise. * gcc.target/i386/avx-vcvtpd2dq-1.c: Likewise. * gcc.target/i386/avx-vcvtpd2dq-256-1.c: Likewise. * gcc.target/i386/avx-vcvtpd2ps-1.c: Likewise. * gcc.target/i386/avx-vcvtpd2ps-256-1.c: Likewise. * gcc.target/i386/avx-vcvtps2dq-1.c: Likewise. * gcc.target/i386/avx-vcvtps2dq-256-1.c: Likewise. * gcc.target/i386/avx-vcvtps2pd-1.c: Likewise. * gcc.target/i386/avx-vcvtps2pd-256-1.c: Likewise. * gcc.target/i386/avx-vcvtsd2si-1.c: Likewise. * gcc.target/i386/avx-vcvtsd2si-2.c: Likewise. * gcc.target/i386/avx-vcvtsd2ss-1.c: Likewise. * gcc.target/i386/avx-vcvtsi2sd-1.c: Likewise. * gcc.target/i386/avx-vcvtsi2sd-2.c: Likewise. * gcc.target/i386/avx-vcvtsi2ss-1.c: Likewise. * gcc.target/i386/avx-vcvtsi2ss-2.c: Likewise. * gcc.target/i386/avx-vcvtss2sd-1.c: Likewise. * gcc.target/i386/avx-vcvtss2si-1.c: Likewise. * gcc.target/i386/avx-vcvtss2si-2.c: Likewise. * gcc.target/i386/avx-vcvttpd2dq-1.c: Likewise. * gcc.target/i386/avx-vcvttpd2dq-256-1.c: Likewise. * gcc.target/i386/avx-vcvttps2dq-1.c: Likewise. * gcc.target/i386/avx-vcvttps2dq-256-1.c: Likewise. * gcc.target/i386/avx-vcvttsd2si-1.c: Likewise. * gcc.target/i386/avx-vcvttsd2si-2.c: Likewise. * gcc.target/i386/avx-vcvttss2si-1.c: Likewise. * gcc.target/i386/avx-vcvttss2si-2.c: Likewise. * gcc.target/i386/avx-vdivpd-1.c: Likewise. * gcc.target/i386/avx-vdivpd-256-1.c: Likewise. * gcc.target/i386/avx-vdivps-1.c: Likewise. * gcc.target/i386/avx-vdivps-256-1.c: Likewise. * gcc.target/i386/avx-vdivsd-1.c: Likewise. * gcc.target/i386/avx-vdivss-1.c: Likewise. * gcc.target/i386/avx-vdppd-1.c: Likewise. * gcc.target/i386/avx-vdppd-2.c: Likewise. * gcc.target/i386/avx-vdpps-1.c: Likewise. * gcc.target/i386/avx-vdpps-2.c: Likewise. * gcc.target/i386/avx-vextractf128-256-1.c: Likewise. * gcc.target/i386/avx-vextractf128-256-2.c: Likewise. * gcc.target/i386/avx-vextractps-1.c: Likewise. * gcc.target/i386/avx-vhaddpd-1.c: Likewise. * gcc.target/i386/avx-vhaddpd-256-1.c: Likewise. * gcc.target/i386/avx-vhaddps-1.c: Likewise. * gcc.target/i386/avx-vhaddps-256-1.c: Likewise. * gcc.target/i386/avx-vhsubpd-1.c: Likewise. * gcc.target/i386/avx-vhsubpd-256-1.c: Likewise. * gcc.target/i386/avx-vhsubps-1.c: Likewise. * gcc.target/i386/avx-vhsubps-256-1.c: Likewise. * gcc.target/i386/avx-vinsertf128-256-1.c: Likewise. * gcc.target/i386/avx-vinsertf128-256-2.c: Likewise. * gcc.target/i386/avx-vinsertf128-256-3.c: Likewise. * gcc.target/i386/avx-vinsertps-1.c: Likewise. * gcc.target/i386/avx-vinsertps-2.c: Likewise. * gcc.target/i386/avx-vlddqu-1.c: Likewise. * gcc.target/i386/avx-vlddqu-256-1.c: Likewise. * gcc.target/i386/avx-vmaskmovpd-256-1.c: Likewise. * gcc.target/i386/avx-vmaskmovpd-256-2.c: Likewise. * gcc.target/i386/avx-vmaskmovps-256-1.c: Likewise. * gcc.target/i386/avx-vmaskmovps-256-2.c: Likewise. * gcc.target/i386/avx-vmaxpd-1.c: Likewise. * gcc.target/i386/avx-vmaxpd-256-1.c: Likewise. * gcc.target/i386/avx-vmaxps-1.c: Likewise. * gcc.target/i386/avx-vmaxps-256-1.c: Likewise. * gcc.target/i386/avx-vmaxsd-1.c: Likewise. * gcc.target/i386/avx-vmaxss-1.c: Likewise. * gcc.target/i386/avx-vminpd-1.c: Likewise. * gcc.target/i386/avx-vminpd-256-1.c: Likewise. * gcc.target/i386/avx-vminps-1.c: Likewise. * gcc.target/i386/avx-vminps-256-1.c: Likewise. * gcc.target/i386/avx-vminsd-1.c: Likewise. * gcc.target/i386/avx-vminss-1.c: Likewise. * gcc.target/i386/avx-vmovapd-1.c: Likewise. * gcc.target/i386/avx-vmovapd-256-1.c: Likewise. * gcc.target/i386/avx-vmovapd-256-2.c: Likewise. * gcc.target/i386/avx-vmovapd-2.c: Likewise. * gcc.target/i386/avx-vmovaps-1.c: Likewise. * gcc.target/i386/avx-vmovaps-256-1.c: Likewise. * gcc.target/i386/avx-vmovaps-256-2.c: Likewise. * gcc.target/i386/avx-vmovaps-2.c: Likewise. * gcc.target/i386/avx-vmovd-1.c: Likewise. * gcc.target/i386/avx-vmovd-2.c: Likewise. * gcc.target/i386/avx-vmovddup-1.c: Likewise. * gcc.target/i386/avx-vmovddup-256-1.c: Likewise. * gcc.target/i386/avx-vmovdqa-1.c: Likewise. * gcc.target/i386/avx-vmovdqa-256-1.c: Likewise. * gcc.target/i386/avx-vmovdqa-256-2.c: Likewise. * gcc.target/i386/avx-vmovdqa-2.c: Likewise. * gcc.target/i386/avx-vmovdqu-1.c: Likewise. * gcc.target/i386/avx-vmovdqu-256-1.c: Likewise. * gcc.target/i386/avx-vmovdqu-256-2.c: Likewise. * gcc.target/i386/avx-vmovdqu-2.c: Likewise. * gcc.target/i386/avx-vmovhlps-1.c: Likewise. * gcc.target/i386/avx-vmovhpd-1.c: Likewise. * gcc.target/i386/avx-vmovhpd-2.c: Likewise. * gcc.target/i386/avx-vmovhps-1.c: Likewise. * gcc.target/i386/avx-vmovhps-2.c: Likewise. * gcc.target/i386/avx-vmovlhps-1.c: Likewise. * gcc.target/i386/avx-vmovlpd-1.c: Likewise. * gcc.target/i386/avx-vmovlpd-2.c: Likewise. * gcc.target/i386/avx-vmovmskpd-1.c: Likewise. * gcc.target/i386/avx-vmovmskpd-256-1.c: Likewise. * gcc.target/i386/avx-vmovmskps-1.c: Likewise. * gcc.target/i386/avx-vmovmskps-256-1.c: Likewise. * gcc.target/i386/avx-vmovntdq-1.c: Likewise. * gcc.target/i386/avx-vmovntdqa-1.c: Likewise. * gcc.target/i386/avx-vmovntpd-1.c: Likewise. * gcc.target/i386/avx-vmovntps-1.c: Likewise. * gcc.target/i386/avx-vmovq-1.c: Likewise. * gcc.target/i386/avx-vmovq-2.c: Likewise. * gcc.target/i386/avx-vmovq-3.c: Likewise. * gcc.target/i386/avx-vmovsd-1.c: Likewise. * gcc.target/i386/avx-vmovsd-2.c: Likewise. * gcc.target/i386/avx-vmovshdup-1.c: Likewise. * gcc.target/i386/avx-vmovshdup-256-1.c: Likewise. * gcc.target/i386/avx-vmovsldup-1.c: Likewise. * gcc.target/i386/avx-vmovsldup-256-1.c: Likewise. * gcc.target/i386/avx-vmovss-1.c: Likewise. * gcc.target/i386/avx-vmovss-2.c: Likewise. * gcc.target/i386/avx-vmovss-3.c: Likewise. * gcc.target/i386/avx-vmovupd-1.c: Likewise. * gcc.target/i386/avx-vmovupd-256-1.c: Likewise. * gcc.target/i386/avx-vmovupd-256-2.c: Likewise. * gcc.target/i386/avx-vmovupd-2.c: Likewise. * gcc.target/i386/avx-vmovups-1.c: Likewise. * gcc.target/i386/avx-vmovups-256-1.c: Likewise. * gcc.target/i386/avx-vmovups-256-2.c: Likewise. * gcc.target/i386/avx-vmovups-2.c: Likewise. * gcc.target/i386/avx-vmpsadbw-1.c: Likewise. * gcc.target/i386/avx-vmulpd-1.c: Likewise. * gcc.target/i386/avx-vmulpd-256-1.c: Likewise. * gcc.target/i386/avx-vmulps-1.c: Likewise. * gcc.target/i386/avx-vmulps-256-1.c: Likewise. * gcc.target/i386/avx-vmulsd-1.c: Likewise. * gcc.target/i386/avx-vmulss-1.c: Likewise. * gcc.target/i386/avx-vorpd-1.c: Likewise. * gcc.target/i386/avx-vorpd-256-1.c: Likewise. * gcc.target/i386/avx-vorps-1.c: Likewise. * gcc.target/i386/avx-vorps-256-1.c: Likewise. * gcc.target/i386/avx-vpabsb-1.c: Likewise. * gcc.target/i386/avx-vpabsd-1.c: Likewise. * gcc.target/i386/avx-vpabsw-1.c: Likewise. * gcc.target/i386/avx-vpackssdw-1.c: Likewise. * gcc.target/i386/avx-vpacksswb-1.c: Likewise. * gcc.target/i386/avx-vpackusdw-1.c: Likewise. * gcc.target/i386/avx-vpackuswb-1.c: Likewise. * gcc.target/i386/avx-vpaddb-1.c: Likewise. * gcc.target/i386/avx-vpaddd-1.c: Likewise. * gcc.target/i386/avx-vpaddq-1.c: Likewise. * gcc.target/i386/avx-vpaddsb-1.c: Likewise. * gcc.target/i386/avx-vpaddsw-1.c: Likewise. * gcc.target/i386/avx-vpaddusb-1.c: Likewise. * gcc.target/i386/avx-vpaddusw-1.c: Likewise. * gcc.target/i386/avx-vpaddw-1.c: Likewise. * gcc.target/i386/avx-vpalignr-1.c: Likewise. * gcc.target/i386/avx-vpand-1.c: Likewise. * gcc.target/i386/avx-vpandn-1.c: Likewise. * gcc.target/i386/avx-vpavgb-1.c: Likewise. * gcc.target/i386/avx-vpavgw-1.c: Likewise. * gcc.target/i386/avx-vpblendvb-1.c: Likewise. * gcc.target/i386/avx-vpblendw-1.c: Likewise. * gcc.target/i386/avx-vpcmpeqb-1.c: Likewise. * gcc.target/i386/avx-vpcmpeqd-1.c: Likewise. * gcc.target/i386/avx-vpcmpeqq-1.c: Likewise. * gcc.target/i386/avx-vpcmpeqw-1.c: Likewise. * gcc.target/i386/avx-vpcmpestri-1.c: Likewise. * gcc.target/i386/avx-vpcmpestri-2.c: Likewise. * gcc.target/i386/avx-vpcmpestrm-1.c: Likewise. * gcc.target/i386/avx-vpcmpestrm-2.c: Likewise. * gcc.target/i386/avx-vpcmpgtb-1.c: Likewise. * gcc.target/i386/avx-vpcmpgtd-1.c: Likewise. * gcc.target/i386/avx-vpcmpgtq-1.c: Likewise. * gcc.target/i386/avx-vpcmpgtw-1.c: Likewise. * gcc.target/i386/avx-vpcmpistri-1.c: Likewise. * gcc.target/i386/avx-vpcmpistri-2.c: Likewise. * gcc.target/i386/avx-vpcmpistrm-1.c: Likewise. * gcc.target/i386/avx-vpcmpistrm-2.c: Likewise. * gcc.target/i386/avx-vperm2f128-256-1.c: Likewise. * gcc.target/i386/avx-vperm2f128-256-2.c: Likewise. * gcc.target/i386/avx-vperm2f128-256-3.c: Likewise. * gcc.target/i386/avx-vpermil2pd-1.c: Likewise. * gcc.target/i386/avx-vpermil2pd-256-1.c: Likewise. * gcc.target/i386/avx-vpermil2ps-1.c: Likewise. * gcc.target/i386/avx-vpermil2ps-256-1.c: Likewise. * gcc.target/i386/avx-vpermilpd-1.c: Likewise. * gcc.target/i386/avx-vpermilpd-256-1.c: Likewise. * gcc.target/i386/avx-vpermilpd-256-2.c: Likewise. * gcc.target/i386/avx-vpermilpd-2.c: Likewise. * gcc.target/i386/avx-vpermilps-1.c: Likewise. * gcc.target/i386/avx-vpermilps-256-1.c: Likewise. * gcc.target/i386/avx-vpermilps-256-2.c: Likewise. * gcc.target/i386/avx-vpermilps-2.c: Likewise. * gcc.target/i386/avx-vpextrb-1.c: Likewise. * gcc.target/i386/avx-vpextrd-1.c: Likewise. * gcc.target/i386/avx-vpextrq-1.c: Likewise. * gcc.target/i386/avx-vpextrw-1.c: Likewise. * gcc.target/i386/avx-vphaddd-1.c: Likewise. * gcc.target/i386/avx-vphaddsw-1.c: Likewise. * gcc.target/i386/avx-vphaddw-1.c: Likewise. * gcc.target/i386/avx-vphminposuw-1.c: Likewise. * gcc.target/i386/avx-vphsubd-1.c: Likewise. * gcc.target/i386/avx-vphsubsw-1.c: Likewise. * gcc.target/i386/avx-vphsubw-1.c: Likewise. * gcc.target/i386/avx-vpinsrb-1.c: Likewise. * gcc.target/i386/avx-vpinsrd-1.c: Likewise. * gcc.target/i386/avx-vpinsrq-1.c: Likewise. * gcc.target/i386/avx-vpmaddubsw-1.c: Likewise. * gcc.target/i386/avx-vpmaxsb-1.c: Likewise. * gcc.target/i386/avx-vpmaxsd-1.c: Likewise. * gcc.target/i386/avx-vpmaxsw-1.c: Likewise. * gcc.target/i386/avx-vpmaxub-1.c: Likewise. * gcc.target/i386/avx-vpmaxud-1.c: Likewise. * gcc.target/i386/avx-vpmaxuw-1.c: Likewise. * gcc.target/i386/avx-vpminsb-1.c: Likewise. * gcc.target/i386/avx-vpminsd-1.c: Likewise. * gcc.target/i386/avx-vpminsw-1.c: Likewise. * gcc.target/i386/avx-vpminub-1.c: Likewise. * gcc.target/i386/avx-vpminud-1.c: Likewise. * gcc.target/i386/avx-vpminuw-1.c: Likewise. * gcc.target/i386/avx-vpmovmskb-1.c: Likewise. * gcc.target/i386/avx-vpmovsxbd-1.c: Likewise. * gcc.target/i386/avx-vpmovsxbq-1.c: Likewise. * gcc.target/i386/avx-vpmovsxbw-1.c: Likewise. * gcc.target/i386/avx-vpmovsxdq-1.c: Likewise. * gcc.target/i386/avx-vpmovsxwd-1.c: Likewise. * gcc.target/i386/avx-vpmovsxwq-1.c: Likewise. * gcc.target/i386/avx-vpmovzxbd-1.c: Likewise. * gcc.target/i386/avx-vpmovzxbq-1.c: Likewise. * gcc.target/i386/avx-vpmovzxbw-1.c: Likewise. * gcc.target/i386/avx-vpmovzxdq-1.c: Likewise. * gcc.target/i386/avx-vpmovzxwd-1.c: Likewise. * gcc.target/i386/avx-vpmovzxwq-1.c: Likewise. * gcc.target/i386/avx-vpmuldq-1.c: Likewise. * gcc.target/i386/avx-vpmulhrsw-1.c: Likewise. * gcc.target/i386/avx-vpmulhuw-1.c: Likewise. * gcc.target/i386/avx-vpmulhw-1.c: Likewise. * gcc.target/i386/avx-vpmulld-1.c: Likewise. * gcc.target/i386/avx-vpmullw-1.c: Likewise. * gcc.target/i386/avx-vpmuludq-1.c: Likewise. * gcc.target/i386/avx-vpor-1.c: Likewise. * gcc.target/i386/avx-vpsadbw-1.c: Likewise. * gcc.target/i386/avx-vpshufb-1.c: Likewise. * gcc.target/i386/avx-vpshufd-1.c: Likewise. * gcc.target/i386/avx-vpshufhw-1.c: Likewise. * gcc.target/i386/avx-vpshuflw-1.c: Likewise. * gcc.target/i386/avx-vpsignb-1.c: Likewise. * gcc.target/i386/avx-vpsignd-1.c: Likewise. * gcc.target/i386/avx-vpsignw-1.c: Likewise. * gcc.target/i386/avx-vpslld-1.c: Likewise. * gcc.target/i386/avx-vpslld-2.c: Likewise. * gcc.target/i386/avx-vpslldq-1.c: Likewise. * gcc.target/i386/avx-vpsllq-1.c: Likewise. * gcc.target/i386/avx-vpsllq-2.c: Likewise. * gcc.target/i386/avx-vpsllw-1.c: Likewise. * gcc.target/i386/avx-vpsllw-2.c: Likewise. * gcc.target/i386/avx-vpsrad-1.c: Likewise. * gcc.target/i386/avx-vpsrad-2.c: Likewise. * gcc.target/i386/avx-vpsraw-1.c: Likewise. * gcc.target/i386/avx-vpsraw-2.c: Likewise. * gcc.target/i386/avx-vpsrld-1.c: Likewise. * gcc.target/i386/avx-vpsrld-2.c: Likewise. * gcc.target/i386/avx-vpsrldq-1.c: Likewise. * gcc.target/i386/avx-vpsrlq-1.c: Likewise. * gcc.target/i386/avx-vpsrlq-2.c: Likewise. * gcc.target/i386/avx-vpsrlw-1.c: Likewise. * gcc.target/i386/avx-vpsrlw-2.c: Likewise. * gcc.target/i386/avx-vpsubb-1.c: Likewise. * gcc.target/i386/avx-vpsubd-1.c: Likewise. * gcc.target/i386/avx-vpsubq-1.c: Likewise. * gcc.target/i386/avx-vpsubsb-1.c: Likewise. * gcc.target/i386/avx-vpsubsw-1.c: Likewise. * gcc.target/i386/avx-vpsubw-1.c: Likewise. * gcc.target/i386/avx-vptest-1.c: Likewise. * gcc.target/i386/avx-vptest-256-1.c: Likewise. * gcc.target/i386/avx-vptest-256-2.c: Likewise. * gcc.target/i386/avx-vptest-256-3.c: Likewise. * gcc.target/i386/avx-vptest-2.c: Likewise. * gcc.target/i386/avx-vptest-3.c: Likewise. * gcc.target/i386/avx-vpunpckhbw-1.c: Likewise. * gcc.target/i386/avx-vpunpckhdq-1.c: Likewise. * gcc.target/i386/avx-vpunpckhqdq-1.c: Likewise. * gcc.target/i386/avx-vpunpckhwd-1.c: Likewise. * gcc.target/i386/avx-vpunpcklbw-1.c: Likewise. * gcc.target/i386/avx-vpunpckldq-1.c: Likewise. * gcc.target/i386/avx-vpunpcklqdq-1.c: Likewise. * gcc.target/i386/avx-vpunpcklwd-1.c: Likewise. * gcc.target/i386/avx-vpxor-1.c: Likewise. * gcc.target/i386/avx-vrcpps-1.c: Likewise. * gcc.target/i386/avx-vrcpps-256-1.c: Likewise. * gcc.target/i386/avx-vroundpd-1.c: Likewise. * gcc.target/i386/avx-vroundpd-256-1.c: Likewise. * gcc.target/i386/avx-vroundpd-256-2.c: Likewise. * gcc.target/i386/avx-vroundpd-256-3.c: Likewise. * gcc.target/i386/avx-vroundpd-2.c: Likewise. * gcc.target/i386/avx-vroundpd-3.c: Likewise. * gcc.target/i386/avx-vroundps-256-1.c: Likewise. * gcc.target/i386/avx-vrsqrtps-1.c: Likewise. * gcc.target/i386/avx-vrsqrtps-256-1.c: Likewise. * gcc.target/i386/avx-vshufpd-1.c: Likewise. * gcc.target/i386/avx-vshufpd-256-1.c: Likewise. * gcc.target/i386/avx-vshufps-1.c: Likewise. * gcc.target/i386/avx-vshufps-256-1.c: Likewise. * gcc.target/i386/avx-vsqrtpd-1.c: Likewise. * gcc.target/i386/avx-vsqrtpd-256-1.c: Likewise. * gcc.target/i386/avx-vsqrtps-1.c: Likewise. * gcc.target/i386/avx-vsqrtps-256-1.c: Likewise. * gcc.target/i386/avx-vsubpd-1.c: Likewise. * gcc.target/i386/avx-vsubpd-256-1.c: Likewise. * gcc.target/i386/avx-vsubps-1.c: Likewise. * gcc.target/i386/avx-vsubps-256-1.c: Likewise. * gcc.target/i386/avx-vsubsd-1.c: Likewise. * gcc.target/i386/avx-vsubss-1.c: Likewise. * gcc.target/i386/avx-vtestpd-1.c: Likewise. * gcc.target/i386/avx-vtestpd-256-1.c: Likewise. * gcc.target/i386/avx-vtestpd-256-2.c: Likewise. * gcc.target/i386/avx-vtestpd-256-3.c: Likewise. * gcc.target/i386/avx-vtestpd-2.c: Likewise. * gcc.target/i386/avx-vtestpd-3.c: Likewise. * gcc.target/i386/avx-vtestps-1.c: Likewise. * gcc.target/i386/avx-vtestps-256-1.c: Likewise. * gcc.target/i386/avx-vtestps-256-2.c: Likewise. * gcc.target/i386/avx-vtestps-256-3.c: Likewise. * gcc.target/i386/avx-vtestps-2.c: Likewise. * gcc.target/i386/avx-vtestps-3.c: Likewise. * gcc.target/i386/avx-vucomisd-1.c: Likewise. * gcc.target/i386/avx-vucomisd-2.c: Likewise. * gcc.target/i386/avx-vucomisd-3.c: Likewise. * gcc.target/i386/avx-vucomisd-4.c: Likewise. * gcc.target/i386/avx-vucomisd-5.c: Likewise. * gcc.target/i386/avx-vucomisd-6.c: Likewise. * gcc.target/i386/avx-vucomiss-1.c: Likewise. * gcc.target/i386/avx-vucomiss-2.c: Likewise. * gcc.target/i386/avx-vucomiss-3.c: Likewise. * gcc.target/i386/avx-vucomiss-4.c: Likewise. * gcc.target/i386/avx-vucomiss-5.c: Likewise. * gcc.target/i386/avx-vucomiss-6.c: Likewise. * gcc.target/i386/avx-vunpckhpd-1.c: Likewise. * gcc.target/i386/avx-vunpckhpd-256-1.c: Likewise. * gcc.target/i386/avx-vunpckhps-1.c: Likewise. * gcc.target/i386/avx-vunpckhps-256-1.c: Likewise. * gcc.target/i386/avx-vunpcklpd-1.c: Likewise. * gcc.target/i386/avx-vunpcklpd-256-1.c: Likewise. * gcc.target/i386/avx-vunpcklps-1.c: Likewise. * gcc.target/i386/avx-vunpcklps-256-1.c: Likewise. * gcc.target/i386/avx-vxorpd-1.c: Likewise. * gcc.target/i386/avx-vxorpd-256-1.c: Likewise. * gcc.target/i386/avx-vxorps-1.c: Likewise. * gcc.target/i386/avx-vxorps-256-1.c: Likewise. * gcc.target/i386/avx-vzeroall-1.c: Likewise. * gcc.target/i386/avx-vzeroall-2.c: Likewise. * gcc.target/i386/avx-vzeroupper-1.c: Likewise. * gcc.target/i386/avx-vzeroupper-2.c: Likewise. * gcc.target/i386/m256-1.c: Likewise. * gcc.target/i386/m256-2.c: Likewise. * gcc.target/i386/m256-check.h: Likewise. * gcc.target/i386/sse2-addpd-1.c: Likewise. * gcc.target/i386/sse2-addsd-1.c: Likewise. * gcc.target/i386/sse2-andnpd-1.c: Likewise. * gcc.target/i386/sse2-andpd-1.c: Likewise. * gcc.target/i386/sse2-comisd-1.c: Likewise. * gcc.target/i386/sse2-comisd-2.c: Likewise. * gcc.target/i386/sse2-comisd-3.c: Likewise. * gcc.target/i386/sse2-comisd-4.c: Likewise. * gcc.target/i386/sse2-comisd-5.c: Likewise. * gcc.target/i386/sse2-comisd-6.c: Likewise. * gcc.target/i386/sse2-cvtdq2pd-1.c: Likewise. * gcc.target/i386/sse2-cvtdq2ps-1.c: Likewise. * gcc.target/i386/sse2-cvtpd2dq-1.c: Likewise. * gcc.target/i386/sse2-cvtpd2ps-1.c: Likewise. * gcc.target/i386/sse2-cvtps2dq-1.c: Likewise. * gcc.target/i386/sse2-cvtps2pd-1.c: Likewise. * gcc.target/i386/sse2-cvtsd2si-1.c: Likewise. * gcc.target/i386/sse2-cvtsd2si-2.c: Likewise. * gcc.target/i386/sse2-cvtsd2ss-1.c: Likewise. * gcc.target/i386/sse2-cvtsi2sd-1.c: Likewise. * gcc.target/i386/sse2-cvtsi2sd-2.c: Likewise. * gcc.target/i386/sse2-cvtss2sd-1.c: Likewise. * gcc.target/i386/sse2-cvttpd2dq-1.c: Likewise. * gcc.target/i386/sse2-cvttps2dq-1.c: Likewise. * gcc.target/i386/sse2-cvttsd2si-1.c: Likewise. * gcc.target/i386/sse2-cvttsd2si-2.c: Likewise. * gcc.target/i386/sse2-divpd-1.c: Likewise. * gcc.target/i386/sse2-divsd-1.c: Likewise. * gcc.target/i386/sse2-maxpd-1.c: Likewise. * gcc.target/i386/sse2-maxsd-1.c: Likewise. * gcc.target/i386/sse2-minpd-1.c: Likewise. * gcc.target/i386/sse2-minsd-1.c: Likewise. * gcc.target/i386/sse2-movapd-1.c: Likewise. * gcc.target/i386/sse2-movapd-2.c: Likewise. * gcc.target/i386/sse2-movd-1.c: Likewise. * gcc.target/i386/sse2-movd-2.c: Likewise. * gcc.target/i386/sse2-movdqa-1.c: Likewise. * gcc.target/i386/sse2-movdqa-2.c: Likewise. * gcc.target/i386/sse2-movdqu-1.c: Likewise. * gcc.target/i386/sse2-movdqu-2.c: Likewise. * gcc.target/i386/sse2-movhpd-1.c: Likewise. * gcc.target/i386/sse2-movhpd-2.c: Likewise. * gcc.target/i386/sse2-movlpd-1.c: Likewise. * gcc.target/i386/sse2-movlpd-2.c: Likewise. * gcc.target/i386/sse2-movmskpd-1.c: Likewise. * gcc.target/i386/sse2-movntdq-1.c: Likewise. * gcc.target/i386/sse2-movntpd-1.c: Likewise. * gcc.target/i386/sse2-movq-1.c: Likewise. * gcc.target/i386/sse2-movq-2.c: Likewise. * gcc.target/i386/sse2-movq-3.c: Likewise. * gcc.target/i386/sse2-movsd-1.c: Likewise. * gcc.target/i386/sse2-movsd-2.c: Likewise. * gcc.target/i386/sse2-movupd-1.c: Likewise. * gcc.target/i386/sse2-movupd-2.c: Likewise. * gcc.target/i386/sse2-mulpd-1.c: Likewise. * gcc.target/i386/sse2-mulsd-1.c: Likewise. * gcc.target/i386/sse2-orpd-1.c: Likewise. * gcc.target/i386/sse2-packssdw-1.c: Likewise. * gcc.target/i386/sse2-packsswb-1.c: Likewise. * gcc.target/i386/sse2-packuswb-1.c: Likewise. * gcc.target/i386/sse2-paddb-1.c: Likewise. * gcc.target/i386/sse2-paddd-1.c: Likewise. * gcc.target/i386/sse2-paddq-1.c: Likewise. * gcc.target/i386/sse2-paddsb-1.c: Likewise. * gcc.target/i386/sse2-paddsw-1.c: Likewise. * gcc.target/i386/sse2-paddusb-1.c: Likewise. * gcc.target/i386/sse2-paddusw-1.c: Likewise. * gcc.target/i386/sse2-paddw-1.c: Likewise. * gcc.target/i386/sse2-pand-1.c: Likewise. * gcc.target/i386/sse2-pandn-1.c: Likewise. * gcc.target/i386/sse2-pavgb-1.c: Likewise. * gcc.target/i386/sse2-pavgw-1.c: Likewise. * gcc.target/i386/sse2-pcmpeqb-1.c: Likewise. * gcc.target/i386/sse2-pcmpeqd-1.c: Likewise. * gcc.target/i386/sse2-pcmpeqw-1.c: Likewise. * gcc.target/i386/sse2-pcmpgtb-1.c: Likewise. * gcc.target/i386/sse2-pcmpgtd-1.c: Likewise. * gcc.target/i386/sse2-pcmpgtw-1.c: Likewise. * gcc.target/i386/sse2-pmaddwd-1.c: Likewise. * gcc.target/i386/sse2-pmaxsw-1.c: Likewise. * gcc.target/i386/sse2-pmaxub-1.c: Likewise. * gcc.target/i386/sse2-pminsw-1.c: Likewise. * gcc.target/i386/sse2-pminub-1.c: Likewise. * gcc.target/i386/sse2-pmovmskb-1.c: Likewise. * gcc.target/i386/sse2-pmulhuw-1.c: Likewise. * gcc.target/i386/sse2-pmulhw-1.c: Likewise. * gcc.target/i386/sse2-pmullw-1.c: Likewise. * gcc.target/i386/sse2-pmuludq-1.c: Likewise. * gcc.target/i386/sse2-por-1.c: Likewise. * gcc.target/i386/sse2-psadbw-1.c: Likewise. * gcc.target/i386/sse2-pshufd-1.c: Likewise. * gcc.target/i386/sse2-pshufhw-1.c: Likewise. * gcc.target/i386/sse2-pshuflw-1.c: Likewise. * gcc.target/i386/sse2-pslld-1.c: Likewise. * gcc.target/i386/sse2-pslld-2.c: Likewise. * gcc.target/i386/sse2-pslldq-1.c: Likewise. * gcc.target/i386/sse2-psllq-1.c: Likewise. * gcc.target/i386/sse2-psllq-2.c: Likewise. * gcc.target/i386/sse2-psllw-1.c: Likewise. * gcc.target/i386/sse2-psllw-2.c: Likewise. * gcc.target/i386/sse2-psrad-1.c: Likewise. * gcc.target/i386/sse2-psrad-2.c: Likewise. * gcc.target/i386/sse2-psraw-1.c: Likewise. * gcc.target/i386/sse2-psraw-2.c: Likewise. * gcc.target/i386/sse2-psrld-1.c: Likewise. * gcc.target/i386/sse2-psrld-2.c: Likewise. * gcc.target/i386/sse2-psrldq-1.c: Likewise. * gcc.target/i386/sse2-psrlq-1.c: Likewise. * gcc.target/i386/sse2-psrlq-2.c: Likewise. * gcc.target/i386/sse2-psrlw-1.c: Likewise. * gcc.target/i386/sse2-psrlw-2.c: Likewise. * gcc.target/i386/sse2-psubb-1.c: Likewise. * gcc.target/i386/sse2-psubd-1.c: Likewise. * gcc.target/i386/sse2-psubq-1.c: Likewise. * gcc.target/i386/sse2-psubsb-1.c: Likewise. * gcc.target/i386/sse2-psubsw-1.c: Likewise. * gcc.target/i386/sse2-psubw-1.c: Likewise. * gcc.target/i386/sse2-punpckhbw-1.c: Likewise. * gcc.target/i386/sse2-punpckhdq-1.c: Likewise. * gcc.target/i386/sse2-punpckhqdq-1.c: Likewise. * gcc.target/i386/sse2-punpckhwd-1.c: Likewise. * gcc.target/i386/sse2-punpcklbw-1.c: Likewise. * gcc.target/i386/sse2-punpckldq-1.c: Likewise. * gcc.target/i386/sse2-punpcklqdq-1.c: Likewise. * gcc.target/i386/sse2-punpcklwd-1.c: Likewise. * gcc.target/i386/sse2-pxor-1.c: Likewise. * gcc.target/i386/sse2-shufpd-1.c: Likewise. * gcc.target/i386/sse2-shufps-1.c: Likewise. * gcc.target/i386/sse2-sqrtpd-1.c: Likewise. * gcc.target/i386/sse2-subpd-1.c: Likewise. * gcc.target/i386/sse2-subsd-1.c: Likewise. * gcc.target/i386/sse2-ucomisd-1.c: Likewise. * gcc.target/i386/sse2-ucomisd-2.c: Likewise. * gcc.target/i386/sse2-ucomisd-3.c: Likewise. * gcc.target/i386/sse2-ucomisd-4.c: Likewise. * gcc.target/i386/sse2-ucomisd-5.c: Likewise. * gcc.target/i386/sse2-ucomisd-6.c: Likewise. * gcc.target/i386/sse2-unpckhpd-1.c: Likewise. * gcc.target/i386/sse2-unpcklpd-1.c: Likewise. * gcc.target/i386/sse2-xorpd-1.c: Likewise. * gcc.target/i386/sse-addps-1.c: Likewise. * gcc.target/i386/sse-addss-1.c: Likewise. * gcc.target/i386/sse-andnps-1.c: Likewise. * gcc.target/i386/sse-andps-1.c: Likewise. * gcc.target/i386/sse-comiss-1.c: Likewise. * gcc.target/i386/sse-comiss-2.c: Likewise. * gcc.target/i386/sse-comiss-3.c: Likewise. * gcc.target/i386/sse-comiss-4.c: Likewise. * gcc.target/i386/sse-comiss-5.c: Likewise. * gcc.target/i386/sse-comiss-6.c: Likewise. * gcc.target/i386/sse-cvtsi2ss-1.c: Likewise. * gcc.target/i386/sse-cvtsi2ss-2.c: Likewise. * gcc.target/i386/sse-cvtss2si-1.c: Likewise. * gcc.target/i386/sse-cvtss2si-2.c: Likewise. * gcc.target/i386/sse-cvttss2si-1.c: Likewise. * gcc.target/i386/sse-cvttss2si-2.c: Likewise. * gcc.target/i386/sse-divps-1.c: Likewise. * gcc.target/i386/sse-divss-1.c: Likewise. * gcc.target/i386/sse-maxps-1.c: Likewise. * gcc.target/i386/sse-maxss-1.c: Likewise. * gcc.target/i386/sse-minps-1.c: Likewise. * gcc.target/i386/sse-minss-1.c: Likewise. * gcc.target/i386/sse-movaps-1.c: Likewise. * gcc.target/i386/sse-movaps-2.c: Likewise. * gcc.target/i386/sse-movhlps-1.c: Likewise. * gcc.target/i386/sse-movhps-1.c: Likewise. * gcc.target/i386/sse-movhps-2.c: Likewise. * gcc.target/i386/sse-movlhps-1.c: Likewise. * gcc.target/i386/sse-movmskps-1.c: Likewise. * gcc.target/i386/sse-movntps-1.c: Likewise. * gcc.target/i386/sse-movss-1.c: Likewise. * gcc.target/i386/sse-movss-2.c: Likewise. * gcc.target/i386/sse-movss-3.c: Likewise. * gcc.target/i386/sse-movups-1.c: Likewise. * gcc.target/i386/sse-movups-2.c: Likewise. * gcc.target/i386/sse-mulps-1.c: Likewise. * gcc.target/i386/sse-mulss-1.c: Likewise. * gcc.target/i386/sse-orps-1.c: Likewise. * gcc.target/i386/sse-rcpps-1.c: Likewise. * gcc.target/i386/sse-rsqrtps-1.c: Likewise. * gcc.target/i386/sse-sqrtps-1.c: Likewise. * gcc.target/i386/sse-subps-1.c: Likewise. * gcc.target/i386/sse-subss-1.c: Likewise. * gcc.target/i386/sse-ucomiss-1.c: Likewise. * gcc.target/i386/sse-ucomiss-2.c: Likewise. * gcc.target/i386/sse-ucomiss-3.c: Likewise. * gcc.target/i386/sse-ucomiss-4.c: Likewise. * gcc.target/i386/sse-ucomiss-5.c: Likewise. * gcc.target/i386/sse-ucomiss-6.c: Likewise. * gcc.target/i386/sse-unpckhps-1.c: Likewise. * gcc.target/i386/sse-unpcklps-1.c: Likewise. * gcc.target/i386/sse-xorps-1.c: Likewise. * gcc.target/i386/vararg-10.c: Likewise. * gcc.target/i386/vararg-3.c: Likewise. * gcc.target/i386/vararg-4.c: Likewise. * gcc.target/i386/vararg-5.c: Likewise. * gcc.target/i386/vararg-6.c: Likewise. * gcc.target/i386/vararg-7.c: Likewise. * gcc.target/i386/vararg-8.c: Likewise. * gcc.target/i386/vararg-9.c: Likewise. * g++.dg/other/i386-5.C: Likewise. * g++.dg/other/i386-6.C: Likewise. * gcc.target/i386/aesdec.c (CHECK_H): New. (TEST): New. Include CHECK_H instead of "XXX-check.h" and run TEST instead of XXX_test. * gcc.target/i386/aesdeclast.c: Likewise. * gcc.target/i386/aesenc.c: Likewise. * gcc.target/i386/aesenclast.c: Likewise. * gcc.target/i386/aesimc.c: Likewise. * gcc.target/i386/aeskeygenassist.c: Likewise. * gcc.target/i386/sse3-addsubpd.c: Likewise. * gcc.target/i386/sse3-addsubps.c: Likewise. * gcc.target/i386/sse3-haddpd.c: Likewise. * gcc.target/i386/sse3-haddps.c: Likewise. * gcc.target/i386/sse3-hsubpd.c: Likewise. * gcc.target/i386/sse3-hsubps.c: Likewise. * gcc.target/i386/sse3-lddqu.c: Likewise. * gcc.target/i386/sse3-movddup.c: Likewise. * gcc.target/i386/sse3-movshdup.c: Likewise. * gcc.target/i386/sse3-movsldup.c: Likewise. * gcc.target/i386/sse4_1-blendpd.c: Likewise. * gcc.target/i386/sse4_1-blendps.c: Likewise. * gcc.target/i386/sse4_1-dppd-1.c: Likewise. * gcc.target/i386/sse4_1-dppd-2.c: Likewise. * gcc.target/i386/sse4_1-dpps-1.c: Likewise. * gcc.target/i386/sse4_1-dpps-2.c: Likewise. * gcc.target/i386/sse4_1-extractps.c: Likewise. * gcc.target/i386/sse4_1-insertps-1.c: Likewise. * gcc.target/i386/sse4_1-insertps-2.c: Likewise. * gcc.target/i386/sse4_1-movntdqa.c: Likewise. * gcc.target/i386/sse4_1-mpsadbw.c: Likewise. * gcc.target/i386/sse4_1-packusdw.c: Likewise. * gcc.target/i386/sse4_1-pblendvb.c: Likewise. * gcc.target/i386/sse4_1-pblendw.c: Likewise. * gcc.target/i386/sse4_1-pcmpeqq.c: Likewise. * gcc.target/i386/sse4_1-pextrb.c: Likewise. * gcc.target/i386/sse4_1-pextrd.c: Likewise. * gcc.target/i386/sse4_1-pextrq.c: Likewise. * gcc.target/i386/sse4_1-pextrw.c: Likewise. * gcc.target/i386/sse4_1-phminposuw.c: Likewise. * gcc.target/i386/sse4_1-pinsrb.c: Likewise. * gcc.target/i386/sse4_1-pinsrd.c: Likewise. * gcc.target/i386/sse4_1-pinsrq.c: Likewise. * gcc.target/i386/sse4_1-pmaxsb.c: Likewise. * gcc.target/i386/sse4_1-pmaxsd.c: Likewise. * gcc.target/i386/sse4_1-pmaxud.c: Likewise. * gcc.target/i386/sse4_1-pmaxuw.c: Likewise. * gcc.target/i386/sse4_1-pminsb.c: Likewise. * gcc.target/i386/sse4_1-pminsd.c: Likewise. * gcc.target/i386/sse4_1-pminud.c: Likewise. * gcc.target/i386/sse4_1-pminuw.c: Likewise. * gcc.target/i386/sse4_1-pmovsxbd.c: Likewise. * gcc.target/i386/sse4_1-pmovsxbq.c: Likewise. * gcc.target/i386/sse4_1-pmovsxbw.c: Likewise. * gcc.target/i386/sse4_1-pmovsxdq.c: Likewise. * gcc.target/i386/sse4_1-pmovsxwd.c: Likewise. * gcc.target/i386/sse4_1-pmovsxwq.c: Likewise. * gcc.target/i386/sse4_1-pmovzxbd.c: Likewise. * gcc.target/i386/sse4_1-pmovzxbq.c: Likewise. * gcc.target/i386/sse4_1-pmovzxbw.c: Likewise. * gcc.target/i386/sse4_1-pmovzxdq.c: Likewise. * gcc.target/i386/sse4_1-pmovzxwd.c: Likewise. * gcc.target/i386/sse4_1-pmovzxwq.c: Likewise. * gcc.target/i386/sse4_1-pmuldq.c: Likewise. * gcc.target/i386/sse4_1-pmulld.c: Likewise. * gcc.target/i386/sse4_1-ptest-1.c: Likewise. * gcc.target/i386/sse4_1-ptest-2.c: Likewise. * gcc.target/i386/sse4_1-ptest-3.c: Likewise. * gcc.target/i386/sse4_1-roundpd-1.c: Likewise. * gcc.target/i386/sse4_1-roundpd-2.c: Likewise. * gcc.target/i386/sse4_1-roundpd-3.c: Likewise. * gcc.target/i386/sse4_2-pcmpestri-1.c: Likewise. * gcc.target/i386/sse4_2-pcmpestri-2.c: Likewise. * gcc.target/i386/sse4_2-pcmpestrm-1.c: Likewise. * gcc.target/i386/sse4_2-pcmpestrm-2.c: Likewise. * gcc.target/i386/sse4_2-pcmpgtq.c: Likewise. * gcc.target/i386/sse4_2-pcmpistri-1.c: Likewise. * gcc.target/i386/sse4_2-pcmpistri-2.c: Likewise. * gcc.target/i386/sse4_2-pcmpistrm-1.c: Likewise. * gcc.target/i386/sse4_2-pcmpistrm-2.c: Likewise. * gcc.target/i386/ssse3-pabsb.c: Likewise. Don't run MMX tests for AVX. * gcc.target/i386/ssse3-pabsd.c: Likewise. * gcc.target/i386/ssse3-pabsw.c: Likewise. * gcc.target/i386/ssse3-palignr.c: Likewise. * gcc.target/i386/ssse3-phaddd.c: Likewise. * gcc.target/i386/ssse3-phaddsw.c: Likewise. * gcc.target/i386/ssse3-phaddw.c: Likewise. * gcc.target/i386/ssse3-phsubd.c: Likewise. * gcc.target/i386/ssse3-phsubsw.c: Likewise. * gcc.target/i386/ssse3-phsubw.c: Likewise. * gcc.target/i386/ssse3-pmaddubsw.c: Likewise. * gcc.target/i386/ssse3-pmulhrsw.c: Likewise. * gcc.target/i386/ssse3-pshufb.c: Likewise. * gcc.target/i386/ssse3-psignb.c: Likewise. * gcc.target/i386/ssse3-psignd.c: Likewise. * gcc.target/i386/ssse3-psignw.c: Likewise. * gcc.target/i386/i386.exp (check_effective_target_vaes): New. * gcc.target/i386/m128-check.h: Include . Include for SSE2. (union128i_b): Defined only for SSE2. (union128i_w): Likewise. (union128i_d): Likewise. (union128i_q): Likewise. (union128d): Likewise. (check_union128i_b): Likewise. (check_union128i_w): Likewise. (check_union128i_d): Likewise. (check_union128i_q): Likewise. (check_union128d): Likewise. (union128i_ub): New. (union128i_uw): Likewise. (check_union128i_ub): Likewise. (check_union128i_uw): Likewise. (ESP_FLOAT): Likewise. (ESP_DOUBLE): Likewise. (CHECK_ARRAY): Likewise. (checkVd): Likewise. (checkVf): Likewise. (ieee754_float): Likewise. (ieee754_double): Likewise. * gcc.target/i386/sse-check.h: Include "m128-check.h". * gcc.target/x86_64/abi/abi-x86_64.exp: Replace asm-support.s with asm-support.S. * gcc.target/x86_64/abi/asm-support.s: Renamed to ... * gcc.target/x86_64/abi/asm-support.S: This. Add ".sse_check none" if __AVX__ is defined. * lib/target-supports.exp (check_effective_target_avx): New. ........ r139731 | uweigand | 2008-08-28 12:40:37 -0700 (Thu, 28 Aug 2008) | 2 lines Added file forgotten in commit. ........ r139736 | rsandifo | 2008-08-28 13:02:54 -0700 (Thu, 28 Aug 2008) | 7 lines gcc/ * rtl.h (simplify_subreg_regno): Declare. * rtlanal.c (simplify_subreg_regno): New function, split out from... * simplify-rtx.c (simplify_subreg): ...here. * reload.c (find_reloads): Use simplify_subreg_regno instead of subreg_offset_representable_p. ........ r139737 | hubicka | 2008-08-28 13:12:57 -0700 (Thu, 28 Aug 2008) | 17 lines * expmed.c (store_bit_field_1): Be prepared for movstrict expander to fail. * predict.c (always_optimize_for_size_p): Rename to ... (optimize_function_for_size): ... this one; make extern. (optimize_function_for_speed_p): New. (optimize_bb_for_size_p, optimize_bb_for_size_p, optimize_edge_for_size_p,optimize_edge_for_size_p, optimize_insn_for_size_p, optimize_insn_for_size_p): Update. * basic-block.h (optimize_function_for_size_p, optimize_function_for_speed_p): Declare. * i386.md (optimize_size checks): Replace them by appropriate predicate. (standard_80387_constant_p, ix86_compute_frame_layout, ix86_expand_epilogue, ix86_decompose_address, print_operand, emit_i387_cw_initialization, inline_memory_move_cost, ix86_pad_returns, ix86_reorg): Replace optimize_size checks. ........ r139738 | nemet | 2008-08-28 14:58:02 -0700 (Thu, 28 Aug 2008) | 13 lines * config/mips/mips.h (ISA_HAS_DMUL3): New macro. * config/mips/mips.md (D): New mode attribute. (mulsi3, muldi3): Merge it into ... (mul3): ... new template. Use _mul3 ending for 3-op patterns. (muldi3_mul3): New pattern. (mulsi3_mult3): Rename to mulsi3_mul3. testsuite/ * gcc.target/mips/octeon-dmul-1.c: New test. * gcc.target/mips/octeon-dmul-2.c: New test. * gcc.target/mips/dmult-1.c: New test. ........ r139739 | paolo | 2008-08-28 15:00:46 -0700 (Thu, 28 Aug 2008) | 7 lines 2008-08-28 Paolo Carlini * gtrh-posix.h: Fix uses of _POSIX_TIMEOUTS per the normal Posix rule that a symbolic constant must be defined and >= 0 for the corresponding facility to be present at compile-time. * gthr-posix.c: Likewise. ........ r139740 | paolo | 2008-08-28 16:37:41 -0700 (Thu, 28 Aug 2008) | 13 lines /cp 2008-08-28 Paolo Carlini PR c++/37260 * decl.c (reshape_init_r): Check init for error_mark_node. /testsuite 2008-08-28 Paolo Carlini PR c++/37260 * g++.dg/parse/crash44.C: New. ........ r139741 | paolo | 2008-08-28 16:58:05 -0700 (Thu, 28 Aug 2008) | 19 lines 2008-08-28 Paolo Carlini * testsuite/tr1/6_containers/unordered_set/requirements/typedef.cc: Rename to .../typedefs.cc. * testsuite/tr1/6_containers/unordered_map/requirements/typedef.cc: Likewise. * testsuite/tr1/6_containers/unordered_multiset/requirements/ typedef.cc: Likewise. * testsuite/tr1/6_containers/unordered_multimap/requirements/ typedef.cc: Likewise. * testsuite/23_containers/unordered_set/requirements/typedef.cc: Likewise. * testsuite/23_containers/unordered_map/requirements/typedef.cc: Likewise. * testsuite/23_containers/unordered_multiset/requirements/typedef.cc: Likewise. * testsuite/23_containers/unordered_multimap/requirements/typedef.cc: Likewise. ........ r139742 | manu | 2008-08-28 17:06:19 -0700 (Thu, 28 Aug 2008) | 9 lines 2008-08-28 Manuel Lopez-Ibanez Andrew Pinski PR 18050 * c-common.c (verify_tree): Fix handling of ADDR_EXPR. testsuite/ * gcc.dg/Wsequence-point-pr18050.c: New. * g++.dg/warn/Wsequence-point-pr18050.C: New. ........ r139743 | nemet | 2008-08-28 17:12:12 -0700 (Thu, 28 Aug 2008) | 17 lines * config/mips/mips.h (ISA_HAS_BBIT): New macro. * config/mips/mips.md (branch_likely): Remove const. Fix comment formatting. (define_delay for type "branch"): Change to only apply for branch with likely variant. (define_delay for type "branch" and "branch_likely" no). New delay definition. (equality_op): New code iterator. (bbv, bbinv): New code attributes. (*branch_bit, *branch_bit_inverted): New patterns. testsuite/ * gcc.target/mips/octeon-bbit-1.c: New test. * gcc.target/mips/octeon-bbit-2.c: New test. * gcc.target/mips/octeon-bbit-3.c: New test. ........ r139746 | gccadmin | 2008-08-28 17:16:37 -0700 (Thu, 28 Aug 2008) | 1 line Daily bump. ........ r139750 | bwilson | 2008-08-28 21:34:15 -0700 (Thu, 28 Aug 2008) | 2 lines * config/xtensa/xtensa.md (mulsidi3): Use a temporary register. ........ r139753 | nickc | 2008-08-29 01:29:08 -0700 (Fri, 29 Aug 2008) | 3 lines * config/m32r/m32r.h (LEGITIMATE_CONSTANT_P): Treat LABEL_REFs in the same way as SYMBOL_REFs. ........ r139754 | rguenth | 2008-08-29 01:36:10 -0700 (Fri, 29 Aug 2008) | 8 lines 2008-08-29 Richard Guenther PR tree-optimization/37207 * tree-vrp.c (extract_range_from_binary_expr): Also try to constant fold if only one of the operands is a constant. * gcc.dg/tree-ssa/vrp46.c: New testcase. ........ r139755 | hubicka | 2008-08-29 01:40:01 -0700 (Fri, 29 Aug 2008) | 12 lines * cp-gimplify.c (cp_gimplify_expr): Add PRED_CONTINUE heuristic. * tree-pass.h (pass_strip_predict_hints): Declare. * predict.c (strip_builtin_expect): Rename to ... (strip_predict_hints): ... this one; strip also GIMPLE_PREDICT. (tree_bb_level_predictions): Do not remove GIMPLE_PREDICT. (tree_estimate_probability): Do not strip builtin_expect. (pass_strip_predict_hints): New pass. * tree-inline.c (expand_call_inline): When inlining cold function, predict it as unlikely. * passes.c (init_optimization_passes): Add pass_strip_predict_hints. ........ r139756 | hubicka | 2008-08-29 01:58:52 -0700 (Fri, 29 Aug 2008) | 10 lines * tree-ssa-loop-ch.c (should_duplicate_loop_header_p): Check that loop is not cold. * predict.c (optimize_bb_for_size_p, optimize_bb_for_speed_p): Constify arguments. (optimize_loop_for_size_p, optimize_loop_for_speed_p): New functions. * basic-block.h (optimize_bb_for_size_p, optimize_bb_for_speed_p): Constify. (optimize_loop_for_size_p, optimize_loop_for_speed_p): Declare. ........ r139757 | gingold | 2008-08-29 02:36:01 -0700 (Fri, 29 Aug 2008) | 5 lines 2008-08-29 Tristan Gingold * MAINTAINERS (Write after Approval): Add myself. ........ r139759 | gingold | 2008-08-29 03:07:23 -0700 (Fri, 29 Aug 2008) | 5 lines 2008-08-29 Tristan Gingold * gcov.c (main): Call expandargv. ........ r139760 | hubicka | 2008-08-29 03:35:57 -0700 (Fri, 29 Aug 2008) | 55 lines * loop-unswitch.c (unswitch_single_loop): Use optimize_loop_for_speed_p. * tree-ssa-threadupdate.c (mark_threaded_blocks): Use optimize_function_for_size_p. * tracer.c (ignore_bb_p): Use optimize_bb_for_size_p. * postreload-gcse.c (eliminate_partially_redundant_load): Use optimize_bb_for_size_p. * value-prof.c (gimple_divmod_fixed_value_transform, gimple_mod_pow2_value_transform, gimple_mod_subtract_transform, gimple_stringops_transform): Use optimize_bb_for_size_p. * ipa-cp.c (ipcp_insert_stage): Use optimize_function_for_size_p. * final.c (compute_alignments): Use optimize_function_for_size_p. * builtins.c (fold_builtin_cabs): Use optimize_function_for_speed_p. (fold_builtin_strcpy, fold_builtin_fputs): Use optimize_function_for_size_p. * fold-const.c (tree_swap_operands_p): Use optimize_function_for_size_p. * recog.c (relax_delay_slots): Likewise. * tree-ssa-math-opts.c (replace_reciprocal): Use optimize_bb_for_speed_p. (execute_cse_reciprocals): Use optimize_bb_for_size_p. * ipa-inline.c (cgraph_decide_recursive_inlining): Use optimize_function_for_size_p. (cgraph_decide_inlining_of_small_function): Use optimize_function_for_size_p. * global.c (find_reg): Use optimize_function_for_size_p. * opts.c (decode_options): Do not clear flag_tree_ch, flag_inline_functions, flag_unswitch_loops, flag_unroll_loops, flag_unroll_all_loops and flag_prefetch_loop_arrays. Those can work it out from profile. * tree-ssa-loop-ivcanon.c (tree_unroll_loops_completely): Use optimize_loop_for_speed_p. * predict.c (optimize_bb_for_size_p, optimize_bb_for_speed_p): Constify argument. (optimize_loop_nest_for_size_p, optimize_loop_nest_for_speed_p): New. * tree-parloops.c (parallelize_loops): Use optimize_loop_for_size_p. * tree-eh.c (decide_copy_try_finally): Use optimize_function_for_size_p. * local-alloc.c (block_alloc): Pass BB pointer. (find_free_reg): Add BB pointer, use optimize_bb_for_size_p. * gcse.c (gcse_main): Use optimize_function_for_size_p. * loop-unroll.c (decide_unrolling_and_peeling): Use optimize_loop_for_size_p. (decide_peel_completely): Likewise. * tree-vect-analyze.c (vect_mark_for_runtime_alias_test): Use optimize_loop_for_size_p. (vect_enhance_data_refs_alignment): Likewise. * tree-ssa-coalesce.c (coalesce_cost): Add optimize_for_size argument. (coalesce_cost_bb, coalesce_cost_edge, create_outofssa_var_map): Update call. * cfgcleanup.c (outgoing_edges_match): Use optimize_bb_for_speed_p. (try_crossjump_bb): Use optimize_bb_for_size_p. * tree-ssa-loop-prefetch.c (loop_prefetch_arrays): Use optimize_loop_for_speed_p. * bb-reorder.c (find_traces_1_round): Likewise. (copy_bb): Use optimize_bb_for_speed_p. (duplicate_computed_gotos): Likewise. * basic-block.h (optimize_loop_nest_for_size_p, optimize_loop_nest_for_speed_p): New. * stmt.c (expand_case): Use optimize_insn_for_size_p. ........ r139761 | hubicka | 2008-08-29 04:31:40 -0700 (Fri, 29 Aug 2008) | 22 lines * tree.c (build_function_type_skip_args, build_function_decl_skip_args): New functions. * tree.h (build_function_type_skip_args, build_function_decl_skip_args): Declare. * gimple.c (giple_copy_call_skip_args): New function. (giple_copy_call_skip_args): Declare. * cgraph.h (cgraph_function_versioning): Add skip_args arugmnet * ipa-cp.c (ipcp_node_not_modifiable_p): Rename to ... (ipcp_node_modifiable_p): ... this one; use tree_versionable_function_p. (ipcp_create_replace_map): Improve debug output. (ipcp_need_redirect_p): Return false when not clonning. (ipcp_update_callgraph): Skip args. (ipcp_insert_stage): UPdate call of !ipcp_node_modifiable_p; skip args. * cgraphunit.c (cgraph_function_versioning): Add skip_args argument. (save_inline_function_body): Update call of tree_function_versioning. * ipa-prop.c (ipa_edge_removal_hook): Do not ICE on unanalyzed nodes. * tree-inline.c (copy_arguments_for_versioning): Add skip_args argument. (tree_function_versioning): Likewise. * tree-inline.h (tree_function_versioning): Update prototype. ........ r139762 | hubicka | 2008-08-29 04:39:04 -0700 (Fri, 29 Aug 2008) | 6 lines * doc/invoke.texi (-fipa-cp): Enabled by default at -O2/-Os/-O3 (-fipa-cp-clone): Enabled by default at -O3. * opts.c (decode_options): Enable ipa-cp at -O2, ipa-cp-clone at -O3; make ipa-cp-clone to imply ipa-cp; disable cloning at -Os. ........ r139763 | rguenth | 2008-08-29 04:40:47 -0700 (Fri, 29 Aug 2008) | 10 lines 2008-08-29 Richard Guenther PR middle-end/37236 * tree-ssa-structalias.c (intra_create_variable_infos): Mark PARAM_NOALIAS tags with is_heapvar. * tree-ssa-operands.c (access_can_touch_variable): Offset based tests do not apply for heapvars. Fix offset test. * gfortran.fortran-torture/compile/pr37236.f: New testcase. ........ r139764 | rguenth | 2008-08-29 04:43:22 -0700 (Fri, 29 Aug 2008) | 37 lines 2008-08-29 Richard Guenther * common.opt (ftree-store-ccp): Mark as preserved for backward compatibility. * doc/invoke.texi (-ftree-store-ccp): Remove documentation. * tree-pass.h (pass_store_ccp): Remove. * tree-ssa-propagate.h (struct prop_value_d): Remove mem_ref field. (first_vdef): Remove declaration. (get_value_loaded_by): Likewise. * tree-ssa-ccp.c (do_store_ccp): Remove. (get_default_value): Simplify as do_store_ccp is always false now. Do not initialize mem_ref. (set_value_varying): Likewise. (canonicalize_float_value): Likewise. (set_lattice_value): Likewise. (likely_value): Likewise. (surely_varying_stmt_p): Likewise. (ccp_initialize): Likewise. (ccp_lattice_meet): Likewise. (ccp_visit_phi_node): Likewise. (ccp_fold): Likewise. (evaluate_stmt): Likewise. (visit_assignment): Likewise. (ccp_visit_stmt): Likewise. (execute_ssa_ccp): Fold into ... (do_ssa_ccp): ... this. (do_ssa_store_ccp): Remove. (gate_store_ccp): Likewise. (pass_store_ccp): Likewise. * tree-ssa-copy.c (copy_prop_visit_phi_node): Do not initialize mem_ref. * tree-ssa-propagate.c (first_vdef): Remove. (get_value_loaded_by): Likewise. (replace_vuses_in): Likewise. (substitute_and_fold): Do not call replace_vuses_in. * opts.c (decode_options): Do not set flag_tree_store_ccp. ........ r139765 | rguenth | 2008-08-29 04:47:01 -0700 (Fri, 29 Aug 2008) | 9 lines 2008-08-29 Richard Guenther * tree-ssa-structalias.c (create_variable_info_for): Do not create fields for heap vars or vars with a noalias state. For NO_ALIAS_ANYTHING variables add a self-constraint, not one from ESCAPED. * gfortran.fortran-torture/compile/20080806-1.f90: New testcase. ........ r139766 | hubicka | 2008-08-29 05:55:54 -0700 (Fri, 29 Aug 2008) | 7 lines * gcc.dg/ipa/ipa-1.c: Fix template for better debug output. * gcc.dg/ipa/ipa-2.c: Fix template for better debug output. * gcc.dg/ipa/ipa-3.c: Fix template for better debug output. * gcc.dg/ipa/ipa-4.c: Fix template for better debug output. * gcc.dg/ipa/ipa-5.c: Fix template for better debug output. * gcc.dg/ipa/ipa-7.c: Fix template for better debug output. ........ r139767 | guerby | 2008-08-29 06:44:25 -0700 (Fri, 29 Aug 2008) | 8 lines 2008-08-29 Laurent Guerby * Makefile.in (FLAGS_TO_PASS): renamed to LIBADA_FLAGS_TO_PASS to avoid conflicts. Factor more flags to pass. (libsubdir): New variable. (install-gnatlib): New target. ........ r139768 | hubicka | 2008-08-29 07:57:20 -0700 (Fri, 29 Aug 2008) | 5 lines PR middle-end/37278 * predict.c (optimize_loop_nest_for_speed_p): Do not ICE for cold internal loops. ........ r139769 | vmakarov | 2008-08-29 09:16:45 -0700 (Fri, 29 Aug 2008) | 7 lines 2008-08-29 Vladimir Makarov PR rtl-opt/37243 * ira-color (ira_fast_allocation): Don't assign hard registers to global allocnos. ........ r139770 | vmakarov | 2008-08-29 09:18:11 -0700 (Fri, 29 Aug 2008) | 8 lines 2008-08-29 Vladimir Makarov PR rtl-opt/37251 * ira-color.c (push_allocnos_to_stack): Truncate removed_splay_allocno_vec. ........ r139771 | bwilson | 2008-08-29 09:39:59 -0700 (Fri, 29 Aug 2008) | 4 lines * config/xtensa/xtensa.c (xtensa_secondary_reload_class): Revert change from 2008-04-03. * config/xtensa/xtensa.h (IRA_COVER_CLASSES): Define. ........ r139772 | hubicka | 2008-08-29 09:41:35 -0700 (Fri, 29 Aug 2008) | 31 lines * cgraph.c (cgraph_remove_node): Do not remove nested nodes. * cgraph.h (cgraph_maybe_hot_edge_p): Declare. * ipa-cp.c (n_cloning_candidates): New static variable. (ipcp_print_profile_data, ipcp_function_scale_print): Forward declare. (ipcp_print_all_lattices): Improve debug output. (ipcp_cloning_candidate_p): New function. (ipcp_initialize_node_lattices): Use it. (ipcp_init_stage): Do only analyzis here; prettier debug output. (ipcp_propagate_stage): Prettier debug output. (ipcp_iterate_stage): Initialize latices here; prettier debug output. (ipcp_print_all_structures): Remove. (ipcp_need_redirect_p): Test !n_cloning_candidates. (ipcp_insert_stage): Prettier debug output; call cgraph_remove_unreachable_nodes before propagating. (pass_ipa_cp): Schedule function removal pass. * ipa-inline.c (inline_indirect_intraprocedural_analysis): Better debug output. (cgraph_maybe_hot_edge_p): Move to ... * predict.c (cgraph_maybe_hot_edge_p) ... here. * opts.c (flag_ipa_cp_set, flag_ipa_cp_clone_set): New. (common_handle_option): Set them; enable ipa-cp when profiling. * ipa-prop.c (ipa_print_node_jump_functions): Prettier output. (ipa_print_all_jump_functions): Likewise. (ipa_print_all_tree_maps, ipa_print_node_param_flags): Remove. (ipa_print_node_params, ipa_print_all_params): New. * ipa-prop.h (ipa_print_all_tree_maps, ipa_print_node_param_flags, ipa_print_all_param_flags): Remove. (ipa_print_node_params, ipa_print_all_params): New. ........ r139773 | jakub | 2008-08-29 11:41:19 -0700 (Fri, 29 Aug 2008) | 73 lines PR fortran/29635 PR fortran/23057 * debug.h (struct gcc_debug_hooks): Add NAME and CHILD arguments to imported_module_or_decl. (debug_nothing_tree_tree): Removed. (debug_nothing_tree_tree_tree_bool): New prototype. * debug.c (do_nothing_debug_hooks): Adjust. (debug_nothing_tree_tree): Removed. (debug_nothing_tree_tree_tree_bool): New function. * dwarf2out.c (is_symbol_die): Handle DW_TAG_module. (gen_variable_die): Put all common vars for the same COMMON block under one DW_TAG_common_block. (declare_in_namespace): Return new context_die, for Fortran return the module DIE instead of adding extra declarations into the namespace. (gen_type_die_with_usage): Adjust declare_in_namespace caller. (gen_namespace_die): If is_fortran (), generate DW_TAG_module instead of DW_TAG_namespace. If DECL_EXTERNAL is set, add DW_AT_declaration. (dwarf2out_global_decl): Don't skip Fortran global vars. (gen_decl_die): Likewise. Adjust declare_in_namespace callers. (dwarf2out_imported_module_or_decl): Add NAME and CHILD arguments. If NAME is non-NULL, add DW_AT_name. If CHILD is non-NULL, put DW_TAG_imported_declaration as child of previous DW_TAG_imported_module. * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Adjust. * sdbout.c (sdb_debug_hooks): Likewise. * vmsdbgout.c (vmsdbg_debug_hooks): Likewise. * name-lookup.c (do_using_directive, cp_emit_debug_info_for_using): Adjust debug_hooks->imported_module_or_decl callers. * f95-lang.c (gfc_init_ts): New function. (LANG_HOOKS_INIT_TS): Define. * gfortran.h (gfc_use_rename): New type, moved from module.c. (gfc_get_use_rename): New macro, moved from module.c. (gfc_use_list): New type. (gfc_get_use_list): New macro. (gfc_namespace): Add use_stmts field. (gfc_free_use_stmts): New prototype. * Make-lang.in (fortran/trans-decl.o): Depend on debug.h. * module.c (gfc_use_rename, gfc_get_use_rename): Moved to gfortran.h. (gfc_use_module): Chain the USE statement info to ns->use_stmts. (gfc_free_use_stmts): New function. * symbol.c (gfc_free_namespace): Call gfc_free_use_stmts. * trans.h (struct module_htab_entry): New type. (gfc_find_module, gfc_module_add_decl): New functions. * trans.c (gfc_generate_module_code): Create NAMESPACE_DECL for the module, adjust DECL_CONTEXTs of module procedures and call gfc_module_add_decl for them. * trans-common.c (build_common_decl): Set DECL_IGNORED_P on the common variable. (create_common): Set DECL_IGNORED_P for use associated vars. * trans-decl.c: Include debug.h. (gfc_get_symbol_decl): Set DECL_IGNORED_P on use_assoc vars from modules. (build_function_decl): Allow current_function_decl's context to be a NAMESPACE_DECL. (module_htab, cur_module): New variables. (module_htab_do_hash, module_htab_eq, module_htab_decls_hash, module_htab_decls_eq, gfc_find_module, gfc_module_add_decl): New functions. (gfc_create_module_variable): Adjust DECL_CONTEXTs of module variables and types and call gfc_module_add_decl for them. (gfc_generate_module_vars): Temporarily set cur_module. (gfc_trans_use_stmts): New function. (gfc_generate_function_code): Call it. (gfc_generate_block_data): Set DECL_IGNORED_P on decl. * trans-types.c (gfc_get_derived_type): Adjust DECL_CONTEXT and TYPE_CONTEXT of module derived types. ........ r139774 | jakub | 2008-08-29 11:43:57 -0700 (Fri, 29 Aug 2008) | 6 lines * trans-decl.c (gfc_build_qualified_array): Build non-flat array type for debug info purposes. * dwarf2out.c (add_bound_info): If lookup_decl_die failed, try loc_descriptor_from_tree_1. ........ r139775 | jakub | 2008-08-29 11:45:25 -0700 (Fri, 29 Aug 2008) | 9 lines PR fortran/23057 * dwarf2out.c (gen_variable_die): Represent Fortran COMMON vars as DW_TAG_variable children of DW_TAG_common_block rather than DW_TAG_member children. Put DW_AT_external to individual DW_TAG_variable DIEs, not to DW_TAG_common_block. * gfortran.dg/debug/pr35154-dwarf2.f: Adjust for replacement of DW_TAG_member with DW_TAG_variable. ........ r139776 | jakub | 2008-08-29 11:46:32 -0700 (Fri, 29 Aug 2008) | 3 lines * dwarf2out.c (loc_by_reference): New function. (add_location_or_const_value_attribute): Use it. ........ r139777 | jakub | 2008-08-29 11:47:19 -0700 (Fri, 29 Aug 2008) | 4 lines PR fortran/24790 * trans-decl.c (create_function_arglist): Set DECL_BY_REFERENCE on PARM_DECLs with pointer or reference type. ........ r139778 | jakub | 2008-08-29 11:48:30 -0700 (Fri, 29 Aug 2008) | 5 lines * dwarf2out.c (add_subscript_info): Stop on Fortran TYPE_STRING_FLAG types. (gen_array_type_die): Emit DW_TAG_string_type for Fortran character types. ........ r139779 | jakub | 2008-08-29 11:49:36 -0700 (Fri, 29 Aug 2008) | 4 lines * dwarf2out.c (gen_formal_parameter_die, gen_variable_die): For DECL_BY_REFERENCE decls don't pass TREE_READONLY and TREE_THIS_VOLATILE to add_type_attribute. ........ r139780 | jakub | 2008-08-29 11:50:30 -0700 (Fri, 29 Aug 2008) | 10 lines * gfortran.h (gfc_use_list): Add where field. * module.c (use_locus): New static variable. (gfc_match_use): Set it. (gfc_use_module): Copy it to gfc_use_list's where field. * trans-decl.c (gfc_generate_module_vars): Call gfc_trans_use_stmts. (gfc_trans_use_stmts): Set backend locus before calling the debug hook. Allow non-VAR_DECLs to be created even for non-external module. Don't emit anything so far for renames from different modules. ........ r139781 | jakub | 2008-08-29 11:52:22 -0700 (Fri, 29 Aug 2008) | 13 lines * dwarf2out.c (gen_const_die): New function. (size_of_die, value_format, output_die): Output larger dw_val_class_vec using DW_FORM_block2 or DW_FORM_block4. (native_encode_initializer): New function. (tree_add_const_value_attribute): Call it. (gen_decl_die, dwarf2out_decl): Handle CONST_DECLs if is_fortran (). * trans-decl.c (check_constant_initializer, gfc_emit_parameter_debug_info): New functions. (gfc_generate_module_vars, gfc_generate_function_code): Emit PARAMETERs and unreferenced variables with initializers into debug info. ........ r139782 | jakub | 2008-08-29 11:53:33 -0700 (Fri, 29 Aug 2008) | 11 lines * dwarf2out.c (descr_info_loc): Handle VAR_DECL. * trans.h (struct lang_type): Add span. (GFC_TYPE_ARRAY_SPAN): Define. * trans-decl.c (gfc_get_symbol_decl): For subref array pointers, copy TREE_STATIC from decl to span instead of setting it unconditionally, set DECL_ARTIFICIAL, fix type of initializer and set GFC_TYPE_ARRAY_SPAN on decl's type. * trans-types.c (gfc_get_array_descr_info): If GFC_TYPE_ARRAY_SPAN is non-NULL, use it as element size. ........ r139783 | jakub | 2008-08-29 11:54:53 -0700 (Fri, 29 Aug 2008) | 4 lines * dwarf2out.c (fortran_common): Update comment. (gen_variable_die): Swap com_die and var_die variables in Fortran COMMON block handling code. ........ r139784 | jakub | 2008-08-29 11:59:13 -0700 (Fri, 29 Aug 2008) | 6 lines PR c/37261 * fold-const.c (fold_binary): In (X | C1) & C2 canonicalization compute new & and | in type rather than TREE_TYPE (arg0). * gcc.dg/pr37261.c: New test. ........ r139788 | hubicka | 2008-08-29 14:32:41 -0700 (Fri, 29 Aug 2008) | 6 lines * see.c (see_merge_one_def_extension): Silence used uninitialized warning. * matrix-reorg.c (check_allocation_function): Likewise. * config/i386/driver-i386.c (detect_caches_amd): Likewise. * parse.c (parse_interface): Likewise. ........ r139789 | law | 2008-08-29 14:35:55 -0700 (Fri, 29 Aug 2008) | 6 lines * mn10300.c (mn10300_secondary_reload_class): We need secondary reloads for AM33-2 if IN is a pseudo with an equivalent memory location and class is an FP register. ........ r139790 | hubicka | 2008-08-29 14:58:54 -0700 (Fri, 29 Aug 2008) | 4 lines * tree-inline.c (insert_init_stmt): Insert sequence even when not in SSA form. ........ r139791 | mmitchel | 2008-08-29 15:19:24 -0700 (Fri, 29 Aug 2008) | 5 lines * mangle.c (write_type): Add target-specific manglings for non-fundamental types to the substitution table. * g++.dg/abi/mangle-neon.C: Add substitution test. ........ r139792 | jsm28 | 2008-08-29 16:30:18 -0700 (Fri, 29 Aug 2008) | 4 lines PR bootstrap/37086 * tree-vrp.c (find_switch_asserts): Make idx volatile for GCC versions before 4.0. ........ r139795 | gccadmin | 2008-08-29 17:16:33 -0700 (Fri, 29 Aug 2008) | 1 line Daily bump. ........ r139798 | jason | 2008-08-29 22:14:54 -0700 (Fri, 29 Aug 2008) | 17 lines Implement C++0x 'auto' semantics. * decl.c (start_decl_1): Don't complain about auto being incomplete. (cp_finish_decl): Deduce auto. * init.c (build_new): Handle 'new auto'. * typeck2.c (cxx_incomplete_type_diagnostic): Give a different message for auto than for normal template type parms. * pt.c (type_dependent_expression_p): Handle { }. (make_auto): New function. (listify_autos): New function. (do_auto_deduction): New function. (is_auto): New function. (type_uses_auto): New function. * cp-tree.h: Declare them. * parser.c (cp_parser_decl_specifier_seq): In C++0x mode, don't treat auto as a declspec. (cp_parser_simple_type_specifier): It's a type-specifier. ........ r139799 | sam | 2008-08-30 01:51:53 -0700 (Sat, 30 Aug 2008) | 5 lines 2008-08-30 Thomas Quinot gcc/ada/ * gcc-interface/Make-lang.in: Allow s-oscons.{o,ali} to be built even without a separate libada directory. ........ r139800 | hubicka | 2008-08-30 02:46:19 -0700 (Sat, 30 Aug 2008) | 6 lines * ipa-inline.c (cgraph_estimate_growth): Discover self recursive functions. (cgraph_decide_inlining_of_small_function): Use edge->count to detect profile presence locally. ........ r139801 | hubicka | 2008-08-30 03:38:55 -0700 (Sat, 30 Aug 2008) | 21 lines * parse.c (parse_interface): Silence uninitialized var warning. * postreload-gcse.c (gate_handle_gcse2): Disable for functions optimized for speed. * final.c (compute_alignments): Use optimize_bb_for_size_p. * tree-call-cdce.c (gate_call_cdce): Use optimize_function_for_speed_p. * opts.c (flag_predictive_commoning_set, flag_unswitch_loops_set, flag_gcse_after_reload_set): New static vars. (common_handle_option): Enable those flags for profile-use. (decode_options): Remove optimize_size flags that are handled on higher granuality. * tree-vectorizer.c (vectorize_loops): Use optimize_loop_nest_for_speed_p. * tree-ssa-pre.c (do_pre): Use optimize_function_for_speed_p. * tree-predcom.c (tree_predictive_commoning): Use optimize_loop_for_speed_p. * varasm.c (assemble_start_function): Use optimize_function_for_speed_p. * bb-reorder.c (rest_of_handle_reorder_blocks): Likewise. * predict.c (optimize_loop_for_speed_p): Fix walk. ........ r139802 | rsandifo | 2008-08-30 06:12:16 -0700 (Sat, 30 Aug 2008) | 4 lines gcc/ * recog.c (split_insn): Consider attaching a REG_EQUAL note to the final insn of a split. ........ r139803 | sam | 2008-08-30 06:44:22 -0700 (Sat, 30 Aug 2008) | 5 lines gcc/ PR target/37283 * config/arm/arm.c (arm_optimization_options): Set flag_section_anchors to 2 instead of 1 to distinguish it from -fsection-anchors given explicitely on the command line. ........ r139804 | hubicka | 2008-08-30 07:19:01 -0700 (Sat, 30 Aug 2008) | 43 lines * optabs.c (expand_abs_nojump): Update BRANCH_COST call. * fold-cost.c (LOGICAL_OP_NON_SHORT_CIRCUIT, fold_truthop): Likewise. * dojump.c (do_jump): Likewise. * ifcvt.c (MAX_CONDITIONAL_EXECUTE): Likewise. (note-if_info): Add BRANCH_COST. (noce_try_store_flag_constants, noce_try_addcc, noce_try_store_flag_mask, noce_try_cmove_arith, noce_try_cmove_arith, noce_try_cmove_arith, noce_find_if_block, find_if_case_1, find_if_case_2): Use compuated branch cost. * expr.h (BRANCH_COST): Update default. * predict.c (predictable_edge_p): New function. * expmed.c (expand_smod_pow2, expand_sdiv_pow2, emit_store_flag): Update BRANCH_COST call. * basic-block.h (predictable_edge_p): Declare. * config/alpha/alpha.h (BRANCH_COST): Update. * config/frv/frv.h (BRANCH_COST): Update. * config/s390/s390.h (BRANCH_COST): Update. * config/spu/spu.h (BRANCH_COST): Update. * config/sparc/sparc.h (BRANCH_COST): Update. * config/m32r/m32r.h (BRANCH_COST): Update. * config/i386/i386.h (BRANCH_COST): Update. * config/i386/i386.c (ix86_expand_int_movcc): Update use of BRANCH_COST. * config/sh/sh.h (BRANCH_COST): Update. * config/pdp11/pdp11.h (BRANCH_COST): Update. * config/avr/avr.h (BRANCH_COST): Update. * config/crx/crx.h (BRANCH_COST): Update. * config/xtensa/xtensa.h (BRANCH_COST): Update. * config/stormy16/stormy16.h (BRANCH_COST): Update. * config/m68hc11/m68hc11.h (BRANCH_COST): Update. * config/iq2000/iq2000.h (BRANCH_COST): Update. * config/ia64/ia64.h (BRANCH_COST): Update. * config/rs6000/rs6000.h (BRANCH_COST): Update. * config/arc/arc.h (BRANCH_COST): Update. * config/score/score.h (BRANCH_COST): Update. * config/arm/arm.h (BRANCH_COST): Update. * config/pa/pa.h (BRANCH_COST): Update. * config/mips/mips.h (BRANCH_COST): Update. * config/vax/vax.h (BRANCH_COST): Update. * config/h8300/h8300.h (BRANCH_COST): Update. * params.def (PARAM_PREDICTABLE_BRANCH_OUTCOME): New. * doc/invoke.texi (predictable-branch-cost-outcome): Document. * doc/tm.texi (BRANCH_COST): Update. ........ r139805 | mmitchel | 2008-08-30 10:31:22 -0700 (Sat, 30 Aug 2008) | 3 lines * testsuite/25_algorithms/nth_element/2.cc: Constrain iterations when testing on a simultor. ........ r139806 | gerald | 2008-08-30 15:18:00 -0700 (Sat, 30 Aug 2008) | 2 lines * MAINTAINERS: Consistently use tabs to separate columns. ........ r139807 | jsm28 | 2008-08-30 15:21:56 -0700 (Sat, 30 Aug 2008) | 2 lines * fi.po: New. ........ r139809 | kkojima | 2008-08-30 15:23:20 -0700 (Sat, 30 Aug 2008) | 6 lines PR target/37270 * config/sh/sh.h (LEGITIMIZE_RELOAD_ADDRESS): Generate the reload address with the index register for SFmode access with a displacement. ........ r139810 | meissner | 2008-08-30 15:57:54 -0700 (Sat, 30 Aug 2008) | 1 line Include basic-block.h in dojump.c to declare optimize_insn_for_speed. ........ r139811 | jason | 2008-08-30 16:12:45 -0700 (Sat, 30 Aug 2008) | 3 lines PR c++/37288 * pt.c (dependent_type_p): Don't abort on auto outside of a template. ........ r139812 | meissner | 2008-08-30 16:50:40 -0700 (Sat, 30 Aug 2008) | 1 line Change attribute((option(...))) to attribute((target(...))); Do not allocate tree nodes on x86 for builtins until we generate code for the ISA; Delete hot/cold functions changing optimization; Make C++ support target specific functions; Add #pragma GCC {push_options,pop_options,reset_options} instead of #pragma GCC {target,optimize} {push,reset,pop} ........ r139813 | jvdelisle | 2008-08-30 17:04:33 -0700 (Sat, 30 Aug 2008) | 8 lines 2008-08-30 Jerry DeLisle PR libfortran/36895 * io/write.c (namelist_write_newline): New function to correctly mark next records in both external and internal units. (nml_write_obj): Use new function. (namelist_write: Use new function. ........ r139814 | jvdelisle | 2008-08-30 17:07:58 -0700 (Sat, 30 Aug 2008) | 5 lines 2008-08-30 Jerry DeLisle PR libfortran/36895 * gfortran.dg/namelist_53.f90: New test. ........ r139817 | gccadmin | 2008-08-30 17:16:42 -0700 (Sat, 30 Aug 2008) | 1 line Daily bump. ........ r139820 | pinskia | 2008-08-30 19:40:13 -0700 (Sat, 30 Aug 2008) | 21 lines #define vector __attribute__((vector_size(16) )) struct struct1 { union { float a[3]; } vmx; struct struct2 { struct2(const struct2& r) {} } w; } __attribute__((aligned(16))); struct struct3 { vector float vmx; operator const struct1& () const{ return *reinterpret_cast(this); } }; struct3 func3( struct3 V1); struct3 func2( void ); void func1( ) { struct1 vVec = func2() ; func3 ( (struct3&)vVec ); } ........ r139821 | hubicka | 2008-08-31 02:44:25 -0700 (Sun, 31 Aug 2008) | 147 lines * fwprop.c (should_replace_address): Add speed attribute. (PR_OPTIMIZE_FOR_SPEED): New flag. (propagate_rtx_1): Use it. (propagate_rtx): Set it. (try_fwprop_subst): Update call of rtx_costs. (forward_propagate_and_simplify): LIkewise. * hooks.c (hook_int_rtx_bool_0): New (hook_bool_rtx_int_int_intp_false): Replace by ... (hook_bool_rtx_int_int_intp_bool_false): .. thisone. * hooks.h (hook_int_rtx_bool_0): New (hook_bool_rtx_int_int_intp_false): Replace by ... (hook_bool_rtx_int_int_intp_bool_false): .. thisone. * optabs.c (avoid_expensive_constant): UPdate call of rtx_cost. (prepare_cmp_insn): UPdate call of rtx_cost. * postreload.c (reload_cse_simplify_set): Update call of rtx_cost. (reload_cse_simplify_operands): Update call of rtx_cost. (reload_cse_move2add): call of rtx_cost. * target.h (struct gcc_target): Update rtx_costs and address_costs. * rtlanal.c (rtx_cost): Add speed argument. (address_cost): Add speed argument (default_address_cost): Likewise. (insn_rtx_cost): Likewise. * cfgloopanal.c (seq_cost): Add speed argument. (target_reg_cost, target_spill_cost): Turn to array. (init_set_costs): Update for speed. (estimate_reg_pressure_cost): Add speed argument. * auto-inc-dec.c (attempt_change): Update call of rtx_cost. * dojump.c (prefer_and_bit_test): UPdate call of rtx_cost. * tree-ssa-loop-ivopts.c (struct ivopts_data): New field speed. (seq_cost): Add speed argument. (computation_cost): Add speed arugment. (add_cost, multiply_by_const, get_address_cost): add speed argument. (force_expr_to_var_cost): Update for profile info. (force_var_cost): Likewise. (split_address_cost): Likewise. (ptr_difference_cost): Likewise. (difference_cost): Likewise. (get_computation_cost_at): Likewise. (determine_iv_cost): Likewise. (ivopts_global_cost_for_size): Likewise. (rewrite_use_address): Likewise. (tree_ssa_iv_optimize_loop): Initialize speed field. * cse.c (optimize_this_for_speed_p): New static var. (notreg_cost): Update call of rtx_cost. (cse_extended_basic_block): set optimize_this_for_speed_p. * ifcvt.c (cheap_bb_rtx_cost_p): Update call of rtx_cost. (noce_try_cmove_arith): Likewise. (noce_try_sign_mask): LIkewise. * expr.c (compress_float_constant): Update rtx_cost calls. * tree-ssa-address.c (most_expensive_mult_to_index): Add speed argument. (addr_to_parts): Likewise. (create_mem_ref): Likewise. * dse.c (find_shift_sequence): Add speed argument. (replace_read): Update call. * calls.c (precompute_register_parameters): Update call of rtx_cost. * expmed.c (sdiv_pow2_cheap, smod_pow2_cheap, zero_cost, add_cost, * neg_cost, shift_cost, shiftadd_cost, shiftsub_cost, mul_cost, sdiv_cost, udiv_cost ,mul_widen_cost, mul_highpart_cost): Increase dimension. (init_expmed): Initialize for both size and speed. (expand_shift): Use profile. (synth_mult): Use profile. (choose_mult_variant): Use profile. (expand_mult): Use profile. (expand_mult_highpart_optab): Use profile. (expand_mult_highpart): Use profile. (expand_smod_pow2): Use profile. (expand_divmod): Use profile. * simplify-rtx.c (simplify_binary_operation_1): Update call of rtx_cost. * loop-invariant.c (create_new_invariant): Use profile. (gain_for_invariant): Add speed parameter. (best_gain_for_invariant): Likewise. (find_invariants_to_move): Likewise. (move_single_loop_invariants): Set it. * target-def.h (TARGET_RTX_COSTS): Use hook. * rtl.h (rtx_cost, address_cost, insn_rtx_cost): Update prototpe. (optimize_insn_for_size_p, optimize_insn_for_speed_p): Declare. * output.h (default_address_cost): Update prototype. * combine.c (optimize_this_for_speed_p): New static var. (combine_validate_cost): Update call of rtx_cost. (combine_instructions): Set optimize_this_for_speed_p. (expand_compound_operation): Update call of rtx_cost. (make_extraction):Update call of rtx_cost. (force_to_mode):Update call of rtx_cost. (distribute_and_simplify_rtx):Update call of rtx_cost. * cfgloop.h (target_reg_cost, target_spill_cost): Turn to array. (estimate_reg_pressure_cost): Update prototype. * tree-flow.h (multiply_by_cost, create_mem_ref): Update prototype. * basic-block.h (optimize_insn_for_size_p, optimize_insn_for_speed_p): Remove. * config/alpha/alpha.c (alpha_rtx_costs): Update. (alpha_rtx_costs): Update. * config/frv/frv.c (frv_rtx_costs): Update. * config/s390/s390.c (s390_rtx_costs): Update. * config/m32c/m32c.c (m32c_memory_move_cost): Update. (m32c_rtx_costs): Update. * config/spu/spu.c (TARGET_ADDRESS_COST): Upate. (spu_rtx_costs): Update. * config/sparc/sparc.c (sparc_rtx_costs): Update. * config/m32r/m32r.c (m32r_rtx_costs): Update. * config/i386/i386.c (:ix86_address_cost): Update. (ix86_rtx_costs): Update. * config/sh/sh.c (sh_rtx_costs, sh_address_cost): Update. * config/pdp11/pdp11.c (pdp11_rtx_costs): Update. * config/avr/avr.c (avr_rtx_costs, avr_address_cost): Update. * config/crx/crx.c (crx_address_cost): Update. * config/xtensa/xtensa.c (xtensa_rtx_costs): Update. * config/stormy16/stormy16.c (xstormy16_address_cost, xstormy16_rtx_costs): Update. * config/m68hc11/m68hc11.c (m68hc11_address_cost, m68hc11_rtx_costs): Update. * config/cris/cris.c (cris_rtx_costs, cris_address_cost): Update. * config/iq2000/iq2000.c (iq2000_rtx_costs, iq2000_address_cost): Update. * config/mn10300/mn10300.c (mn10300_address_cost, mn10300_rtx_costs): Update * config/ia64/ia64.c (ia64_rtx_costs): Update. * config/m68k/m68k.c (m68k_rtx_costs): Update. * config/rs6000/rs6000.c (rs6000_rtx_costs): Update. * config/arc/arc.c (arc_rtx_costs, arc_address_cost): Update. * config/mcore/mcore.c (TARGET_ADDRESS_COST): Update. (mcore_rtx_costs): update. * config/score/score3.c (score3_rtx_costs): Update. * config/score/score7.c (score7_rtx_costs): Update. * config/score/score3.h (score3_rtx_costs):Update. * config/score/score7.h (score7_rtx_costs): Update. * config/score/score.c (score_rtx_costs): Update. * config/arm/arm.c (arm_address_cost): Update. (arm_rtx_costs_1): Update. (arm_rtx_costs_1): Update. (arm_size_rtx_costs): Update. (arm_size_rtx_costs): Update. (arm_size_rtx_costs): Update. (arm_xscale_rtx_costs): Update. (arm_thumb_address_cost): Update. * config/pa/pa.c (hppa_address_cost): Update. * config/mips/mips.c (mips_rtx_costs): Update. * config/vax/vax.c (vax_address_cost): Update. * config/h8300/h8300.c (h8300_shift_costs): Update. (h8300_rtx_costs): Update. * config/v850/v850.c (TARGET_ADDRESS_COST): Update. (v850_rtx_costs): Update. * config/mmix/mmix.c (mmix_rtx_costs, mmix_rtx_costs): Update. * config/bfin/bfin.c (bfin_address_cost): Update. (bfin_rtx_costs): Update. * stmt.c (lshift_cheap_p): Update. ........ r139822 | domob | 2008-08-31 03:00:30 -0700 (Sun, 31 Aug 2008) | 55 lines 2008-08-31 Daniel Kraft * gfortran.h (enum gfc_statement): New entry `ST_GENERIC'. (struct gfc_tbp_generic): New type. (struct gfc_typebound_proc): Removed `target' and added union with `specific' and `generic' members; new members `overridden', `subroutine', `function' and `is_generic'. (struct gfc_expr): New members `derived' and `name' in compcall union member and changed type of `tbp' to gfc_typebound_proc. (gfc_compare_interfaces), (gfc_compare_actual_formal): Made public. * match.h (gfc_typebound_default_access): New global. (gfc_match_generic): New method. * decl.c (gfc_match_generic): New method. (match_binding_attributes): New argument `generic' and handle it. (match_procedure_in_type): Mark matched binding as non-generic. * interface.c (gfc_compare_interfaces): Made public. (gfc_compare_actual_formal): Ditto. (check_interface_1), (compare_parameter): Use new public names. (gfc_procedure_use), (gfc_search_interface): Ditto. * match.c (match_typebound_call): Set base-symbol referenced. * module.c (binding_generic): New global array. (current_f2k_derived): New global. (mio_typebound_proc): Handle IO of GENERIC bindings. (mio_f2k_derived): Record current f2k-namespace in current_f2k_derived. * parse.c (decode_statement): Handle GENERIC statement. (gfc_ascii_statement): Ditto. (typebound_default_access), (set_typebound_default_access): Removed. (gfc_typebound_default_access): New global. (parse_derived_contains): New default-access implementation and handle GENERIC statements encountered. * primary.c (gfc_match_varspec): Adapted to new gfc_typebound_proc structure and removed check for SUBROUTINE/FUNCTION from here. * resolve.c (extract_compcall_passed_object): New method. (update_compcall_arglist): Use it. (resolve_typebound_static): Adapted to new gfc_typebound_proc structure. (resolve_typebound_generic_call): New method. (resolve_typebound_call): Check target is a SUBROUTINE and handle calls to GENERIC bindings. (resolve_compcall): Ditto (check for target being FUNCTION). (check_typebound_override): Handle GENERIC bindings. (check_generic_tbp_ambiguity), (resolve_typebound_generic): New methods. (resolve_typebound_procedure): Handle GENERIC bindings and set new attributes subroutine, function and overridden in gfc_typebound_proc. (resolve_fl_derived): Ensure extended type is resolved before the extending one is. * st.c (gfc_free_statement): Fix bug with free'ing EXEC_COMPCALL's. * symbol.c (gfc_find_typebound_proc): Adapt for GENERIC changes. 2008-08-31 Daniel Kraft * gfortran.dg/typebound_generic_1.f03: New test. * gfortran.dg/typebound_generic_2.f03: New test. * gfortran.dg/typebound_generic_3.f03: New test. ........ r139823 | rguenth | 2008-08-31 04:06:10 -0700 (Sun, 31 Aug 2008) | 6 lines 2008-08-31 Richard Guenther * tree-cfg.c (verify_types_in_gimple_assign): Dump mismatched types instead of operands. Re-instantiate verifying of binary expression operands. ........ r139824 | hubicka | 2008-08-31 04:18:41 -0700 (Sun, 31 Aug 2008) | 5 lines * sparc.h (BRANCH_COST): Fix macro definition. * avr.c (avr_operand_rtx_cost): Add speed argument. (avr_rtx_costs): Update calls of avr_operand_rtx_cost. ........ r139825 | jakub | 2008-08-31 04:21:28 -0700 (Sun, 31 Aug 2008) | 3 lines * dwarf2out.c (native_encode_initializer): Subtract min_index for non-range array index. Handle VIEW_CONVERT_EXPR and NON_LVALUE_EXPR. ........ r139826 | jakub | 2008-08-31 04:23:04 -0700 (Sun, 31 Aug 2008) | 7 lines PR debug/37287 * dwarf2out.c (gen_namespace_die): For DECL_EXTERNAL modules don't add source coords. * gfortran.dg/pr37287-1.f90: New test. * gfortran.dg/pr37287-2.F90: New test. ........ r139827 | hubicka | 2008-08-31 04:40:11 -0700 (Sun, 31 Aug 2008) | 9 lines * gcc.target/i386/cold-attribute-1.c: New testcase. * gcc.target/i386/cold-attribute-2.c: New testcase. * gcc.target/i386/cold-attribute-3.c: New testcase. * gcc.target/i386/cold-attribute-4.c: New testcase. * predict.c (PROB_VERY_LIKELY): Make small enough so things become cold. * predict.def (PRED_NORETURN_CALL, PRED_COLD_CALL): Use it. ........ r139828 | jakub | 2008-08-31 05:08:35 -0700 (Sun, 31 Aug 2008) | 11 lines PR target/37168 * config/rs6000/rs6000-protos.h (const_vector_elt_as_int): Add prototype. * config/rs6000/rs6000.c (const_vector_elt_as_int): No longer static. * config/rs6000/altivec.md (easy_vector_constant_add_self splitter): Also split V4SFmode. * config/rs6000/predicates.md (easy_vector_constant_add_self): Handle vector float modes. * gcc.target/powerpc/pr37168.c: New test. ........ r139830 | hubicka | 2008-08-31 05:52:07 -0700 (Sun, 31 Aug 2008) | 7 lines * postreload-gcse.c (eliminate_partially_redundant_loads): Use optimize_bb_for_size_p. * predict.c (maybe_hot_frequency_p): Make inline. (maybe_hot_count_p): Break out from ... (maybe_hot_bb_p): ... this one. (maybe_hot_edge_p): Simplify. * basic-block.h (probably_cold_bb_p): Remove. ........ r139831 | rguenth | 2008-08-31 06:39:26 -0700 (Sun, 31 Aug 2008) | 8 lines 2008-08-31 Richard Guenther PR middle-end/37289 * fold-const.c (fold_binary): Retain conversions in folding ~A + 1 to -A. * gcc.dg/pr37289.c: New testcase. ........ r139832 | rguenth | 2008-08-31 06:40:15 -0700 (Sun, 31 Aug 2008) | 5 lines 2008-08-31 Richard Guenther * trans-expr.c (gfc_trans_string_copy): Use the correct types to compute slen and dlen. ........ r139833 | paolo | 2008-08-31 08:09:38 -0700 (Sun, 31 Aug 2008) | 5 lines 2008-08-31 Paolo Carlini PR c/37271 * gcc.dg/pr37186.c: Add dg-message command for line 5. ........ r139834 | hubicka | 2008-08-31 08:54:54 -0700 (Sun, 31 Aug 2008) | 4 lines * tree-ssa-loop-unswitch.c (tree_unswitch_single_loop): Check that loop is optimized for speed. ........ r139835 | hubicka | 2008-08-31 09:45:05 -0700 (Sun, 31 Aug 2008) | 6 lines * ipa-cp.c (ipcp_need_original_clone_p): Remove. (ipcp_estimate_growth): New. (ipcp_insert_stage): Use ipcp_estimate_growth. * profile.c (branch_prob): When reading failed, do not consider profile as read. ........ r139836 | hubicka | 2008-08-31 11:08:31 -0700 (Sun, 31 Aug 2008) | 3 lines * predict.c (maybe_hot_bb_p, maybe_hot_edge_p): Previous commit mistakely had old version of patch. ........ r139837 | aaronwl | 2008-08-31 11:14:25 -0700 (Sun, 31 Aug 2008) | 32 lines 2008-08-31 Aaron W. LaFramboise * configure.ac (RPATH_ENVVAR): Use PATH on Windows. (GCC_SHLIB_SUBDIR): New. * Makefile.tpl (HOST_LIB_PATH_gcc): Use GCC_SHLIB_SUBDIR. * configure: Regenerate. * Makefile.in: Regenerate. * mkmap-flat.awk: Add option pe_dll. * config/i386/t-cygming (SHLIB_LINK): Support building libgcc_s. * gcc/config/i386/t-cygwin (SHLIB_LC): Add. * gcc/config/i386/t-mingw32 (SHLIB_LC): Add. * config/i386/mingw32.h (SHARED_LIBGCC_UNDEFS_SPEC): New. (SUBTARGET_EXTRA_SPECS): Use SHARED_LIBGCC_UNDEFS_SPEC. (LINK_SPEC): Support libgcc_s. (LIBGCC_SPEC): Support libgcc_s. (LIBGCC_SONAME): New. * acinclude.m4 : Don't use symvers on Windows. * configure: Regenerated. * Makefile.in: Regenerated. * src/Makefile.in: Regenerated. * doc/makefile.in: Regenerated. * po/Makefile.in: Regenerated. * libmath/Makefile.in: Regenerated. * include/Makefile.in: Regenerated. * libsupc++/Makefile.in: Regenerated. * testsuite/makefile.in: Regenerated. ........ r139838 | aaronwl | 2008-08-31 11:16:09 -0700 (Sun, 31 Aug 2008) | 6 lines 2008-08-31 Aaron W. LaFramboise * Makefile.am (libgomp_la_LDFLAGS): Add -no-undefined. * Makefile.in: Regenerated. * testsuite/Makefile.in: Regenerated. ........ r139839 | aaronwl | 2008-08-31 11:26:48 -0700 (Sun, 31 Aug 2008) | 4 lines 2008-08-31 Aaron W. LaFramboise * gcc/gthr-win32.h (__gthread_setspecific): Use CONST_CAST2. ........ r139840 | hp | 2008-08-31 11:33:51 -0700 (Sun, 31 Aug 2008) | 2 lines * config/cris/cris.c (cris_rtx_costs): Correct call to rtx_costs. ........ r139843 | hubicka | 2008-08-31 13:49:42 -0700 (Sun, 31 Aug 2008) | 24 lines * frv.c (frv_rtx_costs): Update forward declaration. * spu.c (spu_rtx_costs): Likewise. * pdp11.c: Include df.h (pdp11_output_function_epilogue): Use df_set_regs_ever_live. * m68hc11.c (m68hc11_gen_highpart): Fix call of gen_rtx_SUBREG. (m68hc11_rtx_costs_1): Fix call of rtx_cost. * iq2000.c (iq2000_address_cost): Add speed argument. (iq2000_rtx_costs): Likewise. * mn10300.c (mn10300_address_cost_1): Remove speed argument; update call of mn10300_address_cost. * mcore.c: Include df.h (mcore_rtx_costs): Update prototype. * score3.c: Include df.h (score3_rtx_costs): Remove speed argument. * score7.c: Include df.h (score7_address_cost): Remove speed argument. * score-protos.h (score_address_cost): Update prototype. * score.c: Include df.h (score_rtx_costs): Update call of costs functions. * v850.c (v850_rtx_costs): Add bool argument. ........ r139846 | gccadmin | 2008-08-31 17:16:34 -0700 (Sun, 31 Aug 2008) | 1 line Daily bump. ........ r139848 | jason | 2008-08-31 20:33:19 -0700 (Sun, 31 Aug 2008) | 9 lines Implement late-specified return type using 'auto'. * cp-tree.h (struct cp_declarator): Add late_return_type field to function declarator. * parser.c (cp_parser_late_return_type_opt): New fn. (cp_parser_direct_declarator): Use it. (make_call_declarator): Put it in the declarator. * decl.c (grokdeclarator): Splice in late-specified return type. * pt.c (splice_late_return_type): New fn. ........ r139854 | abel | 2008-09-01 01:57:00 -0700 (Mon, 01 Sep 2008) | 405 lines 2008-08-31 Andrey Belevantsev Dmitry Melnik Dmitry Zhurikhin Alexander Monakov Maxim Kuvyrkov * sel-sched.h, sel-sched-dump.h, sel-sched-ir.h, sel-sched.c, sel-sched-dump.c, sel-sched-ir.c: New files. * Makefile.in (OBJS-common): Add selective scheduling object files. (sel-sched.o, sel-sched-dump.o, sel-sched-ir.o): New entries. (SEL_SCHED_IR_H, SEL_SCHED_DUMP_H): New entries. (sched-vis.o): Add dependency on $(INSN_ATTR_H). * cfghooks.h (get_cfg_hooks, set_cfg_hooks): New prototypes. * cfghooks.c (get_cfg_hooks, set_cfg_hooks): New functions. (make_forwarder_block): Update loop latch if we have redirected the loop latch edge. * cfgloop.c (get_loop_body_in_custom_order): New function. * cfgloop.h (LOOPS_HAVE_FALLTHRU_PREHEADERS): New enum field. (CP_FALLTHRU_PREHEADERS): Likewise. (get_loop_body_in_custom_order): Declare. * cfgloopmanip.c (has_preds_from_loop): New. (create_preheader): Honor CP_FALLTHRU_PREHEADERS. Assert that the preheader edge will be fall thru when it is set. * common.opt (fsel-sched-bookkeeping, fsel-sched-pipelining, fsel-sched-pipelining-outer-loops, fsel-sched-renaming, fsel-sched-substitution, fselective-scheduling): New flags. * cse.c (hash_rtx_cb): New. (hash_rtx): Use it. * dbgcnt.def (sel_sched_cnt, sel_sched_region_cnt, sel_sched_insn_cnt): New counters. * final.c (compute_alignments): Export. Free dominance info after loop_optimizer_finalize. * genattr.c (main): Output maximal_insn_latency prototype. * genautomata.c (output_default_latencies): New. Factor its code from ... (output_internal_insn_latency_func): ... here. (output_internal_maximal_insn_latency_func): New. (output_maximal_insn_latency_func): New. * hard-reg-set.h (UHOST_BITS_PER_WIDE_INT): Define unconditionally. (struct hard_reg_set_iterator): New. (hard_reg_set_iter_init, hard_reg_set_iter_set, hard_reg_set_iter_next): New functions. (EXECUTE_IF_SET_IN_HARD_REG_SET): New macro. * lists.c (remove_free_INSN_LIST_node, remove_free_EXPR_LIST_node): New functions. * loop-init.c (loop_optimizer_init): When LOOPS_HAVE_FALLTHRU_PREHEADERS, set CP_FALLTHRU_PREHEADERS when calling create_preheaders. (loop_optimizer_finalize): Do not verify flow info after reload. * recog.c (validate_replace_rtx_1): New parameter simplify. Default it to true. Update all uses. Factor out simplifying code to ... (simplify_while_replacing): ... this new function. (validate_replace_rtx_part, validate_replace_rtx_part_nosimplify): New. * recog.h (validate_replace_rtx_part, validate_replace_rtx_part_nosimplify): Declare. * rtl.c (rtx_equal_p_cb): New. (rtx_equal_p): Use it. * rtl.h (rtx_equal_p_cb, hash_rtx_cb): Declare. (remove_free_INSN_LIST_NODE, remove_free_EXPR_LIST_node, debug_bb_n_slim, debug_bb_slim, print_rtl_slim): Likewise. * vecprim.h: Add a vector type for unsigned int. * haifa-sched.c: Include vecprim.h and cfgloop.h. (issue_rate, sched_verbose_param, note_list, dfa_state_size, ready_try, cycle_issued_insns, spec_info): Make global. (readyp): Initialize. (dfa_lookahead): New global variable. (old_max_uid, old_last_basic_block): Remove. (h_i_d): Make it a vector. (INSN_TICK, INTER_TICK, QUEUE_INDEX, INSN_COST): Make them work through HID macro. (after_recovery, adding_bb_to_current_region_p): New variables to handle correct insertion of the recovery code. (struct ready_list): Move declaration to sched-int.h. (rgn_n_insns): Removed. (rtx_vec_t): Move to sched-int.h. (find_insn_reg_weight): Remove. (find_insn_reg_weight1): Rename to find_insn_reg_weight. (haifa_init_h_i_d, haifa_finish_h_i_d): New functions to initialize / finalize haifa instruction data. (extend_h_i_d, init_h_i_d): Rewrite. (unlink_other_notes): Move logic to add_to_note_list. Handle selective scheduler. (ready_lastpos, ready_element, ready_sort, reemit_notes, find_fallthru_edge): Make global, remove static prototypes. (max_issue): Make global. Add privileged_n and state parameters. Use them. (extend_global, extend_all): Removed. (init_before_recovery): Add new param. Fix the handling of the case when we insert a recovery code before the EXIT which has a predecessor with a fallthrough edge to it. (create_recovery_block): Make global. Rename to sched_create_recovery_block. Update. (change_pattern): Rename to sched_change_pattern. Make global. (speculate_insn): Rename to sched_speculate_insn. Make global. Split haifa-specific functionality into ... (haifa_change_pattern): New static function. (sched_extend_bb): New static function. (sched_init_bbs): New function. (current_sched_info): Change type to struct haifa_sched_info. (insn_cost): Adjust for selective scheduling. (dep_cost_1): New function. Move logic from ... (dep_cost): ... here. (dep_cost): Use dep_cost_1. (contributes_to_priority_p): Use sched_deps_info instead of current_sched_info. (priority): Adjust to work with selective scheduling. Process the corner case when all dependencies don't contribute to priority. (rank_for_schedule): Use ds_weak instead of dep_weak. (advance_state): New function. Move logic from ... (advance_one_cycle): ... here. (add_to_note_list, concat_note_lists): New functions. (rm_other_notes): Make static. Adjust for selective scheduling. (remove_notes, restore_other_notes): New functions. (move_insn): Add two arguments. Update assert. Don't call reemit_notes. (choose_ready): Remove lookahead variable, use dfa_lookahead. Remove more_issue, max_points. Move the code to initialize max_lookahead_tries to max_issue. (schedule_block): Remove rgn_n_insns1 parameter. Don't allocate ready. Adjust use of move_insn. Call restore_other_notes. (luid): Remove. (sched_init, sched_finish): Move Haifa-specific initialization/ finalization to ... (haifa_sched_init, haifa_sched_finish): ... respectively. New functions. (setup_sched_dump): New function. (haifa_init_only_bb): New static function. (haifa_speculate_insn): New static function. (try_ready): Use haifa_* instead of speculate_insn and change_pattern. (extend_ready, extend_all): Remove. (sched_extend_ready_list, sched_finish_ready_list): New functions. (create_check_block_twin, add_to_speculative_block): Use haifa_insns_init instead of extend_global. Update to use new initialization functions. Change parameter. Factor out code from create_check_block_twin to ... (sched_create_recovery_edges) ... this new function. (add_block): Remove. (sched_scan_info): New. (extend_bb): Use sched_scan_info. (init_bb, extend_insn, init_insn, init_insns_in_bb, sched_scan): New static functions for walking through scheduling region. (sched_luids): New vector variable to replace uid_to_luid. (luids_extend_insn): New function. (sched_max_luid): New variable. (luids_init_insn): New function. (sched_init_luids, sched_finish_luids): New functions. (insn_luid): New debug function. (sched_extend_target): New function. (haifa_init_insn): New static function. (sched_init_only_bb): New hook. (sched_split_block): New hook. (sched_split_block_1): New function. (sched_create_empty_bb): New hook. (sched_create_empty_bb_1): New function. (common_sched_info, ready): New global variables. (current_sched_info_var): Remove. (move_block_after_check): Use common_sched_info. (haifa_luid_for_non_insn): New static function. (init_before_recovery): Use haifa_init_only_bb instead of add_block. (increase_insn_priority): New. * modulo-sched.c: (issue_rate): Remove static declaration. (sms_sched_info): Change type to haifa_sched_info. (sms_sched_deps_info, sms_common_sched_info): New variables. (setup_sched_infos): New. (sms_schedule): Initialize them. Call haifa_sched_init/finish. Do not call regstat_free_calls_crossed. (sms_print_insn): Use const_rtx. * params.def (PARAM_MAX_PIPELINE_REGION_BLOCKS, PARAM_MAX_PIPELINE_REGION_INSNS, PARAM_SELSCHED_MAX_LOOKAHEAD, PARAM_SELSCHED_MAX_SCHED_TIMES, PARAM_SELSCHED_INSNS_TO_RENAME, PARAM_SCHED_MEM_TRUE_DEP_COST): New. * sched-deps.c (sched_deps_info): New. Update all relevant uses of current_sched_info to use it. (enum reg_pending_barrier_mode): Move to sched-int.h. (h_d_i_d): New variable. Initialize to NULL. ({true, output, anti, spec, forward}_dependency_cache): Initialize to NULL. (estimate_dep_weak): Remove static declaration. (sched_has_condition_p): New function. Adjust users of sched_get_condition to use it instead. (conditions_mutex_p): Add arguments indicating which conditions are reversed. Use them. (sched_get_condition_with_rev): Rename from sched_get_condition. Add argument to indicate whether returned condition is reversed. Do not generate new rtx when condition should be reversed; indicate it by setting new argument instead. (add_dependence_list_and_free): Add deps parameter. Update all users. Do not free dependence list when deps context is readonly. (add_insn_mem_dependence, flush_pending_lists): Adjust for readonly contexts. (remove_from_dependence_list, remove_from_both_dependence_lists): New. (remove_from_deps): New. Use the above functions. (cur_insn, can_start_lhs_rhs_p): New static variables. (add_or_update_back_dep_1): Initialize present_dep_type. (haifa_start_insn, haifa_finish_insn, haifa_note_reg_set, haifa_note_reg_clobber, haifa_note_reg_use, haifa_note_mem_dep, haifa_note_dep): New functions implementing dependence hooks for the Haifa scheduler. (note_reg_use, note_reg_set, note_reg_clobber, note_mem_dep, note_dep): New functions. (ds_to_dt, extend_deps_reg_info, maybe_extend_reg_info_p): New functions. (init_deps): Initialize last_reg_pending_barrier and deps->readonly. (free_deps): Initialize deps->reg_last. (sched_analyze_reg, sched_analyze_1, sched_analyze_2, sched_analyze_insn): Update to use dependency hooks infrastructure and readonly contexts. (deps_analyze_insn): New function. Move part of logic from ... (sched_analyze): ... here. Also move some logic to ... (deps_start_bb): ... here. New function. (add_forw_dep, delete_forw_dep): Guard use of INSN_DEP_COUNT with sel_sched_p. (sched_deps_init): New function. Move code from ... (init_dependency_caches): ... here. Remove. (init_deps_data_vector): New. (sched_deps_finish): New function. Move code from ... (free_dependency_caches): ... here. Remove. (init_deps_global, finish_deps_global): Adjust for use with selective scheduling. (get_dep_weak): Move logic to ... (get_dep_weak_1): New function. (ds_merge): Move logic to ... (ds_merge_1): New static function. (ds_full_merge, ds_max_merge, ds_get_speculation_types): New functions. (ds_get_max_dep_weak): New function. * sched-ebb.c (sched_n_insns): Rename to sched_rgn_n_insns. (n_insns): Rename to rgn_n_insns. (debug_ebb_dependencies): New function. (init_ready_list): Use it. (begin_schedule_ready): Use sched_init_only_bb. (ebb_print_insn): Indicate when an insn starts a new cycle. (contributes_to_priority, compute_jump_reg_dependencies, add_remove_insn, fix_recovery_cfg): Add ebb_ prefix to function names. (add_block1): Remove to ebb_add_block. (ebb_sched_deps_info, ebb_common_sched_info): New variables. (schedule_ebb): Initialize them. Use remove_notes instead of rm_other_notes. Use haifa_local_init/finish. (schedule_ebbs): Use haifa_sched_init/finish. * sched-int.h: Include vecprim.h, remove rtl.h. (struct ready_list): Delete declaration. (sched_verbose_param, enum sched_pass_id_t, bb_vec_t, insn_vec_t, rtx_vec_t): New. (struct sched_scan_info_def): New structure. (sched_scan_info, sched_scan, sched_init_bbs, sched_init_luids, sched_finish_luids, sched_extend_target, haifa_init_h_i_d, haifa_finish_h_i_d): Declare. (struct common_sched_info_def): New. (common_sched_info, haifa_common_sched_info, sched_emulate_haifa_p): Declare. (sel_sched_p): New. (sched_luids): Declare. (INSN_LUID, LUID_BY_UID, SET_INSN_LUID): Declare. (sched_max_luid, insn_luid): Declare. (note_list, remove_notes, restore_other_notes, bb_note): Declare. (sched_insns_init, sched_insns_finish, xrecalloc, reemit_notes, print_insn, print_pattern, print_value, haifa_classify_insn, sel_find_rgns, sel_mark_hard_insn, dfa_state_size, advance_state, setup_sched_dump, sched_init, sched_finish, sel_insn_is_speculation_check): Export. (struct ready_list): Move from haifa-sched.c. (ready_try, ready, max_issue): Export. (ebb_compute_jump_reg_dependencies, find_fallthru_edge, sched_init_only_bb, sched_split_block, sched_split_block_1, sched_create_empty_bb, sched_create_empty_bb_1, sched_create_recovery_block, sched_create_recovery_edges): Export. (enum reg_pending_barrier_mode): Export. (struct deps): New fields `last_reg_pending_barrier' and `readonly'. (deps_t): New. (struct sched_info): Rename to haifa_sched_info. Use const_rtx for print_insn field. Move add_block and fix_recovery_cfg to common_sched_info_def. Move compute_jump_reg_dependencies, use_cselib ... (struct sched_deps_info_def): ... this new structure. (sched_deps_info): Declare. (struct spec_info_def): Remove weakness_cutoff, add data_weakness_cutoff and control_weakness_cutoff. (spec_info): Declare. (struct _haifa_deps_insn_data): Split from haifa_insn_data. Add dep_count field. (struct haifa_insn_data): Rename to struct _haifa_insn_data. (haifa_insn_data_def, haifa_insn_data_t): New typedefs. (current_sched_info): Change type to struct haifa_sched_info. (haifa_deps_insn_data_def, haifa_deps_insn_data_t): New typedefs. (h_d_i_d): New variable. (HDID): New accessor macro. (h_i_d): Change type to VEC (haifa_insn_data_def, heap) *. (HID): New accessor macro. Rewrite h_i_d accessor macros through HID and HDID. (IS_SPECULATION_CHECK_P): Update for selective scheduler. (enum SCHED_FLAGS): Update for selective scheduler. (enum SPEC_SCHED_FLAGS): New flag SEL_SCHED_SPEC_DONT_CHECK_CONTROL. (init_dependency_caches, free_dependency_caches): Delete declarations. (deps_analyze_insn, remove_from_deps, get_dep_weak_1, estimate_dep_weak, ds_full_merge, ds_max_merge, ds_weak, ds_get_speculation_types, ds_get_max_dep_weak, sched_deps_init, sched_deps_finish, haifa_note_reg_set, haifa_note_reg_use, haifa_note_reg_clobber, maybe_extend_reg_info_p, deps_start_bb, ds_to_dt): Export. (rm_other_notes): Delete declaration. (schedule_block): Remove one argument. (cycle_issued_insns, issue_rate, dfa_lookahead, ready_sort, ready_element, ready_lastpos, sched_extend_ready_list, sched_finish_ready_list, sched_change_pattern, sched_speculate_insn, concat_note_lists): Export. (struct region): Move from sched-rgn.h. (nr_regions, rgn_table, rgn_bb_table, block_to_bb, containing_rgn, RGN_NR_BLOCKS, RGN_BLOCKS, RGN_DONT_CALC_DEPS, RGN_HAS_REAL_EBB, BLOCK_TO_BB, CONTAINING_RGN): Export. (ebb_head, BB_TO_BLOCK, EBB_FIRST_BB, EBB_LAST_BB, INSN_BB): Likewise. (current_nr_blocks, current_blocks, target_bb): Likewise. (dep_cost_1, sched_is_disabled_for_current_region_p, sched_rgn_init, sched_rgn_finish, rgn_setup_region, sched_rgn_compute_dependencies, sched_rgn_local_init, extend_regions, rgn_make_new_region_out_of_new_block, compute_priorities, debug_rgn_dependencies, free_rgn_deps, contributes_to_priority, extend_rgns, deps_join rgn_setup_common_sched_info, rgn_setup_sched_infos, debug_regions, debug_region, dump_region_dot, dump_region_dot_file, haifa_sched_init, haifa_sched_finish): Export. (get_rgn_sched_max_insns_priority, sel_add_to_insn_priority, increase_insn_priority): Likewise. * sched-rgn.c: Include sel-sched.h. (ref_counts): New static variable. Use it ... (INSN_REF_COUNT): ... here. Rewrite and move closer to uses. (FED_BY_SPEC_LOAD, IS_LOAD_INSN): Rewrite to use HID accessor macro. (sched_is_disabled_for_current_region_p): Delete static declaration. (struct region): Move to sched-int.h. (nr_regions, rgn_table, rgn_bb_table, block_to_bb, containing_rgn, ebb_head): Define and initialize. (RGN_NR_BLOCKS, RGN_BLOCKS, RGN_DONT_CALC_DEPS, RGN_HAS_REAL_EBB, BLOCK_TO_BB, CONTAINING_RGN, debug_regions, extend_regions, BB_TO_BLOCK, EBB_FIRST_BB, EBB_LAST_BB): Move to sched-int.h. (find_single_block_region): Add new argument to indicate that EBB regions should be constructed. (debug_live): Delete declaration. (current_nr_blocks, current_blocks, target_bb): Remove static qualifiers. (compute_dom_prob_ps, check_live, update_live, set_spec_fed): Delete declaration. (init_regions): Delete declaration. (debug_region, bb_in_region_p, dump_region_dot_file, dump_region_dot, rgn_estimate_number_of_insns): New. (too_large): Use estimate_number_of_insns. (haifa_find_rgns): New. Move the code from ... (find_rgns): ... here. Call either sel_find_rgns or haifa_find_rgns. (free_trg_info): New. (compute_trg_info): Allocate candidate tables here instead of ... (init_ready_list): ... here. (rgn_print_insn): Use const_rtx. (contributes_to_priority, extend_regions): Delete static declaration. (add_remove_insn, fix_recovery_cfg): Add rgn_ to function names. (add_block1): Rename to rgn_add_block. (debug_rgn_dependencies): Delete static qualifier. (new_ready): Use sched_deps_info. Simplify. (rgn_common_sched_info, rgn_const_sched_deps_info, rgn_const_sel_sched_deps_info, rgn_sched_deps_info, rgn_sched_info): New. (region_sched_info): Rename to rgn_const_sched_info. (deps_join): New, extracted from ... (propagate_deps): ... here. (compute_block_dependences, debug_dependencies): Update for selective scheduling. (free_rgn_deps, compute_priorities): New functions. (sched_rgn_init, sched_rgn_finish, rgn_setup_region, sched_rgn_compute_dependencies): New functions. (schedule_region): Use them. (sched_rgn_local_init, sched_rgn_local_free, sched_rgn_local_finish, rgn_setup_common_sched_info, rgn_setup_sched_infos): New functions. (schedule_insns): Call new functions that were split out. (rgn_make_new_region_out_of_new_block): New. (get_rgn_sched_max_insns_priority): New. (rest_of_handle_sched, rest_of_handle_sched2): Call selective scheduling when appropriate. * sched-vis.c: Include insn-attr.h. (print_value, print_pattern): Make global. (print_rtl_slim, debug_bb_slim, debug_bb_n_slim): New functions. * target-def.h (TARGET_SCHED_ADJUST_COST_2, TARGET_SCHED_ALLOC_SCHED_CONTEXT, TARGET_SCHED_INIT_SCHED_CONTEXT, TARGET_SCHED_SET_SCHED_CONTEXT, TARGET_SCHED_CLEAR_SCHED_CONTEXT, TARGET_SCHED_FREE_SCHED_CONTEXT, TARGET_SCHED_GET_INSN_CHECKED_DS, TARGET_SCHED_GET_INSN_SPEC_DS, TARGET_SCHED_SKIP_RTX_P): New target hooks. Initialize them to 0. (TARGET_SCHED_GEN_CHECK): Rename to TARGET_SCHED_GEN_SPEC_CHECK. * target.h (struct gcc_target): Add them. Rename gen_check field to gen_spec_check. * flags.h (sel_sched_switch_set): Declare. * opts.c (sel_sched_switch_set): New variable. (decode_options): Unset flag_sel_sched_pipelining_outer_loops if pipelining is disabled from command line. (common_handle_option): Record whether selective scheduling is requested from command line. * doc/invoke.texi: Document new flags and parameters. * doc/tm.texi: Document new target hooks. * config/ia64/ia64.c (TARGET_SCHED_GEN_SPEC_CHECK): Define to ia64_gen_check. (dfa_state_size): Do not declare locally. * config/ia64/ia64.opt (msched-ar-data-spec): Default to 0. * config/rs6000/rs6000.c (rs6000_init_sched_context, rs6000_alloc_sched_context, rs6000_set_sched_context, rs6000_free_sched_context): New functions. (struct _rs6000_sched_context): New. (rs6000_sched_reorder2): Do not modify INSN_PRIORITY for selective scheduling. (rs6000_sched_finish): Do not run for selective scheduling. ........ r139855 | hubicka | 2008-09-01 02:27:39 -0700 (Mon, 01 Sep 2008) | 22 lines * expr.c (MOVE_BY_PIECES_P, CLEAR_BY_PIECES_P, SET_BY_PIECES_P): Pass speed operand. * expr.h (MOVE_RATIO, CLEAR_RATIO, SET_RATIO): Update. * gimplify.c (gimplify_init_constructor): Add speed operand. * tree-sra.c (decide_block_copy): Likewise. * tree-inline.c (estimate_move_cost): Likewise. * config/alpha/alpha.h (MOVE_RATIO): Update. * config/frv/frv.c (MOVE_RATIO): Update. * config/spu/spu.h (MOVE_RATIO): Update. * config/sparc/sparc.h (MOVE_RATIO): Update. * config/i386/i386.h (MOVE_RATIO, CLEAR_RATIO): Update. * config/m68hc11/m68hc11.h (MOVE_RATIO): Update. * config/cris/cris.h (MOVE_RATIO): Update. * config/mn10300/mn10300.h (MOVE_RATIO): Update. * config/arm/arm.h (MOVE_RATIO): Update. * config/pa/pa.md: Update uses of MOVE_RATIO * config/pa/pa.h (MOVE_RATIO): Update. * config/mips/mips.h (MOVE_RATIO, MOVE_BY_PIECES, CLEAR_RATIO, SET_RATIO): Update. * config/h8300/h8300.h (MOVE_RATIO): Update. * config/v850/v850.h (MOVE_RATIO): Update. * config/bfin/bfin.h (MOVE_RATIO): Update. ........ r139856 | hubicka | 2008-09-01 02:33:23 -0700 (Mon, 01 Sep 2008) | 3 lines * config/spu/spu.c (spu_expand_block_move) Update call of MOVE_RATIO. ........ r139857 | domob | 2008-09-01 03:55:50 -0700 (Mon, 01 Sep 2008) | 14 lines 2008-09-01 Daniel Kraft * gfc-internals.texi (F2003 OOP), (Type-bound Procedures): New chapter and section to document the internals of type-bound procedures. (gfc_expr): Document EXPR_COMPCALL. * gfortran.h (struct gfc_expr): Remove unused `derived' from compcall. * dump-parse-tree.c (show_compcall): New method. (show_expr): Call it for EXPR_COMPCALL. (show_typebound), (show_f2k_derived): New methods. (show_symbol): Call show_f2k_derived. (show_code_node): Handle EXEC_COMPCALL. * primary.c (gfc_match_varspec): Don't initialize removed `derived' in primary->value.compcall. ........ r139859 | jakub | 2008-09-01 04:34:47 -0700 (Mon, 01 Sep 2008) | 3 lines PR middle-end/36449 * g++.dg/opt/pr36449.C: New test. ........ r139860 | pbrook | 2008-09-01 05:28:06 -0700 (Mon, 01 Sep 2008) | 6 lines 2008-09-01 Paul Brook gcc/ * config/arm/arm.c (arm_no_early_mul_dep): Handle multiply-subtract. ........ r139861 | schwab | 2008-09-01 05:35:24 -0700 (Mon, 01 Sep 2008) | 2 lines * config/ia64/ia64.c (TARGET_ADDRESS_COST): Update. ........ r139862 | abel | 2008-09-01 05:38:44 -0700 (Mon, 01 Sep 2008) | 5 lines * sel-sched-dump.c: Surround with #ifdef INSN_SCHEDULING. * sched-int.h (print_insn, print_pattern, print_value): Declare also when !INSN_SCHEDULING. ........ r139863 | abel | 2008-09-01 05:40:32 -0700 (Mon, 01 Sep 2008) | 4 lines * sel-sched-ir.c (cmp_v_in_regset_pool): Surround with #ifdef ENABLE_CHECKING. ........ r139864 | rguenth | 2008-09-01 06:39:42 -0700 (Mon, 01 Sep 2008) | 9 lines 2008-09-01 Richard Guenther PR tree-optimization/37305 * tree-ssa-ccp.c (ccp_fold): Do not set TREE_OVERFLOW on the result of constant conversions. (fold_gimple_assign): Likewise. * gcc.c-torture/compile/pr37305.c: New testcase. ........ r139865 | pbrook | 2008-09-01 06:40:49 -0700 (Mon, 01 Sep 2008) | 21 lines 2008-09-01 Paul Brook gcc/ * config/arm/arm.md: Include cortex-r4f.md. (attr fpu): Update type list. (attr type): Add fcpys, ffariths, ffarithd, fadds, faddd, fconsts, fconstd, fcmps and fcmpd. (attr tune_cortexr4): Define. (attr generic_sched, attr generic_vfp): Use tune_cortexr4. * config/arm/vfp.md: Document fcpys, ffariths, ffarithd, fadds, faddd, fconsts, fconstd, fcmps and fcmpd. Use them in insn patterns. * config/arm/arm.c (arm_issue_rate): Add cortexr4f. * config/arm/arm1020e.md (v10_ffarith, v10_farith): Use new insn types. * config/arm/cortex-a8-neon.md (cortex_a8_vfp_add_sub, cortex_a8_vfp_farith: Ditto. * config/arm/vfp11.md (vfp_ffarith, vfp_farith): Ditto. * config/arm/cortex-r4.md: Use tune_cortexr4. * config/arm/cortex-r4f.md: New file. ........ r139866 | domob | 2008-09-01 06:43:10 -0700 (Mon, 01 Sep 2008) | 11 lines 2008-09-01 Daniel Kraft PR fortran/37193 * module.c (read_module): Initialize use_only flag on used symbols. 2008-09-01 Daniel Kraft PR fortran/37193 * gfortran.dg/use_rename_4.f90: New test. * gfortran.dg/use_rename_5.f90: New test. ........ r139867 | aldyh | 2008-09-01 08:02:27 -0700 (Mon, 01 Sep 2008) | 35 lines * tree.c (protected_set_expr_location): New. * tree.h (protected_set_expr_location): New prototype. * c-tree.h (build_array_ref): Add argument. (parser_build_unary_op): Same. * c-typeck.c (build_indirect_ref): Handle new location argument. (build_array_ref): Same. (parser_build_unary_op): Same. * gimplify.c (gimplify_asm_expr): Set input_location before calling error. * c-omp.c (c_finish_omp_atomic): Pass location when calling build_indirect_ref. * c-common.c (finish_label_address_expr): Handle new location argument. * c-common.h (build_indirect_ref): Add argument. (finish_label_address_expr): Same. * c-parser.c (c_parser_unary_expression): Pass location to build functions. (c_parser_postfix_expression): Same. objc/ * objc-act.c (build_typed_selector_reference): Pass input_location to build_unary_op calls. (build_selector_reference): Same, but to build_array_ref. (objc_substitute_decl): Same. (build_ivar_reference): Same, but to build_indirect_ref. (get_super_receiver): Same. testsuite/ * gcc.dg/20010516-1.c: Test for columns. cp/ * typeck.c (build_x_indirect_ref): Add location argument. * class.c (build_base_path): Pass location to build_indirect_ref. * pt.c (tsubst_copy_and_build): Pass location to finish_label_address_expr. * parser.c (cp_parser_unary_expression): Same. ........ r139868 | hubicka | 2008-09-01 09:28:06 -0700 (Mon, 01 Sep 2008) | 7 lines * predict.c (maybe_hot_count_p, maybe_hot_edge_p): When profile is present, use only counts; when guessed use only frequencies. (estimate_bb_frequencies): Use function_frequency. * profile.c (compute_branch_probabilities): Exit early when profile reading failed. Set profile_status. (branch_prob): Do not set profile_status. ........ r139869 | danglin | 2008-09-01 10:53:43 -0700 (Mon, 01 Sep 2008) | 4 lines * ira.c (setup_eliminable_regset): Only declare i if ELIMINABLE_REGS is defined. ........ r139870 | danglin | 2008-09-01 10:56:38 -0700 (Mon, 01 Sep 2008) | 5 lines * pa64-hpux.h (LIB_SPEC): Link against librt when building static openmp applications. * pa-hpux11.h (LIB_SPEC): Likewise. ........ r139873 | pbrook | 2008-09-01 15:02:55 -0700 (Mon, 01 Sep 2008) | 7 lines 2008-09-01 Paul Brook gcc/ * config/arm/thumb2.md (thumb2_negscc): Match the correct operand for optimized LT0 test. Remove optimization for GT. ........ r139874 | pbrook | 2008-09-01 16:20:34 -0700 (Mon, 01 Sep 2008) | 9 lines 2008-09-01 Paul Brook gcc/ * config/arm/arm.c (arm_override_options): Set arm_abi earlier. Allow Interworking on ARMv4 EABI based targets. * config/arm/bpabi.h (TARGET_FIX_V4BX_SPEC): Define. (SUBTARGET_EXTRA_ASM_SPEC, LINK_SPEC): Add TARGET_FIX_V4BX_SPEC. ........ r139875 | mmitchel | 2008-09-01 16:24:09 -0700 (Mon, 01 Sep 2008) | 12 lines * include/std/type_traits (__make_unsigned_selector<>): Consider enums of size smaller than short. (__make_signed_selector<>): Likewise. * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust line numbers. * testsuite/20_util/make_usigned/requirements/typedefs_neg.cc: Adjust line numbers. * testsuite/20_util/make_signed/requirements/typedefs-2.cc: Ensure test_enum is the same size as short. * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Ensure test_enum is the same size as short. ........ r139878 | gccadmin | 2008-09-01 17:16:42 -0700 (Mon, 01 Sep 2008) | 1 line Daily bump. ........ r139880 | jvdelisle | 2008-09-01 18:14:04 -0700 (Mon, 01 Sep 2008) | 4 lines 2008-09-01 Jerry DeLisle * runtime/error.c: Fix cast for printf. ........ r139881 | pbrook | 2008-09-01 18:44:33 -0700 (Mon, 01 Sep 2008) | 18 lines 2008-09-01 Paul Brook * doc/invoke.texi: Document -mword-relocations. * config/arm/uclinux-elf.h (TARGET_DEFAULT_WORD_RELOCATIONS): Define. * config/arm/symbian.h (TARGET_DEFAULT_WORD_RELOCATIONS): Define. * config/arm/vxworks.h (TARGET_DEFAULT_WORD_RELOCATIONS): Define. * config/arm/arm.c (arm_split_constant): Use arm_emit_movpair. (arm_rtx_costs_1, arm_size_rtx_costs): Handle HIGH and LO_SUM. (arm_emit_movpair): New function. (arm_print_operand ): Handle sybolic addresses. * config/arm/arm.h (TARGET_USE_MOVT): Define. (TARGET_DEFAULT_WORD_RELOCATIONS): Define. * config/arm/arm-protos.h (arm_emit_movpair): Add prototype. * config/arm/arm.opt: Add -mword-relocations. * config/arm/arm.md (movsi): Use arm_emit_movpair. (arm_movt, arm_movw): New. ........ r139885 | domob | 2008-09-02 01:13:21 -0700 (Tue, 02 Sep 2008) | 27 lines 2008-09-02 Daniel Kraft * gfortran.h (struct gfc_namespace): New member `implicit_loc'. (gfc_add_abstract): New method. * decl.c (gfc_get_type_attr_spec): Match ABSTRACT attribute. (gfc_match_derived_decl): Copy abstract attribute in derived symbol. * dump-parse-tree.c (show_attr): Show ABSTRACT attribute as `ABSTRACT' only to allow for ABSTRACT types. * parse.c (parse_interface): Use new gfc_add_abstract. * primary.c (gfc_match_structure_constructor): Check that no ABSTRACT type is constructed. * resolve.c (resolve_typespec_used): New method. (resolve_fl_derived): Check type in respect to ABSTRACT attribute and check that no component is of an ABSTRACT type. (resolve_symbol): Check that no symbol is of an ABSTRACT type. (resolve_types): Check IMPLICIT declarations for ABSTRACT types. * symbol.c (gfc_merge_new_implicit): Remember loci of IMPLICIT's. (gfc_add_abstract): New method. 2008-09-02 Daniel Kraft * gfortran.dg/abstract_type_1.f90: New test. * gfortran.dg/abstract_type_2.f03: New test. * gfortran.dg/abstract_type_3.f03: New test. * gfortran.dg/abstract_type_4.f03: New test. ........ r139886 | domob | 2008-09-02 01:50:13 -0700 (Tue, 02 Sep 2008) | 25 lines 2008-09-01 Jerry DeLisle PR fortran/37228 * io.c (check_format): Allow specifying precision with g0 format. 2008-09-01 Jerry DeLisle PR libfortran/37301 PR libfortran/37228 * io/io.h (write_real_g0): Declare new function to handle g0.d format. * io/transfer.c (formatted_transfer_scalar): Use new function. * io/format.c (parse_format_list): Enable g0.d. * io/write.c (write_a_char4): Delete unused var. (set_fnode_default): New function to set the default fnode w, d, and e factored from write_real. (write_real): Use new factored function. (write_real_g0): New function that sets d to that passed by g0.d format specifier and set format to ES. Default values for w and e are used from the new function, set_fnode_default. 2008-09-01 Jerry DeLisle PR fortran/37228 * gfortran.dg/fmt_g0_4.f08: Revised test. ........ r139887 | jakub | 2008-09-02 03:33:46 -0700 (Tue, 02 Sep 2008) | 7 lines PR tree-optimization/37095 * cgraph.c (cgraph_node): When creating new cgraph node after assembler_name_hash has been populated, record it in the hash table. * g++.dg/inherit/thunk9.C: New test. ........ r139888 | victork | 2008-09-02 05:38:32 -0700 (Tue, 02 Sep 2008) | 9 lines 2008-09-02 Victor Kaplansky * gcc/config/spu/spu.md (divdf3): Removed. Testsuite Changelog: * gcc.dg/fastmath-2.c: New. ........ r139889 | abel | 2008-09-02 06:02:44 -0700 (Tue, 02 Sep 2008) | 9 lines 2008-09-02 Alexander Monakov Fixed typo in date of the 2008-09-01 MOVE_RATIO commit. * config/ia64/ia64.opt (msched-ar-data-spec): Default to 1. * config/ia64/ia64.c (ia64_set_sched_flags): Always initialize spec_info->mask. ........ r139890 | rguenth | 2008-09-02 06:48:11 -0700 (Tue, 02 Sep 2008) | 8 lines 2008-09-02 Richard Guenther PR tree-optimization/37327 * tree-vrp.c (register_new_assert_for): Make sure to not have TREE_OVERFLOW set on the bound. * gcc.c-torture/compile/pr37327.c: New testcase. ........ r139891 | pbrook | 2008-09-02 08:01:52 -0700 (Tue, 02 Sep 2008) | 15 lines 2008-09-02 Paul Brook * config/arm/arm.c (arm_tune_cortex_a9): Define. (arm_override_options): Set arm_tune_cortex_a9. (arm_rtx_costs_1): Make register shifts more expensive on Cortex-A9. (arm_issue_rate): Handle cortexa9. * config/arm/arm.h (arm_tune_cortex_a9): Declare. * config/arm/arm-cores.def: Add cortex-a9. * config/arm/arm-tune.md: Regenerate. * config/arm/arm.md: Include cortex-a9.md. (generic_sched, generic_vfp): Add cortexa9. * config/arm/cortex-a9.md: New file. ........ r139892 | sam | 2008-09-02 09:23:29 -0700 (Tue, 02 Sep 2008) | 4 lines gcc/ PR target/37283 * opts.c (decode_options): Move processing of -fno-unit-at-a-time and -fno-toplevel-reorder after handle_options. ........ r139893 | spop | 2008-09-02 09:31:04 -0700 (Tue, 02 Sep 2008) | 108 lines 2008-09-02 Sebastian Pop Tobias Grosser Jan Sjodin Harsha Jagasia Dwarakanath Rajagopal Konrad Trifunovic Adrien Eliche Merge from graphite branch. * configure: Regenerate. * Makefile.in: Regenerate. * configure.ac (host_libs): Add ppl and cloog. Add checks for PPL and CLooG. * Makefile.def (ppl, cloog): Added modules and dependences. * Makefile.tpl (PPLLIBS, PPLINC, CLOOGLIBS, CLOOGINC): New. (HOST_PPLLIBS, HOST_PPLINC, HOST_CLOOGLIBS, HOST_CLOOGINC): New. gcc/ * graphite.c: New. * graphite.h: New. * tree-loop-linear.c (perfect_loop_nest_depth): Export. * doc/invoke.texi (-floop-block, -floop-interchange, -floop-strip-mine): Document new flags. * tree-into-ssa.c (gimple_vec): Moved... * tree-loop-distribution.c (rdg_component): Moved... * cfgloopmanip.c: Include tree-flow.h. (update_dominators_in_loop): New. (create_empty_if_region_on_edge): New. (create_empty_loop_on_edge): New. (loopify): Use update_dominators_in_loop. * tree-pass.h (pass_graphite_transforms): Declared. * configure: Regenerate. * tree-phinodes.c (make_phi_node): Export. (add_phi_node_to_bb): New, split from create_phi_node. * tree-chrec.c (for_each_scev_op): New. * tree-chrec.h (for_each_scev_op): Declared. * tree-ssa-loop-ivopts.c (get_phi_with_result): New. (remove_statement): Call get_phi_with_result. * config.in (HAVE_cloog): Undef. * gdbinit.in (pgg): New. * timevar.def (TV_GRAPHITE_TRANSFORMS): New. * tree-ssa-loop.c (graphite_transforms): New. (gate_graphite_transforms): New. (pass_graphite_transforms): New. * configure.ac (PPLLIBS, PPLINC, CLOOGLIBS, CLOOGINC, HAVE_cloog): Defined. * tree-vectorizer.c (rename_variables_in_bb): Export. * tree-data-ref.c (dr_may_alias_p): Export. (stmt_simple_memref_p): New. (find_data_references_in_stmt): Export. (find_data_references_in_loop): Export. (create_rdg_edge_for_ddr): Initialize RDGE_RELATION. (create_rdg_edges_for_scalar): Initialize RDGE_RELATION. (create_rdg_vertices): Export. (build_empty_rdg): New. (build_rdg): Call build_empty_rdg. Free dependence_relations. * tree-data-ref.h (rdg_component): ... here. (scop_p): New. (struct data_reference): Add a field scop. (DR_SCOP): New. (find_data_references_in_loop): Declared. (find_data_references_in_stmt): Declared. (create_rdg_vertices): Declared. (dr_may_alias_p): Declared. (stmt_simple_memref_p): Declared. (struct rdg_edge): Add a field ddr_p relation. (build_empty_rdg): Declared. * lambda.h (lambda_matrix): Declare a VEC of. (find_induction_var_from_exit_cond): Declared. (lambda_vector_compare): New. * common.opt (fgraphite, floop-strip-mine, floop-interchange, floop-block): New flags. * lambda-code.c (find_induction_var_from_exit_cond): Export. * cfgloop.c (is_loop_exit): New. * cfgloop.h (is_loop_exit): Declared. (create_empty_if_region_on_edge): Declared. (create_empty_loop_on_edge): Declared. * tree-flow.h (add_phi_node_to_bb): Declared. (make_phi_node): Declared. (rename_variables_in_bb): Declared. (perfect_loop_nest_depth): Declared. (graphite_transform_loops): Declared. * Makefile.in (cfgloopmanip.o): Depend on TREE_FLOW_H. (graphite.o-warn): Add -Wno-error. (PPLLIBS, PPLINC, CLOOGLIBS, CLOOGINC): Declared. (LIBS): Add GMPLIBS, CLOOGLIBS, PPLLIBS. (INCLUDES): Add PPLINC, CLOOGINC. (OBJS-common): Add graphite.o. (graphite.o): Add rule. * gimple.h (gimple_vec): ... here. * tree-cfg.c (print_loops): Start printing at ENTRY_BLOCK_PTR. * passes.c (init_optimization_passes): Schedule pass_graphite_transforms. testsuite/ * gcc.dg/graphite/scop-{0,1,2,3,4,5,6,7,8,9, 10,11,12,13,14,15,16,17,18}.c: New. * gcc.dg/graphite/graphite.exp: New. * gcc.dg/graphite/scop-matmult.c: New. * gcc.dg/graphite/block-0.c: New. * lib/target-supports.exp (check_effective_target_fgraphite): New. * gfortran.dg/graphite/block-1.f90: New. * gfortran.dg/graphite/scop-{1,2}.f: New. * gfortran.dg/graphite/block-{1,3,4}.f90: New. * gfortran.dg/graphite/graphite.exp: New. ........ r139894 | hjl | 2008-09-02 09:36:49 -0700 (Tue, 02 Sep 2008) | 4 lines 2008-09-02 H.J. Lu * expr.c (emit_group_store): Don't assert stack temp mode size. ........ r139897 | hubicka | 2008-09-02 11:09:05 -0700 (Tue, 02 Sep 2008) | 2 lines * expmed.c (expand_divmod): Fix test of smod_pow2_cheap and sdiv_pow2_cheap ........ r139898 | hubicka | 2008-09-02 11:10:54 -0700 (Tue, 02 Sep 2008) | 2 lines * predict.c (pass_strip_predict_hints): Avoid bugs dump file. ........ r139903 | rsandifo | 2008-09-02 11:39:32 -0700 (Tue, 02 Sep 2008) | 5 lines gcc/ * simplify-rtx.c (simplify_binary_operation_1): Check for CONST, SYMBOL_REF and LABEL_REF when applying plus_constant, instead of checking for a non-VOID CONSTANT_P. ........ r139904 | jakub | 2008-09-02 11:42:48 -0700 (Tue, 02 Sep 2008) | 3 lines PR c/37171 * g++.dg/ext/attrib34.C: New test. ........ r139905 | schwab | 2008-09-02 11:43:30 -0700 (Tue, 02 Sep 2008) | 3 lines * configure.ac: Use m4_quote to quote the expansion of m4_do. * configure: Regenerate. ........ r139906 | jakub | 2008-09-02 11:46:29 -0700 (Tue, 02 Sep 2008) | 6 lines PR target/36332 * real.c (real_maxval): Clear a lower bit to make real_maxval match get_max_float for IBM long double format. * gcc.c-torture/execute/ieee/pr36332.c: New test. ........ r139908 | jakub | 2008-09-02 12:13:47 -0700 (Tue, 02 Sep 2008) | 6 lines PR tree-optimization/36766 * tree-cfg.c (gimple_purge_all_dead_eh_edges): Do nothing for already removed basic blocks. * g++.dg/tree-ssa/pr36766.C: New test. ........ r139909 | jakub | 2008-09-02 12:28:34 -0700 (Tue, 02 Sep 2008) | 5 lines * config/alpha/alpha.c (va_list_skip_additions, alpha_stdarg_optimize_hook, alpha_gimplify_va_arg_1): Tuplify. (alpha_gimplify_va_arg): Call unshare_expr on second use of offset_field. ........ r139910 | jakub | 2008-09-02 12:49:41 -0700 (Tue, 02 Sep 2008) | 22 lines * config/i386/i386.c (X86_64_VARARGS_SIZE): Removed. (setup_incoming_varargs_64): Assume cum != NULL. Set/check ix86_varargs_gpr_size and ix86_varargs_fpr_size. Use ix86_varargs_gpr_size instead of X86_64_REGPARM_MAX. Don't set ix86_save_varrargs_registers. (ix86_setup_incoming_varargs): Assume cum != NULL. (ix86_va_start): Check ix86_varargs_gpr_size and ix86_varargs_fpr_size instead of cfun->va_list_gpr_size and cfun->va_list_fpr_size, respectively. Subtract 8*X86_64_REGPARM_MAX from frame pointer if ix86_varargs_gpr_size == 0. (ix86_compute_frame_layout): Updated. * config/i386/i386.h (ix86_save_varrargs_registers): Removed. (ix86_varargs_gpr_size): Define. (ix86_varargs_fpr_size): Likewise. (machine_function): Remove save_varrargs_registers. Add varargs_gpr_size and varargs_fpr_size. * gcc.target/i386/amd64-abi-3.c: New test. * gcc.target/i386/amd64-abi-4.c: Likewise. * gcc.target/i386/amd64-abi-5.c: Likewise. * gcc.target/i386/amd64-abi-6.c: Likewise. ........ r139911 | jakub | 2008-09-02 12:59:58 -0700 (Tue, 02 Sep 2008) | 3 lines * dwarf2out.c (tree_add_const_value_attribute): Only handle VAR_DECL and CONST_DECL. ........ r139912 | spop | 2008-09-02 13:02:37 -0700 (Tue, 02 Sep 2008) | 4 lines Add the Graphite merge entry. ........ r139916 | nemet | 2008-09-02 14:41:16 -0700 (Tue, 02 Sep 2008) | 2 lines * sel-sched.c (fur_orig_expr_found): Mark arguments unused. ........ r139918 | nemet | 2008-09-02 14:45:45 -0700 (Tue, 02 Sep 2008) | 2 lines Fix previous changelog entry. ........ r139919 | danglin | 2008-09-02 16:43:21 -0700 (Tue, 02 Sep 2008) | 4 lines * gcc.c-torture/compile/pr33009.c: xfail on hppa*-*-*. * gcc.c-torture/compile/pr11832.c: Likewise. ........ r139922 | gccadmin | 2008-09-02 17:16:33 -0700 (Tue, 02 Sep 2008) | 1 line Daily bump. ........ r139924 | aldyh | 2008-09-02 18:00:04 -0700 (Tue, 02 Sep 2008) | 12 lines * diagnostic.c (error_at): New. * toplev.h (error_at): New prototype. * c-typeck.c (build_array_ref): Call error_at instead of error. Pass location to pedwarn. cp/ * typeck.c (build_array_ref): Use new location argument. * class.c (build_vtbl_ref_1): Pass location to build_array_ref. * call.c (build_new_op): Same. * decl2.c (grok_array_decl): Same. * cp-tree.h (build_array_ref): Add location argument to prototype. ........ r139926 | jason | 2008-09-02 21:10:27 -0700 (Tue, 02 Sep 2008) | 18 lines PR c++/37208 * call.c (build_over_call): Make =delete work with SFINAE. * class.c (resolve_address_of_overloaded_function): Likewise. * cp-tree.h (struct lang_decl_flags): Rename threadprivate_p to threadprivate_or_deleted_p. (CP_DECL_THREADPRIVATE_P): Adjust. (DECL_DELETED_FN): Likewise. (SD_UNINITIALIZED, SD_INITIALIZED, SD_DEFAULTED): New macros. (SD_DELETED): New macro. * parser.c (cp_parser_init_declarator): Use them. * decl.c (start_decl): Use them. * decl2.c (mark_used): Give =deleted error even in sizeof. * typeck2.c (check_narrowing): Downgrade narrowing error to permerror. ........ r139927 | dannysmith | 2008-09-02 23:07:34 -0700 (Tue, 02 Sep 2008) | 6 lines * gthr-win32.h (CONST_CAST2): Really make sure CONST_CAST2 is defined. (__gthread_setspecific): Revert 2008-08-31 change to __GTHREAD_HIDE_W32API case. Apply it to !__GTHREAD_HIDE_W32API case. ........ r139928 | bernds | 2008-09-03 02:32:18 -0700 (Wed, 03 Sep 2008) | 4 lines * config/bfin/bfin.c (bfin_expand_prologue): Honour no_stack_limit attribute. ........ r139930 | bernds | 2008-09-03 02:49:29 -0700 (Wed, 03 Sep 2008) | 4 lines From Michael Frysinger * config/bfin/bfin.c (bfin_handle_option): Remove BF561 warning. ........ r139931 | rguenth | 2008-09-03 04:35:18 -0700 (Wed, 03 Sep 2008) | 7 lines 2008-09-03 Richard Guenther PR tree-optimization/37328 * tree-sra.c (sra_build_assignment): Gimplify properly. (generate_copy_inout): Take the correct stmt as definition, remove bogus assert. ........ r139932 | pbrook | 2008-09-03 05:10:49 -0700 (Wed, 03 Sep 2008) | 15 lines 2008-09-03 Hari Sandanagobalane Add picoChip port. * MAINTAINERS: Add picoChip maintainers. libgcc/ * config.host: Add picochip-*-*. gcc/ * doc/extend.texi: Document picoChip builtin functions. * doc/invoke.texi: Document picoChip options. * doc/contrib.texi: Add picoChip contribution. * doc/md.texi: Document picoChip constraints. * config.gcc: Add picochip-*-*. * config/picochip/: Add new port. ........ r139934 | pbrook | 2008-09-03 05:19:34 -0700 (Wed, 03 Sep 2008) | 2 lines Move picochip directory to correct location. ........ r139935 | bernds | 2008-09-03 05:23:19 -0700 (Wed, 03 Sep 2008) | 21 lines gcc/ From Michael Frysinger * config/bfin/bfin.c (bfin_cpus[]): Add 0.1 for bf522, bf523, bf524, bf525, bf526, bf527, bf542, bf544, bf547, bf548, and bf549. Add 0.2 for bf538. gcc/testsuite/ From Mike Frysinger * gcc.target/bfin/mcpu-bf522.c: Check SILICON_REVISION is 0x0001. * gcc.target/bfin/mcpu-bf523.c: Likewise. * gcc.target/bfin/mcpu-bf524.c: Likewise. * gcc.target/bfin/mcpu-bf525.c: Likewise. * gcc.target/bfin/mcpu-bf526.c: Likewise. * gcc.target/bfin/mcpu-bf527.c: Likewise. * gcc.target/bfin/mcpu-bf542.c: Likewise. * gcc.target/bfin/mcpu-bf544.c: Likewise. * gcc.target/bfin/mcpu-bf547.c: Likewise. * gcc.target/bfin/mcpu-bf548.c: Likewise. * gcc.target/bfin/mcpu-bf549.c: Likewise. ........ r139937 | jakub | 2008-09-03 06:03:56 -0700 (Wed, 03 Sep 2008) | 7 lines PR c++/37436 * gimple.h (gimple_has_substatements): GIMPLE_OMP_CRITICAL has substatements. * tree-inline.c (remap_gimple_stmt): Handle GIMPLE_OMP_CRITICAL. * g++.dg/gomp/pr37436.C: New test. ........ r139938 | dje | 2008-09-03 06:18:42 -0700 (Wed, 03 Sep 2008) | 2 lines * g++.dg/ext/java-2.C: Disable on AIX. ........ r139940 | rguenth | 2008-09-03 09:08:05 -0700 (Wed, 03 Sep 2008) | 6 lines 2008-09-03 Richard Guenther * configure.ac: Always pass -DCLOOG_PPL_BACKEND to the cloog test. * configure: Re-generate. ........ r139941 | jakub | 2008-09-03 10:30:35 -0700 (Wed, 03 Sep 2008) | 2 lines Fix up PR number - PR c++/37346 ........ r139943 | paolo | 2008-09-03 10:46:09 -0700 (Wed, 03 Sep 2008) | 110 lines 2008-09-03 Chris Fairles * include/std/condition_variable: Use new deleted ctors. * include/std/mutex: Likewise plus implement timed_mutex, recursive_timed_mutex and call_once. * src/condition_variable.cc: Implement wait(). Use gthread types. Remove _GTHREADS_HAS_COND checks in favor of global _GLIBCXX_HAS_GTHREADS. * src/mutex.cc (call_once): Implementation using TLS with mutex fallback. * config/abi/pre/gnu.ver: Add exported symbols. * testsuite/lib/libstdc++.exp (check_v3_target_gthreads): New. * testsuite/lib/dg-options.exp (dg-require-gthreads): Likewise. * testsuite/30_threads/lock_guard/requirements/typedefs.cc: Use dg-require-gthreads and dg-require-cstdint. * testsuite/30_threads/lock_guard/requirements/ explicit_instantiation.cc: Likewise. * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise. * testsuite/30_threads/mutex/native_handle/1.cc: Likewise. * testsuite/30_threads/mutex/cons/1.cc: Likewise. * testsuite/30_threads/mutex/requirements/typedefs.cc: Likewise. * testsuite/30_threads/mutex/try_lock/1.cc: Likewise. * testsuite/30_threads/mutex/try_lock/2.cc: Likewise. * testsuite/30_threads/mutex/lock/1.cc: Likewise. * testsuite/30_threads/mutex/unlock/1.cc: Likewise. * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: Likewise. * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Likewise. * testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise. * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc: Likewise. * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise. * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise. * testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise. * testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise. * testsuite/30_threads/unique_lock/requirements/ explicit_instantiation.cc: Likewise. * testsuite/30_threads/unique_lock/requirements/typedefs.cc: Likewise. * testsuite/30_threads/mutex/cons/assign_neg.cc: Also adjust dg-error lines for deleted members. * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise. * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise. * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise. * testsuite/30_threads/call_once/once_flag.cc: New. * testsuite/30_threads/call_once/call_once1.cc: Likewise. * testsuite/30_threads/condition_variable/cons/1.cc: Likewise. * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise. * testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise. * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc: Likewise. * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: Likewise. * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc: Likewise. * testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise. * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise. * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise. * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise. * testsuite/30_threads/timed_mutex/requirements/typedefs.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise. * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise. * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/cons: Likewise. * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/requirements/typedefs.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc: Likewise. * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise. * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise. * testsuite/30_threads/unique_lock/cons/1.cc: Likewise. * testsuite/30_threads/unique_lock/cons/2.cc: Likewise. * testsuite/30_threads/unique_lock/cons/3.cc: Likewise. * testsuite/30_threads/unique_lock/cons/4.cc: Likewise. * testsuite/30_threads/unique_lock/cons/5.cc: Likewise. * testsuite/30_threads/unique_lock/cons/6.cc: Likewise. * testsuite/30_threads/unique_lock/locking/1.cc: Likewise. * testsuite/30_threads/unique_lock/locking/2.cc: Likewise. * testsuite/30_threads/unique_lock/locking/3.cc: Likewise. * testsuite/30_threads/unique_lock/locking/4.cc: Likewise. ........ r139944 | paolo | 2008-09-03 10:47:32 -0700 (Wed, 03 Sep 2008) | 110 lines 2008-09-03 Chris Fairles * include/std/condition_variable: Use new deleted ctors. * include/std/mutex: Likewise plus implement timed_mutex, recursive_timed_mutex and call_once. * src/condition_variable.cc: Implement wait(). Use gthread types. Remove _GTHREADS_HAS_COND checks in favor of global _GLIBCXX_HAS_GTHREADS. * src/mutex.cc (call_once): Implementation using TLS with mutex fallback. * config/abi/pre/gnu.ver: Add exported symbols. * testsuite/lib/libstdc++.exp (check_v3_target_gthreads): New. * testsuite/lib/dg-options.exp (dg-require-gthreads): Likewise. * testsuite/30_threads/lock_guard/requirements/typedefs.cc: Use dg-require-gthreads and dg-require-cstdint. * testsuite/30_threads/lock_guard/requirements/ explicit_instantiation.cc: Likewise. * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise. * testsuite/30_threads/mutex/native_handle/1.cc: Likewise. * testsuite/30_threads/mutex/cons/1.cc: Likewise. * testsuite/30_threads/mutex/requirements/typedefs.cc: Likewise. * testsuite/30_threads/mutex/try_lock/1.cc: Likewise. * testsuite/30_threads/mutex/try_lock/2.cc: Likewise. * testsuite/30_threads/mutex/lock/1.cc: Likewise. * testsuite/30_threads/mutex/unlock/1.cc: Likewise. * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: Likewise. * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Likewise. * testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise. * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc: Likewise. * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise. * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise. * testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise. * testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise. * testsuite/30_threads/unique_lock/requirements/ explicit_instantiation.cc: Likewise. * testsuite/30_threads/unique_lock/requirements/typedefs.cc: Likewise. * testsuite/30_threads/mutex/cons/assign_neg.cc: Also adjust dg-error lines for deleted members. * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise. * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise. * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise. * testsuite/30_threads/call_once/once_flag.cc: New. * testsuite/30_threads/call_once/call_once1.cc: Likewise. * testsuite/30_threads/condition_variable/cons/1.cc: Likewise. * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise. * testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise. * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc: Likewise. * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: Likewise. * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc: Likewise. * testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise. * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise. * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise. * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise. * testsuite/30_threads/timed_mutex/requirements/typedefs.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise. * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise. * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/cons: Likewise. * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/requirements/typedefs.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc: Likewise. * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise. * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise. * testsuite/30_threads/unique_lock/cons/1.cc: Likewise. * testsuite/30_threads/unique_lock/cons/2.cc: Likewise. * testsuite/30_threads/unique_lock/cons/3.cc: Likewise. * testsuite/30_threads/unique_lock/cons/4.cc: Likewise. * testsuite/30_threads/unique_lock/cons/5.cc: Likewise. * testsuite/30_threads/unique_lock/cons/6.cc: Likewise. * testsuite/30_threads/unique_lock/locking/1.cc: Likewise. * testsuite/30_threads/unique_lock/locking/2.cc: Likewise. * testsuite/30_threads/unique_lock/locking/3.cc: Likewise. * testsuite/30_threads/unique_lock/locking/4.cc: Likewise. ........ r139945 | hubicka | 2008-09-03 11:16:26 -0700 (Wed, 03 Sep 2008) | 21 lines PR tree-optimization/37315 * cgraph.c (cgraph_create_edge): Use gimple_has_body_p. * cgraphunit.c (verify_cgraph_node): drop gimple_body check. (cgraph_analyze_functions): Use node->analyzed (cgraph_mark_functions_to_output): Likewise. (cgraph_expand_function): All functions can be released after expanding. (cgraph_optimize): Use gimple_has_body_p. * ipa-inline.c (cgraph_clone_inlined_nodes): Use analyzed flag. (cgraph_decide_inlining_incrementally): Likewise. (inline_transform): Inline transform. * tree-inline.c (initialize_cfun): Do now shallow copy structure; copy fields needed. (inlinable_function_p): Drop gimple_body check. (expand_call_inline): Use gimple_has_body_p. * gimple.c (gimple_has_body_p): New. * gimple.h (gimple_has_body_p): Add prototype. * tree-cfg.c (execute_build_cfg): Remove gimple_body. (dump_function_to_file): Use gimple_has_body_p check. ........ r139946 | pinskia | 2008-09-03 11:48:27 -0700 (Wed, 03 Sep 2008) | 14 lines 2008-09-03 Andrew Pinski PR middle-end/37293 * cgraphunit.c (update_call_expr): Remove eh regions from statements which become non throw. (cgraph_function_versioning): Also clear DECL_WEAK. Call update_call_expr after updating the flags on the decl. 2008-09-03 Andrew Pinski PR middle-end/37293 * g++.dg/torture/ipa-cp-1.C: New test. ........ r139947 | pinskia | 2008-09-03 12:27:35 -0700 (Wed, 03 Sep 2008) | 7 lines 2008-09-03 Andrew Pinski PR middle-end/36445 * g++.dg/torture/pr36445.C: New test. ........ r139948 | vmakarov | 2008-09-03 12:49:30 -0700 (Wed, 03 Sep 2008) | 13 lines 2008-09-03 Vladimir Makarov PR rtl-opt/37296 * ira-int.h (ira_sort_insn_chain): Remove. * ira.c (basic_block_order_nums, chain_insn_order, chain_freq_compare, chain_bb_compare, ira_sort_insn_chain): Remove. (ira): Don't call ira_sort_insn_chain. * reload1.c (reload): Don't call ira_sort_insn_chain. ........ r139949 | vmakarov | 2008-09-03 13:12:27 -0700 (Wed, 03 Sep 2008) | 18 lines 2008-09-03 Vladimir Makarov PR rtl-opt/37243 * ira-conflicts.c (REG_SUBREG_P, go_through_subreg): New. (process_regs_for_copy): Process subregs. Refine check when cost is taken into account in ira-costs.c. (process_reg_shuffles): Use REG_SUBREG_P. (add_insn_allocno_copies): Ditto. Ignore modes. * ira-color.c (conflict_allocno_vec): New. (COST_HOP_DIVISOR): New macro. (update_copy_costs_1): Use it. (update_conflict_hard_regno_costs): New function. (assign_hard_reg): Use it. (ira_color): Allocate and free conflict_allocno_vec. ........ r139950 | rth | 2008-09-03 13:15:27 -0700 (Wed, 03 Sep 2008) | 3 lines * config/alpha/alpha.c (alpha_split_lock_test_and_set): Move memory barrier to below the test-and-set. (alpha_split_lock_test_and_set_12): Likewise. ........ r139952 | vmakarov | 2008-09-03 13:20:57 -0700 (Wed, 03 Sep 2008) | 24 lines 2008-09-03 Vladimir Makarov PR rtl-opt/37243 * ira-int.h (ira_loop_tree_node): Rename mentioned_allocnos to all_allocnos. * ira-color.c (print_loop_title): Use all_allocnos. (color_pass): Ditto. Don't add border_allocnos. Check that subloop allocno in the correspdoning bitmap all_allocnos. * ira-emit.c (change_loop): Use all_allocnos. * ira-build.c (create_loop_tree_nodes, finish_loop_tree_node): Ditto. (ira_create_allocno): Set up all_allocnos bit for the created allocno. (create_cap_allocno): Remove setting mentioned_allocnos. (create_insn_allocnos): Ditto. (remove_unnecessary_allocnos): Use all_allocnos. (check_allocno_creation): Check that allocnos are in the corresponding bitmap all_allocnos. ........ r139953 | law | 2008-09-03 13:22:49 -0700 (Wed, 03 Sep 2008) | 4 lines * h8300.c (expand_a_shift): Avoid invalid RTL sharing. ........ r139954 | jakub | 2008-09-03 13:28:52 -0700 (Wed, 03 Sep 2008) | 3 lines PR debug/37322 * gfortran.dg/debug/pr35154-dwarf2.f: Fix up scan-assembler regexps. ........ r139955 | jakub | 2008-09-03 13:33:21 -0700 (Wed, 03 Sep 2008) | 12 lines PR c++/37189 * cp-tree.h (defer_mark_used_calls, deferred_mark_used_calls): New extern decls. * decl2.c (mark_used): If defer_mark_used_calls, push decl into deferred_mark_used_calls vector and exit early. * decl.c (defer_mark_used_calls, deferred_mark_used_calls): New variables. (finish_function): Set defer_mark_used_calls for the duration of the function. Call mark_used on any queued decls. * g++.dg/gomp/pr37189.C: New test. ........ r139956 | jakub | 2008-09-03 13:34:35 -0700 (Wed, 03 Sep 2008) | 6 lines PR c++/37348 * decl.c (cp_finish_decl): Only set DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P if decl is VAR_DECL. * g++.dg/parse/crash45.C: New test. ........ r139959 | paolo | 2008-09-03 15:02:04 -0700 (Wed, 03 Sep 2008) | 110 lines 2008-09-03 Chris Fairles * include/std/condition_variable: Use new deleted ctors. * include/std/mutex: Likewise plus implement timed_mutex, recursive_timed_mutex and call_once. * src/condition_variable.cc: Implement wait(). Use gthread types. Remove _GTHREADS_HAS_COND checks in favor of global _GLIBCXX_HAS_GTHREADS. * src/mutex.cc (call_once): Implementation using TLS with mutex fallback. * config/abi/pre/gnu.ver: Add exported symbols. * testsuite/lib/libstdc++.exp (check_v3_target_gthreads): New. * testsuite/lib/dg-options.exp (dg-require-gthreads): Likewise. * testsuite/30_threads/lock_guard/requirements/typedefs.cc: Use dg-require-gthreads and dg-require-cstdint. * testsuite/30_threads/lock_guard/requirements/ explicit_instantiation.cc: Likewise. * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise. * testsuite/30_threads/mutex/native_handle/1.cc: Likewise. * testsuite/30_threads/mutex/cons/1.cc: Likewise. * testsuite/30_threads/mutex/requirements/typedefs.cc: Likewise. * testsuite/30_threads/mutex/try_lock/1.cc: Likewise. * testsuite/30_threads/mutex/try_lock/2.cc: Likewise. * testsuite/30_threads/mutex/lock/1.cc: Likewise. * testsuite/30_threads/mutex/unlock/1.cc: Likewise. * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: Likewise. * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Likewise. * testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise. * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc: Likewise. * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise. * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise. * testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise. * testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise. * testsuite/30_threads/unique_lock/requirements/ explicit_instantiation.cc: Likewise. * testsuite/30_threads/unique_lock/requirements/typedefs.cc: Likewise. * testsuite/30_threads/mutex/cons/assign_neg.cc: Also adjust dg-error lines for deleted members. * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise. * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise. * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise. * testsuite/30_threads/call_once/once_flag.cc: New. * testsuite/30_threads/call_once/call_once1.cc: Likewise. * testsuite/30_threads/condition_variable/cons/1.cc: Likewise. * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise. * testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise. * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc: Likewise. * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: Likewise. * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc: Likewise. * testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise. * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise. * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise. * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise. * testsuite/30_threads/timed_mutex/requirements/typedefs.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise. * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise. * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/cons: Likewise. * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/requirements/typedefs.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc: Likewise. * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise. * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise. * testsuite/30_threads/unique_lock/cons/1.cc: Likewise. * testsuite/30_threads/unique_lock/cons/2.cc: Likewise. * testsuite/30_threads/unique_lock/cons/3.cc: Likewise. * testsuite/30_threads/unique_lock/cons/4.cc: Likewise. * testsuite/30_threads/unique_lock/cons/5.cc: Likewise. * testsuite/30_threads/unique_lock/cons/6.cc: Likewise. * testsuite/30_threads/unique_lock/locking/1.cc: Likewise. * testsuite/30_threads/unique_lock/locking/2.cc: Likewise. * testsuite/30_threads/unique_lock/locking/3.cc: Likewise. * testsuite/30_threads/unique_lock/locking/4.cc: Likewise. ........ r139960 | hjl | 2008-09-03 15:08:03 -0700 (Wed, 03 Sep 2008) | 6 lines 2008-09-03 H.J. Lu * gcc.c-torture/compile/vector-4.c: Add -mavx for x86. * gcc.target/i386/avx-3.c: Require DFP support. ........ r139961 | paolo | 2008-09-03 15:31:29 -0700 (Wed, 03 Sep 2008) | 5 lines 2008-09-03 Paolo Carlini * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Check _POSIX_TIMERS too. * configure: Regenerate. ........ r139962 | danglin | 2008-09-03 15:50:07 -0700 (Wed, 03 Sep 2008) | 5 lines PR testsuite/37325 * config/pa/pa64-hpux.h (ASM_OUTPUT_EXTERNAL_REAL): Call default_elf_asm_output_external. ........ r139963 | paolo | 2008-09-03 15:50:59 -0700 (Wed, 03 Sep 2008) | 6 lines 2008-09-03 Paolo Carlini * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Fix typo in last commit, check _POSIX_TIMEOUTS, not _POSIX_TIMERS. * configure: Regenerate. ........ r139966 | gccadmin | 2008-09-03 17:16:32 -0700 (Wed, 03 Sep 2008) | 1 line Daily bump. ........ r139968 | paolo | 2008-09-03 17:57:57 -0700 (Wed, 03 Sep 2008) | 15 lines 2008-09-03 Paolo Carlini * config/abi/pre/gnu.ver: Also export __once_functor_lock; tighten GLIBCXX_3.4 exports (necessary in case of undef _GLIBCXX_HAVE_TLS). * Makefile.in: Regenerate. * src/Makefile.in: Likewise. * doc/Makefile.in: Likewise. * po/Makefile.in: Likewise. * libmath/Makefile.in: Likewise. * include/Makefile.in: Likewise. * libsupc++/Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. ........ r139969 | dje | 2008-09-03 18:03:38 -0700 (Wed, 03 Sep 2008) | 10 lines 2008-09-03 David Edelsohn * config/rs6000/rs6000.c (processor_target_table): Do not enable VMX for POWER6. 2008-09-03 Anton Blanchard * config/rs6000/rs6000.c (rs6000_split_lock_test_and_set): Do not emit memory barrier before operation. ........ r139970 | grosser | 2008-09-03 18:15:41 -0700 (Wed, 03 Sep 2008) | 6 lines 2008-09-03 Tobias Grosser * gcc/testsuite/lib/target-supports.exp (check_effective_target_fgraphite): Fix test. Graphite is only available with -O1. ........ r139973 | spop | 2008-09-03 22:57:10 -0700 (Wed, 03 Sep 2008) | 8 lines 2008-09-03 Sebastian Pop * configure.ac (--with-cloog-polylib): New. (--disable-cloog-version-check): New. (--disable-ppl-version-check): New. * configure: Re-generate. ........ r139977 | ktietz | 2008-09-04 01:25:25 -0700 (Thu, 04 Sep 2008) | 6 lines 2008-09-04 Kai Tietz * config/i386/t-mingw32 (SHLIB_LC): Change order of import libraries. ........ r139979 | nickc | 2008-09-04 02:43:08 -0700 (Thu, 04 Sep 2008) | 7 lines * configure.ac (HAVE_GAS_LCOMM_WITH_ALIGNMENT): New assembler check. * configure: Regenerate. * config.in: Regenerate. * config/i386/bsd.h (ASM_OUTPUT_ALIGNED_LOCAL): Use .lcomm with an alignment field, if it is supported. ........ r139980 | hubicka | 2008-09-04 03:30:26 -0700 (Thu, 04 Sep 2008) | 8 lines PR tree-optimization/37345 PR tree-optimization/37358 PR tree-optimization/37357 * tree.c (build_function_type_skip_args): Build distinct type copy; set TYPE_CONTEXT. (build_function_decl_skip_args): Set type of new decl not orig decl; clear DECL_VINDEX for methods turned into functions. ........ r139981 | hubicka | 2008-09-04 03:34:35 -0700 (Thu, 04 Sep 2008) | 8 lines * tree-vrp.c (vrp_evaluate_conditional_warnv_with_ops_using_ranges): Break out from ... (vrp_evaluate_conditional_warnv_with_ops): ... this one. Add using_ranges argument. (vrp_evaluate_conditional): Avoid bogus warning for type range. (vrp_visit_cond_stmt): Update call of vrp_evaluate_conditional_warnv_with_ops ........ r139982 | irar | 2008-09-04 03:41:50 -0700 (Thu, 04 Sep 2008) | 7 lines * gcc.dg/vect/slp-perm-1.c: Add call to check_vect. * gcc.dg/vect/slp-perm-2.c, gcc.dg/vect/slp-perm-3.c, gcc.dg/vect/slp-perm-4.c, gcc.dg/vect/slp-perm-5.c, gcc.dg/vect/slp-perm-6.c, gcc.dg/vect/slp-perm-7.c, gcc.dg/vect/slp-perm-8.c, gcc.dg/vect/slp-perm-9.c: Likewise. ........ r139983 | hubicka | 2008-09-04 03:45:57 -0700 (Thu, 04 Sep 2008) | 5 lines PR middle-end/37343 * tree-switch-conversion.c (check_final_bb): Accept only IP invariants. * g++.dg/torture/pr37343.C New file. ........ r139986 | paolo | 2008-09-04 07:35:54 -0700 (Thu, 04 Sep 2008) | 8 lines 2008-09-04 Chris Fairles * include/std/mutex (once_flag): Construct __gthread_once_t in a temporary variable before assigning to _M_once to avoid initialization errors. ........ r139987 | hjl | 2008-09-04 08:46:05 -0700 (Thu, 04 Sep 2008) | 5 lines 2008-09-04 H.J. Lu PR rtl-optimization/37243 * gfortran.dg/pr37243.f: New. ........ r139989 | bernds | 2008-09-04 09:10:09 -0700 (Thu, 04 Sep 2008) | 4 lines * config/bfin/bfin.c (bfin_function_ok_for_sibcall): Restore a null pointer check lost in the recent no-unit-at-a-time patch. ........ r139990 | pbrook | 2008-09-04 09:43:24 -0700 (Thu, 04 Sep 2008) | 5 lines 2008-09-04 Paul Brook * config/arm/arm.c (arm_size_rtx_costs): Call cost function. ........ r139991 | ian | 2008-09-04 10:32:38 -0700 (Thu, 04 Sep 2008) | 49 lines ./: * rtl.h (LABEL_REF_NONLOCAL_P): Don't check for REG_LABEL_OPERAND or REG_LABEL_TARGET. * calls.c (emit_library_call_value_1): Use MEM_P rather than comparing MODE with MEM. * gimple.c (gimple_build_predict): Cast END_PREDICTORS before comparing with GF_PREDICT_TAKEN. (gimple_get_lhs): Change code to enum gimple_code. (gimple_set_lhs): Likewise. * ifcvt.c (noce_process_if_block): Correct GET_MODE to GET_CODE. * omp-low.c (find_omp_clause): Change kind parameter to enum omp_clause_code. * tree-flow.h (find_omp_clause): Update declaration. * regrename.c (clear_dead_regs): Change kind parameter to enum reg_note. * reload1.c (eliminate_regs_1): Use REG_NOTE_KIND rather than GET_MODE. * see.c (see_get_extension_data): Change return type to enum entry_type. Change UNKNOWN to NOT_RELEVANT, SIGN_EXTEND to SIGNED_EXTENDED_DEF, ZERO_EXTEND to ZERO_EXTENDED_DEF. (see_gen_normalized_extension): Change extension_code parameter to enum entry_type. (see_seek_pre_extension_expr): Change extension_code to enum entry_type. (see_merge_one_def_extension): Likewise. (see_handle_relevant_defs): Likewise. (see_handle_relevant_uses): Likewise. (see_analyze_one_def): Likewise. * tree-cfg.c (need_fake_edge_p): Compare gimple code with GIMPLE_ASM rather than ASM_EXPR. * tree-ssa-alias.c (is_escape_site): Compare gimple code with GIMPLE_RETURN rather than RETURN_EXPR. * tree-ssa-ccp.c (likely_value): Change code to enum gimple_code. (evaluate_stmt): Likewise. * tree-vect-analyze.c (vect_analyze_operations): Change relevance to enum vect_relevant. (vect_mark_stmts_to_be_vectorized): Change assertion to not compare gimple codes with tree codes. cp/: * parser.c (check_no_duplicate_clause): Change code parameter to enum omp_clause_code. fortran/: * symbol.c (generate_isocbinding_symbol): Compare gfc_notification_std with ERROR rather than FAILURE. * resolve.c (check_assumed_size_reference): Compare array type with AR_FULL rather than DIMEN_ELEMENT. (resolve_actual_arglist): Compare with EXPR_VARIABLE rather than FL_VARIABLE. ........ r139993 | rsandifo | 2008-09-04 11:47:35 -0700 (Thu, 04 Sep 2008) | 20 lines gcc/ PR middle-end/37243 * ira-build.c (form_loop_tree): Reverse BB walk. (create_bb_allocnos): Likewise. * ira-lives.c (make_regno_born_and_dead, regs_set): Delete. (mark_reg_store): Rename to... (mark_ref_live): ...this and take a df_ref argument instead of note_stores arguments. Assert that we have a register. (mark_reg_clobber): Delete. (def_conflicts_with_inputs_p): New function. (mark_reg_conflicts): Delete. (mark_reg_death): Rename to... (mark_ref_dead): ...this and take a df_ref argument instead of a register. Assert that we have a register. (process_bb_node_lives): Hoist frequency calculation out of instruction walk. Convert from a forwards scan to a backwards scan. Use DF_REF_USES and DF_REF_DEFS instead of register notes and note_stores. Remove EH_RETURN_DATA_REGNO and regs_set handling. (create_allocno_live_ranges): Don't create regs_set. ........ r139994 | paolo | 2008-09-04 11:57:42 -0700 (Thu, 04 Sep 2008) | 6 lines 2008-09-04 Paolo Carlini * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Tidy checks in case of POSIX threads. * configure: Regenerate. ........ r139996 | hjl | 2008-09-04 12:02:33 -0700 (Thu, 04 Sep 2008) | 5 lines 2008-09-04 Vladimir Makarov PR middle-end/37359 * ira-lives.c (process_bb_node_lives): Check setjmp. ........ r139997 | domob | 2008-09-04 12:16:13 -0700 (Thu, 04 Sep 2008) | 13 lines 2008-09-04 Daniel Kraft * PR fortran/37099 * expr.c (simplify_const_ref): Update expression's character length when pulling out a substring reference. 2008-09-04 Daniel Kraft PR fortran/37099 * gfortran.dg/string_compare_1.f90: New text. * gfortran.dg/string_compare_2.f90: New text. * gfortran.dg/string_compare_3.f90: New text. ........ r139998 | rsandifo | 2008-09-04 12:16:14 -0700 (Thu, 04 Sep 2008) | 4 lines gcc/ * df-scan.c (df_get_entry_block_def_set): Add STACK_POINTER_REGNUM regardless of epilogue_completed. ........ r139999 | bernds | 2008-09-04 12:18:26 -0700 (Thu, 04 Sep 2008) | 4 lines * config/bfin/bfin.c (gen_one_bundle): Don't create new nops when optimizing for size. ........ r140001 | rguenth | 2008-09-04 12:32:02 -0700 (Thu, 04 Sep 2008) | 9 lines 2008-09-04 Richard Guenther * trans-array.c (gfc_conv_array_parameter): Use correct types in building COND_EXPRs. * trans-expr.c (gfc_conv_missing_dummy): Likewise. * trans-intrinsics.c (gfc_conv_intrinsic_merge): Likewise. * gfortran.dg/internal_pack_4.f90: Adjust pattern. ........ r140003 | redi | 2008-09-04 13:10:14 -0700 (Thu, 04 Sep 2008) | 2 lines * doc/xml/manual/locale.xml: Fix typo. ........ r140005 | lcwu | 2008-09-04 13:29:54 -0700 (Thu, 04 Sep 2008) | 2 lines Add myself to MAINTAINERS file under "Write After Approval". ........ r140008 | nemet | 2008-09-04 14:02:30 -0700 (Thu, 04 Sep 2008) | 12 lines * config/mips/mips.h (ISA_HAS_CINS): New macro. * config/mips/mips-protos.h (mask_low_and_shift_p, mask_low_and_shift_len): Declare. * config/mips/mips.c (mask_low_and_shift_p, mask_low_and_shift_len): New functions. (mips_print_operand): Handle new operand prefix "m". * config/mips/mips.md (*cins): New pattern. testsuite/ * gcc.target/mips/octeon-cins-1.c: New test. * gcc.target/mips/octeon-cins-2.c: New test. ........ r140009 | nemet | 2008-09-04 14:24:31 -0700 (Thu, 04 Sep 2008) | 26 lines * config/mips/mips.h (ISA_HAS_EXTS): New macro. * config/mips/mips.md (*ashr_trunc): Name the pattern combining an arithmetic right shift by more than 31 and a trunction. Don't match for out-of-range shift amounts. Set attribute mode to . (*lshr32_trunc): Name the pattern combining a logical right shift by 32 and and a truncation. Set attribute mode to . (*_trunc_exts): New pattern for truncated right shifts by less than 32. (extv): Change predicate on first operand to accept registers. Change predicate of the other operands from immediate_operand to const_int_operand. Expand exts when source is a register. (extzv): Change predicate of the constant operands from immediate_operand to const_int_operand. (extzv): Change predicate of the constant operands from immediate_operand to const_int_operand and no constraint. Also remove mode. (*extzv_trunc_exts): New pattern. testsuite/ * gcc.target/mips/truncate-2.c: New test. * gcc.target/mips/octeon-exts-1.c: New test. * gcc.target/mips/octeon-exts-2.c: New test. * gcc.target/mips/octeon-exts-3.c: New test. * gcc.target/mips/octeon-exts-4.c: New test. ........ r140010 | nemet | 2008-09-04 15:19:49 -0700 (Thu, 04 Sep 2008) | 24 lines * config/mips/mips.h (ISA_HAS_SEQ_SNE): New macro. * config/mips/mips.c (mips_expand_scc): Also expand seq and sne if second operand is a reg_imm10_operand. * config/mips/mips.md (*seq__seq, *sne__sne): New patterns. (*seq_): Rename to *seq_zero_. Don't match if ISA_HAS_SEQ_SNE. (*seq__mips16): Rename to *seq_zero__mip16. Don't match if ISA_HAS_SEQ_SNE. (*sne_): Rename to *sne_zero_. Don't match if ISA_HAS_SEQ_SNE. testsuite/ * gcc.target/mips/seq-1.c: New test. * gcc.target/mips/octeon-seq-1.c: New test. * gcc.target/mips/octeon-seq-2.c: New test. * gcc.target/mips/octeon-seq-3.c: New test. * gcc.target/mips/octeon-seq-4.c: New test. * gcc.target/mips/scc-2.c: Also pass on sltiu. * gcc.target/mips/scc-3.c: Likewise. ........ r140012 | redi | 2008-09-04 15:33:10 -0700 (Thu, 04 Sep 2008) | 25 lines PR libstdc++/36962 * include/Makefile.am: Update headers. * include/Makefile.in: Regenerate. * include/std/memory: Update headers. * include/tr1/memory: Likewise. * include/tr1_impl/boost_shared_ptr.h: Remove, splitting into separate implementations for std and tr1. * include/bits/boost_sp_shared_count.h: Remove. * include/tr1/boost_sp_shared_count.h: Remove. * include/bits/shared_ptr.h: New. Combines boost_sp_shared_count.h and boost_shared_ptr.h into one file. (__shared_count,__shared_ptr,shared_ptr,swap): Add unique_ptr and rvalue-reference support as per current WP. * include/tr1/shared_ptr.h: New. Combines boost_sp_shared_count.h and boost_shared_ptr.h into one file. * testsuite/20_util/shared_ptr/cons/unique_ptr.cc: New. * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc: New. * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: New. * testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: New. * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue.cc: New. * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc: New. * testsuite/20_util/shared_ptr/assign/unique_ptr_rvalue.cc: New. * testsuite/20_util/shared_ptr/modifiers/swap_rvalue.cc: New. * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue_neg.cc: Remove. ........ r140013 | janis | 2008-09-04 16:32:05 -0700 (Thu, 04 Sep 2008) | 6 lines 2008-09-04 Samuel Tardieu PR target/32783 * config/rs6000/rs6000.c (optimization_options): Remove check of flag_toplevel_order. ........ r140014 | vmakarov | 2008-09-04 16:35:03 -0700 (Thu, 04 Sep 2008) | 14 lines 2008-09-04 Vladimir Makarov * ira-conflicts.c (process_regs_for_copy): Check insn to check that the cost is already taken into account in ira-costs.c * ira-int.h (ira_debug_copy, ira_debug_copies): New. * ira-build.c (print_copy, print_copies, ira_debug_copy, ira_debug_copies): New. (ira_bulid): Call print_copies. * doc/tm.texi (IRA_COVER_CLASSES): Fix the description. ........ r140018 | gccadmin | 2008-09-04 17:16:34 -0700 (Thu, 04 Sep 2008) | 1 line Daily bump. ........ r140020 | janis | 2008-09-04 17:28:36 -0700 (Thu, 04 Sep 2008) | 2 lines * config/rs6000/t-rs6000: Remove target gt-rs6000.h. ........ r140023 | law | 2008-09-04 18:29:59 -0700 (Thu, 04 Sep 2008) | 5 lines * fold-const.c (native_encode_real): Fix computation of WORDS. (native_interpret_real): Likewise. ........ r140025 | ian | 2008-09-04 22:36:31 -0700 (Thu, 04 Sep 2008) | 7 lines ./: * varasm.c (narrowing_initializer_constant_valid_p): New static function. (initializer_constant_valid_p): Call it. testsuite/: * g++.dg/init/const7.C: New test. ........ r140030 | hubicka | 2008-09-05 01:44:11 -0700 (Fri, 05 Sep 2008) | 5 lines * i386.c (decide_alg): Be more conservative about optimizing for size. * gcc.target/i386/cold-attribute-1.c: Update testcase. ........ r140031 | bonzini | 2008-09-05 02:13:25 -0700 (Fri, 05 Sep 2008) | 6 lines 2008-09-05 Paolo Bonzini * emit-rtl.c (gen_rtvec): Rewrite not using gen_rtvec_v. (gen_rtvec_v): Fix coding standards. ........ r140032 | rguenth | 2008-09-05 03:08:56 -0700 (Fri, 05 Sep 2008) | 5 lines 2008-09-05 Richard Guenther * configure.ac: Initialize clooglibs to -lcloog. * configure: Re-generate. ........ r140033 | jakub | 2008-09-05 04:07:45 -0700 (Fri, 05 Sep 2008) | 33 lines Convert ChangeLog files to UTF-8. Command used: LC_ALL=C sed -i \ -e 's/D\(o\|\xf6\)nmez/D\xc3\xb6nmez/' \ -e 's/\(Av\|\x81\xc1v\|\xc1v\|\xef\xbf\xbdv\?\|\x81\xc3\x81v\|\xc3v\)ila/\xc3\x81vila/' \ -e 's/Esp\(in\|\x81\xedn\|\xedn\|\xef\xbf\xbdn\?\|\xef\xbf\xbd\xadn\|\x81\xc3\xadn\)dola/Esp\xc3\xadndola/' \ -e 's/Schl\(u\|\xef\xbf\xbd\|\xfcu\?\|\x81\xfc\|\x81\xc3\xbc\|\xc3\xaf\xc2\xbf\xc2\xbd\|\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xc2\xbc\)ter/Schl\xc3\xbcter/' \ -e 's/Humi\(e\|\xe8\)res/Humi\xc3\xa8res/' \ -e 's/L\(ow\|\xc3\xaf\xc2\xbf\xc2\xbd\|oew\|\xf6w\)is/L\xc3\xb6wis/' \ -e 's/G\xfctlein/G\xc3\xbctlein/' \ -e 's/G\xe1[b]or/G\xc3\xa1bor/' \ -e 's/L\xf3ki/L\xc3\xb3ki/' \ -e 's/Fautr\xc3 /Fautr\xc3\xa9 /' \ -e 's/S\xe9[b]astian/S\xc3\xa9bastian/' \ -e 's/Th\xef\xbf\xbd[d]ore/Th\xc3\xa9odore/' \ -e 's/Cors\xc3\xc2\xa9pius/Cors\xc3\xa9pius/' \ -e 's/K\xfchl/K\xc3\xbchl/' \ -e 's/R\xf6nnerup/R\xc3\xb6nnerup/' \ -e 's/L\xf8vset/L\xc3\xb8vset/' \ -e 's/Ph\x81\xfb\x81\xf4ng-Th\x81\xe5o/Ph\xc3\xbb\xc3\xb4ng-Th\xc3\xa5o/' \ -e 's/V\x81\xf5/V\xc3\xb5/' \ -e 's/J\xf6nsson/J\xc3\xb6nsson/' \ -e 's/V\xef\xbf\xbdis\xef\xbf\xbdnen/V\xc3\xa4is\xc3\xa4nen/' \ -e 's/J\xef\xbf\xbdrg/J\xc3\xb6rg/' \ -e 's/M\xef\xbf\xbdsli/M\xc3\xb6sli/' \ -e 's/R\xe4ty/R\xc3\xa4ty/' \ -e 's/2003\xc2\xad-/2003-/' \ -e 's/\xc2\xa0/ /g' \ -e 's/ \xa0/ /g' \ -e 's/\xa0 //' \ `find . -name \*ChangeLog\* | grep -v /.svn` ........ r140034 | domob | 2008-09-05 04:56:23 -0700 (Fri, 05 Sep 2008) | 13 lines 2008-09-05 Daniel Kraft PR fortran/36746 * primary.c (gfc_match_rvalue): Removed logic to handle implicit typing to a derived-type if a component reference is found. (gfc_match_varspec): Moved it here. 2008-09-05 Daniel Kraft PR fortran/36746 * gfortran.dg/implicit_derived_type_1.f90: New test. * gfortran.dg/used_before_typed_5.f90: New test. ........ r140035 | jsm28 | 2008-09-05 08:39:40 -0700 (Fri, 05 Sep 2008) | 11 lines * config/mips/mips.h (enum reg_class): Add FRAME_REGS. (REG_CLASS_NAMES): Update. (REG_CLASS_CONTENTS): Update. * config/mips/mips.c (mips_regno_to_class): Use FRAME_REGS instead of ALL_REGS for regs 77 and 78. * function.c (instantiate_virtual_regs_in_insn): Assert that return value of simplify_gen_subreg is not NULL. testsuite: * gcc.c-torture/compile/20080903-1.c: New test. ........ r140036 | bwilson | 2008-09-05 09:37:14 -0700 (Fri, 05 Sep 2008) | 13 lines * config/xtensa/predicates.md (nonimmed_operand, mem_operand): Use constantpool_mem_p. (constantpool_operand): New. (move_operand): Disallow sub-word modes for the constant pool. * config/xtensa/xtensa.c (TARGET_SECONDARY_RELOAD): Define. (xtensa_secondary_reload_class): Replace with.... (xtensa_secondary_reload): this function. Remove SIGN_EXTEND check. Set icode for sub-word reloads from the constant pool. * config/xtensa/xtensa.h (SECONDARY_INPUT_RELOAD_CLASS): Delete. (SECONDARY_OUTPUT_RELOAD_CLASS): Delete. * config/xtensa/xtensa.md (reload_literal): New. * config/xtensa/xtensa-protos.h: Update prototypes. ........ r140037 | dgregor | 2008-09-05 10:04:12 -0700 (Fri, 05 Sep 2008) | 13 lines 2008-09-05 Douglas Gregor PR c++/37342 * tree.c (cp_build_qualified_type_real): Deal with sharing of TYPE_LANG_SPECIFIC in the canonical types of pointer-to-method types. 2008-09-05 Douglas Gregor PR c++/37342 * g++.dg/other/canon-37342.C: New. ........ r140038 | daney | 2008-09-05 10:09:02 -0700 (Fri, 05 Sep 2008) | 19 lines 2008-09-05 David Daney * doc/install.texi (--enable-reduced-reflection): Document new option. 2008-09-05 David Daney * configure.ac (reduced-reflection): New AC_ARG_ENABLE. (build_libgcj_reduced_reflection): New variable. (BUILD_LIBGCJ_REDUCED_REFLECTION): New AM_CONDITIONAL. * Makefile.am (LIBGCJ_REDUCED_REFLECTION_FLAGS): New variable. (%.lo: %.list): Add LIBGCJ_REDUCED_REFLECTION_FLAGS to compile command. (java/util/concurrent.lo, java/util/concurrent/atomic.lo, java/util/concurrent/locks.lo): Override LIBGCJ_REDUCED_REFLECTION_FLAGS. * Makefile.in, include/Makefile.in, testsuite/Makefile.in, gcj/Makefile.in, configure: Regenerate. ........ r140039 | paolo | 2008-09-05 10:12:02 -0700 (Fri, 05 Sep 2008) | 11 lines 2008-09-05 Peter Dimov * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_2.cc: New. 2008-09-05 Paolo Carlini * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: Rename to... * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_1.cc: ... this. ........ r140040 | janis | 2008-09-05 10:13:52 -0700 (Fri, 05 Sep 2008) | 4 lines PR target/37283 * opts.c (decode_options): Handle more relationships among unit-at-a-time, toplevel-reorder, and section-anchors. ........ r140041 | daney | 2008-09-05 10:38:06 -0700 (Fri, 05 Sep 2008) | 2 lines * gcj.texi (-freduced-reflection): Clarify option's restrictions. ........ r140042 | joel | 2008-09-05 11:46:56 -0700 (Fri, 05 Sep 2008) | 6 lines 2008-09-05 Joel Sherrill * s-stchop-rtems.adb: Add file missed in early commit. Already referenced in gcc-interface/Makefile.in. ........ r140043 | janis | 2008-09-05 12:29:26 -0700 (Fri, 05 Sep 2008) | 2 lines testsuite/ligbomp.c/c.exp: Unset lang_test_file only if it exists. ........ r140044 | janis | 2008-09-05 13:27:48 -0700 (Fri, 05 Sep 2008) | 2 lines * opts.c (decode_options): Combine nested if statements. ........ r140046 | domob | 2008-09-05 13:51:50 -0700 (Fri, 05 Sep 2008) | 11 lines 2008-09-05 Daniel Kraft PR fortran/35837 * resolve.c (resolve_types): Restore gfc_current_ns on exit. * symbol.c (gfc_save_all): Removed blank line. 2008-09-05 Daniel Kraft PR fortran/35837 * gfortran.dg/save_3.f90: New test. ........ r140047 | tsmigiel | 2008-09-05 15:12:24 -0700 (Fri, 05 Sep 2008) | 27 lines Improved branch hints, safe hints, and scheduling. * haifa-sched.c (sched_emit_insn) : Define. * sched-int.h (sched_emit_insn) : Add prototype. * doc/invoke.texi (-mdual-nops, -mhint-max-nops, -mhint-max-distance -msafe-hints) : Document. * config/spu/spu.c (spu_flag_var_tracking): New. (TARGET_SCHED_INIT_GLOBAL, TARGET_SCHED_INIT, TARGET_SCHED_REORDER, TARGET_SCHED_REORDER2, TARGET_ASM_FILE_START): Define. (TARGET_SCHED_ADJUST_PRIORITY): Remove. (STOP_HINT_P, HINTED_P, SCHED_ON_EVEN_P): Define. (spu_emit_branch_hint): Add blocks argument. (insert_branch_hints, insert_nops): Remove. (pad_bb, insert_hbrp_for_ilb_runout, insert_hbrp, in_spu_reorg, uses_ls_unit, spu_sched_init_global, spu_sched_init, spu_sched_reorder, asm_file_start): New functions. (clock_var, spu_sched_length, pipe0_clock, pipe1_clock, prev_clock_var, prev_priority, spu_ls_first, prev_ls_clock): New static variables. * config/spu/spu.h (TARGET_DEFAULT): Add MASK_SAFE_HINTS. * config/spu.md (iprefetch): Add operand, make it clobber MEM. (nopn_nv): Add a non-volatile version of nop. * config/spu/spu.opt (-mdual-nops, -mhint-max-nops, -mhint-max-distance, -msafe-hints): New options. ........ r140050 | gccadmin | 2008-09-05 17:16:41 -0700 (Fri, 05 Sep 2008) | 1 line Daily bump. ........ r140052 | vmakarov | 2008-09-05 17:39:58 -0700 (Fri, 05 Sep 2008) | 6 lines 2008-09-04 Vladimir Makarov * ira-color.c (ira_fast_allocation): Permit global allocno allocation. ........ r140053 | vmakarov | 2008-09-05 17:44:13 -0700 (Fri, 05 Sep 2008) | 5 lines 2008-09-05 Vladimir Makarov * doc/tm.texi (IRA_COVER_CLASSES): Fix a typo. ........ r140054 | rsandifo | 2008-09-06 01:08:49 -0700 (Sat, 06 Sep 2008) | 12 lines gcc/ * ira-int.h (ira_zero_hard_reg_set, ira_one_hard_reg_set): Delete. * ira-color.c (setup_allocno_left_conflicts_num): Use hard_reg_set_equal_p instead of a comparison with ira_zero_hard_reg_set. * ira.c (setup_reg_subclasses): Likewise. (setup_cover_and_important_classes): Likewise. (setup_class_translate): Likewise. (setup_reg_class_intersect_union): Likewise. (ira_zero_hard_reg_set, ira_one_hard_reg_set): Delete. (ira_init_once): Don't initialize them. ........ r140055 | rsandifo | 2008-09-06 01:13:09 -0700 (Sat, 06 Sep 2008) | 53 lines gcc/ 2008-xx-xx Richard Sandiford Peter Fuerst * doc/invoke.texi: Document -mr10k-cache-barrier=. * doc/extend.texi: Document __builtin_mips_cache. * config/mips/mips-ftypes.def: Add a (VOID, SI, CVPOINTER) entry. * config/mips/mips.opt (mr10k-cache-barrier=): New option. * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Define __GCC_HAVE_BUILTIN_MIPS_CACHE. (TARGET_CACHE_BUILTIN, ISA_HAS_CACHE): New macros. * config/mips/mips.c (mips_r10k_cache_barrier_setting): New enum. (set_push_mips_isas): New variable. (mips_r10k_cache_barrier): New variable. (cache): New availability predicate. (mips_builtins): Add an entry for __builtin_mips_cache. (mips_build_cvpointer_type): New function. (MIPS_ATYPE_CVPOINTER): New macro. (mips_prepare_builtin_arg): Only use the insn's mode if the rtx's mode is VOIDmode. (r10k_simplified_address_p, r10k_simplify_address) (r10k_uncached_address_p, r10k_safe_address_p) (r10k_needs_protection_p_1, r10k_needs_protection_p_store) (r10k_needs_protection_p_call, r10k_needs_protection_p) (r10k_insert_cache_barriers): New functions. (mips_reorg_process_insns): Delete cache barriers after a branch-likely instruction. (mips_reorg): Call r10k_insert_cache_barriers. (mips_handle_option): Handle OPT_mr10k_cache_barrier_. * config/mips/mips.md (UNSPEC_MIPS_CACHE): New constant. (UNSPEC_R10K_CACHE_BARRIER): Likewise. (mips_cache, r10k_cache_barrier): New define_insns. gcc/testsuite/ * gcc.target/mips/mips.exp (dg-mips-options): Make -mr10k-cache-barrier=* imply -mips3 or above. * gcc.target/mips/cache-1.c: New test. * gcc.target/mips/r10k-cache-barrier-1.c: Likewise. * gcc.target/mips/r10k-cache-barrier-2.c: Likewise. * gcc.target/mips/r10k-cache-barrier-3.c: Likewise. * gcc.target/mips/r10k-cache-barrier-4.c: Likewise. * gcc.target/mips/r10k-cache-barrier-5.c: Likewise. * gcc.target/mips/r10k-cache-barrier-6.c: Likewise. * gcc.target/mips/r10k-cache-barrier-7.c: Likewise. * gcc.target/mips/r10k-cache-barrier-8.c: Likewise. * gcc.target/mips/r10k-cache-barrier-9.c: Likewise. * gcc.target/mips/r10k-cache-barrier-10.c: Likewise. * gcc.target/mips/r10k-cache-barrier-11.c: Likewise. * gcc.target/mips/r10k-cache-barrier-12.c: Likewise. * gcc.target/mips/r10k-cache-barrier-13.c: Likewise. * gcc.target/mips/r10k-cache-barrier-14.c: Likewise. * gcc.target/mips/r10k-cache-barrier-15.c: Likewise. ........ r140056 | rsandifo | 2008-09-06 02:21:39 -0700 (Sat, 06 Sep 2008) | 4 lines gcc/ * config/mips/mips.c (mips_function_ok_for_sibcall): Check for DECL being null. ........ r140060 | burnus | 2008-09-06 07:53:26 -0700 (Sat, 06 Sep 2008) | 209 lines 2008-09-06 Tobias Burnus * libgfortran.h (likely,unlikely): New makros. (runtime_warning_at,__mingw_snprintf): Add __attribute__(format()). * m4/spread.m4 (spread_'rtype_code`): Use unlikely for bounds_check. * m4/iforeach.m4 (name`'rtype_qual`_'atype_code): Ditto. * m4/matmull.m4 (matmul_'rtype_code`): Ditto. * m4/ifunction_logical.m4 (name`'rtype_qual`_'atype_code): Ditto. * m4/ifunction.m4 (name`'rtype_qual`_'atype_code): Ditto. * m4/matmul.m4 (matmul_'rtype_code`): Ditto. * generated/minval_r8.c: Regenerated. * generated/spread_r10.c: Regenerated. * generated/minloc1_16_r16.c: Regenerated. * generated/maxloc1_4_r8.c: Regenerated. * generated/sum_i8.c: Regenerated. * generated/any_l16.c: Regenerated. * generated/spread_i8.c: Regenerated. * generated/maxval_i2.c: Regenerated. * generated/any_l2.c: Regenerated. * generated/product_r4.c: Regenerated. * generated/maxloc1_8_i4.c: Regenerated. * generated/maxloc0_4_r4.c: Regenerated. * generated/all_l1.c: Regenerated. * generated/matmul_r8.c: Regenerated. * generated/product_i2.c: Regenerated. * generated/minloc0_4_r16.c: Regenerated. * generated/minloc0_4_i1.c: Regenerated. * generated/maxloc0_4_r16.c: Regenerated. * generated/maxloc0_4_i2.c: Regenerated. * generated/minloc1_8_r16.c: Regenerated. * generated/maxloc1_8_r16.c: Regenerated. * generated/maxloc0_8_i8.c: Regenerated. * generated/sum_r16.c: Regenerated. * generated/sum_i1.c: Regenerated. * generated/minloc1_4_r8.c: Regenerated. * generated/maxloc1_16_r16.c: Regenerated. * generated/minloc1_16_i4.c: Regenerated. * generated/maxloc1_16_i4.c: Regenerated. * generated/minloc0_16_i8.c: Regenerated. * generated/spread_i1.c: Regenerated. * generated/maxloc0_16_i8.c: Regenerated. * generated/maxval_r16.c: Regenerated. * generated/product_c10.c: Regenerated. * generated/minloc1_8_i4.c: Regenerated. * generated/minloc0_16_i16.c: Regenerated. * generated/matmul_r16.c: Regenerated. * generated/minloc0_4_r4.c: Regenerated. * generated/all_l2.c: Regenerated. * generated/product_c4.c: Regenerated. * generated/sum_r4.c: Regenerated. * generated/minloc0_4_i2.c: Regenerated. * generated/spread_c10.c: Regenerated. * generated/maxloc0_8_i1.c: Regenerated. * generated/spread_r4.c: Regenerated. * generated/minloc0_8_i8.c: Regenerated. * generated/matmul_c8.c: Regenerated. * generated/all_l16.c: Regenerated. * generated/minloc1_16_r10.c: Regenerated. * generated/sum_i2.c: Regenerated. * generated/minloc0_16_i1.c: Regenerated. * generated/maxloc0_16_i1.c: Regenerated. * generated/maxloc1_8_r8.c: Regenerated. * generated/minval_i16.c: Regenerated. * generated/spread_i2.c: Regenerated. * generated/maxval_i4.c: Regenerated. * generated/minval_i8.c: Regenerated. * generated/any_l4.c: Regenerated. * generated/maxloc1_4_i8.c: Regenerated. * generated/maxloc0_16_i16.c: Regenerated. * generated/maxloc0_8_r4.c: Regenerated. * generated/minloc1_4_i16.c: Regenerated. * generated/maxloc1_4_i16.c: Regenerated. * generated/minloc0_4_r10.c: Regenerated. * generated/minloc0_8_i16.c: Regenerated. * generated/maxloc0_4_r10.c: Regenerated. * generated/maxloc0_8_i16.c: Regenerated. * generated/minloc1_8_r10.c: Regenerated. * generated/product_i4.c: Regenerated. * generated/minloc0_16_r4.c: Regenerated. * generated/sum_c16.c: Regenerated. * generated/maxloc1_8_r10.c: Regenerated. * generated/maxloc0_16_r4.c: Regenerated. * generated/minloc1_16_r8.c: Regenerated. * generated/minloc0_8_i1.c: Regenerated. * generated/maxloc0_4_i4.c: Regenerated. * generated/maxloc1_16_r8.c: Regenerated. * generated/maxloc0_8_i2.c: Regenerated. * generated/sum_r10.c: Regenerated. * generated/count_4_l.c: Regenerated. * generated/sum_c4.c: Regenerated. * generated/count_8_l.c: Regenerated. * generated/maxloc1_16_r10.c: Regenerated. * generated/matmul_i8.c: Regenerated. * generated/minloc0_16_i2.c: Regenerated. * generated/minloc1_8_r8.c: Regenerated. * generated/maxloc0_16_i2.c: Regenerated. * generated/spread_c4.c: Regenerated. * generated/matmul_c16.c: Regenerated. * generated/maxval_r10.c: Regenerated. * generated/minval_i1.c: Regenerated. * generated/maxloc1_4_i1.c: Regenerated. * generated/matmul_r10.c: Regenerated. * generated/minloc1_4_i8.c: Regenerated. * generated/minloc0_8_r4.c: Regenerated. * generated/matmul_l4.c: Regenerated. * generated/product_i16.c: Regenerated. * generated/minloc0_16_r16.c: Regenerated. * generated/all_l4.c: Regenerated. * generated/minloc0_4_i4.c: Regenerated. * generated/minloc0_8_i2.c: Regenerated. * generated/matmul_i1.c: Regenerated. * generated/minval_r4.c: Regenerated. * generated/maxloc1_4_r4.c: Regenerated. * generated/spread_i16.c: Regenerated. * generated/sum_i4.c: Regenerated. * generated/maxval_r8.c: Regenerated. * generated/spread_i4.c: Regenerated. * generated/minloc1_4_i1.c: Regenerated. * generated/minval_r16.c: Regenerated. * generated/minval_i2.c: Regenerated. * generated/maxloc1_4_i2.c: Regenerated. * generated/product_r8.c: Regenerated. * generated/maxloc1_8_i8.c: Regenerated. * generated/maxloc0_4_r8.c: Regenerated. * generated/maxloc0_16_r16.c: Regenerated. * generated/matmul_r4.c: Regenerated. * generated/sum_c10.c: Regenerated. * generated/minloc1_4_r16.c: Regenerated. * generated/maxloc1_4_r16.c: Regenerated. * generated/minloc0_8_r16.c: Regenerated. * generated/maxloc0_8_r16.c: Regenerated. * generated/count_1_l.c: Regenerated. * generated/maxloc0_8_i4.c: Regenerated. * generated/matmul_i2.c: Regenerated. * generated/minloc1_4_r4.c: Regenerated. * generated/matmul_c10.c: Regenerated. * generated/minloc0_16_i4.c: Regenerated. * generated/maxloc0_16_i4.c: Regenerated. * generated/minloc1_16_i8.c: Regenerated. * generated/maxloc1_16_i8.c: Regenerated. * generated/minloc1_4_i2.c: Regenerated. * generated/matmul_l16.c: Regenerated. * generated/maxloc1_8_i1.c: Regenerated. * generated/minloc0_16_r10.c: Regenerated. * generated/minloc1_8_i8.c: Regenerated. * generated/minloc0_4_r8.c: Regenerated. * generated/product_r16.c: Regenerated. * generated/product_c8.c: Regenerated. * generated/sum_r8.c: Regenerated. * generated/minloc0_8_i4.c: Regenerated. * generated/matmul_c4.c: Regenerated. * generated/minloc1_16_i16.c: Regenerated. * generated/spread_r8.c: Regenerated. * generated/maxloc1_8_r4.c: Regenerated. * generated/minloc1_16_i1.c: Regenerated. * generated/maxloc1_16_i1.c: Regenerated. * generated/spread_r16.c: Regenerated. * generated/minval_r10.c: Regenerated. * generated/count_16_l.c: Regenerated. * generated/minval_i4.c: Regenerated. * generated/minloc1_8_i1.c: Regenerated. * generated/maxloc1_4_i4.c: Regenerated. * generated/maxloc1_8_i2.c: Regenerated. * generated/maxval_i8.c: Regenerated. * generated/any_l8.c: Regenerated. * generated/maxloc0_16_r10.c: Regenerated. * generated/minloc0_4_i16.c: Regenerated. * generated/maxloc0_8_r8.c: Regenerated. * generated/maxloc0_4_i16.c: Regenerated. * generated/minloc1_4_r10.c: Regenerated. * generated/minloc1_8_i16.c: Regenerated. * generated/maxloc1_4_r10.c: Regenerated. * generated/maxloc1_8_i16.c: Regenerated. * generated/minloc0_8_r10.c: Regenerated. * generated/maxloc0_8_r10.c: Regenerated. * generated/minloc1_16_r4.c: Regenerated. * generated/maxloc1_16_r4.c: Regenerated. * generated/minloc0_16_r8.c: Regenerated. * generated/product_i8.c: Regenerated. * generated/maxloc0_16_r8.c: Regenerated. * generated/sum_i16.c: Regenerated. * generated/count_2_l.c: Regenerated. * generated/maxloc0_4_i8.c: Regenerated. * generated/maxloc1_16_i16.c: Regenerated. * generated/matmul_i4.c: Regenerated. * generated/minloc1_8_r4.c: Regenerated. * generated/sum_c8.c: Regenerated. * generated/minloc1_16_i2.c: Regenerated. * generated/maxloc1_16_i2.c: Regenerated. * generated/maxval_i16.c: Regenerated. * generated/spread_c8.c: Regenerated. * generated/matmul_i16.c: Regenerated. * generated/minloc1_4_i4.c: Regenerated. * generated/maxval_i1.c: Regenerated. * generated/minloc1_8_i2.c: Regenerated. * generated/any_l1.c: Regenerated. * generated/product_c16.c: Regenerated. * generated/minloc0_8_r8.c: Regenerated. * generated/matmul_l8.c: Regenerated. * generated/product_r10.c: Regenerated. * generated/product_i1.c: Regenerated. * generated/all_l8.c: Regenerated. * generated/maxloc0_4_i1.c: Regenerated. * generated/minloc0_4_i8.c: Regenerated. * generated/spread_c16.c: Regenerated. * generated/maxval_r4.c: Regenerated. ........ r140061 | burnus | 2008-09-06 08:11:29 -0700 (Sat, 06 Sep 2008) | 13 lines 2008-09-06 Steven G. Kargl PR fortran/33229 * resolve.c (resolve_function): An intrinsic subroutine should * not be called as a function. 2008-09-06 Steven G. Kargl PR fortran/33229 * gfortran.dg/intrinsic_subroutine.f90: New test. ........ r140063 | burnus | 2008-09-06 08:27:50 -0700 (Sat, 06 Sep 2008) | 12 lines 2008-09-06 Steven G. Kargl PR fortran/36153 * fortran/resolve.c (resolve_function): Shortcircuit for SIZE and UBOUND if 2nd argument is KIND. 2008-09-06 Tobias Burnus PR fortran/36153 * gfortran.dg/size_kind.f90: New test. ........ r140068 | hubicka | 2008-09-06 10:10:00 -0700 (Sat, 06 Sep 2008) | 5 lines PR tree-optimization/14703 * tree-ssa-live.c (remove_unused_scope_block_p): Remove ignored declarations. * passes.c (init_optimization_passes): Recompute inline parameters. * g++.dg/tree-ssa-pr14703.C: New testcase. ........ r140070 | burnus | 2008-09-06 11:27:17 -0700 (Sat, 06 Sep 2008) | 7 lines 2008-09-06 Tobias Burnus PR fortran/37399 * gfortran.dg/size_kind.f90: Remove allocate statement as it overflows at compile time on 32bit systems. ........ r140071 | korbb | 2008-09-06 12:57:26 -0700 (Sat, 06 Sep 2008) | 1 line fix glibc_mutex_init fix ........ r140073 | law | 2008-09-06 13:55:41 -0700 (Sat, 06 Sep 2008) | 5 lines * gcc.c-torture/execute/memcpy-bi.c: Include ........ r140074 | law | 2008-09-06 14:00:02 -0700 (Sat, 06 Sep 2008) | 4 lines * h8300.h (IRA_COVER_CLASSES): Define. ........ r140075 | korbb | 2008-09-06 14:50:14 -0700 (Sat, 06 Sep 2008) | 1 line add: m4_sinclude(../libtool.m4) ........ r140076 | hjl | 2008-09-06 16:00:24 -0700 (Sat, 06 Sep 2008) | 5 lines 2008-09-06 H.J. Lu * configure.ac: Fix a typo. * configured: Regenerate. ........ r140079 | gccadmin | 2008-09-06 17:16:49 -0700 (Sat, 06 Sep 2008) | 1 line Daily bump. ........ r140082 | victork | 2008-09-07 00:34:30 -0700 (Sun, 07 Sep 2008) | 9 lines 2008-09-07 Victor Kaplansky PR testsuite/37334 * gcc/testsuite/gcc.dg/fastmath-2.c: Add volatile to definition of b, change -ffast-math to -ffinite-math-only and rename test to ... * gcc/testsuite/gcc.dg/div-double-1.c: ... this. ........ r140083 | irar | 2008-09-07 01:54:00 -0700 (Sun, 07 Sep 2008) | 5 lines PR tree-optimization/35642 * config/rs6000/altivec.md (mulv8hi3): Implement. ........ r140084 | domob | 2008-09-07 02:11:53 -0700 (Sun, 07 Sep 2008) | 5 lines 2008-09-07 Daniel Kraft * gfortran.dg/stfunc_6.f90: Extended testcase to include more tests related to PURE and statement functions. ........ r140085 | irar | 2008-09-07 03:05:37 -0700 (Sun, 07 Sep 2008) | 5 lines PR tree-optimization/36630 * tree-vect-transform.c (vect_update_ivs_after_vectorizer): Call STRIP_NOPS before calling evolution_part_in_loop_num. ........ r140086 | tkoenig | 2008-09-07 06:33:18 -0700 (Sun, 07 Sep 2008) | 27 lines 2008-09-07 Thomas Koenig PR fortran/37203 * intrinsics/reshape_generic.c: Add checking on out-of-bounds and duplicate values of order argument. * m4/reshape.m4: Likewise. * generated/reshape_c10.c: Regenerated. * generated/reshape_c16.c: Regenerated. * generated/reshape_c4.c: Regenerated. * generated/reshape_c8.c: Regenerated. * generated/reshape_i16.c: Regenerated. * generated/reshape_i4.c: Regenerated. * generated/reshape_i8.c: Regenerated. * generated/reshape_r10.c: Regenerated. * generated/reshape_r16.c: Regenerated. * generated/reshape_r4.c: Regenerated. * generated/reshape_r8.c: Regenerated. 2008-09-07 Thomas Koenig PR fortran/37203 * gfortran.d/reshape_order_1.f90: New test case. * gfortran.d/reshape_order_2.f90: New test case. * gfortran.d/reshape_order_3.f90: New test case. * gfortran.d/reshape_order_4.f90: New test case. ........ r140089 | paolo | 2008-09-07 09:41:06 -0700 (Sun, 07 Sep 2008) | 9 lines 2008-09-07 Paolo Carlini * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Check wcstoimax and wcstoumax, define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1. * include/tr1_impl/cinttypes: Use the latter. * testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Likewise. * configure: Regenerate. * config.h.in: Likewise. ........ r140091 | danglin | 2008-09-07 09:53:31 -0700 (Sun, 07 Sep 2008) | 5 lines * pa/linux-atomic.c: New file. * pa/t-linux (LIB2FUNCS_STATIC_EXTRA): Define. * pa/t-linux64 (LIB2FUNCS_STATIC_EXTRA): Define. ........ r140093 | danglin | 2008-09-07 12:54:30 -0700 (Sun, 07 Sep 2008) | 4 lines * pa32-regs.h (IRA_COVER_CLASSES): Define. * pa64-regs.h (IRA_COVER_CLASSES): Define. ........ r140096 | gccadmin | 2008-09-07 17:16:44 -0700 (Sun, 07 Sep 2008) | 1 line Daily bump. ........ r140099 | danglin | 2008-09-07 21:26:15 -0700 (Sun, 07 Sep 2008) | 6 lines PR driver/37409 * pa-hpux.h (LINK_SPEC): Strip -fwhole-program. * pa-hpux10.h (LINK_SPEC): Likewise. * pa-hpux11.h (LINK_SPEC): Likewise. ` ........ r140100 | burnus | 2008-09-08 00:19:46 -0700 (Mon, 08 Sep 2008) | 11 lines 2008-09-07 Tobias Burnus PR fortran/37400 * symbol.c (gfc_set_default_type): Copy char len. 2008-09-07 Tobias Burnus PR fortran/37400 * gfortran.dg/implicit_12.f90: New test. ........ r140102 | domob | 2008-09-08 02:17:27 -0700 (Mon, 08 Sep 2008) | 12 lines 2008-09-08 Daniel Kraft PR fortran/37199 * trans-expr.c (gfc_add_interface_mapping): Set new_sym->as. (gfc_map_intrinsic_function): Added checks against NULL bounds in array specs. 2008-09-08 Daniel Kraft PR fortran/37199 * gfortran.dg/array_function_2.f90: New test. ........ r140103 | schwab | 2008-09-08 02:23:49 -0700 (Mon, 08 Sep 2008) | 2 lines Typo. ........ r140105 | jakub | 2008-09-08 05:39:28 -0700 (Mon, 08 Sep 2008) | 3 lines PR middle-end/37415 * opts.c (common_handle_option): Handle OPT_ftree_store_ccp. ........ r140107 | domob | 2008-09-08 06:51:26 -0700 (Mon, 08 Sep 2008) | 7 lines 2008-09-08 Daniel Kraft PR fortran/36167 * gfortran.dg/array_function_3.f90: New test. * gfortran.dg/save_3.f90: Added cleanup-modules directive. * gfortran.dg/string_compare_1.f90: Ditto. ........ r140111 | rguenth | 2008-09-08 09:31:43 -0700 (Mon, 08 Sep 2008) | 8 lines 2008-09-08 Richard Guenther PR tree-optimization/37421 * tree-ssa-sccvn.c (visit_copy): Make sure to fully valueize the RHS. * g++.dg/torture/pr37421.C: New testcase. ........ r140117 | jakub | 2008-09-08 12:31:18 -0700 (Mon, 08 Sep 2008) | 8 lines PR middle-end/37337 * tree-ssa-dom.c (optimize_stmt): Call maybe_clean_or_replace_eh_stmt even when a stmt has been gimple_modified_p, but after fold_stmt is not any longer. Remove unneeded may_have_exposed_new_symbols initializations. * g++.dg/tree-ssa/pr37337.C: New test. ........ r140118 | law | 2008-09-08 12:55:05 -0700 (Mon, 08 Sep 2008) | 5 lines 2008-09-02 M R Swami Reddy * config/crx/crx.h (IRA_COVER_CLASSES): Define. ........ r140120 | jason | 2008-09-08 13:52:44 -0700 (Mon, 08 Sep 2008) | 22 lines PR c++/37302 * parser.c (cp_parser_parameter_declaration_list): Process the PARM_DECLs as we go and push them. Return a TREE_LIST. (cp_parser_parameter_declaration_clause): Return a TREE_LIST. (cp_parser_direct_declarator): Create a binding level and suppress deprecated warnings in the parameter list. (make_call_declarator): PARMS is now a tree. * cp-tree.h (struct cp_declarator): Function parms are now a tree. * decl.h (enum deprecated_states, deprecated_state): Move here. * decl.c: From here. (type_is_deprecated): New fn. (grokparms): PARMLIST is a tree now. Warn about parms that use deprecated types. * mangle.c (write_expression): Handle PARM_DECL, CALL_EXPR and 0-operand cast. * pt.c (tsubst) [DECLTYPE_TYPE]: Set skip_evaluation. (tsubst_copy) [PARM_DECL]: Handle a PARM_DECL used outside of a function. * name-lookup.c (pushtag): Look through function parameter scopes. (pushdecl_maybe_friend): Don't set DECL_CONTEXT on a PARM_DECL when we're parsing a function declarator. ........ r140121 | ebotcazou | 2008-09-08 14:21:10 -0700 (Mon, 08 Sep 2008) | 3 lines * ira-color.c (ira_reuse_stack_slot): Set slot_num on success at the end of the search. ........ r140122 | jakub | 2008-09-08 14:30:23 -0700 (Mon, 08 Sep 2008) | 9 lines PR middle-end/37414 * predict.c (optimize_function_for_size_p): Don't segfault if FUN is NULL. * fold-const.c (LOGICAL_OP_NON_SHORT_CIRCUIT, fold_truthop, tree_swap_operands_p): Don't test cfun != NULL before calling optimize_function_for_s*_p. * g++.dg/opt/init2.C: New test. ........ r140123 | jakub | 2008-09-08 14:31:36 -0700 (Mon, 08 Sep 2008) | 6 lines PR middle-end/37393 * tree-inline.c (copy_bb): When replacing a gimple_call_va_arg_pack_p call stmt by new_call, clear gimple_bb on stmt after gsi_replace. * g++.dg/tree-ssa/pr37393.C: New test. ........ r140124 | hutchinsonandy | 2008-09-08 15:25:42 -0700 (Mon, 08 Sep 2008) | 7 lines PR target/36609 * config/avr/avr.c (avr_reorg): Create RTL for reversed compare with zero. * config/avr/avr.md (QISI) : Define mode iterator. (negated_tst) : Redefine as split using mode macro. (reversed_tstqi): Define insn as reversed compare with zero. (reversed_tsthi): Ditto. (reversed_tstsi): Ditto. ........ r140125 | danglin | 2008-09-08 15:26:44 -0700 (Mon, 08 Sep 2008) | 3 lines * g++.dg/cdce3.C: Require c99 runtime. ........ r140126 | hutchinsonandy | 2008-09-08 15:41:27 -0700 (Mon, 08 Sep 2008) | 22 lines * gcc.dg/struct/wo_prof_escape_substr_value.c: Limit allocation based on STACK_SIZE. * gcc.dg/struct/wo_prof_array_through_pointer.c: Ditto. * gcc.dg/struct/wo_prof_escape_substr_pointer.c: Ditto. * gcc.dg/struct/wo_prof_escape_arg_to_local.c: Limit allocation based on STACK_SIZE. Check malloc return for NULL. * gcc.dg/struct/w_prof_local_var.c: Ditto. * gcc.dg/struct/wo_prof_mult_field_peeling.c: Ditto. * gcc.dg/struct/w_prof_local_array.c: Limit allocation based on STACK_SIZE. XFAIL AVR target. * gcc.dg/struct/wo_prof_local_array.c: Ditto. * gcc.dg/struct/w_prof_two_strs.c: Limit allocation based on STACK_SIZE. Limit random size to N. * gcc.dg/struct/wo_prof_two_strs.c: Limit allocation based on STACK_SIZE. XFAIL AVR target. Limit random size to N. * gcc.dg/struct/w_prof_single_str_global.c: XFAIL AVR target. * gcc.dg/struct/wo_prof_array_field.c: Ditto. * gcc.dg/struct/wo_prof_double_malloc.c: Ditto. * gcc.dg/struct/wo_prof_global_array.c: Ditto. * gcc.dg/struct/wo_prof_single_str_global.c: Ditto. * gcc.dg/struct/wo_prof_single_str_local.c: Ditto. * gcc.dg/struct/w_prof_global_var.c: Limit allocation based on STACK_SIZE. Check malloc return for NULL. XFAIL AVR target. * gcc.dg/struct/wo_prof_global_var.c: Ditto. * gcc.dg/struct/wo_prof_local_var.c: Ditto. * gcc.dg/struct/wo_prof_malloc_size_var.c: Access only allocated space. Limit allocation based on STACK_SIZE. XFAIL AVR target. ........ r140134 | gccadmin | 2008-09-08 17:16:31 -0700 (Mon, 08 Sep 2008) | 1 line Daily bump. ........ r140137 | drow | 2008-09-08 20:17:22 -0700 (Mon, 08 Sep 2008) | 45 lines * g++.dg/compat/eh/filter2_x.C: Declare abort. * g++.dg/compat/eh/new1_x.C, g++.dg/compat/eh/new1_y.C: Include cstddef and use std::size_t. * gcc.dg/compat/compat-common.h: Define SKIP_COMPLEX_INT if SKIP_COMPLEX. Honor SKIP_COMPLEX. * gcc.dg/compat/scalar-by-value-3_x.c, gcc.dg/compat/scalar-by-value-3_y.c, gcc.dg/compat/scalar-by-value-4_x.c, gcc.dg/compat/scalar-by-value-4_y.c, gcc.dg/compat/scalar-by-value-5.c, gcc.dg/compat/scalar-by-value-5_main.c, gcc.dg/compat/scalar-by-value-6.c, gcc.dg/compat/scalar-by-value-6_main.c, gcc.dg/compat/scalar-by-value-6_x.c, gcc.dg/compat/scalar-by-value-6_y.c, gcc.dg/compat/struct-by-value-16_x.c, gcc.dg/compat/struct-by-value-16_y.c, gcc.dg/compat/struct-by-value-16a_x.c, gcc.dg/compat/struct-by-value-16a_y.c, gcc.dg/compat/struct-by-value-17_x.c, gcc.dg/compat/struct-by-value-17_y.c, gcc.dg/compat/struct-by-value-17a_x.c, gcc.dg/compat/struct-by-value-17a_y.c, gcc.dg/compat/struct-by-value-18_x.c, gcc.dg/compat/struct-by-value-18_y.c, gcc.dg/compat/struct-by-value-18a_x.c, gcc.dg/compat/struct-by-value-18a_y.c, gcc.dg/compat/struct-layout-1.h, gcc.dg/compat/scalar-return-3_x.c, gcc.dg/compat/scalar-return-3_y.c, gcc.dg/compat/scalar-return-4_x.c, gcc.dg/compat/scalar-return-4_y.c: Honor SKIP_COMPLEX. * gcc.dg/compat/scalar-by-value-y.h: Use stdarg.h for non-GCC compilers. * gcc.dg/compat/struct-by-value-22_y.c, gcc.dg/compat/struct-by-value-22_main.c, gcc.dg/compat/struct-by-value-22_x.c: Honor SKIP_VLA_IN_STRUCT. * lib/c-compat.exp (compat_setup_dfp): Check the compiler under test first. * lib/compat.exp: Document COMPLEX and VLA_IN_STRUCT skips. ........ r140138 | bonzini | 2008-09-09 01:56:58 -0700 (Tue, 09 Sep 2008) | 22 lines 2008-09-09 Paolo Bonzini * c-common.c (c_expand_decl): Remove. * c-common.h (anon_aggr_type_p): Remove prototype. (DECL_ANON_UNION_ELEMS): Remove. * c-objc-common.h (LANG_HOOKS_EXPAND_DECL): Remove. * c-decl.c (anon_aggr_type_p): Remove. * langhooks-def.h (LANG_HOOKS_EXPAND_DECL): Remove. (LANG_HOOKS_INITIALIZER): Remove LANG_HOOKS_EXPAND_DECL. * langhooks.h (struct lang_hooks): Remove expand_decl. * langhooks.c (lhd_expand_decl): Remove. * stmt.c (expand_anon_union_decl): Remove. * tree.h (expand_anon_union_decl): Remove prototype. cp: 2008-09-09 Paolo Bonzini * cp-objcp-common.h (LANG_HOOKS_EXPAND_DECL): Remove. * cp-tree.h: Don't mention DECL_ANON_UNION_ELEMS. * semantics.c (anon_aggr_type_p): Remove. ........ r140139 | nickc | 2008-09-09 02:16:07 -0700 (Tue, 09 Sep 2008) | 2 lines * config/v850/v850.md (return): Restore frame size restriction. ........ r140141 | domob | 2008-09-09 02:46:51 -0700 (Tue, 09 Sep 2008) | 11 lines 2008-09-09 Daniel Kraft PR fortran/37411 * trans-array.c (gfc_conv_array_parameter): Added assertion that the symbol has an array spec. 2008-09-09 Daniel Kraft PR fortran/37411 * gfortran.dg/array_function_4.f90: New test. ........ r140142 | rguenth | 2008-09-09 03:05:49 -0700 (Tue, 09 Sep 2008) | 8 lines 2008-09-09 Richard Guenther PR tree-optimization/37387 * tree-ssa-ifcombine.c (ifcombine_iforif): Convert the name and bits to a common type. * gcc.c-torture/compile/pr37387.c: New testcase. ........ r140143 | rguenth | 2008-09-09 03:06:54 -0700 (Tue, 09 Sep 2008) | 8 lines 2008-09-09 Richard Guenther PR tree-optimization/37433 * tree-ssa-ccp.c (ccp_fold): Properly guard folding of function calls. * gcc.c-torture/compile/pr37433.c: New testcase. ........ r140144 | aldyh | 2008-09-09 03:56:23 -0700 (Tue, 09 Sep 2008) | 20 lines * function.h (struct function): Add function_start_locus. * cfgexpand.c (gimple_expand_cfg): Use it. * c-parser.c (c_parser_declaration_or_fndef): Set it. testsuite/ * gcc.dg/always_inline.c: Place error message on function name line. * gcc.dg/winline-6.c: Same. * gcc.dg/noreturn-1.c: Same. * gcc.dg/noreturn-7.c: Same. * gcc.dg/inline-14.c: Same. * gcc.dg/always_inline3.c: Same. * gcc.dg/winline-3.c: Same. * gcc.dg/wtr-func-def-1.c: Same. * gcc.dg/winline-5.c: Same. * gcc.dg/winline-7.c: Same. * gcc.dg/winline-9.c: Same. * gcc.dg/noreturn-4.c: Same. * gcc.dg/20041213-1.c: Use column numbers. ........ r140145 | rguenth | 2008-09-09 04:26:45 -0700 (Tue, 09 Sep 2008) | 12 lines 2008-09-09 Richard Guenther PR middle-end/37354 PR middle-end/30165 * gimplify.c (gimplify_conversion): Change conversions of non-register type to VIEW_CONVERT_EXPRs. (gimplify_addr_expr): If we need to make the operand addressable make sure to use a properly initialized temporary for that so it gets a valid gimple store. * g++.dg/torture/pr37354.C: New testcase. ........ r140146 | bernds | 2008-09-09 05:09:37 -0700 (Tue, 09 Sep 2008) | 8 lines * config/bfin/bfin.c (n_regs_to_save): New static variable. (push_multiple_operation, pop_multiple_operation): Set it. (workaround_rts_anomaly): New function. (workaround_speculation): New function, broken out of bfin_reorg. (bfin_reorg): Call the new functions. ........ r140147 | charlet | 2008-09-09 06:01:51 -0700 (Tue, 09 Sep 2008) | 11 lines * gcc-interface/Makefile.in: Switch VxWorks to s-interr-hwint.adb. * s-interr-vxworks.adb: Renamed to s-interr-hwint.adb * s-interr-hwint.adb: New file. * s-osinte-vxworks.ads, s-osinte-vxworks.adb: Add new functions needed by s-interr-hwint.adb. * s-osinte-vxworks-kernel.adb: New file. ........ r140148 | schwab | 2008-09-09 06:37:14 -0700 (Tue, 09 Sep 2008) | 3 lines (GLIBCXX_CHECK_STANDARD_LAYOUT): Fix compile check not to redefine main. ........ r140149 | rguenth | 2008-09-09 06:52:59 -0700 (Tue, 09 Sep 2008) | 5 lines 2008-09-09 Richard Guenther * decl.c (build_result_decl): Remove no longer applicable promotion. ........ r140150 | rguenth | 2008-09-09 06:54:08 -0700 (Tue, 09 Sep 2008) | 20 lines 2008-09-09 Richard Guenther * tree-cfg.c (verify_types_in_gimple_op): Remove. (verify_types_in_gimple_call): Rename to ... (verify_gimple_call): ... this. Enhance. (verify_types_in_gimple_cond): Remove. (verify_gimple_comparison): New function ... (verify_types_in_gimple_assign): ... split out from here. (verify_types_in_gimple_return): Rename to ... (verify_gimple_return): ... this. Enhance. (verify_types_in_gimple_switch): Rename to ... (verify_gimple_switch): ... this. Enhance. (verify_gimple_goto): New function. (verify_types_in_gimple_phi): Rename to ... (verify_gimple_phi): ... this. Enhance. (verify_types_in_gimple_stmt): Adjust calls to helper functions. Fold in single-statement cases from verify_types_in_gimple_seq_2. (verify_types_in_gimple_seq_2): Remove cases handled in verify_types_in_gimple_stmt. ........ r140151 | abel | 2008-09-09 07:19:31 -0700 (Tue, 09 Sep 2008) | 5 lines PR rtl-optimization/37360 * haifa-sched.c (max_issue): Do not assert that we never issue more insns than issue_rate. Add comment. ........ r140152 | abel | 2008-09-09 07:23:19 -0700 (Tue, 09 Sep 2008) | 6 lines * haifa-sched.c (advance_one_cycle): Do not print '\n' before printing dump message. (choose_ready): When first insn is chosen from the ready list, also dump it. ........ r140155 | aldyh | 2008-09-09 07:48:15 -0700 (Tue, 09 Sep 2008) | 6 lines PR/37442 * gcc.target/i386/pr12329.c: Place error message on function name line. * gcc.target/i386/sse-5.c: Same. ........ r140156 | hubicka | 2008-09-09 08:28:19 -0700 (Tue, 09 Sep 2008) | 4 lines * profile.c (is_edge_inconsistent): Add debug output; ignore negative count on fake edges. (is_inconsistent): Add debug output. ........ r140157 | ro | 2008-09-09 09:17:37 -0700 (Tue, 09 Sep 2008) | 4 lines * config/sol2.h (REGISTER_TARGET_PRAGMAS): Move ... * config/i386/sol2.h (REGISTER_SUBTARGET_PRAGMAS): ... here. * config/sparc/sol2.h (REGISTER_TARGET_PRAGMAS): ... and here. ........ r140158 | ro | 2008-09-09 09:36:14 -0700 (Tue, 09 Sep 2008) | 9 lines * Makefile.in (mips-tfile.o-warn): Don't error out on mips-tfile.c warnings. * mips-tfile.c (copy_object): Cast alloca result to int *. * mips-tdump.c (print_symbol): Cast xmalloc return values to proper types. Rename class to sclass. (read_tfile): Cast read_seek return values to proper types. Cast xcalloc return value to proper type. ........ r140159 | vmakarov | 2008-09-09 09:52:55 -0700 (Tue, 09 Sep 2008) | 6 lines 2008-09-09 Vladimir Makarov * ira-conflicts.c (process_regs_for_copy): Check that the hard regno is in the right range. Add comments. ........ r140160 | vmakarov | 2008-09-09 10:05:56 -0700 (Tue, 09 Sep 2008) | 10 lines 2008-09-09 Vladimir Makarov PR rtl-opt/37333 * ira-build.c (ira_create_allocno): Setup frequency to 0. * ira-color.c (update_conflict_hard_regno_costs): Remove assert. Check zero freq and increase if necessary. ........ r140162 | jason | 2008-09-09 10:38:10 -0700 (Tue, 09 Sep 2008) | 12 lines * include/demangle.h (enum demangle_component_type): Add DEMANGLE_COMPONENT_DECLTYPE. * libiberty/cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_DECLTYPE. (d_make_comp): Likewise. (cplus_demangle_type): Handle decltype and DFP types. (cplus_demangle_operators): Call operator takes 2 args. (cplus_demangle_builtin_types): Add DFP types. (d_exprlist): New fn. (d_expression): Handle parm placeholders, T() and calls. (d_print_comp): Handle decltype, T() and calls. * libiberty/testsuite/demangle-expected: Test the above. ........ r140163 | domob | 2008-09-09 11:08:08 -0700 (Tue, 09 Sep 2008) | 13 lines 2008-09-09 Daniel Kraft PR fortran/37429 * resolve.c (expression_rank): Added assertion to guard against EXPR_COMPCALL expressions. (resolve_compcall): Set expression's rank from the target procedure's. 2008-09-09 Daniel Kraft PR fortran/37429 * gfortran.dg/typebound_call_7.f03: New test. * gfortran.dg/typebound_call_8.f03: New test. ........ r140164 | spop | 2008-09-09 11:39:45 -0700 (Tue, 09 Sep 2008) | 27 lines 2008-09-05 Sebastian Pop PR tree-optimization/37375 * tree-scalar-evolution.c (scev_info_str): Add field instantiated_below. (new_scev_info_str, eq_scev_info, find_var_scev_info, set_scalar_evolution, get_scalar_evolution, get_instantiated_value, set_instantiated_value): Pass instantiated_below. (analyze_scalar_evolution_1, analyze_scalar_evolution): Update calls to above functions. (instantiate_scev_1, instantiate_scev): Pass a basic block above which the definitions are not instantiated. * tree-scalar-evolution.h (instantiate_scev): Update declaration. (block_before_loop): New. * tree-data-ref.c (dr_analyze_indices): Update uses of instantiate_scev. * graphite.c (block_before_scop): New. (loop_affine_expr, stmt_simple_for_scop_p, harmful_stmt_in_bb): Pass a basic block, not a loop for determining the parameters. (scopdet_edge_info, build_scops_1): Do not pass outermost loop in the scop. (idx_record_params, find_params_in_bb, find_scop_parameters, build_loop_iteration_domains, add_conditions_to_domain): Update calls to instantiate_scev. * Makefile.in (cfgloopmanip.o): Add missing dependency on TREE_FLOW_H. ........ r140165 | jakub | 2008-09-09 12:16:49 -0700 (Tue, 09 Sep 2008) | 6 lines PR c++/37389 * decl.c (build_enumerator): Handle previous value's DECL_INITIAL being error_operand_p. Don't clear value if it was error_mark_node. * g++.dg/parse/enum4.C: New test. ........ r140166 | jakub | 2008-09-09 12:17:30 -0700 (Tue, 09 Sep 2008) | 4 lines PR rtl-optimization/37408 * function.c (assign_parm_find_stack_rtl): Set correct MEM_SIZE if parm is promoted. ........ r140167 | jakub | 2008-09-09 12:18:55 -0700 (Tue, 09 Sep 2008) | 6 lines PR target/37438 * config/i386/i386.md (zero_extendqihi2_movzbl): Enable when optimizing for size, not speed. * gcc.dg/pr37438.c: New test. ........ r140168 | jakub | 2008-09-09 12:19:41 -0700 (Tue, 09 Sep 2008) | 14 lines PR other/37419 * ipa-prop.h (ipa_propagate_indirect_call_infos): Change last argument to pointer to vector pointer. * ipa-prop.c (ipa_propagate_indirect_call_infos, propagate_info_to_inlined_callees): Likewise. (update_call_notes_after_inlining): Likewise. Push new indirect edge to *new_edges instead of new_edges. Reread IPA_EDGE_REF after ipa_check_create_edge_args. * ipa-inline.c (cgraph_decide_recursive_inlining): Change last argument to pointer to vector pointer. (cgraph_decide_inlining_of_small_function): Adjust cgraph_decide_recursive_inlining and ipa_propagate_indirect_call_infos calls. ........ r140174 | paolo | 2008-09-09 14:33:46 -0700 (Tue, 09 Sep 2008) | 8 lines 2008-09-09 Paolo Carlini * include/tr1_impl/cinttypes: Restore __STDC_FORMAT_MACRO after inclusion of . * include/tr1_impl/cstdint: Likewise for __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS after . * include/bits/postypes.h: Likewise. ........ r140175 | paolo | 2008-09-09 14:36:42 -0700 (Tue, 09 Sep 2008) | 4 lines 2008-09-09 Paolo Carlini * Fix typo in ChangeLog. ........ r140176 | jason | 2008-09-09 14:41:58 -0700 (Tue, 09 Sep 2008) | 4 lines PR c++/37439 * pt.c (tsubst_copy) [PARM_DECL]: Don't abort if the parm has DECL_CONTEXT set. ........ r140177 | jakub | 2008-09-09 15:06:20 -0700 (Tue, 09 Sep 2008) | 10 lines PR middle-end/37356 * tree-inline.c (copy_bb): Insert stmt into copy_basic_block before calling gimple_regimplify_operands on it. Iterate over all newly added statements, not just the last one. (insert_init_stmt): Insert stmt into seq first, then call gimple_regimplify_operands on it. Don't create new gimplification context, nor find referenced vars. * g++.dg/tree-ssa/pr37356.C: New test. ........ r140178 | jakub | 2008-09-09 15:08:46 -0700 (Tue, 09 Sep 2008) | 6 lines PR c++/37417 * tree.c (array_type_nelts_top): Add size_one_node instead of integer_one_node. * g++.dg/ext/vla5.C: New test. ........ r140179 | sandra | 2008-09-09 15:21:10 -0700 (Tue, 09 Sep 2008) | 6 lines 2008-09-09 Sandra Loosemore gcc/ * doc/invoke.texi (ARM Options): Correct errors in discussion of -mfloat-abi, -mhard-float, and -msoft-float. ........ r140180 | bkoz | 2008-09-09 15:42:23 -0700 (Tue, 09 Sep 2008) | 8 lines 2008-09-09 Benjamin Kosnik * doc/xml/manual/abi.xml: Update for new releases. * doc/doxygen/user.cfg.in: Include C compatibility headers. * doc/html/*: Regenerate. ........ r140183 | danglin | 2008-09-09 16:57:41 -0700 (Tue, 09 Sep 2008) | 7 lines PR other/37265 * dwarf2asm.c (dw2_force_const_mem): Use unstripped symbol name for splay tree lookup. (dw2_output_indirect_constant_1): Use unstripped name in symbol reference. ........ r140184 | hjl | 2008-09-09 16:58:57 -0700 (Tue, 09 Sep 2008) | 15 lines gcc/ 2008-09-09 Vladimir Makarov PR rtl-optimization/37435 * caller-save.c (insert_restore, insert_save): Check the mode by reg_save_code. gcc/testsuite/ 2008-09-09 H.J. Lu PR rtl-optimization/37435 * gcc.dg/dfp/pr37435.c: New. ........ r140187 | gccadmin | 2008-09-09 17:16:29 -0700 (Tue, 09 Sep 2008) | 1 line Daily bump. ........ r140189 | jakub | 2008-09-09 23:23:57 -0700 (Tue, 09 Sep 2008) | 4 lines * config/i386/i386.md (SWI32): New mode iterator. (jcc_fused_1, jcc_fused_2, jcc_fused_3, jcc_fused_4): Use it instead of SWI. ........ r140195 | irar | 2008-09-10 00:18:52 -0700 (Wed, 10 Sep 2008) | 10 lines PR tree-optimization/37385 * tree-vect-transform.c (vect_create_data_ref_ptr): Add a new argument, and use it as a vector type if not NULL. (vectorizable_store): Call vect_create_data_ref_ptr with the type of vectorized rhs. (vect_setup_realignment): Call vect_create_data_ref_ptr with additional argument. (vectorizable_load): Likewise. ........ r140208 | jakub | 2008-09-10 01:00:40 -0700 (Wed, 10 Sep 2008) | 11 lines PR tree-optimization/37353 * tree-call-cdce.c (cond_dead_built_in_calls): Remove. (shrink_wrap_conditional_dead_built_in_calls): Add calls argument, use calls instead of cond_dead_built_in_calls. (tree_call_cdce): Add cond_dead_built_in_calls automatic variable, initalize the vector only before adding first entry. Use VEC_safe_push instead of VEC_quick_push. Pass cond_dead_built_in_calls to shrink_wrap_conditional_dead_built_in_calls call. * gcc.dg/pr37353.c: New test. ........ r140228 | hubicka | 2008-09-10 04:37:18 -0700 (Wed, 10 Sep 2008) | 4 lines * value-prof.c (gimple_ic): Fix tuplification bug. * sched-deps.c (sched_insns_conditions_mutex_p): Silence unitialized var warning. ........ r140229 | burnus | 2008-09-10 04:54:08 -0700 (Wed, 10 Sep 2008) | 12 lines 2008-09-10 Tobias Burnus PR fortran/37420 * trans-decl.c (get_proc_pointer_decl): Fix -Wunused-variable. 2008-09-10 Tobias Burnus PR fortran/37420 * gfortran.dg/warn_unused_var.f90: New test. * gfortran.dg/warn_unused_var.f90: Add cleanup-modules. ........ r140230 | bernds | 2008-09-10 06:28:34 -0700 (Wed, 10 Sep 2008) | 8 lines * config/bfin/bfin.c (workaround_speculation): Correct algorithm to not lose track of the number of NOPs needed. Number of NOPs needed for sync vs. loads workaround was switched; corrected. Run second pass for all workarounds. No NOPs needed after call insns. Change second pass to use find_next_insn_start and find_load helpers in order to properly detect parallel insns. * config/bfin/bfin.md (cbranch_with_nops): Increase length. ........ r140231 | hjl | 2008-09-10 07:14:28 -0700 (Wed, 10 Sep 2008) | 26 lines gcc/ 2008-09-10 H.J. Lu PR target/37434: * config/i386/i386.c (ix86_expand_vector_init_interleave): Force the even element into register. (ix86_expand_vector_init_general): Don't use ix86_expand_vector_init_interleave on V16QImode and V8HImode if we can't move from GPR to SSE register directly. gcc/testsuite/ 2008-09-10 H.J. Lu PR target/37434: * gcc.target/i386/pr37434-1.c: New. * gcc.target/i386/pr37434-2.c: Likewise. * gcc.target/i386/pr37434-3.c: Likewise. * gcc.target/i386/pr37434-4.c: Likewise. * gcc.target/i386/sse2-set-v8hi-1a.c: Likewise. * gcc.target/i386/sse2-set-v8hi-2a.c: Likewise. * gcc.target/i386/sse4_1-set-v16qi-1a.c: Likewise. * gcc.target/i386/sse4_1-set-v16qi-2a.c: Likewise. * gcc.target/i386/sse4_1-set-v16qi-3a.c: Likewise. ........ r140232 | spop | 2008-09-10 07:46:35 -0700 (Wed, 10 Sep 2008) | 10 lines 2008-09-10 Sebastian Pop PR tree-optimization/37388 * toplev.c (process_options): Fail and warn when graphite flags are used, but the compiler has not been configured with graphite libraries. * graphite.c (graphite_transform_loops): Remove printfs to dump_file for the case when graphite is not available. ........ r140233 | rguenth | 2008-09-10 08:07:04 -0700 (Wed, 10 Sep 2008) | 8 lines 2008-09-10 Richard Guenther PR middle-end/37432 * tree-inline.c (insert_init_stmt): Make sure to not insert invalid gimple stores. * gcc.c-torture/compile/pr37432.c: New testcase. ........ r140236 | rguenth | 2008-09-10 09:14:30 -0700 (Wed, 10 Sep 2008) | 4 lines 2008-09-10 Richard Guenther * tree-ssa-pre.c (phi_translate_1): Fix memory leak. ........ r140237 | burnus | 2008-09-10 09:39:15 -0700 (Wed, 10 Sep 2008) | 5 lines 2008-09-10 Tobias Burnus * mk-kinds-h.sh: Make -Wunused-variable proof. ........ r140238 | paolo | 2008-09-10 09:48:47 -0700 (Wed, 10 Sep 2008) | 10 lines 2008-09-10 Paolo Carlini PR libstdc++/37455 * include/bits/locale_facets.h (ctype::_M_narrow_init, ctype::_M_widen_init): Don't define inline. * config/locale/darwin/ctype_members.cc: ... define here. * config/locale/gnu/ctype_members.cc: ... likewise. * config/locale/generic/ctype_members.cc: ... likewise. * config/abi/pre/gnu.ver: Export. ........ r140239 | burnus | 2008-09-10 10:18:08 -0700 (Wed, 10 Sep 2008) | 7 lines 2008-09-10 Tobias Burnus H. J. Lu * mk-sik-inc.sh: Make -Wunused-variable proof. * mk-srk-inc.sh: Make -Wunused-variable proof. ........ r140240 | paolo | 2008-09-10 10:37:30 -0700 (Wed, 10 Sep 2008) | 8 lines 2008-09-10 Paolo Carlini * config/locale/darwin/ctype_members.cc (ctype::_M_narrow_init, ctype::_M_widen_init): Don't define here. * config/locale/gnu/ctype_members.cc: Likewise. * config/locale/generic/ctype_members.cc: Likewise. * src/ctype.cc: Define here. ........ r140243 | pinskia | 2008-09-10 12:09:13 -0700 (Wed, 10 Sep 2008) | 6 lines 2008-09-10 Andrew Pinski PR middle-end/37333 * gcc.c-torture/compile/20080910-1.c: New testcase. ........ r140246 | joel | 2008-09-10 13:11:49 -0700 (Wed, 10 Sep 2008) | 8 lines 2008-09-10 Joel Sherrill * gcc-interface/Makefile.in: Switch RTEMS to s-interr-hwint.adb. * s-osinte-rtems.ads: Add shared hardware interrupt adapter layer. RTEMS binds to OS provided adapter routines so there are no modifications to s-osinte-rtems.adb. ........ r140247 | jakub | 2008-09-10 14:06:25 -0700 (Wed, 10 Sep 2008) | 8 lines PR target/36904 * config/rs6000/rs6000-c.c (rs6000_macro_to_expand): Return NULL instead of tok->val.node if not expanding to something else. Handle intervening CPP_PADDING tokens. (altivec_categorize_keyword): Remove unneeded comparisons. * gcc.target/powerpc/altivec-27.c: New test. ........ r140248 | hjl | 2008-09-10 14:07:29 -0700 (Wed, 10 Sep 2008) | 4 lines 2008-09-10 H.J. Lu * expr.c (find_array_element): Reformat. ........ r140249 | jakub | 2008-09-10 14:08:17 -0700 (Wed, 10 Sep 2008) | 3 lines PR middle-end/37338 * gimplify.c (gimplify_body): Call default_rtl_profile. ........ r140250 | hjl | 2008-09-10 14:13:44 -0700 (Wed, 10 Sep 2008) | 4 lines 2008-09-10 H.J. Lu * expr.c (find_array_element): Reformat comment. ........ r140251 | paolo | 2008-09-10 14:34:38 -0700 (Wed, 10 Sep 2008) | 10 lines 2008-09-10 Paolo Carlini * src/ctype.cc (use_facet >, use_facet): Remove specializations. * src/locale-inst.cc (use_facet >): Instantiate. * include/bits/locale_facets.tcc (use_facet >, use_facet): Declare as extern template. * include/bits/locale_facets.h (use_facet >, use_facet): Do not declare as specializations. ........ r140254 | gccadmin | 2008-09-10 17:16:26 -0700 (Wed, 10 Sep 2008) | 1 line Daily bump. ........ r140257 | irar | 2008-09-10 23:00:03 -0700 (Wed, 10 Sep 2008) | 4 lines * tree-vect-transform.c (vectorizable_store): Use the rhs vector type for alias check. ........ r140264 | domob | 2008-09-11 00:28:18 -0700 (Thu, 11 Sep 2008) | 15 lines 2008-09-11 Daniel Kraft PR fortran/36214 * simplify.c (simplify_cmplx): Added linebreak to long line. * target-memory.c (gfc_convert_boz): Fix indentation. (gfc_interpret_float): Set mpfr precision to right value before calling mpfr_init. 2008-09-11 Daniel Kraft PR fortran/36214 * gfortran.dg/boz_9.f90: Corrected test. * gfortran.dg/boz_13.f90: New test. * gfortran.dg/boz_14.f90: New test. ........ r140265 | jakub | 2008-09-11 00:33:23 -0700 (Thu, 11 Sep 2008) | 7 lines PR target/37382 * expmed.c (extract_low_bits): Avoid creating invalid subregs. * dse.c (find_shift_sequence): Use extract_low_bits instead of simplify_gen_subreg. * gcc.c-torture/compile/pr37382.c: New test. ........ r140272 | schwab | 2008-09-11 02:11:23 -0700 (Thu, 11 Sep 2008) | 3 lines * gcc.target/m68k/xgot-1.c: Add -mcpu=5206 to select a ColdFire target. ........ r140275 | schwab | 2008-09-11 04:08:26 -0700 (Thu, 11 Sep 2008) | 2 lines * config/m68k/m68k.h (IRA_COVER_CLASSES): Define. ........ r140276 | irar | 2008-09-11 05:08:01 -0700 (Thu, 11 Sep 2008) | 5 lines PR tree-optimization/37474 * tree-vect-analyze.c (vect_supported_load_permutation_p): Check the length of load permutation. ........ r140277 | hubicka | 2008-09-11 05:17:22 -0700 (Thu, 11 Sep 2008) | 10 lines * toplev.c (dump_memory_report): Call dump_vec_loc_statistics. * vec.c: Include hashtab.h (vec_descriptor, ptr_hash_entry): New structures. (vec_desc_hash, vec_ptr_map): New static variables. (hash_descriptor, eq_descriptor, hash_ptr, eq_ptr, vec_descriptor, register_overhead, free_overhead, vec_heap_free): New functions. (vec_gc_o_reserve_1): ggc_free when resizing to 0. (vec_heap_o_reserve_1): free when resizing to 0; add statistics. (cmp_statistic, add_statistics, dump_vec_loc_statistics): New functions. ........ r140278 | hubicka | 2008-09-11 05:20:42 -0700 (Thu, 11 Sep 2008) | 3 lines * ifcvt.c (check_cond_move_block): Make regs argument pointer to vector pointer. (cond_move_process_if_block): Update call. ........ r140279 | hubicka | 2008-09-11 05:31:40 -0700 (Thu, 11 Sep 2008) | 5 lines * function.c (free_after_compilation): Call insn_locators_free. * cfglayout.c (insn_locators_free): New function. * rtl.h (insn_locators_free): Declare. ........ r140280 | hubicka | 2008-09-11 05:32:24 -0700 (Thu, 11 Sep 2008) | 2 lines * gimplify.c (pop_gimplify_context): Free bind_expr_stack. ........ r140281 | hubicka | 2008-09-11 05:34:53 -0700 (Thu, 11 Sep 2008) | 6 lines PR middle-end/37448 * tree-inline.c (add_lexical_block): Replace with ... (prepend_lexical_block): ... prepend at begginig. (remap_blocks): Use it and reverse later. (expand_call_inline): Use prepend_lexical_block. ........ r140282 | hubicka | 2008-09-11 05:36:05 -0700 (Thu, 11 Sep 2008) | 4 lines * tree-ssa.c (redirect_edge_var_map_clear): Fix formatting. (free_var_map_entry): New function. (redirect_edge_var_map_destroy): Use it. ........ r140283 | hubicka | 2008-09-11 05:36:53 -0700 (Thu, 11 Sep 2008) | 2 lines * tree-ssa-pre.c (phi_translate_1): Fix memory leak ........ r140284 | hubicka | 2008-09-11 05:38:57 -0700 (Thu, 11 Sep 2008) | 4 lines PR middle-end/37448 * cgraph.c (cgraph_create_edge): Use !cgraph_edge for sanity check. ........ r140285 | hubicka | 2008-09-11 05:41:36 -0700 (Thu, 11 Sep 2008) | 11 lines * cgraph.c (cgraph_release_function_body): Plug memory leak on ipa_transforms_to_apply and CFG; ggc_free gimple df and struct function so we are sure we do not dangle it forever. * function.c (outer_function_chain, find_function_data): Remove. (function_context_stack): New. (push_function_context, pop_function_context): Update. * function.h (struct function): Remove pointer outer. (outer_function_chain, find_function_data): Remove. * stmt.c (force_label_rtx): Remove dead call of find_function_data. ........ r140286 | hubicka | 2008-09-11 05:48:53 -0700 (Thu, 11 Sep 2008) | 3 lines * ggc-common.c (loc_array): Make static. * dce.c (rest_of_handle_ud_dce): Free worklist. ........ r140288 | bonzini | 2008-09-11 07:45:05 -0700 (Thu, 11 Sep 2008) | 26 lines 2008-09-11 Paolo Bonzini * dojump.c (do_jump) [BIT_AND_EXPR]: Move below. Fall through to TRUTH_AND_EXPR for boolean (1-bit precision) expressions. (do_jump) [BIT_IOR_EXPR]: Compile as TRUTH_OR_EXPR. * tree-flow.h (simplify_stmt_using_ranges): Accept a GSI, return a bool. * tree-ssa-propagate.c (substitute_and_fold): Pass a GSI to VRP's simplify_stmt_using_ranges. Do simplify_stmt_using_ranges before finalizing the changes. * tree-vrp.c (extract_range_from_binary_expr): Add limited support for BIT_IOR_EXPR. (simplify_truth_ops_using_ranges): New. (simplify_div_or_mod_using_ranges, simplify_abs_using_ranges, simplify_cond_using_ranges, simplify_switch_using_ranges): Return whether a simplification was made. (simplify_stmt_using_ranges): Ditto, and accept a GSI. For GS_ASSIGN, use a switch statement and also call simplify_truth_ops_using_ranges. testsuite: 2008-09-11 Paolo Bonzini * gcc.dg/tree-ssa/vrp47.c: New. * gcc.target/i386/andor-2.c: New. ........ r140291 | rguenth | 2008-09-11 07:53:20 -0700 (Thu, 11 Sep 2008) | 12 lines 2008-09-11 Richard Guenther * tree-vectorizer.c (slpeel_add_loop_guard): Fix types. (set_prologue_iterations): Likewise. * tree-vect-transform.c (vect_create_addr_base_for_vector_ref): Likewise. (vect_update_init_of_dr): Likewise. * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Fix type verification. * fold-const.c (fold_unary): Do not generate calculations in sub-types. ........ r140293 | jamborm | 2008-09-11 10:03:23 -0700 (Thu, 11 Sep 2008) | 64 lines 2008-09-11 Martin Jambor * ipa-prop.h (struct ipa_param_flags): Removed. (struct ipa_param_descriptor): New structure. (struct ipa_node_params): ipcp_lattices, param_decls and param_flags moved to ipa_param_description. (ipa_get_ith_param): Renamed to ipa_get_param, changed to access descriptors. Renamed all users. (ipa_is_ith_param_modified): Renamed to ipa_is_param_modified, changed to access descriptors. Renamed all users. (ipa_is_ith_param_called): Renamed to ipa_is_param_called, changed to access descriptors. Renamed all users. * ipa-cp.c (ipcp_init_cloned_node): Call ipa_initialize_node_params instead of ipa_count_formal_params and ipa_create_param_decls_array. (ipcp_analyze_node): Likewise. (ipcp_get_ith_lattice): Renamed to ipcp_get_lattice, changed to access descriptors. Renamed all users. (ipcp_initialize_node_lattices): Remove allocation. * ipa-inline.c (inline_indirect_intraprocedural_analysis): Call ipa_initialize_node_params instead of ipa_count_formal_params and ipa_create_param_decls_array. * ipa-prop.c (ipa_create_param_decls_array): Renamed to ipa_populate_param_decls, made static, added parameter info, renamed mt to node, removed allocation, changed to use descriptors. (ipa_count_formal_params): Made static, added parameter info, renamed mt to node. (ipa_initialize_node_params): New function. (ipa_check_stmt_modifications): Changed to use descriptors. (ipa_detect_param_modifications): Removed allocation, changed to use descriptors. (ipa_note_param_call): Changed to use descriptors. (ipa_analyze_params_uses): Removed allocation. (ipa_free_node_params_substructures): Changed to use descriptors. (ipa_edge_duplication_hook): Use the unused attribute. (ipa_node_duplication_hook): Use the unused attribute, changed to use descriptors, changed to duplicate descriptors. * ipa-inline.c (cgraph_mark_inline_edge): New parameter new_edges, changed all callers. Call ipa_propagate_indirect_call_infos if doing indirect inlining. Made static. (cgraph_decide_inlining): Freeing ipa-prop structures after inlining functions called only once. (cgraph_decide_recursive_inlining): Don't call ipa_propagate_indirect_call_infos, pass new_edges to cgraph_mark_inline_edge instead. (cgraph_decide_inlining_of_small_functions): Don't call ipa_propagate_indirect_call_infos, pass new_edges to cgraph_mark_inline_edge instead. (cgraph_decide_inlining): Don't call ipa_propagate_indirect_call_infos. * ipa-prop.c: Check that vectors are allocated. * ipa-inline.c (cgraph_mark_inline_edge): Returns boolean, true iff a new cgraph edges have been created. (cgraph_decide_inlining): New variable redo_always_inline. Flattening and always_inlining loop until callgraph stabilizes. * ipa-prop.c (update_call_notes_after_inlining): Returns boolean, true iff new cgraph edges have been created. (propagate_info_to_inlined_callees): Likewise. (ipa_propagate_indirect_call_infos): Likewise. ........ r140294 | uros | 2008-09-11 10:08:04 -0700 (Thu, 11 Sep 2008) | 3 lines * config/i386/i386.h: Fix whitespace issues. ........ r140295 | law | 2008-09-11 10:17:57 -0700 (Thu, 11 Sep 2008) | 5 lines * reload1.c (alter_reg): Undo the BYTE_BIG_ENDIAN correction performed by assign_stack_local on the IRA path for stack slot sharing as well as the non-IRA path. ........ r140297 | jsm28 | 2008-09-11 14:11:54 -0700 (Thu, 11 Sep 2008) | 2 lines * gcc.dg/builtins-8.c: Condition cbrt test on HAVE_C99_RUNTIME. ........ r140298 | jsm28 | 2008-09-11 14:12:49 -0700 (Thu, 11 Sep 2008) | 3 lines * gcc.target/i386/sse5-haddX.c, gcc.target/i386/sse5-hsubX.c: Avoid intN_t types. ........ r140299 | jsm28 | 2008-09-11 14:14:15 -0700 (Thu, 11 Sep 2008) | 7 lines * lib/compat.exp, gcc.dg/compat/struct-layout-1.exp, g++.dg/compat/struct-layout-1.exp: Use .exe extension for compat test executables. * gcc.dg/compat/struct-layout-1_generate.c, g++.dg/compat/struct-layout-1_generate.c: Convert backslash to slash in srcdir for dg-options string. ........ r140300 | rguenth | 2008-09-11 14:48:11 -0700 (Thu, 11 Sep 2008) | 7 lines 2008-09-11 Richard Guenther * tree-ssa-uncprop.c (associate_equivalences_with_edges): Avoid entering the weaker equivalence recording. * tree-ssa-phiprop.c (propagate_with_phi): Fix tuplification. ........ r140301 | janis | 2008-09-11 15:50:51 -0700 (Thu, 11 Sep 2008) | 5 lines gcc/ * ginclude/float.h (DEC_EVAL_METHOD): Correct the macro name. gcc/testsuite * gcc.dg/dfp/dec-eval-method-2.c: New test. ........ r140302 | sje | 2008-09-11 16:09:38 -0700 (Thu, 11 Sep 2008) | 3 lines * gcc.c-torture/compile/pr11832.c: xfail on ia64-*-*. * gcc.c-torture/compile/pr33009.c: Ditto. ........ r140310 | gccadmin | 2008-09-11 17:16:31 -0700 (Thu, 11 Sep 2008) | 1 line Daily bump. ........ r140312 | ebotcazou | 2008-09-11 22:24:41 -0700 (Thu, 11 Sep 2008) | 4 lines PR rtl-optimization/37424 * ira-color.c (coalesced_pseudo_reg_slot_compare): Untie by comparing the regnos instead of the addresses. ........ r140313 | rguenth | 2008-09-12 02:01:35 -0700 (Fri, 12 Sep 2008) | 9 lines 2008-09-12 Richard Guenther * tree-vrp.c (simplify_truth_ops_using_ranges): Fix types. fortran/ * trans-intrinsic.c (gfc_conv_intrinsic_transfer): Use build_fold_addr_expr to properly mark the argument addressable. ........ r140316 | uweigand | 2008-09-12 06:26:00 -0700 (Fri, 12 Sep 2008) | 3 lines * config/spu/spu.c (spu_override_options): Default to -mno-safe-hints when building for the celledp architecture. ........ r140318 | uweigand | 2008-09-12 06:31:51 -0700 (Fri, 12 Sep 2008) | 4 lines * emit-rtl.c (set_reg_attrs_from_value): Fix invalid alignment information passed to mark_reg_pointer. * explow.c (force_reg): Likewise. ........ r140321 | aesok | 2008-09-12 09:45:34 -0700 (Fri, 12 Sep 2008) | 3 lines PR target/37466 * config/avr/avr.md (movsi_lreg_const peephole2): Add match_dup for scratch register after 'set' pattern. ........ r140325 | vmakarov | 2008-09-12 15:55:23 -0700 (Fri, 12 Sep 2008) | 13 lines 2008-09-12 Vladimir Makarov PR rtl-opt/37377 * ira-build.c (common_loop_tree_node_dominator): Remove. (copy_live_ranges_to_removed_store_destinations): New function. (regno_top_level_allocno_map): Move to top level from ... (ira_flattening): ... here. Use copy_live_ranges_to_removed_store_destinations. * ira-emit.c (generate_edge_moves): Fix a comment. ........ r140326 | spop | 2008-09-12 16:02:24 -0700 (Fri, 12 Sep 2008) | 5 lines 2008-09-12 Sebastian Pop * tree-scalar-evolution.c (set_instantiated_value): Set instantiated_below. ........ r140327 | spop | 2008-09-12 16:03:54 -0700 (Fri, 12 Sep 2008) | 9 lines 2008-09-12 Sebastian Pop PR tree-optimization/37484 * graphite.c (scop_record_loop): Use snprintf instead of sprintf. (save_var_name): Same. (initialize_cloog_names): Same. (initialize_cloog_names): Same. ........ r140330 | gccadmin | 2008-09-12 17:16:50 -0700 (Fri, 12 Sep 2008) | 1 line Daily bump. ........ r140332 | paolo | 2008-09-12 17:32:37 -0700 (Fri, 12 Sep 2008) | 36 lines 2008-09-12 Chris Fairles Benjamin Kosnik * include/std/thread: New. * include/Makefile.am: Update. * include/Makefile.in: Regenerate. * src/thread.cc: New. * src/Makefile.am: Update. * src/Makefile.in: Regenerate. * acinclude.m4: Add check for nanosleep. * configure.ac: Call it. * configure: Regenerate. * config.h.in: Likewise. * config/abi/pre/gnu.ver: Add exports. * doc/doxygen/user.cfg.in: Add thread header. * testsuite/lib/libstdc++.exp (check_v3_target_nanosleep): Add. * testsuite/lib/dg-options.exp (dg-require-nanosleep): Add. * testsuite/30_threads/thread/cons/1.cc: New. * testsuite/30_threads/thread/cons/2.cc: Likewise. * testsuite/30_threads/thread/cons/3.cc: Likewise. * testsuite/30_threads/thread/cons/4.cc: Likewise. * testsuite/30_threads/thread/algorithm/1.cc: Likewise. * testsuite/30_threads/thread/algorithm/2.cc: Likewise. * testsuite/30_threads/thread/member/1.cc: Likewise. * testsuite/30_threads/thread/member/2.cc: Likewise. * testsuite/30_threads/thread/member/3.cc: Likewise. * testsuite/30_threads/thread/this_thread/1.cc: Likewise. * testsuite/30_threads/thread/this_thread/2.cc: Likewise. * testsuite/30_threads/thread/this_thread/3.cc: Likewise. * testsuite/30_threads/thread/this_thread/4.cc: Likewise. * testsuite/30_threads/headers/thread/types_std_c++0x.cc: Likewise. * testsuite/30_threads/headers/thread/std_c++0x_neg.cc: Likewise. * testsuite/17_intro/headers/c++200x/all.cc: Add thread. * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Add thread, condition_variable and mutex. ........ r140333 | paolo | 2008-09-12 17:44:21 -0700 (Fri, 12 Sep 2008) | 36 lines 2008-09-12 Chris Fairles Benjamin Kosnik * include/std/thread: New. * include/Makefile.am: Update. * include/Makefile.in: Regenerate. * src/thread.cc: New. * src/Makefile.am: Update. * src/Makefile.in: Regenerate. * acinclude.m4: Add check for nanosleep. * configure.ac: Call it. * configure: Regenerate. * config.h.in: Likewise. * config/abi/pre/gnu.ver: Add exports. * doc/doxygen/user.cfg.in: Add thread header. * testsuite/lib/libstdc++.exp (check_v3_target_nanosleep): Add. * testsuite/lib/dg-options.exp (dg-require-nanosleep): Add. * testsuite/30_threads/thread/cons/1.cc: New. * testsuite/30_threads/thread/cons/2.cc: Likewise. * testsuite/30_threads/thread/cons/3.cc: Likewise. * testsuite/30_threads/thread/cons/4.cc: Likewise. * testsuite/30_threads/thread/algorithm/1.cc: Likewise. * testsuite/30_threads/thread/algorithm/2.cc: Likewise. * testsuite/30_threads/thread/member/1.cc: Likewise. * testsuite/30_threads/thread/member/2.cc: Likewise. * testsuite/30_threads/thread/member/3.cc: Likewise. * testsuite/30_threads/thread/this_thread/1.cc: Likewise. * testsuite/30_threads/thread/this_thread/2.cc: Likewise. * testsuite/30_threads/thread/this_thread/3.cc: Likewise. * testsuite/30_threads/thread/this_thread/4.cc: Likewise. * testsuite/30_threads/headers/thread/types_std_c++0x.cc: Likewise. * testsuite/30_threads/headers/thread/std_c++0x_neg.cc: Likewise. * testsuite/17_intro/headers/c++200x/all.cc: Add thread. * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Add thread, condition_variable and mutex. ........ r140334 | hubicka | 2008-09-13 00:30:15 -0700 (Sat, 13 Sep 2008) | 3 lines PR middle-end/37500 * pt.c (tsubst_decl): Do not copy DECL_STRUCT_FUNCTION pointer. ........ r140335 | rsandifo | 2008-09-13 00:31:42 -0700 (Sat, 13 Sep 2008) | 29 lines gcc/ * ira-color.c (conflict_allocno_vec): Delete. (update_cost_queue_elem): New structure. (update_cost_queue): New variable. (update_cost_queue_tail): Likewise. (update_cost_queue_elems): Likewise. (allocno_update_cost_check): Delete. (initiate_cost_update): Allocate update_cost_queue_elems instead of allocno_update_cost_check. (finish_cost_update): Update the free()s accordingly. (start_update_cost): New function. (queue_update_cost): Likewise. (get_next_update_cost): Likewise. (update_copy_costs_1): Inline into... (update_copy_costs): ...here. Use a queue instead of recursive calls. Use cover_class instead of ALLOCNO_COVER_CLASS (another_allocno), once we've established they are equal. Don't allocate update costs if there is nothing to add to them. (update_conflict_hard_regno_costs): Remove ALLOCNO and DIVISOR arguments. Use a queue instead of recursive calls; process all the allocnos in the initial queue, rather than a single allocno. (assign_hard_reg): Use queue_update_cost instead of conflict_allocno_vec. Queue coalesced allocnos instead of calling update_conflict_hard_regno_costs for each one. Just call update_conflict_hard_regno_costs once for the entire queue. (ira_color): Remove conflict_allocno_vec handling. ........ r140336 | domob | 2008-09-13 00:44:36 -0700 (Sat, 13 Sep 2008) | 11 lines 2008-09-13 Daniel Kraft PR fortran/35770 * primary.c (gfc_match_varspec): Added missing type-spec clearing after wrong implicit character typing. 2008-09-13 Daniel Kraft PR fortran/35770 * gfortran.dg/implicit_13.f90: New test. ........ r140337 | rsandifo | 2008-09-13 01:15:59 -0700 (Sat, 13 Sep 2008) | 1 line Apply correct version of previous patch (tweaked formatting). ........ r140338 | paolo | 2008-09-13 02:38:05 -0700 (Sat, 13 Sep 2008) | 9 lines 2008-09-13 Chris Fairles * testsuite/30_threads/thread/algorithm/1.cc: Join thread before program exits. * testsuite/30_threads/thread/algorithm/2.cc: Likewise. * testsuite/30_threads/thread/this_thread/3.cc: Define test variable. * testsuite/30_threads/thread/this_thread/4.cc: Likewise. ........ r140340 | uros | 2008-09-13 06:26:46 -0700 (Sat, 13 Sep 2008) | 22 lines * gcc.c-torture/pr36141.c: Move to ... * gcc.c-torture/compile/pr36141.c: ... here. * gcc.dg/arm-g2.c: Move to ... * gcc.target/arm/g2.c: ... here. * gcc.dg/arm-vfp1.c: Move to ... * gcc.target/arm/vfp1.c: ... here. * gcc.dg/20031108-1: Move to ... * gcc.target/arm/20031108-1.c: ... here. * gcc.dg/20030909-1: Move to ... * gcc.target/arm/20030909-1.c: ... here. * gcc.dg/arm-mmx-1.c: Move to ... * gcc.target/arm/mmx-1.c: ... here. * gcc.dg/arm-scd[123].c: Move to ... * gcc.target/arm/scd[123].c: ... here. * gcc.dg/arm-asm.c: Move to ... * gcc.target/arm/asm.c: ... here. * gcc.dg/20080410-1: Move to ... * gcc.target/sh/20080410-1.c: ... here. * gcc.dg/globalreg-1.c: Move to ... * gcc.target/sparc/globalreg-1.c: ... here. ........ r140341 | hubicka | 2008-09-13 07:35:10 -0700 (Sat, 13 Sep 2008) | 10 lines * cgraph.c (free_edges): New variable. (NEXT_FREE_EDGE): New macro. (cgraph_free_edge): New function. (cgraph_remove_edge): Call cgraph_remove_edge_1. (cgraph_node_remove_callees): Likewise. (cgraph_node_remove_callers): Likewise. (cgraph_create_edge): Reuse edges from the free list. Do not update uid if doing so. (cgraph_remove_*_hook): Add free call. ........ r140342 | hubicka | 2008-09-13 07:38:10 -0700 (Sat, 13 Sep 2008) | 3 lines PR tree-optimization/37392 * tree-inline.c (remap_gimple_stmt): Do not remap return value. ........ r140343 | hjl | 2008-09-13 08:44:07 -0700 (Sat, 13 Sep 2008) | 5 lines 2008-09-13 H.J. Lu PR testsuite/37495 * gcc.c-torture/compile/vector-4.c: Add "dg-do compile". ........ r140344 | hjl | 2008-09-13 08:47:41 -0700 (Sat, 13 Sep 2008) | 15 lines gcc/ 2008-09-13 H.J. Lu PR rtl-optimization/37489 * cse.c (fold_rtx): Don't return const_true_rtx for float compare if FLOAT_STORE_FLAG_VALUE is undefined. gcc/testsuite/ 2008-09-13 Raksit Ashok PR rtl-optimization/37489 * g++.dg/opt/cse3.C: New. ........ r140346 | rguenth | 2008-09-13 09:29:22 -0700 (Sat, 13 Sep 2008) | 6 lines 2008-09-13 Richard Guenther PR middle-end/30141 * tree-nested.c (finalize_nesting_tree_1): Generate valid gimple stores for memory rhs. ........ r140347 | rwild | 2008-09-13 11:54:58 -0700 (Sat, 13 Sep 2008) | 8 lines gcc/ * doc/cfg.texi: Fix some typos. * doc/extend.texi: Likewise. * doc/install.texi: Likewise. * doc/invoke.texi: Likewise. * doc/rtl.texi: Likewise. * doc/tree-ssa.texi: Likewise. ........ r140348 | hubicka | 2008-09-13 12:19:57 -0700 (Sat, 13 Sep 2008) | 4 lines * i386.c (ix86_expand_movmem, ix86_expand_movstr): Avoid processing too many bytes on misalligned blocks. ........ r140349 | hubicka | 2008-09-13 14:39:44 -0700 (Sat, 13 Sep 2008) | 6 lines PR middle-end/32581 * tree-profile.c (add_abnormal_goto_call_edges): New function. (tree_gen_interval_profiler, tree_gen_pow2_profiler, tree_gen_one_value_profiler, tree_gen_average_profiler, tree_gen_ic_func_profiler, tree_gen_ior_profiler): Use it. ........ r140350 | hubicka | 2008-09-13 15:32:57 -0700 (Sat, 13 Sep 2008) | 4 lines * cgraph.c: Include value-prof.h * Makefile.in (cgraph.o): Add value-prof.h dependency. ........ r140351 | dannysmith | 2008-09-13 15:58:55 -0700 (Sat, 13 Sep 2008) | 7 lines * config/i386/cygming-crtend.c (register_frame_ctor): If DEFAULT_USE_CXA_ATEXIT, register __gcc_deregister_frame directly with atexit. (deregister_frame_ctor): Rename to ... (deregister_frame_dtor): Use to call __gcc_deregister_frame if !DEFAULT_USE_CXA_ATEXIT. ........ r140354 | gccadmin | 2008-09-13 17:16:35 -0700 (Sat, 13 Sep 2008) | 1 line Daily bump. ........ r140356 | rwild | 2008-09-13 23:21:12 -0700 (Sat, 13 Sep 2008) | 19 lines gcc/ada/ * a-crbtgk.adb, a-direct.ads, a-tasatt.adb, ali.ads, bindgen.adb, checks.adb, einfo.ads, exp_aggr.adb, exp_ch11.adb, exp_ch3.adb, exp_ch4.adb, exp_ch6.adb, exp_ch7.adb, exp_ch9.adb, exp_dbug.ads, exp_disp.adb, exp_dist.adb, exp_pakd.adb, exp_util.adb, g-alveop.ads, g-comlin.adb, g-comlin.ads, g-diopit.adb, g-socket.ads, gcc-interface/decl.c, gcc-interface/gigi.h, gcc-interface/trans.c, lib-load.adb, lib-xref.ads, make.adb, mlib-prj.adb, nlists.ads, opt.ads, par-ch10.adb, par-ch5.adb, par.adb, s-os_lib.ads, s-oscons-tmplt.c, s-parint.ads, s-regpat.ads, s-shasto.ads, s-stausa.ads, s-taprop-vms.adb, sem.adb, sem_ch10.adb, sem_ch11.adb, sem_ch12.adb, sem_ch13.adb, sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, sem_ch6.adb, sem_ch7.adb, sem_ch8.adb, sem_elim.adb, sem_prag.adb, sem_util.adb, sem_util.ads, sem_warn.adb, sinfo.ads, styleg.adb, vms_data.ads: Fix typos in comments. * gnathtml.pl: Fix typos. ........ r140357 | hubicka | 2008-09-14 02:14:51 -0700 (Sun, 14 Sep 2008) | 2 lines * gcc-interface/Make-lang.in (gnac1): Add CFLAGS. ........ r140360 | aesok | 2008-09-14 05:50:10 -0700 (Sun, 14 Sep 2008) | 9 lines PR target/19636 PR target/24894 PR target/31644 PR target/31786 * config/avr/avr.c (legitimate_address_p): Fix problem where subreg is not recognized as a valid register usage. Allow REG_X to be used as a base pointer. * config/avr/avr.h (LEGITIMIZE_RELOAD_ADDRESS): Remove code that forces a reload when using a base register. ........ r140361 | dje | 2008-09-14 06:55:29 -0700 (Sun, 14 Sep 2008) | 4 lines * config.host: Add x-aix to host_xmake_file. * config/rs6000/t-aix52: Do not override LDFLAGS. * config/rs6000/x-aix: New file. ........ r140362 | hubicka | 2008-09-14 10:05:39 -0700 (Sun, 14 Sep 2008) | 4 lines * invoke.texi (-fconserve-stack): Document. * opts.c (decode_options): Handle conserve_stack. * common.opt (fconvserve_stack): New. ........ r140363 | schwab | 2008-09-14 10:58:14 -0700 (Sun, 14 Sep 2008) | 2 lines * tree-call-cdce.c (check_target_format): Accept Motorola formats. ........ r140364 | gerald | 2008-09-14 11:14:41 -0700 (Sun, 14 Sep 2008) | 6 lines * MAINTAINERS: Remove John Carr, Steve Chamberlain, Michael Chastain, Klaus Kaempf, Mumit Khan, Alan Lehotsky, Warren Levy, Don Lindsay, Dave Love, Alexandre Petit-Bianco, Clinton Popetz, Gavin Romig-Koch, and Michael Tiemann from Write After Approval since they do not actually have access. ........ r140366 | jvdelisle | 2008-09-14 12:00:26 -0700 (Sun, 14 Sep 2008) | 8 lines 2008-09-14 Jerry DeLisle Tobias Burnus PR fortran/35840 * io.c (match_vtag): Add tag name to error message. (match_out_tag): Cleanup whitespace. (gfc_resolve_dt): Resolve id and async tags. ........ r140370 | gccadmin | 2008-09-14 17:16:32 -0700 (Sun, 14 Sep 2008) | 1 line Daily bump. ........ r140373 | ebotcazou | 2008-09-15 13:26:02 -0700 (Mon, 15 Sep 2008) | 3 lines * gcc-interface/trans.c (gigi): Declare the name of the compilation unit as the first global name. ........ r140374 | jakub | 2008-09-15 14:52:53 -0700 (Mon, 15 Sep 2008) | 5 lines PR libmudflap/36397 * tree-mudflap.c (mf_xform_derefs_1): Handle VIEW_CONVERT_EXPR. * testsuite/libmudflap.c/pass64-frag.c: New test. ........ r140375 | jakub | 2008-09-15 14:54:04 -0700 (Mon, 15 Sep 2008) | 3 lines PR middle-end/37479 * doc/invoke.texi: Document -fno-dwarf2-cfi-asm. ........ r140376 | jakub | 2008-09-15 14:55:05 -0700 (Mon, 15 Sep 2008) | 10 lines * tree-predcom.c (filter_suitable_components): Free all refs in act->refs vector before calling release_component. (add_ref_to_chain): Free ref if not adding it to chain->refs. * tree-data-ref.c (free_subscripts): Free all subscript objects. * tree-loop-linear.c (linear_transform_loops): Initialize lambda_obstack only after calling perfect_loop_nest_depth. Goto free_and_continue instead of just continue for later failures. ........ r140377 | jakub | 2008-09-15 14:56:35 -0700 (Mon, 15 Sep 2008) | 4 lines * tree-ssa-alias.c (init_alias_info): Call bitmap_obstack_release in every call starting with the second one, instead of only when alias_bitmap_obstack.elements != NULL. ........ r140378 | jakub | 2008-09-15 14:57:17 -0700 (Mon, 15 Sep 2008) | 3 lines * ira-color.c (finish_cost_update): Free update_cost_queue_elems rather than update_cost_queue. ........ r140379 | aldyh | 2008-09-15 15:24:18 -0700 (Mon, 15 Sep 2008) | 20 lines testsuite/ * g++.old-deja/g++.brendan/crash16.C: Function name is the correct location for an error regarding a function. * g++.old-deja/g++.other/pmf3.C: Same. * g++.old-deja/g++.law/ctors5.C: Same. * g++.old-deja/g++.pt/explicit34.C: Same. * g++.dg/parse/error28.C: Same. * g++.dg/parse/error17.C: Same. * g++.dg/template/friend44.C: Same. cp/ * decl.c (duplicate_decls): Call error_at. (grokfndecl): New location argument. Use location if available. (grokdeclarator): Pass declarator location to grokfndecl. * cp-tree.h (struct cp_declarator): Update comment for id_loc. * decl2.c (check_classfn): Use error_at. * parser.c (cp_parser_init_declarator): Set function_start_locus to brace location. (cp_parser_member_declaration): Set id_loc for function declarators. ........ r140381 | pinskia | 2008-09-15 15:59:55 -0700 (Mon, 15 Sep 2008) | 10 lines 2008-09-15 Andrew Pinski * config/rs6000/rs6000.md (floatsidf2): Rewrite PowerPC64 case to use gen_floatdidf2 directly. (floatunssidf2): Likewise. (floatsidf_ppc64_mfpgpr): Remove. (floatsidf_ppc64): Remove. (floatunssidf_ppc64): Remove. ........ r140382 | kkojima | 2008-09-15 16:07:28 -0700 (Mon, 15 Sep 2008) | 3 lines * config/sh/sh.md (movsf_ie): Fix length for TARGET_SH2A. ........ r140385 | gccadmin | 2008-09-15 17:17:08 -0700 (Mon, 15 Sep 2008) | 1 line Daily bump. ........ r140387 | rguenth | 2008-09-16 05:31:51 -0700 (Tue, 16 Sep 2008) | 7 lines 2008-09-16 Richard Guenther PR tree-optimization/37508 * tree-vrp.c (simplify_truth_ops_using_ranges): Also allow -1. * gcc.dg/tree-ssa/pr37508.c: New testcase. ........ r140388 | rguenth | 2008-09-16 05:34:01 -0700 (Tue, 16 Sep 2008) | 8 lines 2008-09-16 Richard Guenther PR middle-end/37380 * tree-sra.c (sra_build_assignment): Do not call the gimplifier if not necessary. * gcc.c-torture/compile/pr37380.c: New testcase. ........ r140395 | pinskia | 2008-09-16 09:21:35 -0700 (Tue, 16 Sep 2008) | 8 lines 2008-09-16 Andrew Pinski PR middle-end/37263 * tree-ssa-loop-ivopts.c (determine_use_iv_cost_condition): Prefer the eliminate IV if the cost are the same. ........ r140398 | jakub | 2008-09-16 15:02:37 -0700 (Tue, 16 Sep 2008) | 5 lines PR testsuite/36889 * lib/fortran-torture.exp (get-fortran-torture-options): Only set test_tree_vectorize on i?86/x86_64 resp. sparc* if sse2 resp. ultrasparc hw is available. ........ r140399 | jakub | 2008-09-16 15:03:57 -0700 (Tue, 16 Sep 2008) | 6 lines PR c++/37532 * lex.c (init_reswords): Don't populate ridpointers for D_CONLY reserved words. * g++.dg/parse/crash46.C: New test. ........ r140400 | jakub | 2008-09-16 15:05:15 -0700 (Tue, 16 Sep 2008) | 6 lines PR c++/37531 * semantics.c (finish_compound_literal): Return error_mark_node if type is errorneous. * g++.dg/parse/crash47.C: New test. ........ r140401 | jakub | 2008-09-16 15:06:28 -0700 (Tue, 16 Sep 2008) | 6 lines PR c++/37530 * gimplify.c (gimplify_expr) : Don't create GIMPLE_TRY if cleanup sequence is empty. * g++.dg/parse/crash48.C: New test. ........ r140402 | jakub | 2008-09-16 15:08:01 -0700 (Tue, 16 Sep 2008) | 6 lines PR c/37529 * gimplify.c (gimplify_expr) : If gimplification of GOTO_DESTINATION failed, don't create GIMPLE_GOTO. * gcc.dg/pr37529.c: New test. ........ r140403 | nemet | 2008-09-16 15:15:49 -0700 (Tue, 16 Sep 2008) | 10 lines PR rtl-optimization/37483 * ifcvt.c (noce_try_sign_mask): Use if_info->test_bb instead of if_info->insn_b's bb as argument to optimize_bb_for_speed_p. Rearrange code to better match the original comment. Check t_unconditional first. Improve comment. testsuite/ * gcc.c-torture/compile/pr37483.c: New test. * gcc.c-torture/compile/pr37395.c: New test. ........ r140404 | paolo | 2008-09-16 16:17:09 -0700 (Tue, 16 Sep 2008) | 30 lines 2008-09-16 Chris Fairles * testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc: New. * testsuite/25_algorithms/min/requirements/explicit_instantiation/ pod2.cc: Likewise. * testsuite/25_algorithms/min/3.cc: Likewise. * testsuite/25_algorithms/min/4.cc: Likewise. * testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc: Likewise. * testsuite/25_algorithms/max/requirements/explicit_instantiation/ pod2.cc: Likewise. * testsuite/25_algorithms/max/3.cc: Likewise. * testsuite/25_algorithms/max/4.cc: Likewise. * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/ 3.cc: Likewise. * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/ pod2.cc: Likewise. * testsuite/25_algorithms/minmax/2.cc: Likewise. * testsuite/25_algorithms/minmax/3.cc: Likewise. 2008-09-16 Paolo Carlini * include/bits/stl_algo.h (min(initializer_list<>), min(initializer_list<>, Compare), max(initializer_list<>), max(initializer_list<>, Compare), minmax(initializer_list<>), minmax(initializer_list<>, Compare)): Add in C++0x mode. * include/bits/algorithmfwd.h: Add. * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise. ........ r140405 | janis | 2008-09-16 17:06:57 -0700 (Tue, 16 Sep 2008) | 64 lines PR testsuite/25241 * testsuite/g++.dg/charset/attribute2.c: Replace dg-error with dg-warning or vice versa. * testsuite/g++.dg/conversion/dr195.C: Ditto. * testsuite/g++.dg/cpp0x/variadic60.C: Ditto. * testsuite/g++.dg/expr/cast2.C: Ditto. * testsuite/g++.dg/ext/anon-struct4.C: Ditto. * testsuite/g++.dg/ext/member-attr.C: Ditto. * testsuite/g++.dg/ext/utf-array.C: Ditto. * testsuite/g++.dg/ext/utf-array-short-wchar.C: Ditto. * testsuite/g++.dg/ext/utf-typedef-cxx0x.C: Ditto. * testsuite/g++.dg/ext/visibility/redecl1.C: Ditto. * testsuite/g++.dg/ext/visibility/warn4.C: Ditto. * testsuite/g++.dg/parse/defarg11.C: Ditto. * testsuite/g++.dg/template/error17.C: Ditto. * testsuite/g++.dg/warn/pedantic2.C: Ditto. * testsuite/g++.dg/warn/pr21983.C: Ditto. * testsuite/g++.dg/warn/return-reference2.C: Ditto. * testsuite/g++.old-deja/g++.bob/inherit1.C: Ditto. * testsuite/g++.old-deja/g++.brendan/crash13.C: Ditto. * testsuite/g++.old-deja/g++.brendan/crash17.C: Ditto. * testsuite/g++.old-deja/g++.brendan/crash52.C: Ditto. * testsuite/g++.old-deja/g++.brendan/crash55.C: Ditto. * testsuite/g++.old-deja/g++.brendan/enum7.C: Ditto. * testsuite/g++.old-deja/g++.brendan/operators4.C: Ditto. * testsuite/g++.old-deja/g++.brendan/template17.C: Ditto. * testsuite/g++.old-deja/g++.brendan/warnings1.C: Ditto. * testsuite/g++.old-deja/g++.bugs/900205_03.C: Ditto. * testsuite/g++.old-deja/g++.bugs/900227_01.C: Ditto. * testsuite/g++.old-deja/g++.ext/arrnew.C: Ditto. * testsuite/g++.old-deja/g++.ext/attrib4.C: Ditto. * testsuite/g++.old-deja/g++.jason/cond.C: Ditto. * testsuite/g++.old-deja/g++.jason/operator.C: Ditto. * testsuite/g++.old-deja/g++.jason/report.C: Ditto. * testsuite/g++.old-deja/g++.law/friend5.C: Ditto. * testsuite/g++.old-deja/g++.law/temps1.C: Ditto. * testsuite/g++.old-deja/g++.law/union4.C: Ditto. * testsuite/g++.old-deja/g++.martin/pure1.C: Ditto. * testsuite/g++.old-deja/g++.mike/empty.C: Ditto. * testsuite/g++.old-deja/g++.mike/for2.C: Ditto. * testsuite/g++.old-deja/g++.mike/misc9.C: Ditto. * testsuite/g++.old-deja/g++.mike/p10769b.C: Ditto. * testsuite/g++.old-deja/g++.mike/p2855.C: Ditto. * testsuite/g++.old-deja/g++.mike/p3060c.C: Ditto. * testsuite/g++.old-deja/g++.mike/p700.C: Ditto. * testsuite/g++.old-deja/g++.mike/p9732c.C: Ditto. * testsuite/g++.old-deja/g++.mike/pmf6.C: Ditto. * testsuite/g++.old-deja/g++.mike/warn1.C: Ditto. * testsuite/g++.old-deja/g++.mike/warn5.C: Ditto. * testsuite/g++.old-deja/g++.niklas/t141.C: Ditto. * testsuite/g++.old-deja/g++.other/cast6.C: Ditto. * testsuite/g++.old-deja/g++.other/cond5.C: Ditto. * testsuite/g++.old-deja/g++.other/conv8.C: Ditto. * testsuite/g++.old-deja/g++.other/decl5.C: Ditto. * testsuite/g++.old-deja/g++.other/delete2.C: Ditto. * testsuite/g++.old-deja/g++.other/delete4.C: Ditto. * testsuite/g++.old-deja/g++.other/linkage1.C: Ditto. * testsuite/g++.old-deja/g++.other/ptrmem8.C: Ditto. * testsuite/g++.old-deja/g++.other/typename1.C: Ditto. * testsuite/g++.old-deja/g++.pt/typename14.C: Ditto. * testsuite/g++.old-deja/g++.pt/typename4.C: Ditto. * testsuite/g++.old-deja/g++.pt/typename5.C: Ditto. * testsuite/g++.old-deja/g++.pt/typename7.C: Ditto. ........ r140408 | gccadmin | 2008-09-16 17:16:35 -0700 (Tue, 16 Sep 2008) | 1 line Daily bump. ........ r140411 | sam | 2008-09-17 00:58:12 -0700 (Wed, 17 Sep 2008) | 5 lines 2008-09-17 Pascal Rigaux gcc/ada/ PR ada/21327 * gnat_ugn.texi: Use proper format in direntry. ........ r140412 | rguenth | 2008-09-17 04:42:11 -0700 (Wed, 17 Sep 2008) | 9 lines 2008-09-17 Richard Guenther PR middle-end/37385 PR tree-optimization/37491 * alias.c (get_alias_set): Use the canonical type. * tree-vect-transform.c (vectorizable_store): Use the type of the lhs for the vector type. Adjust checking. (vectorizable_load): Adjust checking. ........ r140415 | hubicka | 2008-09-17 05:02:42 -0700 (Wed, 17 Sep 2008) | 18 lines * ipa-reference.c (ipa_obstack): Remove. (local_info_obstack, global_info_obstack): New. (add_static_var): We now handle variables only. (mark_address_taken, mark_load, mark_store): New functions based on ... (check_operand): ... remove. (get_asm_stmt_operands): Rename to ... (check_asm_memory_clobber): ... this. Look only for memory clobber. (scan_stmt_for_static_refs): Rewrite. (scan_op_for_static_refs): Rename to ... (scan_initializer_for_static_refs): do not look for VAR_DECL initializers; stop recursion on types and decls. (ipa_init): Use proper obstacks. (analyze_variable): Use scan_initializer_for_static_refs. (init_function_info): Use local obstack. (analyze_function): Simplify. (add_new_function): We don't need visited_nodes obstack. (generate_summary): Use proper obstacks; cleanup after propagation. ........ r140417 | ro | 2008-09-17 05:26:43 -0700 (Wed, 17 Sep 2008) | 4 lines PR bootstrap/37441 * dwarf2out.c (dwarf2out_do_cfi_asm) [MIPS_DEBUGGING_INFO]: Return false. ........ r140418 | hubicka | 2008-09-17 08:00:59 -0700 (Wed, 17 Sep 2008) | 19 lines PR c++/18071 * tree.h (DECL_INLINE): remove. (DECL_DECLARED_INLINE_P): Update docs. (DECL_NO_INLINE_WARNING_P): new. (tree_function_decl): Replace inline_flag by no_inline_warning_flag. * tree-inline.c (inlinable_function_p): Set DECL_NO_INLINE_WARNING_P. Java: * class.c (add_method_1): Do not initialize DECL_INLINE. (make_local_function_alias): Likewise. * expr.c (rewrite_arglist_getcaller): Set DECL_UNINLINABLE. * lang.c (java_decl_ok_for_sibcall): Use DECL_UNINLINABLE. Objc: * objc/objc-act.c (objc_finish_method_definition): Do not set DECL_INLINE. C++: * cp/decl.c (start_method): Set DECL_NO_INLINE_WARNING_P. ........ r140420 | hjl | 2008-09-17 08:46:03 -0700 (Wed, 17 Sep 2008) | 5 lines 2008-09-17 Art Haas * ipa-reference.c (analyze_function): Declare step only if ENABLE_CHECKING is defined. ........ r140421 | jakub | 2008-09-17 09:05:11 -0700 (Wed, 17 Sep 2008) | 8 lines PR preprocessor/37324 * lib/target-supports.exp (check_effective_target_wchar_t_char16_t_compatible, check_effective_target_wchar_t_char32_t_compatible): New. * gcc.dg/utf-array.c: Use __CHAR{16,32}_TYPE__ macros in typedefs. Only require from incompatible errors for char{16,32}_t vs. wchar_t initializations if those types are indeed incompatible. ........ r140422 | jakub | 2008-09-17 09:07:08 -0700 (Wed, 17 Sep 2008) | 6 lines PR c++/37552 * typeck.c (build_array_ref): Use protected_set_expr_location instead of SET_EXPR_LOCATION when ret might not be an expression. * g++.dg/parse/crash49.C: New test. ........ r140424 | jason | 2008-09-17 10:31:08 -0700 (Wed, 17 Sep 2008) | 3 lines PR c++/37588 * name-lookup.c (lookup_type_scope): Look through sk_function_parms. ........ r140425 | hjl | 2008-09-17 10:57:24 -0700 (Wed, 17 Sep 2008) | 6 lines 2008-09-17 H.J. Lu PR c++/37450 * name-lookup.c (pushdecl_maybe_friend): Don't return the old parameter for duplicate. ........ r140427 | rguenth | 2008-09-17 12:07:27 -0700 (Wed, 17 Sep 2008) | 6 lines 2008-09-17 Richard Guenther PR c++/22374 * rtti.c (build_dynamic_cast_1): Convert the COND_EXPR result to the correct type. ........ r140429 | jakub | 2008-09-17 14:26:45 -0700 (Wed, 17 Sep 2008) | 3 lines * tree.c (protected_set_expr_location): Don't unnecessarily check for error_mark_node. ........ r140430 | pinskia | 2008-09-17 14:39:13 -0700 (Wed, 17 Sep 2008) | 26 lines 2008-09-17 Andrew Pinski * tree.c (get_callee_fndecl): Don't call the language hook. * langhooks.h (lang_hooks): Remove lang_get_callee_fndecl. * langhooks-def.h (LANG_HOOKS_GET_CALLEE_FNDECL): Kill. (LANG_HOOKS_INITIALIZER): Remove LANG_HOOKS_GET_CALLEE_FNDECL. 2008-09-17 Andrew Pinski PR objc/37460 * objc-lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): Don't define. * objc-act.h (objc_get_callee_fndecl): Remove prototype. * objc-act.c (objc_get_callee_fndecl): Kill. 2008-09-17 Andrew Pinski * lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): Don't define. (java_get_callee_fndecl): Kill. 2008-09-17 Andrew Pinski PR objc/37460 * objcp-lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): Don't define. ........ r140431 | rguenth | 2008-09-17 14:42:55 -0700 (Wed, 17 Sep 2008) | 16 lines 2008-09-17 Richard Guenther * tree-cfg.c (verify_types_in_gimple_assign): Rename to ... (verify_gimple_assign): ... this. Split into ... (verify_gimple_assign_unary): ... this, (verify_gimple_assign_binary): ... that, (verify_gimple_assign_single): ... and this. (verify_types_in_gimple_stmt): Call verify_gimple_assign. Fix GIMPLE_CHANGE_DYNAMIC_TYPE handling. (verify_types_in_gimple_min_lval): Handle TARGET_MEM_REF. (verify_types_in_gimple_reference): Be forgiving with VIEW_CONVERT_EXPRs. (verify_gimple_phi): Deal with virtual operands. * tree.def (PREDICT_EXPR): Change to tcc_expression. ........ r140432 | ebotcazou | 2008-09-17 14:48:08 -0700 (Wed, 17 Sep 2008) | 4 lines * varasm.c (initializer_constant_valid_p): Forbid view-conversions from aggregate to non-aggregate type if the bit pattern is not fully preserved afterwards. ........ r140433 | jakub | 2008-09-17 14:51:50 -0700 (Wed, 17 Sep 2008) | 4 lines PR fortran/37536 * trans-stmt.c (gfc_trans_do): Optimize integer type non-simple do loop initialization. ........ r140434 | pault | 2008-09-17 15:23:51 -0700 (Wed, 17 Sep 2008) | 40 lines 2008-09-18 Paul Thomas PR fortran/37274 PR fortran/36374 * module.c (check_for_ambiguous): New function to test loaded symbol for ambiguity with fixup symbol. (read_module): Call check_for_ambiguous. (write_symtree): Do not write the symtree for symbols coming from an interface body. PR fortran/36374 * resolve.c (count_specific_procs ): New function to count the number of specific procedures with the same name as the generic and emit appropriate errors for and actual argument reference. (resolve_assumed_size_actual): Add new argument no_formal_args. Correct logic around passing generic procedures as arguments. Call count_specific_procs from two locations. (resolve_function): Evaluate and pass no_formal_args. (resolve call): The same and clean up a bit by using csym more widely. PR fortran/36454 * symbol.c (gfc_add_access): Access can be updated if use associated and not private. 2008-09-18 Paul Thomas PR fortran/37274 * gfortran.dg/used_types_22.f90: New test. * gfortran.dg/used_types_23.f90: New test. PR fortran/36374 * gfortran.dg/generic_17.f90: New test. * gfortran.dg/ambiguous_specific_2.f90: New test. * gfortran.dg/generic_actual_arg.f90: Add test for case that is not ambiguous. PR fortran/36454 * gfortran.dg/access_spec_3.f90: New test. ........ r140435 | paolo | 2008-09-17 15:58:38 -0700 (Wed, 17 Sep 2008) | 24 lines 2008-09-17 Paolo Carlini PR libstdc++/37547 * include/bits/stl_algo.h (min(initializer_list<>), min(initializer_list<>, Compare), max(initializer_list<>), max(initializer_list<>, Compare), minmax(initializer_list<>), minmax(initializer_list<>, Compare)): Fix return type. * include/bits/algorithmfwd.h: Adjust. * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise. * testsuite/25_algorithms/max/requirements/explicit_instantiation/3.cc: Likewise. * testsuite/25_algorithms/max/requirements/explicit_instantiation/ pod2.cc: Likewise. * testsuite/25_algorithms/min/requirements/explicit_instantiation/3.cc: Likewise. * testsuite/25_algorithms/min/requirements/explicit_instantiation/ pod2.cc: Likewise. * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/ 3.cc: Likewise. * testsuite/25_algorithms/minmax/requirements/explicit_instantiation/ pod2.cc: Likewise. * testsuite/25_algorithms/max/37547.cc: New. * testsuite/25_algorithms/min/37547.cc: Likewise. * testsuite/25_algorithms/minmax/37547.cc: Likewise. ........ r140437 | janis | 2008-09-17 16:23:11 -0700 (Wed, 17 Sep 2008) | 30 lines PR testsuite/25241 * g++.old-deja/g++.brendan/crash7.C: Remove "error" or "warning" from message for dg-error/dg-warning. * g++.old-deja/g++.jason/crash11.C: Ditto. * g++.old-deja/g++.oliva/template1.C: Ditto. * g++.old-deja/g++.benjamin/tem03.C: Ditto. * g++.dg/rtti/no-rtti.C: Ditto. * g++.dg/cpp/pedantic-errors.C: Ditto. * g++.dg/cpp/string-2.C: Ditto. * g++.dg/ext/fpreg1.C: Ditto. * g++.dg/ext/altivec-types-1.C: Ditto. * g++.dg/warn/write-strings-default.C: Ditto. * g++.dg/warn/Wvla-2.C: Ditto. * g++.dg/warn/register-var-1.C: Ditto. * g++.dg/warn/deprecated-3.C: Ditto. * g++.dg/warn/pr30551-2.C: Ditto. * g++.dg/warn/overflow-warn-1.C: Ditto. * g++.dg/warn/pr30551.C: Ditto. * g++.dg/warn/pointer-integer-comparison.C: Ditto. * g++.dg/warn/pr12242.C: Ditto. * g++.dg/warn/write-strings.C: Ditto. * g++.dg/warn/overflow-warn-3.C: Ditto. * g++.dg/warn/overflow-warn-4.C: Ditto. * g++.dg/warn/overflow-warn-6.C: Ditto. * g++.dg/parse/crash43.C: Ditto. * g++.dg/parse/crash44.C: Ditto. * g++.dg/parse/offsetof8.C: Ditto. * g++.dg/gomp/pr35158.C: Ditto. * g++.dg/template/crash81.C: Ditto. ........ r140440 | gccadmin | 2008-09-17 17:16:44 -0700 (Wed, 17 Sep 2008) | 1 line Daily bump. ........ r140442 | jsm28 | 2008-09-17 18:09:40 -0700 (Wed, 17 Sep 2008) | 3 lines * expr.c (emit_group_store): Do not shift before moving via a stack slot. ........ r140444 | nemet | 2008-09-17 22:24:57 -0700 (Wed, 17 Sep 2008) | 6 lines * haifa-sched.c (dep_cost_1): Recognize the producer even if the consumer is an asm. Add comment why this is important. (choose_ready): Add comment to the "INSN_CODE (insn) >= 0 || recog_memoized (insn) < 0" assert. Put ENABLE_CHECKING around it. ........ r140445 | amonakov | 2008-09-18 01:29:48 -0700 (Thu, 18 Sep 2008) | 14 lines 2008-09-18 Alexander Monakov PR middle-end/37499 * sched-int.h (struct _haifa_insn_data): Remove unused field ref_count. * sched-rgn.c (ref_counts): Remove. (insn_referenced): New static variable. (INSN_REF_COUNT): Remove. (sched_run_compute_dependencies): Use insn_referenced instead of INSN_REF_COUNT. (add_branch_dependences): Likewise. Delete dead assignment. ........ r140446 | uros | 2008-09-18 03:17:42 -0700 (Thu, 18 Sep 2008) | 10 lines PR rtl-optimization/37544 * regrename.c (maybe_mode_change): Exit early when copy_mode is narrower than orig_mode and narrower than new_mode. testsuite/ChangeLog: PR rtl-optimization/37544 * gcc.dg/pr37544.c: New test. ........ r140447 | krebbel | 2008-09-18 04:07:03 -0700 (Thu, 18 Sep 2008) | 6 lines 2008-09-18 Andreas Krebbel * doc/invoke.texi: Document -mhard-dfp, -mno-hard-dfp. Mention -march=z9-109, z9-ec and z10. ........ r140449 | rguenth | 2008-09-18 04:28:18 -0700 (Thu, 18 Sep 2008) | 9 lines 2008-09-18 Richard Guenther PR tree-optimization/37456 * tree-ssa-reassoc.c (build_and_add_sum): If the stmt we want to insert after ends a BB insert on the single fallthru outgoing edge. * testsuite/g++.dg/torture/pr37456.C: New testcase. ........ r140451 | domob | 2008-09-18 05:02:50 -0700 (Thu, 18 Sep 2008) | 29 lines 2008-09-18 Daniel Kraft PR fortran/37507 * trans.h (gfc_trans_runtime_error): New method. (gfc_trans_runtime_error_vararg): New method. (gfc_allocate_array_with_status): New argument `expr' for locus/varname. (gfc_deallocate_array_with_status): Ditto. * trans-array.h (gfc_array_deallocate): Ditto. * trans.c (gfc_trans_runtime_error): New method. (gfc_trans_runtime_error_vararg): New method, moved parts of the code from gfc_trans_runtime_check here. (gfc_trans_runtime_error_check): Moved code partly to new method. (gfc_call_malloc): Fix tab-indentation. (gfc_allocate_array_with_status): New argument `expr' and call gfc_trans_runtime_error for error reporting to include locus. (gfc_deallocate_with_status): Ditto. * trans-stmt.c (gfc_trans_deallocate): Pass expr as new argument. * trans-array.c (gfc_array_allocate): Ditto. (gfc_array_deallocate): New argument `expr', passed on. (gfc_trans_dealloc_allocated): Pass NULL for expr. * trans-openmp.c (gfc_omp_clause_default): Ditto. 2008-09-18 Daniel Kraft PR fortran/37507 * gfortran.dg/allocate_error_1.f90: New test. * gfortran.dg/deallocate_error_1.f90: New test. * gfortran.dg/deallocate_error_2.f90: New test. ........ r140452 | nickc | 2008-09-18 05:04:46 -0700 (Thu, 18 Sep 2008) | 14 lines * config/frv/frv.h (IRA_COVER_CLASSES): Define. (SECONDARY_INPUT_RELOAD_CLASS): Omit unused argument in call to frv_secondary_reload_class. (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise. * config/frv/frv.c (TARGET_SECONDARY_RELOAD): Define. (frv_secondary_reload_class): Omit unused parameter. (frv_secondary_reload): New function. Handle the case when secondary_reload_class() is called before the reload_(in|out) _optabs have been initialised. * config/frv/frv-protos.h (frv_secondary_reload_class): Omit unused parameter. * config/frv/frv.md: Define an exclusion set between fr550_m0 and fr550_f0. ........ r140453 | rguenth | 2008-09-18 05:52:31 -0700 (Thu, 18 Sep 2008) | 8 lines 2008-09-18 Richard Guenther PR middle-end/37284 * tree-cfg.c (remove_useless_stmts_1): Remove GIMPLE_CHANGE_DYNAMIC_TYPE if not optimizing. * g++.dg/tree-ssa/pr37284.C: New testcase. ........ r140455 | amacleod | 2008-09-18 06:58:55 -0700 (Thu, 18 Sep 2008) | 3 lines fix PR 37102 by having out of ssa remove dead PHI nodes. ........ r140456 | amacleod | 2008-09-18 07:07:35 -0700 (Thu, 18 Sep 2008) | 2 lines Correct the formatting ........ r140457 | amacleod | 2008-09-18 07:13:54 -0700 (Thu, 18 Sep 2008) | 3 lines Fix comments and formatrting ........ r140458 | ebotcazou | 2008-09-18 07:25:39 -0700 (Thu, 18 Sep 2008) | 3 lines * config/sparc/sol2.h (WIDEST_HARDWARE_FP_SIZE): Move to... * config/sparc/sparc.h (WIDEST_HARDWARE_FP_SIZE): ...here. ........ r140459 | jakub | 2008-09-18 08:17:10 -0700 (Thu, 18 Sep 2008) | 10 lines PR debug/34037 * gimplify.c (gimplify_type_sizes): When not optimizing, ensure TYPE_MIN_VALUE and TYPE_MAX_VALUE is not is not DECL_IGNORED_P VAR_DECL. * cfgexpand.c (expand_used_vars): Keep DECL_ARTIFICIAL !DECL_IGNORED_P vars in local_decls list for instantiate_decls, ggc_free other TREE_LIST nodes from that chain. * function.c (instantiate_decls): Instantiate also DECL_RTL of vars in cfun->local_decls, free that list afterwards. ........ r140460 | rguenth | 2008-09-18 08:27:21 -0700 (Thu, 18 Sep 2008) | 9 lines 2008-09-18 Richard Guenther PR tree-optimization/37258 * tree-ssa-sccvn.c (vn_phi_compute_hash): Include the precision and signedness for integral types. (vn_phi_eq): Require compatible types. * gcc.c-torture/compile/pr37258.c: New testcase. ........ r140461 | simonb | 2008-09-18 08:39:08 -0700 (Thu, 18 Sep 2008) | 23 lines * include/cpplib.h (struct cpp_options): Add new boolean flag warn_builtin_macro_redefined. * init.c (cpp_create_reader): Initialize warn_builtin_macro_redefined. * (struct builtin_operator): Split out from previous struct builtin, enhance extra const correctness. * (struct builtin_macro): Split out from previous struct builtin, add new always_warn_if_redefined flag, enhance const correctness. * (mark_named_operators): Use struct builtin_operator. * (cpp_init_special_builtins): Use struct builtin_macro, add NODE_WARN to builtins selectively. * macro.c (warn_of_redefinition): Return false if a builtin macro is not flagged with NODE_WARN. * c-opts.c (c_common_handle_option): Add handling for -Wbuiltin-macro-redefined command line option. * c.opt: Added builtin-macro-redefined option. * doc/invoke.texi (Warning Options): Add -Wbuiltin-macro-redefined documentation. * gcc.dg/builtin-redefine.c: New. ........ r140462 | sje | 2008-09-18 09:24:37 -0700 (Thu, 18 Sep 2008) | 2 lines * MAINTAINERS: Add myself as ia64 maintainer. ........ r140463 | hubicka | 2008-09-18 10:28:40 -0700 (Thu, 18 Sep 2008) | 53 lines PR middle-end/37448 * ipa-reference.c (ipa_reference_local_vars_info_d, ipa_reference_global_vars_info_d, ipa_reference_local_vars_info_t, ipa_reference_global_vars_info_t, ipa_reference_vars_info_t): Move here from ipa-reference.h (node_duplication_hook_holder, node_removal_hook_holder): New. (get_reference_vars_info_from_cgraph): Rename to ... (get_reference_vars_info): ... this one, use cgraph uids. (get_local_reference_vars_info, get_global_reference_vars_info): Use cgraph instead of decl. (ipa_reference_get_read_local, ipa_reference_get_written_local): Remove. (ipa_reference_get_read_global, ipa_reference_get_not_read_global ipa_reference_get_written_global, ipa_reference_get_not_written_global): Use cgraph argument. (check_call): Simplify avail check. (scan_stmt_for_static_refs): Update. (propagate_bits): Update. (merge_callee_local_info): Remove. (init_function_info): Use cgraph nodes. (clean_function_local_data): Break out from ... (clean_function): ... here. (copy_local_bitmap, copy_global_bitmap): New functions. (duplicate_node_data, remove_node_data): New functions. (generate_summary): Register hooks; use visibility instead of master clones. (propafate): Use cgraph nodes; copy bitmap to each node in cycle. * ipa-reference.h (ipa_reference_local_vars_info_d, ipa_reference_global_vars_info_d, ipa_reference_local_vars_info_t, ipa_reference_global_vars_info_t, ipa_reference_vars_info_t): Move to ipa-reference.c (ipa_reference_get_read_local, ipa_reference_get_written_local): Remove. (ipa_reference_get_read_global, ipa_reference_get_written_global, ipa_reference_get_not_read_global, ipa_reference_get_not_written_global): Update prototype. * ipa-pure-const.c (funct_state_vec): Turn into VECtor. (init_state): Remove. (node_duplication_hook_holder, node_removal_hook_holder): New. (get_function_state, set_function_state): Use VECtor. (analyze_function): Check body availability. (add_new_function): Likewise. (duplicate_node_data, remove_node_data): New. (generate_summary): Register hooks; do not care about clones. (propafate): Do not care about clones; recursive functions are not looping. * ipa-utils.c (searchc, ipa_utils_reduced_inorder): Do not skip clones. * ipa-prop.c (edge_removal_hook_holder, node_removal_hook_holder, * edge_duplication_hook_holder, node_duplication_hook_holder): Make static. * tree-flow.h (function_ann_d): Remove reference_vars_info. * tree-ssa-opreands.c (add_call_clobber_ops, add_call_read_ops): Update call of ipa-reference accesors. ........ r140464 | jamborm | 2008-09-18 10:57:05 -0700 (Thu, 18 Sep 2008) | 8 lines 2008-09-18 Martin Jambor * ipa-cp.c (ipcp_estimate_growth): Return 0 instead of false. * ipa-prop.c: Correct comments. * ipa-prop.h: Likewise. ........ r140465 | hubicka | 2008-09-18 11:16:45 -0700 (Thu, 18 Sep 2008) | 53 lines PR middle-end/37448 * ipa-reference.c (ipa_reference_local_vars_info_d, ipa_reference_global_vars_info_d, ipa_reference_local_vars_info_t, ipa_reference_global_vars_info_t, ipa_reference_vars_info_t): Move here from ipa-reference.h (node_duplication_hook_holder, node_removal_hook_holder): New. (get_reference_vars_info_from_cgraph): Rename to ... (get_reference_vars_info): ... this one, use cgraph uids. (get_local_reference_vars_info, get_global_reference_vars_info): Use cgraph instead of decl. (ipa_reference_get_read_local, ipa_reference_get_written_local): Remove. (ipa_reference_get_read_global, ipa_reference_get_not_read_global ipa_reference_get_written_global, ipa_reference_get_not_written_global): Use cgraph argument. (check_call): Simplify avail check. (scan_stmt_for_static_refs): Update. (propagate_bits): Update. (merge_callee_local_info): Remove. (init_function_info): Use cgraph nodes. (clean_function_local_data): Break out from ... (clean_function): ... here. (copy_local_bitmap, copy_global_bitmap): New functions. (duplicate_node_data, remove_node_data): New functions. (generate_summary): Register hooks; use visibility instead of master clones. (propafate): Use cgraph nodes; copy bitmap to each node in cycle. * ipa-reference.h (ipa_reference_local_vars_info_d, ipa_reference_global_vars_info_d, ipa_reference_local_vars_info_t, ipa_reference_global_vars_info_t, ipa_reference_vars_info_t): Move to ipa-reference.c (ipa_reference_get_read_local, ipa_reference_get_written_local): Remove. (ipa_reference_get_read_global, ipa_reference_get_written_global, ipa_reference_get_not_read_global, ipa_reference_get_not_written_global): Update prototype. * ipa-pure-const.c (funct_state_vec): Turn into VECtor. (init_state): Remove. (node_duplication_hook_holder, node_removal_hook_holder): New. (get_function_state, set_function_state): Use VECtor. (analyze_function): Check body availability. (add_new_function): Likewise. (duplicate_node_data, remove_node_data): New. (generate_summary): Register hooks; do not care about clones. (propafate): Do not care about clones; recursive functions are not looping. * ipa-utils.c (searchc, ipa_utils_reduced_inorder): Do not skip clones. * ipa-prop.c (edge_removal_hook_holder, node_removal_hook_holder, * edge_duplication_hook_holder, node_duplication_hook_holder): Make static. * tree-flow.h (function_ann_d): Remove reference_vars_info. * tree-ssa-opreands.c (add_call_clobber_ops, add_call_read_ops): Update call of ipa-reference accesors. ........ r140469 | paolo | 2008-09-18 11:55:55 -0700 (Thu, 18 Sep 2008) | 7 lines 2008-09-18 Paolo Carlini * include/bits/shared_ptr.h (__shared_count<>:: __shared_count(_Ptr, _Deleter), __shared_count<>:: __shared_count(_Ptr, _Deleter, _Alloc), __shared_count<>:: __shared_count(_Sp_make_shared_tag, _Tp*, _Alloc, _Args&&...)): Qualify new with ::. ........ r140470 | pinskia | 2008-09-18 12:28:48 -0700 (Thu, 18 Sep 2008) | 9 lines 2008-09-18 Andrew Pinski PR rtl-opt/37451 * loop-doloop.c (doloop_modify): New argument zero_extend_p and zero extend count after the correction to it is done. (doloop_optimize): Update call to doloop_modify, don't zero extend count before call. ........ r140472 | hubicka | 2008-09-18 13:08:13 -0700 (Thu, 18 Sep 2008) | 3 lines * gcc-interface/utils.c (create_subprog_decl): Use DECL_DECLARED_INLINE_P. (end_subprog_body): Do not set DECL_INLINE. ........ r140473 | dj | 2008-09-18 13:12:14 -0700 (Thu, 18 Sep 2008) | 2 lines * gcc.c-torture/execute/20060420-1.c: Fix alignment logic. ........ r140474 | pault | 2008-09-18 13:21:03 -0700 (Thu, 18 Sep 2008) | 20 lines 2008-09-18 Paul Thomas PR fortran/35945 * resolve.c (resolve_fl_variable_derived): Remove derived type comparison for use associated derived types. Host association of a derived type will not arise if there is a local derived type whose use name is the same. PR fortran/36700 * match.c (gfc_match_call): Use the existing symbol even if it is a function. 2008-09-18 Paul Thomas PR fortran/35945 * gfortran.dg/host_assoc_types_2.f90: New test. PR fortran/36700 * gfortran.dg/host_assoc_call_2.f90: New test. ........ r140475 | hjl | 2008-09-18 13:27:36 -0700 (Thu, 18 Sep 2008) | 17 lines gcc/ 2008-09-18 H.J. Lu PR target/37394 * config/ia64/ia64.c (ia64_optimization_options): Move checking and setting flag_schedule_insns_after_reload and ia64_flag_schedule_insns2 back to ... (ia64_override_options): Here. gcc/testsuite/ 2008-09-18 H.J. Lu PR target/37394 * g++.dg/other/pr37394.C: New. ........ r140476 | janis | 2008-09-18 15:29:39 -0700 (Thu, 18 Sep 2008) | 279 lines PR testsuite/25241 * lib/g++.exp (g++_init): Enable overrides of dg-error, dg-warning for C++ tests. * g++.dg/conversion/ambig1.C: Clean up dg-error/dg-warning; use dg-message for notes. * g++.dg/conversion/simd1.C: Ditto. * g++.dg/conversion/simd3.C: Ditto. * g++.dg/cpp0x/rv2n.C: Ditto. * g++.dg/cpp0x/rv3n.C: Ditto. * g++.dg/cpp0x/rv4n.C: Ditto. * g++.dg/cpp0x/rv5n.C: Ditto. * g++.dg/cpp0x/rv6n.C: Ditto. * g++.dg/cpp0x/rv7n.C: Ditto. * g++.dg/cpp0x/variadic36.C: Ditto. * g++.dg/cpp0x/variadic59.C: Ditto. * g++.dg/cpp0x/variadic71.C: Ditto. * g++.dg/cpp0x/variadic-ex13.C: Ditto. * g++.dg/expr/cond9.C: Ditto. * g++.dg/expr/pmf-1.C: Ditto. * g++.dg/ext/case-range2.C: Ditto. * g++.dg/ext/case-range3.C: Ditto. * g++.dg/ext/is_class_error2.C: Ditto. * g++.dg/ext/label5.C: Ditto. * g++.dg/ext/pr27019.C: Ditto. * g++.dg/gomp/pr26690-1.C: Ditto. * g++.dg/gomp/pr26690-2.C: Ditto. * g++.dg/gomp/pr34694.C: Ditto. * g++.dg/gomp/tpl-parallel-2.C: Ditto. * g++.dg/inherit/base3.C: Ditto. * g++.dg/inherit/using6.C: Ditto. * g++.dg/init/brace6.C: Ditto. * g++.dg/init/ctor4.C: Ditto. * g++.dg/lookup/conv-1.C: Ditto. * g++.dg/lookup/new1.C: Ditto. * g++.dg/lookup/scoped6.C: Ditto. * g++.dg/lookup/using7.C: Ditto. * g++.dg/lookup/using9.C: Ditto. * g++.dg/other/abstract1.C: Ditto. * g++.dg/other/abstract2.C: Ditto. * g++.dg/other/anon5.C: Ditto. * g++.dg/other/crash-4.C: Ditto. * g++.dg/other/error10.C: Ditto. * g++.dg/other/error13.C: Ditto. * g++.dg/other/error20.C: Ditto. * g++.dg/other/error5.C: Ditto. * g++.dg/other/field1.C: Ditto. * g++.dg/other/offsetof5.C: Ditto. * g++.dg/other/semicolon.C: Ditto. * g++.dg/overload/ambig1.C: Ditto. * g++.dg/overload/arg3.C: Ditto. * g++.dg/overload/builtin1.C: Ditto. * g++.dg/overload/copy1.C: Ditto. * g++.dg/overload/new1.C: Ditto. * g++.dg/overload/template4.C: Ditto. * g++.dg/overload/using2.C: Ditto. * g++.dg/parse/bitfield2.C: Ditto. * g++.dg/parse/constant4.C: Ditto. * g++.dg/parse/crash20.C: Ditto. * g++.dg/parse/crash36.C: Ditto. * g++.dg/parse/crash5.C: Ditto. * g++.dg/parse/error11.C: Ditto. * g++.dg/parse/error12.C: Ditto. * g++.dg/parse/error19.C: Ditto. * g++.dg/parse/error28.C: Ditto. * g++.dg/parse/friend5.C: Ditto. * g++.dg/parse/invalid-op1.C: Ditto. * g++.dg/parse/missing-template1.C: Ditto. * g++.dg/parse/non-dependent2.C: Ditto. * g++.dg/parse/ret-type2.C: Ditto. * g++.dg/parse/specialization1.C: Ditto. * g++.dg/parse/template18.C: Ditto. * g++.dg/parse/template3.C: Ditto. * g++.dg/parse/template9.C: Ditto. * g++.dg/tc1/dr108.C: Ditto. * g++.dg/tc1/dr152.C: Ditto. * g++.dg/tc1/dr166.C: Ditto. * g++.dg/template/access11.C: Ditto. * g++.dg/template/access2.C: Ditto. * g++.dg/template/access3.C: Ditto. * g++.dg/template/access7.C: Ditto. * g++.dg/template/copy1.C: Ditto. * g++.dg/template/crash13.C: Ditto. * g++.dg/template/crash37.C: Ditto. * g++.dg/template/crash40.C: Ditto. * g++.dg/template/crash58.C: Ditto. * g++.dg/template/ctor5.C: Ditto. * g++.dg/template/dependent-expr5.C: Ditto. * g++.dg/template/eh2.C: Ditto. * g++.dg/template/error2.C: Ditto. * g++.dg/template/error33.C: Ditto. * g++.dg/template/error4.C: Ditto. * g++.dg/template/friend31.C: Ditto. * g++.dg/template/friend32.C: Ditto. * g++.dg/template/instantiate1.C: Ditto. * g++.dg/template/instantiate3.C: Ditto. * g++.dg/template/instantiate5.C: Ditto. * g++.dg/template/instantiate7.C: Ditto. * g++.dg/template/local6.C: Ditto. * g++.dg/template/lookup2.C: Ditto. * g++.dg/template/member5.C: Ditto. * g++.dg/template/memfriend15.C: Ditto. * g++.dg/template/memfriend16.C: Ditto. * g++.dg/template/memfriend17.C: Ditto. * g++.dg/template/memfriend7.C: Ditto. * g++.dg/template/meminit1.C: Ditto. * g++.dg/template/nested3.C: Ditto. * g++.dg/template/new3.C: Ditto. * g++.dg/template/nontype12.C: Ditto. * g++.dg/template/nontype13.C: Ditto. * g++.dg/template/nontype6.C: Ditto. * g++.dg/template/non-type-template-argument-1.C: Ditto. * g++.dg/template/overload9.C: Ditto. * g++.dg/template/ptrmem15.C: Ditto. * g++.dg/template/ptrmem17.C: Ditto. * g++.dg/template/ptrmem4.C: Ditto. * g++.dg/template/ptrmem6.C: Ditto. * g++.dg/template/ptrmem8.C: Ditto. * g++.dg/template/qualified-id1.C: Ditto. * g++.dg/template/qualttp20.C: Ditto. * g++.dg/template/qualttp3.C: Ditto. * g++.dg/template/qualttp4.C: Ditto. * g++.dg/template/qualttp5.C: Ditto. * g++.dg/template/qualttp6.C: Ditto. * g++.dg/template/qualttp7.C: Ditto. * g++.dg/template/qualttp8.C: Ditto. * g++.dg/template/recurse.C: Ditto. * g++.dg/template/sfinae10.C: Ditto. * g++.dg/template/sfinae3.C: Ditto. * g++.dg/template/spec22.C: Ditto. * g++.dg/template/spec23.C: Ditto. * g++.dg/template/static9.C: Ditto. * g++.dg/template/template-id-2.C: Ditto. * g++.dg/template/typename2.C: Ditto. * g++.dg/template/typename4.C: Ditto. * g++.dg/template/using14.C: Ditto. * g++.dg/template/using2.C: Ditto. * g++.dg/template/warn1.C: Ditto. * g++.dg/warn/incomplete1.C: Ditto. * g++.dg/warn/noeffect2.C: Ditto. * g++.dg/warn/noeffect4.C: Ditto. * g++.dg/warn/pr8570.C: Ditto. * g++.dg/warn/Wparentheses-13.C: Ditto. * g++.dg/warn/Wparentheses-15.C: Ditto. * g++.dg/warn/Wparentheses-16.C: Ditto. * g++.dg/warn/Wparentheses-17.C: Ditto. * g++.dg/warn/Wparentheses-18.C: Ditto. * g++.dg/warn/Wparentheses-19.C: Ditto. * g++.dg/warn/Wparentheses-20.C: Ditto. * g++.dg/warn/Wparentheses-23.C: Ditto. * g++.dg/warn/Wstrict-aliasing-3.C: Ditto. * g++.old-deja/g++.benjamin/15799.C: Ditto. * g++.old-deja/g++.benjamin/15800-1.C: Ditto. * g++.old-deja/g++.benjamin/16077.C: Ditto. * g++.old-deja/g++.bob/inherit2.C: Ditto. * g++.old-deja/g++.brendan/ambiguity1.C: Ditto. * g++.old-deja/g++.brendan/crash29.C: Ditto. * g++.old-deja/g++.brendan/crash48.C: Ditto. * g++.old-deja/g++.brendan/crash56.C: Ditto. * g++.old-deja/g++.brendan/cvt3.C: Ditto. * g++.old-deja/g++.brendan/overload1.C: Ditto. * g++.old-deja/g++.brendan/overload4.C: Ditto. * g++.old-deja/g++.brendan/overload9.C: Ditto. * g++.old-deja/g++.bugs/900127_01.C: Ditto. * g++.old-deja/g++.bugs/900205_04.C: Ditto. * g++.old-deja/g++.bugs/900330_02.C: Ditto. * g++.old-deja/g++.bugs/900404_03.C: Ditto. * g++.old-deja/g++.bugs/900514_03.C: Ditto. * g++.old-deja/g++.eh/ctor1.C: Ditto. * g++.old-deja/g++.eh/spec6.C: Ditto. * g++.old-deja/g++.ext/overload1.C: Ditto. * g++.old-deja/g++.jason/conversion11.C: Ditto. * g++.old-deja/g++.jason/crash3.C: Ditto. * g++.old-deja/g++.jason/lineno3.C: Ditto. * g++.old-deja/g++.jason/lineno4.C: Ditto. * g++.old-deja/g++.jason/opeq3.C: Ditto. * g++.old-deja/g++.jason/overload16.C: Ditto. * g++.old-deja/g++.jason/overload28.C: Ditto. * g++.old-deja/g++.jason/pmf5.C: Ditto. * g++.old-deja/g++.jason/scoping10.C: Ditto. * g++.old-deja/g++.jason/template30.C: Ditto. * g++.old-deja/g++.jason/temporary2.C: Ditto. * g++.old-deja/g++.jason/tredecl4.C: Ditto. * g++.old-deja/g++.law/arg11.C: Ditto. * g++.old-deja/g++.law/arg1.C: Ditto. * g++.old-deja/g++.law/arm9.C: Ditto. * g++.old-deja/g++.law/ctors11.C: Ditto. * g++.old-deja/g++.law/ctors17.C: Ditto. * g++.old-deja/g++.law/ctors5.C: Ditto. * g++.old-deja/g++.law/ctors9.C: Ditto. * g++.old-deja/g++.law/enum4.C: Ditto. * g++.old-deja/g++.law/missed-error2.C: Ditto. * g++.old-deja/g++.law/operators9.C: Ditto. * g++.old-deja/g++.mike/net22.C: Ditto. * g++.old-deja/g++.mike/net2.C: Ditto. * g++.old-deja/g++.mike/p11110.C: Ditto. * g++.old-deja/g++.mike/p1989.C: Ditto. * g++.old-deja/g++.mike/p2431.C: Ditto. * g++.old-deja/g++.mike/p438.C: Ditto. * g++.old-deja/g++.mike/p807a.C: Ditto. * g++.old-deja/g++.mike/p9068.C: Ditto. * g++.old-deja/g++.niklas/t120.C: Ditto. * g++.old-deja/g++.niklas/t121.C: Ditto. * g++.old-deja/g++.niklas/t128.C: Ditto. * g++.old-deja/g++.ns/overload2.C: Ditto. * g++.old-deja/g++.ns/template13.C: Ditto. * g++.old-deja/g++.ns/using12.C: Ditto. * g++.old-deja/g++.oliva/delete1.C: Ditto. * g++.old-deja/g++.oliva/overload1.C: Ditto. * g++.old-deja/g++.other/crash24.C: Ditto. * g++.old-deja/g++.other/crash25.C: Ditto. * g++.old-deja/g++.other/decl3.C: Ditto. * g++.old-deja/g++.other/expr1.C: Ditto. * g++.old-deja/g++.other/overcnv2.C: Ditto. * g++.old-deja/g++.other/overload11.C: Ditto. * g++.old-deja/g++.other/pmf3.C: Ditto. * g++.old-deja/g++.other/ptrmem7.C: Ditto. * g++.old-deja/g++.other/vaarg3.C: Ditto. * g++.old-deja/g++.other/volatile1.C: Ditto. * g++.old-deja/g++.pt/assign1.C: Ditto. * g++.old-deja/g++.pt/auto_ptr.C: Ditto. * g++.old-deja/g++.pt/const2.C: Ditto. * g++.old-deja/g++.pt/crash10.C: Ditto. * g++.old-deja/g++.pt/crash20.C: Ditto. * g++.old-deja/g++.pt/crash36.C: Ditto. * g++.old-deja/g++.pt/crash38.C: Ditto. * g++.old-deja/g++.pt/derived3.C: Ditto. * g++.old-deja/g++.pt/error2.C: Ditto. * g++.old-deja/g++.pt/explicit34.C: Ditto. * g++.old-deja/g++.pt/explicit70.C: Ditto. * g++.old-deja/g++.pt/friend23.C: Ditto. * g++.old-deja/g++.pt/ptrmem10.C: Ditto. * g++.old-deja/g++.pt/redecl1.C: Ditto. * g++.old-deja/g++.pt/spec35.C: Ditto. * g++.old-deja/g++.pt/t05.C: Ditto. * g++.old-deja/g++.pt/typename3.C: Ditto. * g++.old-deja/g++.pt/typename6.C: Ditto. * g++.old-deja/g++.pt/unify8.C: Ditto. * g++.old-deja/g++.pt/vaarg3.C: Ditto. * g++.old-deja/g++.robertl/eb109.C: Ditto. * g++.old-deja/g++.robertl/eb131.C: Ditto. * g++.old-deja/g++.robertl/eb22.C: Ditto. * g++.old-deja/g++.robertl/eb44.C: Ditto. * g++.old-deja/g++.robertl/eb4.C: Ditto. * g++.old-deja/g++.robertl/eb69.C: Ditto. * g++.dg/parse/constructor1.C: Remove "error" from dg-error, preserving column number. * g++.dg/parse/error10.C: Ditto. * g++.dg/parse/error13.C: Ditto. * g++.dg/parse/error14.C: Ditto. * g++.dg/parse/error15.C: Ditto. * g++.dg/parse/error16.C: Ditto. * g++.dg/parse/error17.C: Ditto. * g++.dg/parse/error18.C: Ditto. * g++.dg/parse/error1.C: Ditto. * g++.dg/parse/error20.C: Ditto. * g++.dg/parse/error21.C: Ditto. * g++.dg/parse/error22.C: Ditto. * g++.dg/parse/error23.C: Ditto. * g++.dg/parse/error24.C: Ditto. * g++.dg/parse/error25.C: Ditto. * g++.dg/parse/error26.C: Ditto. * g++.dg/parse/error27.C: Ditto. * g++.dg/parse/error29.C: Ditto. * g++.dg/parse/error2.C: Ditto. * g++.dg/parse/error30.C: Ditto. * g++.dg/parse/error31.C: Ditto. * g++.dg/parse/error3.C: Ditto. * g++.dg/parse/error4.C: Ditto. * g++.dg/parse/error5.C: Ditto. * g++.dg/parse/error6.C: Ditto. * g++.dg/parse/error7.C: Ditto. * g++.dg/parse/error8.C: Ditto. * g++.dg/parse/error9.C: Ditto. * g++.dg/parse/error-column.C: Ditto. * g++.dg/template/crash80.C: Ditto. * g++.dg/template/friend44.C: Ditto. * g++.dg/warn/pr26785.C: Ditto. * g++.old-deja/g++.brendan/crash16.C: Ditto. ........ r140477 | bwilson | 2008-09-18 17:16:04 -0700 (Thu, 18 Sep 2008) | 3 lines * gcc.c-torture/compile/pr11832.c: xfail on xtensa*-*-*. * gcc.c-torture/compile/pr33009.c: Likewise. ........ r140480 | gccadmin | 2008-09-18 17:16:37 -0700 (Thu, 18 Sep 2008) | 1 line Daily bump. ........ r140482 | bwilson | 2008-09-18 17:18:42 -0700 (Thu, 18 Sep 2008) | 33 lines * configure.ac: Add HAVE_AS_TLS check for Xtensa. * config/xtensa/predicates.md (tls_symbol_operand): New. * config/xtensa/xtensa.c (TARGET_HAVE_TLS): Define. (TARGET_CANNOT_FORCE_MEM): Define. (xtensa_tls_symbol_p): New. (xtensa_emit_move_sequence): Check for and legitimize TLS addresses. (xtensa_legitimate_address_p): Disallow constant pool TLS references. (xtensa_tls_module_base): New. (xtensa_call_tls_desc): New. (xtensa_legitimize_tls_address): New. (xtensa_legitimize_address): Handle TLS symbols. (xtensa_tls_referenced_p_1): New. (xtensa_tls_referenced_p): New. (xtensa_output_addr_const_extra): Handle UNSPEC_TPOFF and UNSPEC_DTPOFF. (XTENSA_BUILTIN_THREAD_POINTER): New. (XTENSA_BUILTIN_SET_THREAD_POINTER): New. (xtensa_init_builtins): Set NOTHROW and READONLY for umulsidi3 builtin. Add declarations for __builtin_thread_pointer and __builtin_set_thread_pointer. (xtensa_fold_builtin): Recognize new builtins. (xtensa_expand_builtin): Expand new builtins. * config/xtensa/xtensa.h (XCHAL_HAVE_THREADPTR): Define default value. (TARGET_THREADPTR): Define. (HAVE_AS_TLS): Define default value. (LEGITIMATE_CONSTANT_P): Disallow TLS references. * config/xtensa/xtensa.md (UNSPEC_TPOFF, UNSPEC_DTPOFF): New. (UNSPEC_TLS_FUNC, UNSPEC_TLS_ARG, UNSPEC_TLS_CALL, UNSPEC_TP): New. (UNSPECV_SET_TP): New. (sym_TPOFF, sym_DTPOFF): New. (load_tp, set_tp, tls_func, tls_arg, tls_call): New. * config/xtensa/xtensa-protos.h (xtensa_tls_referenced_p): Declare. * configure: Regenerated. ........ r140490 | singler | 2008-09-19 04:37:16 -0700 (Fri, 19 Sep 2008) | 10 lines 2008-09-19 Johannes Singler PR libstdc++/37470 * include/parallel/base.h: Rename log2 to __log2. (__log2) Avoid infinite loop for n <= 0, return 0. * include/parallel/losertree.h: Rename log2 to __log2. * include/parallel/multiseq_selection.h: Likewise. * include/parallel/random_shuffle.h: Likewise. ........ r140494 | amacleod | 2008-09-19 10:37:13 -0700 (Fri, 19 Sep 2008) | 7 lines PR middle-end/37567 * tree-ssa-ter.c (free_temp_expr_table): Make sure fields are actually empty before freeing them. (find_replaceable_exprs): Move asserts to free_temp_expr_table. ........ r140497 | andreast | 2008-09-19 13:27:11 -0700 (Fri, 19 Sep 2008) | 9 lines 2008-09-19 Jakub Jelinek Andreas Tobler * config/bsd/proc.c: New file. * configure.tgt (*-*-darwin*): Use config_path "darwin posix". * configure.ac: Check for header * configure: Regenerate. * config.h.in: Likewise. ........ r140498 | andreast | 2008-09-19 13:28:53 -0700 (Fri, 19 Sep 2008) | 2 lines Fix typo s/darwin/bsd ........ r140501 | pinskia | 2008-09-19 15:24:06 -0700 (Fri, 19 Sep 2008) | 14 lines 2008-09-19 Andrew Pinski PR tree-opt/30930 * tree-ssa.c (execute_update_addresses_taken): Also update DECL_GIMPLE_REG_P for vector and complex types. 2008-09-19 Andrew Pinski PR tree-opt/30930 * gcc.dg/tree-ssa/vector-2.c: New test. * gcc.dg/tree-ssa/vector-3.c: New test. ........ r140502 | ian | 2008-09-19 15:30:12 -0700 (Fri, 19 Sep 2008) | 3 lines * varasm.c (narrowing_initializer_constant_valid_p): Return NULL_TREE if ENDTYPE is not an integer. ........ r140507 | gccadmin | 2008-09-19 17:16:57 -0700 (Fri, 19 Sep 2008) | 1 line Daily bump. ........ r140509 | bwilson | 2008-09-19 19:43:00 -0700 (Fri, 19 Sep 2008) | 2 lines * config/xtensa/xtensa.md (reload_literal): Handle MEM operands. ........ r140511 | ebotcazou | 2008-09-20 01:41:55 -0700 (Sat, 20 Sep 2008) | 5 lines PR ada/37585 * gcc-interface/utils.c (create_subprog_decl): Disable inlining for inlined external functions if they contain a nested function not declared inline. ........ r140512 | rsandifo | 2008-09-20 02:15:43 -0700 (Sat, 20 Sep 2008) | 19 lines gcc/ * doc/tm.texi (TARGET_IRA_COVER_CLASSES): Define. (IRA_COVER_CLASSES): Refer to TARGET_IRA_COVER_CLASSES. * target.h (gcc_target): Add ira_cover_classes. * ira.c: Remove IRA_COVER_CLASSES guards. (setup_cover_and_important_classes): Use targetm.ira_cover_classes instead of IRA_COVER_CLASSES. (setup_cover_and_important_classes): Remove IRA_COVER_CLASSES guard. (setup_class_translate): Likewise. (setup_reg_class_intersect_union): Likewise. (find_reg_class_closure): Replace IRA_COVER_CLASSES guard with a test of targetm.ira_cover_classes. * opts.c (decode_options): Use targetm.ira_cover_classes instead of IRA_COVER_CLASSES. * target-def.h (TARGET_IRA_COVER_CLASSES): Define. (TARGET_INITIALIZER): Include it. * targhooks.h (default_ira_cover_classes): Declare. * targhooks.c (default_ira_cover_classes): New function. ........ r140513 | ebotcazou | 2008-09-20 03:29:08 -0700 (Sat, 20 Sep 2008) | 11 lines * exp_dbug.ads: Document new convention for the XVZ variable. * gcc-interface/decl.c (gnat_to_gnu_entity) : Generate debug info if necessary for the type padding the component type. : Likewise. (maybe_pad_type): Emit the XVZ variable in units. * gcc-interface/trans.c (Loop_Statement_to_gnu): Fix formatting nits. (Subprogram_Body_to_gnu): Set the source line of the subprogram's node on statements generated to initialize the parameter attributes cache. Set the source line of the end label of the body on the special return statement built for a procedure with copy-in copy-out parameters. ........ r140514 | hjl | 2008-09-20 08:07:46 -0700 (Sat, 20 Sep 2008) | 8 lines 2008-09-20 H.J. Lu PR target/37571 * config/i386/i386.md (*jcc_fused_1): Removed. (*jcc_fused_2): Likewise. (*jcc_fused_3): Likewise. (*jcc_fused_4): Likewise. ........ r140516 | ebotcazou | 2008-09-20 12:15:19 -0700 (Sat, 20 Sep 2008) | 4 lines PR rtl-optimization/33642 * gcc.c-torture/compile/pr11832.c: XFAIL on SPARC. * gcc.c-torture/compile/pr33009.c: Likewise. ........ r140519 | gccadmin | 2008-09-20 17:16:39 -0700 (Sat, 20 Sep 2008) | 1 line Daily bump. ........ r140521 | nemet | 2008-09-20 23:15:52 -0700 (Sat, 20 Sep 2008) | 7 lines * config/mips/mips.h (TUNE_OCTEON): New macro. * config/mips/mips.c (mips_issue_rate): Return 2 for Octeon. (mips_multipass_dfa_lookahead): Return 2 for Octeon. * config/mips/octeon.md: New file. * config/mips/mips.md: Include octeon.md. Restore semi-alphabetical order of include files. ........ r140522 | irar | 2008-09-21 01:36:07 -0700 (Sun, 21 Sep 2008) | 6 lines PR tree-optimization/37539 * tree-vect-transform.c (vect_transform_strided_load): Save vector statement in related statement field only for the first load of the group of loads with the same data reference. ........ r140524 | paolo | 2008-09-21 02:36:27 -0700 (Sun, 21 Sep 2008) | 5 lines 2008-09-21 Paolo Carlini * include/bits/stl_algo.h (minmax(initializer_list<>): Use make_pair, consistently with the other overload for initializer_list. ........ r140525 | guerby | 2008-09-21 04:45:23 -0700 (Sun, 21 Sep 2008) | 17 lines 2008-09-21 Laurent Guerby PR ada/5911 * gcc-interface/Makefile.in: Add multilib handling for x86_64 and sparc. * system-linux-sparcv9.ads: New file. 2008-09-21 Laurent Guerby Paolo Bonzini PR ada/5911 * Makefile.in (all, install, mostlyclean, clean, distclean): Add multilib handling. * configure.ac: Add multilib handling. * configure: Regenerate. ........ r140526 | steven | 2008-09-21 05:15:42 -0700 (Sun, 21 Sep 2008) | 2 lines * MAINTAINERS: Add myself in "Write After Approval". ........ r140527 | dnovillo | 2008-09-21 08:05:14 -0700 (Sun, 21 Sep 2008) | 20 lines 2008-09-21 Diego Novillo * doc/gccint.texi: Include generic.texi and gimple.texi. Re-order index. * doc/tree-ssa.texi (GENERIC): Move to generic.texi. (GIMPLE): Move to gimple.texi. (Annotations): Remove references to to stmt_ann_t and ssa_name_ann_t. (SSA Operands): Rename from 'Statement Operands'. * doc/generic.texi: New. * doc/gimple.texi: New. * Makefile.in (TEXI_GCCINT_FILES): Add generic.texi and gimple.texi. * Makefile.in (TEXI_GCCINT_FILES): * gimple.c (gimple_copy_call_skip_args): Rename from giple_copy_call_skip_args. Update all users. * doc/gimple.texi (gimple_copy_call_skip_args): Document. ........ r140528 | domob | 2008-09-21 08:24:55 -0700 (Sun, 21 Sep 2008) | 10 lines 2008-09-21 Daniel Kraft * decl.c (match_procedure_in_type): Changed misleading error message for not yet implemented PROCEDURE(interface) syntax. 2008-09-21 Daniel Kraft * gfortran.dg/typebound_proc_4.f03: Changed expected error for not yet implemented PROCEDURE(interface). ........ r140529 | domob | 2008-09-21 08:33:37 -0700 (Sun, 21 Sep 2008) | 27 lines 2008-09-21 Daniel Kraft PR fortran/35846 * trans.h (gfc_conv_string_length): New argument `expr'. * trans-expr.c (flatten_array_ctors_without_strlen): New method. (gfc_conv_string_length): New argument `expr' that is used in a new special case handling if cl->length is NULL. (gfc_conv_subref_array_arg): Pass expr to gfc_conv_string_length. * trans-array.c (gfc_conv_expr_descriptor): Ditto. (gfc_trans_auto_array_allocation): Pass NULL as new expr. (gfc_trans_g77_array), (gfc_trans_dummy_array_bias): Ditto. (gfc_trans_deferred_array): Ditto. (gfc_trans_array_constructor): Save and restore old values of globals used for bounds checking. * trans-decl.c (gfc_trans_dummy_character): Ditto. (gfc_trans_auto_character_variable): Ditto. 2008-09-21 Daniel Kraft PR fortran/35846 * gfortran.dg/nested_array_constructor_1.f90: New test. * gfortran.dg/nested_array_constructor_2.f90: New test. * gfortran.dg/nested_array_constructor_3.f90: New test. * gfortran.dg/nested_array_constructor_4.f90: New test. * gfortran.dg/nested_array_constructor_5.f90: New test. * gfortran.dg/nested_array_constructor_6.f90: New test. ........ r140530 | ebotcazou | 2008-09-21 12:25:48 -0700 (Sun, 21 Sep 2008) | 32 lines * config/sparc/sparc-protos.h (gen_compare_operator): Declare. (sparc_emit_float_lib_cmp): Change return type. * config/sparc/sparc.c (gen_compare_reg): Add comment about TFmode. (gen_compare_operator): New function. (sparc_emit_float_lib_cmp): Return the new operator to be used in the comparison sequence. Minor tweaks. * config/sparc/sparc.md (seq, sne, sgt, slt, sge, sle): Assert that the final operator and the result of sparc_emit_float_lib_cmp match for software TFmode; use emit_insn in lieu of emit_jump_insn. (beq, bne, bgt, blt, bge, ble, bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt): Assert that the final operator and the result of sparc_emit_float_lib_cmp match for software TFmode. (movqicc, movhicc, movsicc, movdicc): Merge into... (movcc): ...this. (movsfcc, movdfcc, movtfcc): Merge into... (movcc): ...this. (movqi_cc_sp64, movhi_cc_sp64, movsi_cc_sp64, movdi_cc_sp64): Merge into... (mov_cc_v9): ...this. (movdi_cc_sp64_trunc): Delete. (movqi_cc_reg_sp64, movhi_cc_reg_sp64, movsi_cc_reg_sp64, movdi_cc_reg_sp64): Merge into... (mov_cc_reg_sp64): ...this. (movsf_cc_sp64): Rename into... (movsf_cc_v9): ...this. (movdf_cc_sp64): Rename into... (movdf_cc_v9): ...this. (movtf_cc_hq_sp64): Rename into... (movtf_cc_hq_v9): ...this. (movtf_cc_sp64): Rename into... (movtf_cc_v9): ...this. Adjust for renaming of movdf_cc_sp64. ........ r140532 | pault | 2008-09-21 12:58:23 -0700 (Sun, 21 Sep 2008) | 14 lines 2008-09-21 Paul Thomas PR fortran/37583 * decl.c (scalarize_intrinsic_call): Both subroutines and functions can give a true for get_proc_mame's last argument so remove the &&gfc_current_ns->proc_name->attr.function. resolve.c (resolve_actual_arglist): Add check for recursion by reference to procedure as actual argument. 2008-09-21 Paul Thomas PR fortran/37583 * gfortran.dg/entry_18.f90: New test. ........ r140534 | kkojima | 2008-09-21 15:37:16 -0700 (Sun, 21 Sep 2008) | 5 lines PR rtl-optimization/33642 * gcc.c-torture/compile/pr11832.c: XFAIL on sh*-*-*. * gcc.c-torture/compile/pr33009.c: Likewise. ........ r140537 | gccadmin | 2008-09-21 17:16:31 -0700 (Sun, 21 Sep 2008) | 1 line Daily bump. ........ r140539 | hp | 2008-09-21 18:54:03 -0700 (Sun, 21 Sep 2008) | 11 lines PR middle-end/37170 PR middle-end/37280 * final.c (mark_symbol_ref_as_used): New helper function. (output_operand): Instead of just looking inside MEMs for SYMBOL_REFs, use new helper function and for_each_rtx. * varasm.c (assemble_external): Move #ifndef ASM_OUTPUT_EXTERNAL to after weak-handling. Don't mark decls with TREE_STATIC as weak. Make head comment more general. * config/darwin.c (machopic_output_indirection): Handle weak references here, like in assemble_external. ........ r140540 | hp | 2008-09-21 18:54:41 -0700 (Sun, 21 Sep 2008) | 5 lines PR middle-end/37170 PR middle-end/37280 * gcc.dg/weak/weak-15.c, gcc.dg/weak/weak-16.c, g++.dg/ext/inline1.C: New tests. ........ r140541 | dannysmith | 2008-09-21 19:56:50 -0700 (Sun, 21 Sep 2008) | 7 lines PR target/37528 * config/i386/t-cygming (SHLIB_LC): Remove. (SHLIB_LINK): Don't add static objects to SHLIB_IMPLIB * config/i386/t-cygwin (SHLIB_LC): Specify all required libraries. ........ r140542 | hubicka | 2008-09-21 21:24:28 -0700 (Sun, 21 Sep 2008) | 5 lines * ipa-cp.c (ipcp_estimate_growth): Check recursive calls. (ipcp_insert_stage): Update dead_nodes bitmap. ........ r140544 | irar | 2008-09-22 00:55:39 -0700 (Mon, 22 Sep 2008) | 14 lines PR tree-optimization/37482 * tree-vectorizer.h (struct _slp_instance): Add new field. (SLP_INSTANCE_FIRST_LOAD_STMT): New. (get_earlier_stmt): New function. * tree-vect-analyze.c (vect_find_first_load_in_slp_instance): New function. (vect_analyze_slp_instance): Set SLP_INSTANCE_FIRST_LOAD_STMT. * tree-vect-transform.c (vect_finish_stmt_generation): Remove the asserts that GSI points to the scalar statement being vectorized. Set new statement location according to GSI. (vect_schedule_slp_instance): Use GSI of SLP_INSTANCE_FIRST_LOAD_STMT when vectorizing loads. ........ r140545 | hainque | 2008-09-22 03:29:29 -0700 (Mon, 22 Sep 2008) | 7 lines * gcc-interface/decl.c (gnat_to_gnu_entity): Even when they are never assigned, volatile entities are not constant for code generation purposes. * gnat.dg/volatile3.adb: New test. ........ r140546 | janus | 2008-09-22 04:45:02 -0700 (Mon, 22 Sep 2008) | 19 lines 2008-09-22 Janus Weil PR fortran/37486 * gfortran.h (gfc_option_t): New members flag_align_commons and warn_align_commons. * lang.opt: New options falign-commons and Walign-commons. * invoke.texi: Documentation for new options. * options.c (gfc_init_options): Initialize new options. (gfc_handle_options): Handle new options. * trans-common.c (translate_common): Implement new options. (gfc_trans_common): Set correct locus. 2008-09-22 Janus Weil PR fortran/37486 * gfortran.dg/common_align_1.f90: New. * gfortran.dg/warn_align_commons.f90: New. ........ r140547 | rguenth | 2008-09-22 04:53:29 -0700 (Mon, 22 Sep 2008) | 8 lines 2008-09-22 Richard Guenther PR tree-optimization/37145 * tree-ssa-pre.c (fully_constant_expression): Simplify builtin calls. (phi_translate_1): Constant fold references. * gcc.dg/tree-ssa/ssa-pre-15.c: Remove XFAIL. ........ r140548 | aldot | 2008-09-22 05:39:19 -0700 (Mon, 22 Sep 2008) | 5 lines 2008-09-22 Bernhard Reutner-Fischer * MAINTAINERS (Write After Approval): Update my name. ........ r140551 | dje | 2008-09-22 08:15:56 -0700 (Mon, 22 Sep 2008) | 4 lines PR rtl-optimization/33642 * gcc.c-torture/compile/pr11832.c: Extend XFAIL to powerpc*-*-*. * gcc.c-torture/compile/pr33009.c: Likewise. ........ r140552 | paolo | 2008-09-22 08:17:09 -0700 (Mon, 22 Sep 2008) | 7 lines 2008-09-22 Paolo Carlini * doc/html/ext/lwg-closed.html: Update to Revision R59. * doc/html/ext/lwg-active.html: Likewise. * doc/html/ext/lwg-defects.html: Likewise. * doc/xml/manual/intro.xml: Adjust. ........ r140553 | aph | 2008-09-22 08:37:12 -0700 (Mon, 22 Sep 2008) | 9 lines 2008-09-22 Andrew Haley * expr.c (rules): Add new rule for gnu.java.lang.VMCPStringBuilder.toString. (rewrite_rule.new_classname): New field. (maybe_rewrite_invocation): Use new_classname field instead of DECL_CONTEXT (*method_p). Allow rewrite_arglist to be NULL. ........ r140556 | nemet | 2008-09-22 09:12:51 -0700 (Mon, 22 Sep 2008) | 7 lines * config/mips/mips.h (ISA_HAS_BADDU): New macro. * config/mips/mips.md (*baddu_si_eb, *baddu_si_el, *baddu_di): New patterns. testsuite/ * gcc.target/mips/octeon-baddu-1.c: New test. ........ r140560 | bkoz | 2008-09-22 11:36:39 -0700 (Mon, 22 Sep 2008) | 7 lines 2008-09-22 Benjamin Kosnik * doc/doxygen/user.cfg.in: Define _GLIBCXX_HAS_GTHREADS for mutex, condition_variable, and thread output. ........ r140562 | rguenth | 2008-09-22 12:15:43 -0700 (Mon, 22 Sep 2008) | 14 lines 2008-09-22 Richard Guenther PR tree-optimization/37145 * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Re-enable value-numbering union accesses with their offset and size only. (visit_reference_op_load): Fix simplification of inserted conversions. * tree-ssa-pre.c (find_or_generate_expression): Do not recursively generate expressions if running FRE. * gcc.c-torture/compile/20080922-1.c: New testcase. * gcc.dg/tree-ssa/ssa-fre-7.c: Remove XFAIL. * gcc.dg/tree-ssa/ssa-fre-8.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-9.c: Likewise. ........ r140563 | daney | 2008-09-22 12:48:09 -0700 (Mon, 22 Sep 2008) | 12 lines 2008-09-22 David Daney PR target/37593 * config/mips/mips.h (FUNCTION_PROFILER): Call _mcount via a register if TARGET_LONG_CALLS. 2008-09-22 David Daney PR target/37593 * gcc.target/mips/long-calls-pg.c: New test. ........ r140564 | bkoz | 2008-09-22 13:56:08 -0700 (Mon, 22 Sep 2008) | 7 lines 2008-09-22 Benjamin Kosnik PR libstdc++/37391 * doc/html/ext/pb_ds/*.html: Fix external links. ........ r140565 | vmakarov | 2008-09-22 14:28:48 -0700 (Mon, 22 Sep 2008) | 9 lines 2008-09-22 Vladimir Makarov * ira-color.c (start_allocno_priorities): Rename to setup_allocno_priorities. Use costs and ALLOCNO_EXCESS_PRESSURE_POINTS_NUM instead of frequencies and range lengths. Get rid off doubles. (ira_fast_allocations): Call start_allocno_priorities. ........ r140571 | gccadmin | 2008-09-22 17:16:30 -0700 (Mon, 22 Sep 2008) | 1 line Daily bump. ........ r140573 | cfairles | 2008-09-22 17:32:46 -0700 (Mon, 22 Sep 2008) | 5 lines 2008-09-22 Chris Fairles * MAINTAINERS (Write After Approval): Add myself. ........ r140574 | paolo | 2008-09-22 17:47:02 -0700 (Mon, 22 Sep 2008) | 44 lines 2008-09-23 Paolo Carlini PR libstdc++/32422, DR 23 [Ready in R60] * config/locale/gnu/c_locale.cc (__convert_to_v(const char*, float&, ios_base::iostate&, const __c_locale&), __convert_to_v(const char*, double&, ios_base::iostate&, const __c_locale&), __convert_to_v(const char*, long double&, ios_base::iostate&, const __c_locale&)): Implement DR 23 and deal correctly with broken exponents. * config/locale/generic/c_locale.cc (__convert_to_v(const char*, float&, ios_base::iostate&, const __c_locale&), __convert_to_v(const char*, double&, ios_base::iostate&, const __c_locale&), __convert_to_v(const char*, long double&, ios_base::iostate&, const __c_locale&)): Likewise. * include/bits/locale_facets.tcc (num_get<>::_M_extract_int(_InIter, _InIter, ios_base&, ios_base::iostate&, _ValueT&)): Likewise. (num_get<>::_M_extract_float(_InIter, _InIter, ios_base&, ios_base::iostate&, string&): Change grouping check to set instead of OR failbit; do not check for eofbit here... (num_get<>::do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, float&), num_get<>::do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, double&), num_get<>::do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, long double&), num_get<>::__do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, double&)): ... do it here instead. (num_get<>::do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, bool&)): Implement DR 23. (num_get<>::do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, void*&)): Adjust. * doc/xml/manual/intro.xml: Add and entry for DR 23. * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/10.cc: Adjust. * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: Likewise. * testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise. * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise. * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise. * testsuite/22_locale/num_get/get/wchar_t/15.cc: Likewise. * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise. * testsuite/22_locale/num_get/get/char/22131.cc: Likewise. * testsuite/22_locale/num_get/get/char/10.cc: Likewise. * testsuite/22_locale/num_get/get/char/12.cc: Likewise. * testsuite/22_locale/num_get/get/char/15.cc: Likewise. * testsuite/22_locale/num_get/get/char/16.cc: Likewise. ........ r140575 | paolo | 2008-09-22 17:48:31 -0700 (Mon, 22 Sep 2008) | 4 lines 2008-09-22 Paolo Carlini * Fix date of last ChangeLog entry. ........ r140576 | jvdelisle | 2008-09-22 20:52:19 -0700 (Mon, 22 Sep 2008) | 36 lines 2008-09-22 Jerry DeLisle PR fortran/37580 * expr.c (gfc_check_pointer_assign): Add checks for pointer remapping. 2008-09-22 Tobias Burnus PR fortran/37580 * gfortran.dg/pointer_assign_5.f90: New test. * gfortran.dg/pointer_assign_6.f90: New test. ........ r140581 | ebotcazou | 2008-09-23 01:52:53 -0700 (Tue, 23 Sep 2008) | 3 lines * gcc.dg/cpp/cmdlne-dU-16.c: Specify -std=c89 on Solaris. * gcc.dg/cpp/cmdlne-dU-17.c: Likewise. ........ r140582 | ebotcazou | 2008-09-23 02:42:50 -0700 (Tue, 23 Sep 2008) | 4 lines * gcc.dg/pragma-init-fini.c: Use dg-warning in lieu of dg-error. * gcc.dg/pragma-align-2.c: Likewise. * gcc.dg/format/cmn-err-1.c: Likewise. ........ r140584 | paolo | 2008-09-23 03:09:38 -0700 (Tue, 23 Sep 2008) | 6 lines 2008-09-23 Paolo Carlini * include/bits/locale_facets.tcc (__pad<>::_S_pad): Don't use const by value parameters. * include/bits/locale_facets.h (__pad<>::_S_pad): Likewise. ........ r140590 | jamborm | 2008-09-23 06:08:15 -0700 (Tue, 23 Sep 2008) | 16 lines 2008-09-23 Martin Jambor * cgraph.c (cgraph_free_edge): Use sizeof(*e). (cgraph_node_remove_callees): New temporary f. Hold the next item in f when looping. (cgraph_node_remove_callers): Likewise. * ipa-prop.c (ipa_edge_removal_hook): Use ATTRIBUTE_UNUSED. (ipa_node_removal_hook): Likewise. * doc/gimple.texi (gimple_copy_call_skip_args): Changed to gimple_call_copy_skip_args and moved to the gimple_call section. * gimple.c (gimple_copy_call_skip_args): Renamed to gimple_call_copy_skip_args. Changed al users. ........ r140593 | aph | 2008-09-23 06:51:58 -0700 (Tue, 23 Sep 2008) | 22 lines 2008-09-17 Andrew Haley PR libgcj/8995: * defineclass.cc (_Jv_ClassReader::handleCodeAttribute): Initialize thread_count. * include/java-interp.h (_Jv_InterpMethod::thread_count): New field. (_Jv_InterpMethod::rewrite_insn_mutex): New mutex. (_Jv_InterpFrame:: _Jv_InterpFrame): Pass frame_type. * interpret.cc (ThreadCountAdjuster): New class. (_Jv_InterpMethod::thread_count): New field. (_Jv_InitInterpreter): Initialize rewrite_insn_mutex. Increment and decrement thread_count field in methods. * interpret-run.cc (REWRITE_INSN): Check thread_count <= 1. (REWRITE_INSN): Likewise. Declare a ThreadCountAdjuster. * java/lang/reflect/natVMProxy.cc (run_proxy): Initialize frame type as frame_proxy. ........ r140594 | domob | 2008-09-23 07:26:47 -0700 (Tue, 23 Sep 2008) | 21 lines 2008-09-23 Daniel Kraft PR fortran/37588 * gfortran.h (gfc_compare_actual_formal): Removed, made private. (gfc_arglist_matches_symbol): New method. * interface.c (compare_actual_formal): Made static. (gfc_procedure_use): Use new name of compare_actual_formal. (gfc_arglist_matches_symbol): New method. (gfc_search_interface): Moved code partially to new gfc_arglist_matches_symbol. * resolve.c (resolve_typebound_generic_call): Resolve actual arglist before checking against formal and use new gfc_arglist_matches_symbol for checking. (resolve_compcall): Set type-spec of generated expression. 2008-09-23 Daniel Kraft PR fortran/37588 * gfortran.dg/typebound_generic_4.f03: New test. * gfortran.dg/typebound_generic_5.f03: New test. ........ r140598 | aldyh | 2008-09-23 07:55:14 -0700 (Tue, 23 Sep 2008) | 64 lines * c-tree.h: Add argument to c_objc_common_truthvalue_conversion, parser_build_binary_op. * c-decl.c (build_enumerator): Pass location to build_binary_op. * c-typeck.c (build_array_ref): Same. (parser_build_unary_op): New location argument. (pointer_diff): Pass location to build_binary_op, c_objc_common_truthvalue_conversion. (build_modify_expr): Same. (build_unary_op): New location argument. (build_binary_op): New location argument. (c_objc_common_truthvalue_conversion): Pass location to c_*common_truthvalue_conversion. * c-convert.c (convert): Same. * c-common.c (binary_op_error): New location argument. (pointer_int_sum): Pass location to build_binary_op. (c_common_truthvalue_conversion): New location argument. (warn_for_sign_compare): Same. * c-common.h: Add location argument to c_common_truthvalue_conversion, binary_op_error, build_binary_op, warn_for_sign_compare. * c-parser.c (c_parser_condition): Pass location to c_*common_truthvalue_conversion. (c_parser_conditional_expression): Save condition's location and pass it on down. (c_parser_binary_expression): Same, but for the binary operator's location. (c_parser_omp_for_loop): Pass location to c_objc_common_truthvalue_conversion. objc/ * objc-act.c (next_sjlj_build_enter_and_setjmp): Call c_common_truthvalue_conversion with location. (next_sjlj_build_catch_list): Same. (next_sjlj_build_try_catch_finally): Same. testsuite/ * gcc.dg/Walways-true-1.c: Test column numbers. * gcc.dg/c90-const-expr-5.c: Same. * gcc.dg/compare4.c: Same. * gcc.dg/Werror-1.c: Same. cp/ * typeck.c (build_array_ref): Pass location to cp_build_binary_op. (get_member_function_from_ptrfunc): Same. (build_x_binary_op): Same. (build_binary_op): Same. (cp_build_binary_op): New location argument. (pointer_diff): Pass location to cp_build_binary_op. (cp_truthvalue_conversion): Pass location to build_binary_op. (convert_ptrmem): Pass location to cp_build_binary_op. (cp_build_modify_expr): Same. (build_ptrmemfunc): Same. * init.c (expand_cleanup_for_base): Pass location to c_common_truthvalue_conversion. (build_new_1): Pass location to cp_build_binary_op. (build_vec_delete_1): Pass location to *build_binary_op, c_common_truthvalue_conversion. (build_vec_init): Same. (build_delete): Same. * decl.c (compute_array_index_type): Same. * call.c (build_new_op): Same. * rtti.c (build_dynamic_cast_1): Same. * cp-tree.h: Add argument to cp_build_binary_op. * semantics.c (handle_omp_for_class_iterator): Pass location to *build_binary_op, c_common_truthvalue_conversion. * decl2.c (get_guard_cond): Same. ........ r140600 | bkoz | 2008-09-23 09:06:43 -0700 (Tue, 23 Sep 2008) | 8 lines 2008-09-23 Benjamin Kosnik PR libstdc++/37391 continued. * doc/html/ext/pb_ds/assoc_examples.html: Don't use base tag, specify full path for source file links. * doc/html/ext/pb_ds/pq_examples.html: Same. ........ r140602 | paolo | 2008-09-23 10:12:26 -0700 (Tue, 23 Sep 2008) | 7 lines 2008-09-23 Paolo Carlini PR libstdc++/37624 * testsuite/22_locale/num_get/get/char/10.cc: Skip long double case when strtold is not available. * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise. ........ r140603 | cfairles | 2008-09-23 10:34:29 -0700 (Tue, 23 Sep 2008) | 22 lines 2008-09-23 Chris Fairles * include/std/chrono: If _GLIBCXX_USE_MONOTONIC_CLOCK is defined, don't typedef monotonic_clock to system_clock and instead declare new class. * src/chrono.cc: Conditionally define monotonic_clock::now(). * include/std/condition_variable (wait_until): Throw exception if __gthread_cond_timedwait returns with error other than timed_out. Use system_clock as known clock type (__clock_t) and add overloads for known and unknown clocks. In the unknown case, sync to the known clock. Implement overload taking a predicate. (wait_for): Implement overload taking a predicate. * config/abi/pre/gnu.ver: Add exports for monotonic_clock. * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: Modify line numbers. * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc: Likewise. * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise. * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise. * testsuite/30_threads/condition_variable/member/1.cc: New. * testsuite/30_threads/condition_variable/member/2.cc: Likewise. ........ r140604 | ebotcazou | 2008-09-23 10:47:32 -0700 (Tue, 23 Sep 2008) | 2 lines * c-ppoutput.c (cb_used_define): Do nothing for a builtin node. ........ r140605 | ebotcazou | 2008-09-23 10:52:40 -0700 (Tue, 23 Sep 2008) | 2 lines * gcc.dg/vect/slp-widen-mult-s16.c: Fix typo. ........ r140606 | ktietz | 2008-09-23 10:56:45 -0700 (Tue, 23 Sep 2008) | 6 lines 2008-09-23 Kai Tietz *config/i386/i386.c (ix86_function_ok_for_sibcall): Correct check for sibcall support for w64. ........ r140607 | paolo | 2008-09-23 11:14:24 -0700 (Tue, 23 Sep 2008) | 19 lines 2008-09-23 Paolo Carlini Implement DR 396 [Ready]. * include/std/bitset (bitset<>::bitset(const std::basic_string<>&, size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*, char, char), bitset<>::to_string(_CharT, _CharT), bitset<>::_M_copy_from_string(const std::basic_string<>&, size_t, size_t, _CharT, _CharT), bitset<>::_M_copy_to_string (std::basic_string<>&, _CharT, _CharT), bitset<>::_M_copy_from_ptr( const _CharT*, size_t, size_t, size_t, _CharT, _CharT)): Add. (operator>>(std::basic_istream<>&, bitset<_Nb>&), operator<<( std::basic_ostream<>&, const bitset<_Nb>&)): Adjust. * include/debug/bitset (bitset<>::bitset(const std::basic_string<>&, size_t, size_t, _CharT, _CharT), bitset<>::bitset(const char*, char, char), bitset<>::to_string(_CharT, _CharT)): Add. * doc/xml/manual/intro.xml: Add an entry for DR 396. * testsuite/23_containers/bitset/cons/dr396.cc: Add. * testsuite/23_containers/bitset/to_string/dr396.cc: Likewise. ........ r140608 | cfairles | 2008-09-23 11:24:20 -0700 (Tue, 23 Sep 2008) | 7 lines 2008-09-23 Chris Fairles * testsuite/25_algorithms/min/37547.cc: Return void to avoid warnings. * testsuite/25_algorithms/max/37547.cc: Likewise. * testsuite/25_algorithms/minmax/37547.cc: Likewise. ........ r140609 | rsandifo | 2008-09-23 11:27:44 -0700 (Tue, 23 Sep 2008) | 4 lines gcc/ * config/i386/i386.c (ix86_delegitimize_address): Wrap the constant PLUS in a CONST. ........ r140610 | rsandifo | 2008-09-23 11:28:24 -0700 (Tue, 23 Sep 2008) | 5 lines gcc/ * doc/tm.texi (FIND_BASE_TERM): Expand documentation. * config/i386/i386.c (ix86_find_base_term): Don't check for SYMBOL_REF and LABEL_REF. ........ r140611 | rsandifo | 2008-09-23 11:29:14 -0700 (Tue, 23 Sep 2008) | 5 lines gcc/ * config/i386/i386.c: Include cselib.h. (ix86_pic_register_p): New function. (ix86_delegitimize_address): Use it to check for the PIC register. ........ r140612 | rsandifo | 2008-09-23 11:29:58 -0700 (Tue, 23 Sep 2008) | 4 lines gcc/ * alias.c (find_base_value): Use FIND_BASE_TERM. * doc/tm.texi (FIND_BASE_TERM): Update documentation. ........ r140613 | jakub | 2008-09-23 11:57:18 -0700 (Tue, 23 Sep 2008) | 6 lines PR c++/37533 * semantics.c (finish_omp_for): If processing_template_decl, just build MODIFY_EXPR for init instead of calling cp_build_modify_expr. * g++.dg/gomp/pr37533.C: New test. ........ r140616 | sje | 2008-09-23 13:44:18 -0700 (Tue, 23 Sep 2008) | 2 lines * regrename.c (do_replace): Copy REG_POINTER value to new reg. ........ r140618 | sje | 2008-09-23 14:27:17 -0700 (Tue, 23 Sep 2008) | 3 lines * lib/target-supports.exp (check_effective_target_pow10): New. * g++.dg/cdce3.C: Set GNU_EXTENSION if pow10. ........ r140619 | ebotcazou | 2008-09-23 14:45:06 -0700 (Tue, 23 Sep 2008) | 12 lines * config/sparc/constraints.md: New file. * config/sparc/sparc.md: Include it. * config/sparc/sparc-protos.h (memory_ok_for_ldd): Declare. (sparc_extra_constraint_check): Delete. * config/sparc/sparc.c (register_ok_for_ldd): Minor tweaks. (memory_ok_for_ldd): New predicate. (sparc_extra_constraint_check): Delete. * config/sparc/sparc.h (REG_CLASS_FROM_LETTER): Likewise. (CONST_OK_FOR_LETTER_P): Likewise. (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise. (EXTRA_CONSTRAINT): Likewise. ........ r140622 | gccadmin | 2008-09-23 17:16:31 -0700 (Tue, 23 Sep 2008) | 1 line Daily bump. ........ r140624 | burnus | 2008-09-24 00:01:18 -0700 (Wed, 24 Sep 2008) | 12 lines 2008-09-24 Tobias Burnus PR fortran/37626 * trans-array.c (gfc_trans_deferred_array): Don't auto-deallocate result variables. 2008-09-24 Tobias Burnus PR fortran/37626 * gfortran.dg/allocatable_function_4.f90: New test. ........ r140625 | burnus | 2008-09-24 00:08:22 -0700 (Wed, 24 Sep 2008) | 11 lines 2008-09-24 Tobias Burnus * options.c (set_default_std_flags,gfc_init_options): Add comment: keep in sync with libgfortran. 2008-09-24 Tobias Burnus * runtime/compile_options.c (init_compile_options): Sync flags with front end. ........ r140632 | dje | 2008-09-24 08:20:45 -0700 (Wed, 24 Sep 2008) | 68 lines 2008-09-24 Michael J. Eager * config/rs6000/predicates.md (easy_fp_constant): Single FP consts are easy. * config/rs6000/rs6000.c (rs6000_override_options): Move rs6000_init_hard_regno_mode_ok after all options changed. Set rs6000_single_float, rs6000_double_float if TARGET_HARD_FLOAT. (rs6000_handle_option): Process -msingle-float, -mdouble-float, -msimple-fpu flags. Add warning messages if single FP not configured. (rs6000_file_start): Output gnu_attribute for single-float. (legitimate_lo_sum_address_p): Condition on TARGET_DOUBLE_FLOAT. (rs6000_legitimize_address): Likewise. (rs6000_legitimize_reload_address): Likewise. (rs6000_emit_move): Condition on TARGET_DOUBLE_FLOAT, TARGET_SINGLE_FLOAT. (function_arg_advance): Likewise. (function_arg): Likewise. (setup_incoming_varargs): Condition on TARGET_DOUBLE_FLOAT. (rs6000_gimplify_va_arg): Condition on TARGET_DOUBLE_FLOAT, TARGET_SINGLE_FLOAT. (rs6000_split_multireg_move): Condition on TARGET_DOUBLE_FLOAT. (rs6000_emit_prologue): Likewise. (rs6000_function_value): Condition on TARGET_DOUBLE_FLOAT, TARGET_SINGLE_FLOAT. (rs6000_libcall_value): Likewise. * config/rs6000/rs6000.h (TARGET_SINGLE_FLOAT): New default to 1. (TARGET_DOUBLE_FLOAT): New default to 1 (TARGET_SIMPLE_FPU): New default to 0 (TARGET_SINGLE_FPU): New default to 0 (TARGET_SINGLE_FLOAT_MODE): New. (TARGET_DOUBLE_FLOAT_MODE): New. * config/rs6000/singlefp.h: New; redefine TARGET_SINGLE_FLOAT, TARGET_DOUBLE_FLOAT, TARGET_SIMPLE_FPU, TARGET_SINGLE_FPU, UNITS_PER_FP_WORD * config/rs6000/rs6000.md (define_mode_iterator): Condition on TARGET_DOUBLE_FLOAT, TARGET_SINGLE_FLOAT. (extendsfdf2, extendsfdf2_fpr, truncdfsf2, truncdfsf2_fpr, copysigndf3,fseldfsf4, negdf2, negdf2_fpr, absdf2, absdf2_fpr, nabsdf2_fpr, adddf3, adddf3_fpr, subdf3, subdf3_fpr, muldf3, muldf3_fpr, divdf3, divdf3_fpr, sqrtdf2, smaxdf3, smindf3, movdfcc, *fseldfdf4, floatsidf2, *floatsidf2_internal, floatunssidf2, *floatunssidf2_internal, fix_truncdfsi2, *fix_truncdfsi2_internal, fix_truncdfsi2_internal_gfxopt, fix_truncdfsi2_mfpgpr, fctiwz, btruncdf2, ceildf2, floordf2, rounddf2, floatdidf2, floatsidf_ppc64_mfpgpr, floatsidf_ppc64, floatunssidf_ppc64, fix_truncdfdi2, movdf_hardfloat32, movdf_hardfloat64_mfpgpr, movdf_hardfloat64, extenddftf2_fprs, extenddftf2_internal, trunctfdf2_internal2, fix_trunc_helper, abstf2_internal, movdf_update1, movdf_update2, cmpdf_internal1, cmptf_internal1, *cmptf_internal2): Condition on TARGET_DOUBLE_FLOAT. (aux_truncdfsf2, negsf2, *negsf2, abssf2, *abssf2, addsf3, subsf3, mulsf3, divsf3, sqrtsf2, copysignsf3, smaxsf3, sminsf3, movsfcc, *fselsfsf4, fixuns_truncsfsi2, fix_truncsfsi2, floatunssisf2, btruncsf2, ceilsf2, floorsf2, roundsf2, floatdisf2_internal1, floatdisf2_internal2, *movsf_hardfloat, trunctfsf2_fprs, *movsf_update1, *movsf_update2, *cmpsf_internal1): Condition on TARGET_SINGLE_FLOAT. (divsf3, sqrtsf2, divdf3, divdf3_fpr): Condition on TARGET_SIMPLE_FPU. * config/rs6000/rs6000.opt (-msingle-float): New. (-mdouble-float): New. (-msimple-fpu): New. * doc/invoke.texi (RS/6000 and PowerPC Options): Add -msingle-float, -mdouble-float, -msimple-fpu options. * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Set _SOFT_DOUBLE for -msingle-float. * config.gcc: New config for target=powerpc-xilinx-eabi. ........ r140635 | sje | 2008-09-24 10:13:13 -0700 (Wed, 24 Sep 2008) | 2 lines * gcc.dg/utf-array.c: Fix syntax of dg-error stmts. ........ r140637 | paolo | 2008-09-24 10:49:21 -0700 (Wed, 24 Sep 2008) | 6 lines 2008-09-24 Paolo Carlini * include/std/bitset: Adjust comment to reflect DR 853. * include/debug/bitset: Likewise. * doc/xml/manual/intro.xml: Add an entry for DR 853. ........ r140642 | aldyh | 2008-09-24 13:00:43 -0700 (Wed, 24 Sep 2008) | 31 lines * c-common.c (fname_decl): New location argument. * c-common.h (fname_decl): Same. * c-parser.c (c_lex_one_token): Use {warning,error}_at instead of {warning,error}. (c_parser_typeof_specifier): Same. (c_parser_parms_list_declarator): Same. (c_parser_asm_string_literal): Same. (c_parser_compound_statement_nostart): Same. (c_parser_label): Same. (c_parser_do_statement): Same. (c_parser_asm_statement): Same. (c_parser_unary_expression): Same. (c_parser_sizeof_expression): Same. (c_parser_postfix_expression): Same. (c_parser_pragma): Same. (c_parser_omp_clause_collapse): Same. (c_parser_omp_clause_num_threads): Same. (c_parser_omp_clause_schedule): Same. (c_parser_omp_all_clauses): Same. (c_parser_omp_sections_scope): Same. (c_parser_omp_for_loop): Same. Pass condition's location to c_objc_common_truthvalue_conversion. (c_parser_enum_specifier): Remove comment. testsuite/ * gcc.dg/gomp/for-1.c: Test for columns. * gcc.dg/func-outside-1.c: Same. * gcc.dg/bitfld-7.c: Same. cp/ * semantics.c (finish_fname): Pass location to fname_decl. ........ r140645 | sje | 2008-09-24 14:14:29 -0700 (Wed, 24 Sep 2008) | 2 lines * gcc.dg/vect/O3-vect-pr34223.c: Check vect_int_mult. ........ r140646 | dje | 2008-09-24 14:58:36 -0700 (Wed, 24 Sep 2008) | 2 lines Revert rs6000 change. ........ r140648 | rth | 2008-09-24 15:38:03 -0700 (Wed, 24 Sep 2008) | 2 lines * dwarf2.h (DW_OP_GNU_encoded_addr): New. * unwind-dw2.c (execute_stack_op): Handle it. ........ r140650 | gerald | 2008-09-24 15:47:14 -0700 (Wed, 24 Sep 2008) | 2 lines * config/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define. ........ r140651 | pinskia | 2008-09-24 15:49:54 -0700 (Wed, 24 Sep 2008) | 2 lines Remove conflict mark. ........ r140654 | gccadmin | 2008-09-24 17:16:52 -0700 (Wed, 24 Sep 2008) | 1 line Daily bump. ........ r140660 | jamborm | 2008-09-25 02:53:42 -0700 (Thu, 25 Sep 2008) | 9 lines 2008-09-25 Martin Jambor * cgraph.c (free_nodes): New variable. (NEXT_FREE_NODE): New macro. (cgraph_create_node): Reuse nodes from the free list. Do not update uid if doing so. (cgraph_remove_node): Add the node to the free list. ........ r140661 | razya | 2008-09-25 04:21:43 -0700 (Thu, 25 Sep 2008) | 6 lines 2008-09-25 Sergei Dyshel * matrix-reorg.c (transform_allocation_sites): Initializers added to avoid the warning. ........ r140662 | ebotcazou | 2008-09-25 04:52:47 -0700 (Thu, 25 Sep 2008) | 2 lines * dbxout.c (dbxout_parms): Fetch the inner REG inside a PARALLEL. ........ r140663 | burnus | 2008-09-25 08:01:16 -0700 (Thu, 25 Sep 2008) | 14 lines 2008-09-25 Tobias Burnus PR fortran/37504 * expr.c (gfc_check_pointer_assign): Allow assignment of protected pointers. * match.c (gfc_match_assignment,gfc_match_pointer_assignment): Remove unreachable code. 2008-09-25 Tobias Burnus PR fortran/37504 * gfortran.dg/protected_7.f90: New test. ........ r140665 | sam | 2008-09-25 08:12:26 -0700 (Thu, 25 Sep 2008) | 4 lines gcc/ada/ PR ada/37641 * adaint.c (__gnat_set_non_writable): Use FILE_WRITE_EA instead of deprecated FILE_WRITE_PROPERTIES. ........ r140669 | rsandifo | 2008-09-25 12:52:34 -0700 (Thu, 25 Sep 2008) | 6 lines gcc/ * combine.c (make_compound_operation): Handle the 'E' format. (count_rtxs): Likewise. (update_table_tick): Likewise. (get_last_value_validate): Likewise. ........ r140670 | paolo | 2008-09-25 13:38:32 -0700 (Thu, 25 Sep 2008) | 14 lines /cp 2008-09-25 Paolo Carlini PR c++/37649 * name-lookup.c (maybe_process_template_type_declaration): Check return value of push_template_decl_real for error_mark_node. /testsuite 2008-09-25 Paolo Carlini PR c++/37649 * g++.dg/template/crash82.C: New. ........ r140671 | sje | 2008-09-25 16:06:38 -0700 (Thu, 25 Sep 2008) | 2 lines * gcc.dg/vect/slp-7.c: Add alignment attribute, change target tests. ........ r140673 | hjl | 2008-09-25 16:44:57 -0700 (Thu, 25 Sep 2008) | 5 lines 2008-09-25 H.J. Lu * config/i386/i386.md: Check cmp/branch fuse for cmp peephole optimization. ........ r140674 | vmakarov | 2008-09-25 17:14:30 -0700 (Thu, 25 Sep 2008) | 21 lines 2008-09-25 Vladimir Makarov PR middle-end/37448 * ira-int.h (IRA_ALLOCNO_TEMP): Rename to ALLOCNO_TEMP. (ira_compress_allocno_live_ranges): New prototype. * ira-color.c: Rename IRA_ALLOCNO_TEMP to ALLOCNO_TEMP. (coalesced_allocnos_living_at_program_points): New. (coalesced_allocnos_live_at_points_p, set_coalesced_allocnos_live_points): New functions. (coalesce_spill_slots): Rewrite. * ira-lives.c (remove_some_program_points_and_update_live_ranges, ira_compress_allocno_live_ranges): New functions. * ira-build.c (ira_flattening): Call ira_compress_allocno_live_ranges. (ira_build): Ditto. ........ r140677 | gccadmin | 2008-09-25 17:17:02 -0700 (Thu, 25 Sep 2008) | 1 line Daily bump. ........ r140679 | vmakarov | 2008-09-25 17:43:11 -0700 (Thu, 25 Sep 2008) | 14 lines 2008-09-25 Vladimir Makarov PR middle-end/37535 * ira-lives.c (mark_reg_live, mark_reg_dead): New functions. (mark_ref_live, mark_ref_dead): Use them. (def_conflicts_with_inputs_p): Remove. (mark_early_clobbers): New function. (process_bb_node_lives): Call preprocess_constraints and mark_early_clobbers. * doc/rtx.texi (clobber): Change how RA deals with clobbers. ........ r140680 | jakub | 2008-09-25 22:09:29 -0700 (Thu, 25 Sep 2008) | 6 lines PR c/37645 * c-common.c (handle_weakref_attribute): Ignore the attribute unless the decl is a VAR_DECL or FUNCTION_DECL. * gcc.dg/pr37645.c: New test. ........ r140683 | jvdelisle | 2008-09-25 23:15:21 -0700 (Thu, 25 Sep 2008) | 6 lines 2008-09-25 Jerry DeLisle * g++.dg/compat/struct-layout-1_x1.h: Add __SIZE_TYPE__ cast to avoid pointer truncation warning. ........ r140687 | ebotcazou | 2008-09-26 01:33:04 -0700 (Fri, 26 Sep 2008) | 3 lines PR ada/5911 * gcc-interface/Makefile.in (SPARC/Solaris): Add multilib support. ........ r140693 | pthaugen | 2008-09-26 07:31:57 -0700 (Fri, 26 Sep 2008) | 7 lines 2008-09-26 Pat Haugen * config/rs6000/rs6000.c (rs6000_emit_allocate_stack): Use correct alias set on MEM when saving stack pointer. * config/rs6000/rs6000.md (allocate_stack): Likewise ........ r140697 | guerby | 2008-09-26 09:02:49 -0700 (Fri, 26 Sep 2008) | 3 lines Fix missing file in 2008-09-21 commit ........ r140698 | sje | 2008-09-26 09:21:02 -0700 (Fri, 26 Sep 2008) | 8 lines * libtool.m4: Update to libtool 2.2.6. * lt~obsolete.m4: Update to libtool 2.2.6. * ltmain.sh: Update to libtool 2.2.6. * ltsugar.m4: Update to libtool 2.2.6. * ltversion.m4: Update to libtool 2.2.6. * ltoptions.m4: Update to libtool 2.2.6. * ltgcc.m4: Update to match changes from libtool 2.2.6. ........ r140699 | sje | 2008-09-26 09:24:34 -0700 (Fri, 26 Sep 2008) | 4 lines * configure: Regenerate for new libtool. * Makefile.in: Ditto. * testsuite/Makefile.in: Ditto. ........ r140700 | sje | 2008-09-26 09:26:24 -0700 (Fri, 26 Sep 2008) | 3 lines * configure: Regenerate for new libtool. * aclocal.m4: Ditto. ........ r140701 | sje | 2008-09-26 09:28:27 -0700 (Fri, 26 Sep 2008) | 3 lines * configure: Regenerate for new libtool. * Makefile.in: Ditto. ........ r140702 | sje | 2008-09-26 09:32:26 -0700 (Fri, 26 Sep 2008) | 11 lines * configure: Regenerate for new libtool. * aclocal.m4: Ditto. * Makefile.in: Ditto. * src/Makefile.in: Ditto. * doc/Makefile.in: Ditto. * po/Makefile.in: Ditto. * libmath/Makefile.in: Ditto. * include/Makefile.in: Ditto. * libsupc++/Makefile.in: Ditto. * testsuite/Makefile.in: Ditto. ........ r140703 | sje | 2008-09-26 09:33:53 -0700 (Fri, 26 Sep 2008) | 3 lines * configure: Regenerate for new libtool. * config.h.in: Regenerate for new libtool. ........ r140704 | sje | 2008-09-26 09:35:33 -0700 (Fri, 26 Sep 2008) | 3 lines * configure: Regenerate for new libtool. * Makefile.in: Ditto. ........ r140705 | sje | 2008-09-26 09:37:32 -0700 (Fri, 26 Sep 2008) | 4 lines * configure: Regenerate for new libtool. * Makefile.in: Ditto. * testsuite/Makefile.in: Ditto. ........ r140706 | sje | 2008-09-26 09:39:49 -0700 (Fri, 26 Sep 2008) | 5 lines * configure: Regenerate for new libtool. * Makefile.in: Ditto. * include/Makefile.in: Ditto. * aclocal.m4: Ditto. ........ r140707 | sje | 2008-09-26 09:41:52 -0700 (Fri, 26 Sep 2008) | 5 lines * configure: Regenerate for new libtool. * Makefile.in: Ditto. * include/Makefile.in: Ditto. * aclocal.m4: Ditto. ........ r140708 | sje | 2008-09-26 09:43:24 -0700 (Fri, 26 Sep 2008) | 4 lines * configure: Regenerate for new libtool. * Makefile.in: Ditto. * aclocal.m4: Ditto. ........ r140709 | jakub | 2008-09-26 09:45:44 -0700 (Fri, 26 Sep 2008) | 4 lines PR middle-end/37576 * opts.c (common_handle_option): Don't call print_specific_help with CL_SAVE as first argument. ........ r140710 | sje | 2008-09-26 09:48:13 -0700 (Fri, 26 Sep 2008) | 42 lines * configure: Regenerate for new libtool. * Makefile.in: Ditto. * aclocal.m4: Ditto. * classpath/configure: Ditto. * classpath/Makefile.in: Ditto. * classpath/native/jni/Makefile.in: Ditto. * classpath/native/jni/classpath/Makefile.in: Ditto. * classpath/native/jni/midi-dssi/Makefile.in: Ditto. * classpath/native/jni/gstreamer-peer/Makefile.in: Ditto. * classpath/native/jni/gconf-peer/Makefile.in: Ditto. * classpath/native/jni/java-io/Makefile.in: Ditto. * classpath/native/jni/native-lib/Makefile.in: Ditto. * classpath/native/jni/java-util/Makefile.in: Ditto. * classpath/native/jni/java-lang/Makefile.in: Ditto. * classpath/native/jni/midi-alsa/Makefile.in: Ditto. * classpath/native/jni/java-nio/Makefile.in: Ditto. * classpath/native/jni/java-net/Makefile.in: Ditto. * classpath/native/jni/xmlj/Makefile.in: Ditto. * classpath/native/jni/qt-peer/Makefile.in: Ditto. * classpath/native/jni/gtk-peer/Makefile.in: Ditto. * classpath/native/Makefile.in: Ditto. * classpath/native/jawt/Makefile.in: Ditto. * classpath/native/fdlibm/Makefile.in: Ditto. * classpath/native/plugin/Makefile.in: Ditto. * classpath/resource/Makefile.in: Ditto. * classpath/scripts/Makefile.in: Ditto. * classpath/tools/Makefile.in: Ditto. * classpath/doc/Makefile.in: Ditto. * classpath/doc/api/Makefile.in: Ditto. * classpath/lib/Makefile.in: Ditto. * classpath/external/Makefile.in: Ditto. * classpath/external/jsr166/Makefile.in: Ditto. * classpath/external/sax/Makefile.in: Ditto. * classpath/external/w3c_dom/Makefile.in: Ditto. * classpath/external/relaxngDatatype/Makefile.in: Ditto. * classpath/include/Makefile.in: Ditto. * classpath/aclocal.m4: Ditto. * classpath/examples/Makefile.in: Ditto. * include/Makefile.in: Ditto. * testsuite/Makefile.in: Ditto. * gcj/Makefile.in: Ditto. ........ r140711 | ebotcazou | 2008-09-26 13:11:52 -0700 (Fri, 26 Sep 2008) | 3 lines * decl.c (gnat_to_gnu_entity) : Cap the alignment promotion to that of ptr_mode instead of word_mode. ........ r140712 | jakub | 2008-09-26 13:59:03 -0700 (Fri, 26 Sep 2008) | 12 lines PR middle-end/37275 * dwarf2out.c (tls_mem_loc_descriptor): New function. (mem_loc_descriptor): Use it for MEM. For PLUS fail if second mem_loc_descriptor failed. Accept UNSPEC. (loc_descriptor): Use tls_mem_loc_descriptor for MEM. For PARALLEL fail if one of the loc_descriptor calls for pieces failed. (loc_descriptor_from_tree_1): Handle even DECL_EXTERNAL __thread vars, as long as they bind locally. For COMPONENT_REF, ARRAY_REF etc. fail if loc_descriptor_from_tree_1 on offset failed. * gcc.target/i386/pr37275.c: New test. ........ r140714 | nemet | 2008-09-26 16:38:20 -0700 (Fri, 26 Sep 2008) | 4 lines * config/mips/mips.h (ISA_HAS_DMUL3, ISA_HAS_BADDU, ISA_HAS_BBIT, ISA_HAS_CINS, ISA_HAS_EXTS, ISA_HAS_SEQ_SNE, ISA_HAS_POP): Change them to yield false with MIPS16. ........ r140717 | gccadmin | 2008-09-26 17:16:33 -0700 (Fri, 26 Sep 2008) | 1 line Daily bump. ........ r140721 | vmakarov | 2008-09-26 20:26:45 -0700 (Fri, 26 Sep 2008) | 8 lines 2008-09-26 Vladimir Makarov Revert: 2008-09-25 Vladimir Makarov * ira-lives.c:... * doc/rtl.texi:... ........ r140724 | kkojima | 2008-09-27 15:12:08 -0700 (Sat, 27 Sep 2008) | 4 lines * config/sh/sh.c (sh_gimplify_va_arg_expr): Use VIEW_CONVERT_EXPR if needed. ........ r140727 | gccadmin | 2008-09-27 17:16:35 -0700 (Sat, 27 Sep 2008) | 1 line Daily bump. ........ r140729 | cfairles | 2008-09-28 02:05:07 -0700 (Sun, 28 Sep 2008) | 17 lines 2008-09-28 Chris Fairles * include/std/mutex (try_lock): Implement generic try_lock. * testsuite/30_threads/try_lock/1.cc: New. * testsuite/30_threads/try_lock/2.cc: Likewise. * testsuite/30_threads/try_lock/3.cc: Likewise. * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers. * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise. * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise. * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise. * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise. * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Likewise. ........ r140730 | ebotcazou | 2008-09-28 02:17:30 -0700 (Sun, 28 Sep 2008) | 4 lines * expmed.c (store_fixed_bit_field): Always use convert_to_mode in order to convert between modes. (extract_bit_field_1): Test TRULY_NOOP_TRUNCATION on the right mode. ........ r140734 | ebotcazou | 2008-09-28 08:12:07 -0700 (Sun, 28 Sep 2008) | 3 lines PR middle-end/36575 * fold-const (div_and_round_double) : Fix typo. ........ r140737 | paolo | 2008-09-28 08:47:45 -0700 (Sun, 28 Sep 2008) | 10 lines 2008-09-28 Paolo Carlini * include/bits/unique_ptr.h (unique_ptr<_Tp[]>::template void reset(U)): Add as deleted function, per DR 821 [Ready]. * include/bits/unique_ptr.h: Prefer everywhere deleted to private member function declarations; minor formatting tweaks. * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: New. * testsuite/20_util/unique_ptr/assign/assign.cc: Adjust DejaGNU directives. ........ r140738 | pinskia | 2008-09-28 15:48:48 -0700 (Sun, 28 Sep 2008) | 15 lines 2008-09-28 Andrew Pinski Kaushal Kantawala PR tree-opt/36891 * tree-ssa-loop-im.c (rewrite_reciprocal): Set DECL_GIMPLE_REG_P on the newly created variable. Create a VECTOR_CST of all 1s for vector types. 2008-09-28 Andrew Pinski Kaushal Kantawala PR tree-opt/36891 * gcc.dg/torture/pr36891.c: New testcase. ........ r140739 | kkojima | 2008-09-28 15:57:53 -0700 (Sun, 28 Sep 2008) | 4 lines * config/sh/sh.h (OVERRIDE_OPTIONS): Unset flag_dwarf2_cfi_asm for SHmedia. ........ r140740 | pinskia | 2008-09-28 16:07:01 -0700 (Sun, 28 Sep 2008) | 13 lines 2008-09-28 Andrew Pinski PR target/37640 * config/rs6000/rs6000.c (rs6000_expand_compare_and_swapqhi): Force address to a register before taking the lower part. 2008-09-28 Andrew Pinski PR target/37640 * gcc.c-torture/compile/sync-3.c: New testcase to check that addresses of non zero offset works. ........ r140743 | gccadmin | 2008-09-28 17:16:48 -0700 (Sun, 28 Sep 2008) | 1 line Daily bump. ........ r140745 | hp | 2008-09-28 17:35:53 -0700 (Sun, 28 Sep 2008) | 2 lines * config/cris/cris.h (IRA_COVER_CLASSES): Define. ........ r140746 | grosser | 2008-09-28 18:28:16 -0700 (Sun, 28 Sep 2008) | 27 lines 2008-09-29 Tobias Grosser * graphite.c (dot_all_scops_1): Remove unused checks. SCoPs always have exit and entry. (new_scop): Take entry and exit edge to define new SCoP. (sd_region_p): New structure used during SCoP detection. (move_scops): Delete. (move_sd_regions): New. (scopdet_info): Change the definition from edges back to basic_blocks. (scopdet_edge_info): Work on basic_blocks and rename to scopdet_basic_block_info. (split_difficult_bb): At the moment removed. We should later add it at another place. (build_scops_1): Work on basic_blocks. (bb_in_sd_region): New. (find_single_entry_edge): New. (find_single_exit_edge): New. (create_single_entry_edge): New. (sd_region_without_exit): New. (create_single_exit_edge): New. (unmark_exit_edges): New. (mark_exit_edges): New. (create_sese_edges): New. (build_graphite_scops): New. (build_scops): Make SCoPs SESE. (limit_scops): Use the new functions. ........ r140750 | ebotcazou | 2008-09-29 00:19:33 -0700 (Mon, 29 Sep 2008) | 1 line Fix typo. ........ r140757 | dje | 2008-09-29 09:05:32 -0700 (Mon, 29 Sep 2008) | 65 lines * config/rs6000/predicates.md (easy_fp_constant): Single FP consts are easy. * config/rs6000/rs6000.c (rs6000_override_options): Move rs6000_init_hard_regno_mode_ok after all options changed. Set rs6000_single_float, rs6000_double_float if TARGET_HARD_FLOAT. (rs6000_handle_option): Process -msingle-float, -mdouble-float, -msimple-fpu flags. Add warning messages if single FP not configured. (rs6000_file_start): Output gnu_attribute for single-float. (legitimate_lo_sum_address_p): Condition on TARGET_DOUBLE_FLOAT. (rs6000_legitimize_address): Likewise. (rs6000_legitimize_reload_address): Likewise. (rs6000_emit_move): Condition on TARGET_DOUBLE_FLOAT, TARGET_SINGLE_FLOAT. (function_arg_advance): Likewise (partial conversion). (setup_incoming_varargs): Condition on TARGET_DOUBLE_FLOAT. (rs6000_gimplify_va_arg): Condition on TARGET_DOUBLE_FLOAT, TARGET_SINGLE_FLOAT. (rs6000_split_multireg_move): Condition on TARGET_DOUBLE_FLOAT. (rs6000_emit_prologue): Likewise. (rs6000_function_value): Condition on TARGET_DOUBLE_FLOAT, TARGET_SINGLE_FLOAT. (rs6000_libcall_value): Likewise. * config/rs6000/rs6000.h (TARGET_SINGLE_FLOAT): New default to 1. (TARGET_DOUBLE_FLOAT): New default to 1 (TARGET_SIMPLE_FPU): New default to 0 (TARGET_SINGLE_FPU): New default to 0 (TARGET_SINGLE_FLOAT_MODE): New. (TARGET_DOUBLE_FLOAT_MODE): New. * config/rs6000/singlefp.h: New; redefine TARGET_SINGLE_FLOAT, TARGET_DOUBLE_FLOAT, TARGET_SIMPLE_FPU, TARGET_SINGLE_FPU, UNITS_PER_FP_WORD * config/rs6000/rs6000.md (define_mode_iterator): Condition on TARGET_DOUBLE_FLOAT, TARGET_SINGLE_FLOAT. (extendsfdf2, extendsfdf2_fpr, truncdfsf2, truncdfsf2_fpr, copysigndf3,fseldfsf4, negdf2, negdf2_fpr, absdf2, absdf2_fpr, nabsdf2_fpr, adddf3, adddf3_fpr, subdf3, subdf3_fpr, muldf3, muldf3_fpr, divdf3, divdf3_fpr, sqrtdf2, smaxdf3, smindf3, movdfcc, *fseldfdf4, floatsidf2, *floatsidf2_internal, floatunssidf2, *floatunssidf2_internal, fix_truncdfsi2, *fix_truncdfsi2_internal, fix_truncdfsi2_internal_gfxopt, fix_truncdfsi2_mfpgpr, fctiwz, btruncdf2, ceildf2, floordf2, rounddf2, floatdidf2, floatsidf_ppc64_mfpgpr, floatsidf_ppc64, floatunssidf_ppc64, fix_truncdfdi2, movdf_hardfloat32, movdf_hardfloat64_mfpgpr, movdf_hardfloat64, extenddftf2_fprs, extenddftf2_internal, trunctfdf2_internal2, fix_trunc_helper, abstf2_internal, movdf_update1, movdf_update2, cmpdf_internal1, cmptf_internal1, *cmptf_internal2): Condition on TARGET_DOUBLE_FLOAT. (aux_truncdfsf2, negsf2, *negsf2, abssf2, *abssf2, addsf3, subsf3, mulsf3, divsf3, sqrtsf2, copysignsf3, smaxsf3, sminsf3, movsfcc, *fselsfsf4, fixuns_truncsfsi2, fix_truncsfsi2, floatunssisf2, btruncsf2, ceilsf2, floorsf2, roundsf2, floatdisf2_internal1, floatdisf2_internal2, *movsf_hardfloat, trunctfsf2_fprs, *movsf_update1, *movsf_update2, *cmpsf_internal1): Condition on TARGET_SINGLE_FLOAT. (divsf3, sqrtsf2, divdf3, divdf3_fpr): Condition on TARGET_SIMPLE_FPU. * config/rs6000/rs6000.opt (-msingle-float): New. (-mdouble-float): New. (-msimple-fpu): New. * doc/invoke.texi (RS/6000 and PowerPC Options): Add -msingle-float, -mdouble-float, -msimple-fpu options. * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Set _SOFT_DOUBLE for -msingle-float. * config.gcc: New config for target=powerpc-xilinx-eabi. ........ r140758 | law | 2008-09-29 09:20:21 -0700 (Mon, 29 Sep 2008) | 3 lines * reload1.c (alter_reg): Add missing curly braces. ........ r140760 | ebotcazou | 2008-09-29 11:15:28 -0700 (Mon, 29 Sep 2008) | 4 lines * expr.c (expand_expr_real_1) : Force op0 to non-constant memory if it cannot be forced to constant memory. Overhaul surrounding code and factor out common condition. ........ r140764 | jsm28 | 2008-09-29 12:31:27 -0700 (Mon, 29 Sep 2008) | 3 lines * ifcvt.c (noce_emit_store_flag): If using condition from original jump, reverse it if if_info->cond was reversed. ........ r140765 | pinskia | 2008-09-29 14:23:52 -0700 (Mon, 29 Sep 2008) | 6 lines 2008-09-29 Andrew Pinski PR middle-end/37669 * gcc.c-torture/compile/pr37669.c: New test. ........ r140769 | ebotcazou | 2008-09-29 16:56:19 -0700 (Mon, 29 Sep 2008) | 2 lines * dwarf2out.c (constant_size): Use HOST_WIDE_INT in parameter type. ........ r140772 | gccadmin | 2008-09-29 17:16:55 -0700 (Mon, 29 Sep 2008) | 1 line Daily bump. ........ r140774 | hjl | 2008-09-29 17:32:29 -0700 (Mon, 29 Sep 2008) | 9 lines 2008-09-29 H.J. Lu * config/i386/i386.opt: Add msse2avx. * config/i386/linux.h (ASM_SPEC): New. Support -msse2avx. * config/i386/linux64.h (ASM_SPEC): Likewise. * doc/invoke.texi: Document -msse2avx. ........ r140778 | daney | 2008-09-29 22:32:33 -0700 (Mon, 29 Sep 2008) | 1 line * MAINTAINERS (Write After Approval): Update e-mail address. ........ r140779 | bonzini | 2008-09-30 02:26:22 -0700 (Tue, 30 Sep 2008) | 6 lines 2008-09-30 Paolo Bonzini PR testsuite/36891 PR testsuite/37675 * gcc.dg/torture/pr36891.c: Add -msse on 32-bit i386. ........ r140780 | bonzini | 2008-09-30 02:52:41 -0700 (Tue, 30 Sep 2008) | 21 lines 2008-09-30 Paolo Bonzini * c-common.c (empty_if_body_warning): Remove. * c-common.h (empty_if_body_warning): Remove. * c-parser.c (c_parser_if_body, c_parser_else_body): Implement here the -Wempty-body warning for `if' and `else' statements. * c-typeck.c (c_finish_if_stmt): Do not call empty_body_warning. cp: 2008-09-30 Paolo Bonzini * parser.c (cp_parser_selection_statement): Implement here the -Wempty-body warning for `if' and `else' statements. * semantics.c (finish_if_stmt): Do not call empty_body_warning. testsuite: 2008-09-30 Paolo Bonzini * g++.dg/warn/if-empty-1.C: Copy from gcc.dg/if-empty-1.c. ........ r140781 | rguenth | 2008-09-30 03:36:22 -0700 (Tue, 30 Sep 2008) | 8 lines 2008-09-30 Richard Guenther PR middle-end/37491 * tree-vect-transform.c (vect_create_data_ref_ptr): Properly build restrict-qualified pointers. (vectorizable_store): Move alias check later. (vectorizable_load): Likewise. ........ r140785 | dje | 2008-09-30 06:14:48 -0700 (Tue, 30 Sep 2008) | 4 lines 2008-09-30 Andrew Pinski * config/rs6000/rs6000.md (fnmadds combiner): Revert typo. ........ r140786 | paolo | 2008-09-30 06:48:55 -0700 (Tue, 30 Sep 2008) | 14 lines 2008-09-30 Paolo Carlini PR libstdc++/30085 (again) * include/debug/unordered_map (unordered_map<>, unordered_multimap<>): Do not derive from _Safe_association, derive from _GLIBCXX_STD_D:: unordered_map / unordered_multimap; add missing member functions. * include/debug/unordered_set (unordered_set<>, unordered_multiset<>): Likewise for _GLIBCXX_STD_D::unordered_set / unordered_multiset. * include/debug/safe_association.h: Remove. * include/Makefile.am: Adjust. * include/Makefile.in: Regenerate. * testsuite/23_containers/unordered_multimap/init-list.cc: Remove xfail. ........ r140787 | paolo | 2008-09-30 06:49:15 -0700 (Tue, 30 Sep 2008) | 14 lines 2008-09-30 Paolo Carlini PR libstdc++/30085 (again) * include/debug/unordered_map (unordered_map<>, unordered_multimap<>): Do not derive from _Safe_association, derive from _GLIBCXX_STD_D:: unordered_map / unordered_multimap; add missing member functions. * include/debug/unordered_set (unordered_set<>, unordered_multiset<>): Likewise for _GLIBCXX_STD_D::unordered_set / unordered_multiset. * include/debug/safe_association.h: Remove. * include/Makefile.am: Adjust. * include/Makefile.in: Regenerate. * testsuite/23_containers/unordered_multimap/init-list.cc: Remove xfail. ........ r140789 | paolo | 2008-09-30 07:53:53 -0700 (Tue, 30 Sep 2008) | 4 lines 2008-09-30 Paolo Carlini * Minor formatting tweaks to the ChangeLog. ........ r140790 | burnus | 2008-09-30 08:19:25 -0700 (Tue, 30 Sep 2008) | 19 lines 2008-09-30 Janus Weil PR fortran/36592 * symbol.c (check_conflict): If a symbol in a COMMON block is a procedure, it must be a procedure pointer. (gfc_add_in_common): Symbols in COMMON blocks may be variables or procedure pointers. * trans-types.c (gfc_sym_type): Make procedure pointers in * COMMON blocks work. 2008-09-30 Janus Weil PR fortran/36592 * gfortran.dg/proc_ptr_common_1.f90: New. * gfortran.dg/proc_ptr_common_2.f90: New. ........ r140792 | jakub | 2008-09-30 10:00:49 -0700 (Tue, 30 Sep 2008) | 9 lines PR tree-optimization/37662 PR tree-optimization/37663 * tree-vrp.c (simplify_truth_ops_using_ranges): Don't call get_value_range with non-SSA_NAME. Don't assert operands have been folded, instead just bail out. * gcc.c-torture/compile/pr37662.c: New test. * gcc.dg/pr37663.c: New test. ........ r140794 | simartin | 2008-09-30 12:25:35 -0700 (Tue, 30 Sep 2008) | 19 lines gcc/cp/ 2008-09-30 Simon Martin PR c++/37555 PR c++/37556 * decl.c (grokdeclarator): Set the type for typedefs to a nested-name-specifier to error_mark_node. gcc/testsuite/ 2008-09-30 Simon Martin PR c++/37555 * g++.dg/parse/error32.C: New test. PR c++/37556 * g++.dg/parse/error33.C: New test. ........ r140797 | andreast | 2008-09-30 13:08:42 -0700 (Tue, 30 Sep 2008) | 5 lines 2008-09-30 Andreas Tobler * testsuite/lib/libjava.exp (libjava_arguments): Do not append "no-install" to additional_flags for *-*-darwin. ........ r140803 | gccadmin | 2008-09-30 17:16:28 -0700 (Tue, 30 Sep 2008) | 1 line Daily bump. ........ r140807 | ktietz | 2008-10-01 00:38:53 -0700 (Wed, 01 Oct 2008) | 12 lines 2008-10-01 Kai Tietz * g++.dg/abi/offsetof.C (main): Use __SIZE_TYPE__ instead of unsigned long for pointer cast. * g++.dg/init/struct1.C: Likewise. * g++.dg/init/struct2.C: Likewise. * g++.dg/init/struct3.C: Likewise. * g++.dg/ext/utf-cvt.C: Correct for w64. * gcc.dg/utf-cvt.c: Likewise. * lib/target-supports.exp (check_effective_target_llp64): New. ........ r140808 | schwab | 2008-10-01 01:33:54 -0700 (Wed, 01 Oct 2008) | 4 lines * system-linux-ppc64.ads: New file. * gcc-interface/Makefile.in: Add multilib handling for powerpc-linux. ........ r140809 | bonzini | 2008-10-01 05:22:17 -0700 (Wed, 01 Oct 2008) | 7 lines 2008-09-30 Paolo Bonzini PR tree-optimization/37662 * tree-ssa-ccp.c (fold_gimple_assign): Invert the operands of a commutative binary operation if they are in the wrong order and fold_build2 produces non-GIMPLE. ........ r140810 | bonzini | 2008-10-01 05:26:02 -0700 (Wed, 01 Oct 2008) | 6 lines 2008-09-30 H.J. Lu PR c++/37683 * parser.c (cp_parser_selection_statement): Fix uninitialized variable. ........ r140812 | rth | 2008-10-01 07:28:04 -0700 (Wed, 01 Oct 2008) | 3 lines PR tree-opt/35737 * tree-complex.c (set_component_ssa_name): Don't optimize is_gimple_min_invariant values with ssa_names in abnormal phis. ........ r140814 | rguenth | 2008-10-01 08:09:26 -0700 (Wed, 01 Oct 2008) | 9 lines 2008-10-01 Richard Guenther PR middle-end/37285 * tree-vrp.c (execute_vrp): If we optimized away the default case make sure to promote the label that got in place of it to a default case label. * gcc.c-torture/compile/pr37285.c: New testcase. ........ r140816 | rguenth | 2008-10-01 09:23:23 -0700 (Wed, 01 Oct 2008) | 8 lines 2008-10-01 Richard Guenther PR tree-optimization/37617 * tree-ssa-pre.c (create_expression_by_pieces): During FRE do not add to the NEW_SETS. * gcc.c-torture/compile/pr37617.c: New testcase. ........ r140817 | mmitchel | 2008-10-01 11:38:07 -0700 (Wed, 01 Oct 2008) | 2 lines * MAINTAINERS (Blanket Write Privs): Change to Global Reviewers. ........ r140819 | bosch | 2008-10-01 11:43:09 -0700 (Wed, 01 Oct 2008) | 3 lines * tree.c (contains_placeholder_p): Return 0 for a SAVE_EXPR. ........ r140820 | pinskia | 2008-10-01 11:45:35 -0700 (Wed, 01 Oct 2008) | 53 lines 2008-10-01 Andrew Pinski Yukishige Shibata Trevor Smigiel * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add Cell Altivec intrinsics. * config/rs6000/rs6000.c (altivec_expand_lv_builtin): Delete prototype. Add new parameter, blk. Use BLKmode for the MEM if blk is true. (altivec_expand_builtin): Handle ALTIVEC_BUILTIN_STVLX, ALTIVEC_BUILTIN_STVLXL, ALTIVEC_BUILTIN_STVRX, and ALTIVEC_BUILTIN_STVRXL. Update usage of altivec_expand_lv_builtin. Handle ALTIVEC_BUILTIN_LVLX, ALTIVEC_BUILTIN_LVLXL, ALTIVEC_BUILTIN_LVRX, and ALTIVEC_BUILTIN_LVRXL. (altivec_init_builtins): If compiling for the Cell, also define the cell VMX builtins. * config/rs6000/rs6000.h (rs6000_builtins): Define ALTIVEC_BUILTIN_LVLX, ALTIVEC_BUILTIN_LVLXL, ALTIVEC_BUILTIN_LVRX, ALTIVEC_BUILTIN_LVRXL, ALTIVEC_BUILTIN_STVLX, ALTIVEC_BUILTIN_STVLXL, ALTIVEC_BUILTIN_STVRX, ALTIVEC_BUILTIN_STVRXL, ALTIVEC_BUILTIN_VEC_LVLX, ALTIVEC_BUILTIN_VEC_LVLXL, ALTIVEC_BUILTIN_VEC_LVRX, ALTIVEC_BUILTIN_VEC_LVRXL, ALTIVEC_BUILTIN_VEC_STVLX, ALTIVEC_BUILTIN_VEC_STVLXL, ALTIVEC_BUILTIN_VEC_STVRX, and ALTIVEC_BUILTIN_VEC_STVRXL. * config/rs6000/altivec.md (define_constants): Define UNSPEC_LVLX, UNSPEC_LVLXL, UNSPEC_LVRX, UNSPEC_LVRXL, UNSPEC_STVLX, UNSPEC_STVLXL, UNSPEC_STVRX, and UNSPEC_STVRXL. (altivec_lvlx): New pattern. (altivec_lvlxl): New pattern. (altivec_lvrx): New pattern. (altivec_lvrxl): New pattern. (altivec_stvlx): New pattern. (altivec_stvlxl): New pattern. (altivec_stvrx): New pattern. (altivec_stvrxl): New pattern. * config/rs6000/altivec.h (vec_lvlx): Define if PPU is defined. (vec_lvlxl): Likewise. (vec_lvrx): Define if PPU is defined. (vec_lvrxl): Likewise. (vec_stvlx): Define if PPU is defined. (vec_stvlxl): Likewise. (vec_stvrx): Define if PPU is defined. (vec_stvrxl): Likewise. 2008-10-01 Andrew Pinski * gcc.target/powerpc/altivec_check.h (altivec_cell_check): New function. * gcc.target/powerpc/altivec-cell-6.c: New test. * gcc.target/powerpc/altivec-cell-7.c: New test. * gcc.target/powerpc/altivec-cell-8.c: New test. ........ r140821 | pinskia | 2008-10-01 12:06:58 -0700 (Wed, 01 Oct 2008) | 37 lines 2008-10-01 Andrew Pinski * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin): Handle ALTIVEC_BUILTIN_VEC_SPLATS, ALTIVEC_BUILTIN_VEC_PROMOTE, ALTIVEC_BUILTIN_VEC_EXTRACT, and ALTIVEC_BUILTIN_VEC_INSERT specially, they translate to non builtins. * config/rs6000/rs6000.c (altivec_init_builtins): Add new variable opaque_ftype_opaque. Define builtins __builtin_vec_splats, __builtin_vec_promote, __builtin_vec_extract, and __builtin_vec_insert. * config/rs6000/rs6000.h (enum rs6000_builtins): Add ALTIVEC_BUILTIN_VEC_EXTRACT, ALTIVEC_BUILTIN_VEC_PROMOTE, ALTIVEC_BUILTIN_VEC_INSERT, and ALTIVEC_BUILTIN_VEC_SPLATS. * config/rs6000/altivec.h (vec_extract): Define (vec_insert): Define. (vec_splats): Define. (vec_promote): Define. 2008-10-01 Andrew Pinski * gcc.target/powerpc/altivec-cell-1.c: New test. * gcc.target/powerpc/altivec-cell-2.c: New test. * gcc.target/powerpc/altivec-cell-3.c: New test. * gcc.target/powerpc/altivec-cell-4.c: New test. * gcc.target/powerpc/altivec-cell-5.c: New test. * g++.dg/ext/altivec-cell-1.C: New test. * g++.dg/ext/altivec-cell-2.C: New test. * g++.dg/ext/altivec-cell-3.C: New test. * g++.dg/ext/altivec-cell-4.C: New test. * g++.dg/ext/altivec-cell-5.C: New test. 2008-10-01 Andrew Pinski * tree.c (lvalue_p_1): COMPOUND_LITERAL_EXPR is also an lvalue. ........ r140822 | cfairles | 2008-10-01 15:04:02 -0700 (Wed, 01 Oct 2008) | 7 lines 2008-09-30 Chris Fairles * include/std/tuple (tuple<>::swap): Implement swap for tuple as per DR 522 [Ready]. * testsuite/20_util/tuple/swap.cc: New. ........ r140823 | pinskia | 2008-10-01 16:16:19 -0700 (Wed, 01 Oct 2008) | 6 lines 2008-10-01 Andrew Pinski * config/locale/generic/c_locale.cc (__convert_to_v): Fix !__FLT_HAS_INFINITY__ case. ........ r140826 | gccadmin | 2008-10-01 17:19:44 -0700 (Wed, 01 Oct 2008) | 1 line Daily bump. ........ r140829 | uros | 2008-10-02 00:41:32 -0700 (Thu, 02 Oct 2008) | 4 lines * ChangeLog: Fix whitespace. * testsuite/ChangeLog: Ditto. ........ r140830 | dannysmith | 2008-10-02 01:37:36 -0700 (Thu, 02 Oct 2008) | 5 lines PR target/37528 * config/i386/mingw32.h (LIBGCC_SPEC) : Replace with .. (REAL_LIBGCC_SPEC): New. Always include -lgcc. ........ r140832 | rguenth | 2008-10-02 06:11:12 -0700 (Thu, 02 Oct 2008) | 9 lines 2008-10-02 Richard Guenther PR middle-end/37713 * tree-ssa.c (useless_type_conversion_p_1): For COMPLEX_TYPE and VECTOR_TYPE recurse with useless_type_conversion_p which properly handles void pointer conversion. * gcc.c-torture/compile/pr37713.c: New testcase. ........ r140833 | drow | 2008-10-02 08:15:40 -0700 (Thu, 02 Oct 2008) | 2 lines * builtins.c (fold_builtin_pow): Check for 0 ** NEGATIVE. ........ r140835 | janis | 2008-10-02 10:52:16 -0700 (Thu, 02 Oct 2008) | 3 lines * gcc.target/powerpc/ppc64-abi-3.c: Initialize variables to suppress warning. ........ r140836 | janis | 2008-10-02 10:53:16 -0700 (Thu, 02 Oct 2008) | 2 lines * gcc.dg/torture/pr36891.c: Ignore an irrelevant warning. ........ r140837 | steven | 2008-10-02 11:51:12 -0700 (Thu, 02 Oct 2008) | 19 lines testsuite * gfortran.fortran-torture/execute/intrinsic_leadz.f90: New test. * gfortran.fortran-torture/execute/intrinsic_trailz.f90: New test. fortran/ PR fortran/37635 * intrinsic.c (add_functions): Add LEADZ and TRAILZ as generics. * intrinsic.h (gfc_simplify_leadz, gfc_simplify_trailz): New protos. * gfortran.h : (GFC_ISYM_LEADZ, GFC_ISYM_TRAILZ): New. * f95-lang (gfc_init_builtin_functions): Add BUILT_IN_CLZ, BUILT_IN_CLZL, BUILT_IN_CLZLL, BUILT_IN_CTZ, BUILT_IN_CTZL, and BUILT_IN_CTZLL. * trans-intrinsic.c (gfc_conv_intrinsic_leadz, gfc_conv_intrinsic_trails): New code-generation functions for LEADZ and TRAILZ intrinsics. (gfc_conv_intrinsic_function): Use them * intrinsic.texi: Add documentation for LEADZ and TRAILZ. * simplify.c (gfc_simplify_leadz, gfc_simplify_trailz): New functions. ........ r140838 | dje | 2008-10-02 11:53:04 -0700 (Thu, 02 Oct 2008) | 10 lines * config/rs6000/rs6000.c (USE_FP_FOR_ARG_P): Revert TARGET_DOUBLE_FLOAT, TARGET_SINGLE_FLOAT. (function_arg_advance): Condition on TARGET_DOUBLE_FLOAT, TARGET_SINGLE_FLOAT. Revert SCALAR_FLOAT_MODE_P condition. (function_arg): Condition on TARGET_DOUBLE_FLOAT, TARGET_SINGLE_FLOAT. (rs6000_function_value): Revert TARGET_DOUBLE_FLOAT, TARGET_SINGLE_FLOAT. ........ r140847 | gccadmin | 2008-10-02 17:16:36 -0700 (Thu, 02 Oct 2008) | 1 line Daily bump. ........ r140849 | dannysmith | 2008-10-02 21:36:36 -0700 (Thu, 02 Oct 2008) | 4 lines * config/i386/winnt.c (i386_pe_strip_name_encoding_full): Add a null terminator to the stripped name. ........ r140854 | hainque | 2008-10-03 05:49:38 -0700 (Fri, 03 Oct 2008) | 6 lines * gcov.c (create_file_names): Properly handle UNIX and DOS directory separators. (make_gcov_file_name): Likewise + convert the ':' DOS drive separator to '~' to ensure clean filenames on Windows. ........ r140855 | paolo | 2008-10-03 09:29:07 -0700 (Fri, 03 Oct 2008) | 13 lines /cp 2008-10-03 Paolo Carlini PR c++/37719 * error.c (dump_function_decl): Save the exceptions in case of error about incompatible specifications in a specialization. /testsuite 2008-10-03 Paolo Carlini PR c++/37719 * g++.dg/template/error36.C: New. ........ r140857 | jakub | 2008-10-03 11:55:39 -0700 (Fri, 03 Oct 2008) | 6 lines PR debug/37726 * gimplify.c (declare_vars): Use gimple_bind_block instead of gimple_block. * gcc.dg/debug/dwarf2/pr37726.c: New test. ........ r140858 | jakub | 2008-10-03 12:28:09 -0700 (Fri, 03 Oct 2008) | 4 lines * gimplify.c (gimplify_function_tree): For -finstrument-functions use gimple_bind_{,set_}block instead of gimple_{,set_}block. * gimple.h (gimple_bind_set_block): Allow second argument to be NULL. ........ r140859 | tromey | 2008-10-03 13:36:17 -0700 (Fri, 03 Oct 2008) | 1 line * stringpool.c (ggc_alloc_string): Terminate string. ........ r140860 | dannysmith | 2008-10-03 13:50:54 -0700 (Fri, 03 Oct 2008) | 7 lines Add this missing ChangeLog entry: * config/i386/winnt.c (i386_pe_strip_name_encoding_full): Add a null terminator to the stripped name. and revert it: * config/i386/winnt.c (i386_pe_strip_name_encoding_full): Revert previous change. ........ r140862 | pinskia | 2008-10-03 14:14:25 -0700 (Fri, 03 Oct 2008) | 8 lines 2008-10-03 Andrew Pinski * config/rs6000/rs6000.md (fseldfsf4): Add TARGET_SINGLE_FLOAT condition. (fselsfdf4): Make condition on "TARGET_HARD_FLOAT && TARGET_FPRS && TARGET_DOUBLE_FLOAT && TARGET_SINGLE_FLOAT". ........ r140865 | gccadmin | 2008-10-03 17:16:41 -0700 (Fri, 03 Oct 2008) | 1 line Daily bump. ........ r140867 | gerald | 2008-10-04 06:46:23 -0700 (Sat, 04 Oct 2008) | 2 lines * gcc_release: Fix a couple of comments. ........ r140868 | rguenth | 2008-10-04 07:19:48 -0700 (Sat, 04 Oct 2008) | 8 lines 2008-10-04 Richard Guenther * tree-ssa-sccvn.c (vn_reference_op_eq): Use types_compatible_p instead of pointer equality. (vn_nary_op_eq): Likewise. * gcc.dg/tree-ssa/ssa-pre-21.c: New testcase. ........ r140869 | dje | 2008-10-04 09:22:06 -0700 (Sat, 04 Oct 2008) | 7 lines 2008-10-04 Anton Blanchard * config/rs6000/rs6000.c (rs6000_emit_sync): Use gen_lwsync(). (rs6000_split_atomic_op): Same. (rs6000_split_compare_and_swap): Same. (rs6000_split_compare_and_swapqhi): Same. ........ r140870 | danglin | 2008-10-04 11:03:07 -0700 (Sat, 04 Oct 2008) | 5 lines PR target/37603 * pa.c (legitimize_pic_address): Force function labels to memory in word mode. ........ r140877 | gccadmin | 2008-10-04 17:16:35 -0700 (Sat, 04 Oct 2008) | 1 line Daily bump. ........ r140879 | pault | 2008-10-04 22:50:00 -0700 (Sat, 04 Oct 2008) | 12 lines 2008-10-04 Paul Thomas PR fortran/37706 * module.c (load_equiv): Check the module before negating the unused flag. 2008-10-04 Paul Thomas PR fortran/37706 * gfortran.dg/module_equivalence_4.f90: New test. ........ r140880 | domob | 2008-10-04 23:39:37 -0700 (Sat, 04 Oct 2008) | 16 lines 2008-10-05 Daniel Kraft PR fortran/37638 * gfortran.h (struct gfc_typebound_proc): New flag `error'. * resolve.c (update_arglist_pass): Added assertion. (update_compcall_arglist): Fail early for erraneous procedures to avoid confusion later. (resolve_typebound_generic_call): Ignore erraneous specific targets and added assertions. (resolve_typebound_procedure): Set new `error' flag. 2008-10-05 Daniel Kraft PR fortran/37638 * gfortran.dg/typebound_call_9.f03: New test. ........ r140882 | paolo | 2008-10-05 04:01:05 -0700 (Sun, 05 Oct 2008) | 6 lines 2008-10-05 Paolo Carlini * testsuite/20_util/reference_wrapper/invoke.cc: New. * testsuite/20_util/reference_wrapper/24803.cc: Likewise. * testsuite/20_util/reference_wrapper/typedefs.cc: Likewise. ........ r140883 | charlet | 2008-10-05 05:35:36 -0700 (Sun, 05 Oct 2008) | 11 lines 2008-10-05 Matthew Gingell Arnaud Charlet * include/cpplib.h (cpp_comments, cpp_comment_table): New structs. (cpp_get_comments): New function. * internal.h (struct cpp_reader): Add comments field. * init.c (cpp_destroy): Free comments. * lex.c (store_comment, cpp_get_comments): New functions. (comments): New struct. (save_comment): Store comments in comments struct. ........ r140887 | rwild | 2008-10-05 10:13:10 -0700 (Sun, 05 Oct 2008) | 6 lines gcc/ * doc/gimple.texi: Fix some typos, wrap some long lines, fix some broken wraps with continuations. * tree-ssa-reassoc.c: Fix comment typos. ........ r140892 | pault | 2008-10-05 11:53:19 -0700 (Sun, 05 Oct 2008) | 14 lines 2008-10-05 Paul Thomas PR fortran/35680 * gfortran.h : Add 'error' bit field to gfc_expr structure. * expr.c (check_inquiry): When checking a restricted expression check that arguments are either variables or restricted. (check_restricted): Do not emit error if the expression has 'error' set. Clean up detection of host-associated variable. 2008-10-05 Paul Thomas PR fortran/35680 * gfortran.dg/transfer_array_intrinsic_5.f90: New test. ........ r140895 | dodji | 2008-10-05 14:29:32 -0700 (Sun, 05 Oct 2008) | 28 lines 2008-09-30 Dodji Seketeli gcc/ChangeLog: PR c++/37410 * dwarf2out.c (dwarf2out_imported_module_or_decl): Split this function in two, making it call a new and reusable dwarf2out_imported_module_or_decl() that takes the containing BLOCK of the declaration in argument. (dwarf2out_imported_module_or_decl_real): New function. (decls_for_scope, gen_decl_die, dwarf2out_decl): Take IMPORTED_DECL in account. * tree.def: Added IMPORTED_DECL node type. * tree.h: Added accessors for IMPORTED_DECL nodes. * tree.c (init_ttree): Initialise IMPORTED_DECL node type. gcc/cp/ChangeLog: PR c++/37410 * cp-gimplify.c (cp_gimplify_expr): For each USING_STMT make sure an IMPORTED_DECL node is added to the BLOCK_VARS list of the innermost containing BLOCK. gcc/testsuite/ChangeLog: PR c++/37410 * g++.dg/debug/dwarf2/imported-module.C: New test. ........ r140898 | gccadmin | 2008-10-05 17:16:48 -0700 (Sun, 05 Oct 2008) | 1 line Daily bump. ........ r140900 | dannysmith | 2008-10-05 18:52:27 -0700 (Sun, 05 Oct 2008) | 3 lines * config/i386/mingw32.h (REAL_LIBGCC_SPEC): Add thread cleanup lib with -mthread switch. ........ r140902 | ebotcazou | 2008-10-06 00:09:41 -0700 (Mon, 06 Oct 2008) | 8 lines 2008-10-06 Eric Botcazou * gcc-interface/utils.c (can_fold_for_view_convert_p): New predicate. (unchecked_convert): Use it to disable problematic folding with VIEW_CONVERT_EXPR in the general case. Always disable it for the special VIEW_CONVERT_EXPR built for integral types and cope with its addressability issues by preserving the first conversion. ........ r140904 | ebotcazou | 2008-10-06 00:20:01 -0700 (Mon, 06 Oct 2008) | 3 lines * gcc-interface/decl.c (gnat_to_gnu_entity) : Minor tweaks. * gcc-interface/trans.c (Pragma_to_gnu): Likewise. ........ r140906 | vmakarov | 2008-10-06 08:34:26 -0700 (Mon, 06 Oct 2008) | 14 lines 2008-10-06 Vladimir Makarov PR middle-end/37535 * ira-lives.c (mark_reg_live, mark_reg_dead): New functions. (mark_ref_live, mark_ref_dead): Use them. (def_conflicts_with_inputs_p): Remove. (mark_early_clobbers): New function. (process_bb_node_lives): Call preprocess_constraints and mark_early_clobbers. * doc/rtx.texi (clobber): Change how RA deals with clobbers. ........ r140910 | rsandifo | 2008-10-06 12:07:13 -0700 (Mon, 06 Oct 2008) | 17 lines gcc/ * config/rs6000/rs6000-protos.h (rs6000_output_addr_const_extra): Declare. * config/rs6000/rs6000.h (OUTPUT_ADDR_CONST_EXTRA): New macro. * config/rs6000/rs6000.md (UNSPEC_TOCREL): New constant. * config/rs6000/rs6000.c (constant_pool_expr_1): Delete. (constant_pool_expr_p): Use split_const and check the base. (toc_relative_expr_p): Likewise, checking for an UNSPEC_TOCREL instead of a MINUS. (legitimate_constant_pool_address_p): Check toc_relative_p instead of constant_pool_expr_p. (print_operand_address): Always use output_addr_const for constant pool addresses. (rs6000_output_addr_const_extra): New function. (create_TOC_reference): Create an UNSPEC_TOCREL instead of a MINUS. ........ r140911 | rsandifo | 2008-10-06 12:07:33 -0700 (Mon, 06 Oct 2008) | 42 lines gcc/ * config/darwin-protos.h (machopic_function_base_name): Delete. (machopic_function_base_sym): Likewise. (machopic_gen_offset): Declare. * config/darwin.h (MACHOPIC_FUNCTION_BASE_NAME): New macro. (ASM_OUTPUT_LABELREF): Use it instead of a hard-coded string constant. * config/darwin.c (machopic_function_base_name): Delete. (machopic_function_base_sym): Likewise. (gen_pic_offset): Rename to... (machopic_gen_offset): ...this and remove the pic_base argument. Instead use MACHO_DYNAMIC_NO_PIC_P to decide whether a PIC offset is needed. Create an UNSPEC_MACHOPIC_OFFSET if so, and set crtl->uses_pic_offset_table. (machopic_indirect_data_reference): Use new machopic_gen_offset interface. (machopic_legitimize_pic_address): Likewise. (machopic_operand_p): Check for UNSPEC_MACHOPIC_OFFSET. * config/i386/darwin.h (GOT_SYMBOL_NAME): Use MACHOPIC_FUNCTION_BASE_NAME instead of machopic_function_base_name. * config/i386/i386.c (output_set_got): Likewise. (darwin_local_data_pic): Check for an UNSPEC_MACHOPIC_OFFSET instead of a MINUS. (legitimate_pic_operand_p): Handle UNSPEC_MACHOPIC_OFFSET. (legitimate_address_p): Likewise. (output_pic_addr_const): Likewise. (output_addr_const_extra): Likewise. (ix86_delegitimize_address): Expect darwin_local_data_pic to match an UNSPEC rather than a MINUS. * config/i386/i386.md (UNSPEC_MACHOPIC_OFFSET): Define. (builtin_setjmp_receiver): Use machopic_gen_offset. * config/i386/predicates.md (pic_symbolic_operand): Handle UNSPEC_MACHOPIC_OFFSET. * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Use machopic_gen_offset and machopic_operand_p. (rs6000_output_addr_const_extra): Handle UNSPEC_MACHOPIC_OFFSET. (rs6000_emit_prologue): Use MACHOPIC_FUNCTION_BASE_NAME. * config/rs6000/rs6000.md (UNSPEC_MACHOPIC_OFFSET): Define. (builtin_setjmp_receiver): Use MACHOPIC_FUNCTION_BASE_NAME. Set crtl->uses_pic_offset_table. ........ r140912 | rsandifo | 2008-10-06 12:08:04 -0700 (Mon, 06 Oct 2008) | 5 lines gcc/ * config/rs6000/rs6000-protos.h (rs6000_find_base_term): Declare. * config/rs6000/rs6000.h (FIND_BASE_TERM): New macro. * config/rs6000/rs6000.c (rs6000_find_base_term): New function. ........ r140913 | rsandifo | 2008-10-06 12:41:10 -0700 (Mon, 06 Oct 2008) | 13 lines gcc/ 2008-10-06 Joshua Kinard * doc/invoke.texi: List r1x000 family under the -march MIPS option. * config/mips/mips.h (PROCESSOR_R10000): New processor_type. * config/mips/mips.c (mips_cpu_info_table): Add r10000, r12000, r14000 and r16000. (mips_rtx_cost_data): Add a PROCESSOR_R10000 entry. (mips_issue_rate): Handle PROCESSOR_R10000. * config/mips/mips.md (cpu): Add r10000. Include r10000.md. * config/mips/10000.md: New file. ........ r140914 | aldyh | 2008-10-06 14:35:02 -0700 (Mon, 06 Oct 2008) | 68 lines * c-decl.c (finish_decl): Pass input_location to build_unary_op. * c-typeck.c (array_to_pointer_conversion): Pass location to build_unary_op. (function_to_pointer_conversion): Use error_at and warning_at. (build_indirect_ref): Same. (build_array_ref): Pass location to build_binary_op. (parser_build_unary_op): Do not set location after calling build_unary_op. (build_unary_op): Add location argument. Use it throughout. Set EXPR_LOCATION before returning new tree. (build_modify_expr): Same. (build_binary_op): Use location throughout. Set EXPR_LOCATION before returning node. * c-omp.c (c_finish_omp_atomic): Pass location to build_unary_op, build_indirect_ref, build_modify_expr. (c_finish_omp_for): Same. Use error_at instead of error. * c-common.c (c_common_truthvalue_conversion): Pass location to build_unary_op. (warn_for_div_by_zero): Add location argument. * c-common.h: Add argument to build_modify_expr, build_indirect_ref, build_unary_op, warn_for_div_by_zero. * c-parser.c (c_parser_typeof_specifier): Use protected_set_expr_location. (c_parser_statement_after_labels): Same. (c_parser_condition): Same. (c_parser_expr_no_commas): Pass correct location to build_modify_expr. (c_parser_conditional_expression): Use protected_set_expr_location. (c_parser_unary_expression): Pass location to build_indirect_ref. (c_parser_postfix_expression_after_primary): Pass location to build_indirect_ref, build_unary_op. (c_parser_omp_for_loop): Set the increment expression's EXPR_LOCATION. objc/ * objc-act.c (objc_build_string_object): Pass location to build_unary_op. (init_def_list): Same. (init_objc_symtab): Same. (init_module_descriptor): Same. (build_module_initializer_routine): Same. (generate_static_references): Same. (build_typed_selector_reference): Same. (add_objc_string): Same. (objc_substitute_decl): Same. (objc_build_ivar_assignment): Same. (objc_build_global_assignment): Same. (objc_build_strong_cast_assignment): Same. (generate_protocols): Same. (build_protocol_initializer): Same. (build_dispatch_table_initializer): Same. (generate_protocol_list): Same. (build_category_initializer): Same. (build_shared_structure_initializer): Same. (generate_shared_structures): Same. (objc_build_protocol_expr): Same. (build_ivar_reference): Same. (get_super_receiver): Same. build_modify_expr. testsuite/ * gcc.dg/gomp/for-1.c: Test column. * gcc.dg/misc-column.c: Add column tests for unary arguments. cp/ * typeck.c (build_x_indirect_ref): Add location argument. (cp_build_binary_op): Pass location to warn_for_div_by_zero. (cp_build_unary_op): Add location argument. (cp_build_modify_expr): Same. * class.c (build_base_path): Pass location to build_indirect_ref. * semantics.c (handle_omp_for_class_iterator): Pass elocus to build_modify_expr. ........ r140915 | pinskia | 2008-10-06 15:10:52 -0700 (Mon, 06 Oct 2008) | 8 lines 2008-10-06 Andrew Pinski * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin): Update calls to build_unary_op and build_indirect_ref for location changes. ........ r140916 | jason | 2008-10-06 15:29:42 -0700 (Mon, 06 Oct 2008) | 34 lines gcc/cp/: PR c++/37376, other mangling issues * mangle.c (write_type): Update TYPE_PACK_EXPANSION mangling. (write_member_name): Break out from... (write_expression): ...here. Handle dependent COMPONENT_REF. (write_template_arg): Wrap an argument pack in 'I'/'E'. (write_builtin_type): Update char16/32_t mangling. (write_nested_name, write_prefix): Don't forget template args for typename types. * operators.def: Add ARROW_EXPR, update COMPONENT_REF and EXPR_PACK_EXPANSION. libstdc++-v3/: * config/abi/pre/gnu.ver: Update char16/32_t manglings. include/: * demangle.h (enum demangle_component_type): Add DEMANGLE_COMPONENT_PACK_EXPANSION. libiberty/: * cp-demangle.c (struct d_print_info): Add pack_index. (d_dump): Add DEMANGLE_COMPONENT_PACK_EXPANSION. (d_make_comp): Likewise. DEMANGLE_COMPONENT_ARGLIST and DEMANGLE_COMPONENT_TEMPLATE_ARGLIST can have two null args. (cplus_demangle_builtin_types): Add char16/32_t. (cplus_demangle_type): Recognize them. (d_template_args): Handle empty argument packs. (d_template_arg): Handle argument packs. (d_expression): Handle dependent name. (d_index_template_argument): New fn. (d_lookup_template_argument): New fn. (d_find_pack, d_pack_length): New fn. (d_print_subexpr): Split out... (d_print_comp): ...from here. Use d_*_template_argument. Handle empty arg lists. Support pack expansions. * cp-demangle.h (D_BUILTIN_TYPE_COUNT): Increase to 32. ........ r140917 | aldyh | 2008-10-06 15:40:02 -0700 (Mon, 06 Oct 2008) | 5 lines + * gimplify.c (gimplify_arg): Add location argument. Use it. + (gimplify_call_expr): Pass location to gimplify_arg. + (gimplify_modify_expr_to_memcpy): Same. + (gimplify_modify_expr_to_memset): Same. ........ r140920 | gccadmin | 2008-10-06 17:16:51 -0700 (Mon, 06 Oct 2008) | 1 line Daily bump. ........ r140922 | nemet | 2008-10-06 17:30:00 -0700 (Mon, 06 Oct 2008) | 8 lines * config/mips/mips.md (mulsi3_mul3, muldi3_mul3): Merge these ... (mul3_mul3): ... into this new template. testsuite/ * gcc.target/mips/mips.exp (dg-mips-options): Set mips_new_gp to 32 when -march=r3900 is passed. * testsuite/gcc.target/mips/r3900-mult.c: New test. ........ r140924 | ebotcazou | 2008-10-07 01:10:27 -0700 (Tue, 07 Oct 2008) | 3 lines * gcc-interface/decl.c (gnat_to_gnu_entity) : Move code dealing with volatileness to after code dealing with renaming. ........ r140936 | aldot | 2008-10-07 06:58:08 -0700 (Tue, 07 Oct 2008) | 5 lines 2008-10-07 Bernhard Reutner-Fischer * config.gcc (arm*-*-*): Add aapcs-linux to supported ABIs. ........ r140937 | paolo | 2008-10-07 07:49:20 -0700 (Tue, 07 Oct 2008) | 8 lines 2008-10-07 Paolo Carlini * include/bits/stl_iterator.h (operator-(const reverse_iterator<>&, const reverse_iterator<>&), operator-(const __normal_iterator<>&, const __normal_iterator<>&), operator-(const move_iterator<>&, const move_iterator<>&)): Use the auto -> return type syntax, implement DR 685. ........ r140938 | hjl | 2008-10-07 09:00:30 -0700 (Tue, 07 Oct 2008) | 8 lines 2008-10-07 H.J. Lu PR target/24765 * config/i386/i386.c (initial_ix86_tune_features): Remove X86_TUNE_USE_BIT_TEST. * config/i386/i386.h (ix86_tune_indices): Likewise. (TARGET_USE_BIT_TEST): Removed. ........ r140939 | bwilson | 2008-10-07 09:19:38 -0700 (Tue, 07 Oct 2008) | 7 lines * gcc.dg/compat/struct-layout-1_generate.c (dg_options): New. Moved dg-options lines to this array, and added options for xtensa*-*-*. (NDG_OPTIONS): Define. (switchfiles): Print dg-options lines from new dg_options array. * g++.dg/compat/struct-layout-1_generate.c (dg_options): Add options for xtensa*-*-* targets. ........ r140940 | hjl | 2008-10-07 09:44:19 -0700 (Tue, 07 Oct 2008) | 6 lines 2008-10-07 Jan Kratochvil * configure.ac: Call AC_SYS_LARGEFILE. * config.in: Regenerated. * configure: Likewise. ........ r140941 | ebotcazou | 2008-10-07 10:27:23 -0700 (Tue, 07 Oct 2008) | 3 lines * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p) : Return true for non-addressable GIMPLE operands. ........ r140943 | jason | 2008-10-07 10:35:35 -0700 (Tue, 07 Oct 2008) | 5 lines PR libstdc++/37761 * testsuite/abi/demangle/abi_examples/20.cc: Adjust expected spacing. * testsuite/abi/demangle/abi_text/02.cc: Likewise. * testsuite/abi/demangle/regression/cw-16.cc: Likewise. ........ r140944 | jakub | 2008-10-07 11:14:16 -0700 (Tue, 07 Oct 2008) | 11 lines PR debug/37738 * dwarf2out.c (common_block_die_table): New variable. (common_block_die_table_hash, common_block_die_table_eq): New functions. (gen_variable_die): Look up a DW_TAG_common_block die for a particular COMMON block in the current scope rather than globally. Optimize DW_OP_addr SYMBOL_REF DW_OP_plus_uconst off into DW_OP_addr SYMBOL_REF+off. * gfortran.dg/debug/pr37738.f: New test. ........ r140945 | jakub | 2008-10-07 11:15:32 -0700 (Tue, 07 Oct 2008) | 7 lines * f95-lang.c (poplevel): Don't clear BLOCK_VARS if functionbody. * trans-decl.c (gfc_build_qualified_array): Build accurate debug type even if nest. (build_entry_thunks, gfc_generate_function_code, gfc_generate_constructors): Ensure DECL_SAVED_TREE is a BIND_EXPR with DECL_INITIAL as its BLOCK. ........ r140947 | hjl | 2008-10-07 11:45:56 -0700 (Tue, 07 Oct 2008) | 16 lines gcc/ 2008-10-07 H.J. Lu PR middle-end/37731 * expmed.c (expand_mult): Properly check DImode constant in CONST_DOUBLE. gcc/testsuite/ 2008-10-07 H.J. Lu PR middle-end/37731 * gcc.dg/torture/pr37731-1.c: New. * gcc.dg/torture/pr37731-2.c: Likewise. ........ r140948 | jakub | 2008-10-07 11:48:40 -0700 (Tue, 07 Oct 2008) | 37 lines PR debug/29609 PR debug/36690 PR debug/37616 * basic-block.h (struct edge_def): Add goto_block field. * cfglayout.c (fixup_reorder_chain): Ensure that there is at least one insn with locus corresponding to edge's goto_locus if !optimize. * profile.c (branch_prob): Copy edge's goto_block. * cfgrtl.c (force_nonfallthru_and_redirect): Use goto_locus for emitted jumps. (cfg_layout_merge_blocks): Emit a nop with edge's goto_locus locator in between the merged basic blocks if !optimize and needed. * cfgexpand.c (expand_gimple_cond): Convert goto_block and goto_locus into RTL locator. For unconditional jump use that locator for the jump insn. (expand_gimple_cond): Convert goto_block and goto_locus into RTL locator for all remaining edges. For unconditional jump use that locator for the jump insn. * cfgcleanup.c (try_forward_edges): Avoid the optimization if there is more than one edge or insn locator along the forwarding edges and !optimize. If there is just one, set e->goto_locus. * tree-cfg.c (make_cond_expr_edges, make_goto_expr_edges): Set also edge's goto_block. (move_block_to_fn): Adjust edge's goto_block. * gcc.dg/debug/pr29609-1.c: New test. * gcc.dg/debug/pr29609-2.c: New test. * gcc.dg/debug/pr36690-1.c: New test. * gcc.dg/debug/pr36690-2.c: New test. * gcc.dg/debug/pr36690-3.c: New test. * gcc.dg/debug/pr37616.c: New test. * gcc.dg/debug/dwarf2/pr29609-1.c: New test. * gcc.dg/debug/dwarf2/pr29609-2.c: New test. * gcc.dg/debug/dwarf2/pr36690-1.c: New test. * gcc.dg/debug/dwarf2/pr36690-2.c: New test. * gcc.dg/debug/dwarf2/pr36690-3.c: New test. * gcc.dg/debug/dwarf2/pr37616.c: New test. ........ r140952 | sje | 2008-10-07 13:09:42 -0700 (Tue, 07 Oct 2008) | 2 lines * decl.c (start_cleanup_fn): Declare as inline. ........ r140953 | simartin | 2008-10-07 13:56:53 -0700 (Tue, 07 Oct 2008) | 15 lines gcc/ 2008-10-07 Simon Martin PR c/35437 * expr.c (count_type_elements): Handle ERROR_MARK. gcc/testsuite/ 2008-01-07 Simon Martin PR c/35437 * gcc.dg/struct-parse-2.c: New test. * g++.dg/parse/struct-4.C: New test. ........ r140954 | hjl | 2008-10-07 14:00:36 -0700 (Tue, 07 Oct 2008) | 18 lines 2008-10-07 H.J. Lu * config/i386/i386-protos.h (ix86_schedule): New. * config/i386/i386.c (ix86_schedule): New. (override_options): Add schedule to processor_alias_table. Set ix86_schedule from the schedule field in processor_alias_table. (ix86_function_specific_save): Save ix86_schedule. (ix86_function_specific_restore): Restore ix86_schedule. * config/i386/i386.md (cpu): Map to ix86_schedule instead of ix86_tune. Add none and remove i386, i486, pentium4, nocona and generic32. * config/i386/i386.opt: Add schedule. * config/i386/ppro.md: Remove generic32. ........ r140955 | jakub | 2008-10-07 14:02:21 -0700 (Tue, 07 Oct 2008) | 7 lines PR middle-end/37576 * opts.h (CL_SAVE): Move up to flags range. (CL_PARAMS, CL_WARNING, CL_OPTIMIZATION, CL_TARGET, CL_COMMON): Renumber. (CL_MIN_OPTION_CLASS): Set to CL_PARAMS. * opts.c (common_handle_option): Revert last change. ........ r140958 | gccadmin | 2008-10-07 17:16:30 -0700 (Tue, 07 Oct 2008) | 1 line Daily bump. ........ r140960 | zadeck | 2008-10-07 19:52:28 -0700 (Tue, 07 Oct 2008) | 15 lines 2008-10-07 Kenneth Zadeck PR rtl-optimization/37448 alloc_pool_desc (elt_size): New field. alloc_pool_desc (created, allocated, current, peak): Make unsigned long. output_info (count): Renamed total_created and made unsigned long. output_info (size): Renamed total_allocated and made unsigned long. alloc-pool.c (create_alloc_pool, empty_alloc_pool, pool_alloc, pool_free): Properly keep track of desc->size. (print_statistics, dump_alloc_pool_statistics): Enhance the printing of statistics to print the number of elements and to use unsigned longs. ........ r140962 | hjl | 2008-10-07 22:08:04 -0700 (Tue, 07 Oct 2008) | 4 lines 2008-10-07 H.J. Lu * config/i386/i386.md: Remove trailing white spaces. ........ r140964 | ktietz | 2008-10-08 00:56:00 -0700 (Wed, 08 Oct 2008) | 6 lines 2008-10-08 Kai Tietz * sdbout.c (sdbout_one_type): Treat the value type CONST_DECL for enumerals. ........ r140966 | jakub | 2008-10-08 01:12:25 -0700 (Wed, 08 Oct 2008) | 9 lines PR target/36635 PR target/37290 PR rtl-optimization/37341 * cse.c (cse_cc_succs): Add ORIG_BB argument, don't follow edges to ORIG_BB, pass through ORIG_BB recursively. (cse_condition_code_reg): Adjust caller. * gcc.c-torture/compile/pr37341.c: New test. ........ r140970 | hjl | 2008-10-08 02:43:33 -0700 (Wed, 08 Oct 2008) | 5 lines 2008-10-08 H.J. Lu * config/i386/i386.md: Add missing gen_sse2_cvtdq2p to convert splitter. ........ r140972 | hjl | 2008-10-08 03:37:02 -0700 (Wed, 08 Oct 2008) | 11 lines 2008-10-08 H.J. Lu * config/i386/i386.c (initial_ix86_tune_features): Add X86_TUNE_USE_VECTOR_FP_CONVERTS. * config/i386/i386.h (ix86_tune_indices): Likewise. (TARGET_USE_VECTOR_FP_CONVERTS): New. * config/i386/i386.md: Check TARGET_USE_VECTOR_FP_CONVERTS instead of (TARGET_USE_VECTOR_CONVERTS || TARGET_GENERIC) for FP to FP splitters. ........ r140974 | pbrook | 2008-10-08 06:38:15 -0700 (Wed, 08 Oct 2008) | 8 lines 2008-10-08 Paul Brook gcc/ * config/arm/bpabi.h (ARM_FUNCTION_PROFILER): Define new EABI compatible profiler (__gnu_mcount_nc). (SUBTARGET_FRAME_POINTER_REQUIRED): Define. ........ r140976 | uros | 2008-10-08 08:03:55 -0700 (Wed, 08 Oct 2008) | 8 lines * config/i386/i386.md (*jcc_btdi_rex64): Clobber FLAGS_REG. (*jcc_btdi_mask_rex64): Ditto. (*jcc_btsi): Ditto. (*jcc_btsi_mask): Ditto. (*jcc_btsi_1): Ditto. (*jcc_btsi_mask_1): Ditto. ........ r140977 | paolo | 2008-10-08 08:04:44 -0700 (Wed, 08 Oct 2008) | 6 lines 2008-10-08 Bob Walters * include/bits/stl_vector.h (_Vector_base<>::_Vector_impl::_M_start, _M_finish, _M_end_of_storage, _Vector_base<>::_M_allocate, _M_deallocate): Use _Tp_alloc_type::pointer. ........ r140979 | dje | 2008-10-08 09:51:38 -0700 (Wed, 08 Oct 2008) | 2 lines * xstrdup.c: Include after "config.h" ........ r140986 | jakub | 2008-10-08 13:49:23 -0700 (Wed, 08 Oct 2008) | 3 lines * cfgexpand.c (expand_gimple_cond): Convert also goto_block and goto_locus of true_edge into RTL locator. ........ r140987 | jakub | 2008-10-08 13:50:13 -0700 (Wed, 08 Oct 2008) | 3 lines * graphite.c (gloog): Don't call find_unreachable_blocks before delte_unreachable_blocks. ........ r140988 | nemet | 2008-10-08 14:05:43 -0700 (Wed, 08 Oct 2008) | 5 lines * gcc.target/mips/octeon-exts-2.c: Compile it with -meb. * gcc.target/mips/octeon-exts-5.c: New test. * gcc.target/mips/octeon-bbit-3.c: Compile with -meb. Add comment why this is necessary. ........ r140989 | uros | 2008-10-08 14:15:36 -0700 (Wed, 08 Oct 2008) | 8 lines * gcc.dg/vect/ggc-pr37574.c: Cleanup "vect" tree dump. * gfortran.dg/intrinsic_optional_char_arg_1.f90: Cleanup "original" tree dump. * lib/gfortran-dg.exp (gfortran-dg-debug-runtest): Remove build file trivial.S. ........ r140992 | gccadmin | 2008-10-08 17:16:42 -0700 (Wed, 08 Oct 2008) | 1 line Daily bump. ........ r140995 | jvdelisle | 2008-10-08 21:02:35 -0700 (Wed, 08 Oct 2008) | 7 lines 2008-10-08 Jerry DeLisle PR fortran/35723 * gfortran.h (gfc_suppress_error): Removed from header. (gfc_push_suppress_errors), (gfc_pop_suppress_errors): New methods. * array.c (gfc_array_size): Use new gfc_push/pop_suppress_errors instead of directly changing gfc_suppress_error. * intrinsic.c (gfc_intrinsic_func_interface): Ditto. (gfc_intrinsic_sub_interface): Ditto. * error.c (suppress_errors): Made static from `gfc_suppress_error'. (gfc_push_suppress_errors), (gfc_pop_suppress_errors): New methods. (gfc_notify_std), (gfc_error): Use new static name of global. * expr.c (check_arglist), (check_references): New methods. (check_restricted): Check arglists and references of EXPR_FUNCTIONs and EXPR_VARAIBALEs, respectively. Allow PARAMETER symbols. 2008-10-09 Daniel Kraft PR fortran/35723 * gfortran.dg/restricted_expression_1.f90: New test. * gfortran.dg/restricted_expression_2.f90: New test. * gfortran.dg/restricted_expression_3.f90: New test. ........ r141002 | jakub | 2008-10-09 01:14:45 -0700 (Thu, 09 Oct 2008) | 7 lines * tree-ssa-live.c (remove_unused_locals): Mark all edge's goto_block as used. * gimple-low.c (lower_function_body, lower_gimple_return, lower_builtin_setjmp): Set gimple_block on the newly created stmts. * tree-cfg.c (make_cond_expr_edges, make_goto_expr_edges): Only set goto_block on edges if goto_locus is known. ........ r141003 | jakub | 2008-10-09 01:17:08 -0700 (Thu, 09 Oct 2008) | 9 lines PR middle-end/37774 * tree.h (get_object_alignment): Declare. * emit-rtl.c (set_mem_attributes_minus_bitpos): Call get_object_alignment if needed. * builtins.c (get_pointer_alignment): Move ADDR_EXPR operand handling to ... (get_object_alignment): ... here. New function. Try harder to determine alignment from get_inner_reference returned offset. ........ r141004 | doko | 2008-10-09 03:37:17 -0700 (Thu, 09 Oct 2008) | 4 lines 2008-10-08 Thomas Schwinge * config.host: Fold `*-*-gnu*' cases into the Linux ones. ........ r141008 | tkoenig | 2008-10-09 12:28:58 -0700 (Thu, 09 Oct 2008) | 14 lines 2008-10-09 Thomas Koenig PR libfortran/37753 * io/transfer.c (unformatted_read): CONVERT_NATIVE is the usual case. Check for kind==1 for non-byte-reversing operation. (unformatted_write): Likewise. 2008-10-09 Thomas Koenig PR libfortran/37753 * gfortran.dg/convert_2.f90: New test case. ........ r141009 | jakub | 2008-10-09 13:04:10 -0700 (Thu, 09 Oct 2008) | 11 lines * rtl.h (locator_eq): New decl. * cfglayout.c (locator_scope): New function. (insn_scope): Use it. (locator_eq): New function. (fixup_reorder_chain): Search for last insn in src bb that has locator set or first insn in dest bb. Use locator_eq instead of == to compare locators. * cfgrtl.c (cfg_layout_merge_blocks): Likewise. * cfgcleanup.c (try_forward_edges): Use locator_eq instead of == to compare locators. ........ r141010 | jakub | 2008-10-09 13:15:17 -0700 (Thu, 09 Oct 2008) | 6 lines PR c++/37568 * semantics.c (finalize_nrv_r): Clear DECL_INITIAL instead of setting it to error_mark_node. * testsuite/libmudflap.c++/pass66-frag.cxx: New test. ........ r141014 | gccadmin | 2008-10-09 17:16:47 -0700 (Thu, 09 Oct 2008) | 1 line Daily bump. ........ r141016 | jvdelisle | 2008-10-09 19:10:14 -0700 (Thu, 09 Oct 2008) | 5 lines 2008-10-08 Jerry DeLisle * testsuite/20_util/duration/cons/1.cc: Remove invalid check of uninitialized duration. ........ r141039 | paolo | 2008-10-10 05:39:01 -0700 (Fri, 10 Oct 2008) | 34 lines 2008-10-10 Paolo Carlini * include/std/system_error (native_category): Remove. (posix_category): Add. (error_code::error_code(_ErrorCodeEnum, typename enable_if<>:type*): Fix _M_cat initialization. (error_code::operator=(_ErrorCodeEnum)): Assign _M_cat too. (error_condition::_M_cat, error_condtion::operator= (_ErrorConditionEnum)): Implement resolution of DR 804. (error_condition::error_condition(_ErrorConditionEnum, typename enable_if<>:type*): Fix. (error_condition::clear, error_condition::assign): Implement. (operator==, operator!=): Fix uglification of parameters. (make_error_code, make_error_condition): Define in namespace posix_error. (operator<<(basic_ostream<>&, const error_code&)): Define here. * include/std/ostream (operator<<(basic_ostream<>&, const error_code&)): Do not define here. * testsuite/19_diagnostics/error_condition/cons/1.cc: New. * testsuite/19_diagnostics/error_condition/operators/bool.cc: Likewise. * testsuite/19_diagnostics/error_condition/operators/bool_neg.cc: Likewise. * testsuite/19_diagnostics/error_condition/operators/equal.cc: Likewise. * testsuite/19_diagnostics/error_condition/operators/not_equal.cc: Likewise. * testsuite/19_diagnostics/error_code/cons/1.cc: Tweak. * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust dg-error line numbers. * testsuite/30_threads/unique_lock/locking/2.cc: Tweak. * testsuite/util/testsuite_error.h: Minor tweaks. * testsuite/util/testsuite_hooks.cc: Avoid uninitialized warning. ........ r141041 | paolo | 2008-10-10 07:58:48 -0700 (Fri, 10 Oct 2008) | 5 lines 2008-10-10 Paolo Carlini * testsuite/20_util/reference_wrapper/24803.cc: Avoid uninitialized warnings. ........ r141042 | spop | 2008-10-10 08:24:54 -0700 (Fri, 10 Oct 2008) | 6 lines 2008-10-10 Stepan Kasal * gcc/doc/invoke.texi (Optimize Options): Fix typo in examples for loop strip mining and loop blocking. ........ git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/profile-stdlib@141047 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/postreload.c | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) (limited to 'gcc/postreload.c') diff --git a/gcc/postreload.c b/gcc/postreload.c index 5f6fec1e953..8abc90f83d9 100644 --- a/gcc/postreload.c +++ b/gcc/postreload.c @@ -233,6 +233,7 @@ reload_cse_simplify_set (rtx set, rtx insn) #ifdef LOAD_EXTEND_OP enum rtx_code extend_op = UNKNOWN; #endif + bool speed = optimize_bb_for_speed_p (BLOCK_FOR_INSN (insn)); dreg = true_regnum (SET_DEST (set)); if (dreg < 0) @@ -267,7 +268,7 @@ reload_cse_simplify_set (rtx set, rtx insn) old_cost = REGISTER_MOVE_COST (GET_MODE (src), REGNO_REG_CLASS (REGNO (src)), dclass); else - old_cost = rtx_cost (src, SET); + old_cost = rtx_cost (src, SET, speed); for (l = val->locs; l; l = l->next) { @@ -302,7 +303,7 @@ reload_cse_simplify_set (rtx set, rtx insn) this_rtx = GEN_INT (this_val); } #endif - this_cost = rtx_cost (this_rtx, SET); + this_cost = rtx_cost (this_rtx, SET, speed); } else if (REG_P (this_rtx)) { @@ -310,7 +311,7 @@ reload_cse_simplify_set (rtx set, rtx insn) if (extend_op != UNKNOWN) { this_rtx = gen_rtx_fmt_e (extend_op, word_mode, this_rtx); - this_cost = rtx_cost (this_rtx, SET); + this_cost = rtx_cost (this_rtx, SET, speed); } else #endif @@ -570,8 +571,10 @@ reload_cse_simplify_operands (rtx insn, rtx testreg) if (op_alt_regno[i][j] == -1 && reg_fits_class_p (testreg, rclass, 0, mode) && (GET_CODE (recog_data.operand[i]) != CONST_INT - || (rtx_cost (recog_data.operand[i], SET) - > rtx_cost (testreg, SET)))) + || (rtx_cost (recog_data.operand[i], SET, + optimize_bb_for_speed_p (BLOCK_FOR_INSN (insn))) + > rtx_cost (testreg, SET, + optimize_bb_for_speed_p (BLOCK_FOR_INSN (insn)))))) { alternative_nregs[j]++; op_alt_regno[i][j] = regno; @@ -1240,6 +1243,8 @@ reload_cse_move2add (rtx first) { rtx new_src = gen_int_mode (INTVAL (src) - reg_offset[regno], GET_MODE (reg)); + bool speed = optimize_bb_for_speed_p (BLOCK_FOR_INSN (insn)); + /* (set (reg) (plus (reg) (const_int 0))) is not canonical; use (set (reg) (reg)) instead. We don't delete this insn, nor do we convert it into a @@ -1255,7 +1260,7 @@ reload_cse_move2add (rtx first) if (INTVAL (src) == reg_offset [regno]) validate_change (insn, &SET_SRC (pat), reg, 0); } - else if (rtx_cost (new_src, PLUS) < rtx_cost (src, SET) + else if (rtx_cost (new_src, PLUS, speed) < rtx_cost (src, SET, speed) && have_add2_insn (reg, new_src)) { rtx tem = gen_rtx_PLUS (GET_MODE (reg), reg, new_src); @@ -1331,14 +1336,15 @@ reload_cse_move2add (rtx first) + base_offset - regno_offset, GET_MODE (reg)); - int success = 0; + bool success = false; + bool speed = optimize_bb_for_speed_p (BLOCK_FOR_INSN (insn)); if (new_src == const0_rtx) /* See above why we create (set (reg) (reg)) here. */ success = validate_change (next, &SET_SRC (set), reg, 0); - else if ((rtx_cost (new_src, PLUS) - < COSTS_N_INSNS (1) + rtx_cost (src3, SET)) + else if ((rtx_cost (new_src, PLUS, speed) + < COSTS_N_INSNS (1) + rtx_cost (src3, SET, speed)) && have_add2_insn (reg, new_src)) { rtx newpat = gen_rtx_SET (VOIDmode, @@ -1565,7 +1571,7 @@ move2add_note_store (rtx dst, const_rtx set, void *data ATTRIBUTE_UNUSED) static bool gate_handle_postreload (void) { - return (optimize > 0); + return (optimize > 0 && reload_completed); } -- cgit v1.2.1