[Bug rtl-optimization/99199] [9/10/11/12 Regression] Very large boolean expression leads to quite a few return statements

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99199 --- Comment #7 from Andrew Pinski --- Also for this testcase seem it should just return true even :).

[Bug rtl-optimization/99199] [9/10/11/12 Regression] Very large boolean expression leads to quite a few return statements

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99199 --- Comment #6 from Andrew Pinski --- I don't see it on the trunk really; I wonder what changed, I know there has been many jump threading changes and even some phiopt changes which might have changed this for the better. Though I do see

[Bug d/103728] Allow to run unittests before main()

2021-12-15 Thread pierrick.bouvier at posteo dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103728 --- Comment #2 from Pierrick Bouvier --- Problem with command line approach is that it implies to patch all our scripts, which is *really* boring. At this point, manually adding rt_options string in all binaries is easier. Alas, there is no

[Bug tree-optimization/85390] [9/10/11/12 Regression] possible missed optimisation / regression from 6.3 with conditional expression

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85390 Andrew Pinski changed: What|Removed |Added Known to fail||7.1.0 Last reconfirmed|

[Bug debug/103742] [12 Regression] '-fcompare-debug' failure (length) with -O2 -fnon-call-exceptions --param=early-inlining-insns=82

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103742 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0 Keywords|

[Bug tree-optimization/103741] [12 Regression] ICE in prepare_vec_mask, at tree-vect-stmts.c:1808

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103741 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug target/103743] PPC: Inefficient equality compare for large 64-bit constants having only 16-bit relevant bits in high part

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103743 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug target/103743] New: PPC: Inefficient equality compare for large 64-bit constants having only 16-bit relevant bits in high part

2021-12-15 Thread jens.seifert at de dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103743 Bug ID: 103743 Summary: PPC: Inefficient equality compare for large 64-bit constants having only 16-bit relevant bits in high part Product: gcc Version: 8.3.1

[Bug ipa/103734] IPA-CP opportunity for imagick in SPECCPU 2017

2021-12-15 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103734 --- Comment #2 from Hongtao.liu --- (In reply to Tamar Christina from comment #0) > When using --param ipa-cp-eval-threshold=1 --param ipa-cp-unit-growth=20 on > imagick the hot functions MorphologyApply and GetVirtualPixelsFromNexus get >

[Bug rtl-optimization/92925] RTL expansion throws away misalignment info

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92925 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #7 from Andrew

[Bug ipa/103734] IPA-CP opportunity for imagick in SPECCPU 2017

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103734 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization

[Bug debug/103742] New: [12 Regression] '-fcompare-debug' failure (length) with -O2 -fnon-call-exceptions --param=early-inlining-insns=82

2021-12-15 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103742 Bug ID: 103742 Summary: [12 Regression] '-fcompare-debug' failure (length) with -O2 -fnon-call-exceptions --param=early-inlining-insns=82 Product: gcc Version:

[Bug tree-optimization/103741] New: [12 Regression] ICE in prepare_vec_mask, at tree-vect-stmts.c:1808

2021-12-15 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103741 Bug ID: 103741 Summary: [12 Regression] ICE in prepare_vec_mask, at tree-vect-stmts.c:1808 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[Bug tree-optimization/100221] Takes two passes at DSE to remove some dead stores

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100221 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/100221] Takes two passes at DSE to remove some dead stores

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100221 Andrew Pinski changed: What|Removed |Added Summary|missed optimization for |Takes two passes at DSE to

[Bug tree-optimization/100221] missed optimization for dead code elimination at -O3 (vs. -O1, -Os, -O2)

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100221 --- Comment #2 from Andrew Pinski --- If we force inline f: like: [[gnu::always_inline]] static inline void f() -O2 behavior becomes the same as -O3. -O3: Deleted dead store: # .MEM_7 = VDEF <.MEM_6> hD.2116[0] = -O2: ipa-modref: call

[Bug c++/82894] [9/10/11/12 Regression] Inherited member functions do not create ambiguity

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82894 --- Comment #2 from Andrew Pinski --- Even one without templates: struct S { char f(); }; struct wrapper : private S { int f(int = 0); using S::f; }; void g(void) { wrapper t; t.f(); } And yes it was rejected in GCC

[Bug c++/82894] [9/10/11/12 Regression] Inherited member functions do not create ambiguity

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82894 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Known to fail|

