[Bug debug/87772] Crash with variadic template, constexpr constructor for templated non-literal type, using declaration

2021-12-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87772 Andrew Pinski changed: What|Removed |Added Known to fail|9.0 |8.5.0 Keywords|

[Bug c++/99968] ICE on remove_const_t in requires-expression

2021-12-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99968 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2021-10-01 00:00:00 |2021-12-11 Target Milestone|10.4

[Bug c/100545] ICE with -g: in gen_typedef_die with mode attribute and aligned attribute

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

[Bug c/100535] ICE: tree check: expected function_type or method_type, have integer_type in gimplify_call_expr, at gimplify.c:3457

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

[Bug c/100527] ICE: Segmentation fault, flags_from_decl_or_type(tree_node const*)

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

[Bug c/100526] ICE: segmentation fault in gimple-parser.c2049

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

[Bug c/99955] gcc.c-torture/execute/pr92618.c violates strict aliasing rules

2021-12-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99955 --- Comment #5 from Andrew Pinski --- handle_vector_size_attribute does: /* Build back pointers if needed. */ tree new_type = build_vector_type (type, nunits); /* Build back pointers if needed. */ *node =

[Bug middle-end/91526] Unnecessary SSE and other instructions generated when compiling in C mode (vs. C++ mode)

2021-12-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91526 Andrew Pinski changed: What|Removed |Added Component|c |middle-end Severity|normal

[PATCH RFC] c++: add color to function decl printing

2021-12-11 Thread Jason Merrill via Gcc-patches
In reading C++ diagnostics, it's often hard to find the name of the function in the middle of the template header, return type, parameters, and template arguments. So let's colorize it, and maybe the template argument bindings while we're at it. I've somewhat arbitrarily chosen bold green for

[Bug tree-optimization/93971] std::string considered to alias declared objects of incompatible types

2021-12-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93971 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug c/90472] “extern int i;” declaration inside function isn't allowed to shadow “static int i;” at file scope

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

[Bug c/70389] uint_16t left shift with -Wconversion produces incorrect warning

2021-12-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70389 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c/88382] undocumented GNU C extension: C++ raw string literals permitted in GNU C

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

[Bug c++/66564] ICE on explicit instantiation of nested template class

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

[Bug c++/66564] ICE on explicit instantiation of nested template class

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

[Bug c++/103667] [12 Regression] Accepting invalid explicitly specialized template with incorrectly ordered template parameter lists

2021-12-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103667 Andrew Pinski changed: What|Removed |Added Keywords|needs-bisection | Status|NEW

[Bug c++/103667] [12 Regression] Accepting invalid explicitly specialized template with incorrectly ordered template parameter lists

2021-12-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103667 --- Comment #2 from Andrew Pinski --- Note the ICE is a regression from 4.8.x though rather than a recent regression.

[Bug c++/103667] [12 Regression] Accepting invalid explicitly specialized template with incorrectly ordered template parameter lists

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

[Bug c++/103667] New: [12 Regression] Accepting invalid explicitly specialized template with incorrectly ordered template parameter lists

2021-12-11 Thread matthewjbarichello at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103667 Bug ID: 103667 Summary: [12 Regression] Accepting invalid explicitly specialized template with incorrectly ordered template parameter lists Product: gcc

[Bug c/30171] non-portable va_list abuse should be diagnostic

2021-12-11 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30171 --- Comment #5 from Eric Gallager --- (this is the last bug left open blocking bug 30334, by the way)

[Bug c/71345] Warn about redundant conditions

2021-12-11 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71345 --- Comment #3 from Eric Gallager --- (In reply to Manuel López-Ibáñez from comment #2) > A simpler case would be: > > int foo(int a, int b, int c) > { > if(b == c && b == c) return 1; /* warns with -Wlogical-op */ > if(a && b == c && b

[Bug c/30171] non-portable va_list abuse should be diagnostic

2021-12-11 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30171 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org,

[Bug target/103635] size_t and uintptr_t have wrong sizes with x86_64-w64-mingw32-g++ -mabi=sysv

2021-12-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103635 --- Comment #9 from Andrew Pinski --- (In reply to Mark Harmstone from comment #8) > Created attachment 51976 [details] > preprocessed source Can you attach /usr/x86_64-w64-mingw32/usr/include/corecrt.h ? because I suspect it is bug there:

