reload bug in 3.4.6

2006-05-26 Thread Momchil Velikov
I've got a bug with gcc-3.4.6 (also with 3.3.2, 3.3.6, probably anything inbetween), target sh-elf. Unfortunately, the test case is huge, convoluted and proprietary, so I can't send it for now. When reloading insn 2780: Breakpoint 3, reload_as_needed (live_known=1) at ../../gcc-3.4.6/gcc

Multiple calls to __gcov_init

2006-04-25 Thread Momchil Velikov
Why does GCC emit multiple calls to __gcov_init, via mulitple (two) entries in the ctors table? For example "int foo () { return 0; }" compiled with "gcc -S -fprofile-generate" produces the following assembly file, where the ".ctors" section conrtains two entries. .file "x.c" .