public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/53577] New: segmentation fault on syntax error
@ 2012-06-04 21:25 ettl.martin at gmx dot de
  2012-06-04 21:44 ` [Bug c++/53577] " paolo.carlini at oracle dot com
  0 siblings, 1 reply; 2+ messages in thread
From: ettl.martin at gmx dot de @ 2012-06-04 21:25 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53577
           Summary: segmentation fault on syntax error
    Classification: Unclassified
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ettl.martin@gmx.de


gcc crashes on following syntactically wrong code:


typedef union U1
{
    int i;
} U2 __attribute__((transparent_union));
static
void foo2(U1) {} static foo(int) foo2(U2) {} void bar2(U1 u1,
        U2 u2)
{
    foo2(u1);
    foo2(u2);
}


I am using gcc version:

$ gcc -v
Es werden eingebaute Spezifikationen verwendet.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper
Ziel: x86_64-linux-gnu
Konfiguriert mit: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.6 --enable-shared --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object
--enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686
--with-tune=generic --enable-checking=release --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread-Modell: posix
gcc-Version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) 


If you need further information about my system configuration, please let me
know.

Best regards

Ettl Martin


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

* [Bug c++/53577] segmentation fault on syntax error
  2012-06-04 21:25 [Bug c++/53577] New: segmentation fault on syntax error ettl.martin at gmx dot de
@ 2012-06-04 21:44 ` paolo.carlini at oracle dot com
  0 siblings, 0 replies; 2+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-06-04 21:44 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-06-04 21:44:22 UTC ---
Dup.

*** This bug has been marked as a duplicate of bug 51228 ***


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

end of thread, other threads:[~2012-06-04 21:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-04 21:25 [Bug c++/53577] New: segmentation fault on syntax error ettl.martin at gmx dot de
2012-06-04 21:44 ` [Bug c++/53577] " 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).