GCC Bugzilla – Attachment 4504 Details for
Bug 11595
[3.3 Regression] crash on duplicate label definition
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
This should fix it
patch (text/plain), 841 bytes, created by
Steven Bosscher
on 2003-07-29 11:33:08 UTC
(
hide
)
Description:
This should fix it
Filename:
MIME Type:
Creator:
Steven Bosscher
Created:
2003-07-29 11:33:08 UTC
Size:
841 bytes
patch
obsolete
>Index: semantics.c >=================================================================== >RCS file: /cvs/gcc/gcc/gcc/cp/semantics.c,v >retrieving revision 1.338 >diff -c -3 -p -r1.338 semantics.c >*** semantics.c 29 Jul 2003 01:57:47 -0000 1.338 >--- semantics.c 29 Jul 2003 11:20:21 -0000 >*************** tree >*** 1139,1145 **** > finish_label_stmt (tree name) > { > tree decl = define_label (input_location, name); >! return add_stmt (build_stmt (LABEL_STMT, decl)); > } > > /* Finish a series of declarations for local labels. G++ allows users >--- 1139,1148 ---- > finish_label_stmt (tree name) > { > tree decl = define_label (input_location, name); >! if (decl) >! return add_stmt (build_stmt (LABEL_STMT, decl)); >! else >! return error_mark_node; > } > > /* Finish a series of declarations for local labels. G++ allows users
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 11595
: 4504