This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/44569] Debug statements passed to rtx
- From: "artyom dot shinkaroff at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Aug 2010 19:38:33 -0000
- Subject: [Bug middle-end/44569] Debug statements passed to rtx
- References: <bug-44569-19338@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from artyom dot shinkaroff at gmail dot com 2010-08-15 19:38 -------
Yes, I still would like to solve the problem.
I just uploaded the patch for the revision 163240 (2010-08-14). The bug is
still there. The problem happens when you compile the following code with "-On
-g".
#define vector(elcount, type) \
__attribute__((vector_size((elcount)*sizeof(type)))) type
#define vidx(type, vec, idx) (*((type *) &(vec) + idx))
#define uchar unsigned char
#define ch14 1,2,3,4
#define ch1 1,1,1,1
int main (int argc, char *argv[]) {
vector(16, uchar) vuchar = { ch14, ch14, ch14, ch14};
vector(16, char) vchar0 = { ch1, ch1, ch1, ch1};
vector(16, uchar) u1;
u1 = vuchar << vchar0;
if (vidx(char, u1, 0) != ((uchar)1 << (char)1))
__builtin_abort ();
vuchar <<= vchar0;
return 0;
}
The error message is the same as in the original description.
Thanks for help.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44569