public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/13143] New: [tree-ssa] compiler fails to build glibc
@ 2003-11-20 20:13 bbooth at redhat dot com
  2003-11-20 20:13 ` [Bug optimization/13143] " bbooth at redhat dot com
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: bbooth at redhat dot com @ 2003-11-20 20:13 UTC (permalink / raw)
  To: gcc-bugs

Version:
    GNU C version 3.5-tree-ssa 20031120 (merged 20031111)

GCC Configure Options:
    --prefix=/notnfs/bbooth/tree-ssa/i686/inst
    --srcdir=/notnfs/bbooth/tree-ssa/gcc
    --disable-multilib

Command line and compiler output:

/notnfs/bbooth/tree-ssa/i686/inst/libexec/gcc/i686-pc-linux-gnu/3.5-tree-ssa/cc1
-fpreprocessed open_catalog.i -quiet -dumpbase open_catalog.c
-mpreferred-stack-boundary=2 -mtune=pentiumpro -auxbase-strip
/to/scratch/bbooth/tree-ssa/build/i686/GLIBC/catgets/open_catalog.o -O2 -Wall
-Winline -Wstrict-prototypes -Wwrite-strings -std=gnu99 -version -ftime-report
-o open_catalog.s
GNU C version 3.5-tree-ssa 20031120 (merged 20031111) (i686-pc-linux-gnu)
        compiled by GNU C version 3.5-tree-ssa 20031120 (merged 20031111).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
open_catalog.c: In function `__open_catalog':

open_catalog.c:42: internal compiler error: in stmt_ann, at tree-flow-inline.h:54
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

============

.i file to come.

-- 
           Summary: [tree-ssa] compiler fails to build glibc
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bbooth at redhat dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug optimization/13143] [tree-ssa] compiler fails to build glibc
  2003-11-20 20:13 [Bug optimization/13143] New: [tree-ssa] compiler fails to build glibc bbooth at redhat dot com
@ 2003-11-20 20:13 ` bbooth at redhat dot com
  2003-11-20 20:13 ` bbooth at redhat dot com
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bbooth at redhat dot com @ 2003-11-20 20:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bbooth at redhat dot com  2003-11-20 20:13 -------
Created an attachment (id=5177)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5177&action=view)
associated .i file


-- 


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


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

* [Bug optimization/13143] [tree-ssa] compiler fails to build glibc
  2003-11-20 20:13 [Bug optimization/13143] New: [tree-ssa] compiler fails to build glibc bbooth at redhat dot com
  2003-11-20 20:13 ` [Bug optimization/13143] " bbooth at redhat dot com
@ 2003-11-20 20:13 ` bbooth at redhat dot com
  2003-11-20 20:14 ` pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bbooth at redhat dot com @ 2003-11-20 20:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bbooth at redhat dot com  2003-11-20 20:13 -------
Created an attachment (id=5178)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5178&action=view)
debugger output


-- 


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


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

* [Bug optimization/13143] [tree-ssa] compiler fails to build glibc
  2003-11-20 20:13 [Bug optimization/13143] New: [tree-ssa] compiler fails to build glibc bbooth at redhat dot com
  2003-11-20 20:13 ` [Bug optimization/13143] " bbooth at redhat dot com
  2003-11-20 20:13 ` bbooth at redhat dot com
@ 2003-11-20 20:14 ` pinskia at gcc dot gnu dot org
  2003-11-21 20:30 ` bbooth at redhat dot com
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-20 20:14 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
   Target Milestone|---                         |tree-ssa


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


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

* [Bug optimization/13143] [tree-ssa] compiler fails to build glibc
  2003-11-20 20:13 [Bug optimization/13143] New: [tree-ssa] compiler fails to build glibc bbooth at redhat dot com
                   ` (2 preceding siblings ...)
  2003-11-20 20:14 ` pinskia at gcc dot gnu dot org
@ 2003-11-21 20:30 ` bbooth at redhat dot com
  2003-11-21 20:31 ` bbooth at redhat dot com
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bbooth at redhat dot com @ 2003-11-21 20:30 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bbooth at redhat dot com  2003-11-21 20:30 -------
Now I'm getting the following...

Version:
    GNU C version 3.5-tree-ssa 20031121 (merged 20031111)

GCC Configure Options:
    --prefix=/notnfs/bbooth/tree-ssa/i686/inst
    --srcdir=/notnfs/bbooth/tree-ssa/gcc
    --disable-multilib

Command line and compiler output:

-bash-2.05b$ /notnfs/bbooth/tree-ssa/i686/inst/libexec/gcc/i686-pc-linux-gnu/3.5
-tree-ssa/cc1 -fpreprocessed exit.i -quiet -dumpbase exit.c -mpreferred-stack-bo
undary=2 -mpreferred-stack-boundary=4 -mtune=pentiumpro -auxbase-strip /to/scrat
ch/bbooth/tree-ssa/build/i686/GLIBC/stdlib/exit.o -O2 -Wall -Winline -Wstrict-pr
ototypes -Wwrite-strings -std=gnu99 -version -ftime-report -o exit.s
GNU C version 3.5-tree-ssa 20031121 (merged 20031111) (i686-pc-linux-gnu)
        compiled by GNU C version 3.5-tree-ssa 20031121 (merged 20031111).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
exit.c: In function `exit':

