[Poppler-bugs] [Bug 7628] Poppler 0.5.3 crashes with gcc-option
-ftree-vectorize
bugzilla-daemon at annarchy.freedesktop.org
bugzilla-daemon at annarchy.freedesktop.org
Wed Jul 26 02:59:37 PDT 2006
Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://bugs.freedesktop.org/show_bug.cgi?id=7628
------- Additional Comments From matje at lanzone.be 2006-07-26 02:59 -------
After looking around a bit, it seems the problem is in the loop @ line 30. When
compiling it with -ftree-vectorizer-verbose=5 I get:
OutputDev.cc:30: note: Alignment of access forced using peeling.
OutputDev.cc:30: note: Vectorizing an unaligned access.
OutputDev.cc:30: note: LOOP VECTORIZED.
OutputDev.cc:30: note: vectorized 1 loops in function.
The problem seems to be that gcc can't detect if ctm is aligned properly
(because it's a pointer) for vectorization so it just guesses. I tried to find a
solution for this, but nothing really good turned up. The only viable
work-around I found is to replace the loop with individual assignments to copy
the array.
Gcc-devs are currently working on implementing #pragma novector to disable
vectorization for certain loops, but that isn't included yet. I guess that this
is in more ways a gcc-bug then a poppler-bug.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Poppler-bugs
mailing list