public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/57497] New: ICE in lra_create_new_reg_with_unique_value, at  lra.c:155
@ 2013-06-01  8:55 antoine.balestrat at gmail dot com
  2013-06-03  8:47 ` [Bug rtl-optimization/57497] [4.9 Regression] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: antoine.balestrat at gmail dot com @ 2013-06-01  8:55 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 57497
           Summary: ICE in lra_create_new_reg_with_unique_value, at
                    lra.c:155
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: antoine.balestrat at gmail dot com

Hello !
The following testcase makes GCC 4.9.0 as of 20130601 ICE at -O3.

$ cat lra.c
int a, b;

void f(void)
{
    for(;; a++)
        if(0)
        {
            int *q;
lbl1:
            ;
            char **p = 0;
lbl2:
            while(**p)
                1 & **p ? : (b = 0);
            p = &q;
        }

        else
        {
            long **t, c = 2200000000;

            if(b)
            {
                *t = &c;
                goto lbl1;
            }

            goto lbl2;
        }
}

$ xgcc -O3 -w lra.c
lra.c: In function ‘f’:
lra.c:30:1: internal compiler error: in lra_create_new_reg_with_unique_value,
at 
lra.c:155
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
>From gcc-bugs-return-423635-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 01 09:40:44 2013
Return-Path: <gcc-bugs-return-423635-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14613 invoked by alias); 1 Jun 2013 09:40:44 -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 14567 invoked by uid 48); 1 Jun 2013 09:40:41 -0000
From: "burnus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/57496] I/O: WRITE(*,*) HUGE(0_16) [REAL(10)+REAL(16)]: Gives SIGFPE with -ffpe-trap=overflow
Date: Sat, 01 Jun 2013 09:40: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: 4.9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: burnus at gcc dot gnu.org
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:
Message-ID: <bug-57496-4-Frq8lAGH7I@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57496-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57496-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/msg00014.txt.bz2
Content-length: 363

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

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to Tobias Burnus from comment #0)
> +       sign_bit = SIGNBIT (x,tmp);\
> +       if (!ISFINITE (x,tmp))\
> +           write_infnan (dtp, f, ISNAN (x,tmp), sign_bit);\

I was too hasty: It should be "y," not "x," in the lines above.


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

* [Bug rtl-optimization/57497] [4.9 Regression] ICE in lra_create_new_reg_with_unique_value, at  lra.c:155
  2013-06-01  8:55 [Bug tree-optimization/57497] New: ICE in lra_create_new_reg_with_unique_value, at lra.c:155 antoine.balestrat at gmail dot com
@ 2013-06-03  8:47 ` rguenth at gcc dot gnu.org
  2013-06-03 12:33 ` mpolacek at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-06-03  8:47 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x86_64-*-*
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-06-03
      Known to work|                            |4.8.1
   Target Milestone|---                         |4.9.0
            Summary|ICE in                      |[4.9 Regression] ICE in
                   |lra_create_new_reg_with_uni |lra_create_new_reg_with_uni
                   |que_value, at  lra.c:155    |que_value, at  lra.c:155
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.


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

* [Bug rtl-optimization/57497] [4.9 Regression] ICE in lra_create_new_reg_with_unique_value, at  lra.c:155
  2013-06-01  8:55 [Bug tree-optimization/57497] New: ICE in lra_create_new_reg_with_unique_value, at lra.c:155 antoine.balestrat at gmail dot com
  2013-06-03  8:47 ` [Bug rtl-optimization/57497] [4.9 Regression] " rguenth at gcc dot gnu.org
@ 2013-06-03 12:33 ` mpolacek at gcc dot gnu.org
  2013-06-22  9:36 ` antoine.balestrat at gmail dot com
  2013-10-30 12:37 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2013-06-03 12:33 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org,
                   |                            |vmakarov at gcc dot gnu.org

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Started with http://gcc.gnu.org/r199298


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

* [Bug rtl-optimization/57497] [4.9 Regression] ICE in lra_create_new_reg_with_unique_value, at  lra.c:155
  2013-06-01  8:55 [Bug tree-optimization/57497] New: ICE in lra_create_new_reg_with_unique_value, at lra.c:155 antoine.balestrat at gmail dot com
  2013-06-03  8:47 ` [Bug rtl-optimization/57497] [4.9 Regression] " rguenth at gcc dot gnu.org
  2013-06-03 12:33 ` mpolacek at gcc dot gnu.org
@ 2013-06-22  9:36 ` antoine.balestrat at gmail dot com
  2013-10-30 12:37 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: antoine.balestrat at gmail dot com @ 2013-06-22  9:36 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Antoine Balestrat <antoine.balestrat at gmail dot com> ---
This bug looks unreproducible with the current trunk.


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

* [Bug rtl-optimization/57497] [4.9 Regression] ICE in lra_create_new_reg_with_unique_value, at  lra.c:155
  2013-06-01  8:55 [Bug tree-optimization/57497] New: ICE in lra_create_new_reg_with_unique_value, at lra.c:155 antoine.balestrat at gmail dot com
                   ` (2 preceding siblings ...)
  2013-06-22  9:36 ` antoine.balestrat at gmail dot com
@ 2013-10-30 12:37 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-10-30 12:37 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Assuming fixed.


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

end of thread, other threads:[~2013-10-30 12:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-01  8:55 [Bug tree-optimization/57497] New: ICE in lra_create_new_reg_with_unique_value, at lra.c:155 antoine.balestrat at gmail dot com
2013-06-03  8:47 ` [Bug rtl-optimization/57497] [4.9 Regression] " rguenth at gcc dot gnu.org
2013-06-03 12:33 ` mpolacek at gcc dot gnu.org
2013-06-22  9:36 ` antoine.balestrat at gmail dot com
2013-10-30 12:37 ` 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).