exit.c:35: 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.

=================

.i file to come

-- 


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


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

* [Bug optimization/13143] [tree-ssa] compiler fails to build glibc
  2003-11-20 20:13 [Bug optimization/13143] New: [tree-ssa] compiler fails to build glibc bbooth at redhat dot com
                   ` (4 preceding siblings ...)
  2003-11-21 20:31 ` bbooth at redhat dot com
@ 2003-11-21 20:31 ` bbooth at redhat dot com
  2003-11-21 21:55 ` falk at debian dot org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bbooth at redhat dot com @ 2003-11-21 20:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bbooth at redhat dot com  2003-11-21 20:31 -------
Created an attachment (id=5185)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5185&action=view)
associated .i file(2)


-- 


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


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

* [Bug optimization/13143] [tree-ssa] compiler fails to build glibc
  2003-11-20 20:13 [Bug optimization/13143] New: [tree-ssa] compiler fails to build glibc bbooth at redhat dot com
                   ` (3 preceding siblings ...)
  2003-11-21 20:30 ` bbooth at redhat dot com
@ 2003-11-21 20:31 ` bbooth at redhat dot com
  2003-11-21 20:31 ` bbooth at redhat dot com
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bbooth at redhat dot com @ 2003-11-21 20:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bbooth at redhat dot com  2003-11-21 20:31 -------
Created an attachment (id=5186)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5186&action=view)
debugger output(2)


-- 


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


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

* [Bug optimization/13143] [tree-ssa] compiler fails to build glibc
  2003-11-20 20:13 [Bug optimization/13143] New: [tree-ssa] compiler fails to build glibc bbooth at redhat dot com
                   ` (5 preceding siblings ...)
  2003-11-21 20:31 ` bbooth at redhat dot com
@ 2003-11-21 21:55 ` falk at debian dot org
  2003-11-24 17:38 ` falk at debian dot org
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: falk at debian dot org @ 2003-11-21 21:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From falk at debian dot org  2003-11-21 21:55 -------
I cannot confirm the first problem because it needs platform-specific asms;
however I can reproduce the second one on alpha-linux 3.5-tree-ssa 20031121.

Test case:

