public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c/4516: sh-unknown-linux-gnu: big jump table
@ 2001-10-10  3:56 NIIBE Yutaka
  0 siblings, 0 replies; only message in thread
From: NIIBE Yutaka @ 2001-10-10  3:56 UTC (permalink / raw)
  To: gcc-gnats

>Number:         4516
>Category:       c
>Synopsis:       sh-unknown-linux-gnu: big jump table
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 10 03:56:30 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     NIIBE Yutaka <gniibe@m17n.org>
>Release:        3.0.1 or mainline
>Organization:
>Environment:
sh-unknown-linux-gnu
Debain GNU/Linux (unstable)
>Description:
"make bootstrap" fails.
The compiler miscomiples expr.c and fold-const.c with -O0.
With -mbigtable it  does not miscompile.
With -ON (N>=1), it does not miscompile.

It does miscompile because there's no validation for value of jump table.
When it's bigger than 32767, at runtime, it goes completly
different place.
>How-To-Repeat:
"make bootstrap"
>Fix:
I don't have, for now.
Default to -mbigtable?

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-10-10  3:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-10  3:56 c/4516: sh-unknown-linux-gnu: big jump table NIIBE Yutaka

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