[Bug c/28887] generates invalid code for -O1 -fprefetch-loop-arrays

aldot at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Aug 29 12:46:00 GMT 2006



------- Comment #1 from aldot at gcc dot gnu dot org  2006-08-29 12:46 -------
Created an attachment (id=12147)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12147&action=view)
original unreduced testcase

Initial args used for unreduced testcase were:

gcc -O2 -fPIC -ftree-loop-optimize -ftree-vectorize -ftree-vect-loop-version
-funroll-loops -freorder-blocks -freorder-blocks-and-partition -mtune=nocona
-march=nocona -msse -msse2 -msse3 -mfpmath=sse -fprefetch-loop-arrays
-funswitch-loops -fbranch-target-load-optimize -ftree-loop-linear
-ftree-loop-im -ftree-loop-ivcanon -fgcse-after-reload
-fvariable-expansion-in-unroller -fivopts    regex.i -v -c -o regex.o -W -Wall
-Wextra
Using built-in specs.
Target: x86_64-linux-uclibc
Configured with: /root/src/buildroot/toolchain_build_x86_64/gcc-4.2.0/configure
--prefix=/root/src/buildroot/build_x86_64/staging_dir
--build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu
--target=x86_64-linux-uclibc --enable-languages=c,c++ --enable-shared
--disable-__cxa_atexit --enable-target-optspace --with-gnu-ld --disable-nls
--enable-threads --disable-multilib
Thread model: posix
gcc version 4.2.0 20060828 (experimental)

/root/src/buildroot/build_x86_64/staging_dir/libexec/gcc/x86_64-linux-uclibc/4.2.0/cc1
-fpreprocessed regex.i -quiet -dumpbase regex.i -mtune=nocona -march=nocona
-msse -msse2 -msse3 -mfpmath=sse -auxbase-strip regex.o -O2 -W -Wall -Wextra
-version -fPIC -ftree-loop-optimize -ftree-vectorize -ftree-vect-loop-version
-funroll-loops -freorder-blocks -freorder-blocks-and-partition
-fprefetch-loop-arrays -funswitch-loops -fbranch-target-load-optimize
-ftree-loop-linear -ftree-loop-im -ftree-loop-ivcanon -fgcse-after-reload
-fvariable-expansion-in-unroller -fivopts -o /tmp/ccyQKlyx.s
GNU C version 4.2.0 20060828 (experimental) (x86_64-linux-uclibc)
        compiled by GNU C version 4.1.2 20060613 (prerelease) (Debian 4.1.1-5).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 7dbca204c110dec99203ab2b693d4e2f
/root/src/buildroot/toolchain_build_x86_64/binutils-2.17.50.0.3/libiberty/regex.c:
In function 'byte_re_match_2_internal':
/root/src/buildroot/toolchain_build_x86_64/binutils-2.17.50.0.3/libiberty/regex.c:5549:
error: cannot take address of bit-field 'match_null_string_p'
/root/src/buildroot/toolchain_build_x86_64/binutils-2.17.50.0.3/libiberty/regex.c:5549:
error: cannot take address of bit-field 'match_null_string_p'
/root/src/buildroot/toolchain_build_x86_64/binutils-2.17.50.0.3/libiberty/regex.c:5549:
error: cannot take address of bit-field 'match_null_string_p'


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28887



More information about the Gcc-bugs mailing list