--- Comment #18 from balrogg at gmail dot com 2010-05-15 03:23 ---
(In reply to comment #11)
> An example program that shows 3 different methods. Only one works (see
> comment)
> .c = 3, //Will not work
> {.c = 3}, //works
> {.c= 2}, //Does not work
For sake of documentation, wi
--- Comment #17 from davek at gcc dot gnu dot org 2010-05-09 21:00 ---
Thank you!
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10676
--- Comment #16 from jsm28 at gcc dot gnu dot org 2010-05-09 20:42 ---
Fixed for 4.6.
--
jsm28 at gcc dot gnu dot org changed:
What|Removed |Added
Status|NEW
--- Comment #15 from jsm28 at gcc dot gnu dot org 2010-05-09 20:39 ---
Subject: Bug 10676
Author: jsm28
Date: Sun May 9 20:39:39 2010
New Revision: 159206
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159206
Log:
PR c/10676
* c-typeck.c (lookup_field): Take a t
--- Comment #14 from jsm28 at gcc dot gnu dot org 2010-01-26 16:32 ---
C1x anonymous structures and unions will likely require a fix for this.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10676
--- Comment #13 from mat at lcs dot mit dot edu 2010-01-26 16:28 ---
This "bug" is causing me difficulty porting from an EDG-based compiler to
gcc-4.4.3. EDG implemented "assignment" and "initialization" as having the
same namespace.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1
--- Comment #12 from mat at lcs dot mit dot edu 2010-01-26 16:25 ---
*** Bug 42875 has been marked as a duplicate of this bug. ***
--
mat at lcs dot mit dot edu changed:
What|Removed |Added
--
--- Comment #11 from jan dot cornelis at gmail dot com 2009-08-27 14:57
---
An example program that shows 3 different methods. Only one works (see comment)
As I used the names for each field, I assumed that all 3 examples should work.
#include
#include
struct a_t {
uint16_t a;
--- Comment #10 from pinskia at gcc dot gnu dot org 2009-07-06 19:30
---
*** Bug 40656 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
-
--- Comment #9 from JonathanDBrandmeyer at eaton dot com 2009-06-17 17:16
---
Similarly, I would like the following to work as an extension to the anonymous
union support:
Given a structure like:
struct foo {
int a;
union {
int b;
float c;
};
--- Comment #8 from josh at freedesktop dot org 2008-11-05 17:21 ---
How can I update the "last confirmed" date to today?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10676
--- Comment #7 from josh at freedesktop dot org 2008-11-05 17:20 ---
Still happens with GCC 4.3.2:
$ gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.2-1'
--with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
--en
--- Comment #6 from josh at freedesktop dot org 2008-11-05 17:19 ---
*** Bug 38019 has been marked as a duplicate of this bug. ***
--
josh at freedesktop dot org changed:
What|Removed |Added
-
--- Comment #5 from pinskia at gcc dot gnu dot org 2007-02-09 18:43 ---
*** Bug 30737 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
---
--- Additional Comments From jsm28 at gcc dot gnu dot org 2005-09-26 12:15
---
*** Bug 24065 has been marked as a duplicate of this bug. ***
--
What|Removed |Added
--- Additional Comments From jrydberg at gnu dot org 2005-02-15 18:30
---
Still happens on 4.0 snapshot of 20050213 :
$ /gnu/bin/gcc -c pr10676.c
pr10676.c:9: error: unknown field 'foo' specified in initializer
$ /gnu/bin/gcc -v
...
gcc version 4.0.0 20050213 (experimental)
--
http
16 matches
Mail list logo