public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/10952] ICE (segfault) in redeclare_class_template at cp/pt.c:2999
       [not found] <20030523123107.10952.ehrhardt@mathematik.uni-ulm.de>
@ 2003-06-14 22:59 ` pinskia@physics.uc.edu
  2003-07-05  3:28 ` pinskia at physics dot uc dot edu
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia@physics.uc.edu @ 2003-06-14 22:59 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From pinskia@physics.uc.edu  2003-06-14 22:59 -------
Even 2.91.66 ice.
Here is the backtrace for the mainline (20030614):

redeclare_class_template (type=0x400a8510, parms=0x0) at /home/gates/pinskia/src/
gnu/gcc/src/gcc/cp/pt.c:3017
3017      parms = INNERMOST_TEMPLATE_PARMS (parms);
(gdb) bt
#0  redeclare_class_template (type=0x400a8510, parms=0x0) at /home/gates/pinskia/
src/gnu/gcc/src/gcc/cp/pt.c:3017
#1  0x0808037d in xref_tag (tag_code=class_type, name=0x40050144, attributes=
0x40099f8c, globalize=false) at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/decl.c:12768
#2  0x08101cf3 in cp_parser_class_head (parser=0x400aa480, 
nested_name_specifier_p=0xbffec22b) at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/
parser.c:11763
#3  0x081012d9 in cp_parser_class_specifier (parser=0x400aa480) at /home/gates/
pinskia/src/gnu/gcc/src/gcc/cp/parser.c:11431
#4  0x080fe1fb in cp_parser_type_specifier (parser=0x400aa480, flags=
CP_PARSER_FLAGS_NONE, is_friend=false, is_declaration=true, 
declares_class_or_enum=0xbffec2ae, is_cv_qualifier=0xbffec2af) at /home/gates/
pinskia/src/gnu/gcc/src/gcc/cp/parser.c:8472
#5  0x080fc75d in cp_parser_decl_specifier_seq (parser=0x400aa480, flags=
CP_PARSER_FLAGS_NONE, attributes=0xbffec2f4, declares_class_or_enum=
0xbffec2fb) at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:6802
#6  0x081005d4 in cp_parser_parameter_declaration (parser=0x400aa480, 
template_parm_p=true) at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:10721
#7  0x080fd330 in cp_parser_template_parameter (parser=0x400aa480) at /home/gates/
pinskia/src/gnu/gcc/src/gcc/cp/parser.c:7733
#8  0x080fd292 in cp_parser_template_parameter_list (parser=0x400aa480) at /home/
gates/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:7661
#9  0x08104674 in cp_parser_template_declaration_after_export (parser=0x400aa480, 
member_p=false) at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:13893
#10 0x080fc2d2 in cp_parser_declaration (parser=0x400aa480) at /home/gates/pinskia/
src/gnu/gcc/src/gcc/cp/parser.c:6404
#11 0x080fc0e8 in cp_parser_declaration_seq_opt (parser=0x400aa480) at /home/
gates/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:6337
#12 0x080f7b12 in cp_parser_translation_unit (parser=0x400aa480) at /home/gates/
pinskia/src/gnu/gcc/src/gcc/cp/parser.c:2256
#13 0x08105742 in yyparse () at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/
parser.c:14671
#14 0x0817dd06 in c_common_parse_file (set_yydebug=1074372492) at /home/gates/
pinskia/src/gnu/gcc/src/gcc/c-opts.c:1203
#15 0x083b3e1a in compile_file () at /home/gates/pinskia/src/gnu/gcc/src/gcc/
toplev.c:2214
#16 0x083b9f47 in do_compile () at /home/gates/pinskia/src/gnu/gcc/src/gcc/
toplev.c:5742
#17 0x083b9fb9 in toplev_main (argc=1074372492, argv=0x0) at /home/gates/pinskia/
src/gnu/gcc/src/gcc/toplev.c:5771
#18 0x08181c9b in main (argc=1074372492, argv=0x40099f8c) at /home/gates/pinskia/
src/gnu/gcc/src/gcc/main.c:37


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

* [Bug c++/10952] ICE (segfault) in redeclare_class_template at cp/pt.c:2999
       [not found] <20030523123107.10952.ehrhardt@mathematik.uni-ulm.de>
  2003-06-14 22:59 ` [Bug c++/10952] ICE (segfault) in redeclare_class_template at cp/pt.c:2999 pinskia@physics.uc.edu
@ 2003-07-05  3:28 ` pinskia at physics dot uc dot edu
  2003-07-29 15:07 ` pinskia at physics dot uc dot edu
  2004-11-16 21:23 ` reichelt at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-05  3:28 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4                         |---


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

* [Bug c++/10952] ICE (segfault) in redeclare_class_template at cp/pt.c:2999
       [not found] <20030523123107.10952.ehrhardt@mathematik.uni-ulm.de>
  2003-06-14 22:59 ` [Bug c++/10952] ICE (segfault) in redeclare_class_template at cp/pt.c:2999 pinskia@physics.uc.edu
  2003-07-05  3:28 ` pinskia at physics dot uc dot edu
@ 2003-07-29 15:07 ` pinskia at physics dot uc dot edu
  2004-11-16 21:23 ` reichelt at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-29 15:07 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal


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

* [Bug c++/10952] ICE (segfault) in redeclare_class_template at cp/pt.c:2999
       [not found] <20030523123107.10952.ehrhardt@mathematik.uni-ulm.de>
                   ` (2 preceding siblings ...)
  2003-07-29 15:07 ` pinskia at physics dot uc dot edu
@ 2004-11-16 21:23 ` reichelt at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-11-16 21:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-11-16 21:23 -------
Fixed on mainline.

Most probably by Kriang's name-lookup patch
http://gcc.gnu.org/ml/gcc-cvs/2004-11/msg00680.html

Kriang, do you think we should add that as testcase?


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lerdsuwa at gcc dot gnu dot
                   |                            |org
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


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


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

* [Bug c++/10952] ICE (segfault) in redeclare_class_template at cp/pt.c:2999
@ 2003-05-23 15:16 bangerth@dealii.org
  0 siblings, 0 replies; 5+ messages in thread
From: bangerth@dealii.org @ 2003-05-23 15:16 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


bangerth@dealii.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|0000-00-00 00:00:00         |2003-05-23 14:36:34
               date|                            |


------- Additional Comments From bangerth@dealii.org  2003-05-23 14:36 -------
Confirmed. Though, I cannot help to think that whoever writes something
like that doesn't deserve better ;-)

W.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

end of thread, other threads:[~2004-11-16 21:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20030523123107.10952.ehrhardt@mathematik.uni-ulm.de>
2003-06-14 22:59 ` [Bug c++/10952] ICE (segfault) in redeclare_class_template at cp/pt.c:2999 pinskia@physics.uc.edu
2003-07-05  3:28 ` pinskia at physics dot uc dot edu
2003-07-29 15:07 ` pinskia at physics dot uc dot edu
2004-11-16 21:23 ` reichelt at gcc dot gnu dot org
2003-05-23 15:16 bangerth@dealii.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).