public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/105203] New: '-fcompare-debug' failure w/ -O2 -ftracer -fPIC
@ 2022-04-08  9:59 asolokha at gmx dot com
  2022-04-08 12:04 ` [Bug debug/105203] [11/12 Regression] '-fcompare-debug' failure w/ -O2 -ftracer -fPIC since r11-3078-g69ca5f3a988266da marxin at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: asolokha at gmx dot com @ 2022-04-08  9:59 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 105203
           Summary: '-fcompare-debug' failure w/ -O2 -ftracer -fPIC
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: compare-debug-failure
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---

gfortran-12.0.1 20220403 snapshot (g:0364465e3708249ece810ca5d65164552595538c)
fails -fcompare-debug check when compiling
gcc/testsuite/gfortran.dg/g77/pr9258.f w/ -O2 -ftracer -fPIC:

% gfortran-12.0.1 -O2 -fcompare-debug -ftracer -fPIC -w -c
gcc/testsuite/gfortran.dg/g77/pr9258.f
gfortran-12.0.1: error: gcc/testsuite/gfortran.dg/g77/pr9258.f:
'-fcompare-debug' failure

gkd diff:

--- blv9apl0.f.gkd      2022-04-08 16:53:59.431343098 +0700
+++ blv9apl0.gk.f.gkd   2022-04-08 16:53:59.483343122 +0700
@@ -170,7 +170,7 @@
         (reg/f:DI 41 r13 [orig:84 m.1 ] [84]))# {*indirect_jump}
      (nil))
 (barrier # 0 0)
-(code_label/s # 0 0 7 4 ("__label_000020") [3 uses])
+(code_label/s # 0 0 7 4 ("__label_000020") [1 uses])
 (note # 0 0 [bb 7] NOTE_INSN_BASIC_BLOCK)
 (insn:TI # 0 0 7 (set (reg:SF 22 xmm2 [90])
         (reg:SF 20 xmm0 [orig:85 a.2_12 ] [85])) "blv9apl0.f":12:10#
{*movsf_internal}

% gfortran-12.0.1 -v
Using built-in specs.
COLLECT_GCC=gfortran-12.0.1
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/12.0.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-12.0.1_p20220403/work/gcc-12-20220403/configure
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr
--bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/12.0.1
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/12.0.1/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/12.0.1
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/12.0.1/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/12.0.1/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/12.0.1/include/g++-v12
--with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/12.0.1/python
--enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt
--disable-werror --with-system-zlib --disable-nls
--disable-libunwind-exceptions --enable-checking=yes --disable-esp
--enable-libstdcxx-time --disable-libstdcxx-pch --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--disable-multilib --with-multilib-list=m64 --disable-fixed-point
--enable-targets=all --enable-libgomp --disable-libssp --disable-libada
--disable-cet --disable-systemtap --enable-valgrind-annotations
--disable-vtable-verify --disable-libvtv --without-zstd --enable-lto --with-isl
--disable-isl-version-check --enable-default-ssp
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 12.0.1 20220401 (experimental) (GCC)

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

end of thread, other threads:[~2022-04-21  9:30 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-08  9:59 [Bug debug/105203] New: '-fcompare-debug' failure w/ -O2 -ftracer -fPIC asolokha at gmx dot com
2022-04-08 12:04 ` [Bug debug/105203] [11/12 Regression] '-fcompare-debug' failure w/ -O2 -ftracer -fPIC since r11-3078-g69ca5f3a988266da marxin at gcc dot gnu.org
2022-04-08 15:25 ` segher at gcc dot gnu.org
2022-04-08 15:44 ` segher at gcc dot gnu.org
2022-04-08 16:05 ` asolokha at gmx dot com
2022-04-08 16:20 ` segher at gcc dot gnu.org
2022-04-11  7:46 ` [Bug rtl-optimization/105203] " marxin at gcc dot gnu.org
2022-04-20  8:36 ` [Bug debug/105203] " jakub at gcc dot gnu.org
2022-04-20 13:31 ` segher at gcc dot gnu.org
2022-04-21  7:44 ` cvs-commit at gcc dot gnu.org
2022-04-21  7:47 ` [Bug debug/105203] [11 " jakub at gcc dot gnu.org
2022-04-21  7:51 ` rguenth at gcc dot gnu.org
2022-04-21  9:29 ` cvs-commit at gcc dot gnu.org
2022-04-21  9:30 ` jakub 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).