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

[Bug rtl-optimization/15242] pessimization of "goto *"


------- Additional Comments From zlomj9am at artax dot karlin dot mff dot cuni dot cz  2004-07-07 04:49 -------
Subject: Re:  pessimization of "goto *"

> ------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-06 22:00 -------
> It looks like you can remove:
> +   if (!cfun->computed_goto_common_label)
> +     return;
> 
> from the patch.

cfun->computed_goto_common_label can be replaced by cfun->has_computed_jump.
The test is there not to scan the function if the computed goto is not
used in the function.

Josef


-- 


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


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