[Bug target/103635] size_t and uintptr_t have wrong sizes with x86_64-w64-mingw32-g++ -mabi=sysv

2021-12-11 Thread mark at harmstone dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103635 --- Comment #8 from Mark Harmstone --- Created attachment 51976 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51976=edit preprocessed source Sorry!

[Bug c/52600] OpenMP: declaration as structured block

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

[Bug target/103635] size_t and uintptr_t have wrong sizes with x86_64-w64-mingw32-g++ -mabi=sysv

2021-12-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103635 --- Comment #7 from Andrew Pinski --- (In reply to Mark Harmstone from comment #6) > Created attachment 51973 [details] > preprocessed source > > Thanks Andrew, attached. > > Relevant bits: > typedef unsigned int size_t; > typedef unsigned

[Bug libstdc++/103664] std::regex_replace bug if the string contains \0

2021-12-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103664 --- Comment #1 from Andrew Pinski --- Note LLVM's libc++ also has the same bug.

[Bug jit/95415] Add support for thread-local variables

2021-12-11 Thread bouanto at zoho dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95415 Antoni changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug testsuite/101751] asan_test.C fails with excess error with glibc-2.34

2021-12-11 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101751 --- Comment #5 from Xi Ruoyao --- Will the patch be backported to gcc-11 branch?

[Bug jit/95415] Add support for thread-local variables

2021-12-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95415 --- Comment #5 from CVS Commits --- The master branch has been updated by Antoni Boucher : https://gcc.gnu.org/g:c6b7f68bfd61fcd02842e672476f9924d5ba1d3c commit r12-5913-gc6b7f68bfd61fcd02842e672476f9924d5ba1d3c Author: Antoni Boucher Date:

[Bug target/103661] __builtin_cpu_supports returns a negative integer for avx512vbmi2

2021-12-11 Thread stefan.kneifel at bluewin dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103661 --- Comment #3 from Stefan Kneifel --- Created attachment 51975 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51975=edit First try of a patch, making it unsigned (and correcting the resolver generator)

[Bug gcov-profile/103666] New: compiling single-file programs with -fprofile-generate no longer leads to intended results

2021-12-11 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103666 Bug ID: 103666 Summary: compiling single-file programs with -fprofile-generate no longer leads to intended results Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug d/100062] Can't put DECL_STATIC_CONSTRUCTOR/DESTRUCTORs decls on comdat

2021-12-11 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100062 Iain Buclaw changed: What|Removed |Added Component|middle-end |d --- Comment #3 from Iain Buclaw ---

[Bug middle-end/103483] context-sensitive ranges change triggers stringop-overread

2021-12-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103483 --- Comment #14 from Jason Merrill --- (In reply to Martin Sebor from comment #13) > static inline void copy (const char *p) > { > int N = null_safe_strlen (p); > if (N) /* disabling this branch prevents the warning */ >

gcc-11-20211211 is now available

2021-12-11 Thread GCC Administrator via Gcc
Snapshot gcc-11-20211211 is now available on https://gcc.gnu.org/pub/gcc/snapshots/11-20211211/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 11 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

[Bug tree-optimization/92860] [9/10/11/12 regression] Global flags affected by -O settings are clobbered by optimize attribute

2021-12-11 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92860 --- Comment #64 from David Binderman --- (In reply to David Binderman from comment #63) > (In reply to Martin Liška from comment #62) > > Can't reproduce with the current master: > > Righto. This is proving unexpectedly hard to reproduce. > >

[Bug jit/96066] Cannot use values from some builtins because they are of void type

2021-12-11 Thread bouanto at zoho dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96066 Antoni changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug jit/96066] Cannot use values from some builtins because they are of void type

2021-12-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96066 --- Comment #5 from CVS Commits --- The master branch has been updated by Antoni Boucher : https://gcc.gnu.org/g:611fdb0fc5b95ee15215e2e3679834f311919096 commit r12-5912-g611fdb0fc5b95ee15215e2e3679834f311919096 Author: Antoni Boucher Date:

[Bug jit/96067] __atomic_compare_exchange_n should return bool instead of void

