A simple testcase to check if the attribute aligned works, fails on
i386-darwin-apple:
#include
#include
int array[4128] __attribute__((aligned( 2<<6)));
int main(void)
{
__SIZE_TYPE__ a = (__SIZE_TYPE__)(&array[0]);
printf("%d\n", (int)(__SIZE_TYPE__)a & ((2<<6) - 1));
if((__SIZE_TYPE__)(
--- Comment #5 from galtgendo at o2 dot pl 2007-12-24 23:22 ---
Correct, 192MB.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34572
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-12-24 22:19 ---
The backtrace:
#0 0x00dec6b0 in htab_find_with_hash (htab=0x0, element=0x546c9a0,
hash=11065652) at /Users/apinski/src/local/gcc/libiberty/hashtab.c:566
#1 0x00080f13 in retrieve_local_specialization (tmpl=0x546c9a
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Severity|blocker |normal
GCC build triplet|Configured with: ./configure|
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-12-24 22:06 ---
How much memory do you have?
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-12-24 22:06 ---
How much memory do you have?
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-12-24 22:01 ---
This test should not be tested on darwin as darwin does not support the popcntb
assembly instruction as none of the supported machines have that instruction.
--
pinskia at gcc dot gnu dot org changed:
--- Comment #1 from howarth at nitro dot med dot uc dot edu 2007-12-24
20:26 ---
I also see the same failure for popcount-1.c. The compile line...
/sw/src/fink.build/gcc43-4.2.999-20071221/darwin_objdir/gcc/xgcc
-B/sw/src/fink.build/gcc43-4.2.999-20071221/darwin_objdir/gcc/
/sw/src/fin
The scan-assembler popcntb section of the gcc.target/powerpc/parity-1.c
testcase is failing on powerpc-apple-darwin8/9. The compile line...
/sw/src/fink.build/gcc43-4.2.999-20071221/darwin_objdir/gcc/xgcc
-B/sw/src/fink.build/gcc43-4.2.999-20071221/darwin_objdir/gcc/
/sw/src/fink.build/gcc43-4.2.9
--- Comment #1 from howarth at nitro dot med dot uc dot edu 2007-12-24
20:04 ---
Andrew,
Changing the testcase to...
extern "C" void abort();
struct A
{
double a;
} sa;
struct B
{
double b;
char c;
} sb;
int main()
{
if (__alignof (sa) != __alignof (sa.a)
|| __a
--
rajathf at techmahindra dot com changed:
What|Removed |Added
Severity|critical|blocker
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34574
--- Comment #2 from galtgendo at o2 dot pl 2007-12-24 18:55 ---
Created an attachment (id=14820)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14820&action=view)
preprocessed file (packed)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34572
--- Comment #6 from howarth at nitro dot med dot uc dot edu 2007-12-24
18:34 ---
I would also note that the testcase passes at both -m32 and -m64 as I posted.
If I change...
return -(t>>5);
to
return -(t>>1);
The testcase passes at -m64 but fails at -m32. However if I use...
--- Comment #1 from galtgendo at o2 dot pl 2007-12-24 18:34 ---
Sorry, it's much too big, where can I put it, so it can be seen here ?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34572
--- Comment #1 from rajathf at techmahindra dot com 2007-12-24 18:27
---
the pstack i got at deadlock mite help...
- lwp# 1 / thread# 1
fcde58f4 lwp_park (0, 0, 0)
fcde2b9c cond_wait_queue (1a8900, fcdf8b48, 0, 0, fcfc, fcdf8000) + d4
fcde
--- Comment #5 from howarth at nitro dot med dot uc dot edu 2007-12-24
18:26 ---
Would...
/* { dg-do compile } */
/* { dg-options "-O2" } */
long foo(long x)
{
return -(x == 0);
}
long bar(long x)
{
long t = __builtin_clzl(x);
return -(t>>5);
}
/* { dg-final { scan-assembler-n
This seems to be a critical issue causing a thread pool implementaion to go
into dead lock and normally happens if code inside run method does requires
little time and large number runnable objects are assigned to thread pool...
I have identified this issue in sun solaris 2.9
Please find below th
--- Comment #1 from sylvain dot pion at sophia dot inria dot fr 2007-12-24
16:00 ---
Created an attachment (id=14819)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14819&action=view)
pre-processed test case
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34573
The attached preprocessed source ICEs with current g++ 4.3 :
../../include/CGAL/Visibility_complex_2/Antichain.h:1394: internal compiler
error: Bus error
I really believe the code is valid, as it works with older g++ releases
(although the preprocessed code attached does not, but it is due to
lib
It's my first bug here, so I may be missing something.
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.2.2/work/gcc-4.2.2/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.2.2
--includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.2.2/include
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
CC||pinskia at gcc dot gnu dot
|
--- Comment #2 from tbm at cyrius dot com 2007-12-24 12:54 ---
Created an attachment (id=14818)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14818&action=view)
preprocessed source
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34571
--- Comment #1 from tbm at cyrius dot com 2007-12-24 12:53 ---
Program received signal SIGSEGV, Segmentation fault.
alpha_expand_mov (mode=DImode, operands=0x11f427310)
at gcc/config/alpha/alpha.c:2158
2158 emit_move_insn (operands[0], XEXP (operands[1], 0));
(gdb) where
#0
With 4.3 I get:
(sid)[EMAIL PROTECTED]:~$ /usr/lib/gcc-snapshot/bin/gcc -O3 r-base-deriv.i
deriv.c: In function 'simplify':
deriv.c:258: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
--
Summary: [4.3 Regression]
24 matches
Mail list logo