public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/58349] New: ARMv7: ICE in vect_determine_vectorization_factor, at tree-vect-loop.c:349
@ 2013-09-07  8:25 pascal.massimino at gmail dot com
  2013-09-07  9:25 ` [Bug c/58349] " mikpe at it dot uu.se
  2013-09-09  8:24 ` rguenth at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: pascal.massimino at gmail dot com @ 2013-09-07  8:25 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58349
           Summary: ARMv7: ICE in vect_determine_vectorization_factor, at
                    tree-vect-loop.c:349
           Product: gcc
           Version: 4.6.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pascal.massimino at gmail dot com

Created attachment 30759
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30759&action=edit
preprocessed source to repro the ICE

[Got an ICE on ARMv7, and a suggestion to file a bug for it. Here it goes.]

The ICE disappeared when i changed the 'uint8_t' types to just 'int' in the
offending code.

The code is from the 'libwebp' open-source project:
http://git.chromium.org/webm/libwebp.git

Diagnostic:

gcc -v -save-temps  -O3 -DNDEBUG -DWEBP_HAVE_PNG -DWEBP_HAVE_JPEG
-DWEBP_HAVE_TIFF -DWEBP_USE_THREAD -Wextra -Wold-style-definition
-Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement
-Wshadow -march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 -Isrc/
-Wall -c src/dsp/upsampling.c -o src/dsp/upsampling.o
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.6/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.6 --enable-shared --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object
--enable-plugin --enable-objc-gc --enable-multilib --disable-sjlj-exceptions
--with-arch=armv7-a --with-float=hard --with-fpu=vfpv3-d16 --with-mode=thumb
--disable-werror --enable-checking=release --build=arm-linux-gnueabihf
--host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
Thread model: posix
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) 
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-O3' '-D' 'NDEBUG' '-D' 'WEBP_HAVE_PNG'
'-D' 'WEBP_HAVE_JPEG' '-D' 'WEBP_HAVE_TIFF' '-D' 'WEBP_USE_THREAD' '-Wextra'
'-Wold-style-definition' '-Wmissing-prototypes' '-Wmissing-declarations'
'-Wdeclaration-after-statement' '-Wshadow' '-march=armv7-a' '-mfloat-abi=hard'
'-mfpu=neon' '-mtune=cortex-a8' '-I' 'src/' '-Wall' '-c' '-o'
'src/dsp/upsampling.o' '-mthumb'
 /usr/lib/gcc/arm-linux-gnueabihf/4.6/cc1 -E -quiet -v -I src/ -imultilib .
-imultiarch arm-linux-gnueabihf -D NDEBUG -D WEBP_HAVE_PNG -D WEBP_HAVE_JPEG -D
WEBP_HAVE_TIFF -D WEBP_USE_THREAD src/dsp/upsampling.c -march=armv7-a
-mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 -mthumb -Wextra
-Wold-style-definition -Wmissing-prototypes -Wmissing-declarations
-Wdeclaration-after-statement -Wshadow -Wall -O3 -fpch-preprocess
-fstack-protector -o upsampling.i
ignoring nonexistent directory "/usr/local/include/arm-linux-gnueabihf"
ignoring nonexistent directory
"/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../../arm-linux-gnueabihf/include"
#include "..." search starts here:
#include <...> search starts here:
 src/
 /usr/lib/gcc/arm-linux-gnueabihf/4.6/include
 /usr/local/include
 /usr/lib/gcc/arm-linux-gnueabihf/4.6/include-fixed
 /usr/include/arm-linux-gnueabihf
 /usr/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-O3' '-D' 'NDEBUG' '-D' 'WEBP_HAVE_PNG'
'-D' 'WEBP_HAVE_JPEG' '-D' 'WEBP_HAVE_TIFF' '-D' 'WEBP_USE_THREAD' '-Wextra'
'-Wold-style-definition' '-Wmissing-prototypes' '-Wmissing-declarations'
'-Wdeclaration-after-statement' '-Wshadow' '-march=armv7-a' '-mfloat-abi=hard'
'-mfpu=neon' '-mtune=cortex-a8' '-I' 'src/' '-Wall' '-c' '-o'
'src/dsp/upsampling.o' '-mthumb'
 /usr/lib/gcc/arm-linux-gnueabihf/4.6/cc1 -fpreprocessed upsampling.i -quiet
-dumpbase upsampling.c -march=armv7-a -mfloat-abi=hard -mfpu=neon
-mtune=cortex-a8 -mthumb -auxbase-strip src/dsp/upsampling.o -O3 -Wextra
-Wold-style-definition -Wmissing-prototypes -Wmissing-declarations
-Wdeclaration-after-statement -Wshadow -Wall -version -fstack-protector -o
upsampling.s
GNU C (Ubuntu/Linaro 4.6.3-1ubuntu5) version 4.6.3 (arm-linux-gnueabihf)
    compiled by GNU C version 4.6.3, GMP version 5.0.2, MPFR version 3.1.0-p3,
