Launchpad has imported 14 comments from the remote bug at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38369.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2008-12-02T10:11:12+00:00 Matthias Klose wrote: seen with 4.3 20081129, not seen on 4.2 and trunk $ gcc -c -O1 spinmc_factory_test.ii spinmc_factory.C: In constructor 'AbstractSpinSim<MAT>::AbstractSpinSim(const alps::ProcessList&, const alps::Parameters&, int) [with MAT = SquareMatrix<double, 3>]': spinmc_factory.C:194: internal compiler error: Segmentation fault Please submit a full bug report, Program received signal SIGSEGV, Segmentation fault. 0x083826ba in number_of_iterations_exit (loop=0xf22d11b0, exit=0xe5a33640, niter=0xffe39bd8, warn=0 '\0') at ../../src/gcc/tree-ssa-loop-niter.c:429 429 cond = COND_EXPR_COND (last_stmt (e->src)); Reply at: https://bugs.launchpad.net/gcc/+bug/290072/comments/4 ------------------------------------------------------------------------ On 2008-12-02T10:12:05+00:00 Matthias Klose wrote: Created attachment 16807 preprocessed source Reply at: https://bugs.launchpad.net/gcc/+bug/290072/comments/5 ------------------------------------------------------------------------ On 2008-12-02T10:14:57+00:00 Matthias Klose wrote: works with -O0 Reply at: https://bugs.launchpad.net/gcc/+bug/290072/comments/6 ------------------------------------------------------------------------ On 2008-12-02T12:07:42+00:00 Rguenth wrote: reducing. Reply at: https://bugs.launchpad.net/gcc/+bug/290072/comments/7 ------------------------------------------------------------------------ On 2008-12-04T12:59:02+00:00 Rguenth wrote: Created attachment 16823 somewhat reduced testcase ./cc1plus -quiet /tmp/20508.3.min.3.3.i -O -m32 /tmp/20508.3.min.3.3.i: In constructor ‘AbstractSpinSim<MAT>::AbstractSpinSim(const alps::ProcessList&, const alps::Parameters&, int) [with MAT = MIdMatrix<double, 1>]’: /tmp/20508.3.min.3.3.i:497: error: true/false edge after a non-COND_EXPR in bb 7 /tmp/20508.3.min.3.3.i:497: error: true/false edge after a non-COND_EXPR in bb 7 /tmp/20508.3.min.3.3.i:497: internal compiler error: verify_flow_info failed Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Reply at: https://bugs.launchpad.net/gcc/+bug/290072/comments/8 ------------------------------------------------------------------------ On 2008-12-04T13:09:33+00:00 Rguenth wrote: This is after early inlining / cfg_cleanup btw. (gdb) call debug_bb_n (7) ;; basic block 7, loop depth 0, count 0 ;; prev block 6, next block 8 ;; pred: 5 [100.0%] (fallthru,exec) 6 [100.0%] (fallthru,dfs_back,exec) ;; succ: 6 [50.0%] (true,exec) 8 [50.0%] (false,exec) <bb 7>: # __first_46 = PHI <D.5122_52(5), __first_47(6)> D.5119 = &this_1(D)->h_normalized.vec_[1]; (gdb) call debug_bb_n (6) ;; basic block 6, loop depth 0, count 0 ;; prev block 5, next block 7 ;; pred: 7 [50.0%] (true,exec) ;; succ: 7 [100.0%] (fallthru,dfs_back,exec) <bb 6>: *__first_46 ={v} 0.0; __first_47 = __first_46 + 8; this CFG is seriously hosed ... ;) Reply at: https://bugs.launchpad.net/gcc/+bug/290072/comments/9 ------------------------------------------------------------------------ On 2008-12-28T17:57:45+00:00 Reichelt wrote: Shorter testcase: ========================================= struct A { A() { for (int* p = x; p != x+1; ++p) *p = 0; } A foo() { A a; a.x[0] = x[0]; return a; } int x[1]; }; struct B { B() : a(A().foo()) {} A a; }; B b; ========================================= Reply at: https://bugs.launchpad.net/gcc/+bug/290072/comments/10 ------------------------------------------------------------------------ On 2008-12-28T18:01:03+00:00 Reichelt wrote: The bug disappeared on mainline between 2008-08-23 and 2008-09-19. Reply at: https://bugs.launchpad.net/gcc/+bug/290072/comments/11 ------------------------------------------------------------------------ On 2009-01-24T10:21:03+00:00 Rguenth wrote: GCC 4.3.3 is being released, adjusting target milestone. Reply at: https://bugs.launchpad.net/gcc/+bug/290072/comments/12 ------------------------------------------------------------------------ On 2009-06-18T15:00:39+00:00 Rguenth wrote: Re-confirmed on the branch. Reply at: https://bugs.launchpad.net/gcc/+bug/290072/comments/14 ------------------------------------------------------------------------ On 2009-07-09T14:45:30+00:00 Mikpe wrote: I've identified Jakub's r140177 (PR37356) as the point where these test cases were fixed in 4.4.0. A backport doesn't look easy (to me anyway). Reply at: https://bugs.launchpad.net/gcc/+bug/290072/comments/15 ------------------------------------------------------------------------ On 2009-08-04T12:29:37+00:00 Rguenth wrote: GCC 4.3.4 is being released, adjusting target milestone. Reply at: https://bugs.launchpad.net/gcc/+bug/290072/comments/16 ------------------------------------------------------------------------ On 2010-05-22T18:12:52+00:00 Rguenth wrote: GCC 4.3.5 is being released, adjusting target milestone. Reply at: https://bugs.launchpad.net/gcc/+bug/290072/comments/17 ------------------------------------------------------------------------ On 2011-06-27T11:37:27+00:00 Rguenth wrote: Fixed for 4.4.0. Reply at: https://bugs.launchpad.net/gcc/+bug/290072/comments/18 ** Changed in: gcc Status: Confirmed => Fix Released ** Changed in: gcc Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/290072 Title: [PR38369, fixed in 4.4] g++ ICE in constructor (alps.comp-phys.org spinmc_factory.C) To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/290072/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
