public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: glen@imodulo.com
To: gcc-gnats@gcc.gnu.org
Subject: optimization/8165: builtin string functions SEGV on alpha-pc-linux-gnu at -O2
Date: Mon, 07 Oct 2002 17:56:00 -0000	[thread overview]
Message-ID: <20021008005507.14448.qmail@sources.redhat.com> (raw)


>Number:         8165
>Category:       optimization
>Synopsis:       builtin string functions SEGV on alpha-pc-linux-gnu at -O2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 07 17:56:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Glen Nakamura
>Release:        gcc version 3.3 20021006 (experimental)
>Organization:
>Environment:
alpha-pc-linux-gnu
>Description:
The testcase results in SEGV when compiled at -O2.
>How-To-Repeat:
gcc -O2 testcase.c
./a.out
>Fix:
I'll send a proposed patch in a bit...
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="testcase.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="testcase.c"

ZXh0ZXJuIHZvaWQgYWJvcnQgKHZvaWQpOwoKY2hhciBidWZbNjRdOwoKaW50Cm1haW4gKHZvaWQp
CnsKICBpbnQgaTsKCiAgX19idWlsdGluX3N0cmNweSAoYnVmLCAibXlzdHJpbmciKTsKICBpZiAo
X19idWlsdGluX3N0cmNtcCAoYnVmLCAibXlzdHJpbmciKSAhPSAwKQogICAgYWJvcnQgKCk7Cgog
IGZvciAoaSA9IDA7IGkgPCAxNjsgKytpKQogICAgewogICAgICBfX2J1aWx0aW5fc3RyY3B5IChi
dWYgKyBpLCAibXlzdHJpbmciKTsKICAgICAgaWYgKF9fYnVpbHRpbl9zdHJjbXAgKGJ1ZiArIGks
ICJteXN0cmluZyIpICE9IDApCglhYm9ydCAoKTsKICAgIH0KCiAgcmV0dXJuIDA7Cn0K


             reply	other threads:[~2002-10-08  0:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-07 17:56 glen [this message]
2002-10-07 18:26 Glen Nakamura
2002-10-08 15:26 Richard Henderson
2002-10-08 16:16 Glen Nakamura
2002-10-11 15:46 Richard Henderson
2002-10-11 16:13 rth
2002-10-11 16:26 Glen Nakamura
2002-10-11 17:56 Richard Henderson
2002-10-12 11:46 Glen Nakamura
2002-10-14 11:16 Richard Henderson

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=20021008005507.14448.qmail@sources.redhat.com \
    --to=glen@imodulo.com \
    --cc=gcc-gnats@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).