[Bug c++/69623] Invalid deduction of non-trailing template parameter pack

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69623 --- Comment #5 from Andrew Pinski --- Full testcase where both declarations should be an error: template void f() { } // error template void g() { } // error

[Bug c++/69623] Invalid deduction of non-trailing template parameter pack

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69623 Andrew Pinski changed: What|Removed |Added CC||xmh970252187 at gmail dot com ---

[Bug c++/103740] A function template declaration with a template-parameter in the last that has no default argument or can be deduced shall be ill-formed

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

[Bug c++/102449] template parameter with default argument is used without being verified during explicit specialization

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102449 --- Comment #1 from Andrew Pinski --- I think this is valid code as the compiler can deduce that First is int. All compilers I have tried accept the code.

[Bug c++/103740] New: A function template declaration with a template-parameter in the last that has no default argument or can be deduced shall be ill-formed

2021-12-15 Thread xmh970252187 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103740 Bug ID: 103740 Summary: A function template declaration with a template-parameter in the last that has no default argument or can be deduced shall be ill-formed Product:

[Bug tree-optimization/91789] Value ranges determined from comparisons not used transitively

2021-12-15 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91789 --- Comment #7 from Andrew Macleod --- hmm. yeah. we have the knowledge... but how to apply it efficiently. === BB 4 Imports: a_3(D) Exports: a_3(D) b_2(D) int VARYING a_3(D) int VARYING Relational : (b_2(D) >= a_3(D))

[Bug c++/94404] [meta-bug] C++ core issues

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94404 Bug 94404 depends on bug 38541, which changed state. Bug 38541 Summary: function parameter type T(*)[] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38541 What|Removed |Added

[Bug c++/38541] function parameter type T(*)[]

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38541 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|NEW

[Bug c++/38541] function parameter type T(*)[]

2021-12-15 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38541 Jiang An changed: What|Removed |Added CC||de34 at live dot cn --- Comment #3 from

[Bug target/102069] [12 regression] New test case gcc.dg/vect/pr101145_3.c in r12-3136 fails on power 7

2021-12-15 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102069 Jiu Fu Guo changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug testsuite/102946] [12 Regression] gcc.dg/vect/pr101145_1.c etc. FAIL

2021-12-15 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102946 Jiu Fu Guo changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug tree-optimization/102087] [12 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: in determine_exit_conditions, at tree-ssa-loop-manip.c:1049 since r12-3136-g3673dcf6d6baeb67

2021-12-15 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102087 Jiu Fu Guo changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/103194] [12 Regression] ice in optimize_atomic_bit_test_and with __sync_fetch_and_and since r12-5102-gfb161782545224f5

2021-12-15 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103194 --- Comment #23 from Hongtao.liu --- (In reply to Jakub Jelinek from comment #22) > (In reply to Hongtao.liu from comment #15) > > > Is the behavior well defined for n >= 64? I got > > > > > > foo.c:11:19: warning: left shift count >= width of

[Bug tree-optimization/101754] Missed fold for a/b*b

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101754 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/95817] Failure to optimize shift with constant to compare

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95817 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Severity|normal

[Bug tree-optimization/97434] Missed dead code optimization from data flow analysis

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97434 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/91789] Value ranges determined from comparisons not used transitively

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91789 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #6 from Andrew

[Bug libstdc++/102445] [meta-bug] std::regex issues

2021-12-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102445 Bug 102445 depends on bug 84738, which changed state. Bug 84738 Summary: stack-overflow in regex_match https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84738 What|Removed |Added

[Bug libstdc++/86164] std::regex crashes when matching long lines

2021-12-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86164 Jonathan Wakely changed: What|Removed |Added CC||semi1 at posteo dot de --- Comment

[Bug libstdc++/84738] stack-overflow in regex_match

2021-12-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84738 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/102445] [meta-bug] std::regex issues

2021-12-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102445 Bug 102445 depends on bug 93502, which changed state. Bug 93502 Summary: std::regex_match uses stack space proportional to input string length https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93502 What|Removed

[Bug libstdc++/86164] std::regex crashes when matching long lines

2021-12-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86164 Jonathan Wakely changed: What|Removed |Added CC||nyh at math dot technion.ac.il ---

[Bug libstdc++/93502] std::regex_match uses stack space proportional to input string length

2021-12-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93502 Jonathan Wakely changed: What|Removed |Added Resolution|--- |DUPLICATE Status|ASSIGNED

