--- Comment #11 from jakub at gcc dot gnu dot org 2009-03-30 15:01 ---
Subject: Bug 39558
Author: jakub
Date: Mon Mar 30 15:00:52 2009
New Revision: 145297
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=145297
Log:
PR target/39558
* macro.c (cpp_get_token): If
--- Comment #12 from jakub at gcc dot gnu dot org 2009-03-30 15:06 ---
Subject: Bug 39558
Author: jakub
Date: Mon Mar 30 15:06:14 2009
New Revision: 145298
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=145298
Log:
PR target/39558
* macro.c (cpp_get_token): If
--- Comment #13 from jakub at gcc dot gnu dot org 2009-03-30 15:24 ---
Fixed.
--
jakub at gcc dot gnu dot org changed:
What|Removed |Added
Status|ASSIGNED
--- Comment #5 from jakub at gcc dot gnu dot org 2009-03-27 11:09 ---
Ah, I see. The problem is that rs6000_macro_to_expand sometimes calls
cpp_get_token (when seeing a macro after vector token), and removes optionally
some CPP_PADDING tokens and a NT_MACRO token (with PREV_WHITE set
--- Comment #6 from meissner at linux dot vnet dot ibm dot com 2009-03-27
15:19 ---
Subject: Re: Bad interaction of decls named 'vector' and -maltivec vector
support
On Fri, Mar 27, 2009 at 11:09:57AM -, jakub at gcc dot gnu dot org wrote:
--- Comment #5 from jakub at
--- Comment #7 from meissner at linux dot vnet dot ibm dot com 2009-03-27
15:59 ---
Subject: Re: Bad interaction of decls named 'vector' and -maltivec vector
support
On Fri, Mar 27, 2009 at 11:18:52AM -0400, Michael Meissner wrote:
Note, there is problem with infinite recursion,
--- Comment #8 from jakub at gcc dot gnu dot org 2009-03-27 17:55 ---
Created an attachment (id=17546)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17546action=view)
gcc44-pr39558.patch
Untested patch to fix this.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39558
--- Comment #9 from meissner at linux dot vnet dot ibm dot com 2009-03-27
21:20 ---
Subject: Re: Bad interaction of decls named 'vector' and -maltivec vector
support
On Fri, Mar 27, 2009 at 05:55:05PM -, jakub at gcc dot gnu dot org wrote:
--- Comment #8 from jakub at
--- Comment #10 from tromey at gcc dot gnu dot org 2009-03-28 01:15 ---
I think this patch looks ok, assuming it works.
I'd like to reiterate that all this vector stuff would
probably be much cleaner if it were implemented as
context-sensitive keywords in the parser.
--
--- Comment #2 from jakub at gcc dot gnu dot org 2009-03-26 14:00 ---
What exact problem do you see?
#define ATTRIBUTE_UNUSED __attribute__((unused))
vector int i;
int *foo (int *vector)
{
return vector;
}
int *bar (int *vector ATTRIBUTE_UNUSED)
{
return vector;
}
int *baz (int
--- Comment #3 from meissner at linux dot vnet dot ibm dot com 2009-03-26
15:24 ---
Subject: Re: Bad interaction of decls named 'vector' and -maltivec vector
support
On Thu, Mar 26, 2009 at 02:00:49PM -, jakub at gcc dot gnu dot org wrote:
--- Comment #2 from jakub at
--- Comment #4 from meissner at linux dot vnet dot ibm dot com 2009-03-26
15:43 ---
Further testing shows that this only happens if you use the -save-temps option.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39558
--
bje at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |bje at gcc dot gnu dot org
|dot org
13 matches
Mail list logo