public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/110923] New: gcc c,c++ ftbfs on ppc64le
@ 2023-08-06 21:16 gaius at gcc dot gnu.org
  2023-08-06 21:22 ` [Bug tree-optimization/110923] [14 Regression] with-build-config=bootstrap-lto-lean ICEs during build during lsplit pass pinskia at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: gaius at gcc dot gnu.org @ 2023-08-06 21:16 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 110923
           Summary: gcc c,c++ ftbfs on ppc64le
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gaius at gcc dot gnu.org
  Target Milestone: ---

gcc-14 FTBFS on ppc64le (lto) (gcc120.fsffrance.org for reference).

Configured with 

$ ../configure --prefix=/home/gaius/opt --libexecdir=/home/gaius/opt/lib
--enable-host-shared --enable-threads=posix --enable-clocale=gnu
--enable-checking --enable-long-longx --enable-languages=c,c++,fortran,lto
--with-build-config=bootstrap-lto-lean --disable-multilib --enable-bootstrap

/home/gaius/GCC/gcc-read-write/build/./prev-gcc/xg++
-B/home/gaius/GCC/gcc-read-write/build/./prev-gcc/
-B/home/gaius/opt/powerpc64le-unknown-linux-gnu/bin/ -nostdinc++
-B/home/gaius/GCC/gcc-read-write/build/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/home/gaius/GCC/gcc-read-write/build/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs

-I/home/gaius/GCC/gcc-read-write/build/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu

-I/home/gaius/GCC/gcc-read-write/build/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/include
 -I/home/gaius/GCC/gcc-read-write/libstdc++-v3/libsupc++
-L/home/gaius/GCC/gcc-read-write/build/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/home/gaius/GCC/gcc-read-write/build/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-no-pie   -g -O2 -fprofile-use -fprofile-reproducible=parallel-runs
-flto=jobserver -DIN_GCC    -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Wconditionally-supported
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -no-pie -static-libstdc++
-static-libgcc  -o cc1 c/c-lang.o c-family/stub-objc.o attribs.o c/c-errors.o
c/c-decl.o c/c-typeck.o c/c-convert.o c/c-aux-info.o c/c-objc-common.o
c/c-parser.o c/c-fold.o c/gimple-parser.o c-family/c-common.o
c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o
c-family/c-gimplify.o c-family/c-indentation.o c-family/c-lex.o
c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o
c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o
c-family/c-ada-spec.o c-family/c-ubsan.o c-family/known-headers.o
c-family/c-attribs.o c-family/c-warn.o c-family/c-spellcheck.o glibc-c.o
rs6000-c.o \
  cc1-checksum.o libbackend.a main.o libcommon-target.a libcommon.a
../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a
../libcpp/libcpp.a   ../libbacktrace/.libs/libbacktrace.a
../libiberty/pic/libiberty.a ../libdecnumber/libdecnumber.a 
-L/home/gaius/GCC/gcc-read-write/build/./isl/.libs  -lisl
-L/home/gaius/GCC/gcc-read-write/build/./gmp/.libs
-L/home/gaius/GCC/gcc-read-write/build/./mpfr/src/.libs
-L/home/gaius/GCC/gcc-read-write/build/./mpc/src/.libs -lmpc -lmpfr -lgmp
-rdynamic  -L./../zlib -lz -lzstd 
lto-wrapper: warning: jobserver is not available: ‘--jobserver-auth=’ is not
present in ‘MAKEFLAGS’
lto-wrapper: note: see the ‘-flto’ option documentation for more information
../gmp/../../gmp/primesieve.c: In function ‘first_block_primesieve’:
../gmp/../../gmp/primesieve.c:269:25: warning: ‘i’ may be used uninitialized
[-Wmaybe-uninitialized]
  269 |     mask = CNST_LIMB(1) << i;
      |                         ^
../gmp/../../gmp/primesieve.c:248:13: note: ‘i’ was declared here
  248 |   mp_limb_t i;
      |             ^
during GIMPLE pass: lsplit
../../gcc/dse.cc: In function ‘record_store’:
../../gcc/dse.cc:1359: internal compiler error: in operator/, at sreal.cc:261
 1359 | record_store (rtx body, bb_info_t bb_info)
      | 
0x10af1f33 sreal::operator/(sreal const&) const
        ../../gcc/sreal.cc:261
0x10af1f33 sreal::operator/(sreal const&) const
        ../../gcc/sreal.cc:259
0x10d6b09f split_loop
        ../../gcc/tree-ssa-loop-split.cc:719
0x10d6bfd3 tree_ssa_split_loops
        ../../gcc/tree-ssa-loop-split.cc:1769
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
make[4]: *** [/tmp/ccitBxAD.mk:203: /tmp/ccUerv1d.ltrans67.ltrans.o] Error 1

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

* [Bug tree-optimization/110923] [14 Regression] with-build-config=bootstrap-lto-lean ICEs during build during lsplit pass
  2023-08-06 21:16 [Bug target/110923] New: gcc c,c++ ftbfs on ppc64le gaius at gcc dot gnu.org
@ 2023-08-06 21:22 ` pinskia at gcc dot gnu.org
  2023-08-10 18:56 ` [Bug tree-optimization/110923] [14 Regression] with-build-config=bootstrap-lto-lean and `make profile-bootstrap` " pinskia at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-08-06 21:22 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|gcc c,c++ ftbfs on ppc64le  |[14 Regression]
                   |                            |with-build-config=bootstrap
                   |                            |-lto-lean ICEs during build
                   |                            |during lsplit pass
   Target Milestone|---                         |14.0
             Target|                            |powerpc64le-unknown-linux-g
                   |                            |nu
          Component|target                      |tree-optimization
           Keywords|                            |build, ice-on-valid-code

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

* [Bug tree-optimization/110923] [14 Regression] with-build-config=bootstrap-lto-lean and `make profile-bootstrap` ICEs during build during lsplit pass
  2023-08-06 21:16 [Bug target/110923] New: gcc c,c++ ftbfs on ppc64le gaius at gcc dot gnu.org
  2023-08-06 21:22 ` [Bug tree-optimization/110923] [14 Regression] with-build-config=bootstrap-lto-lean ICEs during build during lsplit pass pinskia at gcc dot gnu.org
