re PR ipa/65873 (Failure to inline always_inline memcpy)
authorJan Hubicka <hubicka@ucw.cz>
Thu, 30 Apr 2015 15:09:19 +0000 (17:09 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 30 Apr 2015 15:09:19 +0000 (15:09 +0000)
PR ipa/65873
* ipa-inline.c (can_inline_edge_p): It is safe to inline across
-fstrict-aliasing boundaries.

From-SVN: r222634

gcc/ChangeLog
gcc/ipa-inline.c

index ac84dbbaf05b8404be3d5a6b1ca56e86eda5d52a..7fa0a1154f6fb2843afc01b055e3c4d80c990534 100644 (file)
@@ -1,3 +1,9 @@
+2015-04-30  Jan Hubicka  <hubicka@ucw.cz>
+
+       PR ipa/65873
+       * ipa-inline.c (can_inline_edge_p): It is safe to inline across
+       -fstrict-aliasing boundaries.
+
 2015-04-30  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
 
        * config/aarch64/aarch64.c (aarch64_rtx_mult_cost): Handle MNEG
index 565c5e38b648593a794f599086a0b46257712d34..1427761e4fa36cfec90d4724f6fa28668d0f4df5 100644 (file)
@@ -439,9 +439,6 @@ can_inline_edge_p (struct cgraph_edge *e, bool report,
               == !opt_for_fn (callee->decl, optimize) || !always_inline))
          || check_match (flag_wrapv)
          || check_match (flag_trapv)
-         /* Strictly speaking only when the callee contains memory
-            accesses that are not using alias-set zero anyway.  */
-         || check_maybe_down (flag_strict_aliasing)
          /* Strictly speaking only when the callee uses FP math.  */
          || check_maybe_up (flag_rounding_math)
          || check_maybe_up (flag_trapping_math)