Skip to content

Commit

Permalink
Revert "Disable GCCs aggressive loop optimization"
Browse files Browse the repository at this point in the history
This reverts commit 0f62f3f.

Signed-off-by: Tim Chase <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes openzfs#2010
  • Loading branch information
behlendorf authored and ryao committed Oct 24, 2014
1 parent 5d94503 commit dddbaf4
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 23 deletions.
1 change: 0 additions & 1 deletion config/Rules.am
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ DEFAULT_INCLUDES = -include ${top_builddir}/zfs_config.h
AM_LIBTOOLFLAGS = --silent
AM_CFLAGS = ${DEBUG_CFLAGS} -Wall -Wstrict-prototypes
AM_CFLAGS += ${NO_UNUSED_BUT_SET_VARIABLE}
AM_CFLAGS += ${NO_AGGRESSIVE_LOOP_OPTIMIZATIONS}
AM_CFLAGS += -fno-strict-aliasing
AM_CPPFLAGS = -D_GNU_SOURCE -D__EXTENSIONS__ -D_REENTRANT
AM_CPPFLAGS += -D_POSIX_PTHREAD_SEMANTICS -D_FILE_OFFSET_BITS=64
Expand Down
20 changes: 0 additions & 20 deletions config/always-no-aggressive-loop-optimizations.m4

This file was deleted.

1 change: 0 additions & 1 deletion config/kernel.m4
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ AC_DEFUN([ZFS_AC_CONFIG_KERNEL], [
dnl # -Wall -fno-strict-aliasing -Wstrict-prototypes and other
dnl # compiler options are added by the kernel build system.
KERNELCPPFLAGS="$KERNELCPPFLAGS $NO_UNUSED_BUT_SET_VARIABLE"
KERNELCPPFLAGS="$KERNELCPPFLAGS $NO_AGGRESSIVE_LOOP_OPTIMIZATIONS"
KERNELCPPFLAGS="$KERNELCPPFLAGS -DHAVE_SPL -D_KERNEL"
KERNELCPPFLAGS="$KERNELCPPFLAGS -DTEXT_DOMAIN=\\\"zfs-linux-kernel\\\""
Expand Down
1 change: 0 additions & 1 deletion config/zfs-build.m4
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ AC_DEFUN([ZFS_AC_DEBUG_DMU_TX], [

AC_DEFUN([ZFS_AC_CONFIG_ALWAYS], [
ZFS_AC_CONFIG_ALWAYS_NO_UNUSED_BUT_SET_VARIABLE
ZFS_AC_CONFIG_ALWAYS_NO_AGGRESSIVE_LOOP_OPTIMIZATIONS
])

AC_DEFUN([ZFS_AC_CONFIG], [
Expand Down

0 comments on commit dddbaf4

Please sign in to comment.