Bug 10114 - [3.2/3.3/3.4 regression] [Sparc] ICE when optimizing (mem_loc_descriptor, at dwarf2out.c:7903)
Summary: [3.2/3.3/3.4 regression] [Sparc] ICE when optimizing (mem_loc_descriptor, at ...
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: unknown
: P3 normal
Target Milestone: 3.1.x/3.2.x
Assignee: Eric Botcazou
URL:
Keywords: ice-on-valid-code
Depends on:
Blocks:
 
Reported: 2003-03-16 20:16 UTC by 178909
Modified: 2004-07-13 17:48 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
reference.i.gz (24.86 KB, application/x-gzip )
2003-05-21 15:17 UTC, 178909
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 178909 2003-03-16 20:16:01 UTC
Confirmed with 3.2 CVS 20030209, 3.3 CVS 20030314, HEAD 20030302.

This is a regression from gcc-2.95 and isn't fixed by gcc-snapshot
(20030118-1).  Compiling without optimization (-O0) makes the ICE go
away.  I've made the -save-temps output available here:
  http://people.debian.org/~troup/reference.i.gz

(It's 140k uncompressed, so I haven't included in the report, sorry)

| Automatic build of chrony_1.19-1 on vore by sbuild/sparc 1.170
| Build started at 20030128-2140
| ******************************************************************************

[...]

| ** Using build dependencies supplied by package:
| Build-Depends: debhelper, libreadline4-dev

[...]

| gcc -Wmissing-prototypes -Wall -O2 -g  -DLINUX -DHAS_SPINLOCK_H -c reference.c
| reference.c: In function `REF_SetReference':
| reference.c:441: Internal compiler error in mem_loc_descriptor, at dwarf2out.c:7903
| Please submit a full bug report,
| with preprocessed source if appropriate.
| See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

A complete build log can be found at
http://buildd.debian.org/build.php?arch=sparc&pkg=chrony&ver=1.19-1

Release:
unknown

Environment:
sparc-linux (Debian unstable)
Comment 1 Eric Botcazou 2003-03-17 12:32:38 UTC
State-Changed-From-To: open->analyzed
State-Changed-Why: Confirmed on all active branches.
Comment 2 Eric Botcazou 2003-03-23 18:21:16 UTC
Responsible-Changed-From-To: unassigned->ebotcazou
Responsible-Changed-Why: Investigating.
Comment 3 Eric Botcazou 2003-03-28 07:47:58 UTC
From: ebotcazou@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: target/10114
Date: 28 Mar 2003 07:47:58 -0000

 CVSROOT:	/cvs/gcc
 Module name:	gcc
 Changes by:	ebotcazou@gcc.gnu.org	2003-03-28 07:47:57
 
 Modified files:
 	gcc            : ChangeLog dwarf2out.c 
 	gcc/testsuite  : ChangeLog 
 Added files:
 	gcc/testsuite/gcc.dg: sparc-dwarf2.c 
 
 Log message:
 	PR target/10114 and PR target/10084
 	* dwarf2out.c (mem_loc_descriptor): Handle LO_SUM.
 
 Patches:
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=1.17233&r2=1.17234
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/dwarf2out.c.diff?cvsroot=gcc&r1=1.413&r2=1.414
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.2549&r2=1.2550
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/sparc-dwarf2.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
 

Comment 6 Eric Botcazou 2003-03-28 08:12:14 UTC
State-Changed-From-To: analyzed->closed
State-Changed-Why: Fixed. See http://gcc.gnu.org/ml/gcc-patches/2003-03/msg02303.html