2021-12-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96067 --- Comment #5 from CVS Commits --- The master branch has been updated by Antoni Boucher : https://gcc.gnu.org/g:611fdb0fc5b95ee15215e2e3679834f311919096 commit r12-5912-g611fdb0fc5b95ee15215e2e3679834f311919096 Author: Antoni Boucher Date:

[Bug tree-optimization/103665] New: insert_trap in gimple-isolate-paths interferes badly with modref, pure-const and other optimizations

2021-12-11 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103665 Bug ID: 103665 Summary: insert_trap in gimple-isolate-paths interferes badly with modref, pure-const and other optimizations Product: gcc Version: 12.0 Status:

[Bug fortran/102787] ICE in new test case gfortran.dg/reshape_shape_2.f90

2021-12-11 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102787 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug fortran/102717] ICE in gfc_simplify_reshape, at fortran/simplify.c:6843

2021-12-11 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102717 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug fortran/103411] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6377

2021-12-11 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103411 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug fortran/102787] ICE in new test case gfortran.dg/reshape_shape_2.f90

2021-12-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102787 --- Comment #14 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:1f49f2ad78360ea6634deca9a8cc35f9c4f1051d commit r10-10334-g1f49f2ad78360ea6634deca9a8cc35f9c4f1051d Author: Harald

[Bug fortran/102717] ICE in gfc_simplify_reshape, at fortran/simplify.c:6843

2021-12-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102717 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:fe00eaefa42d17de3c98c274967dd0f7ad7be463 commit r10-10333-gfe00eaefa42d17de3c98c274967dd0f7ad7be463 Author: Harald Anlauf

[Bug fortran/103411] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6377

2021-12-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103411 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:263826d6f52d1cc3611554ba0e131347e874aebf commit r10-10332-g263826d6f52d1cc3611554ba0e131347e874aebf Author: Harald Anlauf

[Bug libstdc++/103664] New: std::regex_replace bug if the string contains \0

2021-12-11 Thread artur77 at freemail dot hu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103664 Bug ID: 103664 Summary: std::regex_replace bug if the string contains \0 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/92860] [9/10/11/12 regression] Global flags affected by -O settings are clobbered by optimize attribute

2021-12-11 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92860 --- Comment #63 from David Binderman --- (In reply to Martin Liška from comment #62) > Can't reproduce with the current master: Righto. This is proving unexpectedly hard to reproduce. EITHER: I search various values of march= to find out which

[Bug fortran/103588] ICE: Simplification error in gfc_ref_dimen_size, at fortran/array.c:2407

2021-12-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103588 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:b1bc9dba5c720b67d19df4d94634bb89ad5ade23 commit r11-9376-gb1bc9dba5c720b67d19df4d94634bb89ad5ade23 Author: Harald Anlauf

[Bug fortran/103606] [9/10/11/12 Regression] ICE in resolve_fl_procedure, at fortran/resolve.c:13297 since r9-3324-g2b03b800d866d345

2021-12-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103606 --- Comment #5 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:7e913caad081ea85da4f257265f2d3383cdbe8d5 commit r12-5911-g7e913caad081ea85da4f257265f2d3383cdbe8d5 Author: Harald Anlauf Date:

[Bug target/103656] make install-strip -j cannot find x86_64-w64-mingw32-strip for canadian compilation

2021-12-11 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103656 --- Comment #4 from cqwrteur --- (In reply to Andrew Pinski from comment #2) > Do you have x86_64-w64-mingw32-strip in your path? > Was x86_64-w64-mingw32-strip built when you build the cross binutils? yes of course. the problem is that

[Bug c++/103663] New: Diagnostic is missing multiple instantiation frames to help point to where the problem happens

2021-12-11 Thread barry.revzin at gmail dot com via Gcc-bugs
views::zippable_with__concept_; And there now is the invocable check. But this would've been a lot easier to track down if these two zip_with.hpp frames were present. == A similar, shorter example of disappearing frames: #include struct Abstract { vi

Fix handling of histogram in ipa-profile

2021-12-11 Thread Jan Hubicka via Gcc-patches
Hi, this patch removes apparently forgotten debugging hack (which got in during the speculative call patchset) which reduces hot bb threshold. This does not make sense since it is set and reset randomly as the summaries are processed. One problem is that we set the BB threshold to make certain

