[Bug c++/111286] [12/13/14 Regression] ICE on functional cast empty brace-init-list to const array reference
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111286 Gayathri Gottumukkala changed: What|Removed |Added CC||gayathri.gottumukkala.27@gm ||ail.com --- Comment #3 from Gayathri Gottumukkala --- I think this issue is related to the attempt to create a temporary array of references, which is not allowed in C++. In C++11 and later, you can find this information in section 8.3.2, paragraph 4 https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3690.pdf According to the above document, "There shall be no references to references, no arrays of references, and no pointers to references." To address the compilation error without modifying the code structure, we can make use of a temporary array of const A objects. struct A { A() noexcept {} }; void foo() { using T = const A[1]; T{}; }
[Bug c++/56289] Bad location for unused value warning with comma operator
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56289 Gayathri Gottumukkala changed: What|Removed |Added CC||gayathri.gottumukkala.27@gm ||ail.com --- Comment #5 from Gayathri Gottumukkala --- We cannot cast the two variables in single line using void. Instead of that we have to use void for two variables separately.
[Bug c++/65350] [C++14] operator new[] should not be called if # of initializer elements exceeds # of elements
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65350 Gayathri Gottumukkala changed: What|Removed |Added CC||gayathri.gottumukkala.27@gm ||ail.com --- Comment #4 from Gayathri Gottumukkala --- "cout" statement is executed before the exception is raised, hence two lines are printed as output.
[Bug c++/70352] [C++11] auto cannot be used in the type-id of a new-expression
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70352 Gayathri Gottumukkala changed: What|Removed |Added CC||gayathri.gottumukkala.27@gm ||ail.com --- Comment #3 from Gayathri Gottumukkala --- Syntax error, by removing braces and by releasing the memory of variable, the code is getting compiled.
[Bug c++/83028] Incorrect -Wsequence-point warning in correct C++17 code with new evaluation order rules
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83028 Gayathri Gottumukkala changed: What|Removed |Added CC||gayathri.gottumukkala.27@gm ||ail.com --- Comment #4 from Gayathri Gottumukkala --- The code gives warning if we use different flags while compiling. If we give individual print statements instead of one single statement, then there will be no warnings and it is compiled successfully.
[Bug c++/52953] function parameter name redeclarations not detected
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52953 Gayathri Gottumukkala changed: What|Removed |Added CC||gayathri.gottumukkala.27@gm ||ail.com --- Comment #12 from Gayathri Gottumukkala --- It is the duplicate of bug 74. Arguments of function redeclared in the function definition which is not possible.
[Bug c++/107198] [13/14 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752 since r13-3175-g6ffbf87ca66f4ed9
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107198 Gayathri Gottumukkala changed: What|Removed |Added CC||gayathri.gottumukkala.27@gm ||ail.com --- Comment #6 from Gayathri Gottumukkala --- This bug can fix by enabling exception handler we can enable by using -fno-exceptions flag.