public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/87713] single character underlined in an error message instead of the whole token
       [not found] <bug-87713-4@http.gcc.gnu.org/bugzilla/>
@ 2018-10-23 18:51 ` msebor at gcc dot gnu.org
  2024-04-04 22:24 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: msebor at gcc dot gnu.org @ 2018-10-23 18:51 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 290099 bytes --]

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87713

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |error-recovery
                 CC|                            |dmalcolm at gcc dot gnu.org
           Severity|normal                      |minor

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
David, you might be interested in this.
>From gcc-bugs-return-618592-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 23 18:58:28 2018
Return-Path: <gcc-bugs-return-618592-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112464 invoked by alias); 23 Oct 2018 18:58:28 -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 111990 invoked by uid 48); 23 Oct 2018 18:58:23 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/85669] fail on s-case-cfn-macros: build/gencfn-macros: DEF_INTERNAL_FLT/INT_FN (%smth%) has no associated built-in functions
Date: Tue, 23 Oct 2018 18:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
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-85669-4-IXkfUaTHRT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85669-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85669-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg01974.txt.bz2
Content-length: 197

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85669

--- Comment #8 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Is this on all (PowerPC) Darwin?  Only one some versions?  Which, then?
>From gcc-bugs-return-618593-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 23 19:03:13 2018
Return-Path: <gcc-bugs-return-618593-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119438 invoked by alias); 23 Oct 2018 19:03:13 -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 119256 invoked by uid 55); 23 Oct 2018 19:03:01 -0000
From: "ian at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/87661] [9 Regression] libgo bootstrap failure on arm-linux-gnueabihf (redefinition of constants)
Date: Tue, 23 Oct 2018 19:03:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: go
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ian at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87661-4-LLOhdXE5Ok@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87661-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87661-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg01975.txt.bz2
Content-length: 557

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87661

--- Comment #1 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Tue Oct 23 19:02:29 2018
New Revision: 265439

URL: https://gcc.gnu.org/viewcvs?rev=265439&root=gcc&view=rev
Log:
        PR go/87661
    runtime: remove unused armArch, hwcap and hardDiv

    After CL 140057 these are only written but never read in gccgo.

    Reviewed-on: https://go-review.googlesource.com/c/141077

Modified:
    trunk/gcc/go/gofrontend/MERGE
    trunk/libgo/go/runtime/os_linux_arm.go
>From gcc-bugs-return-618594-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 23 19:32:15 2018
Return-Path: <gcc-bugs-return-618594-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15036 invoked by alias); 23 Oct 2018 19:32:14 -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 9834 invoked by uid 48); 23 Oct 2018 19:32:09 -0000
From: "development at jordi dot vilar.cat" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87714] New: [8 regresion] ICE on valid C++ code: in type_dependent_expression_p, at cp/pt.c:25178
Date: Tue, 23 Oct 2018 19:32:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: development at jordi dot vilar.cat
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-87714-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg01976.txt.bz2
Content-length: 5595

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87714

            Bug ID: 87714
           Summary: [8 regresion] ICE on valid C++ code: in
                    type_dependent_expression_p, at cp/pt.c:25178
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: development at jordi dot vilar.cat
  Target Milestone: ---

Hi,

The issue appeared in g++ 8. It compiles ok in g++ 7.3, clang 6.0 and
VisualC++.

$> g++-8 -v -std=c++17 -c repro.cpp
Using built-in specs.
COLLECT_GCC=g++-8
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
8.2.0-1ubuntu2~18.04' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs
--enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr
--with-gcc-major-version-only --program-suffix=-8
--program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new --enable-gnu-unique-object
--disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie
--with-system-zlib --with-target-system-zlib --enable-objc-gc=auto
--enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64
--with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic
--enable-offload-targets=nvptx-none --without-cuda-driver
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu
Thread model: posix
gcc version 8.2.0 (Ubuntu 8.2.0-1ubuntu2~18.04)
COLLECT_GCC_OPTIONS='-v' '-std=c++17' '-c' '-shared-libgcc' '-mtune=generic'
'-march=x86-64'
 /usr/lib/gcc/x86_64-linux-gnu/8/cc1plus -quiet -v -imultiarch x86_64-linux-gnu
-D_GNU_SOURCE repro.cpp -quiet -dumpbase repro.cpp -mtune=generic -march=x86-64
-auxbase repro -std=c++17 -version -fstack-protector-strong -Wformat
-Wformat-security -o /tmp/ccmOu14n.s
GNU C++17 (Ubuntu 8.2.0-1ubuntu2~18.04) version 8.2.0 (x86_64-linux-gnu)
        compiled by GNU C version 8.2.0, GMP version 6.1.2, MPFR version 4.0.1,
MPC version 1.1.0, isl version isl-0.19-GMP

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/8"
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
ignoring nonexistent directory
"/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/include/c++/8
 /usr/include/x86_64-linux-gnu/c++/8
 /usr/include/c++/8/backward
 /usr/lib/gcc/x86_64-linux-gnu/8/include
 /usr/local/include
 /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed
 /usr/include/x86_64-linux-gnu
 /usr/include
End of search list.
GNU C++17 (Ubuntu 8.2.0-1ubuntu2~18.04) version 8.2.0 (x86_64-linux-gnu)
        compiled by GNU C version 8.2.0, GMP version 6.1.2, MPFR version 4.0.1,
MPC version 1.1.0, isl version isl-0.19-GMP

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: b531b606e797d462fe15d91f526b9496
repro.cpp: In instantiation of ‘static std::optional<_Tp> enum_helper<T,
is_bitmask>::to_enum(std::basic_string_view<char, U>) [with U =
std::char_traits<char>; T = my_enum_type; bool is_bitmask = true]’:
repro.cpp:34:113:   required from here
repro.cpp:31:31: internal compiler error: in type_dependent_expression_p, at
cp/pt.c:25178
     return parse_my_enum_type(syntax, { string.data(), string.size() });
                               ^~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-8/README.Bugs> for instructions.

repro.cpp ----------------------

#include <optional>
#include <regex>
#include <string_view>

template<typename T, bool is_bitmask = true> struct enum_helper
{
    template<class U> static std::optional<T>  
to_enum(std::basic_string_view<char, U> s);
};

template<class C> struct icase_char_traits : public std::char_traits<C>
{
    static bool eq(C c1, C c2);
    static bool lt(C c1, C c2);
    static int compare(const C* s1, const C* s2, size_t n);
    static const C* find(const C* s, size_t n, C a);
};

using ci_string_view = std::basic_string_view<char, icase_char_traits<char>>;

enum class my_enum_type : std::uint32_t;

template<> template<typename U> std::optional<my_enum_type>
enum_helper<my_enum_type, true>::to_enum(std::basic_string_view<char, U> s);

std::optional<my_enum_type> parse_my_enum_type(const std::regex &syntax,
std::string_view string);

template<> template<typename U> std::optional<my_enum_type>
enum_helper<my_enum_type>::to_enum(std::basic_string_view<char, U> string)
{
    static const std::regex syntax(
        R"(^...$)",
        std::is_same_v<U, icase_char_traits<char>> ? std::regex::ECMAScript |
std::regex::icase : std::regex::ECMAScript);
    return parse_my_enum_type(syntax, { string.data(), string.size() });
}

template std::optional<my_enum_type>
enum_helper<my_enum_type>::to_enum<std::char_traits<char>>(std::string_view);
template std::optional<my_enum_type>
enum_helper<my_enum_type>::to_enum<icase_char_traits<char>>(ci_string_view);
>From gcc-bugs-return-618595-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 23 19:32:33 2018
Return-Path: <gcc-bugs-return-618595-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32816 invoked by alias); 23 Oct 2018 19:32:33 -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 28145 invoked by uid 48); 23 Oct 2018 19:32:29 -0000
From: "dougmencken at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/85669] fail on s-case-cfn-macros: build/gencfn-macros: DEF_INTERNAL_FLT/INT_FN (%smth%) has no associated built-in functions
Date: Tue, 23 Oct 2018 19:32:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dougmencken at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
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-85669-4-xySNSmNXoC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85669-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85669-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg01977.txt.bz2
Content-length: 646

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85669

--- Comment #9 from Douglas Mencken <dougmencken at gmail dot com> ---
(In reply to Segher Boessenkool from comment #8)
> Is this on all (PowerPC) Darwin?  Only one some versions?  Which, then?

I am really not going to check it on OS X 10.0 or OS X Beta, or even OS X 10.2.
It fails on OS X 10.5 and OS X 10.4. It fails when it’s built via GCCs bundled
with Xcode, 4.0.1 and 4.2.1, as well as with self-built GCCs like 7.3.0 patched
and 6.4.0. It fails on stage2, in words: stage TWO, and stage1 ( stage ONE,
that one which depends on stage0, id est system, compiler ) is okay
>From gcc-bugs-return-618596-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 23 19:41:59 2018
Return-Path: <gcc-bugs-return-618596-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76489 invoked by alias); 23 Oct 2018 19:41:59 -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 76441 invoked by uid 48); 23 Oct 2018 19:41:54 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87714] [8/9 Regression] ICE on valid C++ code: in type_dependent_expression_p, at cp/pt.c:25178
Date: Tue, 23 Oct 2018 19:41:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.2.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone short_desc everconfirmed
Message-ID: <bug-87714-4-mG82eqM67E@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87714-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87714-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg01978.txt.bz2
Content-length: 900

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87714

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-10-23
                 CC|                            |mpolacek at gcc dot gnu.org
   Target Milestone|---                         |8.3
            Summary|[8 regresion] ICE on valid  |[8/9 Regression] ICE on
                   |C++ code: in                |valid C++ code: in
                   |type_dependent_expression_p |type_dependent_expression_p
                   |, at cp/pt.c:25178          |, at cp/pt.c:25178
     Ever confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed.
>From gcc-bugs-return-618597-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 23 19:47:00 2018
Return-Path: <gcc-bugs-return-618597-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115524 invoked by alias); 23 Oct 2018 19:47:00 -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 115438 invoked by uid 48); 23 Oct 2018 19:46:52 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87714] [8/9 Regression] ICE on valid C++ code: in type_dependent_expression_p, at cp/pt.c:25178
Date: Tue, 23 Oct 2018 19:47:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.2.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87714-4-2oXZF7ruTQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87714-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87714-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg01979.txt.bz2
Content-length: 144

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87714

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Started with r249323.
>From gcc-bugs-return-618598-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 23 19:51:01 2018
Return-Path: <gcc-bugs-return-618598-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121327 invoked by alias); 23 Oct 2018 19:51:00 -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 121197 invoked by uid 48); 23 Oct 2018 19:50:55 -0000
From: "jozef.l at mittosystems dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/87691] transparent_union attribute does not work with MODE_PARTIAL_INT
Date: Tue, 23 Oct 2018 19:51:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jozef.l at mittosystems dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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-87691-4-xpnY1XNzQK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87691-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87691-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg01980.txt.bz2
Content-length: 204

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87691

--- Comment #9 from Jozef Lawrynowicz <jozef.l at mittosystems dot com> ---
Patch submitted: https://gcc.gnu.org/ml/gcc-patches/2018-10/msg01459.html
>From gcc-bugs-return-618599-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 23 19:57:19 2018
Return-Path: <gcc-bugs-return-618599-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129035 invoked by alias); 23 Oct 2018 19:57:17 -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 128938 invoked by uid 48); 23 Oct 2018 19:57:11 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/85669] fail on s-case-cfn-macros: build/gencfn-macros: DEF_INTERNAL_FLT/INT_FN (%smth%) has no associated built-in functions
Date: Tue, 23 Oct 2018 19:57:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
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-85669-4-QUsDijkUKA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85669-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85669-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg01981.txt.bz2
Content-length: 362

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85669

--- Comment #10 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Thanks Douglas, no that is fine of course :-)  What I wanted to know is, does
it fail for the newest versions as well.  So it appears it does.  Which Ryan
already said but I have trouble reading apparently :-/

Thanks for the report!
>From gcc-bugs-return-618600-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 23 20:01:50 2018
Return-Path: <gcc-bugs-return-618600-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4159 invoked by alias); 23 Oct 2018 20:01:50 -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 4039 invoked by uid 48); 23 Oct 2018 20:01:45 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/87661] [9 Regression] libgo bootstrap failure on arm-linux-gnueabihf (redefinition of constants)
Date: Tue, 23 Oct 2018 20:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: go
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ian at airs dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-87661-4-sT0W7DH0fp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87661-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87661-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg01982.txt.bz2
Content-length: 433

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87661

Ian Lance Taylor <ian at airs dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Ian Lance Taylor <ian at airs dot com> ---
Should be fixed now.
>From gcc-bugs-return-618601-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 23 20:43:59 2018
Return-Path: <gcc-bugs-return-618601-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8782 invoked by alias); 23 Oct 2018 20:43:59 -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 8702 invoked by uid 48); 23 Oct 2018 20:43:55 -0000
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/87715] New: problems with asan and -O3 build of ada
Date: Tue, 23 Oct 2018 20:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: ada
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dcb314 at hotmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-87715-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg01983.txt.bz2
Content-length: 2328

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87715

            Bug ID: 87715
           Summary: problems with asan and -O3 build of ada
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

I just tried to build the ada compiler with address sanitizer
and -O3 on recent gcc trunk.

Configure script is 

../trunk/configure --prefix=/home/dcb/gcc/results.265434.asan \
        --with-build-config=bootstrap-asan \
        --disable-multilib \
        --disable-werror \
        --enable-checking=release \
        --enable-languages=c,c++,fortran,ada

sed 's/-O2/-O3 -Wlogical-op/' < Makefile > Makefile.tmp
mv Makefile.tmp Makefile

I get error messages:

$ egrep "^Config|ERROR:" mk.out 
...
Configuring stage 3 in ./libdecnumber
Configuring stage 3 in ./libcpp
Configuring stage 3 in ./gcc
=================================================================
==14774==ERROR: AddressSanitizer: dynamic-stack-buffer-overflow on address
0x7ffe9efa6587 at pc 0x000001cf4660 bp 0x7ffe9efa5e70 sp 0x7ffe9efa5e68
READ of size 1 at 0x7ffe9efa6587 thread T0
=================================================================
==14775==ERROR: AddressSanitizer: dynamic-stack-buffer-overflow on address
0x7ffde98d1027 at pc 0x000001cf4660 bp 0x7ffde98d0910 sp 0x7ffde98d0908
READ of size 1 at 0x7ffde98d1027 thread T0
=================================================================
==14779==ERROR: AddressSanitizer: dynamic-stack-buffer-overflow on address
0x7ffcb7f760a7 at pc 0x000001cf4660 bp 0x7ffcb7f75980 sp 0x7ffcb7f75978
READ of size 1 at 0x7ffcb7f760a7 thread T0

I suspect the -O3 might be causing a problem. I'll have another
go at building with -O2, not -O3.
>From gcc-bugs-return-618602-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 23 22:16:37 2018
Return-Path: <gcc-bugs-return-618602-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91513 invoked by alias); 23 Oct 2018 22:16:24 -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 90799 invoked by uid 48); 23 Oct 2018 22:15:34 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87689] Memory corruption on Power 8
Date: Tue, 23 Oct 2018 22:16: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: 7.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
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: bug_status
Message-ID: <bug-87689-4-1zA3j3LITe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87689-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87689-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg01984.txt.bz2
Content-length: 1877

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87689

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
I checked, and it seems that this is an old bug; it occurs both
with gfortran 4.8.5 and 8.1.0.

This goes away with -flto or if you put both procedures into one file,
and does not happen on Linux.

Tree dump looks reasonable with 8.1:

    static integer(kind=4) C.2183 = 1;
    static integer(kind=4) C.2184 = 2;
    static integer(kind=4) C.2185 = 3;
    static integer(kind=4) C.2186 = 4;
    static integer(kind=4) C.2187 = 5;
    static integer(kind=4) C.2188 = 6;
    character(kind=1) str.0[20];

    doesntwork_p8 ((character(kind=1)[1:20] *) &str.0, 20, &c, &C.2183,
&C.2184, &C.2185, &C.2186, &C.2187, &C.2188, 1);
    __builtin_memmove ((void *) &res, (void *) &str.0, 20);

vs.

doesntwork_p8 (character(kind=1)[1:20] & __result, integer(kind=8) .__result,
character(kind=1)[1:1] & restrict c, integer(kind=4) & restrict a1,
integer(kind=4) & restrict a2, integer(kind=4) & restrict a3, integer(kind=4) &
restrict a4, integer(kind=4) & restrict a5, integer(kind=4) & restrict a6,
integer(kind=8) _c)
{

What looks less reasonable is the debug output:

breakpoint 1, doesntwork_p8 (__result=@0x3fffffffed80:
'\224\016\000\020\000\000\000\000\230\016\000\020\000\000\000\000\000\000\000\000',
.__result=20, c='`', a1=1, a2=2, a3=3, a4=4, a5=5, 
    a6=<error reading variable: Cannot access memory at address 0x0>, _c=0) at
b.f90:6

This looks like the arguments pushed on the stack somehow have the wrong number
of bytes...
>From gcc-bugs-return-618603-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 23 22:36:21 2018
Return-Path: <gcc-bugs-return-618603-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8093 invoked by alias); 23 Oct 2018 22:36:21 -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 8004 invoked by uid 48); 23 Oct 2018 22:36:16 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87689] Memory corruption on Power 8
Date: Tue, 23 Oct 2018 22:36: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: 7.1.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
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: cc
Message-ID: <bug-87689-4-Wlqps98Wru@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87689-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87689-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg01985.txt.bz2
Content-length: 729

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87689

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |segher at gcc dot gnu.org

--- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to Thomas Koenig from comment #3)
> This goes away with -flto or if you put both procedures into one file,
> and does not happen on Linux.

I meant on x86_64.

Wild guess: Do we somehow get the declarations wrong (or different) and this
shows up because we trigger some difference in the POWER ABI?

Segher, does this maybe ring a bell?
>From gcc-bugs-return-618604-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 23 22:40:23 2018
Return-Path: <gcc-bugs-return-618604-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31034 invoked by alias); 23 Oct 2018 22:40:23 -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 27706 invoked by uid 48); 23 Oct 2018 22:40:17 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87648] Clobber some variables on entry to DO CONCURRENT
Date: Tue, 23 Oct 2018 22:40: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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-87648-4-2Gg8FjAq15@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87648-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87648-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg01986.txt.bz2
Content-length: 192

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87648

