public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/97275] New: Linux kernel cgroup.c internal compiler error (ICE).
@ 2020-10-02 22:01 dr.duncan.p.simpson at gmail dot com
  2020-10-04 16:55 ` [Bug rtl-optimization/97275] " dr.duncan.p.simpson at gmail dot com
  2020-10-05  8:12 ` acoplan at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: dr.duncan.p.simpson at gmail dot com @ 2020-10-02 22:01 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 97275
           Summary: Linux kernel cgroup.c internal compiler error (ICE).
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dr.duncan.p.simpson at gmail dot com
  Target Milestone: ---
              Host: amd64-linux-gnu
            Target: aarch64-linux-gnu
             Build: 11.0.0 20201002

Created attachment 49303
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49303&action=edit
cgroup.c reduced to compiler ICE generator

The attached file is a reduced version, which tickles the bug for me. Note that
not using -fno-strict-overflow or most other minor changes eliminate the ICE.

In the original version of cgroup.c many of the things which are compile time
constants in my version are values the compiler might not be able to reason
about.

dps@dps-laptop:~/src/kernel/foo$ aarch64-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=aarch64-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/aarch64-linux-gnu/11.0.0/lto-wrapper
Target: aarch64-linux-gnu
Configured with: ../gcc/configure --enable-shared --enable-lto
--enable-languages=all --target=aarch64-linux-gnu
--program-prefix=aarch64-linux-gnu- --with-sysroot=/ --enable-host-shared
--enable-host-lto --with-as=/usr/aarch64-linux-gnu/bin/as
--with-ld=/usr/aarch64-linux-gnu/bin/ld --with-ar=/usr/aarch64-linux-gnu/bin/ar
--with-ranlib=/usr/aarch64-linux-gnu/bin/ranlib : (reconfigured)
../gcc/configure --enable-shared --enable-lto --enable-languages=all
--target=aarch64-linux-gnu --program-prefix=aarch64-linux-gnu- --with-sysroot=/
--enable-host-shared --enable-host-lto --with-as=/usr/aarch64-linux-gnu/bin/as
--with-ld=/usr/aarch64-linux-gnu/bin/ld --with-ar=/usr/aarch64-linux-gnu/bin/ar
--with-ranlib=/usr/aarch64-linux-gnu/bin/ranlib
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 11.0.0 20201002 (experimental) (GCC)

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

* [Bug rtl-optimization/97275] Linux kernel cgroup.c internal compiler error (ICE).
  2020-10-02 22:01 [Bug rtl-optimization/97275] New: Linux kernel cgroup.c internal compiler error (ICE) dr.duncan.p.simpson at gmail dot com
@ 2020-10-04 16:55 ` dr.duncan.p.simpson at gmail dot com
  2020-10-05  8:12 ` acoplan at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: dr.duncan.p.simpson at gmail dot com @ 2020-10-04 16:55 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Duncan Simpson <dr.duncan.p.simpson at gmail dot com> ---
Further information: if I use the same compiler version but a x86_64-linux-gnu
version then I get a message from the assembler telling me than the strlr
instruction is not supported but no ICE.

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

* [Bug rtl-optimization/97275] Linux kernel cgroup.c internal compiler error (ICE).
  2020-10-02 22:01 [Bug rtl-optimization/97275] New: Linux kernel cgroup.c internal compiler error (ICE) dr.duncan.p.simpson at gmail dot com
  2020-10-04 16:55 ` [Bug rtl-optimization/97275] " dr.duncan.p.simpson at gmail dot com
@ 2020-10-05  8:12 ` acoplan at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: acoplan at gcc dot gnu.org @ 2020-10-05  8:12 UTC (permalink / raw)
  To: gcc-bugs

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

Alex Coplan <acoplan at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |acoplan at gcc dot gnu.org
         Resolution|---                         |DUPLICATE

--- Comment #2 from Alex Coplan <acoplan at gcc dot gnu.org> ---
Dup.

*** This bug has been marked as a duplicate of bug 96998 ***

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

end of thread, other threads:[~2020-10-05  8:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-02 22:01 [Bug rtl-optimization/97275] New: Linux kernel cgroup.c internal compiler error (ICE) dr.duncan.p.simpson at gmail dot com
2020-10-04 16:55 ` [Bug rtl-optimization/97275] " dr.duncan.p.simpson at gmail dot com
2020-10-05  8:12 ` acoplan 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).