[Bug tree-optimization/95423] Failure to optimize separated multiplications by x and square of x

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95423 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug libstdc++/61582] C++11 regex memory corruption

2021-12-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61582 --- Comment #23 from Jonathan Wakely --- (In reply to M Welinder from comment #22) > FWIW, there is an excellent overview of regular expression engine pitfalls > and methods here: > > https://swtch.com/~rsc/regexp/regexp1.html >

[Bug tree-optimization/94757] GCC does not optimise unsigned multiplication known not to overflow

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94757 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.0 Severity|normal

[Bug tree-optimization/97997] Missed optimization: Multiply of extended integer cannot overflow

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97997 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.0 Keywords|

[Bug libstdc++/103726] --disable-hosted-libstdcxx (freestanding C++) does not provide as what standard requires

2021-12-15 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103726 --- Comment #8 from cqwrteur --- (In reply to Jonathan Wakely from comment #7) > Huh, I must have checked in an old draft ... which is odd as I only have one > open on my desktop, and it's the current one. > > Reopening then. And we need an

[Bug c++/70816] bogus error __builtin_strcmp is not a constant expression in a constexpr function

2021-12-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70816 --- Comment #4 from Jonathan Wakely --- Our std::char_traits has similar branches for constant evaluation (and the rest of the library does too for memcpy etc.)

[Bug libstdc++/103726] --disable-hosted-libstdcxx (freestanding C++) does not provide as what standard requires

2021-12-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103726 Jonathan Wakely changed: What|Removed |Added Status|RESOLVED|NEW Resolution|INVALID

[Bug libstdc++/103726] --disable-hosted-libstdcxx (freestanding C++) does not provide as what standard requires

2021-12-15 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103726 Jiang An changed: What|Removed |Added CC||de34 at live dot cn --- Comment #6 from

[Bug tree-optimization/98953] Failure to optimize two reads from adjacent addresses into one

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98953 --- Comment #5 from Andrew Pinski --- *** Bug 102391 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/102391] Failure to optimize adjacent 8-bit loads into a single bigger load

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102391 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/102495] optimize some consecutive byte load pattern to word load

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102495 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Severity|normal

[Bug target/103698] [12 regression] Code assigned to __attribute__((section(".data"))) generates invalid dwarf: leb128 operand is an undefined symbol

2021-12-15 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103698 --- Comment #2 from Sergei Trofimovich --- Aha, sounds good. Let's consider it's an user error to mix -g* options with `__attribute__((section(".data")))` applied to `.code` objects.

[Bug sanitizer/91707] [10/11/12 Regression] spurious stringop-overflow warning with -fsanitize=undefined

2021-12-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91707 --- Comment #12 from Martin Sebor --- Here's a slightly simplified test case for GCC 12: $ cat z.c && gcc -O2 -S -Wall -fsanitize=undefined z.c extern void f (unsigned n, long[n], const long[n]); void g (unsigned n, const long a[n]) { long

[Bug d/103728] Allow to run unittests before main()

2021-12-15 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103728 --- Comment #1 from Iain Buclaw --- Not sure if there'd be much help from the compiler on this front, as it's a runtime library feature that unittests are executed in the first place - the compiler simply generates functions in the proper place

[Bug c++/102229] [11 Regression] 'decltype(auto)' cannot be cv-qualified

2021-12-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102229 Marek Polacek changed: What|Removed |Added Summary|[11/12 Regression] |[11 Regression]

[Bug c++/102229] [11/12 Regression] 'decltype(auto)' cannot be cv-qualified

2021-12-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102229 --- Comment #10 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:06d5dcef72542baf49ac245cfde2ad7ecef0916b commit r12-6008-g06d5dcef72542baf49ac245cfde2ad7ecef0916b Author: Marek Polacek Date:

[Bug d/103739] Bootstrap broken on powerpc64-linux

2021-12-15 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103739 --- Comment #2 from Segher Boessenkool --- Hi! I have no idea why not. $ gdc --version gdc (GCC) 9.3.1 20200410 and it says Configured with: /home/segher/src/gcc/configure --prefix=/home/segher/tot

[Bug middle-end/54802] Trivial code changes result in different assembly with respect to rotations and bswap.

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54802 Andrew Pinski changed: What|Removed |Added Known to fail||4.9.4 Ever confirmed|0

[Bug tree-optimization/92903] Cannot elide byteswap when only needed to compare to multiple constants

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92903 Andrew Pinski changed: What|Removed |Added Keywords||TREE --- Comment #5 from Andrew Pinski

