[Bug c/70967] doc: Please document rotate idiom

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70967 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/52991] [6/7/8 Regression] attribute packed broken on mingw32?

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52991 Andrew Pinski changed: What|Removed |Added Target Milestone|6.5 |8.0

[Bug target/61813] __attribute__((__packed__)) does not pack struct containing uint16_t with uint32_t

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61813 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug target/52991] [6/7/8 Regression] attribute packed broken on mingw32?

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52991 Andrew Pinski changed: What|Removed |Added CC||steven.spark at gmail dot com --- Commen

[Bug target/55428] [9/10/11/12 Regression] -mms-bitfields hides -mno-align-double option

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55428 Andrew Pinski changed: What|Removed |Added Summary|-mms-bitfields hides|[9/10/11/12 Regression]

[Bug middle-end/71849] bitfield placement of overly aligned type

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71849 Andrew Pinski changed: What|Removed |Added Keywords||ABI, wrong-code Component|c

[Bug d/103944] [12 Regression] Testsuite hang due to libphobos/testsuite/libphobos.gc/forkgc2.d

2022-01-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103944 --- Comment #2 from Jakub Jelinek --- Even running it by hand gets stuck: /builddir/build/BUILD/gcc-12.0.0-20220106/obj-i686-redhat-linux/./gcc/gdc -B/builddir/build/BUILD/gcc-12.0.0-20220106/obj-i686-redhat-linux/./gcc/ -B/usr/i686-redhat-linux

[Bug c/59485] may_alias attribute ignored in internal references while defining aggregate types

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59485 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #1 from Andr

[Bug tree-optimization/103802] [12 regression] recip-3.c fails after r12-6087 on Power m32

2022-01-10 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103802 --- Comment #7 from rguenther at suse dot de --- On Fri, 7 Jan 2022, luoxhu at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103802 > > --- Comment #6 from luoxhu at gcc dot gnu.org --- > (In reply to Richard Biener fro

[Bug libffi/42275] pkg-config (.pc) file missing in libffi (lost during import)

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42275 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug debug/100530] [9/10/11/12 Regression] ICE with -g: in add_dwarf_attr with __seg_gs (Alternative address-space) global variable since r8-4385-ga297ccb52e0c894e

2022-01-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100530 --- Comment #8 from Richard Biener --- PR#101975 contains some analysis.

[Bug libstdc++/103951] [C++2b] string_view range constructor, "exception specification ... depends on itself"

2022-01-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103951 --- Comment #3 from Jonathan Wakely --- This would be solved by http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2499r0.html but I think the std::lib code is behaving exactly as the C++23 draft requires.

[Bug libcc1/67128] Makefile.in, libcc1 and --enable-shared

2022-01-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67128 --- Comment #9 from Jonathan Wakely --- (In reply to Szőts Ákos from comment #3) > Option "--with-pic" doesn't work, but the suggested workaround in the > original post does. I think using --disable-shared --with-pic *should* work, but it doesn'

[Bug middle-end/38663] OpenMP directive causes internal compiler error

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38663 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |4.6.0 See Also|

[Bug libstdc++/100912] powerpc64le: ieee128 long double incorrectly printed when using shared libstdc++

2022-01-10 Thread qiu.chaofan at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100912 --- Comment #10 from Qiu Chaofan --- Hi, does GCC plan to switch to IEEE-quad as default `long double` semantics (or at least fully support it but under an option)? If so, I guess this should be a blocker. If GCC 12 supports it well, other comp

[Bug libstdc++/100912] powerpc64le: ieee128 long double incorrectly printed when using shared libstdc++

2022-01-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100912 --- Comment #11 from Jonathan Wakely --- This absolutely needs to be (and will be) fixed for GCC 12 anyway, whether the default is switched or not.

[Bug ipa/60235] Inlining fails with template specialization and -fPIC on Linux AMD64

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60235 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Component|middle-end

[Bug ipa/60235] Inlining fails with template specialization and -fPIC on Linux AMD64

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60235 --- Comment #9 from Andrew Pinski --- (In reply to Andrew Pinski from comment #8) > -fno-semantic-interposition was added in GCC 5 for the code generation you > want. I should say it was added by r5-1555.

[Bug tree-optimization/100359] missed optimization for dead code elimination at -O3 (vs. -O2)

2022-01-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100359 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:92e114d66e93d60dcef97c66cddbae38b657d768 commit r12-6402-g92e114d66e93d60dcef97c66cddbae38b657d768 Author: Richard Biener Date:

