[Bug c++/12341] Request for additional warning for variable shadowing

2021-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12341 Andrew Pinski changed: What|Removed |Added CC||joseph.h.garvin at gmail dot com ---

[Bug c++/45615] -Wshadow doesn't report class member shadowing

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

[Bug c++/94951] [8/9 Regression] dereferencing type-punned pointer will break strict-aliasing rules when using super class for a template type

2021-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94951 Andrew Pinski changed: What|Removed |Added CC||a-yee at u dot northwestern.edu ---

[Bug c++/91343] Spurious strict-aliasing warning with template class inheritance.

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

[Bug target/102767] [12 Regression] ICE in rs6000_builtin_vectorization_cost, at config/rs6000/rs6000.c:5216

2021-10-24 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102767 --- Comment #12 from Kewen Lin --- The patch was posted at https://gcc.gnu.org/pipermail/gcc-patches/2021-October/582454.html

[Bug target/102789] [12 regression] libgomp.c++/simd-3.C fails after r12-4340 for 32 bits

2021-10-24 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102789 --- Comment #6 from Kewen Lin --- The proposed patch was tested and just posted at https://gcc.gnu.org/pipermail/gcc-patches/2021-October/582453.html.

[Bug tree-optimization/102920] [12 Regression] Wrong code with -O3

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

[Bug target/102868] Missed optimization with __builtin_shuffle and zero vector on ppc

2021-10-24 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102868 --- Comment #1 from luoxhu at gcc dot gnu.org --- Patch submitted: https://gcc.gnu.org/pipermail/gcc-patches/2021-October/582452.html

[Bug fortran/79330] gfortran 5.4.0/6.3.0/7.0.0 misinterpret type of character literal bind(C,name=...)

2021-10-24 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79330 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org

[Bug tree-optimization/102897] [12 Regression] simplify_permutation ICEs on assert since r12-1103-g4a9f2306cb39a3cf

2021-10-24 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102897 Kewen Lin changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org ---

[Bug c++/102514] The allocation function shall not be called when existing an erroneous expression in noptr-new-declarator

2021-10-24 Thread xmh970252187 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102514 --- Comment #2 from jim x --- It seems that they all do not obey [expr.new] p9, which says that If the expression in a noptr-new-declarator is present, it is implicitly converted to std​::​size_­t. The expression is erroneous if: - the

[Bug fortran/95375] ICE in add_use_op, Error: mismatching comparison operand types

2021-10-24 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95375 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org

[Bug fortran/49111] Unnecessary warning for private interfaces having the BIND(C) attribute

2021-10-24 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49111 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org

[Bug tree-optimization/102238] missing -Wrestrict for sprintf into the same member array as argument plus offset

2021-10-24 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102238 Martin Sebor changed: What|Removed |Added Keywords||patch Target Milestone|---

[Bug tree-optimization/102919] spurious -Wrestrict warning for sprintf into the same member array as argument plus offset

2021-10-24 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102919 Martin Sebor changed: What|Removed |Added Keywords||patch Target Milestone|---

[Bug c++/102921] error: modification of '' is not a constant expression

2021-10-24 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102921 --- Comment #1 from Frank Heckenbach --- The following program, compiled with "-std=c++20" gives this error message; I don't even understand what it's trying to tell me: error: modification of '' is not a constant expression #include

[Bug c++/102921] New: error: modification of '' is not a constant expression

2021-10-24 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102921 Bug ID: 102921 Summary: error: modification of '' is not a constant expression Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/102920] New: [12 Regression] Wrong code with -O3

2021-10-24 Thread vsevolod.livinskij at frtk dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102920 Bug ID: 102920 Summary: [12 Regression] Wrong code with -O3 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/102919] spurious -Wrestrict warning for sprintf into the same member array as argument plus offset

2021-10-24 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102919 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug tree-optimization/102919] New: spurious -Wrestrict warning for sprintf into the same member array as argument plus offset

2021-10-24 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102919 Bug ID: 102919 Summary: spurious -Wrestrict warning for sprintf into the same member array as argument plus offset Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c++/102918] New: Undefined behaviour in regex header (uininitialized boolean)

