This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/37122] fixed-value.c and tree-ssa-loop-ivopts.c won't compile with Sun Studio 11 on Solaris 9 due to incompatible operand types
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Aug 2008 22:47:13 -0000
- Subject: [Bug bootstrap/37122] fixed-value.c and tree-ssa-loop-ivopts.c won't compile with Sun Studio 11 on Solaris 9 due to incompatible operand types
- References: <bug-37122-16575@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2008-08-16 22:47 -------
This seems like a bug in Sun's compiler. As far as I can tell a ? const struct
A : struct A should be valid in C and C++. I think you should both post the
patches to gcc-patches@ and make sure you file a bug with Sun too.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37122