dereferencing pointer ‘({anonymous})’ does break strict-aliasing rules(Install version larger than 4.1.1 in centos6.8)
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 11.2k
- Forks
- 1.6k
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 13
Description
Big god, i am a novice, this hint, is there an impact?
In file included from include/jemalloc/internal/jemalloc_internal_decls.h:32,
from include/jemalloc/internal/jemalloc_internal.h:5,
from src/jemalloc.c:2:
/usr/include/stdlib.h: 在函数‘realloc’中:
src/jemalloc.c:1912: 警告:dereferencing pointer ‘tsdn’ does break strict-aliasing rules
src/jemalloc.c:1913: 警告:dereferencing pointer ‘tsdn’ does break strict-aliasing rules
src/jemalloc.c:1913: 警告:dereferencing pointer ‘tsdn’ does break strict-aliasing rules
src/jemalloc.c:1912: 警告:dereferencing pointer ‘tsdn’ does break strict-aliasing rules
src/jemalloc.c:1873: 附注:initialized from here
src/jemalloc.c:1504: 附注:initialized from here
src/jemalloc.c:1504: 附注:initialized from here
/usr/include/stdlib.h: 在函数‘calloc’中:
src/jemalloc.c:1541: 警告:dereferencing pointer ‘({anonymous})’ does break strict-aliasing rules
src/jemalloc.c:1504: 附注:initialized from here
src/jemalloc.c:1541: 警告:dereferencing pointer ‘tsdn’ does break strict-aliasing rules
src/jemalloc.c:1504: 附注:initialized from here
In file included from include/jemalloc/internal/jemalloc_internal_decls.h:32,
from include/jemalloc/internal/jemalloc_internal.h:5,
from src/jemalloc.c:2:
/usr/include/stdlib.h: 在函数‘realloc’中:
src/jemalloc.c:1912: 警告:dereferencing pointer ‘tsdn’ does break strict-aliasing rules
src/jemalloc.c:1913: 警告:dereferencing pointer ‘tsdn’ does break strict-aliasing rules
src/jemalloc.c:1913: 警告:dereferencing pointer ‘tsdn’ does break strict-aliasing rules
src/jemalloc.c:1912: 警告:dereferencing pointer ‘tsdn’ does break strict-aliasing rules
src/jemalloc.c:1873: 附注:initialized from here
src/jemalloc.c:1504: 附注:initialized from here
src/jemalloc.c:1504: 附注:initialized from here
/usr/include/stdlib.h: 在函数‘malloc’中:
src/jemalloc.c:1541: 警告:dereferencing pointer ‘({anonymous})’ does break strict-aliasing rules
src/jemalloc.c:1504: 附注:initialized from here
src/jemalloc.c:1541: 警告:dereferencing pointer ‘tsdn’ does break strict-aliasing rules
src/jemalloc.c:1504: 附注:initialized from here
/usr/include/stdlib.h: 在函数‘calloc’中:
src/jemalloc.c:1541: 警告:dereferencing pointer ‘({anonymous})’ does break strict-aliasing rules
src/jemalloc.c:1504: 附注:initialized from here
src/jemalloc.c: 在函数‘mallocx’中:
src/jemalloc.c:1541: 警告:dereferencing pointer ‘({anonymous})’ does break strict-aliasing rules
Big god, i am a novice, this hint, is there an impact?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with src/jemalloc.c at lines 1504, 1541, 1873, and 1912-1913, then reproduce the compiler warnings on CentOS 6.8. Determine whether the strict-aliasing warnings indicate incorrect behavior or only a compiler diagnostic, and document or address the confirmed impact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100