2021-10-24 Thread camilotalero96 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102918 Bug ID: 102918 Summary: Undefined behaviour in regex header (uininitialized boolean) Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal

[Bug testsuite/102910] cf-descriptor-5-c.c fails to build

2021-10-24 Thread dje at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102910 --- Comment #7 from David Edelsohn --- Sandra checked in a large number of testcases for interoperability that were broken from the outset on all platforms -- I saw them failing on multiple Linux architectures, not just AIX. The testcases

[Bug c++/55227] designated initializer for char array by string constant

2021-10-24 Thread wjwray at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55227 --- Comment #8 from Will Wray --- The patch above doesn't address the secondary issue, of ignored and unchecked nested designators: C b {{.bogus="b"}}; Perhaps reshape_init should be recursed into once more?

[Bug c++/55227] designated initializer for char array by string constant

2021-10-24 Thread wjwray at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55227 --- Comment #7 from Will Wray --- The patch below fixes the main issue (I think, checking) by adding first_initializer_p to the error condition it errors only where designators are not allowed. diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index

[Bug testsuite/102910] cf-descriptor-5-c.c fails to build

2021-10-24 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102910 --- Comment #6 from kargl at gcc dot gnu.org --- (In reply to David Edelsohn from comment #5) > Previously the test case was unresolved because it referenced alloca without > a declaration. > > char *adata = (char *) alloca (n); > > If you

[Bug libstdc++/102916] cmath constexpr can lead to ODR violations/incorrect results

2021-10-24 Thread Darrell.Wright at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102916 --- Comment #6 from Darrell Wright --- Right, mostly it can fall under as-if(if it wasn't explicitly disallowed) but because it's observable it can lead to some interesting behaviour differences when libstdc++ is compiled with gcc and clang.

[Bug c++/102916] cmath constexpr can lead to ODR violations/incorrect results

2021-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102916 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #4) > (In reply to Darrell Wright from comment #3) > > Also http://eel.is/c++draft/library#constexpr.functions-1 > > > > An issue is that it's high level observable

[Bug c++/102916] cmath constexpr can lead to ODR violations/incorrect results

2021-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102916 --- Comment #4 from Andrew Pinski --- (In reply to Darrell Wright from comment #3) > Also http://eel.is/c++draft/library#constexpr.functions-1 > > An issue is that it's high level observable and not just an optimization

[Bug c++/102916] cmath constexpr can lead to ODR violations/incorrect results

2021-10-24 Thread Darrell.Wright at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102916 --- Comment #3 from Darrell Wright --- Also http://eel.is/c++draft/library#constexpr.functions-1 An issue is that it's high level observable and not just an optimization

[Bug c++/102916] cmath constexpr can lead to ODR violations/incorrect results

2021-10-24 Thread Darrell.Wright at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102916 --- Comment #2 from Darrell Wright --- The constexpr value returned is different depending on the compiler. If one uses clang and gcc this leads to an ODR issue as void bar( ) { if constexpr( foo<[]{ return std::sqrt( 4.0 ); }>( ) ) {

[Bug testsuite/102910] cf-descriptor-5-c.c fails to build

2021-10-24 Thread dje at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102910 David Edelsohn changed: What|Removed |Added CC||dje at gcc dot gnu.org --- Comment #5

[Bug c++/102916] cmath constexpr can lead to ODR violations/incorrect results

2021-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102916 --- Comment #1 from Andrew Pinski --- > this can lead to ODR issues I don't think it can the C++ standard allows a compiler to have an extended const expressions IIRC.

[Bug fortran/102685] [12 Regression] ICE in output_constructor_regular_field, at varasm.c:5514 since r12-4278-g74ccca380cde5e79

2021-10-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102685 --- Comment #8 from anlauf at gcc dot gnu.org --- *** Bug 100970 has been marked as a duplicate of this bug. ***

[Bug fortran/100970] ICE in output_constructor_regular_field, at varasm.c:5514

2021-10-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100970 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |RESOLVED

