This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [tree-ssa] New failures after 2003-11-06 changes


On Tuesday 11 November 2003 00:11, law@redhat.com wrote:
>  >New regressions in 20031106/g++.sum.gz:
>  >	 FAIL: g++.old-deja/g++.pt/vaarg3.C (test for excess errors)
>
> Note I took a real quick look at this one -- it appears that the C++
> front-end has entered an infinite loop.  Are you sure this is a regression
> caused by the BIND_EXPR changes?

Jeff, I tried mainline too now.

With tree-ssa I get (after setting ulimit -v 400000, or it crashes my box :-)

steven@steven:~/devel/ssabuild/gcc> ./cc1plus -isystem ./include -quiet t.cc
t.cc: In function `int main()':
t.cc:24: warning: cannot pass objects of non-POD type `struct A' through 
`...'; call will abort at runtime
t.cc: In function `void PrintArgs(Type, ...) [with Type = A]':
t.cc:24:   instantiated from here
t.cc:15: warning: cannot pass objects of non-POD type `struct A' through 
`...'; call will abort at runtime
t.cc:17: warning: cannot receive objects of non-POD type `struct A' through 
`...'
Segmentation fault


With mainline it fails more gracefully with

t.cc: In function `int main()':
t.cc:24: warning: cannot pass objects of non-POD type `struct A' through 
`...'; call will abort at runtime
t.cc: In function `void PrintArgs(Type, ...) [with Type = A]':
t.cc:24:   instantiated from here
t.cc:15: warning: cannot pass objects of non-POD type `struct A' through 
`...'; call will abort at runtime
t.cc:17: warning: cannot receive objects of non-POD type `struct A' through 
`...'
virtual memory exhausted: Cannot allocate memory

So this is not tree-ssa specific.

Gr.
Steven


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]