public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: "Mack Lobell" <macklobell@hotmail.com>
To: nobody@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org,
Subject: Re: c/8962: "-O2 -mmmx" makes gcc seg fault
Date: Sat, 21 Dec 2002 09:46:00 -0000	[thread overview]
Message-ID: <20021221174603.25701.qmail@sources.redhat.com> (raw)

The following reply was made to PR c/8962; it has been noted by GNATS.

From: "Mack Lobell" <macklobell@hotmail.com>
To: bangerth@ticam.utexas.edu
Cc: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Subject: Re: c/8962: "-O2 -mmmx" makes gcc seg fault
Date: Sat, 21 Dec 2002 17:44:38 +0000

 Ok,
 
 more tests:
 
 downloaded 3.3 branch and 3.4 current.
 
 Results:
 
 ***** Build with 3.3 branch *****
 
 $ ~/build/gcc3.3/gcc/xgcc.exe -B ~/build/gcc3.3/gcc -c -O2 -mmmx expr.i
 /home/lobell/src/gcc-20021202/gcc/expr.c: In function `expand_expr':
 /home/lobell/src/gcc-20021202/gcc/expr.c:9306: internal compiler error: 
 Segmentation fault
 Please submit a full bug report,
 with preprocessed source if appropriate.
 See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
 
 lobell@VOLVO ~/gcc_test
 $ ~/build/gcc3.3/gcc/xgcc.exe -B ~/build/gcc3.3/gcc -v
 Reading specs from /home/lobell/build/gcc3.3/gcc/specs
 Configured with: /home/lobell/src/gcc3.3/gcc/configure --enable-languages=c 
 --disable-nls
 Thread model: single
 gcc version 3.3 20021221 (prerelease)
 
 
 ***** Build with 3.4 current *****
 
 lobell@VOLVO ~/gcc_test
 $ ll
 total 873
 drwxrwxrwx+   2 lobell   None            0 Dec 21 18:40 .
 drwxrwxrwx+   8 lobell   None            0 Dec 21 17:54 ..
 -rw-rw-rw-    1 lobell   None       893508 Dec 16 15:32 expr.i
 
 lobell@VOLVO ~/gcc_test
 $ ~/build/gcc_current1/gcc/xgcc.exe -B ~/build/gcc_current1/gcc -c -O2 -mmmx 
 expr.i
 
 lobell@VOLVO ~/gcc_test
 $ ll
 total 1099
 drwxrwxrwx+   2 lobell   None            0 Dec 21 18:41 .
 drwxrwxrwx+   8 lobell   None            0 Dec 21 17:54 ..
 -rw-rw-rw-    1 lobell   None       893508 Dec 16 15:32 expr.i
 -rw-rw-rw-    1 lobell   None       231308 Dec 21 18:41 expr.o
 
 lobell@VOLVO ~/gcc_test
 $ ~/build/gcc_current1/gcc/xgcc.exe -B ~/build/gcc_current1/gcc -v
 Reading specs from /home/lobell/build/gcc_current1/gcc/specs
 Configured with:
 Thread model: single
 gcc version 3.4 20021221 (experimental)
 
 
 Conclusion:
 The bug exists only in 3.3 branch.
 
 Does that help?
 
 Regards.
 
 
 
 >From: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
 >To: Mack Lobell <macklobell@hotmail.com>
 >CC: gcc-bugs@gcc.gnu.org, <gcc-gnats@gcc.gnu.org>
 >Subject: Re: c/8962: "-O2 -mmmx" makes gcc seg fault
 >Date: Sat, 21 Dec 2002 10:55:13 -0600 (CST)
 >
 >
 > > did the following:
 >
 >Thanks for your experiments. I think there is no need for you to try an
 >even newer snapshot. The only thing you could do is try to strip down the
 >testcase as much as possible, presently it is rather long. We usually do
 >that by first stripping off the line number lines using
 >   perl -pi -e 's/^#.*\n//g;' expr.i
 >so that the compiler gives the _actual_ line number in this file when it
 >crashes. Then try to delete as much stuff from the file as you can.
 >Usually, one can get it down to 20-30 lines and still see the crash. But
 >be warned that this can be a tediuous process that could take 30 minutes
 >to an hour, if you're not frequently doing such things.
 >
 >Thanks for your help
 >   Wolfgang
 >
 >-------------------------------------------------------------------------
 >Wolfgang Bangerth              email:           bangerth@ticam.utexas.edu
 >                                www: http://www.ticam.utexas.edu/~bangerth
 
 
 _________________________________________________________________
 The new MSN 8: smart spam protection and 3 months FREE*.  
 http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=7474&SU= 
 http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_smartspamprotection_3mf
 


             reply	other threads:[~2002-12-21 17:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-21  9:46 Mack Lobell [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-01-07 20:56 Wolfgang Bangerth
2003-01-03 23:56 Wolfgang Bangerth
2002-12-22  0:56 Mack Lobell
2002-12-21 10:16 Wolfgang Bangerth
2002-12-21  8:56 Wolfgang Bangerth
2002-12-21  7:56 Mack Lobell
2002-12-20 20:32 bangerth
2002-12-16  7:16 macklobell

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=20021221174603.25701.qmail@sources.redhat.com \
    --to=macklobell@hotmail.com \
    --cc=gcc-prs@gcc.gnu.org \
    --cc=nobody@gcc.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.
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).