[Bug c++/58751] [C++11] Inheriting constructors do not work properly with virtual inheritance.

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

[Bug c++/59366] A friend function template defined in a class is found without ADL

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59366 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |6.0

[Bug c++/51257] Template changes scope of friend functions

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

Re: [PATCH 02/10] [i386] Enable _Float16 type for TARGET_SSE2 and above.

2021-08-01 Thread Hongtao Liu via Gcc-patches
On Fri, Jul 30, 2021 at 5:30 AM Joseph Myers wrote: > > On Thu, 29 Jul 2021, Hongtao Liu via Gcc-patches wrote: > > > > Rather than using FLT_EVAL_METHOD_PROMOTE_TO_FLOAT16 whenever TARGET_SSE2 > > > (i.e. whenever the type is available), it might make more sense to follow > > > AArch64 and use

[Bug c++/51257] Template changes scope of friend functions

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51257 Andrew Pinski changed: What|Removed |Added Known to work||5.1.0, 6.1.0, 7.1.0, 9.1.0 Known

[RFC] Don't move cold code out of loop by checking bb count

2021-08-01 Thread Xiong Hu Luo via Gcc-patches
There was a patch trying to avoid move cold block out of loop: https://gcc.gnu.org/pipermail/gcc/2014-November/215551.html Richard suggested to "never hoist anything from a bb with lower execution frequency to a bb with higher one in LIM invariantness_dom_walker before_dom_children". This patch

Re: [PATCH 03/10] [i386] libgcc: Enable hfmode soft-sf/df/xf/tf extensions and truncations.

