Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 18222 Details for
Bug 29467
gcc-3.3.1 Compiler generates infinite loop
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gcc-unsharing_lhs.patch
gcc-unsharing_lhs.patch (text/plain), 751 bytes, created by
SpanKY
on 2003-09-23 16:35:44 UTC
(
hide
)
Description:
gcc-unsharing_lhs.patch
Filename:
MIME Type:
Creator:
SpanKY
Created:
2003-09-23 16:35:44 UTC
Size:
751 bytes
patch
obsolete
>--- gcc/cp/typeck.c 2003-09-19 15:53:40 +0200 >+++ gcc/cp/typeck.c 2003-09-19 15:53:58 +0200 >@@ -5526,9 +5526,18 @@ > { > tree result_type = TREE_TYPE (newrhs); >+ tree lhs2; >+ >+ /* Ensure that the calls are not shared with the lhs kept >+ at condition. */ >+ if (TREE_SIDE_EFFECTS (lhs)) >+ lhs2 = break_out_calls (lhs); >+ else >+ lhs2 = lhs; >+ > /* We have to convert each arm to the proper type because the > types may have been munged by constant folding. */ > result > = build (COND_EXPR, result_type, cond, >- build_modify_expr (lhs, modifycode, >+ build_modify_expr (lhs2, modifycode, > cp_convert (result_type, > TREE_OPERAND (newrhs, 1))),
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 29467
: 18222