--- Comment #1 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Some more food for thought - what if there is only a single iteration?
>From gcc-bugs-return-618605-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 23 22:54:10 2018
Return-Path: <gcc-bugs-return-618605-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28413 invoked by alias); 23 Oct 2018 22:54:10 -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 28354 invoked by uid 48); 23 Oct 2018 22:54:04 -0000
From: "wilson at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/87690] [RISCV][ABI] GCC fails to sign-extend floats passed in the lp64 ABI
Date: Tue, 23 Oct 2018 22:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: ABI, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wilson at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: wilson at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed
Message-ID: <bug-87690-4-JEnYtSVAT4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87690-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87690-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg01987.txt.bz2
Content-length: 4035

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87690

Jim Wilson <wilson at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-10-23
           Assignee|unassigned at gcc dot gnu.org      |wilson at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #4 from Jim Wilson <wilson at gcc dot gnu.org> ---
I think the intent of the second rule is that float values are passed in the
same regs as an integer value, and that it wasn't the intent that the promotion
rule also applied to float values.

The GCC RISC-V port is passing 32-bit floats as SFmode, which means only the
low 32-bits of the value are valid.  A struct with a single float field also
gets treated as SFmode, so that we can directly access the float member. 
riscv_function_arg isn't checking the argument type, it is only checking the
argument mode.  Hence, a float and a struct with a single float member get
handled exactly the same.  Since they are passed the same, there is no
conversion code to go from one to the other.

We would have the exact same problem with a struct with a single int field,
except that PROMOTE_MODE forces SImode to be handled as DImode, and the
promote_mode function does check types, and only applies PROMOTE_MODE to
integer types.  Hence, a struct with single int field is SImode and an int is
DImode, and we require conversion code which does the sign extension called for
by the ABI.  But PROMOTE_MODE is only sensible for integral types, so this
can't solve the float problem.

I don't see any point to trying to sign extend a 32-bit float in a 64-bit
integer register.  There are only a few useful things one can do to a float in
an integer register, such as absolute value and signbit, and having the value
be sign extended doesn't help there.  For instance given
#include <math.h>

float sub (float a)
{
  return fabs (a);
}
and compiling with riscv64-unknown-elf-gcc -O2 -S -mabi=lp64 -march=rv64i I get
sub:
        slli    a0,a0,33
        srli    a0,a0,33
        ret
The upper 32-bits of a0 are being treated as don't care bits for both the
argument and the return value.  They are ignored for the input value, and set
to 0 for the return value.  Having the value sign-extended doesn't make this
code any simpler.  I see that we aren't actually optimizing signbit as we
should be, but again having it sign-extended doesn't give shorter code.

Requiring that float values be sign extended in a 64-bit reg might require
emitting extra instructions in some cases, which could reduce performance.  So
it also seems unwise from that point of view.  Consider this testcase for
instance
struct float_struct { float v; float w;};

struct float_struct callee(float, float);

struct float_struct caller(struct float_struct fs) {
  return callee(fs.v, fs.w);
}
Compiled with riscv64-unknown-elf-gcc -O2 -S -mabi=lp64 I get
caller:
        addi    sp,sp,-32
        sd      a0,8(sp)
        srli    a1,a0,32
        addi    sp,sp,32
        tail    callee
The 2-float struct is passed entirely in a0.  Since the upper 32-bits of a
float arg are don't care bits, we can pass a0 directly to callee unchanged. 
The second arg for callee is extracted from the upper bits of a0 with a logical
shift that zero extends it.  We could change the logical shift to an arithmetic
shift at no cost.  But sign-extending the float a0 would require adding two
shift instructions.

I am also concerned that there might be implementation problems trying to
convince gcc to sign-extend floating point values in integer registers, as that
isn't a natural thing to do.

I think the simplest solution here is to update the psABI to indicate that
float values in integer registers are not sign extended. Or alternatively that
the sign extension rule only applies to integer types.
>From gcc-bugs-return-618606-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 23 23:13:59 2018
Return-Path: <gcc-bugs-return-618606-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57324 invoked by alias); 23 Oct 2018 23:13:58 -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 57005 invoked by uid 55); 23 Oct 2018 23:13:53 -0000
From: "andrew at sifive dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/87690] [RISCV][ABI] GCC fails to sign-extend floats passed in the lp64 ABI
Date: Tue, 23 Oct 2018 23:13:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: ABI, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: andrew at sifive dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: wilson at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87690-4-RKWXv3zEBA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87690-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87690-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg01988.txt.bz2
Content-length: 4462

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87690

--- Comment #5 from Andrew Waterman <andrew at sifive dot com> ---
FWIW, I agree with your last paragraph

On Wed, Oct 24, 2018 at 7:54 AM wilson at gcc dot gnu.org <
gcc-bugzilla@gcc.gnu.org> wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87690
>
> Jim Wilson <wilson at gcc dot gnu.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |NEW
>    Last reconfirmed|                            |2018-10-23
>            Assignee|unassigned at gcc dot gnu.org      |wilson at gcc dot
> gnu.org
>      Ever confirmed|0                           |1
>
> --- Comment #4 from Jim Wilson <wilson at gcc dot gnu.org> ---
> I think the intent of the second rule is that float values are passed in
> the
> same regs as an integer value, and that it wasn't the intent that the
> promotion
> rule also applied to float values.
>
> The GCC RISC-V port is passing 32-bit floats as SFmode, which means only
> the
> low 32-bits of the value are valid.  A struct with a single float field
> also
> gets treated as SFmode, so that we can directly access the float member.
> riscv_function_arg isn't checking the argument type, it is only checking
> the
> argument mode.  Hence, a float and a struct with a single float member get
> handled exactly the same.  Since they are passed the same, there is no
> conversion code to go from one to the other.
>
> We would have the exact same problem with a struct with a single int field,
> except that PROMOTE_MODE forces SImode to be handled as DImode, and the
> promote_mode function does check types, and only applies PROMOTE_MODE to
> integer types.  Hence, a struct with single int field is SImode and an int
> is
> DImode, and we require conversion code which does the sign extension
> called for
> by the ABI.  But PROMOTE_MODE is only sensible for integral types, so this
> can't solve the float problem.
>
> I don't see any point to trying to sign extend a 32-bit float in a 64-bit
> integer register.  There are only a few useful things one can do to a
> float in
> an integer register, such as absolute value and signbit, and having the
> value
> be sign extended doesn't help there.  For instance given
> #include <math.h>
>
> float sub (float a)
> {
>   return fabs (a);
> }
> and compiling with riscv64-unknown-elf-gcc -O2 -S -mabi=lp64 -march=rv64i
> I get
> sub:
>         slli    a0,a0,33
>         srli    a0,a0,33
>         ret
> The upper 32-bits of a0 are being treated as don't care bits for both the
> argument and the return value.  They are ignored for the input value, and
> set
> to 0 for the return value.  Having the value sign-extended doesn't make
> this
> code any simpler.  I see that we aren't actually optimizing signbit as we
> should be, but again having it sign-extended doesn't give shorter code.
>
> Requiring that float values be sign extended in a 64-bit reg might require
> emitting extra instructions in some cases, which could reduce
> performance.  So
> it also seems unwise from that point of view.  Consider this testcase for
> instance
> struct float_struct { float v; float w;};
>
> struct float_struct callee(float, float);
>
> struct float_struct caller(struct float_struct fs) {
>   return callee(fs.v, fs.w);
> }
> Compiled with riscv64-unknown-elf-gcc -O2 -S -mabi=lp64 I get
> caller:
>         addi    sp,sp,-32
>         sd      a0,8(sp)
>         srli    a1,a0,32
>         addi    sp,sp,32
>         tail    callee
> The 2-float struct is passed entirely in a0.  Since the upper 32-bits of a
> float arg are don't care bits, we can pass a0 directly to callee
> unchanged.
> The second arg for callee is extracted from the upper bits of a0 with a
> logical
> shift that zero extends it.  We could change the logical shift to an
> arithmetic
> shift at no cost.  But sign-extending the float a0 would require adding two
> shift instructions.
>
> I am also concerned that there might be implementation problems trying to
> convince gcc to sign-extend floating point values in integer registers, as
> that
> isn't a natural thing to do.
>
> I think the simplest solution here is to update the psABI to indicate that
> float values in integer registers are not sign extended. Or alternatively
> that
> the sign extension rule only applies to integer types.
>From gcc-bugs-return-618607-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 23 23:45:38 2018
Return-Path: <gcc-bugs-return-618607-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25815 invoked by alias); 23 Oct 2018 23:45:35 -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 25458 invoked by uid 48); 23 Oct 2018 23:45:05 -0000
From: "asb at lowrisc dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/87690] [RISCV][ABI] GCC fails to sign-extend floats passed in the lp64 ABI
Date: Tue, 23 Oct 2018 23:45:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: ABI, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: asb at lowrisc dot org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: wilson at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87690-4-moEhhTZUGs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87690-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87690-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg01989.txt.bz2
Content-length: 1045

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87690

--- Comment #6 from Alex Bradbury <asb at lowrisc dot org> ---
(In reply to Jim Wilson from comment #4)
> I think the intent of the second rule is that float values are passed in the
> same regs as an integer value, and that it wasn't the intent that the
> promotion rule also applied to float values.

Maybe. Given the looseness of the phrasing I expect signext vs anyext just
wasn't thought about.

First of all, many thanks for such a detailed response. I'm completely happy
with seeing the psABI doc updated so that floats passed via the integer calling
convention are anyext. On the LLVM side, I think it's actually not too
difficult to enforce sign-extension of floats passed in -mabi=lp64. But there's
definitely effort in thoroughly testing it works in all cases. Plus changing
nothing is even simpler.

I also don't see value in enforcing that floats are sign-extended. Lets fix the
psABI docs. I've made a PR to do so
https://github.com/riscv/riscv-elf-psabi-doc/pull/82
>From gcc-bugs-return-618608-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 00:02:59 2018
Return-Path: <gcc-bugs-return-618608-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92309 invoked by alias); 24 Oct 2018 00:02:58 -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 92209 invoked by uid 48); 24 Oct 2018 00:02:53 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87689] Memory corruption on Power 8
Date: Wed, 24 Oct 2018 00:02: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: 7.1.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
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-87689-4-NBfjxbz1KN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87689-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87689-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg01990.txt.bz2
Content-length: 932

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87689

--- Comment #5 from Segher Boessenkool <segher at gcc dot gnu.org> ---
No, doesn't ring bells.  But I have some more input:

I couldn't get it to fail on powerpc64-linux.
It fails on powerpc64le-linux only if the second file is compiled with -O0.

As output I get just

$ ./87689 |xxd -g1
0000000: 20 20 20 20 20 20 20 20 20 20 20 31 20 20 20 20             1    
0000010: 20 20 20 20 20 20 20 32 20 20 20 20 20 20 20 20         2        
0000020: 20 20 20 33 20 20 20 20 20 20 20 20 20 20 20 34     3           4
0000030: 20 20 20 20 20 20 20 20 20 20 20 35 20 20 20 20             5    
0000040: 20 20 20 20 20 20 20 30 0a 20 00 0a 20 66 6f 6f         0. .. foo
0000050: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0000060: 20 0a

so no weird characters other than a zero byte.
>From gcc-bugs-return-618609-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 00:09:51 2018
Return-Path: <gcc-bugs-return-618609-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98648 invoked by alias); 24 Oct 2018 00:09:50 -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 98590 invoked by uid 48); 24 Oct 2018 00:09:46 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/87716] New: [9 Regression] FAIL: gcc.target/i386/pr57193.c scan-assembler-times movdqa 2
Date: Wed, 24 Oct 2018 00:09:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-87716-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg01991.txt.bz2
Content-length: 822

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87716

            Bug ID: 87716
           Summary: [9 Regression] FAIL: gcc.target/i386/pr57193.c
                    scan-assembler-times movdqa 2
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: segher at gcc dot gnu.org
  Target Milestone: ---

On x86, r265398 caused:

FAIL: gcc.target/i386/pr57193.c scan-assembler-times movdqa 2

        movdqa  (%rdi), %xmm2
        pavgb   (%rsi), %xmm2
        movdqa  %xmm0, %xmm3 <<<?
        movdqa  %xmm2, %xmm0 <<<?
        punpckhbw       %xmm1, %xmm2
        punpcklbw       %xmm1, %xmm0
