[Bug c++/18391] internal error: Segmentation fault for valid code segment

2004-11-09 Thread asachdeva at gmail dot com
--- Additional Comments From asachdeva at gmail dot com 2004-11-09 09:26 --- The following code also crashes. Can somebody suggest a workaround while I am using gcc 3.2 #include assert.h #include stdio.h #include stdlib.h extern bool cond; int (*funcPtr)(); #define printf int

[Bug c++/18391] internal error: Segmentation fault for valid code segment

2004-11-09 Thread asachdeva at gmail dot com
--- Additional Comments From asachdeva at gmail dot com 2004-11-09 09:28 --- I am planning to use the following code as workaround, which does not crash. #include assert.h #include stdio.h #include stdlib.h extern bool cond; typedef int (*FuncPtr)(); FuncPtr funcPtr; int foobar(int

[Bug c++/18391] internal error: Segmentation fault for valid code segment

2004-11-09 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-09 12:55 --- 3.2.x is so old and not maintained any more and ther other one is fixed also already in 3.3, I think it is time to update. -- What|Removed |Added

[Bug c++/18391] internal error: Segmentation fault for valid code segment

2004-11-08 Thread asachdeva at gmail dot com
--- Additional Comments From asachdeva at gmail dot com 2004-11-09 06:15 --- Created an attachment (id=7496) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7496action=view) Preprocessed file demonstrating the crash. It was just 48 lines, I havent bzip'd it --

[Bug c++/18391] internal error: Segmentation fault for valid code segment

2004-11-08 Thread asachdeva at gmail dot com
--- Additional Comments From asachdeva at gmail dot com 2004-11-09 06:16 --- Created an attachment (id=7497) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7497action=view) when compiled with -v -save-temps -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18391

[Bug c++/18391] internal error: Segmentation fault for valid code segment

2004-11-08 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-09 06:20 --- Fixed already in 3.3. -- What|Removed |Added Severity|critical

[Bug c++/18391] internal error: Segmentation fault for valid code segment

2004-11-08 Thread asachdeva at gmail dot com
--- Additional Comments From asachdeva at gmail dot com 2004-11-09 06:39 --- Subject: Re: internal error: Segmentation fault for valid code segment Was this bug filed earlier ? if yes, please send me the original bug number. Thanks -Arvind Sachdeva. On 9 Nov 2004 06:20:51 -,