[Bug c/31893] Please provide an "inout" attribute for function parameters.
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu May 10 22:01:00 GMT 2007
------- Comment #2 from pinskia at gcc dot gnu dot org 2007-05-10 23:00 -------
What are you doing, writting Fortran code in C? :) (really I am serious about
this one too)
> It seems that even if the argument is declared const foo_t * gcc assumes the
> function will initialize the data, which is rather ... erm... strange.
Why do you think it is strange? you can remove the const part in do_bar
anyways.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31893
More information about the Gcc-bugs
mailing list