This is the mail archive of the gcc-bugs@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]

[Bug lto/53214] [lto]: ICE: munmap_chunk(): invalid pointer


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53214

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-05-04 10:05:02 UTC ---
Reduced C testcase:

double a(double) __attribute__ ((optimize(3), used));
double a(double r)   
{ 
  return r;
}
int main () { }

ICEs this way with

gcc -flto t.c

but not with -flto-partition=none or when the optimization level selected
in the attribute matches that of the compile.


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