Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 472510 Details for
Bug 618390
=sys-devel/gcc-6.3.0 (and older) fails to build with gcc-7.1.0: gcc/ubsan.c: error: ISO C++ forbids comparison between pointer and integer
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gcc-6.3.0-ubsan-on-gcc-7.patch
gcc-6.3.0-ubsan-on-gcc-7.patch (text/plain), 871 bytes, created by
Sergei Trofimovich (RETIRED)
on 2017-05-13 20:41:50 UTC
(
hide
)
Description:
gcc-6.3.0-ubsan-on-gcc-7.patch
Filename:
MIME Type:
Creator:
Sergei Trofimovich (RETIRED)
Created:
2017-05-13 20:41:50 UTC
Size:
871 bytes
patch
obsolete
>Fixes gcc-6.3.0 build failure on gcc-7.1.0 >Takenfrom upstream repository: > >commit 8db2cf6353c13f2a84cbe49b689654897906c499 >Author: kyukhin <kyukhin@138bc75d-0d04-0410-961f-82ee72b054a4> >Date: Sat Sep 3 10:57:05 2016 +0000 > > gcc/ > * ubsan.c (ubsan_use_new_style_p): Fix check for empty string. > > > git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239971 138bc75d-0d04-0410-961f-82ee72b054a4 > >diff --git a/gcc/ubsan.c b/gcc/ubsan.c >index 5cbc98dbabb..d3bd8e3393d 100644 >--- a/gcc/ubsan.c >+++ b/gcc/ubsan.c >@@ -1469,7 +1469,7 @@ ubsan_use_new_style_p (location_t loc) > > expanded_location xloc = expand_location (loc); > if (xloc.file == NULL || strncmp (xloc.file, "\1", 2) == 0 >- || xloc.file == '\0' || xloc.file[0] == '\xff' >+ || xloc.file[0] == '\0' || xloc.file[0] == '\xff' > || xloc.file[1] == '\xff') > return false; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 618390
: 472510