public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* optimization/4578: Bug
@ 2001-10-15 18:16 Daniel Jungmann
  0 siblings, 0 replies; only message in thread
From: Daniel Jungmann @ 2001-10-15 18:16 UTC (permalink / raw)
  To: gcc-gnats

>Number:         4578
>Category:       optimization
>Synopsis:       MMX && Optimazation does not work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 15 18:16:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Daniel Jungmann
>Release:        3.1 20011015 (experimental)
>Organization:
>Environment:
System: Linux daniel 2.4.12 #2 Mon Okt 15 21:31:09 CEST 2001 i686 unknown
Architecture: i686

	<machine, os, target, libraries (multiple lines)>
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../gcc/configure
>Description:
	use of MMX or 3D!Now builtins and optimazation (-O1 .. -O6) produce an 
"internal compiler error in simplify_gen_subreg, at simplify-rtx.c:2638"
>How-To-Repeat:
	typedef __v2sf __attribute__ ((mode (V2SF)));
..
	__v2sf a, b;
	long long g;
	g = 1;
	a = (__v2sf) g;
	b = a;
	b = __builtin_ia32_pfadd (a, b);
	g = (long long) b;
	if (g == 0) printf("\n");

..

>Fix:
	replace all "abort ();" with "return NULL_RTX" in function 
simplify_gen_subreg in file simplify-rtx.c
	line 2638
	line 2642
	line 2646
>Release-Note:
>Audit-Trail:
>Unformatted:
 To: gcc-gnats@gcc.gnu.org
 Subject:
 From: Daniel
 Reply-To:d-s-j@web.de
 Cc:
 X-send-pr-version: 3.113
 X-GNATS-Notify:
 
 


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

only message in thread, other threads:[~2001-10-15 18:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-15 18:16 optimization/4578: Bug Daniel Jungmann

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