https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98715
--- Comment #2 from Alexander Klimov ---
Clang does not think that the code is valid:
error: variable-sized object may not be initialized
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: alserkli at inbox dot ru
Target Milestone: ---
<https://godbolt.org/z/z763xG>:
void f(int n) {
int a[n][n] = {{}};
}
gives on trunk (also gcc 4.9.0, but not 4.8.5):
during RT
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: alserkli at inbox dot ru
Target Milestone: ---
Created attachment 35741
-- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35741action=edit
from root/core
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65390
--- Comment #3 from Alexander Klimov alserkli at inbox dot ru ---
(In reply to Marek Polacek from comment #2)
Might be a dup of PR63584.
PR63584 does not produce ICE in 5.0
++
Assignee: unassigned at gcc dot gnu.org
Reporter: alserkli at inbox dot ru
Created attachment 35013
-- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35013action=edit
preprocessed source
g++ (GCC) 5.0.0 20150311 (experimental)
=== e.cc ===
#include memory
auto f(int n){
return
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64823
Alexander Klimov alserkli at inbox dot ru changed:
What|Removed |Added
Status|RESOLVED|VERIFIED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64978
Alexander Klimov alserkli at inbox dot ru changed:
What|Removed |Added
CC||alserkli
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64803
--- Comment #4 from Alexander Klimov alserkli at inbox dot ru ---
Thanks! Your patch works for llvm.
Assignee: unassigned at gcc dot gnu.org
Reporter: alserkli at inbox dot ru
Compilation of (GDB) 7.9.50.20150127-cvs with (GCC) 5.0.0 20150127 fails due to
false warning (gdb is compiled with -Werror). It was not a problem in GCC
4.7.2.
// a.c: simplified from the expansion
Assignee: unassigned at gcc dot gnu.org
Reporter: alserkli at inbox dot ru
The following code (simplified from
EXPECT_DEATH(VariantValue(VariantMatcher::SingleMatcher(varDecl())) in
llvm/tools/clang/unittests/ASTMatchers/Dynamic/VariantValueTest.cpp:149)
#define C(a, b) a ## b
#define L
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46056
Alexander Klimov alserkli at inbox dot ru changed:
What|Removed |Added
Attachment #22086|0 |1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46056
--- Comment #2 from Alexander Klimov alserkli at inbox dot ru 2010-10-19
18:22:11 UTC ---
Created attachment 22086
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=22086
simple testcase
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46056
Alexander Klimov alserkli at inbox dot ru changed:
What|Removed |Added
Summary|[C++0x] range-based for |[C++0x] range
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46056
Summary: range-based for loop inside lambda crashes if
_GLIBCXX_DEBUG is defined
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
14 matches
Mail list logo