[Bug c++/29435] [4.1 Regression] segmentation fault

2006-10-12 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-10-12 03:36 --- Reduced testcase: template class T struct Rgb; template intint Camera1 () { sizeof (Rgb int); } -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/29435] [4.1 Regression] segmentation fault

2006-10-12 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-10-12 03:37 --- The code in comment # 5 is invalid but even if we make it valid like below, it still ICEs: template class T struct Rgb{}; template intint Camera1 () { sizeof (Rgb int); } --

[Bug c++/29435] [4.1 Regression] segmentation fault

2006-10-12 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-10-12 03:39 --- Works in 4.0.4 20061011. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/29435] [4.1 Regression] segmentation fault

2006-10-12 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Known to fail||4.1.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29435 ---

[Bug c++/29435] [4.1 Regression] segmentation fault

2006-10-12 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2006-10-12 03:44 --- I think this was caused by PR 29226. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/29435] [4.1 Regression] segmentation fault

2006-10-11 Thread tbm at cyrius dot com
--- Comment #1 from tbm at cyrius dot com 2006-10-11 23:01 --- Created an attachment (id=12413) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12413action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29435 --- You are receiving this mail because: ---

[Bug c++/29435] [4.1 Regression] segmentation fault

2006-10-11 Thread tbm at cyrius dot com
--- Comment #2 from tbm at cyrius dot com 2006-10-11 23:02 --- Ignore my comment about x86_64. I also see this on mips. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29435 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching

[Bug c++/29435] [4.1 Regression] segmentation fault

2006-10-11 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug c++/29435] [4.1 Regression] segmentation fault

2006-10-11 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-10-11 23:05 --- I think this is a sizeof issue: sizeof (Rgb XYindex ) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29435 --- You are receiving this mail because: --- You are on the CC list for the bug, or are

[Bug c++/29435] [4.1 Regression] segmentation fault

2006-10-11 Thread tbm at cyrius dot com
--- Comment #4 from tbm at cyrius dot com 2006-10-11 23:19 --- (gdb) where #0 0x0045a5ce in cxx_sizeof_or_alignof_type (type=0x2b29cf3e6b00, op=214, complain=1 '\001') at /home/tbm/scratch/gcc-4.1/gcc/cp/typeck.c:1251 #1 0x0044a947 in cp_parser_unary_expression