public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/15876] New: [lno] bootstrap fails with a segfault in the stage one compiler
@ 2004-06-08 16:18 phython at gcc dot gnu dot org
  2004-06-08 18:02 ` [Bug bootstrap/15876] " pinskia at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: phython at gcc dot gnu dot org @ 2004-06-08 16:18 UTC (permalink / raw)
  To: gcc-bugs

./xgcc -B./ -B/home/jim/var/sparc-linux/sparc-unknown-linux-gnu/bin/ -isystem
/home/jim/var/sparc-linux/sparc-unknown-linux-gnu/include -isystem
/home/jim/var/sparc-linux/sparc-unknown-linux-gnu/sys-include
-L/home/jim/cvs/gcc.lno/sparc-linux-20040608/gcc/../ld -O2 -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
 -isystem ./include  -I. -I. -I/home/jim/cvs/gcc.lno/gcc/gcc
-I/home/jim/cvs/gcc.lno/gcc/gcc/. -I/home/jim/cvs/gcc.lno/gcc/gcc/../include
-I/home/jim/cvs/gcc.lno/gcc/gcc/../libcpp/include
-I/home/jim/cvs/gcc.lno/gcc/gcc/../libbanshee/libcompat
-I/home/jim/cvs/gcc.lno/gcc/gcc/../libbanshee
-I/home/jim/cvs/gcc.lno/gcc/gcc/../libbanshee/points-to   -g0
-finhibit-size-directive -fno-inline-functions -fno-exceptions
-fno-zero-initialized-in-bss -fno-unit-at-a-time  -fPIC \
   -c /home/jim/cvs/gcc.lno/gcc/gcc/crtstuff.c -DCRT_END -DCRTSTUFFS_O \
  -o crtendS.o
/home/jim/cvs/gcc.lno/gcc/gcc/crtstuff.c: In function `__do_global_ctors_aux':
/home/jim/cvs/gcc.lno/gcc/gcc/crtstuff.c:477: internal compiler error:
Segmentation fault
Please submit a full bug report,

-- 
           Summary: [lno] bootstrap fails with a segfault in the stage one
                    compiler
           Product: gcc
           Version: lno
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: phython at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sparc-linux-gnu
  GCC host triplet: sparc-linux-gnu
GCC target triplet: sparc-linux-gnu


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


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

* [Bug bootstrap/15876] [lno] bootstrap fails with a segfault in the stage one compiler
  2004-06-08 16:18 [Bug bootstrap/15876] New: [lno] bootstrap fails with a segfault in the stage one compiler phython at gcc dot gnu dot org
@ 2004-06-08 18:02 ` pinskia at gcc dot gnu dot org
  2004-06-09  4:42 ` phython at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-08 18:02 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-08 18:02 -------
Can you attach the preprocessed source?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
   Target Milestone|---                         |lno


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


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

* [Bug bootstrap/15876] [lno] bootstrap fails with a segfault in the stage one compiler
  2004-06-08 16:18 [Bug bootstrap/15876] New: [lno] bootstrap fails with a segfault in the stage one compiler phython at gcc dot gnu dot org
  2004-06-08 18:02 ` [Bug bootstrap/15876] " pinskia at gcc dot gnu dot org
@ 2004-06-09  4:42 ` phython at gcc dot gnu dot org
  2004-06-09  4:44 ` phython at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: phython at gcc dot gnu dot org @ 2004-06-09  4:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From phython at gcc dot gnu dot org  2004-06-09 04:42 -------
Created an attachment (id=6497)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6497&action=view)
preprocessed source


-- 


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


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

* [Bug bootstrap/15876] [lno] bootstrap fails with a segfault in the stage one compiler
  2004-06-08 16:18 [Bug bootstrap/15876] New: [lno] bootstrap fails with a segfault in the stage one compiler phython at gcc dot gnu dot org
  2004-06-08 18:02 ` [Bug bootstrap/15876] " pinskia at gcc dot gnu dot org
  2004-06-09  4:42 ` phython at gcc dot gnu dot org
@ 2004-06-09  4:44 ` phython at gcc dot gnu dot org
  2004-06-09  5:11 ` phython at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: phython at gcc dot gnu dot org @ 2004-06-09  4:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From phython at gcc dot gnu dot org  2004-06-09 04:44 -------
 To get the ICE I need both -fPIC and -O[12].  -O0 -fPIC doesn't ICE.
e.g. ./xgcc -B./ -fPIC -O2 crtendS.i


-- 


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


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

* [Bug bootstrap/15876] [lno] bootstrap fails with a segfault in the stage one compiler
  2004-06-08 16:18 [Bug bootstrap/15876] New: [lno] bootstrap fails with a segfault in the stage one compiler phython at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-06-09  4:44 ` phython at gcc dot gnu dot org
