public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/38928]  New: infinite loop on error message in C++ only
@ 2009-01-21 11:20 etienne_lorrain at yahoo dot fr
  2009-01-22  1:41 ` [Bug c++/38928] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: etienne_lorrain at yahoo dot fr @ 2009-01-21 11:20 UTC (permalink / raw)
  To: gcc-bugs

etienne@pc300:~$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.2-1'
--with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3
--program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug
--enable-objc-gc --enable-mpfr --enable-targets=all --enable-cld
--enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu
--target=i486-linux-gnu
Thread model: posix
gcc version 4.3.2 (Debian 4.3.2-1)
etienne@pc300:~$ cat tmp.c
struct id_struct
{
    unsigned char is_ip_addrs[4];
};

struct addr_struct
{
    unsigned short    family;
    unsigned short   port;
    struct   id_struct id;
    char     *name;
};

int main (int argc, char **argv)
{
        struct addr_struct tmp_addr_struct = {
                family: 1,
                port: 666,
                id: 0,
                name: (char []){"psig TCP"}
                };
        return 2;
}
etienne@pc300:~$ gcc tmp.c
etienne@pc300:~$ g++ tmp.c 2> log
^C
etienne@pc300:~$ head log
tmp.c: In function 'int main(int, char**)':
tmp.c:21: error: 'id_struct' has no non-static data member named 'id'
tmp.c:21: error: 'id_struct' has no non-static data member named 'id'
tmp.c:21: error: 'id_struct' has no non-static data member named 'id'
tmp.c:21: error: 'id_struct' has no non-static data member named 'id'
tmp.c:21: error: 'id_struct' has no non-static data member named 'id'
tmp.c:21: error: 'id_struct' has no non-static data member named 'id'
tmp.c:21: error: 'id_struct' has no non-static data member named 'id'
tmp.c:21: error: 'id_struct' has no non-static data member named 'id'
tmp.c:21: error: 'id_struct' has no non-static data member named 'id'
etienne@pc300:~$


-- 
           Summary: infinite loop on error message in C++ only
           Product: gcc
           Version: 4.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: etienne_lorrain at yahoo dot fr
 GCC build triplet: i486-linux-gnu
  GCC host triplet: i486-linux-gnu
GCC target triplet: i486-linux-gnu


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


^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <bug-38928-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2011-11-07 16:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-21 11:20 [Bug c++/38928] New: infinite loop on error message in C++ only etienne_lorrain at yahoo dot fr
2009-01-22  1:41 ` [Bug c++/38928] " pinskia at gcc dot gnu dot org
2009-01-22  1:41 ` pinskia at gcc dot gnu dot org
2009-01-30  1:43 ` paolo dot carlini at oracle dot com
2009-01-30 10:18 ` paolo dot carlini at oracle dot com
2009-01-30 15:00 ` bangerth at gmail dot com
2009-02-02  6:41 ` mmitchel at gcc dot gnu dot org
2009-02-02 10:19 ` paolo dot carlini at oracle dot com
     [not found] <bug-38928-4@http.gcc.gnu.org/bugzilla/>
2011-11-07 16:28 ` paolo.carlini at oracle 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).