[Bug tree-optimization/100359] missed optimization for dead code elimination at -O3 (vs. -O2)

2022-01-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100359 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/52773] internal error: in replace_pseudos_in, at reload1.c:577

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52773 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |5.0 Keywords|

[Bug middle-end/59553] emit_library_call_value_1 generates usage of virtual_outgoing_args_rtx when virtuals_instantiated is 1

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59553 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug rtl-optimization/52773] internal error: in replace_pseudos_in, at reload1.c:577

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52773 Andrew Pinski changed: What|Removed |Added CC||makhaloff at gmail dot com --- Comment #

[Bug target/58901] vax bootstrap fails on subreg reload

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58901 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.0

[Bug middle-end/30798] mode_dependent_address_p not checked when simplifying subreg

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30798 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED See Also|

[Bug c/103920] No warning for large structs passed by value ?

2022-01-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103920 --- Comment #2 from Richard Biener --- Also consider void f1 (const S s, S * __restrict q); where obeying the warning would create a false alias when called as f1 (x, &x); whether passing by value or reference is more efficient also depends

[Bug testsuite/103935] [12 regression] g++.dg/vect/slp-pr98855.cc fails after r12-6273

2022-01-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103935 --- Comment #2 from Richard Biener --- Well, it was // This used to work on { target x86_64-*-* i?86-*-* } but a fix in SLP // discovery makes us trip over the threshold again. // { dg-final { scan-tree-dump-times "not vectorized: vectorization

[Bug tree-optimization/103941] uavgv2qi3_ceil is not used (SLP costing and patterns vs live stmts)

2022-01-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103941 Richard Biener changed: What|Removed |Added Target||x86_64-*-* i?86-*-* Ever confirmed

[Bug fortran/103942] [10 Regression] invalid memory reference with allocatable string and class(*)

2022-01-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103942 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug c++/103943] [11/12 Regression] ICE building qualified name inside class with variadic CTAD

2022-01-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103943 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug driver/103949] gcc fails to provide a standard conforming C11 or C++17 environment even when specifying -std=c11 or -std=c++17

2022-01-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103949 --- Comment #9 from Jonathan Wakely --- (In reply to Jörn Heusipp from comment #8) > > Note in newer versions of glibc, libpthread is all intergrated into libc and > > there is no issues again. > > > > For Mac OS X/darwin you don't need -lm -pt

[Bug driver/103949] gcc fails to provide a standard conforming C11 or C++17 environment even when specifying -std=c11 or -std=c++17

2022-01-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103949 --- Comment #10 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #9) > (In reply to Jörn Heusipp from comment #8) > > Debian MinGW-w64 gcc is built in 2 flavours. One with Win32 and one with > > posix threading model support.

[Bug testsuite/103935] [12 regression] g++.dg/vect/slp-pr98855.cc fails after r12-6273

2022-01-10 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103935 --- Comment #3 from Uroš Bizjak --- (In reply to Richard Biener from comment #2) > no longer xfailed. I suggest to re-add the { xfail *-*-* } to the > profitability check. You mean xfail for non-x86 targets?

[Bug tree-optimization/35341] Early exit loop with short known trip count not unrolled

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35341 --- Comment #2 from Andrew Pinski --- Currently we get at -O2: Estimating sizes for loop 1 BB: 3, after_exit: 0 size: 1 _1 = i_13 * 2; Induction variable computation will be folded away. size: 1 _2 = a[_1]; size: 1 _3 = a[i_13];

[Bug tree-optimization/103948] Vectorizer does not use vec_cmpMN without vcondMN pattern

2022-01-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103948 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug middle-end/103950] [9/10/11/12 Regression] printf("\xff") incorrectly optimized to putchar(-1)

2022-01-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103950 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug tree-optimization/103948] Vectorizer does not use vec_cmpMN without vcondMN pattern

2022-01-10 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103948 --- Comment #6 from Uroš Bizjak --- (In reply to Richard Biener from comment #5) > I guess that tree-vect-generic.c is not up-to-date with gimple-isel.cc. We > should probably somehow factor out relevant pieces. > > Note vector lowering will s

[Bug driver/103949] gcc fails to provide a standard conforming C11 or C++17 environment even when specifying -std=c11 or -std=c++17

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103949 --- Comment #11 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #10) > Oh I missed the part about __STDCPP_THREADS__ not being defined for > mingw-w64. That seems like it's worth a distinct bug report that can focus > just on th