MPC version 0.9
GGC heuristics: --param ggc-min-expand=91 --param ggc-min-heapsize=115799
GNU C (Ubuntu/Linaro 4.6.3-1ubuntu5) version 4.6.3 (arm-linux-gnueabihf)
    compiled by GNU C version 4.6.3, GMP version 5.0.2, MPFR version 3.1.0-p3,
MPC version 0.9
GGC heuristics: --param ggc-min-expand=91 --param ggc-min-heapsize=115799
Compiler executable checksum: ffcbc490dd19d9f3c1e5842c6cc7a10d
src/dsp/upsampling.c: In function ‘Yuv444ToRgb565’:
src/dsp/upsampling.c:223:13: internal compiler error: in
vect_determine_vectorization_factor, at tree-vect-loop.c:349
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccGBzfRC.out file, please attach this to
your bugreport.
>From gcc-bugs-return-429185-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Sep 07 08:34:19 2013
Return-Path: <gcc-bugs-return-429185-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24312 invoked by alias); 7 Sep 2013 08:34:18 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 24279 invoked by uid 48); 7 Sep 2013 08:34:14 -0000
From: "dimhen at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/58350] New: libvtv/testsuite: Makefile:369: *** missing separator.  Stop.
Date: Sat, 07 Sep 2013 08:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: bootstrap
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dimhen at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter
Message-ID: <bug-58350-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-09/txt/msg00425.txt.bz2
Content-length: 1318

http://gcc.gnu.org/bugzilla/show_bug.cgi?idX350

            Bug ID: 58350
           Summary: libvtv/testsuite: Makefile:369: *** missing separator.
                     Stop.
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dimhen at gmail dot com

rev. 202352
Fedora 19/x86_64
configured as

 ~/src/gcc_current/configure --prefix=/usr/local/gcc_current
--with-multilib-list=m64 --enable-checking=release --enable-languages=c,c++,lto
--enable-plugin --with-tune=native --with-arch=native
--enable-version-specific-runtime-libs [--disable-vtv]

'--disable-vtv' change nothing in make's output

make
[...]
make[4]: Entering directory
`/home/dimhen/build/gcc_current/x86_64-unknown-linux-gnu/libvtv'
Makefile:839: warning: overriding recipe for target `multi-do'
Makefile:770: warning: ignoring old recipe for target `multi-do'
Makefile:887: warning: overriding recipe for target `multi-clean'
Makefile:818: warning: ignoring old recipe for target `multi-clean'
Making all in testsuite
make[5]: Entering directory
`/home/dimhen/build/gcc_current/x86_64-unknown-linux-gnu/libvtv/testsuite'
Makefile:369: *** missing separator.  Stop.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c/58349] ARMv7: ICE in vect_determine_vectorization_factor, at tree-vect-loop.c:349
  2013-09-07  8:25 [Bug c/58349] New: ARMv7: ICE in vect_determine_vectorization_factor, at tree-vect-loop.c:349 pascal.massimino at gmail dot com
@ 2013-09-07  9:25 ` mikpe at it dot uu.se
  2013-09-09  8:24 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: mikpe at it dot uu.se @ 2013-09-07  9:25 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Mikael Pettersson <mikpe at it dot uu.se> ---
I can't reproduce the ICE with either one of gcc 4.6.3, 4.6.4, 4.7.3, or 4.8.1,
configured as crosses to armv7l-linux-gnueabi from x86_64-linux, with options
-march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 -mthumb -O3
-fstack-protector.

Looks like you're running a heavily modified native compiler from Ubuntu. 
Please report this ICE to them (unless you can reproduce with a vanilla FSF
version).


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c/58349] ARMv7: ICE in vect_determine_vectorization_factor, at tree-vect-loop.c:349
  2013-09-07  8:25 [Bug c/58349] New: ARMv7: ICE in vect_determine_vectorization_factor, at tree-vect-loop.c:349 pascal.massimino at gmail dot com
  2013-09-07  9:25 ` [Bug c/58349] " mikpe at it dot uu.se
@ 2013-09-09  8:24 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-09-09  8:24 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
--with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5'

hints at some Linaro branch/version.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-09-09  8:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-07  8:25 [Bug c/58349] New: ARMv7: ICE in vect_determine_vectorization_factor, at tree-vect-loop.c:349 pascal.massimino at gmail dot com
2013-09-07  9:25 ` [Bug c/58349] " mikpe at it dot uu.se
2013-09-09  8:24 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).