[Bug tree-optimization/94071] Missed optimization with endian and alignment independent memory access

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94071 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #2 from Andrew

[Bug fortran/26766] [F2003] Recursive I/O still (again) broken

2021-12-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26766 --- Comment #10 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:4a5e71f2348adcc49939804889d9f1a64d97005a commit r12-6006-g4a5e71f2348adcc49939804889d9f1a64d97005a Author: H.J. Lu Date: Sat Nov 13

[Bug d/103528] [12 regression] d21 doesn't build on Solaris

2021-12-15 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103528 --- Comment #5 from Iain Buclaw --- (In reply to Rainer Orth from comment #0) > * toplevel configure needs to make certain that the bootstrap gdc can compile > *and link* some trivial D program. Letting the build proceed otherwise > leads >

[Bug c++/70816] bogus error __builtin_strcmp is not a constant expression in a constexpr function

2021-12-15 Thread ldionne.2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70816 Louis Dionne changed: What|Removed |Added CC||ldionne.2 at gmail dot com --- Comment

[Bug tree-optimization/67413] Complex NOP expanded to several operations

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67413 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #4) > It would just work. Except the two casts are not the same in the case of negative as I mentioned in comment #2 :).

[Bug tree-optimization/67413] Complex NOP expanded to several operations

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67413 --- Comment #4 from Andrew Pinski --- As for the other testcase: y_3 = x_2(D) & -4294967296; z_4 = (intD.9) x_2(D); _1 = (long intD.12) z_4; _5 = _1 | y_3; If we could optimize: z_4 = (intD.9) x_2(D); _1 = (long intD.12) z_4; Into:

[Bug tree-optimization/67413] Complex NOP expanded to several operations

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67413 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Blocks|

[Bug tree-optimization/90839] Detect lsb ones counting loop (final value replacement?)

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90839 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/90967] -Os produces more code than -O1

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90967 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug d/103739] Bootstrap broken on powerpc64-linux

2021-12-15 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103739 --- Comment #1 from Iain Buclaw --- Why is the library not installed alongside the host compiler though? The D core runtime compiles and works well on powerpc64-linux.

[Bug tree-optimization/83351] Missed optimization in math expression: sin^2(a) + cos^2(a) == 1

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83351 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/67242] Missing optimization with float IV in SCEV-CCP

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67242 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/77387] -Wstrict-overflow pessimizes VRP in some cases for ABS_EXPR

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77387 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Known to work|

[Bug sanitizer/91707] [10/11/12 Regression] spurious stringop-overflow warning with -fsanitize=undefined

2021-12-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91707 Martin Sebor changed: What|Removed |Added Last reconfirmed|2021-01-21 00:00:00 |2021-12-15 Known to fail|11.0

[Bug tree-optimization/64541] FRE pass optimization failure

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64541 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug libstdc++/103726] --disable-hosted-libstdcxx (freestanding C++) does not provide as what standard requires

2021-12-15 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103726 --- Comment #5 from cqwrteur --- (In reply to Jonathan Wakely from comment #4) > (In reply to Jonathan Wakely from comment #2) > > cppreference is wrong, is not freestanding. > > I've fixed it now. thank you.

[Bug tree-optimization/64319] add alias runtime check to remove load after load redundancy

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64319 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug libstdc++/103726] --disable-hosted-libstdcxx (freestanding C++) does not provide as what standard requires

2021-12-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103726 --- Comment #4 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #2) > cppreference is wrong, is not freestanding. I've fixed it now.

[Bug libstdc++/103726] --disable-hosted-libstdcxx (freestanding C++) does not provide as what standard requires

2021-12-15 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103726 --- Comment #3 from cqwrteur --- (In reply to Jonathan Wakely from comment #2) > cppreference is wrong, is not freestanding. okay.

[Bug libstdc++/103726] --disable-hosted-libstdcxx (freestanding C++) does not provide as what standard requires

2021-12-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103726 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/54924] Warn for std::string constructor with wrong size

2021-12-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54924 --- Comment #16 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #14) > Created attachment 43350 [details] > Patch to use __builtin_object_size in std::string > > So it isn't lost, here's a prototype I was working on last year

[Bug d/103739] New: Bootstrap broken on powerpc64-linux

2021-12-15 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103739 Bug ID: 103739 Summary: Bootstrap broken on powerpc64-linux Product: gcc Version: unknown Status: UNCONFIRMED Severity: blocker Priority: P3 Component: d

