public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "zeccav at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/59776] New: gcc -g -O1 ICE in expand_debug_locations, at cfgexpand.c:3865
Date: Sun, 12 Jan 2014 17:35:00 -0000	[thread overview]
Message-ID: <bug-59776-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 59776
           Summary: gcc -g -O1 ICE in expand_debug_locations, at
                    cfgexpand.c:3865
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zeccav at gmail dot com

/* gcc -g -O1 ICE in expand_debug_locations, at cfgexpand.c:3865 */
/* gcc 4.8.2-7 20131212 */
typedef struct {
  float re,im;
} Complex;
void sub_(Complex *var_Dummy)
{
Complex var_;
auto Complex dummy_;
var_ =  *var_Dummy;
 *(((int *)&(dummy_.re))) = 0;
 *(((int *)&(dummy_.im))) = 0;
dummy_ = var_;
}
/*
gccerr8.c: In function ‘sub_’:
gccerr8.c:6:6: internal compiler error: in expand_debug_locations, at
cfgexpand.c:3865
 void sub_(var_Dummy)
      ^
Please submit a full bug report, with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccrC9Ofk.out file, please attach this to
your bugreport.

// /usr/libexec/gcc/x86_64-redhat-linux/4.8.2/cc1 -quiet gccerr8.c -quiet
-dumpbase gccerr8.c -mtune=generic -march=x86-64 -auxbase gccerr8 -g -O1 -o -
-frandom-seed=0
# 1 "gccerr8.c"
# 1 "/home/vitti/f95/cc//"
# 1 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 1 "<command-line>" 2
# 1 "gccerr8.c"
typedef struct {
  float re,im;
} Complex;
void sub_(Complex *var_Dummy)
{
Complex var_;
auto Complex dummy_;
var_ = *var_Dummy;
 *(((int *)&(dummy_.re))) = 0;
 *(((int *)&(dummy_.im))) = 0;
dummy_ = var_;
}
*/
>From gcc-bugs-return-440138-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jan 12 18:02:39 2014
Return-Path: <gcc-bugs-return-440138-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11622 invoked by alias); 12 Jan 2014 18:02:38 -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 11586 invoked by uid 48); 12 Jan 2014 18:02:35 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/59776] [4.8/4.9 Regression] gcc -g -O1 ICE in expand_debug_locations, at cfgexpand.c:3865
Date: Sun, 12 Jan 2014 18:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 4.8.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc component target_milestone short_desc everconfirmed
Message-ID: <bug-59776-4-hbnRXkJFCM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59776-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59776-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: 2014-01/txt/msg01280.txt.bz2
Content-length: 953

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-01-12
                 CC|                            |mpolacek at gcc dot gnu.org
          Component|c                           |middle-end
   Target Milestone|---                         |4.8.4
            Summary|gcc -g -O1 ICE in           |[4.8/4.9 Regression] gcc -g
                   |expand_debug_locations, at  |-O1 ICE in
                   |cfgexpand.c:3865            |expand_debug_locations, at
                   |                            |cfgexpand.c:3865
     Ever confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed.


             reply	other threads:[~2014-01-12 17:35 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-12 17:35 zeccav at gmail dot com [this message]
2014-01-12 18:19 ` [Bug middle-end/59776] [4.8/4.9 Regression] " mpolacek at gcc dot gnu.org
2014-01-12 20:38 ` zeccav at gmail dot com
2014-01-12 21:48 ` mpolacek at gcc dot gnu.org
2014-01-13  6:57 ` zeccav at gmail dot com
2014-01-13 22:47 ` mpolacek at gcc dot gnu.org
2014-01-31 11:31 ` rguenth at gcc dot gnu.org
2014-02-06 16:58 ` mpolacek at gcc dot gnu.org
2014-02-07 19:36 ` rth at gcc dot gnu.org
2014-02-11 13:49 ` jakub at gcc dot gnu.org
2014-02-11 14:11 ` jamborm at gcc dot gnu.org
2014-02-11 14:37 ` rth at gcc dot gnu.org
2014-02-11 14:42 ` jakub at gcc dot gnu.org
2014-02-11 14:47 ` rth at gcc dot gnu.org
2014-02-11 17:47 ` jakub at gcc dot gnu.org
2014-02-11 17:48 ` [Bug middle-end/59776] [4.8 " jakub at gcc dot gnu.org
2014-03-06  8:00 ` jakub at gcc dot gnu.org
2014-03-06  8:28 ` jakub 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-59776-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).