https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94768
Bug ID: 94768
Summary: Wreturn-type should be error, not warning
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94768
Jonathan Wakely changed:
What|Removed |Added
Resolution|--- |INVALID
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94768
--- Comment #2 from Jonathan Wakely ---
(In reply to Jonathan Wakely from comment #1)
> This is a valid C++ program
s/program/translation unit/
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94768
--- Comment #3 from David Binderman ---
(In reply to Jonathan Wakely from comment #1)
> This is a valid C++ program and it would be non-conforming to reject it.
Surprising. The standard looks broken to me. Standards conformance
only really matte
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89428
Nicholas Krause changed:
What|Removed |Added
CC||xerofoify at gmail dot com
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78251
--- Comment #12 from Michael Stapelberg ---
I’m also running into this bug: I have recently started linking strace against
libunwind (for its handy --stack-traces option), and like having strace
available in my package build dependencies to debug
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78251
Michael Stapelberg changed:
What|Removed |Added
CC||michael+gcc at stapelberg dot
ch
-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94769
Bug ID: 94769
Summary: Possible use of uninitialized variable num
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94768
--- Comment #4 from Andrew Pinski ---
(In reply to Jonathan Wakely from comment #1)
> (In reply to David Binderman from comment #0)
> > IMHO, for a C++ function returning non-void, a complete absence of any
> > return statement in the function re
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94768
--- Comment #5 from Andrew Pinski ---
(In reply to David Binderman from comment #3)
> I checked the source code of the popular Fedora Linux distribution.
> There are 32 examples of this problem in the C++ code, so they will
> need fixing.
>
> In
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94767
--- Comment #1 from Andrew Pinski ---
I think this has been fixed on the trunk.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94763
Christophe Lyon changed:
What|Removed |Added
CC||clyon at gcc dot gnu.org
--- Comment #
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94770
Bug ID: 94770
Summary: class with empty base passed incorrectly with
-std=c++17 on mingw
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94768
--- Comment #6 from Jonathan Wakely ---
(In reply to David Binderman from comment #3)
> Most of the time, it is in its own GNU mode and so could do a more
> useful job here rather than IMHO blindly following non-useful standards.
Nobody is "blin
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11474
Jonathan Wakely changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94768
Jonathan Wakely changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43943
Jonathan Wakely changed:
What|Removed |Added
CC||dcb314 at hotmail dot com
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94771
Bug ID: 94771
Summary: g++.dg/concepts/diagnostic10.C fails on mingw
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94772
Bug ID: 94772
Summary: [10 Regression] constructing constexpr variables fail
with delegated constexpr constructors
Product: gcc
Version: 10.0
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94737
--- Comment #6 from Thomas Koenig ---
(In reply to Lee Busby from comment #4)
> (In reply to kargl from comment #3)
> > (In reply to Thomas Koenig from comment #2)
> > > Correction, this is not a regression.
> > >
> > > F2018 has, in 19.2, parag
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93956
--- Comment #13 from CVS Commits ---
The master branch has been updated by Thomas Kथà¤nig :
https://gcc.gnu.org/g:2bf7698e0d2312410e7aaab5ee8447e25d8bf8a6
commit r10-7971-g2bf7698e0d2312410e7aaab5ee8447e25d8bf8a6
Author: Thomas Koenig
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94737
--- Comment #7 from CVS Commits ---
The master branch has been updated by Thomas Kथà¤nig :
https://gcc.gnu.org/g:870923cd48e1e715120ff68425437e5b346283a1
commit r10-7972-g870923cd48e1e715120ff68425437e5b346283a1
Author: Thomas Koenig
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94737
--- Comment #8 from Thomas Koenig ---
So, test case committed.
Thanks for the bug report! Even though it turned out to be invalid,
it still ended up making the compiler better.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94772
Jakub Jelinek changed:
What|Removed |Added
Last reconfirmed||2020-04-26
Status|UNCONFIRME
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94773
Bug ID: 94773
Summary: Unhelpful warning "right shift count >= width of type
[-Wshift-count-overflow]" on unreachable code.
Product: gcc
Version: 10.0
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94774
Bug ID: 94774
Summary: Uninitialized variable retval in function
try_substitute_return_value
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94770
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94775
Bug ID: 94775
Summary: [8/9/10 Regression] ICE in strip_typedefs, at
cp/tree.c:1734
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Pr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94776
Bug ID: 94776
Summary: lto1: internal compiler error: in
add_symbol_to_partition_1, at lto/lto-partition.c:153
Product: gcc
Version: lto
Status: UNCONFIRMED
Sev
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94777
Bug ID: 94777
Summary: internal compiler error: in assign_temp, at
function.c:984
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Prio
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94769
kargl at gcc dot gnu.org changed:
What|Removed |Added
CC||kargl at gcc dot gnu.org
--- C
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94769
--- Comment #2 from Andreas Schwab ---
compare_to_allowed_values doesn't set *num most of the time even when returning
non-zero, especially if warn is true.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94752
--- Comment #2 from CVS Commits ---
The master branch has been updated by Iain D Sandoe :
https://gcc.gnu.org/g:29f55115583a0dab6cbac749c4f0804fd88e9536
commit r10-7973-g29f55115583a0dab6cbac749c4f0804fd88e9536
Author: Iain Sandoe
Date: Sun
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94775
--- Comment #1 from Roman Zhuykov ---
Additionally checked that vanilla gcc-9.3.0 version is also affected.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94773
Vincent Lefèvre changed:
What|Removed |Added
CC||vincent-gcc at vinc17 dot net
--- Comm
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94778
Bug ID: 94778
Summary: All jit tests failed with multilib
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: jit
A
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94772
Patrick Palka changed:
What|Removed |Added
Status|NEW |ASSIGNED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93834
anlauf at gcc dot gnu.org changed:
What|Removed |Added
Keywords||ice-on-invalid-code
--- Comme
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93340
--- Comment #4 from anlauf at gcc dot gnu.org ---
AFAICS the code in comment#0 is non-standard:
% gfc-trunk foo.f90 -std=f2018
z1.f90:2:20:
2 |character c(2) /'a', 'b'(1:1)/
|1
Error: GNU Extension: Old-style in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93794
anlauf at gcc dot gnu.org changed:
What|Removed |Added
CC||anlauf at gcc dot gnu.org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94770
--- Comment #2 from Bence Szabó ---
Yes there's a T(30,struct{}a[1];,) in t032.
Indeed the fail happens on a variadic function (void check30va(int i, ...)).
I dig in some more and it turns out all the tests listed crash. I've attached
the format
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91862
--- Comment #4 from anlauf at gcc dot gnu.org ---
Replacing
character(3) :: a(3) = 'abc'
by
character(3), parameter :: a(3) = 'abc' ! No ICE
also avoids the ICE.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94770
--- Comment #3 from Bence Szabó ---
Created attachment 48379
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48379&action=edit
t032
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94770
--- Comment #4 from Bence Szabó ---
As a remark for 'same code with -std=c++14 and -std=c++17 here', I can confirm,
the example you provided also produces same assembly for me in c++14 and c++17.
Also compiling t032 with only c++14 or only c++17
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94773
Niels Möller changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=4210
Niels Möller changed:
What|Removed |Added
CC||nisse at lysator dot liu.se
--- Comment #3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94770
--- Comment #5 from Jakub Jelinek ---
(In reply to Bence Szabó from comment #4)
> As a remark for 'same code with -std=c++14 and -std=c++17 here', I can
> confirm, the example you provided also produces same assembly for me in
> c++14 and c++17.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94779
Bug ID: 94779
Summary: Bad optimization of simple switch
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimizatio
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94777
Iain Buclaw changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94777
--- Comment #1 from CVS Commits ---
The master branch has been updated by Iain Buclaw :
https://gcc.gnu.org/g:2370bdbb0b29b14401d8508d846c0e01c64d82fc
commit r10-7975-g2370bdbb0b29b14401d8508d846c0e01c64d82fc
Author: Iain Buclaw
Date: Sun Ap
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89418
--- Comment #4 from CVS Commits ---
The master branch has been updated by Iain Buclaw :
https://gcc.gnu.org/g:873b5de87c3186d85bb497b0f9c13b8c5e425712
commit r10-7976-g873b5de87c3186d85bb497b0f9c13b8c5e425712
Author: Iain Buclaw
Date: Mon Ap
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89418
--- Comment #5 from Iain Buclaw ---
For now, I've the tests will return UNSUPPORTED, as they depend on full
libphobos support that powerpc* targets simply don't have (because of
incomplete or lacking any support in std.math and std.internal.gamma
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90320
--- Comment #6 from CVS Commits ---
The master branch has been updated by Marek Polacek :
https://gcc.gnu.org/g:feb801f62239528bca2cfb6c3abd70d434b69c0a
commit r10-7979-gfeb801f62239528bca2cfb6c3abd70d434b69c0a
Author: Marek Polacek
Date: We
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90320
Marek Polacek changed:
What|Removed |Added
Summary|[8/9/10 Regression] |[8/9 Regression] Explicit
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94780
Bug ID: 94780
Summary: [9/10] internal compiler error: Segmentation fault
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94781
Bug ID: 94781
Summary: version 9.3 g++ compilation time is slower by 20% or
much more (closer to 50 % sometimes) in comparison to
v7.
Product: gcc
Version: 9.3.0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91518
--- Comment #9 from CVS Commits ---
The master branch has been updated by Xiong Hu Luo :
https://gcc.gnu.org/g:f6955089db6c3aa63c276704159ffad1ef15d256
commit r10-7981-gf6955089db6c3aa63c276704159ffad1ef15d256
Author: Xionghu Luo
Date: Sun A
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94781
--- Comment #1 from ishikawa,chiaki ---
BTW, UnifiedBindings23.cpp is huge. It is about 28MB and more than 3MB
compressed (by gzip). I can send the compressed file by e-mail to anyone
interested in this issue.
As the name suggests, the source fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94782
Bug ID: 94782
Summary: Simple multiplication-related arithmetic not optimized
to direct multiplication
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94762
Martin Liška changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94783
Bug ID: 94783
Summary: Abs-equivalent pattern is not recognized as abs
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94781
Martin Liška changed:
What|Removed |Added
Keywords||compile-time-hog
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94780
Martin Liška changed:
What|Removed |Added
CC||marxin at gcc dot gnu.org,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94780
--- Comment #1 from Martin Liška ---
Confirmed, started with r6-3632-gf6f69fb09c5f81df.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94779
Martin Liška changed:
What|Removed |Added
Resolution|--- |INVALID
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94775
Martin Liška changed:
What|Removed |Added
Ever confirmed|0 |1
Keywords|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94779
--- Comment #2 from Gabriel Ravier ---
It's fully optimized ? I don't see how. This is exactly what I was complaining
about : It could be further optimized to
leal1(%rdi), %eax
ret
but it isn't
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94779
--- Comment #3 from Gabriel Ravier ---
Just fyi : When I said "gcc fails to optimize this to `return x + 1`, instead
opting for some rather weird code generation (involving `sbb` on x86)" the
"weird code generation" I was referring to is the exac
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94659
--- Comment #5 from CVS Commits ---
The master branch has been updated by Martin Liska :
https://gcc.gnu.org/g:b9dbb436b70938ca2b1ddf0cf2d5ffe2e5725dea
commit r10-7982-gb9dbb436b70938ca2b1ddf0cf2d5ffe2e5725dea
Author: Martin Liska
Date: Mon
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94779
Martin Liška changed:
What|Removed |Added
Keywords||missed-optimization
Status|RE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94659
Martin Liška changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94659
Martin Liška changed:
What|Removed |Added
Known to work||10.0
Summary|[8/9/10 Regressio
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94781
--- Comment #3 from ishikawa,chiaki ---
https://send.firefox.com/download/bdf77223953903fa/#WMrJbMYdsL7AXf2vXYm82g
I uploaded the file, UnifiedBindings23-v7.cpp, to the link above.
It is huge as I explained. Approximately 28MB.
The compiler o
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94779
--- Comment #5 from Gabriel Ravier ---
Going to take a quick look at how it gets optimized in the tree passes.
This is the first case :
int f1(unsigned x)
{
if (x >= 2)
__builtin_unreachable();
switch (x)
{
case 0:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94779
--- Comment #6 from Gabriel Ravier ---
There is another thing I realised : This code :
int f1(unsigned x)
{
switch (x)
{
case 0:
return 1;
case 1:
return 2;
case 2:
return 3;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91518
Richard Biener changed:
What|Removed |Added
Known to fail||9.3.0
Known to work|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94769
--- Comment #3 from Stefan Schulze Frielinghaus
---
Since one call chain is gfc_resolve_dt -> check_io_constraints ->
compare_to_allowed_values and at least one parameter of
compare_to_allowed_values, from which the initialization of variable nu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94755
Richard Biener changed:
What|Removed |Added
Priority|P3 |P4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94757
Richard Biener changed:
What|Removed |Added
Last reconfirmed||2020-04-27
Status|UNCONFIRM
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94762
Richard Biener changed:
What|Removed |Added
Target Milestone|--- |8.5
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94767
Richard Biener changed:
What|Removed |Added
Keywords||diagnostic, wrong-code
Ever confirm
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94772
Richard Biener changed:
What|Removed |Added
Keywords||rejects-valid
Priority|P3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94775
Richard Biener changed:
What|Removed |Added
Priority|P3 |P2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94779
Richard Biener changed:
What|Removed |Added
Status|REOPENED|NEW
--- Comment #7 from Richard Biener
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94779
--- Comment #8 from Gabriel Ravier ---
Also, this code :
int f1(unsigned x)
{
if (x >= 3)
__builtin_unreachable();
switch (x)
{
case 0:
return 1;
case 1:
return 2;
case 2:
85 matches
Mail list logo