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 c/32040] Including a header file inside a function block results compilation error



------- Comment #2 from suma dot sharma at kpitcummins dot com  2007-05-22 14:35 -------
(In reply to comment #1)
> This works as designed.
> 


Thank you for your reply.
Please confirm whether it is expected behaviour (that means it is not a bug).

But it was also observed that
1. there is a difference in result when compiled with -O0 option(with all -O2
flags enabled) and compiled with -O2 ?
2. there is a difference in result when compiled with -O2 option(with all -O2
flags disabled) and compiled with -O0 ?

Please clarify...


-- 


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


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