[Bug driver/103949] gcc fails to provide a standard conforming C11 or C++17 environment even when specifying -std=c11 or -std=c++17

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103949 --- Comment #12 from Andrew Pinski --- See also https://sourceforge.net/p/mingw-w64/mailman/mingw-w64-public/thread/29e406ed.c6291.1541803dcf9.Coremail.lh_mouse%40126.com/ . Mingw thread support is always lacking behind because there are not eno

[Bug testsuite/103935] [12 regression] g++.dg/vect/slp-pr98855.cc fails after r12-6273

2022-01-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103935 --- Comment #4 from Richard Biener --- (In reply to Uroš Bizjak from comment #3) > (In reply to Richard Biener from comment #2) > > no longer xfailed. I suggest to re-add the { xfail *-*-* } to the > > profitability check. > > You mean xfail f

[Bug middle-end/103950] [9/10/11/12 Regression] printf("\xff") incorrectly optimized to putchar(-1)

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103950 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug middle-end/101530] ICE: 'verify_gimple' failed: non-top-level 'bit_field_ref' with __builtin_shufflevector()[0]

2022-01-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101530 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:be59671c5624fe8bf21ddb0192e97ebdfa4db381 commit r12-6403-gbe59671c5624fe8bf21ddb0192e97ebdfa4db381 Author: Richard Biener Date:

[Bug middle-end/101530] ICE: 'verify_gimple' failed: non-top-level 'bit_field_ref' with __builtin_shufflevector()[0]

2022-01-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101530 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug driver/103949] gcc fails to provide a standard conforming C11 or C++17 environment even when specifying -std=c11 or -std=c++17

2022-01-10 Thread manx-bugzilla at problemloesungsmaschine dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103949 --- Comment #13 from Jörn Heusipp --- (In reply to Jonathan Wakely from comment #10) > Oh I missed the part about __STDCPP_THREADS__ not being defined for > mingw-w64. That seems like it's worth a distinct bug report that can focus > just on th

[Bug fortran/82207] ieee_class identifies signaling NaNs as quiet NaNs

2022-01-10 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82207 --- Comment #16 from Francois-Xavier Coudert --- Part 1/3 committed: IEEE_CLASS now recognises signaling NaNs on targets that provide the issignaling macro (from TS 18661-1:2014). https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=492954263e39346287a5

[Bug fortran/82968] gfortran.dg/ieee/ieee_6.f90 fails at -O0

2022-01-10 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82968 Francois-Xavier Coudert changed: What|Removed |Added Target Milestone|--- |12.0

[Bug fortran/82207] ieee_class identifies signaling NaNs as quiet NaNs

2022-01-10 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82207 Francois-Xavier Coudert changed: What|Removed |Added Target Milestone|--- |12.0

[Bug target/64821] [AArch64] Improve target folding for vsqrt_f64 intrinsic

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64821 Andrew Pinski changed: What|Removed |Added Keywords||patch URL|

[Bug driver/103949] gcc fails to provide a standard conforming C11 or C++17 environment even when specifying -std=c11 or -std=c++17

2022-01-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103949 --- Comment #14 from Jonathan Wakely --- What is the output of x86_64-w64-mingw32-g++-posix -v

[Bug target/103465] [12 regression] -freorder-blocks-and-partition broken on 64-bit Windows

2022-01-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103465 --- Comment #29 from CVS Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:8234b0dcb2484f836d0fb8f12aa6b04f5e66db6f commit r12-6405-g8234b0dcb2484f836d0fb8f12aa6b04f5e66db6f Author: Eric Botcazou Date:

[Bug driver/103949] gcc fails to provide a standard conforming C11 or C++17 environment even when specifying -std=c11 or -std=c++17

2022-01-10 Thread manx-bugzilla at problemloesungsmaschine dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103949 --- Comment #15 from Jörn Heusipp --- (In reply to Jonathan Wakely from comment #14) > What is the output of x86_64-w64-mingw32-g++-posix -v manx@appendix:~$ x86_64-w64-mingw32-g++-posix -v Using built-in specs. COLLECT_GCC=x86_64-w64-mingw32-g

[Bug tree-optimization/96779] Failure to optimize comparison of negative version of self

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96779 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug c/103960] New: Clang's -Wunknown-attributes is more useful than -Wattributes

2022-01-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103960 Bug ID: 103960 Summary: Clang's -Wunknown-attributes is more useful than -Wattributes Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: diagnostic

[Bug driver/103949] gcc fails to provide a standard conforming C11 or C++17 environment even when specifying -std=c11 or -std=c++17

