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: [trunk][patch] fix invalid sharing in see


> The attached patch fixes an invalid rtl sharing in see. A test is
> attached, to reproduce run on a x86_64
>
> ./cc1plus -fsee -O2 test.ii
>
> I would like to add test.ii to the testsuite. Where should it go?

There is a couple of problems:

- the testcase is in testsuite/gcc.c-torture/compile but it uses dg-options
so it gets compiled multiple times for little benefit (see the log file).
I think it ought to be in gcc.dg instead.

- the testcase doesn't pass with RTL checking on x86:
/home/eric/svn/gcc/gcc/testsuite/gcc.c-torture/compile/20080522-1.c: In 
function 'g':
/home/eric/svn/gcc/gcc/testsuite/gcc.c-torture/compile/20080522-1.c:20: 
internal compiler error: RTL check: expected code 'subreg', have 'pc' in 
see_get_extension_data, at see.c:735
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

-- 
Eric Botcazou


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