@ 2004-06-09  5:11 ` phython at gcc dot gnu dot org
  2004-06-09  5:55 ` [Bug middle-end/15876] [lno] ICE, segfault in expand_expr_real_1, at expr.c:9024 belyshev at lubercy dot com
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: phython at gcc dot gnu dot org @ 2004-06-09  5:11 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From phython at gcc dot gnu dot org  2004-06-09 05:11 -------
Probably not too useful, but here is the backtrace:
Analyzing compilation unit
Performing intraprocedural optimizations
Assembling functions:
 __do_global_ctors_aux

Program received signal SIGSEGV, Segmentation fault.
0x0036b858 in expand_expr_real_1 (exp=0x705498e0, target=0x0, tmode=SImode,
    modifier=EXPAND_NORMAL, alt_rtl=0x0)
    at /home/jim/cvs/gcc.lno/gcc/gcc/expr.c:9024
9024              if (GET_CODE (op0) != MEM)
(gdb) p op0
$1 = 0x0
#0  0x0036b858 in expand_expr_real_1 (exp=0x705498e0, target=0x0,
    tmode=SImode, modifier=EXPAND_NORMAL, alt_rtl=0x0)
    at /home/jim/cvs/gcc.lno/gcc/gcc/expr.c:9024
#1  0x00346e64 in expand_expr_real (exp=0x705498e0, target=0x0, tmode=SImode,
    modifier=EXPAND_NORMAL, alt_rtl=0x0)
    at /home/jim/cvs/gcc.lno/gcc/gcc/expr.c:6383
#2  0x00209cac in expand_expr (exp=0x705498e0, target=0x0, mode=SImode,
    modifier=EXPAND_NORMAL) at expr.h:522
#3  0x001fe9e8 in computation_cost (expr=0x705498e0)
    at /home/jim/cvs/gcc.lno/gcc/gcc/tree-ssa-loop-ivopts.c:2277
#4  0x0020060c in force_var_cost (data=0xefffef28, expr=0x70554600,
    depends_on=0xefffed3c)
    at /home/jim/cvs/gcc.lno/gcc/gcc/tree-ssa-loop-ivopts.c:2742
#5  0x00201e08 in difference_cost (data=0xefffef28, e1=0x70554600,
    e2=0x7037a030, symbol_present=0xefffec2e, var_present=0xefffec2f,
    offset=0xefffec38, depends_on=0xefffed3c)
    at /home/jim/cvs/gcc.lno/gcc/gcc/tree-ssa-loop-ivopts.c:2990
#6  0x00202394 in get_computation_cost_at (data=0xefffef28, use=0x8ad968,
    cand=0x8ad9a8, address_p=true, depends_on=0xefffed3c, at=0x7054ca50)
    at /home/jim/cvs/gcc.lno/gcc/gcc/tree-ssa-loop-ivopts.c:3076
#7  0x002028fc in get_computation_cost (data=0xefffef28, use=0x8ad968,
    cand=0x8ad9a8, address_p=true, depends_on=0xefffed3c)
    at /home/jim/cvs/gcc.lno/gcc/gcc/tree-ssa-loop-ivopts.c:3156
#8  0x0020299c in determine_use_iv_cost_address (data=0xefffef28,
    use=0x8ad968, cand=0x8ad9a8)
    at /home/jim/cvs/gcc.lno/gcc/gcc/tree-ssa-loop-ivopts.c:3180
