public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "chaosgate at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/59586] New: Segmentation fault with -Ofast -floop-parallelize-all -ftree-parallelize-loops
Date: Mon, 23 Dec 2013 21:17:00 -0000	[thread overview]
Message-ID: <bug-59586-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 59586
           Summary: Segmentation fault with -Ofast -floop-parallelize-all
                    -ftree-parallelize-loops
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: chaosgate at gmail dot com

Created attachment 31504
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31504&action=edit
Test case

This code results in the following segfault when compiled with
gfortran -o /dev/null -c -Ofast -floop-parallelize-all
-ftree-parallelize-loops=1 -fopenmp t3.f


t3.f: In function ‘subsm’:
t3.f:1:0: internal compiler error: Segmentation fault
       subroutine subsm ( n, x, xp, xx)
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.



gcc -v:

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.2/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with:
/var/tmp/paludis/build/sys-devel-gcc-4.8.2/work/gcc-4.8.2/configure
--prefix=/usr --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
--sysconfdir=/etc --localstatedir=/var/lib --disable-silent-rules
--enable-fast-install --libdir=/usr/lib64 --cache-file=config.cache
--libdir=/usr/lib64 --with-pkgversion='exherbo gcc-4.8.2' --program-suffix=-4.8
--disable-bootstrap --enable-clocale=gnu --enable-languages=c,c++,fortran,java
--enable-lto --disable-multilib --enable-nls --enable-serial-configure
--enable-libquadmath --enable-libquadmath-support --with-cloog --enable-libgomp
--disable-libobjc --disable-libssp --with-as=x86_64-pc-linux-gnu-as
--with-ld=x86_64-pc-linux-gnu-ld --with-system-zlib
Thread model: posix
gcc version 4.8.2 (exherbo gcc-4.8.2)
>From gcc-bugs-return-438412-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 23 21:49:34 2013
Return-Path: <gcc-bugs-return-438412-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15870 invoked by alias); 23 Dec 2013 21:49:34 -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 15849 invoked by uid 48); 23 Dec 2013 21:49:31 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/59586] Segmentation fault with -Ofast -floop-parallelize-all -ftree-parallelize-loops
Date: Mon, 23 Dec 2013 21:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 4.8.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
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_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-59586-4-wp8ULGZzWy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59586-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59586-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-12/txt/msg02067.txt.bz2
Content-length: 667

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-12-23
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed for 4.8.2 and trunk with -O3 -ffast-math -floop-parallelize-all, but
no ICE for 4.5.4, 4.6.4, and 4.7.3. Likely a 4.8/4.9 regression. I'll try to
bisect when I find some time.


             reply	other threads:[~2013-12-23 21:17 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-23 21:17 chaosgate at gmail dot com [this message]
2013-12-23 23:12 ` [Bug tree-optimization/59586] [4.8/4.9 Regression] [graphite] " dominiq at lps dot ens.fr
2014-01-07 11:54 ` rguenth at gcc dot gnu.org
2014-01-17 12:34 ` rguenth at gcc dot gnu.org
2014-04-14  9:25 ` [Bug tree-optimization/59586] [4.8/4.9/4.10 " mircea.namolaru at inria dot fr
2014-05-22  9:05 ` rguenth at gcc dot gnu.org
2014-08-17  9:18 ` [Bug tree-optimization/59586] [4.8/4.9/5 " doko at gcc dot gnu.org
2014-08-17  9:19 ` [Bug tree-optimization/59586] [4.8/4.9 " doko at gcc dot gnu.org
2014-12-11 10:38 ` rguenth at gcc dot gnu.org
2014-12-19 13:27 ` jakub at gcc dot gnu.org
2015-06-23  8:22 ` rguenth at gcc dot gnu.org
2015-06-26 19:54 ` [Bug tree-optimization/59586] [4.9 " jakub at gcc dot gnu.org
2015-06-26 20:27 ` jakub at gcc dot gnu.org
2015-10-09 14:52 ` spop at gcc dot gnu.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=bug-59586-4@http.gcc.gnu.org/bugzilla/ \
    --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).