unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Marshall\, Simon" <Simon.Marshall@misys.com>
Cc: emacs-pretest-bug@gnu.org, Chong Yidong <cyd@stupidchicken.com>
Subject: Re: [22.1.90]: Point before start of properties
Date: Tue, 12 Feb 2008 13:32:01 -0500	[thread overview]
Message-ID: <jwvzlu69gmp.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <6EE216E1AA959543A555C60FF34FB76702EED4A1@maileube01.misys.global.ad> (Simon Marshall's message of "Tue, 12 Feb 2008 17:52:19 -0000")

> I can reproduce it (ie, it breaks on the call to error as above) with
> lucid and motif scrollbars (tried with gcc-4.1.2)
> I can reproduce it with gcc-4.1.2 (-g and -g -O2) and gcc-4.2.3 (-g -O
> and -g -O2).
> I cannot reproduce it with gcc-4.2.3 (-g) and CC-5.7 (-g).

So, adding -O (or -O2) to gcc-4.2.3 triggers the problem, and switching
to gcc-4.1.2 triggers it as well?

It does sound like it may be a compiler bug, but [putting on my
compiler writer hat] it's still at least as likely that the bug is in
our code and just isn't triggered in more common circumstances
(e.g. a missing `volatile' or something like that, maybe?).

First thing: try to reproduce the problem with -DENABLE_CHECKING.
This may help us catch the problem at some earlier poin in the execution
(it's a long shot, but you never know).

Then try to narrow down the problematic source file: compile all files
with "gcc-4.2.3 -g" except for one (e.g. intervals.c) and see if you con
still reproduce the problem.  If you can, recompile intervals.c with
"gcc-4.2.3 -g" to double check that the problem then disappears.
If that's not that file, then use binary search to figure out which file
is causing trouble.


        Stefan




  reply	other threads:[~2008-02-12 18:32 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-08 16:35 [22.1.90]: Point before start of properties Marshall, Simon
2008-02-10  3:26 ` Stefan Monnier
2008-02-10 15:22 ` Chong Yidong
2008-02-12 17:52   ` Marshall, Simon
2008-02-12 18:32     ` Stefan Monnier [this message]
2008-02-13 10:13       ` Marshall, Simon
2008-02-18 19:52         ` Stefan Monnier
2008-02-19 10:37           ` Marshall, Simon
2008-02-19 16:00             ` Stefan Monnier
2008-02-19 17:23               ` Marshall, Simon
2008-02-19 17:31                 ` David Kastrup
2008-02-20  9:44                   ` Marshall, Simon
2008-02-19 21:59                 ` Stefan Monnier
2008-02-20 11:31                   ` Marshall, Simon
2008-02-20 17:17                     ` Stefan Monnier
2008-02-20 19:40                       ` Eli Zaretskii
2008-02-21  9:16                         ` Richard Stallman
2008-02-21 16:02                           ` Stefan Monnier
2008-02-22  3:16                             ` Stephen J. Turnbull
2008-02-22 15:18                               ` [OT] Deugging optimized code (was: [22.1.90]: Point before start of properties) Stefan Monnier
2008-02-22 15:41                                 ` Andreas Schwab
2008-02-22 22:20                                 ` Stephen J. Turnbull
2008-02-22 16:31                             ` [22.1.90]: Point before start of properties Eli Zaretskii
2008-02-22 16:27                           ` Eli Zaretskii
2008-02-22 22:09                             ` Miles Bader
2008-02-23 19:29                             ` Richard Stallman
2008-02-23 21:18                               ` Eli Zaretskii
2008-02-24 15:22                                 ` Richard Stallman
2008-02-24 19:59                                   ` Eli Zaretskii
2008-02-25 10:57                                     ` Richard Stallman
2008-02-25 15:55                                       ` Stefan Monnier
2008-02-24 20:36                               ` Tom Tromey
2008-02-25 10:57                                 ` Richard Stallman
2008-02-21 22:27                       ` Richard Stallman
     [not found]           ` <6EE216E1AA959543A555C60FF34FB76702B2DB02@maileube01.misys.global.ad>
2008-02-19 14:45             ` Marshall, Simon
2008-02-19 23:09               ` Richard Stallman
2008-02-10 18:42 ` Richard Stallman

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=jwvzlu69gmp.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=Simon.Marshall@misys.com \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-pretest-bug@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).