2021-08-01 Thread Hongtao Liu via Gcc-patches
On Fri, Jul 30, 2021 at 4:58 AM Joseph Myers wrote: > > On Tue, 27 Jul 2021, Hongtao Liu via Gcc-patches wrote: > > > modified gcc/emit-rtl.c > > @@ -928,6 +928,10 @@ validate_subreg (machine_mode omode, machine_mode > > imode, > > fix them all. */ > >if (omode == word_mode) > >

[Bug c++/29332] default argument access checking is not done at the point where the default argument expression appears

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

[Bug c++/85087] call to a non-const member function on a const lvalue accepted

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85087 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2018-03-28 00:00:00 |2021-8-1 --- Comment #2 from Andrew

[Bug c++/84984] ICE: in build2, at tree.c:4686

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84984 --- Comment #2 from Andrew Pinski --- Seems fixed even in GCC 8.1.0

[Bug c++/84196] invalid call to a function template with a vector argument silently accepted

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84196 Andrew Pinski changed: What|Removed |Added Known to work||10.0 --- Comment #3 from Andrew Pinski

[PATCH] Support cond_add/sub/mul/div for vector float/double.

2021-08-01 Thread liuhongt via Gcc-patches
Hi: This patch supports cond_add/sub/mul/div expanders for vector float/double. There're still cond_fma/fms/fnms/fma/max/min/xor/ior/and left which I failed to figure out a testcase to validate them. Also cond_add/sub/mul for vector integer. Bootstrap is ok, survive the regression test

[Bug c++/84030] Name lookup in presence of namespace

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84030 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2018-01-26 00:00:00 |2021-8-1 Keywords|

[Bug tree-optimization/81972] Improve data tracking for simple conditional code

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81972 Andrew Pinski changed: What|Removed |Added Component|c++ |tree-optimization

[Bug c++/80368] g++ thinks sizeof a non-type template parameter is dependent

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80368 --- Comment #1 from Andrew Pinski --- Seems fixed in GCC 9+.

[Bug c++/80679] call of overloaded is ambiguous

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80679 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2017-05-08 00:00:00 |2021-8-1 Keywords|

[Bug c++/52985] Postincrement not applied after indexing ternary array expression

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52985 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2012-04-16 00:00:00 |2021-8-1 --- Comment #4 from Andrew

[Bug c++/62274] [C++11] Variadic templates expansion into non-variadic class template

2021-08-01 Thread ville.voutilainen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62274 Ville Voutilainen changed: What|Removed |Added CC||jason at redhat dot com --- Comment

[Bug c++/64178] rejects-valid on variadic operator++

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64178 --- Comment #1 from Andrew Pinski --- This is a bad interaction with an old extension really; one which I thought was talking about removing.

[Bug c++/77474] sizeof and function template don't work properly together

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

[Bug c++/65152] Several friend function definitions break lookup

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

[Bug c++/72756] Using an enum as a constant expression via dot operator should not compile.

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

[Bug c++/56427] [C++11] template template parameter template parameter pack that depends on another parameter pack

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56427 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2013-07-25 00:00:00 |2021-8-1 --- Comment #7 from Andrew

[Bug preprocessor/52998] different macro unwinder for C and C++ (-ftrack-macro-expansion)

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52998 --- Comment #6 from Andrew Pinski --- C++ and C match up in GCC 6+.

[Bug preprocessor/60744] poor location and error recovery for unterminated argument list invoking macro

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60744 --- Comment #1 from Andrew Pinski --- GCC's tokenizer does not eat the token for DEBUG and inserts it still. maybe eating it is the way to fix this.

[Bug c++/71982] Wrong error and note range with macro

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71982 --- Comment #1 from Andrew Pinski --- Seems fixed in GCC 11+.

[Bug c++/57746] Invalid specializations of member objects are accepted, unlike member functions

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57746 --- Comment #9 from Andrew Pinski --- GCC and clang reject the code. ICC and MSVC accepts the code.

[Bug target/100952] [12 regression] several test case failures after r12-1202

2021-08-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100952 --- Comment #11 from CVS Commits --- The releases/gcc-11 branch has been updated by HaoChen Gui : https://gcc.gnu.org/g:960135b264a7724cf9c56acb6d85fb2d842a36e2 commit r11-8824-g960135b264a7724cf9c56acb6d85fb2d842a36e2 Author: Haochen Gui

[Bug c++/67426] Ambiguous overload between different function templates, where one has non-deduced arg

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67426 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid --- Comment #1 from

[Bug c++/57678] too many errors for bad template parameter

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57678 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2015-09-08 00:00:00 |2021-8-1 --- Comment #2 from Andrew

[Bug c++/63609] [C++11] Partial ordering of function templates broken

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63609 --- Comment #3 from Andrew Pinski --- This is interesting. GCC and MSVC reject it with the same ambiguous message. clang and ICC accept it but clang prints 1 while ICC prints 2.

[Bug c++/59173] [10/11 Regression] Alias template in partial specialization finds name from primary template

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59173 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.4 Known to fail|

[Bug c++/52962] Column number incorrect in error

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

[Bug c++/35167] problem with function address constant non-type template parameter in template

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35167 Andrew Pinski changed: What|Removed |Added Known to work||8.1.0 --- Comment #11 from Andrew

[Bug c++/62274] [C++11] Variadic templates expansion into non-variadic class template

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62274 --- Comment #6 from Andrew Pinski --- GCC, clang and MSVC all reject it with a similar error message. ICC accepts it.

[Bug c++/58089] expanding empty parameter pack as constructor arguments requires accessible copy constructor

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58089 Andrew Pinski changed: What|Removed |Added Known to work||7.0 --- Comment #4 from Andrew Pinski

[Bug c++/101715] [11/12 Regression] ICE with noexcept and canonical types differ for identical types caused by r12-1824

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101715 --- Comment #8 from Andrew Pinski --- (In reply to H.J. Lu from comment #7) > It is caused by r12-1824. It can't be as it was not backported to GCC 11.

[Bug c++/61103] False-positive, template-independent name taken as dependent name

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61103 --- Comment #2 from Andrew Pinski --- Seems fixed since GCC 7+.

[Bug c++/36183] misleading error message with explicit copy constructor call

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36183 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic Last

[Bug c++/57063] static_cast from data member to rvalue reference sometimes wrongfully produces lvalue

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57063 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid --- Comment #7 from

[Bug c++/57311] Conversion operator can be overloaded with itself by using typedef

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

[Bug c++/57392] The result of a .* expression is rvalue in a function template when its object expression is lvalue.

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

[Bug c++/55962] improper location for static_assert

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55962 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED See Also|

[Bug c++/101717] ICE capturing static member within stateless generic lambda

2021-08-01 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101717 Johel Ernesto Guerrero Peña changed: What|Removed |Added Summary|ICE capturing static member |ICE capturing static

[Bug c++/101717] New: ICE capturing static member by ref within stateless lambda

2021-08-01 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101717 Bug ID: 101717 Summary: ICE capturing static member by ref within stateless lambda Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug c++/11750] class scope using-declaration lookup not implemented

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11750 Andrew Pinski changed: What|Removed |Added CC||meng at g dot clemson.edu --- Comment

