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 libgomp/52230] OpenMP: Simple C program triggers SIGSEGV at execution


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

--- Comment #2 from fanusergiu at yahoo dot com 2012-02-13 11:31:56 UTC ---
(In reply to comment #1)
> GCC 4.2 is not supported for several years already, and furthermore if I read
> this well, this isn't gcc at all, but LLVM.

Thanks for the fast reply, I tried it also on Linux Mint 64bit, gcc version
4.6.1. Same result.. (SIGSEGV) but faster (I get it in under 1 sec). I also
tried it on a CentOS 6.2 with gcc 4.4.6. gomp_loop_static_start() gets called,
with parameters like => chunk_size=140737488347560, istart=0x7fffffffe1b0,
iend=0xca. The last one is a pointer which gets dereferenced.. hence getting
the SIGSEGV.

I think it's not a LLVM bug.


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