public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/20161] New: ICE with dwarf for incomplete element type argument
@ 2005-02-23 16:27 sxanth at ceid dot upatras dot gr
  2005-02-23 16:28 ` [Bug debug/20161] " pinskia at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: sxanth at ceid dot upatras dot gr @ 2005-02-23 16:27 UTC (permalink / raw)
  To: gcc-bugs

First of all the typescript:
##############################################
stan@vaxatron:~/wtmp> cat gb.c

struct XX;
typedef void *(*F) (struct XX []);

stan@vaxatron:~/wtmp> CVSgcc gb.c -Wall -g
gb.c:3: error: array type has incomplete element type
gb.c:3: internal compiler error: in gen_formal_parameter_die, at dwarf2out.c:11062
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
stan@vaxatron:~/wtmp> CVSgcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../configure --prefix=/home/stan/GCC/gcc-4.0-20050220/bin
--program-prefix=CVS : (reconfigured) ../configure
--prefix=/home/stan/GCC/gcc-4.0-20050220/bin --program-prefix=CVS
Thread model: posix
gcc version 4.0.0 20050220 (experimental)
######################################################

Except from the internal compiler error, is it a bug that
gcc considers the incomplete type an error?
If yes, then this is even more critical.

In 3.4 and 3.2 the above code was Ok.

-- 
           Summary: ICE with dwarf for incomplete element type argument
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sxanth at ceid dot upatras dot gr
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2005-08-04  2:44 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-23 16:27 [Bug c/20161] New: ICE with dwarf for incomplete element type argument sxanth at ceid dot upatras dot gr
2005-02-23 16:28 ` [Bug debug/20161] " pinskia at gcc dot gnu dot org
2005-02-23 16:38 ` [Bug debug/20161] [4.0 Regression] " pinskia at gcc dot gnu dot org
2005-02-23 19:50 ` steven at gcc dot gnu dot org
2005-04-21  5:00 ` [Bug debug/20161] [4.0/4.1 " mmitchel at gcc dot gnu dot org
2005-07-08  1:37 ` mmitchel at gcc dot gnu dot org
2005-07-26  4:40 ` flash at pobox dot com
2005-07-26 10:38 ` steven at gcc dot gnu dot org
2005-07-28  1:25 ` cvs-commit at gcc dot gnu dot org
2005-07-28  1:29 ` steven at gcc dot gnu dot org
2005-07-28  1:50 ` cvs-commit at gcc dot gnu dot org
2005-08-02 22:06 ` flash at pobox dot com
2005-08-04  2:44 ` flash at pobox 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).