#9  0x00203424 in determine_use_iv_cost (data=0xefffef28, use=0x8ad968,
    cand=0x8ad9a8) at /home/jim/cvs/gcc.lno/gcc/gcc/tree-ssa-loop-ivopts.c:3384
#10 0x00203670 in determine_use_iv_costs (data=0xefffef28)
    at /home/jim/cvs/gcc.lno/gcc/gcc/tree-ssa-loop-ivopts.c:3435
#11 0x00208f94 in tree_ssa_iv_optimize_loop (data=0xefffef28, loop=0x8adae8)
    at /home/jim/cvs/gcc.lno/gcc/gcc/tree-ssa-loop-ivopts.c:4674
#12 0x00209104 in tree_ssa_iv_optimize (loops=0x8bde10)
    at /home/jim/cvs/gcc.lno/gcc/gcc/tree-ssa-loop-ivopts.c:4731
#13 0x001e903c in tree_ssa_loop_opt ()
    at /home/jim/cvs/gcc.lno/gcc/gcc/tree-ssa-loop.c:103
#14 0x0011c02c in execute_one_pass (pass=0x832d34)
    at /home/jim/cvs/gcc.lno/gcc/gcc/tree-optimize.c:418
#15 0x0011c140 in execute_pass_list (pass=0x832d34)
    at /home/jim/cvs/gcc.lno/gcc/gcc/tree-optimize.c:447
#16 0x0011c178 in execute_pass_list (pass=0x83282c)
    at /home/jim/cvs/gcc.lno/gcc/gcc/tree-optimize.c:448
#17 0x0011c724 in tree_rest_of_compilation (fndecl=0x70550000, nested_p=false)
    at /home/jim/cvs/gcc.lno/gcc/gcc/tree-optimize.c:545
#18 0x00047b2c in c_expand_body_1 (fndecl=0x70550000, nested_p=0)
    at /home/jim/cvs/gcc.lno/gcc/gcc/c-decl.c:6380
#19 0x00047edc in c_expand_body (fndecl=0x70550000)
    at /home/jim/cvs/gcc.lno/gcc/gcc/c-decl.c:6403
#20 0x00663f34 in cgraph_expand_function (node=0x70550438)
    at /home/jim/cvs/gcc.lno/gcc/gcc/cgraphunit.c:794
#21 0x0066731c in cgraph_expand_all_functions ()
    at /home/jim/cvs/gcc.lno/gcc/gcc/cgraphunit.c:1668
#22 0x006677ec in cgraph_optimize ()
    at /home/jim/cvs/gcc.lno/gcc/gcc/cgraphunit.c:1758
#23 0x000cce6c in c_objc_common_finish_file ()
    at /home/jim/cvs/gcc.lno/gcc/gcc/c-objc-common.c:241
#24 0x000203d8 in finish_file () at /home/jim/cvs/gcc.lno/gcc/gcc/c-lang.c:213
#25 0x000bd0a4 in c_common_parse_file (set_yydebug=0)
    at /home/jim/cvs/gcc.lno/gcc/gcc/c-opts.c:1240
#26 0x005c93b0 in compile_file ()
    at /home/jim/cvs/gcc.lno/gcc/gcc/toplev.c:1671
#27 0x005cc1d0 in do_compile () at /home/jim/cvs/gcc.lno/gcc/gcc/toplev.c:2712
#28 0x005cc26c in toplev_main (argc=4, argv=0xeffff7a4)
    at /home/jim/cvs/gcc.lno/gcc/gcc/toplev.c:2744
#29 0x000ec38c in main (argc=4, argv=0xeffff7a4)
    at /home/jim/cvs/gcc.lno/gcc/gcc/main.c:35


-- 


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


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