>From gcc-bugs-return-618610-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 00:25:23 2018
Return-Path: <gcc-bugs-return-618610-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115736 invoked by alias); 24 Oct 2018 00:25:03 -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 115588 invoked by uid 89); 24 Oct 2018 00:24:56 -0000
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=1.4 required=5.0 testsºYES_50,FREEMAIL_FROM,HTML_MESSAGE,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_NONE,RCVD_IN_IADB_DK,RCVD_IN_IADB_LISTED,RCVD_IN_IADB_RDNS,RCVD_IN_IADB_SENDERID,RCVD_IN_IADB_SPF,SPF_HELO_PASS,SPF_PASS,TIME_LIMIT_EXCEEDED,URIBL_GREY autolearn=unavailable version=3.3.2 spammy`000, dubai, Dubai, Middle
X-HELO: mail216.suw101.mcdlv.net
Received: from mail216.suw101.mcdlv.net (HELO mail216.suw101.mcdlv.net) (198.2.184.216) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 24 Oct 2018 00:24:42 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=k1; d=mail216.suw101.mcdlv.net; h=Subject:From:Reply-To:To:Date:Message-ID:List-ID:List-Unsubscribe: Content-Type:MIME-Version; bh]MbRGyCFD4dgwRzVT4akvqTeuJHaeZS59+YmhVP4mc=; b=csdBKUYxVXTxTEJXgLMr/wJszqYu80IvYZuruGT9GCKbdJG/6vndIYDiBJdjb2DLrNp15lYouGm8   DwnorsZdFxWdEFrIO5+0y+quCy1BS+XXyCWwWNBvc341bbgsFvaxJGI9t9ZOUcrNguF/p6NxzAuH   ZW7VKMoS6zVZLj/YsooReceived: from (127.0.0.1) by mail216.suw101.mcdlv.net id hputs82ddl4c for <gcc-bugs@gcc.gnu.org>; Wed, 24 Oct 2018 00:24:25 +0000 (envelope-from <bounce-mc.us19_103073230.86597-gcc-bugs=gcc.gnu.org@mail216.suw101.mcdlv.net>)
Subject: =?utf-8?Q?SAP Business One Demo at your offices?From: =?utf-8?Q?Procons-4it?= <GFCsarl@gmail.com>
Reply-To:  <GFCsarl@gmail.com>
To: <gcc-bugs@gcc.gnu.org>
Date: Wed, 24 Oct 2018 00:25:00 -0000
Message-ID: <90bac0906b280fc6945d7b273.9a0a13d120.20181024002349.5428d1b656.06a99d12@mail216.suw101.mcdlv.net>
X-campaignid: mailchimp90bac0906b280fc6945d7b273.5428d1b656
X-Report-Abuse: Please report abuse for this campaign here: https://mailchimp.com/contact/abuse/?ubac0906b280fc6945d7b273&idT28d1b656&eš0a13d120
X-MC-User: 90bac0906b280fc6945d7b273
X-Accounttype: pd
X-Original-Sender: GFCsarl@gmail.com
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format="fixed"
Content-Transfer-Encoding: quoted-printable
X-SW-Source: 2018-10/txt/msg01992.txt.bz2
Content-length: 2267

Dear Business Partner,



ProCons4IT team in Lebanon is glad to schedule a demo of SAP Business One complete ERP software solution at your offices to showcase how it can help you cope with digital transformation.



ProCons 4IT is the largest SAP Business One partner in Middle East and TOP 10 globally with more than 50 consultants across all its offices. SAP Business One is the ideal integrated ERP software solution on Premise or Cloud for Small to Medium companies around the world with more than 50 clients in Lebanon and 60,000 worldwide. It manages all your business from Finance, Accounting, Sales, Stock, Inventory to Warehouse, production, HR & Payroll all in one screen.



Please reply to this message with your preferred date/time and will be happy to contact you asap to confirm accordingly.



We look forward to meeting with you very soon.



Warm Regards,



ProCons 4IT Team.

Run better with SAP. Run simple with SAP Business One.



Procons 4 IT
Al Moudir Bldg, 3^rd Floor, Jal El Dib
Beirut, Lebanon

Phone : +961 4 725601 (tel:+96120420725601) /2/3
www.procons-4it.com (https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.procons-4it.com%2F&data=02%7C01%7Ctarek.hamdan%40procons-4it.com%7Ccdcba7b8ef6b4cebf7ea08d62e778721%7C5cab5bf6d1834be397b42a5ff8c5d330%7C1%7C0%7C636747488251771984&sdata=QhHZaB%2BjUNdyzzbdvFQYzNgmVSas8qlaw1VbNSXvPyU%3D&reserved=0)

ProCons      sap

SAP Master Value Added Reseller (VAR)
Lebanon, Dubai, KSA, Kuwait, Qatar, Oman

sap

To Stop Receiving our email please reply with REMOVE
You received this email because you are in GFC.media (https://gfc.media/)  newsletter list

This email was sent to gcc-bugs@gcc.gnu.org (mailto:gcc-bugs@gcc.gnu.org)
why did I get this? (https://battleparkae.us19.list-manage.com/about?u=90bac0906b280fc6945d7b273&id=4a9f8b0547&e=9a0a13d120&c=5428d1b656)     unsubscribe from this list (https://battleparkae.us19.list-manage.com/unsubscribe?u=90bac0906b280fc6945d7b273&id=4a9f8b0547&e=9a0a13d120&c=5428d1b656)     update subscription preferences (https://battleparkae.us19.list-manage.com/profile?u=90bac0906b280fc6945d7b273&id=4a9f8b0547&e=9a0a13d120)
BP AE . UAE . Dubai  . United Arab Emirates
>From gcc-bugs-return-618611-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 00:28:17 2018
Return-Path: <gcc-bugs-return-618611-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18922 invoked by alias); 24 Oct 2018 00:28:17 -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 18812 invoked by uid 48); 24 Oct 2018 00:28:13 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/87717] New: [9 Regression] FAIL: gcc.target/i386/avx512vl-concatv2si-1.c scan-assembler vpunpckldq[^\n\r]*%xmm17[^\n\r]*%xmm16[^\n\r]*%xmm3
Date: Wed, 24 Oct 2018 00:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcctarget
Message-ID: <bug-87717-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg01993.txt.bz2
Content-length: 1429

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87717

            Bug ID: 87717
           Summary: [9 Regression] FAIL:
                    gcc.target/i386/avx512vl-concatv2si-1.c scan-assembler
                    vpunpckldq[^\n\r]*%xmm17[^\n\r]*%xmm16[^\n\r]*%xmm3
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: segher at gcc dot gnu.org
  Target Milestone: ---
            Target: x86-64

On x86-64, r265398 caused:

FAIL: gcc.target/i386/avx512vl-concatv2si-1.c scan-assembler
vpunpckldq[^\n\r]*%xmm17[^\n\r]*%xmm16[^\n\r]*%xmm3

Before:

f1:
.LFB0:
        .cfi_startproc
        movl    %edi, -4(%rsp)
        vmovd   -4(%rsp), %xmm16
        movl    %esi, -4(%rsp)
        vmovd   -4(%rsp), %xmm17
        vpunpckldq      %xmm17, %xmm16, %xmm3
        ret
        .cfi_endproc
.LFE0:
        .size   f1, .-f1

After:

f1:
.LFB0:
        .cfi_startproc
        movl    %edi, -4(%rsp)
        vmovd   -4(%rsp), %xmm16
        movl    %esi, -4(%rsp)
        vmovd   -4(%rsp), %xmm17
        vmovd   %xmm17, %eax
        vmovdqa32       %zmm16, %zmm0
        vmovd   %xmm16, -4(%rsp)
        vpinsrd $1, %eax, %xmm0, %xmm3
        ret
        .cfi_endproc
.LFE0:
        .size   f1, .-f1
>From gcc-bugs-return-618612-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 00:32:09 2018
Return-Path: <gcc-bugs-return-618612-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71080 invoked by alias); 24 Oct 2018 00:32:09 -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 71017 invoked by uid 48); 24 Oct 2018 00:32:05 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/87718] New: [9 Regression] FAIL: gcc.target/i386/avx512dq-concatv2si-1.c
Date: Wed, 24 Oct 2018 00:32:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcctarget
Message-ID: <bug-87718-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg01994.txt.bz2
Content-length: 1633

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87718

            Bug ID: 87718
           Summary: [9 Regression] FAIL:
                    gcc.target/i386/avx512dq-concatv2si-1.c
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: segher at gcc dot gnu.org
  Target Milestone: ---
            Target: x86-64

On x86, r265398 caused:

FAIL: gcc.target/i386/avx512dq-concatv2si-1.c scan-assembler-times
vpinsrd[^\n\r]*\\$1[^\n\r]*%xmm16[^\n\r]*%xmm3 2
FAIL: gcc.target/i386/avx512dq-concatv2si-1.c scan-assembler
vpunpckldq[^\n\r]*%xmm17[^\n\r]*%xmm16[^\n\r]*%xmm3

Before:

        .file   "avx512dq-concatv2si-1.c"
        .text
        .p2align 4
        .globl  f1
        .type   f1, @function
f1:
.LFB0:
        .cfi_startproc
        movl    %edi, -4(%rsp)
        vmovd   -4(%rsp), %xmm16
        movl    %esi, -4(%rsp)
        vmovd   -4(%rsp), %xmm17
        vpunpckldq      %xmm17, %xmm16, %xmm3
        ret
        .cfi_endproc
.LFE0:
        .size   f1, .-f1

After:

        .file   "avx512dq-concatv2si-1.c"
        .text
        .p2align 4
        .globl  f1
        .type   f1, @function
f1:
.LFB0:
        .cfi_startproc
        movl    %edi, -4(%rsp)
        vmovd   -4(%rsp), %xmm16
        movl    %esi, -4(%rsp)
        vmovd   -4(%rsp), %xmm17
        vmovd   %xmm17, %eax
        vpinsrd $1, %eax, %xmm16, %xmm3
        ret
        .cfi_endproc
.LFE0:
        .size   f1, .-f1
>From gcc-bugs-return-618613-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 01:20:02 2018
Return-Path: <gcc-bugs-return-618613-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54381 invoked by alias); 24 Oct 2018 01:20:02 -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 54224 invoked by uid 48); 24 Oct 2018 01:19:57 -0000
From: "headch at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug inline-asm/63900] memory constrains needlessly doing memory clobber
Date: Wed, 24 Oct 2018 01:20:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: inline-asm
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords: documentation
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: headch at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
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-63900-4-Rb4CCS36t0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63900-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63900-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg01995.txt.bz2
Content-length: 1408

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63900

--- Comment #9 from Christopher Head <headch at gmail dot com> ---
I had to use slightly different code because I only have an ARM cross-compiler
version 8.2.0 installed, so I used this:

void g(unsigned char x);

struct MyStruct {
        char foo[8];
};

unsigned char buffer[100], buffer2[100];

void f(void) {
        buffer2[5] = 'X';
        struct MyStruct *p = (void *) buffer;
        asm volatile("nop" : "=m" (*p));
        g(buffer2[5]);
}

No matter what I changed the size of the foo array in MyStruct to (I tried 8,
15, 13, and 257), this was always the disassembly:

00000000 <f>:
   0:   4a03            ldr     r2, [pc, #12]   ; (10 <f+0x10>)
   2:   2058            movs    r0, #88 ; 0x58
   4:   4b03            ldr     r3, [pc, #12]   ; (14 <f+0x14>)
   6:   7150            strb    r0, [r2, #5]
   8:   bf00            nop
   a:   f7ff bffe       b.w     0 <g>
                        a: R_ARM_THM_JUMP24     g
   e:   bf00            nop

Notice that r0 is loaded at offset 2, then passed into g at offset a, and is
not reloaded from the array. If I change the asm to have a full memory clobber,
an ldrb is inserted between the nop and the b.w, as expected, since then
buffer2 is also clobbered.

So, doesn’t this mean that it *is* properly clobbering only buffer, not
buffer2, regardless of the size of foo?
>From gcc-bugs-return-618614-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 01:21:39 2018
Return-Path: <gcc-bugs-return-618614-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56230 invoked by alias); 24 Oct 2018 01:21:39 -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 56194 invoked by uid 48); 24 Oct 2018 01:21:35 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/87716] [9 Regression] FAIL: gcc.target/i386/pr57193.c scan-assembler-times movdqa 2
Date: Wed, 24 Oct 2018 01:21:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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-87716-4-qxM7mFIVi8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87716-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87716-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg01996.txt.bz2
Content-length: 524

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87716

--- Comment #1 from Segher Boessenkool <segher at gcc dot gnu.org> ---
A slightly older compiler gave

test1:
        movdqa  (%rdi), %xmm2
        pavgb   (%rsi), %xmm2
        movdqa  %xmm2, %xmm3
        punpckhbw       %xmm1, %xmm2
        punpcklbw       %xmm1, %xmm3
        pmulhuw %xmm0, %xmm2
        pmulhuw %xmm0, %xmm3
        packuswb        %xmm2, %xmm3
        movaps  %xmm3, (%rdx)
        ret

What is so super strange about the current generated code?
>From gcc-bugs-return-618615-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 01:37:20 2018
Return-Path: <gcc-bugs-return-618615-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45613 invoked by alias); 24 Oct 2018 01:37:20 -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 45553 invoked by uid 48); 24 Oct 2018 01:37:15 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/87716] [9 Regression] FAIL: gcc.target/i386/pr57193.c scan-assembler-times movdqa 2
Date: Wed, 24 Oct 2018 01:37:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on target_milestone everconfirmed
Message-ID: <bug-87716-4-G3xbXr1kdm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87716-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87716-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg01997.txt.bz2
Content-length: 1003

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87716

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-10-24
   Target Milestone|---                         |9.0
     Ever confirmed|0                           |1

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
We currently generate:

test1:
        movdqa  (%rdi), %xmm2
        pavgb   (%rsi), %xmm2
        movdqa  %xmm0, %xmm3
        movdqa  %xmm2, %xmm0
        punpckhbw       %xmm1, %xmm2
        punpcklbw       %xmm1, %xmm0
        pmulhuw %xmm3, %xmm2
        pmulhuw %xmm3, %xmm0
        packuswb        %xmm2, %xmm0
        movaps  %xmm0, (%rdx)
        ret

One of

        movdqa  %xmm0, %xmm3
        movdqa  %xmm2, %xmm0

is redundant. We should generate

        movdqa  %xmm2, %xmm3
>From gcc-bugs-return-618616-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 02:04:38 2018
Return-Path: <gcc-bugs-return-618616-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10934 invoked by alias); 24 Oct 2018 02:04:38 -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 10856 invoked by uid 48); 24 Oct 2018 02:04:33 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/87719] New: missing warning on printf %s and unterminated array
Date: Wed, 24 Oct 2018 02:04:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-87719-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg01998.txt.bz2
Content-length: 1144

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87719

            Bug ID: 87719
           Summary: missing warning on printf %s and unterminated array
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: msebor at gcc dot gnu.org
  Target Milestone: ---

GCC 9 issues an unterminated array warning for calls to sprintf but not for the
equivalent calls to printf (of fprintf):

$ cat t.c && gcc -O2 -S  -Wall t.c
const char a[] = { 'a', 'b' };

void f (char *d)
{
  __builtin_sprintf (d, "%s", a);   // warning, good
}

void g (void)
{
  __builtin_printf ("%s", a);   // missing warning
}
t.c: In function ‘f’:
t.c:5:26: warning: ‘%s’ directive argument is not a nul-terminated string
[-Wformat-overflow=]
    5 |   __builtin_sprintf (d, "%s", a);   // warning, good
      |                          ^~   ~
t.c:1:12: note: referenced argument declared here
    1 | const char a[] = { 'a', 'b' };
      |            ^
>From gcc-bugs-return-618617-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 05:06:27 2018
Return-Path: <gcc-bugs-return-618617-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42452 invoked by alias); 24 Oct 2018 05:06:27 -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 42394 invoked by uid 48); 24 Oct 2018 05:06:22 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/59658] Document -f* flags enabled by -Og
Date: Wed, 24 Oct 2018 05:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords: documentation
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
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-59658-4-pTOylM2MAp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59658-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59658-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg01999.txt.bz2
Content-length: 578

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59658

--- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #1)
> But it might be misleading (similar to -O0 vs -O2) - enabling for example
> -ftree-pre won't enable PRE for -Og as it has a completely different
> pass pipeline which is not based on -O[123].  Those enumerations are only
> relevant for the 'numbered' optimization levels (excluding -O0).
> 
> So we miss to filter options in --help optimizers that can be enabled at all.

It's a place to start at least.
>From gcc-bugs-return-618618-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 05:51:50 2018
Return-Path: <gcc-bugs-return-618618-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129116 invoked by alias); 24 Oct 2018 05:51:49 -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 129022 invoked by uid 48); 24 Oct 2018 05:51:44 -0000
From: "m.diehl at mpie dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87707] actual argument to assumed type dummy argument (i.e. type(*)) cannot have type-bound procedures
Date: Wed, 24 Oct 2018 05:51: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: 8.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: m.diehl at mpie dot de
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
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: bug_status resolution
Message-ID: <bug-87707-4-PBpDH2jGeA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87707-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87707-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02000.txt.bz2
Content-length: 741

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87707

Martin Diehl <m.diehl at mpie dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Martin Diehl <m.diehl at mpie dot de> ---
Contrary to my previous statement, the behavior of gfortran is in agreement
eith the F2018 draft.
15.5.2.4 (Argument association > Ordinary dummy variables) states:

"If the actual argument is of a derived type that has type parameters,
type-bound procedures, or final subroutines, the dummy argument shall not be
assumed type."
>From gcc-bugs-return-618619-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 06:37:34 2018
Return-Path: <gcc-bugs-return-618619-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54188 invoked by alias); 24 Oct 2018 06:37:34 -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 54167 invoked by uid 89); 24 Oct 2018 06:37:33 -0000
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=1.4 required=5.0 testsºYES_50,FREEMAIL_FROM,HTML_MESSAGE,KAM_SHORT,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_NONE,RCVD_IN_IADB_DK,RCVD_IN_IADB_LISTED,RCVD_IN_IADB_RDNS,RCVD_IN_IADB_SENDERID,RCVD_IN_IADB_SPF,SPF_HELO_PASS,SPF_PASS,T_END_FUTURE_EMAILS,URIBL_GREY autolearn=no version=3.3.2 spammy=dubai, Dubai, REMOVE, UD:open.php
X-HELO: mail77.sea31.mcsv.net
Received: from mail77.sea31.mcsv.net (HELO mail77.sea31.mcsv.net) (148.105.11.77) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 24 Oct 2018 06:37:30 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=k1; d=mail77.sea31.mcsv.net; h=Subject:From:Reply-To:To:Date:Message-ID:List-ID:List-Unsubscribe: Content-Type:MIME-Version; bh=CUh8nK7jc/f/CMtXxEk3WSnt0PILLUiF+wmmGPxK5jU=; b=GhIoyGOKEGi2L8zJcBr0DTBNiah1IjygcXiuwFSTE6pXvx3cZsN42f8fgaV0Gq9Fe8L5y/Gf82fP   VqshVwAnnC2ShPPI3i44o1vEMmnzjgGgBmzt0Wd4wGAawd9wP/1aJoW9lYs9UsZ2mYibNdAv36DQ   n4l1J/nTHW7p+BIyFTsReceived: from (127.0.0.1) by mail77.sea31.mcsv.net id hq09ik2ddl4n for <gcc-bugs@gcc.gnu.org>; Wed, 24 Oct 2018 06:37:21 +0000 (envelope-from <bounce-mc.us19_103073230.77515-gcc-bugs=gcc.gnu.org@mail77.sea31.mcsv.net>)
Subject: =?utf-8?Q?Make your AutoCad Experience More Awesome with HP Z Workstation!?From: =?utf-8?Q?Logicom?= <gfcsarl@gmail.com>
Reply-To:  <gfcsarl@gmail.com>
To: <gcc-bugs@gcc.gnu.org>
Date: Wed, 24 Oct 2018 06:37:00 -0000
Message-ID: <90bac0906b280fc6945d7b273.9a0a13d120.20181024063642.7c55a2168d.f22f1941@mail77.sea31.mcsv.net>
X-campaignid: mailchimp90bac0906b280fc6945d7b273.7c55a2168d
X-Report-Abuse: Please report abuse for this campaign here: https://mailchimp.com/contact/abuse/?ubac0906b280fc6945d7b273&id|55a2168d&eš0a13d120
X-MC-User: 90bac0906b280fc6945d7b273
X-Accounttype: pd
X-Original-Sender: gfcsarl@gmail.com
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format="fixed"
Content-Transfer-Encoding: quoted-printable
X-SW-Source: 2018-10/txt/msg02001.txt.bz2
Content-length: 1351

Logicom | Autodesk
Make your AutoCad Experience More Awesome with HP Z Workstation!
https://gfcmedia.com/wp-content/uploads/2018/10/18.10.12-adsk_hp.pdf
email: marketing@logicom-me.net (mailto:marketing@logicom-me.net)  Tel: (+961) 1 698 220 (tel:+9611698220)
Dekwaneh, Industrial Zone, Maurice Jabra Bldg, GF
To Stop Receiving our email please reply with REMOVE
this email was sent by GFC.media (https://gfc.media/)

https://gfc.media/
Know more about how you can reach more clients
visit www.GFCmedia.com (http://www.gfcmedia.com/email)  or call
Beirut (+961) 70 6 58 666  Dubai (+971) 5 6666 5 338

Disclaimer: GFC is not responsible for any contents linked to this email, as they are only related to the advertiser and do not represent GFC in any way.

This email was sent to gcc-bugs@gcc.gnu.org (mailto:gcc-bugs@gcc.gnu.org)
why did I get this? (https://battleparkae.us19.list-manage.com/about?u=90bac0906b280fc6945d7b273&id=4a9f8b0547&e=9a0a13d120&c=7c55a2168d)     unsubscribe from this list (https://battleparkae.us19.list-manage.com/unsubscribe?u=90bac0906b280fc6945d7b273&id=4a9f8b0547&e=9a0a13d120&c=7c55a2168d)     update subscription preferences (https://battleparkae.us19.list-manage.com/profile?u=90bac0906b280fc6945d7b273&id=4a9f8b0547&e=9a0a13d120)
BP AE . UAE . Dubai  . United Arab Emirates
>From gcc-bugs-return-618620-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 06:54:01 2018
Return-Path: <gcc-bugs-return-618620-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127375 invoked by alias); 24 Oct 2018 06:54:01 -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 124154 invoked by uid 55); 24 Oct 2018 06:53:56 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/87665] [6/7/8/9 Regression] gcc HEAD (svn: 265340) breaks elements on resize
Date: Wed, 24 Oct 2018 06:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: needs-bisection, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87665-4-F9gNnemS0v@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87665-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87665-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02002.txt.bz2
Content-length: 661

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87665

--- Comment #15 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Oct 24 06:52:45 2018
New Revision: 265452

URL: https://gcc.gnu.org/viewcvs?rev=265452&root=gcc&view=rev
Log:
2018-10-24  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/87665
        * tree-vect-data-refs.c (vect_preserves_scalar_order_p): Adjust
        to reflect reality.

        * gcc.dg/torture/pr87665.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr87665.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-data-refs.c
>From gcc-bugs-return-618621-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 06:55:20 2018
Return-Path: <gcc-bugs-return-618621-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42640 invoked by alias); 24 Oct 2018 06:55:20 -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 38731 invoked by uid 55); 24 Oct 2018 06:55:13 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/87665] [6/7/8/9 Regression] gcc HEAD (svn: 265340) breaks elements on resize
Date: Wed, 24 Oct 2018 06:55:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: needs-bisection, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87665-4-fN83aC6vH0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87665-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87665-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02003.txt.bz2
Content-length: 725

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87665

--- Comment #16 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Oct 24 06:53:57 2018
New Revision: 265453

URL: https://gcc.gnu.org/viewcvs?rev=265453&root=gcc&view=rev
Log:
2018-10-24  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/87665
        * tree-vect-data-refs.c (vect_preserves_scalar_order_p): Adjust
        to reflect reality.

        * gcc.dg/torture/pr87665.c: New testcase.

Added:
    branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr87665.c
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
    branches/gcc-8-branch/gcc/tree-vect-data-refs.c
>From gcc-bugs-return-618622-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 06:56:01 2018
Return-Path: <gcc-bugs-return-618622-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74877 invoked by alias); 24 Oct 2018 06:56:00 -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 59360 invoked by uid 48); 24 Oct 2018 06:55:42 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/87665] [6/7 Regression] gcc HEAD (svn: 265340) breaks elements on resize
Date: Wed, 24 Oct 2018 06:56:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: needs-bisection, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_known_to_work short_desc cf_known_to_fail
Message-ID: <bug-87665-4-okqPvr2KJ2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87665-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87665-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02004.txt.bz2
Content-length: 674

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87665

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |8.2.1, 9.0
            Summary|[6/7/8/9 Regression] gcc    |[6/7 Regression] gcc HEAD
                   |HEAD (svn: 265340) breaks   |(svn: 265340) breaks
                   |elements on resize          |elements on resize
      Known to fail|9.0                         |

--- Comment #17 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed on trunk and GCC 8 branch for now.
>From gcc-bugs-return-618623-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 06:57:46 2018
Return-Path: <gcc-bugs-return-618623-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117053 invoked by alias); 24 Oct 2018 06:57:42 -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 86185 invoked by uid 48); 24 Oct 2018 06:56:14 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/87665] [6/7 Regression] gcc HEAD (svn: 265340) breaks elements on resize
Date: Wed, 24 Oct 2018 06:57:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords priority
Message-ID: <bug-87665-4-2jSaJiAB6s@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87665-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87665-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02005.txt.bz2
Content-length: 342

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87665

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|needs-bisection             |
           Priority|P3                          |P2
>From gcc-bugs-return-618624-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 07:07:11 2018
Return-Path: <gcc-bugs-return-618624-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69227 invoked by alias); 24 Oct 2018 07:07:11 -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 69088 invoked by uid 48); 24 Oct 2018 07:07:06 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/87708] [9 Regression] ira-shrinkwrap-prep-[12].c testcases fail after r265398
Date: Wed, 24 Oct 2018 07:07:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on version target_milestone short_desc everconfirmed
Message-ID: <bug-87708-4-i1FcdQTHhp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87708-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87708-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02006.txt.bz2
Content-length: 926

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87708

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-10-24
            Version|unknown                     |9.0
   Target Milestone|---                         |9.0
            Summary|ira-shrinkwrap-prep-[12].c  |[9 Regression]
                   |testcases fail after        |ira-shrinkwrap-prep-[12].c
                   |r265398                     |testcases fail after
                   |                            |r265398
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.
>From gcc-bugs-return-618625-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 07:21:55 2018
Return-Path: <gcc-bugs-return-618625-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71207 invoked by alias); 24 Oct 2018 07:21:54 -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 71163 invoked by uid 48); 24 Oct 2018 07:21:50 -0000
From: "paul.hua.gm at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug regression/87720] New: [MIPS] ICE: gcc.c-torture/execute/builtins/lib/chk.c:33:1: in int_mode_for_mode, at stor-layout.c:403 after r265398
Date: Wed, 24 Oct 2018 07:21:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: regression
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paul.hua.gm at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created
Message-ID: <bug-87720-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02007.txt.bz2
Content-length: 8570

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87720

            Bug ID: 87720
           Summary: [MIPS] ICE:
                    gcc.c-torture/execute/builtins/lib/chk.c:33:1: in
                    int_mode_for_mode, at stor-layout.c:403 after r265398
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: regression
          Assignee: unassigned at gcc dot gnu.org
          Reporter: paul.hua.gm at gmail dot com
  Target Milestone: ---

Created attachment 44885
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44885&action=edit
preprocessed .i file

/home/xuchenghua/GCC/test/gcc-r265420_obj/gcc/cc1 -fpreprocessed
memcpy-chk-lib.i -mel -quiet -dumpbase memcpy-chk-lib.c -march=mips64r2
-mabi=64 -mllsc -mips64r2 -mno-shared -auxbase memcpy-chk-lib -O1 -w -version
-fdiagnostics-color=never -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fno-tree-loop-distribute-patterns
-fno-tracer -o memcpy-chk-lib.s                                                 
GNU C17 (gcc trunk r265420 with mips64r2 n64) version 9.0.0 20181023
(experimental) (mips64el-linux-gnu)                                            
                                                                               
                                                             compiled by GNU C
version 9.0.0 20181023 (experimental), GMP version 6.1.2, MPFR version 3.1.5,
MPC version 1.0.3, isl version none                                             
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096        
                                                                               
                                                                               
                                          GNU C17 (gcc trunk r265420 with
mips64r2 n64) version 9.0.0 20181023 (experimental) (mips64el-linux-gnu)       
                                                                               
                                                                               
                  compiled by GNU C version 9.0.0 20181023 (experimental), GMP
version 6.1.2, MPFR version 3.1.5, MPC version 1.0.3, isl version none          
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096         
Compiler executable checksum: 7ce7412cdce432471eecf7d33f867911                  
during RTL pass: combine                                                        
In file included from
/home/xuchenghua/GCC/gcc_git_trunk/gcc/testsuite/gcc.c-torture/execute/builtins/memcpy-chk-lib.c:1: 
/home/xuchenghua/GCC/gcc_git_trunk/gcc/testsuite/gcc.c-torture/execute/builtins/lib/chk.c:
In function ‘__chk_fail’:                                                       
/home/xuchenghua/GCC/gcc_git_trunk/gcc/testsuite/gcc.c-torture/execute/builtins/lib/chk.c:33:1:
internal compiler error: in int_mode_for_mode, at stor-layout.c:403             
0x12089698f int_mode_for_mode(machine_mode)                                     
        ../../../gcc_git_trunk/gcc/stor-layout.c:403                            
0x120462cff emit_move_via_integer                                               
        ../../../gcc_git_trunk/gcc/expr.c:3361                                  
0x120473a43 emit_move_insn_1(rtx_def*, rtx_def*)                                
        ../../../gcc_git_trunk/gcc/expr.c:3722                                  
0x12047b50f gen_move_insn(rtx_def*, rtx_def*)                                   
        ../../../gcc_git_trunk/gcc/expr.c:3810                                  
0x12104b303 make_more_copies                                                    
        ../../../gcc_git_trunk/gcc/combine.c:14969                              
0x12104b303 rest_of_handle_combine                                             
                                                                               
                                                                               
                                                 
../../../gcc_git_trunk/gcc/combine.c:14984                                      
0x12104b303 execute                                                            
                                                                               
                                                                               
                                                 
../../../gcc_git_trunk/gcc/combine.c:15039                                      
Please submit a full bug report,                                                
with preprocessed source if appropriate.                                        
Please include the complete backtrace with any bug report.                      
See <https://gcc.gnu.org/bugs/> for instructions.
>From gcc-bugs-return-618626-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 07:24:02 2018
Return-Path: <gcc-bugs-return-618626-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73397 invoked by alias); 24 Oct 2018 07:24:01 -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 73299 invoked by uid 48); 24 Oct 2018 07:23:56 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/87698] [lto] Shared library build with -ffat-lto-objects generates extra global absolute symbol relocations
Date: Wed, 24 Oct 2018 07:24:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: lto
X-Bugzilla-Version: 8.2.1
X-Bugzilla-Keywords: lto
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
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: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-87698-4-ggPq85idNe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87698-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87698-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02008.txt.bz2
Content-length: 1026

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87698

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-10-24
                 CC|                            |hjl at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.

The linker resolution fed to the WPA stage is the same.

The issue goes away when not using -g or when using gold as the linker.

HJ, this looks like a BFD linker issue to me - not sure where that
.dynsym for 'f' comes from.  It looks like being a left-over from the
fat object part but it's weird that it only happens with -g (maybe
the fat debug somehow keeps it live).  There is a .rela.text relocation
in test2.o (fat) to f.  But a ABS dynsym is weird in any case.
>From gcc-bugs-return-618627-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 07:25:02 2018
Return-Path: <gcc-bugs-return-618627-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80243 invoked by alias); 24 Oct 2018 07:25:02 -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 79971 invoked by uid 48); 24 Oct 2018 07:24:50 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87714] [8/9 Regression] ICE on valid C++ code: in type_dependent_expression_p, at cp/pt.c:25178
Date: Wed, 24 Oct 2018 07:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.2.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority
Message-ID: <bug-87714-4-jFmTh39d04@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87714-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87714-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02009.txt.bz2
Content-length: 292

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87714

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
>From gcc-bugs-return-618629-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 07:27:50 2018
Return-Path: <gcc-bugs-return-618629-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89551 invoked by alias); 24 Oct 2018 07:27:49 -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 89477 invoked by uid 48); 24 Oct 2018 07:27:46 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/87718] [9 Regression] FAIL: gcc.target/i386/avx512dq-concatv2si-1.c
Date: Wed, 24 Oct 2018 07:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: missed-optimization, ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on target_milestone everconfirmed
Message-ID: <bug-87718-4-6zIzszFIyK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87718-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87718-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02011.txt.bz2
Content-length: 530

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87718

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization, ra
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-10-24
   Target Milestone|---                         |9.0
     Ever confirmed|0                           |1
>From gcc-bugs-return-618628-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 07:27:21 2018
Return-Path: <gcc-bugs-return-618628-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88673 invoked by alias); 24 Oct 2018 07:27:21 -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 88604 invoked by uid 48); 24 Oct 2018 07:27:17 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/87717] [9 Regression] FAIL: gcc.target/i386/avx512vl-concatv2si-1.c scan-assembler vpunpckldq[^\n\r]*%xmm17[^\n\r]*%xmm16[^\n\r]*%xmm3
Date: Wed, 24 Oct 2018 07:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: missed-optimization, ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on target_milestone everconfirmed
Message-ID: <bug-87717-4-uw4zc3utT2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87717-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87717-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02010.txt.bz2
Content-length: 530

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87717

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization, ra
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-10-24
   Target Milestone|---                         |9.0
     Ever confirmed|0                           |1
>From gcc-bugs-return-618630-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 07:29:32 2018
Return-Path: <gcc-bugs-return-618630-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3151 invoked by alias); 24 Oct 2018 07:29:31 -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 130857 invoked by uid 48); 24 Oct 2018 07:29:27 -0000
From: "paul.hua.gm at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug regression/87720] [MIPS] ICE: gcc.c-torture/execute/builtins/lib/chk.c:33:1: in int_mode_for_mode, at stor-layout.c:403 after r265398
Date: Wed, 24 Oct 2018 07:29:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: regression
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paul.hua.gm at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: cf_gcctarget
Message-ID: <bug-87720-4-JU1Naf2fAz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87720-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87720-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02012.txt.bz2
Content-length: 2013

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87720

Paul Hua <paul.hua.gm at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |mips

--- Comment #1 from Paul Hua <paul.hua.gm at gmail dot com> ---
This can be reproduced by cross-compiler.

configure with:
../configure --target=mips64el-linux-gnu --enable-languages=c,c++

and simple test case:

$ cat longjmp.i
# 1 "longjmp.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 31 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 32 "<command-line>" 2
# 1 "longjmp.c"
# 16 "longjmp.c"
typedef void *jmp_buf;
jmp_buf buf;



void do_jump(void) {
  __builtin_longjmp(buf, 1);
}



void f(void);

void do_setjmp(void) {
  if (!__builtin_setjmp(buf))
    f();
}


gcc/cc1 -fpreprocessed longjmp.i -mel -quiet -dumpbase longjmp.c
-march=mips64r2 -mllsc -mno-madd4 -mips64r2 -mabi=64 -auxbase-strip longjmp.o
-O2 -version -o longjmp.s

during RTL pass: combine
longjmp.c: In function ‘do_jump’:
longjmp.c:27:1: internal compiler error: in int_mode_for_mode, at
stor-layout.c:403
   27 | }
      | ^
0x12089698f int_mode_for_mode(machine_mode)
        ../../../gcc_git_trunk/gcc/stor-layout.c:403
0x120462cff emit_move_via_integer
        ../../../gcc_git_trunk/gcc/expr.c:3361
0x120473a43 emit_move_insn_1(rtx_def*, rtx_def*)
        ../../../gcc_git_trunk/gcc/expr.c:3722
0x12047b50f gen_move_insn(rtx_def*, rtx_def*)
        ../../../gcc_git_trunk/gcc/expr.c:3810
0x12104b303 make_more_copies
        ../../../gcc_git_trunk/gcc/combine.c:14969
0x12104b303 rest_of_handle_combine
        ../../../gcc_git_trunk/gcc/combine.c:14984
0x12104b303 execute
        ../../../gcc_git_trunk/gcc/combine.c:15039
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
>From gcc-bugs-return-618632-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 07:42:54 2018
Return-Path: <gcc-bugs-return-618632-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62642 invoked by alias); 24 Oct 2018 07:42:53 -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 59707 invoked by uid 48); 24 Oct 2018 07:42:46 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87269] [9 Regression] ICE in tsubst_copy, at cp/pt.c:15475 starting from r261802
Date: Wed, 24 Oct 2018 07:42:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-87269-4-8OnRtvTxNN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87269-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87269-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02014.txt.bz2
Content-length: 449

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87269

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |larsbj at gullik dot net

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
*** Bug 87463 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-618631-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 07:42:49 2018
Return-Path: <gcc-bugs-return-618631-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61630 invoked by alias); 24 Oct 2018 07:42:48 -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 57302 invoked by uid 48); 24 Oct 2018 07:42:44 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87463] [9 Regression] ICE in in tsubst_copy, at cp/pt.c:15513
Date: Wed, 24 Oct 2018 07:42:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: DUPLICATE
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-87463-4-9PFQZiDWCo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87463-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87463-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02013.txt.bz2
Content-length: 510

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87463

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
I guess it's dup.

*** This bug has been marked as a duplicate of bug 87269 ***
>From gcc-bugs-return-618633-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 07:53:16 2018
Return-Path: <gcc-bugs-return-618633-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 70566 invoked by alias); 24 Oct 2018 07:53:16 -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 70469 invoked by uid 48); 24 Oct 2018 07:53:11 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/84013] wrong __restrict clique with inline asm operand
Date: Wed, 24 Oct 2018 07:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: alias, missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-84013-4-X2nBVzpl8t@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84013-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84013-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02015.txt.bz2
Content-length: 284

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84013

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Created attachment 44886
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44886&action=edit
patch I am testing

Patch I am testing - sorry for the delay.
>From gcc-bugs-return-618634-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 08:36:33 2018
Return-Path: <gcc-bugs-return-618634-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91053 invoked by alias); 24 Oct 2018 08:36:33 -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 90064 invoked by uid 48); 24 Oct 2018 08:36:20 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87721] New: [9 Regression] ICE in linemap_position_for_line_and_column at gcc/libcpp/line-map.c:842 since r265271
Date: Wed, 24 Oct 2018 08:36:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-87721-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02016.txt.bz2
Content-length: 4213

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87721

            Bug ID: 87721
           Summary: [9 Regression] ICE in
                    linemap_position_for_line_and_column at
                    gcc/libcpp/line-map.c:842 since r265271
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: dmalcolm at gcc dot gnu.org
  Target Milestone: ---

Hi.

This is follow up of PR87562 which was introduced by commit that fixed the
issue.
Unfortunately I can't reproduce that with -E -C so that one needs to do
following:

$ wget https://github.com/aqbanking/gwenhywfar/archive/4.20.1.tar.gz
$ tar xvzf 4.20.1.tar.gz
$ cd gwenhywfar-4.20.1
$ autoreconf -ifv && ./configure --with-guis && make -j8
...
make[4]: Entering directory
'/home/marxin/BIG/osc/home:marxin:gcc9-incubator-v1/gwenhywfar/gwenhywfar-4.20.1/src/base'
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
-DGWEN_BUFFER_DEFAULT_HARDLIMIT='(16*1024*1024)' -I. -I../..
-I../../gwenhywfar4 -I../../src/ -I../../src/base -I../../src/gui
-I../../src/io -I../../src/ipc -I../../src/parser   -fvisibility=hidden 
-DBUILDING_GWENHYWFAR -g -O2 -Wall -Wall -MT plugin.lo -MD -MP -MF
.deps/plugin.Tpo -c -o plugin.lo plugin.c
libtool: compile:  gcc -DHAVE_CONFIG_H
"-DGWEN_BUFFER_DEFAULT_HARDLIMIT=(16*1024*1024)" -I. -I../..
-I../../gwenhywfar4 -I../../src/ -I../../src/base -I../../src/gui
-I../../src/io -I../../src/ipc -I../../src/parser -fvisibility=hidden
-DBUILDING_GWENHYWFAR -g -O2 -Wall -Wall -MT plugin.lo -MD -MP -MF
.deps/plugin.Tpo -c plugin.c  -fPIC -DPIC -o .libs/plugin.o
during GIMPLE pass: printf-return-value
plugin.c: In function ‘GWEN_PluginManager_LoadPlugin’:
plugin.c:340:14: internal compiler error: Segmentation fault
  340 | GWEN_PLUGIN *GWEN_PluginManager_LoadPlugin(GWEN_PLUGIN_MANAGER *pm,
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0x11884b4 crash_signal
        /home/marxin/Programming/gcc/gcc/toplev.c:325
0x7ffff6bc310f ???
       
/usr/src/debug/glibc-2.27-6.1.x86_64/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0x1fa1640 linemap_position_for_line_and_column(line_maps*, line_map_ordinary
const*, unsigned int, unsigned int)
        /home/marxin/Programming/gcc/libcpp/line-map.c:842
0x1f7c786 get_substring_ranges_for_loc
        /home/marxin/Programming/gcc/gcc/input.c:1472
0x1f7c903 get_source_location_for_substring(cpp_reader*, string_concat_db*,
unsigned int, cpp_ttype, int, int, int, unsigned int*)
        /home/marxin/Programming/gcc/gcc/input.c:1525
0x972881 c_get_substring_location(substring_loc const&, unsigned int*)
        /home/marxin/Programming/gcc/gcc/c-family/c-common.c:865
0x117dbdf substring_loc::get_location(unsigned int*) const
        /home/marxin/Programming/gcc/gcc/substring-locations.c:284
0x117d70b format_string_diagnostic_t::emit_warning_n_va(int, unsigned long,
char const*, char const*, __va_list_tag (*) [1]) const
        /home/marxin/Programming/gcc/gcc/substring-locations.c:156
0x117da15 format_string_diagnostic_t::emit_warning_va(int, char const*,
__va_list_tag (*) [1]) const
        /home/marxin/Programming/gcc/gcc/substring-locations.c:241
0x1d98d83 fmtwarn
        /home/marxin/Programming/gcc/gcc/gimple-ssa-sprintf.c:472
0x1d9ddfc maybe_warn
        /home/marxin/Programming/gcc/gcc/gimple-ssa-sprintf.c:2529
0x1d9eab3 format_directive
        /home/marxin/Programming/gcc/gcc/gimple-ssa-sprintf.c:2817
0x1da0735 compute_format_length
        /home/marxin/Programming/gcc/gcc/gimple-ssa-sprintf.c:3497
0x1da188a handle_gimple_call
        /home/marxin/Programming/gcc/gcc/gimple-ssa-sprintf.c:3981
0x1da1a21 before_dom_children
        /home/marxin/Programming/gcc/gcc/gimple-ssa-sprintf.c:4020
0x1d262e1 dom_walker::walk(basic_block_def*)
        /home/marxin/Programming/gcc/gcc/domwalk.c:353
0x1da1ac3 execute
        /home/marxin/Programming/gcc/gcc/gimple-ssa-sprintf.c:4046

Feel free to contact me with how to reproduce that.
>From gcc-bugs-return-618635-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 08:56:07 2018
Return-Path: <gcc-bugs-return-618635-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63170 invoked by alias); 24 Oct 2018 08:56:07 -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 62777 invoked by uid 48); 24 Oct 2018 08:56:01 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/87715] problems with asan and -O3 build of ada
Date: Wed, 24 Oct 2018 08:56:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: ada
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: cc
Message-ID: <bug-87715-4-PEfWjgQ6la@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87715-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87715-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02017.txt.bz2
Content-length: 526

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87715

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Interesting, let me try to reproduce that. Note that using -O3 can't be problem
as it's supposed to do only valid code transformations.
>From gcc-bugs-return-618636-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 09:01:14 2018
Return-Path: <gcc-bugs-return-618636-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67237 invoked by alias); 24 Oct 2018 08:57:50 -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 66475 invoked by uid 48); 24 Oct 2018 08:56:54 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87721] [9 Regression] ICE in linemap_position_for_line_and_column at gcc/libcpp/line-map.c:842 since r265271
Date: Wed, 24 Oct 2018 08:57:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on target_milestone everconfirmed cf_known_to_fail
Message-ID: <bug-87721-4-Y61JylcbZr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87721-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87721-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02018.txt.bz2
Content-length: 512

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87721

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-10-24
   Target Milestone|---                         |9.0
     Ever confirmed|0                           |1
      Known to fail|                            |9.0
>From gcc-bugs-return-618637-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 09:05:22 2018
Return-Path: <gcc-bugs-return-618637-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83115 invoked by alias); 24 Oct 2018 09:05:21 -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 83011 invoked by uid 48); 24 Oct 2018 09:05:14 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/87105] Autovectorization [X86, SSE2, AVX2, DoublePrecision]
Date: Wed, 24 Oct 2018 09:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.2.1
X-Bugzilla-Keywords: alias, missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
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-87105-4-4YZIf2jbow@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87105-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87105-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02019.txt.bz2
Content-length: 323

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87105

--- Comment #12 from Richard Biener <rguenth at gcc dot gnu.org> ---
With the duplicate store issue fixed in the vectorizer we run into the SLP
vectorization issue that limits the growth of the SLP tree (yes, it's a tree
and thus tends to grow expontential easily...).
>From gcc-bugs-return-618639-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 09:19:30 2018
Return-Path: <gcc-bugs-return-618639-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130799 invoked by alias); 24 Oct 2018 09:19:30 -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 130716 invoked by uid 48); 24 Oct 2018 09:19:26 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/87722] go bootstrap is broken on armv7l target
Date: Wed, 24 Oct 2018 09:19:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: bootstrap
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_reconfirmed_on target_milestone
Message-ID: <bug-87722-4-2S6iMRdOrL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87722-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87722-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02021.txt.bz2
Content-length: 355

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87722

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2018-10-24
   Target Milestone|---                         |9.0
>From gcc-bugs-return-618638-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 09:19:08 2018
Return-Path: <gcc-bugs-return-618638-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129939 invoked by alias); 24 Oct 2018 09:19:08 -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 129886 invoked by uid 48); 24 Oct 2018 09:19:04 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/87722] New: go bootstrap is broken on armv7l target
Date: Wed, 24 Oct 2018 09:19:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: bootstrap
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-87722-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02020.txt.bz2
Content-length: 3045

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87722

            Bug ID: 87722
           Summary: go bootstrap is broken on armv7l target
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: ian at gcc dot gnu.org
  Target Milestone: ---

I see following:

[ 6365s] checking for catanf... libtool: compile: 
/home/abuild/rpmbuild/BUILD/gcc-9.0.0+r265378/obj-armv7hl-suse-linux-gnueabi/./gcc/gccgo
-B/home/abuild/rpmbuild/BUILD/gcc-9.0.0+r265378/obj-armv7hl-suse-linux-gnueabi/./gcc/
-B/usr/armv7hl-suse-linux-gnueabi/bin/ -B/usr/armv7hl-suse-linux-gnueabi/lib/
-isystem /usr/armv7hl-suse-linux-gnueabi/include -isystem
/usr/armv7hl-suse-linux-gnueabi/sys-include -O2 -g -I . -c
-fgo-pkgpath=math/cmplx ../../../libgo/go/math/cmplx/abs.go
../../../libgo/go/math/cmplx/asin.go ../../../libgo/go/math/cmplx/conj.go
../../../libgo/go/math/cmplx/exp.go ../../../libgo/go/math/cmplx/isinf.go
../../../libgo/go/math/cmplx/isnan.go ../../../libgo/go/math/cmplx/log.go
../../../libgo/go/math/cmplx/phase.go ../../../libgo/go/math/cmplx/polar.go
../../../libgo/go/math/cmplx/pow.go ../../../libgo/go/math/cmplx/rect.go
../../../libgo/go/math/cmplx/sin.go ../../../libgo/go/math/cmplx/sqrt.go
../../../libgo/go/math/cmplx/tan.go  -fPIC -o math/.libs/cmplx.o
[ 6365s] libtool: compile: 
/home/abuild/rpmbuild/BUILD/gcc-9.0.0+r265378/obj-armv7hl-suse-linux-gnueabi/./gcc/gccgo
-B/home/abuild/rpmbuild/BUILD/gcc-9.0.0+r265378/obj-armv7hl-suse-linux-gnueabi/./gcc/
-B/usr/armv7hl-suse-linux-gnueabi/bin/ -B/usr/armv7hl-suse-linux-gnueabi/lib/
-isystem /usr/armv7hl-suse-linux-gnueabi/include -isystem
/usr/armv7hl-suse-linux-gnueabi/sys-include -O2 -g -I . -c
-fgo-pkgpath=internal/testlog ../../../libgo/go/internal/testlog/log.go -o
internal/testlog.o >/dev/null 2>&1
[ 6365s] runtime_sysinfo.go:1672:7: error: redefinition of '_HWCAP_IDIVA'
[ 6365s]  1672 | const _HWCAP_IDIVA = (1 << 17)
[ 6365s]       |       ^
[ 6365s] ../../../libgo/go/runtime/os_linux_arm.go:14:2: note: previous
definition of '_HWCAP_IDIVA' was here
[ 6365s]    14 |  _HWCAP_IDIVA = 1 << 17
[ 6365s]       |  ^
[ 6365s] runtime_sysinfo.go:3152:7: error: redefinition of '_HWCAP_VFPv3'
[ 6365s]  3152 | const _HWCAP_VFPv3 = (1 << 13)
[ 6365s]       |       ^
[ 6365s] ../../../libgo/go/runtime/os_linux_arm.go:13:2: note: previous
definition of '_HWCAP_VFPv3' was here
[ 6365s]    13 |  _HWCAP_VFPv3 = 1 << 13 // introduced in 2.6.30
[ 6365s]       |  ^
[ 6365s] runtime_sysinfo.go:5579:7: error: redefinition of '_HWCAP_VFP'
[ 6365s]  5579 | const _HWCAP_VFP = (1 << 6)
[ 6365s]       |       ^
[ 6365s] ../../../libgo/go/runtime/os_linux_arm.go:12:2: note: previous
definition of '_HWCAP_VFP' was here
[ 6365s]    12 |  _HWCAP_VFP   = 1 << 6  // introduced in at least 2.6.11
[ 6365s]       |  ^

Any idea what can be wrong?
>From gcc-bugs-return-618640-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 09:20:23 2018
Return-Path: <gcc-bugs-return-618640-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1674 invoked by alias); 24 Oct 2018 09:20:21 -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 1606 invoked by uid 48); 24 Oct 2018 09:20:17 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/87723] New: ICE: output_operand: invalid %-code on s390x
Date: Wed, 24 Oct 2018 09:20:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget
Message-ID: <bug-87723-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02022.txt.bz2
Content-length: 1797

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87723

            Bug ID: 87723
           Summary: ICE: output_operand: invalid %-code on s390x
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu, s390x-linux-gnu
            Target: s390x-linux-gnu

Seen both on native and cross-compiler:

$ cat ice.i
unsigned long a;
int b;
void c(char* i) {
  for (;;) {
    char g = 0;
    for (; g < 24; ++g)
      b = a << g | a >> 64 - g;
    {
      char *d = i;
      long h = b;
      char e = 0;
      for (; e < 8; ++e)
        d[e] = h;
    }
    char *d = i;
    signed e;
    unsigned long f = 0;
    e = 7;
    for (; e; --e) {
      f <<= 8;
      f |= d[e];
    }
    for (; e < 8; ++e)
      d[e] = f;
  }
}

$ /home/marxin/Programming/gcc2/objdir2/gcc/xgcc
-B/home/marxin/Programming/gcc2/objdir2/gcc/ -O3 -S -march=z196 -m64 -mzarch
ice.i
during RTL pass: final
ice.i: In function ‘c’:
ice.i:26:1: internal compiler error: output_operand: invalid %-code
   26 | }
      | ^
0x9bf140 output_operand_lossage(char const*, ...)
        ../../gcc/final.c:3600
0x9bfd68 output_asm_insn(char const*, rtx_def**)
        ../../gcc/final.c:3969
0x9c10a1 final_scan_insn_1
        ../../gcc/final.c:3103
0x9c14db final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*)
        ../../gcc/final.c:3149
0x9c17d6 final_1
        ../../gcc/final.c:2019
0x9c28e8 rest_of_handle_final
        ../../gcc/final.c:4649
0x9c28e8 execute
        ../../gcc/final.c:4723
>From gcc-bugs-return-618641-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 09:21:08 2018
Return-Path: <gcc-bugs-return-618641-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7387 invoked by alias); 24 Oct 2018 09:21:08 -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 4483 invoked by uid 48); 24 Oct 2018 09:21:03 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/87723] ICE: output_operand: invalid %-code on s390x
Date: Wed, 24 Oct 2018 09:21:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_reconfirmed_on cc target_milestone
Message-ID: <bug-87723-4-3nXqXHlZqX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87723-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87723-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02023.txt.bz2
Content-length: 509

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87723

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2018-10-24
                 CC|                            |krebbel at gcc dot gnu.org,
                   |                            |uweigand at gcc dot gnu.org
   Target Milestone|---                         |9.0
>From gcc-bugs-return-618642-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 09:32:39 2018
Return-Path: <gcc-bugs-return-618642-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82098 invoked by alias); 24 Oct 2018 09:32:38 -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 73585 invoked by uid 48); 24 Oct 2018 09:32:34 -0000
From: "blitzrakete at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87724] New: gcc allows narrowing conversions in converted constant expressions
Date: Wed, 24 Oct 2018 09:32:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: blitzrakete at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-87724-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02024.txt.bz2
Content-length: 801

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87724

            Bug ID: 87724
           Summary: gcc allows narrowing conversions in converted constant
                    expressions
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: blitzrakete at gmail dot com
  Target Milestone: ---

Compiled with -std=c++17 (https://godbolt.org/z/fO32Pd)

int main() {
  static_assert(2); // ill-formed, gcc accepts
  if constexpr (2); // ill-formed, gcc accepts
}

2 doesn't fit in a bool, and as such it is a narrowing conversion and fails to
be a "contextually converted constant expression of type bool" as per
[expr.const]p5.
>From gcc-bugs-return-618643-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 09:36:07 2018
Return-Path: <gcc-bugs-return-618643-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42629 invoked by alias); 24 Oct 2018 09:36:07 -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 42479 invoked by uid 48); 24 Oct 2018 09:35:59 -0000
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/87715] problems with asan and -O3 build of ada
Date: Wed, 24 Oct 2018 09:36:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: ada
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dcb314 at hotmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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-87715-4-6koefAdRgI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87715-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87715-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02025.txt.bz2
Content-length: 1003

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87715

--- Comment #2 from David Binderman <dcb314 at hotmail dot com> ---
(In reply to Martin Liška from comment #1)
> Interesting, let me try to reproduce that. Note that using -O3 can't be
> problem as it's supposed to do only valid code transformations.

Indeed. O3 isn't the problem. Only -O2 and ada required. Here is a stack
backtrace for more detail.

==27827==ERROR: AddressSanitizer: dynamic-stack-buffer-overflow on address
0x7fffabf0ac47 at pc 0x000001b9656c bp 0x7fffabf0a530 sp 0x7fffabf0a528
READ of size 1 at 0x7fffabf0ac47 thread T0
    #0 0x1b9656b in switch__c__scan_front_end_switches
../../trunk/gcc/ada/switch-c.adb:302
    #1 0x1bd3446 in back_end__scan_compiler_arguments
../../trunk/gcc/ada/back_end.adb:387
    #2 0x1bd3da4 in _ada_gnat1drv ../../trunk/gcc/ada/gnat1drv.adb:1049
    #3 0x13e572d in gnat_parse_file
../../trunk/gcc/ada/gcc-interface/misc.c:119

Line 302 is 

           C := Switch_Chars (Ptr);
>From gcc-bugs-return-618644-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 09:42:39 2018
Return-Path: <gcc-bugs-return-618644-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56573 invoked by alias); 24 Oct 2018 09:42:39 -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 56466 invoked by uid 48); 24 Oct 2018 09:42:35 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/84013] wrong __restrict clique with inline asm operand
Date: Wed, 24 Oct 2018 09:42:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: alias, missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_known_to_work resolution
Message-ID: <bug-84013-4-LJQF93qG9s@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84013-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84013-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02026.txt.bz2
Content-length: 482

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84013

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Known to work|                            |9.0
         Resolution|---                         |FIXED

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-618645-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 09:43:01 2018
Return-Path: <gcc-bugs-return-618645-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57472 invoked by alias); 24 Oct 2018 09:43:00 -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 57401 invoked by uid 55); 24 Oct 2018 09:42:55 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/84013] wrong __restrict clique with inline asm operand
Date: Wed, 24 Oct 2018 09:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: alias, missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-84013-4-hVBEs0pc7x@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84013-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84013-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02027.txt.bz2
Content-length: 861

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84013

--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Oct 24 09:42:19 2018
New Revision: 265455

URL: https://gcc.gnu.org/viewcvs?rev=265455&root=gcc&view=rev
Log:
2018-10-24  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/84013
        * tree-ssa-structalias.c (struct msdi_data): New struct for
        marshalling data to walk_stmt_load_store_ops.
        (maybe_set_dependence_info): Refactor as callback for
        walk_stmt_load_store_ops.
        (compute_dependence_clique): Set restrict info on all stmt kinds.

        * gcc.dg/tree-ssa/restrict-9.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/restrict-9.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-structalias.c
>From gcc-bugs-return-618646-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 09:49:26 2018
Return-Path: <gcc-bugs-return-618646-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102914 invoked by alias); 24 Oct 2018 09:49:25 -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 102720 invoked by uid 89); 24 Oct 2018 09:49:05 -0000
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=2.2 required=5.0 testsºYES_50,FREEMAIL_FROM,HTML_IMAGE_RATIO_02,HTML_MESSAGE,KAM_SHORT,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS,T_END_FUTURE_EMAILS,URIBL_GREY autolearn=no version=3.3.2 spammy=Yours, Emails, Spam, UD:open.php
X-HELO: mail176.sea101.rsgsv.net
Received: from mail176.sea101.rsgsv.net (HELO mail176.sea101.rsgsv.net) (148.105.15.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 24 Oct 2018 09:49:04 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=k1; d=mail176.sea101.rsgsv.net; h=Subject:From:Reply-To:To:Date:Message-ID:List-ID:List-Unsubscribe: Content-Type:MIME-Version; bh=P2h3IkZwFExkVE9YJ9k1qTZxG4wIPSe+D6fzprqvtGo=; b=Tmuq1dR9gGLLovdmQuClhXgca1NTtEHzNk36RMlFZkUisIPUYAEl92O362TWOzBErGkDrvNIY9ID   vPr82c6Uc6TTE8ImISh7gE/WntOnT7rN1sdLGxa+NR9+6D0LHlWjPKp0FQZ3XKOmLAYIQfefuk4x   8eTODk4WszlqCDA1D2kReceived: from (127.0.0.1) by mail176.sea101.rsgsv.net id hq100u2ddl47 for <gcc-bugs@gcc.gnu.org>; Wed, 24 Oct 2018 09:48:56 +0000 (envelope-from <bounce-mc.us19_103073230.86605-gcc-bugs=gcc.gnu.org@mail176.sea101.rsgsv.net>)
Subject: =?utf-8?Q?This Week’s Fuel Prices?From: =?utf-8?Q?MEDCO sal?= <gfcmedia.com@gmail.com>
Reply-To:  <gfcmedia.com@gmail.com>
To: <gcc-bugs@gcc.gnu.org>
Date: Wed, 24 Oct 2018 09:49:00 -0000
Message-ID: <90bac0906b280fc6945d7b273.9a0a13d120.20181024094806.e87f61e6a7.02446d42@mail176.sea101.rsgsv.net>
X-campaignid: mailchimp90bac0906b280fc6945d7b273.e87f61e6a7
X-Report-Abuse: Please report abuse for this campaign here: https://mailchimp.com/contact/abuse/?ubac0906b280fc6945d7b273&idè7f61e6a7&eš0a13d120
X-MC-User: 90bac0906b280fc6945d7b273
X-Accounttype: pd
X-Original-Sender: gfcmedia.com@gmail.com
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format="fixed"
Content-Transfer-Encoding: quoted-printable
X-SW-Source: 2018-10/txt/msg02028.txt.bz2
Content-length: 1335

This Week’s Fuel Prices
if you can’t see the image below you can find it here (https://gfcmedia.com/medco/)

https://gfcmedia.com/medco/

Energetically Yours, MEDCO

To Stop Receiving our Emails, Please Reply with: REMOVE

( Some emails are scheduled in advanced, remove may take up some time )

Sent by GFC.media (https://gfcmedia.com/medco)   |  Unsubscribe (https://gfcmedia.com/register/)   |  Report Spam (https://gfcmedia.com/register/)

http://gfcmedia.com/
Send your emails with GFC and reach more audience
Beirut (+961) 71 629 666  Dubai (+971) 5 6666 5 338

Disclaimer: GFC is not responsible for any contents linked to this email, as they are only related to the advertiser and do not represent GFC in any way.

This email was sent to gcc-bugs@gcc.gnu.org (mailto:gcc-bugs@gcc.gnu.org)
why did I get this? (https://battleparkae.us19.list-manage.com/about?u=90bac0906b280fc6945d7b273&id=4a9f8b0547&e=9a0a13d120&c=e87f61e6a7)     unsubscribe from this list (https://battleparkae.us19.list-manage.com/unsubscribe?u=90bac0906b280fc6945d7b273&id=4a9f8b0547&e=9a0a13d120&c=e87f61e6a7)     update subscription preferences (https://battleparkae.us19.list-manage.com/profile?u=90bac0906b280fc6945d7b273&id=4a9f8b0547&e=9a0a13d120)
BP AE . UAE . Dubai  . United Arab Emirates
>From gcc-bugs-return-618647-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 09:50:17 2018
Return-Path: <gcc-bugs-return-618647-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108375 invoked by alias); 24 Oct 2018 09:50:17 -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 108267 invoked by uid 48); 24 Oct 2018 09:50:13 -0000
From: "as at cmplx dot uk" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgomp/87725] New: OpenMP 4.5 clause schedule(simd,monotonic:static) not understood
Date: Wed, 24 Oct 2018 09:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libgomp
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: as at cmplx dot uk
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-87725-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02029.txt.bz2
Content-length: 1826

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87725

            Bug ID: 87725
           Summary: OpenMP 4.5 clause schedule(simd,monotonic:static) not
                    understood
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgomp
          Assignee: unassigned at gcc dot gnu.org
          Reporter: as at cmplx dot uk
                CC: jakub at gcc dot gnu.org
  Target Milestone: ---

OpenMP 4.5 specifications say that
schedule clause can have 2 modifiers,
specifically this should be valid:

!$omp do schedule(simd,monotonic:static)

But gfortran9 rejects this with:

21 | !$omp do schedule(simd,monotonic:static, n/nthr )
   |      1
Error: Unclassifiable OpenMP directive at (1)

Intel Fortran 18 does accept the above
construct with 2 schedule modifiers.

Using only a single modifier is accepted by gfortran9, i.e:

!$omp do schedule( simd:static )
!$omp do schedule( monotonic:static )

are both fine.

I guess this just hasn't been implemented yet?

A complete program:
use, intrinsic :: iso_fortran_env
use :: omp_lib
implicit none
integer :: i, val, tid, nthr, sum, part, n
  write (*,*) "OMP version:", openmp_version
    n = 2**30
  sum = 0
!$omp parallel default( none )   &
!$omp private( tid, i, part, nthr ) &
!$omp shared( sum, n )
      part = 0
      nthr = omp_get_num_threads()
       tid = omp_get_thread_num()
  write (*,*) tid, nthr
! !$omp do schedule(simd,monotonic:static, n/nthr )
!$omp do schedule(simd:static, n/nthr )
! !$omp do schedule(monotonic:static, n/nthr )
 do i=1,n
        part = part + 1
 end do
!$omp end do nowait
         !$omp atomic
               sum = sum + part
         !$omp end atomic
!$omp end parallel
write (*,*) sum, ( sum .eq. n )
end
>From gcc-bugs-return-618648-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 09:52:09 2018
Return-Path: <gcc-bugs-return-618648-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123060 invoked by alias); 24 Oct 2018 09:52:09 -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 122997 invoked by uid 48); 24 Oct 2018 09:52:05 -0000
From: "mihail.zenkov at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/87702] [6/7/8/9 Regression] Segfault in glibc if compiled with -march=amdfam10 -O2 (x86)
Date: Wed, 24 Oct 2018 09:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mihail.zenkov at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87702-4-SAKRialv53@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87702-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87702-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02030.txt.bz2
Content-length: 232

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87702

--- Comment #7 from Mihail Zenkov <mihail.zenkov at gmail dot com> ---
http://www.knk.uwebweb.com/glibc-segfault-2.tar.xz

I put full command line into exit.cmd and vfscanf.cmd.
>From gcc-bugs-return-618649-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 10:53:45 2018
Return-Path: <gcc-bugs-return-618649-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93363 invoked by alias); 24 Oct 2018 10:53:45 -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 93266 invoked by uid 48); 24 Oct 2018 10:53:41 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87724] gcc allows narrowing conversions in converted constant expressions
Date: Wed, 24 Oct 2018 10:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: SUSPENDED
X-Bugzilla-Resolution:
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: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-87724-4-g6xJfnPy3Y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87724-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87724-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02031.txt.bz2
Content-length: 645

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87724

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |SUSPENDED
   Last reconfirmed|                            |2018-10-24
     Ever confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
CWG has been discussing this and the consensus seems to be that both examples
are OK. We certainly shouldn't make any change to GCC until CWG makes a final
decision.
>From gcc-bugs-return-618650-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 10:54:28 2018
Return-Path: <gcc-bugs-return-618650-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95387 invoked by alias); 24 Oct 2018 10:54:28 -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 95211 invoked by uid 48); 24 Oct 2018 10:54:24 -0000
From: "ville.voutilainen at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87726] New: -fdebug-prefix-map doesn't work with lto
Date: Wed, 24 Oct 2018 10:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: lto
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ville.voutilainen at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created
Message-ID: <bug-87726-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02032.txt.bz2
Content-length: 824

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87726

            Bug ID: 87726
           Summary: -fdebug-prefix-map doesn't work with lto
           Product: gcc
           Version: lto
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ville.voutilainen at gmail dot com
  Target Milestone: ---

Created attachment 44887
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44887&action=edit
Test application

With the attached source, uncommenting the lto flags at the top of the Makefile
lead to a linker error when making the source. The source needs the development
headers and libs for dwarf and dw.

This problem breaks the attempts to build boot2qt with lto enabled with yocto.
>From gcc-bugs-return-618651-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 11:27:10 2018
Return-Path: <gcc-bugs-return-618651-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2006 invoked by alias); 24 Oct 2018 11:27:07 -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 1859 invoked by uid 48); 24 Oct 2018 11:27:02 -0000
From: "ilya.lesokhin at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/15089] local register variable with a specified register is bad
Date: Wed, 24 Oct 2018 11:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 3.4.0
X-Bugzilla-Keywords: documentation
X-Bugzilla-Severity: minor
X-Bugzilla-Who: ilya.lesokhin at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: rth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.0.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc attachments.created
Message-ID: <bug-15089-4-ULviAY5NmW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-15089-4@http.gcc.gnu.org/bugzilla/>
References: <bug-15089-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02033.txt.bz2
Content-length: 1512

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15089

Ilya Lesokhin <ilya.lesokhin at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ilya.lesokhin at gmail dot com

--- Comment #26 from Ilya Lesokhin <ilya.lesokhin at gmail dot com> ---
Created attachment 44888
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44888&action=edit
Test case demonstrating the problem

Looks like issue still exists.

#include <array>


uint64_t test() {
  register uint64_t t0;
  register uint64_t t1;
  register uint64_t t2 ;
  register uint64_t rdx;
  register uint64_t r0 asm("rsi");
  register uint64_t r1 ;
  register uint64_t r2 ;
  register uint64_t r3 ;
  register uint64_t m3;
  register uint64_t y0;
  register uint64_t y1;
  register uint64_t y2;
  register uint64_t y3;


  asm(
     "mov %[res0],%[res0]"
      : "=&d"(rdx), [res0] "=&r"(r0), [res1] "=&r"(r1), [res2] "=&r"(r2),
[res3] "=&r"(r3),
        [t0] "=&r"(t0), [t1] "=&r"(t1), [t2] "=&r"(t2)
      : [m3] "r"(m3), [y0] "r"(y0), [y1] "r"(y1), [y2] "r"(y2)
      : "cc");



    return r0;
}

Results in:

test():
 push   %r14
 xor    %eax,%eax
 xor    %ecx,%ecx
 push   %rbp
 xor    %esi,%esi
 xor    %edi,%edi
 push   %rbx
 mov    %r14,%r14  <--------- should be rsi.
 mov    %r14,%rax
 pop    %rbx
 pop    %rbp
 pop    %r14
 retq   


https://godbolt.org/z/RLTDbY
>From gcc-bugs-return-618652-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 11:47:42 2018
Return-Path: <gcc-bugs-return-618652-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89769 invoked by alias); 24 Oct 2018 11:47:42 -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 89673 invoked by uid 55); 24 Oct 2018 11:47:37 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/87105] Autovectorization [X86, SSE2, AVX2, DoublePrecision]
Date: Wed, 24 Oct 2018 11:47:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.2.1
X-Bugzilla-Keywords: alias, missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
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-87105-4-bcxsqVwMnP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87105-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87105-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02034.txt.bz2
Content-length: 1043

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87105

--- Comment #13 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Oct 24 11:46:58 2018
New Revision: 265457

URL: https://gcc.gnu.org/viewcvs?rev=265457&root=gcc&view=rev
Log:
2018-10-24  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/87105
        * tree-vect-data-refs.c (vect_analyze_group_access_1): Adjust
        dump classification.
        (vect_analyze_data_ref_accesses): Handle duplicate loads and
        stores by splitting the affected group after the fact.
        * tree-vect-slp.c (vect_build_slp_tree_2): Dump when we
        fail the SLP build because of size constraints.

        * gcc.dg/vect/bb-slp-39.c: New testcase.
        * gfortran.dg/vect/pr83232.f90: Un-XFAIL.

Added:
    trunk/gcc/testsuite/gcc.dg/vect/bb-slp-39.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/vect/pr83232.f90
    trunk/gcc/tree-vect-data-refs.c
    trunk/gcc/tree-vect-slp.c
>From gcc-bugs-return-618653-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 12:01:51 2018
Return-Path: <gcc-bugs-return-618653-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53474 invoked by alias); 24 Oct 2018 12:01:51 -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 52346 invoked by uid 48); 24 Oct 2018 12:01:47 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/84629] sanitizer warnings and errors on Linux
Date: Wed, 24 Oct 2018 12:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: sanitizer
X-Bugzilla-Version: 8.0.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
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-84629-4-zxeCGRS3Q7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84629-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84629-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02035.txt.bz2
Content-length: 2070

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84629

--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
I'm curious about:

/home/marxin/Programming/gcc/libsanitizer/sanitizer_common/sanitizer_linux.cc:
In function ‘void* __sanitizer::internal_start_thread(void (*)(void*), void*)’:
/home/marxin/Programming/gcc/libsanitizer/sanitizer_common/sanitizer_linux.cc:1733:58:
warning: cast between incompatible function types from ‘void (*)(void*)’ to
‘void* (*)(void*)’ [-Wcast-function-type]
 1733 |   real_pthread_create(&th, nullptr, (void*(*)(void *arg))func, arg);
      |                                                          ^~~~


Shouldn't something like:

diff --git a/libsanitizer/sanitizer_common/sanitizer_linux.cc
b/libsanitizer/sanitizer_common/sanitizer_linux.cc
index f1f70ec57fc..7571ff9b25d 100644
--- a/libsanitizer/sanitizer_common/sanitizer_linux.cc
+++ b/libsanitizer/sanitizer_common/sanitizer_linux.cc
@@ -1719,7 +1719,7 @@ HandleSignalMode GetHandleSignalMode(int signum) {
 }

 #if !SANITIZER_GO
-void *internal_start_thread(void(*func)(void *arg), void *arg) {
+void *internal_start_thread(void*(*func)(void *arg), void *arg) {
   // Start the thread with signals blocked, otherwise it can steal user
signals.
   __sanitizer_sigset_t set, old;
   internal_sigfillset(&set);
@@ -1730,7 +1730,7 @@ void *internal_start_thread(void(*func)(void *arg), void
*arg) {
 #endif
   internal_sigprocmask(SIG_SETMASK, &set, &old);
   void *th;
-  real_pthread_create(&th, nullptr, (void*(*)(void *arg))func, arg);
+  real_pthread_create(&th, nullptr, func, arg);
   internal_sigprocmask(SIG_SETMASK, &old, nullptr);
   return th;
 }
@@ -1739,7 +1739,7 @@ void internal_join_thread(void *th) {
   real_pthread_join(th, nullptr);
 }
 #else
-void *internal_start_thread(void (*func)(void *), void *arg) { return 0; }
+void *internal_start_thread(void *(*func)(void *), void *arg) { return 0; }

 void internal_join_thread(void *th) {}
 #endif

by applied to libsanitizer mainline?
>From gcc-bugs-return-618654-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 12:08:48 2018
Return-Path: <gcc-bugs-return-618654-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79878 invoked by alias); 24 Oct 2018 12:08:48 -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 79508 invoked by uid 48); 24 Oct 2018 12:08:39 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/87720] [9 Regression] [MIPS] ICE: gcc.c-torture/execute/builtins/lib/chk.c:33:1: in int_mode_for_mode, at stor-layout.c:403 after r265398
Date: Wed, 24 Oct 2018 12:08:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc component version target_milestone short_desc
Message-ID: <bug-87720-4-eXtmZQZVMc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87720-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87720-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02036.txt.bz2
Content-length: 913

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87720

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |segher at gcc dot gnu.org
          Component|regression                  |rtl-optimization
            Version|unknown                     |9.0
   Target Milestone|---                         |9.0
            Summary|[MIPS] ICE:                 |[9 Regression] [MIPS] ICE:
                   |gcc.c-torture/execute/built |gcc.c-torture/execute/built
                   |ins/lib/chk.c:33:1: in      |ins/lib/chk.c:33:1: in
                   |int_mode_for_mode, at       |int_mode_for_mode, at
                   |stor-layout.c:403 after     |stor-layout.c:403 after
                   |r265398                     |r265398
>From gcc-bugs-return-618655-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 12:33:25 2018
Return-Path: <gcc-bugs-return-618655-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55963 invoked by alias); 24 Oct 2018 12:33:25 -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 55896 invoked by uid 48); 24 Oct 2018 12:33:20 -0000
From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/87727] New: [9 regression] gcc.target/sparc/overflow-2.c FAILs
Date: Wed, 24 Oct 2018 12:33:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ro at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcctarget
Message-ID: <bug-87727-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02037.txt.bz2
Content-length: 738

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87727

            Bug ID: 87727
           Summary: [9 regression] gcc.target/sparc/overflow-2.c FAILs
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: ebotcazou at gcc dot gnu.org
  Target Milestone: ---
            Target: sparc-sun-solaris2.*

Between 20181022 (r265393) and 20181023 (r265430),
gcc.target/sparc/overflow-2.c
started to FAIL:

+FAIL: gcc.target/sparc/overflow-2.c scan-assembler-not save\\t%

I'm attaching old and current assembler output.
>From gcc-bugs-return-618656-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 12:33:40 2018
Return-Path: <gcc-bugs-return-618656-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57174 invoked by alias); 24 Oct 2018 12:33: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 57097 invoked by uid 48); 24 Oct 2018 12:33:35 -0000
From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/87727] [9 regression] gcc.target/sparc/overflow-2.c FAILs
Date: Wed, 24 Oct 2018 12:33:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ro at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-87727-4-pFxrNIMvR3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87727-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87727-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02038.txt.bz2
Content-length: 285

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87727

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |9.0
>From gcc-bugs-return-618657-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 12:34:36 2018
Return-Path: <gcc-bugs-return-618657-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58565 invoked by alias); 24 Oct 2018 12:34:35 -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 58504 invoked by uid 48); 24 Oct 2018 12:34:31 -0000
From: "amonakov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/87728] New: inline asm not optimized on GIMPLE
Date: Wed, 24 Oct 2018 12:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amonakov at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-87728-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02039.txt.bz2
Content-length: 1136

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87728

            Bug ID: 87728
           Summary: inline asm not optimized on GIMPLE
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: amonakov at gcc dot gnu.org
  Target Milestone: ---

PR 63900 points out a case where RTL CSE fails to clean up redundant loads in
presence of BLKmode accesses, but there really isn't anything in that testcase
that GCC shouldn't be able to clean up in GIMPLE. It seems GIMPLE optimizations
are too conservative with regards to asm statements.

For the simple testcase

int f()
{
    int a=0, b;
    asm("# %0 %1" : "=m"(b) : "m"(a));
    return a;
}

the asm is dead and this should become 'return 0;', but in .optimized dump we
still have

f ()
{
  int b;
  int a;
  int _4;

  <bb 2> :
  a = 0;
  __asm__("# %0 %1" : "=m" b : "m" a);
  _4 = a;
  a ={v} {CLOBBER};
  b ={v} {CLOBBER};
  return _4;
}
>From gcc-bugs-return-618658-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 12:34:47 2018
Return-Path: <gcc-bugs-return-618658-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59306 invoked by alias); 24 Oct 2018 12:34:47 -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 59245 invoked by uid 48); 24 Oct 2018 12:34:43 -0000
From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/87727] [9 regression] gcc.target/sparc/overflow-2.c FAILs
Date: Wed, 24 Oct 2018 12:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ro at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-87727-4-NQz8tkppYa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87727-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87727-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02040.txt.bz2
Content-length: 236

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87727

--- Comment #1 from Rainer Orth <ro at gcc dot gnu.org> ---
Created attachment 44889
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44889&action=edit
previous overflow-2.s
>From gcc-bugs-return-618659-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 12:35:33 2018
Return-Path: <gcc-bugs-return-618659-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60588 invoked by alias); 24 Oct 2018 12:35:33 -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 60517 invoked by uid 48); 24 Oct 2018 12:35:29 -0000
From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/87727] [9 regression] gcc.target/sparc/overflow-2.c FAILs
Date: Wed, 24 Oct 2018 12:35:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ro at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-87727-4-Gj1mdF8wyM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87727-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87727-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02041.txt.bz2
Content-length: 235

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87727

--- Comment #2 from Rainer Orth <ro at gcc dot gnu.org> ---
Created attachment 44890
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44890&action=edit
current overflow-2.s
>From gcc-bugs-return-618660-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 12:36:08 2018
Return-Path: <gcc-bugs-return-618660-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61880 invoked by alias); 24 Oct 2018 12:36:08 -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 61771 invoked by uid 48); 24 Oct 2018 12:36:03 -0000
From: "amonakov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug inline-asm/63900] memory constrains needlessly doing memory clobber
Date: Wed, 24 Oct 2018 12:36:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: inline-asm
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords: documentation
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: amonakov at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
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: cc
Message-ID: <bug-63900-4-Mg5xbNKbOP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63900-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63900-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02042.txt.bz2
Content-length: 827

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63900

Alexander Monakov <amonakov at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amonakov at gcc dot gnu.org

--- Comment #10 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
No, as mentioned in comment 3 there aren't any "full memory clobbers" anywhere,
the title of the bug is inaccurate. The original testcase shows that under
specific circumstances RTL optimizations fail to clean up redundant loads; your
testcase does not reproduce those circumstances.

FWIW it's a technically missed-optimization for GIMPLE passes as well, GCC
could have cleaned this up without relying on RTL passes: PR 87728.
>From gcc-bugs-return-618661-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 12:42:37 2018
Return-Path: <gcc-bugs-return-618661-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75655 invoked by alias); 24 Oct 2018 12:42:37 -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 69807 invoked by uid 48); 24 Oct 2018 12:42:32 -0000
From: "paul.hua.gm at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/87720] [9 Regression] [MIPS] ICE: gcc.c-torture/execute/builtins/lib/chk.c:33:1: in int_mode_for_mode, at stor-layout.c:403 after r265398
Date: Wed, 24 Oct 2018 12:42:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paul.hua.gm at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87720-4-w91W1nWrkn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87720-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87720-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02043.txt.bz2
Content-length: 1610

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87720

--- Comment #2 from Paul Hua <paul.hua.gm at gmail dot com> ---
untested patch:

Index: gcc/combine.c
===================================================================
--- gcc/combine.c       (revision 265456)
+++ gcc/combine.c       (working copy)
@@ -14965,7 +14965,11 @@
          if (TEST_HARD_REG_BIT (fixed_reg_set, REGNO (src)))
            continue;

-         rtx new_reg = gen_reg_rtx (GET_MODE (dest));
+         rtx new_reg;
+         if (GET_CODE(dest) == PC)
+           new_reg = gen_reg_rtx (GET_MODE (src));
+         else
+           new_reg = gen_reg_rtx (GET_MODE (dest));
          rtx_insn *insn1 = gen_move_insn (new_reg, src);
          rtx_insn *insn2 = gen_move_insn (dest, new_reg);
          emit_insn_after (insn1, insn);
Index: gcc/expr.c
===================================================================
--- gcc/expr.c  (revision 265456)
+++ gcc/expr.c  (working copy)
@@ -3684,7 +3684,12 @@
 rtx_insn *
 emit_move_insn_1 (rtx x, rtx y)
 {
-  machine_mode mode = GET_MODE (x);
+  machine_mode mode;
+  if (GET_CODE (x) == PC)
+    mode = GET_MODE (y);
+  else /* Include  (GET_CODE (y) = PC) */
+    mode = GET_MODE (x);
+
   enum insn_code code;

   gcc_assert ((unsigned int) mode < (unsigned int) MAX_MACHINE_MODE);
>From gcc-bugs-return-618662-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 12:50:30 2018
Return-Path: <gcc-bugs-return-618662-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33402 invoked by alias); 24 Oct 2018 12:50:30 -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 32707 invoked by uid 48); 24 Oct 2018 12:50:23 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86288] Recognize __gnu and/or __gnu__ as attribute-namespace
Date: Wed, 24 Oct 2018 12:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86288-4-TjHGM0oONz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86288-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86288-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02044.txt.bz2
Content-length: 495

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86288

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Clang has now implemented this as a special case, only recognizing "__gnu__" as
a synonym for the "gnu" attribute-namespace. That's fine for libstdc++'s
purposes, as I don't expect we'll start using any other vendor attributes.

EDG have also been told about this, so compilers based on their front end
should also be able to recognize [[__gnu__::__blah__]] at some point.
>From gcc-bugs-return-618663-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 12:54:29 2018
Return-Path: <gcc-bugs-return-618663-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42377 invoked by alias); 24 Oct 2018 12:54:29 -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 42249 invoked by uid 48); 24 Oct 2018 12:54:24 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/87722] [9 Regression] go bootstrap is broken on armv7l target
Date: Wed, 24 Oct 2018 12:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: go
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ian at airs dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: DUPLICATE
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-87722-4-1Tm0cT6uGz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87722-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87722-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02045.txt.bz2
Content-length: 541

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87722

Ian Lance Taylor <ian at airs dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Ian Lance Taylor <ian at airs dot com> ---
Dup of 87661, which should have been fixed by revision 265439.

*** This bug has been marked as a duplicate of bug 87661 ***
>From gcc-bugs-return-618664-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 12:54:30 2018
Return-Path: <gcc-bugs-return-618664-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42616 invoked by alias); 24 Oct 2018 12:54:30 -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 42306 invoked by uid 48); 24 Oct 2018 12:54:26 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/87661] [9 Regression] libgo bootstrap failure on arm-linux-gnueabihf (redefinition of constants)
Date: Wed, 24 Oct 2018 12:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: go
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ian at airs dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-87661-4-u46eviZMwh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87661-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87661-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02046.txt.bz2
Content-length: 436

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87661

Ian Lance Taylor <ian at airs dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org

--- Comment #3 from Ian Lance Taylor <ian at airs dot com> ---
*** Bug 87722 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-618665-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 13:01:22 2018
Return-Path: <gcc-bugs-return-618665-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89621 invoked by alias); 24 Oct 2018 13:01:22 -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 88901 invoked by uid 48); 24 Oct 2018 13:01:17 -0000
From: "bugzilla@poradnik-webmastera.com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87729] New: Please include -Woverloaded-virtual in -Wall
Date: Wed, 24 Oct 2018 13:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bugzilla@poradnik-webmastera.com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-87729-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02047.txt.bz2
Content-length: 499

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87729

            Bug ID: 87729
           Summary: Please include -Woverloaded-virtual in -Wall
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bugzilla@poradnik-webmastera.com
  Target Milestone: ---

clang includes -Woverloaded-virtual in -Wall. Please do same for gcc.
>From gcc-bugs-return-618666-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 13:08:12 2018
Return-Path: <gcc-bugs-return-618666-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65626 invoked by alias); 24 Oct 2018 13:08:11 -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 65515 invoked by uid 48); 24 Oct 2018 13:08:05 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/87730] New: Warn about misuses of __has_include_next
Date: Wed, 24 Oct 2018 13:08:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: preprocessor
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter blocked target_milestone
Message-ID: <bug-87730-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02048.txt.bz2
Content-length: 1151

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87730

            Bug ID: 87730
           Summary: Warn about misuses of __has_include_next
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: enhancement
          Priority: P3
         Component: preprocessor
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redi at gcc dot gnu.org
            Blocks: 87403
  Target Milestone: ---

Clang has some nice warnings for dubious uses of __has_include_next.

Given:

#if __has_include_next(</usr/include/stdio.h>)
#endif

In the main file being compiled this produces:

foo.cc:1:5: warning: #include_next in primary source file
[-Winclude-next-outside-header]
#if __has_include_next(</usr/include/stdio.h>)
    ^

and in an included header it produces:

In file included from foo.cc:1:
./foo.h:1:5: warning: #include_next with absolute path
[-Winclude-next-absolute-path]
#if __has_include_next(</usr/include/stdio.h>)
    ^


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87403
[Bug 87403] [Meta-bug] Issues that suggest a new warning
>From gcc-bugs-return-618667-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 13:10:03 2018
Return-Path: <gcc-bugs-return-618667-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74615 invoked by alias); 24 Oct 2018 13:10:02 -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 69084 invoked by uid 48); 24 Oct 2018 13:09:58 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/80753] __has_include and __has_include_next taints subsequent I/O errors
Date: Wed, 24 Oct 2018 13:10:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: preprocessor
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
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: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-80753-4-48JxMTD2Rv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80753-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80753-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02049.txt.bz2
Content-length: 402

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80753

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-10-24
     Ever confirmed|0                           |1
>From gcc-bugs-return-618668-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 13:11:31 2018
Return-Path: <gcc-bugs-return-618668-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122860 invoked by alias); 24 Oct 2018 13:11:31 -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 122579 invoked by uid 48); 24 Oct 2018 13:11:26 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/80753] __has_include and __has_include_next taints subsequent I/O errors
Date: Wed, 24 Oct 2018 13:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: preprocessor
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords: accepts-invalid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
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-80753-4-vce9WAiWEe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80753-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80753-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02050.txt.bz2
Content-length: 227

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80753

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This means the following paradox compiles OK:

#if ! __has_include(<nonesuch>)
# include <nonesuch>
#endif
>From gcc-bugs-return-618669-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 13:14:08 2018
Return-Path: <gcc-bugs-return-618669-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3269 invoked by alias); 24 Oct 2018 13:14:07 -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 3180 invoked by uid 48); 24 Oct 2018 13:14:00 -0000
From: "bugzilla@poradnik-webmastera.com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87731] New: Detection of mismatched alloc/free pairs
Date: Wed, 24 Oct 2018 13:14:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bugzilla@poradnik-webmastera.com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-87731-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02051.txt.bz2
Content-length: 1496

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87731

            Bug ID: 87731
           Summary: Detection of mismatched alloc/free pairs
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bugzilla@poradnik-webmastera.com
  Target Milestone: ---

Following code compiles cleanly on gcc:

void foo()
{
    char* c = new char[4];
    delete c;
}

When it is compiles using clang 7.0.0, it generates following warning. Please
do the same in gcc.

<source>:4:5: warning: 'delete' applied to a pointer that was allocated with
'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete]
    delete c;
    ^
          []
<source>:3:15: note: allocated with 'new[]' here
    char* c = new char[4];
              ^
1 warning generated.
Compiler returned: 0

Valgrind also has similar diagnostics, it checks checks following pairs by
default: malloc/free, new/delete, new[]/delete[]. Please implement something
similar in gcc.

Valgrind also provides set of macros which allows it to track custom alloc/free
functions. It would be nice if you add new attributes which could be attached
to custom alloc and free functions, so gcc could check pairing for them too. I
think of something like this:

__attribute__((malloc("MyAllocType")))
void* MyAlloc(size_t);

__attribute__((free("MyAllocType")))
void MyFree(void*);
>From gcc-bugs-return-618670-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 13:18:50 2018
Return-Path: <gcc-bugs-return-618670-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23712 invoked by alias); 24 Oct 2018 13:18:50 -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 12241 invoked by uid 48); 24 Oct 2018 13:18:44 -0000
From: "bugzilla@poradnik-webmastera.com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87732] New: Detect and eliminate unnecessary alloc/free pairs
Date: Wed, 24 Oct 2018 13:18:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bugzilla@poradnik-webmastera.com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-87732-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02052.txt.bz2
Content-length: 911

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87732

            Bug ID: 87732
           Summary: Detect and eliminate unnecessary alloc/free pairs
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bugzilla@poradnik-webmastera.com
  Target Milestone: ---

[code]
void foo()
{
    char* c = new char[4];
    delete[] c;
}
[/code]

gcc with -O3 generates this:

[asm]
foo():
        sub     rsp, 8
        mov     edi, 4
        call    operator new[](unsigned long)
        add     rsp, 8
        mov     rdi, rax
        jmp     operator delete[](void*)
[/asm]

clang 7.0.0 is able to remove unnecessary alloc/free pair:

[asm]
foo():                                # @foo()
        ret
[/asm]

Please do similar thing in gcc too.
>From gcc-bugs-return-618671-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 13:20:33 2018
Return-Path: <gcc-bugs-return-618671-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93577 invoked by alias); 24 Oct 2018 13:20:33 -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 87152 invoked by uid 48); 24 Oct 2018 13:20:28 -0000
From: "bugzilla@poradnik-webmastera.com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87732] Detect and eliminate unnecessary alloc/free pairs
Date: Wed, 24 Oct 2018 13:20:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bugzilla@poradnik-webmastera.com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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-87732-4-aJQlyup21a@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87732-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87732-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02053.txt.bz2
Content-length: 174

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87732

--- Comment #1 from Daniel Fruzynski <bugzilla@poradnik-webmastera.com> ---
New warning for this also would be welcome.
>From gcc-bugs-return-618672-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 13:22:30 2018
Return-Path: <gcc-bugs-return-618672-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37114 invoked by alias); 24 Oct 2018 13:22:29 -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 37051 invoked by uid 48); 24 Oct 2018 13:22:25 -0000
From: "amonakov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug inline-asm/87733] New: local register variable not honored with earlyclobber
Date: Wed, 24 Oct 2018 13:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: inline-asm
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amonakov at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-87733-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02054.txt.bz2
Content-length: 788

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87733

            Bug ID: 87733
           Summary: local register variable not honored with earlyclobber
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: ra
          Severity: normal
          Priority: P3
         Component: inline-asm
          Assignee: unassigned at gcc dot gnu.org
          Reporter: amonakov at gcc dot gnu.org
                CC: ilya.lesokhin at gmail dot com
  Target Milestone: ---

GCC fails to allocate %rsi for the first operand of the asm at -O2:

int test()
{
    register int r0 asm("rsi");
    asm("# %0 %1" : "=&r"(r0) : "r"(0));
    return r0;
}

test:
        .cfi_startproc
        xorl    %esi, %esi
#APP
        # %eax %esi
#NO_APP
        ret
>From gcc-bugs-return-618673-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 13:26:24 2018
Return-Path: <gcc-bugs-return-618673-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47453 invoked by alias); 24 Oct 2018 13:26:24 -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 47324 invoked by uid 48); 24 Oct 2018 13:26:18 -0000
From: "amonakov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/15089] local register variable with a specified register is bad
Date: Wed, 24 Oct 2018 13:26:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 3.4.0
X-Bugzilla-Keywords: documentation
X-Bugzilla-Severity: minor
X-Bugzilla-Who: amonakov at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: rth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.0.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc cf_known_to_fail
Message-ID: <bug-15089-4-G3Q155z7Hr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-15089-4@http.gcc.gnu.org/bugzilla/>
References: <bug-15089-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02055.txt.bz2
Content-length: 582

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15089

Alexander Monakov <amonakov at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amonakov at gcc dot gnu.org
      Known to fail|tree-ssa                    |

--- Comment #27 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
No, this is a different issue (local reg var not honored for an earlyclobber
operand), and it's better to have a separate bug: PR 87733.
>From gcc-bugs-return-618674-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 13:29:02 2018
Return-Path: <gcc-bugs-return-618674-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56711 invoked by alias); 24 Oct 2018 13:29:02 -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 56621 invoked by uid 48); 24 Oct 2018 13:28:58 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87732] Detect and eliminate unnecessary new/delete pairs
Date: Wed, 24 Oct 2018 13:29:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: short_desc
Message-ID: <bug-87732-4-HlrUGJeIxO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87732-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87732-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02056.txt.bz2
Content-length: 577

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87732

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Detect and eliminate        |Detect and eliminate
                   |unnecessary alloc/free      |unnecessary new/delete
                   |pairs                       |pairs

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
We can do this for malloc/free but not for new/delete.  DCE does this.
>From gcc-bugs-return-618675-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 13:32:05 2018
Return-Path: <gcc-bugs-return-618675-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114363 invoked by alias); 24 Oct 2018 13:32:05 -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 114245 invoked by uid 48); 24 Oct 2018 13:31:59 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/87728] inline asm not optimized on GIMPLE
Date: Wed, 24 Oct 2018 13:32:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: alias, missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
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: keywords bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-87728-4-eXNRGijCMF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87728-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87728-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02057.txt.bz2
Content-length: 956

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87728

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |alias
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-10-24
                 CC|                            |rguenth at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Primary cause:

/* If the statement STMT may clobber the memory reference REF return true,
   otherwise return false.  */

bool
stmt_may_clobber_ref_p_1 (gimple *stmt, ao_ref *ref, bool tbaa_p)
{
...
  else if (gimple_code (stmt) == GIMPLE_ASM)
    return true;

similarly ref_maybe_used_by_stmt_p ().

Not sure if really worth the trouble though.
>From gcc-bugs-return-618676-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 13:46:32 2018
Return-Path: <gcc-bugs-return-618676-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100601 invoked by alias); 24 Oct 2018 13:46:30 -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 87384 invoked by uid 48); 24 Oct 2018 13:46:01 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/87727] [9 regression] gcc.target/sparc/overflow-2.c FAILs
Date: Wed, 24 Oct 2018 13:46:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-87727-4-ISI2u4uZVq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87727-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87727-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02058.txt.bz2
Content-length: 547

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87727

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-10-24
     Ever confirmed|0                           |1

--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Most likely r265398, i.e. another far-reaching RTL change like r264897.
>From gcc-bugs-return-618677-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 13:52:59 2018
Return-Path: <gcc-bugs-return-618677-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114433 invoked by alias); 24 Oct 2018 13:52:58 -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 114339 invoked by uid 55); 24 Oct 2018 13:52:54 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/84436] [8/9 Regression] Missed optimization with switch on enum constants returning the same value
Date: Wed, 24 Oct 2018 13:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-84436-4-qQBpzroUsk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84436-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84436-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02059.txt.bz2
Content-length: 1535

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84436

--- Comment #8 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Wed Oct 24 13:52:21 2018
New Revision: 265463

URL: https://gcc.gnu.org/viewcvs?rev=265463&root=gcc&view=rev
Log:
Switch conversion: support any ax + b transformation (PR
tree-optimization/84436).

2018-10-24  Martin Liska  <mliska@suse.cz>

        PR tree-optimization/84436
        * tree-switch-conversion.c (switch_conversion::contains_same_values_p):
        Remove.
        (switch_conversion::contains_linear_function_p): New.
        (switch_conversion::build_one_array): Support linear
        transformation on input.
        * tree-switch-conversion.h (struct switch_conversion): Add
        contains_linear_function_p declaration.
2018-10-24  Martin Liska  <mliska@suse.cz>

        PR tree-optimization/84436
        * gcc.dg/tree-ssa/pr84436-1.c: New test.
        * gcc.dg/tree-ssa/pr84436-2.c: New test.
        * gcc.dg/tree-ssa/pr84436-3.c: New test.
        * gcc.dg/tree-ssa/pr84436-4.c: New test.
        * gcc.dg/tree-ssa/pr84436-5.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr84436-1.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr84436-2.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr84436-3.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr84436-4.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr84436-5.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-switch-conversion.c
    trunk/gcc/tree-switch-conversion.h
>From gcc-bugs-return-618678-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 13:54:24 2018
Return-Path: <gcc-bugs-return-618678-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40682 invoked by alias); 24 Oct 2018 13:54:24 -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 30682 invoked by uid 48); 24 Oct 2018 13:54:19 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/84436] [8/9 Regression] Missed optimization with switch on enum constants returning the same value
Date: Wed, 24 Oct 2018 13:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-84436-4-qPqX2Kkf3m@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84436-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84436-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02060.txt.bz2
Content-length: 439

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84436

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> ---
Implemented.
>From gcc-bugs-return-618679-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 14:26:37 2018
Return-Path: <gcc-bugs-return-618679-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 575 invoked by alias); 24 Oct 2018 14:26:37 -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 128000 invoked by uid 48); 24 Oct 2018 14:26:30 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/87720] [9 Regression] [MIPS] ICE: gcc.c-torture/execute/builtins/lib/chk.c:33:1: in int_mode_for_mode, at stor-layout.c:403 after r265398
Date: Wed, 24 Oct 2018 14:26:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87720-4-FXxfPGNFtO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87720-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87720-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02061.txt.bz2
Content-length: 272

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87720

--- Comment #3 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Hi Paul,

How can the mode of dest be different from that of the source?  How does PC
get into this?  Could you show an example of bad / good RTL?
>From gcc-bugs-return-618680-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 14:43:35 2018
Return-Path: <gcc-bugs-return-618680-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110432 invoked by alias); 24 Oct 2018 14:43:34 -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 110275 invoked by uid 48); 24 Oct 2018 14:43:28 -0000
From: "dje at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/85103] [8/9 Regression] Performance regressions on SPEC with r257582
Date: Wed, 24 Oct 2018 14:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: ipa
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dje at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-85103-4-s1sQE9dnaI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85103-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85103-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02062.txt.bz2
Content-length: 484

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85103

David Edelsohn <dje at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |rguenth at gcc dot gnu.org

--- Comment #11 from David Edelsohn <dje at gcc dot gnu.org> ---
Still waiting for improvement.
>From gcc-bugs-return-618681-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 14:49:11 2018
Return-Path: <gcc-bugs-return-618681-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130044 invoked by alias); 24 Oct 2018 14:49:11 -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 129687 invoked by uid 48); 24 Oct 2018 14:49:05 -0000
From: "aldot at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87734] New: ICE in is_illegal_recursion check for character len= parameter
Date: Wed, 24 Oct 2018 14:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: aldot at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created
Message-ID: <bug-87734-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02063.txt.bz2
Content-length: 2704

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87734

            Bug ID: 87734
           Summary: ICE in is_illegal_recursion check for character len=
                    parameter
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: aldot at gcc dot gnu.org
  Target Milestone: ---

Created attachment 44891
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44891&action=edit
reduced from flibs-svncode/trunk/src/strings/m_vstring.f90 --
sf.net/projects/flibs

flibs-svncode/trunk/src/strings/m_vstring.f90

Builds fine with gfortran-4.8
ICEs with current trunk:

$ gfortran -c -o a.o m_vstring.f90

f951: internal compiler error: in is_illegal_recursion, at
fortran/resolve.c:1688
0x93f623 is_illegal_recursion
        ../../../src/gcc-9.0.mine/gcc/fortran/resolve.c:1688
0x942ff8 resolve_function
        ../../../src/gcc-9.0.mine/gcc/fortran/resolve.c:3294
0x94b2f7 gfc_resolve_expr(gfc_expr*)
        ../../../src/gcc-9.0.mine/gcc/fortran/resolve.c:6809
0x8b7256 gfc_reduce_init_expr(gfc_expr*)
        ../../../src/gcc-9.0.mine/gcc/fortran/expr.c:2799
0x896d3a gfc_match_char_spec(gfc_typespec*)
        ../../../src/gcc-9.0.mine/gcc/fortran/decl.c:3261
0x89860a gfc_match_decl_type_spec(gfc_typespec*, int)
        ../../../src/gcc-9.0.mine/gcc/fortran/decl.c:3904
0x89ba26 gfc_match_data_decl()
        ../../../src/gcc-9.0.mine/gcc/fortran/decl.c:5831
0x9265dd match_word
        ../../../src/gcc-9.0.mine/gcc/fortran/parse.c:65
0x927190 decode_statement
        ../../../src/gcc-9.0.mine/gcc/fortran/parse.c:376
0x92bca0 next_free
        ../../../src/gcc-9.0.mine/gcc/fortran/parse.c:1234
0x92c23f next_statement
        ../../../src/gcc-9.0.mine/gcc/fortran/parse.c:1466
0x92f6c4 parse_spec
        ../../../src/gcc-9.0.mine/gcc/fortran/parse.c:3860
0x93267d parse_progunit
        ../../../src/gcc-9.0.mine/gcc/fortran/parse.c:5671
0x93236d parse_contained
        ../../../src/gcc-9.0.mine/gcc/fortran/parse.c:5574
0x932d61 parse_module

(gdb) up
#1  0x000000000093f624 in is_illegal_recursion (sym=0x2ec81a0, 
    context=0x2ecbc80) at ../../../src/gcc-9.0.mine/gcc/fortran/resolve.c:1688
1688      gcc_assert (sym->attr.flavor == FL_PROCEDURE);
(gdb) p sym->name
$1 = 0x7ffff70ce6a0 "vstring_length"
(gdb) p sym->attr.flavor 
$2 = FL_UNKNOWN


PS: to build the full flibs you currently have to
svn checkout
# fix the most severe bugs in the config script:
sed -i -e 's/==/=/g' -e 's/@$\([0-9]\)/"@$\1"/g' configure.sh
OSTYPE=linux-gnu ./configure.sh
cd make/makefile
make
>From gcc-bugs-return-618682-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 14:51:59 2018
Return-Path: <gcc-bugs-return-618682-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25355 invoked by alias); 24 Oct 2018 14:51:59 -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 25091 invoked by uid 48); 24 Oct 2018 14:51:53 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/85103] [8/9 Regression] Performance regressions on SPEC with r257582
Date: Wed, 24 Oct 2018 14:51:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: ipa
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wschmidt at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85103-4-mDA9fiRwFU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85103-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85103-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02064.txt.bz2
Content-length: 219

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85103

--- Comment #12 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Does this qualify as a P2 bug?  This is a serious degradation not only on P7
but also P8 and P9.
>From gcc-bugs-return-618683-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 15:27:15 2018
Return-Path: <gcc-bugs-return-618683-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99984 invoked by alias); 24 Oct 2018 15:27:15 -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 99858 invoked by uid 48); 24 Oct 2018 15:27:09 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87731] Detection of mismatched alloc/free pairs
Date: Wed, 24 Oct 2018 15:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.2.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
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: keywords bug_status cf_reconfirmed_on blocked everconfirmed
Message-ID: <bug-87731-4-LB6039DI7b@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87731-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87731-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02065.txt.bz2
Content-length: 758

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87731

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-10-24
             Blocks|                            |87403
     Ever confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
With -fsanitize=address GCC diagnoses it.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87403
[Bug 87403] [Meta-bug] Issues that suggest a new warning
>From gcc-bugs-return-618684-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 15:29:12 2018
Return-Path: <gcc-bugs-return-618684-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105933 invoked by alias); 24 Oct 2018 15:29:12 -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 105903 invoked by uid 48); 24 Oct 2018 15:29:08 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87732] Detect and eliminate unnecessary new/delete pairs
Date: Wed, 24 Oct 2018 15:29:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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-87732-4-oSvP0s42Mk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87732-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87732-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02066.txt.bz2
Content-length: 149

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87732

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Looks like a dup of PR 78104
>From gcc-bugs-return-618685-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 15:33:12 2018
Return-Path: <gcc-bugs-return-618685-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17405 invoked by alias); 24 Oct 2018 15:33:12 -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 16714 invoked by uid 48); 24 Oct 2018 15:33:00 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87731] Detection of mismatched alloc/free pairs
Date: Wed, 24 Oct 2018 15:33:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 8.2.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
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-87731-4-BQm0nytsVJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87731-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87731-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02067.txt.bz2
Content-length: 629

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87731

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Daniel Fruzynski from comment #0)
> Valgrind also provides set of macros which allows it to track custom
> alloc/free functions. It would be nice if you add new attributes which could
> be attached to custom alloc and free functions, so gcc could check pairing
> for them too. I think of something like this:
> 
> __attribute__((malloc("MyAllocType")))
> void* MyAlloc(size_t);
> 
> __attribute__((free("MyAllocType")))
> void MyFree(void*);

That should be a separate enhancement request.
>From gcc-bugs-return-618686-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 15:42:05 2018
Return-Path: <gcc-bugs-return-618686-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68407 invoked by alias); 24 Oct 2018 15:42:02 -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 68314 invoked by uid 48); 24 Oct 2018 15:41:57 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/87720] [9 Regression] [MIPS] ICE: gcc.c-torture/execute/builtins/lib/chk.c:33:1: in int_mode_for_mode, at stor-layout.c:403 after r265398
Date: Wed, 24 Oct 2018 15:42:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: segher at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed
Message-ID: <bug-87720-4-zV4uOfiRyp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87720-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87720-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02068.txt.bz2
Content-length: 742

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87720

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2018-10-24
           Assignee|unassigned at gcc dot gnu.org      |segher at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #4 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Okay I managed to build a cross-compiler.  Confirmed; needs -O1 but nothing
more.

(set (pc) (reg:SI 25))

Huh, why did this not happen on any of my builds.  I have a patch.
>From gcc-bugs-return-618687-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 15:49:38 2018
Return-Path: <gcc-bugs-return-618687-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89677 invoked by alias); 24 Oct 2018 15:49:38 -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 89273 invoked by uid 48); 24 Oct 2018 15:49:13 -0000
From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/87735] New: [9 regression] gcc.dg/tree-prof/time-profiler-1.c and -2.c and -3.c fail starting with 265454
Date: Wed, 24 Oct 2018 15:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: seurer at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-87735-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02069.txt.bz2
Content-length: 2904

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87735

            Bug ID: 87735
           Summary: [9 regression] gcc.dg/tree-prof/time-profiler-1.c and
                    -2.c and -3.c fail starting with 265454
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

> FAIL: gcc.dg/tree-prof/time-profiler-1.c scan-ipa-dump-times profile "Read tp_first_run: 1" 1
> FAIL: gcc.dg/tree-prof/time-profiler-2.c scan-ipa-dump-times profile "Read tp_first_run: 1" 2
> FAIL: gcc.dg/tree-prof/time-profiler-3.c scan-ipa-dump-times profile "Read tp_first_run: 1" 1


Executing on host: /home/seurer/gcc/build/gcc-trunk/gcc/xgcc
-B/home/seurer/gcc/build/gcc-trunk/gcc/
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/tree-prof/time-profiler-1.c   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never   -O2 -fdump-ipa-profile -fprofile-use -D_PROFILE_USE
 -lm  -o
/home/seurer/gcc/build/gcc-trunk/gcc/testsuite/gcc8/time-profiler-1.x02   
(timeout = 300)
spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-trunk/gcc/xgcc
-B/home/seurer/gcc/build/gcc-trunk/gcc/
/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/tree-prof/time-profiler-1.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -O2 -fdump-ipa-profile -fprofile-use -D_PROFILE_USE
-lm -o /home/seurer/gcc/build/gcc-trunk/gcc/testsuite/gcc8/time-profiler-1.x02
PASS: gcc.dg/tree-prof/time-profiler-1.c compilation,  -fprofile-use
-D_PROFILE_USE
Setting LD_LIBRARY_PATH to
:/home/seurer/gcc/build/gcc-trunk/gcc:/home/seurer/gcc/build/gcc-trunk/powerpc64-unknown-linux-gnu/./libatomic/.libs::/home/seurer/gcc/build/gcc-trunk/gcc:/home/seurer/gcc/build/gcc-trunk/powerpc64-unknown-linux-gnu/./libatomic/.libs:/home/seurer/gcc/build/gcc-trunk/./gmp/.libs:/home/seurer/gcc/build/gcc-trunk/./prev-gmp/.libs:/home/seurer/gcc/build/gcc-trunk/./mpfr/src/.libs:/home/seurer/gcc/build/gcc-trunk/./prev-mpfr/src/.libs:/home/seurer/gcc/build/gcc-trunk/./mpc/src/.libs:/home/seurer/gcc/build/gcc-trunk/./prev-mpc/src/.libs:/home/seurer/gcc/build/gcc-trunk/./isl/.libs:/home/seurer/gcc/build/gcc-trunk/./prev-isl/.libs:/home/seurer/gcc/install/gcc-7.2.0/lib64
Execution timeout is: 300
spawn [open ...]
PASS: gcc.dg/tree-prof/time-profiler-1.c execution,    -fprofile-use
-D_PROFILE_USE
gcc.dg/tree-prof/time-profiler-1.c: pattern found 0 times
FAIL: gcc.dg/tree-prof/time-profiler-1.c scan-ipa-dump-times profile "Read
tp_first_run: 1" 1
PASS: gcc.dg/tree-prof/time-profiler-1.c scan-ipa-dump-times profile "Read
tp_first_run: 2" 1
PASS: gcc.dg/tree-prof/time-profiler-1.c scan-ipa-dump-times profile "Read
tp_first_run: 3" 1
>From gcc-bugs-return-618688-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 16:12:54 2018
Return-Path: <gcc-bugs-return-618688-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74731 invoked by alias); 24 Oct 2018 16:12:54 -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 74683 invoked by uid 48); 24 Oct 2018 16:12:49 -0000
From: "aldot at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87734] ICE in is_illegal_recursion check for character len= parameter
Date: Wed, 24 Oct 2018 16:12: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: aldot at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords cf_known_to_work version target_milestone cf_known_to_fail
Message-ID: <bug-87734-4-CBQiC27M0q@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87734-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87734-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2018-10/txt/msg02070.txt.bz2
Content-length: 552

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87734

Bernhard Reutner-Fischer <aldot at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
      Known to work|                            |4.8.4, 4.9.2
            Version|unknown                     |9.0
   Target Milestone|---                         |9.0
      Known to fail|                            |6.4.0, 7.3.0, 8.2.0
>From gcc-bugs-return-618689-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 24 16:31:21 2018
Return-Path: <gcc-bugs-return-618689-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50579 invoked by alias); 24 Oct 2018 16:31:09 -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 32779 invoked by uid 89); 24 Oct 2018 16:30:04 -0000
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=2.9 required=5.0 testsºYES_50,GIT_PATCH_2,HTML_MESSAGE,KAM_TRACKIMAGE,RAZOR2_CF_RANGE_51_100,RAZOR2_CHECK,RCVD_IN_DNSWL_NONE,SPF_PASS,UNSUBSCRIBE_BODY autolearn=no version=3.3.2 spammy=trustworthy, cfo, CFO, Cleaning
X-HELO: m231-246.mailgun.net
Received: from m231-246.mailgun.net (HELO m231-246.mailgun.net) (159.135.231.246) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 24 Oct 2018 16:30:01 +0000
DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=vanguardnnj.com; q=dns/txt; s=smtp; t\x1540398599; h=To: Message-Id: Content-Type: Mime-Version: Subject: From: Reply-To: List-Unsubscribe: Sender: Date: List-Id; bh=r8P5wVvUuNJZ+Ywyao8REMcf25JbTDjVer410pAXfd4=; b=q6XJ2UXWY277s8K/c412Ap5AOIBlEIe4jBbazh5UzOZfAUfMSRyTArXXlUe45jXGRjHx/X6I ew8hom1h1oCD6pjWVk1gqi16M7dEprse2j6FkoD6CbQcdC+ktQfwicWYBsY0GmYNAig5+Ben RGXlVvTAKgWRO9hpl0b7Nh7ojzoX-Mailgun-Sending-Ip: 159.135.231.246
X-Mailgun-Sid: WyI3YTgyZCIsICJnY2MtYnVnc0BnY2MuZ251Lm9yZyIsICIyYmU3NDkiXQ=Received: by luna.mailgun.net with SMTP X-Mailgun-List-Idr71986, 8758311427705; Wed, 24 Oct 2018 16:29:59 +0000
X-Mailgun-List-Id: 7271986
X-Mailgun-List-Address: mail_153584200_3.1540398002@vanguardnnj.com
Received: by luna.mailgun.net with HTTP; Wed, 24 Oct 2018 16:23:16 +0000
Date: Wed, 24 Oct 2018 16:31:00 -0000
Sender: gcianfrone@vanguardnnj.com
Reply-To: gcianfrone@vanguardnnj.com
X-Mailgun-Track: true
X-Mailgun-Tag: tag.1540398194.31848.153584200.152928480.17416569.5565616
From: Gina Cianfrone <gcianfrone@vanguardnnj.com>
Subject: =?utf-8?q?Don’t_be_dirty?Mime-Version: 1.0
Message-Id: <20181024162431.1.F1E928590C3998CE@vanguardnnj.com>
To: gcc-bugs@gcc.gnu.org
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-SW-Source: 2018-10/txt/msg02071.txt.bz2
Content-length: 1751

Hi Enrique,

Nobody is at their most productive while working in a filthy environment.
Bring the experts in to keep it clean!

We will ensure your space is always clean from top to bottom. Vanguard
Cleaning Systems has been the trusted cleaning partner of countless
companies across America for over 30 years, and we’d love for you to be
next.

May I give you a complimentary cleaning quote?

​Have a great day! ---
Gina Cianfrone
Vice President of Marketing
Vanguard Cleaning Systems of Northern New Jersey

Read what our valued clients have to say:

"Vanguard Cleaning Service has provided cleaning services for The
Cardiovascular Care Group in all three of our locations in Clifton, Springfield,
and Westfield since 2008. They have proven to be both reliable and trustworthy.
They clean both offices and surgical suites daily. They have provided us with a
written policy to meet with our accreditation standards. They provide us additional
services like carpet and floor strip and wax at a reasonable price. They are truly a
full-service company." —Kathleen Demytrk, CFO, The Cardiovascular Care Group

© 2018 Vanguard Cleaning Systems of Northern New Jersey
Our address is 115 Route 46 West, Suite A-8, Mountain Lakes, New Jersey, 07046 

In order to unsubscribe from this mailing list, please click here http://email.vanguardnnj.com/c/eJx1kM1ugzAQhJ8GbrW867W9PnCo0uQ9jM1PUgOBQAJ5-rrXSpVG2k870kgzscK6seTKa4USGCQSGCQFAsQFzg5ZO3lSzvHpXJB8-rHb_BLH8SbCNJR9FVtqDLckTQzONK20tWRuYsQGW0--HCqLFhybMlX9ut4L9VngJWtdfPgWfxJ_LXXZt1SoLz1LqV_TDabhYYx8HzN4q-b9-Ur99KB2T-Zg7dPb2Xbdn4HC93FQdLIeouGEmubX2MN74vsQUKcCzX7NuV0IH_XWPXKfjKIbNzEtXblU_xhrtfpOgCapHIMjoYCJ80NpJpQyE-ahiDPZPJ82TmidD5gfHzJoFw


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

* [Bug c++/87713] single character underlined in an error message instead of the whole token
       [not found] <bug-87713-4@http.gcc.gnu.org/bugzilla/>
  2018-10-23 18:51 ` [Bug c++/87713] single character underlined in an error message instead of the whole token msebor at gcc dot gnu.org
@ 2024-04-04 22:24 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-04-04 22:24 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87713

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2024-04-04
     Ever confirmed|0                           |1

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.

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

end of thread, other threads:[~2024-04-04 22:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-87713-4@http.gcc.gnu.org/bugzilla/>
2018-10-23 18:51 ` [Bug c++/87713] single character underlined in an error message instead of the whole token msebor at gcc dot gnu.org
2024-04-04 22:24 ` 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).