public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/56847] New: '-fpie' triggers - internal compiler error: in gen_add2_insn, at optabs.c:4705
@ 2013-04-04 23:30 shenhan at google dot com
  2013-04-05  5:07 ` [Bug rtl-optimization/56847] " mpolacek at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: shenhan at google dot com @ 2013-04-04 23:30 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 56847
           Summary: '-fpie' triggers - internal compiler error: in
                    gen_add2_insn, at optabs.c:4705
    Classification: Unclassified
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: shenhan@google.com


System - Ubuntu 12.04 64 bit.
GCC configuration - configure --disable-bootstrap --enable-languages='c,c++'
How to reproduce - 
 gcc -fpie -c -O2 case.c

Error message I got -

case.c: In function ‘get_clock’:
case.c:20:1: internal compiler error: in gen_add2_insn, at optabs.c:4705
 }
 ^
0x735e4b gen_add2_insn(rtx_def*, rtx_def*)
        ../../gcc.svn/gcc-4_8-branch/gcc/optabs.c:4705
0x7037f5 lra_emit_add(rtx_def*, rtx_def*, rtx_def*)
        ../../gcc.svn/gcc-4_8-branch/gcc/lra.c:313
0x7119a5 curr_insn_transform
        ../../gcc.svn/gcc-4_8-branch/gcc/lra-constraints.c:3082
0x712224 lra_constraints(bool)
        ../../gcc.svn/gcc-4_8-branch/gcc/lra-constraints.c:3613
0x705a2a lra(_IO_FILE*)
        ../../gcc.svn/gcc-4_8-branch/gcc/lra.c:2278
0x6d0820 do_reload
        ../../gcc.svn/gcc-4_8-branch/gcc/ira.c:4619
0x6d0820 rest_of_handle_reload
        ../../gcc.svn/gcc-4_8-branch/gcc/ira.c:4731
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.
>From gcc-bugs-return-419312-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 04 23:31:07 2013
Return-Path: <gcc-bugs-return-419312-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9532 invoked by alias); 4 Apr 2013 23:31:07 -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 9502 invoked by uid 48); 4 Apr 2013 23:31:02 -0000
From: "shenhan at google dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/56847] '-fpie' triggers - internal compiler error: in gen_add2_insn, at optabs.c:4705
Date: Thu, 04 Apr 2013 23:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: shenhan at google dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields:
Message-ID: <bug-56847-4-Jic1twBwyr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-56847-4@http.gcc.gnu.org/bugzilla/>
References: <bug-56847-4@http.gcc.gnu.org/bugzilla/>
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
X-SW-Source: 2013-04/txt/msg00457.txt.bz2
Content-length: 237


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

--- Comment #1 from Han Shen <shenhan at google dot com> 2013-04-04 23:31:02 UTC ---
Created attachment 29807
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id)807
test case


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

end of thread, other threads:[~2013-05-02 19:31 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-04 23:30 [Bug rtl-optimization/56847] New: '-fpie' triggers - internal compiler error: in gen_add2_insn, at optabs.c:4705 shenhan at google dot com
2013-04-05  5:07 ` [Bug rtl-optimization/56847] " mpolacek at gcc dot gnu.org
2013-04-05  5:07 ` mpolacek at gcc dot gnu.org
2013-04-05  5:28 ` [Bug target/56847] " mpolacek at gcc dot gnu.org
2013-04-05  5:54 ` mpolacek at gcc dot gnu.org
2013-04-05  6:11 ` [Bug target/56847] [4.8/4.9 Regression] " jakub at gcc dot gnu.org
2013-04-05  6:14 ` [Bug rtl-optimization/56847] " ubizjak at gmail dot com
2013-04-06  3:43 ` vmakarov at redhat dot com
2013-04-17 23:42 ` shenhan at google dot com
2013-04-18 20:10 ` vmakarov at redhat dot com
2013-04-26 18:08 ` [Bug rtl-optimization/56847] [4.8 " jakub at gcc dot gnu.org
2013-05-02 19:31 ` 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).