This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17743] dependent expressions in attributes
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Oct 2004 04:47:59 -0000
- Subject: [Bug c++/17743] dependent expressions in attributes
- References: <20040930042632.17743.bkoz@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From giovannibajo at libero dot it 2004-10-17 04:47 -------
OK, I fixed part of this for 4.0. The missing part is when the expression in
attributes is dependent, like:
template <class T>
struct A {
char foo __attribute__((aligned(__alignof__(T))));
};
This is non-trivial to fix. Benjamin, if you want you can keep this bugreport
open to track this. I do not plan to be able to fix this in the 4.0 timeframe,
so I have unassigned the bug (I will attempt something though). If somebody
more expert than me wants to help the v3 guys, feel free.
Otherwise, if you do not care about this, just close this bug.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|giovannibajo at libero dot |unassigned at gcc dot gnu
|it |dot org
Status|ASSIGNED |NEW
Summary|__alignof__ vs. typedefs |dependent expressions in
| |attributes
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17743