https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86173
Bug ID: 86173
Summary: Default construction of a union (in std::optional)
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Keywords: missed-optimization
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80335
Marc Glisse changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86173
--- Comment #1 from Marc Glisse ---
Note that constructing optional from std::nullopt does avoid the memset.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86171
Jakub Jelinek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Version|unknown
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80335
--- Comment #3 from sgunderson at bigfoot dot com ---
Appears to have been fixed in GCC 8, indeed.
#include
std::optional func()
{
return 3;
}
GCC 7 (-O2) compiles to:
0: 48 89 f8mov%rdi,%rax
3: c7 07 03
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86174
Bug ID: 86174
Summary: Poor vectorization/register allocation with omp simd,
FMA
Product: gcc
Version: 8.1.1
Status: UNCONFIRMED
Severity: normal
Prio
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86175
Bug ID: 86175
Summary: LTO code generator does not respect ld -u option to
force symbol inclusion in the link product
Product: gcc
Version: 8.1.1
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86176
Bug ID: 86176
Summary: Wnull-dereference warning disappears with a call to
std::cout on the line after
Product: gcc
Version: 8.1.0
Status: UNCONFIRMED
Severity:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86177
Bug ID: 86177
Summary: Wnull-dereference warning for object file compile
missing
Product: gcc
Version: 8.0.1
Status: UNCONFIRMED
Severity: normal
Prio
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86174
Alexander Monakov changed:
What|Removed |Added
CC||amonakov at gcc dot gnu.org
--- Comm
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80485
--- Comment #7 from Tony E Lewis ---
Ah yes - I'm seeing it compiling cleanly now on Godbolt's trunk (9.0.0
20180615).
Must have been a temporary glitch in the build (and couldn't possibly have been
due to my error :P ).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86177
--- Comment #1 from Jonny Grant ---
If g++ compiles both main.cpp and main2.cpp at the same time (ie no separate
obj file stage) it also doesn't give the expected warning.
jonny@asus:~/code$ g++-8 -O2 -Wall -Wextra -Wnull-dereference -Wpedantic
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86178
Bug ID: 86178
Summary: No warning when missing return from function main()
Product: gcc
Version: 8.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Componen
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86178
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86177
--- Comment #2 from Jonathan Wakely ---
That's how C++ works. Each translation unit is compiled separately. It's your
job to prevent such errors.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86178
--- Comment #2 from Jonathan Wakely ---
See 4) at http://en.cppreference.com/w/cpp/language/main_function#Explanation
There's also an implicit "return 0;" for C, but only since C99 and only when
the return type of main is compatible with int. Se
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86172
Bug 86172 depends on bug 86177, which changed state.
Bug 86177 Summary: Wnull-dereference warning for object file compile missing
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86177
What|Removed |Added
--
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86177
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85471
--- Comment #4 from Andreas Otto ---
change my C++ wrapper from "embedded data" (large amount of data) to just an
embedded pointer (only 8byte pointer in the C++ class)
→ the error is still there…
==57730== Process terminating with default acti
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86179
Bug ID: 86179
Summary: ice in get_later_stmt, at tree-vectorizer.h:1108
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
-linux-gnu
Configured with: ../trunk/configure --prefix=/home/dcb/gcc/results.261680.ubsan
--with-build-config=bootstrap-ubsan --disable-multilib --disable-werror
--enable-checking=df,extra,fold,rtl,yes --enable-languages=c,c++,fortran
Thread model: posix
gcc version 9.0.0 20180616 (experimental) (GCC)
$
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64946
--- Comment #24 from kugan at gcc dot gnu.org ---
Author: kugan
Date: Sat Jun 16 21:34:29 2018
New Revision: 261681
URL: https://gcc.gnu.org/viewcvs?rev=261681&root=gcc&view=rev
Log:
gcc/ChangeLog:
2018-06-16 Kugan Vivekanandarajah
P
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82479
--- Comment #13 from kugan at gcc dot gnu.org ---
Author: kugan
Date: Sat Jun 16 21:39:31 2018
New Revision: 261682
URL: https://gcc.gnu.org/viewcvs?rev=261682&root=gcc&view=rev
Log:
gcc/ChangeLog:
2018-06-16 Kugan Vivekanandarajah
P
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86177
--- Comment #4 from Jonny Grant ---
Thank you for your replies!
Could the -flto tip be added to the -Wnull-dereference documentation?
https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86177
--- Comment #5 from Jonathan Wakely ---
Why add it there and not to every other warning option that depends on
interprocedural analysis and inlining?
If the dereference and the null pointer are in separate files, then of course
the compiler can'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86180
Bug ID: 86180
Summary: Friend function definition not instantiated in certain
circumstances
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86181
Bug ID: 86181
Summary: static object mangling conflicts
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86182
Bug ID: 86182
Summary: gcc crashes when compiling the code
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86183
Bug ID: 86183
Summary: Scoped enumeration instantiated even if not required
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Compo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86184
Bug ID: 86184
Summary: Shall gcc support this feature?
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
A
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86185
Bug ID: 86185
Summary: gcc does not reject the ill-formed code
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86186
Bug ID: 86186
Summary: Unqualified calls of std::get lead to ADL issues
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86187
Bug ID: 86187
Summary: Subscript operator applied to an temporary array
results in an lvalue
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86188
Bug ID: 86188
Summary: Enhancement to std::merge, constexpr check of iterator
types
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40960
Eric Gallager changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29931
Eric Gallager changed:
What|Removed |Added
Status|NEW |WAITING
--- Comment #7 from Eric Gallage
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68615
Eric Gallager changed:
What|Removed |Added
Status|NEW |ASSIGNED
--- Comment #4 from Eric Gallag
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56084
Eric Gallager changed:
What|Removed |Added
Status|NEW |ASSIGNED
--- Comment #9 from Eric Gallag
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84904
Eric Gallager changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84887
Eric Gallager changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85867
Marc Glisse changed:
What|Removed |Added
CC||zhonghao at pku dot org.cn
--- Comment #3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86187
Marc Glisse changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
42 matches
Mail list logo