public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libmudflap/58232] New: False mudflap positive on std::setw
@ 2013-08-23 17:52 andrey.vihrov at gmail dot com
  2013-11-10  5:50 ` [Bug libmudflap/58232] " pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: andrey.vihrov at gmail dot com @ 2013-08-23 17:52 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58232

            Bug ID: 58232
           Summary: False mudflap positive on std::setw
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libmudflap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: andrey.vihrov at gmail dot com

Created attachment 30694
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30694&action=edit
Preprocessed source

Compiling and running the following code with "g++ -O2 -Wall -Wextra -fmudflap
-lmudflap" seems to produce a false mudflap violation positive:

#include <iostream>
#include <iomanip>

int main()
{
    std::cout << std::setw(6);
}

Program output:
*******
mudflap violation 1 (check/read): time=1377279836.003018 ptr=0x7fec50b2cd00
size=8
pc=0x7fec50b50208 location=`/usr/include/c++/4.8.1/iomanip:237:7 (main)'
      /usr/lib/libmudflap.so.0(__mf_check+0x18) [0x7fec50b50208]
      ./a.out(main+0x8e) [0x400a9e]
      /usr/lib/libc.so.6(__libc_start_main+0xf5) [0x7fec4ffa1bc5]
number of nearby objects: 0

gcc -v is:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /build/gcc-multilib/src/gcc-4.8-20130725/configure
--prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/
--enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared
--enable-threads=posix --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch
--enable-gnu-unique-object --enable-linker-build-id --enable-cloog-backend=isl
--disable-cloog-version-check --enable-lto --enable-gold --enable-ld=default
--enable-plugin --with-plugin-ld=ld.gold --with-linker-hash-style=gnu
--disable-install-libiberty --enable-multilib --disable-libssp --disable-werror
--enable-checking=release
Thread model: posix
gcc version 4.8.1 20130725 (prerelease) (GCC)


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug libmudflap/58232] False mudflap positive on std::setw
  2013-08-23 17:52 [Bug libmudflap/58232] New: False mudflap positive on std::setw andrey.vihrov at gmail dot com
@ 2013-11-10  5:50 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-11-10  5:50 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58232

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WONTFIX
   Target Milestone|---                         |4.9.0

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
fmudflap support has been removed.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-10  5:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-23 17:52 [Bug libmudflap/58232] New: False mudflap positive on std::setw andrey.vihrov at gmail dot com
2013-11-10  5:50 ` [Bug libmudflap/58232] " pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).