This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/32040] Including a header file inside a function block results compilation error
- From: "suma dot sharma at kpitcummins dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 May 2007 13:35:27 -0000
- Subject: [Bug c/32040] Including a header file inside a function block results compilation error
- References: <bug-32040-14587@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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