[Bug c++/55385] g++ failed to call final overrider of a virtual function.

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55385 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code Resolution|---

[Bug c++/101715] [11/12 Regression] ICE with noexcept and canonical types differ for identical types caused by r12-1824

2021-08-01 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101715 H.J. Lu changed: What|Removed |Added Summary|[11/12 Regression] ICE with |[11/12 Regression] ICE with

[Bug c++/40177] ADL with non-unqualified-id

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40177 --- Comment #2 from Andrew Pinski --- GCC accept the original testcase now in C++20 mode since GCC 9+ and reject it in C++98, C++11, C++14, and C++17 modes. Clang also rejects it in < C++20 but with a decent error message: :2:14: error: use of

[Bug c++/33821] function with ambiguous covariant return-type is not rejected

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33821 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2008-01-13 02:49:14 |2021-8-1 --- Comment #2 from Andrew

[Bug c++/19502] duplicate diagnostic for invalid template constant parameter

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19502 --- Comment #3 from Andrew Pinski --- Since GCC 8, we produce the error message 3 times rather than the 2 times.

[Bug c++/24847] Instantiates un-called copy constructor

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24847 --- Comment #4 from Andrew Pinski --- these compiler reject this code: GCC MSVC ICC Only clang accepts the code. All of the ones which reject it, all say the constructor is a copy constructor.

[Bug c++/101715] [11/12 Regression] compiler ice when uses a GCC cross compiler to canadian compile LLVM libc++

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

[Bug c++/101715] compiler ice when uses a GCC cross compiler to canadian compile LLVM libc++

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101715 --- Comment #5 from Andrew Pinski --- Reduced testcase: template struct {}; template struct { & yyy(&& __str) noexcept((::value)); & assign(&& __str) noexcept((::value)); }; template &

gcc-12-20210801 is now available

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

Re: [PATCH 2/2] WIP union hir-lowering and type support

2021-08-01 Thread Mark Wielaard
On Sun, Aug 01, 2021 at 01:29:16PM +0200, Mark Wielaard wrote: > I added two simple testcases to show the basic support for unions > works now. But there are a couple of things that don't work correctly > for unions yet. In particular when enabling warnings for the new > union.rs testcase you'll

[Bug c++/101715] compiler ice when uses a GCC cross compiler to canadian compile LLVM libc++

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101715 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code --- Comment #4 from

[Bug middle-end/78103] Failure to optimize with __builtin_clzl

2021-08-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78103 --- Comment #24 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:6f0c43e97825ee54e3779afbedcd0def12443001 commit r12-2656-g6f0c43e97825ee54e3779afbedcd0def12443001 Author: H.J. Lu Date: Sun Aug 1

Re: [PATCH] i386: Improve SImode constant - __builtin_clzll for -mno-lzcnt

2021-08-01 Thread Uros Bizjak via Gcc-patches
On Sun, Aug 1, 2021 at 7:12 PM H.J. Lu wrote: > > On Sat, Jul 31, 2021 at 12:53:44PM -0700, H.J. Lu wrote: > > On Fri, Jul 30, 2021 at 6:27 AM Jakub Jelinek via Gcc-patches > > wrote: > > > > > > On Fri, Jul 30, 2021 at 12:27:39PM +0200, Uros Bizjak wrote: > > > > Please put some space here,

[Bug middle-end/14708] description of -ffloat-store in gcc man page incorrect/inaccurate

2021-08-01 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14708 --- Comment #9 from Vincent Lefèvre --- An update after all these years: As Joseph S. Myers said in the gcc-help list in February 2005, "even -ffloat-store only deals with assignment, not casts":