[Bug c/103738] No warning when setting deprecated fields using designated initializers

2021-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103738 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-12-15 Keywords|

[Bug libstdc++/103726] --disable-hosted-libstdcxx (freestanding C++) does not provide as what standard requires

2021-12-15 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103726 --- Comment #1 from cqwrteur --- also here is a weird thing i find. coroutine_handle has a template specification of std::hash, but std::hash is in which is not freestanding. What should standard library do? Should libstdc++ provide it or

[Bug c++/103711] Virtual base destroyed twice when an exception is thrown in a derived class' constructor called from a delegated constructor

2021-12-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103711 --- Comment #5 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #4) > Without the library dependency, and without the defaulted destructor (since ^^^

[Bug c++/103711] Virtual base destroyed twice when an exception is thrown in a derived class' constructor called from a delegated constructor

2021-12-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103711 --- Comment #4 from Jonathan Wakely --- Without the library dependency, and without the defaulted destructor (since GCC int constructions = 0; int destructions = 0; struct A { A() { constructions++; } virtual ~A() {

[Bug c++/103711] Virtual base destroyed twice when an exception is thrown in a derived class' constructor called from a delegated constructor

2021-12-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103711 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2021-12-15

[Bug c/103738] No warning when setting deprecated fields using designated initializers

2021-12-15 Thread gcc at haasn dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103738 Niklas Haas changed: What|Removed |Added Attachment #52009|no_warning.c|warning.c filename|

[Bug c/103738] New: No warning when setting deprecated fields using designated initializers

2021-12-15 Thread gcc at haasn dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103738 Bug ID: 103738 Summary: No warning when setting deprecated fields using designated initializers Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity:

[Bug target/103722] [12 Regression] ICE in extract_constrain_insn building glibc for SH4

2021-12-15 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103722 --- Comment #1 from Vladimir Makarov --- (In reply to Joseph S. Myers from comment #0) > Created attachment 52003 [details] > preprocessed source > > Build the attached code (from glibc) with -O2 for sh4-linux-gnu. This > produces an ICE: >

[Bug target/103624] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

2021-12-15 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103624 Bill Schmidt changed: What|Removed |Added Assignee|wschmidt at gcc dot gnu.org|unassigned at gcc dot gnu.org

[Bug testsuite/103737] new test case decltype-bitfield1.C fails in r11-9363

2021-12-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103737 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug testsuite/78136] gcc.dg/cpp/trad/include.c fails with newer glibc versions

2021-12-15 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78136 Tamar Christina changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug fortran/103694] [12 Regression] ICE in gfc_conv_expr_op, at fortran/trans-expr.c:3882 since r12-3993-gb19bbfb148250536

2021-12-15 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103694 --- Comment #2 from anlauf at gcc dot gnu.org --- (In reply to Martin Liška from comment #1) > Started with r12-3993-gb19bbfb148250536. Are you sure about that? All releases >= 7 ICE for me.

[Bug tree-optimization/103690] [12 Regression] ICE: in build2, at tree.c:4985 with -g -O2 -fno-tree-dce -fno-tree-dse -fno-tree-fre --param=max-jump-thread-duplication-stmts=94 since r12-2591-g2e96b5f

2021-12-15 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103690 Alex Coplan changed: What|Removed |Added CC||acoplan at gcc dot gnu.org --- Comment

[Bug c++/103408] ICE when requires auto(x) in C++23

2021-12-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103408 Patrick Palka changed: What|Removed |Added Target Milestone|--- |12.0 Resolution|---

[Bug fortran/103693] [12 Regression] ICE in gfc_array_dimen_size(): Bad EXPR_ARRAY expr since r12-4967-gbcf3728abe848888

2021-12-15 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103693 --- Comment #2 from anlauf at gcc dot gnu.org --- Gerhard, the issue here is class(*), parameter :: a(1,2) = 2 which we do not yet support, and where there is a duplicate by you already.

[Bug c++/100493] Lambda default copy capture that captures "this" cannot be used in both C++17 and C++20 modes

2021-12-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100493 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/67491] [meta-bug] concepts issues

2021-12-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 103198, which changed state. Bug 103198 Summary: ICE for requires requires clause with varadic templates https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103198 What|Removed |Added

[Bug c++/103198] ICE for requires requires clause with varadic templates

2021-12-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103198 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

  1   2   3   >