@ 2023-08-10 18:56 ` pinskia at gcc dot gnu.org
  2023-08-10 22:23 ` cvs-commit at gcc dot gnu.org
  2023-08-15 13:33 ` hubicka at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-08-10 18:56 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note PR 110971 might contain a reduced testcase ...

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

* [Bug tree-optimization/110923] [14 Regression] with-build-config=bootstrap-lto-lean and `make profile-bootstrap` ICEs during build during lsplit pass
  2023-08-06 21:16 [Bug target/110923] New: gcc c,c++ ftbfs on ppc64le gaius at gcc dot gnu.org
  2023-08-06 21:22 ` [Bug tree-optimization/110923] [14 Regression] with-build-config=bootstrap-lto-lean ICEs during build during lsplit pass pinskia at gcc dot gnu.org
  2023-08-10 18:56 ` [Bug tree-optimization/110923] [14 Regression] with-build-config=bootstrap-lto-lean and `make profile-bootstrap` " pinskia at gcc dot gnu.org
@ 2023-08-10 22:23 ` cvs-commit at gcc dot gnu.org
  2023-08-15 13:33 ` hubicka at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-08-10 22:23 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jan Hubicka <hubicka@gcc.gnu.org>:

https://gcc.gnu.org/g:39204ae9ddbfca710880d7f5fda48234a1e85e4e

commit r14-3133-g39204ae9ddbfca710880d7f5fda48234a1e85e4e
Author: Jan Hubicka <jh@suse.cz>
Date:   Fri Aug 11 00:23:14 2023 +0200

    Fix division by zero in loop splitting

    Profile update I added to tree-ssa-loop-split can divide by zero in
    situation that the conditional is predicted with 0 probability which
    is triggered by jump threading update in the testcase.

    gcc/ChangeLog:

            PR middle-end/110923
            * tree-ssa-loop-split.cc (split_loop): Watch for division by zero.

    gcc/testsuite/ChangeLog:

            PR middle-end/110923
            * gcc.dg/tree-ssa/pr110923.c: New test.

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

* [Bug tree-optimization/110923] [14 Regression] with-build-config=bootstrap-lto-lean and `make profile-bootstrap` ICEs during build during lsplit pass
  2023-08-06 21:16 [Bug target/110923] New: gcc c,c++ ftbfs on ppc64le gaius at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2023-08-10 22:23 ` cvs-commit at gcc dot gnu.org
@ 2023-08-15 13:33 ` hubicka at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: hubicka at gcc dot gnu.org @ 2023-08-15 13:33 UTC (permalink / raw)
  To: gcc-bugs

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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

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

--- Comment #3 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Fixed.

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

end of thread, other threads:[~2023-08-15 13:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-06 21:16 [Bug target/110923] New: gcc c,c++ ftbfs on ppc64le gaius at gcc dot gnu.org
2023-08-06 21:22 ` [Bug tree-optimization/110923] [14 Regression] with-build-config=bootstrap-lto-lean ICEs during build during lsplit pass pinskia at gcc dot gnu.org
2023-08-10 18:56 ` [Bug tree-optimization/110923] [14 Regression] with-build-config=bootstrap-lto-lean and `make profile-bootstrap` " pinskia at gcc dot gnu.org
2023-08-10 22:23 ` cvs-commit at gcc dot gnu.org
2023-08-15 13:33 ` hubicka 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).