This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB 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]

Re: bug disappears if compiled with -O0


>
> > If the bug truly is a code generation bug, then you will need to read
> > assembly language to isolate the bug.
>
> I will as soon as I'm able to locate it. Could it be anything other than
> an optimization bug? The problem is reported also for gcc 2.95.4 on
> stable.
>
Recently I hit a bug caused by a doubleword unaligned store. It only
showed up with -O2 because the compiler would otherwise generate
single-word stores. You can try different compilers, but I would take a
close look at the generated code.


					-Kip


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