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]

Re: [PATCH] new g++.exp procs


Stan Cox <scox@redhat.com> writes:

| This patch adds support for various procs that are in gcc.exp but not
| g++.exp so g++ testsuites can use a harness mechanism that is similar to gcc.
| The new procs are: 
| 
|  g++_init 
|  g++_check_compile
|  g++_pass
|  g++_fail
|  g++_check_unsupported_p 

Instead of duplicating codes ad infinitum and latter try to keep them
in sync, shouldn't it be better to have a single version and share it?
We're already taking a sharing code step in the front-ends, it would be
helpful to start the same approach in the remaining parts of the
compiler. 

Thoughts?

-- Gaby


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