[Bug debug/41097] Inlined variable debug location disappears when ptr type

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Aug 18 07:23:00 GMT 2009



------- Comment #1 from pinskia at gcc dot gnu dot org  2009-08-18 07:22 -------
Wait a second are you saying:
volatile char * p_name 

and p_name disappears?
Well that is because p_name is no longer volatile but what it points to is.

I don't think this is a bug in GCC but rather a misunderstanding on how
qualifiers apply to types.

If you use a typedef for char*, does it disappear?


-- 


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



More information about the Gcc-bugs mailing list