public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/28085]  New: initialization of zero-sized array causes internal compiler error
@ 2006-06-19 14:49 bertrand dot marlier at gmail dot com
  2006-06-19 16:44 ` [Bug c++/28085] " rguenth at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: bertrand dot marlier at gmail dot com @ 2006-06-19 14:49 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1486 bytes --]

Following is the sequence to reproduce this issue and full g++ -v output.

$ cat source.cpp

int tab[0]={};

main()
{
}

$ g++ source.cpp
source.cpp:2: internal compiler error: in tree_low_cst, at tree.c:3255
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions, see
<URL:file:///usr/share/doc/gcc-3.3/README.Bugs>.
$ g++ -v
Lecture des spécification à partir de /usr/lib/gcc-lib/i486-linux/3.3.5/specs
Configuré avec: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared
--enable-__cxa_atexit --with-system-zlib --enable-nls
--without-included-gettext --enable-clocale=gnu --enable-debug
--enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux
Modèle de thread: posix
version gcc 3.3.5 (Debian 1:3.3.5-13)
$

system is Debian Sarge 3.1 for x86


-- 
           Summary: initialization of zero-sized array causes internal
                    compiler error
           Product: gcc
           Version: 3.3.5
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bertrand dot marlier at gmail dot com


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


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

* [Bug c++/28085] initialization of zero-sized array causes internal compiler error
  2006-06-19 14:49 [Bug c++/28085] New: initialization of zero-sized array causes internal compiler error bertrand dot marlier at gmail dot com
@ 2006-06-19 16:44 ` rguenth at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-06-19 16:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2006-06-19 16:40 -------
Fixed in 3.4.0.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |3.4.0


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


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

end of thread, other threads:[~2006-06-19 16:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-19 14:49 [Bug c++/28085] New: initialization of zero-sized array causes internal compiler error bertrand dot marlier at gmail dot com
2006-06-19 16:44 ` [Bug c++/28085] " rguenth 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).