public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/64152] New: internal compiler error: in gen_add2_insn
@ 2014-12-02 14:11 rguenth at gcc dot gnu.org
  2014-12-02 14:17 ` [Bug target/64152] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-12-02 14:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64152

            Bug ID: 64152
           Summary: internal compiler error: in gen_add2_insn
           Product: gcc
           Version: 4.9.3
            Status: UNCONFIRMED
          Keywords: ra
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
            Target: aarch64

Created attachment 34163
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34163&action=edit
preprocessed testcase

When compiling the attached testcase with

  -O -fPIC -fstack-protector -fomit-frame-pointer -mno-lra

I get

gen/wxe_funcs.cpp:31754:2: internal compiler error: in gen_add2_insn, at
optabs.c:4719
0xac23bb gen_add2_insn(rtx_def*, rtx_def*)
        /space/rguenther/src/svn/gcc-4_9-branch/gcc/optabs.c:4719
0xb1dbd8 gen_reload
        /space/rguenther/src/svn/gcc-4_9-branch/gcc/reload1.c:8713
0xb23327 emit_input_reload_insns
        /space/rguenther/src/svn/gcc-4_9-branch/gcc/reload1.c:7669
0xb23327 do_input_reload
        /space/rguenther/src/svn/gcc-4_9-branch/gcc/reload1.c:7955
0xb23327 emit_reload_insns
        /space/rguenther/src/svn/gcc-4_9-branch/gcc/reload1.c:8147
0xb23327 reload_as_needed
        /space/rguenther/src/svn/gcc-4_9-branch/gcc/reload1.c:4665
0xb27800 reload(rtx_def*, int)
        /space/rguenther/src/svn/gcc-4_9-branch/gcc/reload1.c:1037
0xa2b588 do_reload
        /space/rguenther/src/svn/gcc-4_9-branch/gcc/ira.c:5469
0xa2b588 rest_of_handle_reload
        /space/rguenther/src/svn/gcc-4_9-branch/gcc/ira.c:5598
0xa2b588 execute
        /space/rguenther/src/svn/gcc-4_9-branch/gcc/ira.c:5627
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.

this also happens on the 4.8 branch if you backport stack-protector support
and without -mno-lra (reload is still the default there).

On trunk things have rotted faster and I run into PR64149.


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

* [Bug target/64152] internal compiler error: in gen_add2_insn
  2014-12-02 14:11 [Bug target/64152] New: internal compiler error: in gen_add2_insn rguenth at gcc dot gnu.org
@ 2014-12-02 14:17 ` rguenth at gcc dot gnu.org
  2014-12-02 15:22 ` ktkachov at gcc dot gnu.org
  2014-12-02 15:22 ` ktkachov at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-12-02 14:17 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64152

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Compile with cc1plus, it's a C++ testcase.


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

* [Bug target/64152] internal compiler error: in gen_add2_insn
  2014-12-02 14:11 [Bug target/64152] New: internal compiler error: in gen_add2_insn rguenth at gcc dot gnu.org
  2014-12-02 14:17 ` [Bug target/64152] " rguenth at gcc dot gnu.org
@ 2014-12-02 15:22 ` ktkachov at gcc dot gnu.org
  2014-12-02 15:22 ` ktkachov at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2014-12-02 15:22 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64152

ktkachov at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2014-12-2
                 CC|                            |ktkachov at gcc dot gnu.org

--- Comment #2 from ktkachov at gcc dot gnu.org ---
Confirmed FWIW.


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

* [Bug target/64152] internal compiler error: in gen_add2_insn
  2014-12-02 14:11 [Bug target/64152] New: internal compiler error: in gen_add2_insn rguenth at gcc dot gnu.org
  2014-12-02 14:17 ` [Bug target/64152] " rguenth at gcc dot gnu.org
  2014-12-02 15:22 ` ktkachov at gcc dot gnu.org
@ 2014-12-02 15:22 ` ktkachov at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2014-12-02 15:22 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64152

ktkachov at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1


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

end of thread, other threads:[~2014-12-02 15:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-02 14:11 [Bug target/64152] New: internal compiler error: in gen_add2_insn rguenth at gcc dot gnu.org
2014-12-02 14:17 ` [Bug target/64152] " rguenth at gcc dot gnu.org
2014-12-02 15:22 ` ktkachov at gcc dot gnu.org
2014-12-02 15:22 ` ktkachov 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).