https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79587
--- Comment #1 from M8R-ynb11d at mailinator dot com ---
Created attachment 40767
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40767&action=edit
profile data
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79587
Bug ID: 79587
Summary: ICE in streamer_write_gcov_count_stream, at
data-streamer-out.c:343 while building Python 3.6.0
with PGO and LTO
Product: gcc
Version: 6.3.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79548
Martin Sebor changed:
What|Removed |Added
Keywords||patch
--- Comment #4 from Martin Sebor -
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55203
--- Comment #15 from Martin Sebor ---
The core bits of this feature are in place but the std::string test case is
still not diagnosed because string has non-trivial ctor and dtor and isn't
decorated using the warn_unused attribute.
Jonathan, wha
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77333
--- Comment #18 from Tony Kelman ---
Sorry for the delay in getting to trying out your patch. Yes, it looks like it
does fix the test case here when applied to the gcc 6 branch.
Can running the test suite provide meaningful information from a cr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79586
Bug ID: 79586
Summary: missing -Wdeprecated depending on position of
attribute
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26388
--- Comment #19 from Martin Sebor ---
You're right, I had overlooked the "provided by the implementation" part.
I would not want implementations to have the latitude to omit explicit calls to
operator new() unless the operator were the default.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79583
Martin Liška changed:
What|Removed |Added
Keywords||ice-on-invalid-code
Status|UN
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79508
Jason Merrill changed:
What|Removed |Added
Target Milestone|--- |6.4
Summary|[6/7 Regression]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79508
--- Comment #4 from Jason Merrill ---
Author: jason
Date: Fri Feb 17 22:05:18 2017
New Revision: 245553
URL: https://gcc.gnu.org/viewcvs?rev=245553&root=gcc&view=rev
Log:
PR c++/79508 - lookup error with member template
* parser
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26388
--- Comment #18 from Marc Glisse ---
(In reply to Martin Sebor from comment #17)
> The quoted text allows an implementation to to merge calls made by two or
> more new expressions to the underlying allocation function (operator new).
> It can ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79585
Martin Sebor changed:
What|Removed |Added
Keywords||diagnostic
Known to fail|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79585
Bug ID: 79585
Summary: spurious -Wunused-variable on a pointer with attribute
unused in function template
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79545
--- Comment #3 from Carl Love ---
Author: carll
Date: Fri Feb 17 21:04:49 2017
New Revision: 245552
URL: https://gcc.gnu.org/viewcvs?rev=245552&root=gcc&view=rev
Log:
gcc/ChangeLog:
2017-02-17 Carl Love
Backport from mainline commit r245
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79584
Bug ID: 79584
Summary: ICE in base_to_reg, at lra-constraints.c:2918
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-o
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26388
--- Comment #17 from Martin Sebor ---
The quoted text allows an implementation to to merge calls made by two or more
new expressions to the underlying allocation function (operator new). It can
call it just once but it's can't avoid calling it a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79508
Jason Merrill changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78690
Jason Merrill changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78690
--- Comment #6 from Jason Merrill ---
Author: jason
Date: Fri Feb 17 20:28:38 2017
New Revision: 245549
URL: https://gcc.gnu.org/viewcvs?rev=245549&root=gcc&view=rev
Log:
PR c++/78690 - ICE with using and global type with same name
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79185
--- Comment #4 from Vladimir Makarov ---
There are probably a lot of analogous problem reports. I'll try to put some
analysis of the issue.
Before IRA we have the following code:
2: r90:DI=di:DI
REG_DEAD di:DI
3: r91:DI=si:DI
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79562
--- Comment #10 from Andreas Tobler ---
Author: andreast
Date: Fri Feb 17 19:23:28 2017
New Revision: 245547
URL: https://gcc.gnu.org/viewcvs?rev=245547&root=gcc&view=rev
Log:
2017-02-17 Andreas Tobler
Backported from mainline
2017-0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79562
--- Comment #9 from Andreas Tobler ---
Author: andreast
Date: Fri Feb 17 19:21:39 2017
New Revision: 245546
URL: https://gcc.gnu.org/viewcvs?rev=245546&root=gcc&view=rev
Log:
2017-02-17 Andreas Tobler
Backported from mainline
2017-02
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79558
--- Comment #4 from Marek Polacek ---
I think the fix is just:
--- a/gcc/ubsan.c
+++ b/gcc/ubsan.c
@@ -409,7 +409,9 @@ ubsan_type_descriptor (tree type, enum ubsan_print_style
pstyle)
{
pp_left_bracket (&pretty_name);
tree dom =
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79261
Bill Schmidt changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79261
--- Comment #1 from Bill Schmidt ---
Author: wschmidt
Date: Fri Feb 17 19:11:06 2017
New Revision: 245545
URL: https://gcc.gnu.org/viewcvs?rev=245545&root=gcc&view=rev
Log:
[gcc]
2017-02-17 Bill Schmidt
PR target/79261
* con
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79558
--- Comment #3 from Marek Polacek ---
-fsanitize=bounds is enough.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79582
--- Comment #1 from Jacek Caban ---
Created attachment 40765
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40765&action=edit
multifile test case
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79582
Bug ID: 79582
Summary: Wrong mangled name for stdcall functions with
templated arguments when referenced directly from
vtbl.
Product: gcc
Version: 6.2.0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26388
--- Comment #16 from Marc Glisse ---
[expr.new] now provides some flexibility:
"A new-expression may obtain storage for the object by calling an allocation
function" (not must)
"An implementation is allowed to omit a call to a replaceable global
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79533
Jason Merrill changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78690
Jason Merrill changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79556
Jason Merrill changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79549
Jason Merrill changed:
What|Removed |Added
Keywords||patch
Target Milestone|7.0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79549
--- Comment #7 from Jason Merrill ---
Created attachment 40763
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40763&action=edit
Better fix for GCC 8
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79581
PeteVine changed:
What|Removed |Added
Target||armv7
--- Comment #1 from PeteVine ---
Disti
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79556
--- Comment #2 from Jason Merrill ---
Author: jason
Date: Fri Feb 17 18:42:37 2017
New Revision: 245543
URL: https://gcc.gnu.org/viewcvs?rev=245543&root=gcc&view=rev
Log:
PR c++/79556 - C++17 ICE with non-type auto
* pt.c (do_au
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79549
--- Comment #6 from Jason Merrill ---
Author: jason
Date: Fri Feb 17 18:42:43 2017
New Revision: 245544
URL: https://gcc.gnu.org/viewcvs?rev=245544&root=gcc&view=rev
Log:
PR c++/79549 - C++17 ICE with non-type auto template parameter pac
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79581
Bug ID: 79581
Summary: VFP4 slower than VFP3 in C-ray
Product: gcc
Version: 7.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
A
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79327
--- Comment #9 from Jakub Jelinek ---
Author: jakub
Date: Fri Feb 17 18:31:01 2017
New Revision: 245542
URL: https://gcc.gnu.org/viewcvs?rev=245542&root=gcc&view=rev
Log:
PR tree-optimization/79327
* gimple-ssa-sprintf.c (format_
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26388
--- Comment #15 from rguenther at suse dot de ---
On February 17, 2017 6:34:07 PM GMT+01:00, "msebor at gcc dot gnu.org"
wrote:
>https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26388
>
>--- Comment #14 from Martin Sebor ---
>I agree with the goal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79580
Bug ID: 79580
Summary: [5/6/7 Regression] ICE in nested_anon_class_index, at
cp/mangle.c:1604
Product: gcc
Version: unknown
Status: UNCONFIRMED
Keywords: ice-on
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79548
Martin Sebor changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79570
Alexander Monakov changed:
What|Removed |Added
CC||abel at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26388
--- Comment #14 from Martin Sebor ---
I agree with the goal of making containers efficient so please take this as
constructive criticism.
Jonathan and I discussed this on IRC a bit yesterday and I've thought about it
some more since then. I'm u
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79541
Jeffrey A. Law changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78690
--- Comment #5 from Jakub Jelinek ---
The #c0 testcase doesn't ICE anymore since r245440. The #c4 testcase still
ICEs.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79533
--- Comment #3 from Jason Merrill ---
Author: jason
Date: Fri Feb 17 16:50:16 2017
New Revision: 245538
URL: https://gcc.gnu.org/viewcvs?rev=245538&root=gcc&view=rev
Log:
PR c++/79533 - C++17 ICE with temporary cast to reference
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=76731
Uroš Bizjak changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=76731
--- Comment #17 from uros at gcc dot gnu.org ---
Author: uros
Date: Fri Feb 17 16:35:37 2017
New Revision: 245537
URL: https://gcc.gnu.org/viewcvs?rev=245537&root=gcc&view=rev
Log:
PR target/76731
* config/i386/avx512fintrin.h
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45397
--- Comment #25 from Jeffrey A. Law ---
"When doing so allows for simplification" is actually a pretty low bar here.
We just have to prove the widening cast is a common subexpression. Once we do
that, we know widening is a win. And that's rela
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77536
amker at gcc dot gnu.org changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69564
--- Comment #35 from amker at gcc dot gnu.org ---
(In reply to Richard Biener from comment #34)
> But as A + 8 >= B || A >= B + 8 is the same as ABS (A - B) >= 8 we might do
> better re-writing the overlap test in terms of this (of course it all r
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79541
--- Comment #3 from Vladimir Makarov ---
Author: vmakarov
Date: Fri Feb 17 16:10:59 2017
New Revision: 245536
URL: https://gcc.gnu.org/viewcvs?rev=245536&root=gcc&view=rev
Log:
2017-02-17 Vladimir Makarov
PR rtl-optimization/79541
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79510
--- Comment #2 from Pierre Chevalier ---
(In reply to Martin Sebor from comment #1)
> GCC doesn't define a __gcc__ macro. In C++ mode it defines __GNUC__ and
> __GNUG__:
>
> https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html
Sill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79578
Jeffrey A. Law changed:
What|Removed |Added
CC||law at redhat dot com
--- Comment #5 fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79426
--- Comment #3 from janus at gcc dot gnu.org ---
Reduced test case ...
subroutine gruppe
implicit none
type :: CGruppe
class(*), dimension(:), pointer :: el
end type
type(CGruppe) :: group
select type ( p => group%el(1) )
e
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79572
--- Comment #10 from janus at gcc dot gnu.org ---
(In reply to janus from comment #9)
> But at least clang 3.9 has some additional diagnostics:
>
> null_ref.cpp:11:5: warning: binding dereferenced null pointer to reference
> has undefined behavio
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16351
janus at gcc dot gnu.org changed:
What|Removed |Added
CC||janus at gcc dot gnu.org
--- C
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79529
Martin Liška changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79577
Martin Liška changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79574
Martin Liška changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79577
--- Comment #3 from Martin Liška ---
Author: marxin
Date: Fri Feb 17 14:47:08 2017
New Revision: 245532
URL: https://gcc.gnu.org/viewcvs?rev=245532&root=gcc&view=rev
Log:
Increase minimum for a param (PR rtl-optimization/79577).
2017-02-17 Mar
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79574
--- Comment #1 from Martin Liška ---
Author: marxin
Date: Fri Feb 17 14:46:14 2017
New Revision: 245531
URL: https://gcc.gnu.org/viewcvs?rev=245531&root=gcc&view=rev
Log:
Use HOST_WIDE_INT for a param calculation (PR rtl-optimization/79574).
20
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79579
Martin Jambor changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79529
--- Comment #3 from Martin Liška ---
Author: marxin
Date: Fri Feb 17 14:36:08 2017
New Revision: 245530
URL: https://gcc.gnu.org/viewcvs?rev=245530&root=gcc&view=rev
Log:
Introduce ssa_defined_default_def_p function (PR tree-optimization/79529).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79578
--- Comment #4 from Jonathan Wakely ---
Since the check comes from the front-end, and the DR says it's not needed,
maybe this belongs to component c++ not tree-optimization. If the front-end
didn't insert the check we wouldn't need to optimize it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79579
Bug ID: 79579
Summary: [5/6/7 Regression] ICE in ipa_write_node_info
(ipa-prop.c:4931)
Product: gcc
Version: unknown
Status: UNCONFIRMED
Keywords: ice-on-valid-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79578
--- Comment #3 from Jonathan Wakely ---
(In reply to Maxim Egorushkin from comment #0)
> 2. The code assigns through that pointer, so the pointer must be valid.
> Therefore there is no need to test the result of new for 0.
In any case, we fixed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79578
Richard Biener changed:
What|Removed |Added
Keywords||missed-optimization
Target|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79578
--- Comment #1 from Maxim Egorushkin ---
clang-3.9.1 generates code that I expect:
f(char*): # @f(char*)
movl$131073, (%rdi) # imm = 0x20001
movq%rdi, %rax
retq
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79577
--- Comment #2 from Richard Biener ---
I guess so.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79578
Bug ID: 79578
Summary: Unnecessary instructions in generated code
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79577
--- Comment #1 from Martin Liška ---
Loops in:
#0 0x00a45e5f in init_expr (cant_move=true, needs_spec_check_p=false,
was_renamed=, was_substituted=,
target_available=1 '\001', history=..., orig_sched_cycle=0, spec_to_check_ds=0,
spec_do
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79577
Bug ID: 79577
Summary: Infinite loop with -fselective-scheduling2 -O2 --param
selsched-max-sched-times=0
Product: gcc
Version: unknown
Status: UNCONFIRMED
Sever
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79576
--- Comment #6 from Martin Liška ---
>
> "doctor it hurts" -- "don't do that then"
>
:D Will you please create 'doctor-it-hurts=dont-do-that-then' keywords so that
I can decorate the PR with it?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79576
Richard Biener changed:
What|Removed |Added
Status|RESOLVED|ASSIGNED
Known to work|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79576
--- Comment #4 from Richard Biener ---
Author: rguenth
Date: Fri Feb 17 13:36:39 2017
New Revision: 245529
URL: https://gcc.gnu.org/viewcvs?rev=245529&root=gcc&view=rev
Log:
2017-02-17 Richard Biener
PR middle-end/79576
* par
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79576
Richard Biener changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Version|unknown
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79576
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79570
--- Comment #4 from Jakub Jelinek ---
Seems before r197942 sel_remove_insn with only_disconnect true actually kept
BLOCK_FOR_INSN on the (temporarily) removed insn. But sel_bb_head would
certainly not return that temporarily removed insn, so what
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79576
--- Comment #1 from rguenther at suse dot de ---
On Fri, 17 Feb 2017, marxin at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79576
>
> Bug ID: 79576
>Summary: [7 Regression] ICE in gimple_stmt_no
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79570
--- Comment #3 from Jakub Jelinek ---
The ICE is because on the DEBUG_INSN move_op_orig_expr_found removes it from
the IL: remove_insn_from_stream and then move_op_ascend -> moveup_expr_cached
2531 if (DEBUG_INSN_P (EXPR_INSN_RTX (expr))
253
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79576
Bug ID: 79576
Summary: [7 Regression] ICE in gimple_stmt_nonnegative_warnv_p
in gcc/gimple-fold.c:6979
Product: gcc
Version: unknown
Status: UNCONFIRMED
Keyword
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79570
Jakub Jelinek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69523
--- Comment #11 from Jonathan Wakely ---
Patch submitted to gcc-patches with docs:
https://gcc.gnu.org/ml/gcc-patches/2017-02/msg01109.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79575
Martin Liška changed:
What|Removed |Added
CC||hjl.tools at gmail dot com
--- Comment #1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79575
Bug ID: 79575
Summary: [7 Regression] ICE in
mark_stmt_if_obviously_necessary, at
tree-ssa-dce.c:270
Product: gcc
Version: unknown
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79574
Bug ID: 79574
Summary: ICE in want_to_gcse_p, at gcse.c:804
Product: gcc
Version: unknown
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Prior
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79568
Jakub Jelinek changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79572
--- Comment #9 from janus at gcc dot gnu.org ---
(In reply to Richard Biener from comment #8)
> Btw, clang behaves the same:
True. But at least clang 3.9 has some additional diagnostics:
null_ref.cpp:11:5: warning: binding dereferenced null poin
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79573
--- Comment #2 from Jonathan Wakely ---
binutils is not part of gcc, it has its own bug tracker at
https://sourceware.org/bugzilla/
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79572
--- Comment #8 from Richard Biener ---
Btw, clang behaves the same:
> clang++ t.C -O2
t.C:4:12: warning: reference cannot be bound to dereferenced null pointer in
well-defined C++ code; pointer may be assumed to always convert to true
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79572
--- Comment #7 from janus at gcc dot gnu.org ---
(In reply to Markus Trippelsdorf from comment #2)
> You can use -fno-delete-null-pointer-checks as a workaround for this issue.
Thanks for the comment, that's very helpful.
> But the C++ standard
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79572
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79572
Markus Trippelsdorf changed:
What|Removed |Added
Status|RESOLVED|NEW
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79572
--- Comment #4 from Markus Trippelsdorf ---
BTW clang diagnoses the issue with -fsanitize=undefined, but gcc doesn't:
runtime error: reference binding to null pointer of type 'const int'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79573
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79572
Markus Trippelsdorf changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79572
Markus Trippelsdorf changed:
What|Removed |Added
CC||trippels at gcc dot gnu.org
--- Co
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79572
Richard Biener changed:
What|Removed |Added
Keywords||diagnostic
Status|UNCONFIRM
1 - 100 of 140 matches
Mail list logo