public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug gcov-profile/59003] New: [4.9 Regression] profiledbootstrap miscompiles gcc during stagefeedback
@ 2013-11-05 13:06 octoploid at yandex dot com
  2013-12-03 14:51 ` [Bug gcov-profile/59003] [4.9 Regression] profiledbootstrap miscompiles gcc during stagefeedback --with-tune=amdfam10 octoploid at yandex dot com
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: octoploid at yandex dot com @ 2013-11-05 13:06 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 59003
           Summary: [4.9 Regression] profiledbootstrap miscompiles gcc
                    during stagefeedback
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: gcov-profile
          Assignee: unassigned at gcc dot gnu.org
          Reporter: octoploid at yandex dot com

% ../gcc/configure --enable-checking=release --disable-werror
--disable-multilib --enable-languages=c,c++
 % make -j4 BOOT_CFLAGS="-march=native -O3 -pipe" STAGE1_CFLAGS="-march=native
-O3 -pipe" CFLAGS_FOR_TARGET="-march=native -O3 -pipe"
CXXFLAGS_FOR_TARGET="-march=native -O3 -pipe" profiledbootstrap
...
/var/tmp/gcc_build_dir/./gcc/xgcc -B/var/tmp/gcc_build_dir/./gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/
-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/x86_64-unknown-linux-gnu/include -isystem
/usr/local/x86_64-unknown-linux-gnu/sys-include    -march=native -O3 -pipe -O2 
-march=native -O3 -pipe -DIN_GCC    -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition 
-isystem ./include   -fpic -mlong-double-80 -g -DIN_LIBGCC2 -fbuilding-libgcc
-fno-stack-protector   -fpic -mlong-double-80 -I. -I. -I../.././gcc
-I../../../gcc/libgcc -I../../../gcc/libgcc/. -I../../../gcc/libgcc/../gcc
-I../../../gcc/libgcc/../include -I../../../gcc/libgcc/config/libbid
-DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS  -DUSE_TLS -o bid128_noncomp.o -MT
bid128_noncomp.o -MD -MP -MF bid128_noncomp.dep -c
../../../gcc/libgcc/config/libbid/bid128_noncomp.c
/var/tmp/gcc_build_dir/./gcc/xgcc -B/var/tmp/gcc_build_dir/./gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/
-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/x86_64-unknown-linux-gnu/include -isystem
/usr/local/x86_64-unknown-linux-gnu/sys-include    -march=native -O3 -pipe -O2 
-march=native -O3 -pipe -DIN_GCC    -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition 
-isystem ./include   -fpic -mlong-double-80 -g -DIN_LIBGCC2 -fbuilding-libgcc
-fno-stack-protector   -fpic -mlong-double-80 -I. -I. -I../.././gcc
-I../../../gcc/libgcc -I../../../gcc/libgcc/. -I../../../gcc/libgcc/../gcc
-I../../../gcc/libgcc/../include -I../../../gcc/libgcc/config/libbid
-DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS  -DUSE_TLS -o bid128_fma.o -MT
bid128_fma.o -MD -MP -MF bid128_fma.dep -c
../../../gcc/libgcc/config/libbid/bid128_fma.c
In file included from ../../../gcc/libgcc/config/libbid/bid_internal.h:27:0,
                 from ../../../gcc/libgcc/config/libbid/bid64_noncomp.c:24:
../../../gcc/libgcc/config/libbid/bid64_noncomp.c: In function ‘__bid64_isInf’:
../../../gcc/libgcc/config/libbid/bid_conf.h:258:21: internal compiler error:
Segmentation fault
 #define bid64_isInf __bid64_isInf
                     ^
../../../gcc/libgcc/config/libbid/bid64_noncomp.c:220:1: note: in expansion of
macro ‘bid64_isInf’
 bid64_isInf (UINT64 x _EXC_MASKS_PARAM _EXC_INFO_PARAM) {
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [bid64_noncomp.o] Error 1

Looks like gcc got miscompiled during stagefeedback.
-march=native is amdfam10 on my machine.
Without --enable-checking=release gcc builds fine.
>From gcc-bugs-return-433554-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 05 13:11:41 2013
Return-Path: <gcc-bugs-return-433554-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14235 invoked by alias); 5 Nov 2013 13:11:40 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 11441 invoked by uid 48); 5 Nov 2013 13:09:38 -0000
From: "burnus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/57616] Support -fsanitize=undefined in Fortran
Date: Tue, 05 Nov 2013 13:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: burnus at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-57616-4-S38AkQTUQt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57616-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57616-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-11/txt/msg00331.txt.bz2
Content-length: 328

http://gcc.gnu.org/bugzilla/show_bug.cgi?idW616

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Additionally, check whether -fsanitize=vla-bound (are there more usans?) should
be handled.

Check whether MPX bounds checking should be implemented, cf.
http://gcc.gnu.org/ml/gcc-patches/2013-10/msg02660.html


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

end of thread, other threads:[~2014-01-21 20:34 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-05 13:06 [Bug gcov-profile/59003] New: [4.9 Regression] profiledbootstrap miscompiles gcc during stagefeedback octoploid at yandex dot com
2013-12-03 14:51 ` [Bug gcov-profile/59003] [4.9 Regression] profiledbootstrap miscompiles gcc during stagefeedback --with-tune=amdfam10 octoploid at yandex dot com
2013-12-03 20:47 ` [Bug target/59003] " octoploid at yandex dot com
2013-12-03 21:40 ` octoploid at yandex dot com
2013-12-03 22:41 ` hubicka at ucw dot cz
2013-12-04 12:51 ` octoploid at yandex dot com
2013-12-04 13:05 ` octoploid at yandex dot com
2013-12-04 13:07 ` octoploid at yandex dot com
2013-12-19 15:33 ` rguenth at gcc dot gnu.org
2014-01-21 14:50 ` jakub at gcc dot gnu.org
2014-01-21 15:38 ` jakub at gcc dot gnu.org
2014-01-21 15:56 ` jakub at gcc dot gnu.org
2014-01-21 20:34 ` trippels 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).