* [Bug middle-end/15876] [lno] ICE, segfault in expand_expr_real_1, at expr.c:9024
  2004-06-08 16:18 [Bug bootstrap/15876] New: [lno] bootstrap fails with a segfault in the stage one compiler phython at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-06-09  5:11 ` phython at gcc dot gnu dot org
@ 2004-06-09  5:55 ` belyshev at lubercy dot com
  2004-06-09 17:29 ` rakdver at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: belyshev at lubercy dot com @ 2004-06-09  5:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From belyshev at lubercy dot com  2004-06-09 05:55 -------
small testcase:
--------------------------------------------------------------------------------
void foo (int *p)
{
  while (*p)
    p --;
}
--------------------------------------------------------------------------------


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|bootstrap                   |middle-end
     Ever Confirmed|                            |1
  GCC build triplet|sparc-linux-gnu             |
   GCC host triplet|sparc-linux-gnu             |
   Last reconfirmed|0000-00-00 00:00:00         |2004-06-09 05:55:32
               date|                            |
            Summary|[lno] bootstrap fails with a|[lno] ICE, segfault in
                   |segfault in the stage one   |expand_expr_real_1, at
                   |compiler                    |expr.c:9024


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


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

* [Bug middle-end/15876] [lno] ICE, segfault in expand_expr_real_1, at expr.c:9024
  2004-06-08 16:18 [Bug bootstrap/15876] New: [lno] bootstrap fails with a segfault in the stage one compiler phython at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2004-06-09  5:55 ` [Bug middle-end/15876] [lno] ICE, segfault in expand_expr_real_1, at expr.c:9024 belyshev at lubercy dot com
@ 2004-06-09 17:29 ` rakdver at gcc dot gnu dot org
  2004-06-09 23:04 ` cvs-commit at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2004-06-09 17:29 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2004-06-09 05:55:32         |2004-06-09 17:29:32
               date|                            |


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


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

* [Bug middle-end/15876] [lno] ICE, segfault in expand_expr_real_1, at expr.c:9024
  2004-06-08 16:18 [Bug bootstrap/15876] New: [lno] bootstrap fails with a segfault in the stage one compiler phython at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2004-06-09 17:29 ` rakdver at gcc dot gnu dot org
@ 2004-06-09 23:04 ` cvs-commit at gcc dot gnu dot org
  2004-06-09 23:06 ` rakdver at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-06-09 23:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-06-09 23:04 -------
Subject: Bug 15876

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	lno-branch
Changes by:	rakdver@gcc.gnu.org	2004-06-09 23:04:01

Modified files:
	gcc            : ChangeLog.lno tree-ssa-loop-ivopts.c 

Log message:
	PR middle-end/15876
	* tree-ssa-loop-ivopts.c (force_var_cost): Initialize DECL_RTL
	correctly.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.lno.diff?cvsroot=gcc&only_with_tag=lno-branch&r1=1.1.2.180&r2=1.1.2.181
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-loop-ivopts.c.diff?cvsroot=gcc&only_with_tag=lno-branch&r1=1.1.2.34&r2=1.1.2.35



-- 


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


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

* [Bug middle-end/15876] [lno] ICE, segfault in expand_expr_real_1, at expr.c:9024
  2004-06-08 16:18 [Bug bootstrap/15876] New: [lno] bootstrap fails with a segfault in the stage one compiler phython at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2004-06-09 23:04 ` cvs-commit at gcc dot gnu dot org
@ 2004-06-09 23:06 ` rakdver at gcc dot gnu dot org
  2004-06-12 15:37 ` phython at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2004-06-09 23:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rakdver at gcc dot gnu dot org  2004-06-09 23:06 -------
        PR middle-end/15876
        * tree-ssa-loop-ivopts.c (force_var_cost): Initialize DECL_RTL
        correctly.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug middle-end/15876] [lno] ICE, segfault in expand_expr_real_1, at expr.c:9024
  2004-06-08 16:18 [Bug bootstrap/15876] New: [lno] bootstrap fails with a segfault in the stage one compiler phython at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2004-06-09 23:06 ` rakdver at gcc dot gnu dot org
@ 2004-06-12 15:37 ` phython at gcc dot gnu dot org
  2004-10-12  1:52 ` cvs-commit at gcc dot gnu dot org
  2004-10-12  3:07 ` cvs-commit at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: phython at gcc dot gnu dot org @ 2004-06-12 15:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From phython at gcc dot gnu dot org  2004-06-12 15:37 -------
 I can bootstrap now.  Thanks.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED


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


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

