Re: C++ frontend can not handle vector pointer constant parameter

2007-08-07 Thread Sa Liu
"Andrew Pinski" <[EMAIL PROTECTED]> wrote on 02.08.2007 19:36:30: > On 8/2/07, Sa Liu <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > I have detected a bug in C++ frontend. > > This used to work. Can you file a bug at the very least? > Hi Andrew, Do you still remember on which version it used

Re: C++ frontend can not handle vector pointer constant parameter

2007-08-02 Thread Sa Liu
"Andrew Pinski" <[EMAIL PROTECTED]> wrote on 02.08.2007 19:36:30: > This used to work. Can you file a bug at the very least? > > Thanks, > Andrew Pinski I have opened a bug against it. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32970 Sa

Re: C++ frontend can not handle vector pointer constant parameter

2007-08-02 Thread Andrew Pinski
On 8/2/07, Sa Liu <[EMAIL PROTECTED]> wrote: > Hi all, > > I have detected a bug in C++ frontend. This used to work. Can you file a bug at the very least? Thanks, Andrew Pinski

C++ frontend can not handle vector pointer constant parameter

2007-08-02 Thread Sa Liu
Hi all, I have detected a bug in C++ frontend. When compiling a function with parameter of a pointer to a vector constant type, the compiler calls a recursive function and is not able to get out. Concretely, in gcc/cp/mangle.c file, in function write_type: if (write_CV_qualifiers_for_type