public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c/5141: GCC 3.0.3 / 3.1 20011215 ICE (regression to gcc-2.95.3)
@ 2001-12-17 14:46 Matthias Klose
  0 siblings, 0 replies; 3+ messages in thread
From: Matthias Klose @ 2001-12-17 14:46 UTC (permalink / raw)
  To: gcc-gnats, debian-gcc


>Number:         5141
>Category:       c
>Synopsis:       GCC 3.0.3 / 3.1 20011215 ICE (regression to gcc-2.95.3)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 17 14:46:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Samuel Meder <meder@mcs.anl.gov>
>Release:        3.0.3 (Debian GNU/Linux) and HEAD 20011215
>Organization:
The Debian project
>Environment:
System: Debian GNU/Linux (testing/unstable)
Architecture: i686
host: i386-linux
build: i386-linux
target: i386-linux
configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-checking --enable-threads=posix --enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc i386-linux
>Description:
[ Reported to the Debian BTS as report #123687.
  Please CC 123687-quiet@bugs.debian.org on replies.
  Log of report can be found at http://bugs.debian.org/123687 ]
 	

struct blah 
{                                                                         
    char *  foo;     
    char *  bar[]; 
};                                                      
 
int main()                                                      
{ 
    struct blah test;                                        
                       
    test.bar = malloc((sizeof(char *)) * 5); 
}
>How-To-Repeat:
gcc test.c 
test.c: In function `main': 
test.c:12: Internal compiler error in incomplete_type_error, at c-typeck.c:157 
Please submit a full bug report, 
with preprocessed source if appropriate. 
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. 

HEAD:
$ gcc test.c
test.c: In function `main':
test.c:11: Internal compiler error in incomplete_type_error, at c-typeck.c:159
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

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


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

* Re: c/5141: GCC 3.0.3 / 3.1 20011215 ICE (regression to gcc-2.95.3)
@ 2002-03-03 15:16 Eric Botcazou
  0 siblings, 0 replies; 3+ messages in thread
From: Eric Botcazou @ 2002-03-03 15:16 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c/5141; it has been noted by GNATS.

From: "Eric Botcazou" <ebotcazou@libertysurf.fr>
To: <rodrigc@gcc.gnu.org>,
	<gcc-bugs@gcc.gnu.org>,
	<gcc-gnats@gcc.gnu.org>
Cc:  
Subject: Re: c/5141: GCC 3.0.3 / 3.1 20011215 ICE (regression to gcc-2.95.3)
Date: Mon, 4 Mar 2002 00:07:27 +0100

 Related PR: c/4798 worked for me with 3.1 (~Feb 15).
 
 --
 Eric Botcazou
 ebotcazou@multimania.com
 


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

* Re: c/5141: GCC 3.0.3 / 3.1 20011215 ICE (regression to gcc-2.95.3)
@ 2002-03-03 10:24 rodrigc
  0 siblings, 0 replies; 3+ messages in thread
From: rodrigc @ 2002-03-03 10:24 UTC (permalink / raw)
  To: 123687-quiet, gcc-bugs, gcc-prs, meder, nobody

Synopsis: GCC 3.0.3 / 3.1 20011215 ICE (regression to gcc-2.95.3)

State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Sun Mar  3 10:24:41 2002
State-Changed-Why:
    Problem reproduced with gcc 3.0.4.
    
    With 3.1 20020217 (experimental), a compilation error
    results:
    test.c: In function `main':
    test.c:12: invalid use of flexible array member

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


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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-17 14:46 c/5141: GCC 3.0.3 / 3.1 20011215 ICE (regression to gcc-2.95.3) Matthias Klose
2002-03-03 10:24 rodrigc
2002-03-03 15:16 Eric Botcazou

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