public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug tree-optimization/68157] New: internal compiler error: in reassoc_stmt_dominates_stmt_p, at tree-ssa-reassoc.c:1287 @ 2015-10-30 9:42 a.niemoeller2 at gmail dot com 2015-10-30 9:44 ` [Bug tree-optimization/68157] " a.niemoeller2 at gmail dot com ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: a.niemoeller2 at gmail dot com @ 2015-10-30 9:42 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68157 Bug ID: 68157 Summary: internal compiler error: in reassoc_stmt_dominates_stmt_p, at tree-ssa-reassoc.c:1287 Product: gcc Version: 5.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: a.niemoeller2 at gmail dot com Target Milestone: --- command line: $ cd /home/ansgar/scratch/svn/gcc5/src && /pds/opt/gcc-5.1-0/bin/g++ -O3 -DNDEBUG -fstrict-aliasing -fno-rtti -fno-exceptions -fomit-frame-pointer -fno-unroll-loops -DCOMPILER_ATTRIBUTES -DUSE_RESTRICT -fno-tree-vectorize -mtune=native -pipe -fdata-sections -ffunction-sections -Wl,--gc-sections -funsafe-loop-optimizations -funsafe-math-optimizations -fcx-limited-range -fno-signaling-nans -fno-math-errno -DDISABLE_FV_MG -march=native -mtune=native -Wunused -Werror -Wall -Wextra -std=c++11 -pedantic -Wshadow -Wfloat-equal -Wcast-align -Wfloat-equal -Wdisabled-optimization -Wformat=2 -Winvalid-pch -Winit-self -Wmissing-include-dirs -Wredundant-decls -Wpacked -Wpointer-arith -Wstack-protector -Wstrict-aliasing=3 -Wswitch-default -Wwrite-strings -Wlogical-op -Wno-array-bounds -Wno-maybe-uninitialized -fdiagnostics-color=auto -I/home/ansgar/scratch/svn/gcc5/src -isystem /pds/opt/fftw/include -isystem /pds/opt/parallel-netcdf/include -isystem /pds/opt/openmpi/include -o CMakeFiles/zfs.dir/zfslbmpartcont.cpp.o -c /home/ansgar/scratch/svn/gcc5/src/zfslbmpartcont.cpp compiler output: /home/ansgar/scratch/svn/gcc5/src/zfslbmpartcont.cpp: In member function ‘void ZFSLbmPartCont::detectPartColl()’: /home/ansgar/scratch/svn/gcc5/src/zfslbmpartcont.cpp:2293:6: internal compiler error: in reassoc_stmt_dominates_stmt_p, at tree-ssa-reassoc.c:1287 void ZFSLbmPartCont::detectPartColl() ^ 0xbe41f9 reassoc_stmt_dominates_stmt_p ../../gcc-5.1.0/gcc/tree-ssa-reassoc.c:1287 0xbe43f9 sort_by_operand_rank ../../gcc-5.1.0/gcc/tree-ssa-reassoc.c:598 0xbee6f5 vec<operand_entry*, va_heap, vl_embed>::qsort(int (*)(void const*, void const*)) ../../gcc-5.1.0/gcc/vec.h:960 0xbee6f5 vec<operand_entry*, va_heap, vl_ptr>::qsort(int (*)(void const*, void const*)) ../../gcc-5.1.0/gcc/vec.h:1688 0xbee6f5 reassociate_bb ../../gcc-5.1.0/gcc/tree-ssa-reassoc.c:4832 0xbee5a7 reassociate_bb ../../gcc-5.1.0/gcc/tree-ssa-reassoc.c:4916 0xbee5a7 reassociate_bb ../../gcc-5.1.0/gcc/tree-ssa-reassoc.c:4916 0xbee5a7 reassociate_bb ../../gcc-5.1.0/gcc/tree-ssa-reassoc.c:4916 0xbee5a7 reassociate_bb ../../gcc-5.1.0/gcc/tree-ssa-reassoc.c:4916 0xbee5a7 reassociate_bb ../../gcc-5.1.0/gcc/tree-ssa-reassoc.c:4916 0xbf0883 do_reassoc ../../gcc-5.1.0/gcc/tree-ssa-reassoc.c:5025 0xbf0883 execute_reassoc ../../gcc-5.1.0/gcc/tree-ssa-reassoc.c:5107 0xbf0883 execute ../../gcc-5.1.0/gcc/tree-ssa-reassoc.c:5140 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. gcc 5.1.0 ./configure --prefix=... GNU/Linux (openSUSE 12.3) The error does not occur when -fno-math-errno is omitted. >From gcc-bugs-return-500994-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 30 09:44:40 2015 Return-Path: <gcc-bugs-return-500994-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4875 invoked by alias); 30 Oct 2015 09:44:40 -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 4834 invoked by uid 48); 30 Oct 2015 09:44:36 -0000 From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/67982] Incorrect -Wunused-function warning Date: Fri, 30 Oct 2015 09:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: 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: Message-ID: <bug-67982-4-5E09EsTxvM@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-67982-4@http.gcc.gnu.org/bugzilla/> References: <bug-67982-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: 2015-10/txt/msg02549.txt.bz2 Content-length: 370 https://gcc.gnu.org/bugzilla/show_bug.cgi?idg982 --- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > Otherwise this might need bisection. Note that I cannot do easily the bissection on darwin due to a lot of bootstrap failures in the range r224161-r224647. If nobody volunteer to do the bisection, I'll close this PR as FIXED on trunk (6.0). ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/68157] internal compiler error: in reassoc_stmt_dominates_stmt_p, at tree-ssa-reassoc.c:1287 2015-10-30 9:42 [Bug tree-optimization/68157] New: internal compiler error: in reassoc_stmt_dominates_stmt_p, at tree-ssa-reassoc.c:1287 a.niemoeller2 at gmail dot com @ 2015-10-30 9:44 ` a.niemoeller2 at gmail dot com 2015-10-30 10:29 ` [Bug tree-optimization/68157] [5/6 Regression] " trippels at gcc dot gnu.org 2015-10-30 10:53 ` rguenth at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: a.niemoeller2 at gmail dot com @ 2015-10-30 9:44 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68157 --- Comment #1 from a.niemoeller2 at gmail dot com --- Created attachment 36620 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36620&action=edit preprocessed file (*.i*) uncompressed file was to large ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/68157] [5/6 Regression] internal compiler error: in reassoc_stmt_dominates_stmt_p, at tree-ssa-reassoc.c:1287 2015-10-30 9:42 [Bug tree-optimization/68157] New: internal compiler error: in reassoc_stmt_dominates_stmt_p, at tree-ssa-reassoc.c:1287 a.niemoeller2 at gmail dot com 2015-10-30 9:44 ` [Bug tree-optimization/68157] " a.niemoeller2 at gmail dot com @ 2015-10-30 10:29 ` trippels at gcc dot gnu.org 2015-10-30 10:53 ` rguenth at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: trippels at gcc dot gnu.org @ 2015-10-30 10:29 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68157 Markus Trippelsdorf <trippels at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-10-30 CC| |trippels at gcc dot gnu.org Summary|internal compiler error: in |[5/6 Regression] internal |reassoc_stmt_dominates_stmt |compiler error: in |_p, at |reassoc_stmt_dominates_stmt |tree-ssa-reassoc.c:1287 |_p, at | |tree-ssa-reassoc.c:1287 Ever confirmed|0 |1 --- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- trippels@CFARM-IUT-TLSE3 ~ % cat zfslbmpartcont.ii typedef double ZFSFloat; double a, b, c, d; class A { public: long m_fn1(); }; class B { A m_collList; int m_particleCollisions; void m_fn2(); }; void B::m_fn2() { while (m_collList.m_fn1()) { ZFSFloat e, f; e = b * a * a; f = b * d; if (m_particleCollisions) c = e + f; } } trippels@CFARM-IUT-TLSE3 ~ % g++ -Ofast -c zfslbmpartcont.ii zfslbmpartcont.ii: In member function ‘void B::m_fn2()’: zfslbmpartcont.ii:12:6: internal compiler error: in reassoc_stmt_dominates_stmt_p, at tree-ssa-reassoc.c:1218 >From gcc-bugs-return-501000-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 30 10:41:46 2015 Return-Path: <gcc-bugs-return-501000-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 46924 invoked by alias); 30 Oct 2015 10:41:46 -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 46837 invoked by uid 48); 30 Oct 2015 10:41:41 -0000 From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/68157] [5/6 Regression] internal compiler error: in reassoc_stmt_dominates_stmt_p, at tree-ssa-reassoc.c:1287 Date: Fri, 30 Oct 2015 10:41: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: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: 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: Message-ID: <bug-68157-4-VrzILVi7a8@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-68157-4@http.gcc.gnu.org/bugzilla/> References: <bug-68157-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: 2015-10/txt/msg02555.txt.bz2 Content-length: 1317 https://gcc.gnu.org/bugzilla/show_bug.cgi?idh157 --- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- (gdb) l 1213 1214 if (gimple_code (s2) == GIMPLE_PHI) 1215 return false; 1216 1217 gcc_assert (gimple_uid (s1) && gimple_uid (s2)); 1218 1219 if (gimple_uid (s1) < gimple_uid (s2)) 1220 return true; 1221 1222 if (gimple_uid (s1) > gimple_uid (s2)) (gdb) p *s1 $1 = { code = GIMPLE_CALL, no_warning = 0, visited = 1, nontemporal_move = 0, plf = 0, modified = 0, has_volatile_ops = 0, pad = 0, subcode = 0, uid = 0, location = 2147483654, num_ops = 5, bb = 0x7ffff70ae2d8, next = 0x7ffff71fb1e0, prev = 0x7ffff71fb0f0 } (gdb) p *s2 $2 = { code = GIMPLE_ASSIGN, no_warning = 0, visited = 0, nontemporal_move = 0, plf = 0, modified = 0, has_volatile_ops = 0, pad = 0, subcode = 35, uid = 5, location = 2147483655, num_ops = 2, bb = 0x7ffff70ae2d8, next = 0x7ffff71fb230, prev = 0x7ffff71f9c60 } (gdb) p debug_gimple_stmt(s1) reassocpow_17 = __builtin_powi (a.2_8, 2); $3 = void (gdb) p debug_gimple_stmt(s2) # VUSE <.MEM_5> d.3_12 = d; $4 = void ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/68157] [5/6 Regression] internal compiler error: in reassoc_stmt_dominates_stmt_p, at tree-ssa-reassoc.c:1287 2015-10-30 9:42 [Bug tree-optimization/68157] New: internal compiler error: in reassoc_stmt_dominates_stmt_p, at tree-ssa-reassoc.c:1287 a.niemoeller2 at gmail dot com 2015-10-30 9:44 ` [Bug tree-optimization/68157] " a.niemoeller2 at gmail dot com 2015-10-30 10:29 ` [Bug tree-optimization/68157] [5/6 Regression] " trippels at gcc dot gnu.org @ 2015-10-30 10:53 ` rguenth at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: rguenth at gcc dot gnu.org @ 2015-10-30 10:53 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68157 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |5.3 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-10-30 10:53 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2015-10-30 9:42 [Bug tree-optimization/68157] New: internal compiler error: in reassoc_stmt_dominates_stmt_p, at tree-ssa-reassoc.c:1287 a.niemoeller2 at gmail dot com 2015-10-30 9:44 ` [Bug tree-optimization/68157] " a.niemoeller2 at gmail dot com 2015-10-30 10:29 ` [Bug tree-optimization/68157] [5/6 Regression] " trippels at gcc dot gnu.org 2015-10-30 10:53 ` 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).