2022-01-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103949 --- Comment #16 from Jonathan Wakely --- (In reply to Jörn Heusipp from comment #15) > --enable-threads=posix --program-suffix=-posix Then it should be defining __STDCPP_THREADS__=1, odd.

[Bug c++/101532] [12 Regression] ICE in finish_expr_stmt, at cp/semantics.c:859

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101532 --- Comment #3 from Andrew Pinski --- Note it is not lambda related at all, here is a (invalid) C++98 case were we ICE too: class A { ~A() {} }; template class B { A f = 1; }; B c;

[Bug libstdc++/100017] [11/12 regression] error: 'fenv_t' has not been declared in '::' -- canadian compilation fails

2022-01-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100017 --- Comment #77 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:4fde88e5dd152fe866a97b12e0f8229970d15cb3 commit r12-6406-g4fde88e5dd152fe866a97b12e0f8229970d15cb3 Author: Jonathan Wakely Date

[Bug libstdc++/103866] AM_PROG_LIBTOOL not compatible with GCC_NO_EXECUTABLES

2022-01-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103866 --- Comment #12 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:68c2e9e9234cb301e9e81792cad233a41e797792 commit r12-6409-g68c2e9e9234cb301e9e81792cad233a41e797792 Author: Jonathan Wakely Date

[Bug middle-end/103950] [9/10/11/12 Regression] printf("\xff") incorrectly optimized to putchar(-1)

2022-01-10 Thread admin--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103950 --- Comment #6 from Thorsten Otto --- A similar fix will be needed in gimple_fold_builtin_fputs

[Bug libstdc++/103866] AM_PROG_LIBTOOL not compatible with GCC_NO_EXECUTABLES

2022-01-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103866 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |12.0 Resolution|---

[Bug c/103960] Clang's -Wunknown-attributes is more useful than -Wattributes

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103960 --- Comment #1 from Andrew Pinski --- So it looks like the warning is coming from the front-end though and not from c-family :). I noticed this because take: struct MyStruct; [[gg (read_only, 1)]] int my_func (const struct MyStruct * const self

[Bug c/103960] Clang's -Wunknown-attributes is more useful than -Wattributes

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103960 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-01-10 Ever confirmed|0

[Bug c/103961] New: gcc-12 apparently miscompiles libcap's cap_to_text() function

2022-01-10 Thread manuel.lauss at googlemail dot com via Gcc-bugs
preprocessed cap_text.i file from libcap-2.62, as well as .S files of gcc-11.3 and 12.0 gcc version 12.0.0 20220110 (experimental) (Gentoo 12.0.0_pre p2, commit 92e114d66e93d60dcef97c66cddbae38b657d768)

[Bug c/103960] Clang's -Wunknown-attributes is more useful than -Wattributes

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103960 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c/103961] gcc-12 apparently miscompiles libcap's cap_to_text() function

2022-01-10 Thread manuel.lauss at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103961 --- Comment #1 from Manuel Lauss --- Created attachment 52153 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52153&action=edit gcc-11.3 output

[Bug c/103961] gcc-12 apparently miscompiles libcap's cap_to_text() function

2022-01-10 Thread manuel.lauss at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103961 --- Comment #2 from Manuel Lauss --- Created attachment 52154 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52154&action=edit gcc-12.0 output

[Bug middle-end/103950] [9/10/11/12 Regression] printf("\xff") incorrectly optimized to putchar(-1)

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103950 --- Comment #7 from Andrew Pinski --- (In reply to Thorsten Otto from comment #6) > A similar fix will be needed in gimple_fold_builtin_fputs Yes agreed. gimple_fold_builtin_strstr should do the same, though I don't know if it will matter but

[Bug tree-optimization/103941] uavgv2qi3_ceil is not used (SLP costing and patterns vs live stmts)

2022-01-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103941 --- Comment #2 from Richard Biener --- I think I've seen this before - the use in the conversion is elided in the vector path via recognizing a pattern of a pattern - that makes it not part of the SLP tree and thus left as SLP_TYPE (..) = loop_v

[Bug middle-end/103961] [12 Regression] gcc-12 apparently miscompiles libcap's cap_to_text() function

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103961 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug c/64332] wrong location for Wattributes warning

2022-01-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64332 Jonathan Wakely changed: What|Removed |Added Last reconfirmed|2014-12-16 00:00:00 |2022-1-10 --- Comment #7 from Jonathan

