public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/13174] New: ICE in check_pointer_types_r, at gimplify.c:3370
@ 2003-11-24 17:01 green at redhat dot com
  2003-11-24 17:01 ` [Bug c/13174] " green at redhat dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: green at redhat dot com @ 2003-11-24 17:01 UTC (permalink / raw)
  To: gcc-bugs

Found while building arm-elf toolchain with latest tree-ssa compiler.  Will
upload .i file.

$ gcc --version
gcc (GCC) 3.5-tree-ssa 20031123 (merged 20031111)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$  gcc -O1 -c earmelf.i
earmelf.c: In function `gldarmelf_add_options':
 
earmelf.c:2638: internal compiler error: in check_pointer_types_r, at
gimplify.c:3370
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: ICE in check_pointer_types_r, at gimplify.c:3370
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: green at redhat dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13174


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

* [Bug c/13174] ICE in check_pointer_types_r, at gimplify.c:3370
  2003-11-24 17:01 [Bug c/13174] New: ICE in check_pointer_types_r, at gimplify.c:3370 green at redhat dot com
@ 2003-11-24 17:01 ` green at redhat dot com
  2003-11-24 17:08 ` green at redhat dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: green at redhat dot com @ 2003-11-24 17:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From green at redhat dot com  2003-11-24 17:01 -------
Created an attachment (id=5203)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5203&action=view)
Preprocessed source causing bug.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13174


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

* [Bug c/13174] ICE in check_pointer_types_r, at gimplify.c:3370
  2003-11-24 17:01 [Bug c/13174] New: ICE in check_pointer_types_r, at gimplify.c:3370 green at redhat dot com
  2003-11-24 17:01 ` [Bug c/13174] " green at redhat dot com
@ 2003-11-24 17:08 ` green at redhat dot com
  2003-11-24 17:33 ` [Bug c/13174] [tree-ssa] " falk at debian dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: green at redhat dot com @ 2003-11-24 17:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From green at redhat dot com  2003-11-24 17:08 -------
I get the same problem building the mips-elf linker...

gcc -DHAVE_CONFIG_H -I. -I../../src/HEAD-2003-11-23/ld -I. -D_GNU_SOURCE -I.
-I../../src/HEAD-2003-11-23/ld -I../bfd -I../../src/HEAD-2003-11-23/ld/../bfd
-I../../src/HEAD-2003-11-23/ld/../include -I../../src/HEAD-2003-11-23/ld/../intl
-I../intl  -fno-builtin -g -O2
-DLOCALEDIR="\"/opt/spindazzle/gnutools/HEAD-2003-11-23/share/locale\""   -W
-Wall -Wstrict-prototypes -Wmissing-prototypes -fno-builtin -g -O2 -c eelf32ebmip.c
eelf32ebmip.c: In function `gldelf32ebmip_add_options':
 
eelf32ebmip.c:2844: internal compiler error: in check_pointer_types_r, at
gimplify.c:3370
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13174


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

* [Bug c/13174] [tree-ssa] ICE in check_pointer_types_r, at gimplify.c:3370
  2003-11-24 17:01 [Bug c/13174] New: ICE in check_pointer_types_r, at gimplify.c:3370 green at redhat dot com
  2003-11-24 17:01 ` [Bug c/13174] " green at redhat dot com
  2003-11-24 17:08 ` green at redhat dot com
@ 2003-11-24 17:33 ` falk at debian dot org
  2003-11-24 17:37 ` falk at debian dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: falk at debian dot org @ 2003-11-24 17:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From falk at debian dot org  2003-11-24 17:33 -------
Likely the same problem as mentioned in PR 13175, however that PR is mainly
about another bug, so I leave this report open.

Test case:

const void *gldarmelf_add_options (void)
{
  static const char xtra_short[] = "pz:";
  return &xtra_short;
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
            Summary|ICE in                      |[tree-ssa] ICE in
                   |check_pointer_types_r, at   |check_pointer_types_r, at
                   |gimplify.c:3370             |gimplify.c:3370


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13174


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

* [Bug c/13174] [tree-ssa] ICE in check_pointer_types_r, at gimplify.c:3370
  2003-11-24 17:01 [Bug c/13174] New: ICE in check_pointer_types_r, at gimplify.c:3370 green at redhat dot com
                   ` (2 preceding siblings ...)
  2003-11-24 17:33 ` [Bug c/13174] [tree-ssa] " falk at debian dot org
@ 2003-11-24 17:37 ` falk at debian dot org
  2003-11-24 19:40 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: falk at debian dot org @ 2003-11-24 17:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From falk at debian dot org  2003-11-24 17:37 -------
Uh. I meant, the same as in PR 13143.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13174


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

* [Bug c/13174] [tree-ssa] ICE in check_pointer_types_r, at gimplify.c:3370
  2003-11-24 17:01 [Bug c/13174] New: ICE in check_pointer_types_r, at gimplify.c:3370 green at redhat dot com
                   ` (3 preceding siblings ...)
  2003-11-24 17:37 ` falk at debian dot org
@ 2003-11-24 19:40 ` pinskia at gcc dot gnu dot org
  2003-11-25  5:29 ` cvs-commit at gcc dot gnu dot org
  2003-11-25  6:48 ` rth at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-24 19:40 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |tree-ssa


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13174


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

* [Bug c/13174] [tree-ssa] ICE in check_pointer_types_r, at gimplify.c:3370
  2003-11-24 17:01 [Bug c/13174] New: ICE in check_pointer_types_r, at gimplify.c:3370 green at redhat dot com
                   ` (4 preceding siblings ...)
  2003-11-24 19:40 ` pinskia at gcc dot gnu dot org
@ 2003-11-25  5:29 ` cvs-commit at gcc dot gnu dot org
  2003-11-25  6:48 ` rth at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-11-25  5:29 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-11-25 05:29 -------
Subject: Bug 13174

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	tree-ssa-20020619-branch
Changes by:	rth@gcc.gnu.org	2003-11-25 05:29:33

Modified files:
	gcc            : ChangeLog.tree-ssa gimplify.c 
	gcc/testsuite  : ChangeLog.tree-ssa 
Added files:
	gcc/testsuite/gcc.c-torture/compile: 20031124-1.c 

Log message:
	PR 13174, PR 13143
	* gimplify.c (cpt_same_type): Allow different ARRAY_TYPEs with
	the same base type.
	
	* gcc.c-torture/compile/20031124-1.c: New.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.tree-ssa.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.922&r2=1.1.2.923
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gimplify.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.121&r2=1.1.2.122
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.tree-ssa.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.118&r2=1.1.2.119
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/compile/20031124-1.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=NONE&r2=1.1.2.1



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13174


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

* [Bug c/13174] [tree-ssa] ICE in check_pointer_types_r, at gimplify.c:3370
  2003-11-24 17:01 [Bug c/13174] New: ICE in check_pointer_types_r, at gimplify.c:3370 green at redhat dot com
                   ` (5 preceding siblings ...)
  2003-11-25  5:29 ` cvs-commit at gcc dot gnu dot org
@ 2003-11-25  6:48 ` rth at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: rth at gcc dot gnu dot org @ 2003-11-25  6:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2003-11-25 06:48 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13174


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

end of thread, other threads:[~2003-11-25  6:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-24 17:01 [Bug c/13174] New: ICE in check_pointer_types_r, at gimplify.c:3370 green at redhat dot com
2003-11-24 17:01 ` [Bug c/13174] " green at redhat dot com
2003-11-24 17:08 ` green at redhat dot com
2003-11-24 17:33 ` [Bug c/13174] [tree-ssa] " falk at debian dot org
2003-11-24 17:37 ` falk at debian dot org
2003-11-24 19:40 ` pinskia at gcc dot gnu dot org
2003-11-25  5:29 ` cvs-commit at gcc dot gnu dot org
2003-11-25  6:48 ` rth at gcc dot gnu dot org

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