[Bug fortran/102685] [12 Regression] ICE in output_constructor_regular_field, at varasm.c:5514 since r12-4278-g74ccca380cde5e79

2021-10-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102685 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||gerhard.steinmetz.fortran@t

[Bug fortran/67542] ICE in gfc_emit_parameter_debug_info, at fortran/trans-decl.c:4947 and :4945

2021-10-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67542 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |RESOLVED

[Bug fortran/102917] [PDT] KIND and LEN type parameters shall not be restricted to default integer

2021-10-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102917 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug fortran/102917] [PDT] KIND and LEN type parameters shall not be restricted to default integer

2021-10-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102917 anlauf at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug fortran/102917] New: [PDT] KIND and LEN type parameters shall not be restricted to default integer

2021-10-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102917 Bug ID: 102917 Summary: [PDT] KIND and LEN type parameters shall not be restricted to default integer Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug testsuite/102910] cf-descriptor-5-c.c fails to build

2021-10-24 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102910 kargl at gcc dot gnu.org changed: What|Removed |Added CC||dje.gcc at gmail dot com ---

[Bug testsuite/102910] cf-descriptor-5-c.c fails to build

2021-10-24 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102910 --- Comment #3 from Steve Kargl --- On Sun, Oct 24, 2021 at 05:28:08AM +, pinskia at gcc dot gnu.org wrote: > > --- Comment #2 from Andrew Pinski --- > I think the following is better: > > #ifndef alloca > #define alloca __builtin_alloca

[Bug fortran/102901] ICE (segfault) when compiling pdt_13.f03 with -fcheck=all in gfc_check_pdt_dummy -> structure_alloc_comps

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

[Bug c++/102916] New: cmath constexpr can lead to ODR violations/incorrect results

2021-10-24 Thread Darrell.Wright at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102916 Bug ID: 102916 Summary: cmath constexpr can lead to ODR violations/incorrect results Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/102915] New: GCC allows a trailing requires clause on a non templated lambda

2021-10-24 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102915 Bug ID: 102915 Summary: GCC allows a trailing requires clause on a non templated lambda Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug other/92435] % format codes for diagnostics are not documented in the GCC internals manual

2021-10-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92435 Eric Gallager changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org,

[Bug c++/55227] designated initializer for char array by string constant

2021-10-24 Thread wjwray at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55227 Will Wray changed: What|Removed |Added CC||wjwray at gmail dot com --- Comment #6 from

[Bug c++/98821] modules : c++tools configures with CC but code fragments assume CXX.

2021-10-24 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98821 Iain Sandoe changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Target Milestone|---

[Bug target/102914] spurious warnings are emitted on ARM about non-delegitimized UNSPEC UNSPEC_TLS

2021-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102914 --- Comment #1 from Andrew Pinski --- This warning only happens with checking turned on which is the default for building off the trunk.

[Bug target/102914] New: spurious warnings are emitted on ARM about non-delegitimized UNSPEC UNSPEC_TLS

2021-10-24 Thread ardb at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102914 Bug ID: 102914 Summary: spurious warnings are emitted on ARM about non-delegitimized UNSPEC UNSPEC_TLS Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug fortran/67542] ICE in gfc_emit_parameter_debug_info, at fortran/trans-decl.c:4947 and :4945

2021-10-24 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67542 --- Comment #13 from Dominique d'Humieres --- Duplicate of pr102685, fixed by r12-4452?

[Bug fortran/99183] [9/10/11 Regression] Incompatible Runtime types

2021-10-24 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99183 --- Comment #4 from Dominique d'Humieres --- > This seems to have been fixed between r12-4097 and r12-4638. Duplicate of pr102745, fixed by r12-4464?

[Bug fortran/100970] ICE in output_constructor_regular_field, at varasm.c:5514

2021-10-24 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100970 Dominique d'Humieres changed: What|Removed |Added Status|NEW |WAITING --- Comment #2 from

[Bug fortran/99183] [9/10/11 Regression] Incompatible Runtime types

2021-10-24 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99183 Dominique d'Humieres changed: What|Removed |Added Summary|Incompatible Runtime types |[9/10/11 Regression]