* [Bug middle-end/15876] [lno] ICE, segfault in expand_expr_real_1, at expr.c:9024
  2004-06-08 16:18 [Bug bootstrap/15876] New: [lno] bootstrap fails with a segfault in the stage one compiler phython at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2004-06-12 15:37 ` phython at gcc dot gnu dot org
@ 2004-10-12  1:52 ` cvs-commit at gcc dot gnu dot org
  2004-10-12  3:07 ` cvs-commit at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-10-12  1:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-12 01:52 -------
Subject: Bug 15876

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	mmitchel@gcc.gnu.org	2004-10-12 01:52:20

Modified files:
	gcc/cp         : ChangeLog parser.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/g++.dg/parse: error22.C 

Log message:
	PR c++/15786
	* parser.c (cp_parser_declarator): Add member_p parameter.
	(cp_parser_condition): Adjust calls to cp_parser_declarator.
	(cp_parser_explicit_instantiation): Likewise.
	(cp_parser_init_declarator): Likewise.
	(cp_parser_direct_declarator): Add member_p parameter.  Do not
	parse tentatively when parsing the parameters to a member.
	(cp_parser_type_id): Adjust calls to cp_parser_declarator.
	(cp_parser_parameter_declaration): Likewise.
	(cp_parser_member_declaration): Likewise.
	(cp_parser_exception_declaration): Likewise.
	
	PR c++/15876
	* g++.dg/parse/error22.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4426&r2=1.4427
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&r1=1.262&r2=1.263
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4438&r2=1.4439
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/error22.C.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug middle-end/15876] [lno] ICE, segfault in expand_expr_real_1, at expr.c:9024
  2004-06-08 16:18 [Bug bootstrap/15876] New: [lno] bootstrap fails with a segfault in the stage one compiler phython at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2004-10-12  1:52 ` cvs-commit at gcc dot gnu dot org
@ 2004-10-12  3:07 ` cvs-commit at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-10-12  3:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-12 03:07 -------
Subject: Bug 15876

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	mmitchel@gcc.gnu.org	2004-10-12 03:07:16

Modified files:
	gcc/cp         : ChangeLog parser.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/g++.dg/parse: error22.C 

Log message:
	PR c++/15786
	* parser.c (cp_parser_declarator): Add member_p parameter.
	(cp_parser_condition): Adjust calls to cp_parser_declarator.
	(cp_parser_explicit_instantiation): Likewise.
	(cp_parser_init_declarator): Likewise.
	(cp_parser_direct_declarator): Add member_p parameter.  Do not
	parse tentatively when parsing the parameters to a member.
	(cp_parser_type_id): Adjust calls to cp_parser_declarator.
	(cp_parser_parameter_declaration): Likewise.
	(cp_parser_member_declaration): Likewise.
	(cp_parser_exception_declaration): Likewise.
	
	PR c++/15876
	* g++.dg/parse/error22.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3892.2.168&r2=1.3892.2.169
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.157.2.43&r2=1.157.2.44
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3389.2.284&r2=1.3389.2.285
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/error22.C.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.2.1



-- 


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


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

end of thread, other threads:[~2004-10-12  3:07 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-08 16:18 [Bug bootstrap/15876] New: [lno] bootstrap fails with a segfault in the stage one compiler phython at gcc dot gnu dot org
2004-06-08 18:02 ` [Bug bootstrap/15876] " pinskia at gcc dot gnu dot org
2004-06-09  4:42 ` phython at gcc dot gnu dot org
2004-06-09  4:44 ` phython at gcc dot gnu dot org
2004-06-09  5:11 ` phython at gcc dot gnu dot org
2004-06-09  5:55 ` [Bug middle-end/15876] [lno] ICE, segfault in expand_expr_real_1, at expr.c:9024 belyshev at lubercy dot com
2004-06-09 17:29 ` rakdver at gcc dot gnu dot org
2004-06-09 23:04 ` cvs-commit at gcc dot gnu dot org
2004-06-09 23:06 ` rakdver at gcc dot gnu dot org
2004-06-12 15:37 ` phython at gcc dot gnu dot org
2004-10-12  1:52 ` cvs-commit at gcc dot gnu dot org
2004-10-12  3:07 ` cvs-commit 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).