public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/110697] New: [14 Regression] bootstrap failure on
@ 2023-07-17  6:36 slyfox at gcc dot gnu.org
  2023-07-17  7:43 ` [Bug middle-end/110697] " pinskia at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: slyfox at gcc dot gnu.org @ 2023-07-17  6:36 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 110697
           Summary: [14 Regression] bootstrap failure on
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: slyfox at gcc dot gnu.org
  Target Milestone: ---

Noticed bootstrap build failure today on r14-2553-ga5088dc3f5ef73 :

$ ~/dev/git/gcc/configure --disable-multilib
$ make

/tmp/gb/./prev-gcc/xg++ -B/tmp/gb/./prev-gcc/
-B/usr/local/x86_64-pc-linux-gnu/bin/ -nostdinc++
-B/tmp/gb/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-B/tmp/gb/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs 
-I/tmp/gb/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu 
-I/tmp/gb/prev-x86_64-pc-linux-gnu/libstdc++-v3/include 
-I/home/slyfox/dev/git/gcc/libstdc++-v3/libsupc++
-L/tmp/gb/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-L/tmp/gb/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs  -fno-PIE -c  
-g -O2 -fno-checking -gtoggle -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 -Werror -fno-common  -DHAVE_CONFIG_H -fno-PIE -I. -I.
-I/home/slyfox/dev/git/gcc/gcc -I/home/slyfox/dev/git/gcc/gcc/.
-I/home/slyfox/dev/git/gcc/gcc/../include 
-I/home/slyfox/dev/git/gcc/gcc/../libcpp/include
-I/home/slyfox/dev/git/gcc/gcc/../libcody 
-I/home/slyfox/dev/git/gcc/gcc/../libdecnumber
-I/home/slyfox/dev/git/gcc/gcc/../libdecnumber/bid -I../libdecnumber
-I/home/slyfox/dev/git/gcc/gcc/../libbacktrace   -o tree-ssa-loop-ivcanon.o -MT
tree-ssa-loop-ivcanon.o -MMD -MP -MF ./.deps/tree-ssa-loop-ivcanon.TPo
/home/slyfox/dev/git/gcc/gcc/tree-ssa-loop-ivcanon.cc
/home/slyfox/dev/git/gcc/gcc/tree-ssa-loop-ivcanon.cc: In function 'bool
try_peel_loop(loop*, edge, tree, bool, long int)':
/home/slyfox/dev/git/gcc/gcc/tree-ssa-loop-ivcanon.cc:1170:17: error: variable
'entry_count' set but not used [-Werror=unused-but-set-variable]
 1170 |   profile_count entry_count = profile_count::zero ();
      |                 ^~~~~~~~~~~

$ prev-gcc/xg++ -Bprev-gcc -v
Reading specs from prev-gcc/specs
COLLECT_GCC=prev-gcc/xg++
COLLECT_LTO_WRAPPER=prev-gcc/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /home/slyfox/dev/git/gcc/configure --disable-multilib
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 14.0.0 20230717 (experimental) (GCC)

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

* [Bug middle-end/110697] [14 Regression] bootstrap failure on
  2023-07-17  6:36 [Bug middle-end/110697] New: [14 Regression] bootstrap failure on slyfox at gcc dot gnu.org
@ 2023-07-17  7:43 ` pinskia at gcc dot gnu.org
  2023-07-17  7:47 ` [Bug middle-end/110697] [14 Regression] bootstrap failure on gcc/tree-ssa-loop-ivcanon.cc:1170 error: variable 'entry_count' set but not used [-Werror=unused-but-set-variable] rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-07-17  7:43 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |juergen.reuter at desy dot de

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 110698 has been marked as a duplicate of this bug. ***

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

* [Bug middle-end/110697] [14 Regression] bootstrap failure on gcc/tree-ssa-loop-ivcanon.cc:1170 error: variable 'entry_count' set but not used [-Werror=unused-but-set-variable]
  2023-07-17  6:36 [Bug middle-end/110697] New: [14 Regression] bootstrap failure on slyfox at gcc dot gnu.org
  2023-07-17  7:43 ` [Bug middle-end/110697] " pinskia at gcc dot gnu.org
@ 2023-07-17  7:47 ` rguenth at gcc dot gnu.org
  2023-07-17 12:36 ` burnus at gcc dot gnu.org
  2023-07-17 15:26 ` slyfox at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-17  7:47 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
           Keywords|                            |build
                 CC|                            |hubicka at gcc dot gnu.org
   Target Milestone|---                         |14.0

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

* [Bug middle-end/110697] [14 Regression] bootstrap failure on gcc/tree-ssa-loop-ivcanon.cc:1170 error: variable 'entry_count' set but not used [-Werror=unused-but-set-variable]
  2023-07-17  6:36 [Bug middle-end/110697] New: [14 Regression] bootstrap failure on slyfox at gcc dot gnu.org
  2023-07-17  7:43 ` [Bug middle-end/110697] " pinskia at gcc dot gnu.org
  2023-07-17  7:47 ` [Bug middle-end/110697] [14 Regression] bootstrap failure on gcc/tree-ssa-loop-ivcanon.cc:1170 error: variable 'entry_count' set but not used [-Werror=unused-but-set-variable] rguenth at gcc dot gnu.org
@ 2023-07-17 12:36 ` burnus at gcc dot gnu.org
  2023-07-17 15:26 ` slyfox at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: burnus at gcc dot gnu.org @ 2023-07-17 12:36 UTC (permalink / raw)
  To: gcc-bugs

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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

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

--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Should be FIXED

by commit r14-2581-g3b9cd125cfca44d3ae18f409fb20b5c094829e41
"Restore bootstrap by removing unused variable in tree-ssa-loop-ivcanon.cc"

Cf. https://gcc.gnu.org/pipermail/gcc-patches/2023-July/624677.html

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

* [Bug middle-end/110697] [14 Regression] bootstrap failure on gcc/tree-ssa-loop-ivcanon.cc:1170 error: variable 'entry_count' set but not used [-Werror=unused-but-set-variable]
  2023-07-17  6:36 [Bug middle-end/110697] New: [14 Regression] bootstrap failure on slyfox at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2023-07-17 12:36 ` burnus at gcc dot gnu.org
@ 2023-07-17 15:26 ` slyfox at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: slyfox at gcc dot gnu.org @ 2023-07-17 15:26 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Sergei Trofimovich <slyfox at gcc dot gnu.org> ---
I confirm this fixed the bootstrap for me. Thank you!

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

end of thread, other threads:[~2023-07-17 15:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-17  6:36 [Bug middle-end/110697] New: [14 Regression] bootstrap failure on slyfox at gcc dot gnu.org
2023-07-17  7:43 ` [Bug middle-end/110697] " pinskia at gcc dot gnu.org
2023-07-17  7:47 ` [Bug middle-end/110697] [14 Regression] bootstrap failure on gcc/tree-ssa-loop-ivcanon.cc:1170 error: variable 'entry_count' set but not used [-Werror=unused-but-set-variable] rguenth at gcc dot gnu.org
2023-07-17 12:36 ` burnus at gcc dot gnu.org
2023-07-17 15:26 ` slyfox 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).