Optimizations not disabled (-O0) when enabling debug flags (-g)
Bug #626719 reported by
Christof Mroz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HIPL |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I don't think there's a point in setting -g without also setting -O0 (and preventing -O2 from superseding it), but that's the case right now. If --enable-debug is desired solely for verbose output, maybe it should be split into another option?
Changed in hipl: | |
status: | New → Invalid |
To post a comment you must log in.
Setting the -g and -O0 at the same time would make debugging with gdb simpler. Maybe -O2 should be used with --disable-debug or --enable- performance (or a new option).