public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/115137] New: [15 regression] Miscompilation of wget (test suite hangs)
@ 2024-05-17 13:46 sjames at gcc dot gnu.org
  2024-05-17 13:48 ` [Bug middle-end/115137] " sjames at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: sjames at gcc dot gnu.org @ 2024-05-17 13:46 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 115137
           Summary: [15 regression] Miscompilation of wget (test suite
                    hangs)
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sjames at gcc dot gnu.org
  Target Milestone: ---

Created attachment 58226
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58226&action=edit
url.c

I noticed that wget's testsuite was hanging today in `unit-tests`.

```
(gdb) bt
#0  0x0000555555559319 in append_uri_pathel (e=e@entry=0x55555555a09d "",
escaped=escaped@entry=false, dest=dest@entry=0x7fffffffd780, b=0x55555555a090
"somepage.html")
    at ../src/url.c:1509
#1  0x00005555555563e0 in test_append_uri_pathel () at ../src/url.c:2492
#2  all_tests () at /home/sam/git/wget/tests/unit-tests.c:47
#3  main (argc=<optimized out>, argv=<optimized out>) at
/home/sam/git/wget/tests/unit-tests.c:70
```

I'm still reducing it but it hangs with gcc-15 -O2.

```
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/15/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/configure
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr
--bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/15
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/15/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/15
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/15/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/15/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15
--disable-silent-rules --disable-dependency-tracking
--with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/15/python
--enable-languages=c,c++,fortran,rust --enable-obsolete --enable-secureplt
--disable-werror --with-system-zlib --enable-nls --without-included-gettext
--disable-libunwind-exceptions --enable-checking=yes,extra,rtl
--with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo Hardened
15.0.9999 p, commit bc7d81fe2f725b4043ce8b9ffb11d80032ce3f75'
--with-gcc-major-version-only --enable-libstdcxx-time --enable-lto
--disable-libstdcxx-pch --enable-shared --enable-threads=posix
--enable-__cxa_atexit --enable-clocale=gnu --enable-multilib
--with-multilib-list=m32,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 --with-zstd --with-isl --disable-isl-version-check
--enable-default-pie --enable-host-pie --enable-host-bind-now
--enable-default-ssp --disable-fixincludes --with-build-config=bootstrap-O3
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 15.0.0 20240516 (experimental)
556e777298dac8574533935000c57335c5232921 (Gentoo Hardened 15.0.9999 p, commit
bc7d81fe2f725b4043ce8b9ffb11d80032ce3f75) 
```

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

end of thread, other threads:[~2024-05-21 10:00 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-17 13:46 [Bug middle-end/115137] New: [15 regression] Miscompilation of wget (test suite hangs) sjames at gcc dot gnu.org
2024-05-17 13:48 ` [Bug middle-end/115137] " sjames at gcc dot gnu.org
2024-05-17 13:49 ` sjames at gcc dot gnu.org
2024-05-17 15:53 ` [Bug middle-end/115137] [15 regression] Miscompilation of wget (test suite hangs) since r15-580-gf3e5f4c58591f5 sjames at gcc dot gnu.org
2024-05-17 15:58 ` sjames at gcc dot gnu.org
2024-05-17 17:37 ` sjames at gcc dot gnu.org
2024-05-17 17:48 ` sjames at gcc dot gnu.org
2024-05-18  7:38 ` sjames at gcc dot gnu.org
2024-05-18  7:43 ` sjames at gcc dot gnu.org
2024-05-18 13:50 ` sjames at gcc dot gnu.org
2024-05-18 13:59 ` [Bug tree-optimization/115137] " pinskia at gcc dot gnu.org
2024-05-21  8:14 ` rguenth at gcc dot gnu.org
2024-05-21 10:00 ` cvs-commit at gcc dot gnu.org
2024-05-21 10:00 ` rguenth 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).