2004-10-10 Andrew Pinski <pinskia@physics.uc.edu> PR c++/17554 part of c++/17657 middle-end/17703 * semantics.c (maybe_cleanup_point_expr): Call fold_build_cleanup_point_expr. (maybe_cleanup_point_expr_void): New function. (add_decl_expr): Call maybe_cleanup_point_expr_void. (finish_expr_stmt): Likewise. (finish_return_stmt): Likewise. (finish_for_expr): Likewise. (finish_asm_stmt): Likewise. * typeck.c (condition_conversion): Call fold_build_cleanup_point_expr. 2004-10-10 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/17703 part of PR c++/17657 * fold-const.c (fold_build_cleanup_point_expr): New function. * tree.h (fold_build_cleanup_point_expr): Prototype. 2004-10-10 Andrew Pinski <pinskia@physics.uc.edu> PR c++/17554 * g++.dg/init/for3.C: New test. PR c++/17657 * g++.dg/opt/switch2.C: New test. PR middle-end/17703 * g++.dg/warn/Wreturn-2.C: New test. From-SVN: r88869
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
Winline-1.C | Loading commit data... | |
Winline-2.C | Loading commit data... | |
Winline-3.C | Loading commit data... | |
Winline-4.C | Loading commit data... | |
Woverloaded-1.C | Loading commit data... | |
Wparentheses-1.C | Loading commit data... | |
Wparentheses-2.C | Loading commit data... | |
Wparentheses-3.C | Loading commit data... | |
Wparentheses-4.C | Loading commit data... | |
Wreorder-1.C | Loading commit data... | |
Wreturn-1.C | Loading commit data... | |
Wreturn-2.C | Loading commit data... | |
Wreturn-type-1.C | Loading commit data... | |
Wsequence-point-1.C | Loading commit data... | |
Wshadow-1.C | Loading commit data... | |
Wshadow-2.C | Loading commit data... | |
Wsign-compare-1.C | Loading commit data... | |
Wswitch-1.C | Loading commit data... | |
Wswitch-2.C | Loading commit data... | |
Wunused-1.C | Loading commit data... | |
Wunused-2.C | Loading commit data... | |
Wunused-3.C | Loading commit data... | |
Wunused-4.C | Loading commit data... | |
Wunused-5.C | Loading commit data... | |
Wunused-6.C | Loading commit data... | |
Wunused-7.C | Loading commit data... | |
Wunused-8.C | Loading commit data... | |
compare1.C | Loading commit data... | |
conv1.C | Loading commit data... | |
conv2.C | Loading commit data... | |
conversion-function-1.C | Loading commit data... | |
ctor-dtor-privacy-1.C | Loading commit data... | |
ctor-dtor-privacy-2.C | Loading commit data... | |
ctor-init-1.C | Loading commit data... | |
deprecated-2.C | Loading commit data... | |
deprecated.C | Loading commit data... | |
effc1.C | Loading commit data... | |
effc2.C | Loading commit data... | |
effc3.C | Loading commit data... | |
format1.C | Loading commit data... | |
format2.C | Loading commit data... | |
format3.C | Loading commit data... | |
friend.C | Loading commit data... | |
implicit-typename1.C | Loading commit data... | |
implicit-typename2.C | Loading commit data... | |
implicit-typename3.C | Loading commit data... | |
incomplete1.C | Loading commit data... | |
inline1.C | Loading commit data... | |
main.C | Loading commit data... | |
missing-field-init-1.C | Loading commit data... | |
missing-field-init-2.C | Loading commit data... | |
noeffect2.C | Loading commit data... | |
noeffect4.C | Loading commit data... | |
noeffect5.C | Loading commit data... | |
noeffect6.C | Loading commit data... | |
nonnull1.C | Loading commit data... | |
noreturn-1.C | Loading commit data... | |
noreturn-2.C | Loading commit data... | |
noreturn-3.C | Loading commit data... | |
oldcast1.C | Loading commit data... | |
pedantic1.C | Loading commit data... | |
pmf1.C | Loading commit data... | |
private1.C | Loading commit data... | |
return-reference.C | Loading commit data... | |
template-1.C | Loading commit data... | |
weak1.C | Loading commit data... |