public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/18391] New: internal error: Segmentation fault for valid code segment
@ 2004-11-09  6:12 asachdeva at gmail dot com
  2004-11-09  6:15 ` [Bug c++/18391] " asachdeva at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: asachdeva at gmail dot com @ 2004-11-09  6:12 UTC (permalink / raw)
  To: gcc-bugs

Try to compile the following code in a cpp file, gcc crashes. Working on Redhat 7.2.

#include <assert.h>

#define b 5
int f;
int foobar(int foo, int bar = (assert(f>=b), funcPtr)(), int foob=some_int);

Reading specs from
/shared/i80386linux/compiler/gcc3.2/linux2.4/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs
Configured with: ../configure
--prefix=/user/unicore/i80386linux/compiler/gcc3.2/linux2.4
--enable-languages=c,c++ --enable-threads=posix --enable-shared
--enable-__cxa_atexit
Thread model: posix
gcc version 3.2

-- 
           Summary: internal error: Segmentation fault for valid code
                    segment
           Product: gcc
           Version: 3.2
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: asachdeva at gmail dot com
                CC: asachdeva at gmail dot com,gcc-bugs at gcc dot gnu dot
                    org


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


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

end of thread, other threads:[~2004-11-09 12:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-09  6:12 [Bug c++/18391] New: internal error: Segmentation fault for valid code segment asachdeva at gmail dot com
2004-11-09  6:15 ` [Bug c++/18391] " asachdeva at gmail dot com
2004-11-09  6:17 ` asachdeva at gmail dot com
2004-11-09  6:21 ` pinskia at gcc dot gnu dot org
2004-11-09  6:39 ` asachdeva at gmail dot com
2004-11-09  9:26 ` asachdeva at gmail dot com
2004-11-09  9:28 ` asachdeva at gmail dot com
2004-11-09 12:55 ` pinskia 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).