public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: optimization/5591: ICE in copy_to_mode_reg, at explow.c:792, calling local bcmp()
@ 2002-04-03  2:16 rth
  0 siblings, 0 replies; 2+ messages in thread
From: rth @ 2002-04-03  2:16 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, nomura

Synopsis: ICE in copy_to_mode_reg, at explow.c:792, calling local bcmp()

State-Changed-From-To: open->closed
State-Changed-By: rth
State-Changed-When: Wed Apr  3 02:16:30 2002
State-Changed-Why:
    Fixed for gcc 3.1.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5591


^ permalink raw reply	[flat|nested] 2+ messages in thread

* optimization/5591: ICE in copy_to_mode_reg, at explow.c:792, calling local bcmp()
@ 2002-02-04 15:56 nomura
  0 siblings, 0 replies; 2+ messages in thread
From: nomura @ 2002-02-04 15:56 UTC (permalink / raw)
  To: gcc-gnats


>Number:         5591
>Category:       optimization
>Synopsis:       ICE in copy_to_mode_reg, at explow.c:792, calling local bcmp()
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 04 15:56:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        3.0.3
>Organization:
Network Appliance
>Environment:
System: Linux noname 2.4.7-10smp #1 SMP Thu Sep 6 17:09:31 EDT 2001 i686 unknown
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: /u/nomura/dl/gcc-3.0.3/configure --prefix=/usr/local/build/compilers/gcc-3.0.3 --with-gnu-as --with-as=/usr/local/build/bin/i386-elf-as-2.11 --with-gnu-ld
>Description:
	
[noname]$ /usr/local/build/compilers/gcc-3.0.3/bin/gcc -O1 bug.i -v
Reading specs from /usr/local/build/compilers/gcc-3.0.3/lib/gcc-lib/i686-pc-linux-gnu/3.0.3/specs
Configured with: /u/nomura/dl/gcc-3.0.3/configure --prefix=/usr/local/build/compilers/gcc-3.0.3 --with-gnu-as --with-as=/usr/local/build/bin/i386-elf-as-2.11 --with-gnu-ld
Thread model: single
gcc version 3.0.3
 /usr/local/build/compilers/gcc-3.0.3/lib/gcc-lib/i686-pc-linux-gnu/3.0.3/cc1 -fpreprocessed bug.i -quiet -dumpbase bug.i -O1 -version -o /tmp/ccgmoMM6.s
GNU CPP version 3.0.3 (cpplib) (i386 Linux/ELF)
GNU C version 3.0.3 (i686-pc-linux-gnu)
        compiled by GNU C version 2.95.1g 19990816 (change 108897).
bug.i: In function `gccbug':
bug.i:9: Internal compiler error in copy_to_mode_reg, at explow.c:792
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

[noname]$ cat bug.i
int bcmp (const void *, const void *, unsigned int);
                                                            ;
void 
gccbug()
{
        char *a, *b;
        unsigned long long c;

        bcmp(a, b, c);
}

The host system is Redhat Linux 7.2.  The bug also exists in
gcc 2.96 as shipped with that system:

[noname]$ /usr/bin/gcc -O1 bug.i -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)
 /usr/lib/gcc-lib/i386-redhat-linux/2.96/cc1 bug.i -quiet -dumpbase bug.i -O1 -version -o /tmp/ccfQfdhW.s
GNU C version 2.96 20000731 (Red Hat Linux 7.1 2.96-98) (i386-redhat-linux) compiled by GNU C version 2.96 20000731 (Red Hat Linux 7.1 2.96-98).
bug.i: In function `gccbug':
bug.i:9: Internal compiler error in copy_to_mode_reg, at explow.c:789
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.

>How-To-Repeat:
	
Compile with -O1 or -O2:

int bcmp (const void *, const void *, unsigned int);
                                                            ;
void 
gccbug()
{
        char *a, *b;
        unsigned long long c;

        bcmp(a, b, c);
}

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-04-03 10:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-03  2:16 optimization/5591: ICE in copy_to_mode_reg, at explow.c:792, calling local bcmp() rth
  -- strict thread matches above, loose matches on Subject: below --
2002-02-04 15:56 nomura

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