[Bug libstdc++/102912] Not full support of const arguments in std::variant

2021-10-24 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102912 康桓瑋 changed: What|Removed |Added CC||hewillk at gmail dot com --- Comment #1 from 康桓瑋

[Bug libstdc++/102913] variant_construct_single should not remove the const qualifier of Up

2021-10-24 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102913 康桓瑋 changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug c++/102802] Selection of inherited operator contrary to `using` clause in C++ when using lambda type

2021-10-24 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102802 Fedor Chelnokov changed: What|Removed |Added Resolution|--- |WONTFIX Status|NEW

[Bug fortran/92701] ICE assigning to assumed rank derived type component

2021-10-24 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92701 --- Comment #3 from Dominique d'Humieres --- This seems to have been fixed between r11-4933 and r11-6947 and back ported to gcc10.

[Bug libstdc++/102913] New: variant_construct_single should not remove the const qualifier of Up

2021-10-24 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102913 Bug ID: 102913 Summary: variant_construct_single should not remove the const qualifier of Up Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/102912] New: Not full support of const arguments in std::variant

2021-10-24 Thread fchelnokov at gmail dot com via Gcc-bugs
`` but its compilation in GCC results in a long error: ``` In file included from :2: /opt/compiler-explorer/gcc-trunk-20211024/include/c++/12.0.0/variant: In instantiation of 'constexpr std::__detail::__variant::_Variadic_union<_First, _Rest ...>::_Variadic_union(std::in_place_index_t<_Np>, _

[Bug sanitizer/102911] AddressSanitizer: CHECK failed: asan_malloc_linux.cpp:46

2021-10-24 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102911 --- Comment #2 from H.J. Lu --- The backtrace: (gdb) bt #0 __sanitizer::CheckFailed ( file=0xf7b17af4 "/export/gnu/import/git/sources/gcc/libsanitizer/asan/asan_malloc_linux.cpp", line=46, cond=0xf7b17ac0 "((allocated_for_dlsym)) <

[Bug tree-optimization/102908] [12 Regression] go.test/test/fixedbugs/issue16095.go hangs again by r12-4598

2021-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102908 Andrew Pinski changed: What|Removed |Added Keywords||patch URL|

[Bug fortran/67542] ICE in gfc_emit_parameter_debug_info, at fortran/trans-decl.c:4947 and :4945

2021-10-24 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67542 --- Comment #12 from Dominique d'Humieres --- As for r12-4638 the tests are now rejected whit Error: The shape of component 'c' in the structure constructor at (1) differs from the shape of the declared component for dimension 1 (2/1) So this

[Bug c++/102514] The allocation function shall not be called when existing an erroneous expression in noptr-new-declarator

2021-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102514 --- Comment #1 from Andrew Pinski --- Hmm, clang, GCC, ICC and MSVC all have the same behavior for the testcase.

[Bug bootstrap/102828] [12 Regression] ODR violation in gimple-predicate-analysis.h since g:94c12ffac234

2021-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102828 Andrew Pinski changed: What|Removed |Added Severity|normal |blocker Keywords|

[Bug c/88790] No warning for misleading indentation

2021-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88790 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Component|other

[Bug c++/102846] Misleading suggestion to include cassert

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

[Bug demangler/102851] Failure to demangle c++ symbol

2021-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102851 --- Comment #1 from Andrew Pinski --- Do you have the C++ preprocessed source that produces this mangled symbol? The lambda part might be causing the difference between LLVM and GCC and such.

[Bug c/89180] [meta-bug] bogus/missing -Wunused warnings

2021-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89180 Bug 89180 depends on bug 102909, which changed state. Bug 102909 Summary: Missing -Wunused-but-set-variable warning https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102909 What|Removed |Added

[Bug c/44677] Warn for variables incremented but not used

2021-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44677 Andrew Pinski changed: What|Removed |Added CC||mytbk920423 at gmail dot com ---

[Bug c/102909] Missing -Wunused-but-set-variable warning

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

[Bug fortran/92701] ICE assigning to assumed rank derived type component

2021-10-24 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92701 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org