[Bug libstdc++/51653] More compact std::tuple

2021-12-05 Thread glisse at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51653 --- Comment #6 from Marc Glisse --- (In reply to Andrew Pinski from comment #5) > Is there anything more to do for this? Yes. This PR is about having the library reorder the elements of a tuple to minimize the size, and the current code does

[Bug c++/86588] peculiar build issue using range-v3

2021-12-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86588 --- Comment #4 from Andrew Pinski --- The error message for "-std=gnu++17 -fconcepts" case: In file included from /home/mi/h4nn3s/devel/seqan3/include/seqan3/range/view/take_line.hpp:46, from test.cpp:1:

[Bug c++/86588] peculiar build issue using range-v3

2021-12-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86588 --- Comment #3 from Andrew Pinski --- On the trunk with "std=c++17 -fconcepts" It does not ICE any more but without it, GCC does.

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

2021-12-05 Thread qiu.chaofan at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100912 --- Comment #9 from Qiu Chaofan --- I also get following 'symbol not found' error for following case (under -mabi=ieeelongdouble): undefined reference to `std::__gnu_cxx11_ieee128::money_get > >::money_get(unsigned long)' Maybe related?

[Bug c++/83756] [9/10/11/12 Regression] gcc ICE in gimplify_expr on boost::call_once (-fms-extensions)

2021-12-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83756 Andrew Pinski changed: What|Removed |Added CC||sonoro at telefonica dot net ---

[Bug target/69832] internal compiler error

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

[Bug c++/13452] No error on invalid CV qualifier on member function returning function pointer

2021-12-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=13452 Andrew Pinski changed: What|Removed |Added CC||zhonghao at pku dot org.cn --- Comment

[Bug c++/86652] pointer to function type cannot have 'const' qualifier

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

[Bug c++/69898] Possibility for function with cv-qualifier-seq be adjusted to function pointer

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

[Bug c++/13452] No error on invalid CV qualifier on member function returning function pointer

2021-12-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=13452 --- Comment #8 from Andrew Pinski --- http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1417

[Bug rtl-optimization/69933] non-ideal branch layout for an early-out return

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

[Bug preprocessor/67046] [9/10/11/12 Regression] Segmentation fault when a preprocessor directive follows the argument to _Pragma

2021-12-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67046 Andrew Pinski changed: What|Removed |Added Known to work||4.1.2, 4.4.7 Ever confirmed|0

[Bug objc/66367] Objective-C Variadic Method Not Compiling

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

[Bug target/66025] Implement ThreadSanitizer support for IBM z Systems

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

[Bug c++/65861] libstdc++ is silently generating wrong code when its std::search is given an input iterator

2021-12-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65861 Andrew Pinski changed: What|Removed |Added Keywords||accepts-invalid Resolution|---

[Bug sanitizer/57507] gcc 4.8: thread sanitizer: std::thread false(?) positive

2021-12-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57507 Andrew Pinski changed: What|Removed |Added CC||p.bartosiewi at partner dot samsun

[Bug sanitizer/64337] ThreadSanitizer: std::thread + lambda false positive

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

[Bug sanitizer/57507] gcc 4.8: thread sanitizer: std::thread false(?) positive

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

[Bug libstdc++/51653] More compact std::tuple

2021-12-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51653 --- Comment #5 from Andrew Pinski --- Is there anything more to do for this?

[Bug debug/58767] assemly output (labels order) depends on the sources location.

2021-12-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58767 --- Comment #1 from Andrew Pinski --- The output of the strings is based on the the traverse of the hashtable. this might mean the output of the strings in the hashtable be outputted at a different location based on the hash of the strings. In

[Bug c++/103569] New: Type alias from result of lambda call in unevaluated context, used in template, is inconsistent

2021-12-05 Thread tim.pavlic at minelab dot com.au via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103569 Bug ID: 103569 Summary: Type alias from result of lambda call in unevaluated context, used in template, is inconsistent Product: gcc Version: 11.1.0 Status: UNCONFIRMED

[Bug target/102768] [feature request] Add compiler support for aarch64 shadow call stack

2021-12-05 Thread ashimida at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102768 --- Comment #7 from ashimida --- Hi nsz, Could you please review this patch :) Link: https://gcc.gnu.org/pipermail/gcc-patches/2021-December/586204.html Thanks, -- Dan

[Bug libfortran/103560] Error: GFC_INTEGER_4 should be available for the library to compile

2021-12-05 Thread brocolis at eml dot cc via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103560 --- Comment #1 from brocolis at eml dot cc --- Actually the first error message is make[2]: Entering directory '/build/mingw/build-gcc-git/x86_64-w64-mingw32/libgfortran' /bin/sh ../../../gcc-git/libgfortran/mk-kinds-h.sh '1 2 4 8 16' '4 8 10

[Bug target/103568] New: sub-optimal vector construction with two loaded doubles on Power10

2021-12-05 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103568 Bug ID: 103568 Summary: sub-optimal vector construction with two loaded doubles on Power10 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

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

2021-12-05 Thread sarah.kriesch at opensuse dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103364 --- Comment #18 from Sarah Julia Kriesch --- (In reply to Andreas Krebbel from comment #17) > (In reply to Sarah Julia Kriesch from comment #12) > > that is happening during the build process in OBS with a really minimal > > openSUSE

[Bug fortran/103418] random_number() does not accept pointer, intent(in) array argument

2021-12-05 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103418 anlauf at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot

[Bug pch/71934] pch cannot be disabled so gcc cannot be position independent

