This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/30719] gcc should probably warn if users compile without -O
- From: "tvb at gnome dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Feb 2007 20:09:00 -0000
- Subject: [Bug c/30719] gcc should probably warn if users compile without -O
- References: <bug-30719-14060@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from tvb at gnome dot org 2007-02-06 20:09 -------
(In reply to comment #1)
> > If there is no reason to ever compile without -O,
>
> There are reasons, like getting much, much better debug info.
> -O1 enables lots of optimization that changes the code so much that debugging
> optimizated code is hard.
>
Agreed 100% on your comment, if your going to close the bug and
say "wontfix", would you care to explain why ? ... I mean "this" bug,
not bug 25575.
--
tvb at gnome dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|WONTFIX |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30719