public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/96206] New: internal compiler error: in convert_move, at expr.c:218
@ 2020-07-15 14:35 enrico at enricozini dot org
  2020-07-23 10:52 ` [Bug target/96206] " marxin at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: enrico at enricozini dot org @ 2020-07-15 14:35 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 96206
           Summary: internal compiler error: in convert_move, at
                    expr.c:218
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: enrico at enricozini dot org
  Target Milestone: ---

Created attachment 48878
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48878&action=edit
File that causes the ICE, preprocessed

Hello,

thank you all for g++!

I get an ICE while trying to cross-compile the attached file with -O2:

$ /usr/bin/arm-linux-gnueabihf-g++    -O2   -c gcc-ice.cc -o /tmp/gcc-ice.o
during RTL pass: expand
gcc-ice.cc: In function ‘void baseline::exec_ops(const Op*, const void**, const
char*, char*, int)’:
gcc-ice.cc:5142:13: internal compiler error: in convert_move, at expr.c:218
 static void exec_ops(const Op* ops, const void** args,
             ^~~~~~~~
0x7ff9d453c09a __libc_start_main
        ../csu/libc-start.c:308
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-8/README.Bugs> for instructions.

$ /usr/bin/arm-linux-gnueabihf-g++ --version
arm-linux-gnueabihf-g++ (Debian 8.3.0-2) 8.3.0


The source compiles fine with g++ 9.2.1.


Regards,

Enrico

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

* [Bug target/96206] internal compiler error: in convert_move, at expr.c:218
  2020-07-15 14:35 [Bug c++/96206] New: internal compiler error: in convert_move, at expr.c:218 enrico at enricozini dot org
@ 2020-07-23 10:52 ` marxin at gcc dot gnu.org
  2020-07-26 12:11 ` enrico at enricozini dot org
  2020-07-29  9:08 ` marxin at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-07-23 10:52 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org
   Last reconfirmed|                            |2020-07-23
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |WAITING

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
I can't reproduce that with the current GCC 8 branch.
Can you please check 8.4.0 release?

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

* [Bug target/96206] internal compiler error: in convert_move, at expr.c:218
  2020-07-15 14:35 [Bug c++/96206] New: internal compiler error: in convert_move, at expr.c:218 enrico at enricozini dot org
  2020-07-23 10:52 ` [Bug target/96206] " marxin at gcc dot gnu.org
@ 2020-07-26 12:11 ` enrico at enricozini dot org
  2020-07-29  9:08 ` marxin at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: enrico at enricozini dot org @ 2020-07-26 12:11 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Enrico Zini <enrico at enricozini dot org> ---
Unfortunately I do not have access to gcc 8.4.0.

I also found a workaround for the ICE that allowed me to unblock the next step
of an immense yak shaving quest to compile Qt5:
https://www.enricozini.org/blog/2020/qt5/build-qt5-cross-builder-with-raspbian-sysroot-compiling-with-the-sysroot/

I can try to provide help here if I can, but if it's fixed in 9.x and
apparently also in 8.4.x, and the case where it happens (building a Qt5
cross-build environment including qtwebengine on Debian stable) can be worked
around that easily, I might not have that much energy to invest following this
up.

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

* [Bug target/96206] internal compiler error: in convert_move, at expr.c:218
  2020-07-15 14:35 [Bug c++/96206] New: internal compiler error: in convert_move, at expr.c:218 enrico at enricozini dot org
  2020-07-23 10:52 ` [Bug target/96206] " marxin at gcc dot gnu.org
  2020-07-26 12:11 ` enrico at enricozini dot org
@ 2020-07-29  9:08 ` marxin at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-07-29  9:08 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Enrico Zini from comment #2)
> Unfortunately I do not have access to gcc 8.4.0.
> 
> I also found a workaround for the ICE that allowed me to unblock the next
> step of an immense yak shaving quest to compile Qt5:
> https://www.enricozini.org/blog/2020/qt5/build-qt5-cross-builder-with-
> raspbian-sysroot-compiling-with-the-sysroot/
> 
> I can try to provide help here if I can, but if it's fixed in 9.x and
> apparently also in 8.4.x, and the case where it happens (building a Qt5
> cross-build environment including qtwebengine on Debian stable) can be
> worked around that easily, I might not have that much energy to invest
> following this up.

Agree. I'm pretty sure the issue is fixed in newer versions of the GCC.
Feel free to reopen the issue if that isn't the case.

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

end of thread, other threads:[~2020-07-29  9:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-15 14:35 [Bug c++/96206] New: internal compiler error: in convert_move, at expr.c:218 enrico at enricozini dot org
2020-07-23 10:52 ` [Bug target/96206] " marxin at gcc dot gnu.org
2020-07-26 12:11 ` enrico at enricozini dot org
2020-07-29  9:08 ` marxin 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).