public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Vladimir Makarov <vmakarov@redhat.com>
To: Jakub Jelinek <jakub@redhat.com>
Cc: law@redhat.com, Franz Sirl <Franz.Sirl-kernel@lauterbach.com>,
	Mark Mitchell <mark@codesourcery.com>,
	gcc@gcc.gnu.org,
	"Kevin B. Hendricks" <kevin.hendricks@sympatico.ca>
Subject: Re: GCC 3.2
Date: Mon, 12 Aug 2002 13:14:00 -0000	[thread overview]
Message-ID: <3D581725.73033FCD@redhat.com> (raw)
In-Reply-To: <20020812180910.K18963@sunsite.ms.mff.cuni.cz>

Jakub Jelinek wrote:
> 
> On Mon, Aug 12, 2002 at 09:51:21AM -0600, Jeff Law wrote:
> >  In message <200207271635.12319@enzo.bigblue.local>, Franz Sirl writes:
> >  >On Samstag, 27. Juli 2002 00:50, Mark Mitchell wrote:
> >  >> I have created the GCC 3.2 branch.
> >  >>
> >  >> Once Jakub indicates that the ABI patchset has been checked in, I will
> >  >> start rolling the 3.2 prerelease.
> >  >
> >  [ ... ]
> >
> >  >Another thing, Kevin Hendricks, one of the OpenOffice developers, sent me a
> >  >short test program with all the alignment stuff the OO people had to change
> >  >between 2.9x and 3.x. Would some of the C++ people take a close look at this
> >  >code? Note that the current ABI patches fixed already 2 problems the OO
> >  >people had to workaround with gcc-3.1, so maybe the others are ABI bugs as
> >  >well?
> > This reminds me of another ABI testing infrastructure we could build out.
> >
> > Many many years ago Cygnus wrote some patches for a customer which allowed
> > GCC to dump out various things like size/offset information for structure
> > members.
> 
> You mean gcc/testsuite/consistency.vlad stuff?
> I've run that on various compilers, the
> only thing which was different between 3.3 20020803 and 3.2 20020803 was
> __alignof__ of top level objects, but it did not catch e.g. the bitfield
> layout problems.
> 
> IMHO it would be better to write a layout test generator, using all
> combinations for the simpler tests and pick some hundreds tests at random for
> more complicated tests.

  Actually, the tests were generated and they were generated according
to your proposal.  There are lot of combinations for bitfields,
therefore they were chosen randomly.

  The customer wanted more therefore tests from all customer's system
structures (several millions C++ lines) were generated too.  They can
not be added because it requires proprietary code.  The test generator
was written on compiler-compiler named Gentle 4-4.5 years ago.

  I think the approach could be useful and we could use gcc front-end to
generate tests from big and important programs.

  Another approach could be generation of tests taking all GCC memory
allocation macros into account.  The tests in consistency.vlad were
written according "black box" approach.

  The testsuite can be divided on two parts:
    1. dejagnu code
    2. and the tests themselves.

  The first part is still flexible and could be used without changes for
new tests.

Vlad

  reply	other threads:[~2002-08-12 13:14 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-27  1:01 Mark Mitchell
2002-07-27  1:28 ` Joe Buck
2002-07-27  1:30   ` Mark Mitchell
2002-07-27  3:30 ` Zack Weinberg
2002-07-29  4:26   ` Mark Mitchell
2002-07-29  5:00     ` Toon Moene
2002-07-27 16:26 ` Franz Sirl
2002-07-27 18:32   ` Jakub Jelinek
2002-07-30  6:49   ` Jason Merrill
2002-07-31  2:11     ` Jason Merrill
2002-07-31  5:05       ` Jason Merrill
2002-07-31  6:35       ` Neil Booth
2002-07-31  7:14       ` Neil Booth
2002-08-04 10:08         ` Joseph S. Myers
2002-07-31 10:45       ` Mark Mitchell
2002-08-01 14:42         ` Jason Merrill
2002-08-02  4:58           ` PATCH to avoid copying tail padding (was: GCC 3.2) Jason Merrill
2002-08-12  8:47   ` GCC 3.2 Jeff Law
2002-08-12 11:52     ` Jakub Jelinek
2002-08-12 13:14       ` Vladimir Makarov [this message]
2002-08-12 13:28       ` Jeff Law
2002-08-12 13:30         ` Jakub Jelinek
2002-08-12 16:42         ` Janis Johnson
2002-08-13  9:46           ` Jeff Law
2002-08-19 11:41             ` Phil Edwards
2002-08-20 21:38               ` Benjamin Kosnik
2002-08-21  4:31                 ` Kevin B. Hendricks
2002-08-21  9:56                   ` Benjamin Kosnik
2002-08-21 10:24                     ` Kevin B. Hendricks
2002-08-21 11:24                 ` Janis Johnson
2002-08-21 12:02                   ` Phil Edwards
2002-08-21 14:53                     ` Janis Johnson
2002-08-21 20:03                       ` Benjamin Kosnik
2002-07-27 22:19 Benjamin Kosnik
2002-07-28  9:40 ` Jakub Jelinek
     [not found] <Pine.LNX.4.33.0208041756450.30248-100000@kern.srcf.societies.cam.ac.uk>
2002-08-04 10:24 ` Gerald Pfeifer
2002-08-12 19:05 Benjamin Kosnik
2002-10-18 17:23 gcc 3.2 Udo Tremel
2002-10-18 18:08 ` Mike Stump

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D581725.73033FCD@redhat.com \
    --to=vmakarov@redhat.com \
    --cc=Franz.Sirl-kernel@lauterbach.com \
    --cc=gcc@gcc.gnu.org \
    --cc=jakub@redhat.com \
    --cc=kevin.hendricks@sympatico.ca \
    --cc=law@redhat.com \
    --cc=mark@codesourcery.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).