https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116092
Daniel Petrovic <daniel-dev at hotmail dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |daniel-dev at hotmail dot de
--- Comment #3 from Daniel Petrovic <daniel-dev at hotmail dot de> ---
Not sure if this bug is still up to date.
Was curious working on this and would have a couple of questions:
- according to Richard's comment: only --parm optimization options should be
supported
If I understand those are the options marked as "Param Optimization" in
gcc/params.opt , right ?
- if looking in gcc/c-family/c-common.cc: `parse_optimize_options`: there is
already filtering:
```
if (! (cl_options[decoded_options[i].opt_index].flags & CL_OPTIMIZATION))
```
-> is this sufficient or would a separate filtering for params be required
for whatever reason
- which syntax(es) should be supported ?
- to my understanding after recognizing and parsing --param to
`decode_cmdline_options_to_array_default_mask` would be all to do .. or would
there b maybe something more to consider ?
If this makes sense and nobody is already working on it, I'd be happy to take a
shot on this patch - just let me know