[Bug c++/101715] compiler ice when uses a GCC cross compiler to canadian compile LLVM libc++

2021-08-01 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101715 --- Comment #3 from cqwrteur --- Created attachment 51237 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51237=edit Proeprocess.txt Preprocess file. command.txt contains my compilation toggles and error messages. preprocess.txt is the

[Bug c++/101715] compiler ice when uses a GCC cross compiler to canadian compile LLVM libc++

2021-08-01 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101715 --- Comment #2 from cqwrteur --- (In reply to Andrew Pinski from comment #1) > Can you attach the preprocessed source? It is most likely a known issue > which we just don't hit in our libstdc++. No problem

[Bug ipa/79874] symtab_node::verify_base: replace error with internal_error

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

[Bug libgcc/52100] CRTSTUFF_CFLAGS needs -fno-asynchronous-unwind-tables

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52100 Andrew Pinski changed: What|Removed |Added Component|other |libgcc Last reconfirmed|2012-02-03

[Bug bootstrap/79885] --with-build-sysroot= does not get honored throughout the build (fix-includes, CPP, CXXCPP, configure-stage2)

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79885 Andrew Pinski changed: What|Removed |Added Component|other |bootstrap Depends on|

[Bug middle-end/95014] gcc fails to merge two identical returns

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

[Bug tree-optimization/100046] compare with itself

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

[Bug tree-optimization/98709] gcc optimizes bitwise operations, but doesn't optimize logical ones

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98709 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Depends on|

[Bug middle-end/98236] x plus/minus y cmp 0 produces unoptimal code

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

[Bug tree-optimization/56719] missed optimization: i > 0xffff || i*4 > 0xffff

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

[Bug middle-end/56719] missed optimization: i > 0xffff || i*4 > 0xffff

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

[Bug middle-end/56719] missed optimization: i > 0xffff || i*4 > 0xffff

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56719 Andrew Pinski changed: What|Removed |Added CC||pascal_cuoq at hotmail dot com ---

[Bug tree-optimization/94651] Missed peephole optimization: m >= POWER_OF_TWO || n >= POWER_OF_TWO

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

[Bug middle-end/91869] Constant bitfield assignment causes unnecessary use of memory and instructions

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

[Bug target/101716] New: lea does not have a zero_extend version of it

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101716 Bug ID: 101716 Summary: lea does not have a zero_extend version of it Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement

[Bug c++/101715] compiler ice when uses a GCC cross compiler to canadian compile LLVM libc++

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101715 --- Comment #1 from Andrew Pinski --- Can you attach the preprocessed source? It is most likely a known issue which we just don't hit in our libstdc++.

[Bug tree-optimization/91881] Value range knowledge of higher bits not used in optimizations

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91881 Andrew Pinski changed: What|Removed |Added Component|middle-end |tree-optimization

[PATCH] Fix ICE when mixing VLAs and statement expressions [PR91038]

2021-08-01 Thread Uecker, Martin
Here is an attempt to fix some old and annoying bugs related to VLAs and statement expressions. In particulary, this seems to fix the issues with variably-modified types which are returned from statement expressions (which works on clang), but there are still bugs remaining related to structs

[Bug c++/101715] New: compiler ice when uses a GCC cross compiler to canadian compile LLVM libc++

2021-08-01 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101715 Bug ID: 101715 Summary: compiler ice when uses a GCC cross compiler to canadian compile LLVM libc++ Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug middle-end/92282] gimple for (a + ~b) is harder to optimize in RTL when types are unsigned

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

[Bug middle-end/90773] Improve piecewise operation

2021-08-01 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90773 --- Comment #10 from H.J. Lu --- *** Bug 89252 has been marked as a duplicate of this bug. ***

[Bug target/89252] Vector load/store aren't used to initialize large memory

2021-08-01 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89252 H.J. Lu changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug tree-optimization/92408] strlen(s) != 0 not folded into *s

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

[PATCH] i386: Improve SImode constant - __builtin_clzll for -mno-lzcnt

