public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/57676] New: ICE: Maximum number of LRA constraint passes is achieved (30)
@ 2013-06-22 15:38 antoine.balestrat at gmail dot com
  2013-06-24 10:50 ` [Bug rtl-optimization/57676] [4.8/4.9 Regression] " rguenth at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: antoine.balestrat at gmail dot com @ 2013-06-22 15:38 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 3478 bytes --]

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

            Bug ID: 57676
           Summary: ICE: Maximum number of LRA constraint passes is
                    achieved (30)
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: antoine.balestrat at gmail dot com

Using GCC 4.9.0 as of 20130622 :

$ cat lra.c
int a, b, c;

void f(p1)
{
    for(;;)
    {
        if(p1 ? : (c /= 0))
        {
            int d;

            for(; d; d++)
            {
                for(b = 0; b < 4; b++)
                    p1 /= p1;
lbl:
                while(a);
            }
        }

        if((c &= 1))
            goto lbl;
    }
}

$ xgcc -w -O2 -funroll-loops lra.c
lra.c: In function ‘f’:
lra.c:23:1: internal compiler error: Maximum number of LRA constraint passes is
achieved (30)

 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
>From gcc-bugs-return-424845-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 22 16:40:06 2013
Return-Path: <gcc-bugs-return-424845-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8904 invoked by alias); 22 Jun 2013 16:40:06 -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 8833 invoked by uid 48); 22 Jun 2013 16:39:58 -0000
From: "schlaffi at users dot sourceforge.net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/57674] wrong distribution for  std::binomial_distribution::operator()(g,param)
Date: Sat, 22 Jun 2013 16:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: lno
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: schlaffi at users dot sourceforge.net
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: attachments.created
Message-ID: <bug-57674-4-MTMouK9Scy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57674-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57674-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-06/txt/msg01224.txt.bz2
Content-length: 466

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

--- Comment #2 from schlaffi at users dot sourceforge.net ---
Created attachment 30338
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id0338&actioníit
corrected version of the example file

sorry, forgot one line, the output should be

distribution 1: p = 0.8, f = 0.798828
distribution 2: p = 0.3, f = 0.206055

(bad) vs.

distribution 1: p = 0.8, f = 0.793945
distribution 2: p = 0.3, f = 0.308594

(good)


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

end of thread, other threads:[~2015-06-26 20:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-22 15:38 [Bug rtl-optimization/57676] New: ICE: Maximum number of LRA constraint passes is achieved (30) antoine.balestrat at gmail dot com
2013-06-24 10:50 ` [Bug rtl-optimization/57676] [4.8/4.9 Regression] " rguenth at gcc dot gnu.org
2013-06-27 16:41 ` vmakarov at gcc dot gnu.org
2013-10-16  9:51 ` jakub at gcc dot gnu.org
2013-10-30 13:01 ` rguenth at gcc dot gnu.org
2014-05-22  9:07 ` [Bug rtl-optimization/57676] [4.8/4.9/4.10 " rguenth at gcc dot gnu.org
2014-12-19 13:34 ` [Bug rtl-optimization/57676] [4.8/4.9/5 " jakub at gcc dot gnu.org
2015-06-23  8:28 ` [Bug rtl-optimization/57676] [4.8/4.9/5/6 " rguenth at gcc dot gnu.org
2015-06-26 20:02 ` [Bug rtl-optimization/57676] [4.9/5/6 " jakub at gcc dot gnu.org
2015-06-26 20:32 ` jakub 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).