This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/15044] [3.4/3.5 Regression] ICE on syntax error, template header.


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-21 14:02 -------
Confirmed.
Here is the backtrace for the mainline:
1891          if (TYPE_P (type))
(gdb) bt
#0  cp_parser_check_for_invalid_template_id (parser=0x40129880, type=0x0) at /home/gates/
pinskia/src/gnu/gcc/src/gcc/cp/parser.c:1891
#1  0x080ea524 in cp_parser_type_specifier (parser=0x40129880, flags=Variable "flags" is not 
available.
) at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:12099
#2  0x080eb4ce in cp_parser_decl_specifier_seq (parser=0x40129880, 
flags=CP_PARSER_FLAGS_OPTIONAL, attributes=0xbffebbb4,
    declares_class_or_enum=0xbffebbb8) at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:
6796
#3  0x080f2b5c in cp_parser_explicit_instantiation (parser=0x40129880) at /home/gates/pinskia/src/
gnu/gcc/src/gcc/cp/parser.c:8586
#4  0x080f2e47 in cp_parser_declaration (parser=0x40129880) at /home/gates/pinskia/src/gnu/gcc/
src/gcc/cp/parser.c:6385
#5  0x080f3020 in cp_parser_declaration_seq_opt (parser=0x40127cc8) at /home/gates/pinskia/src/
gnu/gcc/src/gcc/cp/parser.c:6300
#6  0x080f320e in c_parse_file () at /home/gates/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:2393
#7  0x0818194b in c_common_parse_file (set_yydebug=0) at /home/gates/pinskia/src/gnu/gcc/src/
gcc/c-opts.c:1238
#8  0x083bf491 in toplev_main (argc=1074953416, argv=0x84be8a0) at /home/gates/pinskia/src/
gnu/gcc/src/gcc/toplev.c:1595
#9  0x0818556e in main (argc=1074953416, argv=0x40127cc8) at /home/gates/pinskia/src/gnu/
gcc/src/gcc/main.c:35

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-invalid-code
      Known to fail|                            |3.4.0 3.5.0
      Known to work|                            |3.3.3
   Last reconfirmed|0000-00-00 00:00:00         |2004-04-21 14:02:15
               date|                            |
            Summary|ICE on syntax error,        |[3.4/3.5 Regression] ICE on
                   |template header.            |syntax error, template
                   |                            |header.
   Target Milestone|---                         |3.4.1


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]