2021-08-01 Thread H.J. Lu via Gcc-patches
On Sat, Jul 31, 2021 at 12:53:44PM -0700, H.J. Lu wrote: > On Fri, Jul 30, 2021 at 6:27 AM Jakub Jelinek via Gcc-patches > wrote: > > > > On Fri, Jul 30, 2021 at 12:27:39PM +0200, Uros Bizjak wrote: > > > Please put some space here, e.g.: > > ... > > > Can you just name the relevant insn pattern

[Bug tree-optimization/82885] memcpy does not propagate aliasing knowledge

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82885 Andrew Pinski changed: What|Removed |Added Component|middle-end |tree-optimization

[Bug fortran/99368] ICE in build_function_decl, at fortran/trans-decl.c:2381

2021-08-01 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99368 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug target/89252] Vector load/store aren't used to initialize large memory

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

[Bug target/101714] New: [POWER] vec_min / vec_max handles NaN incorrectly when evaluated at compile time

2021-08-01 Thread evan--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101714 Bug ID: 101714 Summary: [POWER] vec_min / vec_max handles NaN incorrectly when evaluated at compile time Product: gcc Version: 10.2.1 Status: UNCONFIRMED

Re: [PATCH 2/2] WIP union hir-lowering and type support

2021-08-01 Thread Mark Wielaard
Hi Philip, On Fri, Jul 23, 2021 at 12:19:18PM +0100, Philip Herron wrote: > On 23/07/2021 00:19, Mark Wielaard wrote: > > Treat a union as a Struct variant like a tuple struct. Add an > > iterator and get_identifier functions to the AST Union class. Same > > for the HIR Union class, plus a

[Bug middle-end/82940] Suboptimal code for (a & 0x7f) | (b & 0x80) on powerpc

2021-08-01 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82940 --- Comment #5 from Segher Boessenkool --- (In reply to Andrew Pinski from comment #4) > As long as nothing on the rtl level (combine) does not mess this up, it > should produce the best code. combine cannot ever create worse code than it had

[Bug c++/101710] Sometimes constexpr cannot be used as constexpr

2021-08-01 Thread steve_green at qq dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101710 steve02081504 changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug c++/101710] Sometimes constexpr cannot be used as constexpr

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101710 --- Comment #7 from Andrew Pinski --- (In reply to Andrew Pinski from comment #6) > Changing: > if > constexpr(type_info. > has_attribute_helper()&_info. > not_has_has_attribute_helper()) > > to: > if constexpr(type_info.template >

[Bug c++/101710] Sometimes constexpr cannot be used as constexpr

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101710 --- Comment #6 from Andrew Pinski --- Changing: if constexpr(type_info.has_attribute_helper()&_info.not_has_has_attribute_helper()) to: if constexpr(type_info.template has_attribute_helper()&_info.template not_has_has_attribute_helper())

[Bug c++/101710] Sometimes constexpr cannot be used as constexpr

2021-08-01 Thread steve_green at qq dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101710 --- Comment #5 from steve02081504 --- (In reply to Andrew Pinski from comment #3) > (In reply to Andrew Pinski from comment #2) > > Can you re-upload the zip file as it seems be corrupted? > > Never mind, I was able to extract it, I had to use

[Bug c++/101710] Sometimes constexpr cannot be used as constexpr

2021-08-01 Thread steve_green at qq dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101710 --- Comment #4 from steve02081504 --- Created attachment 51235 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51235=edit .ii file & .s file & output - Deflate64 Deflate64 zip added.

[Bug c++/101710] Sometimes constexpr cannot be used as constexpr

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101710 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > Can you re-upload the zip file as it seems be corrupted? Never mind, I was able to extract it, I had to use winrar rather than the builtin unziper in windows

[Bug fortran/101660] [12 Regression] FAIL: gfortran.dg/bind_c_array_params_3.f90

2021-08-01 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101660 Tobias Burnus changed: What|Removed |Added CC||seurer at gcc dot gnu.org --- Comment

[Bug testsuite/101678] [12 regression] many fortran errors afterr r12-2553

2021-08-01 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101678 Tobias Burnus changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c++/101710] Sometimes constexpr cannot be used as constexpr

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101710 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code --- Comment #2 from

[Bug ipa/86140] constprop clones with identical bodies

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

  1   2   >