[Bug preprocessor/87299] #pragma GCC target behaves differently when using -save-temps

2021-12-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87299 Andrew Pinski changed: What|Removed |Added Component|middle-end |preprocessor Target|

Fix ipa-modref handling of thunks

2021-12-11 Thread Jan Hubicka via Gcc-patches
Hi, thunks are not transparent for ipa-modref summary since it cares about offsets from pointer parameters and also for virtual thunk about the read from memory in there. We however use function_or_virtual_thunk_symbol to get the summary that may lead to wrong code (and does in two testsuite

[Bug tree-optimization/82394] Pointer imposes an optimization barrier

2021-12-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82394 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug fortran/103662] New: TBAA problem in Fortran FE triggering in gfortran.dg/unlimited_polymorphic_3.f03

2021-12-11 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103662 Bug ID: 103662 Summary: TBAA problem in Fortran FE triggering in gfortran.dg/unlimited_polymorphic_3.f03 Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug middle-end/55412] pr47276.c fails with -fpic option.

2021-12-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55412 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic, rejects-valid Target

[Bug ipa/48782] unused-but-set static variables are not optimized out

2021-12-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48782 Andrew Pinski changed: What|Removed |Added CC||marxin at gcc dot gnu.org

[Bug lto/52489] LTO drops init_array/fini_array sections

2021-12-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52489 Bug 52489 depends on bug 51255, which changed state. Bug 51255 Summary: Using -fwhole-program breaks code which puts values in .ctors or .init_array https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51255 What|Removed

[Bug middle-end/51255] Using -fwhole-program breaks code which puts values in .ctors or .init_array

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

PING^4 [PATCH v4 0/2] Implement indirect external access

2021-12-11 Thread H.J. Lu via Gcc-patches
On Thu, Nov 25, 2021 at 9:54 AM H.J. Lu wrote: > > On Mon, Nov 1, 2021 at 7:02 AM H.J. Lu wrote: > > > > On Thu, Oct 21, 2021 at 12:56 PM H.J. Lu wrote: > > > > > > On Wed, Sep 22, 2021 at 7:02 PM H.J. Lu wrote: > > > > > > > > Changes in the v4 patch. > > > > > > > > 1. Add

[Bug middle-end/42488] [4.4 only] spurious strict-aliasing warning

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

[Bug middle-end/103364] s390x: TLS reference in /usr/lib64/libLLVM.so mismatches non-TLS reference in /usr/lib64/libLLVM.so

2021-12-11 Thread sarah.kriesch at opensuse dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103364 --- Comment #25 from Sarah Julia Kriesch --- The kernel bug fix in combination with higher constraints (12GB of memory) has helped. It is strange, that we had this error message instead of an oom. BUT that should be only a workaround. 12GB for

[Bug target/103661] __builtin_cpu_supports returns a negative integer for avx512vbmi2

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

[Bug target/103661] __builtin_cpu_supports returns a negative integer for avx512vbmi2

2021-12-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103661 --- Comment #1 from Andrew Pinski --- Oh it does say positive integer: This function returns a positive integer if the run-time CPU supports feature and returns 0 otherwise.

[Bug fortran/102043] Wrong array types used for negative stride accesses

2021-12-11 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102043 --- Comment #28 from Mikael Morin --- I’m reading the previous comments again: (In reply to Richard Biener from comment #10) > So to clarify the ARRAY_REF constraints - there is currently no way to > construct a valid ARRAY_REF where an index

[Bug fortran/102043] Wrong array types used for negative stride accesses

2021-12-11 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102043 Mikael Morin changed: What|Removed |Added Attachment #51891|0 |1 is obsolete|

Re: [PATCH] #undef isblank before def or decl in libstdc++ headers

2021-12-11 Thread Jonathan Wakely via Gcc-patches
On Sat, 11 Dec 2021, 10:56 Olivier Hainque via Libstdc++, < libstd...@gcc.gnu.org> wrote: > (Thanks for your feedback Jonathan) > > > On 10 Dec 2021, at 19:24, Jonathan Wakely wrote: > > > > I'm curious why _GLIBCXX_USE_C99_CTYPE_TR1 is not defined if VxWorks > > has isblank, the configure check

