https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55606
Andrew Pinski changed:
What|Removed |Added
Status|NEW |RESOLVED
Target Milestone|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55606
--- Comment #12 from nightstrike ---
(In reply to Martin Sebor from comment #9)
> A similar test case not involving arrays:
>
> $ cat z.c && /build/gcc-trunk-svn/gcc/xgcc -B /build/gcc-trunk-svn/gcc -S
> -Wall -Wextra -o/dev/null -xc++ z.c
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55606
--- Comment #11 from nightstrike ---
This now works with gcc 8. I haven't tried other versions.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55606
Andrew Pinski changed:
What|Removed |Added
CC||su at cs dot ucdavis.edu
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55606
Martin Sebor changed:
What|Removed |Added
Last reconfirmed|2012-12-09 00:00:00 |2015-11-24
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55606
nightstrike nightstrike at gmail dot com changed:
What|Removed |Added
CC||nightstrike at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55606
Andrew Pinski pinskia at gcc dot gnu.org changed:
What|Removed |Added
Keywords||FIXME,
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55606
--- Comment #1 from Paolo Carlini paolo.carlini at oracle dot com 2012-12-06
00:21:19 UTC ---
So? Do we have a plan of filing a PR for each sorry message?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55606
--- Comment #2 from H.J. Lu hjl.tools at gmail dot com 2012-12-06 00:29:07
UTC ---
why does
struct foo x = {
i: 0
};
work?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55606
--- Comment #3 from H.J. Lu hjl.tools at gmail dot com 2012-12-06 00:30:11
UTC ---
BTW, clang works fine:
[hjl@gnu-6 tmp]$ /opt/llvm.old/bin/clang -c i.c
i.c:6:5: warning: use of GNU old-style field designator extension
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55606
--- Comment #4 from H.J. Lu hjl.tools at gmail dot com 2012-12-06 00:32:46
UTC ---
[hjl@gnu-6 tmp]$ cat i.cc
struct foo {
char x[128];
unsigned* i;
};
struct foo x = {
.i = 0
};
[hjl@gnu-6 tmp]$ /opt/llvm.old/bin/clang -c
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55606
--- Comment #5 from H.J. Lu hjl.tools at gmail dot com 2012-12-06 00:35:38
UTC ---
This works:
[hjl@gnu-6 tmp]$ cat i.cc
struct foo {
char x[128];
unsigned* i;
};
struct foo x = {
foo,
.i = 0
};
[hjl@gnu-6 tmp]$ g++
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55606
--- Comment #6 from Paolo Carlini paolo.carlini at oracle dot com 2012-12-06
00:35:53 UTC ---
I'm not saying that some work should not be done, I'm saying that sorry message
normally correspond to *known* issues, we don't need PRs for
13 matches
Mail list logo