[Bug middle-end/103961] [12 Regression] gcc-12 apparently miscompiles libcap's cap_to_text() function

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103961 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/103961] [12 Regression] gcc-12 apparently miscompiles libcap's cap_to_text() function

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103961 --- Comment #4 from Andrew Pinski --- There is a bogus warning too: cap_text.c:431:11: warning: '%c' directive writing 1 byte into a region of size 0 [-Wformat-overflow=] In file included from /usr/include/stdio.h:894, from cap

[Bug middle-end/103961] [12 Regression] gcc-12 apparently miscompiles libcap's cap_to_text() function

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103961 Andrew Pinski changed: What|Removed |Added Keywords|alias |needs-bisection, |

[Bug middle-end/103961] [12 Regression] gcc-12 apparently miscompiles libcap's cap_to_text() function

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103961 --- Comment #6 from Andrew Pinski --- Note it is even wrong at -O1 -fno-thread-jumps .

[Bug c/103962] New: 'long double' to 'int' cast modifies rounding bits

2022-01-10 Thread master_szumi at o2 dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103962 Bug ID: 103962 Summary: 'long double' to 'int' cast modifies rounding bits Product: gcc Version: 9.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug tree-optimization/103961] [12 Regression] gcc-12 apparently miscompiles libcap's cap_to_text() function

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103961 Andrew Pinski changed: What|Removed |Added Component|middle-end |tree-optimization --- Comment #7 from A

[Bug target/103962] 'long double' to 'int' cast modifies rounding bits

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103962 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-01-10 Ever confirmed|0

[Bug target/103962] 'long double' to 'int' cast modifies rounding bits

2022-01-10 Thread master_szumi at o2 dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103962 --- Comment #2 from Jakub Szumacher --- n$ /usr/bin/powerpc-e500v2-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=/usr/bin/powerpc-e500v2-linux-gnu-gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/powerpc-e500v2-linux-gnu/9.4.0/lto-wrapper Target: p

[Bug target/103962] 'long double' to 'int' cast modifies rounding bits

2022-01-10 Thread master_szumi at o2 dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103962 --- Comment #3 from Jakub Szumacher --- # cat /proc/cpuinfo processor : 0 cpu : e500v2 clock : 799.92MHz revision: 2.3 (pvr 8021 0023) bogomips: 133.33 timebase: Memory :

[Bug tree-optimization/103961] [12 Regression] gcc-12 apparently miscompiles libcap's cap_to_text() function

2022-01-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103961 --- Comment #8 from Richard Biener --- (In reply to Andrew Pinski from comment #3) > Looks like GCC is getting confused due to: > p--; > > > I don't get: > [cap_text.c:419:3] # PT = anything > _104 = p_65 + 18446744073709551615; > > All

[Bug target/103962] 'long double' to 'int' cast modifies rounding bits

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103962 --- Comment #4 from Andrew Pinski --- Unless gentoo has patches, e500v2 support is gone. Only e500mc support is left from GCC 9+.

[Bug target/103962] 'long double' to 'int' cast modifies rounding bits

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103962 Andrew Pinski changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug libstdc++/103955] std::to_chars(char*, char*, double, std::chars_format, int precision) crashes for the two maximal int precision values

2022-01-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103955 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug d/103944] [12 Regression] Testsuite hang due to libphobos/testsuite/libphobos.gc/forkgc2.d

2022-01-10 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103944 Iain Buclaw changed: What|Removed |Added Target||i686-redhat-linux --- Comment #3 from Iai

[Bug libstdc++/100017] [11 regression] error: 'fenv_t' has not been declared in '::' -- canadian compilation fails

2022-01-10 Thread stammark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100017 Stam Markianos-Wright changed: What|Removed |Added CC||stammark at gcc dot gnu.org ---

[Bug d/103944] [12 Regression] Testsuite hang due to libphobos/testsuite/libphobos.gc/forkgc2.d

2022-01-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103944 --- Comment #4 from Jakub Jelinek --- Note, it isn't just i686-linux, I was getting the hangs on x86_64-linux, s390x-linux or armv7hl-linux-gnueabi too. Wonder whether it is -fstack-clash-protection -fcf-protection -fcf-protection related or per

[Bug d/103944] [12 Regression] Testsuite hang due to libphobos/testsuite/libphobos.gc/forkgc2.d

