PR middle-end/49139 fix always_inline diagnostics
authorChristian Bruel <chrbr@gcc.gnu.org>
Tue, 21 Jun 2011 06:43:26 +0000 (08:43 +0200)
committerChristian Bruel <chrbr@gcc.gnu.org>
Tue, 21 Jun 2011 06:43:26 +0000 (08:43 +0200)
From-SVN: r175240

gcc/ChangeLog
gcc/testsuite/ChangeLog

index 9a279735bac6da33bed8671eab4ac52132bafe7e..1c9dced03ca99f7297be582b5cabc9a30661aed0 100644 (file)
@@ -1,3 +1,12 @@
+2011-06-21  Christian Bruel  <christian.bruel@st.com>
+       
+       PR middle-end/49139
+       * cgraphunit.c (process_function_and_variable_attributes): warn when
+       always_inline functions that are not inline.
+       * ipa-inline-transform.c (inline_transform): Always call optimize_inline.
+       * tree-inline.c (tree_inlinable_function_p): Use error instead of sorry.
+       (expand_call_inline): Likewise.
+       
 2011-06-21  Jakub Jelinek  <jakub@redhat.com>
 
        * Makefile.in (dg_target_exps): Set.
@@ -52,6 +61,7 @@
 
        * regrename.c (do_replace): Don't update notes.
 
+>>>>>>> .r175238
 2011-06-20  Alan Modra  <amodra@gmail.com>
 
        * config/rs6000/rs6000.c (create_TOC_reference): Wrap high part
index 14112a49d7deba467fd5f55188bde2e13b0f128d..54767b533f83bdb0e1be178cd6f45f0e156a022e 100644 (file)
@@ -1,3 +1,24 @@
+2011-06-22  Christian Bruel  <christian.bruel@st.com>
+       
+       PR middle-end/49139
+       * gcc.dg/always_inline.c: Removed -Winline. Update checks
+       * gcc.dg/always_inline2.c: Likewise.
+       * gcc.dg/always_inline3.c: Likewise.
+       * gcc.dg/debug/pr41264-1.c: Add -Wno-attributes.
+       * gcc.dg/inline_1.c: Likewise.
+       * gcc.dg/inline_2.c: Likewise.
+       * gcc.dg/inline_3.c: Likewise.
+       * gcc.dg/inline_4.c: Likewise.
+       * gcc.dg/20051201-1.c: Likewise.
+       * gcc.dg/torture/pta-structcopy-1.c: Likewise.
+       * gcc.dg/inline-22.c: Likewise.
+       * gcc.dg/lto/20090218-1_0.c: Set inline keyword.
+       * gcc.dg/lto/20090218-1_1.c: Likewise.
+       * g++.dg/ipa/devirt-7.C: Likewise.
+       * gcc.dg/uninit-pred-5_a.c: Likewise.
+       * gcc.dg/uninit-pred-5_b.c: Likewise.
+       * gcc.dg/fail_always_inline.c: New.
+       
 2011-06-21  Jakub Jelinek  <jakub@redhat.com>
 
        * Make-lang.in (check_gfortran_parallelize): Parallelize dg.exp