This is the mail archive of the gcc-patches@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]

Re: [patch] Cleanup tree-switch-conversion a bit


On Wed, Apr 18, 2012 at 1:23 PM, Richard Guenther <rguenther@suse.de> wrote:
> I suppose generic tree handling routines are confused by NULL TREE_TYPE
> and thus changing the docs to void_type_node would be more appropriate.

I don't agree with that. The documented behavior is much older than
either the Fortran or the go front end, so the safest way is to fix
those front ends to match the documentation.

With my patch modified as attached, bootstrap&test still passes. OK?

Ciao!
Steven

Attachment: fix_SWITCH_EXPR_builders.diff
Description: Binary data


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