2021-12-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71934 Jakub Jelinek changed: What|Removed |Added Attachment #51926|0 |1 is obsolete|

[Bug fortran/103567] Compile error with assumed-rank RESULT variable

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

[Bug fortran/103567] Compile error with assumed-rank RESULT variable

2021-12-05 Thread wileamyp at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103567 --- Comment #1 from Wileam Yonatan Phan --- Surprisingly, this one compiles just fine: subroutine f(y) real, intent(out) :: y(..) end subroutine f

[Bug fortran/103567] New: Compile error with assumed-rank RESULT variable

2021-12-05 Thread wileamyp at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103567 Bug ID: 103567 Summary: Compile error with assumed-rank RESULT variable Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/103566] New: confusing error message for typedefs with initializers

2021-12-05 Thread vanyacpp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103566 Bug ID: 103566 Summary: confusing error message for typedefs with initializers Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/103540] diagnosting concept depends on itself

2021-12-05 Thread ich.freak at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103540 --- Comment #2 from Igel --- Ah thanks for copying the relevant code here. The error that you're referring to is: : In instantiation of 'struct X<0>': :5:14: required by substitution of 'template requires StrictNodeType using Int = int

[Bug tree-optimization/103565] GCC emits more assembly than clang for carry flag

2021-12-05 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103565 --- Comment #1 from cqwrteur --- https://godbolt.org/z/bGfY6zh9x #include template inline constexpr bool add_carry_pattern(bool carry,T a,T b,T& out) noexcept { T temp{carry+a}; out=temp+b; return (out < b) | (temp <

[Bug tree-optimization/103565] New: GCC emits more assembly than clang for carry flag

2021-12-05 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103565 Bug ID: 103565 Summary: GCC emits more assembly than clang for carry flag Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug pch/71934] pch cannot be disabled so gcc cannot be position independent

2021-12-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71934 --- Comment #22 from Jakub Jelinek --- That is true, but for the common case the relocation table sits in between two parts that need to be used, so in the common case it fseeks over it. I was hoping the relocation table could be last, but that

[Bug c++/103564] New: type-requirement that names a constructor should fail

2021-12-05 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103564 Bug ID: 103564 Summary: type-requirement that names a constructor should fail Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: accepts-invalid Severity: normal

[Bug pch/71934] pch cannot be disabled so gcc cannot be position independent

2021-12-05 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71934 --- Comment #21 from Iain Sandoe --- I'm not sure that the file size is that critical. IIUC, we never even read the relocation table unless the target returns a different mapped address from the one in the file, and we hope to choose VMA

[Bug pch/71934] pch cannot be disabled so gcc cannot be position independent

2021-12-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71934 --- Comment #20 from Jakub Jelinek --- Thanks, you've got far further than I ended up with. I'll incorporate your changes tomorrow. And indeed, the PIE relocation code needs to take the bias into account and I even noted I need to do that, but

[Bug pch/71934] pch cannot be disabled so gcc cannot be position independent

2021-12-05 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71934 --- Comment #19 from Iain Sandoe --- (In reply to Iain Sandoe from comment #18) > I needed two small additions to build (c-family+Ada+fortran+lto) > 3. I have one failing ObjC test... > > (possibly a missing or incorrectly specified GTY(()) -

[Bug pch/71934] pch cannot be disabled so gcc cannot be position independent

2021-12-05 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71934 --- Comment #18 from Iain Sandoe --- I needed two small additions to build (c-family+Ada+fortran+lto) ** Go and D not tested. diff --git a/gcc/ada/gcc-interface/decl.c b/gcc/ada/gcc-interface/decl.c index 93b6eb5bb45..af6b6bd14d4 100644 ---

[Bug tree-optimization/103559] Can't optimize away < 0 check on sqrt

2021-12-05 Thread vanyacpp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103559 Ivan Sorokin changed: What|Removed |Added CC||vanyacpp at gmail dot com --- Comment

[Bug c++/103563] ostream operator<< resolved to variant containing type resulting in stack overflow

2021-12-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103563 --- Comment #2 from Andrew Pinski --- The following code is same example but removed the headers and such: namespace t { class g{}cout; template struct v { template v(T1&&){} }; class monostate {}; g <<(g , const char

[Bug c++/103563] ostream operator<< resolved to variant containing type resulting in stack overflow

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

[Bug c++/103563] New: ostream operator<< resolved to variant containing type resulting in stack overflow

2021-12-05 Thread samuel.hangouet at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103563 Bug ID: 103563 Summary: ostream operator<< resolved to variant containing type resulting in stack overflow Product: gcc Version: 11.1.0 Status: UNCONFIRMED

[Bug tree-optimization/56631] duplicated sse code in switch

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

[Bug c/61469] language feature: Support for enum underlying type

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

[Bug libstdc++/56861] std::vector::reserve optimization bug

2021-12-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56861 Andrew Pinski changed: What|Removed |Added Resolution|--- |WORKSFORME

[Bug sanitizer/55441] ThreadSanitizer: handle bitfields

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

[Bug middle-end/60937] -Os -fprofile-arcs breaks __attribute__((error()))

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

[Bug tree-optimization/48316] missed CSE / reassoc with array offsets

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

[Bug target/59842] `__x86.get_pc_thunk.bx' referenced in section `.text': defined in discarded section…

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

[Bug target/59842] `__x86.get_pc_thunk.bx' referenced in section `.text': defined in discarded section…

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

[Bug plugins/58445] dragonegg needs plugin/include/config/i386/stringop.def and plugin/include/config/i386/x86-tune.def installed

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