int f (void *ptr)
{
    extern char const stop[];
    return ptr >= (void *) &stop;
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1


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


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

* [Bug optimization/13143] [tree-ssa] compiler fails to build glibc
  2003-11-20 20:13 [Bug optimization/13143] New: [tree-ssa] compiler fails to build glibc bbooth at redhat dot com
                   ` (6 preceding siblings ...)
  2003-11-21 21:55 ` falk at debian dot org
@ 2003-11-24 17:38 ` falk at debian dot org
  2003-11-25  5:29 ` cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: falk at debian dot org @ 2003-11-24 17:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From falk at debian dot org  2003-11-24 17:38 -------
For the second bug, see also PR 13174.


-- 


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


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

* [Bug optimization/13143] [tree-ssa] compiler fails to build glibc
  2003-11-20 20:13 [Bug optimization/13143] New: [tree-ssa] compiler fails to build glibc bbooth at redhat dot com
                   ` (7 preceding siblings ...)
  2003-11-24 17:38 ` falk at debian dot org
@ 2003-11-25  5:29 ` cvs-commit at gcc dot gnu dot org
  2003-11-25  6:50 ` rth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ 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 13143

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=13143


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

* [Bug optimization/13143] [tree-ssa] compiler fails to build glibc
  2003-11-20 20:13 [Bug optimization/13143] New: [tree-ssa] compiler fails to build glibc bbooth at redhat dot com
                   ` (8 preceding siblings ...)
  2003-11-25  5:29 ` cvs-commit at gcc dot gnu dot org
@ 2003-11-25  6:50 ` rth at gcc dot gnu dot org
  2004-01-10  0:37 ` steven at gcc dot gnu dot org
  2004-01-12 14:33 ` bbooth at redhat dot com
  11 siblings, 0 replies; 13+ messages in thread
From: rth at gcc dot gnu dot org @ 2003-11-25  6:50 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2003-11-25 06:50 -------
Fixed the second half.  In the future, put different problems in
separate bug reports.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rth at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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


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

* [Bug optimization/13143] [tree-ssa] compiler fails to build glibc
  2003-11-20 20:13 [Bug optimization/13143] New: [tree-ssa] compiler fails to build glibc bbooth at redhat dot com
                   ` (9 preceding siblings ...)
  2003-11-25  6:50 ` rth at gcc dot gnu dot org
@ 2004-01-10  0:37 ` steven at gcc dot gnu dot org
  2004-01-12 14:33 ` bbooth at redhat dot com
  11 siblings, 0 replies; 13+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-01-10  0:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From steven at gcc dot gnu dot org  2004-01-10 00:37 -------
This just works for me with today's tree-ssa branch.  Do you still see the 
bug? 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |WAITING


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


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

* [Bug optimization/13143] [tree-ssa] compiler fails to build glibc
  2003-11-20 20:13 [Bug optimization/13143] New: [tree-ssa] compiler fails to build glibc bbooth at redhat dot com
                   ` (10 preceding siblings ...)
  2004-01-10  0:37 ` steven at gcc dot gnu dot org
@ 2004-01-12 14:33 ` bbooth at redhat dot com
  11 siblings, 0 replies; 13+ messages in thread
From: bbooth at redhat dot com @ 2004-01-12 14:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bbooth at redhat dot com  2004-01-12 14:33 -------
Worked for me with yesterday's snapshot. Closing.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |WORKSFORME


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


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

end of thread, other threads:[~2004-01-12 14:33 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-20 20:13 [Bug optimization/13143] New: [tree-ssa] compiler fails to build glibc bbooth at redhat dot com
2003-11-20 20:13 ` [Bug optimization/13143] " bbooth at redhat dot com
2003-11-20 20:13 ` bbooth at redhat dot com
2003-11-20 20:14 ` pinskia at gcc dot gnu dot org
2003-11-21 20:30 ` bbooth at redhat dot com
2003-11-21 20:31 ` bbooth at redhat dot com
2003-11-21 20:31 ` bbooth at redhat dot com
2003-11-21 21:55 ` falk at debian dot org
2003-11-24 17:38 ` falk at debian dot org
2003-11-25  5:29 ` cvs-commit at gcc dot gnu dot org
2003-11-25  6:50 ` rth at gcc dot gnu dot org
2004-01-10  0:37 ` steven at gcc dot gnu dot org
2004-01-12 14:33 ` bbooth at redhat dot com

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