public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "drab at kepler dot fjfi dot cvut dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/23048] New: Segfault with -O1 -ftree-vectorize on 4.1.x
Date: Sun, 24 Jul 2005 14:10:00 -0000	[thread overview]
Message-ID: <20050724140843.23048.drab@kepler.fjfi.cvut.cz> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2112 bytes --]

The example (attached below), when compiled by following gcc

-------------------
$ gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../../../gcc-CVS-20050723/gcc-CVS-20050723/configure
--host=i686-pc-linux-gnu --prefix=/usr/local/opt/gcc-4.1
--exec-prefix=/usr/local/opt/gcc-4.1 --sysconfdir=/etc
--libdir=/usr/local/opt/gcc-4.1/lib --libexecdir=/usr/local/opt/gcc-4.1/libexec
--sharedstatedir=/var --localstatedir=/var --program-suffix=-4.1
--with-x-includes=/usr/X11R6/include --with-x-libraries=/usr/X11R6/lib
--enable-shared --enable-static --with-gnu-as --with-gnu-ld --with-stabs
--enable-threads=posix --enable-version-specific-runtime-libs --disable-coverage
--disable-libgcj --disable-checking --enable-multilib --with-x --enable-cmath
--enable-libstdcxx-debug --enable-fast-character --enable-hash-synchronization
--with-system-zlib --with-libbanshee --with-demangler-in-ld
--with-arch=athlon-xp --enable-libada --enable-languages=c,c++,f95,objc,ada
Thread model: posix
gcc version 4.1.0 20050723 (experimental)
---------------------

with

---------------------
gcc -O1 -ftree-vectorize -c -o envsubst-envsubst.o envsubst-envsubst.c
---------------------

results in this:

---------------------
envsubst.c: In function ‘find_variables’:
envsubst.c:234: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
---------------------

Tested on both i686-pc-linux-gnu and x86_64-pc-linux-gnu with the same result.

gcc version 4.0.1 20050630 (prerelease) seems to take it without problems.

-- 
           Summary: Segfault with -O1 -ftree-vectorize on 4.1.x
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: drab at kepler dot fjfi dot cvut dot cz
                CC: gcc-bugs at gcc dot gnu dot org


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


             reply	other threads:[~2005-07-24 14:08 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-24 14:10 drab at kepler dot fjfi dot cvut dot cz [this message]
2005-07-24 14:11 ` [Bug tree-optimization/23048] " drab at kepler dot fjfi dot cvut dot cz
2005-07-24 14:13 ` pinskia at gcc dot gnu dot org
2005-07-24 14:16 ` [Bug tree-optimization/23048] ICE in get_loop_body " pinskia at gcc dot gnu dot org
2005-07-24 14:58 ` [Bug tree-optimization/23048] [4.1 Regression] " pinskia at gcc dot gnu dot org
2005-07-24 15:09 ` belyshev at depni dot sinp dot msu dot ru
2005-07-24 15:10 ` pinskia at gcc dot gnu dot org
2005-07-31  2:35 ` pinskia at gcc dot gnu dot org
2005-07-31  3:49 ` pinskia at gcc dot gnu dot org
2005-07-31  4:05 ` pinskia at gcc dot gnu dot org
2005-08-07 14:37 ` dorit at il dot ibm dot com
2005-08-09 18:59 ` dpatel at apple dot com
2005-08-10  0:37 ` pinskia at gcc dot gnu dot org
2005-08-11 19:38 ` dpatel at apple dot com
2005-08-13  8:09 ` drab at kepler dot fjfi dot cvut dot cz
2005-08-19 18:07 ` cvs-commit at gcc dot gnu dot org
2005-08-19 18:34 ` pinskia at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050724140843.23048.drab@kepler.fjfi.cvut.cz \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).