OSDN Git Service

* gcc.dg/nop.h: Move from ...
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Nov 2010 20:35:46 +0000 (20:35 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Nov 2010 20:35:46 +0000 (20:35 +0000)
* gcc.dg/guality/nop.h: ... here.
* gcc.dg/lto/20091216-1_0.c: Include nop.h and use NOP macro.
* gcc.dg/guality/asm-1.c: Update nop.h include.
* gcc.dg/guality/pr43329-1.c: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166877 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/guality/asm-1.c
gcc/testsuite/gcc.dg/guality/pr43329-1.c
gcc/testsuite/gcc.dg/lto/20091216-1_0.c
gcc/testsuite/gcc.dg/nop.h [moved from gcc/testsuite/gcc.dg/guality/nop.h with 100% similarity]

index bd1e98d..49c0c2a 100644 (file)
@@ -12,8 +12,7 @@
 
 2010-11-17  Richard Guenther  <rguenther@suse.de>
 
-       * value-prof.c (gimple_divmod_fixed_value_transform): Update
-       the stmt.
+       * value-prof.c (gimple_divmod_fixed_value_transform): Update the stmt.
        (gimple_mod_pow2_value_transform): Likewise.
        (gimple_mod_subtract_transform): Likewise.
 
@@ -34,8 +33,7 @@
        * cgraphbuild.c (pass_rebuild_cgraph): Use timevar.
        * tree-ssa-loop-manip.c (verify_loop_closed_ssa): Use timevar.
        * tree-emutls.c (pass_ipa_lower_emutls): Ditto.
-       * df-core.c (pass_df_initialize_opt,
-       pass_df_initialize_no_opt): Ditto.
+       * df-core.c (pass_df_initialize_opt, pass_df_initialize_no_opt): Ditto.
        * predict.c (rebuild_frequencies): Ditto.
        * tree-vectorizer.c (pass_ipa_increase_alignment): Ditto.
        * emit-rtl.c (verify_rtl_sharing): Ditto.
        * ipa.c (varpool_can_remove_if_no_refs): ... here.
        (cgraph_remove_unreachable_nodes): Only analyzed nodes needs to stay.
        * cgraphunit.c (cgraph_analyze_functions): Dump varpool, too.
-       * varpool.c (decide_is_variable_needed): Do not handle visibility issues.
+       * varpool.c (decide_is_variable_needed): Do not handle visibility
+       issues.
        (varpool_finalize_decl): Likewise.
-       (varpool_remove_unreferenced_decls): Use varpool_mark_needed_node; update
-       outdated comment on DECL_RTL_SET_P check.
+       (varpool_remove_unreferenced_decls): Use varpool_mark_needed_node;
+       update outdated comment on DECL_RTL_SET_P check.
 
 2010-11-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
 
 2010-11-16  Nick Clifton  <nickc@redhat.com>
 
-       * config/v850/v850.md (maddsf4): Rename to fmasf4 and use fma
-       rtx_code.
+       * config/v850/v850.md (maddsf4): Rename to fmasf4 and use fma rtx_code.
        (msubsf4): Rename to fmssf4, and use fma.
        (nmaddsf4): Rename to fnmasf4 and use fma.
        (nmsubsf4): Rename to fnmssf4 and use fma.
 
 2010-11-16  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
 
-       * gensupport.c (MNEMONIC_ATTR_NAME, MNEMONIC_HTAB_SIZE): New
-       macros.
+       * gensupport.c (MNEMONIC_ATTR_NAME, MNEMONIC_HTAB_SIZE): New macros.
        (htab_eq_string, add_mnemonic_string, gen_mnemonic_setattr)
        (mnemonic_htab_callback, gen_mnemonic_attr): New functions.
        (init_rtx_reader_args_cb): Invoke gen_mnemonic_attr.
 
 2010-11-16  Nathan Froyd  <froydnj@codesourcery.com>
 
-       * Makefile.in (bitmap.o, ebitmap.o, et-forest.o): Update
-       dependencies.
+       * Makefile.in (bitmap.o, ebitmap.o, et-forest.o): Update dependencies.
        (sreal.o, statistics.o, stringpool.o): Likewise.
 
 2010-11-16  Richard Guenther  <rguenther@suse.de>
 2010-11-16  Richard Guenther  <rguenther@suse.de>
 
        PR middle-end/45172
-       * tree-eh.c (cleanup_empty_eh_unsplit): Avoid creating duplicate
-       edges.
+       * tree-eh.c (cleanup_empty_eh_unsplit): Avoid creating duplicate edges.
 
 2010-11-16  Nick Clifton  <nickc@redhat.com>
 
 2010-11-15  Richard Henderson  <rth@redhat.com>
 
        * fold-const.c (operand_equal_for_comparison_p): Handle FMA_EXPR,
-       WIDEN_MULT_PLUS_EXPR, WIDEN_MULT_MINUS_EXPR, VEC_COND_EXPR,
+       WIDEN_MULT_PLUS_EXPR, WIDEN_MULT_MINUS_EXPR, VEC_COND_EXPR and
        DOT_PROD_EXPR.
 
 2010-11-15  Richard Henderson  <rth@redhat.com>
        (argbuf_length, argbuf_index): Remove.
        (alloc_args, clear_args, store_arg, execute, insert_wrapper,
        do_spec, do_self_spec, do_spec_1, eval_spec_function, main,
-       compare_debug_dump_opt_spec_function: Use VEC interfaces on
-       argbuf.
+       compare_debug_dump_opt_spec_function: Use VEC interfaces on argbuf.
        * Makefile.in (GCC_OBJS): Add vec.o and ggc-none.o.
        (gcc.o): Depend on $(VEC_H).
 
        * config/avr/avr.c (avr_num_arg_regs): Constify type.
        (avr_return_addr_rtx): De-constify tem.
        (avr_rotate_bytes): Move declarations to start of block.
-       Don't use variable length array.
-       Put nested if/else into block.
+       Don't use variable length array.  Put nested if/else into block.
 
        PR rtl-optimization/46433
        * var-tracking.c: Include tm_p.h .
        (trapping_loads_p): Remove unused variable pat.
        (bfin_expand_binop_builtin): Use expand_normal.
        (bfin_expand_unop_builtin): Likewise.
-       (bfin_expand_builtin): Likewise.
-       Set tmode before use.
+       (bfin_expand_builtin): Likewise.  Set tmode before use.
 
        PR middle-end/44769
        * final.c (split_double): Don't use BITS_PER_WORD directly in
 
        PR tree-optimize/40436
        * ipa-inline.c (likely_eliminated_by_inlining_p): Rename to ...
-       (eliminated_by_inlining_prob): ... this one; return 50% probability for
-       SRA.
-       (estimate_function_body_sizes): Update use of eliminated_by_inlining_prob;
-       estimate static function size for 2 instructions.
+       (eliminated_by_inlining_prob): ... this one; return 50% probability
+       for SRA.
+       (estimate_function_body_sizes): Update use of
+       eliminated_by_inlining_prob; estimate static function size
+       for 2 instructions.
 
 2010-11-11  Joern Rennecke  <amylaar@spamcop.net>
 
        * opts.c (finish_options, common_handle_option): Start diagnostics
        with lowercase letters and remove trailing '.'.  Fix typo in
        diagnostic.
-       * passes.c (position_pass): Start diagnostic with lowercase
-       letter.
+       * passes.c (position_pass): Start diagnostic with lowercase letter.
        * plugin.c (add_new_plugin, parse_plugin_arg_opt,
        register_callback, try_init_one_plugin): Start diagnostics with
        lowercase letters.
index 571dbc4..cb564c1 100644 (file)
@@ -1,3 +1,11 @@
+2010-11-17  Uros Bizjak  <ubizjak@gmail.com>
+
+       * gcc.dg/nop.h: Move from ...
+       * gcc.dg/guality/nop.h: ... here.
+       * gcc.dg/lto/20091216-1_0.c: Include nop.h and use NOP macro.
+       * gcc.dg/guality/asm-1.c: Update nop.h include.
+       * gcc.dg/guality/pr43329-1.c: Ditto.
+
 2010-11-17  Paolo Bonzini  <bonzini@gnu.org>
 
        * gcc.dg/two-types-1.c: New test.
        * objc.dg/property/dotsyntax-19.m: New.
        * objc.dg/property/dotsyntax-20.m: New.
        * obj-c++.dg/property/dotsyntax-18.mm: New.
-       * obj-c++.dg/property/dotsyntax-19.mm: New.     
+       * obj-c++.dg/property/dotsyntax-19.mm: New.
        * obj-c++.dg/property/dotsyntax-20.mm: New.
-       * objc.dg/property/dotsyntax-4.m: Removed some unused variables and code.
+       * objc.dg/property/dotsyntax-4.m: Removed some unused
+       variables and code.
        * objc.dg/property/dotsyntax-6.m: Same change.
-       * objc.dg/property/dotsyntax-16.m: Same change. 
+       * objc.dg/property/dotsyntax-16.m: Same change.
        * objc.dg/property/dotsyntax-17.m: Same change.
        * obj-c++.dg/property/dotsyntax-4.mm: Same change.
        * obj-c++.dg/property/dotsyntax-6.mm: Same change.
-       * obj-c++.dg/property/dotsyntax-16.mm: Same change. 
+       * obj-c++.dg/property/dotsyntax-16.mm: Same change.
        * obj-c++.dg/property/dotsyntax-17.mm: Same change.
        * objc.dg/property/at-property-22.m: Added missing casts.
        * obj-c++.dg/property/at-property-22.mm: Same change.
-       
+
 2010-11-15  Jakub Jelinek  <jakub@redhat.com>
 
        PR tree-optimization/46491
 
        PR fortran/46484
        * gfortran.dg/allocatable_scalar_11.f90: New.
-       * gfortran.dg/allocatable_scalar_5.f90: Make test case standard conform.
+       * gfortran.dg/allocatable_scalar_5.f90: Make test case
+       standard conform.
 
 2010-11-15  Jakub Jelinek  <jakub@redhat.com>
 
 2010-11-15  Nicola Pero  <nicola.pero@meta-innovation.com>
 
        * objc.dg/property/dotsyntax-16.m: New.
-       * objc.dg/property/dotsyntax-17.m: New. 
+       * objc.dg/property/dotsyntax-17.m: New.
        * obj-c++.dg/property/dotsyntax-16.mm: New.
-       * obj-c++.dg/property/dotsyntax-17.mm: New.     
+       * obj-c++.dg/property/dotsyntax-17.mm: New.
        * objc.dg/property/at-property-10.m: Uncommented using 'x++'
        syntax with properties, which now works.
        * obj-c++.dg/property/at-property-10.mm: Same change.
-       
+
 2010-11-15  Martin Jambor  <mjambor@suse.cz>
 
        PR tree-optimization/46349
        PR fortran/45794
        * gfortran.dg/optional_mask.f90: New test.
 
-2010-11-13  Ville Voutilainen <ville.voutilainen@gmail.com> <ville.voutilainen@symbio.com>
+2010-11-13  Ville Voutilainen  <ville.voutilainen@gmail.com>
 
        * g++.dg/cpp0x/defaulted15.C: Adjust.
 
 2010-11-10  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR tree-optimization/46414
-       * gcc.target/i386/recip-vec-sqrtf-avx.c: Updated for loop
-       unrolling.
+       * gcc.target/i386/recip-vec-sqrtf-avx.c: Updated for loop unrolling.
 
 2010-11-10  Tobias Burnus  <burnus@net-b.de>
 
 2010-10-09  Jakub Jelinek  <jakub@redhat.com>
 
        PR middle-end/45663
-       * gcc.dg/guality/sra-1.c: Move all gdb-test lines to the second bar invocation
-       instead of first.
+       * gcc.dg/guality/sra-1.c: Move all gdb-test lines to the second
+       bar invocation instead of first.
 
        PR debug/46171
        * gcc.dg/pr46171.c: New test.
index 1112bf7..e9cf4a1 100644 (file)
@@ -1,7 +1,7 @@
 /* { dg-do run } */
 /* { dg-options "-g" } */
 
-#include "nop.h"
+#include "../nop.h"
 
 struct A { int x; unsigned short y; char z[64]; };
 
index 7820727..5e27adf 100644 (file)
@@ -2,7 +2,7 @@
 /* { dg-do run } */
 /* { dg-options "-g" } */
 
-#include "nop.h"
+#include "../nop.h"
 
 static inline void
 foo (int argx)
index 054330b..7bcf1f3 100644 (file)
@@ -1,10 +1,8 @@
 /* { dg-lto-do run } */
 
-#ifdef __ia64
-asm (".globl start_\nstart_: nop 0");
-#else
-asm (".globl start_\nstart_: nop");
-#endif
+#include "../nop.h"
+
+asm (".globl start_\nstart_: " NOP);
 
 int
 main ()