http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51281
--- Comment #1 from Jason Garrett-Glaser
2011-11-23 05:08:35 UTC ---
Correction, the gcc 4.5.3 output is:
:
0: moveax, [rdi]
2: movedx, 0x64
7: nop
10: inceax
12: subedx, 0x1
15: mov
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51281
Bug #: 51281
Summary: GCC fails to hoist stores in loop
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48297
Summary: Suboptimal optimization of boolean expression addition
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo:
: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: darkshikari at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44474
--- Comment #6 from darkshikari at gmail dot com 2010-04-22 06:31 ---
It seems that __attribute__((pure)) can already do this for many instances of
this situation--but it doesn't work for function pointers.
Is this an arbitrary limitation, or would serious work be necessary to
--- Comment #1 from darkshikari at gmail dot com 2010-04-22 06:01 ---
Created an attachment (id=20457)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20457&action=view)
Preprocessed source that produces the segfault
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43845
oduct: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: darkshikari at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43845
--- Comment #5 from darkshikari at gmail dot com 2010-04-21 22:24 ---
One somewhat unrelated issue I had when attempting to compile using LTO: we
have about 5 arrays in C that are referenced from YASM-syntax assembly code.
Even I add __attribute__((used)), LTO/wholeprogram seems to
--- Comment #2 from darkshikari at gmail dot com 2010-04-21 22:07 ---
Here's what the compiler currently says about one of these calls using "-flto
-fipa-pta -fwhole-program -fdump-tree-optimized-alias -O3 -fomit-frame-pointer
-ffastmath":
# PT = nonlocal unit-escaped
D.
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: darkshikari at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43827
10 matches
Mail list logo