This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: GCC 4.3.2 bug (was: Illegal subtraction in tmp-dive_1.s)?


As the bug occurs only when malloc is in the tested function,

Note that gcc 'knows' that memory obtained by malloc does not alias other memory.

You can use a differently named wrapper function for malloc,
or use the malloc attribute for another function, to experiment
how this affects code generation.


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