This is the mail archive of the gcc-patches@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: Help wanted on PA, sparcv9! Use STACK_POINTER_OFFSET when aligni


> - PA, when TARGET_64BIT, uses current_function_outgoing_args_size in 
> its definition of STACK_POINTER_OFFSET.  I *think* that it will have 
> the correct value at this point, and will always be aligned properly, 
> but am not sure; could anyone test this patch on PA and see if it works?

I tested this last night.  There was one new failure in the g++ testsuite
from the previous run:

Executing on host: /xxx/gnu/gcc-3.3/objdir/gcc/testsuite/../g++ -B/xxx/gnu/gcc-3.3/objdir/gcc/testsuite/../ /xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.dg/ext/vla1.C  -nostdinc++ -I/xxx/gnu/gcc-3.3/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/hppa64-hp-hpux11.11 -I/xxx/gnu/gcc-3.3/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include -I/xxx/gnu/gcc-3.3/gcc/libstdc++-v3/libsupc++ -I/xxx/gnu/gcc-3.3/gcc/libstdc++-v3/libsupc++ -I/xxx/gnu/gcc-3.3/gcc/libstdc++-v3/include/backward -I/xxx/gnu/gcc-3.3/gcc/libstdc++-v3/testsuite -fmessage-length=0   -ansi -pedantic-errors -Wno-long-long  -S  -o vla1.s    (timeout = 300)
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.dg/ext/vla1.C: In constructor `A::A(int)':
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.dg/ext/vla1.C:12: error: ISO C++ forbids variable-size array `ar'
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.dg/ext/vla1.C: In constructor `B::B(int)':
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.dg/ext/vla1.C:22: error: ISO C++ forbids variable-size array `ar'
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.dg/ext/vla1.C:22: error: data member may not have variably modified type `int[1][((long unsigned int)((long int)i))]'
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.dg/ext/vla1.C:25: error: 'struct B::B(int)::S' has no member named 'ar'
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.dg/ext/vla1.C: In constructor `A::A(int)':
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.dg/ext/vla1.C:11: error: prior parameter's size depends on 'i'
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.dg/ext/vla1.C: In constructor `A::A(int)'
:
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.dg/ext/vla1.C:14: internal compiler error
: in find_function_data, at function.c:315
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

PASS: g++.dg/ext/vla1.C  (test for errors, line 12)
PASS: g++.dg/ext/vla1.C  (test for errors, line 22)
PASS: g++.dg/ext/vla1.C  (test for errors, line 25)
FAIL: g++.dg/ext/vla1.C (test for excess errors)
Excess errors:
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.dg/ext/vla1.C:11: error: prior parameter'
s size depends on 'i'
/xxx/gnu/gcc-3.3/gcc/gcc/testsuite/g++.dg/ext/vla1.C:14: internal compiler error
: in find_function_data, at function.c:315

Maybe this is failing on all ports.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)


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