[Bug target/103661] New: __builtin_cpu_supports returns a negative integer for avx512vbmi2

2021-12-11 Thread stefan.kneifel at bluewin dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103661 Bug ID: 103661 Summary: __builtin_cpu_supports returns a negative integer for avx512vbmi2 Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal

Re: [PATCH] gengtype: remove "tree_exp" special attribute

2021-12-11 Thread Patrick Palka via Gcc-patches
On Fri, Dec 10, 2021 at 3:57 PM Jeff Law wrote: > > > > On 12/10/2021 8:41 AM, Patrick Palka via Gcc-patches wrote: > > The function comment for adjust_field_tree_exp says this special case > > is for handling trees whose operands may contain pointers to RTL instead > > of to trees. But ever

[Bug c++/102396] [11/12 Regression] ICE when using concepts, in get, at cp/constraint.cc:2637 since r11-6245-g79f57d5cb070bb02

2021-12-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102396 --- Comment #5 from Patrick Palka --- (In reply to Giuseppe D'Angelo from comment #3) > Hello Patrick, > > Thank you for the insights. I'm left wondering however if the CWG resolution > would possibly ever allow the operator== to be defined as

Re: [PATCH] PR fortran/103606 - [9/10/11/12 Regression] ICE in resolve_fl_procedure, at fortran/resolve.c:13297

2021-12-11 Thread Mikael Morin
On 10/12/2021 22:49, Harald Anlauf via Fortran wrote: Dear all, when accessing CLASS components we need to ensure that the corresponding class container has already been built. Invalid code, e.g. the testcase in PR103606, may otherwise generate segfaults due to invalid reads. Regtested on

SV: [PATCH v2] jit: Add support for global rvalue initialization and ctors

2021-12-11 Thread Petter Tomner via Gcc-patches
Hi! > s/an union/a union/ > s/a rvalue/an rvalue/ Heh no way ... and I though I knew English grammar :) Had to look that up to see what the deal was but it makes sense. yunion, arevalue. > s/wrong-field-name/wrong-field-obj/ > > to match the struct example (given that the issue being tested

[Bug target/103635] size_t and uintptr_t have wrong sizes with x86_64-w64-mingw32-g++ -mabi=sysv

2021-12-11 Thread mark at harmstone dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103635 --- Comment #6 from Mark Harmstone --- Created attachment 51973 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51973=edit preprocessed source Thanks Andrew, attached. Relevant bits: typedef unsigned int size_t; typedef unsigned int

[Bug c/103660] New: Sub-optimal code with relational operators

2021-12-11 Thread david at westcontrol dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103660 Bug ID: 103660 Summary: Sub-optimal code with relational operators Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

Re: [PATCH] #undef isblank before def or decl in libstdc++ headers

2021-12-11 Thread Olivier Hainque via Gcc-patches
(Thanks for your feedback Jonathan) > On 10 Dec 2021, at 19:24, Jonathan Wakely wrote: > > I'm curious why _GLIBCXX_USE_C99_CTYPE_TR1 is not defined if VxWorks > has isblank, the configure check is: Oh, hmm, very good point. The reason was that the definition of isblank is conditioned on

[Bug target/103656] make install-strip -j cannot find x86_64-w64-mingw32-strip for canadian compilation

2021-12-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103656 --- Comment #3 from Andrew Pinski --- Also I doubt anyone tests -j on make install or make install-strip

[Bug target/103656] make install-strip -j cannot find x86_64-w64-mingw32-strip for canadian compilation

2021-12-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103656 --- Comment #2 from Andrew Pinski --- Do you have x86_64-w64-mingw32-strip in your path? Was x86_64-w64-mingw32-strip built when you build the cross binutils?

[Bug c++/60437] [C++11] Bogus "error: no matching function for call to 'X::X()'"

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

[Bug c++/63532] Cannot increase access of member function template.

2021-12-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63532 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/56152] explicit template instantiation of protected template function redeclared as public fails

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

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

2021-12-11 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 Known to fail|| --- Comment #2 from Andrew Pinski ---

[Bug c++/37452] -fPIC and inline seems to generate incorrect code with nested class templates

2021-12-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37452 --- Comment #6 from Andrew Pinski --- I can't reproduce the results in GCC 4.9 or above (I have not really tried anything before either).