2022-01-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103944 --- Comment #5 from Jakub Jelinek --- The process when it hangs is stuck on pthread_mutex_lock called from _D4core4sync5mutex5Mutex__T12lock_nothrowTCQBpQBnQBlQBiZQBdMFNbNiNeZv in libgphobos.so.3. #0 0xf7ee6579 in __kernel_vsyscall () #1 0xf73

[Bug libstdc++/77760] get_time needs to set tm_wday amd tm_yday

2022-01-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77760 --- Comment #2 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a8d3c98746098e2784be7144c1ccc9fcc34a0888 commit r12-6410-ga8d3c98746098e2784be7144c1ccc9fcc34a0888 Author: Jakub Jelinek Date: Mo

[Bug c++/103963] New: Coroutine return type must not be copy- or move-constructible

2022-01-10 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103963 Bug ID: 103963 Summary: Coroutine return type must not be copy- or move-constructible Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/98782] [11/12 Regression] Bad interaction between IPA frequences and IRA resulting in spills due to changes in BB frequencies

2022-01-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98782 --- Comment #37 from CVS Commits --- The master branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:909a4b4764c4f270f09ccb2a950c91b21ed7b33a commit r12-6412-g909a4b4764c4f270f09ccb2a950c91b21ed7b33a Author: Richard Sandiford D

[Bug rtl-optimization/98782] [11/12 Regression] Bad interaction between IPA frequences and IRA resulting in spills due to changes in BB frequencies

2022-01-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98782 --- Comment #38 from CVS Commits --- The master branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:d54565d87ff79b882208dfb29af50232033c233d commit r12-6413-gd54565d87ff79b882208dfb29af50232033c233d Author: Richard Sandiford D

[Bug rtl-optimization/98782] [11/12 Regression] Bad interaction between IPA frequences and IRA resulting in spills due to changes in BB frequencies

2022-01-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98782 --- Comment #39 from CVS Commits --- The master branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:01f3e6a40e7202310abbeb41c345d325bd69554f commit r12-6415-g01f3e6a40e7202310abbeb41c345d325bd69554f Author: Richard Sandiford D

[Bug rtl-optimization/98782] [11/12 Regression] Bad interaction between IPA frequences and IRA resulting in spills due to changes in BB frequencies

2022-01-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98782 --- Comment #40 from CVS Commits --- The master branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:037cc0b4a6646cc86549247a3590215ebd5c4c43 commit r12-6416-g037cc0b4a6646cc86549247a3590215ebd5c4c43 Author: Richard Sandiford D

[Bug d/103944] [12 Regression] Testsuite hang due to libphobos/testsuite/libphobos.gc/forkgc2.d

2022-01-10 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103944 --- Comment #6 from Iain Buclaw --- (In reply to Jakub Jelinek from comment #4) > Note, it isn't just i686-linux, I was getting the hangs on x86_64-linux, > s390x-linux or armv7hl-linux-gnueabi too. > Wonder whether it is > -fstack-clash-protect

[Bug rtl-optimization/98782] [11 Regression] Bad interaction between IPA frequences and IRA resulting in spills due to changes in BB frequencies

2022-01-10 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98782 rsandifo at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Summary|[

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2022-01-10 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 98782, which changed state. Bug 98782 Summary: [11 Regression] Bad interaction between IPA frequences and IRA resulting in spills due to changes in BB frequencies https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98782

[Bug tree-optimization/103964] New: [9/10/11/12 Regression] OVS miscompilation since r0-92313-g5006671f1aaa63cd

2022-01-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103964 Bug ID: 103964 Summary: [9/10/11/12 Regression] OVS miscompilation since r0-92313-g5006671f1aaa63cd Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: no

[Bug tree-optimization/103964] [9/10/11/12 Regression] OVS miscompilation since r0-92313-g5006671f1aaa63cd

2022-01-10 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103964 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org --- Comment #1 f

[Bug c/103965] New: optimizer (-O2) changes behavior in cast-to-container iteration

2022-01-10 Thread amorenoz at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103965 Bug ID: 103965 Summary: optimizer (-O2) changes behavior in cast-to-container iteration Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal

[Bug c/103965] optimizer (-O2) changes behavior in cast-to-container iteration

2022-01-10 Thread amorenoz at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103965 amorenoz at redhat dot com changed: What|Removed |Added CC||amorenoz at redhat dot com,

[Bug c/103965] optimizer (-O2) changes behavior in cast-to-container iteration

2022-01-10 Thread amorenoz at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103965 --- Comment #2 from amorenoz at redhat dot com --- Jakub and Florian have kindly assisted in trying to understand the problem and will likely be able to provide more insightful comments

  1   2   >