[Bug c/25175] Meaningless pre-processor lineno comments inserted
jw203198 at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Nov 30 03:37:00 GMT 2005
------- Comment #6 from jw203198 at hotmail dot com 2005-11-30 03:37 -------
> Your orginal example does not show a difference for -H at all.
Does for me:
pc:~/work/stats $ cc -E -H x.c
# 1 "x.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "x.c"
main(){}
and:
pc:~/work/stats $ cc -E -H -g x.c
# 1 "x.c"
# 1 "/home/me/work/stats//"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "x.c"
main(){}
And here is my compiler:
pc:~/work/stats $ cc --version
cc (GCC) 4.0.1 20050727 (Red Hat 4.0.1-5)
So there!
--
jw203198 at hotmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|WORKSFORME |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25175
More information about the Gcc-bugs
mailing list