[Bug gcov-profile/48361] gcov freezes when using --all-blocks (-a) flag.

2012-05-21 Thread ben at salilab dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48361

--- Comment #2 from Ben Webb  2012-05-21 21:05:49 UTC 
---
Created attachment 27465
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27465
inputs.tar.gz

I'm seeing very similar behavior running gcov on the attached files
(inputs.tar.gz contains utility.gcda and utility.gcno).

"gcov utility.gcda -b -c -a -p" hangs indefinitely (at least, it ran for 24
hours before I killed it)

"gcov utility.gcda -b -c -p" returns in less than a second.

This is using Fedora 16's build on an x86_64 system (gcc-4.6.3-2.fc16.x86_64
RPM).


[Bug preprocessor/57580] Repeated _Pragma message directives in macro causes problems

2015-04-03 Thread ben at salilab dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57580

Ben Webb  changed:

   What|Removed |Added

 CC||ben at salilab dot org

--- Comment #5 from Ben Webb  ---
FWIW, I see the exact same problem with Daniel's test program:

$ gcc -c test.cpp
test.cpp:8:2: error: stray ‘#’ in program
 BROKEN
  ^
test.cpp:8:27: note: #pragma message: message0
 BROKEN
   ^
test.cpp:8:3: error: ‘pragma’ does not name a type
 BROKEN
   ^

Note that this is with gcc 4.9 (at least, RedHat's version of it, as packaged
in Fedora 21):

$ gcc -v
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.9.2/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla
--enable-bootstrap --enable-shared --enable-threads=posix
--enable-checking=release --enable-multilib --with-system-zlib
--enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object
--enable-linker-build-id --with-linker-hash-style=gnu
--enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --enable-plugin
--enable-initfini-array --disable-libgcj
--with-isl=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/isl-install
--with-cloog=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/cloog-install
--enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686
--build=x86_64-redhat-linux
Thread model: posix
gcc version 4.9.2 20150212 (Red Hat 4.9.2-6) (GCC)