https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101595
Bug ID: 101595
Summary: ICE: in tsubst_pack_expansion, at cp/pt.c:13124
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101596
Bug ID: 101596
Summary: vect_recog_mulhs_pattern could use incorrect precision
to check shift count
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: no
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101595
Martin Liška changed:
What|Removed |Added
CC||jason at gcc dot gnu.org,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101596
Kewen Lin changed:
What|Removed |Added
Last reconfirmed||2021-07-23
Assignee|unassigned at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101502
--- Comment #2 from Feng Xue ---
(In reply to Martin Liška from comment #1)
> @Honza: Can you please take a look?
> @Feng: Do you have a test-case for it, please?
No. I just got this from code logic, but not 100% sure.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101596
--- Comment #2 from Kewen Lin ---
Created attachment 51200
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51200&action=edit
Untested patch
Still need test cases to be added.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101587
Jonathan Wakely changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101587
--- Comment #1 from Jonathan Wakely ---
Maybe we should add this somewhere and just stop using std::min for integers:
struct __min_fn
{
template
typename common_type<_Tp, _Up>::type
operator()(_Tp __t, _Up __u) const noexcep
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95286
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101587
Jonathan Wakely changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigne
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101586
--- Comment #2 from Jakub Jelinek ---
Reduced testcase:
struct A { char a; };
struct B : virtual A {};
struct C : B {};
void
foo ()
{
C c;
__builtin_clear_padding (&c);
}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101587
--- Comment #2 from 康桓瑋 ---
(In reply to Jonathan Wakely from comment #1)
> Maybe we should add this somewhere and just stop using std::min for integers:
>
> struct __min_fn
> {
> template
> typename common_type<_Tp, _Up>::type
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101587
--- Comment #3 from Jonathan Wakely ---
In theory yes, but it's unlikely to be a problem in practice because the
library doesn't need to compare unsigned types with negative values. If it does
need to do that, it is either already doing so caref
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101597
Bug ID: 101597
Summary: r12-2132-ga110855667782dac[12 Regression] ICE in evrp
since
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101597
Martin Liška changed:
What|Removed |Added
Summary|r12-2132-ga110855667782dac[ |[12 Regression] ICE in evrp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101586
Jakub Jelinek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101587
--- Comment #4 from 康桓瑋 ---
(In reply to Jonathan Wakely from comment #3)
>
> I'm not suggesting designing a general purpose replacement for std::min that
> handles all the possible corner cases, I'm just suggesting a convenience
> function for
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101587
--- Comment #5 from Jonathan Wakely ---
Yes, much simpler than that! :-)
There are lots of uses of std::min and std::max with explicit template argument
lists in the Parallel Mode headers, but I have no intention of touching them,
and they need
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101575
--- Comment #8 from Bernd Edlinger ---
I can of course make the .loc go away. If you really want that.
It is basically the DECL_SOURCE_LOCATION of an
otherwise ignored decl. If the DECL_SOURCE_LOCATION
is UNKNOWN_LOCATION the function should h
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101598
Bug ID: 101598
Summary: [debug, ada] .loc generated for defs__struct1IP
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101575
--- Comment #9 from Tom de Vries ---
(In reply to Eric Botcazou from comment #7)
> (> More specifically, it's gone because we have:
> > ...
> > $ more defs.s
> > .file "defs.adb"
> > .text
> > .Ltext0:
> > .align 2
> >
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95048
--- Comment #11 from Christian Fersch ---
Would you accept a patch that implements my solution from comment 6? It seems
to me like that would be an improvement over the current situation.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101598
--- Comment #1 from Tom de Vries ---
FWIW, this works for me:
...
$ git diff
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 82783c4968b..0e21775041c 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -28390,6 +28390,8 @@ dwarf2out_sourc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101598
--- Comment #2 from Bernd Edlinger ---
Yes, but it wont fix dwarf-4 and also not the case
when this is not the first function. then we'll
have the .loc from the previous function extend to this one.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101598
--- Comment #3 from Tom de Vries ---
(In reply to Tom de Vries from comment #1)
> FWIW, this works for me:
And, doesn't reintroduce PR101575 on trunk.
AFAIU, the solution suggested in PR101575 comment 8 of setting the
DECL_SOURCE_LOCATION for
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101598
--- Comment #4 from Tom de Vries ---
(In reply to Bernd Edlinger from comment #2)
> Yes, but it wont fix dwarf-4 and also not the case
> when this is not the first function. then we'll
> have the .loc from the previous function extend to this on
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101598
--- Comment #5 from Bernd Edlinger ---
I will have a look.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101504
--- Comment #3 from CVS Commits ---
The master branch has been updated by H.J. Lu :
https://gcc.gnu.org/g:08573db03c2e53db368d699c47032c6c5f2e
commit r12-2495-g08573db03c2e53db368d699c47032c6c5f2e
Author: H.J. Lu
Date: Thu Jul 22 05
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101504
H.J. Lu changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101599
Bug ID: 101599
Summary: ranges::__copy_or_move missing std::move for
input_iterator
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
P
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101600
Bug ID: 101600
Summary: Spurious -Warray-bounds
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101592
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101592
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101599
Patrick Palka changed:
What|Removed |Added
CC||ppalka at gcc dot gnu.org
Last reconf
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101592
--- Comment #3 from Marek Polacek ---
Thanks, I'll test that sometime soon.
-nls
--without-isl --disable-libsanitizer --disable-libvtv --disable-libgomp
--disable-libstdcxx-pch --disable-libunwind-exceptions CFLAGS='-O1 '
CXXFLAGS='-O1 '
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.0.0 20210723 (experimental) (GCC)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101602
Bug ID: 101602
Summary: local and local_init are not supported in DO
CONCURRENT
Product: gcc
Version: 11.1.0
Status: UNCONFIRMED
Severity: normal
Pri
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101586
--- Comment #4 from qinzhao at gcc dot gnu.org ---
I applied the attached patch and tested CPU2017 with
-ftrivial-auto-var-init=pattern, now all the corresponding C++ failures get
resolved.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101586
--- Comment #5 from qinzhao at gcc dot gnu.org ---
(In reply to Jakub Jelinek from comment #2)
> Reduced testcase:
> struct A { char a; };
> struct B : virtual A {};
> struct C : B {};
>
> void
> foo ()
> {
> C c;
> __builtin_clear_padding
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101601
Marek Polacek changed:
What|Removed |Added
Component|c++ |middle-end
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101586
--- Comment #6 from Jakub Jelinek ---
It is related to the weird FIELD_DECLs the C++ FE creates for the virtual
inheritence, there is e.g. a FIELD_DECL with B type (where B has 16 byte size
and includes the 8 byte virtual pointer and 1 byte A),
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101575
--- Comment #10 from Eric Botcazou ---
> I can of course make the .loc go away. If you really want that.
>
> It is basically the DECL_SOURCE_LOCATION of an
> otherwise ignored decl. If the DECL_SOURCE_LOCATION
> is UNKNOWN_LOCATION the functio
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101586
--- Comment #7 from Qing Zhao ---
> On Jul 23, 2021, at 10:10 AM, jakub at gcc dot gnu.org
> wrote:
>
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101586
>
> --- Comment #6 from Jakub Jelinek ---
> It is related to the weird FIELD_DECLs t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101586
--- Comment #8 from Jakub Jelinek ---
(In reply to Qing Zhao from comment #7)
> So, is such type information generated by C++FE correct?
Yes. It is needed that way to follow the Itanium C++ ABI.
> > BTW, if you are using the clear padding cod
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101586
--- Comment #9 from Qing Zhao ---
> On Jul 23, 2021, at 10:34 AM, jakub at gcc dot gnu.org
> wrote:
>
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101586
>
> --- Comment #8 from Jakub Jelinek ---
> (In reply to Qing Zhao from comment #7)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101599
--- Comment #2 from 康桓瑋 ---
(In reply to 康桓瑋 from comment #0)
>
> We should std::move __first to recursive ranges::__copy_or_move() call since
> some input_iterator such as basic_istream_view::iterator does not have the
> copy constructor.
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101601
Sergei Trofimovich changed:
What|Removed |Added
CC||msebor at gcc dot gnu.org
--- Comm
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56337
Andrew Pinski changed:
What|Removed |Added
Component|c |middle-end
Target|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101597
Martin Sebor changed:
What|Removed |Added
Component|tree-optimization |c++
Summary|[12 Regression] I
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56337
Andrew Pinski changed:
What|Removed |Added
Status|NEW |ASSIGNED
Component|middle-end
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101601
Martin Sebor changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87683
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |MOVED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101562
--- Comment #6 from CVS Commits ---
The master branch has been updated by Jakub Jelinek :
https://gcc.gnu.org/g:8408d34570c9fe9f3d22a25a76df2a4c64f08477
commit r12-2499-g8408d34570c9fe9f3d22a25a76df2a4c64f08477
Author: Jakub Jelinek
Date: F
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101562
Jakub Jelinek changed:
What|Removed |Added
Summary|[9/10/11/12 Regression] ICE |[9/10/11 Regression] ICE in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96842
Andrew Pinski changed:
What|Removed |Added
Severity|normal |enhancement
Component|c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99156
Andrew Pinski changed:
What|Removed |Added
Summary|__builtin_expect affects|__builtin_expect is folded
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32143
Andrew Pinski changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45501
Andrew Pinski changed:
What|Removed |Added
Keywords||rejects-valid
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101536
--- Comment #4 from CVS Commits ---
The master branch has been updated by Harald Anlauf :
https://gcc.gnu.org/g:e314cfc371d8b2405a1d81e51b90f9fb24b9061f
commit r12-2500-ge314cfc371d8b2405a1d81e51b90f9fb24b9061f
Author: Harald Anlauf
Date: F
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45374
--- Comment #4 from Andrew Pinski ---
clang rejects the code in a similar way as GCC does:
:23:27: error: 'MyClass<6>::MyFunc' is not a member of class
'MyDerivedClass'
return ptr->MyClass::MyFunc();
^
:31:33: note: i
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603
Bug ID: 101603
Summary: [meta-bug] pointer to member functions issues
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Keywords: meta-bug
Severity: normal
Priori
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83137
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Target Milestone|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83912
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |FIXED
Target Milestone|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004
Bug 55004 depends on bug 83912, which changed state.
Bug 83912 Summary: [constexpr] struct with a pointer to one of its members,
returned by a function, is not a constant expression
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83912
W
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97548
Martin Sebor changed:
What|Removed |Added
Summary|bogus -Wvla-parameter on a |[11 Regression] bogus
|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81678
--- Comment #2 from Andrew Pinski ---
clang gives a warning now:
:2:22: warning: ISO C++11 requires a parenthesized pack declaration to
have a name [-Wanonymous-pack-parens]
void f (void (T::*...)())
^
So maybe GCC is correc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101604
Bug ID: 101604
Summary: [meta-bug] bogus/missing -Wvla-parameter
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101604
Martin Sebor changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84287
Andrew Pinski changed:
What|Removed |Added
Blocks||101603
Last reconfirmed|2018-02-08 00:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92969
Andrew Pinski changed:
What|Removed |Added
Blocks||101603
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80485
Andrew Pinski changed:
What|Removed |Added
Blocks||101603, 55004
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603
Bug 101603 depends on bug 80485, which changed state.
Bug 80485 Summary: rejects-valid: constexpr static_cast of
pointer-to-member-function to bool
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80485
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004
Bug 55004 depends on bug 80485, which changed state.
Bug 80485 Summary: rejects-valid: constexpr static_cast of
pointer-to-member-function to bool
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80485
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101465
Andrew Pinski changed:
What|Removed |Added
Last reconfirmed|2021-07-15 00:00:00 |2021-7-23
--- Comment #2 from Andrew Pi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97548
--- Comment #6 from Martin Sebor ---
The fix isn't very robust since it only handles redeclarations with VLA
parameters that involve bounds that have the same name but not nontrivial
expressions involving different names, like in this case:
$ ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51405
Andrew Pinski changed:
What|Removed |Added
Host|ubuntu 11.10|
Known to fail|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101289
Martin Sebor changed:
What|Removed |Added
Summary|bogus -Wvla-paramater |[11 Regression] bogus
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10118
Andrew Pinski changed:
What|Removed |Added
Blocks||101603
Last reconfirmed|2005-12-11 23:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101605
Bug ID: 101605
Summary: bogus -Wvla-parameter in same bound expression with
differently named parameters
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severit
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96711
anlauf at gcc dot gnu.org changed:
What|Removed |Added
Status|ASSIGNED|NEW
Assignee|anlauf
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80575
Andrew Pinski changed:
What|Removed |Added
Target Milestone|--- |10.0
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603
Bug 101603 depends on bug 80575, which changed state.
Bug 80575 Summary: unnecessary virtual function table support in member
function call
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80575
What|Removed |Adde
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78609
Andrew Pinski changed:
What|Removed |Added
Last reconfirmed||2021-07-23
Summary|invalid me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98038
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56337
Andrew Pinski changed:
What|Removed |Added
Keywords||patch
URL|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69375
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52099
Andrew Pinski changed:
What|Removed |Added
CC||eric at efcs dot ca
--- Comment #1 from
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603
Bug 101603 depends on bug 69375, which changed state.
Bug 69375 Summary: GCC allows PMF type "void (T::*)()" to be caught as "void
(T::*)() const"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69375
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58040
--- Comment #6 from Andrew Pinski ---
clang fails the same way.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77601
Andrew Pinski changed:
What|Removed |Added
Target Milestone|--- |6.4
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78246
Andrew Pinski changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78949
Andrew Pinski changed:
What|Removed |Added
CC||zoltan at hidvegi dot com
--- Comment #1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78280
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101600
Martin Sebor changed:
What|Removed |Added
Blocks||56456
Target Milestone|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81152
Andrew Pinski changed:
What|Removed |Added
Keywords||diagnostic
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89960
Andrew Pinski changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86922
Andrew Pinski changed:
What|Removed |Added
CC||cassio.neri at gmail dot com
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603
Bug 101603 depends on bug 89960, which changed state.
Bug 89960 Summary: Implicit derived to base conversion considered type punning.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89960
What|Removed |Added
-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81152
Andrew Pinski changed:
What|Removed |Added
Resolution|FIXED |DUPLICATE
--- Comment #4 from Andrew Pin
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94951
Andrew Pinski changed:
What|Removed |Added
CC||rrrlasse at hotmail dot com
--- Comment
1 - 100 of 179 matches
Mail list logo