[Bug c/30719] gcc should probably warn if users compile without -O

2007-02-07 Thread tvb at gnome dot org
--- Comment #6 from tvb at gnome dot org 2007-02-07 16:48 --- (In reply to comment #5) > To me a warning should not be emitted while using -Wall -O0 as it will break > all the programs which use -Werror which is a lot of them. Also this is > already documented, if people d

[Bug c/30719] gcc should probably warn if users compile without -O

2007-02-07 Thread tvb at gnome dot org
--- Comment #4 from tvb at gnome dot org 2007-02-07 14:59 --- (In reply to comment #3) > What is there to warn about? > If you do -Winitialize without -O, you get a warning so ... > I just tried the explicit -Wuninitialized, very good, and I noticed at least its documented i

[Bug c/30719] gcc should probably warn if users compile without -O

2007-02-06 Thread tvb at gnome 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

[Bug c/30719] New: gcc should probably warn if users compile without -O

2007-02-06 Thread tvb at gnome dot org
Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tvb at gnome dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30719