public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/81552] -finit-integer=n is restricted to 32-bit INTEGER.
       [not found] <bug-81552-4@http.gcc.gnu.org/bugzilla/>
@ 2019-02-09 11:02 ` dominiq at lps dot ens.fr
  0 siblings, 0 replies; only message in thread
From: dominiq at lps dot ens.fr @ 2019-02-09 11:02 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: 8677994 bytes --]

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

--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> > IMO this PR should be closed as WONTFIX.
>
> Or document it - a single sentence should be enough.

Well the following patch (untested) "fixes" this PR:

--- ../_clean/gcc/fortran/gfortran.h    2019-02-02 17:23:28.000000000 +0100
+++ gcc/fortran/gfortran.h      2019-02-09 11:17:44.000000000 +0100
@@ -2681,7 +2681,7 @@ typedef struct
   int flag_preprocessed;
   int flag_d_lines;
   int flag_init_integer;
-  int flag_init_integer_value;
+  long int flag_init_integer_value;
   int flag_init_logical;
   int flag_init_character;
   char flag_init_character_value;
@@ -708,7 +708,7 @@ gfc_handle_option (size_t scode, const c

     case OPT_finit_integer_:
       gfc_option.flag_init_integer = GFC_INIT_INTEGER_ON;
-      gfc_option.flag_init_integer_value = atoi (arg);
+      gfc_option.flag_init_integer_value = atol(arg);
       break;

     case OPT_finit_character_:

While playing with the problem I have noticed that if the value in
-finit-integer=N is outside the representable integer, the value is wrapped
around: if N = 128, integer(1) is initialized with -128. IMO this should be
documented.

With the above patch, this is not true for integer(8): if N=Huge(1_8)+1,
integer(8) is initialized with huge(1_8). In addition integer(16) is also
initialized with huge(1_8).
>From gcc-bugs-return-633008-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 11:12:10 2019
Return-Path: <gcc-bugs-return-633008-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104332 invoked by alias); 9 Feb 2019 11:12: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 104252 invoked by uid 55); 9 Feb 2019 11:12:05 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89200] [9 Regression] Erroneous copying of a derived type with a deferred-length character array component
Date: Sat, 09 Feb 2019 11: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pault at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: pault at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89200-4-m5waZUrHI7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89200-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89200-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: 2019-02/txt/msg01310.txt.bz2
Content-length: 738

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

--- Comment #5 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Sat Feb  9 11:11:33 2019
New Revision: 268721

URL: https://gcc.gnu.org/viewcvs?rev=268721&root=gcc&view=rev
Log:
2019-02-09  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/89200
        * trans-array.c (gfc_trans_create_temp_array): Set the 'span'
        field for derived types.

2019-02-09  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/89200
        * gfortran.dg/array_reference_2.f90 : New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/array_reference_2.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-array.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633010-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 11:22:08 2019
Return-Path: <gcc-bugs-return-633010-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128223 invoked by alias); 9 Feb 2019 11:22: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 127878 invoked by uid 48); 9 Feb 2019 11:22:04 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/68241] [meta-bug] [F03] Deferred-length character
Date: Sat, 09 Feb 2019 11:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pault 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 resolution
Message-ID: <bug-68241-4-zdQSSweBdq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68241-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68241-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: 2019-02/txt/msg01312.txt.bz2
Content-length: 527

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68241
Bug 68241 depends on bug 89200, which changed state.

Bug 89200 Summary: [9 Regression] Erroneous copying of a derived type with a deferred-length character array component
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89200

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-633011-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 11:22:29 2019
Return-Path: <gcc-bugs-return-633011-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129336 invoked by alias); 9 Feb 2019 11:22: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 129259 invoked by uid 48); 9 Feb 2019 11:22:24 -0000
From: "mark at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88835] overly aggressive -Werror=format-overflow for printf since r265648
Date: Sat, 09 Feb 2019 11:22: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: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mark 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:
Message-ID: <bug-88835-4-wRgXYcE5H8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88835-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88835-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: 2019-02/txt/msg01313.txt.bz2
Content-length: 1099

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

--- Comment #7 from Mark Wielaard <mark at gcc dot gnu.org> ---
Is this a regression that will probably be fixed for GCC 9.1 or should we be
adding workaround to the code.

Currently elfutils won't build on distros that started using the GCC 9.0
prerelease on 32bit architectures (i686, arm32):

BUILDSTDERR: readelf.c: In function 'print_debug_str_section':
BUILDSTDERR: readelf.c:10152:15: error: '%*llx' directive output between 4 and
2147483647 bytes may cause result to exceed 'INT_MAX'
[-Werror=format-overflow=]
BUILDSTDERR: 10152 |       printf (" [%*" PRIx64 "]  \"%s\"\n", digits,
(uint64_t) offset, str);
BUILDSTDERR:       |               ^~~~~~
BUILDSTDERR: readelf.c:10152:18: note: format string is defined here
BUILDSTDERR: 10152 |       printf (" [%*" PRIx64 "]  \"%s\"\n", digits,
(uint64_t) offset, str);
BUILDSTDERR: readelf.c:10152:15: note: directive argument in the range [0,
18446744073709551614]
BUILDSTDERR: 10152 |       printf (" [%*" PRIx64 "]  \"%s\"\n", digits,
(uint64_t) offset, str);
BUILDSTDERR:       |
>From gcc-bugs-return-633009-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 11:22:06 2019
Return-Path: <gcc-bugs-return-633009-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127936 invoked by alias); 9 Feb 2019 11:22: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 127811 invoked by uid 48); 9 Feb 2019 11:22:01 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89200] [9 Regression] Erroneous copying of a derived type with a deferred-length character array component
Date: Sat, 09 Feb 2019 11:22: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pault at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: pault at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89200-4-SmOWr5Dovu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89200-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89200-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: 2019-02/txt/msg01311.txt.bz2
Content-length: 441

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

Paul Thomas <pault at gcc dot gnu.org> changed:

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

--- Comment #6 from Paul Thomas <pault at gcc dot gnu.org> ---
Thanks for the report.

Paul
>From gcc-bugs-return-633012-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 11:38:44 2019
Return-Path: <gcc-bugs-return-633012-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21868 invoked by alias); 9 Feb 2019 11:38: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 21738 invoked by uid 48); 9 Feb 2019 11:38:37 -0000
From: "ohaiziejohwahkeezuoz at xff dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89260] ICE in read_cgraph_and_symbols, at lto/lto.c:2800 while compiling harfbuzz
Date: Sat, 09 Feb 2019 11:38: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ohaiziejohwahkeezuoz at xff dot cz
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-89260-4-QLpdYuLGvB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89260-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89260-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: 2019-02/txt/msg01314.txt.bz2
Content-length: 3189

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

--- Comment #2 from ohaiziejohwahkeezuoz at xff dot cz ---
The main problem is elsewhere (read_cgraph_and_symbols looks just like some
cascading assertion failure because of some other segfault). I recompiled gcc
with -Og -ggdb and managed to produce this backtrace:

Thread 6.1 "lto1-wpa" received signal SIGSEGV, Segmentation fault.
[Switching to process 20627]
0x000000000090c7ac in is_a_helper<cgraph_node*>::test<symtab_node>
(p=0x622e7365646f6e5f) at
/workspace/megous.com/apps-c/static-deps/toolchains/sources/gcc-8/gcc/cgraph.h:1953
1953      return p && p->type == SYMTAB_FUNCTION;
(gdb) bt
#0  0x000000000090c7ac in is_a_helper<cgraph_node*>::test<symtab_node>
(p=0x622e7365646f6e5f) at
/workspace/megous.com/apps-c/static-deps/toolchains/sources/gcc-8/gcc/cgraph.h:1953
#1  is_a<cgraph_node*, symtab_node> (p=0x622e7365646f6e5f) at
/workspace/megous.com/apps-c/static-deps/toolchains/sources/gcc-8/gcc/is-a.h:187
#2  dyn_cast<cgraph_node*, symtab_node> (p=0x622e7365646f6e5f) at
/workspace/megous.com/apps-c/static-deps/toolchains/sources/gcc-8/gcc/is-a.h:224
#3  input_node (file_data=file_data@entry=0x7ffff70ac000,
ib=ib@entry=0x19ca940, tag=LTO_symtab_unavail_node, nodes=nodes@entry=...)
    at
/workspace/megous.com/apps-c/static-deps/toolchains/sources/gcc-8/gcc/lto-cgraph.c:1253
#4  0x0000000000910480 in input_cgraph_1
(file_data=file_data@entry=0x7ffff70ac000, ib=ib@entry=0x19ca940) at
/workspace/megous.com/apps-c/static-deps/toolchains/sources/gcc-8/gcc/lto-cgraph.c:1556
#5  0x0000000000910a25 in input_symtab () at
/workspace/megous.com/apps-c/static-deps/toolchains/sources/gcc-8/gcc/lto-cgraph.c:1864
#6  0x00000000005f6962 in read_cgraph_and_symbols (nfiles=344,
fnames=0x1991aa0) at
/workspace/megous.com/apps-c/static-deps/toolchains/sources/gcc-8/gcc/lto/lto.c:2897
#7  0x00000000005f6db8 in lto_main () at
/workspace/megous.com/apps-c/static-deps/toolchains/sources/gcc-8/gcc/lto/lto.c:3362
#8  0x0000000000a59b7a in compile_file () at
/workspace/megous.com/apps-c/static-deps/toolchains/sources/gcc-8/gcc/toplev.c:455
#9  0x0000000000a5bba7 in do_compile () at
/workspace/megous.com/apps-c/static-deps/toolchains/sources/gcc-8/gcc/toplev.c:2132
#10 0x0000000000a5c120 in toplev::main (this=this@entry=0x7fffffffd1e6,
argc=<optimized out>, argc@entry=29, argv=<optimized out>,
argv@entry=0x7fffffffd2e8)
    at
/workspace/megous.com/apps-c/static-deps/toolchains/sources/gcc-8/gcc/toplev.c:2267
#11 0x00000000011c4c30 in main (argc=29, argv=0x7fffffffd2e8) at
/workspace/megous.com/apps-c/static-deps/toolchains/sources/gcc-8/gcc/main.c:39

(gdb) l
1948    template <>
1949    template <>
1950    inline bool
1951    is_a_helper <cgraph_node *>::test (symtab_node *p)
1952    {
1953      return p && p->type == SYMTAB_FUNCTION;
1954    }
1955    
1956    /* Report whether or not THIS symtab node is a vriable, aka
varpool_node.  */
1957    
(gdb) p p
$1 = (symtab_node *) 0x622e7365646f6e5f
(gdb) p *p
Cannot access memory at address 0x622e7365646f6e5f


Looks like some memory corruption bug.
>From gcc-bugs-return-633014-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 11:46:05 2019
Return-Path: <gcc-bugs-return-633014-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29763 invoked by alias); 9 Feb 2019 11:46:04 -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 29702 invoked by uid 48); 9 Feb 2019 11:45:58 -0000
From: "pskocik at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89264] New: Incorrect bitfield type in -Wconversion warnings
Date: Sat, 09 Feb 2019 11:46: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: 7.4.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pskocik 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-89264-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: 2019-02/txt/msg01316.txt.bz2
Content-length: 566

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

            Bug ID: 89264
           Summary: Incorrect bitfield type in -Wconversion warnings
           Product: gcc
           Version: 7.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pskocik at gmail dot com
  Target Milestone: ---

void f() { struct{ unsigned x:1; }x = { (unsigned){0} }; }

warns about a conversion to `unsigned char:1`. It should say `unsigned int:1`.
>From gcc-bugs-return-633013-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 11:46:05 2019
Return-Path: <gcc-bugs-return-633013-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29759 invoked by alias); 9 Feb 2019 11:46:04 -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 29696 invoked by uid 48); 9 Feb 2019 11:45:58 -0000
From: "pskocik at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89265] New: Incorrect bitfield type in -Wconversion warnings
Date: Sat, 09 Feb 2019 11:46: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: 7.4.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pskocik 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-89265-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: 2019-02/txt/msg01315.txt.bz2
Content-length: 566

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

            Bug ID: 89265
           Summary: Incorrect bitfield type in -Wconversion warnings
           Product: gcc
           Version: 7.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pskocik at gmail dot com
  Target Milestone: ---

void f() { struct{ unsigned x:1; }x = { (unsigned){0} }; }

warns about a conversion to `unsigned char:1`. It should say `unsigned int:1`.
>From gcc-bugs-return-633015-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 11:59:01 2019
Return-Path: <gcc-bugs-return-633015-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44525 invoked by alias); 9 Feb 2019 11:59: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 44435 invoked by uid 48); 9 Feb 2019 11:58:56 -0000
From: "schwab@linux-m68k.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89265] Incorrect bitfield type in -Wconversion warnings
Date: Sat, 09 Feb 2019 11:59: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.4.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: schwab@linux-m68k.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89265-4-EyyId0kyxc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89265-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89265-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: 2019-02/txt/msg01317.txt.bz2
Content-length: 482

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

Andreas Schwab <schwab@linux-m68k.org> changed:

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

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
.

*** This bug has been marked as a duplicate of bug 89264 ***
>From gcc-bugs-return-633016-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 11:59:02 2019
Return-Path: <gcc-bugs-return-633016-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44559 invoked by alias); 9 Feb 2019 11:59: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 44451 invoked by uid 48); 9 Feb 2019 11:58:57 -0000
From: "schwab@linux-m68k.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89264] Incorrect bitfield type in -Wconversion warnings
Date: Sat, 09 Feb 2019 11:59: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.4.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: schwab@linux-m68k.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-89264-4-1z8j0oQ7FM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89264-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89264-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: 2019-02/txt/msg01318.txt.bz2
Content-length: 179

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

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
*** Bug 89265 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-633017-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 12:25:22 2019
Return-Path: <gcc-bugs-return-633017-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121020 invoked by alias); 9 Feb 2019 12:25: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 120978 invoked by uid 48); 9 Feb 2019 12:25:17 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89261] ix86_data_alignment has wrong argument type
Date: Sat, 09 Feb 2019 12:25: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:
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:
Message-ID: <bug-89261-4-bDAunrUbKM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89261-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89261-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: 2019-02/txt/msg01319.txt.bz2
Content-length: 1076

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

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Uroš Bizjak from comment #1)
> (In reply to H.J. Lu from comment #0)
> > i386.c has
> > 
> > int
> > ix86_data_alignment (tree type, int align, bool opt)
> > 
> > But "align" passed down is unsigned.
> 
> Where is the bug?
> 
> I don't think anybody passed negative alignment or alignment >= 2G.

This is a valid code:

[hjl@gnu-skx-1 gcc]$ cat /tmp/x.i
typedef double __v2df __attribute__ ((__vector_size__ (16), aligned(1 << 28)));
__v2df foo = { 1.0, 2.0 };
[hjl@gnu-skx-1 gcc]$ gcc -S /tmp/x.i
[hjl@gnu-skx-1 gcc]$ cat x.s
        .file   "x.i"
        .text
        .globl  foo
        .data
        .align 16   <<<<<<<<<<<< This is wrong.
        .type   foo, @object
        .size   foo, 16
foo:
        .long   0
        .long   1072693248
        .long   0
        .long   1073741824
        .ident  "GCC: (GNU) 8.2.1 20190109 (Red Hat 8.2.1-7)"
        .section        .note.GNU-stack,"",@progbits
[hjl@gnu-skx-1 gcc]$
>From gcc-bugs-return-633018-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 12:27:37 2019
Return-Path: <gcc-bugs-return-633018-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15122 invoked by alias); 9 Feb 2019 12:27: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 13533 invoked by uid 48); 9 Feb 2019 12:27:33 -0000
From: "konraddabrowski at yahoo dot co.uk" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87770] [8 Regression] ICE in type_dependent_expression_p, at cp/pt.c:25230
Date: Sat, 09 Feb 2019 12: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: konraddabrowski at yahoo dot co.uk
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87770-4-dJ1hcK21r9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87770-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87770-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: 2019-02/txt/msg01320.txt.bz2
Content-length: 228

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

--- Comment #7 from Konrad Dabrowski <konraddabrowski at yahoo dot co.uk> ---
Thank you for fixing this. Would it be possible to backport this patch to the
gcc-8 branch?
>From gcc-bugs-return-633019-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 12:37:11 2019
Return-Path: <gcc-bugs-return-633019-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21926 invoked by alias); 9 Feb 2019 12:37: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 21895 invoked by uid 48); 9 Feb 2019 12:37:06 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89266] New: ICE with TRANSFER of len=0 character array constructor
Date: Sat, 09 Feb 2019 12:37: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-89266-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: 2019-02/txt/msg01321.txt.bz2
Content-length: 2736

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

            Bug ID: 89266
           Summary: ICE with TRANSFER of len=0 character array constructor
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tkoenig at gcc dot gnu.org
  Target Milestone: ---

$ cat tst3.f90 
program test
  implicit none
  integer :: i
  character(*), parameter :: y = ''
  character(*), parameter     :: z = transfer ([''], y)
end

$ gfortran tst3.f90 
f951: interner Compiler-Fehler: Speicherzugriffsfehler
0xe24dff crash_signal
        ../../trunk/gcc/toplev.c:326
0x843411 add_init_expr_to_sym
        ../../trunk/gcc/fortran/decl.c:1924
0x84c5dd variable_decl
        ../../trunk/gcc/fortran/decl.c:2864
0x84c5dd gfc_match_data_decl()
        ../../trunk/gcc/fortran/decl.c:6005
0x8aac50 match_word
        ../../trunk/gcc/fortran/parse.c:65
0x8aac50 decode_statement
        ../../trunk/gcc/fortran/parse.c:376
0x8ae6f4 next_free
        ../../trunk/gcc/fortran/parse.c:1241
0x8ae6f4 next_statement
        ../../trunk/gcc/fortran/parse.c:1473
0x8afd5a parse_spec
        ../../trunk/gcc/fortran/parse.c:3865
0x8b257c parse_progunit
        ../../trunk/gcc/fortran/parse.c:5680
0x8b3923 gfc_parse_file()
        ../../trunk/gcc/fortran/parse.c:6220
0x8fd0af gfc_be_parse_file
        ../../trunk/gcc/fortran/f95-lang.c:204

Variant:

$ cat tst3.f90 
program test
  implicit none
  integer :: i
  character(*), parameter :: y = 'efcdab'
  character(6), save      :: z = transfer ([''], y)
  print *,len(z)
end
$ gfortran tst3.f90 
tst3.f90:1:0:

    1 | program test
      | 
interner Compiler-Fehler: in gfc_conv_string_init, bei
fortran/trans-const.c:147
0x6181c5 gfc_conv_string_init(tree_node*, gfc_expr*)
        ../../trunk/gcc/fortran/trans-const.c:147
0x9412f0 gfc_conv_initializer(gfc_expr*, gfc_typespec*, tree_node*, bool, bool,
bool)
        ../../trunk/gcc/fortran/trans-expr.c:7351
0x928389 gfc_get_symbol_decl(gfc_symbol*)
        ../../trunk/gcc/fortran/trans-decl.c:1831
0x92aee7 generate_local_decl
        ../../trunk/gcc/fortran/trans-decl.c:5621
0x8e8622 do_traverse_symtree
        ../../trunk/gcc/fortran/symbol.c:4155
0x92c074 generate_local_vars
        ../../trunk/gcc/fortran/trans-decl.c:5821
0x92c074 gfc_generate_function_code(gfc_namespace*)
        ../../trunk/gcc/fortran/trans-decl.c:6465
0x8b3f0e translate_all_program_units
        ../../trunk/gcc/fortran/parse.c:6134
0x8b3f0e gfc_parse_file()
        ../../trunk/gcc/fortran/parse.c:6337
0x8fd0af gfc_be_parse_file
        ../../trunk/gcc/fortran/f95-lang.c:204
>From gcc-bugs-return-633021-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 12:40:23 2019
Return-Path: <gcc-bugs-return-633021-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25183 invoked by alias); 9 Feb 2019 12: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 25121 invoked by uid 48); 9 Feb 2019 12:40:18 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libbacktrace/57591] gcc-4.8 libbacktrace btest failure on Linux ppc64
Date: Sat, 09 Feb 2019 12:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libbacktrace
X-Bugzilla-Version: 4.8.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: major
X-Bugzilla-Who: segher at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WONTFIX
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-57591-4-5nHPPOZdra@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57591-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57591-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: 2019-02/txt/msg01323.txt.bz2
Content-length: 601

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

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

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

--- Comment #6 from Segher Boessenkool <segher at gcc dot gnu.org> ---
4.8 is no longer supported (and neither are 4.9, 5, or 6).  I'm closing this
bug; please reopen it if it still happens (with trunk or another supported
version).  Thanks!
>From gcc-bugs-return-633020-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 12:40:09 2019
Return-Path: <gcc-bugs-return-633020-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24382 invoked by alias); 9 Feb 2019 12:40: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 24286 invoked by uid 48); 9 Feb 2019 12:40:04 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89266] ICE with TRANSFER of len=0 character array constructor
Date: Sat, 09 Feb 2019 12: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
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: keywords blocked
Message-ID: <bug-89266-4-UCAdYkqfet@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89266-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89266-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: 2019-02/txt/msg01322.txt.bz2
Content-length: 830

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Blocks|                            |19276, 31237

--- Comment #1 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Goes back a long time, at least to gcc 6.

I also think that this is valid code, but if somebody can find
language in the standard that says otherwise, please correct.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19276
[Bug 19276] [meta-bug] CHARACTER related bugs in gfortran
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31237
[Bug 31237] [meta-bug] TRANSFER intrinsic
>From gcc-bugs-return-633022-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 12:44:44 2019
Return-Path: <gcc-bugs-return-633022-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29729 invoked by alias); 9 Feb 2019 12:44:43 -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 29660 invoked by uid 55); 9 Feb 2019 12:44:39 -0000
From: "amodra at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88343] [7/8 Regression] R31 is unconditionally saved/restored on powerpc-darwin even when it's not necessary.
Date: Sat, 09 Feb 2019 12:44: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amodra at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
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-88343-4-hMDKFlOuZE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88343-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88343-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: 2019-02/txt/msg01324.txt.bz2
Content-length: 562

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

--- Comment #35 from Alan Modra <amodra at gcc dot gnu.org> ---
Author: amodra
Date: Sat Feb  9 12:44:02 2019
New Revision: 268722

URL: https://gcc.gnu.org/viewcvs?rev=268722&root=gcc&view=rev
Log:
[RS6000] Correct save_reg_p

        PR target/88343
        * config/rs6000/rs6000.c (rs6000_reg_live_or_pic_offset_p): Match
        logic in rs6000_emit_prologue emitting pic_offset_table setup.


Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/config/rs6000/rs6000.c
>From gcc-bugs-return-633023-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 12:54:55 2019
Return-Path: <gcc-bugs-return-633023-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37053 invoked by alias); 9 Feb 2019 12:54: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 37029 invoked by uid 48); 9 Feb 2019 12:54:50 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89267] New: [8 Regression] FAIL: g++.dg/cpp1z/constexpr-lambda8.C   (test for excess errors)
Date: Sat, 09 Feb 2019 12: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: 8.2.1
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 target_milestone
Message-ID: <bug-89267-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: 2019-02/txt/msg01325.txt.bz2
Content-length: 2609

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

            Bug ID: 89267
           Summary: [8 Regression] FAIL: g++.dg/cpp1z/constexpr-lambda8.C
                     (test for excess errors)
           Product: gcc
           Version: 8.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---

r268714 gave:

spawn -ignore SIGHUP
/export/gnu/import/git/gcc-test/bld/gcc/testsuite/g++/../../xg++
-B/export/gnu/import/git/gcc-test/bld/gcc/testsuite/g++/../../
/export/gnu/import/git/gcc-test/src-8/gcc/testsuite/g++.dg/cpp1z/constexpr-lambda8.C
-fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++
-I/export/gnu/import/git/gcc-test/bld/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu
-I/export/gnu/import/git/gcc-test/bld/i686-pc-linux-gnu/libstdc++-v3/include
-I/export/gnu/import/git/gcc-test/src-8/libstdc++-v3/libsupc++
-I/export/gnu/import/git/gcc-test/src-8/libstdc++-v3/include/backward
-I/export/gnu/import/git/gcc-test/src-8/libstdc++-v3/testsuite/util
-fmessage-length=0 -std=c++17 -S -o constexpr-lambda8.s^M
/export/gnu/import/git/gcc-test/src-8/gcc/testsuite/g++.dg/cpp1z/constexpr-lambda8.C:11:27:
error: non-constant condition for static assertion^M
/export/gnu/import/git/gcc-test/src-8/gcc/testsuite/g++.dg/cpp1z/constexpr-lambda8.C:11:19:
  in 'constexpr' expansion of 'Fwd.<lambda(int (*)(int),
auto:1)>(NC.<lambda(auto:3)>::operator int (*)(int)<int>(), 3)'^M
/export/gnu/import/git/gcc-test/src-8/gcc/testsuite/g++.dg/cpp1z/constexpr-lambda8.C:9:48:
error: call to non-'constexpr' function '<lambda(auto:3)> [with auto:3 =
int]'^M
/export/gnu/import/git/gcc-test/src-8/gcc/testsuite/g++.dg/cpp1z/constexpr-lambda8.C:9:20:
note: '<lambda(auto:3)> [with auto:3 = int]' is not usable as a 'constexpr'
function because:^M
/export/gnu/import/git/gcc-test/src-8/gcc/testsuite/g++.dg/cpp1z/constexpr-lambda8.C:9:35:
error: 's' declared 'static' in 'constexpr' context^M
compiler exited with status 1
PASS: g++.dg/cpp1z/constexpr-lambda8.C    (test for errors, line 9)
PASS: g++.dg/cpp1z/constexpr-lambda8.C    (test for warnings, line 11)
PASS: g++.dg/cpp1z/constexpr-lambda8.C    (test for errors, line 11)
FAIL: g++.dg/cpp1z/constexpr-lambda8.C   (test for excess errors)
Excess errors:
/export/gnu/import/git/gcc-test/src-8/gcc/testsuite/g++.dg/cpp1z/constexpr-lambda8.C:9:48:
error: call to non-'constexpr' function '<lambda(auto:3)> [with auto:3 = int]'
>From gcc-bugs-return-633024-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 12:57:46 2019
Return-Path: <gcc-bugs-return-633024-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45132 invoked by alias); 9 Feb 2019 12:57:46 -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 45086 invoked by uid 48); 9 Feb 2019 12:57:43 -0000
From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libbacktrace/57591] gcc-4.8 libbacktrace btest failure on Linux ppc64
Date: Sat, 09 Feb 2019 12:57:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libbacktrace
X-Bugzilla-Version: 4.8.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: major
X-Bugzilla-Who: vries at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WONTFIX
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-57591-4-5snDTW4TxI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57591-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57591-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: 2019-02/txt/msg01326.txt.bz2
Content-length: 361

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

--- Comment #7 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Segher Boessenkool from comment #6)
> please reopen it if it still happens (with trunk or another supported
> version).  Thanks!

And if it still happens, please attach the log for the failing test-case:
btest.log.

Thanks,
- Tom
>From gcc-bugs-return-633025-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 13:02:09 2019
Return-Path: <gcc-bugs-return-633025-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51309 invoked by alias); 9 Feb 2019 13:02: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 51177 invoked by uid 48); 9 Feb 2019 13:02:03 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89266] ICE with TRANSFER of len=0 character array constructor
Date: Sat, 09 Feb 2019 13: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
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-89266-4-NQ6K9Psw2u@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89266-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89266-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: 2019-02/txt/msg01327.txt.bz2
Content-length: 542

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-09
     Ever confirmed|0                           |1

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Goes back a long time, at least to gcc 6.

at least 4.8.
>From gcc-bugs-return-633026-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 13:12:58 2019
Return-Path: <gcc-bugs-return-633026-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62027 invoked by alias); 9 Feb 2019 13:12:57 -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 61975 invoked by uid 48); 9 Feb 2019 13:12:54 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89267] [8 Regression] FAIL: g++.dg/cpp1z/constexpr-lambda8.C   (test for excess errors)
Date: Sat, 09 Feb 2019 13:12: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.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cc target_milestone everconfirmed
Message-ID: <bug-89267-4-A5860ACbcv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89267-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89267-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: 2019-02/txt/msg01328.txt.bz2
Content-length: 1101

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-09
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |jason at gcc dot gnu.org
   Target Milestone|---                         |8.3
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
This changed with r268700, the same set of errors/notes is emitted before and
after, but
error: call to non-‘constexpr’ function ‘<lambda(auto:3)> [with auto:3 = int]’
used to be emitted on line 11 and now is emitted on line 9 instead.  Note,
trunk emits it on line 11.
Do we want to adjust the testcase, or change something in the compiler?
>From gcc-bugs-return-633027-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 13:16:44 2019
Return-Path: <gcc-bugs-return-633027-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77925 invoked by alias); 9 Feb 2019 13:16:43 -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 75943 invoked by uid 48); 9 Feb 2019 13:16:40 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86943] [7 Regression] Wrong code when converting stateless generic lambda to function pointer
Date: Sat, 09 Feb 2019 13:16: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_known_to_work short_desc
Message-ID: <bug-86943-4-Eu0bSyrMBa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86943-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86943-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: 2019-02/txt/msg01329.txt.bz2
Content-length: 661

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |8.2.1
            Summary|[7/8 Regression] Wrong code |[7 Regression] Wrong code
                   |when converting stateless   |when converting stateless
                   |generic lambda to function  |generic lambda to function
                   |pointer                     |pointer

--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed for 8.3 too.
>From gcc-bugs-return-633028-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 13:18:02 2019
Return-Path: <gcc-bugs-return-633028-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84877 invoked by alias); 9 Feb 2019 13:18: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 84758 invoked by uid 48); 9 Feb 2019 13:17:58 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88761] [8/9 Regression] ICE in tsubst_copy, at cp/pt.c:15478 when chaining lambda calls & fold-expressions
Date: Sat, 09 Feb 2019 13:18: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.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-88761-4-0IjCnfpemm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88761-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88761-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: 2019-02/txt/msg01330.txt.bz2
Content-length: 497

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-633029-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 14:09:39 2019
Return-Path: <gcc-bugs-return-633029-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1975 invoked by alias); 9 Feb 2019 14:09: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 1922 invoked by uid 48); 9 Feb 2019 14:09:36 -0000
From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libbacktrace/60240] libbacktrace problems with nested functions
Date: Sat, 09 Feb 2019 14:09:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libbacktrace
X-Bugzilla-Version: 4.8.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vries 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 component
Message-ID: <bug-60240-4-GRwEIUWgJH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60240-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60240-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: 2019-02/txt/msg01331.txt.bz2
Content-length: 957

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

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian at airs dot com,
                   |                            |ian at gcc dot gnu.org,
                   |                            |vries at gcc dot gnu.org
          Component|other                       |libbacktrace

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
I can reproduce this.

But, I wonder if this an actual bug, given that the address of the nested
function that is passed as argument to backtrace_pcinfo is either a trampoline
on stack or some function descriptor (
https://gcc.gnu.org/onlinedocs/gccint/Trampolines.html ).

Using a backtrace_print from a nested function works fine.

I propose to mark this resolved-invalid.
>From gcc-bugs-return-633030-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 14:45:26 2019
Return-Path: <gcc-bugs-return-633030-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52105 invoked by alias); 9 Feb 2019 14:45:26 -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 52013 invoked by uid 48); 9 Feb 2019 14:45:22 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89268] New: [9 Regression] r268689 caused FAIL: gcc.dg/vect/pr79887.c
Date: Sat, 09 Feb 2019 14:45: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: 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-89268-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: 2019-02/txt/msg01332.txt.bz2
Content-length: 1586

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

            Bug ID: 89268
           Summary: [9 Regression] r268689 caused FAIL:
                    gcc.dg/vect/pr79887.c
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: rguenther at suse dot de
  Target Milestone: ---

r268689 caused:

[hjl@gnu-skx-1 gcc-bisect]$ cat gcc/gcc/testsuite/gcc.dg/vect/pr79887.c
/* Test for pr79887.  */
/* { dg-do compile } */
/* { dg-require-effective-target vect_condition } */
/* { dg-additional-options "-fno-trapping-math --param vect-epilogues-nomask=1"
} */
/* { dg-additional-options "-mavx512ifma" { target x86_64-*-* i?86-*-* } } */

void
foo (float a[32], float b[2][32])
{
  int i;
  for (i = 0; i < 32; i++)
    a[i] = (b[0][i] > b[1][i]) ? b[0][i] : b[1][i];
}

[hjl@gnu-skx-1 gcc-bisect]$ ./master/268689/usr/bin/gcc -S
gcc/gcc/testsuite/gcc.dg/vect/pr79887.c -mavx512ifma -fno-trapping-math --param
vect-epilogues-nomask=1 -mtune=intel -O3
during GIMPLE pass: vect
gcc/gcc/testsuite/gcc.dg/vect/pr79887.c: In function \u2018foo\u2019:
gcc/gcc/testsuite/gcc.dg/vect/pr79887.c:8:1: internal compiler error:
Segmentation fault
    8 | foo (float a[32], float b[2][32])
      | ^~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
[hjl@gnu-skx-1 gcc-bisect]$
>From gcc-bugs-return-633031-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 14:51:41 2019
Return-Path: <gcc-bugs-return-633031-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63468 invoked by alias); 9 Feb 2019 14:51: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 62897 invoked by uid 48); 9 Feb 2019 14:51:35 -0000
From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libbacktrace/69314] Use of uninitialised value in libbacktrace/pecoff.c
Date: Sat, 09 Feb 2019 14:51:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libbacktrace
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vries at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-69314-4-P1NtuWBU3v@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69314-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69314-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: 2019-02/txt/msg01333.txt.bz2
Content-length: 762

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

Tom de Vries <vries at gcc dot gnu.org> changed:

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

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
Fixed in r257040.

https://gcc.gnu.org/ml/gcc-cvs/2018-01/msg00986.html :

Author: ian
Date: Thu Jan 25 02:42:26 2018
New Revision: 257040

URL: https://gcc.gnu.org/viewcvs?rev=257040&root=gcc&view=rev
Log:
        * pecoff.c (coff_add): Use coff_read4, not memcpy.

Modified:
    trunk/libbacktrace/ChangeLog
    trunk/libbacktrace/pecoff.c
>From gcc-bugs-return-633032-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 15:07:43 2019
Return-Path: <gcc-bugs-return-633032-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117024 invoked by alias); 9 Feb 2019 15:07: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 116997 invoked by uid 48); 9 Feb 2019 15:07:38 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88326] [7/8/9 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6085
Date: Sat, 09 Feb 2019 15:07: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc target_milestone short_desc
Message-ID: <bug-88326-4-fIMRf5Ei9o@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88326-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88326-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: 2019-02/txt/msg01334.txt.bz2
Content-length: 978

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tkoenig at gcc dot gnu.org
   Target Milestone|---                         |7.5
            Summary|ICE in                      |[7/8/9 Regression] ICE in
                   |gfc_conv_array_initializer, |gfc_conv_array_initializer,
                   |at                          |at
                   |fortran/trans-array.c:6085  |fortran/trans-array.c:6085

--- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #3)
> The change occurred between revisions r188694 (2012-06-16, error) and
> r188914 (2012-06-24, ICE).
> 
> Note that the third test in comment 0 compiles with r188694.

A regression (at least this part), then.
>From gcc-bugs-return-633033-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 15:37:41 2019
Return-Path: <gcc-bugs-return-633033-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16002 invoked by alias); 9 Feb 2019 15:37: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 15929 invoked by uid 48); 9 Feb 2019 15:37:35 -0000
From: "danglin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/21014] read-rtl.c:670: warning: missing sentinel in function call
Date: Sat, 09 Feb 2019 15:37: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.1.0
X-Bugzilla-Keywords: build, diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: danglin at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
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-21014-4-dWsM19I7js@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-21014-4@http.gcc.gnu.org/bugzilla/>
References: <bug-21014-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: 2019-02/txt/msg01335.txt.bz2
Content-length: 456

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

John David Anglin <danglin at gcc dot gnu.org> changed:

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

--- Comment #7 from John David Anglin <danglin at gcc dot gnu.org> ---
This doesn't occur anymore.
>From gcc-bugs-return-633034-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 15:37:41 2019
Return-Path: <gcc-bugs-return-633034-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16014 invoked by alias); 9 Feb 2019 15:37:41 -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 15952 invoked by uid 48); 9 Feb 2019 15:37:35 -0000
From: "danglin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/44756] [meta-bug] --enable-werror-always issues
Date: Sat, 09 Feb 2019 15:37:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: bootstrap
X-Bugzilla-Version: 4.6.0
X-Bugzilla-Keywords: build, meta-bug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: danglin 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 resolution
Message-ID: <bug-44756-4-pgXo6IuF27@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-44756-4@http.gcc.gnu.org/bugzilla/>
References: <bug-44756-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: 2019-02/txt/msg01336.txt.bz2
Content-length: 486

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44756
Bug 44756 depends on bug 21014, which changed state.

Bug 21014 Summary: read-rtl.c:670: warning: missing sentinel in function call
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21014

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-633035-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 15:51:09 2019
Return-Path: <gcc-bugs-return-633035-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36729 invoked by alias); 9 Feb 2019 15:51: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 36674 invoked by uid 48); 9 Feb 2019 15:51:05 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/48595] score-elf fails to build with --enable-werror-always
Date: Sat, 09 Feb 2019 15:51: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: 4.8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager 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-48595-4-VKhFNZDXkL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-48595-4@http.gcc.gnu.org/bugzilla/>
References: <bug-48595-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: 2019-02/txt/msg01337.txt.bz2
Content-length: 415

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

Eric Gallager <egallager at gcc dot gnu.org> changed:

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

--- Comment #1 from Eric Gallager <egallager at gcc dot gnu.org> ---
does this still happen?
>From gcc-bugs-return-633036-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 15:54:31 2019
Return-Path: <gcc-bugs-return-633036-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38781 invoked by alias); 9 Feb 2019 15:54: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 38740 invoked by uid 48); 9 Feb 2019 15:54:28 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: =?UTF-8?B?W0J1ZyB0cmVlLW9wdGltaXphdGlvbi81NjQ1N10gQm9ndXMgd2FybmluZzog?= =?UTF-8?B?bG9vcC1pbnZhcmlhbnQuYzo3ODY6MjA6IGVycm9yOiB1bnVzZWQgdmFyaWFi?= =?UTF-8?B?bGUg4oCYcmVnbm/igJkgd2hlbiBidWlsZGluZyB2YXgtKi0q?Date: Sat, 09 Feb 2019 15: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: 4.8.0
X-Bugzilla-Keywords: build, diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager 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-56457-4-1TyUA6KhMA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-56457-4@http.gcc.gnu.org/bugzilla/>
References: <bug-56457-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: 2019-02/txt/msg01338.txt.bz2
Content-length: 415

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

Eric Gallager <egallager at gcc dot gnu.org> changed:

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

--- Comment #1 from Eric Gallager <egallager at gcc dot gnu.org> ---
Does this still happen?
>From gcc-bugs-return-633037-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 16:29:20 2019
Return-Path: <gcc-bugs-return-633037-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64763 invoked by alias); 9 Feb 2019 16:29: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 64691 invoked by uid 55); 9 Feb 2019 16:29:17 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/88711] [9 Regression] scan-ipa-dump inline "Inlined tp_sum/
Date: Sat, 09 Feb 2019 16:29: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88711-4-UpoMxWVmZt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88711-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88711-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: 2019-02/txt/msg01339.txt.bz2
Content-length: 429

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

--- Comment #5 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Author: hubicka
Date: Sat Feb  9 16:28:45 2019
New Revision: 268723

URL: https://gcc.gnu.org/viewcvs?rev=268723&root=gcc&view=rev
Log:

        PR ipa/88711
        * gfortran.dg/pr79966.f90: Xfail everwyhere.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/pr79966.f90
>From gcc-bugs-return-633038-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 16:50:55 2019
Return-Path: <gcc-bugs-return-633038-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106211 invoked by alias); 9 Feb 2019 16:50:55 -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 106134 invoked by uid 48); 9 Feb 2019 16:50:51 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89268] [9 Regression] r268689 caused FAIL: gcc.dg/vect/pr79887.c
Date: Sat, 09 Feb 2019 16:50: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89268-4-jP9R2AcXm3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89268-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89268-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: 2019-02/txt/msg01340.txt.bz2
Content-length: 1152

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-09
                 CC|                            |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I think we want:
--- gcc/tree-if-conv.c.jj       2019-02-08 20:00:40.774827920 +0100
+++ gcc/tree-if-conv.c  2019-02-09 17:35:36.995782510 +0100
@@ -2760,7 +2760,8 @@ version_loop_for_if_conversion (struct l
   new_loop->force_vectorize = false;
   gsi = gsi_last_bb (cond_bb);
   gimple_call_set_arg (g, 1, build_int_cst (integer_type_node,
new_loop->num));
-  preds->safe_push (g);
+  if (preds)
+    preds->safe_push (g);
   gsi_insert_before (&gsi, g, GSI_SAME_STMT);
   update_ssa (TODO_update_ssa);
   return new_loop;
so that it behaves as before when called from tree-vect-loop.c (preds is NULL).
>From gcc-bugs-return-633039-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 16:57:41 2019
Return-Path: <gcc-bugs-return-633039-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115211 invoked by alias); 9 Feb 2019 16:57:41 -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 115176 invoked by uid 48); 9 Feb 2019 16:57:37 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89268] [9 Regression] r268689 caused FAIL: gcc.dg/vect/pr79887.c
Date: Sat, 09 Feb 2019 16: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: attachments.created
Message-ID: <bug-89268-4-ED4tjLLqec@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89268-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89268-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: 2019-02/txt/msg01341.txt.bz2
Content-length: 260

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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45650
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45650&action=edit
gcc9-pr89268.patch

Full untested patch.
>From gcc-bugs-return-633040-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 17:02:21 2019
Return-Path: <gcc-bugs-return-633040-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130317 invoked by alias); 9 Feb 2019 17:02: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 130244 invoked by uid 48); 9 Feb 2019 17:02:17 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89268] [9 Regression] r268689 caused FAIL: gcc.dg/vect/pr79887.c
Date: Sat, 09 Feb 2019 17:02: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: target_milestone
Message-ID: <bug-89268-4-Jb0p37hSZN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89268-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89268-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: 2019-02/txt/msg01342.txt.bz2
Content-length: 290

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |9.0
>From gcc-bugs-return-633041-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 17:11:41 2019
Return-Path: <gcc-bugs-return-633041-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10830 invoked by alias); 9 Feb 2019 17:11:41 -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 10772 invoked by uid 55); 9 Feb 2019 17:11:37 -0000
From: "acsawdey at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89112] Incorrect code generated by rs6000 memcmp expansion
Date: Sat, 09 Feb 2019 17:11: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: acsawdey at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: acsawdey at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89112-4-pD6mg51u4t@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89112-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89112-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: 2019-02/txt/msg01343.txt.bz2
Content-length: 1403

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

--- Comment #10 from acsawdey at gcc dot gnu.org ---
Author: acsawdey
Date: Sat Feb  9 17:11:06 2019
New Revision: 268725

URL: https://gcc.gnu.org/viewcvs?rev=268725&root=gcc&view=rev
Log:
2019-02-09  Aaron Sawdey  <acsawdey@linux.ibm.com>

        Backported from mainline
        2019-02-05  Aaron Sawdey  <acsawdey@linux.ibm.com>

        PR target/89112
        * config/rs6000/rs6000.md (<bd>tf_<mode>): Generate a local label
        for the long branch case.

        2019-02-05  Aaron Sawdey  <acsawdey@linux.ibm.com>

        PR target/89112
        * config/rs6000/rs6000-string.c (do_ifelse, expand_cmp_vec_sequence,
        expand_compare_loop, expand_block_compare_gpr,
        expand_strncmp_align_check, expand_strncmp_gpr_sequence): Insert
        REG_BR_PROB notes in inline expansion of memcmp/strncmp. Add
        #include "profile-count.h" and "predict.h" for types and functions
        needed to work with REG_BR_PROB notes.

        2019-02-09  Aaron Sawdey  <acsawdey@linux.ibm.com>

        * config/rs6000/rs6000-string.c (expand_compare_loop,
        expand_block_compare): Insert REG_BR_PROB notes in inline expansion of
        memcmp/strncmp.



Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/config/rs6000/rs6000-string.c
    branches/gcc-8-branch/gcc/config/rs6000/rs6000.md
>From gcc-bugs-return-633042-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 17:14:27 2019
Return-Path: <gcc-bugs-return-633042-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13616 invoked by alias); 9 Feb 2019 17:14: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 13555 invoked by uid 48); 9 Feb 2019 17:14:23 -0000
From: "acsawdey at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89112] Incorrect code generated by rs6000 memcmp expansion
Date: Sat, 09 Feb 2019 17:14: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: acsawdey at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: acsawdey at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89112-4-OHXVHfgb0r@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89112-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89112-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: 2019-02/txt/msg01344.txt.bz2
Content-length: 492

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

acsawdey at gcc dot gnu.org changed:

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

--- Comment #11 from acsawdey at gcc dot gnu.org ---
This is fixed in trunk and gcc-8-branch. Hopefully I got this into 8 in time
for it to get into 8.3.
>From gcc-bugs-return-633043-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 17:25:59 2019
Return-Path: <gcc-bugs-return-633043-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21974 invoked by alias); 9 Feb 2019 17:25: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 21922 invoked by uid 55); 9 Feb 2019 17:25:54 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89077] ICE using * as len specifier for character parameter
Date: Sat, 09 Feb 2019 17:25: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf 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-89077-4-0b45dD2GPR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89077-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89077-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: 2019-02/txt/msg01345.txt.bz2
Content-length: 708

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

--- Comment #13 from anlauf at gcc dot gnu.org ---
Author: anlauf
Date: Sat Feb  9 17:25:23 2019
New Revision: 268726

URL: https://gcc.gnu.org/viewcvs?rev=268726&root=gcc&view=rev
Log:
2019-02-09  Harald Anlauf  <anlauf@gmx.de>

        PR fortran/89077
        * resolve.c (gfc_resolve_substring_charlen): Check substring
        length for constantness prior to general calculation of length.

        PR fortran/89077
        * gfortran.dg/substr_simplify.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/substr_simplify.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/resolve.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633045-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 17:56:58 2019
Return-Path: <gcc-bugs-return-633045-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65892 invoked by alias); 9 Feb 2019 17:56: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 65841 invoked by uid 55); 9 Feb 2019 17:56:54 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/88755] [9 Regression] ICE in compute_fn_summary, at ipa-fnsummary.c:2513 since r267601
Date: Sat, 09 Feb 2019 17:56: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88755-4-aEUAesj2LK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88755-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88755-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: 2019-02/txt/msg01347.txt.bz2
Content-length: 532

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

--- Comment #4 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Author: hubicka
Date: Sat Feb  9 17:56:22 2019
New Revision: 268727

URL: https://gcc.gnu.org/viewcvs?rev=268727&root=gcc&view=rev
Log:

        PR ipa/88755
        * params.def (uninlined-function-insns, uninlined-function-time,
        uninlined-thunk-insns, uninlined-thunk-time): Add artificial upper
        bound so we don't get overflows.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/params.def
>From gcc-bugs-return-633044-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 17:56:21 2019
Return-Path: <gcc-bugs-return-633044-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64589 invoked by alias); 9 Feb 2019 17:56: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 64537 invoked by uid 48); 9 Feb 2019 17:56:17 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89267] [8 Regression] FAIL: g++.dg/cpp1z/constexpr-lambda8.C   (test for excess errors)
Date: Sat, 09 Feb 2019 17:56: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.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89267-4-LZKzZ77qOv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89267-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89267-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: 2019-02/txt/msg01346.txt.bz2
Content-length: 276

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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The trunk has unlike 8.x the first hunk from r268377 which handles
CALL_FROM_THUNK_P elsewhere, and that is where it clears EXPR_LOCATION on the
call too.
>From gcc-bugs-return-633046-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 17:59:08 2019
Return-Path: <gcc-bugs-return-633046-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69337 invoked by alias); 9 Feb 2019 17:59: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 69272 invoked by uid 48); 9 Feb 2019 17:59:03 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/88755] [9 Regression] ICE in compute_fn_summary, at ipa-fnsummary.c:2513 since r267601
Date: Sat, 09 Feb 2019 17:59: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-88755-4-SxfLDpMUwU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88755-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88755-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: 2019-02/txt/msg01348.txt.bz2
Content-length: 423

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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

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

--- Comment #5 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-633047-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 18:01:51 2019
Return-Path: <gcc-bugs-return-633047-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72476 invoked by alias); 9 Feb 2019 18: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 72359 invoked by uid 55); 9 Feb 2019 18:01:40 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/87809] [8/9 Regression] Can't create empty std::optional<std::vector<int, CustomAlloc>>
Date: Sat, 09 Feb 2019 18:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87809-4-1MZcXpJNdy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87809-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87809-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: 2019-02/txt/msg01349.txt.bz2
Content-length: 452

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

--- Comment #8 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Author: hubicka
Date: Sat Feb  9 18:01:03 2019
New Revision: 268728

URL: https://gcc.gnu.org/viewcvs?rev=268728&root=gcc&view=rev
Log:

        PR lto/87809
        * tree.c (fld_simplified_type_name): Use DECL_ASSEMBLER_NAME_SET_P
        instead of type_with_linkage.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree.c
>From gcc-bugs-return-633048-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 18:05:15 2019
Return-Path: <gcc-bugs-return-633048-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75632 invoked by alias); 9 Feb 2019 18:05: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 75548 invoked by uid 48); 9 Feb 2019 18:05:11 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/87089] [9 regression] tree check: expected class 'type', have 'declaration' (namespace_decl) in type_with_linkage_p, at ipa-utils.h
Date: Sat, 09 Feb 2019 18:05: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87089-4-42t8ghDxWX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87089-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87089-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: 2019-02/txt/msg01350.txt.bz2
Content-length: 1142

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

--- Comment #10 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Jason,
I can avoid the ICE by simply not simplifying contexts for all C++ destructors.
Index: tree.c
===================================================================
--- tree.c      (revision 268728)
+++ tree.c      (working copy)
@@ -5772,7 +5772,7 @@ free_lang_data_in_decl (tree decl, struc
      these are needed by devirtualization.  */
   if (TREE_CODE (decl) != FIELD_DECL
       && ((TREE_CODE (decl) != VAR_DECL && TREE_CODE (decl) != FUNCTION_DECL)
-          || !DECL_VIRTUAL_P (decl)))
+          || (!DECL_VIRTUAL_P (decl) && !DECL_CXX_DESTRUCTOR_P (decl))))
     DECL_CONTEXT (decl) = fld_decl_context (DECL_CONTEXT (decl));
 }

but it seems to me this is more a workaround - if the destructor is virtual, it
should have VIRTUAL flag set. Or is there any reason we want to handle it
differently then any other normal virutal function in the middle-end?
>From gcc-bugs-return-633049-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 18:10:57 2019
Return-Path: <gcc-bugs-return-633049-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82097 invoked by alias); 9 Feb 2019 18:10:55 -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 82009 invoked by uid 48); 9 Feb 2019 18:10:51 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: =?UTF-8?B?W0J1ZyBpcGEvODc5NTddIFs5IFJlZ3Jlc3Npb25dIElDRSB0cmVlIGNoZWNr?= =?UTF-8?B?OiBleHBlY3RlZCB0cmVlIHRoYXQgY29udGFpbnMg4oCYZGVjbCBtaW5pbWFs?= =?UTF-8?B?4oCZIHN0cnVjdHVyZSwgaGF2ZSDigJhpZGVudGlmaWVyX25vZGXigJkgaW4g?= =?UTF-8?B?d2Fybl9vZHIsIGF0IGlwYS1kZXZpcnQuYzoxMDUxIHNpbmNlIHIyNjU1MTk=?Date: Sat, 09 Feb 2019 18:10: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-87957-4-Kued2LJLcQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87957-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87957-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: 2019-02/txt/msg01351.txt.bz2
Content-length: 424

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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

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

--- Comment #34 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-633050-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 18:12:58 2019
Return-Path: <gcc-bugs-return-633050-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91814 invoked by alias); 9 Feb 2019 18:12:57 -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 91745 invoked by uid 48); 9 Feb 2019 18:12:53 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/88711] [9 Regression] scan-ipa-dump inline "Inlined tp_sum/
Date: Sat, 09 Feb 2019 18:12: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88711-4-01YI6nZ1ID@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88711-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88711-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: 2019-02/txt/msg01352.txt.bz2
Content-length: 422

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

--- Comment #6 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Definitly not P1 anymore. The testcase is still not optimized well, but I think
it falls into the general category that Fotran programming style prefers more
inlining than C/C++ and it may make sense to declare all Fortran functions
inline or have some other flag telling middle-end to inline more.
>From gcc-bugs-return-633051-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 18:13:17 2019
Return-Path: <gcc-bugs-return-633051-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92750 invoked by alias); 9 Feb 2019 18:13: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 92596 invoked by uid 48); 9 Feb 2019 18:13:10 -0000
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug d/89177] unaligned memory access in libphobos
Date: Sat, 09 Feb 2019 18:13:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: d
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bernd.edlinger at hotmail dot de
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: attachments.created
Message-ID: <bug-89177-4-gG14WM5rxn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89177-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89177-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: 2019-02/txt/msg01353.txt.bz2
Content-length: 243

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

--- Comment #1 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
Created attachment 45651
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45651&action=edit
proposed patch
>From gcc-bugs-return-633052-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 19:12:59 2019
Return-Path: <gcc-bugs-return-633052-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50492 invoked by alias); 9 Feb 2019 19:12: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 50403 invoked by uid 48); 9 Feb 2019 19:12:55 -0000
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89093] [9 Regression] C++ exception handling clobbers d8 VFP register
Date: Sat, 09 Feb 2019 19:12: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: EH, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bernd.edlinger at hotmail dot de
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: ramana at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89093-4-lvEzWf9nhJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89093-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89093-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: 2019-02/txt/msg01354.txt.bz2
Content-length: 2673

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

--- Comment #28 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
(In reply to Ramana Radhakrishnan from comment #27)
> (In reply to Bernd Edlinger from comment #25)
> > you might consider adding something like that to your patch:
> > 
> > Index: elf.h
> > ===================================================================
> > --- elf.h	(revision 268337)
> > +++ elf.h	(working copy)
> > @@ -64,7 +64,7 @@
> >  %{mapcs-*:-mapcs-%*} \
> >  %(subtarget_asm_float_spec) \
> >  %{mthumb-interwork:-mthumb-interwork} \
> > -%{mfloat-abi=*} %{!mfpu=auto: %{mfpu=*}} \
> > +%{mfloat-abi=*} %{!mfpu=auto: %{!mfpu=none: %{mfpu=*}}} \
> >  %(subtarget_extra_asm_spec)"
> >  #endif
> >  
> > 
> > 
> > otherwise using -mfpu=none won't work on the command line.
> > becuse gas does not understand it.
> 
> Yes, that's what I've been playing with. I've run out of time this week
> because of other work commitments, I hope to get back to this early next
> week.
> 
> Ramana

It is a bit unfortunate that -mfpu= on the command line seems to have
an impact on the eabi_attribute section, while the pragma does not:

          if (TARGET_HARD_FLOAT && TARGET_VFP_SINGLE)
            arm_emit_eabi_attribute ("Tag_ABI_HardFP_use", 27, 1);

          if (TARGET_HARD_FLOAT_ABI)
            arm_emit_eabi_attribute ("Tag_ABI_VFP_args", 28, 1);

where TARGET_HARD_FLOAT and TARGET_VFP_SINGLE are defined as follows:

#define TARGET_HARD_FLOAT       (arm_float_abi != ARM_FLOAT_ABI_SOFT    \
                                 && bitmap_bit_p (arm_active_target.isa, \
                                                  isa_bit_vfpv2) \
                                 && TARGET_32BIT)

#define TARGET_VFP_DOUBLE (bitmap_bit_p (arm_active_target.isa,
isa_bit_fp_dbl))

#define TARGET_VFP_SINGLE (!TARGET_VFP_DOUBLE)


But arm_active_target.isa seems to depend on the effective -mfpu= command line
option, while later in the code generation the same macros are used to
select the use of VFP instructions.

I wonder if it would be better to have an orthogonal way to specify
the used ABI and the used register banks.

So like -mfpu=vfpv3-d16 and -mno-vfp,
where -mfpu= affects the eabi_attribute only
and -mno-vfp makes sure that no VFP registers are used, and, in particular
if functions are defined or called, where the ABI is incompatible because it
passes the values in VFP registers, that should be diagnosed, because it
will not work as expected.
>From gcc-bugs-return-633053-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 19:40:38 2019
Return-Path: <gcc-bugs-return-633053-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36779 invoked by alias); 9 Feb 2019 19:40: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 36690 invoked by uid 48); 9 Feb 2019 19:40:30 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libbacktrace/60240] libbacktrace problems with nested functions
Date: Sat, 09 Feb 2019 19:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libbacktrace
X-Bugzilla-Version: 4.8.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ian at airs dot com
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-60240-4-wUyWaYM5Es@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60240-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60240-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: 2019-02/txt/msg01355.txt.bz2
Content-length: 664

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

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

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

--- Comment #2 from Ian Lance Taylor <ian at airs dot com> ---
I agree that this example cannot be expected to work.  The docs for
backtrace_pcinfo say that the function works when "Given PC, a program counter
in the current program."  The value (uintptr_t)&a is not a program counter in
the current program.
>From gcc-bugs-return-633054-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 19:50:17 2019
Return-Path: <gcc-bugs-return-633054-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52987 invoked by alias); 9 Feb 2019 19:50: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 52896 invoked by uid 48); 9 Feb 2019 19:50:12 -0000
From: "rtos.pharos at outlook dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89269] New: RISC-V stack variable as global variable
Date: Sat, 09 Feb 2019 19:50: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: rtos.pharos at outlook 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-89269-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: 2019-02/txt/msg01356.txt.bz2
Content-length: 2095

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

            Bug ID: 89269
           Summary: RISC-V stack variable as global variable
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rtos.pharos at outlook dot com
  Target Milestone: ---

Hello all,

I'm working on Pharos operating system
https://sourceforge.net/projects/rtospharos/ (maybe this information could be
useful for debugging the issue).

In RISC-V (riscv64-unknown-elf-gcc) version 8.2.0 the following code:


void aperiodicThread0_0()
{
    PharosHwQueueSendR sendResult;
    uint8_t message[] = {
        0xda , 0x4f , 0xc2 , 4 , 5 , 6 , 7 , 8
    };

 .
 . 
 .

}

(the important part is the message variable that is declared on the stack) this
code compiles into:

    800013ac:   1101                    addi    sp,sp,-32
    800013ae:   ec06                    sd      ra,24(sp)
    800013b0:   e822                    sd      s0,16(sp)
    800013b2:   1000                    addi    s0,sp,32
    PharosHwQueueSendR sendResult;
    uint8_t message[] = {
    800013b4:   00bff797                auipc   a5,0xbff
    800013b8:   04c78793                addi    a5,a5,76 # 80c00400
<partition1BssEnd>
    800013bc:   639c                    ld      a5,0(a5)
    800013be:   fef43023                sd      a5,-32(s0)
        0xda , 0x4f , 0xc2 , 4 , 5 , 6 , 7 , 8


That is, the "message" variable is placed after the partition1BssEnd section
(this is defined on the linker script). Even with optimizations (this code was
compiled -O0) this should not occur. In short, I am developing an OS with
everything defined statically, so that at startup the OS already knows where to
place every global variable and we can protect the memory of each
partition/process. If variables that should on stack are placed on a global
section (not even on the partition that they belong to) that screws up the
mechanism.

Best regards,
Pharos Team
>From gcc-bugs-return-633055-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 20:02:25 2019
Return-Path: <gcc-bugs-return-633055-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72890 invoked by alias); 9 Feb 2019 20:02: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 72848 invoked by uid 48); 9 Feb 2019 20:02:20 -0000
From: "schwab@linux-m68k.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89269] RISC-V stack variable as global variable
Date: Sat, 09 Feb 2019 20:02: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: schwab@linux-m68k.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: bug_status resolution
Message-ID: <bug-89269-4-45cqpgBLKF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89269-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89269-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: 2019-02/txt/msg01357.txt.bz2
Content-length: 529

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

Andreas Schwab <schwab@linux-m68k.org> changed:

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

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
The data at 80c00400 is the template from which message is initialized on the
stack.  Nothing ever writes to it.
>From gcc-bugs-return-633056-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 20:07:54 2019
Return-Path: <gcc-bugs-return-633056-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76601 invoked by alias); 9 Feb 2019 20:07: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 76521 invoked by uid 55); 9 Feb 2019 20:07:49 -0000
From: "sgk at troutmask dot apl.washington.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/88711] [9 Regression] scan-ipa-dump inline "Inlined tp_sum/
Date: Sat, 09 Feb 2019 20:07: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88711-4-HHhcrwzPo0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88711-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88711-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: 2019-02/txt/msg01358.txt.bz2
Content-length: 1013

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

--- Comment #7 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Sat, Feb 09, 2019 at 06:12:53PM +0000, hubicka at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88711
> 
> --- Comment #6 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
> Definitly not P1 anymore. The testcase is still not optimized well, but I think
> it falls into the general category that Fotran programming style prefers more
> inlining than C/C++ and it may make sense to declare all Fortran functions
> inline or have some other flag telling middle-end to inline more.
> 

Interesting.  So, my interpretation is 

"I committed a patch that causes a regression in the Fortran
 testsuite.  Clearly, the problem is with Fortran not my patch.
 I don't care about Fortran or respect those that work on the
 Fortran FE.  Therefore, I just XFAIL the regressing test
 case and call it Good(tm)."

Thanks.

How about reverting your patch?
>From gcc-bugs-return-633057-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 20:08:04 2019
Return-Path: <gcc-bugs-return-633057-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79922 invoked by alias); 9 Feb 2019 20:08:04 -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 77663 invoked by uid 55); 9 Feb 2019 20:08:00 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/71860] [7/8 Regression] [OOP] ICE on pointing to null(mold), verify_gimple failed
Date: Sat, 09 Feb 2019 20:08: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.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: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-71860-4-3j6J9Pg5iA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71860-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71860-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: 2019-02/txt/msg01359.txt.bz2
Content-length: 532

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

--- Comment #8 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Sat Feb  9 20:07:28 2019
New Revision: 268730

URL: https://gcc.gnu.org/viewcvs?rev=268730&root=gcc&view=rev
Log:
2019-02-09  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR fortran/71860
    Backport from trunk
    * gfortran.dg/null_10.f90: New test.


Added:
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/null_10.f90
Modified:
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633058-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 20:10:34 2019
Return-Path: <gcc-bugs-return-633058-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37286 invoked by alias); 9 Feb 2019 20:10: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 34710 invoked by uid 55); 9 Feb 2019 20:10:29 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/71860] [7/8 Regression] [OOP] ICE on pointing to null(mold), verify_gimple failed
Date: Sat, 09 Feb 2019 20:10: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.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: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-71860-4-bsNCZk1xqQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71860-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71860-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: 2019-02/txt/msg01360.txt.bz2
Content-length: 532

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

--- Comment #9 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Sat Feb  9 20:09:56 2019
New Revision: 268731

URL: https://gcc.gnu.org/viewcvs?rev=268731&root=gcc&view=rev
Log:
2019-02-09  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR fortran/71860
    Backport from trunk
    * gfortran.dg/null_10.f90: New test.


Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/null_10.f90
Modified:
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633059-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 20:11:04 2019
Return-Path: <gcc-bugs-return-633059-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52650 invoked by alias); 9 Feb 2019 20:11: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 50249 invoked by uid 48); 9 Feb 2019 20:10:59 -0000
From: "gandalf at winds dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89270] New: [9 regression] AVR ICE: verify_gimple failed
Date: Sat, 09 Feb 2019 20:11: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: gandalf at winds dot 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-89270-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: 2019-02/txt/msg01361.txt.bz2
Content-length: 3296

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

            Bug ID: 89270
           Summary: [9 regression] AVR ICE: verify_gimple failed
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gandalf at winds dot org
  Target Milestone: ---

I get an ICE on the following code with GCC 9.0.1 20190209 (experimental)
compiled for AVR. Works in GCC 8.x.

void test()
{
  extern const unsigned char __memx __data_load_end;
  __uint24 top=(__uint24)&__data_load_end;
}

# avr-gcc -v -save-temps -mmcu=atmega1284p -c test2.c -o test.o
Using built-in specs.
Reading specs from
/usr/local/avr/lib/gcc/avr/9.0.1/device-specs/specs-atmega1284p
COLLECT_GCC=avr-gcc
Target: avr
Configured with: ../configure --target=avr --prefix=/usr/local/avr
--disable-nls --enable-languages=c --disable-bootstrap --disable-libssp
Thread model: single
gcc version 9.0.1 20190209 (experimental) (GCC) 
COLLECT_GCC_OPTIONS='-v' '-save-temps'  '-c' '-o' 'test.o'
'-specs=device-specs/specs-atmega1284p' '-mmcu=avr51'
 /usr/local/avr/libexec/gcc/avr/9.0.1/cc1 -E -quiet -v -imultilib avr51
-D__AVR_ATmega1284P__ -D__AVR_DEVICE_NAME__=atmega1284p test2.c -mn-flash=2
-mno-skip-bug -mmcu=avr51 -fpch-preprocess -o test2.i
ignoring nonexistent directory
"/usr/local/avr/lib/gcc/avr/9.0.1/../../../../avr/sys-include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/avr/lib/gcc/avr/9.0.1/include
 /usr/local/avr/lib/gcc/avr/9.0.1/include-fixed
 /usr/local/avr/lib/gcc/avr/9.0.1/../../../../avr/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-save-temps'  '-c' '-o' 'test.o'
'-specs=device-specs/specs-atmega1284p' '-mmcu=avr51'
 /usr/local/avr/libexec/gcc/avr/9.0.1/cc1 -fpreprocessed test2.i -mn-flash=2
-mno-skip-bug -quiet -dumpbase test2.c -mmcu=avr51 -auxbase-strip test.o
-version -o test2.s
GNU C17 (GCC) version 9.0.1 20190209 (experimental) (avr)
        compiled by GNU C version 8.2.0, GMP version 6.1.2, MPFR version 4.0.2,
MPC version 1.1.0, isl version none
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C17 (GCC) version 9.0.1 20190209 (experimental) (avr)
        compiled by GNU C version 8.2.0, GMP version 6.1.2, MPFR version 4.0.2,
MPC version 1.1.0, isl version none
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 7a3227a0716f5444cb50a3b2fc4e4212
test2.c: In function 'test':
test2.c:1:6: error: invalid types in nop conversion
    1 | void test()
      |      ^~~~
long int
const <address-space-7> unsigned char *
_1 = (long int) &__data_load_end;
test2.c:1:6: internal compiler error: verify_gimple failed
0xc5df1d verify_gimple_in_seq(gimple*)
        ../../gcc/tree-cfg.c:5094
0x9f42f5 gimplify_body(tree_node*, bool)
        ../../gcc/gimplify.c:13701
0x9f44e4 gimplify_function_tree(tree_node*)
        ../../gcc/gimplify.c:13791
0x86ac77 cgraph_node::analyze()
        ../../gcc/cgraphunit.c:667
0x86d803 analyze_functions
        ../../gcc/cgraphunit.c:1126
0x86e4e2 symbol_table::finalize_compilation_unit()
        ../../gcc/cgraphunit.c:2834
>From gcc-bugs-return-633060-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 20:11:19 2019
Return-Path: <gcc-bugs-return-633060-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59504 invoked by alias); 9 Feb 2019 20:11:19 -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 56857 invoked by uid 48); 9 Feb 2019 20:11:14 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/71860] [7/8 Regression] [OOP] ICE on pointing to null(mold), verify_gimple failed
Date: Sat, 09 Feb 2019 20:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-71860-4-UpAVj44Eem@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71860-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71860-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: 2019-02/txt/msg01362.txt.bz2
Content-length: 480

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

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

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

--- Comment #10 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Test cases committed, closing.

Thanks for the bug report!
>From gcc-bugs-return-633061-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 20:40:03 2019
Return-Path: <gcc-bugs-return-633061-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99148 invoked by alias); 9 Feb 2019 20:40: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 99028 invoked by uid 48); 9 Feb 2019 20:39:57 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/71066] [7/8/9 Regression] ICE in set_loop_bounds, at fortran/trans-array.c:4680
Date: Sat, 09 Feb 2019 20: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: 6.1.1
X-Bugzilla-Keywords: ice-on-invalid-code, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-71066-4-Zuoil6j2Pi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71066-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71066-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: 2019-02/txt/msg01363.txt.bz2
Content-length: 621

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

--- Comment #10 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Removing the assert

gcc_assert (loop->dimen == 1);

> $ cat z3.f90
> program p
>    real :: a(2,2)[*]
>    data a /4*0.0/
> end

just hits a check later on:

d.f90:1:0:

    1 | program p
      | 
interner Compiler-Fehler: in trans_array_constructor, bei
fortran/trans-array.c:2556
0x616351 trans_array_constructor
        ../../trunk/gcc/fortran/trans-array.c:2556
0x616351 gfc_add_loop_ss_code
        ../../trunk/gcc/fortran/trans-array.c:2869

So, the setup of the loop is wrong earlier.
>From gcc-bugs-return-633062-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 20:43:06 2019
Return-Path: <gcc-bugs-return-633062-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101759 invoked by alias); 9 Feb 2019 20:43:06 -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 101619 invoked by uid 55); 9 Feb 2019 20:43:01 -0000
From: "hubicka at ucw dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/88711] [9 Regression] scan-ipa-dump inline "Inlined tp_sum/
Date: Sat, 09 Feb 2019 20: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at ucw dot cz
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88711-4-X36YrOPFnG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88711-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88711-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: 2019-02/txt/msg01364.txt.bz2
Content-length: 1352

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

--- Comment #8 from Jan Hubicka <hubicka at ucw dot cz> ---
> "I committed a patch that causes a regression in the Fortran
>  testsuite.  Clearly, the problem is with Fortran not my patch.
>  I don't care about Fortran or respect those that work on the
>  Fortran FE.  Therefore, I just XFAIL the regressing test
>  case and call it Good(tm)."
> 
> Thanks.
> 
> How about reverting your patch?

The patch fixes obvious bug. That bug made inliner heuristics lucky for
this particular testcase (which was introduced by me because I also do
care about Fortran perfomrance) but also it caused problems elsewhere (I
noticed it while analyzing 10% slowdown of Firefox HTML parser).

There is no way to make inline heuristics perfect for everyone (it would
not be called heuristics then). Sadly I do not see way to improve this
particular testcase without simply increasing inline limits (would
increase code size and make others unhappy), adding some logic telling
inliner that Fortran functions should be inlined more (which was
discussed before but was not considered coolest direction ofthe attack)
or teching inliner to recognize quite complex interaction between
individual functions inlined that is hard to do.

Bumping up --param inline-insns-auto limit helps this particular
testcase.

Honza
>From gcc-bugs-return-633063-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 21:00:42 2019
Return-Path: <gcc-bugs-return-633063-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53834 invoked by alias); 9 Feb 2019 21:00: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 53284 invoked by uid 48); 9 Feb 2019 21:00:38 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/71703] [7/8/9 Regression] [OOP] ICE in wide_int_to_tree, at tree.c:1488
Date: Sat, 09 Feb 2019 21:00: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: 6.1.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-71703-4-6jqeVMghQD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71703-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71703-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: 2019-02/txt/msg01365.txt.bz2
Content-length: 2066

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

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

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

--- Comment #11 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Part of the problem seems to be in gfc_conv_same_type_as, where
we have

  if (UNLIMITED_POLY (b))
    {
      tmp = gfc_class_vptr_get (b->symtree->n.sym->backend_decl);
      condb = fold_build2_loc (input_location, NE_EXPR, logical_type_node,
                               tmp, build_int_cst (TREE_TYPE (tmp), 0));
    }

(same for a above).

This looks at the backend_decl only, without following the
reference in some way.

Here is what the backend_decl looks like:

(gdb) call debug_tree(b->symtree->n.sym->backend_decl)
 <var_decl 0x7ffff7feec60 y
    type <record_type 0x7ffff73625e8 t2 BLK
        size <integer_cst 0x7ffff7195ed0 constant 256>
        unit-size <integer_cst 0x7ffff7195fc0 constant 32>
        align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7ffff73625e8
        fields <field_decl 0x7ffff7360a18 n type <integer_type 0x7ffff71aa5e8
integer(kind=4)>
            SI a.f90:5:0
            size <integer_cst 0x7ffff7195db0 constant 32>
            unit-size <integer_cst 0x7ffff7195dc8 constant 4>
            align:32 warn_if_not_align:0 offset_align 128
            offset <integer_cst 0x7ffff7195ba0 constant 0>
            bit-offset <integer_cst 0x7ffff7195be8 constant 0> context
<record_type 0x7ffff73625e8 t2> chain <field_decl 0x7ffff7360ab0 a>>
        chain <type_decl 0x7ffff7360b48 D.3871>>
    used static BLK a.f90:9:0 size <integer_cst 0x7ffff7195ed0 256> unit-size
<integer_cst 0x7ffff7195fc0 32>
    align:64 warn_if_not_align:0 context <function_decl 0x7ffff735f700 p>
initial <constructor 0x7ffff7355bb8> chain <var_decl 0x7ffff7feebd0 x>>

not that I can really read what this is, or what it should be :-|
>From gcc-bugs-return-633064-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 22:06:16 2019
Return-Path: <gcc-bugs-return-633064-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10386 invoked by alias); 9 Feb 2019 22:06: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 10356 invoked by uid 48); 9 Feb 2019 22:06:12 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89271] New: gcc.target/powerpc/vsx-simode2.c stopped working in GCC 9
Date: Sat, 09 Feb 2019 22:06: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: unknown
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-89271-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: 2019-02/txt/msg01366.txt.bz2
Content-length: 1597

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

            Bug ID: 89271
           Summary: gcc.target/powerpc/vsx-simode2.c stopped working in
                    GCC 9
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: segher at gcc dot gnu.org
  Target Milestone: ---

In GCC 8 and earlier, this generates

        mtvsrwz 32,3
#APP
 # 10 "vsx-simode2.c" 1
        xxlor 32,32,32  # v, v constraints
 # 0 "" 2
#NO_APP
        mfvsrwz 3,32
        blr

but in GCC 9 it is

        std 3,-16(1)
        ori 2,2,0
        lwz 9,-12(1)
        mtvsrwz 32,9
#APP
 # 10 "vsx-simode2.c" 1
        xxlor 32,32,32  # v, v constraints
 # 0 "" 2
#NO_APP
        mfvsrwz 3,32
        blr

and soon it will be

        std 3,-16(1)
        addi 9,1,-12
        lxsiwzx 32,0,9
        blr

[ Hrm, no ori 2,2,0?  And it is better to do li 9,-12 etc. ]

This is because IRA does

     r125: preferred NO_REGS, alternative NO_REGS, allocno NO_REGS

   a1(r125,l0) costs: BASE_REGS:14004,14004 GENERAL_REGS:14004,14004-
   LINK_REGS:24010,24010 CTR_REGS:24010,24010 LINK_OR_CTR_REGS:24010,24010-
   SPEC_OR_GEN_REGS:24010,24010 MEM:12000,12000

and it then chooses disposition mem for r125.

In GCC 8 and before combine already has decided to use GPR3 (the first
argument register) for this, so there was no RA here before.
>From gcc-bugs-return-633065-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 22:16:23 2019
Return-Path: <gcc-bugs-return-633065-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50623 invoked by alias); 9 Feb 2019 22:16: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 50587 invoked by uid 48); 9 Feb 2019 22:16:19 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89271] gcc.target/powerpc/vsx-simode2.c stopped working in GCC 9
Date: Sat, 09 Feb 2019 22:16: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: ra
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: cf_known_to_work version target_milestone cf_known_to_fail
Message-ID: <bug-89271-4-aeY11Og43q@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89271-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89271-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: 2019-02/txt/msg01367.txt.bz2
Content-length: 455

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |8.0
            Version|unknown                     |9.0
   Target Milestone|---                         |9.0
      Known to fail|                            |9.0
>From gcc-bugs-return-633066-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 23:18:23 2019
Return-Path: <gcc-bugs-return-633066-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31605 invoked by alias); 9 Feb 2019 23:18: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 31573 invoked by uid 48); 9 Feb 2019 23:18:19 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89051] -Wno-error= does not work for warning groups
Date: Sat, 09 Feb 2019 23:18: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.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89051-4-bliB6i1o68@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89051-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89051-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: 2019-02/txt/msg01368.txt.bz2
Content-length: 983

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

--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
LangEnabledBy is used by optc-gen.awk to generate options.c with calls like
those below.  Other than that, I don't think GCC has an internal data structure
to represent this relationship (one that could be queried to give a list of
other options that -Wimplicit controls).  But I'm by no means an expert on
option processing.

    case OPT_Wimplicit:
      if (!opts_set->x_warn_implicit_function_declaration)
        handle_generated_option (opts, opts_set,
                                 OPT_Wimplicit_function_declaration, NULL,
value,
                                 lang_mask, kind, loc, handlers, true, dc);
      if (!opts_set->x_warn_implicit_int)
        handle_generated_option (opts, opts_set,
                                 OPT_Wimplicit_int, NULL, value,
                                 lang_mask, kind, loc, handlers, true, dc);
      break;
>From gcc-bugs-return-633067-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 23:23:57 2019
Return-Path: <gcc-bugs-return-633067-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35428 invoked by alias); 9 Feb 2019 23:23:56 -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 35386 invoked by uid 48); 9 Feb 2019 23:23:53 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89272] New: [9 Regression] r268728 caused FAIL: g++.dg/lto/pr65316 cp_lto_pr65316_0.o assemble
Date: Sat, 09 Feb 2019 23:23:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: lto
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-89272-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: 2019-02/txt/msg01369.txt.bz2
Content-length: 2617

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

            Bug ID: 89272
           Summary: [9 Regression] r268728 caused FAIL: g++.dg/lto/pr65316
                    cp_lto_pr65316_0.o assemble
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

On x86-64, r268728 caused:

[hjl@gnu-skx-1 gcc-bisect]$
/export/project/git/gcc-bisect/master/268728/bld/gcc/testsuite/g++/../../xg++
-B/export/project/git/gcc-bisect/master/268728/bld/gcc/testsuite/g++/../../
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -nostdinc++
-I/export/project/git/gcc-bisect/master/268728/bld/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu
-I/export/project/git/gcc-bisect/master/268728/bld/x86_64-pc-linux-gnu/libstdc++-v3/include
-I/export/project/git/gcc-bisect/gcc/libstdc++-v3/libsupc++
-I/export/project/git/gcc-bisect/gcc/libstdc++-v3/include/backward
-I/export/project/git/gcc-bisect/gcc/libstdc++-v3/testsuite/util
-fmessage-length=0 -flto -std=c++11 -g2 -fno-lto-odr-type-merging -O2
-Wno-return-type -c -o cp_lto_pr65316_0.o
/export/project/git/gcc-bisect/gcc/gcc/testsuite/g++.dg/lto/pr65316_0.C
during IPA pass: visibility
/export/project/git/gcc-bisect/gcc/gcc/testsuite/g++.dg/lto/pr65316_0.C:144:1:
internal compiler error: in type_in_anonymous_namespace_p, at ipa-utils.h:221
0xd84e2a type_in_anonymous_namespace_p(tree_node const*)
        ../../../../gcc/gcc/ipa-utils.h:221
0x1098cbe type_all_ctors_visible_p
        ../../../../gcc/gcc/ipa-devirt.c:254
0x1098ce8 type_possibly_instantiated_p
        ../../../../gcc/gcc/ipa-devirt.c:266
0x10a51a5 possible_polymorphic_call_targets(tree_node*, long,
ipa_polymorphic_call_context, bool*, void**, bool)
        ../../../../gcc/gcc/ipa-devirt.c:3344
0xd84b13 possible_polymorphic_call_targets(cgraph_edge*, bool*, void**, bool)
        ../../../../gcc/gcc/ipa-utils.h:118
0x10fbedc walk_polymorphic_call_targets
        ../../../../gcc/gcc/ipa.c:183
0x10fca44 symbol_table::remove_unreachable_nodes(_IO_FILE*)
        ../../../../gcc/gcc/ipa.c:427
0x12a9ac5 execute_todo
        ../../../../gcc/gcc/passes.c:2045
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.
[hjl@gnu-skx-1 gcc-bisect]$
>From gcc-bugs-return-633068-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 09 23:29:34 2019
Return-Path: <gcc-bugs-return-633068-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40595 invoked by alias); 9 Feb 2019 23:29: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 40555 invoked by uid 48); 9 Feb 2019 23:29:31 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89272] [9 Regression] r268728 caused FAIL: g++.dg/lto/pr65316 cp_lto_pr65316_0.o assemble
Date: Sat, 09 Feb 2019 23:29: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cc target_milestone everconfirmed
Message-ID: <bug-89272-4-d9XiAfCFDc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89272-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89272-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: 2019-02/txt/msg01370.txt.bz2
Content-length: 580

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-09
                 CC|                            |jakub at gcc dot gnu.org
   Target Milestone|---                         |9.0
     Ever confirmed|0                           |1
>From gcc-bugs-return-633069-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 00:02:10 2019
Return-Path: <gcc-bugs-return-633069-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98235 invoked by alias); 10 Feb 2019 00:01:36 -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 97757 invoked by uid 48); 10 Feb 2019 00:00:56 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89244] __builtin_is_constant_evaluated not documented
Date: Sun, 10 Feb 2019 00:01: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: documentation
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
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 resolution everconfirmed
Message-ID: <bug-89244-4-qTVyTtYEfd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89244-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89244-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: 2019-02/txt/msg01371.txt.bz2
Content-length: 1654

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |ASSIGNED
   Last reconfirmed|                            |2019-02-10
         Resolution|INVALID                     |---
     Ever confirmed|0                           |1

--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
As bug 88977 shows, people use the built-in directly; sooner or later, they
always do, whether or not the built-ins are intended to be.   Before confirming
that bug I went looking for its documentation to make sure I wasn't missing
something and found none, so all I had to go on was the C++ proposal.

GCC documents the vast majority of built-ins, whether or not they are meant to
be used directly.  There are countless examples, including the atomic
built-ins,  __builtin_setjmp and _longjmp for nonlocal Gotos, or
__builtin_object_size.  The manual even exhaustively lists all the C library
functions that it provides built-ins for, even though there is little reason to
do that.  As Jonathan points out, the C++ Type Traits built-ins are documented
as well.  The target sections of the manual exhaustively enumerate
target-specific intrinsics (regrettably, often without specifying their
semantics) even though there are higher-level APIs that users are expected to
use.

This is all immensely helpful, both to users and to GCC developers.  Let me
take care of adding something for __builtin_is_constant_evaluated.
>From gcc-bugs-return-633070-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 00:11:34 2019
Return-Path: <gcc-bugs-return-633070-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114296 invoked by alias); 10 Feb 2019 00:11: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 114222 invoked by uid 48); 10 Feb 2019 00:11:30 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88835] overly aggressive -Werror=format-overflow for printf since r265648
Date: Sun, 10 Feb 2019 00:11: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: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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: dependson
Message-ID: <bug-88835-4-7cux5jKNvx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88835-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88835-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: 2019-02/txt/msg01372.txt.bz2
Content-length: 960

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |88993

--- Comment #8 from Martin Sebor <msebor at gcc dot gnu.org> ---
The patch I posted for the related pr88993 also relaxes this warning for printf
and fprintf:  https://gcc.gnu.org/ml/gcc-patches/2019-02/msg00224.html

Like in the case of pr88993, the warning is by design and (in my view) makes
sense for sprintf but it's not very useful for the other functions where very
little code worries about exceeding these limits (or even cares about the
functions failing as they can for many other reasons).


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88993
[Bug 88993] [9 Regression] GCC 9 -Wformat-overflow=2 should reflect real libc
limits
>From gcc-bugs-return-633071-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 04:03:46 2019
Return-Path: <gcc-bugs-return-633071-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39600 invoked by alias); 10 Feb 2019 04:03:46 -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 39515 invoked by uid 48); 10 Feb 2019 04:03:41 -0000
From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libbacktrace/89273] New: Count inlined functions in skip parm for backtrace_full and backtrace_print
Date: Sun, 10 Feb 2019 04:03:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libbacktrace
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: vries 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-89273-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: 2019-02/txt/msg01373.txt.bz2
Content-length: 2199

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

            Bug ID: 89273
           Summary: Count inlined functions in skip parm for
                    backtrace_full and backtrace_print
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: libbacktrace
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vries at gcc dot gnu.org
                CC: ian at gcc dot gnu.org
  Target Milestone: ---

[ Proposed here: https://gcc.gnu.org/ml/gcc-patches/2019-02/msg00579.html ]

The btest test-case modified like this:
...
diff --git a/libbacktrace/btest.c b/libbacktrace/btest.c
index b1c2a2a860d..0925882aed1 100644
--- a/libbacktrace/btest.c
+++ b/libbacktrace/btest.c
@@ -140,7 +140,7 @@ f13 (int f1line, int f2line)
   data.failed = 0;

   f3line = __LINE__ + 1;
-  i = backtrace_full (state, 0, callback_one, error_callback_one, &data);
+  i = backtrace_full (state, 1, callback_one, error_callback_one, &data);

   if (i != 0)
     {
@@ -148,9 +148,9 @@ f13 (int f1line, int f2line)
       data.failed = 1;
     }

-  check ("test2", 0, all, f3line, "f13", "btest.c", &data.failed);
-  check ("test2", 1, all, f2line, "f12", "btest.c", &data.failed);
-  check ("test2", 2, all, f1line, "test2", "btest.c", &data.failed);
+  //check ("test2", 0, all, f3line, "f13", "btest.c", &data.failed);
+  check ("test2", 0, all, f2line, "f12", "btest.c", &data.failed);
+  check ("test2", 1, all, f1line, "test2", "btest.c", &data.failed);

   printf ("%s: backtrace_full inline\n", data.failed ? "FAIL" : "PASS");

...

fails like this:
...
PASS: backtrace_full noinline
test2: [0]: got ../csu/libc-start.c expected btest.c
test2: [0]: got 308 expected 126
test2: [0]: got __libc_start_main expected f12
FAIL: backtrace_full inline
PASS: backtrace_simple noinline
PASS: backtrace_simple inline
PASS: backtrace_syminfo variable
...

This is expected behaviour: "SKIP is the number of frames to skip", so the
inline functions don't count.

But arguably, it would be more intuitive if the skip parameter matched the
reduction in number of callbacks in backtrace_full.
>From gcc-bugs-return-633072-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 09:01:28 2019
Return-Path: <gcc-bugs-return-633072-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130221 invoked by alias); 10 Feb 2019 09:01: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 130095 invoked by uid 48); 10 Feb 2019 09:01:23 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/88711] [9 Regression] scan-ipa-dump inline "Inlined tp_sum/
Date: Sun, 10 Feb 2019 09:01: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority
Message-ID: <bug-88711-4-6zUeGtGHgj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88711-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88711-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: 2019-02/txt/msg01374.txt.bz2
Content-length: 289

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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3
>From gcc-bugs-return-633073-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 09:05:06 2019
Return-Path: <gcc-bugs-return-633073-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7315 invoked by alias); 10 Feb 2019 09:05: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 7233 invoked by uid 48); 10 Feb 2019 09:05:01 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/71066] [7/8/9 Regression] ICE in set_loop_bounds, at fortran/trans-array.c:4680
Date: Sun, 10 Feb 2019 09:05: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: 6.1.1
X-Bugzilla-Keywords: ice-on-invalid-code, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-71066-4-ehnrNjimNn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71066-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71066-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: 2019-02/txt/msg01375.txt.bz2
Content-length: 830

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

--- Comment #11 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Slightly different variant of z3.f90, with a different ICE:

program p
   real :: a(2,2)[*]
   data a /1.0, 2.0, 3.0, 4.0/
end

Interner Compiler-Fehler: Speicherzugriffsfehler
0xe24dff crash_signal
        ../../trunk/gcc/toplev.c:326
0x986688 gfc_get_nodesc_array_type(tree_node*, gfc_array_spec*, gfc_packed,
bool)
        ../../trunk/gcc/fortran/trans-types.c:1617
0x90822b gfc_build_constant_array_constructor(gfc_expr*, tree_node*)
        ../../trunk/gcc/fortran/trans-array.c:2267
0x945fd4 gfc_trans_array_constructor_copy
        ../../trunk/gcc/fortran/trans-expr.c:9913
0x945fd4 gfc_trans_assignment(gfc_expr*, gfc_expr*, bool, bool, bool, bool)
        ../../trunk/gcc/fortran/trans-expr.c:10891
>From gcc-bugs-return-633074-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 09:15:45 2019
Return-Path: <gcc-bugs-return-633074-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20166 invoked by alias); 10 Feb 2019 09:15: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 20066 invoked by uid 48); 10 Feb 2019 09:15:39 -0000
From: "ibuclaw at gdcproject dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug d/88989] ICE in resolvePropertiesX, at d/dmd/expression.c:251
Date: Sun, 10 Feb 2019 09:15:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: d
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ibuclaw at gdcproject dot org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-88989-4-gepEWc2nbj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88989-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88989-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: 2019-02/txt/msg01376.txt.bz2
Content-length: 515

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

Iain Buclaw <ibuclaw at gdcproject dot org> changed:

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

--- Comment #6 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
Fix committed in r268740.

https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=268740
>From gcc-bugs-return-633075-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 09:42:29 2019
Return-Path: <gcc-bugs-return-633075-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67324 invoked by alias); 10 Feb 2019 09:42: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 66983 invoked by uid 48); 10 Feb 2019 09:42:24 -0000
From: "rtos.pharos at outlook dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89269] RISC-V stack variable as global variable
Date: Sun, 10 Feb 2019 09:42: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rtos.pharos at outlook 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_status resolution
Message-ID: <bug-89269-4-JtLNcwy10R@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89269-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89269-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: 2019-02/txt/msg01377.txt.bz2
Content-length: 2630

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

Pharos Team <rtos.pharos at outlook dot com> changed:

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

--- Comment #2 from Pharos Team <rtos.pharos at outlook dot com> ---
I'm sorry but your comment is invalid. The following lines:

800013b4:   00bff797                auipc   a5,0xbff
800013b8:   04c78793                addi    a5,a5,76 #80c00400
<partition1BssEnd>
800013bc:   639c                    ld      a5,0(a5)

load to a5 the address of partition1BssEnd and then they "read" the location of
partition1BssEnd. Even though there is no "write", the "read" operation is
triggering the MMU to raise an error (as it should).

For example, compiling the same C code for ARM AARCH64 we get the result:

    1448:       a9be7bfd        stp     x29, x30, [sp, #-32]!
    144c:       910003fd        mov     x29, sp
    PharosHwQueueSendR sendResult;
    //uint8_t message4[10];

    uint8_t message[] = {
    1450:       128004a0        mov     w0, #0xffffffda                 // #-38
    1454:       390043e0        strb    w0, [sp, #16]
    1458:       528009e0        mov     w0, #0x4f                       // #79
    145c:       390047e0        strb    w0, [sp, #17]
    1460:       128007a0        mov     w0, #0xffffffc2                 // #-62
    1464:       39004be0        strb    w0, [sp, #18]
    1468:       52800080        mov     w0, #0x4                        // #4
    146c:       39004fe0        strb    w0, [sp, #19]
    1470:       528000a0        mov     w0, #0x5                        // #5
    1474:       390053e0        strb    w0, [sp, #20]
    1478:       528000c0        mov     w0, #0x6                        // #6
    147c:       390057e0        strb    w0, [sp, #21]
    1480:       528000e0        mov     w0, #0x7                        // #7
    1484:       39005be0        strb    w0, [sp, #22]
    1488:       52800100        mov     w0, #0x8                        // #8
    148c:       39005fe0        strb    w0, [sp, #23]


That is, everything is placed (correctly) on the stack. I just place the
aarch64 example so that we can make sure that the C code is not making any
reference at all to partition1BssEnd (I have no idea why on RISC-V it would
make such a reference).

With this "read" problem I took the liberty to reopen the bug. I truly believe
this is a bug and not invalid.

Best regards,
Pharos team
>From gcc-bugs-return-633076-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 10:02:29 2019
Return-Path: <gcc-bugs-return-633076-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111198 invoked by alias); 10 Feb 2019 10:02: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 111129 invoked by uid 48); 10 Feb 2019 10:02:25 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/71066] [7/8/9 Regression] ICE in set_loop_bounds, at fortran/trans-array.c:4680
Date: Sun, 10 Feb 2019 10: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: 6.1.1
X-Bugzilla-Keywords: ice-on-invalid-code, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-71066-4-2Q8BpBPnXl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71066-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71066-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: 2019-02/txt/msg01378.txt.bz2
Content-length: 1819

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

--- Comment #12 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to Thomas Koenig from comment #11)
> Slightly different variant of z3.f90, with a different ICE:
> 
> program p
>    real :: a(2,2)[*]
>    data a /1.0, 2.0, 3.0, 4.0/
> end
> 
> Interner Compiler-Fehler: Speicherzugriffsfehler
> 0xe24dff crash_signal
>         ../../trunk/gcc/toplev.c:326
> 0x986688 gfc_get_nodesc_array_type(tree_node*, gfc_array_spec*, gfc_packed,
> bool)
>         ../../trunk/gcc/fortran/trans-types.c:1617
> 0x90822b gfc_build_constant_array_constructor(gfc_expr*, tree_node*)
>         ../../trunk/gcc/fortran/trans-array.c:2267
> 0x945fd4 gfc_trans_array_constructor_copy
>         ../../trunk/gcc/fortran/trans-expr.c:9913
> 0x945fd4 gfc_trans_assignment(gfc_expr*, gfc_expr*, bool, bool, bool, bool)
>         ../../trunk/gcc/fortran/trans-expr.c:10891

This particular case can be fixes (well, sort of) with

Index: trans-decl.c
===================================================================
--- trans-decl.c        (Revision 268432)
+++ trans-decl.c        (Arbeitskopie)
@@ -5399,6 +5399,12 @@
   /* Handle "static" initializer.  */
   if (sym->value)
     {
+      /* An EXPR_ARRAY with a rank > 1 here has to come from a DATA
+        statement.  Set its rank here as not to confuse the following
+        steps.  See PR 71066.  */
+      if (sym->value->expr_type == EXPR_ARRAY)
+       sym->value->rank = 1;
+
       sym->attr.pointer = 1;
       tmp = gfc_trans_assignment (gfc_lval_expr_from_sym (sym), sym->value,
                                  true, false);

but z3.f90 still ICEs.
>From gcc-bugs-return-633077-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 10:08:11 2019
Return-Path: <gcc-bugs-return-633077-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120997 invoked by alias); 10 Feb 2019 10: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 120878 invoked by uid 48); 10 Feb 2019 10:08:07 -0000
From: "schwab@linux-m68k.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89269] RISC-V stack variable as global variable
Date: Sun, 10 Feb 2019 10:08: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: schwab@linux-m68k.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: bug_status resolution
Message-ID: <bug-89269-4-LvgHnnGttk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89269-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89269-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: 2019-02/txt/msg01379.txt.bz2
Content-length: 504

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

Andreas Schwab <schwab@linux-m68k.org> changed:

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

--- Comment #3 from Andreas Schwab <schwab@linux-m68k.org> ---
If the address 80c00400 is not readable, then the linker has generated an
invalid binary.
>From gcc-bugs-return-633078-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 10:47:19 2019
Return-Path: <gcc-bugs-return-633078-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48319 invoked by alias); 10 Feb 2019 10:47:19 -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 41091 invoked by uid 55); 10 Feb 2019 10:47:15 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89272] [9 Regression] r268728 caused FAIL: g++.dg/lto/pr65316 cp_lto_pr65316_0.o assemble
Date: Sun, 10 Feb 2019 10:47: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89272-4-wxqN7VOOUG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89272-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89272-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: 2019-02/txt/msg01380.txt.bz2
Content-length: 435

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

--- Comment #1 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Author: hubicka
Date: Sun Feb 10 10:46:43 2019
New Revision: 268742

URL: https://gcc.gnu.org/viewcvs?rev=268742&root=gcc&view=rev
Log:

        PR lto/89272
        * tree.c (fld_simplified_type_name): Also keep TYPE_DECL for
        polymorphic types.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree.c
>From gcc-bugs-return-633079-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 11:01:47 2019
Return-Path: <gcc-bugs-return-633079-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112423 invoked by alias); 10 Feb 2019 11:01:46 -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 112343 invoked by uid 48); 10 Feb 2019 11:01:43 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89272] [9 Regression] r268728 caused FAIL: g++.dg/lto/pr65316 cp_lto_pr65316_0.o assemble
Date: Sun, 10 Feb 2019 11:01: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
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 cc resolution
Message-ID: <bug-89272-4-5MmuFYzPiG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89272-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89272-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: 2019-02/txt/msg01381.txt.bz2
Content-length: 499

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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |hubicka at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #2 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-633080-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 11:03:37 2019
Return-Path: <gcc-bugs-return-633080-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114418 invoked by alias); 10 Feb 2019 11:03: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 114344 invoked by uid 48); 10 Feb 2019 11:03:32 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/88677] [9 Regression] Divergence in -O2 and -O2 -flto early opts
Date: Sun, 10 Feb 2019 11:03: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: 9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88677-4-1QEcL6cUTu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88677-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88677-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: 2019-02/txt/msg01382.txt.bz2
Content-length: 339

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

--- Comment #12 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
I have posted patch which removes the problematic TYPE_NEEDS_CONSTRUCTION to
https://gcc.gnu.org/ml/gcc-patches/2019-02/msg00584.html
It however does not fix the difference.  I suppose it may be TBAA diverging
somehow?
>From gcc-bugs-return-633081-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 11:07:33 2019
Return-Path: <gcc-bugs-return-633081-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118789 invoked by alias); 10 Feb 2019 11:07: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 118705 invoked by uid 55); 10 Feb 2019 11:07:29 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89268] [9 Regression] r268689 caused FAIL: gcc.dg/vect/pr79887.c
Date: Sun, 10 Feb 2019 11:07: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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:
Message-ID: <bug-89268-4-jhMzeEKBTh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89268-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89268-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: 2019-02/txt/msg01383.txt.bz2
Content-length: 599

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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sun Feb 10 11:06:58 2019
New Revision: 268743

URL: https://gcc.gnu.org/viewcvs?rev=268743&root=gcc&view=rev
Log:
        PR tree-optimization/89268
        * tree-if-conv.c (version_loop_for_if_conversion): Push to preds only
        if preds is non-NULL.

        * gcc.dg/vect/pr89268.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/vect/pr89268.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-if-conv.c
>From gcc-bugs-return-633082-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 11:12:24 2019
Return-Path: <gcc-bugs-return-633082-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49696 invoked by alias); 10 Feb 2019 11:12: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 49657 invoked by uid 48); 10 Feb 2019 11:12:21 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89268] [9 Regression] r268689 caused FAIL: gcc.dg/vect/pr79887.c
Date: Sun, 10 Feb 2019 11:12: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution assigned_to
Message-ID: <bug-89268-4-CqRVhLovn6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89268-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89268-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: 2019-02/txt/msg01384.txt.bz2
Content-length: 506

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-633083-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 11:18:26 2019
Return-Path: <gcc-bugs-return-633083-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60743 invoked by alias); 10 Feb 2019 11:18:26 -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 60674 invoked by uid 48); 10 Feb 2019 11:18:22 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/89274] New: Inconsistent list directed output of INTEGER(16)
Date: Sun, 10 Feb 2019 11:18:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libfortran
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
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-89274-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: 2019-02/txt/msg01385.txt.bz2
Content-length: 2387

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

            Bug ID: 89274
           Summary: Inconsistent list directed output of INTEGER(16)
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libfortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dominiq at lps dot ens.fr
                CC: jvdelisle at gcc dot gnu.org
  Target Milestone: ---

The following test

integer(8)  :: i(2)
integer(16) :: j(2)
i = -huge(1)
print *, i
i = -huge(1_8)
print *, i
j = huge(1)
print *, j
j = huge(1_8)
print *, j
j = huge(1_16)
print *, j
j = -huge(1)
print *, j
j = -huge(1_8)
print *, j
j = -huge(1_16)
print *, j
end

gives at run time

          -2147483647          -2147483647
 -9223372036854775807 -9223372036854775807
 2147483647 2147483647
 9223372036854775807 9223372036854775807
 170141183460469231731687303715884105727
170141183460469231731687303715884105727
 -2147483647 -2147483647
 -9223372036854775807 -9223372036854775807
 -170141183460469231731687303715884105727
-170141183460469231731687303715884105727

since at least 4.8 up to trunk (9.0).

After applying the following patch

--- ../_clean/libgfortran/io/write.c    2019-01-01 13:40:19.000000000 +0100
+++ libgfortran/io/write.c      2019-02-10 11:03:35.000000000 +0100
@@ -1342,6 +1342,10 @@ write_integer (st_parameter_dt *dtp, con
       width = 20;
       break;

+    case 16:
+      width = 40;
+      break;
+
     default:
       width = 0;
       break;

one gets

          -2147483647          -2147483647
 -9223372036854775807 -9223372036854775807
                               2147483647                              
2147483647
                      9223372036854775807                     
9223372036854775807
  170141183460469231731687303715884105727 
170141183460469231731687303715884105727
                              -2147483647                             
-2147483647
                     -9223372036854775807                    
-9223372036854775807
 -170141183460469231731687303715884105727
-170141183460469231731687303715884105727
>From gcc-bugs-return-633084-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 11:19:04 2019
Return-Path: <gcc-bugs-return-633084-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61879 invoked by alias); 10 Feb 2019 11:19: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 61810 invoked by uid 48); 10 Feb 2019 11:19:00 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/89274] Inconsistent list directed output of INTEGER(16)
Date: Sun, 10 Feb 2019 11:19:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libfortran
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: minor
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on everconfirmed bug_severity
Message-ID: <bug-89274-4-pJX7hvBZ1J@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89274-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89274-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: 2019-02/txt/msg01386.txt.bz2
Content-length: 516

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-10
     Ever confirmed|0                           |1
           Severity|normal                      |minor
>From gcc-bugs-return-633085-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 11:43:02 2019
Return-Path: <gcc-bugs-return-633085-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45044 invoked by alias); 10 Feb 2019 11:43: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 44933 invoked by uid 48); 10 Feb 2019 11:42:56 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/88585] [9 Regression] ICE in fld_incomplete_type_of, at tree.c:5295
Date: Sun, 10 Feb 2019 11:43: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88585-4-PXUCkte09f@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88585-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88585-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: 2019-02/txt/msg01387.txt.bz2
Content-length: 8450

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

--- Comment #3 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
OK, I think this is frontend issue because at least in my understanding there
should be only one canonical type for the structure, while here we have two.

One canonical type is result of:
#0  0x00007ffff765f728 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00000000015925d3 in copy_node (node=0x7ffff7211690) at
../../gcc/tree.c:1183
#2  0x00000000015a8059 in build_distinct_type_copy (type=0x7ffff7211690) at
../../gcc/tree.c:6514
#3  0x00000000015a81d2 in build_variant_type_copy (type=0x7ffff7211690) at
../../gcc/tree.c:6548
#4  0x00000000015a7bc0 in build_qualified_type (type=0x7ffff7211690,
type_quals=8) at ../../gcc/tree.c:6449
#5  0x00000000009107f4 in c_build_qualified_type (type=0x7ffff7211690,
type_quals=8, orig_qual_type=0x0, orig_qual_indirect=0) at
../../gcc/c/c-typeck.c:14941
#6  0x00000000008b2c70 in grokdeclarator (declarator=0x3188250,
declspecs=0x31880c0, decl_context=PARM, initialized=false, width=0x0,
decl_attrs=0x7fffffffe348, expr=0x7fffffffe368, 
    expr_const_operands=0x7fffffffe17f, deprecated_state=DEPRECATED_NORMAL) at
../../gcc/c/c-decl.c:6663
#7  0x00000000008af3fd in push_parm_decl (parm=0x3188280, expr=0x7fffffffe368)
at ../../gcc/c/c-decl.c:5439
#8  0x0000000000922343 in c_parser_parms_list_declarator
(parser=0x7ffff70f4b40, attrs=0x0, expr=0x0) at ../../gcc/c/c-parser.c:4011
#9  0x00000000009221e6 in c_parser_parms_declarator (parser=0x7ffff70f4b40,
id_list_ok=true, attrs=0x0) at ../../gcc/c/c-parser.c:3942
#10 0x0000000000921f55 in c_parser_direct_declarator_inner
(parser=0x7ffff70f4b40, id_present=true, inner=0x3188090) at
../../gcc/c/c-parser.c:3870
#11 0x0000000000921962 in c_parser_direct_declarator (parser=0x7ffff70f4b40,
type_seen_p=true, kind=C_DTR_NORMAL, seen_id=0x7fffffffe67f) at
../../gcc/c/c-parser.c:3711
#12 0x000000000092187a in c_parser_declarator (parser=0x7ffff70f4b40,
type_seen_p=true, kind=C_DTR_NORMAL, seen_id=0x7fffffffe67f) at
../../gcc/c/c-parser.c:3655
#13 0x000000000091dc43 in c_parser_declaration_or_fndef (parser=0x7ffff70f4b40,
fndef_ok=true, static_assert_ok=true, empty_ok=true, nested=false,
start_attr_ok=true, 
    objc_foreach_object_declaration=0x0, omp_declare_simd_clauses=...,
oacc_routine_data=0x0, fallthru_attr_p=0x0) at ../../gcc/c/c-parser.c:2001
#14 0x000000000091d2bc in c_parser_external_declaration (parser=0x7ffff70f4b40)
at ../../gcc/c/c-parser.c:1654
#15 0x000000000091ce15 in c_parser_translation_unit (parser=0x7ffff70f4b40) at
../../gcc/c/c-parser.c:1534
#16 0x0000000000954eae in c_parse_file () at ../../gcc/c/c-parser.c:19842
#17 0x00000000009d4288 in c_common_parse_file () at
../../gcc/c-family/c-opts.c:1155
#18 0x0000000001197690 in compile_file () at ../../gcc/toplev.c:456
#19 0x000000000119a1c2 in do_compile () at ../../gcc/toplev.c:2176
#20 0x000000000119a4ae in toplev::main (this=0x7fffffffe9fe, argc=5,
argv=0x7fffffffeaf8) at ../../gcc/toplev.c:2311
#21 0x00000000020690ad in main (argc=5, argv=0x7fffffffeaf8) at
../../gcc/main.c:39

While the second is
#0  0x00007ffff765f79c in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00000000015925d3 in copy_node (node=0x7ffff7211690) at
../../gcc/tree.c:1183
#2  0x00000000015a8059 in build_distinct_type_copy (type=0x7ffff7211690) at
../../gcc/tree.c:6514
#3  0x00000000015a81d2 in build_variant_type_copy (type=0x7ffff7211690) at
../../gcc/tree.c:6548
#4  0x00000000015a7bc0 in build_qualified_type (type=0x7ffff7211690,
type_quals=8) at ../../gcc/tree.c:6449
#5  0x00000000009107f4 in c_build_qualified_type (type=0x7ffff7211690,
type_quals=8, orig_qual_type=0x0, orig_qual_indirect=0) at
../../gcc/c/c-typeck.c:14941
#6  0x00000000008b2c70 in grokdeclarator (declarator=0x3188250,
declspecs=0x31880c0, decl_context=PARM, initialized=false, width=0x0,
decl_attrs=0x7fffffffe348, expr=0x7fffffffe368, 
    expr_const_operands=0x7fffffffe17f, deprecated_state=DEPRECATED_NORMAL) at
../../gcc/c/c-decl.c:6663
#7  0x00000000008af3fd in push_parm_decl (parm=0x3188280, expr=0x7fffffffe368)
at ../../gcc/c/c-decl.c:5439
#8  0x0000000000922343 in c_parser_parms_list_declarator
(parser=0x7ffff70f4b40, attrs=0x0, expr=0x0) at ../../gcc/c/c-parser.c:4011
#9  0x00000000009221e6 in c_parser_parms_declarator (parser=0x7ffff70f4b40,
id_list_ok=true, attrs=0x0) at ../../gcc/c/c-parser.c:3942
#10 0x0000000000921f55 in c_parser_direct_declarator_inner
(parser=0x7ffff70f4b40, id_present=true, inner=0x3188090) at
../../gcc/c/c-parser.c:3870
#11 0x0000000000921962 in c_parser_direct_declarator (parser=0x7ffff70f4b40,
type_seen_p=true, kind=C_DTR_NORMAL, seen_id=0x7fffffffe67f) at
../../gcc/c/c-parser.c:3711
#12 0x000000000092187a in c_parser_declarator (parser=0x7ffff70f4b40,
type_seen_p=true, kind=C_DTR_NORMAL, seen_id=0x7fffffffe67f) at
../../gcc/c/c-parser.c:3655
#13 0x000000000091dc43 in c_parser_declaration_or_fndef (parser=0x7ffff70f4b40,
fndef_ok=true, static_assert_ok=true, empty_ok=true, nested=false,
start_attr_ok=true, 
    objc_foreach_object_declaration=0x0, omp_declare_simd_clauses=...,
oacc_routine_data=0x0, fallthru_attr_p=0x0) at ../../gcc/c/c-parser.c:2001
#14 0x000000000091d2bc in c_parser_external_declaration (parser=0x7ffff70f4b40)
at ../../gcc/c/c-parser.c:1654
#15 0x000000000091ce15 in c_parser_translation_unit (parser=0x7ffff70f4b40) at
../../gcc/c/c-parser.c:1534
#16 0x0000000000954eae in c_parse_file () at ../../gcc/c/c-parser.c:19842
#17 0x00000000009d4288 in c_common_parse_file () at
../../gcc/c-family/c-opts.c:1155
#18 0x0000000001197690 in compile_file () at ../../gcc/toplev.c:456
#19 0x000000000119a1c2 in do_compile () at ../../gcc/toplev.c:2176
#20 0x000000000119a4ae in toplev::main (this=0x7fffffffe9fe, argc=5,
argv=0x7fffffffeaf8) at ../../gcc/toplev.c:2311
#21 0x00000000020690ad in main (argc=5, argv=0x7fffffffeaf8) at
../../gcc/main.c:39

The reason is that build_variant_type_copy adjust alignment of atomic types and
thus
the variant lookup never succeeds.

I am testing
Index: tree.c
===================================================================
--- tree.c      (revision 268742)
+++ tree.c      (working copy)
@@ -6329,18 +6329,33 @@ check_lang_type (const_tree cand, const_
   return lang_hooks.types.type_hash_eq (cand, base);
 }

+static tree find_atomic_core_type (const_tree type);
+
 /* Returns true iff unqualified CAND and BASE are equivalent.  */

 bool
 check_base_type (const_tree cand, const_tree base)
 {
-  return (TYPE_NAME (cand) == TYPE_NAME (base)
-         /* Apparently this is needed for Objective-C.  */
-         && TYPE_CONTEXT (cand) == TYPE_CONTEXT (base)
-         /* Check alignment.  */
-         && TYPE_ALIGN (cand) == TYPE_ALIGN (base)
-         && attribute_list_equal (TYPE_ATTRIBUTES (cand),
-                                  TYPE_ATTRIBUTES (base)));
+  if (TYPE_NAME (cand) != TYPE_NAME (base)
+      /* Apparently this is needed for Objective-C.  */
+      || TYPE_CONTEXT (cand) != TYPE_CONTEXT (base)
+      || !attribute_list_equal (TYPE_ATTRIBUTES (cand),
+                               TYPE_ATTRIBUTES (base)))
+    return false;
+  /* Check alignment.  */
+  if (TYPE_ALIGN (cand) == TYPE_ALIGN (base))
+    return true;
+  /* Atomic types increase minimal alignment.  We must to do so as well
+     or we get duplicated canonical types. See PR88686.  */
+  if ((TYPE_QUALS (cand) & TYPE_QUAL_ATOMIC))
+    {
+      /* See if this object can map to a basic atomic type.  */
+      tree atomic_type = find_atomic_core_type (cand);
+      if (TYPE_ALIGN (atomic_type) == TYPE_ALIGN (cand)
+         && TYPE_ALIGN (base) < TYPE_ALIGN (cand))
+       return true;
+    }
+  return false;
 }

 /* Returns true iff CAND is equivalent to BASE with TYPE_QUALS.  */
@@ -6373,7 +6388,7 @@ check_aligned_type (const_tree cand, con
    atomic types, and returns that core atomic type.  */

 static tree
-find_atomic_core_type (tree type)
+find_atomic_core_type (const_tree type)
 { 
   tree base_atomic_type;
>From gcc-bugs-return-633086-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 12:31:17 2019
Return-Path: <gcc-bugs-return-633086-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75723 invoked by alias); 10 Feb 2019 12:31: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 75598 invoked by uid 48); 10 Feb 2019 12:31:11 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/88677] [9 Regression] Divergence in -O2 and -O2 -flto early opts
Date: Sun, 10 Feb 2019 12:31: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: 9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: rguenther at suse dot de
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: assigned_to
Message-ID: <bug-88677-4-QL5egFLOh5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88677-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88677-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: 2019-02/txt/msg01388.txt.bz2
Content-length: 3239

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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|hubicka at gcc dot gnu.org         |rguenther at suse dot de

--- Comment #13 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
So even with the patch for TYPE_NEEDS_CONSTRUCTING I get the following
difference in fre1 dump (and it is first one). I also use -fno-strict-aliasing
--- test.ii.033t.fre1   2019-02-10 13:27:45.531305878 +0100
+++ dd/test.ii.033t.fre1        2019-02-10 13:27:34.895310810 +0100
@@ -120,7 +120,7 @@
 n::p (struct n * const this)
 {
   int SR.3;
-  struct D D.2531;
+  struct D D.2527;
   struct D D.2507;
   unsigned int _1;

@@ -221,9 +221,9 @@
 marking outgoing edge 6 -> 8 executable
 Processing block 5: BB8
 Value numbering stmt = SR.9_27 = MEM[(struct D *)&m];
-Setting value number of SR.9_27 to SR.8_23 (changed)
+Setting value number of SR.9_27 to SR.9_27 (changed)
 marking outgoing edge 8 -> 9 executable
-Making available beyond BB8 SR.9_27 for value SR.8_23
+Making available beyond BB8 SR.9_27 for value SR.9_27
 Processing block 6: BB7
 Value numbering stmt = SR.9_26 = 0;
 RHS 0 simplified to 0
@@ -233,12 +233,11 @@
 Value numbering stmt = .MEM_14 = PHI <.MEM_6(7), .MEM_6(8)>
 Setting value number of .MEM_14 to .MEM_6 (changed)
 Value numbering stmt = SR.9_12 = PHI <SR.9_26(7), SR.9_27(8)>
-Marking CSEd to PHI node SR.8_11 = PHI <SR.8_2(3), SR.8_23(4)>
-Setting value number of SR.9_12 to SR.8_11 (changed)
-SR.8_11 is available for SR.8_11
+Setting value number of SR.9_12 to SR.9_12 (changed)
+Making available beyond BB9 SR.9_12 for value SR.9_12
 Value numbering stmt = MEM[(struct D *)&D.2498] = SR.9_12;
 No store match
-Value numbering store MEM[(struct D *)&D.2498] to SR.8_11
+Value numbering store MEM[(struct D *)&D.2498] to SR.9_12
 Setting value number of .MEM_18 to .MEM_18 (changed)
 Value numbering stmt = return;
 marking outgoing edge 9 -> 1 executable
@@ -252,9 +251,7 @@
 Value numbering stmt = <L1>:
 Value numbering stmt = resx 1
 RPO iteration over 10 blocks visited 10 blocks in total discovering 10
executable blocks iterating 1.0 times, a block was visited max. 1 times
-RPO tracked 2 values available at 3 locations and 17 lattice elements
-Replaced redundant PHI node defining SR.9_12 with SR.8_11
-Removing dead stmt SR.9_12 = PHI <0(7), SR.9_27(8)>
+RPO tracked 4 values available at 4 locations and 17 lattice elements
 Removing dead stmt SR.9_26 = 0;
 Removing dead stmt _10 = a_7(D);
 Removing dead stmt SR.7_24 = SR.8_11;
@@ -281,9 +278,9 @@
   int SR.8;
   int SR.7;
   unsigned int a;
-  struct D D.2547;
-  struct D D.2545;
-  struct D D.2544;
+  struct D D.2543;
+  struct D D.2541;
+  struct D D.2540;
   struct n a;
   struct D D.2498;
   struct D D.2497;
@@ -313,7 +310,8 @@
   SR.9_27 = MEM[(struct D *)&m];

   <bb 7> :
-  MEM[(struct D *)&D.2498] = SR.8_11;
+  # SR.9_12 = PHI <0(5), SR.9_27(6)>
+  MEM[(struct D *)&D.2498] = SR.9_12;
   return;

   <bb 8> :

Richi, do you have any idea what happens here? If needed I can analyze it
more...
>From gcc-bugs-return-633087-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 12:38:01 2019
Return-Path: <gcc-bugs-return-633087-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111438 invoked by alias); 10 Feb 2019 12:38: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 111360 invoked by uid 48); 10 Feb 2019 12:37:57 -0000
From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libbacktrace/81983] sanitizer detects undefined runtime error in libbacktrace
Date: Sun, 10 Feb 2019 12:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libbacktrace
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vries at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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 component
Message-ID: <bug-81983-4-Fs015lgnIu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81983-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81983-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: 2019-02/txt/msg01389.txt.bz2
Content-length: 1454

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

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian at airs dot com,
                   |                            |ian at gcc dot gnu.org,
                   |                            |vries at gcc dot gnu.org
          Component|libfortran                  |libbacktrace

--- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> ---
AFAIU, this libbacktrace assert corresponds to the runtime error mentioned in
comment 0:
...
diff --git a/libbacktrace/dwarf.c b/libbacktrace/dwarf.c
index d7dacf3ef32..b99771a2989 100644
--- a/libbacktrace/dwarf.c
+++ b/libbacktrace/dwarf.c
@@ -36,6 +36,7 @@ POSSIBILITY OF SUCH DAMAGE.  */
 #include <stdlib.h>
 #include <string.h>
 #include <sys/types.h>
+#include <assert.h>

 #include "dwarf2.h"
 #include "filenames.h"
@@ -2821,6 +2822,7 @@ dwarf_lookup_pc (struct backtrace_state *state, struct
dwarf_data *ddata,
   *found = 1;

   /* Find an address range that includes PC.  */
+  assert (ddata->addrs != NULL);
   entry = bsearch (&pc, ddata->addrs, ddata->addrs_count,
                   sizeof (struct unit_addrs), unit_addrs_search);

...

I can trigger the assert with btest_dwz, for the btest_common.debug file, which
doesn't contain any addresses.
>From gcc-bugs-return-633088-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 12:55:59 2019
Return-Path: <gcc-bugs-return-633088-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73212 invoked by alias); 10 Feb 2019 12:55: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 73115 invoked by uid 55); 10 Feb 2019 12:55:56 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86020] [8 Regression] Performance regression in Eigen geometry.cpp test starting with r248334
Date: Sun, 10 Feb 2019 12: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: 8.1.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86020-4-dVUTE5y218@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86020-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86020-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: 2019-02/txt/msg01390.txt.bz2
Content-length: 631

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

--- Comment #11 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Author: hubicka
Date: Sun Feb 10 12:55:24 2019
New Revision: 268745

URL: https://gcc.gnu.org/viewcvs?rev=268745&root=gcc&view=rev
Log:

        Backport from mainline:
        2019-01-05  Jan Hubicka  <hubicka@ucw.cz>

        PR tree-opt/86020
        Revert:
        2017-05-22  Jan Hubicka  <hubicka@ucw.cz>

        * ipa-inline.c (edge_badness): Use inlined_time instead of
        inline_summaries->get.

Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/ipa-inline.c
>From gcc-bugs-return-633089-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 12:56:26 2019
Return-Path: <gcc-bugs-return-633089-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74150 invoked by alias); 10 Feb 2019 12:56:26 -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 74091 invoked by uid 48); 10 Feb 2019 12:56:23 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86020] [8 Regression] Performance regression in Eigen geometry.cpp test starting with r248334
Date: Sun, 10 Feb 2019 12: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: 8.1.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-86020-4-6cJFfzDeKX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86020-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86020-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: 2019-02/txt/msg01391.txt.bz2
Content-length: 424

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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

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

--- Comment #12 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-633090-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 12:57:11 2019
Return-Path: <gcc-bugs-return-633090-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75113 invoked by alias); 10 Feb 2019 12:57: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 75084 invoked by uid 48); 10 Feb 2019 12:57:08 -0000
From: "ahangauer at gmx dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89011] member function pointer template argument with initialization by constant generates ICE
Date: Sun, 10 Feb 2019 12: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: 7.3.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ahangauer at gmx dot net
X-Bugzilla-Status: WAITING
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-89011-4-IY3fm15KiK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89011-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89011-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: 2019-02/txt/msg01392.txt.bz2
Content-length: 1604

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

--- Comment #3 from Andreas Hangauer <ahangauer at gmx dot net> ---
Unfortunately this is the most recent version of gcc which is available in the
mingw-w64 / msys2 toolchain. I am only able to try with an *older* gcc: However
version 5.1.0 yields the same. Sorry if this is not of much help, but it
indicates that indeed this could be a target-related problem.


gcc -c test_bug.cpp -std=c++11  

==> 

test_bug.cpp:14:26: internal compiler error: in instantiate_type, at
cp/class.c:
7849
 using TT3 = test<dummy, 0>;  // generates ICE
                          ^
Please submit a full bug report,


gcc -v 

==> 

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=C:/TDM-GCC-64/bin/../libexec/gcc/x86_64-w64-mingw32/5.1.0/lt
o-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../../../src/gcc-5.1.0/configure --build=x86_64-w64-mingw32
--e
nable-targets=all --enable-languages=ada,c,c++,fortran,lto,objc,obj-c++
--enable
-libgomp --enable-lto --enable-graphite --enable-cxx-flags=-DWINPTHREAD_STATIC
-
-disable-build-with-cxx --disable-build-poststage1-with-cxx
--enable-libstdcxx-d
ebug --enable-threads=posix --enable-version-specific-runtime-libs
--enable-full
y-dynamic-string --enable-libstdcxx-threads --enable-libstdcxx-time
--with-gnu-l
d --disable-werror --disable-nls --disable-win32-registry --prefix=/mingw64tdm
-
-with-local-prefix=/mingw64tdm --with-pkgversion=tdm64-1
--with-bugurl=http://td
m-gcc.tdragon.net/bugs
Thread model: posix
gcc version 5.1.0 (tdm64-1)
>From gcc-bugs-return-633091-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 13:15:53 2019
Return-Path: <gcc-bugs-return-633091-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130171 invoked by alias); 10 Feb 2019 13:15:52 -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 130138 invoked by uid 48); 10 Feb 2019 13:15:49 -0000
From: "rtos.pharos at outlook dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89269] RISC-V stack variable as global variable
Date: Sun, 10 Feb 2019 13:15: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rtos.pharos at outlook 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_status resolution
Message-ID: <bug-89269-4-8QOsaFeuyq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89269-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89269-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: 2019-02/txt/msg01393.txt.bz2
Content-length: 875

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

Pharos Team <rtos.pharos at outlook dot com> changed:

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

--- Comment #4 from Pharos Team <rtos.pharos at outlook dot com> ---
I continue not to understand your point.

Correct me if I'm wrong, it is GCC that generates the assembly instructions to
read from partition1BssEnd, where it shouldn't.

How can this be a linker problem?

Just to make clear, the address 80c00400 belongs is inside the linker script.
It is the MMU that is initialized to state that address as invalid (and it is
correctly initialized as invalid since this address belongs to another
partition).
>From gcc-bugs-return-633092-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 13:28:00 2019
Return-Path: <gcc-bugs-return-633092-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39255 invoked by alias); 10 Feb 2019 13:28: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 39234 invoked by uid 48); 10 Feb 2019 13:27:56 -0000
From: "schwab@linux-m68k.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89269] RISC-V stack variable as global variable
Date: Sun, 10 Feb 2019 13:28: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: schwab@linux-m68k.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: bug_status resolution
Message-ID: <bug-89269-4-W75syGXb2y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89269-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89269-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: 2019-02/txt/msg01394.txt.bz2
Content-length: 703

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

Andreas Schwab <schwab@linux-m68k.org> changed:

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

--- Comment #5 from Andreas Schwab <schwab@linux-m68k.org> ---
GCC generates a copy from a read-only data object to a stack object allocated
for the local variable.  If the linker puts that read-only data at a place that
isn't readable then it is a bug in the linker, or the linker script, or the
binary loader.  Nothing of that is related to GCC.
>From gcc-bugs-return-633093-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 13:47:00 2019
Return-Path: <gcc-bugs-return-633093-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67806 invoked by alias); 10 Feb 2019 13:46: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 67673 invoked by uid 48); 10 Feb 2019 13:46:55 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/88711] [9 Regression] scan-ipa-dump inline "Inlined tp_sum/
Date: Sun, 10 Feb 2019 13:46: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status blocked resolution
Message-ID: <bug-88711-4-7DywYwIuaH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88711-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88711-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: 2019-02/txt/msg01395.txt.bz2
Content-length: 701

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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

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

--- Comment #9 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
I see, original PR is still open. There is no need to track this twice.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79966
[Bug 79966] [9 Regression] run time more than twice slower when using
-fipa-cp-clone
>From gcc-bugs-return-633094-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 13:47:00 2019
Return-Path: <gcc-bugs-return-633094-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67865 invoked by alias); 10 Feb 2019 13: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 67735 invoked by uid 48); 10 Feb 2019 13:46:56 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/79966] [9 Regression] run time more than twice slower when using -fipa-cp-clone
Date: Sun, 10 Feb 2019 13:47:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: ipa
X-Bugzilla-Version: 7.0.1
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka 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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-79966-4-Opx2Rxyyi4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79966-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79966-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: 2019-02/txt/msg01396.txt.bz2
Content-length: 478

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79966
Bug 79966 depends on bug 88711, which changed state.

Bug 88711 Summary: [9 Regression] scan-ipa-dump inline "Inlined tp_sum/
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88711

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-633095-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 13:47:29 2019
Return-Path: <gcc-bugs-return-633095-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69204 invoked by alias); 10 Feb 2019 13:47: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 69156 invoked by uid 48); 10 Feb 2019 13:47:25 -0000
From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/67696] libbacktrace prints C++ demangled name for Fortran symbol
Date: Sun, 10 Feb 2019 13:47: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: 5.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vries 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-67696-4-xgCSpHVdEr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67696-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67696-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: 2019-02/txt/msg01397.txt.bz2
Content-length: 2034

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

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ccoutant at gmail dot com,
                   |                            |ian at airs dot com,
                   |                            |jason at gcc dot gnu.org,
                   |                            |pault at gcc dot gnu.org,
                   |                            |vries at gcc dot gnu.org

--- Comment #5 from Tom de Vries <vries at gcc dot gnu.org> ---
The fact that the error showed up both with libbacktrace and gdb suggest that
the debug information is wrong.

It would have been good to see the DW_TAG_subprogram DIE for foo (using readelf
-w), with the DW_AT_name and DW_AT_linkage_name attributes. This could have
confirmed that the generated debug info was incorrect.

Either way, with trunk I see:
...
 <2><126>: Abbrev Number: 5 (DW_TAG_subprogram)
    <127>   DW_AT_external    : 1
    <127>   DW_AT_name        : (indirect string, offset: 0x31a): cp__b
    <12b>   DW_AT_decl_file   : 1
    <12c>   DW_AT_decl_line   : 3
    <12d>   DW_AT_linkage_name: (indirect string, offset: 0x310):
__foo_MOD_cp__b
    <131>   DW_AT_low_pc      : 0x400632
    <139>   DW_AT_high_pc     : 0xe    
    <141>   DW_AT_frame_base  : 1 byte block: 9c        (DW_OP_call_frame_cfa)
    <143>   DW_AT_GNU_all_tail_call_sites: 1
...

and:
...
Program aborted. Backtrace:
#0  0x40063f in __foo_MOD_cp__b
        at /data/gcc_versions/devel/test2.f90:4
#1  0x400648 in test
        at /data/gcc_versions/devel/test2.f90:10
#2  0x40067f in main
        at /data/gcc_versions/devel/test2.f90:9
...

So, libbacktrace prints the DW_AT_linkage_name, as is the documented behaviour.

Both the DW_AT_name and DW_AT_linkage name do not contain the 'cp(bool)'
reported in comment 0.

Propose to mark this resolved-fixed.
>From gcc-bugs-return-633096-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 13:58:33 2019
Return-Path: <gcc-bugs-return-633096-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79404 invoked by alias); 10 Feb 2019 13:58:32 -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 79350 invoked by uid 48); 10 Feb 2019 13:58:28 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86020] [8 Regression] Performance regression in Eigen geometry.cpp test starting with r248334
Date: Sun, 10 Feb 2019 13:58: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.1.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wschmidt at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86020-4-6Ln1YOt1B8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86020-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86020-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: 2019-02/txt/msg01398.txt.bz2
Content-length: 137

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

--- Comment #13 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Thanks, Honza!
>From gcc-bugs-return-633097-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 14:11:00 2019
Return-Path: <gcc-bugs-return-633097-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127169 invoked by alias); 10 Feb 2019 14:10: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 127082 invoked by uid 48); 10 Feb 2019 14:10:55 -0000
From: "rtos.pharos at outlook dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89269] RISC-V stack variable as global variable
Date: Sun, 10 Feb 2019 14:10: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rtos.pharos at outlook dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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: resolution
Message-ID: <bug-89269-4-ljfxzuqy1E@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89269-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89269-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: 2019-02/txt/msg01399.txt.bz2
Content-length: 4274

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

Pharos Team <rtos.pharos at outlook dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |FIXED

--- Comment #6 from Pharos Team <rtos.pharos at outlook dot com> ---
OK, 

I think I got it know. I've tried more things and indeed this seems now to be a
linker problem.

I tried to increase the message length (2 more bytes):

void aperiodicThread0_0()
{
    PharosHwQueueSendR sendResult;
    uint8_t message[] = {
        0xda , 0x4f , 0xc2 , 4 , 5 , 6 , 7 , 8 , 9 , 10
    };

 .
 . 
 .

}

and now the generated assembly is:

    800013b8:   1101                    addi    sp,sp,-32
    800013ba:   ec06                    sd      ra,24(sp)
    800013bc:   e822                    sd      s0,16(sp)
    800013be:   1000                    addi    s0,sp,32
    800013c0:   00011797                auipc   a5,0x11
    800013c4:   1c878793                addi    a5,a5,456 # 80012588
<pharosRodataStart+0x158>
    800013c8:   6398                    ld      a4,0(a5)
    800013ca:   fee43023                sd      a4,-32(s0)
    800013ce:   0087d783                lhu     a5,8(a5)
    800013d2:   fef41423                sh      a5,-24(s0)


as opposed to initially which was:

    800013b8:   1101                    addi    sp,sp,-32
    800013ba:   ec06                    sd      ra,24(sp)
    800013bc:   e822                    sd      s0,16(sp)
    800013be:   1000                    addi    s0,sp,32
    800013c0:   00bff797                auipc   a5,0xbff
    800013c4:   04078793                addi    a5,a5,64 # 80c00400
<partition1BssEnd>
    800013c8:   639c                    ld      a5,0(a5)
    800013ca:   fef43023                sd      a5,-32(s0)
    800013ce:   00011597                auipc   a1,0x11
    800013d2:   11258593                addi    a1,a1,274 # 800124e0
<pharosRodataStart+0xc0>
    800013d6:   4501                    li      a0,0




I assuming now that the linker found some 8 bytes free near the
partition1BssEnd, instead of placing the data in the rodata section. By the
way, the linker script for the text section is:

.text :
  {
    CREATE_OBJECT_SYMBOLS

    /* source code is in text section */
    pharosStartText = .;

    *(.textStart)
    *(.textStart.*)

    . = ALIGN (0x4);
    *(.text)
    *(.text.*)

    /* read-only data is placed in text */
    . = ALIGN (0x10);
    pharosRodataStart = . ;
    *(.rodata)
    *(.rodata.*)
    *(.note.gnu.build-id)
    pharosRodataEnd = .;

    /* variable to check the end of the text section */
    . = ALIGN (0x10);
    _endtext = .;
    pharosEndText = .;
  } > sdram




and near the partition1BssEnd is:


/* data of partition */
  .partition1 :
  {
    CREATE_OBJECT_SYMBOLS

    /* address of the partition 1 data section start in RAM */
    partition1DataStart = .;

    . = ALIGN(PARTITION_ALIGNMENT);
    . = ALIGN(8);

    partition1Start = .;

    *(.partition1)
    *(.partition1.*)

    /* address of the partition 1 data section end in RAM */
    . = ALIGN(8);
    partition1DataEnd = .;

  } > sdram AT > sdram = 0xff

  /* bss of partition 1*/
  .partition1Bss (NOLOAD) :
  {
    CREATE_OBJECT_SYMBOLS

    /* address of the partition 1 bss section start in RAM */
    . = ALIGN(8);
    partition1BssStart = .;

    *(.partition1Bss)
    *(.partition1Bss.*)

    /* address of the shared partition 1 section end in RAM */
    . = ALIGN(8);
    partition1BssEnd = .;

    /* place here the partition data that is NOT to be initialized at all */
    partition1UssStart = .;

    *(.partition1Uss)
    *(.partition1Uss.*)

    partition1UssEnd = .;

    partition1End = .;

  } > sdram



This is indeed one of those bugs that happens one in a million!

So in short, from my part, you can close this bug (I noticed that last time you
marked it as "fixed", maybe a mistake as you mark it correctly as "invalid" the
other times). I'll continue to investigate if this is a binutils issue or if
something has to be done on my side (linker script?)

Thank you and have a good weekend (rest of it).
Pharos team
>From gcc-bugs-return-633098-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 14:30:45 2019
Return-Path: <gcc-bugs-return-633098-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77712 invoked by alias); 10 Feb 2019 14:30:44 -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 77662 invoked by uid 48); 10 Feb 2019 14:30:41 -0000
From: "ibuclaw at gdcproject dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug d/88654] Hangs in libphobos testsuite
Date: Sun, 10 Feb 2019 14:30:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: d
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ibuclaw at gdcproject dot org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88654-4-QwmKRioIfT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88654-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88654-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: 2019-02/txt/msg01400.txt.bz2
Content-length: 276

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

--- Comment #7 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
(In reply to Jakub Jelinek from comment #0)
> 
> 2) if Curl fails to initialize, the test shouldn't get stuck
> 

This part has been done in r268746.
>From gcc-bugs-return-633099-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 14:43:53 2019
Return-Path: <gcc-bugs-return-633099-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121059 invoked by alias); 10 Feb 2019 14:43:52 -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 121007 invoked by uid 48); 10 Feb 2019 14:43:49 -0000
From: "ibuclaw at gdcproject dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug d/89254] std.net.curl and std.parallelism unittests hang
Date: Sun, 10 Feb 2019 14:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: d
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ibuclaw at gdcproject dot org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89254-4-DM7Ue7OOwB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89254-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89254-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: 2019-02/txt/msg01401.txt.bz2
Content-length: 321

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

--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
I don't think you should be seeing a thread deadlock in std.net.curl after
r268746.

I've not been able to reproduce the never timing out part.  The process has
always been killed after 600 seconds.
>From gcc-bugs-return-633100-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 14:49:24 2019
Return-Path: <gcc-bugs-return-633100-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68024 invoked by alias); 10 Feb 2019 14:49: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 67995 invoked by uid 48); 10 Feb 2019 14:49:20 -0000
From: "schwab@linux-m68k.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89269] RISC-V stack variable as global variable
Date: Sun, 10 Feb 2019 14:49: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: schwab@linux-m68k.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: resolution
Message-ID: <bug-89269-4-4vVOObXGq4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89269-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89269-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: 2019-02/txt/msg01402.txt.bz2
Content-length: 292

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

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |INVALID
>From gcc-bugs-return-633101-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 14:53:47 2019
Return-Path: <gcc-bugs-return-633101-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2015 invoked by alias); 10 Feb 2019 14:53: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 1950 invoked by uid 48); 10 Feb 2019 14:53:43 -0000
From: "ibuclaw at gdcproject dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug d/89255] libphobos.unittests multilib handling broken
Date: Sun, 10 Feb 2019 14:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: d
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ibuclaw at gdcproject dot org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89255-4-bFc6uPSl72@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89255-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89255-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: 2019-02/txt/msg01403.txt.bz2
Content-length: 683

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

--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
I'll use this PR as a reference to adding a compiler switch for building
modules in a "unittest runner" mode.  This to allow making it possible to build
all modules using dg-runtest without getting linker errors (as the modules
themselves exist in libphobos).

Currently, all modules are compiled with all unittests bundled into a
libgphobos_t.{so,a} test library before dejagnu kicks in.  The unittest runner
is just a thin wrapper around executing `./unittest` and then executing it
again in a loop, passing as an argument every module printed to stdout.
>From gcc-bugs-return-633102-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 14:54:11 2019
Return-Path: <gcc-bugs-return-633102-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2899 invoked by alias); 10 Feb 2019 14: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 2838 invoked by uid 48); 10 Feb 2019 14:54:07 -0000
From: "rtos.pharos at outlook dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89269] RISC-V stack variable as global variable
Date: Sun, 10 Feb 2019 14:54: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rtos.pharos at outlook dot com
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-89269-4-704icPzXa2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89269-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89269-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: 2019-02/txt/msg01404.txt.bz2
Content-length: 1155

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

--- Comment #7 from Pharos Team <rtos.pharos at outlook dot com> ---
Just an additional note to anyone who might have the same problem, I solved it
with:

 /******************************************************************/
  /*              Start of text and read-only data area             */
  /******************************************************************/
  .text :
  {
    CREATE_OBJECT_SYMBOLS

    /* source code is in text section */
    pharosStartText = .;

    KEEP(*(.textStart))
    KEEP(*(.textStart.*))

    . = ALIGN (0x4);
    *(.text)
    *(.text.*)

    /* read-only data is placed in text */
    . = ALIGN (0x10);
    pharosRodataStart = . ;
    *(.srodata)
    *(.srodata.*)
    *(.rodata)
    *(.rodata.*)
    *(.note.gnu.build-id)
    *(.note.gnu.build-id.*)
    pharosRodataEnd = .;

    /* variable to check the end of the text section */
    . = ALIGN (0x10);
    _endtext = .;
    pharosEndText = .;
  } > sdram


That is, placing *(.srodata) solved it (the constant variable was being placed
at .srodata instead of .rodata)

Regards,
Pharos team
>From gcc-bugs-return-633103-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 15:20:40 2019
Return-Path: <gcc-bugs-return-633103-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92437 invoked by alias); 10 Feb 2019 15:20: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 92406 invoked by uid 48); 10 Feb 2019 15:20:36 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89275] New: [9 Regression] Slowdown in mcperf on POEWR
Date: Sun, 10 Feb 2019 15:20: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-89275-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: 2019-02/txt/msg01405.txt.bz2
Content-length: 617

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

            Bug ID: 89275
           Summary: [9 Regression] Slowdown in mcperf on POEWR
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tkoenig at gcc dot gnu.org
  Target Milestone: ---

See

https://www.phoronix.com/scan.php?page=article&item=power9-gcc-clang&num=4

there appears to be a ~ 20% slowdown for gcc9 vs. gcc8 on the memcached mcperf
benchmark.
>From gcc-bugs-return-633104-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 15:21:25 2019
Return-Path: <gcc-bugs-return-633104-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93436 invoked by alias); 10 Feb 2019 15:21: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 93400 invoked by uid 48); 10 Feb 2019 15:21:22 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89275] [9 Regression] Slowdown in mcperf on POEWR
Date: Sun, 10 Feb 2019 15: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_gcctarget blocked target_milestone
Message-ID: <bug-89275-4-GVVOcTScTY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89275-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89275-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: 2019-02/txt/msg01406.txt.bz2
Content-length: 543

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |powerpc64le
             Blocks|                            |79074
   Target Milestone|---                         |9.0


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79074
[Bug 79074] -Waddress difference between C and C++ with (T*)0
>From gcc-bugs-return-633105-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 15:38:54 2019
Return-Path: <gcc-bugs-return-633105-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76835 invoked by alias); 10 Feb 2019 15:38: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 76748 invoked by uid 55); 10 Feb 2019 15:38:51 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/67679] [7/8/9 Regression] -Wunitialized reports on compiler-generated variables
Date: Sun, 10 Feb 2019 15:38: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: 5.2.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-67679-4-n3l8Srm22E@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67679-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67679-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: 2019-02/txt/msg01407.txt.bz2
Content-length: 495

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

--- Comment #11 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Sun Feb 10 15:38:19 2019
New Revision: 268747

URL: https://gcc.gnu.org/viewcvs?rev=268747&root=gcc&view=rev
Log:
2019-02-10  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR fortran/67679
    * gfortran.dg/warn_undefined_1.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/warn_undefined_1.f90
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633106-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 15:53:15 2019
Return-Path: <gcc-bugs-return-633106-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93246 invoked by alias); 10 Feb 2019 15:53: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 93196 invoked by uid 55); 10 Feb 2019 15:53:10 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/71237] [7 regression] scev tests failing after pass reorganization
Date: Sun, 10 Feb 2019 15: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: 7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-71237-4-ioxCZY4pIt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71237-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71237-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: 2019-02/txt/msg01408.txt.bz2
Content-length: 1192

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

--- Comment #12 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Sun Feb 10 15:52:38 2019
New Revision: 268748

URL: https://gcc.gnu.org/viewcvs?rev=268748&root=gcc&view=rev
Log:
2019-02-10  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/71237
        * expr.c (gfc_check_assign): Add argument is_init_expr.  If we are
        looking at an init expression, issue error if the target is not a
        TARGET and we are not looking at a procedure pointer.
        * gfortran.h (gfc_check_assign): Add optional argument
        is_init_expr.

2019-02-10  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/71237
        * gfortran.dg/pointer_init_2.f90: Adjust error messages.
        * gfortran.dg/pointer_init_6.f90: Likewise.
        * gfortran.dg/pointer_init_9.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/pointer_init_9.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/expr.c
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/pointer_init_2.f90
    trunk/gcc/testsuite/gfortran.dg/pointer_init_6.f90
>From gcc-bugs-return-633107-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 15:57:18 2019
Return-Path: <gcc-bugs-return-633107-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123278 invoked by alias); 10 Feb 2019 15: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 123230 invoked by uid 55); 10 Feb 2019 15:57:14 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/71723] [7/8/9 Regression] [F08] ICE on invalid pointer initialization
Date: Sun, 10 Feb 2019 15:57: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.0
X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-71723-4-kmJduO3vN3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71723-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71723-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: 2019-02/txt/msg01409.txt.bz2
Content-length: 958

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

--- Comment #13 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Sun Feb 10 15:56:41 2019
New Revision: 268749

URL: https://gcc.gnu.org/viewcvs?rev=268749&root=gcc&view=rev
Log:
2019-02-10  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/71723
        * expr.c (gfc_check_assign): Add argument is_init_expr.  If we are
        looking at an init expression, issue error if the target is not a
        TARGET and we are not looking at a procedure pointer.
        * gfortran.h (gfc_check_assign): Add optional argument
        is_init_expr.

2019-02-10  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/71723
        * gfortran.dg/pointer_init_2.f90: Adjust error messages.
        * gfortran.dg/pointer_init_6.f90: Likewise.
        * gfortran.dg/pointer_init_9.f90: New test.


Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633108-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 15:59:21 2019
Return-Path: <gcc-bugs-return-633108-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125522 invoked by alias); 10 Feb 2019 15:59: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 125483 invoked by uid 48); 10 Feb 2019 15:59:17 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/71723] [7/8 Regression] [F08] ICE on invalid pointer initialization
Date: Sun, 10 Feb 2019 15:59: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.0
X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-71723-4-MvKLdNoK0o@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71723-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71723-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: 2019-02/txt/msg01410.txt.bz2
Content-length: 539

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[7/8/9 Regression] [F08]    |[7/8 Regression] [F08] ICE
                   |ICE on invalid pointer      |on invalid pointer
                   |initialization              |initialization

--- Comment #14 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Fixed on trunk so far.
>From gcc-bugs-return-633109-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 16:48:47 2019
Return-Path: <gcc-bugs-return-633109-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80458 invoked by alias); 10 Feb 2019 16:48: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 74909 invoked by uid 48); 10 Feb 2019 16:48:37 -0000
From: "airplanemath at aol dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89079] "Invalid compiler error: Segmentation fault" in module with "equivalence" statement
Date: Sun, 10 Feb 2019 16:48: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.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: airplanemath at aol dot com
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89079-4-nSxDRy3VlN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89079-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89079-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: 2019-02/txt/msg01411.txt.bz2
Content-length: 181

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

--- Comment #7 from airplanemath <airplanemath at aol dot com> ---
Thank you.  I will follow the progress where you indicated.
>From gcc-bugs-return-633110-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 17:18:52 2019
Return-Path: <gcc-bugs-return-633110-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9686 invoked by alias); 10 Feb 2019 17:18:52 -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 9638 invoked by uid 48); 10 Feb 2019 17:18:47 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/51637] Add compile-time error if array is too large
Date: Sun, 10 Feb 2019 17:18:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.7.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WORKSFORME
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-51637-4-YCgssGeq5v@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-51637-4@http.gcc.gnu.org/bugzilla/>
References: <bug-51637-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: 2019-02/txt/msg01412.txt.bz2
Content-length: 473

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
No feedback, closing as WORKSFORME.
>From gcc-bugs-return-633111-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 17:28:40 2019
Return-Path: <gcc-bugs-return-633111-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21755 invoked by alias); 10 Feb 2019 17:28: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 21690 invoked by uid 48); 10 Feb 2019 17:28:36 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/56581] Segfault when reading source file which starts with a byte-order mark (-cpp works)
Date: Sun, 10 Feb 2019 17:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.8.0
X-Bugzilla-Keywords: ice-on-invalid-code, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: WAITING
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-56581-4-6ODXiKMpix@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-56581-4@http.gcc.gnu.org/bugzilla/>
References: <bug-56581-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: 2019-02/txt/msg01413.txt.bz2
Content-length: 290

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

--- Comment #11 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
AFAIU "Unicode byte-order marker" is not part of the Fortran character set and
I think the test starting with it is invalid. No feedback, closing as INVALID.
>From gcc-bugs-return-633112-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 17:30:36 2019
Return-Path: <gcc-bugs-return-633112-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23880 invoked by alias); 10 Feb 2019 17:30: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 23660 invoked by uid 48); 10 Feb 2019 17:30:14 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/56581] Segfault when reading source file which starts with a byte-order mark (-cpp works)
Date: Sun, 10 Feb 2019 17:30:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.8.0
X-Bugzilla-Keywords: ice-on-invalid-code, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
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-56581-4-6xuf2F2Owj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-56581-4@http.gcc.gnu.org/bugzilla/>
References: <bug-56581-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: 2019-02/txt/msg01414.txt.bz2
Content-length: 451

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

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

--- Comment #12 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Really closing.
>From gcc-bugs-return-633113-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 17:31:52 2019
Return-Path: <gcc-bugs-return-633113-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25081 invoked by alias); 10 Feb 2019 17:31:52 -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 25029 invoked by uid 48); 10 Feb 2019 17:31:48 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/61073] -fcheck='do' leads to twice the amount of GDB steps in a do loop
Date: Sun, 10 Feb 2019 17:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.8.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: minor
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-61073-4-WTlLCPCzCG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61073-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61073-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: 2019-02/txt/msg01415.txt.bz2
Content-length: 454

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

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

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
No feedback, closing.
>From gcc-bugs-return-633114-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 17:40:07 2019
Return-Path: <gcc-bugs-return-633114-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80574 invoked by alias); 10 Feb 2019 17:40: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 80511 invoked by uid 48); 10 Feb 2019 17:40:03 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87337] Internal compiler error on coarrays
Date: Sun, 10 Feb 2019 17: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: 7.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-87337-4-54WV513YHv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87337-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87337-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: 2019-02/txt/msg01416.txt.bz2
Content-length: 486

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

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

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
The ICE is gone since at least 7.4. Closing as FIXED.
>From gcc-bugs-return-633115-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 17:43:37 2019
Return-Path: <gcc-bugs-return-633115-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82895 invoked by alias); 10 Feb 2019 17:43: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 82871 invoked by uid 48); 10 Feb 2019 17:43:33 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/83218] gforttran command fails to compile if fortran file is present inside folder "%+@"
Date: Sun, 10 Feb 2019 17:43: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: 6.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WORKSFORME
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-83218-4-QjbbVnsZyN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83218-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83218-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: 2019-02/txt/msg01417.txt.bz2
Content-length: 489

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
No feedback for over a year, closing as WORKSFORME.
>From gcc-bugs-return-633116-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 17:55:59 2019
Return-Path: <gcc-bugs-return-633116-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93670 invoked by alias); 10 Feb 2019 17:55:57 -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 93442 invoked by uid 48); 10 Feb 2019 17:55:53 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/51591] Strange output from STOP statement in OpenMP region
Date: Sun, 10 Feb 2019 17:55:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.6.2
X-Bugzilla-Keywords: openmp
X-Bugzilla-Severity: minor
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: WAITING
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-51591-4-aP8R1ssQ7C@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-51591-4@http.gcc.gnu.org/bugzilla/>
References: <bug-51591-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: 2019-02/txt/msg01418.txt.bz2
Content-length: 216

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

--- Comment #6 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Nay progress after more than two years?

No progress after more than three more years?
>From gcc-bugs-return-633117-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 18:01:26 2019
Return-Path: <gcc-bugs-return-633117-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99461 invoked by alias); 10 Feb 2019 18:00: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 99230 invoked by uid 48); 10 Feb 2019 18:00:41 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/49565] character(kind=4) is emitted as DW_ATE_unsigned, not DW_ATE_unsigned_char
Date: Sun, 10 Feb 2019 18:00: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: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: WAITING
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-49565-4-KxDtYeN2Lk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-49565-4@http.gcc.gnu.org/bugzilla/>
References: <bug-49565-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: 2019-02/txt/msg01419.txt.bz2
Content-length: 289

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

--- Comment #7 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Any progress after two years and a half?

Any progress after two and a half more years? Shouldn't this PR be closed as
FIXED (AFAIU this is not a fortran bug).
>From gcc-bugs-return-633118-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 18:08:25 2019
Return-Path: <gcc-bugs-return-633118-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33925 invoked by alias); 10 Feb 2019 18:08: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 29026 invoked by uid 48); 10 Feb 2019 18:08:21 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/53694] [OOP] GENERIC type-bound procs should be available without part-ref syntax
Date: Sun, 10 Feb 2019 18:08:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.8.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
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-53694-4-lOPq45F4dU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-53694-4@http.gcc.gnu.org/bugzilla/>
References: <bug-53694-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: 2019-02/txt/msg01420.txt.bz2
Content-length: 855

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

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

--- Comment #10 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> More than three years ago Tobias Burnus wrote
>
> > Actually, I am no longer sure that this PR is valid - nor is Richard Maine
> > in c.l.f. Janus seems to have the same doubts, if I read comment 5 correctly.
> >
> > The standard seems to make a distinction between 'generic type-bound procedure'
> > and 'generic procedure name'.

More that three years later without feedback I am closing this PR as INVALID.
>From gcc-bugs-return-633119-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 18:30:37 2019
Return-Path: <gcc-bugs-return-633119-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121114 invoked by alias); 10 Feb 2019 18:30: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 121069 invoked by uid 55); 10 Feb 2019 18:30:33 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/71237] [7 regression] scev tests failing after pass reorganization
Date: Sun, 10 Feb 2019 18:30: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: 7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-71237-4-8V3dWDFpKa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71237-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71237-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: 2019-02/txt/msg01421.txt.bz2
Content-length: 1360

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

--- Comment #13 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Sun Feb 10 18:30:01 2019
New Revision: 268750

URL: https://gcc.gnu.org/viewcvs?rev=268750&root=gcc&view=rev
Log:
2019-02-10  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/71237
        Backport from trunk
        * expr.c (gfc_check_assign): Add argument is_init_expr.  If we are
        looking at an init expression, issue error if the target is not a
        TARGET and we are not looking at a procedure pointer.
        * gfortran.h (gfc_check_assign): Add optional argument
        is_init_expr.

2019-02-10  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/71237
        Backport from trunk
        * gfortran.dg/pointer_init_2.f90: Adjust error messages.
        * gfortran.dg/pointer_init_6.f90: Likewise.
        * gfortran.dg/pointer_init_9.f90: New test.


Added:
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pointer_init_9.f90
Modified:
    branches/gcc-8-branch/gcc/fortran/ChangeLog
    branches/gcc-8-branch/gcc/fortran/expr.c
    branches/gcc-8-branch/gcc/fortran/gfortran.h
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pointer_init_2.f90
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pointer_init_6.f90
>From gcc-bugs-return-633120-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 18:41:38 2019
Return-Path: <gcc-bugs-return-633120-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73945 invoked by alias); 10 Feb 2019 18:41: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 73899 invoked by uid 55); 10 Feb 2019 18:41:34 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/71723] [7/8 Regression] [F08] ICE on invalid pointer initialization
Date: Sun, 10 Feb 2019 18:41: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.0
X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-71723-4-T3zGBQ9wGg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71723-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71723-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: 2019-02/txt/msg01422.txt.bz2
Content-length: 1360

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

--- Comment #15 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Sun Feb 10 18:41:03 2019
New Revision: 268751

URL: https://gcc.gnu.org/viewcvs?rev=268751&root=gcc&view=rev
Log:
2019-02-10  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/71723
        Backport from trunk
        * expr.c (gfc_check_assign): Add argument is_init_expr.  If we are
        looking at an init expression, issue error if the target is not a
        TARGET and we are not looking at a procedure pointer.
        * gfortran.h (gfc_check_assign): Add optional argument
        is_init_expr.

2019-02-10  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/71723
        Backport from trunk
        * gfortran.dg/pointer_init_2.f90: Adjust error messages.
        * gfortran.dg/pointer_init_6.f90: Likewise.
        * gfortran.dg/pointer_init_9.f90: New test.


Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/pointer_init_9.f90
Modified:
    branches/gcc-7-branch/gcc/fortran/ChangeLog
    branches/gcc-7-branch/gcc/fortran/expr.c
    branches/gcc-7-branch/gcc/fortran/gfortran.h
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/pointer_init_2.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/pointer_init_6.f90
>From gcc-bugs-return-633121-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 18:42:37 2019
Return-Path: <gcc-bugs-return-633121-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75208 invoked by alias); 10 Feb 2019 18:42:36 -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 75166 invoked by uid 48); 10 Feb 2019 18:42:32 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/71723] [7/8 Regression] [F08] ICE on invalid pointer initialization
Date: Sun, 10 Feb 2019 18:42: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.0
X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-71723-4-pDuX3vmcL4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71723-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71723-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: 2019-02/txt/msg01423.txt.bz2
Content-length: 1749

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

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

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

--- Comment #16 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Also (commit with wrong PR number, unfortunately).

Fixed on all open branches, closing.

Author: tkoenig
Date: Sun Feb 10 18:30:01 2019
New Revision: 268750

URL: https://gcc.gnu.org/viewcvs?rev=268750&root=gcc&view=rev
Log:
2019-02-10  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/71237
        Backport from trunk
        * expr.c (gfc_check_assign): Add argument is_init_expr.  If we are
        looking at an init expression, issue error if the target is not a
        TARGET and we are not looking at a procedure pointer.
        * gfortran.h (gfc_check_assign): Add optional argument
        is_init_expr.

2019-02-10  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/71237
        Backport from trunk
        * gfortran.dg/pointer_init_2.f90: Adjust error messages.
        * gfortran.dg/pointer_init_6.f90: Likewise.
        * gfortran.dg/pointer_init_9.f90: New test.


Added:
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pointer_init_9.f90
Modified:
    branches/gcc-8-branch/gcc/fortran/ChangeLog
    branches/gcc-8-branch/gcc/fortran/expr.c
    branches/gcc-8-branch/gcc/fortran/gfortran.h
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pointer_init_2.f90
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pointer_init_6.f90
>From gcc-bugs-return-633122-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 18:44:51 2019
Return-Path: <gcc-bugs-return-633122-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76891 invoked by alias); 10 Feb 2019 18:44: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 76833 invoked by uid 48); 10 Feb 2019 18:44:47 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/49565] character(kind=4) is emitted as DW_ATE_unsigned, not DW_ATE_unsigned_char
Date: Sun, 10 Feb 2019 18:44: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: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-49565-4-YNBiqsM7wd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-49565-4@http.gcc.gnu.org/bugzilla/>
References: <bug-49565-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: 2019-02/txt/msg01424.txt.bz2
Content-length: 665

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

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

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

--- Comment #8 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #7)
> > Any progress after two years and a half?
> 
> Any progress after two and a half more years? Shouldn't this PR be closed as
> FIXED (AFAIU this is not a fortran bug).

I'd like some informed feedback on this before closing.
>From gcc-bugs-return-633123-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 18:50:02 2019
Return-Path: <gcc-bugs-return-633123-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81408 invoked by alias); 10 Feb 2019 18:50: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 81294 invoked by uid 48); 10 Feb 2019 18:49:57 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/49565] character(kind=4) is emitted as DW_ATE_unsigned, not DW_ATE_unsigned_char
Date: Sun, 10 Feb 2019 18:50: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: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: WAITING
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-49565-4-aZSMVKsUug@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-49565-4@http.gcc.gnu.org/bugzilla/>
References: <bug-49565-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: 2019-02/txt/msg01425.txt.bz2
Content-length: 253

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

--- Comment #9 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> I'd like some informed feedback on this before closing.

Me too, but what be done when I don't get any feedback over years?
>From gcc-bugs-return-633124-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 18:50:21 2019
Return-Path: <gcc-bugs-return-633124-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82298 invoked by alias); 10 Feb 2019 18:50: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 82225 invoked by uid 48); 10 Feb 2019 18:50:17 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/51591] Strange output from STOP statement in OpenMP region
Date: Sun, 10 Feb 2019 18:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.6.2
X-Bugzilla-Keywords: openmp
X-Bugzilla-Severity: minor
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-51591-4-7EyxuTMfIw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-51591-4@http.gcc.gnu.org/bugzilla/>
References: <bug-51591-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: 2019-02/txt/msg01426.txt.bz2
Content-length: 566

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

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

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

--- Comment #7 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Jakub, do you know what the OMP standard has to say on this?
Is "STOP 1" in an OMP region defined behavior?
>From gcc-bugs-return-633125-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 18:56:03 2019
Return-Path: <gcc-bugs-return-633125-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86436 invoked by alias); 10 Feb 2019 18:56: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 86352 invoked by uid 48); 10 Feb 2019 18:55:59 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/49565] character(kind=4) is emitted as DW_ATE_unsigned, not DW_ATE_unsigned_char
Date: Sun, 10 Feb 2019 18:56: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: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-49565-4-eODJXMi9un@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-49565-4@http.gcc.gnu.org/bugzilla/>
References: <bug-49565-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: 2019-02/txt/msg01427.txt.bz2
Content-length: 513

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

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

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

--- Comment #10 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Jason, can you maybe shed some light on this one?  Is gfortran doing
something wrong here, and if so, what could be done about it?
>From gcc-bugs-return-633126-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 19:26:02 2019
Return-Path: <gcc-bugs-return-633126-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64923 invoked by alias); 10 Feb 2019 19:26: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 64877 invoked by uid 48); 10 Feb 2019 19:25:58 -0000
From: "tydeman at tybor dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89276] New: DEC32_TRUE_MIN missing from <float.h>
Date: Sun, 10 Feb 2019 19:26: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.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tydeman at tybor 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-89276-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: 2019-02/txt/msg01428.txt.bz2
Content-length: 556

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

            Bug ID: 89276
           Summary: DEC32_TRUE_MIN missing from <float.h>
           Product: gcc
           Version: 8.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tydeman at tybor dot com
  Target Milestone: ---

Around 2012/09/23 with WG14 N1632, DEC32_SUBNORMAL_MIN became DEC32_TRUE_MIN in
<float.h>.  The same is true for the 64 and 128 bit versions.
>From gcc-bugs-return-633127-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 19:33:03 2019
Return-Path: <gcc-bugs-return-633127-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81413 invoked by alias); 10 Feb 2019 19:33: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 81319 invoked by uid 48); 10 Feb 2019 19:32:59 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89261] ix86_data_alignment has wrong argument type
Date: Sun, 10 Feb 2019 19:33: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak 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: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-89261-4-Mr9tUUhhLr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89261-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89261-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: 2019-02/txt/msg01429.txt.bz2
Content-length: 2282

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

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-10
     Ever confirmed|0                           |1

--- Comment #3 from Uroš Bizjak <ubizjak at gmail dot com> ---
Following patch:

--cut here--
Index: config/i386/i386-protos.h
===================================================================
--- config/i386/i386-protos.h   (revision 268670)
+++ config/i386/i386-protos.h   (working copy)
@@ -207,7 +207,7 @@
 #endif /* RTX_CODE  */

 #ifdef TREE_CODE
-extern int ix86_data_alignment (tree, int, bool);
+extern int ix86_data_alignment (tree, unsigned int, bool);
 extern unsigned int ix86_local_alignment (tree, machine_mode,
                                          unsigned int);
 extern unsigned int ix86_minimum_alignment (tree, machine_mode,
Index: config/i386/i386.c
===================================================================
--- config/i386/i386.c  (revision 268670)
+++ config/i386/i386.c  (working copy)
@@ -29620,7 +29616,7 @@
    instead of that alignment to align the object.  */

 int
-ix86_data_alignment (tree type, int align, bool opt)
+ix86_data_alignment (tree type, unsigned int align, bool opt)
 {
   /* GCC 4.8 and earlier used to incorrectly assume this alignment even
      for symbols from other compilation units or symbols that don't need
--cut here--

fixes the testcase:

        .file   "align.c"
        .text
        .globl  foo
        .data
        .align 268435456
        .type   foo, @object
        .size   foo, 16
foo:
        .long   0
        .long   1072693248
        .long   0
        .long   1073741824
        .ident  "GCC: (GNU) 9.0.1 20190208 (experimental) [trunk revision
268670]"
        .section        .note.GNU-stack,"",@progbits
>From gcc-bugs-return-633128-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 19:55:41 2019
Return-Path: <gcc-bugs-return-633128-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64979 invoked by alias); 10 Feb 2019 19:55: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 64920 invoked by uid 48); 10 Feb 2019 19:55:37 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89221] --enable-frame-pointer does not work as intended
Date: Sun, 10 Feb 2019 19:55: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak at gmail dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ubizjak at gmail dot com
X-Bugzilla-Target-Milestone: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-89221-4-NS4fqBG1Nh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89221-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89221-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: 2019-02/txt/msg01430.txt.bz2
Content-length: 439

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

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|9.0                         |10.0

--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> ---
Patch at [1].

[1] https://gcc.gnu.org/ml/gcc-patches/2019-02/msg00686.html
>From gcc-bugs-return-633129-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 20:01:51 2019
Return-Path: <gcc-bugs-return-633129-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66854 invoked by alias); 10 Feb 2019 20: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 64106 invoked by uid 55); 10 Feb 2019 20:01:46 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89077] ICE using * as len specifier for character parameter
Date: Sun, 10 Feb 2019 20:01: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf 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-89077-4-F0hejGf5Wu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89077-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89077-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: 2019-02/txt/msg01431.txt.bz2
Content-length: 743

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

--- Comment #14 from anlauf at gcc dot gnu.org ---
Author: anlauf
Date: Sun Feb 10 20:01:15 2019
New Revision: 268752

URL: https://gcc.gnu.org/viewcvs?rev=268752&root=gcc&view=rev
Log:
2019-02-10  Harald Anlauf  <anlauf@gmx.de>

        Backport from trunk
        PR fortran/89077
        * decl.c (add_init_expr_to_sym): Copy length of string initializer
        to declared symbol.

        PR fortran/89077
        * gfortran.dg/pr89077.f90: New test.


Added:
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr89077.f90
Modified:
    branches/gcc-8-branch/gcc/fortran/ChangeLog
    branches/gcc-8-branch/gcc/fortran/decl.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633131-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 20:06:57 2019
Return-Path: <gcc-bugs-return-633131-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87006 invoked by alias); 10 Feb 2019 20:06:57 -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 86952 invoked by uid 48); 10 Feb 2019 20:06:53 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug d/88127] Many gdc.dg testsuite failures due to undefined reference to qsort_r
Date: Sun, 10 Feb 2019 20:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: d
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88127-4-vC5q9GslAY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88127-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88127-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: 2019-02/txt/msg01433.txt.bz2
Content-length: 198

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

--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> ---
Patch at [1].

[1] https://gcc.gnu.org/ml/gcc-patches/2019-02/msg00120.html
>From gcc-bugs-return-633130-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 20:06:09 2019
Return-Path: <gcc-bugs-return-633130-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85900 invoked by alias); 10 Feb 2019 20:06: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 85832 invoked by uid 55); 10 Feb 2019 20:06:05 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89077] ICE using * as len specifier for character parameter
Date: Sun, 10 Feb 2019 20:06: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf 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-89077-4-sHUZv6Yp7p@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89077-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89077-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: 2019-02/txt/msg01432.txt.bz2
Content-length: 743

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

--- Comment #15 from anlauf at gcc dot gnu.org ---
Author: anlauf
Date: Sun Feb 10 20:05:34 2019
New Revision: 268753

URL: https://gcc.gnu.org/viewcvs?rev=268753&root=gcc&view=rev
Log:
2019-02-10  Harald Anlauf  <anlauf@gmx.de>

        Backport from trunk
        PR fortran/89077
        * decl.c (add_init_expr_to_sym): Copy length of string initializer
        to declared symbol.

        PR fortran/89077
        * gfortran.dg/pr89077.f90: New test.


Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/pr89077.f90
Modified:
    branches/gcc-7-branch/gcc/fortran/ChangeLog
    branches/gcc-7-branch/gcc/fortran/decl.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633132-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 20:27:33 2019
Return-Path: <gcc-bugs-return-633132-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74167 invoked by alias); 10 Feb 2019 20:27: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 74118 invoked by uid 48); 10 Feb 2019 20:27:29 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89266] ICE with TRANSFER of len=0 character array constructor
Date: Sun, 10 Feb 2019 20:27: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: anlauf at gmx dot de
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-89266-4-0uZXe1AJkQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89266-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89266-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: 2019-02/txt/msg01434.txt.bz2
Content-length: 806

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

Harald Anlauf <anlauf at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anlauf at gmx dot de

--- Comment #3 from Harald Anlauf <anlauf at gmx dot de> ---
(In reply to Thomas Koenig from comment #0)
> $ cat tst3.f90 
> program test
>   implicit none
>   integer :: i
>   character(*), parameter :: y = ''
>   character(*), parameter     :: z = transfer ([''], y)
> end

Funny, I do not get an ICE for the first test case here with
trunk rev.268753 on x86_64-pc-linux-gnu, even after adding a

  print *, z, len (z)

which gives

% ./a.out | cat -ve
            0$

and which seems correct.
>From gcc-bugs-return-633133-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 20:35:47 2019
Return-Path: <gcc-bugs-return-633133-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123968 invoked by alias); 10 Feb 2019 20:35: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 123937 invoked by uid 48); 10 Feb 2019 20:35:43 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89266] ICE with TRANSFER of len=0 character array constructor
Date: Sun, 10 Feb 2019 20:35: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: anlauf at gmx dot de
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-89266-4-LhrXWP7p5N@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89266-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89266-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: 2019-02/txt/msg01435.txt.bz2
Content-length: 784

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

--- Comment #4 from Harald Anlauf <anlauf at gmx dot de> ---
(In reply to Thomas Koenig from comment #1)
> Goes back a long time, at least to gcc 6.
> 
> I also think that this is valid code, but if somebody can find
> language in the standard that says otherwise, please correct.

The second test case is valid, but processor dependent according
to e.g. Fortran 2003:

13.7.121 TRANSFER (SOURCE, MOLD [, SIZE])

Result Value. [...]
If the physical representation of the result is longer than that of SOURCE,
the physical representation of the leading part is that of SOURCE and the
remainder is processor dependent.

Examples:

PGI, flang 1.5 give:
% ./a.out | cat -ve
 '^@     '            6$

sunf95, g95:
 '^@^@^@^@^@^@' 6$
>From gcc-bugs-return-633134-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 20:41:05 2019
Return-Path: <gcc-bugs-return-633134-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6792 invoked by alias); 10 Feb 2019 20:41: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 6754 invoked by uid 48); 10 Feb 2019 20:41:02 -0000
From: "doko at debian dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89277] New: [9 Regression] libgo memory hogs in libgo testsuite (at least on s390x-linux-gnu)
Date: Sun, 10 Feb 2019 20:41:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
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: doko at debian dot 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: ---
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-89277-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: 2019-02/txt/msg01436.txt.bz2
Content-length: 695

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

            Bug ID: 89277
           Summary: [9 Regression] libgo memory hogs in libgo testsuite
                    (at least on s390x-linux-gnu)
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
          Assignee: ian at airs dot com
          Reporter: doko at debian dot org
                CC: cmang at google dot com
  Target Milestone: ---

This is seen on the Debian buildds, using 4gb of RAM (and 100GB swap) to run
the libgo testsuite and timing out.  Apparently this works with GCC 8.

Sure, some more details are needed ...
>From gcc-bugs-return-633135-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 21:03:46 2019
Return-Path: <gcc-bugs-return-633135-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102633 invoked by alias); 10 Feb 2019 21:03:46 -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 102557 invoked by uid 48); 10 Feb 2019 21:03:41 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89266] ICE with TRANSFER of len=0 character array constructor
Date: Sun, 10 Feb 2019 21:03: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: anlauf at gmx dot de
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-89266-4-LaGramOZJI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89266-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89266-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: 2019-02/txt/msg01437.txt.bz2
Content-length: 456

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

--- Comment #5 from Harald Anlauf <anlauf at gmx dot de> ---
Alternative versions to test case #2:

program test
  implicit none
  character(1), save      :: z = transfer ([                ''], '*') ! ICE
! character(1), save      :: z = transfer ([character(0) :: ''], '*') ! ICE
! character(1), save      :: z = transfer ([character(1) :: ''], '*') ! works
  print *,"'",z,"'",len(z)
end
>From gcc-bugs-return-633136-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 21:06:50 2019
Return-Path: <gcc-bugs-return-633136-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105590 invoked by alias); 10 Feb 2019 21:06: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 105495 invoked by uid 48); 10 Feb 2019 21:06:46 -0000
From: "w6ws at earthlink dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/71723] [7/8 Regression] [F08] ICE on invalid pointer initialization
Date: Sun, 10 Feb 2019 21:06: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.0
X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: w6ws at earthlink dot net
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-71723-4-wLPuqZfBFR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71723-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71723-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: 2019-02/txt/msg01438.txt.bz2
Content-length: 140

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

--- Comment #17 from Walter Spector <w6ws at earthlink dot net> ---
Thank you Thomas!
>From gcc-bugs-return-633137-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 21:10:46 2019
Return-Path: <gcc-bugs-return-633137-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108552 invoked by alias); 10 Feb 2019 21:10: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 108497 invoked by uid 48); 10 Feb 2019 21:10:41 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89266] ICE with TRANSFER of len=0 character array constructor
Date: Sun, 10 Feb 2019 21:10: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: anlauf at gmx dot de
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-89266-4-qRKM5sXNTU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89266-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89266-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: 2019-02/txt/msg01439.txt.bz2
Content-length: 410

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

--- Comment #6 from Harald Anlauf <anlauf at gmx dot de> ---
The problem might be here:

check.c: gfc_calculate_transfer_sizes

5482      /* Calculate the size of the source.  */
5483      *source_size = gfc_target_expr_size (source);
5484      if (*source_size == 0)
5485        return false;

Shouldn't the case tested here be handled differently?
>From gcc-bugs-return-633138-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 21:42:40 2019
Return-Path: <gcc-bugs-return-633138-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23516 invoked by alias); 10 Feb 2019 21:42: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 23430 invoked by uid 48); 10 Feb 2019 21:42:36 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89266] ICE with TRANSFER of len=0 character array constructor
Date: Sun, 10 Feb 2019 21:42: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: anlauf at gmx dot de
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-89266-4-M2tsZNni12@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89266-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89266-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: 2019-02/txt/msg01440.txt.bz2
Content-length: 1087

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

--- Comment #7 from Harald Anlauf <anlauf at gmx dot de> ---
(In reply to Harald Anlauf from comment #6)
> The problem might be here:
> 
> check.c: gfc_calculate_transfer_sizes
> 
> 5482      /* Calculate the size of the source.  */
> 5483      *source_size = gfc_target_expr_size (source);
> 5484      if (*source_size == 0)
> 5485        return false;
> 
> Shouldn't the case tested here be handled differently?

Commenting out the lines 5484-5485 makes the testcase compile,
but regtesting fails for transfer_check_3.f90:

/work/gnu/svn/build-trunk/gcc/f951 transfer_check_3.f90 -Wsurprising
transfer_check_3.f90:32:22:

   32 |         i = transfer (record_type(1:j), i) ! gave a warning
      |                      1
Warning: Intrinsic TRANSFER at (1) has partly undefined result: source size 0 <
result size 4 [-Wsurprising]
 cgbrfsx test

It appears that we shall we need to be able to distinguish size 0 source
from unknown size.  Thus we could change change gfc_target_expr_size
and adjust its other users.
>From gcc-bugs-return-633139-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 21:56:16 2019
Return-Path: <gcc-bugs-return-633139-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35087 invoked by alias); 10 Feb 2019 21:56: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 35027 invoked by uid 48); 10 Feb 2019 21:56:12 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/71066] [7/8/9 Regression] ICE in set_loop_bounds, at fortran/trans-array.c:4680
Date: Sun, 10 Feb 2019 21:56: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: 6.1.1
X-Bugzilla-Keywords: ice-on-invalid-code, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-71066-4-FStUltteDl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71066-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71066-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: 2019-02/txt/msg01441.txt.bz2
Content-length: 158

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

--- Comment #13 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
z1.f90 has been fixed with r267356.
>From gcc-bugs-return-633140-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 23:21:01 2019
Return-Path: <gcc-bugs-return-633140-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24028 invoked by alias); 10 Feb 2019 23:21: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 23972 invoked by uid 48); 10 Feb 2019 23:20:57 -0000
From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/81081] [ASAN] ASAN is not properly calling libbacktrace to symbolize program written on assembler
Date: Sun, 10 Feb 2019 23:21: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: 7.0.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vries 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-81081-4-k0uNihSu9h@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81081-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81081-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: 2019-02/txt/msg01442.txt.bz2
Content-length: 3894

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

Tom de Vries <vries at gcc dot gnu.org> changed:

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

--- Comment #10 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #4)
> (In reply to Denis Khalikov from comment #3)
> > This fix
> > 111   AddressInfo *info = cdata->get_new_frame(addr);
> > 112   if (filename)
> > 113     info->file = internal_strdup(filename);
> > 114   info->line = lineno;
> > 115   if (function) {
> > 116     info->function = DemangleAlloc(function, /*always_alloc*/ true);
> > 117     cdata->frames_symbolized++;
> > 118   }
> > 119   return 0;
> > 120 }
> 
> I think you should just return 0; early if function == NULL and
> cdata->frames_symbolized > 0, trying to augment that case with
> backtrace_syminfo doesn't look right.

I don't think it can happen that frames_symbolized > 0 and backtrace_syminfo
gets called, because of the 'if (data.frames_symbolized > 0) return true' here:
...
bool LibbacktraceSymbolizer::SymbolizePC(uptr addr, SymbolizedStack *stack) {
  SymbolizeCodeCallbackArg data;
  data.first = stack;
  data.last = stack;
  data.frames_symbolized = 0;
  backtrace_pcinfo((backtrace_state *)state_, addr,
SymbolizeCodePCInfoCallback,
                   ErrorCallback, &data);
  if (data.frames_symbolized > 0)
    return true;
  backtrace_syminfo((backtrace_state *)state_, addr, SymbolizeCodeCallback,
                    ErrorCallback, &data);
  return (data.frames_symbolized > 0);
}
...

(In reply to Jakub Jelinek from comment #6)
> The thing is that for backtrace_pcinfo the callback can be called multiple
> times.
> And IMNSHO the hack you want to do (fill in file/line in the
> backtrace_pcinfo call and function during backtrace_syminfo) is something
> you want to do only if backtrace_pcinfo calls the callback just once.

So how about:
...
diff --git a/libsanitizer/sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
b/libsanitizer/sanitizer_common
/sanitizer_symbolizer_libbacktrace.cc
index eebc30b124d..79db5d49fba 100644
--- a/libsanitizer/sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
+++ b/libsanitizer/sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
@@ -109,14 +109,13 @@ static int SymbolizeCodePCInfoCallback(void *vdata,
uintptr_t addr,
                                        const char *filename, int lineno,
                                        const char *function) {
   SymbolizeCodeCallbackArg *cdata = (SymbolizeCodeCallbackArg *)vdata;
-  if (function) {
-    AddressInfo *info = cdata->get_new_frame(addr);
+  AddressInfo *info = cdata->get_new_frame(addr);
+  if (filename)
+    info->file = internal_strdup(filename);
+  info->line = lineno;
+  if (function)
     info->function = DemangleAlloc(function, /*always_alloc*/ true);
-    if (filename)
-      info->file = internal_strdup(filename);
-    info->line = lineno;
-    cdata->frames_symbolized++;
-  }
+  cdata->frames_symbolized++;
   return 0;
 }

@@ -161,7 +160,11 @@ bool LibbacktraceSymbolizer::SymbolizePC(uptr addr,
SymbolizedStack *stack) {
   data.frames_symbolized = 0;
   backtrace_pcinfo((backtrace_state *)state_, addr,
SymbolizeCodePCInfoCallback,
                    ErrorCallback, &data);
-  if (data.frames_symbolized > 0)
+  if (data.frames_symbolized == 1 && data.last->info.function == 0)
+    /* Augment the frame by trying to fill in the missing function with
+       backtrace_syminfo.  */
+    data.frames_symbolized = 0;
+  else if (data.frames_symbolized > 0)
     return true;
   backtrace_syminfo((backtrace_state *)state_, addr, SymbolizeCodeCallback,
                     ErrorCallback, &data);
...
?
>From gcc-bugs-return-633142-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 23:38:49 2019
Return-Path: <gcc-bugs-return-633142-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62780 invoked by alias); 10 Feb 2019 23:38: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 62752 invoked by uid 48); 10 Feb 2019 23:38:45 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/88780] [8/9 Regression] bogus -Wstringop-truncation for copying as many bytes from a string as its length
Date: Sun, 10 Feb 2019 23:38: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: 9.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-88780-4-UyuD0vo5TR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88780-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88780-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: 2019-02/txt/msg01444.txt.bz2
Content-length: 379

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |msebor at gcc dot gnu.org
>From gcc-bugs-return-633141-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 23:38:20 2019
Return-Path: <gcc-bugs-return-633141-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62044 invoked by alias); 10 Feb 2019 23:38: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 62017 invoked by uid 48); 10 Feb 2019 23:38:15 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/81141] missing warning using sizeof a/sizeof *a with a zero-length array
Date: Sun, 10 Feb 2019 23:38: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.0
X-Bugzilla-Keywords: diagnostic
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-81141-4-rT1WsL3008@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81141-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81141-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: 2019-02/txt/msg01443.txt.bz2
Content-length: 462

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

--- Comment #5 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Martin Sebor from comment #4)
> (In reply to comment #3)
> 
> What I meant to say is: See also bug 81141 for a related request (limited to
> strncpy).  The patch submitted there issues a warning for a small subset of
> the problem (strncpy) but doesn't specifically deal with zero-length arrays.

wait that's this bug
>From gcc-bugs-return-633143-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 23:41:24 2019
Return-Path: <gcc-bugs-return-633143-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64806 invoked by alias); 10 Feb 2019 23:41: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 64754 invoked by uid 48); 10 Feb 2019 23:41:21 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/43361] missing uninitialized warning without optimization (-O0) (PHI in always_executed basic block)
Date: Sun, 10 Feb 2019 23: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: 4.5.0
X-Bugzilla-Keywords: diagnostic
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: cc
Message-ID: <bug-43361-4-wiAhb3gycd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-43361-4@http.gcc.gnu.org/bugzilla/>
References: <bug-43361-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: 2019-02/txt/msg01445.txt.bz2
Content-length: 790

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

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |paolo.carlini at oracle dot com,
                   |                            |rguenth at gcc dot gnu.org

--- Comment #11 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Manuel López-Ibáñez from comment #9)
> Jakub sketched a possible way to warn about this at -O0:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69723#c7
> 
> Thus, let's reopen it.

cc-ing him (and a few others)
>From gcc-bugs-return-633144-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 10 23:43:29 2019
Return-Path: <gcc-bugs-return-633144-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66531 invoked by alias); 10 Feb 2019 23:43: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 66486 invoked by uid 48); 10 Feb 2019 23:43:25 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/37759] powerpc option -mabi=no-spe still generates SPE instructions
Date: Sun, 10 Feb 2019 23:43: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: 4.3.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager 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-37759-4-8qp9URcyhx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-37759-4@http.gcc.gnu.org/bugzilla/>
References: <bug-37759-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: 2019-02/txt/msg01446.txt.bz2
Content-length: 471

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

--- Comment #8 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Arseny Solokha from comment #7)
> AFAICT, it's still the case for powerpcspe target even on trunk (as of
> r259982). While gcc apparently doesn't generate SPE instructions for both
> attached testcases anymore, I've just easily reproduced the issue w/ our
> internal codebase.

Looks like the powerpcspe target is being removed now...
>From gcc-bugs-return-633145-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 00:46:24 2019
Return-Path: <gcc-bugs-return-633145-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116648 invoked by alias); 11 Feb 2019 00:46: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 116621 invoked by uid 48); 11 Feb 2019 00:46:20 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/67093] incorrect -Wnonnull text for execl family of functions
Date: Mon, 11 Feb 2019 00:46: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: 5.1.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: minor
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WONTFIX
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 resolution
Message-ID: <bug-67093-4-4Lnr8PRsq4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67093-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67093-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: 2019-02/txt/msg01447.txt.bz2
Content-length: 680

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #7 from Martin Sebor <msebor at gcc dot gnu.org> ---
Given that -Wnonnull uses the same text for all nonnull functions I don't think
it makes sense to insist on changing its text in a subtle way just for the sake
of pedantry.  Resolving as won't fix.
>From gcc-bugs-return-633146-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 00:50:27 2019
Return-Path: <gcc-bugs-return-633146-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120028 invoked by alias); 11 Feb 2019 00:50:26 -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 119987 invoked by uid 48); 11 Feb 2019 00:50:22 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug driver/31351] gcc -v --help has poor documentation for some shared Ada/C options
Date: Mon, 11 Feb 2019 00:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: driver
X-Bugzilla-Version: 4.2.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-31351-4-iElsP0qYKi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-31351-4@http.gcc.gnu.org/bugzilla/>
References: <bug-31351-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: 2019-02/txt/msg01448.txt.bz2
Content-length: 504

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

--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #2)
> (In reply to Manuel López-Ibáñez from comment #1)
> > This is a bug yes, but it won't get fixed unless someone that cares about it
> > steps up to fix it.
> 
> I'd do this but I don't know the Ada FE well enough since I never build it

Update: I've now built the Ada FE once, but I still don't know it well enough
>From gcc-bugs-return-633147-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 00:54:10 2019
Return-Path: <gcc-bugs-return-633147-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7853 invoked by alias); 11 Feb 2019 00: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 6558 invoked by uid 48); 11 Feb 2019 00:54:06 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/80936] bcmp, bcopy, and bzero not declared nonnull
Date: Mon, 11 Feb 2019 00: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: 7.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager 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: bug_status resolution
Message-ID: <bug-80936-4-NQjluYJysx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80936-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80936-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: 2019-02/txt/msg01449.txt.bz2
Content-length: 840

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

Eric Gallager <egallager at gcc dot gnu.org> changed:

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

--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #2)
> Comment in builtins.def says:
> 
> /* bcmp, bcopy and bzero have traditionally accepted NULL pointers
>    when the length parameter is zero, so don't apply attribute "nonnull".  */
> 
> svn blame says Kaveh Ghazi wrote that comment; cc-ing him

I'm thinking that this comment means that the current behavior is intentional,
in which case there's no bug here.
>From gcc-bugs-return-633148-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 00:55:11 2019
Return-Path: <gcc-bugs-return-633148-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53113 invoked by alias); 11 Feb 2019 00:55: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 49711 invoked by uid 48); 11 Feb 2019 00:55:07 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/49194] Trivially stupid inlining decisions
Date: Mon, 11 Feb 2019 00:55:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: 4.5.1
X-Bugzilla-Keywords:
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: assigned_to
Message-ID: <bug-49194-4-KdfZCUsVy9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-49194-4@http.gcc.gnu.org/bugzilla/>
References: <bug-49194-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: 2019-02/txt/msg01450.txt.bz2
Content-length: 1111

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

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|hubicka at gcc dot gnu.org         |unassigned at gcc dot gnu.org

--- Comment #10 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #9)
> (In reply to Jan Hubicka from comment #8)
> > GCC 4.7 has now shrink wrapping that should reduce effect of inlining large
> > cold functions called once.  Realistic testcases where we still kill code
> > quality would be welcome.
> > 
> > I tested patch to disable inlining once for cold calls, but it does not help
> > in general. What happens is that we stop inlining
> > constructors/destructors/initialization loops that eventually kills code
> > quality of some benchmarks since known values are no longer propagated.  I
> > will do more tunning of this for 4.8.
> > 
> > Honza
> 
> So are you still working on this then?

Guess not; unassigning
>From gcc-bugs-return-633149-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 01:04:02 2019
Return-Path: <gcc-bugs-return-633149-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92720 invoked by alias); 11 Feb 2019 01:04: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 92631 invoked by uid 48); 11 Feb 2019 01:03:59 -0000
From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/81081] [ASAN] ASAN is not properly calling libbacktrace to symbolize program written on assembler
Date: Mon, 11 Feb 2019 01:04: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: 7.0.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vries 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: attachments.created
Message-ID: <bug-81081-4-SjYdpjwVho@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81081-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81081-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: 2019-02/txt/msg01451.txt.bz2
Content-length: 329

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

--- Comment #11 from Tom de Vries <vries at gcc dot gnu.org> ---
Created attachment 45652
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45652&action=edit
Tentative patch

Patch proposed in comment #10, added ChangeLog and rationale, bootstrapped and
reg-tested.
>From gcc-bugs-return-633150-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 01:07:23 2019
Return-Path: <gcc-bugs-return-633150-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97662 invoked by alias); 11 Feb 2019 01:07: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 97558 invoked by uid 48); 11 Feb 2019 01:07:17 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/71501] missing warning on printf %s with a non-nul terminated string
Date: Mon, 11 Feb 2019 01:07: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: 4.8.5
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: msebor 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: cf_known_to_fail
Message-ID: <bug-71501-4-sCR5p2N3j7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71501-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71501-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: 2019-02/txt/msg01452.txt.bz2
Content-length: 1539

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.8.5, 4.9.4, 5.4.0, 6.4.0,
                   |                            |7.3.0, 8.2.0, 9.0

--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
GCC 8 and 9 detect the unterminated strncpy call but not yet passing the result
to printf.  I'm hoping to do it in GCC 10.

$ gcc -O2 -S -Wall pr71501.c 
pr71501.c: In function ‘main’:
pr71501.c:7:9: warning: unused variable ‘n’ [-Wunused-variable]
   char *n = "12345";
         ^
pr71501.c:9:3: warning: ‘strncpy’ output truncated before terminating nul
copying 5 bytes from a string of the same length [-Wstringop-truncation]
   strncpy(c, "12345", 5);
   ^~~~~~~~~~~~~~~~~~~~~~


GCC 9 detects some very simple cases of passing unterminated arrays to printf:

$ cat z.c && gcc -O2 -S -Wall z.c 
const char a[] = { '1', '2', '3' };

void f (void)
{
  __builtin_printf ("%s", a);
}
z.c: In function ‘f’:
z.c:5:22: warning: ‘%s’ directive argument is not a nul-terminated string
[-Wformat-overflow=]
    5 |   __builtin_printf ("%s", a);
      |                      ^~   ~
z.c:1:12: note: referenced argument declared here
    1 | const char a[] = { '1', '2', '3' };
      |            ^
>From gcc-bugs-return-633151-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 01:13:59 2019
Return-Path: <gcc-bugs-return-633151-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104609 invoked by alias); 11 Feb 2019 01:13: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 104555 invoked by uid 48); 11 Feb 2019 01:13:55 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/78678] possibly missing -Warray-bounds warning
Date: Mon, 11 Feb 2019 01:13: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: 7.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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: component see_also
Message-ID: <bug-78678-4-lqQyrAPBzu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78678-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78678-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: 2019-02/txt/msg01453.txt.bz2
Content-length: 575

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|other                       |middle-end
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=86651

--- Comment #9 from Martin Sebor <msebor at gcc dot gnu.org> ---
The same folding "bug" is also the root cause of bug 86651.
>From gcc-bugs-return-633152-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 01:20:34 2019
Return-Path: <gcc-bugs-return-633152-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108704 invoked by alias); 11 Feb 2019 01:20: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 108661 invoked by uid 48); 11 Feb 2019 01:20:30 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/86833] missing warning for out-of-bounds array access without optimization
Date: Mon, 11 Feb 2019 01: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: unknown
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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 short_desc everconfirmed
Message-ID: <bug-86833-4-cXIBjzDVJu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86833-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86833-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: 2019-02/txt/msg01454.txt.bz2
Content-length: 938

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-11
                 CC|                            |msebor at gcc dot gnu.org
            Summary|missing warning for         |missing warning for
                   |out-of-bounds array access  |out-of-bounds array access
                   |                            |without optimization
     Ever confirmed|0                           |1

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
It should be possible to detect the basic cases like the one in the test case
involving constant indices even without optimization.  Anything more
complicated needs optimization.
>From gcc-bugs-return-633153-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 01:22:15 2019
Return-Path: <gcc-bugs-return-633153-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71124 invoked by alias); 11 Feb 2019 01:22: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 58273 invoked by uid 48); 11 Feb 2019 01:22:10 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/78678] possibly missing -Warray-bounds warning
Date: Mon, 11 Feb 2019 01:22: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: 7.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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: see_also
Message-ID: <bug-78678-4-lBvXbp9B3H@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78678-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78678-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: 2019-02/txt/msg01455.txt.bz2
Content-length: 514

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|https://gcc.gnu.org/bugzill |https://gcc.gnu.org/bugzill
                   |a/show_bug.cgi?id=86651     |a/show_bug.cgi?id=86691

--- Comment #10 from Martin Sebor <msebor at gcc dot gnu.org> ---
Ignore comment #9.  The related (same?) bug is pr86691.
>From gcc-bugs-return-633154-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 01:26:18 2019
Return-Path: <gcc-bugs-return-633154-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17556 invoked by alias); 11 Feb 2019 01:26:18 -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 17498 invoked by uid 48); 11 Feb 2019 01:26:12 -0000
From: "hp at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/84877] Local stack copy of BLKmode parameter on the stack is not aligned when the requested alignment exceeds MAX_SUPPORTED_STACK_ALIGNMENT
Date: Mon, 11 Feb 2019 01:26: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hp at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: renlin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-84877-4-dpsh1v9lD6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84877-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84877-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: 2019-02/txt/msg01456.txt.bz2
Content-length: 408

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

Hans-Peter Nilsson <hp at gcc dot gnu.org> changed:

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

--- Comment #8 from Hans-Peter Nilsson <hp at gcc dot gnu.org> ---
JFTR, also fails on cris-elf.
>From gcc-bugs-return-633155-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 01:38:22 2019
Return-Path: <gcc-bugs-return-633155-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29991 invoked by alias); 11 Feb 2019 01:38: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 29924 invoked by uid 48); 11 Feb 2019 01:38:18 -0000
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/37759] powerpc option -mabi=no-spe still generates SPE instructions
Date: Mon, 11 Feb 2019 01:38: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: 4.3.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: asolokha at gmx 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-37759-4-W6l29lfi6A@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-37759-4@http.gcc.gnu.org/bugzilla/>
References: <bug-37759-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: 2019-02/txt/msg01457.txt.bz2
Content-length: 386

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

--- Comment #9 from Arseny Solokha <asolokha at gmx dot com> ---
Yes, but AFAIK none of the PRs specific to powerpcspe have been closed so far.
And, personally, I'd like them to stay open for another release cycle in the
hope Andrew would actually revive the target this year. But it's up to gcc
maintainers to decide, of course.
>From gcc-bugs-return-633156-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 02:33:41 2019
Return-Path: <gcc-bugs-return-633156-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15958 invoked by alias); 11 Feb 2019 02:33:41 -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 15908 invoked by uid 48); 11 Feb 2019 02:33:37 -0000
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89278] New: ICE in gimplify_modify_expr, at gimplify.c:5821
Date: Mon, 11 Feb 2019 02:33: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: asolokha at gmx 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 keywords bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-89278-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: 2019-02/txt/msg01458.txt.bz2
Content-length: 3508

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

            Bug ID: 89278
           Summary: ICE in gimplify_modify_expr, at gimplify.c:5821
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---

gcc-9.0.0-alpha20190203 snapshot (r268503) ICEs when compiling the following
testcase w/ -O1 -ftrapv -ftree-loop-distribute-patterns --param
max-loop-header-insns=2:

void
or (int *r2, int u1, int a6, int ka)
{
  while (u1 < a6 + ka)
    {
      r2[u1] = 0;
      ++u1;
    }
}

% gcc-9.0.0-alpha20190203 -O1 -ftrapv -ftree-loop-distribute-patterns --param
max-loop-header-insns=2 -c fgcctz0a.c
during GIMPLE pass: ldist
fgcctz0a.c: In function 'or':
fgcctz0a.c:6:14: internal compiler error: in gimplify_modify_expr, at
gimplify.c:5821
    6 |       r2[u1] = 0;
      |       ~~~~~~~^~~
0x63e241 gimplify_modify_expr
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190203/work/gcc-9-20190203/gcc/gimplify.c:5821
0xaf1944 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190203/work/gcc-9-20190203/gcc/gimplify.c:12438
0xaf5016 gimplify_stmt(tree_node**, gimple**)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190203/work/gcc-9-20190203/gcc/gimplify.c:6685
0xafa324 gimplify_cond_expr
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190203/work/gcc-9-20190203/gcc/gimplify.c:4130
0xaf1d90 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190203/work/gcc-9-20190203/gcc/gimplify.c:12395
0xaf5016 gimplify_stmt(tree_node**, gimple**)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190203/work/gcc-9-20190203/gcc/gimplify.c:6685
0xaf9a7b gimplify_cond_expr
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190203/work/gcc-9-20190203/gcc/gimplify.c:4027
0xaf1d90 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190203/work/gcc-9-20190203/gcc/gimplify.c:12395
0xb04c6d force_gimple_operand_1(tree_node*, gimple**, bool (*)(tree_node*),
tree_node*)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190203/work/gcc-9-20190203/gcc/gimplify-me.c:78
0xb04d3d force_gimple_operand_gsi_1(gimple_stmt_iterator*, tree_node*, bool
(*)(tree_node*), tree_node*, bool, gsi_iterator_update)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190203/work/gcc-9-20190203/gcc/gimplify-me.c:115
0xe089f6 generate_memset_builtin
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190203/work/gcc-9-20190203/gcc/tree-loop-distribution.c:1000
0xe089f6 generate_code_for_partition
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190203/work/gcc-9-20190203/gcc/tree-loop-distribution.c:1149
0xe0cb66 distribute_loop
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190203/work/gcc-9-20190203/gcc/tree-loop-distribution.c:2923
0xe0e8ba execute
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190203/work/gcc-9-20190203/gcc/tree-loop-distribution.c:3133
>From gcc-bugs-return-633157-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 02:52:50 2019
Return-Path: <gcc-bugs-return-633157-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111944 invoked by alias); 11 Feb 2019 02:52: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 111882 invoked by uid 48); 11 Feb 2019 02:52:46 -0000
From: "christoph@lipka-koeln.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89279] New: `floorf` not in `std` despite -std=c++11
Date: Mon, 11 Feb 2019 02:52: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: 5.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: christoph@lipka-koeln.de
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-89279-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: 2019-02/txt/msg01459.txt.bz2
Content-length: 1262

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

            Bug ID: 89279
           Summary: `floorf` not in `std` despite -std=c++11
           Product: gcc
           Version: 5.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: christoph@lipka-koeln.de
  Target Milestone: ---

Consider the following code snippet:

    #include <cmath>
    float foo(float x)
    {
        return std::floorf(x);
    }

Compiling with `g++ -std=c++11` causes a compiler error: `‘floorf’ is not a
member of ‘std’`.

According to the C++11 standard, `<cmath>` _must_ declare a `float
floorf(float)` in the `std` namespace and _may_ declare such a function in the
global namespace. However, `<cmath>` appears to only declares the global
function.

According to other reports, the problem is not limited to 5.4.0, but persists
to this day:

https://stackoverflow.com/questions/54623100/c-gcc-floorf-not-a-member-of-std?noredirect=1#comment96038966_54623100


(I'm not sure whether issues with the standard header files are to be
considered C++ or library issues; please re-assign if appropriate.)
>From gcc-bugs-return-633158-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 07:12:50 2019
Return-Path: <gcc-bugs-return-633158-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9962 invoked by alias); 11 Feb 2019 07:12: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 9902 invoked by uid 48); 11 Feb 2019 07:12:46 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89051] -Wno-error= does not work for warning groups
Date: Mon, 11 Feb 2019 07:12: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.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
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: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89051-4-3JRd0nSTRi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89051-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89051-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: 2019-02/txt/msg01460.txt.bz2
Content-length: 583

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

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Martin Sebor from comment #4)
> LangEnabledBy is used by optc-gen.awk to generate options.c with calls like
> those below.  Other than that, I don't think GCC has an internal data
> structure to represent this relationship (one that could be queried to give
> a list of other options that -Wimplicit controls).

No, there isn't probably a data structure. But I won't be complicated to
generate it from the LangEnabledBy by our AWK machinery.
>From gcc-bugs-return-633159-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 07:30:59 2019
Return-Path: <gcc-bugs-return-633159-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74206 invoked by alias); 11 Feb 2019 07:30: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 74122 invoked by uid 55); 11 Feb 2019 07:30:55 -0000
From: "hubicka at ucw dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/49194] Trivially stupid inlining decisions
Date: Mon, 11 Feb 2019 07:30:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: 4.5.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at ucw dot cz
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-49194-4-5YbpxxhXaE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-49194-4@http.gcc.gnu.org/bugzilla/>
References: <bug-49194-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: 2019-02/txt/msg01461.txt.bz2
Content-length: 252

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

--- Comment #11 from Jan Hubicka <hubicka at ucw dot cz> ---
Well, I am working on gradual improvements in the inlining decisions,
but since the PR is not very specific, we never will be perfect :)
>From gcc-bugs-return-633160-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 07:37:20 2019
Return-Path: <gcc-bugs-return-633160-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2657 invoked by alias); 11 Feb 2019 07:37:19 -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 2583 invoked by uid 48); 11 Feb 2019 07:37:16 -0000
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89280] New: [7/8/9 Regression] ICE: Segmentation fault (in is_gimple_reg_type)
Date: Mon, 11 Feb 2019 07:37: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: asolokha at gmx 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 keywords bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-89280-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: 2019-02/txt/msg01462.txt.bz2
Content-length: 1865

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

            Bug ID: 89280
           Summary: [7/8/9 Regression] ICE: Segmentation fault (in
                    is_gimple_reg_type)
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---

gcc-9.0.0-alpha20190210 snapshot (r268755) ICEs when compiling the following
testcase containing a call of function w/ returns_twice attribute:

int un;

void
r8 (void);

__attribute__ ((returns_twice)) int
vfork (void);

void
ef (int, int);

void
fx (void)
{
  for (;;)
    r8 ();

  ef (vfork (), un);
}

% gcc-9.0.0-alpha20190210 -c df3xie9n.c
during GIMPLE pass: cfg
df3xie9n.c: In function 'fx':
df3xie9n.c:13:1: internal compiler error: Segmentation fault
   13 | fx (void)
      | ^~
0xd6f9bf crash_signal
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190210/work/gcc-9-20190210/gcc/toplev.c:326
0xda85b4 is_gimple_reg_type
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190210/work/gcc-9-20190210/gcc/gimple-expr.h:75
0xda85b4 verify_gimple_call
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190210/work/gcc-9-20190210/gcc/tree-cfg.c:3465
0xdbe2ca verify_gimple_in_cfg(function*, bool)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190210/work/gcc-9-20190210/gcc/tree-cfg.c:5370
0xc8a4df execute_function_todo
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190210/work/gcc-9-20190210/gcc/passes.c:1977
0xc8b3fe execute_todo
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190210/work/gcc-9-20190210/gcc/passes.c:2031
>From gcc-bugs-return-633161-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 07:39:46 2019
Return-Path: <gcc-bugs-return-633161-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10638 invoked by alias); 11 Feb 2019 07:39:46 -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 10588 invoked by uid 48); 11 Feb 2019 07:39:42 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89281] New: [9 Regression] gcc/optabs.c:3901:30: runtime error: shift exponent 32 is too large for 32-bit type 'int'
Date: Mon, 11 Feb 2019 07:39: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: unknown
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 target_milestone
Message-ID: <bug-89281-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: 2019-02/txt/msg01463.txt.bz2
Content-length: 2731

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

            Bug ID: 89281
           Summary: [9 Regression] gcc/optabs.c:3901:30: runtime error:
                    shift exponent 32 is too large for 32-bit type 'int'
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---

I see following recent UBSAN error:

$ ./xgcc -B.
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-ubsan/build/gcc/testsuite/g++.dg/ext/vector27.C
-c -mno-sse -fnon-call-exceptions
../../gcc/optabs.c:3901:30: runtime error: shift exponent 32 is too large for
32-bit type 'int'
    #0 0x20b6cb1 in prepare_cmp_insn ../../gcc/optabs.c:3901
    #1 0x20b893a in emit_cmp_and_jump_insns(rtx_def*, rtx_def*, rtx_code,
rtx_def*, machine_mode, int, rtx_def*, profile_probability)
../../gcc/optabs.c:4146
    #2 0x1540b18 in do_compare_rtx_and_jump(rtx_def*, rtx_def*, rtx_code, int,
machine_mode, rtx_def*, rtx_code_label*, rtx_code_label*, profile_probability)
../../gcc/dojump.c:1171
    #3 0x1541c1b in do_compare_and_jump ../../gcc/dojump.c:1245
    #4 0x153abe8 in do_jump_1 ../../gcc/dojump.c:231
    #5 0x153eee9 in jumpifnot_1(tree_code, tree_node*, tree_node*,
rtx_code_label*, profile_probability) ../../gcc/dojump.c:954
    #6 0x17f4d2a in expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier) ../../gcc/expr.c:9389
    #7 0x1323a44 in expand_gimple_stmt_1 ../../gcc/cfgexpand.c:3789
    #8 0x1323f8b in expand_gimple_stmt ../../gcc/cfgexpand.c:3850
    #9 0x13396e8 in expand_gimple_basic_block ../../gcc/cfgexpand.c:5886
    #10 0x133e94a in execute ../../gcc/cfgexpand.c:6509
    #11 0x21b0dc4 in execute_one_pass(opt_pass*) ../../gcc/passes.c:2483
    #12 0x21b165a in execute_pass_list_1 ../../gcc/passes.c:2569
    #13 0x21b17ae in execute_pass_list(function*, opt_pass*)
../../gcc/passes.c:2580
    #14 0x1443648 in cgraph_node::expand() ../../gcc/cgraphunit.c:2195
    #15 0x1445c75 in output_in_order ../../gcc/cgraphunit.c:2439
    #16 0x1447279 in symbol_table::compile() ../../gcc/cgraphunit.c:2683
    #17 0x1447ce4 in symbol_table::finalize_compilation_unit()
../../gcc/cgraphunit.c:2862
    #18 0x25e7433 in compile_file ../../gcc/toplev.c:481
    #19 0x25ee7cf in do_compile ../../gcc/toplev.c:2176
    #20 0x25eedfd in toplev::main(int, char**) ../../gcc/toplev.c:2311
    #21 0x4964b26 in main ../../gcc/main.c:39
    #22 0x7ffff6e3101a in __libc_start_main ../csu/libc-start.c:308
    #23 0x89b559 in _start
(/home/marxin/Programming/gcc2/objdir/gcc/cc1plus+0x89b559)
>From gcc-bugs-return-633162-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 07:53:56 2019
Return-Path: <gcc-bugs-return-633162-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40701 invoked by alias); 11 Feb 2019 07:53:56 -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 40645 invoked by uid 48); 11 Feb 2019 07:53:52 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89260] ICE in read_cgraph_and_symbols, at lto/lto.c:2800 while compiling harfbuzz
Date: Mon, 11 Feb 2019 07:53: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-89260-4-8WDTJOhHVf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89260-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89260-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: 2019-02/txt/msg01464.txt.bz2
Content-length: 1682

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2019-02-11
     Ever confirmed|0                           |1

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Hi.

I would like to help you with that. But I need some more details:

> 
> configure \
>                 --target=$TARGET \
>                 --prefix="$PREFIX" \
>                 --libdir="$PREFIX/lib" \
>                 --enable-languages=$langs \
>                 --disable-werror \
>                 --disable-nls \
>                 --disable-multilib \
>                 --disable-shared \
>                 --enable-tls \
>                 --enable-threads=posix \
>                 --disable-libmudflap \
>                 --disable-libsanitizer \
>                 --disable-gnu-indirect-function \
>                 --disable-libmpx \
>                 --enable-deterministic-archives \
>                 --enable-libstdcxx-time \
>                 --enable-fully-dynamic-string \
>                 --enable-cloog-backend=isl \
>                 --enable-lto \
>                 --enable-libgomp \
>                 --enable-checking=release \
> 

can you please provide expanded ./configure (with all $vars expanded)?
Having the following cross-compiler on my system:
aarch64-suse-linux-gcc

how can I configure to use? Do you first export CFLAGS before ./configure?
>From gcc-bugs-return-633163-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 07:54:37 2019
Return-Path: <gcc-bugs-return-633163-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41648 invoked by alias); 11 Feb 2019 07:54: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 41596 invoked by uid 48); 11 Feb 2019 07:54:33 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89280] [7/8/9 Regression] ICE: Segmentation fault (in is_gimple_reg_type)
Date: Mon, 11 Feb 2019 07: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: 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-89280-4-9ybBi759UA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89280-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89280-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: 2019-02/txt/msg01465.txt.bz2
Content-length: 651

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-11
                 CC|                            |marxin at gcc dot gnu.org,
                   |                            |rguenth at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r235817.
>From gcc-bugs-return-633164-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 07:56:26 2019
Return-Path: <gcc-bugs-return-633164-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76812 invoked by alias); 11 Feb 2019 07:56:26 -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 76764 invoked by uid 48); 11 Feb 2019 07:56:22 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89278] ICE in gimplify_modify_expr, at gimplify.c:5821
Date: Mon, 11 Feb 2019 07: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: 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-89278-4-DNKEQpv1ZS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89278-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89278-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: 2019-02/txt/msg01466.txt.bz2
Content-length: 744

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-11
                 CC|                            |marxin at gcc dot gnu.org,
                   |                            |rguenth at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, can't bisect as max-loop-header-insns=2 is not so old parameter.
Richi will you please take a look?
>From gcc-bugs-return-633165-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 08:13:39 2019
Return-Path: <gcc-bugs-return-633165-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80168 invoked by alias); 11 Feb 2019 08:13: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 80076 invoked by uid 55); 11 Feb 2019 08:13:34 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89009] [7/8/9 Regression] Miscompilation (missing function call) with -fvisibility=hidden -fpic -O2 -fno-inline
Date: Mon, 11 Feb 2019 08:13: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.2.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89009-4-IS0nMOXXZI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89009-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89009-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: 2019-02/txt/msg01467.txt.bz2
Content-length: 1428

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

--- Comment #14 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Mon Feb 11 08:13:03 2019
New Revision: 268762

URL: https://gcc.gnu.org/viewcvs?rev=268762&root=gcc&view=rev
Log:
Construct ipa_reduced_postorder always for overwritable (PR ipa/89009).

2019-02-11  Martin Liska  <mliska@suse.cz>

        PR ipa/89009
        * ipa-cp.c (build_toporder_info): Remove usage of a param.
        * ipa-inline.c (inline_small_functions): Likewise.
        * ipa-pure-const.c (propagate_pure_const): Likewise.
        (propagate_nothrow): Likewise.
        * ipa-reference.c (propagate): Likewise.
        * ipa-utils.c (struct searchc_env): Remove unused field.
        (searchc): Always search across AVAIL_INTERPOSABLE.
        (ipa_reduced_postorder): Always allow AVAIL_INTERPOSABLE as
        the only called IPA pure const can properly not propagate
        across interposable boundary.
        * ipa-utils.h (ipa_reduced_postorder): Remove param.
2019-02-11  Martin Liska  <mliska@suse.cz>

        PR ipa/89009
        * g++.dg/ipa/pr89009.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/ipa/pr89009.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-cp.c
    trunk/gcc/ipa-inline.c
    trunk/gcc/ipa-pure-const.c
    trunk/gcc/ipa-reference.c
    trunk/gcc/ipa-utils.c
    trunk/gcc/ipa-utils.h
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633166-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 08:14:58 2019
Return-Path: <gcc-bugs-return-633166-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81754 invoked by alias); 11 Feb 2019 08:14: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 81702 invoked by uid 48); 11 Feb 2019 08:14:54 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89009] [7/8/9 Regression] Miscompilation (missing function call) with -fvisibility=hidden -fpic -O2 -fno-inline
Date: Mon, 11 Feb 2019 08:14: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.2.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_known_to_work cf_known_to_fail
Message-ID: <bug-89009-4-I9pgZwIR8g@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89009-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89009-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: 2019-02/txt/msg01468.txt.bz2
Content-length: 440

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |9.0
      Known to fail|9.0                         |

--- Comment #15 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed on trunk so far.
>From gcc-bugs-return-633167-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 08:27:04 2019
Return-Path: <gcc-bugs-return-633167-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118300 invoked by alias); 11 Feb 2019 08:27:04 -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 118239 invoked by uid 55); 11 Feb 2019 08:27:00 -0000
From: "ro at CeBiTec dot Uni-Bielefeld.DE" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/85947] gcc.dg/vect/bb-slp-div-1.c XPASSes
Date: Mon, 11 Feb 2019 08: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE
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:
Message-ID: <bug-85947-4-BcoKmncDvE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85947-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85947-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: 2019-02/txt/msg01469.txt.bz2
Content-length: 337

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

--- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Whoever added the testcase should put a comment to explain the xfail.

This would be Richard, alread on the Cc:
>From gcc-bugs-return-633168-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 08:28:08 2019
Return-Path: <gcc-bugs-return-633168-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119823 invoked by alias); 11 Feb 2019 08:28: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 119711 invoked by uid 48); 11 Feb 2019 08:28:03 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/87525] [7/8/9 Regression] infinite loop generated for fread() if enabling -flto and -D_FORTIFY_SOURCE=2
Date: Mon, 11 Feb 2019 08:28: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: 7.3.1
X-Bugzilla-Keywords: lto, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87525-4-rWVpyJvizu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87525-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87525-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: 2019-02/txt/msg01470.txt.bz2
Content-length: 446

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

--- Comment #13 from Martin Liška <marxin at gcc dot gnu.org> ---
$ ld --version
GNU ld (GNU Binutils; openSUSE Tumbleweed) 2.31.1.20180828-3
Copyright (C) 2018 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
>From gcc-bugs-return-633170-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 08:28:33 2019
Return-Path: <gcc-bugs-return-633170-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121754 invoked by alias); 11 Feb 2019 08:28: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 121691 invoked by uid 48); 11 Feb 2019 08:28:29 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89280] [7/8/9 Regression] ICE: Segmentation fault (in is_gimple_reg_type)
Date: Mon, 11 Feb 2019 08:28: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89280-4-GaK5r4fezl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89280-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89280-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: 2019-02/txt/msg01472.txt.bz2
Content-length: 825

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Ugh, this is nasty.  We add the ABNORMAL_DISPATCHER etc. because vfork returns
twice, but because the call is in unreachable code, we remove the block that
defines the SSA_NAME but nothing finds out that because the vfork was
originally unreachable, it can't be reached abnormally either.
So perhaps improve the unreachable block analysis that edges from
ABNORMAL_DISPATCHER are only valid if a block is reachable through some other
edges too?
>From gcc-bugs-return-633169-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 08:28:13 2019
Return-Path: <gcc-bugs-return-633169-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120456 invoked by alias); 11 Feb 2019 08:28: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 119806 invoked by uid 48); 11 Feb 2019 08:28:07 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/88220] LTO ICE with GNU inline and alias's
Date: Mon, 11 Feb 2019 08:28: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: 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: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88220-4-A5PxAOti9z@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88220-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88220-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: 2019-02/txt/msg01471.txt.bz2
Content-length: 445

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

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
$ ld --version
GNU ld (GNU Binutils; openSUSE Tumbleweed) 2.31.1.20180828-3
Copyright (C) 2018 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
>From gcc-bugs-return-633171-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 08:40:54 2019
Return-Path: <gcc-bugs-return-633171-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20227 invoked by alias); 11 Feb 2019 08:40: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 20106 invoked by uid 48); 11 Feb 2019 08:40:50 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89281] [9 Regression] gcc/optabs.c:3901:30: runtime error: shift exponent 32 is too large for 32-bit type 'int'
Date: Mon, 11 Feb 2019 08:40: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc assigned_to target_milestone everconfirmed
Message-ID: <bug-89281-4-oJZVYgGSsF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89281-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89281-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: 2019-02/txt/msg01473.txt.bz2
Content-length: 711

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
                 CC|                            |jakub at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
   Target Milestone|---                         |9.0
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I'd say the regression has been introduced in r72185 already.  Anyway, will
handle this.
>From gcc-bugs-return-633172-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 09:13:43 2019
Return-Path: <gcc-bugs-return-633172-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94277 invoked by alias); 11 Feb 2019 09:13: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 94159 invoked by uid 48); 11 Feb 2019 09:13:37 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/88677] [9 Regression] Divergence in -O2 and -O2 -flto early opts
Date: Mon, 11 Feb 2019 09:13: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: 9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: assigned_to
Message-ID: <bug-88677-4-ppBkwkngi3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88677-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88677-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: 2019-02/txt/msg01474.txt.bz2
Content-length: 560

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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|rguenther at suse dot de           |hubicka at gcc dot gnu.org

--- Comment #14 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
I have posted updated patch to
https://gcc.gnu.org/ml/gcc-patches/2019-02/msg00683.html
The original analysis was correct - I placed code clearing TREE_READONLY too
late.
>From gcc-bugs-return-633173-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 09:27:06 2019
Return-Path: <gcc-bugs-return-633173-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103585 invoked by alias); 11 Feb 2019 09:27:06 -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 103557 invoked by uid 55); 11 Feb 2019 09:27:03 -0000
From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88648] [7/8 Regression] Force unified syntax for inline assembly not functional (-masm-syntax-unified)
Date: Mon, 11 Feb 2019 09:27: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: ktkachov 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88648-4-GxVT9mI6HH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88648-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88648-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: 2019-02/txt/msg01475.txt.bz2
Content-length: 908

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

--- Comment #5 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Mon Feb 11 09:26:31 2019
New Revision: 268764

URL: https://gcc.gnu.org/viewcvs?rev=268764&root=gcc&view=rev
Log:
ARM: fix -masm-syntax-unified (PR88648)

        Backport from mainline.
        2019-01-10  Stefan Agner  <stefan@agner.ch>

        PR target/88648
        * config/arm/arm.c (arm_option_override_internal): Force
        opts->x_inline_asm_unified to true only if TARGET_THUMB2_P.

        * gcc.target/arm/pr88648-asm-syntax-unified.c: Add test to
        check if -masm-syntax-unified gets applied properly.

Added:
   
branches/gcc-8-branch/gcc/testsuite/gcc.target/arm/pr88648-asm-syntax-unified.c
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/config/arm/arm.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633174-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 09:28:09 2019
Return-Path: <gcc-bugs-return-633174-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106285 invoked by alias); 11 Feb 2019 09:28: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 106214 invoked by uid 48); 11 Feb 2019 09:28:05 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/87525] [7/8/9 Regression] infinite loop generated for fread() if enabling -flto and -D_FORTIFY_SOURCE=2
Date: Mon, 11 Feb 2019 09:28: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: 7.3.1
X-Bugzilla-Keywords: lto, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-87525-4-m6DyDjrhTl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87525-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87525-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: 2019-02/txt/msg01476.txt.bz2
Content-length: 1702

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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mjambor at suse dot cz

--- Comment #14 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Still does not reproduce for trunk to me, but reproduces with gcc 8. The
problem is that ipa-cp decides to clone fread which is extern inline and then
redirect all calls to the clone that makes is self recursive.

Martin,
it seems to me that ipa-cp should not clone extern inline functions unless it
sees that it helps to clone some real functions called from it. Why the
costmodel thinks it is profitable?
Evaluating opportunities for fread/21.
 - considering value 1 for param #1 size_t (caller_count: 2)
     good_cloning_opportunity_p (time: 3, size: 33, freq_sum: 9514, scc) ->
evaluation: 518, threshold: 500
  Creating a specialized node of fread/21.
    adding an extra known scalar value 10 for param #2 size_t
      cannot change function signature
    replacing param #1 size_t with const 1
    replacing param #2 size_t with const 10
                Accounting size:4.00, time:4.00 on predicate exec:(true)
                Accounting size:3.00, time:2.00 on new predicate exec:(not
inlined)
     the new node is fread.constprop/37.

This is more or less design issue of the FORTIFY_SOURCE.  I suppose I can try
to teach ultimate_alias_target and friends to not walk into external inline
function unless it is called directly. This will more immitate to what GCC
traditionally did before it had symbol table.
>From gcc-bugs-return-633176-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 09:31:58 2019
Return-Path: <gcc-bugs-return-633176-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128775 invoked by alias); 11 Feb 2019 09:31: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 127941 invoked by uid 48); 11 Feb 2019 09:31:52 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89278] ICE in gimplify_modify_expr, at gimplify.c:5821
Date: Mon, 11 Feb 2019 09:31: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89278-4-DebA9kgOh2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89278-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89278-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: 2019-02/txt/msg01478.txt.bz2
Content-length: 573

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
nb_bytes is y_9(D) + z_10(D) >= x_7(D) ? (sizetype) ((unsigned int) (y_9(D) +
z_10(D)) - (unsigned int) x_7(D)) * 4 : 0
and force_gimple* on COND_EXPR is problematic, especially with -ftrapv.
>From gcc-bugs-return-633175-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 09:31:53 2019
Return-Path: <gcc-bugs-return-633175-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125592 invoked by alias); 11 Feb 2019 09:31: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 123497 invoked by uid 55); 11 Feb 2019 09:31:44 -0000
From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88648] [7/8 Regression] Force unified syntax for inline assembly not functional (-masm-syntax-unified)
Date: Mon, 11 Feb 2019 09:31: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: ktkachov 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88648-4-aVYeso4pFF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88648-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88648-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: 2019-02/txt/msg01477.txt.bz2
Content-length: 908

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

--- Comment #6 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Mon Feb 11 09:31:13 2019
New Revision: 268765

URL: https://gcc.gnu.org/viewcvs?rev=268765&root=gcc&view=rev
Log:
ARM: fix -masm-syntax-unified (PR88648)

        Backport from mainline.
        2019-01-10  Stefan Agner  <stefan@agner.ch>

        PR target/88648
        * config/arm/arm.c (arm_option_override_internal): Force
        opts->x_inline_asm_unified to true only if TARGET_THUMB2_P.

        * gcc.target/arm/pr88648-asm-syntax-unified.c: Add test to
        check if -masm-syntax-unified gets applied properly.

Added:
   
branches/gcc-7-branch/gcc/testsuite/gcc.target/arm/pr88648-asm-syntax-unified.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/config/arm/arm.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633177-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 09:34:10 2019
Return-Path: <gcc-bugs-return-633177-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7837 invoked by alias); 11 Feb 2019 09:34: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 7767 invoked by uid 48); 11 Feb 2019 09:34:06 -0000
From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88648] Force unified syntax for inline assembly not functional (-masm-syntax-unified)
Date: Mon, 11 Feb 2019 09:34: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: ktkachov at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution short_desc
Message-ID: <bug-88648-4-iknkKM93Ig@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88648-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88648-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: 2019-02/txt/msg01479.txt.bz2
Content-length: 695

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

ktkachov at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
            Summary|[7/8 Regression] Force      |Force unified syntax for
                   |unified syntax for inline   |inline assembly not
                   |assembly not functional     |functional
                   |(-masm-syntax-unified)      |(-masm-syntax-unified)

--- Comment #7 from ktkachov at gcc dot gnu.org ---
Fixed on all active branches.
>From gcc-bugs-return-633178-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 09:35:34 2019
Return-Path: <gcc-bugs-return-633178-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9474 invoked by alias); 11 Feb 2019 09:35: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 9412 invoked by uid 55); 11 Feb 2019 09:35:30 -0000
From: "ro at CeBiTec dot Uni-Bielefeld.DE" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/80953] Support libsanitizer on Solaris
Date: Mon, 11 Feb 2019 09:35: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
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ro at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-80953-4-HoEsvdrAw1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80953-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80953-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: 2019-02/txt/msg01480.txt.bz2
Content-length: 3383

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

--- Comment #32 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #31 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
>> I think it is important to find out why there are those differences in line
>> numbers.  Is libbacktrace broken on Solaris, or not used at all, something
>> different?
>
> The libsanitizer does its private unwinding by means of _Unwind_Backtrace,
> which works fine.  But, at the end, it overwrites the first address with the
> result of __builtin_return_address, which returns the address of the call
> instruction and not the return address on the SPARC (maybe you know why,
> Jakub?) so the first frame is off by 8 bytes.  I have a tentative fixlet for
> the libsanitizer.

Excellent, thanks for the detective work.

> Btw, Rainer, why did you disable fast unwinding on the SPARC?  This puts the
> SPARC  port in its own basket (admittedly with MIPS) so that's not very
> convenient.

For one, this is how it had been on Linux/sparc (although I wonder how
this can ever have been tested given that asan with clang is useless on
sparc).  When I looked into this

        https://reviews.llvm.org/D54099

I found that enabling it causes quite a number of regressions.  Here's
the list that I've just recreated:

+FAIL: c-c++-common/asan/heap-overflow-1.c   -O0  output pattern test
+FAIL: c-c++-common/asan/heap-overflow-1.c   -O1  output pattern test
+FAIL: c-c++-common/asan/heap-overflow-1.c   -O2  output pattern test
+FAIL: c-c++-common/asan/heap-overflow-1.c   -O2 -flto  output pattern test
+FAIL: c-c++-common/asan/heap-overflow-1.c   -O2 -flto -flto-partition=none 
output pattern test
+FAIL: c-c++-common/asan/heap-overflow-1.c   -O3 -g  output pattern test
+FAIL: c-c++-common/asan/heap-overflow-1.c   -Os  output pattern test

+FAIL: c-c++-common/asan/pr70541.c   -O0  output pattern test

+FAIL: c-c++-common/asan/strncpy-overflow-1.c   -O0  output pattern test
+FAIL: c-c++-common/asan/strncpy-overflow-1.c   -O1  output pattern test
+FAIL: c-c++-common/asan/strncpy-overflow-1.c   -O2  output pattern test
+FAIL: c-c++-common/asan/strncpy-overflow-1.c   -O2 -flto  output pattern test
+FAIL: c-c++-common/asan/strncpy-overflow-1.c   -O2 -flto -flto-partition=none 
output pattern test
+FAIL: c-c++-common/asan/strncpy-overflow-1.c   -O3 -g  output pattern test
+FAIL: c-c++-common/asan/strncpy-overflow-1.c   -Os  output pattern test
+FAIL: c-c++-common/asan/use-after-free-1.c   -O0  output pattern test
+FAIL: c-c++-common/asan/use-after-free-1.c   -O1  output pattern test
+FAIL: c-c++-common/asan/use-after-free-1.c   -O2  output pattern test
+FAIL: c-c++-common/asan/use-after-free-1.c   -O2 -flto  output pattern test
+FAIL: c-c++-common/asan/use-after-free-1.c   -O2 -flto -flto-partition=none 
output pattern test
+FAIL: c-c++-common/asan/use-after-free-1.c   -O3 -g  output pattern test
+FAIL: c-c++-common/asan/use-after-free-1.c   -Os  output pattern test
+FAIL: g++.dg/asan/deep-stack-uaf-1.C   -O0  output pattern test

Maybe this goes away with your unwinding fix, though.

While trying this, I stumbled over the fact that a 64-bit-default gcc
with -m32 doesn't define __sparcv8, unlike its 32-bit-default
equivalent, which leaves an empty sanitizer_stacktrace_sparc.o.  Need to
look into this.
>From gcc-bugs-return-633179-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 09:52:38 2019
Return-Path: <gcc-bugs-return-633179-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93005 invoked by alias); 11 Feb 2019 09:52: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 92881 invoked by uid 48); 11 Feb 2019 09:52:34 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/80953] Support libsanitizer on Solaris
Date: Mon, 11 Feb 2019 09:52: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
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ro at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-80953-4-Ja7ue6xNxT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80953-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80953-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: 2019-02/txt/msg01481.txt.bz2
Content-length: 2295

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

--- Comment #33 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> I found that enabling it causes quite a number of regressions.  Here's
> the list that I've just recreated:
> 
> +FAIL: c-c++-common/asan/heap-overflow-1.c   -O0  output pattern test
> +FAIL: c-c++-common/asan/heap-overflow-1.c   -O1  output pattern test
> +FAIL: c-c++-common/asan/heap-overflow-1.c   -O2  output pattern test
> +FAIL: c-c++-common/asan/heap-overflow-1.c   -O2 -flto  output pattern test
> +FAIL: c-c++-common/asan/heap-overflow-1.c   -O2 -flto -flto-partition=none 
> output pattern test
> +FAIL: c-c++-common/asan/heap-overflow-1.c   -O3 -g  output pattern test
> +FAIL: c-c++-common/asan/heap-overflow-1.c   -Os  output pattern test
> 
> +FAIL: c-c++-common/asan/pr70541.c   -O0  output pattern test
> 
> +FAIL: c-c++-common/asan/strncpy-overflow-1.c   -O0  output pattern test
> +FAIL: c-c++-common/asan/strncpy-overflow-1.c   -O1  output pattern test
> +FAIL: c-c++-common/asan/strncpy-overflow-1.c   -O2  output pattern test
> +FAIL: c-c++-common/asan/strncpy-overflow-1.c   -O2 -flto  output pattern
> test
> +FAIL: c-c++-common/asan/strncpy-overflow-1.c   -O2 -flto
> -flto-partition=none  output pattern test
> +FAIL: c-c++-common/asan/strncpy-overflow-1.c   -O3 -g  output pattern test
> +FAIL: c-c++-common/asan/strncpy-overflow-1.c   -Os  output pattern test
> +FAIL: c-c++-common/asan/use-after-free-1.c   -O0  output pattern test
> +FAIL: c-c++-common/asan/use-after-free-1.c   -O1  output pattern test
> +FAIL: c-c++-common/asan/use-after-free-1.c   -O2  output pattern test
> +FAIL: c-c++-common/asan/use-after-free-1.c   -O2 -flto  output pattern test
> +FAIL: c-c++-common/asan/use-after-free-1.c   -O2 -flto -flto-partition=none
> output pattern test
> +FAIL: c-c++-common/asan/use-after-free-1.c   -O3 -g  output pattern test
> +FAIL: c-c++-common/asan/use-after-free-1.c   -Os  output pattern test
> +FAIL: g++.dg/asan/deep-stack-uaf-1.C   -O0  output pattern test
> 
> Maybe this goes away with your unwinding fix, though.

OK, that was a second unwinding issue, now fixed too.

Can you remind me of the issue in 64-bit mode?  Inconvenient memory layout,
right?  It seems to be present on Linux as well.
>From gcc-bugs-return-633180-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 10:01:25 2019
Return-Path: <gcc-bugs-return-633180-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125930 invoked by alias); 11 Feb 2019 10:01: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 125811 invoked by uid 55); 11 Feb 2019 10:01:16 -0000
From: "ro at CeBiTec dot Uni-Bielefeld.DE" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/80953] Support libsanitizer on Solaris
Date: Mon, 11 Feb 2019 10: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
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ro at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-80953-4-aiQoTC520b@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80953-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80953-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: 2019-02/txt/msg01482.txt.bz2
Content-length: 1284

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

--- Comment #34 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #33 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
>> I found that enabling it causes quite a number of regressions.  Here's
>> the list that I've just recreated:
[...]
>> Maybe this goes away with your unwinding fix, though.
>
> OK, that was a second unwinding issue, now fixed too.

Great.

> Can you remind me of the issue in 64-bit mode?  Inconvenient memory layout,
> right?  It seems to be present on Linux as well.

Right: 64-bit Solaris/SPARC uses the full 64-bit address space:

https://docs.oracle.com/cd/E37838_01/html/E66175/advanced-2.html#SSFDGadvanced-5

The gap between the low and high parts cannot be determined
programmatically right now and varies between different sparc machines.

Even if that could be fixed (there's been talk about adding an interface
to determine that information at runtime), the current shadow address
calculation cannot cope with such a discontinuous address space.

64-bit Solaris/x86 had the same problem, but the layout was changed for
Solaris 11.4 at least, so here things are easier:

https://docs.oracle.com/cd/E37838_01/html/E66175/fcowb.html#SSFDGfcpaf
>From gcc-bugs-return-633181-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 10:15:33 2019
Return-Path: <gcc-bugs-return-633181-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117940 invoked by alias); 11 Feb 2019 10:15: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 115456 invoked by uid 48); 11 Feb 2019 10:15:29 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/87525] [7/8/9 Regression] infinite loop generated for fread() if enabling -flto and -D_FORTIFY_SOURCE=2
Date: Mon, 11 Feb 2019 10:15: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: 7.3.1
X-Bugzilla-Keywords: lto, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-87525-4-HzNpse3lp6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87525-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87525-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: 2019-02/txt/msg01483.txt.bz2
Content-length: 2726

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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at redhat dot com

--- Comment #15 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
The problem with FORTIFY_SOURCE wrappers is that they break invariant that
inline and offline versions of the functions are interchangeable and have same
semantics. I suppose this is the case of more GNU inline uses (and I hope it is
limited to those - what does C standard says about its semantics of extern
inline?) but we need to keep that separate from extern inlines autogenerated by
C++ frontend for keyed functions/externally instantiated functions which are
guaranteed to have same semantics as their offline variant. Handling those
conservatively is a bad idea because it would bring way too many additional
function bodies to LTO and confuse code size metrics.

I think the proper approach to handle GNU inline would be the following

1) extend cgraph code to support symbols that are both syntactic aliases and
function definitions
2) teach lto-symtab that extern inlines are never prevailing symbols, so alias
walks points to the external definition
3) avoid GNU extern inlines to be merged because they do not need to have same
semantics as the offline variant of the function. (we need to be sure that this
won't happen for C++ keyed functions)
4) teach inliner to inline extern inline instead of looking for alias target if
call goes directly to extern inline and ignore the extern inlines in most of
the other optimization passes (which would happen if alias walker walked to the
finallink).  We can still consider cloning in ipa-cp of those if that helps to
clone calls within the extern inline function that targets non-inline

this should preserve current semantics even in case one would LTO fread
implementation. But for release branches I think we should avoid that and
simply target to get FORTIFY_SOURCE working when glibc is not LTO optimized.
For that I think fixing ipa-cp heuristics should work. We still may inline
fortify source wrapper into a call that was originally from unit withould
DFORTIFY_SOURCE. Is that considered a show stopper? If so, i can disable
inlining of GNU extern inlines that are not called directly but via attribute.

Martin (Jambor), can you please look at the ipa-cp bits?

If this conservative approach fails, i can work on 1), but that would require
changes on multiple places - at the moment we do not expect that symbol can
define two things (function body and alias)
>From gcc-bugs-return-633183-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 10:17:03 2019
Return-Path: <gcc-bugs-return-633183-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128030 invoked by alias); 11 Feb 2019 10:17: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 127967 invoked by uid 48); 11 Feb 2019 10:16:59 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/79700] std::fabsf and std::fabsl missing from <cmath>
Date: Mon, 11 Feb 2019 10:17:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 6.3.1
X-Bugzilla-Keywords: rejects-valid
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: cc
Message-ID: <bug-79700-4-JVy8JUxXGl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79700-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79700-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: 2019-02/txt/msg01485.txt.bz2
Content-length: 441

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |christoph@lipka-koeln.de

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
*** Bug 89279 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-633182-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 10:17:03 2019
Return-Path: <gcc-bugs-return-633182-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128016 invoked by alias); 11 Feb 2019 10:17: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 127953 invoked by uid 48); 11 Feb 2019 10:16:59 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89279] `floorf` not in `std` despite -std=c++11
Date: Mon, 11 Feb 2019 10:17:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 5.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89279-4-XuriLHfE6r@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89279-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89279-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: 2019-02/txt/msg01484.txt.bz2
Content-length: 786

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

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

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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Christoph Lipka from comment #0)
> (I'm not sure whether issues with the standard header files are to be
> considered C++ or library issues; please re-assign if appropriate.)

I would have thought it's obvious that a problem in the library headers is a
library problem.

This is Bug 79700

*** This bug has been marked as a duplicate of bug 79700 ***
>From gcc-bugs-return-633184-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 10:20:06 2019
Return-Path: <gcc-bugs-return-633184-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1508 invoked by alias); 11 Feb 2019 10:20:06 -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 1353 invoked by uid 48); 11 Feb 2019 10:20:01 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/88147] [9 Regression] ICE in linemap_line_start, at libcpp/line-map.c:781 starting from r265875
Date: Mon, 11 Feb 2019 10:20: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: 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: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-88147-4-VHiJDogrKE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88147-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88147-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: 2019-02/txt/msg01486.txt.bz2
Content-length: 586

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

--- Comment #13 from Martin Liška <marxin at gcc dot gnu.org> ---
I hope I understand the failure. So what happens:

- first a new map is created with to_line: 2578 (with m_column_and_range_bits
== 13)
- then a new request comes with to_line: 404198, m_column_and_range_bits is
extended to 15 and we decide to reuse the existing map.
- as seen the line difference is huge, ORDINARY_MAP_STARTING_LINE_NUMBER (map)
- to_line == 401620
- that would require 18 bits to represent

I'm going to append a patch candidate.
>From gcc-bugs-return-633185-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 10:27:59 2019
Return-Path: <gcc-bugs-return-633185-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39606 invoked by alias); 11 Feb 2019 10:27: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 37287 invoked by uid 48); 11 Feb 2019 10:27:55 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/87525] [7/8/9 Regression] infinite loop generated for fread() if enabling -flto and -D_FORTIFY_SOURCE=2
Date: Mon, 11 Feb 2019 10:27: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: 7.3.1
X-Bugzilla-Keywords: lto, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-87525-4-wRzkHUFFwH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87525-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87525-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: 2019-02/txt/msg01487.txt.bz2
Content-length: 1275

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GNU extern inline is an extension, so is covered by whatever we define (or
should have defined).  We've never required that the out of line and inline
definitions are the same or in any way similar (prototypes have to match
obviously), though without always_inline it is a compiler's choice what it will
pick, whether it decides to inline it or not.  AFAIK __fortify_function are
extern inline __attribute__((always_inline, gnu_inline, aritifical)), so at
that point the compiler needs to do what it is told, if it is possible to
inline at all, inline, period.
The additional complication is that those __fortify_function functions need to
call the original out of line functions, and that is done through those
aliases, with __asm redirects, so it is important to note in cgraph that those
should not call those always inline extern inline gnu_inline functions, but the
out of line ones.
>From gcc-bugs-return-633186-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 10:37:29 2019
Return-Path: <gcc-bugs-return-633186-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91944 invoked by alias); 11 Feb 2019 10:37: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 90502 invoked by uid 48); 11 Feb 2019 10:37:25 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/88147] [9 Regression] ICE in linemap_line_start, at libcpp/line-map.c:781 starting from r265875
Date: Mon, 11 Feb 2019 10:37: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: 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: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-88147-4-xv6CzneScg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88147-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88147-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: 2019-02/txt/msg01488.txt.bz2
Content-length: 346

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

--- Comment #14 from Martin Liška <marxin at gcc dot gnu.org> ---
Created attachment 45653
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45653&action=edit
Patch candidate

Patch candidate that survives both reduced and not reduced test-cases.
David does the patch make sense?
>From gcc-bugs-return-633187-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 10:37:30 2019
Return-Path: <gcc-bugs-return-633187-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92105 invoked by alias); 11 Feb 2019 10:37: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 90826 invoked by uid 48); 11 Feb 2019 10:37:26 -0000
From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libbacktrace/81983] libbacktrace calls bsearch with NULL base
Date: Mon, 11 Feb 2019 10:37:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libbacktrace
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vries at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-81983-4-yT9HsyDFcE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81983-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81983-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: 2019-02/txt/msg01489.txt.bz2
Content-length: 931

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

--- Comment #4 from Tom de Vries <vries at gcc dot gnu.org> ---
Ian, how do you want this fixed?

We could add a safe_bsearch:
...
diff --git a/libbacktrace/internal.h b/libbacktrace/internal.h
index 065b9535e8b..7d9aa5e88c5 100644
--- a/libbacktrace/internal.h
+++ b/libbacktrace/internal.h
@@ -317,4 +317,13 @@ extern int backtrace_uncompress_zdebug (struct
backtrace_state *,
                                        unsigned char **uncompressed,
                                        size_t *uncompressed_size);

+static inline void *
+safe_bsearch (const void *key, const void *base, size_t nel, size_t width,
+             int (*compar)(const void *, const void *))
+{
+  return (base == NULL
+         ? NULL
+         : bsearch (key, base, nel, width, compar));
+}
+
 #endif
...
and do a:
...
$ sed -i \
    "s/bsearch (/safe_bsearch (/g" \
    libbacktrace/*
...
>From gcc-bugs-return-633188-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 10:40:36 2019
Return-Path: <gcc-bugs-return-633188-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109695 invoked by alias); 11 Feb 2019 10:40:36 -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 109611 invoked by uid 55); 11 Feb 2019 10:40:33 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/88714] [9 regression] bootstrap comparison failure on armv7l since r265398
Date: Mon, 11 Feb 2019 10:40: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: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
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-88714-4-iS8SspIsvV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88714-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88714-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: 2019-02/txt/msg01490.txt.bz2
Content-length: 455

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

--- Comment #44 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Feb 11 10:39:59 2019
New Revision: 268766

URL: https://gcc.gnu.org/viewcvs?rev=268766&root=gcc&view=rev
Log:
        PR bootstrap/88714
        * config/arm/ldrdstrd.md (*arm_ldrd, *arm_strd): Use q constraint
        instead of r.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/ldrdstrd.md
>From gcc-bugs-return-633189-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 10:48:48 2019
Return-Path: <gcc-bugs-return-633189-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19050 invoked by alias); 11 Feb 2019 10:48:36 -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 18656 invoked by uid 48); 11 Feb 2019 10:48:24 -0000
From: "perini at wisc dot edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89282] New: Garbage arithmetics results in fortran with -O3 and overloaded operators
Date: Mon, 11 Feb 2019 10:48: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: 6.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: perini at wisc dot edu
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-89282-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: 2019-02/txt/msg01491.txt.bz2
Content-length: 1788

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

            Bug ID: 89282
           Summary: Garbage arithmetics results in fortran with -O3 and
                    overloaded operators
           Product: gcc
           Version: 6.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: perini at wisc dot edu
  Target Milestone: ---

Created attachment 45654
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45654&action=edit
Small test program reproducing the error

Hi, 

I'm getting garbage results out of simple arithmetics (i.e., A minus B) when
called in from a derived type, and defined using array-based notation. The
problem only appears when compiling using -O3 optimization flag

I am not sure whether this issue comes from wrong array bounds checking or its
related with the processor's cacheline. It seems that the error appears only
for some specific array sizes, i.e., n=5. Anyway, the attached program
reproduces the error with gcc/gfortran 6.2.0 on Windows:

The program is trying to compute 3.d0 - [(1.d0, j=1,5)], where the data array
is contained in a derived type, and the "scalar minus array" operation is
performed using an overloaded operator. All array elements from the test should
return 2.d0. 
Compiled using:

gfortran -O3 test_gcc_overloaded.f90

it returns:

$ a.exe
type(t) object <r1>, size=5
  x(1) = 2.00000E+00
  x(2) = 2.00000E+00
  x(3) = 2.00000E+00
  x(4) = 2.00000E+00
  x(5) = 4.46848-317
type(t) object <r1>, size=6
  x(1) = 2.00000E+00
  x(2) = 2.00000E+00
  x(3) = 2.00000E+00
  x(4) = 2.00000E+00
  x(5) = 2.00000E+00
  x(6) = 2.00000E+00

Thanks,
Federico
>From gcc-bugs-return-633190-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 10:54:09 2019
Return-Path: <gcc-bugs-return-633190-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31521 invoked by alias); 11 Feb 2019 10:54: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 31389 invoked by uid 55); 11 Feb 2019 10:54:03 -0000
From: "hubicka at ucw dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/87525] [7/8/9 Regression] infinite loop generated for fread() if enabling -flto and -D_FORTIFY_SOURCE=2
Date: Mon, 11 Feb 2019 10:54: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: 7.3.1
X-Bugzilla-Keywords: lto, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at ucw dot cz
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87525-4-AhGKo7z1wx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87525-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87525-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: 2019-02/txt/msg01492.txt.bz2
Content-length: 1824

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

--- Comment #17 from Jan Hubicka <hubicka at ucw dot cz> ---
> GNU extern inline is an extension, so is covered by whatever we define (or
> should have defined).  We've never required that the out of line and inline
> definitions are the same or in any way similar (prototypes have to match
> obviously), though without always_inline it is a compiler's choice what it will
> pick, whether it decides to inline it or not.  AFAIK __fortify_function are
> extern inline __attribute__((always_inline, gnu_inline, aritifical)), so at
> that point the compiler needs to do what it is told, if it is possible to
> inline at all, inline, period.

The problem here is situation where indirect calls are present to the
fortified wraper.  This is usual issue with always_inline not really
having the meaning "this function will always be inlined" becuase
it may be called indirectly but also directly if indirect call was
optimized to direct call too late in the optimization queue.  We never
promised anything in this direction.

The harder problem here is the situation where both fortify wrapper and
the real function iplementation ends up in one translation unit (at LTO
time) that is something not really used before though it could be done
using asm("symbol_name") trickery which would not work very reliably.
The question is how invasiave changes we want to deploy to solve this
scenario and to what degree we want to commit supporting this in future.

We may also simply drop all those functions after early inlining and not
even consider fortifying calls turned form indirect to direct calls at
LTO time. The question would be whether to do that for all gnu_inlines
(and thus reduce their ability to be inlined through indirect calls) or
be bit more fine grained.
>From gcc-bugs-return-633191-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 11:05:26 2019
Return-Path: <gcc-bugs-return-633191-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91584 invoked by alias); 11 Feb 2019 11:05: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 91489 invoked by uid 48); 11 Feb 2019 11:05:17 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89282] Garbage arithmetics results in fortran with -O3 and overloaded operators
Date: Mon, 11 Feb 2019 11:05: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: 6.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: WAITING
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-89282-4-Rpgt4OxI1S@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89282-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89282-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: 2019-02/txt/msg01493.txt.bz2
Content-length: 670

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2019-02-11
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
WORKSFORME on darwin for all the revisions I have tried from 4.8 up to trunk
(9.0), except 4.9 and 5.3 r234496, but 5.4 r253506 works as expected.

What is the output of gfortran -v?
>From gcc-bugs-return-633193-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 11:14:54 2019
Return-Path: <gcc-bugs-return-633193-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2034 invoked by alias); 11 Feb 2019 11:14: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 1948 invoked by uid 48); 11 Feb 2019 11:14:50 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/87525] [7/8/9 Regression] infinite loop generated for fread() if enabling -flto and -D_FORTIFY_SOURCE=2
Date: Mon, 11 Feb 2019 11:14: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: 7.3.1
X-Bugzilla-Keywords: lto, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-87525-4-ZUeG5YNFCS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87525-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87525-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: 2019-02/txt/msg01495.txt.bz2
Content-length: 813

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|jakub at redhat dot com            |

--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Sure, if it is originally an indirect call, it is a best effort, if we can
optimize it into a direct call early enough, we can inline and thus do the
inline definition, if not, we do the out of line definition.  I'd say
regardless of whether in the end it is in the same TU or different TU. 
Essentially after the IPA passes (or even when IPA inlining is finished) the
inline definition should be thrown away (except perhaps for debug info
purposes.
>From gcc-bugs-return-633192-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 11:14:26 2019
Return-Path: <gcc-bugs-return-633192-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 928 invoked by alias); 11 Feb 2019 11:14:26 -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 863 invoked by uid 48); 11 Feb 2019 11:14:22 -0000
From: "perini at wisc dot edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89282] Garbage arithmetics results in fortran with -O3 and overloaded operators
Date: Mon, 11 Feb 2019 11:14: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: 6.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: perini at wisc dot edu
X-Bugzilla-Status: WAITING
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-89282-4-r8s3nFasV9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89282-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89282-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: 2019-02/txt/msg01494.txt.bz2
Content-length: 1447

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

--- Comment #2 from federico <perini at wisc dot edu> ---
$ gfortran -v
Built by Equation Solution <http://www.Equation.com>.
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=c:/users/federico/gcc-6.2.0/bin/../libexec/gcc/x86_64-w64-mingw32/6.2.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../gcc-6.2.0-mingw/configure --host=x86_64-w64-mingw32
--build=x86_64-unknown-linux-gnu --target=x86_64-w64-mingw32
--prefix=/home/gfortran/gcc-home/binary/mingw32/native/x86_64/gcc/6.2.0
--with-sysroot=/home/gfortran/gcc-home/binary/mingw32/cross/x86_64/gcc/6-20150531
--with-gcc --with-gnu-ld --with-gnu-as
--with-gmp=/home/gfortran/gcc-home/binary/mingw32/native/x86_64/gmp
--with-mpfr=/home/gfortran/gcc-home/binary/mingw32/native/x86_64/mpfr
--with-mpc=/home/gfortran/gcc-home/binary/mingw32/native/x86_64/mpc
--with-cloog=/home/gfortran/gcc-home/binary/mingw32/native/x86_64/cloog
--with-diagnostics-color=auto-if-env --enable-cloog-backend=isl
--enable-targets=i686-w64-mingw32,x86_64-w64-mingw32 --enable-lto
--enable-languages=c,c++,fortran --enable-threads=win32 --enable-static
--enable-shared=lto-plugin --enable-plugins --enable-ld=yes
--enable-libquadmath --enable-libquadmath-support --enable-libgomp
--disable-checking --disable-nls --disable-tls --disable-win32-registry
Thread model: win32
gcc version 6.2.0 (GCC)
>From gcc-bugs-return-633194-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 11:17:53 2019
Return-Path: <gcc-bugs-return-633194-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 70273 invoked by alias); 11 Feb 2019 11:17:52 -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 70224 invoked by uid 48); 11 Feb 2019 11:17:48 -0000
From: "perini at wisc dot edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89282] Garbage arithmetics results in fortran with -O3 and overloaded operators
Date: Mon, 11 Feb 2019 11:17: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: 6.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: perini at wisc dot edu
X-Bugzilla-Status: WAITING
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-89282-4-3vVc0dzPkN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89282-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89282-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: 2019-02/txt/msg01496.txt.bz2
Content-length: 949

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

--- Comment #3 from federico <perini at wisc dot edu> ---
Thanks Dominique.
- Output from gcc 5.3.0 has the same issue: 

type(t) object <r1>, size=5
  x(1) = 2.00000E+00
  x(2) = 2.00000E+00
  x(3) = 2.00000E+00
  x(4) = 2.00000E+00
  x(5) = 4.25474E+15
type(t) object <r1>, size=6
  x(1) = 2.00000E+00
  x(2) = 2.00000E+00
  x(3) = 2.00000E+00
  x(4) = 2.00000E+00
  x(5) = 2.00000E+00
  x(6) = 2.00000E+00

- Output from gcc 7.4.0 doesn't have this issue anymore:

type(t) object <r1>, size=5
  x(1) = 2.00000E+00
  x(2) = 2.00000E+00
  x(3) = 2.00000E+00
  x(4) = 2.00000E+00
  x(5) = 2.00000E+00
type(t) object <r1>, size=6
  x(1) = 2.00000E+00
  x(2) = 2.00000E+00
  x(3) = 2.00000E+00
  x(4) = 2.00000E+00
  x(5) = 2.00000E+00
  x(6) = 2.00000E+00

Maybe it's been solved as part of other bugs I couldn't find by searching?

Federico
>From gcc-bugs-return-633195-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 11:24:29 2019
Return-Path: <gcc-bugs-return-633195-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81407 invoked by alias); 11 Feb 2019 11:24: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 81191 invoked by uid 48); 11 Feb 2019 11:24:15 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/88147] [9 Regression] ICE in linemap_line_start, at libcpp/line-map.c:781 starting from r265875
Date: Mon, 11 Feb 2019 11: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: 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: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-88147-4-z3lZVmokiC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88147-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88147-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: 2019-02/txt/msg01497.txt.bz2
Content-length: 1050

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

--- Comment #15 from Martin Liška <marxin at gcc dot gnu.org> ---
During the bug investigation I noticed a strange thing in line-map.c:

   700    if (line_delta < 0
   701        || (line_delta > 10
   702            && line_delta * map->m_column_and_range_bits > 1000)
   703        || (max_column_hint >= (1U << effective_column_bits))
   704        || (max_column_hint <= 80 && effective_column_bits >= 10)
   705        || (highest > LINE_MAP_MAX_LOCATION_WITH_PACKED_RANGES
   706            && map->m_range_bits > 0)
   707        || (highest > LINE_MAP_MAX_LOCATION_WITH_COLS
   708            && (set->max_column_hint || highest >=
LINE_MAP_MAX_LOCATION)))
   709      add_map = true;

m_column_and_range_bits > 1000 is always false as:

  /* Number of the low-order source_location bits used for column numbers
     and ranges.  */
  unsigned int m_column_and_range_bits : 8;

and the sub-expression on lines 701 and 702 is ugly as well.
What's the purpose of the check?
>From gcc-bugs-return-633196-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 11:49:21 2019
Return-Path: <gcc-bugs-return-633196-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125877 invoked by alias); 11 Feb 2019 11:49: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 120891 invoked by uid 48); 11 Feb 2019 11:49:17 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89282] Garbage arithmetics results in fortran with -O3 and overloaded operators
Date: Mon, 11 Feb 2019 11:49: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: 6.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: WAITING
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-89282-4-rLqI1CfKve@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89282-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89282-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: 2019-02/txt/msg01498.txt.bz2
Content-length: 325

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

--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Maybe it's been solved as part of other bugs I couldn't find by searching?

I don't think it is worth the effort to find when this has been fixed. I'll
commit your test and close the PR as FIXED.
>From gcc-bugs-return-633197-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 11:52:25 2019
Return-Path: <gcc-bugs-return-633197-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29604 invoked by alias); 11 Feb 2019 11:52: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 24837 invoked by uid 48); 11 Feb 2019 11:52:21 -0000
From: "ohaiziejohwahkeezuoz at xff dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89260] ICE in read_cgraph_and_symbols, at lto/lto.c:2800 while compiling harfbuzz
Date: Mon, 11 Feb 2019 11:52: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ohaiziejohwahkeezuoz at xff dot cz
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89260-4-C7eVEE7nej@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89260-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89260-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: 2019-02/txt/msg01499.txt.bz2
Content-length: 1240

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

--- Comment #4 from ohaiziejohwahkeezuoz at xff dot cz ---
See Comment 1 please.

CFLAGS for gcc are in Comment 2. Just "-ggdb -Og".

Failing cross-compiler is built on Arch Linux, with the default compiler:

# gcc --verbose

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib
--libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info
--with-bugurl=https://bugs.archlinux.org/
--enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared
--enable-threads=posix --enable-libmpx --with-system-zlib --with-isl
--enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu
--disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object
--enable-linker-build-id --enable-lto --enable-plugin
--enable-install-libiberty --with-linker-hash-style=gnu
--enable-gnu-indirect-function --enable-multilib --disable-werror
--enable-checking=release --enable-default-pie --enable-default-ssp
--enable-cet=auto
Thread model: posix
gcc version 8.2.1 20181127 (GCC)
>From gcc-bugs-return-633198-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 11:59:57 2019
Return-Path: <gcc-bugs-return-633198-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44822 invoked by alias); 11 Feb 2019 11:59:57 -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 44653 invoked by uid 48); 11 Feb 2019 11:59:53 -0000
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89283] New: [8/9 Regression] ICE: Segmentation fault (in stmt_could_throw_1_p)
Date: Mon, 11 Feb 2019 11:59: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: EH, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: asolokha at gmx 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 keywords bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-89283-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: 2019-02/txt/msg01500.txt.bz2
Content-length: 2848

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

            Bug ID: 89283
           Summary: [8/9 Regression] ICE: Segmentation fault (in
                    stmt_could_throw_1_p)
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: EH, ice-on-invalid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---

gcc-9.0.0-alpha20190210 snapshot (r268755) ICEs when compiling the following
testcase containing a call of function w/ returns_twice attribute:

__attribute__ ((returns_twice)) int
zn (void);

int
sz (int i0)
{
  return zn ();
  return zn () < i0 + 2;
}

% gcc-9.0.0-alpha20190210 -fexceptions -fnon-call-exceptions -c vhkmslon.c      
during GIMPLE pass: cfg
vhkmslon.c: In function 'sz':
vhkmslon.c:5:1: internal compiler error: Segmentation fault
    5 | sz (int i0)
      | ^~
0xd6f9bf crash_signal
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190210/work/gcc-9-20190210/gcc/toplev.c:326
0xdd1f38 stmt_could_throw_1_p
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190210/work/gcc-9-20190210/gcc/tree-eh.c:2819
0xdd1f38 stmt_could_throw_p(function*, gimple*)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190210/work/gcc-9-20190210/gcc/tree-eh.c:2884
0xdd21b4 stmt_could_throw_p(function*, gimple*)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190210/work/gcc-9-20190210/gcc/tree-eh.c:2856
0xdd21b4 stmt_can_throw_internal(function*, gimple*)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190210/work/gcc-9-20190210/gcc/tree-eh.c:2948
0xdb539f gimple_verify_flow_info
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190210/work/gcc-9-20190210/gcc/tree-cfg.c:5541
0x91778c verify_flow_info()
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190210/work/gcc-9-20190210/gcc/cfghooks.c:263
0xdc1774 checking_verify_flow_info
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190210/work/gcc-9-20190210/gcc/cfghooks.h:198
0xdc1774 cleanup_tree_cfg_noloop
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190210/work/gcc-9-20190210/gcc/tree-cfgcleanup.c:938
0xdc1774 cleanup_tree_cfg()
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190210/work/gcc-9-20190210/gcc/tree-cfgcleanup.c:989
0xdbcede execute_build_cfg
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190210/work/gcc-9-20190210/gcc/tree-cfg.c:415
0xdbcede execute
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190210/work/gcc-9-20190210/gcc/tree-cfg.c:444

I'm not sure whether it is a duplicate of PR89280.
>From gcc-bugs-return-633199-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 12:02:59 2019
Return-Path: <gcc-bugs-return-633199-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52806 invoked by alias); 11 Feb 2019 12:02: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 52723 invoked by uid 48); 11 Feb 2019 12:02:53 -0000
From: "ohaiziejohwahkeezuoz at xff dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89260] ICE in read_cgraph_and_symbols, at lto/lto.c:2800 while compiling harfbuzz
Date: Mon, 11 Feb 2019 12:02: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ohaiziejohwahkeezuoz at xff dot cz
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89260-4-0f9jbz5tje@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89260-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89260-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: 2019-02/txt/msg01501.txt.bz2
Content-length: 815

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

--- Comment #5 from ohaiziejohwahkeezuoz at xff dot cz ---
Reproducing this might be somewhat complicated, because harfbuzz has some
dependencies, which would also needed to be built. But I have captured the
failing command, and can run gdb on it interactively after segault, so if you
have any suggestions on what to look for, or how to extract more detail other
than the backtrace I've provided, I can do some debugging on my side.

It's failing at the final linking step (probably during the load/parsing of lto
object files from disk), where all the many object files are processed by the
LTO, so I can't provide the reduced testcase.

I'll check if harfbuzz 2.3.1 builds with gcc 8.2.0 (2.3.0 did, so that might
help in reducing the search space).
>From gcc-bugs-return-633200-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 12:21:10 2019
Return-Path: <gcc-bugs-return-633200-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23811 invoked by alias); 11 Feb 2019 12:21: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 23732 invoked by uid 48); 11 Feb 2019 12:21:06 -0000
From: "ohaiziejohwahkeezuoz at xff dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89260] ICE in read_cgraph_and_symbols, at lto/lto.c:2800 while compiling harfbuzz
Date: Mon, 11 Feb 2019 12:21: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ohaiziejohwahkeezuoz at xff dot cz
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89260-4-4AeNWcGrPC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89260-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89260-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: 2019-02/txt/msg01502.txt.bz2
Content-length: 382

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

--- Comment #6 from ohaiziejohwahkeezuoz at xff dot cz ---
One question. Are the LTO object files built with gcc 8.2.0 supposed to be
compatible with those built with 8.2 branch tip? I have static library
dependencies that are also compiled with LTO, but with gcc 8.2.0.

Gcc doesn't complain about any version mismatch though.
>From gcc-bugs-return-633201-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 12:51:19 2019
Return-Path: <gcc-bugs-return-633201-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55422 invoked by alias); 11 Feb 2019 12:51:18 -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 54382 invoked by uid 48); 11 Feb 2019 12:51:14 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89229] [7/8 Regression] Unnecessary ZMM in movoi_internal_avx/movti_internal
Date: Mon, 11 Feb 2019 12:51: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89229-4-H48QsW1gR3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89229-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89229-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: 2019-02/txt/msg01503.txt.bz2
Content-length: 1552

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

--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> ---
[hjl@gnu-cfl-1 gcc]$ cat
/export/gnu/import/git/gitlab/x86-gcc/gcc/testsuite/gcc.target/i386/pr89029-1.c
/* { dg-do assemble { target { avx512bw && avx512vl } } } */
/* { dg-options "-O1 -mavx512bw -mavx512vl -mtune=skylake-avx512" } */

extern void abort (void);
extern void exit (int);
struct s { unsigned char a[256]; };
union u { struct { struct s b; int c; } d; struct { int c; struct s b; } e; };
static union u v;
static union u v0;
static struct s *p = &v.d.b;
static struct s *q = &v.e.b;

static inline struct s rp (void) { return *p; }
static inline struct s rq (void) { return *q; }
static void pq (void) { *p = rq(); }
static void qp (void) { *q = rp(); }

static void
init (struct s *sp)
{
  int i;
  for (i = 0; i < 256; i++)
    sp->a[i] = i;
}

static void
check (struct s *sp)
{
  int i;
  for (i = 0; i < 256; i++)
    if (sp->a[i] != i)
      abort ();
}

void
main_test (void)
{
  v = v0;
  init (p);
  qp ();
  check (q);
  v = v0;
  init (q);
  pq ();
  check (p);
  exit (0);
}
[hjl@gnu-cfl-1 gcc]$ ./xgcc -B./ -c -O1 -mavx512bw -mavx512vl
/export/gnu/import/git/gitlab/x86-gcc/gcc/testsuite/gcc.target/i386/pr89029-1.c
-march=skylake-avx512
/tmp/ccqZUBNW.s: Assembler messages:
/tmp/ccqZUBNW.s:34: Error: unsupported instruction `vmovdqa'
/tmp/ccqZUBNW.s:35: Error: unsupported instruction `vmovdqa'
/tmp/ccqZUBNW.s:36: Error: unsupported instruction `vmovdqa'
[hjl@gnu-cfl-1 gcc]$
>From gcc-bugs-return-633202-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 12:55:04 2019
Return-Path: <gcc-bugs-return-633202-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80419 invoked by alias); 11 Feb 2019 12:55:04 -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 75241 invoked by uid 48); 11 Feb 2019 12:54:59 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89260] ICE in read_cgraph_and_symbols, at lto/lto.c:2800 while compiling harfbuzz
Date: Mon, 11 Feb 2019 12:55: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89260-4-svT6K8mne9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89260-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89260-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: 2019-02/txt/msg01504.txt.bz2
Content-length: 1320

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

--- Comment #7 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to ohaiziejohwahkeezuoz from comment #5)
> Reproducing this might be somewhat complicated, because harfbuzz has some
> dependencies, which would also needed to be built. But I have captured the
> failing command, and can run gdb on it interactively after segault, so if
> you have any suggestions on what to look for, or how to extract more detail
> other than the backtrace I've provided, I can do some debugging on my side.
> 
> It's failing at the final linking step (probably during the load/parsing of
> lto object files from disk), where all the many object files are processed
> by the LTO, so I can't provide the reduced testcase.
> 
> I'll check if harfbuzz 2.3.1 builds with gcc 8.2.0 (2.3.0 did, so that might
> help in reducing the search space).

I would like to get a reproducible test-case. You can run the linking command
line with --save-temps --verbose. And then you can reduce number of objects
needed. For .a files, one would need to extract them and provide .o files on
command line. Doing that one can get minimal set of objects. And then you can
create pre-processed files for these (-E option). It will generate a minimal
reproducible test-case.
>From gcc-bugs-return-633204-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 12:56:56 2019
Return-Path: <gcc-bugs-return-633204-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96052 invoked by alias); 11 Feb 2019 12:56:55 -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 95565 invoked by uid 48); 11 Feb 2019 12:56:49 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89282] Garbage arithmetics results in fortran with -O3 and overloaded operators
Date: Mon, 11 Feb 2019 12:56: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: 6.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-89282-4-605G1U8Zeh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89282-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89282-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: 2019-02/txt/msg01506.txt.bz2
Content-length: 590

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
It stopped failing with r240291, but because it just added early VRP, it just
went latent.  With -O3 -fno-tree-vrp it was miscompiled until r240303 aka
PR77648 fix.  That fix has been backported to 6.3 and 5.5.
>From gcc-bugs-return-633203-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 12:56:51 2019
Return-Path: <gcc-bugs-return-633203-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95572 invoked by alias); 11 Feb 2019 12:56: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 95525 invoked by uid 48); 11 Feb 2019 12:56:46 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89260] ICE in read_cgraph_and_symbols, at lto/lto.c:2800 while compiling harfbuzz
Date: Mon, 11 Feb 2019 12:56: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89260-4-C9DjFwnKKp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89260-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89260-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: 2019-02/txt/msg01505.txt.bz2
Content-length: 671

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

--- Comment #8 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to ohaiziejohwahkeezuoz from comment #6)
> One question. Are the LTO object files built with gcc 8.2.0 supposed to be
> compatible with those built with 8.2 branch tip? I have static library
> dependencies that are also compiled with LTO, but with gcc 8.2.0.
> 
> Gcc doesn't complain about any version mismatch though.

We have a LTO bytecode check, so that should be fine. However I would start
with excluding of these static archives from the linking command line. Maybe we
forgot to bump LTO format in between 8.2.0 and 8.2 tip.
>From gcc-bugs-return-633205-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 12:57:37 2019
Return-Path: <gcc-bugs-return-633205-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5564 invoked by alias); 11 Feb 2019 12:57: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 123438 invoked by uid 55); 11 Feb 2019 12:57:32 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89023] libstdc++ test failure; can't find omp.h with --disable-libgomp
Date: Mon, 11 Feb 2019 12:57:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
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:
Message-ID: <bug-89023-4-DlmWiARINc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89023-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89023-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: 2019-02/txt/msg01507.txt.bz2
Content-length: 1723

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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Mon Feb 11 12:56:59 2019
New Revision: 268769

URL: https://gcc.gnu.org/viewcvs?rev=268769&root=gcc&view=rev
Log:
PR libstdc++/89023 fix test that fails when <omp.h> not available

Instead of a single test that only checks whether <regex> can be
included in Parallel Mode, add tests for each of C++11/C++14/C++17 that
check whether <bits/extc++.h> is compatible with _GLIBCXX_PARALLEL.
This increases the coverage to (almost) all headers.

If <omp.h> is not available then the tests will trivially pass, because
we don't care about compatibility with _GLIBCXX_PARALLEL in that case.

        PR libstdc++/89023
        * testsuite/17_intro/headers/c++2011/parallel_mode.cc: New test.
        * testsuite/17_intro/headers/c++2014/parallel_mode.cc: New test.
        * testsuite/17_intro/headers/c++2017/parallel_mode.cc: New test.
        * testsuite/28_regex/headers/regex/parallel_mode.cc: Remove.

Added:
    trunk/libstdc++-v3/testsuite/17_intro/headers/c++2011/parallel_mode.cc
      - copied, changed from r268767,
trunk/libstdc++-v3/testsuite/28_regex/headers/regex/parallel_mode.cc
    trunk/libstdc++-v3/testsuite/17_intro/headers/c++2014/parallel_mode.cc
      - copied, changed from r268767,
trunk/libstdc++-v3/testsuite/28_regex/headers/regex/parallel_mode.cc
    trunk/libstdc++-v3/testsuite/17_intro/headers/c++2017/parallel_mode.cc
      - copied, changed from r268767,
trunk/libstdc++-v3/testsuite/28_regex/headers/regex/parallel_mode.cc
Removed:
    trunk/libstdc++-v3/testsuite/28_regex/headers/regex/parallel_mode.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
>From gcc-bugs-return-633207-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 12:59:38 2019
Return-Path: <gcc-bugs-return-633207-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61366 invoked by alias); 11 Feb 2019 12:59:36 -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 61078 invoked by uid 48); 11 Feb 2019 12:59:31 -0000
From: "ohaiziejohwahkeezuoz at xff dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89260] ICE in read_cgraph_and_symbols, at lto/lto.c:2800 while compiling harfbuzz
Date: Mon, 11 Feb 2019 12:59: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ohaiziejohwahkeezuoz at xff dot cz
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89260-4-AB3WgqOilD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89260-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89260-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: 2019-02/txt/msg01509.txt.bz2
Content-length: 534

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

--- Comment #9 from ohaiziejohwahkeezuoz at xff dot cz ---
The build of harfbuzz 2.3.1 with gcc 8.2.0 succeeds.

I can also confirm that re-building all dependencies of harfbuzz with 8.2
branch rev268702 also succeeds.

So the issue is with 8.2.1 not being able to use/read LTO objects built with
8.2.0 in some specific cases (triggered by harfbuzz C++ code for me).

So if LTO object files are not supposed to be compatible between even minor gcc
releases, this can be closed.
>From gcc-bugs-return-633206-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 12:59:05 2019
Return-Path: <gcc-bugs-return-633206-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58839 invoked by alias); 11 Feb 2019 12:59: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 58760 invoked by uid 48); 11 Feb 2019 12:59:01 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89023] libstdc++ test failure; can't find omp.h with --disable-libgomp
Date: Mon, 11 Feb 2019 12:59:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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 target_milestone
Message-ID: <bug-89023-4-H3hZ34ozo1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89023-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89023-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: 2019-02/txt/msg01508.txt.bz2
Content-length: 2258

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |9.0

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Should be fixed now.

We could also do something like the following, but I don't think it's worth
bothering with:

diff --git a/libstdc++-v3/include/bits/algorithmfwd.h
b/libstdc++-v3/include/bits/algorithmfwd.h
index 40e051aa9e3..72b37026836 100644
--- a/libstdc++-v3/include/bits/algorithmfwd.h
+++ b/libstdc++-v3/include/bits/algorithmfwd.h
@@ -847,7 +847,11 @@ _GLIBCXX_END_NAMESPACE_VERSION
 } // namespace std

 #ifdef _GLIBCXX_PARALLEL
-# include <parallel/algorithmfwd.h>
+# if __has_include(<omp.h>)
+#  include <parallel/algorithmfwd.h>
+# else
+#  warning "_GLIBCXX_PARALLEL is defined, but libgomp is not enabled"
+# endif
 #endif

 #endif
diff --git a/libstdc++-v3/include/bits/stl_algobase.h
b/libstdc++-v3/include/bits/stl_algobase.h
index 2b69e658fe8..463d89b7123 100644
--- a/libstdc++-v3/include/bits/stl_algobase.h
+++ b/libstdc++-v3/include/bits/stl_algobase.h
@@ -1456,7 +1456,11 @@ _GLIBCXX_END_NAMESPACE_VERSION
 // of getting the base algorithms. So, make sure that parallel bits
 // come in too if requested.
 #ifdef _GLIBCXX_PARALLEL
-# include <parallel/algobase.h>
+# if __has_include(<omp.h>)
+#  include <parallel/algobase.h>
+# else
+#  warning "_GLIBCXX_PARALLEL is defined, but libgomp is not enabled"
+# endif
 #endif

 #endif
diff --git a/libstdc++-v3/include/experimental/functional
b/libstdc++-v3/include/experimental/functional
index 90f2652c29b..bcaf9f80ca9 100644
--- a/libstdc++-v3/include/experimental/functional
+++ b/libstdc++-v3/include/experimental/functional
@@ -40,7 +40,7 @@
 #include <vector>
 #include <array>
 #include <bits/stl_algo.h>
-#ifdef _GLIBCXX_PARALLEL
+#if defined _GLIBCXX_PARALLEL && __has_include(<omp.h>)
 # include <parallel/algorithm> // For std::__parallel::search
 #endif
 #include <experimental/bits/lfts_config.h>
>From gcc-bugs-return-633208-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 13:03:48 2019
Return-Path: <gcc-bugs-return-633208-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127383 invoked by alias); 11 Feb 2019 13:03: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 126745 invoked by uid 48); 11 Feb 2019 13:03:40 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89260] ICE in read_cgraph_and_symbols, at lto/lto.c:2800 while compiling harfbuzz
Date: Mon, 11 Feb 2019 13:03: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:
X-Bugzilla-Severity: normal
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status
Message-ID: <bug-89260-4-bsCK2pvz43@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89260-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89260-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: 2019-02/txt/msg01510.txt.bz2
Content-length: 1023

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |ASSIGNED

--- Comment #10 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to ohaiziejohwahkeezuoz from comment #9)
> The build of harfbuzz 2.3.1 with gcc 8.2.0 succeeds.
> 
> I can also confirm that re-building all dependencies of harfbuzz with 8.2
> branch rev268702 also succeeds.
> 
> So the issue is with 8.2.1 not being able to use/read LTO objects built with
> 8.2.0 in some specific cases (triggered by harfbuzz C++ code for me).

Great!

> 
> So if LTO object files are not supposed to be compatible between even minor
> gcc releases, this can be closed.

When there's no change in LTO bytecode than it should be possible. In this case
there's a change. Let me investigate.

Thank you for help!
>From gcc-bugs-return-633209-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 13:08:38 2019
Return-Path: <gcc-bugs-return-633209-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7980 invoked by alias); 11 Feb 2019 13:08: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 7901 invoked by uid 48); 11 Feb 2019 13:08:33 -0000
From: "ohaiziejohwahkeezuoz at xff dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89260] ICE in read_cgraph_and_symbols, at lto/lto.c:2800 while compiling harfbuzz
Date: Mon, 11 Feb 2019 13:08: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ohaiziejohwahkeezuoz at xff dot cz
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89260-4-qb9spJyV3R@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89260-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89260-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: 2019-02/txt/msg01511.txt.bz2
Content-length: 752

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

--- Comment #11 from ohaiziejohwahkeezuoz at xff dot cz ---
(In reply to Martin Liška from comment #8)
> I would like to get a reproducible test-case. You can run the linking
> command line with --save-temps --verbose. And then you can reduce number of
> objects needed. For .a files, one would need to extract them and provide .o
> files on command line. Doing that one can get minimal set of objects. And
> then you can create pre-processed files for these (-E option). It will
> generate a minimal reproducible test-case.

I don't know, the failing command has like 30kB of command line options after
doing what you suggest. It's huuuge for any kind of manual
processing/elimination.
>From gcc-bugs-return-633210-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 13:09:25 2019
Return-Path: <gcc-bugs-return-633210-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9271 invoked by alias); 11 Feb 2019 13:09: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 9235 invoked by uid 48); 11 Feb 2019 13:09:20 -0000
From: "jg at jguk dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89284] New: gcc -fsanitize=undefined inhibits -Wuninitialized
Date: Mon, 11 Feb 2019 13:09: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jg at jguk dot 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-89284-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: 2019-02/txt/msg01512.txt.bz2
Content-length: 1500

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

            Bug ID: 89284
           Summary: gcc -fsanitize=undefined inhibits -Wuninitialized
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jg at jguk dot org
  Target Milestone: ---

Created attachment 45655
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45655&action=edit
test case

Hello

Sanitzer team referred me back to here
https://github.com/google/sanitizers/issues/1045#issuecomment-462197191


test case attached. Is this due to gcc?




$ gcc-8 -Wall -fsanitize=undefined,address -o undef undef.c
undef.c: In function ‘main’:
undef.c:11:13: warning: unused variable ‘b’ [-Wunused-variable]
         t_t b = a;
             ^
jonny@asus:~/code/undef_t$ gcc-8 -Wall -fsanitize=address -o undef undef.c
undef.c: In function ‘main’:
undef.c:11:13: warning: unused variable ‘b’ [-Wunused-variable]
         t_t b = a;
             ^
undef.c:9:15: warning: ‘a.unset.hello’ is used uninitialized in this function
[-Wuninitialized]
     if(a.unset.hello)
        ~~~~~~~^~~~~~
undef.c:11:13: warning: ‘a’ may be used uninitialized in this function
[-Wmaybe-uninitialized]
         t_t b = a;
             ^
jonny@asus:~/code/undef_t$
>From gcc-bugs-return-633211-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 13:13:18 2019
Return-Path: <gcc-bugs-return-633211-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36018 invoked by alias); 11 Feb 2019 13:13: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 35979 invoked by uid 48); 11 Feb 2019 13:13:13 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89260] ICE in read_cgraph_and_symbols, at lto/lto.c:2800 while compiling harfbuzz
Date: Mon, 11 Feb 2019 13:13: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:
X-Bugzilla-Severity: normal
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89260-4-Ave0DJlLEv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89260-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89260-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: 2019-02/txt/msg01513.txt.bz2
Content-length: 359

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

--- Comment #12 from Martin Liška <marxin at gcc dot gnu.org> ---
> I don't know, the failing command has like 30kB of command line options
> after doing what you suggest. It's huuuge for any kind of manual
> processing/elimination.

Sure, now we know the root cause so no test-case would be needed.
>From gcc-bugs-return-633212-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 13:16:06 2019
Return-Path: <gcc-bugs-return-633212-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65368 invoked by alias); 11 Feb 2019 13:16: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 64738 invoked by uid 48); 11 Feb 2019 13:16:00 -0000
From: "guus at debian dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89285] New: ICE after casting the this pointer in the constructor in C++17 mode
Date: Mon, 11 Feb 2019 13:16: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: guus at debian dot 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-89285-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: 2019-02/txt/msg01514.txt.bz2
Content-length: 1528

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

            Bug ID: 89285
           Summary: ICE after casting the this pointer in the constructor
                    in C++17 mode
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: guus at debian dot org
  Target Milestone: ---

Created attachment 45656
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45656&action=edit
Minimal reproducer code

While developing some code that links nested struct variables together in a
linked list at compile time, I got an ICE when I modified my code to, instead
of
storing pointers in the linked list, stored relative offsets. It seems that the
ICE was triggered due to doing a reinterpret_cast<char *>(this) inside a
constructor, although I might be wrong about that.

GCC version: gcc (Debian 8.2.0-20) 8.2.0
System type: Debian GNU/Linux unstable on an AMD64 machine

> g++ -std=c++17 -c reproducer.cc
during RTL pass: expand
reproducer.cc: In function ‘void __static_initialization_and_destruction_0(int,
int)’:
reproducer.cc:11:43: internal compiler error: in expand_expr_real_1, at
expr.c:10043
   *child = reinterpret_cast<char *>(this) - reinterpret_cast<char *>(child);
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0x7f4478edc09a __libc_start_main
        ../csu/libc-start.c:308
>From gcc-bugs-return-633213-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 13:32:41 2019
Return-Path: <gcc-bugs-return-633213-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36195 invoked by alias); 11 Feb 2019 13:32:41 -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 36151 invoked by uid 48); 11 Feb 2019 13:32:36 -0000
From: "guus at debian dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89285] ICE after casting the this pointer in the constructor in C++17 mode
Date: Mon, 11 Feb 2019 13:32: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: guus at debian dot 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-89285-4-551vGu1uYm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89285-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89285-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: 2019-02/txt/msg01515.txt.bz2
Content-length: 300

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

--- Comment #1 from Guus Sliepen <guus at debian dot org> ---
Comment on attachment 45656
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45656
Minimal reproducer code

The while-loop can be removed as well, and it will still give an ICE.
>From gcc-bugs-return-633214-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 13:59:15 2019
Return-Path: <gcc-bugs-return-633214-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111782 invoked by alias); 11 Feb 2019 13:59: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 108970 invoked by uid 48); 11 Feb 2019 13:59:09 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/88920] [9 regression] GCC is not configured to support amdgcn-unknown-amdhsa as offload target
Date: Mon, 11 Feb 2019 13:59:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wschmidt at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: ams at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-88920-4-TmKA18QLqL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88920-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88920-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: 2019-02/txt/msg01516.txt.bz2
Content-length: 2719

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

Bill Schmidt <wschmidt at gcc dot gnu.org> changed:

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

--- Comment #15 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
I don't consider this issue resolved.

Yesterday I did a make-check for a single test case, using
RUNTESTFLAGS="powerpc.exp=srad-modulo.c".  It failed, so I looked in my log
file and saw:

spawn -ignore SIGHUP /home/wschmidt/gcc/build/gcc-mainline-test2/gcc/xgcc
-B/home/wschmidt/gcc/build/gcc-mainline-test2/gcc/
/home/wschmidt/gcc/gcc-mainline-test2/gcc/testsuite/gcc.target/powerpc/srad-modulo.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -O2 -mvsx -lm -o ./srad-modulo.exe^M
^[[01m^[[Kcc1:^[[m^[[K ^[[01;31m^[[Kerror: ^[[m^[[Kargument to
'^[[01m^[[K-O^[[m^[[K' should be a non-negative integer, '^[[01m^[[Kg^[[m^[[K',
'^[[01m^[[Ks^[[m^[[K' or '^[[01m^[[Kfast^[[m^[[K'^M
compiler exited with status 1
Executing on host: /home/wschmidt/gcc/build/gcc-mainline-test2/gcc/xgcc
-B/home/wschmidt/gcc/build/gcc-mainline-test2/gcc/ offload_gcn7262.c   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -foffload=amdgcn-unknown-amdhsa -S -o
offload_gcn7262.s    (timeout = 300)
spawn -ignore SIGHUP /home/wschmidt/gcc/build/gcc-mainline-test2/gcc/xgcc
-B/home/wschmidt/gcc/build/gcc-mainline-test2/gcc/ offload_gcn7262.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -foffload=amdgcn-unknown-amdhsa -S -o
offload_gcn7262.s^M
xgcc: fatal error: GCC is not configured to support amdgcn-unknown-amdhsa as
offload target^M
compilation terminated.^M
compiler exited with status 1
FAIL: gcc.target/powerpc/srad-modulo.c (test for excess errors)
Excess errors:
^[[01m^[[Kcc1:^[[m^[[K ^[[01;31m^[[Kerror: ^[[m^[[Kargument to
'^[[01m^[[K-O^[[m^[[K' should be a non-negative integer, '^[[01m^[[Kg^[[m^[[K',
'^[[01m^[[Ks^[[m^[[K' or '^[[01m^[[Kfast^[[m^[[K'

I was really confused by this (granted, the embedded color codes didn't help),
and if I hadn't already been aware of this bugzilla I wouldn't have known what
to think.  I was able to correct my error, but the existence of this bug wasted
my time and would really have flummoxed anyone who hadn't seen the bug before.

I don't think this should be closed until the problem is resolved when we don't
configure offload targets.  "Just once" is better than 420 times, but it's
still wrong.
>From gcc-bugs-return-633215-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 14:08:48 2019
Return-Path: <gcc-bugs-return-633215-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35701 invoked by alias); 11 Feb 2019 14:08: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 35623 invoked by uid 48); 11 Feb 2019 14:08:43 -0000
From: "dan.raviv at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85250] Builtin operator overload resolution fails to consider user-defined conversion template
Date: Mon, 11 Feb 2019 14:08: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.0.1
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dan.raviv 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: cc
Message-ID: <bug-85250-4-3Nxzprzzb5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85250-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85250-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: 2019-02/txt/msg01517.txt.bz2
Content-length: 565

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

Dan Raviv <dan.raviv at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dan.raviv at gmail dot com

--- Comment #1 from Dan Raviv <dan.raviv at gmail dot com> ---
See also
https://stackoverflow.com/questions/54591524/use-of-overloaded-operator-is-ambiguous-with-template-cast-operator
for a case of misrecognition of the template conversion function.
>From gcc-bugs-return-633216-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 14:13:51 2019
Return-Path: <gcc-bugs-return-633216-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106260 invoked by alias); 11 Feb 2019 14:13: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 106171 invoked by uid 48); 11 Feb 2019 14:13:46 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/88920] [9 regression] GCC is not configured to support amdgcn-unknown-amdhsa as offload target
Date: Mon, 11 Feb 2019 14:13:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: ams at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88920-4-BDMICSkyPK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88920-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88920-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: 2019-02/txt/msg01518.txt.bz2
Content-length: 1224

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

--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I don't see why this should be reopened.  Many of the effective target
procedures leave some output in the log files, that is completely normal.  Why
should this one be an exception?
E.g.
spawn -ignore SIGHUP /home/jakub/src/gcc/obj14/gcc/testsuite/g++3/../../xg++
-B/home/jakub/src/gcc/obj14/gcc/testsuite/g++3/../../ -fsanitize=address -g
-I/home/jakub/src/gcc/gcc/testsuite/../../libsanitizer/include
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -nostdinc++
-I/home/jakub/src/gcc/obj14/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu
-I/home/jakub/src/gcc/obj14/x86_64-pc-linux-gnu/libstdc++-v3/include
-I/home/jakub/src/gcc/libstdc++-v3/libsupc++
-I/home/jakub/src/gcc/libstdc++-v3/include/backward
-I/home/jakub/src/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -c -o
ilp3225692.o ilp3225692.c
ilp3225692.c:4:35: error: narrowing conversion of '-1' from 'int' to 'long
unsigned int'  [-Wnarrowing]
ilp3225692.c:4:27: error: size of array 'dummy' is negative
compiler exited with status 1
from failed ilp32 test, many others.
>From gcc-bugs-return-633217-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 14:28:20 2019
Return-Path: <gcc-bugs-return-633217-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49710 invoked by alias); 11 Feb 2019 14:28:19 -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 49636 invoked by uid 48); 11 Feb 2019 14:28:15 -0000
From: "ams at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/88920] [9 regression] GCC is not configured to support amdgcn-unknown-amdhsa as offload target
Date: Mon, 11 Feb 2019 14:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ams at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: ams at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88920-4-28KW57V8AG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88920-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88920-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: 2019-02/txt/msg01519.txt.bz2
Content-length: 340

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

--- Comment #17 from Andrew Stubbs <ams at gcc dot gnu.org> ---
If this is going to annoy a lot of people then I suppose I could add an
additional message stating that the error can safely be ignored?

Or, maybe there's a way to silence/hide the output from
check_no_compiler_messages?
>From gcc-bugs-return-633218-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 14:36:40 2019
Return-Path: <gcc-bugs-return-633218-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76591 invoked by alias); 11 Feb 2019 14:36: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 76533 invoked by uid 48); 11 Feb 2019 14:36:36 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/88920] [9 regression] GCC is not configured to support amdgcn-unknown-amdhsa as offload target
Date: Mon, 11 Feb 2019 14:36:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wschmidt at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: ams at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88920-4-P68biMgzoF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88920-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88920-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: 2019-02/txt/msg01520.txt.bz2
Content-length: 476

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

--- Comment #18 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #16)
> I don't see why this should be reopened.  Many of the effective target
> procedures leave some output in the log files, that is completely normal. 
> Why should this one be an exception?

This is running a test that nobody asked for.  I don't understand why the
effective target is even being checked!!
>From gcc-bugs-return-633219-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 14:38:26 2019
Return-Path: <gcc-bugs-return-633219-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79330 invoked by alias); 11 Feb 2019 14:38:26 -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 79246 invoked by uid 48); 11 Feb 2019 14:38:22 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/88920] [9 regression] GCC is not configured to support amdgcn-unknown-amdhsa as offload target
Date: Mon, 11 Feb 2019 14:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wschmidt at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: ams at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88920-4-2X4QRSsIVa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88920-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88920-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: 2019-02/txt/msg01521.txt.bz2
Content-length: 292

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

--- Comment #19 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Specifially, I asked to compile only srad-modulo.c, but I end up with a
compilation of offload_gcn7262.c in my log when I do not configure in any way
to test for this.
>From gcc-bugs-return-633220-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 14:43:31 2019
Return-Path: <gcc-bugs-return-633220-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106725 invoked by alias); 11 Feb 2019 14:43: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 106626 invoked by uid 48); 11 Feb 2019 14:43:25 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/88920] [9 regression] GCC is not configured to support amdgcn-unknown-amdhsa as offload target
Date: Mon, 11 Feb 2019 14:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: ams at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88920-4-7FbxI4tvUQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88920-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88920-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: 2019-02/txt/msg01522.txt.bz2
Content-length: 790

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

--- Comment #20 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Various effective targets are checked already in the initialization of various
*.exp, etc.  E.g. struct-layout-1.exp checks
check_effective_target_short_enums, gomp.exp checks
check_effective_target_fopenmp, dfp.exp checks dfp effective target, lto.exp
lto, sso.exp int32, ubsan.exp that -fsanitize=undefined works, many others.
That is again normal and happens a lot.  I really don't understand why you care
about this.  The log file is indeed verbose and prints everything that has been
executed.  Are you upset that there is fatal error: in there, or even error:
would upset you (as I said above, that happens e.g. with ilp32 or lp64 etc. if
those fail).
>From gcc-bugs-return-633221-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 14:46:04 2019
Return-Path: <gcc-bugs-return-633221-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115677 invoked by alias); 11 Feb 2019 14:46:04 -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 115549 invoked by uid 48); 11 Feb 2019 14:45:59 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87689] Memory corruption on Power 8
Date: Mon, 11 Feb 2019 14:46: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: amodra 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: cc
Message-ID: <bug-87689-4-vTuCJXd6qw@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: 2019-02/txt/msg01523.txt.bz2
Content-length: 2845

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

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amodra at gmail dot com

--- Comment #9 from Alan Modra <amodra at gmail dot com> ---
The call in main is wrong.  From comment #3
> 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);

Looking at the assembly, I see r3 is &str.0, r4 is 20, r5 is &c, and so on up
to r10 which is &C.2187.  That's all good.  The next arg, &C.2188 is stored on
the stack at 32(1).  That's wrong.  It should be 96(1), ie. leaving 64 bytes of
parameter save area.  Similarly for the final "1", which is stored at 40(1)
instead of 104(1).

Debugging a little, it seems that the cause is that the fndecl found in
expand_call is missing args.  These lines in expand_call

#ifdef REG_PARM_STACK_SPACE
  reg_parm_stack_space = REG_PARM_STACK_SPACE (!fndecl ? fntype : fndecl);
#endif

then calculate 0 for reg_parm_stack_space, which is correct for the given bogus
fndecl.

 <function_decl 0x7ffff68bd500 doesntwork_p8
    type <function_type 0x7ffff68c1a80
        type <void_type 0x7ffff67b1f18 void VOID
            align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7ffff67b1f18
            pointer_to_this <pointer_type 0x7ffff67ba000>>
        SI
        size <integer_cst 0x7ffff67b60d8 constant 32>
        unit-size <integer_cst 0x7ffff67b60f0 constant 4>
        align:32 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7ffff68c19d8
        attributes <tree_list 0x7ffff68bcd70
            purpose <identifier_node 0x7ffff6813a28 fn spec>
            value <tree_list 0x7ffff68bcd48
                value <string_cst 0x7ffff68b0bd0 constant ".wR">>>
        arg-types <tree_list 0x7ffff68bcd20 value <reference_type
0x7ffff68c1930>
            chain <tree_list 0x7ffff68bccf8 value <integer_type 0x7ffff67b1738
integer(kind=8)>
                chain <tree_list 0x7ffff67b2168 value <void_type 0x7ffff67b1f18
void>>>>
        pointer_to_this <pointer_type 0x7ffff68c1b28>>
    addressable used public external SI /home/alan/src/tmp/pr87689_main.f:7:0
align:32 warn_if_not_align:0 context <translation_unit_decl 0x7ffff68be000
/home/alan/src/tmp/pr87689_main.f> chain <function_decl 0x7ffff68bd600 main>>
>From gcc-bugs-return-633222-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 14:54:17 2019
Return-Path: <gcc-bugs-return-633222-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65337 invoked by alias); 11 Feb 2019 14:54: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 65031 invoked by uid 48); 11 Feb 2019 14:54:12 -0000
From: "mark.eggleston at codethink dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89286] New: Intrinsic sign and GNU Extension
Date: Mon, 11 Feb 2019 14:54: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mark.eggleston at codethink 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-89286-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: 2019-02/txt/msg01524.txt.bz2
Content-length: 878

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

            Bug ID: 89286
           Summary: Intrinsic sign and GNU Extension
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mark.eggleston at codethink dot com
  Target Milestone: ---

The GNU extension allows different kinds to used in the actual arguments to
DIM, MOD, MODULO, MAX and MIN. The description of the arguments for SIGN are
the same as for DIM, MOD and MODULO.

I asked on this e-mail thread
https://gcc.gnu.org/ml/fortran/2019-01/msg00301.html whether SIGN should also
be covered by the GNU extension. Specifically in
https://gcc.gnu.org/ml/fortran/2019-01/msg00303.html.

I think it should hence this PR.

Patch to follow.
>From gcc-bugs-return-633223-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 14:56:38 2019
Return-Path: <gcc-bugs-return-633223-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96524 invoked by alias); 11 Feb 2019 14:56: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 96474 invoked by uid 48); 11 Feb 2019 14:56:34 -0000
From: "mark.eggleston at codethink dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89286] Intrinsic sign and GNU Extension
Date: Mon, 11 Feb 2019 14:56: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mark.eggleston at codethink 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: attachments.created
Message-ID: <bug-89286-4-pyZO9k3bK5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89286-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89286-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: 2019-02/txt/msg01525.txt.bz2
Content-length: 307

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

--- Comment #1 from MarkEggleston <mark.eggleston at codethink dot com> ---
Created attachment 45657
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45657&action=edit
GNU extension to intrinsic SIGN

Includes change to Intrinsic documentation.
>From gcc-bugs-return-633224-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 14:57:10 2019
Return-Path: <gcc-bugs-return-633224-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97432 invoked by alias); 11 Feb 2019 14:57: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 97369 invoked by uid 48); 11 Feb 2019 14:57:05 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/88920] [9 regression] GCC is not configured to support amdgcn-unknown-amdhsa as offload target
Date: Mon, 11 Feb 2019 14:57:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wschmidt at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: ams at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88920-4-rWYXzYre18@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88920-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88920-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: 2019-02/txt/msg01526.txt.bz2
Content-length: 824

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

--- Comment #21 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Well, perhaps this is business as usual, but I'd still like to understand this
a little better.

What causes us to run the effective-target check for this thing in the first
place?  

I've restricted my query with RUNTESTFLAGS to directories that contain
powerpc.exp.  To my knowledge, there's nothing in any such directory that cares
about GPU offloading.  So what causes the effective-target check?

I'm okay with closing this, but would very much like to understand if we have
an inefficiency here where we're running all sorts of checks that aren't needed
for the tests being run.  Or if we have something wrong in powerpc.exp that is
causing this unnecessary effective-target check.
>From gcc-bugs-return-633225-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 14:57:45 2019
Return-Path: <gcc-bugs-return-633225-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98595 invoked by alias); 11 Feb 2019 14:57: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 98535 invoked by uid 48); 11 Feb 2019 14:57:40 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87689] Memory corruption on Power 8
Date: Mon, 11 Feb 2019 14:57: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: amodra 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-87689-4-yXqUCfQiN7@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: 2019-02/txt/msg01527.txt.bz2
Content-length: 373

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

--- Comment #10 from Alan Modra <amodra at gmail dot com> ---
Replying to comment #4, yes, the function decl is wrong.  It should have the
full  parameter list, or have none (ie. tree.c:prototype_p return false).  The
powerpc ELFv2 ABI works fine with non-prototyped function calls, but not with
lying prototypes..
>From gcc-bugs-return-633226-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 14:59:41 2019
Return-Path: <gcc-bugs-return-633226-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79099 invoked by alias); 11 Feb 2019 14:59: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 64236 invoked by uid 48); 11 Feb 2019 14:59:35 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89285] [8 Regression] ICE after casting the this pointer in the constructor in C++17 mode
Date: Mon, 11 Feb 2019 14:59: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: jakub 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-89285-4-7hB9hq96lV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89285-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89285-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: 2019-02/txt/msg01528.txt.bz2
Content-length: 1262

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-11
                 CC|                            |dmalcolm at gcc dot gnu.org,
                   |                            |jakub at gcc dot gnu.org,
                   |                            |redi at gcc dot gnu.org
   Target Milestone|---                         |8.3
            Summary|ICE after casting the this  |[8 Regression] ICE after
                   |pointer in the constructor  |casting the this pointer in
                   |in C++17 mode               |the constructor in C++17
                   |                            |mode
     Ever confirmed|0                           |1

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
This started to ICE with r259629 and stopped ICEing with r267272.
Not really sure if this is ice-on-invalid (and thus accepts-invalid) on the
trunk or just ice-on-valid on the branch, given the reinterpret_casts in the
constexpr body.
>From gcc-bugs-return-633227-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 15:02:59 2019
Return-Path: <gcc-bugs-return-633227-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32720 invoked by alias); 11 Feb 2019 15: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 23957 invoked by uid 48); 11 Feb 2019 15:02:55 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/88920] [9 regression] GCC is not configured to support amdgcn-unknown-amdhsa as offload target
Date: Mon, 11 Feb 2019 15:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wschmidt at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: ams at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88920-4-DiUiruMFsF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88920-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88920-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: 2019-02/txt/msg01529.txt.bz2
Content-length: 448

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

--- Comment #22 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
It also seems odd to me that all the other checks happen when reading
powerpc.exp, prior to running my tests, but this one happens late:

Running
/home/wschmidt/gcc/gcc-mainline-test2/gcc/testsuite/gcc.target/powerpc/powerpc.exp
...

[Test for linker_plugin]
[Test for vsx_hw_available]

Run my test

[Test for offload_gcn]
>From gcc-bugs-return-633228-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 15:03:24 2019
Return-Path: <gcc-bugs-return-633228-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81304 invoked by alias); 11 Feb 2019 15:03: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 73255 invoked by uid 48); 11 Feb 2019 15:03:20 -0000
From: "mark.eggleston at codethink dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89286] Intrinsic sign and GNU Extension
Date: Mon, 11 Feb 2019 15:03: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mark.eggleston at codethink 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: attachments.created
Message-ID: <bug-89286-4-JZqCQR4vTW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89286-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89286-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: 2019-02/txt/msg01530.txt.bz2
Content-length: 289

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

--- Comment #2 from MarkEggleston <mark.eggleston at codethink dot com> ---
Created attachment 45658
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45658&action=edit
Change log for gcc/fortran for patch

Date to added later.
>From gcc-bugs-return-633229-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 15:21:33 2019
Return-Path: <gcc-bugs-return-633229-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82178 invoked by alias); 11 Feb 2019 15:21: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 79615 invoked by uid 48); 11 Feb 2019 15:21:29 -0000
From: "mark.eggleston at codethink dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89286] Intrinsic sign and GNU Extension
Date: Mon, 11 Feb 2019 15:21: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mark.eggleston at codethink 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: attachments.created
Message-ID: <bug-89286-4-ncm4sEiKvj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89286-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89286-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: 2019-02/txt/msg01531.txt.bz2
Content-length: 291

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

--- Comment #3 from MarkEggleston <mark.eggleston at codethink dot com> ---
Created attachment 45659
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45659&action=edit
Change Log for gcc/testsuite for patch

Date to added later.
>From gcc-bugs-return-633230-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 15:23:41 2019
Return-Path: <gcc-bugs-return-633230-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101781 invoked by alias); 11 Feb 2019 15:23: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 96832 invoked by uid 48); 11 Feb 2019 15:23:37 -0000
From: "mark.eggleston at codethink dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89286] Intrinsic sign and GNU Extension
Date: Mon, 11 Feb 2019 15:23: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mark.eggleston at codethink 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-89286-4-kBHfsDgm8w@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89286-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89286-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: 2019-02/txt/msg01532.txt.bz2
Content-length: 322

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

--- Comment #4 from MarkEggleston <mark.eggleston at codethink dot com> ---
Missed some changes that should've gone in the change log. These included a
couple of line that shouldn't have been there.

Fixing patch and change log and will replace attachments when done.
>From gcc-bugs-return-633231-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 15:26:21 2019
Return-Path: <gcc-bugs-return-633231-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42939 invoked by alias); 11 Feb 2019 15:26: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 38299 invoked by uid 48); 11 Feb 2019 15:26:17 -0000
From: "ams at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/88920] [9 regression] GCC is not configured to support amdgcn-unknown-amdhsa as offload target
Date: Mon, 11 Feb 2019 15:26:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ams at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: ams at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88920-4-tJo6qhJAH6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88920-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88920-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: 2019-02/txt/msg01533.txt.bz2
Content-length: 574

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

--- Comment #23 from Andrew Stubbs <ams at gcc dot gnu.org> ---
It's caused by the llvm_binutils check, which is used by pretty much every test
to determine whether to complain about blank lines in compile output, or not.

Right now the easiest way to determine if it's using that toolchain is to check
if the target is amdgcn (that being the only target that needs it). I suppose
llvm could also be detected by inspecting the --version output from
<target>-as, or some such.

Your configuration isn't to blame.
>From gcc-bugs-return-633232-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 15:28:54 2019
Return-Path: <gcc-bugs-return-633232-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91248 invoked by alias); 11 Feb 2019 15:28: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 91154 invoked by uid 48); 11 Feb 2019 15:28:49 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89285] [8 Regression] ICE after casting the this pointer in the constructor in C++17 mode
Date: Mon, 11 Feb 2019 15:28: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: 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: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89285-4-fbRDMPSc6K@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89285-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89285-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: 2019-02/txt/msg01534.txt.bz2
Content-length: 201

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

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I think it's valid (but the constructor can't be used in a constant
expression).
>From gcc-bugs-return-633233-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 15:45:00 2019
Return-Path: <gcc-bugs-return-633233-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33445 invoked by alias); 11 Feb 2019 15:44: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 33317 invoked by uid 48); 11 Feb 2019 15:44:54 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89285] [8/9 Regression] ICE after casting the this pointer in the constructor in C++17 mode
Date: Mon, 11 Feb 2019 15:44: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: accepts-invalid, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: keywords cc short_desc
Message-ID: <bug-89285-4-NsjuSl561y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89285-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89285-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: 2019-02/txt/msg01535.txt.bz2
Content-length: 2555

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid
                 CC|                            |jason at gcc dot gnu.org
            Summary|[8 Regression] ICE after    |[8/9 Regression] ICE after
                   |casting the this pointer in |casting the this pointer in
                   |the constructor in C++17    |the constructor in C++17
                   |mode                        |mode

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Ok, so:
struct A {
  int a {};
};
struct B {
  int b {};
  constexpr B (A *x) {
    int *c = &x->a;
    while (*c)
      c = reinterpret_cast<int *>((reinterpret_cast<char *>(c) + *c));
    *c = reinterpret_cast<char *>(this) - reinterpret_cast<char *>(c);
  }
};
struct C : A {
  B bar {this};
};

constexpr C foo {};

would then be accepts-invalid.

I've tried to fix that by doing:
--- gcc/cp/cp-gimplify.c        (revision 268765)
+++ gcc/cp/cp-gimplify.c        (working copy)
@@ -2307,6 +2307,22 @@ cp_fold (tree x)
          && TREE_OVERFLOW_P (x) && !TREE_OVERFLOW_P (op0))
        TREE_OVERFLOW (x) = false;

+      /* Preserve REINTERPRET_CAST_P.  */
+      if (code == NOP_EXPR && REINTERPRET_CAST_P (org_x))
+       {
+         if (TREE_CODE (x) == NOP_EXPR && REINTERPRET_CAST_P (x))
+           break;
+         if (TREE_CODE (x) == NOP_EXPR)
+           {
+             x = copy_node (x);
+             REINTERPRET_CAST_P (x) = 1;
+           }
+         else
+           {
+             x = build1_loc (loc, code, TREE_TYPE (x), x);
+             REINTERPRET_CAST_P (x) = 1;
+           }
+       }
       break;

     case INDIRECT_REF:
and with that we reject the testcase again (like we've done in 8.x, so this
part is [9 Regression] accepts-invalid).
But that also means we ICE again on the:
C bar {};

So, maybe we want to ignore that:
      if (REINTERPRET_CAST_P (t))
        {
          if (!ctx->quiet)
            error_at (cp_expr_loc_or_loc (t, input_location),
                      "a reinterpret_cast is not a constant expression");
          *non_constant_p = true;
          return t;
        }
for perhaps !ctx->manifestly_const_eval , as in when we really don't require
constant expression.  But we don't really call constexpr with zero
manifestly_const_eval anyway.
>From gcc-bugs-return-633234-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 15:45:34 2019
Return-Path: <gcc-bugs-return-633234-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39506 invoked by alias); 11 Feb 2019 15:45: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 39402 invoked by uid 48); 11 Feb 2019 15:45:30 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/88920] [9 regression] GCC is not configured to support amdgcn-unknown-amdhsa as offload target
Date: Mon, 11 Feb 2019 15:45:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wschmidt at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: ams at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88920-4-QDLTRm3rBF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88920-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88920-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: 2019-02/txt/msg01536.txt.bz2
Content-length: 352

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

--- Comment #24 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Why does this end up showing up after a test is run, rather than early like all
the other target-supports checks?  It would be less surprising if it acted like
the others (and I would probably not have noticed to complain :).
>From gcc-bugs-return-633235-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 15:48:41 2019
Return-Path: <gcc-bugs-return-633235-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48487 invoked by alias); 11 Feb 2019 15:48:41 -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 48401 invoked by uid 48); 11 Feb 2019 15:48:37 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89285] [8/9 Regression] ICE after casting the this pointer in the constructor in C++17 mode
Date: Mon, 11 Feb 2019 15:48: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: accepts-invalid, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89285-4-4kGl6XEdA5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89285-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89285-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: 2019-02/txt/msg01537.txt.bz2
Content-length: 323

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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Though, I wonder if something isn't wrong with the r267272 commit, I'd have
thought that constexpr evaluation should be done on the pre-cp_folded bodies
and cp_fold could be removing REINTERPRET_CAST_Ps.
>From gcc-bugs-return-633236-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 15:55:04 2019
Return-Path: <gcc-bugs-return-633236-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56363 invoked by alias); 11 Feb 2019 15:55:04 -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 56023 invoked by uid 48); 11 Feb 2019 15:54:59 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/88147] [9 Regression] ICE in linemap_line_start, at libcpp/line-map.c:781 starting from r265875
Date: Mon, 11 Feb 2019 15:55: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: 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: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-88147-4-Fh2JQTtkPg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88147-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88147-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: 2019-02/txt/msg01538.txt.bz2
Content-length: 407

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

--- Comment #16 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #14)
> Created attachment 45653 [details]
> Patch candidate
> 
> Patch candidate that survives both reduced and not reduced test-cases.
> David does the patch make sense?

It survives regression tests and bootstrap on x86_64-linux-gnu.
>From gcc-bugs-return-633237-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 16:30:53 2019
Return-Path: <gcc-bugs-return-633237-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17069 invoked by alias); 11 Feb 2019 16:30:52 -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 14639 invoked by uid 48); 11 Feb 2019 16:30:48 -0000
From: "raphael.kubo.da.costa at intel dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89287] New: Array declaration fails to use template conversion operator
Date: Mon, 11 Feb 2019 16:30: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.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: raphael.kubo.da.costa at intel 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-89287-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: 2019-02/txt/msg01539.txt.bz2
Content-length: 1360

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

            Bug ID: 89287
           Summary: Array declaration fails to use template conversion
                    operator
           Product: gcc
           Version: 8.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: raphael.kubo.da.costa at intel dot com
  Target Milestone: ---

(This is a reduction from a GCC + Chromium build issue)

Building the following excerpt with -std=gnu++14 causes GCC to fail, while
MSVC, clang and ICC work fine:

struct S {
  template <class U>
  constexpr operator U() const {
    return static_cast<U>(42);
  }
};

void frob() {
  new char[S()];
}

x.cc: In function ‘void frob()’:
x.cc:9:14: error: default type conversion can't deduce template argument for
‘template<class U> constexpr S::operator U() const’                             
   new char[S()];
              ^

C++14 says in 8.3.4 Arrays that "If the constant-expression (5.20) is present,
it shall be a converted constant expression of type std::size_t and its value
shall be greater than zero", so I was expecting `new char[S()]' to end up
invoking S::operator size_t().
>From gcc-bugs-return-633238-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 16:54:55 2019
Return-Path: <gcc-bugs-return-633238-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25269 invoked by alias); 11 Feb 2019 16:54:55 -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 22480 invoked by uid 55); 11 Feb 2019 16:54:50 -0000
From: "tnfchris at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/88560] [9 Regression] armv8_2-fp16-move-1.c and related regressions after r266385
Date: Mon, 11 Feb 2019 16:54: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: 9.0
X-Bugzilla-Keywords: missed-optimization, ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tnfchris at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
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-88560-4-5fJ2csvFAF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88560-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88560-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: 2019-02/txt/msg01540.txt.bz2
Content-length: 1284

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

--- Comment #15 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
Author: tnfchris
Date: Mon Feb 11 16:54:18 2019
New Revision: 268772

URL: https://gcc.gnu.org/viewcvs?rev=268772&root=gcc&view=rev
Log:
Arm: Update tests after register allocation changes. (PR/target 88560)


After the register allocator changes of r268705 we need to update a few tests
with new output.

In all cases the compiler is now generating the expected code, since the tests
are all float16 testcases using a hard-floar abi, we expect that actual fp16
instructions are used rather than using integer loads and stores.  Because of
we also save on some mov.f16s that were being emitted before to move between
the two.

The aapcs cases now match the f32 cases in using floating point operations.

gcc/testsuite/Changelog

        PR middle-end/88560
        * gcc.target/arm/armv8_2-fp16-move-1.c: Update assembler scans.
        * gcc.target/arm/fp16-aapcs-1.c: Likewise.
        * gcc.target/arm/fp16-aapcs-3.c: Likewise.



Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/arm/armv8_2-fp16-move-1.c
    trunk/gcc/testsuite/gcc.target/arm/fp16-aapcs-1.c
    trunk/gcc/testsuite/gcc.target/arm/fp16-aapcs-3.c
>From gcc-bugs-return-633239-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 17:12:24 2019
Return-Path: <gcc-bugs-return-633239-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36426 invoked by alias); 11 Feb 2019 17:12: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 26536 invoked by uid 48); 11 Feb 2019 17:12:19 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89285] [8/9 Regression] ICE after casting the this pointer in the constructor in C++17 mode
Date: Mon, 11 Feb 2019 17:12: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: accepts-invalid, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89285-4-N47qhDDKBx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89285-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89285-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: 2019-02/txt/msg01541.txt.bz2
Content-length: 695

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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Bisected that to the finish_id_expression change, reverting the penultimate and
antepenultimate hunk of
https://gcc.gnu.org/viewcvs/gcc/trunk/gcc/cp/semantics.c?limit_changes=0&r1=267272&r2=267271&pathrev=267272
makes gcc trunk reject the #c4 testcase again and ICE again with C bar {} which
should be valid.  Ah, and likely that is the reason why the #c4 patch makes a
difference, previously it was just a REINTERPRET_CAST_P NOP_EXPR around
PARM_DECL, but now it is REINTERPRET_CAST_P NOP_EXPR around the location
wrapper nop and cp_fold optimizes that away.
>From gcc-bugs-return-633240-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 17:17:59 2019
Return-Path: <gcc-bugs-return-633240-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26014 invoked by alias); 11 Feb 2019 17:17: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 25947 invoked by uid 48); 11 Feb 2019 17:17:54 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/88147] [9 Regression] ICE in linemap_line_start, at libcpp/line-map.c:781 starting from r265875
Date: Mon, 11 Feb 2019 17:17: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-88147-4-FBwf7oRiX1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88147-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88147-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: 2019-02/txt/msg01542.txt.bz2
Content-length: 343

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

--- Comment #17 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Created attachment 45660
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45660&action=edit
Selftest coverage

The attached reproduces the problem via a minimal selftest, and is also fixed
by attachment 45653.
>From gcc-bugs-return-633241-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 17:23:55 2019
Return-Path: <gcc-bugs-return-633241-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69313 invoked by alias); 11 Feb 2019 17:23:55 -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 69230 invoked by uid 48); 11 Feb 2019 17:23:50 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/88147] [9 Regression] ICE in linemap_line_start, at libcpp/line-map.c:781 starting from r265875
Date: Mon, 11 Feb 2019 17:23: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-88147-4-pAUyeuFBjO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88147-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88147-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: 2019-02/txt/msg01543.txt.bz2
Content-length: 1663

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

--- Comment #18 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #15)
> During the bug investigation I noticed a strange thing in line-map.c:
> 
>    700    if (line_delta < 0
>    701        || (line_delta > 10
>    702            && line_delta * map->m_column_and_range_bits > 1000)
>    703        || (max_column_hint >= (1U << effective_column_bits))
>    704        || (max_column_hint <= 80 && effective_column_bits >= 10)
>    705        || (highest > LINE_MAP_MAX_LOCATION_WITH_PACKED_RANGES
>    706            && map->m_range_bits > 0)
>    707        || (highest > LINE_MAP_MAX_LOCATION_WITH_COLS
>    708            && (set->max_column_hint || highest >=
> LINE_MAP_MAX_LOCATION)))
>    709      add_map = true;
> 
> m_column_and_range_bits > 1000 is always false as:
> 
>   /* Number of the low-order source_location bits used for column numbers
>      and ranges.  */
>   unsigned int m_column_and_range_bits : 8;
> 
> and the sub-expression on lines 701 and 702 is ugly as well.
> What's the purpose of the check?

It's not:
  m_column_and_range_bits > 1000
it's:
  line_delta * map->m_column_and_range_bits > 1000

where line_delta is an int; presumably the 8 bits of the field get widened.

The purpose of the check is impose a limit on the size of the jumps that occur
within the location_t representation, so that if there's a big jump in line
numbers, we start a linemap, where big is "> 1000" within the location_t value.
 The idea is to avoid wasting location_t values, without creating too many
linemap instances.
>From gcc-bugs-return-633242-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 17:25:33 2019
Return-Path: <gcc-bugs-return-633242-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72282 invoked by alias); 11 Feb 2019 17:25: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 72066 invoked by uid 48); 11 Feb 2019 17:25:29 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89288] New: [9 Regression] ICE in tree_code_size, at tree.c:865
Date: Mon, 11 Feb 2019 17:25: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: gscfq@t-online.de
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-89288-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: 2019-02/txt/msg01544.txt.bz2
Content-length: 2259

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

            Bug ID: 89288
           Summary: [9 Regression] ICE in tree_code_size, at tree.c:865
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Changed between 20181118 and 20181125 :


$ cat z1.c
typedef int Assert [(__builtin_has_attribute (1, target("sse")) == 1)];


$ gcc-9-20190210 -c z1.c
z1.c:1:1: internal compiler error: in tree_code_size, at tree.c:865
    1 | typedef int Assert [(__builtin_has_attribute (1, target("sse")) == 1)];
      | ^~~~~~~
0xcbace1 tree_code_size(tree_code)
        ../../gcc/tree.c:865
0xcbae2c make_node(tree_code)
        ../../gcc/tree.c:1038
0xcbdd2b build_decl(unsigned int, tree_code, tree_node*, tree_node*)
        ../../gcc/tree.c:5023
0x692278 validate_attribute
        ../../gcc/c-family/c-attribs.c:4036
0x692278 has_attribute(unsigned int, tree_node*, tree_node*, tree_node*
(*)(tree_node*))
        ../../gcc/c-family/c-attribs.c:4069
0x61d28d c_parser_has_attribute_expression
        ../../gcc/c/c-parser.c:7665
0x61d28d c_parser_unary_expression
        ../../gcc/c/c-parser.c:7356
0x61d537 c_parser_cast_expression
        ../../gcc/c/c-parser.c:7222
0x61d7e3 c_parser_binary_expression
        ../../gcc/c/c-parser.c:7025
0x61e695 c_parser_conditional_expression
        ../../gcc/c/c-parser.c:6759
0x61ebe0 c_parser_expr_no_commas
        ../../gcc/c/c-parser.c:6676
0x61ee42 c_parser_expression
        ../../gcc/c/c-parser.c:9727
0x611c33 c_parser_postfix_expression
        ../../gcc/c/c-parser.c:8200
0x61c512 c_parser_unary_expression
        ../../gcc/c/c-parser.c:7380
0x61d537 c_parser_cast_expression
        ../../gcc/c/c-parser.c:7222
0x61d7e3 c_parser_binary_expression
        ../../gcc/c/c-parser.c:7025
0x61e695 c_parser_conditional_expression
        ../../gcc/c/c-parser.c:6759
0x61ebe0 c_parser_expr_no_commas
        ../../gcc/c/c-parser.c:6676
0x61b7c1 c_parser_direct_declarator_inner
        ../../gcc/c/c-parser.c:3844
0x62fbe1 c_parser_declaration_or_fndef
        ../../gcc/c/c-parser.c:1999
>From gcc-bugs-return-633244-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 17:27:54 2019
Return-Path: <gcc-bugs-return-633244-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80227 invoked by alias); 11 Feb 2019 17:27: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 80141 invoked by uid 48); 11 Feb 2019 17:27:50 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/80936] bcmp, bcopy, and bzero not declared nonnull
Date: Mon, 11 Feb 2019 17: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: 7.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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 resolution cf_known_to_fail
Message-ID: <bug-80936-4-xR3UcubItK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80936-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80936-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: 2019-02/txt/msg01546.txt.bz2
Content-length: 1316

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |NEW
         Resolution|INVALID                     |---
      Known to fail|                            |7.3.0, 8.2.0, 9.0

--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
POSIX says this about bcopy:

  For maximum portability, it is recommended to replace the function call to
bcopy() as follows:

  #define bcopy(b1,b2,len) (memmove((b2), (b1), (len)), (void) 0)

GCC lowers bcopy calls to memmove (and similarly for other bxxx calls), which I
think makes it even more important that the non-null attribute be applied to
their declarations, to detect bugs due to legacy code making the assumption
that   bcopy et al are null-safe (e.g., on a target where they really are).

$ cat t.c && gcc -O0 -S -Wall -fdump-tree-lower=/dev/stdout t.c
void f (void *d, const void *s, __SIZE_TYPE__ n)
{
  __builtin_bcopy (s, 0, n);
}

;; Function f (f, funcdef_no=0, decl_uid=1908, cgraph_uid=1, symbol_order=0)

f (void * d, const void * s, long unsigned int n)
{
  __builtin_memmove (0B, s, n);
  return;
}
>From gcc-bugs-return-633243-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 17:27:45 2019
Return-Path: <gcc-bugs-return-633243-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79467 invoked by alias); 11 Feb 2019 17:27: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 79389 invoked by uid 48); 11 Feb 2019 17:27:40 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/88147] [9 Regression] ICE in linemap_line_start, at libcpp/line-map.c:781 starting from r265875
Date: Mon, 11 Feb 2019 17:27: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-88147-4-BpGRmmjDzI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88147-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88147-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: 2019-02/txt/msg01545.txt.bz2
Content-length: 695

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

--- Comment #19 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
(In reply to David Malcolm from comment #17)
> Created attachment 45660 [details]
> Selftest coverage
> 
> The attached reproduces the problem via a minimal selftest, and is also
> fixed by attachment 45653 [details].

Thanks for creating this patch.  I like that it imposes an upper limit on the
value of a line number within an ordinary linemap relative to the line map's
starting line, but I wonder if that upper limit needs to be lower than the one
in your patch (e.g. what happens if the resulting location_t value hit limits
like LINE_MAP_MAX_LOCATION etc).
>From gcc-bugs-return-633245-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 17:29:23 2019
Return-Path: <gcc-bugs-return-633245-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83243 invoked by alias); 11 Feb 2019 17:29: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 83131 invoked by uid 48); 11 Feb 2019 17:29:19 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89289] New: ICE in extract_insn, at recog.c:2310
Date: Mon, 11 Feb 2019 17:29: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: gscfq@t-online.de
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-89289-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: 2019-02/txt/msg01547.txt.bz2
Content-length: 1862

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

            Bug ID: 89289
           Summary: ICE in extract_insn, at recog.c:2310
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

A combination of __thread with option -mforce-indirect-call
and -fpic or -fPIC gives an ICE starting with early gcc-8
for pr24428, pr47715, pr68986 and others :


$ cat z1.c
extern __thread int a;
int f ()
{
  return a;
}


$ gcc-9-20190210 -c z1.c -fpic
$ gcc-9-20190210 -c z1.c -fpic -mforce-indirect-call
z1.c: In function 'f':
z1.c:5:1: error: unrecognizable insn:
    5 | }
      | ^
(call_insn/u 5 2 6 2 (parallel [
            (set (reg:DI 0 ax)
                (call:DI (mem:QI (symbol_ref:DI ("__tls_get_addr")) [0  S1 A8])
                    (const_int 0 [0])))
            (unspec:DI [
                    (symbol_ref:DI ("a") [flags 0x50] <var_decl 0x7f776e19eab0
a>)
                    (reg/f:DI 7 sp)
                ] UNSPEC_TLS_GD)
        ]) "z1.c":4:10 -1
     (expr_list:REG_EH_REGION (const_int -2147483648 [0xffffffff80000000])
        (nil))
    (nil))
during RTL pass: vregs
z1.c:5:1: internal compiler error: in extract_insn, at recog.c:2310
0x5aa7c0 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ../../gcc/rtl-error.c:108
0x5aa7df _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        ../../gcc/rtl-error.c:116
0xa020e7 extract_insn(rtx_insn*)
        ../../gcc/recog.c:2310
0x817525 instantiate_virtual_regs_in_insn
        ../../gcc/function.c:1654
0x817525 instantiate_virtual_regs
        ../../gcc/function.c:1975
0x817525 execute
        ../../gcc/function.c:2024
>From gcc-bugs-return-633247-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 17:35:56 2019
Return-Path: <gcc-bugs-return-633247-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11925 invoked by alias); 11 Feb 2019 17:35:55 -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 11048 invoked by uid 55); 11 Feb 2019 17:35:49 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87996] [8/9 Regression] "size of array is negative" error when SIZE_MAX/2 < sizeof(array) <= SIZE_MAX
Date: Mon, 11 Feb 2019 17:35: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: diagnostic, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87996-4-v28ZOP7phu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87996-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87996-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: 2019-02/txt/msg01549.txt.bz2
Content-length: 3194

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

--- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> ---
Author: msebor
Date: Mon Feb 11 17:35:17 2019
New Revision: 268774

URL: https://gcc.gnu.org/viewcvs?rev=268774&root=gcc&view=rev
Log:
PR c++/87996 - size of array is negative error when SIZE_MAX/2 < sizeof(array)
<= SIZE_MAX

gcc/ChangeLog:

        PR c++/87996
        * builtins.c (max_object_size): Move from here...
        * builtins.h (max_object_size): ...and here...
        * tree.c (max_object_size): ...to here...
        * tree.h (max_object_size): ...and here.

gcc/c-family/ChangeLog:

        PR c++/87996
        * c-common.c (invalid_array_size_error): New function.
        (valid_array_size_p): Call it.  Handle size as well as type.
        * c-common.h (valid_constant_size_p): New function.
        (enum cst_size_error): New type.

gcc/cp/ChangeLog:

        PR c++/87996
        * decl.c (compute_array_index_type_loc): Preserve signed sizes
        for diagnostics.  Call valid_array_size_p instead of error.
        * init.c (build_new_1): Compute size for diagnostic.  Call
        invalid_array_size_error
        (build_new): Call valid_array_size_p instead of error.

gcc/testsuite/ChangeLog:

        PR c++/87996
        * c-c++-common/array-5.c: New test.
        * c-c++-common/pr68107.c: Adjust text of diagnostics.
        * g++.dg/init/new38.C: Same.
        * g++.dg/init/new43.C: Same.
        * g++.dg/init/new44.C: Same.
        * g++.dg/init/new46.C: Same.
        * g++.dg/other/large-size-array.C: Same.
        * g++.dg/other/new-size-type.C: Same.
        * g++.dg/template/array30.C: Same.
        * g++.dg/template/array32.C: New test.
        * g++.dg/template/dependent-name3.C: Adjust.
        * gcc.dg/large-size-array-3.c: Same.
        * gcc.dg/large-size-array-5.c: Same.
        * gcc.dg/large-size-array.c: Same.
        * g++.old-deja/g++.brendan/array1.C: Same.
        * g++.old-deja/g++.mike/p6149.C: Same.


Added:
    trunk/gcc/testsuite/c-c++-common/array-5.c
    trunk/gcc/testsuite/g++.dg/template/array32.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/builtins.c
    trunk/gcc/builtins.h
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-common.c
    trunk/gcc/c-family/c-common.h
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/init.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/c-c++-common/pr68107.c
    trunk/gcc/testsuite/g++.dg/init/new38.C
    trunk/gcc/testsuite/g++.dg/init/new43.C
    trunk/gcc/testsuite/g++.dg/init/new44.C
    trunk/gcc/testsuite/g++.dg/init/new46.C
    trunk/gcc/testsuite/g++.dg/other/large-size-array.C
    trunk/gcc/testsuite/g++.dg/other/new-size-type.C
    trunk/gcc/testsuite/g++.dg/template/array30.C
    trunk/gcc/testsuite/g++.dg/template/dependent-name3.C
    trunk/gcc/testsuite/g++.dg/ubsan/pr81530.C
    trunk/gcc/testsuite/g++.old-deja/g++.brendan/array1.C
    trunk/gcc/testsuite/g++.old-deja/g++.mike/p6149.C
    trunk/gcc/testsuite/gcc.dg/large-size-array-3.c
    trunk/gcc/testsuite/gcc.dg/large-size-array-5.c
    trunk/gcc/testsuite/gcc.dg/large-size-array.c
    trunk/gcc/tree.c
    trunk/gcc/tree.h
>From gcc-bugs-return-633246-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 17:35:24 2019
Return-Path: <gcc-bugs-return-633246-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10108 invoked by alias); 11 Feb 2019 17:35: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 10057 invoked by uid 48); 11 Feb 2019 17:35:20 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89290] New: [8/9 Regression] ICE in change_address_1, at emit-rtl.c:2286
Date: Mon, 11 Feb 2019 17:35: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: gscfq@t-online.de
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-89290-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: 2019-02/txt/msg01548.txt.bz2
Content-length: 1906

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

            Bug ID: 89290
           Summary: [8/9 Regression] ICE in change_address_1, at
                    emit-rtl.c:2286
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

With options -O0 -mcmodel=large on x86_64-pc-linux-gnu :


$ cat pr56847.c
struct S { long int a, b; } e;
__thread struct S s;

void
foo (void)
{
  s = e;
}


$ gcc-7          -c pr56847.c -O0 -mcmodel=large
$ gcc-9-20190210 -c pr56847.c -O2 -mcmodel=large
$ gcc-9-20190210 -c pr56847.c -O0
$
$ gcc-9-20190210 -c pr56847.c -O0 -mcmodel=large
during RTL pass: split2
pr56847.c: In function 'foo':
pr56847.c:8:1: internal compiler error: in change_address_1, at emit-rtl.c:2286
    8 | }
      | ^
0x7a18d0 change_address_1
        ../../gcc/emit-rtl.c:2286
0x7a4896 adjust_address_1(rtx_def*, machine_mode, poly_int<1u, long>, int, int,
int, poly_int<1u, long>)
        ../../gcc/emit-rtl.c:2420
0xd5c619 split_double_mode(machine_mode, rtx_def**, int, rtx_def**, rtx_def**)
        ../../gcc/config/i386/i386.c:18661
0xd5ca5b ix86_split_to_parts
        ../../gcc/config/i386/i386.c:25393
0xd671cd ix86_split_long_move(rtx_def**)
        ../../gcc/config/i386/i386.c:25483
0xf88d20 gen_split_8(rtx_insn*, rtx_def**)
        ../../gcc/config/i386/i386.md:2267
0x10ccd04 split_10
        ../../gcc/config/i386/i386.md:9883
0x112b377 split_insns(rtx_def*, rtx_insn*)
        ../../gcc/config/i386/i386.md:13184
0x7a6331 try_split(rtx_def*, rtx_insn*, int)
        ../../gcc/emit-rtl.c:3851
0xa00281 split_insn
        ../../gcc/recog.c:2901
0xa043a2 split_all_insns()
        ../../gcc/recog.c:3005
0xa044a8 execute
        ../../gcc/recog.c:3905
>From gcc-bugs-return-633249-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 17:36:47 2019
Return-Path: <gcc-bugs-return-633249-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14206 invoked by alias); 11 Feb 2019 17:36:46 -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 13638 invoked by uid 48); 11 Feb 2019 17:36:42 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87996] [8 Regression] "size of array is negative" error when SIZE_MAX/2 < sizeof(array) <= SIZE_MAX
Date: Mon, 11 Feb 2019 17:36: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: diagnostic, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_known_to_work short_desc cf_known_to_fail
Message-ID: <bug-87996-4-I5TcK6v71M@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87996-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87996-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: 2019-02/txt/msg01551.txt.bz2
Content-length: 731

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |9.0
            Summary|[8/9 Regression] "size of   |[8 Regression] "size of
                   |array is negative" error    |array is negative" error
                   |when SIZE_MAX/2 <           |when SIZE_MAX/2 <
                   |sizeof(array) <= SIZE_MAX   |sizeof(array) <= SIZE_MAX
      Known to fail|9.0                         |

--- Comment #6 from Martin Sebor <msebor at gcc dot gnu.org> ---
Fixed via r268774 in GCC 9.0.
>From gcc-bugs-return-633248-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 17:36:42 2019
Return-Path: <gcc-bugs-return-633248-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13642 invoked by alias); 11 Feb 2019 17:36: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 13591 invoked by uid 48); 11 Feb 2019 17:36:39 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89287] Array declaration fails to use template conversion operator
Date: Mon, 11 Feb 2019 17:36: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.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek 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-89287-4-66O00kVSJd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89287-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89287-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: 2019-02/txt/msg01550.txt.bz2
Content-length: 185

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

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
This doesn't seem to ever work with G++ (even 4.8 rejects it).
>From gcc-bugs-return-633250-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 17:37:45 2019
Return-Path: <gcc-bugs-return-633250-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15853 invoked by alias); 11 Feb 2019 17:37: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 15794 invoked by uid 48); 11 Feb 2019 17:37:41 -0000
From: "wilco at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89222] [7/8/9 regression] ARM thumb-2 misoptimisation of func ptr call with -O2 or -Os
Date: Mon, 11 Feb 2019 17:37: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: 7.3.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wilco at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: wilco at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89222-4-0viuxUYpxq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89222-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89222-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: 2019-02/txt/msg01552.txt.bz2
Content-length: 175

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

--- Comment #7 from Wilco <wilco at gcc dot gnu.org> ---
Patch: https://gcc.gnu.org/ml/gcc-patches/2019-02/msg00780.html
>From gcc-bugs-return-633251-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 17:42:32 2019
Return-Path: <gcc-bugs-return-633251-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36611 invoked by alias); 11 Feb 2019 17:42:32 -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 36545 invoked by uid 48); 11 Feb 2019 17:42:28 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89267] [8 Regression] FAIL: g++.dg/cpp1z/constexpr-lambda8.C   (test for excess errors)
Date: Mon, 11 Feb 2019 17: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: 8.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-89267-4-LjqOivBenC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89267-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89267-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: 2019-02/txt/msg01553.txt.bz2
Content-length: 378

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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org
>From gcc-bugs-return-633252-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 17:44:42 2019
Return-Path: <gcc-bugs-return-633252-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47100 invoked by alias); 11 Feb 2019 17:44: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 46996 invoked by uid 55); 11 Feb 2019 17:44:39 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88771] [9 Regression] Misleading -Werror=array-bounds error
Date: Mon, 11 Feb 2019 17:44: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: diagnostic, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88771-4-OfXGqZi6Ye@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88771-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88771-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: 2019-02/txt/msg01554.txt.bz2
Content-length: 1646

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

--- Comment #19 from Martin Sebor <msebor at gcc dot gnu.org> ---
Author: msebor
Date: Mon Feb 11 17:44:05 2019
New Revision: 268775

URL: https://gcc.gnu.org/viewcvs?rev=268775&root=gcc&view=rev
Log:
PR tree-optimization/88771 - Misleading -Werror=array-bounds error

gcc/ChangeLog:

        PR tree-optimization/88771
        * gimple-ssa-warn-restrict.c (pass_wrestrict::gate): Also enable
        when -Wstringop-overflow is set.
        (builtin_memref::builtin_memref): Adjust excessive upper bound
        only when lower bound is not excessive.
        (maybe_diag_overlap): Detect and diagnose excessive bounds via
        -Wstringop-ovefflow.
        (maybe_diag_offset_bounds): Rename...
        (maybe_diag_access_bounds): ...to this.
        (check_bounds_or_overlap): Adjust for name change above.

gcc/testsuite/ChangeLog:

        PR tree-optimization/88771
        * gcc.dg/Wstringop-overflow-8.c: New test.
        * gcc.dg/Wstringop-overflow-9.c: New test.
        * gcc.dg/Warray-bounds-40.c: New test.
        * gcc.dg/builtin-stpncpy.c: Adjust.
        * gcc.dg/builtin-stringop-chk-4.c: Adjust.
        * g++.dg/opt/memcpy1.C: Adjust.


Added:
    trunk/gcc/testsuite/gcc.dg/Warray-bounds-40.c
    trunk/gcc/testsuite/gcc.dg/Wstringop-overflow-8.c
    trunk/gcc/testsuite/gcc.dg/Wstringop-overflow-9.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple-ssa-warn-restrict.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/opt/memcpy1.C
    trunk/gcc/testsuite/gcc.dg/builtin-stpncpy.c
    trunk/gcc/testsuite/gcc.dg/builtin-stringop-chk-4.c
>From gcc-bugs-return-633253-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 17:58:11 2019
Return-Path: <gcc-bugs-return-633253-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 131033 invoked by alias); 11 Feb 2019 17:58: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 129299 invoked by uid 48); 11 Feb 2019 17:58:07 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88771] [9 Regression] Misleading -Werror=array-bounds error
Date: Mon, 11 Feb 2019 17:58: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: diagnostic, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status
Message-ID: <bug-88771-4-9gy6zSj4Do@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88771-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88771-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: 2019-02/txt/msg01555.txt.bz2
Content-length: 1416

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW

--- Comment #20 from Martin Sebor <msebor at gcc dot gnu.org> ---
The patch to make the warning less misleading has been committed in r268775. 
With the test case from comment #0 cleaned up a bit, the warning looks like
this:

$ cat pr88771.c && gcc -O2 -S -Wall pr88771.c
int f (char *d, const char *s, int n)
{
  int i = n + 1 ? n + 1 : 1;

  __builtin_strncpy (d, s, n);

  if (i)
    return 1;

  return 0;
}
pr88771.c: In function ‘f’:
pr88771.c:5:3: warning: ‘__builtin_strncpy’ specified bound
18446744073709551615 exceeds maximum object size 9223372036854775807
[-Wstringop-overflow=]
    5 |   __builtin_strncpy (d, s, n);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~


It's interesting to note that the test after the (n + 1) addition relies on
signed integer overflow having wrapping semantics.  With that invalid
assumption removed by making n's and i's type unsigned the warning is gone
because doing so prevents jump threading from inserting the additional strncpy
call.  (But there are other, valid cases where the invalid call still is
introduced and the warning triggers.)
>From gcc-bugs-return-633254-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 17:58:19 2019
Return-Path: <gcc-bugs-return-633254-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1042 invoked by alias); 11 Feb 2019 17:58:19 -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 949 invoked by uid 55); 11 Feb 2019 17:58:16 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89267] [8 Regression] FAIL: g++.dg/cpp1z/constexpr-lambda8.C   (test for excess errors)
Date: Mon, 11 Feb 2019 17:58: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.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89267-4-sf7fVw1uf0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89267-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89267-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: 2019-02/txt/msg01556.txt.bz2
Content-length: 508

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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Feb 11 17:57:41 2019
New Revision: 268776

URL: https://gcc.gnu.org/viewcvs?rev=268776&root=gcc&view=rev
Log:
        PR c++/89267 - change of error location.

        * pt.c (tsubst_copy_and_build): Do still clear expr location
        for instantiated thunk calls.

Modified:
    branches/gcc-8-branch/gcc/cp/ChangeLog
    branches/gcc-8-branch/gcc/cp/pt.c
>From gcc-bugs-return-633255-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 18:02:22 2019
Return-Path: <gcc-bugs-return-633255-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7810 invoked by alias); 11 Feb 2019 18:02: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 7719 invoked by uid 48); 11 Feb 2019 18:02:17 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/53181] static_assert sees as non constant the comparison between a constexpr and a template argument
Date: Mon, 11 Feb 2019 18:02: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: 4.6.1
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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: cf_known_to_fail
Message-ID: <bug-53181-4-KbrjWJtbEo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-53181-4@http.gcc.gnu.org/bugzilla/>
References: <bug-53181-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: 2019-02/txt/msg01557.txt.bz2
Content-length: 397

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|6.0                         |6.3.0, 7.3.0, 8.2.0, 9.0

--- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> ---
No change in GCC 9.
>From gcc-bugs-return-633256-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 18:05:30 2019
Return-Path: <gcc-bugs-return-633256-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47425 invoked by alias); 11 Feb 2019 18:05: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 47336 invoked by uid 48); 11 Feb 2019 18:05:26 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89285] [8/9 Regression] ICE after casting the this pointer in the constructor in C++17 mode
Date: Mon, 11 Feb 2019 18:05: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: accepts-invalid, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89285-4-Fe9YIvZycp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89285-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89285-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: 2019-02/txt/msg01558.txt.bz2
Content-length: 1870

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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Ah, so one problem is that while we save the inline bodies of functions before
cp_fold_function, cp_fold_function is destructive and clobbers the saved copy.
cp_fold itself is (hopefully) not destructive and creates new trees, but
cp_fold_function is destructive and happily modifies the trees shared with
something else (in this case with the constexpr funcdef table).

One way out of this is throwing away cp_fold_r/cp_fold_function and teaching
cp_fold to handle all the trees that cp_walk_tree can walk (dunno if we want to
cache everything or not).  That means handling e.g. STATEMENT_LIST, BIND_EXPR,
*_STMT etc.
Another possibility is to use cp_fold_r the way it is for non-constexpr
functions, and for constexpr functions use instead a hand written walker that
will handle everything that can appear in constexpr functions with copy on
write behavior, say if it is processing a STATEMENT_LIST and determines a
recursive call wants to fold one of the statements, unshare the whole
STATEMENT_LIST, modify it on the copy (and the parent would notice and unshare
etc.).
Yet another possibility is to use the inliner's copy_tree_body_r for this in
register_constexpr_fundef, but in a way that we don't create new decls.  I'm
afraid it would still create new VLA types, can those appear in constexpr
functions?

Jason, any preferences here?

Note, the above would fix the [9 Regression] part of this PR, that we don't
reject that #c4 testcase.  We'd still need to figure out a fix for the [8
Regression] part that once this [9 Regression] part is fixed would become [8/9
Regression].  I guess it could fix various other accepts-invalid cases where
the cp_folding which modifies the saved tree makes us accept invalid constexpr
code.
>From gcc-bugs-return-633257-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 18:13:34 2019
Return-Path: <gcc-bugs-return-633257-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7198 invoked by alias); 11 Feb 2019 18:13: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 7131 invoked by uid 48); 11 Feb 2019 18:13:30 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/53036] [c++11] trivial class fails std::is_trivial test
Date: Mon, 11 Feb 2019 18:13: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: 4.7.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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 cc cf_known_to_work resolution cf_known_to_fail
Message-ID: <bug-53036-4-QjaxgDxQBw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-53036-4@http.gcc.gnu.org/bugzilla/>
References: <bug-53036-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: 2019-02/txt/msg01559.txt.bz2
Content-length: 1569

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
             Status|NEW                         |RESOLVED
                 CC|                            |msebor at gcc dot gnu.org
      Known to work|                            |6.3.0, 7.4.0, 8.2.0, 9.0
         Resolution|---                         |FIXED
      Known to fail|                            |4.7.4, 4.8.5, 4.9.4

--- Comment #6 from Martin Sebor <msebor at gcc dot gnu.org> ---
This bug has been fixed since GCC 5.  If there are outstanding issues as
comment #5 suggests that aren't being tracked by any open bugs let's open new
issues for them.  I'm going to resolve this as fixed.

r215771 | jason | 2014-10-01 13:21:01 -0400 (Wed, 01 Oct 2014) | 11 lines

        PR c++/63362
        * class.c (type_has_non_user_provided_default_constructor): Rename
        from type_has_user_provided_default_constructor, reverse sense.
        (default_init_uninitialized_part, explain_non_literal_class): Adjust.
        (check_bases_and_members): Set TYPE_HAS_COMPLEX_DFLT.
        * call.c (build_new_method_call_1): Adjust.
        * cp-tree.h: Adjust.
        * decl.c (grok_special_member_properties): Don't set
        TYPE_HAS_COMPLEX_DFLT.
        * init.c (build_value_init_noctor): Don't use
        type_has_user_provided_default_constructor.
>From gcc-bugs-return-633258-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 18:15:42 2019
Return-Path: <gcc-bugs-return-633258-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9907 invoked by alias); 11 Feb 2019 18:15: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 9677 invoked by uid 55); 11 Feb 2019 18:15:24 -0000
From: "wilco at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86637] [9 Regression] ICE: tree check: expected block, have <invalid tree code> in inlining_chain_to_json, at optinfo-emit-json.cc:293
Date: Mon, 11 Feb 2019 18:15: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wilco at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86637-4-ssSdVEfOiq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86637-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86637-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: 2019-02/txt/msg01560.txt.bz2
Content-length: 615

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

--- Comment #14 from Wilco <wilco at gcc dot gnu.org> ---
Author: wilco
Date: Mon Feb 11 18:14:37 2019
New Revision: 268777

URL: https://gcc.gnu.org/viewcvs?rev=268777&root=gcc&view=rev
Log:
[COMMITTED] Fix pthread errors in pr86637-2.c

Fix test errors on targets which do not support pthreads.

Committed as obvious.

    testsuite/
        PR tree-optimization/86637
        * gcc.c-torture/compile/pr86637-2.c: Test pthread and graphite target.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.c-torture/compile/pr86637-2.c
>From gcc-bugs-return-633259-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 18:22:07 2019
Return-Path: <gcc-bugs-return-633259-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50723 invoked by alias); 11 Feb 2019 18:22:06 -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 48562 invoked by uid 48); 11 Feb 2019 18:22:03 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89267] [8 Regression] FAIL: g++.dg/cpp1z/constexpr-lambda8.C   (test for excess errors)
Date: Mon, 11 Feb 2019 18:22: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.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89267-4-mFAfb5tnuy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89267-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89267-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: 2019-02/txt/msg01561.txt.bz2
Content-length: 423

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

Jason Merrill <jason at gcc dot gnu.org> changed:

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

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-633260-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 18:25:25 2019
Return-Path: <gcc-bugs-return-633260-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53878 invoked by alias); 11 Feb 2019 18:25: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 47789 invoked by uid 48); 11 Feb 2019 18:25:21 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libbacktrace/81983] libbacktrace calls bsearch with NULL base
Date: Mon, 11 Feb 2019 18:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libbacktrace
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ian at airs dot com
X-Bugzilla-Status: WAITING
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-81983-4-xrUML2Eo1t@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81983-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81983-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: 2019-02/txt/msg01562.txt.bz2
Content-length: 186

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

--- Comment #5 from Ian Lance Taylor <ian at airs dot com> ---
I would be inclined to just skip the bsearch when the count is zero.
>From gcc-bugs-return-633261-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 18:30:57 2019
Return-Path: <gcc-bugs-return-633261-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126548 invoked by alias); 11 Feb 2019 18:30:57 -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 126428 invoked by uid 48); 11 Feb 2019 18:30:49 -0000
From: "walter.zwieflhofer at ineosteamuk dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89291] New: internal compiler error: in gfc_trans_use_stmts
Date: Mon, 11 Feb 2019 18:30: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: 7.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: walter.zwieflhofer at ineosteamuk 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-89291-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: 2019-02/txt/msg01563.txt.bz2
Content-length: 1675

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

            Bug ID: 89291
           Summary: internal compiler error: in gfc_trans_use_stmts
           Product: gcc
           Version: 7.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: walter.zwieflhofer at ineosteamuk dot com
  Target Milestone: ---

Internal compiler error when compiling WRF 4.0.3 from NCAR

Standard compile of gcc 7.4.0 

uname -a: Linux ws2bar 2.6.32-696.18.7.el6.x86_64 #1 SMP Thu Jan 4 17:31:22 UTC
2018 x86_64 x86_64 x86_64 GNU/Linux

Processor type: Intel(R) Xeon(R) CPU E5-2643 v2 @ 3.50GHz

Backtrace:

module_ra_rrtmg_lw.f90:7870:0:

       use rrlw_tbl, only: ntbl, tblint, pade, bpade, tau_tbl, exp_tbl, tfn_tbl

internal compiler error: in gfc_trans_use_stmts, at fortran/trans-decl.c:4959
0x6bb88e gfc_trans_use_stmts
        ../../gcc-7.4.0-src/gcc/fortran/trans-decl.c:4958
0x6bbe92 gfc_generate_function_code(gfc_namespace*)
        ../../gcc-7.4.0-src/gcc/fortran/trans-decl.c:6528
0x69a0f9 gfc_generate_module_code(gfc_namespace*)
        ../../gcc-7.4.0-src/gcc/fortran/trans.c:2202
0x64f75b translate_all_program_units
        ../../gcc-7.4.0-src/gcc/fortran/parse.c:6062
0x64f75b gfc_parse_file()
        ../../gcc-7.4.0-src/gcc/fortran/parse.c:6275
0x692eaf gfc_be_parse_file
        ../../gcc-7.4.0-src/gcc/fortran/f95-lang.c:204
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.


Possible code regression - see bug report 41062 from 13 Aug 2009
>From gcc-bugs-return-633262-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 18:40:54 2019
Return-Path: <gcc-bugs-return-633262-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47224 invoked by alias); 11 Feb 2019 18:40: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 47075 invoked by uid 48); 11 Feb 2019 18:40:49 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89288] [9 Regression] ICE in tree_code_size, at tree.c:865
Date: Mon, 11 Feb 2019 18:40: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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 target_milestone
Message-ID: <bug-89288-4-uBlJlKLRdn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89288-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89288-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: 2019-02/txt/msg01564.txt.bz2
Content-length: 1117

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |msebor at gcc dot gnu.org
   Target Milestone|---                         |9.0

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
4033      if (TYPE_P (oper))
4034        tmpdecl = build_decl (atloc, TYPE_DECL, tmpid, oper);
4035      else
4036        tmpdecl = build_decl (atloc, TREE_CODE (oper), tmpid, TREE_TYPE
(oper));

when oper is INTEGER_CST (or any expression other than TYPE_P or DECL_P) is not
going to work at all.  Other issues:

/* An alias cannot be a defintion so declare the symbol extern.  */
s/defintion/definition/

  if (has_attribute (atloc, oper, attr, default_conversion))
    result.value = boolean_true_node;
  else
    result.value =  boolean_false_node;
too large whitespace between = and boolean.
>From gcc-bugs-return-633263-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 18:49:18 2019
Return-Path: <gcc-bugs-return-633263-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57109 invoked by alias); 11 Feb 2019 18:49:18 -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 57044 invoked by uid 48); 11 Feb 2019 18:49:14 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89291] internal compiler error: in gfc_trans_use_stmts
Date: Mon, 11 Feb 2019 18:49: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.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: WAITING
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-89291-4-tP8ulzNOlt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89291-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89291-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: 2019-02/txt/msg01565.txt.bz2
Content-length: 516

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2019-02-11
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Please provide a reproducer.
>From gcc-bugs-return-633264-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 18:58:53 2019
Return-Path: <gcc-bugs-return-633264-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25180 invoked by alias); 11 Feb 2019 18:58:52 -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 25106 invoked by uid 48); 11 Feb 2019 18:58:48 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89286] Intrinsic sign and GNU Extension
Date: Mon, 11 Feb 2019 18:58: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: WAITING
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-89286-4-oqujj1LrUM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89286-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89286-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: 2019-02/txt/msg01566.txt.bz2
Content-length: 780

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2019-02-11
     Ever confirmed|0                           |1

--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Patch should go to the fortran@gcc.gnu.org and gcc-patches@gcc.gnu.org mailing
lists for review.

>From a quick look at the patch it does seem that the extension is rejected when
compiling with -std=f*.

I don't see the need to add this extension (read: I am opposed to this
extension).
>From gcc-bugs-return-633265-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 19:01:21 2019
Return-Path: <gcc-bugs-return-633265-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31181 invoked by alias); 11 Feb 2019 19:01: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 28928 invoked by uid 48); 11 Feb 2019 19:01:17 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89289] ICE in extract_insn, at recog.c:2310
Date: Mon, 11 Feb 2019 19:01: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89289-4-k9J4bDktZ4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89289-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89289-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: 2019-02/txt/msg01567.txt.bz2
Content-length: 949

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-11
                 CC|                            |ak at gcc dot gnu.org,
                   |                            |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
So, either we need to make the calls direct (that could be e.g. adding another
predicate and constraint similar to const_call_address_operand/Bz that wouldn't
check flag_force_indirect_call, or do what we do e.g. for -fpic -mcmodel=large
(but we don't have a got pointer), or add completely new patterns for TLS_GD/LD
models.
>From gcc-bugs-return-633266-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 19:21:45 2019
Return-Path: <gcc-bugs-return-633266-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116737 invoked by alias); 11 Feb 2019 19:21: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 113892 invoked by uid 48); 11 Feb 2019 19:21:41 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89288] [9 Regression] ICE in tree_code_size, at tree.c:865
Date: Mon, 11 Feb 2019 19:21: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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 dependson everconfirmed
Message-ID: <bug-89288-4-N7VbaDKGPT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89288-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89288-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: 2019-02/txt/msg01568.txt.bz2
Content-length: 1073

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code, patch
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-11
         Depends on|                            |88383
     Ever confirmed|0                           |1

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
The trivial patch for bug 88383 that you objected to for reasons unrelated to
the fix and that Jeff likewise declined to approve has a solution for this. 
The fix is incomplete so it still ICEs on this test case but that's just a
small oversight.  I have reposted the patch:
https://gcc.gnu.org/ml/gcc-patches/2019-02/msg00793.html


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88383
[Bug 88383] ICE calling _builtin_has_attribute with an expression
>From gcc-bugs-return-633267-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 19:24:47 2019
Return-Path: <gcc-bugs-return-633267-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93479 invoked by alias); 11 Feb 2019 19:24: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 91746 invoked by uid 48); 11 Feb 2019 19:24:43 -0000
From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89292] New: [9 regression] test case gcc.target/powerpc/rs6000-fpint.c fails after r268705
Date: Mon, 11 Feb 2019 19:24:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
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-89292-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: 2019-02/txt/msg01569.txt.bz2
Content-length: 2623

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

            Bug ID: 89292
           Summary: [9 regression] test case
                    gcc.target/powerpc/rs6000-fpint.c fails after r268705
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

Slightly different assembler is generated after r268705


spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test2/gcc/
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.target/powerpc/rs6000-fpint.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -mno-powerpc-gfxopt -ffat-lto-objects -fno-ident -S
-o rs6000-fpint.s
PASS: gcc.target/powerpc/rs6000-fpint.c (test for excess errors)
FAIL: gcc.target/powerpc/rs6000-fpint.c scan-assembler-not stfiwx
Executing on host: /home/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test2/gcc/ vmx_hw_available72259.c   
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never  -mno-vsx  -lm  -o vmx_hw_available72259.exe   
(timeout = 300)
spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test2/gcc/ vmx_hw_available72259.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -mno-vsx -lm -o vmx_hw_available72259.exe
Setting LD_LIBRARY_PATH to
:/home/seurer/gcc/build/gcc-test2/gcc::/home/seurer/gcc/build/gcc-test2/gcc:/home/seurer/gcc/build/gcc-test2/./gmp/.libs:/home/seurer/gcc/build/gcc-test2/./prev-gmp/.libs:/home/seurer/gcc/build/gcc-test2/./mpfr/src/.libs:/home/seurer/gcc/build/gcc-test2/./prev-mpfr/src/.libs:/home/seurer/gcc/build/gcc-test2/./mpc/src/.libs:/home/seurer/gcc/build/gcc-test2/./prev-mpc/src/.libs:/home/seurer/gcc/build/gcc-test2/./isl/.libs:/home/seurer/gcc/build/gcc-test2/./prev-isl/.libs:/home/seurer/gcc/install/gcc-7.2.0/lib64
Execution timeout is: 300
spawn [open ...]
testcase
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.target/powerpc/powerpc.exp
completed in 0 seconds

                === gcc Summary ===

# of expected passes            1
# of unexpected failures        1


Comparing the assembler before and after the change:

24,25c24,25
<       mfvsrwz 9,0
<       stw 9,48(31)
---
> 	addi 9,31,48
> 	stfiwx 0,0,9
28,29c28,29
<       mfvsrwz 9,0
<       stw 9,52(31)
---
> 	addi 9,31,52
> 	stfiwx 0,0,9
>From gcc-bugs-return-633269-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 19:39:38 2019
Return-Path: <gcc-bugs-return-633269-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25980 invoked by alias); 11 Feb 2019 19:39: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 19115 invoked by uid 48); 11 Feb 2019 19:39:35 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89290] [8/9 Regression] ICE in change_address_1, at emit-rtl.c:2286
Date: Mon, 11 Feb 2019 19:39: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: jakub 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-89290-4-uGBJOP16q3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89290-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89290-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: 2019-02/txt/msg01571.txt.bz2
Content-length: 1424

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The problem is that adjust_address with
(mem/c:TI (const:DI (unspec:DI [
                (symbol_ref:DI ("s") [flags 0x2a] <var_decl 0x7ffff7ffbb40 s>)
            ] UNSPEC_NTPOFF)) [1 s+0 S16 A64 AS1])
as first argument, E_DImode and 8 as last two doesn't validate.
We have originally:
(insn 7 6 10 2 (set (mem/c:TI (plus:DI (unspec:DI [
                        (const_int 0 [0])
                    ] UNSPEC_TP)
                (const:DI (unspec:DI [
                            (symbol_ref:DI ("s") [flags 0x2a]  <var_decl
0x7ff97a130b40 s>)
                        ] UNSPEC_NTPOFF))) [1 s+0 S16 A64])
        (reg:TI 83)) "pr89290.c":7:5 65 {*movti_internal}
     (nil))
then the ix86_rewrite_tls_address splitter rewrites this into:
(insn 12 6 10 2 (set (mem/c:TI (const:DI (unspec:DI [
                        (symbol_ref:DI ("s") [flags 0x2a]  <var_decl
0x7ff97a130b40 s>)
                    ] UNSPEC_NTPOFF)) [1 s+0 S16 A64 AS1])
        (reg:TI 83)) "pr89290.c":7:5 -1
     (nil))
and finally we ICE in the split_double_move splitter.
>From gcc-bugs-return-633270-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 19:39:59 2019
Return-Path: <gcc-bugs-return-633270-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50137 invoked by alias); 11 Feb 2019 19:39: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 44557 invoked by uid 48); 11 Feb 2019 19:39:55 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89290] [8/9 Regression] ICE in change_address_1, at emit-rtl.c:2286
Date: Mon, 11 Feb 2019 19:39: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: jakub 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 everconfirmed
Message-ID: <bug-89290-4-qct5q7llDT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89290-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89290-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: 2019-02/txt/msg01572.txt.bz2
Content-length: 527

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-11
                 CC|                            |uros at gcc dot gnu.org
   Target Milestone|---                         |8.3
     Ever confirmed|0                           |1
>From gcc-bugs-return-633268-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 19:39:19 2019
Return-Path: <gcc-bugs-return-633268-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126870 invoked by alias); 11 Feb 2019 19:39:19 -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 118758 invoked by uid 48); 11 Feb 2019 19:39:15 -0000
From: "walter.zwieflhofer at ineosteamuk dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89291] internal compiler error: in gfc_trans_use_stmts
Date: Mon, 11 Feb 2019 19:39: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.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: walter.zwieflhofer at ineosteamuk dot com
X-Bugzilla-Status: WAITING
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-89291-4-HhoSqmsIS2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89291-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89291-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: 2019-02/txt/msg01570.txt.bz2
Content-length: 833

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

--- Comment #2 from zwieflhofer <walter.zwieflhofer at ineosteamuk dot com> ---

Installed gcc-5.5.0 and built the identical WRF version.

No ICE encountered with 5.5.0. 

Attempted to extract a reduced test version but this is non-trivial due to the
large source code base and complex make files. I am happy for now that 5.5.0
gives me a working solution. I tried the reproducer attached to bug report
41062 but that one compiled fine under 7.4.0.

Please regard this bug report as a courtesy rather than a request for action
and feel free to close it due to the missing reproducer.

Alternatively, I can forward this report to NCAR to see whether there is any
interest in pre-emptive investigations as part of their regression testing.

Many thanks for the prompt reply.
>From gcc-bugs-return-633271-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 19:55:06 2019
Return-Path: <gcc-bugs-return-633271-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10651 invoked by alias); 11 Feb 2019 19:55: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 8521 invoked by uid 48); 11 Feb 2019 19:55:02 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/88147] [9 Regression] ICE in linemap_line_start, at libcpp/line-map.c:781 starting from r265875
Date: Mon, 11 Feb 2019 19:55: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-88147-4-NVJoBOXndc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88147-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88147-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: 2019-02/txt/msg01573.txt.bz2
Content-length: 1193

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

--- Comment #20 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
(In reply to David Malcolm from comment #19)
> (In reply to David Malcolm from comment #17)
> > Created attachment 45660 [details]
> > Selftest coverage
> > 
> > The attached reproduces the problem via a minimal selftest, and is also
> > fixed by attachment 45653 [details].
> 
> Thanks for creating this patch.  I like that it imposes an upper limit on
> the value of a line number within an ordinary linemap relative to the line
> map's starting line, but I wonder if that upper limit needs to be lower than
> the one in your patch (e.g. what happens if the resulting location_t value
> hit limits like LINE_MAP_MAX_LOCATION etc).

I constructed a selftest that does that, but it doesn't lead to corrupt
location_t values: it hits this check, and returns 0 (aka UNKNOWN_LOCATION):

771       /* Locations of ordinary tokens are always lower than locations of
772          macro tokens.  */
773       if (r >= LINE_MAP_MAX_LOCATION)
774         return 0;

So I think your fix is the one we should use.  I'm testing a combined patch
with your fix + my selftest.
>From gcc-bugs-return-633272-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 20:01:15 2019
Return-Path: <gcc-bugs-return-633272-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7314 invoked by alias); 11 Feb 2019 20:01: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 7231 invoked by uid 55); 11 Feb 2019 20:01:05 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88977] __builtin_is_constant_evaluated() as function template argument causes substitution failure
Date: Mon, 11 Feb 2019 20:01: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: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-88977-4-vfrdLFWIvn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88977-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88977-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: 2019-02/txt/msg01574.txt.bz2
Content-length: 622

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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Feb 11 20:00:16 2019
New Revision: 268780

URL: https://gcc.gnu.org/viewcvs?rev=268780&root=gcc&view=rev
Log:
        PR c++/88977
        * pt.c (convert_nontype_argument): Pass true as manifestly_const_eval
        to maybe_constant_value calls.

        * g++.dg/cpp2a/is-constant-evaluated7.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp2a/is-constant-evaluated7.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633273-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 20:04:18 2019
Return-Path: <gcc-bugs-return-633273-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11803 invoked by alias); 11 Feb 2019 20:04:18 -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 11719 invoked by uid 55); 11 Feb 2019 20:04:14 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89212] [8/9 Regression] ICE in fold_convert_loc at fold-const.c:2552
Date: Mon, 11 Feb 2019 20:04: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, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89212-4-hTPf0C6cMi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89212-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89212-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: 2019-02/txt/msg01575.txt.bz2
Content-length: 745

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

--- Comment #7 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Mon Feb 11 20:03:43 2019
New Revision: 268781

URL: https://gcc.gnu.org/viewcvs?rev=268781&root=gcc&view=rev
Log:
        PR c++/89212 - ICE converting nullptr to pointer-to-member-function.
        * pt.c (tsubst_copy_and_build) <case CONSTRUCTOR>: Return early for
        null member pointer value.

        * g++.dg/cpp0x/nullptr40.C: New test.
        * g++.dg/cpp0x/nullptr41.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/nullptr40.C
    trunk/gcc/testsuite/g++.dg/cpp0x/nullptr41.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633274-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 20:04:54 2019
Return-Path: <gcc-bugs-return-633274-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12957 invoked by alias); 11 Feb 2019 20:04: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 12886 invoked by uid 48); 11 Feb 2019 20:04:50 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88977] __builtin_is_constant_evaluated() as function template argument causes substitution failure
Date: Mon, 11 Feb 2019 20:04: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: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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: bug_status resolution
Message-ID: <bug-88977-4-H66tFRyueo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88977-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88977-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: 2019-02/txt/msg01576.txt.bz2
Content-length: 423

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-633275-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 20:05:00 2019
Return-Path: <gcc-bugs-return-633275-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13664 invoked by alias); 11 Feb 2019 20:05: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 13030 invoked by uid 48); 11 Feb 2019 20:04:54 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89212] [8 Regression] ICE in fold_convert_loc at fold-const.c:2552
Date: Mon, 11 Feb 2019 20:05: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, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-89212-4-LjJd29xUHS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89212-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89212-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: 2019-02/txt/msg01577.txt.bz2
Content-length: 539

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[8/9 Regression] ICE in     |[8 Regression] ICE in
                   |fold_convert_loc at         |fold_convert_loc at
                   |fold-const.c:2552           |fold-const.c:2552

--- Comment #8 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed on trunk so far.
>From gcc-bugs-return-633276-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 20:09:33 2019
Return-Path: <gcc-bugs-return-633276-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57986 invoked by alias); 11 Feb 2019 20:09:32 -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 57888 invoked by uid 48); 11 Feb 2019 20:09:29 -0000
From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89292] [9 regression] test case gcc.target/powerpc/rs6000-fpint.c fails after r268705
Date: Mon, 11 Feb 2019 20:09: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: 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:
Message-ID: <bug-89292-4-5cJr2yimlk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89292-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89292-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: 2019-02/txt/msg01578.txt.bz2
Content-length: 300

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

--- Comment #1 from seurer at gcc dot gnu.org ---
gcc.target/powerpc/vsx-simode2.c also fails after this revision:

# of expected passes            2
# of unexpected failures        1
FAIL: gcc.target/powerpc/vsx-simode2.c scan-assembler mtvsrwz
>From gcc-bugs-return-633277-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 20:28:07 2019
Return-Path: <gcc-bugs-return-633277-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35061 invoked by alias); 11 Feb 2019 20:28: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 35018 invoked by uid 48); 11 Feb 2019 20:28:03 -0000
From: "ibuclaw at gdcproject dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug d/89293] New: libphobos: core.atomic should have fallback for no atomic library
Date: Mon, 11 Feb 2019 20:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: d
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ibuclaw at gdcproject dot org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot 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-89293-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: 2019-02/txt/msg01579.txt.bz2
Content-length: 753

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

            Bug ID: 89293
           Summary: libphobos: core.atomic should have fallback for no
                    atomic library
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: ibuclaw at gdcproject dot org
  Target Milestone: ---

Currently there's a static assert that fails if GNU_Have_LibAtomic is false.

In the absence of atomics, a statically allocated core.sync.mutex.Mutex could
be used instead to lock/unlock between operations, making sure there's no risk
of using it before D runtime has been initialized.
>From gcc-bugs-return-633279-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 20:51:25 2019
Return-Path: <gcc-bugs-return-633279-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56905 invoked by alias); 11 Feb 2019 20:51: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 56836 invoked by uid 48); 11 Feb 2019 20:51:22 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/58074] [C++11][DR 1333] __is_trivial intrinsic fails for deleted members and for non-trivial copy-c'tors
Date: Mon, 11 Feb 2019 20: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: 4.9.0
X-Bugzilla-Keywords: deferred, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-58074-4-k2NxedvupT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-58074-4@http.gcc.gnu.org/bugzilla/>
References: <bug-58074-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: 2019-02/txt/msg01581.txt.bz2
Content-length: 508

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

--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Daniel Krügler from comment #0)
> The deleted default constructor should not prevent type Trivial of being
> trivial (Maybe this part of the problem is related to bug 52707, but I'm not
> sure).

I think DR 1363 changed that (and DR 1496 reconfirmed it) so the first test is
wrong. But G++ now passes that assertion, so that's also wrong (that is Bug
85723 though).
>From gcc-bugs-return-633278-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 20:51:04 2019
Return-Path: <gcc-bugs-return-633278-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55679 invoked by alias); 11 Feb 2019 20:51:04 -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 55587 invoked by uid 48); 11 Feb 2019 20:51:00 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89266] ICE with TRANSFER of len=0 character array constructor
Date: Mon, 11 Feb 2019 20: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gmx dot de
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-89266-4-S362qOZ7rm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89266-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89266-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: 2019-02/txt/msg01580.txt.bz2
Content-length: 1537

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

--- Comment #8 from Harald Anlauf <anlauf at gmx dot de> ---
It's not as trivial as I had hoped.

The point is that gfc_element_size() and gfc_target_expr_size()
are returning size 0 for the source expression, which is an entirely
correct value.  However, they also return value 0 also for cases
where the sizes could not be determined to be a constant.

I have a 'half-patch' that tries to change gfc_target_expr_size()
to return a bool which is true for success and false for failure,
and then deal with this return value.

It seems that this also needs to be done for gfc_element_size().
However, there is this occurrence in class.c of gfc_element_size():

              /* Build a minimal expression to make use of
                 target-memory.c/gfc_element_size for 'size'.  Special handling
                 for character arrays, that are not constant sized: to support
                 len (str) * kind, only the kind information is stored in the
                 vtab.  */
              e = gfc_get_expr ();
              e->ts = *ts;
              e->expr_type = EXPR_VARIABLE;
              c->initializer = gfc_get_int_expr (gfc_size_kind,
                                                 NULL,
                                                 ts->type == BT_CHARACTER
                                                 ? ts->kind
                                                 : gfc_element_size (e));

I am not yet sure how to safely rewrite this.
>From gcc-bugs-return-633280-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 20:52:54 2019
Return-Path: <gcc-bugs-return-633280-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58962 invoked by alias); 11 Feb 2019 20:52: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 58793 invoked by uid 48); 11 Feb 2019 20:52:49 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85723] [C++17][DR 1496] __is_trivial intrinsic fails with no trivial non-deleted default c'tor
Date: Mon, 11 Feb 2019 20: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: 8.1.0
X-Bugzilla-Keywords: rejects-valid
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 see_also everconfirmed
Message-ID: <bug-85723-4-1oBjHXoRv8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85723-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85723-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: 2019-02/txt/msg01582.txt.bz2
Content-length: 938

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-11
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=53036
     Ever confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Confirmed.

We also don't yet implement the earlier change to that wording, from
https://wg21.link/cwg1363

struct A {
    A() = default;
    A(int i = 0) { }
};

static_assert(!__is_trivial(A), "");

This fails because G++ considers the class trivial, even though
default-initialization would fail as ambiguous.
>From gcc-bugs-return-633281-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 20:53:32 2019
Return-Path: <gcc-bugs-return-633281-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62727 invoked by alias); 11 Feb 2019 20:53: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 62673 invoked by uid 48); 11 Feb 2019 20:53:27 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/53036] [c++11] trivial class fails std::is_trivial test
Date: Mon, 11 Feb 2019 20: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: 4.7.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-53036-4-9hTuQBPJBR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-53036-4@http.gcc.gnu.org/bugzilla/>
References: <bug-53036-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: 2019-02/txt/msg01583.txt.bz2
Content-length: 177

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

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Bug 85723 deals with the problem mentioned in comment 5.
>From gcc-bugs-return-633282-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 20:55:12 2019
Return-Path: <gcc-bugs-return-633282-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66415 invoked by alias); 11 Feb 2019 20:55: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 66267 invoked by uid 48); 11 Feb 2019 20:55:08 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89285] [8/9 Regression] ICE after casting the this pointer in the constructor in C++17 mode
Date: Mon, 11 Feb 2019 20:55: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: accepts-invalid, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89285-4-pOloihNRxW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89285-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89285-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: 2019-02/txt/msg01584.txt.bz2
Content-length: 415

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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I'll try to copy & adjust (mostly kill almost everything) copy_tree_body_r and
use that in register_constexpr_fundef.  As we don't need to remap decls or
types, 
I think we just need copy_statement_list for STATEMENT_LIST, remap_save_expr
for SAVE_EXPR/TARGET_EXPR, copy_tree_r for the rest?
>From gcc-bugs-return-633283-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 21:05:48 2019
Return-Path: <gcc-bugs-return-633283-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88612 invoked by alias); 11 Feb 2019 21:05: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 88460 invoked by uid 48); 11 Feb 2019 21:05:45 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/84135] [8/9 Regression] ICE in gfc_trans_array_cobounds, at fortran/trans-array.c:6033
Date: Mon, 11 Feb 2019 21:05: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.0
X-Bugzilla-Keywords: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
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-84135-4-Q3r3nIQzVs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84135-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84135-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: 2019-02/txt/msg01585.txt.bz2
Content-length: 322

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

--- Comment #6 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
$ cat z1.f90
> program p
>    integer :: i
>    integer, dimension(3) :: x[2,*]
>    data (x(i:i+2:i+1), i=1,2) /1,2,3/

This should be caught, there is no normal dimension
here, just a codimension.
>From gcc-bugs-return-633284-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 21:06:48 2019
Return-Path: <gcc-bugs-return-633284-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94609 invoked by alias); 11 Feb 2019 21:06: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 94516 invoked by uid 48); 11 Feb 2019 21:06:44 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/66970] Add __has_builtin() macro
Date: Mon, 11 Feb 2019 21:06: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: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc assigned_to
Message-ID: <bug-66970-4-NMKgiOXV3a@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66970-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66970-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: 2019-02/txt/msg01586.txt.bz2
Content-length: 563

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |msebor at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |msebor at gcc dot gnu.org

--- Comment #13 from Martin Sebor <msebor at gcc dot gnu.org> ---
Let me look into this request for GCC 10.
>From gcc-bugs-return-633285-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 21:19:41 2019
Return-Path: <gcc-bugs-return-633285-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17990 invoked by alias); 11 Feb 2019 21:19:41 -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 17877 invoked by uid 48); 11 Feb 2019 21:19:37 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89285] [8/9 Regression] ICE after casting the this pointer in the constructor in C++17 mode
Date: Mon, 11 Feb 2019 21:19: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: accepts-invalid, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason 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-89285-4-lNMn1mUkpc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89285-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89285-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: 2019-02/txt/msg01587.txt.bz2
Content-length: 2052

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

--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #4)
> +      /* Preserve REINTERPRET_CAST_P.  */
> +      if (code == NOP_EXPR && REINTERPRET_CAST_P (org_x))
> +	{
> +	  if (TREE_CODE (x) == NOP_EXPR && REINTERPRET_CAST_P (x))
> +	    break;
> +	  if (TREE_CODE (x) == NOP_EXPR)
> +	    {
> +	      x = copy_node (x);
> +	      REINTERPRET_CAST_P (x) = 1;
> +	    }
> +	  else
> +	    {
> +	      x = build1_loc (loc, code, TREE_TYPE (x), x);
> +	      REINTERPRET_CAST_P (x) = 1;
> +	    }
> +	}
>        break;

Looks good, though can't we assume that if x != org_x it's a new NOP_EXPR so we
can just set REINTERPRET_CAST_P?

> and with that we reject the testcase again (like we've done in 8.x, so this
> part is [9 Regression] accepts-invalid).
> But that also means we ICE again on the:
> C bar {};

I'm not seeing this.

> So, maybe we want to ignore that:
>       if (REINTERPRET_CAST_P (t))
>         {
>           if (!ctx->quiet)
>             error_at (cp_expr_loc_or_loc (t, input_location),
>                       "a reinterpret_cast is not a constant expression");
>           *non_constant_p = true;
>           return t;
>         }
> for perhaps !ctx->manifestly_const_eval , as in when we really don't require
> constant expression.

That should depend on ctx->strict, not manifestly_const_eval.

(In reply to Jakub Jelinek from comment #7)
> Ah, so one problem is that while we save the inline bodies of functions
> before cp_fold_function, cp_fold_function is destructive and clobbers the
> saved copy.
> cp_fold itself is (hopefully) not destructive and creates new trees, but
> cp_fold_function is destructive and happily modifies the trees shared with
> something else (in this case with the constexpr funcdef table).
> 
> Jason, any preferences here?

My theory has been to switch to saving pre-gimplification bodies of constexpr
functions and doing constant evaluation using them.
>From gcc-bugs-return-633286-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 21:34:52 2019
Return-Path: <gcc-bugs-return-633286-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130457 invoked by alias); 11 Feb 2019 21:34:52 -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 130284 invoked by uid 48); 11 Feb 2019 21:34:48 -0000
From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89294] New: [9 regression] ICE in valid_constant_size_p, at tree.c:7524
Date: Mon, 11 Feb 2019 21:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
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_gcchost cf_gcctarget cf_gccbuild
Message-ID: <bug-89294-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: 2019-02/txt/msg01588.txt.bz2
Content-length: 2530

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

            Bug ID: 89294
           Summary: [9 regression] ICE in valid_constant_size_p, at
                    tree.c:7524
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: msebor at gcc dot gnu.org
  Target Milestone: ---
              Host: i386-pc-solaris2.11
            Target: i386-pc-solaris2.11
             Build: i386-pc-solaris2.11

Between 20190210 (r268749) and 20190211 (r268774), a couple of Ada testcases
regressed on Solaris/x86 (both 32 and 64-bit):

+FAIL: gnat.dg/vect1.adb (test for excess errors)
+FAIL: gnat.dg/vect1.adb 3 blank line(s) in output
+UNRESOLVED: gnat.dg/vect1.adb scan-tree-dump-times vect "vectorized 1 loops"
15
+FAIL: gnat.dg/vect2.adb (test for excess errors)
+FAIL: gnat.dg/vect2.adb 3 blank line(s) in output
+UNRESOLVED: gnat.dg/vect2.adb scan-tree-dump-times vect "vectorized 1 loops"
15
+FAIL: gnat.dg/vect3.adb (test for excess errors)
+FAIL: gnat.dg/vect3.adb 3 blank line(s) in output
+UNRESOLVED: gnat.dg/vect3.adb scan-tree-dump-times vect "vectorized 1 loops"
15
+FAIL: gnat.dg/vect4.adb (test for excess errors)
+FAIL: gnat.dg/vect4.adb 3 blank line(s) in output
+UNRESOLVED: gnat.dg/vect4.adb scan-tree-dump-times vect "vectorized 1 loops"
15
+FAIL: gnat.dg/vect5.adb (test for excess errors)
+FAIL: gnat.dg/vect5.adb 3 blank line(s) in output
+UNRESOLVED: gnat.dg/vect5.adb scan-tree-dump-times vect "vectorized 1 loops"
15
+FAIL: gnat.dg/vect6.adb (test for excess errors)
+FAIL: gnat.dg/vect6.adb 3 blank line(s) in output
+UNRESOLVED: gnat.dg/vect6.adb scan-tree-dump-times vect "vectorized 1 loops"
15

FAIL: gnat.dg/vect2.adb 3 blank line(s) in output
FAIL: gnat.dg/vect2.adb (test for excess errors)
Excess errors:
+===========================GNAT BUG DETECTED==============================+
| 9.0.1 20190211 (experimental) [trunk revision 268774] (i386-pc-solaris2.11)
GCC error:|
| tree check: expected class 'constant', have 'binary' (mult_expr) in      |
|     valid_constant_size_p, at tree.c:7524                                |
| Error detected at vect2.ads:24:51          

I'm not seeing this failure on sparc-sun-solaris2.11.
>From gcc-bugs-return-633287-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 21:36:10 2019
Return-Path: <gcc-bugs-return-633287-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9985 invoked by alias); 11 Feb 2019 21:36: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 9004 invoked by uid 48); 11 Feb 2019 21:36:07 -0000
From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89294] [9 regression] ICE in valid_constant_size_p, at tree.c:7524
Date: Mon, 11 Feb 2019 21:36: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: 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-89294-4-RCOBy8SPSC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89294-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89294-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: 2019-02/txt/msg01589.txt.bz2
Content-length: 285

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |9.0
>From gcc-bugs-return-633289-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 21:46:50 2019
Return-Path: <gcc-bugs-return-633289-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43904 invoked by alias); 11 Feb 2019 21:46: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 43242 invoked by uid 48); 11 Feb 2019 21:46:44 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89241] [9 Regression] ICE in enclosing_instantiation_of, at cp/pt.c:13380
Date: Mon, 11 Feb 2019 21:46: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: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc assigned_to
Message-ID: <bug-89241-4-PmBBmWGDNh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89241-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89241-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: 2019-02/txt/msg01591.txt.bz2
Content-length: 452

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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |jason at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org
>From gcc-bugs-return-633288-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 21:46:37 2019
Return-Path: <gcc-bugs-return-633288-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42283 invoked by alias); 11 Feb 2019 21:46: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 41899 invoked by uid 48); 11 Feb 2019 21:46:33 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89292] [9 regression] test case gcc.target/powerpc/rs6000-fpint.c fails after r268705
Date: Mon, 11 Feb 2019 21:46: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wschmidt 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-89292-4-BRzVXEZmPQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89292-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89292-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: 2019-02/txt/msg01590.txt.bz2
Content-length: 186

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

--- Comment #2 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
So, dup of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89271?
>From gcc-bugs-return-633290-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 21:48:48 2019
Return-Path: <gcc-bugs-return-633290-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49771 invoked by alias); 11 Feb 2019 21:48: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 49709 invoked by uid 48); 11 Feb 2019 21:48:44 -0000
From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89294] [9 regression] ICE in valid_constant_size_p, at tree.c:7524
Date: Mon, 11 Feb 2019 21:48: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: 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: cf_gcctarget cf_gcchost cf_gccbuild
Message-ID: <bug-89294-4-wWE4P6xatZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89294-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89294-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: 2019-02/txt/msg01592.txt.bz2
Content-length: 743

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|i386-pc-solaris2.11         |i386-pc-solaris2.11,
                   |                            |x86_64-pc-linux-gnu
               Host|i386-pc-solaris2.11         |i386-pc-solaris2.11,
                   |                            |x86_64-pc-linux-gnu
              Build|i386-pc-solaris2.11         |i386-pc-solaris2.11,
                   |                            |x86_64-pc-linux-gnu

--- Comment #1 from Rainer Orth <ro at gcc dot gnu.org> ---
Seeing the same on Linux/x86_64.
>From gcc-bugs-return-633291-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 21:50:13 2019
Return-Path: <gcc-bugs-return-633291-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91543 invoked by alias); 11 Feb 2019 21:50: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 88940 invoked by uid 55); 11 Feb 2019 21:50:09 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88752] [8 Regression] ICE in enclosing_instantiation_of, at cp/pt.c:13328
Date: Mon, 11 Feb 2019 21: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88752-4-veo357Didm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88752-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88752-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: 2019-02/txt/msg01593.txt.bz2
Content-length: 602

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

--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Feb 11 21:49:37 2019
New Revision: 268783

URL: https://gcc.gnu.org/viewcvs?rev=268783&root=gcc&view=rev
Log:
Revert "        PR c++/88752 - ICE with lambda and constexpr if."

This reverts commit 2a97dfc988a695e44f759099f74e4a18c01fa9a5.

Removed:
    branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp1z/constexpr-if26.C
Modified:
    branches/gcc-8-branch/gcc/cp/ChangeLog
    branches/gcc-8-branch/gcc/cp/cp-tree.h
    branches/gcc-8-branch/gcc/cp/pt.c
>From gcc-bugs-return-633292-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 21:57:24 2019
Return-Path: <gcc-bugs-return-633292-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67585 invoked by alias); 11 Feb 2019 21:57: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 67528 invoked by uid 48); 11 Feb 2019 21:57:20 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88299] [F18] COMMON in a legacy module produces bogus warnings in dependent code
Date: Mon, 11 Feb 2019 21:57: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gmx dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
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-88299-4-HXDtAZRqnx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88299-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88299-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: 2019-02/txt/msg01594.txt.bz2
Content-length: 1367

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

--- Comment #4 from Harald Anlauf <anlauf at gmx dot de> ---
I'm currently regtesting the following patch:

Index: gcc/fortran/resolve.c
===================================================================
--- gcc/fortran/resolve.c       (revision 268778)
+++ gcc/fortran/resolve.c       (working copy)
@@ -940,7 +940,11 @@
         have been ignored to continue parsing.
         We do the checks again here.  */
       if (!csym->attr.use_assoc)
-       gfc_add_in_common (&csym->attr, csym->name, &common_block->where);
+       {
+         gfc_add_in_common (&csym->attr, csym->name, &common_block->where);
+         gfc_notify_std (GFC_STD_F2018_OBS, "COMMON block at %L",
+                         &common_block->where);
+       }

       if (csym->value || csym->attr.data)
        {
@@ -998,10 +1002,6 @@

   resolve_common_vars (common_root->n.common, true);

-  if (!gfc_notify_std (GFC_STD_F2018_OBS, "COMMON block at %L",
-                      &common_root->n.common->where))
-    return;
-
   /* The common name is a global name - in Fortran 2003 also if it has a
      C binding name, since Fortran 2008 only the C binding name is a global
      identifier.  */
>From gcc-bugs-return-633293-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 22:07:44 2019
Return-Path: <gcc-bugs-return-633293-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86407 invoked by alias); 11 Feb 2019 22:07:44 -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 83837 invoked by uid 48); 11 Feb 2019 22:07:40 -0000
From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/85762] [8/9 Regression] range-v3 abstraction overhead not optimized away
Date: Mon, 11 Feb 2019 22:07: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jamborm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85762-4-gIMWdNSICL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85762-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85762-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: 2019-02/txt/msg01595.txt.bz2
Content-length: 191

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

--- Comment #4 from Martin Jambor <jamborm at gcc dot gnu.org> ---
My apologies, I forgot about this bug.  I will have a look this week.
>From gcc-bugs-return-633294-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 22:11:02 2019
Return-Path: <gcc-bugs-return-633294-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96831 invoked by alias); 11 Feb 2019 22:11: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 96696 invoked by uid 48); 11 Feb 2019 22:10:58 -0000
From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/42970] Missed unused function return value elimination
Date: Mon, 11 Feb 2019 22:11: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: 4.5.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: jamborm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-42970-4-Q78ZqyUsj8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-42970-4@http.gcc.gnu.org/bugzilla/>
References: <bug-42970-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: 2019-02/txt/msg01596.txt.bz2
Content-length: 626

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

Martin Jambor <jamborm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jamborm at gcc dot gnu.org

--- Comment #5 from Martin Jambor <jamborm at gcc dot gnu.org> ---
I have posted a WIP patch as:

https://gcc.gnu.org/ml/gcc-patches/2018-12/msg01765.html

I am in the process of cleaning it up for final submission once stage 1 opens
again.
>From gcc-bugs-return-633295-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 22:11:26 2019
Return-Path: <gcc-bugs-return-633295-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97789 invoked by alias); 11 Feb 2019 22:11:26 -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 97673 invoked by uid 48); 11 Feb 2019 22:11:20 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88299] [F18] COMMON in a legacy module produces bogus warnings in dependent code
Date: Mon, 11 Feb 2019 22:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gmx dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
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-88299-4-6EXMgUkE3v@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88299-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88299-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: 2019-02/txt/msg01597.txt.bz2
Content-length: 212

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

--- Comment #5 from Harald Anlauf <anlauf at gmx dot de> ---
Patch passed regtesting and was submitted:

https://gcc.gnu.org/ml/fortran/2019-02/msg00097.html
>From gcc-bugs-return-633296-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 22:29:12 2019
Return-Path: <gcc-bugs-return-633296-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109976 invoked by alias); 11 Feb 2019 22: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 109901 invoked by uid 48); 11 Feb 2019 22:29:08 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86252] Abstract class in function return type
Date: Mon, 11 Feb 2019 22: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: unknown
X-Bugzilla-Keywords: rejects-valid
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 everconfirmed
Message-ID: <bug-86252-4-I7pXMlnnF6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86252-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86252-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: 2019-02/txt/msg01598.txt.bz2
Content-length: 465

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-11
     Ever confirmed|0                           |1
>From gcc-bugs-return-633297-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 22:29:47 2019
Return-Path: <gcc-bugs-return-633297-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111223 invoked by alias); 11 Feb 2019 22:29: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 111103 invoked by uid 48); 11 Feb 2019 22:29:43 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86252] Abstract class in function return type
Date: Mon, 11 Feb 2019 22: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: unknown
X-Bugzilla-Keywords: rejects-valid
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-86252-4-BSg1kqPWUl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86252-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86252-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: 2019-02/txt/msg01599.txt.bz2
Content-length: 643

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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Another testcase, reduced from Boost.Rational:

template<typename T>
struct sfinae
{
  static const bool value = false;
  static T zero() { return T(); }
};

template<bool, typename T = void>
struct enable_if { typedef T type; }; 
template<typename T> struct enable_if<false, T> { };

struct Abstract {
  virtual void f() = 0;
};

struct X {
  template<typename T>
    X(const T&, typename enable_if<sfinae<T>::value>::type* = 0)
    { }
};

Abstract* a();

int f(const Abstract&);
void f(X);

int i = f(*a());
>From gcc-bugs-return-633299-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 23:05:53 2019
Return-Path: <gcc-bugs-return-633299-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49777 invoked by alias); 11 Feb 2019 23:05: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 49575 invoked by uid 55); 11 Feb 2019 23:05:48 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89241] [9 Regression] ICE in enclosing_instantiation_of, at cp/pt.c:13380
Date: Mon, 11 Feb 2019 23:05: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: jason at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89241-4-eaGVMi0V1H@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89241-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89241-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: 2019-02/txt/msg01601.txt.bz2
Content-length: 706

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

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Feb 11 23:05:16 2019
New Revision: 268784

URL: https://gcc.gnu.org/viewcvs?rev=268784&root=gcc&view=rev
Log:
        PR c++/89241 - ICE with __func__ in lambda in template.

When we're instantiating a generic lambda, its enclosing context will
have already been instantiated, so we need to look for that as well.

        * pt.c (enclosing_instantiation_of): Also check
        instantiated_lambda_fn_p for the template context.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/lambda-generic-func1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
>From gcc-bugs-return-633298-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 23:05:40 2019
Return-Path: <gcc-bugs-return-633298-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48757 invoked by alias); 11 Feb 2019 23:05: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 48565 invoked by uid 48); 11 Feb 2019 23:05:35 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89241] [9 Regression] ICE in enclosing_instantiation_of, at cp/pt.c:13380
Date: Mon, 11 Feb 2019 23:05: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: jason at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89241-4-bfB9IfWLYy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89241-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89241-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: 2019-02/txt/msg01600.txt.bz2
Content-length: 423

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

Jason Merrill <jason at gcc dot gnu.org> changed:

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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-633300-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 23:07:43 2019
Return-Path: <gcc-bugs-return-633300-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54341 invoked by alias); 11 Feb 2019 23:07: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 54055 invoked by uid 48); 11 Feb 2019 23:07:38 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89144] [9 Regression] GCC emits undefined references when a constexpr initializer_list appears in a template function
Date: Mon, 11 Feb 2019 23:07: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.1
X-Bugzilla-Keywords: link-failure
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-89144-4-nDVMVWYMtb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89144-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89144-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: 2019-02/txt/msg01602.txt.bz2
Content-length: 378

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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org
>From gcc-bugs-return-633301-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 11 23:14:02 2019
Return-Path: <gcc-bugs-return-633301-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64531 invoked by alias); 11 Feb 2019 23:14: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 64337 invoked by uid 48); 11 Feb 2019 23:13:58 -0000
From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89295] New: [9 regression] compilation of gcc.dg-struct-layout-1/t001_x.c takes 30 times as long after r268404
Date: Mon, 11 Feb 2019 23:14: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: 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-89295-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: 2019-02/txt/msg01603.txt.bz2
Content-length: 3688

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

            Bug ID: 89295
           Summary: [9 regression] compilation of
                    gcc.dg-struct-layout-1/t001_x.c takes 30 times as long
                    after r268404
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

Executing on host: /home/seurer/gcc/build/gcc-trunk/gcc/xgcc
-B/home/seurer/gcc/build/gcc-trunk/gcc/    -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never  -w
-I/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/compat -Wno-abi  -c -o
c_compat_x_tst.o
/home/seurer/gcc/build/gcc-trunk/gcc/testsuite/gcc5/gcc.dg-struct-layout-1//t001_x.c
   (timeout = 300)
spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-trunk/gcc/xgcc
-B/home/seurer/gcc/build/gcc-trunk/gcc/ -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never -w
-I/home/seurer/gcc/gcc-trunk/gcc/testsuite/gcc.dg/compat -Wno-abi -c -o
c_compat_x_tst.o
/home/seurer/gcc/build/gcc-trunk/gcc/testsuite/gcc5/gcc.dg-struct-layout-1//t001_x.c
WARNING: program timed out
compiler exited with status 1
FAIL: tmpdir-gcc.dg-struct-layout-1/t001 c_compat_x_tst.o compile

I started noticing this occasional timeout issue with this test case recently
on some of our test machines.  Note that the timeout value is 300 seconds when
run during a make check.

Trying the same test with some older revisions showed (when it is compiled
alone) that the compilation finishes in about 2s.  With recent revisions it
takes 60+s.

This may not be the only test that slows down of course.  "make -k check-gcc
RUNTESTFLAGS=struct-layout-1.exp" which runs many tests including the above
test takes about 4m30s at r268403 and about 7m at r268404.

Looking at the ftime-report outputs the big differences are in LRA
Before:
LRA non-specific                   :   0.25 ( 10%)   0.01 (  4%)   0.24 (  9%) 
  4168 kB (  5%)
LRA virtuals elimination           :   0.03 (  1%)   0.00 (  0%)   0.05 (  2%) 
   355 kB (  0%)
LRA reload inheritance             :   0.03 (  1%)   0.00 (  0%)   0.03 (  1%) 
  1618 kB (  2%)
LRA create live ranges             :   0.04 (  2%)   0.00 (  0%)   0.04 (  1%) 
   538 kB (  1%)
LRA hard reg assignment            :   0.07 (  3%)   0.00 (  0%)   0.06 (  2%) 
     0 kB (  0%)
After:
LRA non-specific                   :   7.34 ( 12%)   0.04 (  9%)   7.59 ( 13%) 
 14335 kB ( 13%)
LRA virtuals elimination           :  26.07 ( 43%)   0.06 ( 13%)  25.26 ( 42%) 
  3613 kB (  3%)
LRA reload inheritance             :   0.04 (  0%)   0.00 (  0%)   0.00 (  0%) 
  1618 kB (  2%)
LRA create live ranges             :  16.84 ( 28%)   0.06 ( 13%)  17.30 ( 29%) 
  1735 kB (  2%)
LRA hard reg assignment            :   7.53 ( 13%)   0.02 (  4%)   7.72 ( 13%) 
     0 kB (  0%)

Note:  I tried this on x86 and did not see the same slowdown between r268403
and r268404.

The trigger revision was 

------------------------------------------------------------------------
r268404 | vmakarov | 2019-01-30 15:49:23 -0600 (Wed, 30 Jan 2019) | 12 lines

2019-01-30  Vladimir Makarov  <vmakarov@redhat.com>

        PR rtl-optimization/87246
        * lra-constraints.c (simplify_operand_subreg): Reload memory
        in subreg if the address became invalid.

2019-01-30  Vladimir Makarov  <vmakarov@redhat.com>

        PR rtl-optimization/87246
        * gcc.target/i386/pr87246.c: New.
>From gcc-bugs-return-633302-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 00:47:18 2019
Return-Path: <gcc-bugs-return-633302-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116461 invoked by alias); 12 Feb 2019 00:47:18 -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 116387 invoked by uid 48); 12 Feb 2019 00:47:13 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89294] [9 regression] ICE in valid_constant_size_p, at tree.c:7524
Date: Tue, 12 Feb 2019 00:47: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on assigned_to everconfirmed
Message-ID: <bug-89294-4-2CMw51hMbm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89294-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89294-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: 2019-02/txt/msg01604.txt.bz2
Content-length: 1004

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-12
           Assignee|unassigned at gcc dot gnu.org      |msebor at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
This is due to r268774 introducing the assumption that the
valid_constant_size_p() argument is a constant expression.

I got a new machine recently and apparently didn't install Gnat properly, so
wasn't building it despite configuring with --enable-languages=all.  I think
the Fedora instructions for Ada are wrong:
https://fedoraproject.org/wiki/Features/Ada_developer_tools.
>From gcc-bugs-return-633303-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 01:10:07 2019
Return-Path: <gcc-bugs-return-633303-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3357 invoked by alias); 12 Feb 2019 01:10: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 3226 invoked by uid 55); 12 Feb 2019 01:10:02 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/88147] [9 Regression] ICE in linemap_line_start, at libcpp/line-map.c:781 starting from r265875
Date: Tue, 12 Feb 2019 01:10: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-88147-4-s8FhKDUMla@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88147-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88147-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: 2019-02/txt/msg01605.txt.bz2
Content-length: 1900

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

--- Comment #21 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Author: dmalcolm
Date: Tue Feb 12 01:09:31 2019
New Revision: 268789

URL: https://gcc.gnu.org/viewcvs?rev=268789&root=gcc&view=rev
Log:
linemap_line_start: protect against location_t overflow (PR lto/88147)

PR lto/88147 reports an assertion failure due to a bogus location_t value
when adding a line to a pre-existing line map, when there's a large
difference between the two line numbers.

For some "large differences", this leads to a location_t value that exceeds
LINE_MAP_MAX_LOCATION, in which case linemap_line_start returns 0.  This
isn't ideal, but at least should lead to safe degradation of location
information.

However, if the difference is very large, it's possible for the line
number offset (relative to the start of the map) to be sufficiently large
that overflow occurs when left-shifted by the column-bits, and hence
the check against the LINE_MAP_MAX_LOCATION limit fails, leading to
a seemingly-valid location_t value, but encoding the wrong location.  This
triggers the assertion failure:
  linemap_assert (SOURCE_LINE (map, r) == to_line);

The fix (thanks to Martin) is to check for overflow when determining
whether to reuse an existing map, and to not reuse it if it would occur.

gcc/ChangeLog: David Malcolm  <dmalcolm@redhat.com>
        PR lto/88147
        * input.c (selftest::test_line_offset_overflow): New selftest.
        (selftest::input_c_tests): Call it.

libcpp/ChangeLog: Martin Liska  <mliska@suse.cz>
        PR lto/88147
        * line-map.c (linemap_line_start): Don't reuse the existing line
        map if the line offset is sufficiently large to cause overflow
        when computing location_t values.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/input.c
    trunk/libcpp/ChangeLog
    trunk/libcpp/line-map.c
>From gcc-bugs-return-633304-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 01:14:35 2019
Return-Path: <gcc-bugs-return-633304-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11159 invoked by alias); 12 Feb 2019 01:14: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 11081 invoked by uid 48); 12 Feb 2019 01:14:31 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/88147] [9 Regression] ICE in linemap_line_start, at libcpp/line-map.c:781 starting from r265875
Date: Tue, 12 Feb 2019 01:14: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
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-88147-4-VDp4zhY3hd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88147-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88147-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: 2019-02/txt/msg01606.txt.bz2
Content-length: 451

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

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

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

--- Comment #22 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Should be fixed by r268789.
>From gcc-bugs-return-633305-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 01:14:45 2019
Return-Path: <gcc-bugs-return-633305-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11882 invoked by alias); 12 Feb 2019 01:14: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 11841 invoked by uid 48); 12 Feb 2019 01:14:42 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89294] [9 regression] ICE in valid_constant_size_p, at tree.c:7524
Date: Tue, 12 Feb 2019 01:14: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords
Message-ID: <bug-89294-4-LhDwCpfIR8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89294-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89294-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: 2019-02/txt/msg01607.txt.bz2
Content-length: 422

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch

--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
Patch: https://gcc.gnu.org/ml/gcc-patches/2019-02/msg00857.html
>From gcc-bugs-return-633306-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 02:15:59 2019
Return-Path: <gcc-bugs-return-633306-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93102 invoked by alias); 12 Feb 2019 02:15:36 -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 92856 invoked by uid 48); 12 Feb 2019 02:15:26 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87689] PowerPC64 ELFv2 function parameter passing violation
Date: Tue, 12 Feb 2019 02:15: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: amodra 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: short_desc
Message-ID: <bug-87689-4-p7IAVPAae6@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: 2019-02/txt/msg01608.txt.bz2
Content-length: 993

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

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Memory corruption on Power  |PowerPC64 ELFv2 function
                   |8                           |parameter passing violation

--- Comment #11 from Alan Modra <amodra at gmail dot com> ---
This patch avoids the failure.  Be warned, I shouldn't be let loose anywhere
near the gcc fortran support.  I'm just presenting it in the hope that someone
who does know what they're doing can develop a proper fix.

--- a/gcc/fortran/trans-types.c
+++ b/gcc/fortran/trans-types.c
@@ -3092,8 +3092,7 @@ gfc_get_function_type (gfc_symbol * sym)
        }
     }

-  if (!vec_safe_is_empty (typelist)
-      || sym->attr.is_main_program
+  if (sym->attr.is_main_program
       || sym->attr.if_source != IFSRC_UNKNOWN)
     is_varargs = false;
>From gcc-bugs-return-633307-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 02:16:00 2019
Return-Path: <gcc-bugs-return-633307-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93954 invoked by alias); 12 Feb 2019 02:15: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 92775 invoked by uid 48); 12 Feb 2019 02:15:24 -0000
From: "paul.hua.gm at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/87761] [9 regression][MIPS] New FAIL: gcc.target/mips/fix-r4000-10.c   -O1 start with r265398
Date: Tue, 12 Feb 2019 02:15: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: paul.hua.gm at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-87761-4-UyPy2ynRFC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87761-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87761-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: 2019-02/txt/msg01609.txt.bz2
Content-length: 322

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

--- Comment #5 from Paul Hua <paul.hua.gm at gmail dot com> ---
(In reply to Jakub Jelinek from comment #4)
> Can you please recheck with current trunk, many RA improvements related to
> r265398 change went into trunk since then.

all those test still fails on trunk.
>From gcc-bugs-return-633308-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 03:17:40 2019
Return-Path: <gcc-bugs-return-633308-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86283 invoked by alias); 12 Feb 2019 03:17: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 86191 invoked by uid 48); 12 Feb 2019 03:17:36 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87689] PowerPC64 ELFv2 function parameter passing violation
Date: Tue, 12 Feb 2019 03:17: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: amodra 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-87689-4-Cav1LYbXdi@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: 2019-02/txt/msg01610.txt.bz2
Content-length: 832

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

--- Comment #12 from Alan Modra <amodra at gmail dot com> ---
A little more sophisticated.

        * fortran/trans-types.c (gfc_get_function_type): Use a varargs decl
        unless we have args other than hidden ones.

--- a/gcc/fortran/trans-types.c
+++ b/gcc/fortran/trans-types.c
@@ -3066,6 +3066,7 @@ gfc_get_function_type (gfc_symbol * sym)
             actual parameters for a dummy procedure.  */

          vec_safe_push (typelist, type);
+         is_varargs = false;
        }
       else
         {
@@ -3092,8 +3093,7 @@ gfc_get_function_type (gfc_symbol * sym)
        }
     }

-  if (!vec_safe_is_empty (typelist)
-      || sym->attr.is_main_program
+  if (sym->attr.is_main_program
       || sym->attr.if_source != IFSRC_UNKNOWN)
     is_varargs = false;
>From gcc-bugs-return-633309-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 04:32:23 2019
Return-Path: <gcc-bugs-return-633309-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105619 invoked by alias); 12 Feb 2019 04:32: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 105543 invoked by uid 48); 12 Feb 2019 04:32:20 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/84626] powerpc toc register is reloaded unnecessarily
Date: Tue, 12 Feb 2019 04: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.0.1
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: amodra at gmail dot com
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 cc resolution
Message-ID: <bug-84626-4-dm6a8YcrOo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84626-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84626-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: 2019-02/txt/msg01611.txt.bz2
Content-length: 638

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

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |amodra at gmail dot com
         Resolution|---                         |INVALID

--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
No, the r2 load can't be moved.  The ppc64 ABIs say the restore of r2 must
occur immediately after the call.  This is necessary for exception unwinding.
>From gcc-bugs-return-633310-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 04:42:08 2019
Return-Path: <gcc-bugs-return-633310-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117645 invoked by alias); 12 Feb 2019 04:42: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 116334 invoked by uid 48); 12 Feb 2019 04:42:04 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/63793] -mcmodel=medium in gfortran on x86_64 emits references that are RIP relative (instead of using the GOT)
Date: Tue, 12 Feb 2019 04:42: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.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager 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-63793-4-oxlKU98FyP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63793-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63793-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: 2019-02/txt/msg01612.txt.bz2
Content-length: 232

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

--- Comment #20 from Eric Gallager <egallager at gcc dot gnu.org> ---
Should this really have the middle-end for its component? It seems like this is
more of a target issue...
>From gcc-bugs-return-633311-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 04:57:40 2019
Return-Path: <gcc-bugs-return-633311-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62776 invoked by alias); 12 Feb 2019 04:57: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 62698 invoked by uid 48); 12 Feb 2019 04:57:35 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/88993] [9 Regression] GCC 9 -Wformat-overflow=2 should reflect real libc limits
Date: Tue, 12 Feb 2019 04: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: diagnostic, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-88993-4-G5Bmb5PgNl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88993-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88993-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: 2019-02/txt/msg01613.txt.bz2
Content-length: 469

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

Eric Gallager <egallager at gcc dot gnu.org> changed:

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

--- Comment #10 from Eric Gallager <egallager at gcc dot gnu.org> ---
anyone know where/how I'd find out what the real limit is for Darwin's libc?
>From gcc-bugs-return-633312-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 06:35:50 2019
Return-Path: <gcc-bugs-return-633312-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23897 invoked by alias); 12 Feb 2019 06:35: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 23787 invoked by uid 48); 12 Feb 2019 06:35:46 -0000
From: "kugan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88834] [SVE] Poor addressing mode choices for LD2 and ST2
Date: Tue, 12 Feb 2019 06:35: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: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: kugan at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: kugan.vivekanandarajah at linaro dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88834-4-WMdjv2baTZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88834-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88834-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: 2019-02/txt/msg01614.txt.bz2
Content-length: 1854

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

--- Comment #3 from kugan at gcc dot gnu.org ---
I added iv-use for MASKED_LOAD_LANE and the result is
        cmp     w3, 0
        ble     .L1
        sub     w5, w3, #1
        mov     x4, 0
        lsr     w5, w5, 1
        add     w5, w5, 1
        whilelo p0.s, xzr, x5
        .p2align 3,,7
.L3:
        lsl     x3, x4, 3
        incw    x4
        add     x7, x1, x3
        add     x6, x2, x3
        ld2w    {z4.s - z5.s}, p0/z, [x7]
        ld2w    {z2.s - z3.s}, p0/z, [x6]
        add     x3, x0, x3
        add     z0.s, z4.s, z2.s
        sub     z1.s, z5.s, z3.s
        st2w    {z0.s - z1.s}, p0, [x3]
        whilelo p0.s, x4, x5
        bne     .L3
.L1:
        ret

No base plus scaled index addressing mode. This is because in ivopt

When called from ivopt:
Breakpoint 4, aarch64_classify_address (info=0x7fffffffcba0, x=0x7ffff6c44f30,
mode=E_DImode, strict_p=false, type=ADDR_QUERY_M)
    at
/home/kugan/work/abe/snapshots/gcc.git~origin~aarch64~sve-acle-branch/gcc/config/aarch64/aarch64.c:5689
5689    {
(gdb) p debug_rtx (x)
(plus:DI (mult:DI (reg:DI 91)
        (const_int 8 [0x8]))
    (reg:DI 90))

it accepts it.

When in cfgexpand:
Breakpoint 5, aarch64_classify_address (info=0x7fffffffcca0, x=0x7ffff6c5b840,
mode=E_VNx8SImode, strict_p=false, type=ADDR_QUERY_M)
    at
/home/kugan/work/abe/snapshots/gcc.git~origin~aarch64~sve-acle-branch/gcc/config/aarch64/aarch64.c:5689
5689    {
(gdb) p debug_rtx (x)
(plus:DI (mult:DI (reg:DI 92 [ ivtmp_28 ])
        (const_int 8 [0x8]))
    (reg/v/f:DI 110 [ y ]))


This is not accepted because of aarch64_classify_index (info, op1, mode,
strict_p) failing (as it should).

Note the difference in mode for aarch64_classify_address. Not sure if this is
because of the way my patch changes ivopt.
>From gcc-bugs-return-633313-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 06:37:40 2019
Return-Path: <gcc-bugs-return-633313-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62894 invoked by alias); 12 Feb 2019 06:37: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 62817 invoked by uid 48); 12 Feb 2019 06:37:36 -0000
From: "kugan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88834] [SVE] Poor addressing mode choices for LD2 and ST2
Date: Tue, 12 Feb 2019 06:37: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: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: kugan at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: kugan.vivekanandarajah at linaro dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-88834-4-cecFjs2wxK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88834-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88834-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: 2019-02/txt/msg01615.txt.bz2
Content-length: 218

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

--- Comment #4 from kugan at gcc dot gnu.org ---
Created attachment 45661
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45661&action=edit
ivopt patch v1
>From gcc-bugs-return-633314-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 06:46:12 2019
Return-Path: <gcc-bugs-return-633314-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72070 invoked by alias); 12 Feb 2019 06:46: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 71995 invoked by uid 48); 12 Feb 2019 06:46:01 -0000
From: "kugan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89296] New: tree copy-header masking uninitialized warning
Date: Tue, 12 Feb 2019 06:46: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: kugan 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-89296-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: 2019-02/txt/msg01616.txt.bz2
Content-length: 1390

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

            Bug ID: 89296
           Summary: tree copy-header masking uninitialized warning
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kugan at gcc dot gnu.org
  Target Milestone: ---

void test_func(void) {
  int loop;              // uninitialized and "garbage"
  while (!loop) {
       loop = get_a_value();  // <- must be for this test
       printk("...");
  }
}

from Linaro bug report https://bugs.linaro.org/show_bug.cgi?id=4134
-fno-tree-ch gets the required warning

diff --git a/gcc/tree-ssa-loop-ch.c b/gcc/tree-ssa-loop-ch.c
index c876d62..d405d00 100644
--- a/gcc/tree-ssa-loop-ch.c
+++ b/gcc/tree-ssa-loop-ch.c
@@ -393,7 +393,7 @@ ch_base::copy_headers (function *fun)
                {
                  gimple *stmt = gsi_stmt (bsi);
                  if (gimple_code (stmt) == GIMPLE_COND)
-                   gimple_set_no_warning (stmt, true);
+                   ;//gimple_set_no_warning (stmt, true);
                  else if (is_gimple_assign (stmt))
                    {
                      enum tree_code rhs_code = gimple_assign_rhs_code (stmt);

also gets the required warning. Looking into it.
>From gcc-bugs-return-633315-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 07:46:57 2019
Return-Path: <gcc-bugs-return-633315-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55269 invoked by alias); 12 Feb 2019 07:46:56 -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 55200 invoked by uid 48); 12 Feb 2019 07:46:53 -0000
From: "flast at flast dot jp" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89297] New: ICE: unexpected expression 'id' of kind overload
Date: Tue, 12 Feb 2019 07:46: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: flast at flast dot jp
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-89297-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: 2019-02/txt/msg01617.txt.bz2
Content-length: 846

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

            Bug ID: 89297
           Summary: ICE: unexpected expression 'id' of kind overload
           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: flast at flast dot jp
  Target Milestone: ---

ICE caused by list-initializer within template function that contains call of
overloads, like following.

```
int id(int v) { return v; }
float id(float v) { return v; }

template <typename>
int foo(int v)
{
    return int{id(v)}; // ICE on here
}
```

https://wandbox.org/permlink/XtHobAXA7lQ1jPTy

I encountered this issue after upgrade from 8 to 9, so I think it's a 9's
regression.
>From gcc-bugs-return-633316-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 07:51:46 2019
Return-Path: <gcc-bugs-return-633316-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60260 invoked by alias); 12 Feb 2019 07:51:46 -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 60209 invoked by uid 48); 12 Feb 2019 07:51:42 -0000
From: "szotsaki at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/67128] Makefile.in, libcc1 and --enable-shared
Date: Tue, 12 Feb 2019 07:51: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: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: szotsaki 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: cc
Message-ID: <bug-67128-4-kelwrUwp0f@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67128-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67128-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: 2019-02/txt/msg01618.txt.bz2
Content-length: 643

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

Szőts Ákos <szotsaki at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |szotsaki at gmail dot com

--- Comment #3 from Szőts Ákos <szotsaki at gmail dot com> ---
Option "--with-pic" doesn't work, but the suggested workaround in the original
post does.

However, I ended up disabling libcc1 (as I see most of the distribs do it,
anyway) with --disable-libcc1 which, as well, solved this issue.

Version: 8.2.0
>From gcc-bugs-return-633317-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 08:16:58 2019
Return-Path: <gcc-bugs-return-633317-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111254 invoked by alias); 12 Feb 2019 08:16: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 111173 invoked by uid 48); 12 Feb 2019 08:16:54 -0000
From: "lee_shao at 126 dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/89298] New: Address-Sanitizer false positive for global-buffer-overflow?
Date: Tue, 12 Feb 2019 08:16:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: sanitizer
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: lee_shao at 126 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-89298-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: 2019-02/txt/msg01619.txt.bz2
Content-length: 1948

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

            Bug ID: 89298
           Summary: Address-Sanitizer false positive for
                    global-buffer-overflow?
           Product: gcc
           Version: 8.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: lee_shao at 126 dot com
                CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
                    jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at gcc dot gnu.org
  Target Milestone: ---

Hi,
In my program, the ASAN report ERROR global-buffer-overflow on several global
variables.

However,I'm sure that I use the global variables in the right way, like this:

  In AAA.c 
     //define a global var 
     int g_var_a;
     ........ 
     ........ 
     g_var_a =1; //ASAN report global-buffer-overflow right here!

According to the formula, Shadow = (Mem >> 3) + 0x20000000, the value of the
shadow memory of the global var **g_var_a** is F9 ( Global Redzone),witch
confuses me very much!

I use GCC8.1.0 to compile my project on SUSE Linux Enterprise Server 12.

The application is compiled like this:
1. A.c  +  B.c  -> GCC8.1 ASan ->  libproblem.so
2. C.c  +  libproblem.so  --> GCC8.1 ASan --> App
3. In A.c  :
   ... globals ...
   unsigned int g_var =0;
   ... globals ...
   In B.c :
   extern unsigned int g_var =0;
   ..........
   void fun(){
   .....
   g_var =0;       //ASan report global-buffer-overflow right here!
   .....
   }

I found that:
1. The global g_var is located 0 bytes to the right of another global
variable,that is , no redzone is inserted between them
2. Under normal circumstances, $ nm App > nm.log  we can get the addresses of
globals g_var and __odr_asan.g_var ;
   However, when it goes wrong, there is no symbol __odr_asan.g_var
>From gcc-bugs-return-633318-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 08:30:32 2019
Return-Path: <gcc-bugs-return-633318-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15822 invoked by alias); 12 Feb 2019 08:30: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 15514 invoked by uid 48); 12 Feb 2019 08:30:13 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/88147] [9 Regression] ICE in linemap_line_start, at libcpp/line-map.c:781 starting from r265875
Date: Tue, 12 Feb 2019 08:30: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: 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: FIXED
X-Bugzilla-Priority: P1
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-88147-4-WjqtWPlHGs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88147-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88147-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: 2019-02/txt/msg01620.txt.bz2
Content-length: 509

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

--- Comment #23 from Martin Liška <marxin at gcc dot gnu.org> ---
> 
> The purpose of the check is impose a limit on the size of the jumps that
> occur within the location_t representation, so that if there's a big jump in
> line numbers, we start a linemap, where big is "> 1000" within the
> location_t value.  The idea is to avoid wasting location_t values, without
> creating too many linemap instances.

Ah, I see, thanks for clarification!
>From gcc-bugs-return-633319-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 08:31:13 2019
Return-Path: <gcc-bugs-return-633319-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22356 invoked by alias); 12 Feb 2019 08:31: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 22266 invoked by uid 48); 12 Feb 2019 08:31:10 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/88147] [9 Regression] ICE in linemap_line_start, at libcpp/line-map.c:781 starting from r265875
Date: Tue, 12 Feb 2019 08:31: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: 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: FIXED
X-Bugzilla-Priority: P1
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-88147-4-IaXqB5CDKD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88147-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88147-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: 2019-02/txt/msg01621.txt.bz2
Content-length: 240

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

--- Comment #24 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to David Malcolm from comment #22)
> Should be fixed by r268789.

Nice, thanks for test and cooperation.
>From gcc-bugs-return-633320-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 08:35:09 2019
Return-Path: <gcc-bugs-return-633320-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26280 invoked by alias); 12 Feb 2019 08:35: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 26197 invoked by uid 48); 12 Feb 2019 08:35:06 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/89298] Address-Sanitizer false positive for global-buffer-overflow?
Date: Tue, 12 Feb 2019 08:35: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.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-89298-4-3bogtywgv2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89298-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89298-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: 2019-02/txt/msg01622.txt.bz2
Content-length: 598

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2019-02-12
     Ever confirmed|0                           |1

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Can you please provide a reproducer, as described here:
https://www.gnu.org/software/gcc/bugs/minimize.html

Thanks.
>From gcc-bugs-return-633321-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 08:38:05 2019
Return-Path: <gcc-bugs-return-633321-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32905 invoked by alias); 12 Feb 2019 08:38: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 32849 invoked by uid 48); 12 Feb 2019 08:38:02 -0000
From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libbacktrace/81983] libbacktrace calls bsearch with NULL base
Date: Tue, 12 Feb 2019 08:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libbacktrace
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vries 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
Message-ID: <bug-81983-4-kbUmadIKNl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81983-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81983-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: 2019-02/txt/msg01623.txt.bz2
Content-length: 466

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

Tom de Vries <vries at gcc dot gnu.org> changed:

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

--- Comment #6 from Tom de Vries <vries at gcc dot gnu.org> ---
https://gcc.gnu.org/ml/gcc-patches/2019-02/msg00860.html
>From gcc-bugs-return-633322-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 08:39:33 2019
Return-Path: <gcc-bugs-return-633322-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41776 invoked by alias); 12 Feb 2019 08:39: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 41703 invoked by uid 48); 12 Feb 2019 08:39:30 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/89298] Address-Sanitizer false positive for global-buffer-overflow?
Date: Tue, 12 Feb 2019 08:39: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.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-89298-4-UWQ8NXTvv0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89298-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89298-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: 2019-02/txt/msg01624.txt.bz2
Content-length: 476

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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
It is not clear how that can compile, because both
unsigned int g_var =0;
and
extern unsigned int g_var =0;
are g_var definitions, so if that is in multiple TUs, linker should fail to
link that.
In the other snippet you mention
int g_var_a;
which is something very different (unless -fno-common), that is a common var
and ASAN doesn't instrument those.
>From gcc-bugs-return-633323-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 08:40:51 2019
Return-Path: <gcc-bugs-return-633323-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49109 invoked by alias); 12 Feb 2019 08:40: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 49017 invoked by uid 48); 12 Feb 2019 08:40:48 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87689] PowerPC64 ELFv2 function parameter passing violation
Date: Tue, 12 Feb 2019 08: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: 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-0dcoknIWmm@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: 2019-02/txt/msg01625.txt.bz2
Content-length: 1394

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

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

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

--- Comment #13 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Thanks for the analysis (and the patch).  Now for the
interesting question, what to do with it...

On the one hand, we must avoid at all costs is to break
compatibility with pre-compiled libraries, at least while
we do not change the ABI for another reason.

On the other hand, this is quit a serious bug, which especially
affects old Fortran codes.

At least the problem is on the caller side, which means that
we could fix the caller without affecting the callee.

So, what are the options?

After checking if the patch from comment #12 does the right
thing (which I don't know), we could

a) apply it globally, after checking that it does not break
   binary compatibility on all relevant platforms (quite risky
   for stage 4, I think)

b) apply it #ifdefed for POWER

I think both options would need an OK from a release manager due
to us being in stage 4 (plus from a POWER maintainer for option b)

Or we could defer this to gcc 10, but I would prefer for this bug
to be fixed sooner rather than later.
>From gcc-bugs-return-633324-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 08:53:51 2019
Return-Path: <gcc-bugs-return-633324-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116293 invoked by alias); 12 Feb 2019 08:53: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 113953 invoked by uid 55); 12 Feb 2019 08:53:47 -0000
From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87689] PowerPC64 ELFv2 function parameter passing violation
Date: Tue, 12 Feb 2019 08:53: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: rguenther at suse dot de
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-bZDetdM01h@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: 2019-02/txt/msg01626.txt.bz2
Content-length: 1952

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

--- Comment #14 from rguenther at suse dot de <rguenther at suse dot de> ---
On February 12, 2019 9:40:46 AM GMT+01:00, "tkoenig at gcc dot gnu.org"
<gcc-bugzilla@gcc.gnu.org> wrote:
>https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87689
>
>Thomas Koenig <tkoenig at gcc dot gnu.org> changed:
>
>           What    |Removed                     |Added
>----------------------------------------------------------------------------
>             CC|                            |rguenth at gcc dot gnu.org
>
>--- Comment #13 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
>Thanks for the analysis (and the patch).  Now for the
>interesting question, what to do with it...
>
>On the one hand, we must avoid at all costs is to break
>compatibility with pre-compiled libraries, at least while
>we do not change the ABI for another reason.
>
>On the other hand, this is quit a serious bug, which especially
>affects old Fortran codes.
>
>At least the problem is on the caller side, which means that
>we could fix the caller without affecting the callee.
>
>So, what are the options?
>
>After checking if the patch from comment #12 does the right
>thing (which I don't know), we could
>
>a) apply it globally, after checking that it does not break
>   binary compatibility on all relevant platforms (quite risky
>   for stage 4, I think)
>
>b) apply it #ifdefed for POWER
>
>I think both options would need an OK from a release manager due
>to us being in stage 4 (plus from a POWER maintainer for option b)
>
>Or we could defer this to gcc 10, but I would prefer for this bug
>to be fixed sooner rather than later.

I haven't checked the details of the incorrectness of the function decl or its
type. Given the error is on the caller side only the chances of breakage are
low. Still I would suggest to fix on trunk only for now and skip the imminent
8.3 to allow for fallout to pop up.

Richard.
>From gcc-bugs-return-633325-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 09:06:07 2019
Return-Path: <gcc-bugs-return-633325-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95022 invoked by alias); 12 Feb 2019 09:06: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 94895 invoked by uid 48); 12 Feb 2019 09:05:58 -0000
From: "paradox_ptr at protonmail dot ch" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89299] New: __attribute__ cleanup does not accept template function
Date: Tue, 12 Feb 2019 09:06: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: paradox_ptr at protonmail dot ch
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-89299-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: 2019-02/txt/msg01627.txt.bz2
Content-length: 2874

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

            Bug ID: 89299
           Summary: __attribute__ cleanup does not accept template
                    function
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: paradox_ptr at protonmail dot ch
  Target Milestone: ---

#include <cstdlib>

template <typename T>
void cu( T** p ) {
        if ( p && *p ) { free( *p ); }
}

void cu_char( char** s ) {
        if ( s && *s ) { free ( *s ); }
}

int main() {
        __attribute__((cleanup(cu))) char* s = nullptr;
        return 0;
}

Using template function for cleanup yields error:

$ g++ main.cpp --std=c++14 -Wall -Wextra
main.cpp: In function ‘int main()’:
main.cpp:13:37: error: cleanup argument not a function
  __attribute__((cleanup(cu))) char* s = nullptr;
                                     ^
main.cpp:13:37: warning: unused variable ‘s’ [-Wunused-variable]

Same for cleanup(cu<char>). cleanup(cu_char) works, as expected.

Clearly, template function is still a function, especially when explicitly
instantiated.
GCC documentation for Common Variable Attributes does not state any limitations
for this function.

$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/8.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-8.2.0-r6/work/gcc-8.2.0/configure
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr
--bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/8.2.0
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/8.2.0
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/8.2.0/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/8.2.0/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/g++-v8
--with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/8.2.0/python
--enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt
--disable-werror --with-system-zlib --enable-nls --without-included-gettext
--enable-checking=release --with-bugurl=https://bugs.gentoo.org/
--with-pkgversion='Gentoo 8.2.0-r6 p1.7' --disable-esp --enable-libstdcxx-time
--enable-shared --enable-threads=posix --enable-__cxa_atexit
--enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64
--disable-altivec --disable-fixed-point --enable-targets=all --enable-libgomp
--disable-libmudflap --disable-libssp --disable-libmpx --disable-systemtap
--enable-vtable-verify --enable-libvtv --enable-lto --without-isl
--enable-default-pie --enable-default-ssp
Thread model: posix
gcc version 8.2.0 (Gentoo 8.2.0-r6 p1.7)
>From gcc-bugs-return-633326-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 09:06:18 2019
Return-Path: <gcc-bugs-return-633326-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95916 invoked by alias); 12 Feb 2019 09:06:18 -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 95874 invoked by uid 48); 12 Feb 2019 09:06:14 -0000
From: "mark.eggleston at codethink dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89286] Intrinsic sign and GNU Extension
Date: Tue, 12 Feb 2019 09:06: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mark.eggleston at codethink dot com
X-Bugzilla-Status: WAITING
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: attachments.isobsolete attachments.created
Message-ID: <bug-89286-4-7Q85dB4Bz4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89286-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89286-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: 2019-02/txt/msg01628.txt.bz2
Content-length: 576

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

MarkEggleston <mark.eggleston at codethink dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45657|0                           |1
        is obsolete|                            |

--- Comment #6 from MarkEggleston <mark.eggleston at codethink dot com> ---
Created attachment 45662
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45662&action=edit
GNU extension to intrinsic SIGN

Corrected patch.
>From gcc-bugs-return-633327-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 09:07:48 2019
Return-Path: <gcc-bugs-return-633327-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99680 invoked by alias); 12 Feb 2019 09:07: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 97807 invoked by uid 48); 12 Feb 2019 09:07:44 -0000
From: "mark.eggleston at codethink dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89286] Intrinsic sign and GNU Extension
Date: Tue, 12 Feb 2019 09:07: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mark.eggleston at codethink dot com
X-Bugzilla-Status: WAITING
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: attachments.isobsolete attachments.created
Message-ID: <bug-89286-4-zRuVX82VIX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89286-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89286-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: 2019-02/txt/msg01629.txt.bz2
Content-length: 587

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

MarkEggleston <mark.eggleston at codethink dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45659|0                           |1
        is obsolete|                            |

--- Comment #7 from MarkEggleston <mark.eggleston at codethink dot com> ---
Created attachment 45663
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45663&action=edit
Change Log for gcc/testsuite for patch

Corrected change log
>From gcc-bugs-return-633328-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 09:13:55 2019
Return-Path: <gcc-bugs-return-633328-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41801 invoked by alias); 12 Feb 2019 09:13: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 41764 invoked by uid 48); 12 Feb 2019 09:13:51 -0000
From: "mark.eggleston at codethink dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89286] Intrinsic sign and GNU Extension
Date: Tue, 12 Feb 2019 09:13: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mark.eggleston at codethink dot com
X-Bugzilla-Status: WAITING
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-89286-4-B5f3ti7uwl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89286-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89286-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: 2019-02/txt/msg01630.txt.bz2
Content-length: 759

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

--- Comment #8 from MarkEggleston <mark.eggleston at codethink dot com> ---
(In reply to Dominique d'Humieres from comment #5)
> Patch should go to the fortran@gcc.gnu.org and gcc-patches@gcc.gnu.org
> mailing lists for review.

will do.

> 
> From a quick look at the patch it does seem that the extension is rejected
> when compiling with -std=f*.

That is correct. The purpose is to bring the treatment of SIGN into line with
that of DIM, MOD and MODULO which accept differing kinds in the their actual
arguments when -std=gnu (i.e. the default). DIM, MOD and MODULO are also
rejected when -std=f*.

> 
> I don't see the need to add this extension (read: I am opposed to this
> extension).
>From gcc-bugs-return-633329-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 09:14:27 2019
Return-Path: <gcc-bugs-return-633329-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51383 invoked by alias); 12 Feb 2019 09:14: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 51204 invoked by uid 48); 12 Feb 2019 09:14:21 -0000
From: "peter at cordes dot ca" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/38959] Additional switches to disallow processor supplementary instructions
Date: Tue, 12 Feb 2019 09:14: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: peter at cordes dot ca
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-38959-4-OIdlEm7RT1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-38959-4@http.gcc.gnu.org/bugzilla/>
References: <bug-38959-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: 2019-02/txt/msg01631.txt.bz2
Content-length: 4460

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

Peter Cordes <peter at cordes dot ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |peter at cordes dot ca

--- Comment #3 from Peter Cordes <peter at cordes dot ca> ---
We can maybe close this as fixed (if -march=i386 didn't exist/work at the time)
or invalid.  Or maybe we want to add some CPU-level awareness to code-gen for
__builtin_ia32_rdtsc / rdpmc / rdtscp.

The cmov / fcomi / fcomi proposed switches are already supported as part of
-march=pentium -mtune=generic or lower, e.g. -march=i386.  (The 32-bit default
is something like arch=i686 and tune=generic, with it being possible to
configure gcc so SSE2 is on by default in 32-bit code.)

Those are the important ones, because they're emitted automatically by the
compiler's back-end.  The other options would just be trying to save you from
yourself, e.g. rejecting source that contains __rdtsc() /
__builtin_ia32_rdtsc()

----

I'm not sure what the situation is with long NOPs.  GCC doesn't (normally?)
emit them, just using .p2align directives for the assembler.  In 32-bit mode,
GAS appears to avoid long NOPs, using either 2-byte xchg ax,ax or pseudo-nops
like   LEA esi,[esi+eiz*1+0x0] that add a cycle of latency to the dep chain
involving ESI.

Even with -march=haswell, gcc+gas fail to use more efficient long NOPs for
padding between functions.


---

I'm not sure if CPUID is ever emitted by gcc's back-end directly, only from
inline asm.  i386/cpuid.h uses inline asm.  But __get_cpuid_max() checks if
CPUID is even supported in a 386-compatible way, checking if a bit in EFLAGS is
sticky or not.  If your source code is written safely, you won't have a problem
unless possibly __builtin_cpu_init runs CPUID without checking, in programs
that use __builtin_cpu_supports() or _is().


__builtin_ia32_rdpmc() and __rdtsc() do *not* check -march= before emitting
rdpmc and rdtsc.  Neither does __rdtscp(), which is interesting because that
instruction is new enough that some still-relevant CPUs don't support it.

__rdpmc() isn't "volatile", though, so stop-start optimizes to 0.  (I found
this bug looking for existing reports of that issue.)



Test cases:  https://godbolt.org/z/hqPdza

FCMOV and CMOV are also handled correctly, but I didn't write functions for
them.

int fcomi(double x, double y) {
    return x<y;
}

gcc8.2 on Godbolt: 
-m32 -O3 -march=haswell code-gen
    (-mfpmath=387 is the default; SSE2 cmpltsd / movd / AND would have done it
nicely.  Or comisd / seta is maybe even better, and gcc uses that.  I wonder if
tune=haswell should imply fpmath=sse)

fcomi(double, double):   # haswell
        fld     QWORD PTR [esp+4]
        fld     QWORD PTR [esp+12]
        xor     eax, eax
        fcomip  st, st(1)      # only available with register operands, and not
in pp form
        fstp    st(0)
        seta    al
        ret

-m32 -O3 -march=i486 code-gen
fcomi(double, double):   # i486
        fld     QWORD PTR [esp+12]
        fcomp   QWORD PTR [esp+4]
        fnstsw  ax
        test    ah, 69           # check above and not unordered, couldn't just
shift/and
        sete    al
        and     eax, 255
        ret

Adding -mtune=generic, we get the expected movzx instead of AND EAX, imm32, so
I guess movzx was slow on 486.





(In reply to Mark Hobley from comment #0)
> Proposed switches:
> 
> --nocpuid  This option causes the compiler to not generate cpuid opcodes
> --nocmov   This option causes the compiler to not generate cmov opcodes
> --nofcmov  This option causes the compiler to not generate fcmov opcodes
> --nofcomi  This option causes the compiler to not generate fcomi opcodes
> --nonopl   This option causes the compiler to not generate fcomi opcodes
> --nordpmc  This option causes the compiler to not generate rdpmc opcodes
> --nordtsc  This option causes the compiler to not generate rdtsc opcodes
> 
> Possibly a general switch that is equivalent to all of the above
> 
> --nosupplementaryinstructions
> 
> Rationale
> 
> It is possible that a developer still wants to compile for a particular
> architecture (for example the i486), but does not wish to generate code with
> supplementary instructions (such as cpuid), that may be present on that
> architecture.
>From gcc-bugs-return-633330-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 09:18:32 2019
Return-Path: <gcc-bugs-return-633330-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57184 invoked by alias); 12 Feb 2019 09:18:32 -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 57123 invoked by uid 48); 12 Feb 2019 09:18:27 -0000
From: "peter at cordes dot ca" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/38959] Additional switches to disallow processor supplementary instructions
Date: Tue, 12 Feb 2019 09:18: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: peter at cordes dot ca
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-38959-4-6IeGYexdYu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-38959-4@http.gcc.gnu.org/bugzilla/>
References: <bug-38959-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: 2019-02/txt/msg01632.txt.bz2
Content-length: 415

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

--- Comment #4 from Peter Cordes <peter at cordes dot ca> ---
The __builtin_ia32_rdpmc being a pure function bug I mentioned in my previous
comment is already reported and fixed (in gcc9 only): bug 87550

It was present since at least gcc 5.0
https://software.intel.com/en-us/forums/software-tuning-performance-optimization-platform-monitoring/topic/595214
>From gcc-bugs-return-633331-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 09:29:47 2019
Return-Path: <gcc-bugs-return-633331-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82049 invoked by alias); 12 Feb 2019 09:29: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 76720 invoked by uid 48); 12 Feb 2019 09:29:43 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89290] [8/9 Regression] ICE in change_address_1, at emit-rtl.c:2286
Date: Tue, 12 Feb 2019 09:29: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: ubizjak 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: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89290-4-AlkJNf2bll@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89290-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89290-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: 2019-02/txt/msg01633.txt.bz2
Content-length: 926

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

--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Jakub Jelinek from comment #1)
> then the ix86_rewrite_tls_address splitter rewrites this into:
> (insn 12 6 10 2 (set (mem/c:TI (const:DI (unspec:DI [
>                         (symbol_ref:DI ("s") [flags 0x2a]  <var_decl
> 0x7ff97a130b40 s>)
>                     ] UNSPEC_NTPOFF)) [1 s+0 S16 A64 AS1])
>         (reg:TI 83)) "pr89290.c":7:5 -1
>      (nil))
> and finally we ICE in the split_double_move splitter.

The address is constant and offsettable_address_addr_space_p claims that the
address

(const:DI (unspec:DI [
            (symbol_ref:DI ("s") [flags 0x2a] <var_decl 0x7f4cf23f1b40 s>)
        ] UNSPEC_NTPOFF))


is offsettable due to:

  if (CONSTANT_ADDRESS_P (y))
    return 1;

So, we should probably allow addresses in the form of:

        movq    %rax, %fs:s+8@tpoff
>From gcc-bugs-return-633332-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 09:29:58 2019
Return-Path: <gcc-bugs-return-633332-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90400 invoked by alias); 12 Feb 2019 09:29:57 -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 85932 invoked by uid 48); 12 Feb 2019 09:29:54 -0000
From: "lee_shao at 126 dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/89298] Address-Sanitizer false positive for global-buffer-overflow?
Date: Tue, 12 Feb 2019 09:29: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.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: lee_shao at 126 dot com
X-Bugzilla-Status: WAITING
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-89298-4-LIulF0Gc9U@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89298-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89298-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: 2019-02/txt/msg01634.txt.bz2
Content-length: 1386

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

--- Comment #3 from Keerecles <lee_shao at 126 dot com> ---
(In reply to Jakub Jelinek from comment #2)
> It is not clear how that can compile, because both
> unsigned int g_var =0;
> and
> extern unsigned int g_var =0;
> are g_var definitions, so if that is in multiple TUs, linker should fail to
> link that.
No multiple definitions and the program is successfully compiled and linked.

> In the other snippet you mention
> int g_var_a;
> which is something very different (unless -fno-common), that is a common var
> and ASAN doesn't instrument those.

Sorry, I made a mistake. In my application, ASAN reports global-buffer-overflow
just on the global g_var. 
"int g_var_a;"  should be "int g_var;"



Here is the ASAN log :
 $ LD_PRELOAD=/usr/local/gcc-8.1/lib/libasan.so gdb ./App
 $ b ***/***/AAA.c:288
 $ run
 $ Breakpoint 1  288 g_var=1;
 $ p &g_var  
 $ $1 = (int) 0xe04e4620 <g_var>
 $ n
 $ ==106196==ERROR: AddressSanitizer: global-buffer-overflow on address
0x08d09bc0 at pc 0xde57b983 bp 0xffffcfe8 sp 0xffffcfdc [Here the address
(0x08d09bc0) is not 0xe04e4620 ]
 $ #0 0xde57b982 in  ***/***/AAA.c:288
 $ 0x08d09bc0 is located 0 bytes to the right of global variable 'g_var_others'
defined in ***
 $ 0x08d09bc0 is located 0 bytes inside of global variable 'g_var' defined in 
***
>From gcc-bugs-return-633333-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 09:30:30 2019
Return-Path: <gcc-bugs-return-633333-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120431 invoked by alias); 12 Feb 2019 09:30:26 -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 106909 invoked by uid 55); 12 Feb 2019 09:30:14 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89253] [8/9 Regression] ICE in split_loop, at tree-ssa-loop-split.c:566
Date: Tue, 12 Feb 2019 09:30: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: ice-on-valid-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: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89253-4-hs54FABen6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89253-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89253-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: 2019-02/txt/msg01635.txt.bz2
Content-length: 651

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

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Feb 12 09:29:39 2019
New Revision: 268790

URL: https://gcc.gnu.org/viewcvs?rev=268790&root=gcc&view=rev
Log:
2019-02-12  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/89253
        * tree-ssa-loop-split.c (tree_ssa_split_loops): Check we can
        duplicate the loop.

        * gfortran.dg/pr89253.f: New testcase.

Added:
    trunk/gcc/testsuite/gfortran.dg/pr89253.f
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-loop-split.c
>From gcc-bugs-return-633334-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 09:37:19 2019
Return-Path: <gcc-bugs-return-633334-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124801 invoked by alias); 12 Feb 2019 09:37:18 -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 124762 invoked by uid 48); 12 Feb 2019 09:37:15 -0000
From: "dilyan.palauzov at aegee dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/67128] Makefile.in, libcc1 and --enable-shared
Date: Tue, 12 Feb 2019 09:37: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: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dilyan.palauzov at aegee dot 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-67128-4-e4rC89gGzf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67128-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67128-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: 2019-02/txt/msg01636.txt.bz2
Content-length: 266

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

--- Comment #4 from Дилян Палаузов <dilyan.palauzov at aegee dot org> ---
If an impossible combination is requested, then ./configure shall fail
>From gcc-bugs-return-633335-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 09:38:56 2019
Return-Path: <gcc-bugs-return-633335-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128171 invoked by alias); 12 Feb 2019 09:38:56 -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 128054 invoked by uid 48); 12 Feb 2019 09:38:51 -0000
From: "svenja.mehringer at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89300] New: C++ requires statement does not fail silently for const void *
Date: Tue, 12 Feb 2019 09:38: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.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: svenja.mehringer 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-89300-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: 2019-02/txt/msg01637.txt.bz2
Content-length: 1857

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

            Bug ID: 89300
           Summary: C++ requires statement does not fail silently for
                    const void *
           Product: gcc
           Version: 8.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: svenja.mehringer at gmail dot com
  Target Milestone: ---

The following code snippet fails to compile with GCC 8.1/8.2/latest trunk on
Godbolt because of the requires clause. From my understanding, the requires
should just evaluate to false and remove the second foo overload from the list
of possible candidates. 

```cpp
#include <type_traits>

template <typename t>
void foo()
{}

template <typename t>
    requires requires { std::is_integral_v<decltype(std::declval<t>() -
std::declval<t>())>; }
void foo()
{}

int main()
{
    foo<const void *>();
}

```

see https://godbolt.org/z/iFW2MO

The same code compiles fine with the clang experimental concept branch.


The error message:
```
<source>: In function 'int main()':

<source>:8:71: error: invalid use of 'const void'

     requires requires { std::is_integral_v<decltype(std::declval<t>() -
std::declval<t>())>; }

                                                    
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~

Compiler returned: 1
```

Locally reproduced on :

Using built-in specs.
COLLECT_GCC=/import/GCC//8.2.0/bin/g++
COLLECT_LTO_WRAPPER=/import/GCC/8.2.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ./configure --prefix=/data/scratch/skillen1105/gcc8.2/dest
Thread model: posix
gcc version 8.2.0 (GCC)
>From gcc-bugs-return-633336-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 09:46:22 2019
Return-Path: <gcc-bugs-return-633336-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14260 invoked by alias); 12 Feb 2019 09:46: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 12163 invoked by uid 48); 12 Feb 2019 09:46:17 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89290] [8/9 Regression] ICE in change_address_1, at emit-rtl.c:2286
Date: Tue, 12 Feb 2019 09:46: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: ubizjak 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: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89290-4-2GFd7tn1U0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89290-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89290-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: 2019-02/txt/msg01638.txt.bz2
Content-length: 964

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

--- Comment #3 from Uroš Bizjak <ubizjak at gmail dot com> ---
This address should be valid:

(const:DI (plus:DI (unspec:DI [
                (symbol_ref:DI ("s") [flags 0x2a] <var_decl 0x7f1b48c08b40 s>)
            ] UNSPEC_NTPOFF)
        (const_int 8 [0x8])))

and there is code that allows this form in ix86_legitimate_address_p:

              /* foo@dtpoff(%rX) is ok.  */
              if (GET_CODE (disp) != CONST
                  || GET_CODE (XEXP (disp, 0)) != PLUS
                  || GET_CODE (XEXP (XEXP (disp, 0), 0)) != UNSPEC
                  || !CONST_INT_P (XEXP (XEXP (disp, 0), 1))
                  || (XINT (XEXP (XEXP (disp, 0), 0), 1) != UNSPEC_DTPOFF
                      && XINT (XEXP (XEXP (disp, 0), 0), 1) != UNSPEC_NTPOFF))
                /* Non-constant pic memory reference.  */
                return false;

Jakub, can you maybe look into this issue?
>From gcc-bugs-return-633337-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 09:49:34 2019
Return-Path: <gcc-bugs-return-633337-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58714 invoked by alias); 12 Feb 2019 09:49: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 58627 invoked by uid 48); 12 Feb 2019 09:49:29 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89290] [8/9 Regression] ICE in change_address_1, at emit-rtl.c:2286
Date: Tue, 12 Feb 2019 09:49: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: jakub 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-89290-4-fCHMnQwm0t@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89290-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89290-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: 2019-02/txt/msg01639.txt.bz2
Content-length: 1112

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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Uroš Bizjak from comment #3)
> This address should be valid:
> 
> (const:DI (plus:DI (unspec:DI [
>                 (symbol_ref:DI ("s") [flags 0x2a] <var_decl 0x7f1b48c08b40
> s>)
>             ] UNSPEC_NTPOFF)
>         (const_int 8 [0x8])))
> 
> and there is code that allows this form in ix86_legitimate_address_p:
> 
> 	      /* foo@dtpoff(%rX) is ok.  */
> 	      if (GET_CODE (disp) != CONST
> 		  || GET_CODE (XEXP (disp, 0)) != PLUS
> 		  || GET_CODE (XEXP (XEXP (disp, 0), 0)) != UNSPEC
> 		  || !CONST_INT_P (XEXP (XEXP (disp, 0), 1))
> 		  || (XINT (XEXP (XEXP (disp, 0), 0), 1) != UNSPEC_DTPOFF
> 		      && XINT (XEXP (XEXP (disp, 0), 0), 1) != UNSPEC_NTPOFF))
> 		/* Non-constant pic memory reference.  */
> 		return false;
> 
> Jakub, can you maybe look into this issue?

I will, probably by looking at why it works fine without -mcmodel=large,
because in that case it generates those CONSTs with PLUS, UNSPEC_NTPOFF and
CONST_INT offset.
>From gcc-bugs-return-633338-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 09:52:00 2019
Return-Path: <gcc-bugs-return-633338-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63788 invoked by alias); 12 Feb 2019 09: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 63748 invoked by uid 48); 12 Feb 2019 09:51:56 -0000
From: "antoshkka at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89301] New: [concepts] requires clause on a template alias is ignored
Date: Tue, 12 Feb 2019 09:51: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: antoshkka 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-89301-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: 2019-02/txt/msg01640.txt.bz2
Content-length: 977

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

            Bug ID: 89301
           Summary: [concepts] requires clause on a template alias is
                    ignored
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: antoshkka at gmail dot com
  Target Milestone: ---

The following code compiles however it should not:

template<bool condition, typename T = void>
    requires(condition)
using enable_if_t = T;

template<typename T, typename = enable_if_t<sizeof(T) < 0>>
void foo();

void test() {
    foo<int>();
}


Slightly changed example also compiles on GCC (but fails to compile on Clang):

template<bool condition, typename T = void>
    requires(condition)
using enable_if_t = T;

template<typename T>
enable_if_t<sizeof(T) < 0> foo();

void test() {
    foo<int>();
}
>From gcc-bugs-return-633339-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 10:05:25 2019
Return-Path: <gcc-bugs-return-633339-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21190 invoked by alias); 12 Feb 2019 10:05: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 21051 invoked by uid 48); 12 Feb 2019 10:05:17 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89290] [8/9 Regression] ICE in change_address_1, at emit-rtl.c:2286
Date: Tue, 12 Feb 2019 10:05: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: ubizjak 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: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89290-4-Q5APJjuUWn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89290-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89290-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: 2019-02/txt/msg01641.txt.bz2
Content-length: 364

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

--- Comment #5 from Uroš Bizjak <ubizjak at gmail dot com> ---
Created attachment 45664
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45664&action=edit
Untested patch

Kind of a proposed patch that fixes the testcase. More or less shot in the
dark, as this is not really my area of experience.
>From gcc-bugs-return-633340-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 10:06:16 2019
Return-Path: <gcc-bugs-return-633340-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22450 invoked by alias); 12 Feb 2019 10:06: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 22384 invoked by uid 48); 12 Feb 2019 10:06:12 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89300] C++ requires statement does not fail silently for const void *
Date: Tue, 12 Feb 2019 10:06: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.1
X-Bugzilla-Keywords: rejects-valid
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 everconfirmed
Message-ID: <bug-89300-4-7SmT8ES8Sx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89300-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89300-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: 2019-02/txt/msg01642.txt.bz2
Content-length: 465

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-12
     Ever confirmed|0                           |1
>From gcc-bugs-return-633341-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 10:07:06 2019
Return-Path: <gcc-bugs-return-633341-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31419 invoked by alias); 12 Feb 2019 10:07: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 31319 invoked by uid 48); 12 Feb 2019 10:07:01 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89299] __attribute__ cleanup does not accept template function
Date: Tue, 12 Feb 2019 10:07: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-89299-4-5JdS3eGrNN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89299-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89299-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: 2019-02/txt/msg01643.txt.bz2
Content-length: 286

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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
That attribute doesn't really make sense in C++, because you have destructors
anyway, so I would think that making it work with C++ templates is very low
priority.
>From gcc-bugs-return-633342-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 10:21:47 2019
Return-Path: <gcc-bugs-return-633342-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107109 invoked by alias); 12 Feb 2019 10:21: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 107077 invoked by uid 48); 12 Feb 2019 10:21:43 -0000
From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug hsa/89302] New: libgomp.c-c++-common/for-11.c fails when offloaded to HSA
Date: Tue, 12 Feb 2019 10:21:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: hsa
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jamborm 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-89302-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: 2019-02/txt/msg01644.txt.bz2
Content-length: 967

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

            Bug ID: 89302
           Summary: libgomp.c-c++-common/for-11.c fails when offloaded to
                    HSA
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: hsa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jamborm at gcc dot gnu.org
                CC: jamborm at gcc dot gnu.org, marxin at gcc dot gnu.org
  Target Milestone: ---

I can see the following two libgomp failures when the testsuite is run
on an HSA-capable machine and HSA offloading is enabled.

  libgomp.c/../libgomp.c-c++-common/for-11.c execution test
  libgomp.c++/../libgomp.c-c++-common/for-11.c execution test

The reason is that gridification cannot cope with != operator in
OpenMP loops.  A fix has been proposed on the mailing list:

  https://gcc.gnu.org/ml/gcc-patches/2019-02/msg00105.html
>From gcc-bugs-return-633343-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 10:24:48 2019
Return-Path: <gcc-bugs-return-633343-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115279 invoked by alias); 12 Feb 2019 10:24: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 115241 invoked by uid 48); 12 Feb 2019 10:24:44 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89299] __attribute__ cleanup does not accept template function
Date: Tue, 12 Feb 2019 10:24: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: 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-89299-4-tKOkebKi2p@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89299-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89299-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: 2019-02/txt/msg01645.txt.bz2
Content-length: 1008

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-12
     Ever confirmed|0                           |1

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to paradox_ptr from comment #0)
> Clearly, template function is still a function,

No it isn't, it's a template.

> especially when explicitly
> instantiated.

Well you didn't instantiate it. 'cu' is not a function, it's a template.

But it still doesn't compile if you use __attribute__((cleanup(cu<char>))).

In theory the compiler could deduce the template arguments from the type of the
variable, but IMHO it's completely unnecessary to use this extension in C++
anyway, so adding complexity to it is a waste of resources.
>From gcc-bugs-return-633344-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 10:33:42 2019
Return-Path: <gcc-bugs-return-633344-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50388 invoked by alias); 12 Feb 2019 10:33: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 50301 invoked by uid 48); 12 Feb 2019 10:33:38 -0000
From: "paradox_ptr at protonmail dot ch" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89299] __attribute__ cleanup does not accept template function
Date: Tue, 12 Feb 2019 10: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paradox_ptr at protonmail dot ch
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-89299-4-6fbv1eN4Hd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89299-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89299-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: 2019-02/txt/msg01646.txt.bz2
Content-length: 435

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

--- Comment #3 from paradox_ptr at protonmail dot ch ---
> Well you didn't instantiate it. 'cu' is not a function, it's a template.

Sure. There is not enough information for the compiler to deduce the type
without <>.

> IMHO it's completely unnecessary to use this extension in C++ anyway

Fair enough.
However I feel like error message is plain incorrect for cleanup(cu<char>).
>From gcc-bugs-return-633345-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 10:42:17 2019
Return-Path: <gcc-bugs-return-633345-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97152 invoked by alias); 12 Feb 2019 10:42: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 77270 invoked by uid 48); 12 Feb 2019 10:42:12 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89301] [concepts] requires clause on a template alias is ignored
Date: Tue, 12 Feb 2019 10: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: 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: keywords bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-89301-4-jOMfzeHbxN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89301-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89301-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: 2019-02/txt/msg01647.txt.bz2
Content-length: 467

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-12
     Ever confirmed|0                           |1
>From gcc-bugs-return-633346-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 10:45:49 2019
Return-Path: <gcc-bugs-return-633346-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119620 invoked by alias); 12 Feb 2019 10:45: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 119551 invoked by uid 48); 12 Feb 2019 10:45:45 -0000
From: "adl at gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89303] New: memory leak with shared_ptr and enable_shared_from_this
Date: Tue, 12 Feb 2019 10:45: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: adl at gnu dot 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-89303-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: 2019-02/txt/msg01648.txt.bz2
Content-length: 2738

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

            Bug ID: 89303
           Summary: memory leak with shared_ptr and
                    enable_shared_from_this
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: adl at gnu dot org
  Target Milestone: ---

I'm not sure if this issue is compiler or library related, but since changing
-O into -O0 or -O2 hides the issue, I'm assuming its the compiler.

This is g++ 8.2.0-20 from Debian unstable (SVN 20190209 (r268721) from the
gcc-8-branch) running on amd64.


% cat issue.c
#include <memory>

class blob final: public std::enable_shared_from_this<blob>
{
  int* data;

public:
  blob() { data = new int; }
  ~blob() { delete data; }
};

static int
bar(std::shared_ptr<blob>)
{
  return 0;
}

int main()
{
  std::shared_ptr<blob> tg = std::make_shared<blob>();
  return bar(tg);
}
% g++ -Wall -g -O issue.cc
% valgrind -q --leak-check=full ./a.out
==13174== 40 bytes in 1 blocks are definitely lost in loss record 1 of 1
==13174==    at 0x4835DEF: operator new(unsigned long)
(vg_replace_malloc.c:334)
==13174==    by 0x1092F5: allocate (new_allocator.h:111)
==13174==    by 0x1092F5: allocate (alloc_traits.h:436)
==13174==    by 0x1092F5:
__allocate_guarded<std::allocator<std::_Sp_counted_ptr_inplace<blob,
std::allocator<blob>, (__gnu_cxx::_Lock_policy)2> > > (allocated_ptr.h:97)
==13174==    by 0x1092F5: __shared_count<blob, std::allocator<blob> >
(shared_ptr_base.h:675)
==13174==    by 0x1092F5: std::__shared_ptr<blob,
(__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<blob>>(std::_Sp_alloc_shared_tag<std::allocator<blob>
>) (shared_ptr_base.h:1342)
==13174==    by 0x109185: shared_ptr<std::allocator<blob> > (shared_ptr.h:359)
==13174==    by 0x109185: allocate_shared<blob, std::allocator<blob> >
(shared_ptr.h:706)
==13174==    by 0x109185: make_shared<blob> (shared_ptr.h:722)
==13174==    by 0x109185: main (issue.cc:20)
==13174== 

I've confirmed that this leak exist using GNU libc's mtrace(), i.e., this is
not a valgrind bug.

Note that changing -O into -O0 or -O2 removes the leak.  

This is a reduced test case from a larger project that started leaking memory
after I upgraded Debian unstable's g++-8 package from version 8.2.0-13 to
version 8.2.0-16.  I also have some tests that started raising bad_weak_ptr
exceptions, but so far I haven't reduced those.

Note that 8.2.0-16 includes the patch for libstdc++/88782 ; could this be
related?
>From gcc-bugs-return-633347-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 10:53:43 2019
Return-Path: <gcc-bugs-return-633347-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10582 invoked by alias); 12 Feb 2019 10:53:43 -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 10525 invoked by uid 48); 12 Feb 2019 10:53:39 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89303] memory leak with shared_ptr and enable_shared_from_this
Date: Tue, 12 Feb 2019 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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-89303-4-iQkACZgZkK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg01649.txt.bz2
Content-length: 609

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2019-02-12
     Ever confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I can't reproduce this with GCC 8.2.1 or 9.0.1, so it might be a problem with
the Debian package. Please provide preprocessed source.
>From gcc-bugs-return-633348-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 10:54:37 2019
Return-Path: <gcc-bugs-return-633348-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12004 invoked by alias); 12 Feb 2019 10:54: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 11965 invoked by uid 48); 12 Feb 2019 10:54:34 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89303] memory leak with shared_ptr and enable_shared_from_this
Date: Tue, 12 Feb 2019 10: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: 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
Message-ID: <bug-89303-4-kDMpFXqT75@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg01650.txt.bz2
Content-length: 422

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

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

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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Oh I take it back, I do see it on gcc-8-branch (but not trunk).
>From gcc-bugs-return-633349-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 10:56:46 2019
Return-Path: <gcc-bugs-return-633349-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17770 invoked by alias); 12 Feb 2019 10:56:46 -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 17697 invoked by uid 48); 12 Feb 2019 10:56:43 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this
Date: Tue, 12 Feb 2019 10:56:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status component assigned_to short_desc
Message-ID: <bug-89303-4-D0qJ0TchPL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg01651.txt.bz2
Content-length: 655

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
          Component|c++                         |libstdc++
           Assignee|unassigned at gcc dot gnu.org      |redi at gcc dot gnu.org
            Summary|memory leak with shared_ptr |[8 Regression] memory leak
                   |and enable_shared_from_this |with shared_ptr and
                   |                            |enable_shared_from_this
>From gcc-bugs-return-633350-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 11:08:34 2019
Return-Path: <gcc-bugs-return-633350-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20906 invoked by alias); 12 Feb 2019 11:08: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 15767 invoked by uid 48); 12 Feb 2019 11:08:30 -0000
From: "adl at gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this
Date: Tue, 12 Feb 2019 11:08:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: adl at gnu dot org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89303-4-cW0Ne4mtZT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg01652.txt.bz2
Content-length: 274

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

--- Comment #3 from Alexandre Duret-Lutz <adl at gnu dot org> ---
Created attachment 45665
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45665&action=edit
preprocessed source

Here is the preprocessed source.
>From gcc-bugs-return-633351-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 11:11:04 2019
Return-Path: <gcc-bugs-return-633351-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80140 invoked by alias); 12 Feb 2019 11:11:04 -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 80076 invoked by uid 48); 12 Feb 2019 11:11:01 -0000
From: "fiesh at zefix dot tv" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89304] New: Compiler runs indefinitely
Date: Tue, 12 Feb 2019 11:11: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: fiesh at zefix dot tv
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-89304-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: 2019-02/txt/msg01653.txt.bz2
Content-length: 997

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

            Bug ID: 89304
           Summary: Compiler runs indefinitely
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: fiesh at zefix dot tv
  Target Milestone: ---

The following code leads to g++ (and also clang++) running indefinitely.  It
needs to be compiled with -std=c++17.




#include <tuple>

template <typename T>
void p(T const & v)
{
}

template <typename... T>
void f(T &&... args);

template <typename... T>
void f(std::tuple<T...> const & args);

template <typename... T>
void f(T &&... args)
{
        auto t = std::make_tuple(args...);
        f(t);
}

template <typename... T>
void f(std::tuple<T...> const & args)
{
        std::apply([](auto const &... v) { (..., p(v)); }, args);
}

int main()
{
        f(1., 2, 4);
        return 0;
}
>From gcc-bugs-return-633352-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 11:25:48 2019
Return-Path: <gcc-bugs-return-633352-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105992 invoked by alias); 12 Feb 2019 11:25: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 105426 invoked by uid 55); 12 Feb 2019 11:25:43 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88777] [9 Regression] Out-of-range offsets building glibc test-tgmath2.c for hppa-linux-gnu
Date: Tue, 12 Feb 2019 11:25: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: amodra at gmail dot com
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88777-4-l3Swrco78j@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88777-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88777-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: 2019-02/txt/msg01654.txt.bz2
Content-length: 556

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

--- Comment #7 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Author: hubicka
Date: Tue Feb 12 11:25:11 2019
New Revision: 268791

URL: https://gcc.gnu.org/viewcvs?rev=268791&root=gcc&view=rev
Log:

        PR lto/88777
        * cgraphunit.c (analyze_functions): Clear READONLY flag for external
        types that needs constructiong.
        * tree.h (may_be_aliased): Do not check TYPE_NEEDS_CONSTRUCTING.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cgraphunit.c
    trunk/gcc/tree.h
>From gcc-bugs-return-633353-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 11:28:04 2019
Return-Path: <gcc-bugs-return-633353-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111790 invoked by alias); 12 Feb 2019 11:28:04 -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 110543 invoked by uid 48); 12 Feb 2019 11:28:00 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87689] PowerPC64 ELFv2 function parameter passing violation
Date: Tue, 12 Feb 2019 11:28: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: amodra 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-87689-4-IPq3nLCM8x@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: 2019-02/txt/msg01655.txt.bz2
Content-length: 1021

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

--- Comment #15 from Alan Modra <amodra at gmail dot com> ---
I've regression tested the patch on powerpc64le-linux, and of course verified
that it fixes the testcase.  I'm also fairly certain the patch intent is
correct in the narrow sense of it correcting gfc_get_function_type behaviour. 
My comment about not being let loose near the gcc fortran support is because I
have no idea whether the patch is the best patch possible.  Also, as with any
patch, reviewers should check the actual patch matches the intent. ;-) 
gfc_get_function_type currently calls build_varargs_function_type_vec for
"normal" functions without arg info, which seems a perfectly reasonable way to
say the function isn't prototyped.  So the patch isn't introducing new
behaviour..

By "normal" I mean functions that don't have hidden args for return values or
multiple entry points.  Just because you have arg info for the return type
shouldn't make the function prototyped.
>From gcc-bugs-return-633354-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 11:31:26 2019
Return-Path: <gcc-bugs-return-633354-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72411 invoked by alias); 12 Feb 2019 11:31:26 -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 66133 invoked by uid 48); 12 Feb 2019 11:31:22 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89285] [8/9 Regression] ICE after casting the this pointer in the constructor in C++17 mode
Date: Tue, 12 Feb 2019 11:31: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: accepts-invalid, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: attachments.created
Message-ID: <bug-89285-4-x0LQcAtgNc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89285-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89285-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: 2019-02/txt/msg01656.txt.bz2
Content-length: 1690

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

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45666
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45666&action=edit
gcc9-pr89285-wip.patch

Non-working WIP.

I've tried this, thinking that we don't really need to duplicate decls etc. in
the function and could just copy the statements.  Unfortunately, there are
issues with that:
1) the genericization modifies in place the PARM_DECLs and RESULT_DECL, so
mixing the pre-cp_fold_function/cp_genericize* statements (body) with the post
cp_genericize* is not going to work flawlessly
2) apparently cxx_eval_constant_expression assumes post genericization IL:
      if (STATEMENT_CODE_P (TREE_CODE (t)))
        {
          /* This function doesn't know how to deal with pre-genericize
             statements; this can only happen with statement-expressions,
             so for now just fail.  */
          if (!ctx->quiet)
            error_at (EXPR_LOCATION (t),
                      "statement is not a constant expression");
        }
so it is upset e.g. about WHILE_STMT and others.

>From the language conformance POV though, I think it is highly desirable to
evaluate constexpr functions on the original, pre-folding/genericization,
trees, because the middle-end (e.g. match.pd, fold-const.c) is not willing to
guarantee not to fold away stuff that should be diagnosed as constexpr
violations.

So, for 1), I'd think we could just use copy_fn and remember not just the body,
but also parms and result in constexpr_fundef
For 2), I guess that would mean teaching constexpr.c about the
pre-genericization *_STMT constructs.
>From gcc-bugs-return-633355-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 11:35:05 2019
Return-Path: <gcc-bugs-return-633355-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129463 invoked by alias); 12 Feb 2019 11:35: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 129368 invoked by uid 48); 12 Feb 2019 11:35:00 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89304] Compiler runs indefinitely
Date: Tue, 12 Feb 2019 11:35: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: compile-time-hog
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi 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: keywords bug_status resolution
Message-ID: <bug-89304-4-KbA4wG6mU7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89304-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89304-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: 2019-02/txt/msg01657.txt.bz2
Content-length: 9178

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |compile-time-hog
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I think f(t) recurses forever, it can be reduced to:

#include <tuple>

template <typename... T>
void f(T &&... args)
{
        auto t = std::make_tuple(args...);
        f(t);
}

int main()
{
        f(1., 2, 4);
}

Which can be reduced to:

template<typename... T> struct tuple { };

template<typename... T>
tuple<T...>
make_tuple(T...)
{
  return tuple<T...>{};
}

template <typename... T>
void f(tuple<T...> const& args) { }

template <typename... T>
void f(T&&... args)
{
  auto t = make_tuple(args...);
  f(t);
}

int main()
{
  f(1., 2, 4);
}

This fails much faster:

89304.cc: In instantiation of 'void f(T&& ...) [with T =
{tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<tuple<double,
int, long int> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > >&}]':
89304.cc:20:4:   recursively required from 'void f(T&& ...) [with T =
{tuple<double, int, long int>&}]'
89304.cc:20:4:   required from 'void f(T&& ...) [with T = {double, int, long
int}]'
89304.cc:25:13:   required from here
89304.cc:19:22: fatal error: template instantiation depth exceeds maximum of
900 (use -ftemplate-depth= to increase the maximum)
   19 |   auto t = make_tuple(args...);
      |            ~~~~~~~~~~^~~~~~~~~
compilation terminated.

The problem is that calling f(tuple<T...> const&) requires a qualification
conversion, but (recursively) calling f(T&&...) requires no conversion
sequence, so is a better match.
>From gcc-bugs-return-633356-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 11:36:42 2019
Return-Path: <gcc-bugs-return-633356-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12399 invoked by alias); 12 Feb 2019 11:36: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 12345 invoked by uid 48); 12 Feb 2019 11:36:39 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89304] Compiler runs indefinitely
Date: Tue, 12 Feb 2019 11:36: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: compile-time-hog
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi 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-89304-4-pV4idANNbR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89304-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89304-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: 2019-02/txt/msg01658.txt.bz2
Content-length: 325

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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This will work, because there's no conversion needed from tuple<T...> to
tuple<T...> const, so the expected overload is more speclialized:

        const auto t = std::make_tuple(args...);
        f(t);
>From gcc-bugs-return-633357-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 11:59:53 2019
Return-Path: <gcc-bugs-return-633357-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81687 invoked by alias); 12 Feb 2019 11:59: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 81619 invoked by uid 48); 12 Feb 2019 11:59:50 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89285] [8/9 Regression] ICE after casting the this pointer in the constructor in C++17 mode
Date: Tue, 12 Feb 2019 11:59: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: accepts-invalid, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: attachments.created
Message-ID: <bug-89285-4-7UQnHx33S9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89285-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89285-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: 2019-02/txt/msg01659.txt.bz2
Content-length: 439

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

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45667
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45667&action=edit
gcc9-pr89285-wip.patch

Updated patch to address 1).  For 2), I guess we need to handle e.g.
CLEANUP_STMT, IF_STMT, FOR_STMT, WHILE_STMT, DO_STMT, SWITCH_STMT,
CONTINUE_STMT, BREAK_STMT in cxx_eval_constant_expression.
>From gcc-bugs-return-633358-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 12:11:10 2019
Return-Path: <gcc-bugs-return-633358-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19935 invoked by alias); 12 Feb 2019 12:11: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 6749 invoked by uid 48); 12 Feb 2019 12:11:04 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89304] Compiler runs indefinitely
Date: Tue, 12 Feb 2019 12:11: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: compile-time-hog
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi 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-89304-4-DNxhnQYzD7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89304-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89304-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: 2019-02/txt/msg01660.txt.bz2
Content-length: 405

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

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
With -ftemplate-depth=50 it fails in about 5 seconds.
-ftemplate-depth=100 takes 18s
-ftemplate-depth=200 takes 1m27s

So there's something quadratic in the nested tuple instantiations which means
that reaching the default template depth of 900 takes a silly length of time.
>From gcc-bugs-return-633359-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 12:36:33 2019
Return-Path: <gcc-bugs-return-633359-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76622 invoked by alias); 12 Feb 2019 12:36:32 -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 76553 invoked by uid 48); 12 Feb 2019 12:36:28 -0000
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/88818] Segfault with vtable-verify LTO optimization
Date: Tue, 12 Feb 2019 12:36: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.2.1
X-Bugzilla-Keywords: lto
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: cc attachments.created
Message-ID: <bug-88818-4-2SzmMrBPyH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88818-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88818-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: 2019-02/txt/msg01661.txt.bz2
Content-length: 500

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

David Binderman <dcb314 at hotmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dcb314 at hotmail dot com

--- Comment #4 from David Binderman <dcb314 at hotmail dot com> ---
Created attachment 45668
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45668&action=edit
C++ source code
>From gcc-bugs-return-633360-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 12:38:18 2019
Return-Path: <gcc-bugs-return-633360-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79891 invoked by alias); 12 Feb 2019 12:38: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 79812 invoked by uid 48); 12 Feb 2019 12:38:13 -0000
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/88818] Segfault with vtable-verify LTO optimization
Date: Tue, 12 Feb 2019 12:38: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.2.1
X-Bugzilla-Keywords: lto
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-88818-4-xjNjvLErT2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88818-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88818-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: 2019-02/txt/msg01662.txt.bz2
Content-length: 512

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

--- Comment #5 from David Binderman <dcb314 at hotmail dot com> ---
The attached code does something similar:

$ ~/gcc/results/bin/gcc -c -O2 -flto -fvtable-verify=std -std=gnu++11 bug504.cc
during GIMPLE pass: ealias
bug504.cc: In function
‘_GLOBAL__sub_I.00099__ZSt27__replacement_assert___file’:
bug504.cc:5632:56: internal compiler error: in operator[], at vec.h:845
 5632 |                                                       };
>From gcc-bugs-return-633361-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 12:58:19 2019
Return-Path: <gcc-bugs-return-633361-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105020 invoked by alias); 12 Feb 2019 12:58:19 -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 104964 invoked by uid 48); 12 Feb 2019 12:58:15 -0000
From: "raphael.kubo.da.costa at intel dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89305] New: CWG DR 253 is not implemented
Date: Tue, 12 Feb 2019 12:58: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.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: raphael.kubo.da.costa at intel 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-89305-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: 2019-02/txt/msg01663.txt.bz2
Content-length: 1194

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

            Bug ID: 89305
           Summary: CWG DR 253 is not implemented
           Product: gcc
           Version: 8.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: raphael.kubo.da.costa at intel dot com
  Target Milestone: ---

I can see a few bugs marked as SUSPENDED related to DR 253 and how there hadn't
been an official resolution at the time.

According to
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0490r0.html and
http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#253 it's part of
C++17 (even though MSVC and clang implement it for older versions as well).

IOW, I believe G++ should accept the following code:

struct S {
};

struct T {
  T() {}
  const S s_;
};

rather than failing with 

const.cc: In constructor ‘T::T()’:
const.cc:5:3: error: uninitialized const member in ‘const struct S’
[-fpermissive]
   T() {}
   ^
const.cc:6:11: note: ‘const S T::s_’ should be initialized
   const S s_;
           ^~
>From gcc-bugs-return-633362-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 13:04:25 2019
Return-Path: <gcc-bugs-return-633362-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119520 invoked by alias); 12 Feb 2019 13:04: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 119436 invoked by uid 48); 12 Feb 2019 13:04:21 -0000
From: "koenigni at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88076] Shared Memory implementation for Coarrays
Date: Tue, 12 Feb 2019 13:04: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: koenigni at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: koenigni at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88076-4-P9LvxrbgaN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88076-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88076-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: 2019-02/txt/msg01664.txt.bz2
Content-length: 1838

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

--- Comment #9 from Nicolas Koenig <koenigni at gcc dot gnu.org> ---
Sorry for the late reply, there was a sad incidence with my laptop and ice
cream :D

(In reply to Damian Rouson from comment #8)
> (In reply to Nicolas Koenig from comment #7)
> 
> > I actually opted to use multiprocessing with shared memory (shm_open() & co)
> > instead of multithreading, since it will be much easier and faster with
> > static variables, of which gfortran makes extensive use. Also, it greatly
> > simplifies interoperability with OpenMP. 
> 
> This sounds like a great choice.  I have no prior familiarity with
> shm_open(),
> but I very much like the idea of simplifying interoperability with OpenMP. 
> 
> > The only real downsides I can think of are slower spinup times... 
> 
> It will be interesting to compare the performance with MPI.  I also wonder if
> this would also someday provide for a hybrid implementation wherein
> shm_open()
> is used within a node and MPI is used across nodes, e.g., maybe images within
> a TEAM could use shm_open() to communicate, while any communication between
> TEAMs could use MPI.
> 

I think that would be ideal. The only problem with this would be that we would
have to maintain 3 implementations, which would be quite work intensive.

>
> > 
> > I actually think it would be best not to turn it into a separate library but
> > instead integrate it into libgfortran. 
> 
> I agree. 
> 
> > This way, it will not be necessary to
> > install a seperate library and thereby make it easier for people to start
> > using coarrays. Therefore, it would make sense to use the libgfortran
> > descriptors.
> 
> > 
> > At the moment, sync_all() is called after image creation.
> 
> I think that will suffice.
>From gcc-bugs-return-633363-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 13:13:41 2019
Return-Path: <gcc-bugs-return-633363-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30816 invoked by alias); 12 Feb 2019 13:13:41 -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 30626 invoked by uid 48); 12 Feb 2019 13:13:38 -0000
From: "koenigni at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88076] Shared Memory implementation for Coarrays
Date: Tue, 12 Feb 2019 13:13: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: koenigni at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: koenigni at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created
Message-ID: <bug-88076-4-mH1Z5OKXlU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88076-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88076-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: 2019-02/txt/msg01665.txt.bz2
Content-length: 1088

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

Nicolas Koenig <koenigni at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45535|0                           |1
        is obsolete|                            |

--- Comment #10 from Nicolas Koenig <koenigni at gcc dot gnu.org> ---
Created attachment 45669
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45669&action=edit
Proof-of-concept v2

Also, here is an updated version that adds (preliminary) support for implicit
coarray accesses and coarrays in modules as well as fixing some bugs in the old
one. It is now capable of compiling and running the following simple test:

module co
  integer:: a[*]
end module

program main
  use co, only: a
  implicit none
  a[next_image()] = this_image()
  sync all
  print *, 'Hi from', a, 'to', this_image()
contains
  function next_image()
    integer:: next_image
    next_image = mod(this_image(), num_images()) + 1
  end function
end program
>From gcc-bugs-return-633364-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 13:14:53 2019
Return-Path: <gcc-bugs-return-633364-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34580 invoked by alias); 12 Feb 2019 13:14: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 34501 invoked by uid 48); 12 Feb 2019 13:14:50 -0000
From: "amonakov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/38959] Additional switches to disallow processor supplementary instructions
Date: Tue, 12 Feb 2019 13:14: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: amonakov 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: bug_status cc resolution
Message-ID: <bug-38959-4-kT5T1dlGhf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-38959-4@http.gcc.gnu.org/bugzilla/>
References: <bug-38959-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: 2019-02/txt/msg01666.txt.bz2
Content-length: 908

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |amonakov at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #5 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
As far as I can tell this report was not correctly triaged 10 years ago, as
that's exactly what -mtune= is for: optimize for a given CPU without assuming
availability of its ISA extensions. So from compiler perspective something like
-march=i386 -mtune=i486 gives the requested behavior, and any strict
enforcement is a job for the assembler, not the compiler.

So let's close as invalid.
>From gcc-bugs-return-633365-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 13:17:14 2019
Return-Path: <gcc-bugs-return-633365-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38494 invoked by alias); 12 Feb 2019 13:17: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 38410 invoked by uid 48); 12 Feb 2019 13:17:10 -0000
From: "koenigni at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88076] Shared Memory implementation for Coarrays
Date: Tue, 12 Feb 2019 13:17: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: koenigni at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: koenigni at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created
Message-ID: <bug-88076-4-NHQfYLt7W3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88076-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88076-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: 2019-02/txt/msg01667.txt.bz2
Content-length: 698

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

Nicolas Koenig <koenigni at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45536|0                           |1
        is obsolete|                            |

--- Comment #11 from Nicolas Koenig <koenigni at gcc dot gnu.org> ---
Created attachment 45670
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45670&action=edit
library v2

Here is the new version of the library. They should really add the ability to
attach more than one file. I will ask the mailing list about integration with
libgfortran.
>From gcc-bugs-return-633366-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 13:47:16 2019
Return-Path: <gcc-bugs-return-633366-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37769 invoked by alias); 12 Feb 2019 13:47: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 37702 invoked by uid 55); 12 Feb 2019 13:47:12 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/88876] [9 regression] ICE in propagate_pure_const ipa-pure-const.c:1502
Date: Tue, 12 Feb 2019 13:47: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: 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: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-88876-4-QYLRlSM5iV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88876-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88876-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: 2019-02/txt/msg01668.txt.bz2
Content-length: 598

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

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Tue Feb 12 13:46:41 2019
New Revision: 268795

URL: https://gcc.gnu.org/viewcvs?rev=268795&root=gcc&view=rev
Log:
Revert a hunk from r261322 (PR lto/88876).

2019-02-12  Martin Liska  <mliska@suse.cz>

        PR lto/88876
        * ipa-pure-const.c (propagate_pure_const): Revert hunk as
        we need default values of funct_state for a function that
        is not optimized.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-pure-const.c
>From gcc-bugs-return-633367-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 13:48:59 2019
Return-Path: <gcc-bugs-return-633367-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41249 invoked by alias); 12 Feb 2019 13:48: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 41194 invoked by uid 48); 12 Feb 2019 13:48:55 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/88876] [9 regression] ICE in propagate_pure_const ipa-pure-const.c:1502
Date: Tue, 12 Feb 2019 13:48: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: 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: FIXED
X-Bugzilla-Priority: P1
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-88876-4-W6CyvhfmW3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88876-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88876-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: 2019-02/txt/msg01669.txt.bz2
Content-length: 433

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

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

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

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-633369-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 13:50:32 2019
Return-Path: <gcc-bugs-return-633369-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43646 invoked by alias); 12 Feb 2019 13:50:32 -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 43583 invoked by uid 48); 12 Feb 2019 13:50:28 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this
Date: Tue, 12 Feb 2019 13: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: unknown
X-Bugzilla-Keywords: wrong-code
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 assigned_to
Message-ID: <bug-89303-4-mPlWKaTrUy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg01671.txt.bz2
Content-length: 379

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW
           Assignee|redi at gcc dot gnu.org            |unassigned at gcc dot gnu.org
>From gcc-bugs-return-633368-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 13:50:20 2019
Return-Path: <gcc-bugs-return-633368-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42858 invoked by alias); 12 Feb 2019 13:50:19 -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 42781 invoked by uid 48); 12 Feb 2019 13:50:16 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this
Date: Tue, 12 Feb 2019 13: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: unknown
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords component
Message-ID: <bug-89303-4-yyHnFmiQQO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg01670.txt.bz2
Content-length: 1028

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
          Component|libstdc++                   |c++

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The test behaves correctly if -O1 is combined with any (one or more) of:

-fno-guess-branch-probability
-fno-inline-functions-called-once
-fno-tree-forwprop
-fno-tree-fre
-fno-tree-pta

The bug did appear with the r268114 change to shared_ptr but that seems to have
just exposed a latent compiler bug.

It appears that the enable_shared_from_this<blob> destructor doesn't run after
~blob() runs, and so the _M_weak_count member is not decremented by that
destructor. As a result, once the last shared_ptr drops its reference the weak
count remains above zero and so the control block is never destroyed.
>From gcc-bugs-return-633370-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 14:01:39 2019
Return-Path: <gcc-bugs-return-633370-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97422 invoked by alias); 12 Feb 2019 14:01: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 97274 invoked by uid 55); 12 Feb 2019 14:01:30 -0000
From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libbacktrace/81983] libbacktrace calls bsearch with NULL base
Date: Tue, 12 Feb 2019 14:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libbacktrace
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vries 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-81983-4-JV1kkyVpRz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81983-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81983-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: 2019-02/txt/msg01672.txt.bz2
Content-length: 984

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

--- Comment #7 from Tom de Vries <vries at gcc dot gnu.org> ---
Author: vries
Date: Tue Feb 12 14:00:59 2019
New Revision: 268796

URL: https://gcc.gnu.org/viewcvs?rev=268796&root=gcc&view=rev
Log:
[libbacktrace] Handle bsearch with NULL base in dwarf_lookup_pc

The call to bsearch in dwarf_lookup_pc can have NULL as base argument when
the nmemb argument is 0.  The base argument is required to be pointing to the
initial member of an array of nmemb objects.  It is not specified what
constitutes a valid pointer to an array of 0 objects, but glibc declares base
with attribute non-null, so the NULL will trigger a sanitizer runtime error.

Fix this by only calling bsearch if nmemb != 0.

2019-02-12  Tom de Vries  <tdevries@suse.de>

        PR libbacktrace/81983
        * dwarf.c (dwarf_lookup_pc): Don't call bsearch if nmemb == 0.

Modified:
    trunk/libbacktrace/ChangeLog
    trunk/libbacktrace/dwarf.c
>From gcc-bugs-return-633371-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 14:04:04 2019
Return-Path: <gcc-bugs-return-633371-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100213 invoked by alias); 12 Feb 2019 14:04:04 -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 100087 invoked by uid 48); 12 Feb 2019 14:04:00 -0000
From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libbacktrace/81983] libbacktrace calls bsearch with NULL base
Date: Tue, 12 Feb 2019 14:04:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libbacktrace
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vries at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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 target_milestone
Message-ID: <bug-81983-4-kq4gP3UJRs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81983-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81983-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: 2019-02/txt/msg01673.txt.bz2
Content-length: 508

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

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |9.0

--- Comment #8 from Tom de Vries <vries at gcc dot gnu.org> ---
Patch committed, marking resolved-fixed.
>From gcc-bugs-return-633372-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 14:06:49 2019
Return-Path: <gcc-bugs-return-633372-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104386 invoked by alias); 12 Feb 2019 14:06: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 104272 invoked by uid 48); 12 Feb 2019 14:06:45 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89285] [8/9 Regression] ICE after casting the this pointer in the constructor in C++17 mode
Date: Tue, 12 Feb 2019 14:06: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: accepts-invalid, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: attachments.created
Message-ID: <bug-89285-4-4hgU0Skj9h@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89285-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89285-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: 2019-02/txt/msg01674.txt.bz2
Content-length: 737

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

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45671
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45671&action=edit
gcc9-pr89285-wip.patch

Updated version that handles the above mentioned C++ stmt trees.

That said, there are still various regressions:
/usr/src/gcc/obj/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/vector.tcc:636:48:
  in 'constexpr' expansion of 'std::vector<int, std::allocator<int>
>::_S_use_relocate()'
/usr/src/gcc/obj/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/vector.tcc:636:8:
error: modification of '#'result_decl' not supported by dump_expr#<expression
error>' is not a constant expression
etc.
>From gcc-bugs-return-633373-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 14:13:15 2019
Return-Path: <gcc-bugs-return-633373-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128016 invoked by alias); 12 Feb 2019 14:13: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 127384 invoked by uid 48); 12 Feb 2019 14:13:09 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89242] [7/8/9 Regression] ICE in verify_dominators, at dominance.c:1184 (error: dominator of 7 should be 5, not 2)
Date: Tue, 12 Feb 2019 14:13: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: EH, ice-checking, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89242-4-hTq66V6Wan@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89242-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89242-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: 2019-02/txt/msg01675.txt.bz2
Content-length: 173

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

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
I've got a patch candidate for it, testing now..
>From gcc-bugs-return-633374-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 14:22:02 2019
Return-Path: <gcc-bugs-return-633374-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59243 invoked by alias); 12 Feb 2019 14:22: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 57862 invoked by uid 48); 12 Feb 2019 14:21:58 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89306] New: [8/9 regression] Hash based IPA summaries are too slow and consume up to 80% of IPA optimization time.
Date: Tue, 12 Feb 2019 14:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: ipa
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka 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-89306-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: 2019-02/txt/msg01676.txt.bz2
Content-length: 1541

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

            Bug ID: 89306
           Summary: [8/9 regression] Hash based IPA summaries are too slow
                    and consume up to 80% of IPA optimization time.
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hubicka at gcc dot gnu.org
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

IPA summaries was switches to new nice C++ API but while doing so the original
array based scheme was replaced by hash tables.  This is too slow for those
summaries which are dense (i.e. defined for almost all functions or variables
with a definition) and intensively used.  These are:

ipa-inline-analysis.c:call_summary<edge_growth_cache_entry *>
*edge_growth_cache = NULL;
ipa-fnsummary.c:call_summary <ipa_call_summary *> *ipa_call_summaries;
ipa-fnsummary.c:function_summary <ipa_fn_summary *> *ipa_fn_summaries;
ipa-pure-const.c:class funct_state_summary_t: public function_summary
<funct_state_d *>
ipa-pure-const.c:    function_summary <funct_state_d *> (symtab) {}
ipa-reference.c:    function_summary <ipa_reference_vars_info_d *> (symtab) {}

This one may not get too dense in all cases and at ltrans it is populated for
non-definitions, but needs to be fast for alias oracle walks:
ipa-reference.c:    function_summary <ipa_reference_optimization_summary_d *>
(symtab) {}
>From gcc-bugs-return-633375-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 14:22:55 2019
Return-Path: <gcc-bugs-return-633375-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60466 invoked by alias); 12 Feb 2019 14:22: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 60390 invoked by uid 48); 12 Feb 2019 14:22:49 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this
Date: Tue, 12 Feb 2019 14:22: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: 8.2.1
X-Bugzilla-Keywords: wrong-code
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: component version
Message-ID: <bug-89303-4-WWAnw8RSjl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg01677.txt.bz2
Content-length: 1929

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |rtl-optimization
            Version|unknown                     |8.2.1

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
GIMPLE at -O1 looks OK-ish - release on all paths:

main ()
{
  struct allocator D.41475;
  struct _Sp_make_shared_tag D.41474;
  struct shared_ptr tg;
  struct _Sp_counted_base * _5;
  struct _Sp_counted_base * _16;
  _Atomic_word * _17;
  int _18;
  int _19;

  <bb 2> [local count: 1073741825]:
  std::__shared_ptr<blob,
(__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<blob> > (&tg.D.36194,
D.41474, &D.41475);
  D.41475 ={v} {CLOBBER};
  _16 = MEM[(const struct __shared_count &)&tg + 8]._M_pi;
  if (_16 != 0B)
    goto <bb 3>; [70.00%]
  else
    goto <bb 6>; [30.00%]

  <bb 3> [local count: 751619277]:
  if (__gthrw___pthread_key_create != 0B)
    goto <bb 4>; [53.47%]
  else
    goto <bb 5>; [46.53%]

  <bb 4> [local count: 401890827]:
  _17 = &_16->_M_use_count;
  __atomic_fetch_add_4 (_17, 1, 4);
  goto <bb 9>; [100.00%]

  <bb 5> [local count: 349728449]:
  _18 = MEM[(_Atomic_word *)_16 + 8B];
  _19 = _18 + 1;
  MEM[(_Atomic_word *)_16 + 8B] = _19;
  goto <bb 9>; [100.00%]

  <bb 6> [local count: 1073741824]:
  _5 = MEM[(struct __shared_count *)&tg + 8B]._M_pi;
  if (_5 != 0B)
    goto <bb 7>; [53.47%]
  else
    goto <bb 8>; [46.53%]

  <bb 7> [local count: 574129753]:
  std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (_5);

  <bb 8> [local count: 1073741824]:
  tg ={v} {CLOBBER};
  return 0;

  <bb 9> [local count: 574129754]:
  std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (_16);
  goto <bb 6>; [100.00%]
>From gcc-bugs-return-633376-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 14:29:05 2019
Return-Path: <gcc-bugs-return-633376-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26765 invoked by alias); 12 Feb 2019 14:29:04 -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 26662 invoked by uid 48); 12 Feb 2019 14:29:00 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89306] [8/9 regression] Hash based IPA summaries are too slow and consume up to 80% of IPA optimization time.
Date: Tue, 12 Feb 2019 14:29: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed
Message-ID: <bug-89306-4-ls537eYesl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89306-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89306-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: 2019-02/txt/msg01678.txt.bz2
Content-length: 577

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-12
           Assignee|unassigned at gcc dot gnu.org      |marxin at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Mine then.
>From gcc-bugs-return-633377-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 14:48:00 2019
Return-Path: <gcc-bugs-return-633377-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78034 invoked by alias); 12 Feb 2019 14:47: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 69619 invoked by uid 48); 12 Feb 2019 14:47:55 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89297] ICE: unexpected expression 'id' of kind overload
Date: Tue, 12 Feb 2019 14: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc assigned_to target_milestone everconfirmed
Message-ID: <bug-89297-4-ljGSfchnAP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89297-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89297-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: 2019-02/txt/msg01679.txt.bz2
Content-length: 716

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-12
                 CC|                            |mpolacek at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |mpolacek at gcc dot gnu.org
   Target Milestone|---                         |9.0
     Ever confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Started with r268321.
>From gcc-bugs-return-633378-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 14:52:18 2019
Return-Path: <gcc-bugs-return-633378-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9921 invoked by alias); 12 Feb 2019 14:52: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 9776 invoked by uid 55); 12 Feb 2019 14:52:12 -0000
From: "iii at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89233] [9 Regression] ICE in change_address_1, at emit-rtl.c:2286
Date: Tue, 12 Feb 2019 14: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: iii at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89233-4-8eAJARSdty@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89233-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89233-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: 2019-02/txt/msg01680.txt.bz2
Content-length: 1641

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

--- Comment #3 from iii at gcc dot gnu.org ---
Author: iii
Date: Tue Feb 12 14:51:39 2019
New Revision: 268798

URL: https://gcc.gnu.org/viewcvs?rev=268798&root=gcc&view=rev
Log:
S/390: Reject invalid Q/R/S/T addresses after LRA

The following insn:

(insn (set (reg:DI %r2)
           (sign_extend:DI (mem:SI
            (const:DI (plus:DI (symbol_ref:DI ("*.LC0"))
                               (const_int 16)))))))

is correctly recognized by LRA as RIL alternative of extendsidi2
define_insn.  However, when recognition runs after LRA, it returns RXY
alternative, which is incorrect, since the offset 16 points past the
end of of *.LC0 literal pool entry.  Such addresses are normally
rejected by s390_decompose_address ().

This inconsistency confuses annotate_constant_pool_refs: the selected
alternative makes it proceed with annotation, only to find that the
annotated address is invalid, causing ICE.

This patch fixes the root cause, namely, that s390_check_qrst_address ()
behaves differently during and after LRA.

gcc/ChangeLog:

2019-02-12  Ilya Leoshkevich  <iii@linux.ibm.com>

        PR target/89233
        * config/s390/s390.c (s390_decompose_address): Update comment.
        (s390_check_qrst_address): Reject invalid address forms after
        LRA.

gcc/testsuite/ChangeLog:

2019-02-12  Ilya Leoshkevich  <iii@linux.ibm.com>

        PR target/89233
        * gcc.target/s390/pr89233.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/s390/pr89233.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/s390/s390.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633379-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 15:22:59 2019
Return-Path: <gcc-bugs-return-633379-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48666 invoked by alias); 12 Feb 2019 15:22:57 -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 48591 invoked by uid 48); 12 Feb 2019 15:22:53 -0000
From: "adl at gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this
Date: Tue, 12 Feb 2019 15:22: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: 8.2.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: adl at gnu dot 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-89303-4-tQDSXHg7VT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg01681.txt.bz2
Content-length: 667

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

--- Comment #6 from Alexandre Duret-Lutz <adl at gnu dot org> ---
I mentioned in my first comment that I had also cases that threw bad_weak_ptr.
I've been able to reproduce those as follows:

% cat badwptr.cc
#include <memory>

class blob final: public std::enable_shared_from_this<blob>
{
};

int main()
{
  std::shared_ptr<blob> tg = std::make_shared<blob>();
  return tg->shared_from_this().use_count();
}

% g++ -g -O badwptr.cc
% ./a.out
terminate called after throwing an instance of 'std::bad_weak_ptr'
  what():  bad_weak_ptr

When compiled with -O2 or -O0, the program exits with $?=2 as expected.
>From gcc-bugs-return-633380-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 15:23:35 2019
Return-Path: <gcc-bugs-return-633380-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49796 invoked by alias); 12 Feb 2019 15:23: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 49739 invoked by uid 48); 12 Feb 2019 15:23:31 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this
Date: Tue, 12 Feb 2019 15:23: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: 8.2.1
X-Bugzilla-Keywords: wrong-code
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: attachments.created
Message-ID: <bug-89303-4-bUFI7U7WnT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg01682.txt.bz2
Content-length: 315

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

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Created attachment 45672
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45672&action=edit
Reduced testcase

This (partially) reduced version fails with 8.2.1 or trunk when -O1 is used.
>From gcc-bugs-return-633381-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 15:25:02 2019
Return-Path: <gcc-bugs-return-633381-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1113 invoked by alias); 12 Feb 2019 15:25: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 128356 invoked by uid 48); 12 Feb 2019 15:24:54 -0000
From: "rdapp at linux dot ibm.com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89277] [9 Regression] libgo memory hogs in libgo testsuite (at least on s390x-linux-gnu)
Date: Tue, 12 Feb 2019 15:25: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: memory-hog
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rdapp at linux dot ibm.com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89277-4-SgngWBEMJ5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89277-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89277-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: 2019-02/txt/msg01683.txt.bz2
Content-length: 523

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

rdapp at linux dot ibm.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rdapp at linux dot ibm.com

--- Comment #1 from rdapp at linux dot ibm.com ---
Guessing this is the same problem as in PR89123 (triggering a panic in a panic,
never stopping to allocate memory).
I already proposed a patch that might also help here.
>From gcc-bugs-return-633382-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 15:25:52 2019
Return-Path: <gcc-bugs-return-633382-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4310 invoked by alias); 12 Feb 2019 15:25: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 4178 invoked by uid 48); 12 Feb 2019 15:25:46 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this
Date: Tue, 12 Feb 2019 15:25: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: 8.2.1
X-Bugzilla-Keywords: wrong-code
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-89303-4-6HlrttoABL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg01684.txt.bz2
Content-length: 402

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

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #5)
> GIMPLE at -O1 looks OK-ish - release on all paths:

But release decrements the weak_count, and only calls _M_destroy() if the count
reaches zero.

The attachment in comment 7 removes all the atomics and still shows the same
problem.
>From gcc-bugs-return-633383-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 15:27:40 2019
Return-Path: <gcc-bugs-return-633383-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13073 invoked by alias); 12 Feb 2019 15:27: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 13011 invoked by uid 48); 12 Feb 2019 15:27:36 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this
Date: Tue, 12 Feb 2019 15: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: 8.2.1
X-Bugzilla-Keywords: wrong-code
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-89303-4-7UnIJyC1Rm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg01685.txt.bz2
Content-length: 504

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

--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #8)
> (In reply to Richard Biener from comment #5)
> > GIMPLE at -O1 looks OK-ish - release on all paths:
> 
> But release decrements the weak_count, and only calls _M_destroy() if the
> count reaches zero.

And the problem is that a call to weak_release() from the
enable_shared_from_this dtor is missing, so the count never reaches zero.
>From gcc-bugs-return-633384-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 15:29:27 2019
Return-Path: <gcc-bugs-return-633384-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15558 invoked by alias); 12 Feb 2019 15:29: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 15450 invoked by uid 48); 12 Feb 2019 15:29:22 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this
Date: Tue, 12 Feb 2019 15:29: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: 8.2.1
X-Bugzilla-Keywords: wrong-code
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-89303-4-LOANetIDuE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg01686.txt.bz2
Content-length: 708

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

--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #8)
> (In reply to Richard Biener from comment #5)
> > GIMPLE at -O1 looks OK-ish - release on all paths:
> 
> But release decrements the weak_count, and only calls _M_destroy() if the
> count reaches zero.
> 
> The attachment in comment 7 removes all the atomics and still shows the same
> problem.

Compiling it with -DFIXME adds:

  else __builtin_puts("null");

in _M_weak_release(), and that fixes it despite that else branch never actually
being taken. Just the presence of I/O appears to prevent that function being
misoptimized.
>From gcc-bugs-return-633385-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 15:34:02 2019
Return-Path: <gcc-bugs-return-633385-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29910 invoked by alias); 12 Feb 2019 15:34: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 29819 invoked by uid 48); 12 Feb 2019 15:33:57 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89305] CWG DR 253 is not implemented
Date: Tue, 12 Feb 2019 15:34: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.1
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-89305-4-eKkjDqmBzm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89305-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89305-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: 2019-02/txt/msg01687.txt.bz2
Content-length: 1284

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-12
     Ever confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The resolution to the DR goes a bit further than the rule GCC has been using:

A class type T is const-default-constructible if default-initialization of T
would invoke a user-provided constructor of T (not inherited from a base class)
or if

   - each direct non-variant non-static data member M of T has a default member
initializer or, if M is of class type X (or array thereof), X is
const-default-constructible,
   - if T is a union with at least one non-static data member, exactly one
variant member has a default member initializer,
   - if T is a not a union, for each anonymous union member with at least one
non-static data member (if any), exactly one non-static data member has a
default member initializer, and
   - each potentially constructed base class of T is
const-default-constructible.
>From gcc-bugs-return-633386-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 15:35:46 2019
Return-Path: <gcc-bugs-return-633386-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58884 invoked by alias); 12 Feb 2019 15:35:46 -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 58785 invoked by uid 48); 12 Feb 2019 15:35:42 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89285] [8/9 Regression] ICE after casting the this pointer in the constructor in C++17 mode
Date: Tue, 12 Feb 2019 15:35: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: accepts-invalid, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: attachments.isobsolete attachments.created
Message-ID: <bug-89285-4-8I25Goz63a@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89285-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89285-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: 2019-02/txt/msg01688.txt.bz2
Content-length: 919

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45666|0                           |1
        is obsolete|                            |
  Attachment #45667|0                           |1
        is obsolete|                            |
  Attachment #45671|0                           |1
        is obsolete|                            |

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45673
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45673&action=edit
gcc9-pr89285-wip.patch

Updated WIP patch.  There are still various regressions, but it is getting
better.  Before I continue further on this, I'd like to know if I'm not going
completely in a wrong direction.
>From gcc-bugs-return-633387-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 15:39:52 2019
Return-Path: <gcc-bugs-return-633387-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89165 invoked by alias); 12 Feb 2019 15:39:52 -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 89083 invoked by uid 48); 12 Feb 2019 15:39:47 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/89307] New: -fprofile-generate binary may be too slow in multithreaded environment due to cache-line conflicts on counters
Date: Tue, 12 Feb 2019 15:39:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: gcov-profile
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: hubicka 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-89307-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: 2019-02/txt/msg01689.txt.bz2
Content-length: 751

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

            Bug ID: 89307
           Summary: -fprofile-generate binary may be too slow in
                    multithreaded environment due to cache-line conflicts
                    on counters
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: gcov-profile
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hubicka at gcc dot gnu.org
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

I fill in to track the problem of cacheline conflicts which is also dicussed in
LLVM variant in http://lists.llvm.org/pipermail/llvm-dev/2014-April/072172.html
>From gcc-bugs-return-633388-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 15:48:46 2019
Return-Path: <gcc-bugs-return-633388-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122554 invoked by alias); 12 Feb 2019 15:48: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 122412 invoked by uid 48); 12 Feb 2019 15:48:03 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/88993] [9 Regression] GCC 9 -Wformat-overflow=2 should reflect real libc limits
Date: Tue, 12 Feb 2019 15:48: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: diagnostic, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88993-4-uEh31GQQ1v@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88993-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88993-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: 2019-02/txt/msg01690.txt.bz2
Content-length: 796

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

--- Comment #11 from Martin Sebor <msebor at gcc dot gnu.org> ---
There is no reliable way.  The limit may not be fixed, or can be different for
different directives or format strings.  A test case like the one in the Red
Hat bug #441945 linked at comment #2 might tell you there is a limit but not
necessarily what it is.  A case that interposes a custom malloc/free that fails
at different points/different sizes might expose other limits (or bugs)
altogether.  If that doesn't cause any trouble it's pretty safe to assume that
there is no limit.  I tried both approaches with a few systems in the compile
farm (I think AIX, FreeBSD, NetBSD, Glibc, and Solaris) and only got Glibc to
fail (as in either return an error or crash).
>From gcc-bugs-return-633389-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 16:03:42 2019
Return-Path: <gcc-bugs-return-633389-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57768 invoked by alias); 12 Feb 2019 16:03:41 -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 57651 invoked by uid 48); 12 Feb 2019 16:03:35 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/89308] New: The sanitizers do no longer work on GCC 8 with newer kernels
Date: Tue, 12 Feb 2019 16:03:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: sanitizer
X-Bugzilla-Version: 8.2.1
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-89308-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: 2019-02/txt/msg01691.txt.bz2
Content-length: 718

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

            Bug ID: 89308
           Summary: The sanitizers do no longer work on GCC 8 with newer
                    kernels
           Product: gcc
           Version: 8.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: segher at gcc dot gnu.org
                CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
                    jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at gcc dot gnu.org
  Target Milestone: ---

For GCC 9 we have fixes, but those are pretty big to backport.

What shall we do?
>From gcc-bugs-return-633390-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 16:05:28 2019
Return-Path: <gcc-bugs-return-633390-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60026 invoked by alias); 12 Feb 2019 16:05: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 59938 invoked by uid 48); 12 Feb 2019 16:05:22 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/89308] The sanitizers do no longer work on GCC 8 with newer kernels
Date: Tue, 12 Feb 2019 16:05: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.2.1
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: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_gcctarget priority cc
Message-ID: <bug-89308-4-vOyK80DQIg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89308-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89308-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: 2019-02/txt/msg01692.txt.bz2
Content-length: 432

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |powerpc*-*-*
           Priority|P3                          |P1
                 CC|                            |seurer at gcc dot gnu.org
>From gcc-bugs-return-633391-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 16:21:06 2019
Return-Path: <gcc-bugs-return-633391-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96704 invoked by alias); 12 Feb 2019 16:21: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 96581 invoked by uid 48); 12 Feb 2019 16:21:01 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89290] [8/9 Regression] ICE in change_address_1, at emit-rtl.c:2286
Date: Tue, 12 Feb 2019 16: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: jakub 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: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-89290-4-LD7gfDRCZA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89290-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89290-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: 2019-02/txt/msg01693.txt.bz2
Content-length: 1174

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I think the right fix is:
--- gcc/config/i386/predicates.md.jj    2019-01-01 12:37:32.267727037 +0100
+++ gcc/config/i386/predicates.md       2019-02-12 17:07:15.937097266 +0100
@@ -182,7 +182,7 @@
          rtx op1 = XEXP (XEXP (op, 0), 0);
          rtx op2 = XEXP (XEXP (op, 0), 1);

-         if (ix86_cmodel == CM_LARGE)
+         if (ix86_cmodel == CM_LARGE && GET_CODE (op1) != UNSPEC)
            return false;
          if (!CONST_INT_P (op2))
            return false;
Even with -mcmodel=large, it is ok to offset the TLS LE by signed 32-bit
constants, we don't really support > 2GB thread local segments, we don't have
relocations for that etc. and nobody with sane mind should expect that to work.
>From gcc-bugs-return-633392-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 16:33:44 2019
Return-Path: <gcc-bugs-return-633392-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87303 invoked by alias); 12 Feb 2019 16:33:43 -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 68893 invoked by uid 48); 12 Feb 2019 16:33:38 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89299] __attribute__ cleanup does not accept template function
Date: Tue, 12 Feb 2019 16: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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-89299-4-b13V3dQRRt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89299-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89299-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: 2019-02/txt/msg01694.txt.bz2
Content-length: 816

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

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

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

--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
I agree that making attribute cleanup work with templates is low priority in
C++ but I'm curious about the use case: can you describe what you are using the
attribute for in C++?

FWIW, I'm interested in this because the copy attribute and
__builtin_has_attribute() function newly added in GCC 9 will ultimately need to
handle templates so when the handling is implemented there we may be able to
reuse it for this attribute as well.
>From gcc-bugs-return-633393-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 16:52:53 2019
Return-Path: <gcc-bugs-return-633393-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68083 invoked by alias); 12 Feb 2019 16:52:52 -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 67993 invoked by uid 48); 12 Feb 2019 16:52:48 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/89308] [8 only] The sanitizers do no longer work on GCC 8 with newer kernels
Date: Tue, 12 Feb 2019 16:52: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.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cf_known_to_work target_milestone short_desc everconfirmed
Message-ID: <bug-89308-4-7iOKwjoUCs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89308-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89308-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: 2019-02/txt/msg01695.txt.bz2
Content-length: 726

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-12
      Known to work|                            |9.0
   Target Milestone|---                         |8.4
            Summary|The sanitizers do no longer |[8 only] The sanitizers do
                   |work on GCC 8 with newer    |no longer work on GCC 8
                   |kernels                     |with newer kernels
     Ever confirmed|0                           |1
>From gcc-bugs-return-633394-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 17:01:21 2019
Return-Path: <gcc-bugs-return-633394-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104787 invoked by alias); 12 Feb 2019 17:01: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 104373 invoked by uid 48); 12 Feb 2019 17:01:05 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: =?UTF-8?B?W0J1ZyBjKysvODkzMDldIE5ldzogYm9ndXMgLVdhdHRyaWJ1dGVzIOKAmGNv?= =?UTF-8?B?cHnigJkgYXR0cmlidXRlIGlnbm9yZWQgb24gYSBkZWNsYXJhdGlvbiBvZiBh?= =?UTF-8?B?IGRpZmZlcmVudCBraW5kIHRoYW4gcmVmZXJlbmNlZCBzeW1ib2w=?Date: Tue, 12 Feb 2019 17: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: 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-89309-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: 2019-02/txt/msg01696.txt.bz2
Content-length: 1375

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

            Bug ID: 89309
           Summary: bogus -Wattributes ‘copy’ attribute ignored on a
                    declaration of a different kind than referenced symbol
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: msebor at gcc dot gnu.org
  Target Milestone: ---

The copy attribute newly introduced in GCC 9 (see pr81824) doesn't handle C++
templates entirely correctly.  The test case below shows that it successfully
copies the noreturn attribute from f<T> to g<T> but in the process it also
issues a spurious warning.

$ cat z.C && gcc -S -Wall z.C
template <class T> __attribute__ ((noreturn)) T f ();

template <class T>
__attribute__ ((copy (f<T>))) T g ()  // bogus -Wattributes
{
  f<T>();
}   // no -Wreturn-type (good)

template int g<int>();
z.C: In substitution of ‘template<class T> T g() [with T = int]’:
z.C:9:21:   required from here
z.C:4:33: warning: ‘copy’ attribute ignored on a declaration of a different
kind than referenced symbol [-Wattributes]
    4 | __attribute__ ((copy (f<T>))) T g ()  // bogus -Wattributes
      |                                 ^
>From gcc-bugs-return-633395-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 17:03:21 2019
Return-Path: <gcc-bugs-return-633395-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126501 invoked by alias); 12 Feb 2019 17:03: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 126458 invoked by uid 48); 12 Feb 2019 17:03:17 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: =?UTF-8?B?W0J1ZyBjKysvODkzMDldIGJvZ3VzIC1XYXR0cmlidXRlcyDigJhjb3B54oCZ?= =?UTF-8?B?IGF0dHJpYnV0ZSBpZ25vcmVkIG9uIGEgZGVjbGFyYXRpb24gb2YgYSBkaWZm?= =?UTF-8?B?ZXJlbnQga2luZCB0aGFuIHJlZmVyZW5jZWQgc3ltYm9s?Date: Tue, 12 Feb 2019 17:03: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: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on assigned_to target_milestone everconfirmed
Message-ID: <bug-89309-4-ACZ6JEmXnv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89309-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89309-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: 2019-02/txt/msg01697.txt.bz2
Content-length: 737

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-12
           Assignee|unassigned at gcc dot gnu.org      |msebor at gcc dot gnu.org
   Target Milestone|---                         |10.0
     Ever confirmed|0                           |1

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Unless this is viewed as a regression I will handle it for GCC 10.
>From gcc-bugs-return-633396-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 17:10:41 2019
Return-Path: <gcc-bugs-return-633396-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65170 invoked by alias); 12 Feb 2019 17:10: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 65099 invoked by uid 48); 12 Feb 2019 17:10:36 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/89308] [8 only] The sanitizers do no longer work on GCC 8 with newer kernels
Date: Tue, 12 Feb 2019 17:10: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.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89308-4-ZTT8VdAryv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89308-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89308-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: 2019-02/txt/msg01698.txt.bz2
Content-length: 200

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

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
So, which exact changes (e.g. upstream svn revisions) we are talking about
here?
>From gcc-bugs-return-633397-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 17:13:17 2019
Return-Path: <gcc-bugs-return-633397-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79499 invoked by alias); 12 Feb 2019 17:13: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 79401 invoked by uid 48); 12 Feb 2019 17:13:12 -0000
From: "sirl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/88993] [9 Regression] GCC 9 -Wformat-overflow=2 should reflect real libc limits
Date: Tue, 12 Feb 2019 17:13: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: diagnostic, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sirl at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-88993-4-kLakLXPkCw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88993-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88993-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: 2019-02/txt/msg01699.txt.bz2
Content-length: 544

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

Franz Sirl <sirl at gcc dot gnu.org> changed:

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

--- Comment #12 from Franz Sirl <sirl at gcc dot gnu.org> ---
What about moving this part of -Wformat-overflow=2 under -Woverlength-strings?
Or let it trigger only when -Wformat-overflow=2 and -Woverlength-strings are in
effect?
>From gcc-bugs-return-633398-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 17:13:57 2019
Return-Path: <gcc-bugs-return-633398-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81338 invoked by alias); 12 Feb 2019 17:13:57 -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 81205 invoked by uid 48); 12 Feb 2019 17:13:52 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89296] [7/8/9 Regression] tree copy-header masking uninitialized warning
Date: Tue, 12 Feb 2019 17:13: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: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: kugan at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_known_to_work keywords cf_reconfirmed_on cc blocked everconfirmed short_desc cf_known_to_fail
Message-ID: <bug-89296-4-jVhRSHJQvl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89296-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89296-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: 2019-02/txt/msg01700.txt.bz2
Content-length: 1308

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
      Known to work|                            |4.6.3
           Keywords|                            |diagnostic
   Last reconfirmed|                            |2019-02-12
                 CC|                            |msebor at gcc dot gnu.org
             Blocks|                            |24639
     Ever confirmed|0                           |1
            Summary|tree copy-header masking    |[7/8/9 Regression] tree
                   |uninitialized warning       |copy-header masking
                   |                            |uninitialized warning
      Known to fail|                            |4.7.4, 4.8.4, 4.9.4, 5.5.0,
                   |                            |6.4.0, 7.2.0, 8.0, 9.0

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed as a 4.7 regression.  The most likely change of those my bisection
points to is r177667.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639
[Bug 24639] [meta-bug] bug to track all Wuninitialized issues
>From gcc-bugs-return-633399-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 17:17:56 2019
Return-Path: <gcc-bugs-return-633399-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1499 invoked by alias); 12 Feb 2019 17:17:55 -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 129144 invoked by uid 48); 12 Feb 2019 17:17:50 -0000
From: "lavr at ncbi dot nlm.nih.gov" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89230] Bogus uninited usage warning
Date: Tue, 12 Feb 2019 17:17: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: 7.4.0
X-Bugzilla-Keywords: alias, diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: lavr at ncbi dot nlm.nih.gov
X-Bugzilla-Status: WAITING
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-89230-4-nJCoG3sMej@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89230-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89230-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: 2019-02/txt/msg01701.txt.bz2
Content-length: 1649

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

--- Comment #5 from lavr at ncbi dot nlm.nih.gov ---
Thank you Martin, for giving me the idea of where the problem might be stemming
from!  It does look like *printf() is not recognized by GCC as not modifying
the local memory.  But in your example GCC _might_ think that "p" and "q" can
be aliased (being the result of the same function).

Below is a mockup of the code that I was dealing with, clearly showing that "s"
and "h" cannot be aliased!  "s" is being on the local frame all alone.  I get
the same "uninitialized" warning if BUG is defined:

$ cat bogus2.c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

struct S {
    int a;
    int b;
};

struct H {
    int c;
    int d;
};

void getblk(void* blk)
{
    struct S* s = (struct S*) blk;
    memset(blk, 0, 512);
    s->a = rand() & 1;
}

struct H* gethdr(void* blk)
{
    memset(blk, 0, 512);
    return rand() & 1 ? (struct H*) blk : 0;
}

int main(void)
{
    char blk[512], tmp[512];
    struct S *s = (struct S*) blk;
    struct H *h;

    getblk(blk);

    if (s->a  ||  !(h = gethdr(tmp))  ||  s->a != h->d) {
#ifdef BUG
        printf("%d\n", s->b);
#endif
        if (s->a)
            printf("s->a = %d\n", s->a);
        else if (!h)
            printf("!h\n");
        else
            printf("h->d = %d\n", h->d);
    }
}

$ gcc -O6 -Wall -c bogus2.c

$ gcc -DBUG -O6 -Wall -c bogus2.c
bogus2.c: In function ‘main’:
bogus2.c:42:17: warning: ‘h’ may be used uninitialized in this function
[-Wmaybe-uninitialized]
         else if (!h)
                 ^
>From gcc-bugs-return-633400-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 17:26:50 2019
Return-Path: <gcc-bugs-return-633400-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64081 invoked by alias); 12 Feb 2019 17:26: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 63989 invoked by uid 48); 12 Feb 2019 17:26:44 -0000
From: "lavr at ncbi dot nlm.nih.gov" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89230] Bogus uninited usage warning
Date: Tue, 12 Feb 2019 17:26: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: 7.4.0
X-Bugzilla-Keywords: alias, diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: lavr at ncbi dot nlm.nih.gov
X-Bugzilla-Status: WAITING
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-89230-4-bUy6qIJmyG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89230-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89230-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: 2019-02/txt/msg01702.txt.bz2
Content-length: 889

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

--- Comment #6 from lavr at ncbi dot nlm.nih.gov ---
That said, any function call within the outer "if()" but before the inner
"if()" would cause the warning, even if that call does not accept any pointers
(and thus cannot alias with local "s").  Modifying the code above to include
"fun()" in stead of "printf()", same issue results:

...
void fun(int i)
{
    srand(i);
}

int main(void)
{
    char blk[512], tmp[512];
    struct S *s = (struct S*) blk;
    struct H *h;

    getblk(blk);

    if (s->a  ||  !(h = gethdr(tmp))  ||  s->a != h->d) {
#ifdef BUG
        fun(s->b);
#endif
...

$ gcc -DBUG -O6 -Wall -c bogus2.c
bogus2.c: In function ‘main’:
bogus2.c:47:17: warning: ‘h’ may be used uninitialized in this function
[-Wmaybe-uninitialized]
         else if (!h)
                 ^
>From gcc-bugs-return-633401-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 17:30:53 2019
Return-Path: <gcc-bugs-return-633401-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94458 invoked by alias); 12 Feb 2019 17:30: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 94376 invoked by uid 48); 12 Feb 2019 17:30:49 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/63326] whether a #pragma is a statement depends on the type of pragma
Date: Tue, 12 Feb 2019 17:30: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: 4.9.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc assigned_to attachments.created
Message-ID: <bug-63326-4-fLzxV4qKQv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63326-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63326-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: 2019-02/txt/msg01703.txt.bz2
Content-length: 771

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

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |ASSIGNED
                 CC|                            |dmalcolm at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |dmalcolm at gcc dot gnu.org

--- Comment #26 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Created attachment 45674
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45674&action=edit
Work-in-progress patch for a new warning for this (for GCC 10 stage 1)

(I plan to post this to the mailing list once gcc 10 stage 1 opens)
>From gcc-bugs-return-633402-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 17:31:18 2019
Return-Path: <gcc-bugs-return-633402-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95717 invoked by alias); 12 Feb 2019 17:31:18 -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 95625 invoked by uid 48); 12 Feb 2019 17:31:14 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/63326] whether a #pragma is a statement depends on the type of pragma
Date: Tue, 12 Feb 2019 17:31: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: 4.9.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-63326-4-vH4MDE0Gsd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63326-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63326-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: 2019-02/txt/msg01704.txt.bz2
Content-length: 294

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

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |10.0
>From gcc-bugs-return-633403-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 17:31:40 2019
Return-Path: <gcc-bugs-return-633403-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96573 invoked by alias); 12 Feb 2019 17:31: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 96517 invoked by uid 48); 12 Feb 2019 17:31:36 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89283] [8/9 Regression] ICE: Segmentation fault (in stmt_could_throw_1_p)
Date: Tue, 12 Feb 2019 17:31: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: EH, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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 cf_known_to_work everconfirmed cf_known_to_fail
Message-ID: <bug-89283-4-T9utJyBckH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89283-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89283-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: 2019-02/txt/msg01705.txt.bz2
Content-length: 1660

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-12
                 CC|                            |msebor at gcc dot gnu.org
      Known to work|                            |7.3.0
     Ever confirmed|0                           |1
      Known to fail|                            |8.2.0, 9.0

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed with no command line options.  Bisection points to r247495:

r247495 | rguenth | 2017-05-02 08:43:47 -0400 (Tue, 02 May 2017) | 24 lines

2017-05-02  Richard Biener  <rguenther@suse.de>

        * common.opt (fstrict-overflow): Alias negative to fwrapv.
        * doc/invoke.texi (fstrict-overflow): Remove all traces of
        -fstrict-overflow documentation.
        * tree.h (TYPE_OVERFLOW_UNDEFINED): Do not test flag_strict_overflow.
        (POINTER_TYPE_OVERFLOW_UNDEFINED): Test !flag_wrapv instead of
        flag_strict_overflow.
        * ipa-inline.c (can_inline_edge_p): Do not test flag_strict_overflow.
        * lto-opts.c (lto_write_options): Do not stream it.
        * lto-wrapper.c (merge_and_complain): Do not handle it.
        * opts.c (default_options_table): Do not set -fstrict-overflow.
        (finish_options): Likewise do not clear it when sanitizing.
        * simplify-rtx.c (simplify_const_relational_operation): Do not
        test flag_strict_overflow.
>From gcc-bugs-return-633404-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 17:37:15 2019
Return-Path: <gcc-bugs-return-633404-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29375 invoked by alias); 12 Feb 2019 17:37: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 24417 invoked by uid 48); 12 Feb 2019 17:37:10 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this
Date: Tue, 12 Feb 2019 17:37: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: 8.2.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority component target_milestone
Message-ID: <bug-89303-4-ny5xAq32n4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg01706.txt.bz2
Content-length: 735

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
          Component|rtl-optimization            |middle-end
   Target Milestone|---                         |8.3

--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> ---
Needs more investigation (ignore my previous comment - main() is not really
relevant here).  This is a very recent regression on the branch.

You can do -fdisable-tree-ealias and still get the failure but less early
IL changes when comparing to -fno-tree-pta.
>From gcc-bugs-return-633405-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 17:43:52 2019
Return-Path: <gcc-bugs-return-633405-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100196 invoked by alias); 12 Feb 2019 17:43:52 -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 100136 invoked by uid 48); 12 Feb 2019 17:43:48 -0000
From: "bergner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89310] New: Poor code generation returning float field from a struct
Date: Tue, 12 Feb 2019 17:43: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: bergner 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-89310-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: 2019-02/txt/msg01707.txt.bz2
Content-length: 944

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

            Bug ID: 89310
           Summary: Poor code generation returning float field from a
                    struct
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bergner at gcc dot gnu.org
  Target Milestone: ---

The following test case shows poor code generation on powerpc64le-linux:

bergner@pike:~/gcc/BUGS/PR88845$ cat struct.i
struct s {
  int i;
  float f;
};

float
foo (struct s arg)
{
  return arg.f;
}
bergner@pike:~/gcc/BUGS/PR88845$ gcc -O2 -S struct.i
bergner@pike:~/gcc/BUGS/PR88845$ cat struct.s 
foo:
        srdi 3,3,32
        sldi 9,3,32
        mtvsrd 1,9
        xscvspdpn 1,1
        blr

The srdi followed by a sldi could be replaced with a simple: rldicr 9,3,0,31
>From gcc-bugs-return-633406-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 17:46:32 2019
Return-Path: <gcc-bugs-return-633406-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106701 invoked by alias); 12 Feb 2019 17:46: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 106647 invoked by uid 48); 12 Feb 2019 17:46:27 -0000
From: "raphael.kubo.da.costa at intel dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89311] New: Brace initialization needlessly invokes destructor
Date: Tue, 12 Feb 2019 17:46: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.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: raphael.kubo.da.costa at intel 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-89311-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: 2019-02/txt/msg01708.txt.bz2
Content-length: 1699

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

            Bug ID: 89311
           Summary: Brace initialization needlessly invokes destructor
           Product: gcc
           Version: 8.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: raphael.kubo.da.costa at intel dot com
  Target Milestone: ---

This is related to bug 85552 and bug 57082 as far as I can see.

GCC and ICC fail to compile this (I'm using -std=gnu++14), whereas MSVC and
clang accept it:

#include <vector>

template <class T>
struct S {
  ~S() {
    for (size_t i = 0; i < sources_.size(); ++i)
      sources_[i]->frob();
  }
 private:
  std::vector<T*> sources_;
};

class C;

struct T {
  S<C> s_{};
};

<source>: In instantiation of 'S<Source>::~S() [with T = C]':
<source>:16:11:   required from here
<source>:7:20: error: invalid use of incomplete type 'class C'
    7 |       sources_[i]->frob();
      |       ~~~~~~~~~~~~~^~~~
<source>:13:7: note: forward declaration of 'class C'
   13 | class C;
      |       ^

which ends up requiring C to be fully declared before it can be used in T.

I think https://bugs.llvm.org/show_bug.cgi?id=39363#c8 touches upon this in
"The list-initialization case does not potentially-invoke the destructor in
C++11 or C++14 either (unlike non-list copy-initialization, list-initialization
directly executes a constructor on the destination object even in C++11, and as
a result there is no temporary object created to trigger the potential
invocation of a destructor). Clang gets that case right, but GCC has another
bug there".
>From gcc-bugs-return-633407-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 17:49:18 2019
Return-Path: <gcc-bugs-return-633407-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110811 invoked by alias); 12 Feb 2019 17:49:18 -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 110735 invoked by uid 48); 12 Feb 2019 17:49:14 -0000
From: "bergner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89310] Poor code generation returning float field from a struct
Date: Tue, 12 Feb 2019 17:49: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: bergner 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-89310-4-KtrnwONkyV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89310-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89310-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: 2019-02/txt/msg01709.txt.bz2
Content-length: 3149

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

--- Comment #1 from Peter Bergner <bergner at gcc dot gnu.org> ---
Before combine, we have the following rtl:

(insn # # # 2 (set (reg/v:DI 122 [ argD.2825 ])
        (reg:DI 3 3 [ argD.2825 ])) "struct.i":8:1# {*movdi_internal64}
     (expr_list:REG_DEAD (reg:DI 3 3 [ argD.2825 ])
        (nil)))
(note # # # 2 NOTE_INSN_FUNCTION_BEG)
(insn # # # 2 (parallel [
            (set (reg:DI 124)
                (ashiftrt:DI (reg/v:DI 122 [ argD.2825 ])
                    (const_int 32 [0x20])))
            (clobber (reg:DI 76 ca))
        ]) "struct.i":9:13# {ashrdi3}
     (expr_list:REG_DEAD (reg/v:DI 122 [ argD.2825 ])
        (expr_list:REG_UNUSED (reg:DI 76 ca)
            (nil))))
(insn # # # 2 (set (reg:SI 125)
        (subreg:SI (reg:DI 124) 0)) "struct.i":9:13# {*movsi_internal1}
     (expr_list:REG_DEAD (reg:DI 124)
        (nil)))
(insn # # # 2 (parallel [
            (set (reg:SF 121 [ <retval> ])
                (unspec:SF [
                        (reg:SI 125)
                    ] UNSPEC_SF_FROM_SI))
            (clobber (scratch:DI))
        ]) "struct.i":9:13# {movsf_from_si}
     (expr_list:REG_DEAD (reg:SI 125)
        (nil)))

after combine, we get a strange paradoxical subreg:
(insn # # # 2 (set (reg:DI 126)
        (reg:DI 3 3 [ argD.2825 ])) "struct.i":8:1# {*movdi_internal64}
     (expr_list:REG_DEAD (reg:DI 3 3 [ argD.2825 ])
        (nil)))
(insn # # # 2 (set (subreg:DI (reg:SI 125) 0)
        (lshiftrt:DI (reg:DI 126)
            (const_int 32 [0x20]))) "struct.i":9:13# {lshrdi3}
     (expr_list:REG_DEAD (reg:DI 126)
        (nil)))
(insn # # # 2 (parallel [
            (set (reg/i:SF 33 1)
                (unspec:SF [
                        (reg:SI 125)
                    ] UNSPEC_SF_FROM_SI))
            (clobber (scratch:DI))
        ]) "struct.i":10:1# {movsf_from_si}
     (expr_list:REG_DEAD (reg:SI 125)
        (nil)))


LRA cleans things up a bit to:

(insn # # # 2 (set (reg:DI 3 3 [125])
        (lshiftrt:DI (reg:DI 3 3 [126])
            (const_int 32 [0x20]))) "struct.i":9:13# {lshrdi3}
     (nil))
(insn # # # 2 (parallel [
            (set (reg/i:SF 33 1)
                (unspec:SF [
                        (reg:SI 3 3 [125])
                    ] UNSPEC_SF_FROM_SI))
            (clobber (reg:DI 9 9 [127]))
        ]) "struct.i":10:1# {movsf_from_si}
     (nil))

and then split2 creates the shift followed by shift:
insn # # # 2 (set (reg:DI 3 3 [125])
        (lshiftrt:DI (reg:DI 3 3 [126])
            (const_int 32 [0x20]))) "struct.i":9:13# {lshrdi3}
     (nil))
(insn # # # 2 (set (reg:DI 9 9 [127])
        (ashift:DI (reg:DI 3 3)
            (const_int 32 [0x20]))) "struct.i":10:1# {ashldi3}
     (nil))
(insn # # # 2 (set (reg/i:SF 33 1)
        (unspec:SF [
                (reg:DI 9 9 [127])
            ] UNSPEC_P8V_MTVSRD)) "struct.i":10:1# {p8_mtvsrd_sf}
     (nil))
(insn # # # 2 (set (reg/i:SF 33 1)
        (unspec:SF [
                (reg/i:SF 33 1)
            ] UNSPEC_VSX_CVSPDPN)) "struct.i":10:1# {vsx_xscvspdpn_directmove}
     (nil))

Is the paradoxical subreg from combine at fault here???
>From gcc-bugs-return-633408-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 17:56:27 2019
Return-Path: <gcc-bugs-return-633408-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9395 invoked by alias); 12 Feb 2019 17:56: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 9349 invoked by uid 48); 12 Feb 2019 17:56:23 -0000
From: "martin at netbsd dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89312] New: snprintf warning is unparsable and not confusing
Date: Tue, 12 Feb 2019 17:56: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: 7.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: martin at netbsd dot 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-89312-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: 2019-02/txt/msg01710.txt.bz2
Content-length: 1046

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

            Bug ID: 89312
           Summary: snprintf warning is unparsable and not confusing
           Product: gcc
           Version: 7.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: martin at netbsd dot org
  Target Milestone: ---

Gcc 7 has a new warning:

partman.c:1908:12: error: ' (' directive output may be truncated writing 2
bytes into a region of size between 1 and 255 [-Werror=format-truncation=]
         "%s (%s, %s-%d)",
            ^~

I am not a native speaker so this may be a lanugage barrirer, but I completely
fail to parse what it is trying to tell me here.

Obviously as I am using snprintf I am aware that truncation of the output could
happen (and happy with it). There is no point in gcc warning about this
(different to cases like strncpy truncation). The function is standard defined
and safe, why warn at all here?
>From gcc-bugs-return-633409-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 17:58:29 2019
Return-Path: <gcc-bugs-return-633409-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12063 invoked by alias); 12 Feb 2019 17:58: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 12020 invoked by uid 48); 12 Feb 2019 17:58:25 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89313] New: [9 Regression] ICE in process_alt_operands, at lra-constraints.c:2962
Date: Tue, 12 Feb 2019 17:58: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: gscfq@t-online.de
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-89313-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: 2019-02/txt/msg01711.txt.bz2
Content-length: 2011

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

            Bug ID: 89313
           Summary: [9 Regression] ICE in process_alt_operands, at
                    lra-constraints.c:2962
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Changed between 20180930 and 20181007 :


$ cat z1.c
long f (long a);
long g (void)
{
  register long z asm ("rax");
  asm ("foo %0, %1, %1" : "=&r" (z) : "r" (f), "0" (f));
  return z;
}


$ gcc-9-20190210 -c z1.c -O0
z1.c: Assembler messages:
z1.c:5: Error: no such instruction: `foo %rax,%rdx,%rdx'


$ gcc-9-20190210 -c z1.c -O2
z1.c: In function 'g':
z1.c:7:1: error: unable to generate reloads for impossible constraints:
    7 | }
      | ^
(insn 7 16 15 2 (parallel [
            (set (reg/v:DI 0 ax [ z ])
                (asm_operands:DI ("foo %0, %1, %1") ("=&r") 0 [
                        (reg/v:DI 0 ax [ z ]) repeated x2
                    ]
                     [
                        (asm_input:DI ("r") z1.c:5)
                        (asm_input:DI ("0") z1.c:5)
                    ]
                     [] z1.c:5))
            (clobber (reg:CC 17 flags))
        ]) "z1.c":5:3 -1
     (expr_list:REG_UNUSED (reg:CC 17 flags)
        (nil)))
during RTL pass: reload
z1.c:7:1: internal compiler error: in process_alt_operands, at
lra-constraints.c:2962
0x5aa7c0 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ../../gcc/rtl-error.c:108
0x93ac40 process_alt_operands
        ../../gcc/lra-constraints.c:2961
0x93d4bb curr_insn_transform
        ../../gcc/lra-constraints.c:3922
0x93fe8e lra_constraints(bool)
        ../../gcc/lra-constraints.c:4942
0x92e454 lra(_IO_FILE*)
        ../../gcc/lra.c:2461
0x8e9ff1 do_reload
        ../../gcc/ira.c:5516
0x8e9ff1 execute
        ../../gcc/ira.c:5700
>From gcc-bugs-return-633410-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 18:03:37 2019
Return-Path: <gcc-bugs-return-633410-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29595 invoked by alias); 12 Feb 2019 18:03: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 29520 invoked by uid 48); 12 Feb 2019 18:03:33 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89314] New: ICE in wide_int_to_tree_1, at tree.c:1561
Date: Tue, 12 Feb 2019 18:03: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: gscfq@t-online.de
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-89314-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: 2019-02/txt/msg01712.txt.bz2
Content-length: 2901

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

            Bug ID: 89314
           Summary: ICE in wide_int_to_tree_1, at tree.c:1561
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Affects versions down to at least gcc-5 :


$ cat z1.c
extern __SIZE_TYPE__ strlen (const float *);
void foo (char *s)
{
  if (strlen(s) > 0)
    return;
}


$ gcc-9-20190210 -c z1.c
z1.c: In function 'foo':
z1.c:4:14: warning: passing argument 1 of 'strlen' from incompatible pointer
type [-Wincompatible-pointer-types]
    4 |   if (strlen(s) > 0)
      |              ^
      |              |
      |              char *
z1.c:1:30: note: expected 'const float *' but argument is of type 'char *'
    1 | extern __SIZE_TYPE__ strlen (const float *);
      |                              ^~~~~~~~~~~~~
z1.c:4:3: internal compiler error: in wide_int_to_tree_1, at tree.c:1561
    4 |   if (strlen(s) > 0)
      |   ^~
0xf0c3b3 wide_int_to_tree_1
        ../../gcc/tree.c:1561
0xf0cab8 wide_int_to_tree(tree_node*, poly_int<1u,
generic_wide_int<wide_int_ref_storage<false, true> > > const&)
        ../../gcc/tree.c:1686
0xf0cab8 build_int_cst(tree_node*, poly_int<1u, long>)
        ../../gcc/tree.c:1355
0x8e5bdd fold_binary_loc(unsigned int, tree_code, tree_node*, tree_node*,
tree_node*)
        ../../gcc/fold-const.c:10755
0x8e9f4a fold_build2_loc(unsigned int, tree_code, tree_node*, tree_node*,
tree_node*)
        ../../gcc/fold-const.c:12350
0x1195677 generic_simplify_76
        .../gcc/generic-match.c:3439
0x11a0df0 generic_simplify_GT_EXPR
        .../gcc/generic-match.c:38239
0x11d683d generic_simplify(unsigned int, tree_code, tree_node*, tree_node*,
tree_node*)
        .../gcc/generic-match.c:52818
0x8e0aad fold_binary_loc(unsigned int, tree_code, tree_node*, tree_node*,
tree_node*)
        ../../gcc/fold-const.c:9378
0x8e9f4a fold_build2_loc(unsigned int, tree_code, tree_node*, tree_node*,
tree_node*)
        ../../gcc/fold-const.c:12350
0x693b79 c_fully_fold_internal
        ../../gcc/c/c-fold.c:370
0x695877 c_fully_fold(tree_node*, bool, bool*, bool)
        ../../gcc/c/c-fold.c:125
0x6734ec c_parser_condition
        ../../gcc/c/c-parser.c:5640
0x673587 c_parser_paren_condition
        ../../gcc/c/c-parser.c:5658
0x68493a c_parser_if_statement
        ../../gcc/c/c-parser.c:5837
0x68493a c_parser_statement_after_labels
        ../../gcc/c/c-parser.c:5469
0x68618e c_parser_compound_statement_nostart
        ../../gcc/c/c-parser.c:5148
0x686916 c_parser_compound_statement
        ../../gcc/c/c-parser.c:4982
0x6881fb c_parser_declaration_or_fndef
        ../../gcc/c/c-parser.c:2354
0x6907c3 c_parser_external_declaration
        ../../gcc/c/c-parser.c:1653
>From gcc-bugs-return-633411-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 18:10:54 2019
Return-Path: <gcc-bugs-return-633411-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73876 invoked by alias); 12 Feb 2019 18:10: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 73844 invoked by uid 48); 12 Feb 2019 18:10:49 -0000
From: "larsbj at gullik dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89315] New: Cannot convert to std::initializer_list - fails with gcc9 works with gcc8
Date: Tue, 12 Feb 2019 18:10: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: larsbj at gullik dot net
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-89315-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: 2019-02/txt/msg01713.txt.bz2
Content-length: 1646

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

            Bug ID: 89315
           Summary: Cannot convert to std::initializer_list - fails with
                    gcc9 works with gcc8
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: larsbj at gullik dot net
  Target Milestone: ---

Created attachment 45675
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45675&action=edit
Soruce that works with gcc8 fails with gcc9

The attached code compiles with:

g++ --version
g++ (GCC) 8.2.1 20181215 (Red Hat 8.2.1-6)

but fails with

/opt/gcc/gcc-9/bin/g++ -v
Using built-in specs.
COLLECT_GCC=/opt/gcc/gcc-9/bin/g++
COLLECT_LTO_WRAPPER=/opt/gcc/gcc-9/libexec/gcc/x86_64-pc-linux-gnu/9.0.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc/configure --prefix=/opt/gcc/gcc-9
--enable-checking=release --enable-languages=c,c++

/opt/gcc/gcc-9/bin/g++ -c bug4.cpp 
bug4.cpp: In instantiation of ‘void n< <template-parameter-1-1> >::m_fn1()
[with <template-parameter-1-1> = void]’:
bug4.cpp:17:22:   required from here
bug4.cpp:13:24: error: cannot convert ‘const bar*’ to
‘std::initializer_list<int>’
   13 |     void m_fn1() { i{{}}; }
      |                        ^
bug4.cpp:4:9: note:   initializing argument 1 of
‘bar::bar(std::initializer_list<int>, int)’
    4 |     bar(std::initializer_list<int>, int = int());
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
>From gcc-bugs-return-633412-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 18:11:28 2019
Return-Path: <gcc-bugs-return-633412-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74981 invoked by alias); 12 Feb 2019 18:11: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 74898 invoked by uid 48); 12 Feb 2019 18:11:24 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89310] Poor code generation returning float field from a struct
Date: Tue, 12 Feb 2019 18:11: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: 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-89310-4-OjYSyuAU5k@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89310-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89310-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: 2019-02/txt/msg01714.txt.bz2
Content-length: 679

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-12
     Ever confirmed|0                           |1

--- Comment #2 from Segher Boessenkool <segher at gcc dot gnu.org> ---
This is caused by a split after reload.  The insns that are split to do not
get all the early RTL optimisations.  Late splits should be avoided.

Why does this use mtvsrd instead opf mtvsrw[az]?
>From gcc-bugs-return-633413-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 18:12:38 2019
Return-Path: <gcc-bugs-return-633413-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77613 invoked by alias); 12 Feb 2019 18:12: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 77581 invoked by uid 48); 12 Feb 2019 18:12:34 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89316] New: ICE in gen_reg_rtx, at emit-rtl.c:1155
Date: Tue, 12 Feb 2019 18:12: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: gscfq@t-online.de
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-89316-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: 2019-02/txt/msg01715.txt.bz2
Content-length: 1786

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

            Bug ID: 89316
           Summary: ICE in gen_reg_rtx, at emit-rtl.c:1155
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Starting with gcc-8 and options -fsplit-stack -mforce-indirect-call; 
affects several test cases, e.g. :

$ cat first-global.C
struct foo { foo (); };
foo foobar;


$ g++-9-20190210 -c first-global.C
$ g++-9-20190210 -c first-global.C -fsplit-stack
$
$ g++-9-20190210 -c first-global.C -fsplit-stack -mforce-indirect-call
during RTL pass: pro_and_epilogue
first-global.C: In function 'void
__static_initialization_and_destruction_0(int, int)':
first-global.C:2:11: internal compiler error: in gen_reg_rtx, at
emit-rtl.c:1155
    2 | foo foobar;
      |           ^
0x8bdda5 gen_reg_rtx(machine_mode)
        ../../gcc/emit-rtl.c:1155
0x8d1ffe copy_to_mode_reg(machine_mode, rtx_def*)
        ../../gcc/explow.c:622
0xe825b4 ix86_expand_call(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*,
bool)
        ../../gcc/config/i386/i386.c:28304
0xe831ba ix86_expand_split_stack_prologue()
        ../../gcc/config/i386/i386.c:14763
0x10bfa9a gen_split_stack_prologue()
        ../../gcc/config/i386/i386.md:13199
0xe4e548 target_gen_split_stack_prologue
        ../../gcc/config/i386/i386.md:12962
0x93a0c1 make_split_prologue_seq
        ../../gcc/function.c:5714
0x93a35a thread_prologue_and_epilogue_insns()
        ../../gcc/function.c:5850
0x93a952 rest_of_handle_thread_prologue_and_epilogue
        ../../gcc/function.c:6342
0x93a952 execute
        ../../gcc/function.c:6384
>From gcc-bugs-return-633414-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 18:16:06 2019
Return-Path: <gcc-bugs-return-633414-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80997 invoked by alias); 12 Feb 2019 18:15:56 -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 80950 invoked by uid 48); 12 Feb 2019 18:15:51 -0000
From: "bugzilla@poradnik-webmastera.com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89317] New: Ineffective code from std::copy
Date: Tue, 12 Feb 2019 18:15: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: 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-89317-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: 2019-02/txt/msg01716.txt.bz2
Content-length: 4195

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

            Bug ID: 89317
           Summary: Ineffective code from std::copy
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bugzilla@poradnik-webmastera.com
  Target Milestone: ---

gcc produces ineffective code when std::copy is used to copy data. For test I
created my own version of std::copy and this version is optimized properly.

Compiles using g++ (GCC-Explorer-Build) 9.0.1 20190211 (experimental)
Options: -O3 -std=c++11 -march=skylake

[code]
#include <stdint.h>
#include <algorithm>

#define Size 8

class Test
{
public:
    void test1(void*__restrict ptr);
    void test2(void*__restrict ptr);

private:
    int16_t data1[Size];
    int16_t data2[Size];
};

template<typename T1, typename T2>
void mycopy(T1 begin, T1 end, T2 dest)
{
    while (begin != end)
    {
        *dest = *begin;
        ++dest;
        ++begin;
    }
}

void Test::test1(void*__restrict ptr)
{
    uint16_t* p = (uint16_t*)ptr;

    std::copy(data1, data1 + Size, p);
    p += Size;
    std::copy(data2, data2 + Size, p);
}

void Test::test2(void*__restrict ptr)
{
    int16_t* p = (int16_t*)ptr;

    mycopy(data1, data1 + Size, p);
    p += Size;
    mycopy(data2, data2 + Size, p);
}
[/code]

[asm]
Test::test1(void*):
        movzx   eax, WORD PTR [rdi]
        mov     edx, 16
        mov     WORD PTR [rsi], ax
        movzx   eax, WORD PTR [rdi+2]
        add     rsi, 16
        mov     WORD PTR [rsi-14], ax
        movzx   eax, WORD PTR [rdi+4]
        mov     WORD PTR [rsi-12], ax
        movzx   eax, WORD PTR [rdi+6]
        mov     WORD PTR [rsi-10], ax
        movzx   eax, WORD PTR [rdi+8]
        mov     WORD PTR [rsi-8], ax
        movzx   eax, WORD PTR [rdi+10]
        mov     WORD PTR [rsi-6], ax
        movzx   eax, WORD PTR [rdi+12]
        mov     WORD PTR [rsi-4], ax
        movzx   eax, WORD PTR [rdi+14]
        mov     WORD PTR [rsi-2], ax
        mov     rax, rdx
        sar     rax
        test    rdx, rdx
        jle     .L69
        movzx   edx, WORD PTR [rdi+16]
        mov     WORD PTR [rsi], dx
        cmp     rax, 1
        je      .L69
        movzx   edx, WORD PTR [rdi+18]
        mov     WORD PTR [rsi+2], dx
        cmp     rax, 2
        je      .L69
        movzx   edx, WORD PTR [rdi+20]
        mov     WORD PTR [rsi+4], dx
        cmp     rax, 3
        je      .L69
        movzx   edx, WORD PTR [rdi+22]
        mov     WORD PTR [rsi+6], dx
        cmp     rax, 4
        je      .L69
        movzx   edx, WORD PTR [rdi+24]
        mov     WORD PTR [rsi+8], dx
        cmp     rax, 5
        je      .L69
        movzx   edx, WORD PTR [rdi+26]
        mov     WORD PTR [rsi+10], dx
        cmp     rax, 6
        je      .L69
        movzx   edx, WORD PTR [rdi+28]
        mov     WORD PTR [rsi+12], dx
        cmp     rax, 7
        je      .L69
        movzx   edx, WORD PTR [rdi+30]
        mov     WORD PTR [rsi+14], dx
        cmp     rax, 8
        je      .L69
        movzx   edx, WORD PTR [rdi+32]
        mov     WORD PTR [rsi+16], dx
        cmp     rax, 9
        je      .L69
        movzx   edx, WORD PTR [rdi+34]
        mov     WORD PTR [rsi+18], dx
        cmp     rax, 10
        je      .L69
        movzx   edx, WORD PTR [rdi+36]
        mov     WORD PTR [rsi+20], dx
        cmp     rax, 11
        je      .L69
        movzx   edx, WORD PTR [rdi+38]
        mov     WORD PTR [rsi+22], dx
        cmp     rax, 12
        je      .L69
        movzx   edx, WORD PTR [rdi+40]
        mov     WORD PTR [rsi+24], dx
        cmp     rax, 13
        je      .L69
        movzx   edx, WORD PTR [rdi+42]
        mov     WORD PTR [rsi+26], dx
        cmp     rax, 14
        je      .L69
        movzx   eax, WORD PTR [rdi+44]
        mov     WORD PTR [rsi+28], ax
.L69:
        ret
Test::test2(void*):
        vmovdqu xmm0, XMMWORD PTR [rdi]
        vmovups XMMWORD PTR [rsi], xmm0
        vmovdqu xmm1, XMMWORD PTR [rdi+16]
        vmovups XMMWORD PTR [rsi+16], xmm1
        ret
[/asm]
>From gcc-bugs-return-633415-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 18:25:01 2019
Return-Path: <gcc-bugs-return-633415-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91711 invoked by alias); 12 Feb 2019 18:25: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 91612 invoked by uid 48); 12 Feb 2019 18:24:56 -0000
From: "elrodc at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88713] Vectorized code slow vs. flang
Date: Tue, 12 Feb 2019 18:25: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:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: elrodc at gmail dot com
X-Bugzilla-Status: REOPENED
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-88713-4-v2noVARGfH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88713-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88713-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: 2019-02/txt/msg01717.txt.bz2
Content-length: 591

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

--- Comment #54 from Chris Elrod <elrodc at gmail dot com> ---
I commented elsewhere, but I built trunk a few days ago with H.J.Lu's patches
(attached here) and Thomas Koenig's inlining patches.
With these patches, g++ and all versions of the Fortran code produced excellent
asm, and the code performed excellently in benchmarks.

Once those are merged, the problems reported here will be solved.

I saw Thomas Koenig's packing changes will wait for gcc-10.
What about H.J.Lu's fixes to rsqrt and allowing FMA use in those sections?
>From gcc-bugs-return-633416-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 18:28:38 2019
Return-Path: <gcc-bugs-return-633416-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97110 invoked by alias); 12 Feb 2019 18:28: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 97039 invoked by uid 48); 12 Feb 2019 18:28:34 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89316] ICE in gen_reg_rtx, at emit-rtl.c:1155
Date: Tue, 12 Feb 2019 18:28: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: dmalcolm 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-89316-4-X2BUc40JkA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89316-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89316-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: 2019-02/txt/msg01718.txt.bz2
Content-length: 701

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

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-12
                 CC|                            |dmalcolm at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Confirmed on trunk and gcc-8.

It's failing this assertion:

1155      gcc_assert (can_create_pseudo_p ());

since:

(gdb) p reload_completed
$3 = 1
>From gcc-bugs-return-633418-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 18:36:12 2019
Return-Path: <gcc-bugs-return-633418-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124219 invoked by alias); 12 Feb 2019 18:36: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 121461 invoked by uid 48); 12 Feb 2019 18:36:07 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89312] snprintf warning is unparsable and not confusing
Date: Tue, 12 Feb 2019 18:36: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.4.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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: keywords bug_status cc see_also blocked resolution
Message-ID: <bug-89312-4-uLISe2bUfP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89312-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89312-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: 2019-02/txt/msg01720.txt.bz2
Content-length: 2966

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |msebor at gcc dot gnu.org
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=80354
             Blocks|                            |88781
         Resolution|---                         |INVALID

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
The warning says that the output of the " (" part of the format string (called
a directive, same as %s) may be truncated while snprintf is writing 2 bytes
(the length of the " (" string) into a region in the destination buffer whose
size GCC has computed to be between 1 and 255 bytes.  The phrasing isn't the
best but it's hard to come up with a concise sentence that describes the
problem without losing the relevant detail.

Below is a test case showing when the warning can trigger.  The size of the
destination array is 255, and so is the size of the argument of the fist %s
directive, a.  If strlen(a) were 254 (the longest string that fits), the call
would result in truncation.

The reason GCC warns for this is because most callers are unprepared for the
output of the function to be truncated (i.e., it would be a bug if it did). 
See bug 80354 comment 8 for an example (and the rest of the discussion there
for additional background).  To avoid the warning either provide a destination
buffer that can fit the longest output, or use precision to constrain the
amount of output that the %s directives can produce (e.g., %.200s to limit it
to at most 200 bytes), use the result of the function, or suppress the warning
by -Wno-format-truncation, either on the command line or via a pragma.

$ cat t.c && gcc -O2 -S -Wall t.c
char a[255];
char d[255];

void f (const char *s, int i)
{
  __builtin_snprintf (d, sizeof d, "%s (%s, %s-%d)", a, s, s, i);
}
t.c: In function ‘f’:
t.c:6:39: warning: ‘ (’ directive output may be truncated writing 2 bytes into
a region of size between 1 and 255 [-Wformat-truncation=]
    6 |   __builtin_snprintf (d, sizeof d, "%s (%s, %s-%d)", a, s, s, i);
      |                                       ^~
t.c:6:3: note: ‘__builtin_snprintf’ output 8 or more bytes (assuming 262) into
a destination of size 255
    6 |   __builtin_snprintf (d, sizeof d, "%s (%s, %s-%d)", a, s, s, i);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88781
[Bug 88781] [meta-bug] bogus/missing -Wstringop-truncation warnings
>From gcc-bugs-return-633417-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 18:36:12 2019
Return-Path: <gcc-bugs-return-633417-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124019 invoked by alias); 12 Feb 2019 18:36: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 121884 invoked by uid 48); 12 Feb 2019 18:36:08 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/88781] [meta-bug] bogus/missing -Wstringop-truncation warnings
Date: Tue, 12 Feb 2019 18:36:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: meta-bug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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 resolution
Message-ID: <bug-88781-4-kRE0qgsmMp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88781-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88781-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: 2019-02/txt/msg01719.txt.bz2
Content-length: 476

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88781
Bug 88781 depends on bug 89312, which changed state.

Bug 89312 Summary: snprintf warning is unparsable and not confusing
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89312

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID
>From gcc-bugs-return-633419-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 18:42:20 2019
Return-Path: <gcc-bugs-return-633419-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39908 invoked by alias); 12 Feb 2019 18:42: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 39802 invoked by uid 48); 12 Feb 2019 18:42:15 -0000
From: "martin at netbsd dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89312] snprintf warning is unparsable and not confusing
Date: Tue, 12 Feb 2019 18: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: 7.4.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: martin at netbsd dot 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-89312-4-XAxeCa1nFL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89312-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89312-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: 2019-02/txt/msg01721.txt.bz2
Content-length: 627

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

--- Comment #2 from Martin Husemann <martin at netbsd dot org> ---
Thanks for the explanation, but I see no way I could improve the code in
question reasonably and (sorry to be blunt) consider it quite stupid of gcc to
warn about it by default.

I do want the total string to be truncated, not individual fields, so precision
does not help. Making the target buffer larger makes no sense as there is
limited space in the GUI for output.

I will globaly shut off the warning, it is useless for this code. This is a
(slight) pain, as the warning is (newer) gcc specific.
>From gcc-bugs-return-633420-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 18:51:34 2019
Return-Path: <gcc-bugs-return-633420-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67939 invoked by alias); 12 Feb 2019 18:51: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 67833 invoked by uid 48); 12 Feb 2019 18:51:30 -0000
From: "sje at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82479] missing popcount builtin detection
Date: Tue, 12 Feb 2019 18:51: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: 8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: sje at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: kugan.vivekanandarajah at linaro dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc cf_known_to_work resolution
Message-ID: <bug-82479-4-2sKVjbeGKR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82479-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82479-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: 2019-02/txt/msg01722.txt.bz2
Content-length: 818

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

Steve Ellcey <sje at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |sje at gcc dot gnu.org
      Known to work|                            |9.0
         Resolution|---                         |FIXED

--- Comment #14 from Steve Ellcey <sje at gcc dot gnu.org> ---
It looks like the fix for this is checked in.  I verified that on Aarch64,
when compiling bits.cpp from 531.deepsjeng_r in SPEC 2017, GCC generated
a __builtin_popcount call.

It looks like this went in after the 8.* branch was created so 9.1 would
be the first version to have it.
>From gcc-bugs-return-633421-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 18:58:02 2019
Return-Path: <gcc-bugs-return-633421-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111611 invoked by alias); 12 Feb 2019 18:58: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 111509 invoked by uid 48); 12 Feb 2019 18:57:58 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89314] [7/8/9 Regression] ICE in wide_int_to_tree_1, at tree.c:1561
Date: Tue, 12 Feb 2019 18:58: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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_known_to_work keywords cf_reconfirmed_on cc everconfirmed short_desc cf_known_to_fail
Message-ID: <bug-89314-4-8pAAtkXsb4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89314-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89314-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: 2019-02/txt/msg01723.txt.bz2
Content-length: 1651

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
      Known to work|                            |4.2.4
           Keywords|                            |ice-on-invalid-code
   Last reconfirmed|                            |2019-02-12
                 CC|                            |msebor at gcc dot gnu.org
     Ever confirmed|0                           |1
            Summary|ICE in wide_int_to_tree_1,  |[7/8/9 Regression] ICE in
                   |at tree.c:1561              |wide_int_to_tree_1, at
                   |                            |tree.c:1561
      Known to fail|                            |4.3.5, 4.4.7, 4.8.5, 4.9.4,
                   |                            |5.4.0, 6.4.0, 7.3.0, 8.2.0,
                   |                            |9.0

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed.  Bisection suggests the culprit is r118678 (the full range of
revisions is actually between r118602 and r118678 but most are fortran
changes), so it's an ancient regression introduced in GCC 4.3.

r118678 | sayle | 2006-11-10 20:47:18 -0500 (Fri, 10 Nov 2006) | 7 lines


        * tree.c (build_int_cst_wide): Add an assertion (gcc_unreachable)
        when attempting to build INTEGER_CSTs of non-integral types.
        * expmed.c (make_tree): Use the correct type, i.e. the inner
        type, when constructing the individual elements of a CONST_VECTOR.
>From gcc-bugs-return-633422-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 19:01:19 2019
Return-Path: <gcc-bugs-return-633422-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116177 invoked by alias); 12 Feb 2019 19:01:18 -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 115950 invoked by uid 55); 12 Feb 2019 19:01:08 -0000
From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89229] [7/8 Regression] Unnecessary ZMM in movoi_internal_avx/movti_internal
Date: Tue, 12 Feb 2019 19:01: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89229-4-Azwa1qJSMo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89229-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89229-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: 2019-02/txt/msg01724.txt.bz2
Content-length: 1762

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

--- Comment #8 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Tue Feb 12 19:00:35 2019
New Revision: 268811

URL: https://gcc.gnu.org/viewcvs?rev=268811&root=gcc&view=rev
Log:
i386: Revert revision 268678 and revision 268657

i386 backend has

INT_MODE (OI, 32);
INT_MODE (XI, 64);

So, XI_MODE represents 64 INTEGER bytes = 64 * 8 = 512 bit operation,
in case of const_1, all 512 bits set.

We can load zeros with narrower instruction, (e.g. 256 bit by inherent
zeroing of highpart in case of 128 bit xor), so TImode in this case.

Some targets prefer V4SF mode, so they will emit float xorps for zeroing

Then the introduction of AVX512F fubared everything by overloading the
meaning of insn mode.

How should we use INSN mode,  MODE_XI, in standard_sse_constant_opcode
and patterns which use standard_sse_constant_opcode? 2 options:

1.  MODE_XI should only used to check if EXT_REX_SSE_REG_P is true
in any register operand.  The operand size must be determined by operand
itself , not by MODE_XI.  The operand encoding size should be determined
by the operand size, EXT_REX_SSE_REG_P and AVX512VL.
2. MODE_XI should be used to determine the operand encoding size.
EXT_REX_SSE_REG_P and AVX512VL should be checked for encoding
instructions.

gcc/

        PR target/89229
        * config/i386/i386.md (*movoi_internal_avx): Revert revision
        268678 and revision 268657.
        (*movti_internal): Likewise.

gcc/testsuite/

        PR target/89229
        * gcc.target/i386/pr89229-1.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/i386/pr89229-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.md
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633423-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 19:01:21 2019
Return-Path: <gcc-bugs-return-633423-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116451 invoked by alias); 12 Feb 2019 19:01: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 116108 invoked by uid 48); 12 Feb 2019 19:01:16 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88074] [7/8/9 Regression] g++ hangs on math expression
Date: Tue, 12 Feb 2019 19:01: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: 7.2.0
X-Bugzilla-Keywords: compile-time-hog
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-88074-4-gqmg6qS3Oc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88074-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88074-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: 2019-02/txt/msg01725.txt.bz2
Content-length: 471

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

--- Comment #28 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45676
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45676&action=edit
gcc9-pr88074.patch

Incremental patch to tweak norm2 simplification.  If e->value.real**2 would
overflow or be close to that, scale everything down (this and all further
operands by 2**norm2_scale, result by 4**norm2_scale) and at the end up again.
>From gcc-bugs-return-633425-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 19:05:40 2019
Return-Path: <gcc-bugs-return-633425-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125134 invoked by alias); 12 Feb 2019 19:05: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 124832 invoked by uid 48); 12 Feb 2019 19:05:36 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/87106] Group move and destruction of the source, where possible, for speed
Date: Tue, 12 Feb 2019 19:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: glisse 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-87106-4-4krgaqzYvr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87106-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87106-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: 2019-02/txt/msg01727.txt.bz2
Content-length: 355

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

--- Comment #20 from Marc Glisse <glisse at gcc dot gnu.org> ---
TODO: specify __restrict on the arguments of __relocate_object_a. Since one is
initialized and not the other, it should be safe to assume that they are
disjoint, and it helps optimize move+destroy, for instance for unique_ptr<int>.
>From gcc-bugs-return-633424-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 19:05:24 2019
Return-Path: <gcc-bugs-return-633424-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123984 invoked by alias); 12 Feb 2019 19:05: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 123916 invoked by uid 48); 12 Feb 2019 19:05:20 -0000
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/89318] New: arm bootstap failure
Date: Tue, 12 Feb 2019 19:05: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: bernd.edlinger at hotmail dot de
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-89318-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: 2019-02/txt/msg01726.txt.bz2
Content-length: 3662

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

            Bug ID: 89318
           Summary: arm bootstap failure
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bernd.edlinger at hotmail dot de
  Target Milestone: ---

../gcc-9-20190210/configure --prefix=/home/ed/gnu/arm-linux-gnueabihf
--enable-languages=all --with-arch=armv7-a --with-tune=cortex-a9
--with-fpu=vfpv3-d16 --with-float=hard

libtool: compile:  /home/ed/gnu/gcc-build-arm-linux-gnueabihf/./prev-gcc/xgcc
-B/home/ed/gnu/gcc-build-arm-linux-gnueabihf/./prev-gcc/
-B/home/ed/gnu/arm-linux-gnueabihf/armv7l-unknown-linux-gnueabihf/bin/
-B/home/ed/gnu/arm-linux-gnueabihf/armv7l-unknown-linux-gnueabihf/bin/
-B/home/ed/gnu/arm-linux-gnueabihf/armv7l-unknown-linux-gnueabihf/lib/ -isystem
/home/ed/gnu/arm-linux-gnueabihf/armv7l-unknown-linux-gnueabihf/include
-isystem
/home/ed/gnu/arm-linux-gnueabihf/armv7l-unknown-linux-gnueabihf/sys-include
-fno-checking -DHAVE_CONFIG_H -I. -I../../gcc-9-20190210/isl
-I../../gcc-9-20190210/isl/include -Iinclude/
-I/home/ed/gnu/gcc-build-arm-linux-gnueabihf/gmp/../../gcc-9-20190210/gmp
-I/home/ed/gnu/gcc-build-arm-linux-gnueabihf/./gmp -g -O2 -fno-checking
-gtoggle -MT isl_aff.lo -MD -MP -MF .deps/isl_aff.Tpo -c
../../gcc-9-20190210/isl/isl_aff.c -o isl_aff.o
In file included from ../../gcc-9-20190210/isl/isl_aff.c:4101:
../../gcc-9-20190210/isl/isl_union_multi.c: In function
'isl_union_pw_multi_aff_foreach_pw_multi_aff':
../../gcc-9-20190210/isl/isl_union_multi.c:221:1: error: insn does not satisfy
its constraints:
  221 | }
      | ^
(insn 64 23 27 3 (parallel [
            (set (mem/f/c:SI (plus:SI (reg/f:SI 13 sp)
                        (const_int 8 [0x8])) [25 data.fn+0 S4 A64])
                (reg/f:SI 12 ip [117]))
            (set (mem/f/c:SI (plus:SI (reg/f:SI 13 sp)
                        (const_int 12 [0xc])) [4 data.user+0 S4 A32])
                (reg/f:SI 13 sp))
        ]) "../../gcc-9-20190210/isl/isl_union_multi.c":69:30 347 {*arm_strd}
     (nil))
during RTL pass: cprop_hardreg
../../gcc-9-20190210/isl/isl_union_multi.c:221:1: internal compiler error: in
extract_constrain_insn, at recog.c:2211
0xcf865b _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ../../gcc-9-20190210/gcc/rtl-error.c:108
0xcf86c7 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        ../../gcc-9-20190210/gcc/rtl-error.c:118
0xc8fa4f extract_constrain_insn(rtx_insn*)
        ../../gcc-9-20190210/gcc/recog.c:2211
0xc985ef copyprop_hardreg_forward_1
        ../../gcc-9-20190210/gcc/regcprop.c:801
0xc9a11b execute
        ../../gcc-9-20190210/gcc/regcprop.c:1307
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.
make[5]: *** [isl_aff.lo] Error 1
make[5]: Leaving directory `/home/ed/gnu/gcc-build-arm-linux-gnueabihf/isl'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/ed/gnu/gcc-build-arm-linux-gnueabihf/isl'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/ed/gnu/gcc-build-arm-linux-gnueabihf/isl'
make[2]: *** [all-stage2-isl] Error 2
make[2]: Leaving directory `/home/ed/gnu/gcc-build-arm-linux-gnueabihf'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/home/ed/gnu/gcc-build-arm-linux-gnueabihf'

make: *** [all] Error 2

trunk revision 268755 -> bad

trunk revision 268503 -> good
>From gcc-bugs-return-633426-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 19:09:14 2019
Return-Path: <gcc-bugs-return-633426-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47250 invoked by alias); 12 Feb 2019 19:09: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 47162 invoked by uid 48); 12 Feb 2019 19:09:11 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89233] [9 Regression] ICE in change_address_1, at emit-rtl.c:2286
Date: Tue, 12 Feb 2019 19:09: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: iii at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution assigned_to
Message-ID: <bug-89233-4-m8QrO0GB5L@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89233-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89233-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: 2019-02/txt/msg01728.txt.bz2
Content-length: 504

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
           Assignee|unassigned at gcc dot gnu.org      |iii at gcc dot gnu.org

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-633427-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 19:19:36 2019
Return-Path: <gcc-bugs-return-633427-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96156 invoked by alias); 12 Feb 2019 19:19:36 -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 96051 invoked by uid 48); 12 Feb 2019 19:19:31 -0000
From: "acsawdey at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88308] ICE in maybe_record_trace_start, at dwarf2cfi.c:2309
Date: Tue, 12 Feb 2019 19:19: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: acsawdey at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: acsawdey at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88308-4-NoMQnf018j@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88308-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88308-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: 2019-02/txt/msg01729.txt.bz2
Content-length: 1832

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

--- Comment #3 from acsawdey at gcc dot gnu.org ---
One difference between compiling this -m32 and -m64 is that the label for the
jump table is marked /s in the 64-bit version:

(code_label/s 22 21 23 4 (nil) [4 uses])
(jump_table_data 23 22 24 (addr_diff_vec:SI (label_ref:DI 22)
         [
            (label_ref:DI 25)
            (label_ref:DI 54)
            (label_ref:DI 83)

In the 32-bit version it is not, and that label plus the jump_table_data insn
that follows are not present in the dumps after split2:

(code_label 23 22 24 4 (nil) [4 uses])
;; Insn is not within a basic block
(jump_table_data 24 23 25 (addr_diff_vec:SI (label_ref:SI 23)
         [
            (label_ref:SI 26)
            (label_ref:SI 64)
            (label_ref:SI 102)
            (label_ref:SI 140)
            (label_ref:SI 178)

The significance of this is that tablejump_p() looks at the next insn to
determine if it is in fact a tablejump:

bool
tablejump_p (const rtx_insn *insn, rtx_insn **labelp,
             rtx_jump_table_data **tablep)
{
  if (!JUMP_P (insn))
    return false;

  rtx target = JUMP_LABEL (insn);
  if (target == NULL_RTX || ANY_RETURN_P (target))
    return false;

  rtx_insn *label = as_a<rtx_insn *> (target);
  rtx_insn *table = next_insn (label);
  if (table == NULL_RTX || !JUMP_TABLE_DATA_P (table))
    return false;

Since the label insn and jump table insn seem to be gone, this return false.

Then in create_trace_edges() we end up in the final stanza of the if
(JUMP_P(insn):

      else
        {
          rtx_insn *lab = JUMP_LABEL_AS_INSN (insn);
          gcc_assert (lab != NULL);
          maybe_record_trace_start (lab, insn);
        }

And so we try to create a trace for the jump table label which leads to the
ICE.
>From gcc-bugs-return-633428-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 19:26:18 2019
Return-Path: <gcc-bugs-return-633428-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103178 invoked by alias); 12 Feb 2019 19:26: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 102903 invoked by uid 48); 12 Feb 2019 19:26:13 -0000
From: "gnu@the-meissners.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89319] New: PowerPC generates poor code when using attribute((vector_size(32))
Date: Tue, 12 Feb 2019 19:26: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gnu@the-meissners.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-89319-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: 2019-02/txt/msg01730.txt.bz2
Content-length: 849

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

            Bug ID: 89319
           Summary: PowerPC generates poor code when using
                    attribute((vector_size(32))
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gnu@the-meissners.org
  Target Milestone: ---

Created attachment 45677
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45677&action=edit
Source code to show the problem

I tried out some code using the vector_size(32) attribute on PowerPC, and it
generates poor code.  I expected that it would just generate two loads, two
adds, and two stores, but instead it pushed things to the stack.

See the attached code and asm file.
>From gcc-bugs-return-633429-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 19:28:19 2019
Return-Path: <gcc-bugs-return-633429-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117616 invoked by alias); 12 Feb 2019 19:28:19 -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 117559 invoked by uid 48); 12 Feb 2019 19:28:15 -0000
From: "gnu@the-meissners.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89319] PowerPC generates poor code when using attribute((vector_size(32))
Date: Tue, 12 Feb 2019 19:28: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gnu@the-meissners.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: attachments.created
Message-ID: <bug-89319-4-CL60ApljcM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89319-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89319-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: 2019-02/txt/msg01731.txt.bz2
Content-length: 326

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

--- Comment #1 from Michael Meissner <gnu@the-meissners.org> ---
Created attachment 45678
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45678&action=edit
Power9 assembly code to show the poor code generation

This was the assembly code using -O3 -mcpu=power9
>From gcc-bugs-return-633430-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 19:36:35 2019
Return-Path: <gcc-bugs-return-633430-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40653 invoked by alias); 12 Feb 2019 19:36: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 40627 invoked by uid 48); 12 Feb 2019 19:36:31 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89315] [9 Regression] Cannot convert to std::initializer_list - fails with gcc9 works with gcc8
Date: Tue, 12 Feb 2019 19:36: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: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cc assigned_to target_milestone short_desc everconfirmed
Message-ID: <bug-89315-4-6dP43rNCzs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89315-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89315-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: 2019-02/txt/msg01732.txt.bz2
Content-length: 1105

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-12
                 CC|                            |mpolacek at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |mpolacek at gcc dot gnu.org
   Target Milestone|---                         |9.0
            Summary|Cannot convert to           |[9 Regression] Cannot
                   |std::initializer_list -     |convert to
                   |fails with gcc9 works with  |std::initializer_list -
                   |gcc8                        |fails with gcc9 works with
                   |                            |gcc8
     Ever confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Ugh, another r268321 :(.
>From gcc-bugs-return-633431-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 19:38:46 2019
Return-Path: <gcc-bugs-return-633431-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48747 invoked by alias); 12 Feb 2019 19:38:46 -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 48675 invoked by uid 48); 12 Feb 2019 19:38:42 -0000
From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/89308] [8 only] The sanitizers do no longer work on GCC 8 with newer kernels
Date: Tue, 12 Feb 2019 19:38: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.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: seurer at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89308-4-LTszLDjoCm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89308-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89308-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: 2019-02/txt/msg01733.txt.bz2
Content-length: 754

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

--- Comment #2 from seurer at gcc dot gnu.org ---
I looked through the various patches for the sanitizer stuff and the important
one that is missing is the one that disables ASLR when the sanitizers are in
use.  This would "solve" the issue where the thread sanitizer tests fail
depending on how ASLR has laid out memory (something I see all the time with
gcc-8 and recent kernels).

However, the thing that prompted this bug report

https://github.com/openbmc/openbmc-build-scripts/commit/282e33011ea62fe80bff2c5ab0e9ef9446d6c551

is dealing with the *address* sanitizer and I haven't seen that sort of
problem.  It looks like it occurs when they are building openbmc which I have
never done.
>From gcc-bugs-return-633432-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 19:49:58 2019
Return-Path: <gcc-bugs-return-633432-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72623 invoked by alias); 12 Feb 2019 19:49:57 -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 72493 invoked by uid 48); 12 Feb 2019 19:49:53 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89275] [9 Regression] Slowdown in mcperf on POWER
Date: Tue, 12 Feb 2019 19:49: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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
Message-ID: <bug-89275-4-S98JUVgPJ6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89275-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89275-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: 2019-02/txt/msg01734.txt.bz2
Content-length: 589

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Can anyone reproduce that and if yes, can it be bisected?
>From gcc-bugs-return-633433-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 19:52:04 2019
Return-Path: <gcc-bugs-return-633433-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83210 invoked by alias); 12 Feb 2019 19:52:04 -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 83037 invoked by uid 48); 12 Feb 2019 19:52:00 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/88920] [9 regression] GCC is not configured to support amdgcn-unknown-amdhsa as offload target
Date: Tue, 12 Feb 2019 19:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: ams at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-88920-4-rLirTxEZFQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88920-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88920-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: 2019-02/txt/msg01735.txt.bz2
Content-length: 429

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

--- Comment #25 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45679
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45679&action=edit
gcc9-pr88920.patch

For that I agree it is annoying, does the following patch fix it?
There is another issue, once any test uses dg-allow-blank-lines-in-output,
empty lines are allowed in all following tests.
>From gcc-bugs-return-633434-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 19:54:48 2019
Return-Path: <gcc-bugs-return-633434-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86511 invoked by alias); 12 Feb 2019 19:54: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 86447 invoked by uid 48); 12 Feb 2019 19:54:45 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89314] [7/8/9 Regression] ICE in wide_int_to_tree_1, at tree.c:1561
Date: Tue, 12 Feb 2019 19: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: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc component assigned_to target_milestone
Message-ID: <bug-89314-4-utTDgsxxU4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89314-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89314-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: 2019-02/txt/msg01736.txt.bz2
Content-length: 572

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |jakub at gcc dot gnu.org
          Component|c                           |tree-optimization
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
   Target Milestone|---                         |7.5
>From gcc-bugs-return-633435-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 19:58:03 2019
Return-Path: <gcc-bugs-return-633435-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91421 invoked by alias); 12 Feb 2019 19:58: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 90153 invoked by uid 48); 12 Feb 2019 19:57:59 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89297] [9 Regression] ICE: unexpected expression 'id' of kind overload
Date: Tue, 12 Feb 2019 19:58: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: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority short_desc
Message-ID: <bug-89297-4-LGR3njdNEs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89297-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89297-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: 2019-02/txt/msg01737.txt.bz2
Content-length: 503

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
            Summary|ICE: unexpected expression  |[9 Regression] ICE:
                   |'id' of kind overload       |unexpected expression 'id'
                   |                            |of kind overload
>From gcc-bugs-return-633436-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 20:00:48 2019
Return-Path: <gcc-bugs-return-633436-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99290 invoked by alias); 12 Feb 2019 20:00: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 99217 invoked by uid 48); 12 Feb 2019 20:00:36 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88294] [9 Regression] ICE on (invalid) C++11 code: in tsubst_copy, at cp/pt.c:15391
Date: Tue, 12 Feb 2019 20:00: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-88294-4-D2rfHTSyIx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88294-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88294-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: 2019-02/txt/msg01738.txt.bz2
Content-length: 384

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |mpolacek at gcc dot gnu.org
>From gcc-bugs-return-633437-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 20:16:52 2019
Return-Path: <gcc-bugs-return-633437-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66583 invoked by alias); 12 Feb 2019 20:16: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 66520 invoked by uid 48); 12 Feb 2019 20:16:45 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88368] [7/8/9 Regression] Improper ``use of deleted function''
Date: Tue, 12 Feb 2019 20:16: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.1
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-88368-4-tWlbm9GWNQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88368-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88368-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: 2019-02/txt/msg01739.txt.bz2
Content-length: 481

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-12
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1
>From gcc-bugs-return-633438-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 20:21:05 2019
Return-Path: <gcc-bugs-return-633438-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72826 invoked by alias); 12 Feb 2019 20:21: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 72741 invoked by uid 48); 12 Feb 2019 20:21:02 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89319] PowerPC generates poor code when using attribute((vector_size(32))
Date: Tue, 12 Feb 2019 20: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: glisse 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-89319-4-itFuGGla5P@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89319-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89319-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: 2019-02/txt/msg01740.txt.bz2
Content-length: 318

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

--- Comment #2 from Marc Glisse <glisse at gcc dot gnu.org> ---
I expect this is a DUP of bug 55266 and many others. Vector lowering for
unsupported sizes is not done very cleverly...
Not closing in case there are some mitigations you can do in the ppc backend.
>From gcc-bugs-return-633439-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 20:22:58 2019
Return-Path: <gcc-bugs-return-633439-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75235 invoked by alias); 12 Feb 2019 20:22:57 -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 75135 invoked by uid 48); 12 Feb 2019 20:22:53 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89299] __attribute__ cleanup does not accept template function
Date: Tue, 12 Feb 2019 20:22: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: 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-89299-4-IrO02LIVZ9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89299-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89299-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: 2019-02/txt/msg01741.txt.bz2
Content-length: 668

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

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
For now I suggest this patch for the docs:

--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -6815,6 +6815,11 @@ does not allow the exception to be caught, only to
perform an action.
 It is undefined what happens if @var{cleanup_function} does not
 return normally.

+In C++ the @var{cleanup_function} must be a normal function.
+Other types of callable such as a function templates,
+lambda expressions or function objects with @code{operator()}
+are not supported.
+
 @item common
 @itemx nocommon
 @cindex @code{common} variable attribute
>From gcc-bugs-return-633441-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 20:28:24 2019
Return-Path: <gcc-bugs-return-633441-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84614 invoked by alias); 12 Feb 2019 20:28: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 84390 invoked by uid 48); 12 Feb 2019 20:28:20 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89311] Brace initialization needlessly invokes destructor
Date: Tue, 12 Feb 2019 20:28: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.1
X-Bugzilla-Keywords: rejects-valid
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: keywords
Message-ID: <bug-89311-4-z29ZaBEVlT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89311-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89311-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: 2019-02/txt/msg01743.txt.bz2
Content-length: 528

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Raphael Kubo da Costa from comment #0)
> This is related to bug 85552 and bug 57082 as far as I can see.

Yes, it seems like a dup of one or both.
>From gcc-bugs-return-633440-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 20:28:23 2019
Return-Path: <gcc-bugs-return-633440-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84439 invoked by alias); 12 Feb 2019 20:28: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 84350 invoked by uid 48); 12 Feb 2019 20:28:19 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/88920] [9 regression] GCC is not configured to support amdgcn-unknown-amdhsa as offload target
Date: Tue, 12 Feb 2019 20:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wschmidt at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: ams at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88920-4-VMezDHiOP1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88920-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88920-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: 2019-02/txt/msg01742.txt.bz2
Content-length: 255

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

--- Comment #26 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Yes, that indeed helps!  With that we see it once per directory prior to
running the tests, like the other existing checks.  Thanks!
>From gcc-bugs-return-633442-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 20:28:56 2019
Return-Path: <gcc-bugs-return-633442-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85980 invoked by alias); 12 Feb 2019 20:28:56 -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 85929 invoked by uid 48); 12 Feb 2019 20:28:52 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89314] [7/8/9 Regression] ICE in wide_int_to_tree_1, at tree.c:1561
Date: Tue, 12 Feb 2019 20:28: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: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89314-4-m5XhW4msIo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89314-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89314-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: 2019-02/txt/msg01744.txt.bz2
Content-length: 253

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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45680
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45680&action=edit
gcc9-pr89314.patch

Untested fix.
>From gcc-bugs-return-633443-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 20:30:38 2019
Return-Path: <gcc-bugs-return-633443-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89692 invoked by alias); 12 Feb 2019 20:30: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 89536 invoked by uid 48); 12 Feb 2019 20:30:30 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89317] Ineffective code from std::copy
Date: Tue, 12 Feb 2019 20:30: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: missed-optimization
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-89317-4-bjTavnRAlu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89317-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89317-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: 2019-02/txt/msg01745.txt.bz2
Content-length: 194

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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
You mean inefficient, right? The effects are correct as far as I can see.
>From gcc-bugs-return-633444-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 20:36:55 2019
Return-Path: <gcc-bugs-return-633444-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100106 invoked by alias); 12 Feb 2019 20:36:55 -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 100031 invoked by uid 48); 12 Feb 2019 20:36:51 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89318] arm bootstap failure
Date: Tue, 12 Feb 2019 20:36: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: build, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89318-4-nXdKcWudlC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89318-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89318-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: 2019-02/txt/msg01746.txt.bz2
Content-length: 424

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Can you please attach preprocessed isl_aff.i ?
>From gcc-bugs-return-633445-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 20:37:13 2019
Return-Path: <gcc-bugs-return-633445-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101162 invoked by alias); 12 Feb 2019 20:37: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 101107 invoked by uid 48); 12 Feb 2019 20:37:09 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89318] [9 Regression] arm bootstap failure
Date: Tue, 12 Feb 2019 20:37: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: build, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority target_milestone short_desc
Message-ID: <bug-89318-4-kNMYZnjOyi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89318-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89318-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: 2019-02/txt/msg01747.txt.bz2
Content-length: 476

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
   Target Milestone|---                         |9.0
            Summary|arm bootstap failure        |[9 Regression] arm bootstap
                   |                            |failure
>From gcc-bugs-return-633446-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 20:37:55 2019
Return-Path: <gcc-bugs-return-633446-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123887 invoked by alias); 12 Feb 2019 20:37:55 -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 123221 invoked by uid 48); 12 Feb 2019 20:37:51 -0000
From: "bugzilla@poradnik-webmastera.com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89317] Ineffective code from std::copy
Date: Tue, 12 Feb 2019 20:37: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: missed-optimization
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-89317-4-dPnbzf7cfy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89317-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89317-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: 2019-02/txt/msg01748.txt.bz2
Content-length: 155

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

--- Comment #2 from Daniel Fruzynski <bugzilla@poradnik-webmastera.com> ---
Yes, I mean inefficient.
>From gcc-bugs-return-633447-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 20:38:44 2019
Return-Path: <gcc-bugs-return-633447-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126026 invoked by alias); 12 Feb 2019 20:38:44 -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 125956 invoked by uid 48); 12 Feb 2019 20:38:40 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89317] Ineffective code from std::copy
Date: Tue, 12 Feb 2019 20:38: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: glisse 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-89317-4-qT7vJDa6QL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89317-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89317-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: 2019-02/txt/msg01749.txt.bz2
Content-length: 378

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

--- Comment #3 from Marc Glisse <glisse at gcc dot gnu.org> ---
If we avoid changing the type from int16_t to uint16_t, we get 2 calls to
memmove. They don't get expanded, probably because we fail to simplify the size
to 16 in gimple:
  _1 = &MEM[(void *)this_5(D) + 16B];
  _2 = &this_5(D)->data1;
  _10 = _1 - _2;
>From gcc-bugs-return-633448-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 20:39:50 2019
Return-Path: <gcc-bugs-return-633448-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127662 invoked by alias); 12 Feb 2019 20:39: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 127597 invoked by uid 48); 12 Feb 2019 20:39:47 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87689] PowerPC64 ELFv2 function parameter passing violation
Date: Tue, 12 Feb 2019 20:39: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:
Message-ID: <bug-87689-4-DPjJPO86h4@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: 2019-02/txt/msg01750.txt.bz2
Content-length: 587

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

--- Comment #16 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to Alan Modra from comment #12)
> A little more sophisticated.
> 
> 	* fortran/trans-types.c (gfc_get_function_type): Use a varargs decl
> 	unless we have args other than hidden ones.

Without having looked at exactly what the patch does: This sounds wrong
to em. On platforms where varargs have a different calling
signature from normal functions, this would be an ABI change.

It would probably make more sense to build the decl from the call
itself.
>From gcc-bugs-return-633449-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 20:45:44 2019
Return-Path: <gcc-bugs-return-633449-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13043 invoked by alias); 12 Feb 2019 20:45:44 -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 9078 invoked by uid 48); 12 Feb 2019 20:45:40 -0000
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89318] [9 Regression] arm bootstap failure
Date: Tue, 12 Feb 2019 20: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: build, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bernd.edlinger at hotmail dot de
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89318-4-8Cx9MjiiBA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89318-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89318-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: 2019-02/txt/msg01751.txt.bz2
Content-length: 251

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

--- Comment #2 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
Created attachment 45681
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45681&action=edit
preprocessed isl_aff.i
>From gcc-bugs-return-633450-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 20:46:55 2019
Return-Path: <gcc-bugs-return-633450-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21934 invoked by alias); 12 Feb 2019 20:46:55 -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 21838 invoked by uid 48); 12 Feb 2019 20:46:51 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89320] New: [9 regression] r268774 caused: FAIL: gnat.dg/vect5.adb
Date: Tue, 12 Feb 2019 20:46: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: 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-89320-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: 2019-02/txt/msg01752.txt.bz2
Content-length: 4229

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

            Bug ID: 89320
           Summary: [9 regression] r268774 caused: FAIL: gnat.dg/vect5.adb
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: msebor at gcc dot gnu.org
  Target Milestone: ---

r268774 caused:

spawn -ignore SIGHUP
/export/users/hjl/build/gnu/tools-build/gcc-mmx-native/build-x86_64-linux/gcc/gnatmake
--GCC=/export/users/hjl/build/gnu/tools-build/gcc-mmx-native/build-x86_64-linux/gcc/xgcc
--GNATBIND=/export/users/hjl/build/gnu/tools-build/gcc-mmx-native/build-x86_64-linux/gcc/gnatbind
--GNATLINK=/export/users/hjl/build/gnu/tools-build/gcc-mmx-native/build-x86_64-linux/gcc/gnatlink
-cargs
-B/export/users/hjl/build/gnu/tools-build/gcc-mmx-native/build-x86_64-linux/gcc
-largs
--GCC=/export/users/hjl/build/gnu/tools-build/gcc-mmx-native/build-x86_64-linux/gcc/xgcc
-B/export/users/hjl/build/gnu/tools-build/gcc-mmx-native/build-x86_64-linux/gcc
 -margs
--RTS=/export/users/hjl/build/gnu/tools-build/gcc-mmx-native/build-x86_64-linux/x86_64-pc-linux-gnu/./libada
-q -f /export/gnu/import/git/gitlab/x86-gcc/gcc/testsuite/gnat.dg/vect5.adb
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -O3 -msse2 -fno-vect-cost-model
-fdump-tree-vect-details -c -u -S -o vect5.s^M
+===========================GNAT BUG DETECTED==============================+^M
| 9.0.1 20190212 (experimental) (x86_64-pc-linux-gnu) GCC error:           |^M
| tree check: expected class 'constant', have 'binary' (mult_expr) in      |^M
|     valid_constant_size_p, at tree.c:7524                                |^M
| Error detected at vect5.ads:24:51                                        |^M
| Please submit a bug report; see https://gcc.gnu.org/bugs/ .              |^M
| Use a subject line meaningful to you and us to track the bug.            |^M
| Include the entire contents of this bug box in the report.               |^M
| Include the exact command that you entered.                              |^M
| Also include sources listed below.                                       |^M
+==========================================================================+^M
^M
Please include these source files with error report^M
Note that list may not be accurate in some cases,^M
so please double check that the problem can still^M
be reproduced with the set of files listed.^M
Consider also -gnatd.n switch (see debug.adb).^M
^M
/export/users/hjl/build/gnu/tools-build/gcc-mmx-native/build-x86_64-linux/x86_64-pc-linux-gnu/./libada/adainclude/system.ads^M
/export/gnu/import/git/gitlab/x86-gcc/gcc/testsuite/gnat.dg/vect5.adb^M
/export/gnu/import/git/gitlab/x86-gcc/gcc/testsuite/gnat.dg/vect5.ads^M
/export/gnu/import/git/gitlab/x86-gcc/gcc/testsuite/gnat.dg/vect5_pkg.ads^M
/export/users/hjl/build/gnu/tools-build/gcc-mmx-native/build-x86_64-linux/x86_64-pc-linux-gnu/./libada/adainclude/s-secsta.ads^M
/export/users/hjl/build/gnu/tools-build/gcc-mmx-native/build-x86_64-linux/x86_64-pc-linux-gnu/./libada/adainclude/s-parame.ads^M
/export/users/hjl/build/gnu/tools-build/gcc-mmx-native/build-x86_64-linux/x86_64-pc-linux-gnu/./libada/adainclude/s-stoele.ads^M
^M
compilation abandoned^M
gnatmake:
"/export/gnu/import/git/gitlab/x86-gcc/gcc/testsuite/gnat.dg/vect5.adb"
compilation error^M
compiler exited with status 1
Executing on host:
/export/users/hjl/build/gnu/tools-build/gcc-mmx-native/build-x86_64-linux/gcc/gnatclean
-c -q -n vect5   (timeout = 300)
spawn -ignore SIGHUP
/export/users/hjl/build/gnu/tools-build/gcc-mmx-native/build-x86_64-linux/gcc/gnatclean
-c -q -n vect5^M
FAIL: gnat.dg/vect5.adb 3 blank line(s) in output
FAIL: gnat.dg/vect5.adb (test for excess errors)
>From gcc-bugs-return-633452-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 20:48:46 2019
Return-Path: <gcc-bugs-return-633452-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24734 invoked by alias); 12 Feb 2019 20:48:46 -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 24574 invoked by uid 48); 12 Feb 2019 20:48:42 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89294] [9 regression] ICE in valid_constant_size_p, at tree.c:7524
Date: Tue, 12 Feb 2019 20:48: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89294-4-swwE5m6xgA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89294-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89294-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: 2019-02/txt/msg01754.txt.bz2
Content-length: 433

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl.tools at gmail dot com

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
*** Bug 89320 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-633451-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 20:48:45 2019
Return-Path: <gcc-bugs-return-633451-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24627 invoked by alias); 12 Feb 2019 20:48: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 24536 invoked by uid 48); 12 Feb 2019 20:48:41 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89320] [9 regression] r268774 caused: FAIL: gnat.dg/vect5.adb
Date: Tue, 12 Feb 2019 20:48: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: hjl.tools at gmail dot com
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89320-4-ec8TmPY6Jj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89320-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89320-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: 2019-02/txt/msg01753.txt.bz2
Content-length: 478

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

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

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

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
Dup

*** This bug has been marked as a duplicate of bug 89294 ***
>From gcc-bugs-return-633453-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 20:51:14 2019
Return-Path: <gcc-bugs-return-633453-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27649 invoked by alias); 12 Feb 2019 20:51: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 27586 invoked by uid 48); 12 Feb 2019 20:51:10 -0000
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89318] [9 Regression] arm bootstap failure
Date: Tue, 12 Feb 2019 20:51: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: build, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bernd.edlinger at hotmail dot de
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89318-4-LjgwU7CiZl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89318-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89318-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: 2019-02/txt/msg01755.txt.bz2
Content-length: 336

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

--- Comment #3 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
the instruction looks like created by your patch?

      * config/arm/ldrdstrd.md: Change peepholes to generate PARALLEL SImode
        sets instead of single DImode set and define new insns to match this.
>From gcc-bugs-return-633454-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 20:57:43 2019
Return-Path: <gcc-bugs-return-633454-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84698 invoked by alias); 12 Feb 2019 20:57:43 -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 80909 invoked by uid 48); 12 Feb 2019 20:57:39 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89318] [9 Regression] arm bootstap failure
Date: Tue, 12 Feb 2019 20: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: 9.0
X-Bugzilla-Keywords: build, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89318-4-781VspoaN0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89318-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89318-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: 2019-02/txt/msg01756.txt.bz2
Content-length: 268

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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Can't reproduce with a cross:
./cc1 -quiet -nostdinc -march=armv7-a -mtune=cortex-a9 -mfpu=vfpv3-d16
-mfloat-abi=hard -O2 pr89318.i
succeeds
>From gcc-bugs-return-633455-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 21:09:20 2019
Return-Path: <gcc-bugs-return-633455-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123460 invoked by alias); 12 Feb 2019 21:09: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 123390 invoked by uid 48); 12 Feb 2019 21:09:16 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89318] [9 Regression] arm bootstap failure
Date: Tue, 12 Feb 2019 21:09: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: build, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89318-4-uu8MWGLFT9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89318-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89318-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: 2019-02/txt/msg01757.txt.bz2
Content-length: 700

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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Note the
(insn:TI 64 23 27 (parallel [
            (set (mem/f/c:SI (plus:SI (reg/f:SI 13 sp)
                        (const_int 8 [0x8])) [25 data.fn+0 S4 A64])
                (reg/f:SI 12 ip [117]))
            (set (mem/f/c:SI (plus:SI (reg/f:SI 13 sp)
                        (const_int 12 [0xc])) [4 data.user+0 S4 A32])
                (reg/f:SI 13 sp))
        ]) "../../gcc-9-20190210/isl/isl_union_multi.c":69:51 347 {*arm_strd}
     (expr_list:REG_DEAD (reg/f:SI 12 ip [117])
        (nil)))
insn is there, but passes the constraints.  Do you have the r268766 fix in?
>From gcc-bugs-return-633458-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 21:12:59 2019
Return-Path: <gcc-bugs-return-633458-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127893 invoked by alias); 12 Feb 2019 21:12: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 127850 invoked by uid 48); 12 Feb 2019 21:12:55 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this
Date: Tue, 12 Feb 2019 21:12: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: 8.2.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created
Message-ID: <bug-89303-4-yWEGbQcnRL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg01760.txt.bz2
Content-length: 532

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45672|0                           |1
        is obsolete|                            |

--- Comment #12 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Created attachment 45682
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45682&action=edit
Further reduced testcase
>From gcc-bugs-return-633456-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 21:12:29 2019
Return-Path: <gcc-bugs-return-633456-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126269 invoked by alias); 12 Feb 2019 21:12: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 126171 invoked by uid 48); 12 Feb 2019 21:12:25 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89313] [9 Regression] ICE in process_alt_operands, at lra-constraints.c:2962
Date: Tue, 12 Feb 2019 21:12: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: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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 component everconfirmed
Message-ID: <bug-89313-4-1l8J4rMFmo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89313-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89313-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: 2019-02/txt/msg01758.txt.bz2
Content-length: 1899

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-12
                 CC|                            |bergner at gcc dot gnu.org,
                   |                            |msebor at gcc dot gnu.org
          Component|c                           |rtl-optimization
     Ever confirmed|0                           |1

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed.  Bisection points to r264897:

r264897 | bergner | 2018-10-05 22:12:30 -0400 (Fri, 05 Oct 2018) | 26 lines

gcc/
        PR rtl-optimization/86939
        PR rtl-optimization/87479
        * ira.h (non_conflicting_reg_copy_p): New prototype.
        * ira-lives.c (ignore_reg_for_conflicts): New static variable.
        (make_hard_regno_dead): Don't add conflicts for register
        ignore_reg_for_conflicts.
        (make_object_dead): Likewise.
        (non_conflicting_reg_copy_p): New function.
        (process_bb_node_lives): Set ignore_reg_for_conflicts for copies.
        Remove special conflict handling of REAL_PIC_OFFSET_TABLE_REGNUM.
        * lra-lives.c (ignore_reg_for_conflicts): New static variable.
        (make_hard_regno_dead): Don't add conflicts for register
        ignore_reg_for_conflicts.  Remove special conflict handling of
        REAL_PIC_OFFSET_TABLE_REGNUM.  Remove now unused argument
        check_pic_pseudo_p and update callers.
        (mark_pseudo_dead): Don't add conflicts for register
        ignore_reg_for_conflicts.
        (process_bb_lives): Set ignore_reg_for_conflicts for copies.
>From gcc-bugs-return-633457-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 21:12:36 2019
Return-Path: <gcc-bugs-return-633457-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126995 invoked by alias); 12 Feb 2019 21:12:36 -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 126480 invoked by uid 48); 12 Feb 2019 21:12:31 -0000
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89318] [9 Regression] arm bootstap failure
Date: Tue, 12 Feb 2019 21:12: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: build, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bernd.edlinger at hotmail dot de
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89318-4-lCdLW0NvMh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89318-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89318-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: 2019-02/txt/msg01759.txt.bz2
Content-length: 808

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

--- Comment #6 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
(In reply to Jakub Jelinek from comment #5)
> Note the
> (insn:TI 64 23 27 (parallel [
>             (set (mem/f/c:SI (plus:SI (reg/f:SI 13 sp)
>                         (const_int 8 [0x8])) [25 data.fn+0 S4 A64])
>                 (reg/f:SI 12 ip [117]))
>             (set (mem/f/c:SI (plus:SI (reg/f:SI 13 sp)
>                         (const_int 12 [0xc])) [4 data.user+0 S4 A32])
>                 (reg/f:SI 13 sp))
>         ]) "../../gcc-9-20190210/isl/isl_union_multi.c":69:51 347 {*arm_strd}
>      (expr_list:REG_DEAD (reg/f:SI 12 ip [117])
>         (nil)))
> insn is there, but passes the constraints.  Do you have the r268766 fix in?

no, I have 268755 snapshot.
>From gcc-bugs-return-633459-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 21:13:11 2019
Return-Path: <gcc-bugs-return-633459-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128611 invoked by alias); 12 Feb 2019 21:13: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 128552 invoked by uid 48); 12 Feb 2019 21:13:08 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89318] [9 Regression] arm bootstap failure
Date: Tue, 12 Feb 2019 21: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: build, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
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-89318-4-STuOwtVyZr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89318-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89318-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: 2019-02/txt/msg01761.txt.bz2
Content-length: 428

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed then.
>From gcc-bugs-return-633460-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 21:19:27 2019
Return-Path: <gcc-bugs-return-633460-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11487 invoked by alias); 12 Feb 2019 21:19:26 -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 11433 invoked by uid 55); 12 Feb 2019 21:19:23 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89144] [9 Regression] GCC emits undefined references when a constexpr initializer_list appears in a template function
Date: Tue, 12 Feb 2019 21:19: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.1
X-Bugzilla-Keywords: link-failure
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89144-4-9gmgTotAg0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89144-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89144-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: 2019-02/txt/msg01762.txt.bz2
Content-length: 1578

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

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Feb 12 21:18:51 2019
New Revision: 268827

URL: https://gcc.gnu.org/viewcvs?rev=268827&root=gcc&view=rev
Log:
        PR c++/89144 - link error with constexpr initializer_list.

In this PR, we were unnecessarily rejecting a constexpr initializer_list
with no elements.  This seems like a fairly useless degenerate case, but it
makes sense to avoid allocating an underlying array at all if there are no
elements and instead use a null pointer, like the initializer_list default
constructor.

If the (automatic storage duration) list does have initializer elements, we
continue to reject the declaration, because the initializer_list ends up
referring to an automatic storage duration temporary array, which is not a
suitable constant initializer.  If we make it static, it should be OK
because we refer to a static array.  The second hunk fixes that case.  It
also means we won't diagnose some real errors in templates, but those
diagnostics aren't required, and we'll get them when the template is
instantiated.

        * call.c (convert_like_real) [ck_list]: Don't allocate a temporary
        array for an empty list.
        * typeck2.c (store_init_value): Don't use cxx_constant_init in a
        template.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-initlist11.C
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-initlist11a.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/cp/typeck2.c
>From gcc-bugs-return-633462-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 21:20:27 2019
Return-Path: <gcc-bugs-return-633462-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13687 invoked by alias); 12 Feb 2019 21:20: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 13585 invoked by uid 48); 12 Feb 2019 21:20:22 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89229] [7/8 Regression] Unnecessary ZMM in movoi_internal_avx/movti_internal
Date: Tue, 12 Feb 2019 21:20: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89229-4-BFP88Lsg8z@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89229-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89229-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: 2019-02/txt/msg01764.txt.bz2
Content-length: 1092

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

--- Comment #9 from H.J. Lu <hjl.tools at gmail dot com> ---
[hjl@gnu-4 i386]$ cat pr89229-2.c
/* { dg-do compile } */
/* { dg-options "-O2 -march=skylake-avx512" } */

typedef __int128 __m128t __attribute__ ((__vector_size__ (16), __may_alias__));

__m128t
foo (void)
{
  register __int128 xmm16 __asm ("xmm16") = (__int128) -1;
  asm volatile ("" : "+v" (xmm16));
  return (__m128t) xmm16;
}

/* { dg-final { scan-assembler-not "%zmm\[0-9\]+" } } */
[hjl@gnu-4 i386]$ gcc -O2 -march=skylake-avx512 -S pr89229-2.c -o /tmp/x.s
[hjl@gnu-4 i386]$ cat /tmp/x.s
        .file   "pr89229-2.c"
        .text
        .p2align 4,,15
        .globl  foo
        .type   foo, @function
foo:
.LFB0:
        .cfi_startproc
        vpternlogd      $0xFF, %zmm16, %zmm16, %zmm16  <<<<<<< Should be xmm16
        vmovdqa64       %xmm16, %xmm0
        ret
        .cfi_endproc
.LFE0:
        .size   foo, .-foo
        .ident  "GCC: (GNU) 8.2.1 20190209 (Red Hat 8.2.1-8)"
        .section        .note.GNU-stack,"",@progbits
[hjl@gnu-4 i386]$
>From gcc-bugs-return-633461-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 21:20:01 2019
Return-Path: <gcc-bugs-return-633461-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12664 invoked by alias); 12 Feb 2019 21:20: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 12555 invoked by uid 48); 12 Feb 2019 21:19:57 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89144] [9 Regression] GCC emits undefined references when a constexpr initializer_list appears in a template function
Date: Tue, 12 Feb 2019 21: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.1
X-Bugzilla-Keywords: link-failure
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89144-4-IZDjmRGxtZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89144-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89144-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: 2019-02/txt/msg01763.txt.bz2
Content-length: 423

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

Jason Merrill <jason at gcc dot gnu.org> changed:

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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-633463-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 21:23:10 2019
Return-Path: <gcc-bugs-return-633463-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52399 invoked by alias); 12 Feb 2019 21:23: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 49991 invoked by uid 48); 12 Feb 2019 21:23:06 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85250] Builtin operator overload resolution fails to consider user-defined conversion template
Date: Tue, 12 Feb 2019 21:23: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.0.1
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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 cf_known_to_fail
Message-ID: <bug-85250-4-gf0P4pOstg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85250-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85250-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: 2019-02/txt/msg01765.txt.bz2
Content-length: 1209

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-12
                 CC|                            |msebor at gcc dot gnu.org
     Ever confirmed|0                           |1
      Known to fail|                            |7.3.0, 8.2.0, 9.0

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed with the simplified test case below.  Not a regression.

$ cat pr85250.C && gcc -S -Wall pr85250.C
template <class T, class U> struct X;
template <class T> struct X<T, T> { typedef T U; };

struct A {
  template<typename T, typename X<T, int>::U = 0>
  operator T();
};

int main()
{
  A a;
  return 1 + a;
}
pr85250.C: In function ‘int main()’:
pr85250.C:12:12: error: no match for ‘operator+’ (operand types are ‘int’ and
‘A’)
   12 |   return 1 + a;
      |          ~ ^ ~
      |          |   |
      |          int A
>From gcc-bugs-return-633464-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 21:27:19 2019
Return-Path: <gcc-bugs-return-633464-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60160 invoked by alias); 12 Feb 2019 21:27:19 -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 60110 invoked by uid 48); 12 Feb 2019 21:27:15 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89229] [7/8/9 Regression] Unnecessary ZMM in movoi_internal_avx/movti_internal
Date: Tue, 12 Feb 2019 21:27: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-89229-4-2saeLwbvo4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89229-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89229-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: 2019-02/txt/msg01766.txt.bz2
Content-length: 654

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[7/8 Regression]            |[7/8/9 Regression]
                   |Unnecessary ZMM in          |Unnecessary ZMM in
                   |movoi_internal_avx/movti_in |movoi_internal_avx/movti_in
                   |ternal                      |ternal

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Though, is this really a regression? I mean, have we ever emitted better code?
>From gcc-bugs-return-633465-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 21:42:43 2019
Return-Path: <gcc-bugs-return-633465-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72830 invoked by alias); 12 Feb 2019 21:42:43 -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 72704 invoked by uid 48); 12 Feb 2019 21:42:38 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89229] Unnecessary ZMM in movoi_internal_avx/movti_internal
Date: Tue, 12 Feb 2019 21:42: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89229-4-yueR5dBZ0t@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89229-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89229-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: 2019-02/txt/msg01767.txt.bz2
Content-length: 268

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

--- Comment #11 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Jakub Jelinek from comment #10)
> Though, is this really a regression? I mean, have we ever emitted better
> code?

It isn't a regression.
>From gcc-bugs-return-633466-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 21:59:00 2019
Return-Path: <gcc-bugs-return-633466-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1739 invoked by alias); 12 Feb 2019 21:59: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 130167 invoked by uid 48); 12 Feb 2019 21:58:56 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88248] [F18] Bogus warning about obsolescent feature: Labeled DO statement
Date: Tue, 12 Feb 2019 21:59: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gmx dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88248-4-gOTlIQgCQ4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88248-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88248-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: 2019-02/txt/msg01768.txt.bz2
Content-length: 1877

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

--- Comment #6 from Harald Anlauf <anlauf at gmx dot de> ---
Moving the check from gfc_define_st_label to gfc_reference_st_label:

Index: symbol.c
===================================================================
--- symbol.c    (revision 268826)
+++ symbol.c    (working copy)
@@ -2743,10 +2743,6 @@
                                  "DO termination statement which is not END
DO"
                                  " or CONTINUE with label %d at %C", labelno))
            return;
-         if (type == ST_LABEL_DO_TARGET
-             && !gfc_notify_std (GFC_STD_F2018_OBS, "Labeled DO statement "
-                                 "at %L", label_locus))
-           return;
          break;

        default:
@@ -2804,6 +2800,11 @@
                          "Shared DO termination label %d at %C", labelno))
     return false;

+  if (type == ST_LABEL_DO_TARGET
+      && !gfc_notify_std (GFC_STD_F2018_OBS, "Labeled DO statement "
+                         "at %L", &gfc_current_locus))
+    return false;
+
   if (lp->referenced != ST_LABEL_DO_TARGET)
     lp->referenced = type;
   rc = true;

fixes the issue for me.  It consequently needs adjustment to the test case
f2018_obs.f90, since it references the line with the "do 99 ..." instead
of the do termination line.

I am wondering about the location of the error marker.  E.g. for

subroutine gfcbug151 ()
  do 99 i = 1, 10
99   continue
end subroutine gfcbug151

I get:

gfcbug151.f90:2:17:

    2 |   do 99 i = 1, 10
      |                 1
Warning: Fortran 2018 obsolescent feature: Labeled DO statement at (1)

But I think this is ok.

Should I submit the above, or are there better suggestions?
>From gcc-bugs-return-633467-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 22:04:48 2019
Return-Path: <gcc-bugs-return-633467-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105122 invoked by alias); 12 Feb 2019 22:04: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 105032 invoked by uid 48); 12 Feb 2019 22:04:43 -0000
From: "sean.wang at wdc dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89321] New: cross build with riscv64 gccgo compilation failed due to assert in constructor_expression
Date: Tue, 12 Feb 2019 22:04:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
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: sean.wang at wdc dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
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-89321-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: 2019-02/txt/msg01769.txt.bz2
Content-length: 3746

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

            Bug ID: 89321
           Summary: cross build with riscv64 gccgo compilation failed due
                    to assert in constructor_expression
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
          Assignee: ian at airs dot com
          Reporter: sean.wang at wdc dot com
                CC: cmang at google dot com
  Target Milestone: ---

* Built cross toolchain for riscv64 via gcc master branch commit hash
<4426330625ecc522a5214a990d88a68dc197b15f>

* glibc from 2.28 release branch

* Go build command: 
 /usr/local/go/bin/go/bin/go [build -o /artifacts/xxxxxx/ -compiler gccgo -v
-work -x -gccgoflags -w -s -g3 -X main.gitHash=xxx -g3 -X main.g
tUnixTime=0 -extldflags "-static -Wl,--no-export-dynamic" ./xxx]
WORK=/tmp/go-build855483278

* gccgo command:
 /scratch/cross-gccgo/tools/bin/gccgo -c -g
-fgo-pkgpath=xxxx/xxx/xxx/internal/xxx-o $WORK/b296/_go_.o -I
$WORK/b296/_importcfgroot_ ./xxx.go ./xxx.go ./xxx.go ./xxx.go ./xxx.go
./xxx.go ./xxx.go ./xxx.go ./xxx.go ./xxx.go ./xxx.go ./xxx.go ./xxx.go
./xxx.go ./xxx.go ./xxx.go ./xxx.g\
o ./xxx.go ./xxx.go ./xxx.go ./xxx.go ./xxx.go ./xxx.go ./xxx.go ./xxx.go
./xxx.go

* gccgo compilation warning:
 /deps/riscv64/include/libavutil/mem.h:186:1: warning: 'allg: 'alloc_size'
attribute ignored on a function returning[-Wattributes]
   186 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb,
size_t size);
       | ^~~~~~~~~~~~~

* gccgo internal compiler error:
--BEGIN--
# xxxx/xx/xxx/internal/xxx
        go1: internal compiler error: in constructor_expression, at
go/go-gcc.cc:1811
        0x638fb5 Gcc_backend::constructor_expression(Btype*,
std::vector<Bexpression*, std::allocator<Bexpression*> > const&, Location)
                /scratch/cross-gccgo/src/gcc/gcc/go/go-gcc.cc:1811
        0x6265de
Struct_construction_expression::do_get_backend(Translate_context*)
               
/scratch/cross-gccgo/src/gcc/gcc/go/gofrontend/expressions.cc:13091
        0x628393
Array_construction_expression::get_constructor(Translate_context*, Btype*)
               
/scratch/cross-gccgo/src/gcc/gcc/go/gofrontend/expressions.cc:13315
        0x68dff2 Temporary_statement::do_get_backend(Translate_context*)
               
/scratch/cross-gccgo/src/gcc/gcc/go/gofrontend/statements.cc:548
        0x64f7ad Block::get_backend(Translate_context*)
                /scratch/cross-gccgo/src/gcc/gcc/go/gofrontend/gogo.cc:6666
        0x689fac Block_statement::do_get_backend(Translate_context*)
               
/scratch/cross-gccgo/src/gcc/gcc/go/gofrontend/statements.cc:1860
        0x64f7ad Block::get_backend(Translate_context*)
                /scratch/cross-gccgo/src/gcc/gcc/go/gofrontend/gogo.cc:6666
        0x652b4e Function::build(Gogo*, Named_object*)
                /scratch/cross-gccgo/src/gcc/gcc/go/gofrontend/gogo.cc:6141
        0x65377b Named_object::get_backend(Gogo*, std::vector<Bexpression*,
std::allocator<Bexpression*> >&, std::vector<Btype*, std::allocator<Btype*> >&,
std::vector<Bfunction*, std::allocator<Bf\
unction*> >&)
                /scratch/cross-gccgo/src/gcc/gcc/go/gofrontend/gogo.cc:8228
        0x65beb1 Gogo::write_globals()
                /scratch/cross-gccgo/src/gcc/gcc/go/gofrontend/gogo.cc:1443
        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.
--END --
>From gcc-bugs-return-633468-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 22:13:18 2019
Return-Path: <gcc-bugs-return-633468-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120720 invoked by alias); 12 Feb 2019 22:13: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 120653 invoked by uid 48); 12 Feb 2019 22:13:14 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this
Date: Tue, 12 Feb 2019 22:13: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: 8.2.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89303-4-yZ2CmrVpvn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg01770.txt.bz2
Content-length: 2109

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

--- Comment #13 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Alexandre Duret-Lutz from comment #6)
> I mentioned in my first comment that I had also cases that threw
> bad_weak_ptr.
> I've been able to reproduce those as follows:
> 
> % cat badwptr.cc
> #include <memory>
> 
> class blob final: public std::enable_shared_from_this<blob>
> {
> };
> 
> int main()
> {
>   std::shared_ptr<blob> tg = std::make_shared<blob>();
>   return tg->shared_from_this().use_count();

At this line GDB shows that tg._M_ptr->_M_weak_this._M_refcount is not set
correctly:

(gdb) p *tg._M_ptr
$6 = {<std::__enable_shared_from_this<blob, 0>> = {_M_weak_this = {_M_ptr =
0x614e80, _M_refcount = {_M_pi = 0x0}}}, data = 0x614ea0}
(gdb) p tg 
$7 = {_M_ptr = 0x614e80, _M_refcount = {_M_pi = 0x614e70}}

The _M_weak_this._M_refcount._M_pi member should be the same pointer as
tg._M_refcount._M_pi.

This suggests that __weak_count::_M_assign didn't work properly, and that could
also explain why the weak count isn't correctly decremented in the other test
case, if _M_pi is null here:

      ~__weak_count() noexcept
      {
        if (_M_pi != nullptr)
        {
          _M_pi->_M_weak_release();
        }
#ifdef FIXME
        else __builtin_puts("null");
#endif
      }

That would explain why _M_weak_release() isn't called.

So if the two bugs have the same root cause, it seems to be a problem in
__weak_count::_M_assign, failing to set _M_pi here:

      __weak_count&
      operator=(const __shared_count<_Lp>& __r) noexcept
      {
        _Sp_counted_base<_Lp>* __tmp = __r._M_pi;
        if (__tmp != nullptr)
          __tmp->_M_weak_add_ref();
        if (_M_pi != nullptr)
          _M_pi->_M_weak_release();
        _M_pi = __tmp;
        return *this;
      }





> }
> 
> % g++ -g -O badwptr.cc
> % ./a.out
> terminate called after throwing an instance of 'std::bad_weak_ptr'
>   what():  bad_weak_ptr
> 
> When compiled with -O2 or -O0, the program exits with $?=2 as expected.
>From gcc-bugs-return-633469-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 22:14:10 2019
Return-Path: <gcc-bugs-return-633469-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122008 invoked by alias); 12 Feb 2019 22:14: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 121863 invoked by uid 48); 12 Feb 2019 22:14:04 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89284] gcc -fsanitize=undefined inhibits -Wuninitialized
Date: Tue, 12 Feb 2019 22:14: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: unknown
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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 component blocked everconfirmed
Message-ID: <bug-89284-4-LBJJcqOwcK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89284-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89284-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: 2019-02/txt/msg01771.txt.bz2
Content-length: 2129

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-12
                 CC|                            |msebor at gcc dot gnu.org
          Component|c                           |middle-end
             Blocks|                            |24639
     Ever confirmed|0                           |1

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
You're right that the sanitizers tend to interfere with GCC middle-end warnings
(there are a number of reports about this in Bugzilla -- see for example bug
82076 and the comments there).  Usually the complaints are about the
instrumentation causing false positives, but as the simplified test case below
shows, it can cause false negatives as well.  It may be possible to improve
things but in general the consensus seems to be that given the current
architecture it's unavoidable.  Documenting this in the manual as you suggest
in the upstream discussion sounds like a good idea.

I'm going to confirm this until someone has looked into in more detail how
feasible avoiding the false negative might be in this instance. 

$ cat pr89284.c && gcc -O2 -S -Wall -Wno-unused -fsanitize=undefined,address
pr89284.c
struct A
{
  _Bool a;
  int i;
};

void f (void)
{
  struct A a;

  if (a.i) {   // -Wuninitialized (good)
    struct A b = a;
  }
}

void g (void)
{
  struct A a;

  if (a.a) {   // missing -Wuninitialized
    struct A b = a;
  }
}
pr89284.c: In function ‘f’:
pr89284.c:11:8: warning: ‘a.i’ is used uninitialized in this function
[-Wuninitialized]
   11 |   if (a.i) {   // -Wuninitialized (good)
      |       ~^~


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639
[Bug 24639] [meta-bug] bug to track all Wuninitialized issues
>From gcc-bugs-return-633470-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 22:20:25 2019
Return-Path: <gcc-bugs-return-633470-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21901 invoked by alias); 12 Feb 2019 22:20: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 21827 invoked by uid 48); 12 Feb 2019 22:20:21 -0000
From: "danglin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/64242] Longjmp expansion incorrect
Date: Tue, 12 Feb 2019 22:20: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: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: danglin at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: wilco at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-64242-4-nTAV13e32C@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64242-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64242-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: 2019-02/txt/msg01772.txt.bz2
Content-length: 417

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

John David Anglin <danglin at gcc dot gnu.org> changed:

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

--- Comment #22 from John David Anglin <danglin at gcc dot gnu.org> ---
Also fails on hppa*-*-*.
>From gcc-bugs-return-633471-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 22:23:39 2019
Return-Path: <gcc-bugs-return-633471-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41693 invoked by alias); 12 Feb 2019 22:23: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 41619 invoked by uid 48); 12 Feb 2019 22:23:35 -0000
From: "jifl-bugzilla at jifvik dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89322] New: Use of new and -lsupc++ requires -lstdc++ on architectures without atomics
Date: Tue, 12 Feb 2019 22:23:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jifl-bugzilla at jifvik dot 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-89322-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: 2019-02/txt/msg01773.txt.bz2
Content-length: 2243

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

            Bug ID: 89322
           Summary: Use of new and -lsupc++ requires -lstdc++ on
                    architectures without atomics
           Product: gcc
           Version: 7.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jifl-bugzilla at jifvik dot org
  Target Milestone: ---

Long-standing behaviour is that if you don't want to link against the behemoth
of full libstdc++, but are still using simple C++ like new and delete, you can
link against libsupc++.

ARM9 and ARM9e (ARM arch v5) at least don't have atomic intrinsics, and
therefore the libstdc++ atomicity support relies on gthread_mutexes. When using
new, the unwinder is always pulled in to the final image (even with nothrow),
and the unwinder has a dependency in
libsupc++/eh_throw.cc:__gxx_exception_cleanup() on an atomic decrement which in
turn causes a dependency on __gnu_cxx::__exchange_and_add() as can be seen
here:

/[...]/bin/../lib/gcc/arm-eabi/7.3.0/../../../../arm-eabi/lib/arm9/nointerwork/libsupc++.a(eh_throw.o):
In function `__gxx_exception_cleanup(_Unwind_Reason_Code,
_Unwind_Control_Block*)':
(.text._ZL23__gxx_exception_cleanup19_Unwind_Reason_CodeP21_Unwind_Control_Block+0x24):
undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
collect2: error: ld returned 1 exit status

(This is a toolchain for which an arm9 multilib combo is present).

__exchange_and_add does exist in libstdc++, courtesy of
libstdc++-v3/src/c++98/atomicity.cc. To fix the above error, you need to link
with full -lstdc++, but you shouldn't need to. I guess atomicity related
functions should live in libsupc++, not libstdc++. This doesn't affect more
recent ARM architectures as they have atomic intrinics so there is no
dependency on __gnu_cxx::__exchange_and_add() when wanting to do the atomic
decrement. But it would affect any architecture (ARM or other) which doesn't
have atomic intrinsics.

Personally I can deal with the workaround, but this probably still wants to be
fixed. Some people may not want or have full libstdc++.
>From gcc-bugs-return-633472-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 22:24:40 2019
Return-Path: <gcc-bugs-return-633472-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43390 invoked by alias); 12 Feb 2019 22:24: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 42967 invoked by uid 48); 12 Feb 2019 22:24:14 -0000
From: "danglin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/84877] Local stack copy of BLKmode parameter on the stack is not aligned when the requested alignment exceeds MAX_SUPPORTED_STACK_ALIGNMENT
Date: Tue, 12 Feb 2019 22:24: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: danglin at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: renlin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-84877-4-65sKTa3RO3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84877-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84877-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: 2019-02/txt/msg01774.txt.bz2
Content-length: 420

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

John David Anglin <danglin at gcc dot gnu.org> changed:

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

--- Comment #9 from John David Anglin <danglin at gcc dot gnu.org> ---
Still present on hppa-linux.
>From gcc-bugs-return-633474-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 22:37:12 2019
Return-Path: <gcc-bugs-return-633474-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67204 invoked by alias); 12 Feb 2019 22:37: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 67096 invoked by uid 48); 12 Feb 2019 22:37:09 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this
Date: Tue, 12 Feb 2019 22:37: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: 8.2.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created
Message-ID: <bug-89303-4-hQIQRTGuis@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg01776.txt.bz2
Content-length: 1322

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45682|0                           |1
        is obsolete|                            |

--- Comment #14 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Created attachment 45684
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45684&action=edit
Testcase for both bugs

This new attachment can be used to reproduce both bugs, for any GCC version
from 5.1.0 onwards, with -O1.

By default it shows the memory leak, but when BAD_WEAK_PTR_BUG is defined it
demonstrates the unexpected exception.

Defining FIXME makes both bugs go away.

I've confirmed that the original bug is caused by
_M_weak_this._M_refcount._M_pi being null:

(gdb) p tg
$1 = {_M_ptr = 0x614e80, _M_refcount = {_M_pi = 0x614e70}}
(gdb) p *tg._M_ptr
$2 = {<std::__enable_shared_from_this<blob, 0>> = {_M_weak_this = {_M_ptr =
0x614e80, _M_refcount = {_M_pi = 0x0}}}, data = 0x614ea0}

Bisecting from 4.9 to 5.1 shows the bug started with r221859:

2015-04-03  Jan Hubicka

       PR ipa/65076
       * ipa-inline.c (edge_badness): Add combined size to the denominator.
>From gcc-bugs-return-633473-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 22:37:03 2019
Return-Path: <gcc-bugs-return-633473-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66396 invoked by alias); 12 Feb 2019 22:37: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 66241 invoked by uid 48); 12 Feb 2019 22:36:59 -0000
From: "wjwray at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88572] error: braces around scalar initializer - should be a warning
Date: Tue, 12 Feb 2019 22:37: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: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wjwray 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: cc attachments.created
Message-ID: <bug-88572-4-BGP5mG6odc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88572-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88572-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: 2019-02/txt/msg01775.txt.bz2
Content-length: 1901

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

Will Wray <wjwray at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wjwray at gmail dot com

--- Comment #15 from Will Wray <wjwray at gmail dot com> ---
Created attachment 45683
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45683&action=edit
Proposed patch including updated tests

Accept braces around scalar initializer within aggregate init,
previously rejected; this patch accepts without a warning.

Reject braced empty-brace value-initialization of scalar variable
previously accepted.

Maintain C++98 rejection of scalar braced-init.

See Bug 88572 for details, standards links and extra test code.

Log:
        PR c++/88572
        * decl.c (reshape_init_r): Remove condition that was incorrectly
        rejecting braces around scalar initializer within aggregate init. 
        Produce no warning. Replace with condition rejecting braced-init
        of scalar variable, including empty-brace value-initialization
        that was being incorrectly accepted. Produce same error for both.

        PR c++/88572
        * g++.dg/cpp0x/initlist69.C: Update 2 tests; changed error, OK.
        * g++.dg/cpp1z/direct-enum-init1.C: Update 3 tests; changed error.
        * g++.dg/init/brace1.C: Update 1 test; error only on c++98. Add
          1 test with one more set of braces; error on too many braces.
        * g++.dg/init/brace2.C: Add 1 test; empty-brace scalar init fail.
        * g++.dg/init/union2.C: Update 1 test; error only on c++98. Add
          1 test with one more set of braces; error on too many braces.
        * g++.dg/warn/Wbraces2.C: Update 3 test; 1 error only on c++98.
          2 now give invalid conversion instead of braces error on >98.
>From gcc-bugs-return-633475-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 22:42:17 2019
Return-Path: <gcc-bugs-return-633475-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76173 invoked by alias); 12 Feb 2019 22:42: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 76060 invoked by uid 48); 12 Feb 2019 22:42:12 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this
Date: Tue, 12 Feb 2019 22:42: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: 8.2.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89303-4-a70ATOXBDQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg01777.txt.bz2
Content-length: 588

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

--- Comment #15 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Reverting that patch on gcc-8-branch fixes the bug:

--- a/gcc/ipa-inline.c
+++ b/gcc/ipa-inline.c
@@ -1166,7 +1166,6 @@ edge_badness (struct cgraph_edge *edge, bool dump)
            overall_growth += 256 * 256 - 256;
          denominator *= overall_growth;
         }
-      denominator *= ipa_fn_summaries->get (caller)->self_size + growth;

       badness = - numerator / denominator;


That line is different on trunk, so I only tested on gcc-8-branch.
>From gcc-bugs-return-633477-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 22:45:41 2019
Return-Path: <gcc-bugs-return-633477-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81992 invoked by alias); 12 Feb 2019 22:45: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 81612 invoked by uid 48); 12 Feb 2019 22:45:23 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89229] Unnecessary ZMM in movoi_internal_avx/movti_internal
Date: Tue, 12 Feb 2019 22: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89229-4-iCr10ttWQa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89229-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89229-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: 2019-02/txt/msg01779.txt.bz2
Content-length: 1495

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

--- Comment #12 from H.J. Lu <hjl.tools at gmail dot com> ---
[hjl@gnu-4 tmp]$ cat x.c
/* { dg-do compile } */
/* { dg-options "-O2 -march=skylake-avx512" } */

extern int i;

int
foo1 (void)
{
  register int xmm16 __asm ("xmm16") = i;
  asm volatile ("" : "+v" (xmm16));
  register int xmm17 __asm ("xmm17") = xmm16;
  asm volatile ("" : "+v" (xmm17));
  return xmm17;
}

int
foo2 (void)
{
  register int xmm1 __asm ("xmm1") = i;
  asm volatile ("" : "+v" (xmm1));
  register int xmm17 __asm ("xmm17") = xmm1;
  asm volatile ("" : "+v" (xmm17));
  return xmm1;
}

/* { dg-final { scan-assembler-not "%zmm\[0-9\]+" } } */
[hjl@gnu-4 tmp]$  gcc -S -O2 -march=skylake-avx512 x.c
[hjl@gnu-4 tmp]$ cat x.s
        .file   "x.c"
        .text
        .p2align 4,,15
        .globl  foo1
        .type   foo1, @function
foo1:
.LFB0:
        .cfi_startproc
        vmovd   i(%rip), %xmm16
        vmovdqa32       %zmm16, %zmm17
        vmovd   %xmm17, %eax
        ret
        .cfi_endproc
.LFE0:
        .size   foo1, .-foo1
        .p2align 4,,15
        .globl  foo2
        .type   foo2, @function
foo2:
.LFB1:
        .cfi_startproc
        vmovd   i(%rip), %xmm1
        vmovdqa32       %zmm1, %zmm17
        vmovd   %xmm1, %eax
        ret
        .cfi_endproc
.LFE1:
        .size   foo2, .-foo2
        .ident  "GCC: (GNU) 8.2.1 20190209 (Red Hat 8.2.1-8)"
        .section        .note.GNU-stack,"",@progbits
[hjl@gnu-4 tmp]$
>From gcc-bugs-return-633476-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 22:45:41 2019
Return-Path: <gcc-bugs-return-633476-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81887 invoked by alias); 12 Feb 2019 22:45: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 81531 invoked by uid 48); 12 Feb 2019 22:45:20 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89316] ICE in gen_reg_rtx, at emit-rtl.c:1155
Date: Tue, 12 Feb 2019 22:45: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: 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: cc
Message-ID: <bug-89316-4-ySqE59BKFU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89316-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89316-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: 2019-02/txt/msg01778.txt.bz2
Content-length: 702

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

Eric Gallager <egallager at gcc dot gnu.org> changed:

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

--- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to David Malcolm from comment #1)
> Confirmed on trunk and gcc-8.
> 
> It's failing this assertion:
> 
> 1155	  gcc_assert (can_create_pseudo_p ());
> 
> since:
> 
> (gdb) p reload_completed
> $3 = 1

There are other bugs open based on that assert failing; lemme see if I can find
them...
>From gcc-bugs-return-633478-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 22:50:07 2019
Return-Path: <gcc-bugs-return-633478-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87445 invoked by alias); 12 Feb 2019 22:50: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 87338 invoked by uid 48); 12 Feb 2019 22:50:03 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89316] ICE in gen_reg_rtx, at emit-rtl.c:1155
Date: Tue, 12 Feb 2019 22:50: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: pinskia 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-89316-4-I9yCRFnSE2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89316-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89316-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: 2019-02/txt/msg01780.txt.bz2
Content-length: 348

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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #2)
> There are other bugs open based on that assert failing; lemme see if I can
> find them...

There might be but this is a target specific related to
ix86_expand_split_stack_prologue.
>From gcc-bugs-return-633479-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 22:51:30 2019
Return-Path: <gcc-bugs-return-633479-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89171 invoked by alias); 12 Feb 2019 22:51: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 89077 invoked by uid 48); 12 Feb 2019 22:51:26 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89316] ICE in gen_reg_rtx, at emit-rtl.c:1155
Date: Tue, 12 Feb 2019 22:51: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: 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-89316-4-eQLpS4123Q@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89316-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89316-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: 2019-02/txt/msg01781.txt.bz2
Content-length: 434

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

--- Comment #4 from Eric Gallager <egallager at gcc dot gnu.org> ---

(In reply to Andrew Pinski from comment #3)
> (In reply to Eric Gallager from comment #2)
> > There are other bugs open based on that assert failing; lemme see if I can
> > find them...
> 
> There might be but this is a target specific related to
> ix86_expand_split_stack_prologue.

oh ok never mind then
>From gcc-bugs-return-633480-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 22:55:00 2019
Return-Path: <gcc-bugs-return-633480-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92912 invoked by alias); 12 Feb 2019 22:55: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 92819 invoked by uid 48); 12 Feb 2019 22:54:56 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89316] ICE in gen_reg_rtx, at emit-rtl.c:1155
Date: Tue, 12 Feb 2019 22:55: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: 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-89316-4-GXpw8bNUiB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89316-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89316-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: 2019-02/txt/msg01782.txt.bz2
Content-length: 873

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

--- Comment #5 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #4)
> (In reply to Andrew Pinski from comment #3)
> > (In reply to Eric Gallager from comment #2)
> > > There are other bugs open based on that assert failing; lemme see if I can
> > > find them...
> > 
> > There might be but this is a target specific related to
> > ix86_expand_split_stack_prologue.
> 
> oh ok never mind then

actually since all the bugs seem to be about different targets triggering that
assert in different ways, would it be possible to replace it with an
internal_error() that provides a bit more information as to how exactly the
compiler got there? Right now the assertion failing isn't very informative and
has probably led me to mark more bugs as related than need to be...
>From gcc-bugs-return-633481-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 22:56:46 2019
Return-Path: <gcc-bugs-return-633481-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95168 invoked by alias); 12 Feb 2019 22:56:46 -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 95110 invoked by uid 48); 12 Feb 2019 22:56:43 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89321] cross build with riscv64 gccgo compilation failed due to assert in constructor_expression
Date: Tue, 12 Feb 2019 22:56: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: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89321-4-UhwcHxpgns@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89321-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89321-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: 2019-02/txt/msg01783.txt.bz2
Content-length: 355

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

--- Comment #1 from Ian Lance Taylor <ian at airs dot com> ---
In order to fix this problem I will most likely need some way to reproduce it. 
Can you share a cut down version of the source code that triggers the problem? 
Do you happen to know if the problem occurs when compiling for amd64?
>From gcc-bugs-return-633482-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 22:58:45 2019
Return-Path: <gcc-bugs-return-633482-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99038 invoked by alias); 12 Feb 2019 22:58: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 98951 invoked by uid 48); 12 Feb 2019 22:58:41 -0000
From: "bergner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89313] [9 Regression] ICE in process_alt_operands, at lra-constraints.c:2962
Date: Tue, 12 Feb 2019 22:58: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: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bergner 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-89313-4-1Dzmpqb4Bu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89313-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89313-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: 2019-02/txt/msg01784.txt.bz2
Content-length: 139

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

--- Comment #2 from Peter Bergner <bergner at gcc dot gnu.org> ---
I'll have a look.
>From gcc-bugs-return-633483-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 23:02:25 2019
Return-Path: <gcc-bugs-return-633483-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101306 invoked by alias); 12 Feb 2019 23:02: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 101242 invoked by uid 48); 12 Feb 2019 23:02:19 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89316] ICE in gen_reg_rtx, at emit-rtl.c:1155
Date: Tue, 12 Feb 2019 23:02: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: pinskia 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-89316-4-rtfZsWXfhg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89316-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89316-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: 2019-02/txt/msg01785.txt.bz2
Content-length: 805

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

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #5)
> actually since all the bugs seem to be about different targets triggering
> that assert in different ways, would it be possible to replace it with an
> internal_error() that provides a bit more information as to how exactly the
> compiler got there?

That is why there is a backtrace.  The assert is just asserting we can't create
any new psedu registers as the register allocator has happened already. 
Basically the backend can't directly use copy_to_mode_reg/gen_reg_rtx after
register allocation.  How do you print where you can from when it is two layers
deep?  Also this is why there is a backtrace printed out to help out.
>From gcc-bugs-return-633484-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 23:11:29 2019
Return-Path: <gcc-bugs-return-633484-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3938 invoked by alias); 12 Feb 2019 23:11: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 3872 invoked by uid 48); 12 Feb 2019 23:11:24 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89229] Unnecessary ZMM in movoi_internal_avx/movti_internal
Date: Tue, 12 Feb 2019 23:11: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-89229-4-1AsJyRo8hD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89229-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89229-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: 2019-02/txt/msg01786.txt.bz2
Content-length: 286

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|7.5                         |9.0
>From gcc-bugs-return-633486-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 23:11:57 2019
Return-Path: <gcc-bugs-return-633486-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5402 invoked by alias); 12 Feb 2019 23:11:56 -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 4932 invoked by uid 48); 12 Feb 2019 23:11:52 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89229] Unnecessary ZMM in movoi_internal_avx/movti_internal
Date: Tue, 12 Feb 2019 23:11: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89229-4-ArDnDJ9ggs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89229-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89229-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: 2019-02/txt/msg01788.txt.bz2
Content-length: 234

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

--- Comment #13 from H.J. Lu <hjl.tools at gmail dot com> ---
Created attachment 45685
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45685&action=edit
I am testing this
>From gcc-bugs-return-633485-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 23:11:53 2019
Return-Path: <gcc-bugs-return-633485-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4985 invoked by alias); 12 Feb 2019 23:11: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 4850 invoked by uid 48); 12 Feb 2019 23:11:48 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89312] snprintf warning is unparsable and not confusing
Date: Tue, 12 Feb 2019 23:11: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.4.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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-89312-4-Q5GoNjNk7n@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89312-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89312-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: 2019-02/txt/msg01787.txt.bz2
Content-length: 1688

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

--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
I understand your frustration but there is no good way to tell a benign
truncation from a potentially dangerous bug, so GCC errs on the side of caution
here.

The -Wformat-truncation option detects a number of other kinds of problems, not
just truncation, so turning it off for the whole project will prevent those
other kinds of bugs from being detected.  Among these are passing null pointers
as arguments to %s directives, or unterminated arrays, as shown in the test
case below.  In the future, GCC will detect other problems, including passing
unintialized arrays to %s and overlapping copies.  So I would suggest to
consider using more targeted suppression techniques such as testing the return
value.

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

void f (char *d, unsigned n, const char *s)
{
  __builtin_snprintf (d, n, "a = %s", a);

  if (s)   // typo: should have been 'if (!s)'
    return;

  __builtin_snprintf (d, n, "s = %s", s);
}

t.c: In function ‘f’:
t.c:5:34: warning: ‘%s’ directive argument is not a nul-terminated string
[-Wformat-truncation=]
    5 |   __builtin_snprintf (d, n, "a = %s", a);
      |                                  ^~   ~
t.c:1:12: note: referenced argument declared here
    1 | const char a[4] = { '1', '2', '3', '4' };
      |            ^
t.c:10:3: warning: ‘%s’ directive argument is null [-Wformat-truncation=]
   10 |   __builtin_snprintf (d, n, "s = %s", s);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>From gcc-bugs-return-633487-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 23:14:57 2019
Return-Path: <gcc-bugs-return-633487-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21388 invoked by alias); 12 Feb 2019 23:14:57 -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 21307 invoked by uid 48); 12 Feb 2019 23:14:53 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88993] [9 Regression] GCC 9 -Wformat-overflow=2 should reflect real libc limits
Date: Tue, 12 Feb 2019 23:14: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: diagnostic, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: component
Message-ID: <bug-88993-4-Kb3A0QarGK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88993-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88993-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: 2019-02/txt/msg01789.txt.bz2
Content-length: 478

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |tree-optimization

--- Comment #13 from Martin Sebor <msebor at gcc dot gnu.org> ---
The patch referenced in comment #9 suppresses the warning for printf and
fprintf (leaving it for sprintf).
>From gcc-bugs-return-633488-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 23:18:39 2019
Return-Path: <gcc-bugs-return-633488-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53805 invoked by alias); 12 Feb 2019 23:18: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 53752 invoked by uid 48); 12 Feb 2019 23:18:35 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89229] Unnecessary ZMM in movoi_internal_avx/movti_internal
Date: Tue, 12 Feb 2019 23:18: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89229-4-yhVDpYvEiZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89229-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89229-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: 2019-02/txt/msg01790.txt.bz2
Content-length: 535

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

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Comment on attachment 45685
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45685
I am testing this

The movsi change doesn't look entirely right to me.  While OImode or TImode is
not allowed in ext sse regs unless AVX512VL, that is not the case for SImode,
so for SImode if one or both operands are ext sse regs and !TARGET_AVX512VL, we
need to use MODE_XI and use the pattern with %g1, %g0 in there.
>From gcc-bugs-return-633489-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 23:25:22 2019
Return-Path: <gcc-bugs-return-633489-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80370 invoked by alias); 12 Feb 2019 23:25: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 80290 invoked by uid 48); 12 Feb 2019 23:25:18 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89322] Use of new and -lsupc++ requires -lstdc++ on architectures without atomics
Date: Tue, 12 Feb 2019 23:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 7.3.0
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-89322-4-3yFbknp3yW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89322-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89322-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: 2019-02/txt/msg01791.txt.bz2
Content-length: 402

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-12
     Ever confirmed|0                           |1
>From gcc-bugs-return-633490-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 23:35:11 2019
Return-Path: <gcc-bugs-return-633490-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100372 invoked by alias); 12 Feb 2019 23:35: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 98003 invoked by uid 48); 12 Feb 2019 23:35:06 -0000
From: "kugan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88834] [SVE] Poor addressing mode choices for LD2 and ST2
Date: Tue, 12 Feb 2019 23:35: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: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: kugan at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: kugan.vivekanandarajah at linaro dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created
Message-ID: <bug-88834-4-x7Oj5hDWui@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88834-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88834-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: 2019-02/txt/msg01792.txt.bz2
Content-length: 487

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

kugan at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45661|0                           |1
        is obsolete|                            |

--- Comment #5 from kugan at gcc dot gnu.org ---
Created attachment 45686
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45686&action=edit
ivopt patch v2
>From gcc-bugs-return-633491-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 23:38:50 2019
Return-Path: <gcc-bugs-return-633491-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77309 invoked by alias); 12 Feb 2019 23:38: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 77187 invoked by uid 48); 12 Feb 2019 23:38:47 -0000
From: "kugan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88834] [SVE] Poor addressing mode choices for LD2 and ST2
Date: Tue, 12 Feb 2019 23:38: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: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: kugan at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: kugan.vivekanandarajah at linaro dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88834-4-f6iQTdH9vZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88834-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88834-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: 2019-02/txt/msg01793.txt.bz2
Content-length: 1110

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

--- Comment #6 from kugan at gcc dot gnu.org ---

> 
> Note the difference in mode for aarch64_classify_address. Not sure if this
> is because of the way my patch changes ivopt.

Yes, it ws my mistake in iv-use. with attached patch, I now get
        cmp     w3, 0
        ble     .L1
        sub     w3, w3, #1
        mov     x4, 0
        cntw    x5
        ptrue   p1.s, all
        lsr     w3, w3, 1
        add     w3, w3, 1
        whilelo p0.s, xzr, x3
        .p2align 3,,7
.L3:
        ld2w    {z4.s - z5.s}, p0/z, [x1, x4, lsl 2]
        ld2w    {z2.s - z3.s}, p0/z, [x2, x4, lsl 2]
        add     z0.s, z4.s, z2.s
        sub     z1.s, z5.s, z3.s
        st2w    {z0.s - z1.s}, p0, [x0, x4, lsl 2]
        whilelo p0.s, x5, x3
        incb    x4, all, mul #2
        incw    x5
        ptest   p1, p0.b
        bne     .L3
.L1:
        ret
        .cfi_endproc

I will post the patch for review after stage-1 opens. In the meantime any
review is appreciated. Especially the part where iv-use is setup and
get_alias_ptr_type_for_ptr_address.
>From gcc-bugs-return-633492-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 12 23:53:00 2019
Return-Path: <gcc-bugs-return-633492-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24934 invoked by alias); 12 Feb 2019 23:52: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 24848 invoked by uid 48); 12 Feb 2019 23:52:55 -0000
From: "sean.wang at wdc dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89321] cross build with riscv64 gccgo compilation failed due to assert in constructor_expression
Date: Tue, 12 Feb 2019 23:52: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: sean.wang at wdc dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89321-4-5Dapqn8urq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89321-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89321-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: 2019-02/txt/msg01794.txt.bz2
Content-length: 308

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

--- Comment #2 from sean.wang at wdc dot com ---
I can certainly try. Based on the backtrace, do you have an educated guess on
what type of condition in the code that I can try to isolate? For example, what
does the assert condition mean? Thank you.
>From gcc-bugs-return-633494-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 00:01:12 2019
Return-Path: <gcc-bugs-return-633494-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53914 invoked by alias); 13 Feb 2019 00:01: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 51105 invoked by uid 48); 13 Feb 2019 00:01:01 -0000
From: "acsawdey at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88308] ICE in maybe_record_trace_start, at dwarf2cfi.c:2309
Date: Wed, 13 Feb 2019 00:01: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: acsawdey at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: acsawdey at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88308-4-bxBwSjeezV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88308-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88308-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: 2019-02/txt/msg01796.txt.bz2
Content-length: 614

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

--- Comment #4 from acsawdey at gcc dot gnu.org ---
Tracked down the difference between -m32 and -m64. In the -m64 case,
rs6000_emit_move calls force_const_mem and that will set LABEL_PRESERVE_P on a
label_ref that it finds, which is what marks the jump table label for
preservation. In the -m32 case, none of this if tests succeed inside the case
E_SImode/E_DImode and as a result rs6000_emit_move does not call
force_const_mem.

It really seems to me like the label for the jump table should be marked for
preservation somewhere more definite than this.
>From gcc-bugs-return-633493-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 00:01:07 2019
Return-Path: <gcc-bugs-return-633493-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52286 invoked by alias); 13 Feb 2019 00:01:04 -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 48655 invoked by uid 48); 13 Feb 2019 00:00:56 -0000
From: "bergner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89313] [9 Regression] ICE in process_alt_operands, at lra-constraints.c:2962
Date: Wed, 13 Feb 2019 00:01: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: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bergner at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: bergner at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-89313-4-biQTf6E8tr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89313-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89313-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: 2019-02/txt/msg01795.txt.bz2
Content-length: 1157

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

Peter Bergner <bergner at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |bergner at gcc dot gnu.org

--- Comment #3 from Peter Bergner <bergner at gcc dot gnu.org> ---
This is not a bug in my code, it's just that before my commit, we did not catch
the illegal asm constraint usage and LRA "fixed" up the code without
complaining, but given it generated code different than what the used
requested, it silently generated "wrong" code.

With my commit, we're now generating code that LRA knows is wrong and so ICEs. 
I think the fix is to catch the illegal asm constraint usage and emit a useful
error message, similar to what I did for PR87600 (r265942).  I'll see if I add
some extra test(s) to catch this scenario.  I'm actually surprised the tests I
added didn't catch this already, so there must be something special about this
test case I didn't check for.
>From gcc-bugs-return-633495-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 00:03:00 2019
Return-Path: <gcc-bugs-return-633495-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46905 invoked by alias); 13 Feb 2019 00:03: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 41440 invoked by uid 48); 13 Feb 2019 00:02:56 -0000
From: "walter.zwieflhofer at ineosteamuk dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89291] internal compiler error: in gfc_trans_use_stmts
Date: Wed, 13 Feb 2019 00:03: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.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: walter.zwieflhofer at ineosteamuk dot com
X-Bugzilla-Status: WAITING
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-89291-4-MjhRZxvzoQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89291-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89291-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: 2019-02/txt/msg01797.txt.bz2
Content-length: 442

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

--- Comment #3 from zwieflhofer <walter.zwieflhofer at ineosteamuk dot com> ---
Contacted NCAR, the providers of the source code. The bug is known to them and
they have a workaround:
Set
-DBUILD_RRTMG_FAST=0
to
-DBUILD_RRTMG_FAST=1


From my side, this bug report can be closed. 


But I expect it to resurface as more wrf users are moving to the later gcc
compiler versions.
>From gcc-bugs-return-633496-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 00:05:19 2019
Return-Path: <gcc-bugs-return-633496-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56084 invoked by alias); 13 Feb 2019 00:05:19 -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 56015 invoked by uid 48); 13 Feb 2019 00:05:15 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89321] cross build with riscv64 gccgo compilation failed due to assert in constructor_expression
Date: Wed, 13 Feb 2019 00:05: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: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89321-4-3wWCNXQMuF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89321-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89321-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: 2019-02/txt/msg01798.txt.bz2
Content-length: 541

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

--- Comment #3 from Ian Lance Taylor <ian at airs dot com> ---
I'm not sure exactly what assert it is, because there is no assert on that line
of go-gcc.cc.  But it is most likely an assertion saying that when compiling a
struct composite literal, the number of fields in the struct does not match the
number of values in the composite literal.  That should be impossible, since
the compiler fills in zero values as needed.  So unfortunately I'm not sure
that is all that helpful.
>From gcc-bugs-return-633497-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 00:10:43 2019
Return-Path: <gcc-bugs-return-633497-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106761 invoked by alias); 13 Feb 2019 00:10:43 -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 106705 invoked by uid 55); 13 Feb 2019 00:10:39 -0000
From: "ian at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89193] "make distclean" leaves stuff in gotools/
Date: Wed, 13 Feb 2019 00:10: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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89193-4-tLiDFyMAAm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89193-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89193-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: 2019-02/txt/msg01799.txt.bz2
Content-length: 544

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

--- Comment #1 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Wed Feb 13 00:10:06 2019
New Revision: 268830

URL: https://gcc.gnu.org/viewcvs?rev=268830&root=gcc&view=rev
Log:
        PR go/89193
        * Makefile.am (mostlyclean-local): Avoid getting an error from
        chmod.  Remove check-vet-dir and gocache-test.
        * Makefile.in: Regenerate.

Modified:
    trunk/gotools/ChangeLog
    trunk/gotools/Makefile.am
    trunk/gotools/Makefile.in
>From gcc-bugs-return-633498-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 00:17:18 2019
Return-Path: <gcc-bugs-return-633498-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126929 invoked by alias); 13 Feb 2019 00:17:18 -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 126791 invoked by uid 48); 13 Feb 2019 00:17:13 -0000
From: "bergner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89313] [9 Regression] ICE in process_alt_operands, at lra-constraints.c:2962
Date: Wed, 13 Feb 2019 00:17: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: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bergner at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: bergner at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89313-4-G71pDqVXq0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89313-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89313-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: 2019-02/txt/msg01800.txt.bz2
Content-length: 470

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

--- Comment #4 from Peter Bergner <bergner at gcc dot gnu.org> ---
Actually, the error message:

    z1.c:7:1: error: unable to generate reloads for impossible constraints:

is a new LRA test that I added as part of one of my other commits that is
catching the illegal register constraints being used, so this is a correct
error message.  That said, we probably should still catch this earlier in
expand_asm_stmt().
>From gcc-bugs-return-633499-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 00:19:09 2019
Return-Path: <gcc-bugs-return-633499-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 794 invoked by alias); 13 Feb 2019 00:19: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 732 invoked by uid 48); 13 Feb 2019 00:19:04 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89229] Unnecessary ZMM in movoi_internal_avx/movti_internal
Date: Wed, 13 Feb 2019 00:19: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89229-4-UZDDMM1P1x@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89229-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89229-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: 2019-02/txt/msg01801.txt.bz2
Content-length: 1002

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

--- Comment #15 from H.J. Lu <hjl.tools at gmail dot com> ---
[hjl@gnu-4 gcc]$ cat /tmp/x.c 
/* { dg-do compile { target { ! ia32 } } } */
/* { dg-options "-O2 -march=skylake-avx512 -mprefer-vector-width=512" } */

extern double d;

void
foo1 (double x)
{
  register double xmm16 __asm ("xmm16") = x;
  asm volatile ("" : "+v" (xmm16));
  d = xmm16;
}

/* { dg-final { scan-assembler-not "%zmm\[0-9\]+" } } */
[hjl@gnu-4 gcc]$  gcc -S -O2 -march=skylake-avx512 /tmp/x.c
-mprefer-vector-width=512
[hjl@gnu-4 gcc]$ cat x.s
        .file   "x.c"
        .text
        .p2align 4,,15
        .globl  foo1
        .type   foo1, @function
foo1:
.LFB0:
        .cfi_startproc
        vmovapd %zmm0, %zmm16
        vmovsd  %xmm16, d(%rip)
        ret
        .cfi_endproc
.LFE0:
        .size   foo1, .-foo1
        .ident  "GCC: (GNU) 8.2.1 20190209 (Red Hat 8.2.1-8)"
        .section        .note.GNU-stack,"",@progbits
[hjl@gnu-4 gcc]$
>From gcc-bugs-return-633500-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 00:24:50 2019
Return-Path: <gcc-bugs-return-633500-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11936 invoked by alias); 13 Feb 2019 00:24: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 11831 invoked by uid 48); 13 Feb 2019 00:24:45 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89193] "make distclean" leaves stuff in gotools/
Date: Wed, 13 Feb 2019 00:24: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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89193-4-FxDxqUntj4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89193-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89193-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: 2019-02/txt/msg01802.txt.bz2
Content-length: 437

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

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> ---
Thanks, should be fixed.
>From gcc-bugs-return-633501-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 00:45:46 2019
Return-Path: <gcc-bugs-return-633501-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33684 invoked by alias); 13 Feb 2019 00:45:46 -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 33614 invoked by uid 48); 13 Feb 2019 00:45:42 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89229] Unnecessary ZMM in movoi_internal_avx/movti_internal
Date: Wed, 13 Feb 2019 00: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89229-4-n0vqbWrkZR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89229-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89229-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: 2019-02/txt/msg01803.txt.bz2
Content-length: 995

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

--- Comment #16 from H.J. Lu <hjl.tools at gmail dot com> ---
[hjl@gnu-4 gcc]$ cat /tmp/y.c
/* { dg-do compile { target { ! ia32 } } } */
/* { dg-options "-O2 -march=skylake-avx512 -mprefer-vector-width=512" } */

extern float d;

void
foo1 (float x)
{
  register float xmm16 __asm ("xmm16") = x;
  asm volatile ("" : "+v" (xmm16));
  d = xmm16;
}

/* { dg-final { scan-assembler-not "%zmm\[0-9\]+" } } */
[hjl@gnu-4 gcc]$ gcc -S -O2 -march=skylake-avx512 /tmp/y.c
-mprefer-vector-width=512
[hjl@gnu-4 gcc]$ cat y.s
        .file   "y.c"
        .text
        .p2align 4,,15
        .globl  foo1
        .type   foo1, @function
foo1:
.LFB0:
        .cfi_startproc
        vmovaps %zmm0, %zmm16
        vmovss  %xmm16, d(%rip)
        ret
        .cfi_endproc
.LFE0:
        .size   foo1, .-foo1
        .ident  "GCC: (GNU) 8.2.1 20190209 (Red Hat 8.2.1-8)"
        .section        .note.GNU-stack,"",@progbits
[hjl@gnu-4 gcc]$
>From gcc-bugs-return-633502-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 00:49:59 2019
Return-Path: <gcc-bugs-return-633502-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63424 invoked by alias); 13 Feb 2019 00:49: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 63361 invoked by uid 48); 13 Feb 2019 00:49:54 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89229] Unnecessary ZMM in movoi_internal_avx/movti_internal
Date: Wed, 13 Feb 2019 00:49: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89229-4-vgzX0Y8Cb9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89229-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89229-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: 2019-02/txt/msg01804.txt.bz2
Content-length: 1224

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

--- Comment #17 from H.J. Lu <hjl.tools at gmail dot com> ---
[hjl@gnu-4 gcc]$ cat /tmp/z.c
/* { dg-do compile { target { ! ia32 } } } */
/* { dg-options "-O2 -march=skylake-avx512" } */

extern long long i;

long long
foo1 (void)
{
  register long long xmm16 __asm ("xmm16") = i;
  asm volatile ("" : "+v" (xmm16));
  register long long xmm17 __asm ("xmm17") = xmm16;
  asm volatile ("" : "+v" (xmm17));
  return xmm17;
}

/* { dg-final { scan-assembler-times
"vmovdqa32\[^\n\r]*xmm1\[67]\[^\n\r]*xmm1\[67]" 1 } } */
/* { dg-final { scan-assembler-not "%zmm\[0-9\]+" } } */
[hjl@gnu-4 gcc]$ gcc -S -O2 -march=skylake-avx512 /tmp/z.c   -mno-avx512vl
[hjl@gnu-4 gcc]$ cat z.s
        .file   "z.c"
        .text
        .p2align 4,,15
        .globl  foo1
        .type   foo1, @function
foo1:
.LFB0:
        .cfi_startproc
        vmovq   i(%rip), %xmm16
        vmovdqa64       %xmm16, %xmm17  <<< This is an AVX512VL instruction.
        vmovq   %xmm17, %rax
        ret
        .cfi_endproc
.LFE0:
        .size   foo1, .-foo1
        .ident  "GCC: (GNU) 8.2.1 20190209 (Red Hat 8.2.1-8)"
        .section        .note.GNU-stack,"",@progbits
[hjl@gnu-4 gcc]$
>From gcc-bugs-return-633503-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 00:51:05 2019
Return-Path: <gcc-bugs-return-633503-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64990 invoked by alias); 13 Feb 2019 00:51: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 64743 invoked by uid 48); 13 Feb 2019 00:50:58 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89229] Unnecessary ZMM in movoi_internal_avx/movti_internal
Date: Wed, 13 Feb 2019 00:51: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89229-4-DHAlWSTWvI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89229-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89229-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: 2019-02/txt/msg01805.txt.bz2
Content-length: 915

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

--- Comment #18 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Jakub Jelinek from comment #14)
> Comment on attachment 45685 [details]
> I am testing this
> 
> The movsi change doesn't look entirely right to me.  While OImode or TImode
> is not allowed in ext sse regs unless AVX512VL, that is not the case for
> SImode, so for SImode if one or both operands are ext sse regs and
> !TARGET_AVX512VL, we need to use MODE_XI and use the pattern with %g1, %g0
> in there.

No need to set MODE_XI:

        if (EXT_REX_SSE_REG_P (operands[0])
              || EXT_REX_SSE_REG_P (operands[1]))
            {
              if (TARGET_AVX512VL)
                return "vmovdqa32\t{%1, %0|%0, %1}"; 
              else
                return "vmovdqa32\t{%g1, %0|%0, %g1}";
            }
          else
            return "%vmovdqa\t{%1, %0|%0, %1}";
>From gcc-bugs-return-633504-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 04:29:03 2019
Return-Path: <gcc-bugs-return-633504-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1935 invoked by alias); 13 Feb 2019 04:29: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 1851 invoked by uid 48); 13 Feb 2019 04:28:59 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88982] ICE in tsubst_pack_expansion, at cp/pt.c:12221
Date: Wed, 13 Feb 2019 04: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.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-88982-4-fSvCuI7mUe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88982-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88982-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: 2019-02/txt/msg01806.txt.bz2
Content-length: 561

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-13
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed.
>From gcc-bugs-return-633505-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 04:32:28 2019
Return-Path: <gcc-bugs-return-633505-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111903 invoked by alias); 13 Feb 2019 04:32: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 111824 invoked by uid 48); 13 Feb 2019 04:32:23 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88982] ICE in tsubst_pack_expansion, at cp/pt.c:12221
Date: Wed, 13 Feb 2019 04:32: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.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88982-4-t15UcwCBhj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88982-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88982-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: 2019-02/txt/msg01807.txt.bz2
Content-length: 1160

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

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Started with r247842.  Before that:

88982.C: In instantiation of ‘struct A<int, short int>’:
88982.C:10:14:   required from here
88982.C:2:73: error: type mismatch in nontype parameter pack
   template<template<typename, Ts = 0> class ...Cs, Cs<Ts> ...Vs> struct B {
                                                                         ^
88982.C:2:73: error: could not convert template argument
‘#‘nontype_argument_pack’ not supported by dump_expr#<expression error>’ from
‘Cs<Ts>’ to ‘Cs<Ts>’
88982.C:2:73: error: type mismatch in nontype parameter pack
88982.C:2:73: error: could not convert template argument
‘#‘nontype_argument_pack’ not supported by dump_expr#<expression error>’ from
‘Cs<Ts>’ to ‘Cs<Ts>’
88982.C:10:16: error: ‘B’ in ‘struct A<int, short int>’ does not name a
template type
 A<int, short>::B<Int, Char> b;
                ^
>From gcc-bugs-return-633506-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 04:33:26 2019
Return-Path: <gcc-bugs-return-633506-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113358 invoked by alias); 13 Feb 2019 04: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 113258 invoked by uid 48); 13 Feb 2019 04:33:21 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89048] constant evaluation in trailing return type rejected
Date: Wed, 13 Feb 2019 04: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: 9.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-89048-4-DFsP7dP1dj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89048-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89048-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: 2019-02/txt/msg01808.txt.bz2
Content-length: 568

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2019-02-13
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
WAITING thus.
>From gcc-bugs-return-633507-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 04:46:41 2019
Return-Path: <gcc-bugs-return-633507-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123620 invoked by alias); 13 Feb 2019 04:46:41 -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 123552 invoked by uid 48); 13 Feb 2019 04:46:34 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88003] ICE on outside definition of inner function-local class in poplevel_class, at cp/name-lookup.c:4325
Date: Wed, 13 Feb 2019 04:46: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: 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-88003-4-1gWyDCskby@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88003-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88003-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: 2019-02/txt/msg01809.txt.bz2
Content-length: 1186

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-13
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed.  Started with r185768, before:

88003.C:1:11: error: ‘test’ function uses ‘auto’ type specifier without
trailing return type
88003.C:8:23: error: ‘test’ was not declared in this scope
88003.C:8:23: error: ‘test’ was not declared in this scope
88003.C:8:28: error: invalid type in declaration before ‘;’ token
88003.C:9:8: error: ‘TN’ is not a class, namespace, or enumeration
88003.C:9:14: error: expected unqualified-id before ‘{’ token
>From gcc-bugs-return-633508-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 04:47:06 2019
Return-Path: <gcc-bugs-return-633508-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124445 invoked by alias); 13 Feb 2019 04:47:06 -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 124398 invoked by uid 48); 13 Feb 2019 04:47:03 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88003] ICE on outside definition of inner function-local class in poplevel_class, at cp/name-lookup.c:4325
Date: Wed, 13 Feb 2019 04: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: 9.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88003-4-DvuiLcCin1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88003-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88003-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: 2019-02/txt/msg01810.txt.bz2
Content-length: 281

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

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
That is, with this version of the test:

auto test() {
  struct O { 
    struct N;
  };  
  return O();
}

typedef decltype(test()) TN;
struct TN::N {};
>From gcc-bugs-return-633510-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 04:51:02 2019
Return-Path: <gcc-bugs-return-633510-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14337 invoked by alias); 13 Feb 2019 04:51: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 14146 invoked by uid 48); 13 Feb 2019 04:50:58 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/67491] [meta-bug] concepts issues
Date: Wed, 13 Feb 2019 04:51:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords: meta-bug
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-67491-4-vyzZmNsdiN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67491-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67491-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: 2019-02/txt/msg01812.txt.bz2
Content-length: 472

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491
Bug 67491 depends on bug 87113, which changed state.

Bug 87113 Summary: ICE in adjust_temp_type at cp/constexpr.c:1205
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87113

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-633509-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 04:51:01 2019
Return-Path: <gcc-bugs-return-633509-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14220 invoked by alias); 13 Feb 2019 04:51: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 14107 invoked by uid 48); 13 Feb 2019 04:50:57 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87113] ICE in adjust_temp_type at cp/constexpr.c:1205
Date: Wed, 13 Feb 2019 04: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: 7.1.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-87113-4-oF6DC9WUz2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87113-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87113-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: 2019-02/txt/msg01811.txt.bz2
Content-length: 440

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

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

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

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed by r266877.
>From gcc-bugs-return-633511-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 04:53:28 2019
Return-Path: <gcc-bugs-return-633511-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17101 invoked by alias); 13 Feb 2019 04:53: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 17014 invoked by uid 48); 13 Feb 2019 04:53:24 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86961] ICE in finish_member_declaration when an alias template is used
Date: Wed, 13 Feb 2019 04: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: 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-86961-4-abPEmhQI3G@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86961-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86961-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: 2019-02/txt/msg01813.txt.bz2
Content-length: 561

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-13
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed.
>From gcc-bugs-return-633512-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 05:02:39 2019
Return-Path: <gcc-bugs-return-633512-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28476 invoked by alias); 13 Feb 2019 05:02: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 28395 invoked by uid 48); 13 Feb 2019 05:02:35 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/77304] ICE on C++ code with invalid template parameter: in gimplify_expr, at gimplify.c:11260
Date: Wed, 13 Feb 2019 05:02: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.0
X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc assigned_to
Message-ID: <bug-77304-4-EtWVMeycma@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77304-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77304-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: 2019-02/txt/msg01814.txt.bz2
Content-length: 1006

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |mpolacek at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |mpolacek at gcc dot gnu.org

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed now:

77304.C: In instantiation of ‘static void* A<T>::g() [with T = int]’:
77304.C:17:21:   required from here
77304.C:9:12: error: invalid use of member function ‘template<S <anonymous> >
void A<T>::f() [with S <anonymous> = <enumerator>; T = int]’ (did you forget
the ‘()’ ?)
    9 |     return (void *) f < a >;
      |            ^~~~~~~~~~~~~~~~
      |                            ()

I'll add the test.
>From gcc-bugs-return-633513-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 05:05:22 2019
Return-Path: <gcc-bugs-return-633513-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31931 invoked by alias); 13 Feb 2019 05:05: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 31882 invoked by uid 48); 13 Feb 2019 05:05:19 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71829] g++-6: internal compiler error: Segmentation fault (program cc1plus)
Date: Wed, 13 Feb 2019 05:05: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: 6.1.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek 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: bug_status cc resolution
Message-ID: <bug-71829-4-QHZZ5p9TYi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71829-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71829-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: 2019-02/txt/msg01815.txt.bz2
Content-length: 604

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
                 CC|                            |mpolacek at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
GCC 6 is not supported anymore; no preprocessed source provided.  Please reopen
if this still fails.
>From gcc-bugs-return-633514-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 05:09:38 2019
Return-Path: <gcc-bugs-return-633514-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50342 invoked by alias); 13 Feb 2019 05:09: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 50278 invoked by uid 48); 13 Feb 2019 05:09:33 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/67823] ICE in tsubst_copy, at cp/pt.c:13635
Date: Wed, 13 Feb 2019 05:09: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: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-67823-4-TUvKSDJtL4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67823-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67823-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: 2019-02/txt/msg01816.txt.bz2
Content-length: 476

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

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

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

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Assuming fixed, please reopen if that's not the case.
>From gcc-bugs-return-633515-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 05:35:57 2019
Return-Path: <gcc-bugs-return-633515-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48502 invoked by alias); 13 Feb 2019 05:35:57 -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 48412 invoked by uid 48); 13 Feb 2019 05:35:54 -0000
From: "ganeshemb at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/89323] New: Asan memory leak detection on x86 platform
Date: Wed, 13 Feb 2019 05:35:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: sanitizer
X-Bugzilla-Version: 6.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ganeshemb 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-89323-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: 2019-02/txt/msg01817.txt.bz2
Content-length: 2202

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

            Bug ID: 89323
           Summary: Asan memory leak detection on x86 platform
           Product: gcc
           Version: 6.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ganeshemb at gmail dot com
                CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
                    jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at gcc dot gnu.org
  Target Milestone: ---

Hi,

Asan memory leak detection does not seem to on x86 platform.

Sample C program with memory leak

cat asantest.c

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int main (int argc, char *argv[])
{
    char *name = (char*) malloc(10);
    strcpy(name, argv[1]);
    printf("Hello, %s!\n", name);
    return 0;
}


`gcc -g -m32 -fsanitize=address -fno-omit-frame-pointer asantest.c -o santest`

```
objdump -a asantest

asantest:     file format elf32-i386
```
```
 ldd asantest
        linux-gate.so.1 (0xf778a000)
        libasan.so.3 => /usr/lib32/libasan.so.3 (0xf71e0000)
```
```
gcc --version
gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516 
```
when program run as shown below , no leaks were detected.

```
./asantest world
Hello, world!
```
when program run with ASAN_OPTIONS , following error is shown.

```
ASAN_OPTIONS=detect_leaks=1 ./asantest world
==8192==AddressSanitizer: detect_leaks is not supported on this platform.
```
My system info

```
 lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
```
```
uname -r
4.9.0-8-amd64
```

works for current clang:

clang-6.0 -g -fsanitize=address -fno-omit-frame-pointer -m32  asantest.c  &&
./a.out 

AddressSanitizer:DEADLYSIGNAL
=================================================================
==6318==ERROR: AddressSanitizer: SEGV on unknown address 0x00000000 (pc
0xf74f2a66 bp 0xfff26cb8 sp 0xfff26854 T0)



Thanks in advance.
>From gcc-bugs-return-633516-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 05:43:39 2019
Return-Path: <gcc-bugs-return-633516-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65974 invoked by alias); 13 Feb 2019 05:43: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 65869 invoked by uid 48); 13 Feb 2019 05:43:35 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/89323] Asan memory leak detection on x86 platform
Date: Wed, 13 Feb 2019 05:43: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: 6.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-89323-4-jIC6lQVUuL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89323-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89323-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: 2019-02/txt/msg01818.txt.bz2
Content-length: 602

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2019-02-13
     Ever confirmed|0                           |1

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>works for current clang:
Have you tried a current gcc because compare a 3 year old GCC to a 6 month old
clang is not right.
>From gcc-bugs-return-633517-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 05:56:22 2019
Return-Path: <gcc-bugs-return-633517-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125724 invoked by alias); 13 Feb 2019 05:56: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 125121 invoked by uid 48); 13 Feb 2019 05:56:17 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87689] PowerPC64 ELFv2 function parameter passing violation
Date: Wed, 13 Feb 2019 05:56: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: amodra 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-87689-4-R736ej9QBr@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: 2019-02/txt/msg01819.txt.bz2
Content-length: 1457

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

--- Comment #17 from Alan Modra <amodra at gmail dot com> ---
> On platforms where varargs have a different calling
> signature from normal functions, this would be an ABI change.

True, but in C terms, gfortran is currently doing this:
void f (char *res, int reslen);
..
  f (res, 20, &c, &i1, &i2, &i3, &i4, &i5, &i6);
That's why I said we have "lying prototypes".

The patch in comment #12 changes things to
void f (char *res, int reslen, ...);
..
  f (res, 20, &c, &i1, &i2, &i3, &i4, &i5, &i6);

Which at least makes the prototype and call compatible in that translation
unit.  We have ABI violations in both cases as neither prototype matches the
actual function definition.  Yes, my patch is just a hack, but..

> It would probably make more sense to build the decl from the call
> itself.
This would require major surgery, I think.  Another option would be to pass
info to the backend that the call is really not prototyped despite the presence
of those "hidden" args.

For now, I'm going to post a backend patch for this problem, in
rs6000_function_parms_need_stack:

  /* FIXME: Fortran arg lists can contain hidden parms, fooling
     prototype_p into saying the function is prototyped when in fact
     the number and type of args is unknown.  See PR 87689.  */
  if (!incoming && (strcmp (lang_hooks.name, "GNU F77") == 0
                    || lang_GNU_Fortran ()))
    return true;
>From gcc-bugs-return-633518-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 06:28:32 2019
Return-Path: <gcc-bugs-return-633518-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98341 invoked by alias); 13 Feb 2019 06:28:32 -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 98268 invoked by uid 48); 13 Feb 2019 06:28:28 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89324] New: ICE in extract_constrain_insn, at recog.c:2211 on aarch64
Date: Wed, 13 Feb 2019 06:28: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: unknown
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 target_milestone
Message-ID: <bug-89324-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: 2019-02/txt/msg01820.txt.bz2
Content-length: 2202

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

            Bug ID: 89324
           Summary: ICE in extract_constrain_insn, at recog.c:2211 on
                    aarch64
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---

Following is causing ICE:

$ cat ice.f90
module a
contains
  pure function myotherlen()
    myotherlen = 99
  end  
  subroutine b
    characterx
    block
       character(myotherlen()) c
       c = "abc"
       x = c
    end block

    end  
end

$ aarch64-linux-gnu-gcc ice.f90 -fsanitize=undefined -fno-schedule-insns -O2 -c
ice.f90
ice.f90:14:0:

   14 |     end
      | 
Error: insn does not satisfy its constraints:
(insn 85 16 22 2 (parallel [
            (set (reg:CC 66 cc)
                (compare:CC (reg/f:DI 31 sp)
                    (const_int -3 [0xfffffffffffffffd])))
            (set (reg/f:DI 19 x19 [110])
                (plus:DI (reg/f:DI 31 sp)
                    (const_int 3 [0x3])))
        ]) "ice.f90":10:0 314 {subdi3_compare1_imm}
     (nil))
during RTL pass: cprop_hardreg
ice.f90:14:0: internal compiler error: in extract_constrain_insn, at
recog.c:2211
0x5d848d _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/rtl-error.c:108
0x5d84b3 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/rtl-error.c:118
0x5d7a28 extract_constrain_insn(rtx_insn*)
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/recog.c:2211
0xabec97 copyprop_hardreg_forward_1
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/regcprop.c:801
0xabf7e4 execute
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/regcprop.c:1307
>From gcc-bugs-return-633519-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 06:29:41 2019
Return-Path: <gcc-bugs-return-633519-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101799 invoked by alias); 13 Feb 2019 06:29:41 -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 101704 invoked by uid 48); 13 Feb 2019 06:29:37 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89324] ICE in extract_constrain_insn, at recog.c:2211 on aarch64
Date: Wed, 13 Feb 2019 06:29: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: unknown
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: keywords cf_gcctarget cf_reconfirmed_on cc cf_gcchost target_milestone
Message-ID: <bug-89324-4-OAE0IcsDv0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89324-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89324-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: 2019-02/txt/msg01821.txt.bz2
Content-length: 795

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Target|                            |aarch64-linux-gnu
   Last reconfirmed|                            |2019-2-13
                 CC|                            |jgreenhalgh at gcc dot gnu.org,
                   |                            |ktkachov at gcc dot gnu.org,
                   |                            |ramana at gcc dot gnu.org
               Host|                            |x86_64-pc-linux-gnu
   Target Milestone|---                         |9.0
>From gcc-bugs-return-633520-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 06:34:31 2019
Return-Path: <gcc-bugs-return-633520-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108949 invoked by alias); 13 Feb 2019 06:34: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 108877 invoked by uid 48); 13 Feb 2019 06:34:27 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/89307] -fprofile-generate binary may be too slow in multithreaded environment due to cache-line conflicts on counters
Date: Wed, 13 Feb 2019 06:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: gcov-profile
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
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: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on target_milestone everconfirmed
Message-ID: <bug-89307-4-T9lK0yIrCx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89307-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89307-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: 2019-02/txt/msg01822.txt.bz2
Content-length: 573

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-13
   Target Milestone|---                         |10.0
     Ever confirmed|0                           |1

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Can you please attach WIP patch you have?
>From gcc-bugs-return-633521-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 06:40:27 2019
Return-Path: <gcc-bugs-return-633521-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12420 invoked by alias); 13 Feb 2019 06:40: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 12380 invoked by uid 48); 13 Feb 2019 06:40:24 -0000
From: "thehans at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89325] New: False warnings about "optimization attribute" on operators when -fno-ipa-cp-clone
Date: Wed, 13 Feb 2019 06:40: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: 7.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: thehans 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-89325-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: 2019-02/txt/msg01823.txt.bz2
Content-length: 1641

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

            Bug ID: 89325
           Summary: False warnings about "optimization attribute" on
                    operators when -fno-ipa-cp-clone
           Product: gcc
           Version: 7.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: thehans at gmail dot com
  Target Milestone: ---

Created attachment 45687
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45687&action=edit
minimum test case

This is an issue I was having where g++ was outputting over 56,000 spurious
warnings for a project I was building. 

I found that the problem only came from including Eigen/Core header amongst
various project headers that declared operators.

I was able to use singledelta to minimize the test case down to the attached
file.

After the #pragma which comes from Eigen, it seems to break g++'s ability to
differentiate between different operator signatures and just warns that they
are all previously defined with different attributes.


Here is the warning output from g++:
testcase-min.i:4:37: warning: optimization attribute on 'int& operator<<(int&,
const B&)' follows definition but the attribute doesn't match [-Wattributes]
 int &operator<<(int &i, const B &ast);
                                     ^
testcase-min.i:1:35: note: previous definition of 'int& operator<<(int&, const
A&)' was here
 class A {  private:   friend int &operator<<(int &i, const A &value) {  return
i;  }  };
                                   ^~~~~~~~
>From gcc-bugs-return-633522-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 06:43:04 2019
Return-Path: <gcc-bugs-return-633522-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19744 invoked by alias); 13 Feb 2019 06:43:04 -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 19299 invoked by uid 48); 13 Feb 2019 06:43:00 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/89323] Asan memory leak detection on x86 platform
Date: Wed, 13 Feb 2019 06:43: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: 6.3.0
X-Bugzilla-Keywords:
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status
Message-ID: <bug-89323-4-UWF9dJ9L1X@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89323-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89323-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: 2019-02/txt/msg01824.txt.bz2
Content-length: 998

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

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

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

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
I can confirm that LSAN does not work for -m32 on current trunk. It was enabled
in:

commit 1e39eaad45fc92b49e189badf0a5a675fbfb4ad0
Author: Francis Ricci <francisjricci@gmail.com>
Date:   Tue Mar 28 21:56:44 2017 +0000

    Enable i386 builds for darwin lsan

    Summary:
    Now that __thread is no longer used for lsan on darwin, i386 builds
    can be enabled.

    Reviewers: kcc, kubamracek

    Subscribers: danalbert, srhines, mgorny, llvm-commits

    Differential Revision: https://reviews.llvm.org/D29995

    git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@298946
91177308-0d34-0410-b5e6-96231b3b80d8
>From gcc-bugs-return-633523-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 06:46:53 2019
Return-Path: <gcc-bugs-return-633523-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94832 invoked by alias); 13 Feb 2019 06:46:52 -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 94782 invoked by uid 48); 13 Feb 2019 06:46:48 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/89323] Asan memory leak detection on x86 platform
Date: Wed, 13 Feb 2019 06:46: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: 6.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-89323-4-6ToxT6VIW5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89323-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89323-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: 2019-02/txt/msg01825.txt.bz2
Content-length: 1088

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

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

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

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
> works for current clang:
> 
> clang-6.0 -g -fsanitize=address -fno-omit-frame-pointer -m32  asantest.c  &&
> ./a.out 
> 
> AddressSanitizer:DEADLYSIGNAL
> =================================================================
> ==6318==ERROR: AddressSanitizer: SEGV on unknown address 0x00000000 (pc
> 0xf74f2a66 bp 0xfff26cb8 sp 0xfff26854 T0)
> 
> 

No, you forgot to provide ./a.out argument. That's why you see a SEGV.
Please try latest clang release (7) and test it. If it's failing, please report
upstream bug https://github.com/google/sanitizers/issues.
>From gcc-bugs-return-633524-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 06:58:15 2019
Return-Path: <gcc-bugs-return-633524-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114136 invoked by alias); 13 Feb 2019 06:58: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 114067 invoked by uid 55); 13 Feb 2019 06:58:10 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/88858] ICE in rtl_verify_fallthru, at cfgrtl.c:2930 in Firefox build with LTO and PGO
Date: Wed, 13 Feb 2019 06:58: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: 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: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88858-4-MtFnE8Ts4Q@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88858-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88858-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: 2019-02/txt/msg01826.txt.bz2
Content-length: 623

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

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Wed Feb 13 06:57:38 2019
New Revision: 268835

URL: https://gcc.gnu.org/viewcvs?rev=268835&root=gcc&view=rev
Log:
Remove a barrier when EDGE_CROSSING is removed (PR lto/88858).

2019-02-13  Martin Liska  <mliska@suse.cz>

        PR lto/88858
        * cfgrtl.c (remove_barriers_from_footer): New function.
        (try_redirect_by_replacing_jump): Use it.
        (cfg_layout_redirect_edge_and_branch): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cfgrtl.c
>From gcc-bugs-return-633525-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 06:59:07 2019
Return-Path: <gcc-bugs-return-633525-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115538 invoked by alias); 13 Feb 2019 06:59: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 115477 invoked by uid 48); 13 Feb 2019 06:59:03 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/88858] ICE in rtl_verify_fallthru, at cfgrtl.c:2930 in Firefox build with LTO and PGO
Date: Wed, 13 Feb 2019 06:59: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: 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: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_known_to_work cf_known_to_fail
Message-ID: <bug-88858-4-CAKmCMfYpu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88858-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88858-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: 2019-02/txt/msg01827.txt.bz2
Content-length: 451

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |9.0
      Known to fail|                            |7.4.0, 8.2.0

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed on trunk so far.
>From gcc-bugs-return-633526-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 07:06:56 2019
Return-Path: <gcc-bugs-return-633526-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14782 invoked by alias); 13 Feb 2019 07:06:56 -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 14718 invoked by uid 48); 13 Feb 2019 07:06:51 -0000
From: "martin at netbsd dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89312] snprintf warning is unparsable and not confusing
Date: Wed, 13 Feb 2019 07:06: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.4.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: martin at netbsd dot 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-89312-4-MtQzMmPBvo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89312-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89312-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: 2019-02/txt/msg01828.txt.bz2
Content-length: 1164

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

--- Comment #4 from Martin Husemann <martin at netbsd dot org> ---
This is scary.

So in the future there will be valid reasons for the truncation warning, but
you are not offering any way to suppress the totally useless false positives?

My problem with this warning is that (as of gcc 7.4) it has a S/N ratio very
close to 0. snprintf will truncate the output? Yes, that is what the standard
says and what I expect from it.

There is no usefull more targeted workaround than turning it off.

I actually did sucessfully quell the warning with this idiom:

  char buf[STRLEN];
  int r = snprintf(buf, sizeof(buf), format, ....);
  if (r >= sizeof(buf))
    buf[sizeof(buf)-1] = 0;

but that is of course totally stupid (and hopefully gcc will eliminate the if
() part completely (but since the warning goes away, it seems not to do that).

We always compile all stuff with -Wall and -Werror, we even dealt with the very
painfull (and much too simplistic) case fallthrough checker. But with the
format truncation there is no option but to either make the code worse or turn
it off completely.
>From gcc-bugs-return-633527-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 07:34:48 2019
Return-Path: <gcc-bugs-return-633527-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13267 invoked by alias); 13 Feb 2019 07:34: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 13226 invoked by uid 48); 13 Feb 2019 07:34:44 -0000
From: "Hi-Angel at yandex dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89326] New: [RFE] Highlight `required from here` in compile-error output
Date: Wed, 13 Feb 2019 07:34: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.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: Hi-Angel at yandex dot ru
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-89326-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: 2019-02/txt/msg01829.txt.bz2
Content-length: 4402

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

            Bug ID: 89326
           Summary: [RFE] Highlight `required from here` in compile-error
                    output
           Product: gcc
           Version: 8.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: Hi-Angel at yandex dot ru
  Target Milestone: ---

Compile-errors of constructors and templates can give a lot of output. Usually
the first thing in debugging is to figure out where the offending code is used.
This place in output is marked with `required from here`, but it's very hard to
find the magic words in the output, even more so given there are sentences
"required from" without "here" that go along the call stack.

Usually just below the "required from here" is a highlighted word "error", but
it often appears in other places as well.

# Steps to reproduce (in terms of terminal commands):

    $ cat test.cpp
    #include <list>

    struct NoCopy {
        NoCopy(const NoCopy&) = delete;
        NoCopy(NoCopy&&)      = default;
    };

    int main() {
        // Child ch{{}};
        std::list<NoCopy> l = {NoCopy{}};
    }
    ╭─constantine@constantine-N61Ja  /tmp ‹node-›  ‹› 
    ╰─$ g++ test.cpp
    In file included from
/usr/include/c++/8.2.1/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
                     from /usr/include/c++/8.2.1/bits/allocator.h:46,
                     from /usr/include/c++/8.2.1/list:61,
                     from test.cpp:1:
    /usr/include/c++/8.2.1/ext/new_allocator.h: In instantiation of ‘void
__gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = NoCopy;
_Args = {const NoCopy&}; _Tp = std::_List_node<NoCopy>]’:
    /usr/include/c++/8.2.1/bits/alloc_traits.h:475:4:   required from ‘static
void std::allocator_traits<std::allocator<_Tp1>
>::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&,
_Up*, _Args&& ...) [with _Up = NoCopy; _Args = {const NoCopy&}; _Tp =
std::_List_node<NoCopy>; std::allocator_traits<std::allocator<_Tp1>
>::allocator_type = std::allocator<std::_List_node<NoCopy> >]’
    /usr/include/c++/8.2.1/bits/stl_list.h:645:33:   required from
‘std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp,
_Alloc>::_M_create_node(_Args&& ...) [with _Args = {const NoCopy&}; _Tp =
NoCopy; _Alloc = std::allocator<NoCopy>; std::__cxx11::list<_Tp, _Alloc>::_Node
= std::_List_node<NoCopy>]’
    /usr/include/c++/8.2.1/bits/stl_list.h:1903:10:   required from ‘void
std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp,
_Alloc>::iterator, _Args&& ...) [with _Args = {const NoCopy&}; _Tp = NoCopy;
_Alloc = std::allocator<NoCopy>; std::__cxx11::list<_Tp, _Alloc>::iterator =
std::_List_iterator<NoCopy>]’
    /usr/include/c++/8.2.1/bits/stl_list.h:1235:4:   required from ‘void
std::__cxx11::list<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const
NoCopy&}; _Tp = NoCopy; _Alloc = std::allocator<NoCopy>]’
    /usr/include/c++/8.2.1/bits/stl_list.h:1832:6:   required from ‘void
std::__cxx11::list<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator,
_InputIterator, std::__false_type) [with _InputIterator = const NoCopy*; _Tp =
NoCopy; _Alloc = std::allocator<NoCopy>]’
    /usr/include/c++/8.2.1/bits/stl_list.h:769:9:   required from
‘std::__cxx11::list<_Tp, _Alloc>::list(std::initializer_list<_Tp>, const
allocator_type&) [with _Tp = NoCopy; _Alloc = std::allocator<NoCopy>;
std::__cxx11::list<_Tp, _Alloc>::allocator_type = std::allocator<NoCopy>]’
    test.cpp:10:36:   required from here
    /usr/include/c++/8.2.1/ext/new_allocator.h:136:4: error: use of deleted
function ‘NoCopy::NoCopy(const NoCopy&)’
      { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    test.cpp:4:5: note: declared here
         NoCopy(const NoCopy&) = delete;

# Expected

"required from here" is highlighted with some color

# Actual

"required from here" is of the same font/color as the rest of the text.
>From gcc-bugs-return-633528-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 07:53:16 2019
Return-Path: <gcc-bugs-return-633528-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47913 invoked by alias); 13 Feb 2019 07:53: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 47813 invoked by uid 48); 13 Feb 2019 07:53:11 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89325] False warnings about "optimization attribute" on operators when -fno-ipa-cp-clone
Date: Wed, 13 Feb 2019 07: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: 7.3.0
X-Bugzilla-Keywords:
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed cf_known_to_fail
Message-ID: <bug-89325-4-gO7kTCfzxR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89325-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89325-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: 2019-02/txt/msg01830.txt.bz2
Content-length: 779

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-13
                 CC|                            |marxin at gcc dot gnu.org,
                   |                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1
      Known to fail|                            |7.4.0, 8.2.0, 9.0

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, started with r236129 and is probably hidden on trunk due to r265744.
>From gcc-bugs-return-633529-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 08:07:23 2019
Return-Path: <gcc-bugs-return-633529-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55729 invoked by alias); 13 Feb 2019 08:07: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 55646 invoked by uid 48); 13 Feb 2019 08:07:18 -0000
From: "paradox_ptr at protonmail dot ch" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89299] __attribute__ cleanup does not accept template function
Date: Wed, 13 Feb 2019 08:07: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: paradox_ptr at protonmail dot ch
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-89299-4-7DQpUhMO50@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89299-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89299-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: 2019-02/txt/msg01831.txt.bz2
Content-length: 400

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

--- Comment #6 from paradox_ptr at protonmail dot ch ---
(In reply to Martin Sebor from comment #4)
> I'm curious about the use case: can you describe what you are using
> the attribute for in C++?

I don't have a meaningful use case for you.

Was merging old C program into C++ codebase, and was very surprised when this
part did not compile.
>From gcc-bugs-return-633530-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 08:15:19 2019
Return-Path: <gcc-bugs-return-633530-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83731 invoked by alias); 13 Feb 2019 08:15:04 -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 83496 invoked by uid 48); 13 Feb 2019 08:14:59 -0000
From: "damian at sourceryinstitute dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/78983] [7/8/9 Regression] ICE with CAF-DT with allocatable member
Date: Wed, 13 Feb 2019 08:15: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.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: damian at sourceryinstitute dot org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-78983-4-to9uXmrkiA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78983-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78983-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: 2019-02/txt/msg01832.txt.bz2
Content-length: 251

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

--- Comment #10 from Damian Rouson <damian at sourceryinstitute dot org> ---
I see no ICE in testing the code from Comment 3 using fortran 7.3.0, 8.2.0, and
9.0.1.  I believe this can be closed.
>From gcc-bugs-return-633531-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 08:17:04 2019
Return-Path: <gcc-bugs-return-633531-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86142 invoked by alias); 13 Feb 2019 08:17:04 -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 86100 invoked by uid 48); 13 Feb 2019 08:17:00 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/89327] New: Joined options without RejectsNegative
Date: Wed, 13 Feb 2019 08:17: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: jakub 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-89327-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: 2019-02/txt/msg01833.txt.bz2
Content-length: 2727

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

            Bug ID: 89327
           Summary: Joined options without RejectsNegative
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
  Target Milestone: ---

While for some Joined options starting with m, W or f the negative options make
perfect sense, e.g. -fno-builtin-malloc,
-fno-sanitize-recover=signed-integer-overflow etc., for the following ones I
wonder if it isn't just an omission.

Thoughts on this?

./config/riscv/riscv.opt:msmall-data-limit=
./config/riscv/riscv.opt:Target Joined Separate UInteger Var(g_switch_value)
Init(8)
./config/darwin.opt:mmacosx-version-min=
./config/darwin.opt:Target Joined Report Var(darwin_macosx_version_min)
Init(DEF_MIN_OSX_VERSION)
./go/lang.opt:fgo-optimize-
./go/lang.opt:Go Joined
./go/lang.opt:fgo-debug-escape
./go/lang.opt:Go Joined UInteger Var(go_debug_escape_level) Init(0)
./common.opt:fhelp=
./common.opt:Common Driver Joined Alias(-help=)
./common.opt:fdiagnostics-minimum-margin-width=
./common.opt:Common Joined UInteger Var(diagnostics_minimum_margin_width)
Init(6)
./common.opt:foffload=
./common.opt:Common Driver Joined MissingArgError(options or targets missing
after %qs)
./common.opt:fpatchable-function-entry=
./common.opt:Common Joined Optimization
./common.opt:fself-test=
./common.opt:Common Undocumented Joined Var(flag_self_test)
./c-family/c.opt:Walloc-size-larger-than=
./c-family/c.opt:C ObjC C++ LTO ObjC++ Var(warn_alloc_size_limit) Joined
Host_Wide_Int ByteSize Warning Init(HOST_WIDE_INT_MAX)
./c-family/c.opt:Walloca-larger-than=
./c-family/c.opt:C ObjC C++ LTO ObjC++ Var(warn_alloca_limit) Warning Joined
Host_Wide_Int ByteSize Init(HOST_WIDE_INT_MAX)
./c-family/c.opt:Wvla-larger-than=
./c-family/c.opt:C ObjC C++ LTO ObjC++ Var(warn_vla_limit) Warning Joined
Host_Wide_Int ByteSize Init(HOST_WIDE_INT_MAX)
./c-family/c.opt:fconstant-string-class=
./c-family/c.opt:ObjC ObjC++ Joined MissingArgError(no class name specified
with %qs)
./c-family/c.opt:fname-mangling-version-
./c-family/c.opt:C++ ObjC++ Joined Deprecated
./c-family/c.opt:fopenacc-dim=
./c-family/c.opt:C ObjC C++ ObjC++ LTO Joined Var(flag_openacc_dims)
./c-family/c.opt:femit-struct-debug-detailed=
./c-family/c.opt:C ObjC C++ ObjC++ Joined
./fortran/lang.opt:fopenacc-dim=
./fortran/lang.opt:Fortran LTO Joined Var(flag_openacc_dims)
./lto/lang.opt:fltrans-output-list=
./lto/lang.opt:LTO Joined Var(ltrans_output_list)
./lto/lang.opt:fresolution=
./lto/lang.opt:LTO Joined
>From gcc-bugs-return-633532-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 08:22:07 2019
Return-Path: <gcc-bugs-return-633532-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97064 invoked by alias); 13 Feb 2019 08:22: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 96810 invoked by uid 55); 13 Feb 2019 08:22:02 -0000
From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87689] PowerPC64 ELFv2 function parameter passing violation
Date: Wed, 13 Feb 2019 08:22: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: rguenther at suse dot de
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-JpfS9oe6J9@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: 2019-02/txt/msg01834.txt.bz2
Content-length: 2214

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

--- Comment #18 from rguenther at suse dot de <rguenther at suse dot de> ---
On February 13, 2019 6:56:15 AM GMT+01:00, amodra at gmail dot com
<gcc-bugzilla@gcc.gnu.org> wrote:
>https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87689
>
>--- Comment #17 from Alan Modra <amodra at gmail dot com> ---
>> On platforms where varargs have a different calling
>> signature from normal functions, this would be an ABI change.
>
>True, but in C terms, gfortran is currently doing this:
>void f (char *res, int reslen);
>..
>  f (res, 20, &c, &i1, &i2, &i3, &i4, &i5, &i6);
>That's why I said we have "lying prototypes".
>
>The patch in comment #12 changes things to
>void f (char *res, int reslen, ...);
>..
>  f (res, 20, &c, &i1, &i2, &i3, &i4, &i5, &i6);
>
>Which at least makes the prototype and call compatible in that
>translation
>unit.  

Both indeed look wrong. Afaics if Fortran doesn't require a visible function
definition or declaration it indeed has to build one from the actual call. In
theory it could use a unprototyped function declaration void f() and then use
only a
CALL_EXPR_FNTYPE function type matching the call signature (and hope backends
will be happy with that). That has the advantage of not needing to deal with
mismatches from multiple calls
(multiple decls would be even worse I think) 

We have ABI violations in both cases as neither prototype
>matches the
>actual function definition.  Yes, my patch is just a hack, but..
>
>> It would probably make more sense to build the decl from the call
>> itself.
>This would require major surgery, I think.  Another option would be to
>pass
>info to the backend that the call is really not prototyped despite the
>presence
>of those "hidden" args.
>
>For now, I'm going to post a backend patch for this problem, in
>rs6000_function_parms_need_stack:
>
>  /* FIXME: Fortran arg lists can contain hidden parms, fooling
>     prototype_p into saying the function is prototyped when in fact
>     the number and type of args is unknown.  See PR 87689.  */
>  if (!incoming && (strcmp (lang_hooks.name, "GNU F77") == 0
>                    || lang_GNU_Fortran ()))
>    return true;
>From gcc-bugs-return-633533-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 08:41:35 2019
Return-Path: <gcc-bugs-return-633533-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18918 invoked by alias); 13 Feb 2019 08:41: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 18886 invoked by uid 48); 13 Feb 2019 08:41:31 -0000
From: "mpoulhies at kalray dot eu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89328] New: static chain made mandatory
Date: Wed, 13 Feb 2019 08:41:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 7.4.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpoulhies at kalray dot eu
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-89328-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: 2019-02/txt/msg01835.txt.bz2
Content-length: 1277

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

            Bug ID: 89328
           Summary: static chain made mandatory
           Product: gcc
           Version: 7.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mpoulhies at kalray dot eu
  Target Milestone: ---

Since r217769, a target without support for static chain will not work.

Previous this change, the message
```
nested functions not supported on this target
```

was displayed only when trying to build something using nested functions.
After this patch, the error is raised for all inputs. I guess because the
following test has been removed:

```
 rtx
-default_static_chain (const_tree fndecl, bool incoming_p)
+default_static_chain (const_tree ARG_UNUSED (fndecl_or_type), bool incoming_p)
 {
-  if (!DECL_STATIC_CHAIN (fndecl))
-    return NULL;
-
   if (incoming_p)
     {
```

I guess this was not spotted as it looks like all targets in gcc tree have
static chain support.
This has been a problem while updating a private port from gcc 4.9 to gcc 7. I
could not verify the issue is still in trunk but a quick look at the code let
me think it still is.
>From gcc-bugs-return-633534-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 08:46:13 2019
Return-Path: <gcc-bugs-return-633534-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23756 invoked by alias); 13 Feb 2019 08:46: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 23672 invoked by uid 55); 13 Feb 2019 08:46:08 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89290] [8/9 Regression] ICE in change_address_1, at emit-rtl.c:2286
Date: Wed, 13 Feb 2019 08:46: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: jakub 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: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89290-4-dSChNItX91@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89290-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89290-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: 2019-02/txt/msg01836.txt.bz2
Content-length: 660

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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Feb 13 08:45:37 2019
New Revision: 268837

URL: https://gcc.gnu.org/viewcvs?rev=268837&root=gcc&view=rev
Log:
        PR target/89290
        * config/i386/predicates.md (x86_64_immediate_operand): Allow
        TLS UNSPECs offsetted by signed 32-bit CONST_INT even with
        -mcmodel=large.

        * gcc.target/i386/pr89290.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/i386/pr89290.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/predicates.md
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633535-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 08:47:47 2019
Return-Path: <gcc-bugs-return-633535-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25243 invoked by alias); 13 Feb 2019 08:47:46 -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 25188 invoked by uid 48); 13 Feb 2019 08:47:43 -0000
From: "konstantin.vladimirov at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86991] [8 Regression] ICE in vectorizable_reduction, at tree-vect-loop.c:6919
Date: Wed, 13 Feb 2019 08: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.1.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: konstantin.vladimirov at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86991-4-qOoqJOMxgI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86991-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86991-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: 2019-02/txt/msg01837.txt.bz2
Content-length: 353

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

--- Comment #9 from Tilir <konstantin.vladimirov at gmail dot com> ---
One more test case:

int b[11], e[11], c, d;
void f() {
  unsigned g, h;
  for (; g < 11; g += 2) {
    c = 2;
    for (; c; c += 3) {
      h = 1;
      for (; h < 11; h++)
        e[h] = e[h] + d - b[g];
    }
  }
}
>From gcc-bugs-return-633536-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 08:54:42 2019
Return-Path: <gcc-bugs-return-633536-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34951 invoked by alias); 13 Feb 2019 08:54: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 34892 invoked by uid 48); 13 Feb 2019 08:54:38 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89328] static chain made mandatory
Date: Wed, 13 Feb 2019 08:54: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: 7.4.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89328-4-v9aZgvg1og@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89328-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89328-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: 2019-02/txt/msg01838.txt.bz2
Content-length: 520

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

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

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed in GCC 8.0.  See bug 83423.

*** This bug has been marked as a duplicate of bug 83423 ***
>From gcc-bugs-return-633537-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 08:54:42 2019
Return-Path: <gcc-bugs-return-633537-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34956 invoked by alias); 13 Feb 2019 08:54: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 34913 invoked by uid 48); 13 Feb 2019 08:54:39 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/83423] default_static_chain is sorry for non-nested functions
Date: Wed, 13 Feb 2019 08:54: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: 8.0
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-83423-4-Y6Gu1hPoiW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83423-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83423-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: 2019-02/txt/msg01839.txt.bz2
Content-length: 445

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpoulhies at kalray dot eu

--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 89328 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-633538-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 09:01:20 2019
Return-Path: <gcc-bugs-return-633538-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47543 invoked by alias); 13 Feb 2019 09:01: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 47447 invoked by uid 48); 13 Feb 2019 09:01:16 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89306] [8/9 regression] Hash based IPA summaries are too slow and consume up to 80% of IPA optimization time.
Date: Wed, 13 Feb 2019 09:01: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: cf_known_to_work target_milestone
Message-ID: <bug-89306-4-Q5WnIMggAG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89306-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89306-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: 2019-02/txt/msg01840.txt.bz2
Content-length: 355

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |8.2.0, 9.0
   Target Milestone|---                         |9.0
>From gcc-bugs-return-633539-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 09:03:33 2019
Return-Path: <gcc-bugs-return-633539-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55188 invoked by alias); 13 Feb 2019 09:03:32 -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 55085 invoked by uid 48); 13 Feb 2019 09:03:26 -0000
From: "jungmin.song at nuance dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89329] New: "-O2" optimization causes a infinite loop
Date: Wed, 13 Feb 2019 09:03: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: 7.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jungmin.song at nuance 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-89329-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: 2019-02/txt/msg01841.txt.bz2
Content-length: 1122

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

            Bug ID: 89329
           Summary: "-O2" optimization causes a infinite loop
           Product: gcc
           Version: 7.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jungmin.song at nuance dot com
  Target Milestone: ---

Created attachment 45688
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45688&action=edit
Sample code generating this issue

With O2 optimization, an infinite loop is generated from the attached code.

    for (i = 0; i < pStruct->count1; ++i) {
        unsigned short pWord = pStruct->array2[i];
        CheckArray1_ext(pWord);
    }

    for (; i < ARR_MAX; ++i) {
        pStruct->array1[i] = i;
    }

The generated code with "arm-none-eabi-gcc.exe -S -O2 compileOptimizationErr.c
-o compileOptimizationErr.c.O2.s" checks only if it is equal with ARR_MAX for
the second loop. If the value of 'i' is over ARR_MAX before the second loop,
there is no condition to exit the loop.
>From gcc-bugs-return-633540-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 09:08:58 2019
Return-Path: <gcc-bugs-return-633540-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63229 invoked by alias); 13 Feb 2019 09:08: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 62197 invoked by uid 48); 13 Feb 2019 09:08:54 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89326] [RFE] Highlight `required from here` in compile-error output
Date: Wed, 13 Feb 2019 09:08: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.1
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 cc everconfirmed
Message-ID: <bug-89326-4-BcuvQZd3Dp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89326-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89326-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: 2019-02/txt/msg01842.txt.bz2
Content-length: 624

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-13
                 CC|                            |dmalcolm at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I like this idea.
>From gcc-bugs-return-633541-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 09:09:09 2019
Return-Path: <gcc-bugs-return-633541-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64008 invoked by alias); 13 Feb 2019 09:09: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 63934 invoked by uid 48); 13 Feb 2019 09:09:06 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89326] [RFE] Highlight `required from here` in compile-error output
Date: Wed, 13 Feb 2019 09:09: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.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: enhancement
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_severity
Message-ID: <bug-89326-4-ZIbtNOqFwX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89326-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89326-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: 2019-02/txt/msg01843.txt.bz2
Content-length: 299

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
>From gcc-bugs-return-633542-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 09:14:54 2019
Return-Path: <gcc-bugs-return-633542-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82603 invoked by alias); 13 Feb 2019 09:14: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 82518 invoked by uid 48); 13 Feb 2019 09:14:50 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89329] "-O2" optimization causes a infinite loop
Date: Wed, 13 Feb 2019 09:14: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: 7.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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: bug_status component resolution
Message-ID: <bug-89329-4-3qbSXrqiZK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89329-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89329-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: 2019-02/txt/msg01844.txt.bz2
Content-length: 711

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|c                           |tree-optimization
         Resolution|---                         |INVALID

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
> If the value of 'i' is over ARR_MAX before the second loop, there is no
> condition to exit the loop.

Yes because i cannot be over ARR_MAX as that would have involved undefined
behavior while accessing pStruct->array2.
>From gcc-bugs-return-633543-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 09:39:46 2019
Return-Path: <gcc-bugs-return-633543-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42652 invoked by alias); 13 Feb 2019 09:39:46 -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 39136 invoked by uid 48); 13 Feb 2019 09:39:38 -0000
From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89324] [9 Regression] ICE in extract_constrain_insn, at recog.c:2211 on aarch64
Date: Wed, 13 Feb 2019 09:39: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: unknown
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ktkachov 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_known_to_work short_desc everconfirmed cf_known_to_fail
Message-ID: <bug-89324-4-MU4SRVPvxk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89324-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89324-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: 2019-02/txt/msg01845.txt.bz2
Content-length: 720

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

ktkachov at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
      Known to work|                            |8.2.1
            Summary|ICE in                      |[9 Regression] ICE in
                   |extract_constrain_insn, at  |extract_constrain_insn, at
                   |recog.c:2211 on aarch64     |recog.c:2211 on aarch64
     Ever confirmed|0                           |1
      Known to fail|                            |9.0

--- Comment #1 from ktkachov at gcc dot gnu.org ---
Confirmed.
>From gcc-bugs-return-633544-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 09:46:06 2019
Return-Path: <gcc-bugs-return-633544-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62939 invoked by alias); 13 Feb 2019 09:46:06 -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 62865 invoked by uid 48); 13 Feb 2019 09:46:02 -0000
From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89324] [9 Regression] ICE in extract_constrain_insn, at recog.c:2211 on aarch64
Date: Wed, 13 Feb 2019 09:46: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: unknown
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ktkachov 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: cc
Message-ID: <bug-89324-4-5tyy4hPAGw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89324-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89324-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: 2019-02/txt/msg01846.txt.bz2
Content-length: 513

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

ktkachov at gcc dot gnu.org changed:

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

--- Comment #2 from ktkachov at gcc dot gnu.org ---
The sub<mode>3_compare1_imm pattern was introduced for GCC 9. It's probably
something going wrong with the constraints. Matthew, could you take a look
please?
>From gcc-bugs-return-633545-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 09:50:26 2019
Return-Path: <gcc-bugs-return-633545-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71734 invoked by alias); 13 Feb 2019 09:50:26 -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 71635 invoked by uid 48); 13 Feb 2019 09:50:23 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this
Date: Wed, 13 Feb 2019 09:50: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: 8.2.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89303-4-FtKcK3ATOW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg01847.txt.bz2
Content-length: 399

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Looking at this now.
>From gcc-bugs-return-633546-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 09:53:07 2019
Return-Path: <gcc-bugs-return-633546-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80454 invoked by alias); 13 Feb 2019 09:53: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 80343 invoked by uid 48); 13 Feb 2019 09:53:02 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this
Date: Wed, 13 Feb 2019 09:53: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: 8.2.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89303-4-yj4U5VBytl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg01848.txt.bz2
Content-length: 964

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

--- Comment #17 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #13)
> So if the two bugs have the same root cause, it seems to be a problem in
> __weak_count::_M_assign, failing to set _M_pi here:
> 
>       __weak_count&
>       operator=(const __shared_count<_Lp>& __r) noexcept
>       {
>         _Sp_counted_base<_Lp>* __tmp = __r._M_pi;
>         if (__tmp != nullptr)
>           __tmp->_M_weak_add_ref();
>         if (_M_pi != nullptr)
>           _M_pi->_M_weak_release();
>         _M_pi = __tmp;
>         return *this;
>       }

This ends up inlined into:
std::__shared_ptr<blob, 0>::__shared_ptr<std::allocator<blob> > (struct
__shared_ptr * const this, struct _Sp_alloc_shared_tag __tag)

and the GIMPLE dumps for -O1 -fno-tree-pta and -O1 do look significantly
different, explaining why _M_weak_this._M_refcount._M_pi doesn't get set.
>From gcc-bugs-return-633547-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 10:03:25 2019
Return-Path: <gcc-bugs-return-633547-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63212 invoked by alias); 13 Feb 2019 10:03: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 53620 invoked by uid 55); 13 Feb 2019 10:03:19 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89223] [7/8 Regression] internal compiler error: in int_cst_value, at tree.c:11226
Date: Wed, 13 Feb 2019 10:03: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: ice-on-valid-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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89223-4-H4xadvVR3z@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89223-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89223-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: 2019-02/txt/msg01849.txt.bz2
Content-length: 1637

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

--- Comment #12 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Feb 13 10:02:47 2019
New Revision: 268838

URL: https://gcc.gnu.org/viewcvs?rev=268838&root=gcc&view=rev
Log:
2019-02-13  Richard Biener  <rguenther@suse.de>

        Backport from mainline
        2019-02-12  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/89253
        * tree-ssa-loop-split.c (tree_ssa_split_loops): Check we can
        duplicate the loop.

        * gfortran.dg/pr89253.f: New testcase.

        2019-02-08  Richard Biener  <rguenther@suse.de>

        PR middle-end/89223
        * tree-data-ref.c (initialize_matrix_A): Fail if constant
        doesn't fit in HWI.
        (analyze_subscript_affine_affine): Handle failure from
        initialize_matrix_A.

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

        2019-01-28  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/88739
        * tree-ssa-sccvn.c (vn_reference_lookup_3): Avoid generating
        BIT_FIELD_REFs of non-mode-precision integral operands.

        * gcc.c-torture/execute/pr88739.c: New test.

Added:
    branches/gcc-8-branch/gcc/testsuite/gcc.c-torture/execute/pr88739.c
    branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr89223.c
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr89253.f
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
    branches/gcc-8-branch/gcc/tree-data-ref.c
    branches/gcc-8-branch/gcc/tree-ssa-loop-split.c
    branches/gcc-8-branch/gcc/tree-ssa-sccvn.c
>From gcc-bugs-return-633548-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 10:03:26 2019
Return-Path: <gcc-bugs-return-633548-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63781 invoked by alias); 13 Feb 2019 10:03: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 54051 invoked by uid 55); 13 Feb 2019 10:03:19 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89253] [8 Regression] ICE in split_loop, at tree-ssa-loop-split.c:566
Date: Wed, 13 Feb 2019 10:03: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: ice-on-valid-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: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89253-4-0UpLElm5hE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89253-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89253-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: 2019-02/txt/msg01850.txt.bz2
Content-length: 1636

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

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Feb 13 10:02:47 2019
New Revision: 268838

URL: https://gcc.gnu.org/viewcvs?rev=268838&root=gcc&view=rev
Log:
2019-02-13  Richard Biener  <rguenther@suse.de>

        Backport from mainline
        2019-02-12  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/89253
        * tree-ssa-loop-split.c (tree_ssa_split_loops): Check we can
        duplicate the loop.

        * gfortran.dg/pr89253.f: New testcase.

        2019-02-08  Richard Biener  <rguenther@suse.de>

        PR middle-end/89223
        * tree-data-ref.c (initialize_matrix_A): Fail if constant
        doesn't fit in HWI.
        (analyze_subscript_affine_affine): Handle failure from
        initialize_matrix_A.

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

        2019-01-28  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/88739
        * tree-ssa-sccvn.c (vn_reference_lookup_3): Avoid generating
        BIT_FIELD_REFs of non-mode-precision integral operands.

        * gcc.c-torture/execute/pr88739.c: New test.

Added:
    branches/gcc-8-branch/gcc/testsuite/gcc.c-torture/execute/pr88739.c
    branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr89223.c
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr89253.f
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
    branches/gcc-8-branch/gcc/tree-data-ref.c
    branches/gcc-8-branch/gcc/tree-ssa-loop-split.c
    branches/gcc-8-branch/gcc/tree-ssa-sccvn.c
>From gcc-bugs-return-633549-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 10:03:30 2019
Return-Path: <gcc-bugs-return-633549-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64571 invoked by alias); 13 Feb 2019 10:03: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 58461 invoked by uid 55); 13 Feb 2019 10:03:21 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88739] [7/8 Regression] Big-endian union bug
Date: Wed, 13 Feb 2019 10:03: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: 7.3.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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88739-4-9lHy62az5y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88739-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88739-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: 2019-02/txt/msg01851.txt.bz2
Content-length: 1637

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

--- Comment #57 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Feb 13 10:02:47 2019
New Revision: 268838

URL: https://gcc.gnu.org/viewcvs?rev=268838&root=gcc&view=rev
Log:
2019-02-13  Richard Biener  <rguenther@suse.de>

        Backport from mainline
        2019-02-12  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/89253
        * tree-ssa-loop-split.c (tree_ssa_split_loops): Check we can
        duplicate the loop.

        * gfortran.dg/pr89253.f: New testcase.

        2019-02-08  Richard Biener  <rguenther@suse.de>

        PR middle-end/89223
        * tree-data-ref.c (initialize_matrix_A): Fail if constant
        doesn't fit in HWI.
        (analyze_subscript_affine_affine): Handle failure from
        initialize_matrix_A.

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

        2019-01-28  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/88739
        * tree-ssa-sccvn.c (vn_reference_lookup_3): Avoid generating
        BIT_FIELD_REFs of non-mode-precision integral operands.

        * gcc.c-torture/execute/pr88739.c: New test.

Added:
    branches/gcc-8-branch/gcc/testsuite/gcc.c-torture/execute/pr88739.c
    branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr89223.c
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr89253.f
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
    branches/gcc-8-branch/gcc/tree-data-ref.c
    branches/gcc-8-branch/gcc/tree-ssa-loop-split.c
    branches/gcc-8-branch/gcc/tree-ssa-sccvn.c
>From gcc-bugs-return-633550-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 10:03:38 2019
Return-Path: <gcc-bugs-return-633550-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65983 invoked by alias); 13 Feb 2019 10:03: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 65108 invoked by uid 48); 13 Feb 2019 10:03:32 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89253] [8 Regression] ICE in split_loop, at tree-ssa-loop-split.c:566
Date: Wed, 13 Feb 2019 10:03: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_known_to_work resolution
Message-ID: <bug-89253-4-hSWhxW1WF6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89253-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89253-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: 2019-02/txt/msg01852.txt.bz2
Content-length: 484

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

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

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

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-633551-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 10:12:10 2019
Return-Path: <gcc-bugs-return-633551-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12286 invoked by alias); 13 Feb 2019 10:12: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 12163 invoked by uid 48); 13 Feb 2019 10:12:04 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89330] New: IPA inliner touches released cgraph_edges
Date: Wed, 13 Feb 2019 10:12:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: ipa
X-Bugzilla-Version: unknown
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 attachments.created
Message-ID: <bug-89330-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: 2019-02/txt/msg01853.txt.bz2
Content-length: 1488

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

            Bug ID: 89330
           Summary: IPA inliner touches released cgraph_edges
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

Created attachment 45689
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45689&action=edit
Sanity check

Using the sanity check one can see following ICE:

$ g++ 1.ii 2.ii -shared -O2 -flto=8 -Wno-odr
removing edge: 0x7ffff7884420
removing edge: 0x7ffff78843c0
removing edge: 0x7ffff7884360
removing edge: 0x7ffff7884300
removing edge: 0x7ffff7884420
removing edge: 0x7ffff78843c0
removing edge: 0x7ffff7884360
removing edge: 0x7ffff7884420
removing edge: 0x7ffff78843c0
removing edge: 0x7ffff7884360
removing edge: 0x7ffff7884300
removing edge: 0x7ffff7884300
removing edge: 0x7ffff7525480
removing edge: 0x7ffff7525480
add_new_edges_to_heap: 0x7ffff7525480
during IPA pass: inline
lto1: internal compiler error: in add_new_edges_to_heap, at ipa-inline.c:1631
0x748286 add_new_edges_to_heap
        ../../gcc/ipa-inline.c:1631
0x1493d48 inline_small_functions
        ../../gcc/ipa-inline.c:2075
0x1493d48 ipa_inline
        ../../gcc/ipa-inline.c:2535
0x1493d48 execute
        ../../gcc/ipa-inline.c:2943
>From gcc-bugs-return-633552-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 10:12:41 2019
Return-Path: <gcc-bugs-return-633552-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13242 invoked by alias); 13 Feb 2019 10:12: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 13198 invoked by uid 48); 13 Feb 2019 10:12:37 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89330] IPA inliner touches released cgraph_edges
Date: Wed, 13 Feb 2019 10:12: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: unknown
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: attachments.created
Message-ID: <bug-89330-4-lBoTOvEazi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89330-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89330-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: 2019-02/txt/msg01854.txt.bz2
Content-length: 234

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

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Created attachment 45690
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45690&action=edit
test-case
>From gcc-bugs-return-633553-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 10:13:08 2019
Return-Path: <gcc-bugs-return-633553-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14161 invoked by alias); 13 Feb 2019 10:13: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 14113 invoked by uid 48); 13 Feb 2019 10:13:05 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89330] IPA inliner touches released cgraph_edges
Date: Wed, 13 Feb 2019 10:13: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: unknown
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: attachments.created
Message-ID: <bug-89330-4-jONRQ6VHSp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89330-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89330-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: 2019-02/txt/msg01855.txt.bz2
Content-length: 234

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

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Created attachment 45691
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45691&action=edit
test-case
>From gcc-bugs-return-633554-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 10:35:28 2019
Return-Path: <gcc-bugs-return-633554-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111673 invoked by alias); 13 Feb 2019 10:35:26 -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 111485 invoked by uid 55); 13 Feb 2019 10:35:21 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88986] [7/8/9 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'error_mark' in member_vec_binary_search, at cp/name-lookup.c:1136
Date: Wed, 13 Feb 2019 10:35: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: error-recovery, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88986-4-cp8qTa6oIY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88986-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88986-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: 2019-02/txt/msg01856.txt.bz2
Content-length: 1027

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

--- Comment #4 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Wed Feb 13 10:34:49 2019
New Revision: 268839

URL: https://gcc.gnu.org/viewcvs?rev=268839&root=gcc&view=rev
Log:
/cp
2019-02-13  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/88986
        * decl.c (make_typename_type): Allow for TYPE_PACK_EXPANSION as
        context (the first argument).
        * pt.c (tsubst, case TYPENAME_TYPE): Handle TYPE_PACK_EXPANSION
        as context.

/testsuite
2019-02-13  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/88986
        * g++.dg/cpp1z/using4.C: New.
        * g++.dg/cpp1z/using5.C: Likewise.
        * g++.dg/cpp1z/using6.C: Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1z/using4.C
    trunk/gcc/testsuite/g++.dg/cpp1z/using5.C
    trunk/gcc/testsuite/g++.dg/cpp1z/using6.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633555-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 10:37:44 2019
Return-Path: <gcc-bugs-return-633555-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122285 invoked by alias); 13 Feb 2019 10:37:44 -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 116855 invoked by uid 48); 13 Feb 2019 10:37:40 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88986] [7/8 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'error_mark' in member_vec_binary_search, at cp/name-lookup.c:1136
Date: Wed, 13 Feb 2019 10:37: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: error-recovery, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-88986-4-ialC19FC6I@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88986-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88986-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: 2019-02/txt/msg01857.txt.bz2
Content-length: 836

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[7/8/9 Regression] ICE:     |[7/8 Regression] ICE: tree
                   |tree check: expected tree   |check: expected tree that
                   |that contains 'decl         |contains 'decl minimal'
                   |minimal' structure, have    |structure, have
                   |'error_mark' in             |'error_mark' in
                   |member_vec_binary_search,   |member_vec_binary_search,
                   |at cp/name-lookup.c:1136    |at cp/name-lookup.c:1136

--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed in trunk.
>From gcc-bugs-return-633556-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 10:40:34 2019
Return-Path: <gcc-bugs-return-633556-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 929 invoked by alias); 13 Feb 2019 10:40: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 884 invoked by uid 48); 13 Feb 2019 10:40:30 -0000
From: "svenja.mehringer at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87113] ICE in adjust_temp_type at cp/constexpr.c:1205
Date: Wed, 13 Feb 2019 10:40: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.1.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: svenja.mehringer at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-87113-4-29syc2UMOg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87113-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87113-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: 2019-02/txt/msg01858.txt.bz2
Content-length: 207

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

--- Comment #4 from smehringer <svenja.mehringer at gmail dot com> ---
Thanks for the fix! 

Is the fix included only in GCC 9 or also in GCC 7 and 8?
>From gcc-bugs-return-633557-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 10:47:20 2019
Return-Path: <gcc-bugs-return-633557-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19949 invoked by alias); 13 Feb 2019 10:47: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 19845 invoked by uid 48); 13 Feb 2019 10:47:15 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this
Date: Wed, 13 Feb 2019 10:47: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: 8.2.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89303-4-EokWC4TSP9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg01859.txt.bz2
Content-length: 1485

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

--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Before fre3 we have:
  _24 = malloc (40);
...
  MEM[(struct __allocated_ptr *)&__guard clique 9 base 1]._M_ptr = _24;
  _15 = __guard._M_ptr;
...
  _16 = &MEM[(struct __aligned_buffer *)_15 + 16B]._M_storage;
...
  MEM[(struct __weak_count *)_15 + 24B clique 8 base 1]._M_pi = 0B;
...
  MEM[(struct __shared_count *)this_6(D) + 8B clique 2 base 1]._M_pi = _15;
  MEM[(struct blob * &)this_6(D) clique 2 base 0] = _16;
...
  _3 = MEM[(struct __shared_ptr *)this_6(D) clique 1 base 1]._M_ptr;
...
  __tmp_25 = MEM[(const struct __shared_count &)this_6(D) + 8 clique 10 base
1]._M_pi;
...
  MEM[(struct __weak_count *)_3 + 8B clique 10 base 0]._M_pi = __tmp_25;
fre3 makes:
  _24 = malloc (40);
...
  _16 = &MEM[(struct __aligned_buffer *)_24 + 16B]._M_storage;
...
  MEM[(struct __weak_count *)_24 + 24B clique 8 base 1]._M_pi = 0B;
...
  MEM[(struct __shared_count *)this_6(D) + 8B clique 2 base 1]._M_pi = _24;
  MEM[(struct blob * &)this_6(D) clique 2 base 0] = _16;
...
  _19 = MEM[(struct __weak_count *)_24 + 24B clique 6 base 1]._M_pi;
...
  MEM[(struct __weak_count *)_16 + 8B clique 10 base 0]._M_pi = _24;
out of this and finally dce2 deletes that last store:
Eliminating unnecessary statements:
Deleting : MEM[(struct __weak_count *)_16 + 8B]._M_pi = _24;

With -O1 -fno-tree-dce -fno-tree-dse there are no leaks.
>From gcc-bugs-return-633558-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 10:51:23 2019
Return-Path: <gcc-bugs-return-633558-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25591 invoked by alias); 13 Feb 2019 10:51: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 25508 invoked by uid 48); 13 Feb 2019 10:51:20 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this
Date: Wed, 13 Feb 2019 10:51: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: 8.2.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89303-4-imGGRF7dbv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg01860.txt.bz2
Content-length: 854

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

--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Those DCE or DSE removals of the store look weird.  In the alias info we have:
  # PT = null { D.5120 } (escaped, escaped heap)
  # ALIGN = 8, MISALIGN = 0
  # USE = nonlocal null { D.4247 D.5109 D.5120 D.5121 } (nonlocal, escaped,
escaped heap, interposable)
  # CLB = nonlocal null { D.4247 D.5109 D.5120 D.5121 } (nonlocal, escaped,
escaped heap, interposable)
  _24 = malloc (40);
...
  # PT = null { D.5109 D.5120 } (escaped)
  _16 = &MEM[(struct __aligned_buffer *)_24 + 16B]._M_storage;
...
  <bb 18> [local count: 488552530]:
  MEM[(struct __weak_count *)_16 + 8B clique 10 base 0]._M_pi = _24;

  <bb 19> [local count: 1073741824]:
  return;
When the pointer is escaped, how can it DCE a store to it?
>From gcc-bugs-return-633559-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 11:10:11 2019
Return-Path: <gcc-bugs-return-633559-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74089 invoked by alias); 13 Feb 2019 11:10: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 73988 invoked by uid 48); 13 Feb 2019 11:10:06 -0000
From: "adl at gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/49054] useless cmp+jmp generated for switch when "default:" is unreachable
Date: Wed, 13 Feb 2019 11:10: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: 4.6.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: adl at gnu dot 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-49054-4-cW02drKOie@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-49054-4@http.gcc.gnu.org/bugzilla/>
References: <bug-49054-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: 2019-02/txt/msg01861.txt.bz2
Content-length: 3061

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

--- Comment #6 from Alexandre Duret-Lutz <adl at gnu dot org> ---
I revisited this with GCC 8.2.1 (or more precisely the version called
gcc-8.2.0-20 in Debian).

The original code I gave now generate a jump table with no extra comparison:

0000000000000000 <baz>:
   0:   48 8d 15 00 00 00 00    lea    0x0(%rip),%rdx        # 7 <baz+0x7>
   7:   89 ff                   mov    %edi,%edi
   9:   48 63 04 ba             movslq (%rdx,%rdi,4),%rax
   d:   48 01 d0                add    %rdx,%rax
  10:   ff e0                   jmpq   *%rax
  12:   66 0f 1f 44 00 00       nopw   0x0(%rax,%rax,1)
  18:   e9 00 00 00 00          jmpq   1d <baz+0x1d>
  1d:   0f 1f 00                nopl   (%rax)
  20:   e9 00 00 00 00          jmpq   25 <baz+0x25>
  25:   0f 1f 00                nopl   (%rax)
  28:   e9 00 00 00 00          jmpq   2d <baz+0x2d>
  2d:   0f 1f 00                nopl   (%rax)
  30:   e9 00 00 00 00          jmpq   35 <baz+0x35>
  35:   0f 1f 00                nopl   (%rax)
  38:   e9 00 00 00 00          jmpq   3d <baz+0x3d>


However if I change the code to:

unsigned f(void);
unsigned g(void);
unsigned h(void);
unsigned i(void);
unsigned j(void);

unsigned int baz(unsigned int id)
{
  switch (id)
    {
    case 0:
      return f();
    case 1:
      return g();
    case 23456:          // <- changed
      return h();
    case 3:
      return i();
    case 4:
      return j();
    default:
      __builtin_unreachable();
    }
}

Then a non-optimal decision tree is generated:

0000000000000000 <baz>:
   0:   83 ff 03                cmp    $0x3,%edi
   3:   74 3b                   je     40 <baz+0x40>
   5:   77 09                   ja     10 <baz+0x10>
   7:   85 ff                   test   %edi,%edi
   9:   75 15                   jne    20 <baz+0x20>
   b:   e9 00 00 00 00          jmpq   10 <baz+0x10>
  10:   83 ff 04                cmp    $0x4,%edi
  13:   75 1b                   jne    30 <baz+0x30>
  15:   e9 00 00 00 00          jmpq   1a <baz+0x1a>
  1a:   66 0f 1f 44 00 00       nopw   0x0(%rax,%rax,1)
  20:   83 ff 01                cmp    $0x1,%edi
  23:   75 20                   jne    45 <baz+0x45>
  25:   e9 00 00 00 00          jmpq   2a <baz+0x2a>
  2a:   66 0f 1f 44 00 00       nopw   0x0(%rax,%rax,1)
  30:   81 ff a0 5b 00 00       cmp    $0x5ba0,%edi
  36:   75 0d                   jne    45 <baz+0x45>
  38:   e9 00 00 00 00          jmpq   3d <baz+0x3d>
  3d:   0f 1f 00                nopl   (%rax)
  40:   e9 00 00 00 00          jmpq   45 <baz+0x45>


When we reach line 0x20, we know that 0<%edi<3 so the comparison against 1 is
unnecessary.  Similarly, the comparison on line 0x30 is unnecessary as %edi
must be equal to 23456 at this point.

I'd expect the effect of __builtin_unreachable() to cause lines
0x20,0x23,0x30,0x36 to be removed from that output.

It looks like that when building a decision tree over a switch, the presence of
an unreachable default would allow to get rid of a comparison for all leaves of
the tree.
>From gcc-bugs-return-633560-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 11:13:17 2019
Return-Path: <gcc-bugs-return-633560-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77175 invoked by alias); 13 Feb 2019 11:13: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 77089 invoked by uid 48); 13 Feb 2019 11:13:12 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89303] [8 Regression] memory leak with shared_ptr and enable_shared_from_this
Date: Wed, 13 Feb 2019 11:13: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: 8.2.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89303-4-80j0ZzXE4N@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg01862.txt.bz2
Content-length: 2716

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

--- Comment #20 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
On:
# .MEM_64 = VDEF <.MEM_63>
MEM[(struct __weak_ptr *)_16]._M_ptr = _16;
stmt_may_clobber_global_p (stmt) returns false.
(gdb) p pt_solution_includes_global
(&cfun->gimple_df->ssa_names->m_vecdata[16]->ssa_name.info.ptr_info->pt)
$99 = false
(gdb) p pt_solution_includes_global
(&cfun->gimple_df->ssa_names->m_vecdata[24]->ssa_name.info.ptr_info->pt)
$100 = true

This makes no sense to me, when _16 is &MEM[(struct __aligned_buffer *)_24 +
16B]._M_storage, thus effectively just POINTER_PLUS_EXPR from _24, it could
have different alignment, but how it can have different points-to info?

(gdb) p debug_tree (cfun->gimple_df->ssa_names->m_vecdata[16])
 <ssa_name 0x7fffea38eb88
    type <pointer_type 0x7fffea81c000
        type <void_type 0x7fffea813f18 void type_6 VOID
            align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7fffea813f18
            pointer_to_this <pointer_type 0x7fffea81c000>>
        public unsigned type_6 DI
        size <integer_cst 0x7fffea7f5e28 constant 64>
        unit-size <integer_cst 0x7fffea7f5e40 constant 8>
        align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7fffea81c000
        pointer_to_this <pointer_type 0x7fffea8247e0>>
    visited
    def_stmt _16 = &MEM[(struct __aligned_buffer *)_24 + 16B]._M_storage;
    version:16
    ptr-info 0x7fffea39a288>
(gdb) p debug_tree (cfun->gimple_df->ssa_names->m_vecdata[24])
 <ssa_name 0x7fffea38edc8
    type <pointer_type 0x7fffea5f3a80
        type <record_type 0x7fffea5e9348 _Sp_counted_ptr_inplace addressable
tree_2 needs-constructing type_1 type_4 type_5 type_6 BLK
            size <integer_cst 0x7fffea5a2c18 constant 320>
            unit-size <integer_cst 0x7fffea5f2390 constant 40>
            user align:64 warn_if_not_align:0 symtab:0 alias-set -1
canonical-type 0x7fffea5e9348 fields <function_decl 0x7fffea61ae00 __ct >
context <namespace_decl 0x7fffea80f098 std>
            full-name "class std::_Sp_counted_ptr_inplace<blob,
std::allocator<blob>, 0>"
            needs-constructor needs-destructor X(constX&) this=(X&) n_parents=1
use_template=1 interface-unknown
            pointer_to_this <pointer_type 0x7fffea5f3a80> chain <type_decl
0x7fffea5e2c78 _Sp_counted_ptr_inplace>>
        sizes-gimplified public unsigned type_6 DI
        size <integer_cst 0x7fffea7f5e28 constant 64>
        unit-size <integer_cst 0x7fffea7f5e40 constant 8>
        align:64 warn_if_not_align:0 symtab:0 alias-set 16 canonical-type
0x7fffea5f3a80>
    visited
    def_stmt _24 = malloc (40);
    version:24
    ptr-info 0x7fffea39a138>
>From gcc-bugs-return-633561-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 11:14:40 2019
Return-Path: <gcc-bugs-return-633561-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79065 invoked by alias); 13 Feb 2019 11:14:32 -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 78984 invoked by uid 48); 13 Feb 2019 11:14:28 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89303] [7/8/9 Regression] memory leak with shared_ptr and enable_shared_from_this
Date: Wed, 13 Feb 2019 11:14: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: 8.2.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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 short_desc
Message-ID: <bug-89303-4-ffniZL7sqE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg01863.txt.bz2
Content-length: 511

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P2
            Summary|[8/9 Regression] memory     |[7/8/9 Regression] memory
                   |leak with shared_ptr and    |leak with shared_ptr and
                   |enable_shared_from_this     |enable_shared_from_this
>From gcc-bugs-return-633562-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 11:20:13 2019
Return-Path: <gcc-bugs-return-633562-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85379 invoked by alias); 13 Feb 2019 11:20: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 85291 invoked by uid 48); 13 Feb 2019 11:20:09 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89303] [7/8/9 Regression] memory leak with shared_ptr and enable_shared_from_this
Date: Wed, 13 Feb 2019 11:20: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: 8.2.1
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: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-89303-4-al4BBioMfL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg01864.txt.bz2
Content-length: 524

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org

--- Comment #21 from Richard Biener <rguenth at gcc dot gnu.org> ---
Thanks for the analysis (where I agree with the P2), I'll have a look.
>From gcc-bugs-return-633563-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 11:25:16 2019
Return-Path: <gcc-bugs-return-633563-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124008 invoked by alias); 13 Feb 2019 11:25: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 121683 invoked by uid 55); 13 Feb 2019 11:25:01 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89260] ICE in read_cgraph_and_symbols, at lto/lto.c:2800 while compiling harfbuzz
Date: Wed, 13 Feb 2019 11:25: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:
X-Bugzilla-Severity: normal
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89260-4-z9w5l4oZtm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89260-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89260-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: 2019-02/txt/msg01865.txt.bz2
Content-length: 566

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

--- Comment #13 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Wed Feb 13 11:24:28 2019
New Revision: 268840

URL: https://gcc.gnu.org/viewcvs?rev=268840&root=gcc&view=rev
Log:
Bump LTO_minor_version on GCC-8 branch (PR lto/89260).

2019-02-13  Martin Liska  <mliska@suse.cz>

        PR lto/89260
        * lto-streamer.h (LTO_minor_version): Bump version due
        to r268698.

Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/lto-streamer.h
>From gcc-bugs-return-633564-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 11:25:57 2019
Return-Path: <gcc-bugs-return-633564-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26832 invoked by alias); 13 Feb 2019 11:25:57 -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 22502 invoked by uid 48); 13 Feb 2019 11:25:53 -0000
From: "stsp at users dot sourceforge.net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89331] New: internal compiler error: in build_simple_base_path, at cp/class.c:589
Date: Wed, 13 Feb 2019 11:25: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: stsp at users dot sourceforge.net
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-89331-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: 2019-02/txt/msg01866.txt.bz2
Content-length: 1044

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

            Bug ID: 89331
           Summary: internal compiler error: in build_simple_base_path, at
                    cp/class.c:589
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: stsp at users dot sourceforge.net
  Target Milestone: ---

#include <cstddef>

class A {
public:
    char a;
};

class B : public A {
public:
    static constexpr size_t b = offsetof(B, a);
};


$ c++ -Wall -c overl.cpp 
In file included from /usr/include/c++/8/cstddef:50,
                 from overl.cpp:1:
overl.cpp:10:41: internal compiler error: in build_simple_base_path, at
cp/class.c:589
 static constexpr size_t b = offsetof(B, a);
                                         ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-8/README.Bugs> for instructions.
>From gcc-bugs-return-633565-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 11:27:54 2019
Return-Path: <gcc-bugs-return-633565-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32130 invoked by alias); 13 Feb 2019 11:27: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 32052 invoked by uid 48); 13 Feb 2019 11:27:50 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89260] ICE in read_cgraph_and_symbols, at lto/lto.c:2800 while compiling harfbuzz
Date: Wed, 13 Feb 2019 11:27: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:
X-Bugzilla-Severity: normal
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89260-4-Zx5dWTHxdz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89260-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89260-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: 2019-02/txt/msg01867.txt.bz2
Content-length: 459

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

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

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

--- Comment #14 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed on affected GCC-8 branch.
>From gcc-bugs-return-633566-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 11:32:10 2019
Return-Path: <gcc-bugs-return-633566-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112485 invoked by alias); 13 Feb 2019 11:32: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 112387 invoked by uid 48); 13 Feb 2019 11:32:06 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89303] [7/8/9 Regression] memory leak with shared_ptr and enable_shared_from_this
Date: Wed, 13 Feb 2019 11:32: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: 8.2.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89303-4-qWA8Gdb5QL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg01868.txt.bz2
Content-length: 705

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

--- Comment #22 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
--- gcc/tree-ssa-structalias.c.jj       2019-01-01 12:37:18.738949011 +0100
+++ gcc/tree-ssa-structalias.c  2019-02-13 12:28:54.592256591 +0100
@@ -6412,7 +6412,7 @@ set_uids_in_ptset (bitmap into, bitmap f
              && bitmap_bit_p (escaped_vi->solution, i)))
        {
          pt->vars_contains_escaped = true;
-         pt->vars_contains_escaped_heap = vi->is_heap_var;
+         pt->vars_contains_escaped_heap |= vi->is_heap_var;
        }

       if (vi->is_restrict_var)

fixes this for me (though, no idea what is that other variable in the points-to
set of _16).
>From gcc-bugs-return-633567-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 11:37:49 2019
Return-Path: <gcc-bugs-return-633567-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17335 invoked by alias); 13 Feb 2019 11:37: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 17208 invoked by uid 48); 13 Feb 2019 11:37:45 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89295] [9 regression] compilation of gcc.dg-struct-layout-1/t001_x.c takes 30 times as long after r268404
Date: Wed, 13 Feb 2019 11: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: amodra 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: cc
Message-ID: <bug-89295-4-uOULIpVR2P@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89295-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89295-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: 2019-02/txt/msg01869.txt.bz2
Content-length: 412

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

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amodra at gmail dot com

--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
Did the pr89225 fix make a difference here?
>From gcc-bugs-return-633568-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 11:54:55 2019
Return-Path: <gcc-bugs-return-633568-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43385 invoked by alias); 13 Feb 2019 11:54:55 -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 43202 invoked by uid 48); 13 Feb 2019 11:54:46 -0000
From: "prathamesh3492 at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89332] New: Missed detection of dead stores to array in a loop
Date: Wed, 13 Feb 2019 11:54: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: prathamesh3492 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-89332-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: 2019-02/txt/msg01870.txt.bz2
Content-length: 2084

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

            Bug ID: 89332
           Summary: Missed detection of dead stores to array in a loop
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: prathamesh3492 at gcc dot gnu.org
  Target Milestone: ---

Hi,
For the following test-case:

#define ARR_MAX 6

__attribute__((const)) int f(int);

int foo()
{
  int arr[ARR_MAX];

  for (int i = 0; i < ARR_MAX; i++)
    arr[i] = f(i);

  return arr[0];
}

With -O3, gcc generates call to f(i) and store to arr[i] on every iteration,
while clang detects the stores to arr are dead (except for arr[0]), removes the
loop and emits a tail-call to f(0).

aarch64-linux-gnu-gcc -O3:
foo:
.LFB0:
        .cfi_startproc
        stp     x29, x30, [sp, -64]!
        .cfi_def_cfa_offset 64
        .cfi_offset 29, -64
        .cfi_offset 30, -56
        mov     x29, sp
        stp     x19, x20, [sp, 16]
        .cfi_offset 19, -48
        .cfi_offset 20, -40
        add     x20, sp, 40
        mov     w19, 0
        .p2align 3,,7
.L2:
        mov     w0, w19
        bl      f
        str     w0, [x20], 4
        add     w19, w19, 1
        cmp     w19, 6
        bne     .L2
        ldr     w0, [sp, 40]
        ldp     x19, x20, [sp, 16]
        ldp     x29, x30, [sp], 64
        .cfi_restore 30
        .cfi_restore 29
        .cfi_restore 19
        .cfi_restore 20
        .cfi_def_cfa_offset 0
        ret


clang -O3 --target=aarch64-linux-gnu:
foo:                                    // @foo
// %bb.0:
        mov     w0, wzr
        b       f

It seems, clang takes advantage of loop unrolling for the above-case,
while gcc doesn't seem to. After increasing ARR_MAX from 6 to 512, clang
generates same/similar code as gcc.

I doubt tho if such code is written in practice or can result due to
abstraction lowering ? It was just a contrived test-case I made up.

Thanks,
Prathamesh
>From gcc-bugs-return-633569-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 12:07:18 2019
Return-Path: <gcc-bugs-return-633569-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74272 invoked by alias); 13 Feb 2019 12:07: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 74200 invoked by uid 48); 13 Feb 2019 12:07:13 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89193] "make distclean" leaves stuff in gotools/
Date: Wed, 13 Feb 2019 12:07: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: segher at gcc dot gnu.org
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89193-4-gXQh94z7Xi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89193-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89193-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: 2019-02/txt/msg01871.txt.bz2
Content-length: 136

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

--- Comment #3 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Thank you!
>From gcc-bugs-return-633570-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 12:08:19 2019
Return-Path: <gcc-bugs-return-633570-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75854 invoked by alias); 13 Feb 2019 12:08:19 -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 75769 invoked by uid 48); 13 Feb 2019 12:08:15 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89303] [7/8/9 Regression] memory leak with shared_ptr and enable_shared_from_this
Date: Wed, 13 Feb 2019 12:08: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: 8.2.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: assigned_to attachments.created
Message-ID: <bug-89303-4-1XlFXnwWwB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg01872.txt.bz2
Content-length: 526

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #23 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45692
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45692&action=edit
gcc9-pr89303.patch

Full untested fix.
>From gcc-bugs-return-633571-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 12:12:44 2019
Return-Path: <gcc-bugs-return-633571-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88911 invoked by alias); 13 Feb 2019 12:12:44 -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 88843 invoked by uid 55); 13 Feb 2019 12:12:40 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89281] [9 Regression] gcc/optabs.c:3901:30: runtime error: shift exponent 32 is too large for 32-bit type 'int'
Date: Wed, 13 Feb 2019 12:12: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89281-4-wV2bPLud9k@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89281-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89281-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: 2019-02/txt/msg01873.txt.bz2
Content-length: 507

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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Feb 13 12:12:09 2019
New Revision: 268841

URL: https://gcc.gnu.org/viewcvs?rev=268841&root=gcc&view=rev
Log:
        PR middle-end/89281
        * optabs.c (prepare_cmp_insn): Use UINTVAL (size) instead of
        INTVAL (size), compare it to GET_MODE_MASK instead of
        1 << GET_MODE_BITSIZE.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/optabs.c
>From gcc-bugs-return-633572-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 12:14:22 2019
Return-Path: <gcc-bugs-return-633572-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111735 invoked by alias); 13 Feb 2019 12:14: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 109511 invoked by uid 48); 13 Feb 2019 12:14:18 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/78983] [7/8/9 Regression] ICE with CAF-DT with allocatable member
Date: Wed, 13 Feb 2019 12:14: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.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-78983-4-hgjtbDgaEz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78983-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78983-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: 2019-02/txt/msg01874.txt.bz2
Content-length: 582

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

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

--- Comment #11 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> I see no ICE in testing the code from Comment 3 using fortran 7.3.0,
> 8.2.0, and 9.0.1. 

Confirmed.

> I believe this can be closed.

Closing.
>From gcc-bugs-return-633573-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 12:14:23 2019
Return-Path: <gcc-bugs-return-633573-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112037 invoked by alias); 13 Feb 2019 12:14: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 109783 invoked by uid 48); 13 Feb 2019 12:14:19 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/83700] [Meta-bug] Fortran Coarray issues
Date: Wed, 13 Feb 2019 12:14:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
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: dominiq at lps dot ens.fr
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 resolution
Message-ID: <bug-83700-4-LpsgH4Kqne@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83700-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83700-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: 2019-02/txt/msg01875.txt.bz2
Content-length: 486

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83700
Bug 83700 depends on bug 78983, which changed state.

Bug 78983 Summary: [7/8/9 Regression] ICE with CAF-DT with allocatable member
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78983

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-633574-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 12:41:52 2019
Return-Path: <gcc-bugs-return-633574-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129825 invoked by alias); 13 Feb 2019 12:41:52 -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 129761 invoked by uid 48); 13 Feb 2019 12:41:49 -0000
From: "wilco at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89222] [7/8/9 regression] ARM thumb-2 misoptimisation of func ptr call with -O2 or -Os
Date: Wed, 13 Feb 2019 12:41: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: 7.3.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wilco at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: wilco at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89222-4-SWr3UJSO1Y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89222-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89222-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: 2019-02/txt/msg01876.txt.bz2
Content-length: 286

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

--- Comment #8 from Wilco <wilco at gcc dot gnu.org> ---
(In reply to Wilco from comment #7)
> Patch: https://gcc.gnu.org/ml/gcc-patches/2019-02/msg00780.html

Updated patch: https://gcc.gnu.org/ml/gcc-patches/2019-02/msg00947.html
>From gcc-bugs-return-633575-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 12:52:20 2019
Return-Path: <gcc-bugs-return-633575-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84944 invoked by alias); 13 Feb 2019 12:52:19 -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 84906 invoked by uid 48); 13 Feb 2019 12:52:16 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89291] internal compiler error: in gfc_trans_use_stmts
Date: Wed, 13 Feb 2019 12:52: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.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: WAITING
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-89291-4-Cfgja9RnJX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89291-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89291-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: 2019-02/txt/msg01877.txt.bz2
Content-length: 444

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

--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Installed gcc-5.5.0 and built the identical WRF version.
>
> No ICE encountered with 5.5.0. 

Then if you get an ICE with 7.4, it a regression. Did you try 8.2 or trunk.

> Contacted NCAR, the providers of the source code.

Did you give them the URL to this PR?

It would be nice if they can attach a reproducer.
>From gcc-bugs-return-633576-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 12:57:19 2019
Return-Path: <gcc-bugs-return-633576-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116269 invoked by alias); 13 Feb 2019 12:57:19 -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 109872 invoked by uid 48); 13 Feb 2019 12:57:15 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89331] [8/9 Regression] internal compiler error: in build_simple_base_path, at cp/class.c:589
Date: Wed, 13 Feb 2019 12: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89331-4-flgBCwOv19@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89331-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89331-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: 2019-02/txt/msg01878.txt.bz2
Content-length: 1940

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-13
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |jason at gcc dot gnu.org
   Target Milestone|---                         |8.3
            Summary|internal compiler error: in |[8/9 Regression] internal
                   |build_simple_base_path, at  |compiler error: in
                   |cp/class.c:589              |build_simple_base_path, at
                   |                            |cp/class.c:589
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
This used to be rejected (on the trunk until r260782, where it started ICEing,
on 8.x branch without giving any errors first, on the trunk as error recovery
ICE with
pr89331.C:2:71: error: cannot convert from ‘B’ to base class ‘A’ because ‘B’ is
incomplete
2 | struct B : public A { static constexpr int b = __builtin_offsetof (B, a);
};
  |                                                                       ^
pr89331.C:2:71: internal compiler error: in build_class_member_access_expr, at
cp/typeck.c:2480
0xb108bc build_class_member_access_expr(cp_expr, tree_node*, tree_node*, bool,
int)
        ../../gcc/cp/typeck.c:2480
0xb128cc finish_class_member_access_expr(cp_expr, tree_node*, bool, int)
        ../../gcc/cp/typeck.c:3001

Simplified testcase:
struct A { char a; };
struct B : public A { static constexpr int b = __builtin_offsetof (B, a); };

clang rejects this too, not really sure if it is valid or not.
>From gcc-bugs-return-633577-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 13:03:48 2019
Return-Path: <gcc-bugs-return-633577-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130944 invoked by alias); 13 Feb 2019 13:03: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 130828 invoked by uid 48); 13 Feb 2019 13:03:43 -0000
From: "mark.eggleston at codethink dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89100] Default widths for i, f and g format specifiers in format strings
Date: Wed, 13 Feb 2019 13:03: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mark.eggleston at codethink dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89100-4-y7avNzIKUR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89100-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89100-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: 2019-02/txt/msg01879.txt.bz2
Content-length: 435

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

--- Comment #7 from MarkEggleston <mark.eggleston at codethink dot com> ---
Created attachment 45693
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45693&action=edit
Update to option and Extension documentation

Documentation changes in their own difference file so that they can be checked
independently of the patch.

Patch will be update to incorporate the changes.
>From gcc-bugs-return-633578-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 13:03:49 2019
Return-Path: <gcc-bugs-return-633578-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 430 invoked by alias); 13 Feb 2019 13:03: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 130882 invoked by uid 48); 13 Feb 2019 13:03:45 -0000
From: "matmal01 at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89324] [9 Regression] ICE in extract_constrain_insn, at recog.c:2211 on aarch64
Date: Wed, 13 Feb 2019 13:03: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: unknown
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: matmal01 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:
Message-ID: <bug-89324-4-ttDoRLrXnC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89324-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89324-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: 2019-02/txt/msg01880.txt.bz2
Content-length: 726

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

--- Comment #3 from Matthew Malcomson <matmal01 at gcc dot gnu.org> ---
(In reply to ktkachov from comment #2)
> The sub<mode>3_compare1_imm pattern was introduced for GCC 9. It's probably
> something going wrong with the constraints. Matthew, could you take a look
> please?

On first blush it looks like the define_peephole2 generating this instruction
allows the stack pointer while the 'r' constraint in the pattern doesn't accept
it.

A quick check of only allowing GENERAL_REGS registers in the peephole indeed
stops the generation of this instruction and hence avoids the bug.

I haven't yet checked whether the pattern should allow the stack pointer or
not.
>From gcc-bugs-return-633579-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 13:05:31 2019
Return-Path: <gcc-bugs-return-633579-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3804 invoked by alias); 13 Feb 2019 13:05: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 3739 invoked by uid 55); 13 Feb 2019 13:05:27 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88649] runtime error: load of value 137971008, which is not a valid value for type 'gfc_intrinsic_op'
Date: Wed, 13 Feb 2019 13:05: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:
X-Bugzilla-Severity: normal
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88649-4-70K5H0i12Z@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88649-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88649-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: 2019-02/txt/msg01881.txt.bz2
Content-length: 631

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

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Wed Feb 13 13:04:56 2019
New Revision: 268842

URL: https://gcc.gnu.org/viewcvs?rev=268842&root=gcc&view=rev
Log:
Fix -fdec simplification (PR fortran/88649).

2019-02-13  Martin Liska  <mliska@suse.cz>

        PR fortran/88649
        * resolve.c (resolve_operator): Initialize 't' right
        after function entry.  Skip switch (e->value.op.op)
        for -fdec operands that become function calls.

Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/resolve.c
>From gcc-bugs-return-633580-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 13:06:07 2019
Return-Path: <gcc-bugs-return-633580-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5384 invoked by alias); 13 Feb 2019 13:06: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 4841 invoked by uid 48); 13 Feb 2019 13:05:58 -0000
From: "mark.eggleston at codethink dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89100] Default widths for i, f and g format specifiers in format strings
Date: Wed, 13 Feb 2019 13:06: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mark.eggleston at codethink dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created
Message-ID: <bug-89100-4-BI6euzxCKt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89100-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89100-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: 2019-02/txt/msg01882.txt.bz2
Content-length: 626

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

MarkEggleston <mark.eggleston at codethink dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45548|0                           |1
        is obsolete|                            |

--- Comment #8 from MarkEggleston <mark.eggleston at codethink dot com> ---
Created attachment 45694
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45694&action=edit
Patch to support default widths for f, g and i

Patch updated to incorporate documentation changes.
>From gcc-bugs-return-633581-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 13:08:11 2019
Return-Path: <gcc-bugs-return-633581-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63057 invoked by alias); 13 Feb 2019 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 62988 invoked by uid 48); 13 Feb 2019 13:08:07 -0000
From: "mark.eggleston at codethink dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89100] Default widths for i, f and g format specifiers in format strings
Date: Wed, 13 Feb 2019 13:08: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mark.eggleston at codethink dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created
Message-ID: <bug-89100-4-kTUx9RhKV0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89100-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89100-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: 2019-02/txt/msg01883.txt.bz2
Content-length: 608

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

MarkEggleston <mark.eggleston at codethink dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45603|0                           |1
        is obsolete|                            |

--- Comment #9 from MarkEggleston <mark.eggleston at codethink dot com> ---
Created attachment 45695
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45695&action=edit
Change log for gcc/fortran for patch

Updated to include changes in documentation
>From gcc-bugs-return-633582-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 13:09:21 2019
Return-Path: <gcc-bugs-return-633582-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64785 invoked by alias); 13 Feb 2019 13:09: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 64693 invoked by uid 48); 13 Feb 2019 13:09:17 -0000
From: "mark.eggleston at codethink dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89100] Default widths for i, f and g format specifiers in format strings
Date: Wed, 13 Feb 2019 13:09: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mark.eggleston at codethink dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89100-4-lYNWIgc98p@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89100-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89100-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: 2019-02/txt/msg01884.txt.bz2
Content-length: 324

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

--- Comment #10 from MarkEggleston <mark.eggleston at codethink dot com> ---
Created attachment 45696
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45696&action=edit
Change Log for gcc/testsuite for patch

Replace -fdec-format-defaults with PR fortran/89100.
>From gcc-bugs-return-633584-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 13:10:51 2019
Return-Path: <gcc-bugs-return-633584-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67174 invoked by alias); 13 Feb 2019 13:10: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 67124 invoked by uid 48); 13 Feb 2019 13:10:47 -0000
From: "ganeshemb at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/89323] Asan memory leak detection on x86 platform
Date: Wed, 13 Feb 2019 13:10: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: 6.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ganeshemb at gmail dot com
X-Bugzilla-Status: WAITING
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-89323-4-KqbC8f1Kuq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89323-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89323-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: 2019-02/txt/msg01886.txt.bz2
Content-length: 1035

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

--- Comment #4 from Ganesh Babu <ganeshemb at gmail dot com> ---
(In reply to Martin Liška from comment #2)
> I can confirm that LSAN does not work for -m32 on current trunk. It was
> enabled in:
> 
> commit 1e39eaad45fc92b49e189badf0a5a675fbfb4ad0
> Author: Francis Ricci <francisjricci@gmail.com>
> Date:   Tue Mar 28 21:56:44 2017 +0000
> 
>     Enable i386 builds for darwin lsan
>     
>     Summary:
>     Now that __thread is no longer used for lsan on darwin, i386 builds
>     can be enabled.
>     
>     Reviewers: kcc, kubamracek
>     
>     Subscribers: danalbert, srhines, mgorny, llvm-commits
>     
>     Differential Revision: https://reviews.llvm.org/D29995
>     
>     git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@298946
> 91177308-0d34-0410-b5e6-96231b3b80d8

Hi,

<I can confirm that LSAN does not work for -m32 on current trunk.

can this issue be addressed in latest versions ?
>From gcc-bugs-return-633583-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 13:10:24 2019
Return-Path: <gcc-bugs-return-633583-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66240 invoked by alias); 13 Feb 2019 13:10: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 66151 invoked by uid 48); 13 Feb 2019 13:10:21 -0000
From: "mark.eggleston at codethink dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89100] Default widths for i, f and g format specifiers in format strings
Date: Wed, 13 Feb 2019 13:10: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mark.eggleston at codethink dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created
Message-ID: <bug-89100-4-Ek9ZAd4ubF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89100-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89100-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: 2019-02/txt/msg01885.txt.bz2
Content-length: 594

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

MarkEggleston <mark.eggleston at codethink dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45550|0                           |1
        is obsolete|                            |

--- Comment #11 from MarkEggleston <mark.eggleston at codethink dot com> ---
Created attachment 45697
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45697&action=edit
Change Log for libgfortran for patch

Add PR fortran/89100 to log.
>From gcc-bugs-return-633585-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 13:13:28 2019
Return-Path: <gcc-bugs-return-633585-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 70998 invoked by alias); 13 Feb 2019 13:13: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 70900 invoked by uid 48); 13 Feb 2019 13:13:24 -0000
From: "ganeshemb at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/89323] Asan memory leak detection on x86 platform
Date: Wed, 13 Feb 2019 13:13: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: 6.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ganeshemb at gmail dot com
X-Bugzilla-Status: WAITING
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-89323-4-krd66IyUM9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89323-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89323-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: 2019-02/txt/msg01887.txt.bz2
Content-length: 992

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

--- Comment #5 from Ganesh Babu <ganeshemb at gmail dot com> ---
(In reply to Martin Liška from comment #3)
> > works for current clang:
> > 
> > clang-6.0 -g -fsanitize=address -fno-omit-frame-pointer -m32  asantest.c  &&
> > ./a.out 
> > 
> > AddressSanitizer:DEADLYSIGNAL
> > =================================================================
> > ==6318==ERROR: AddressSanitizer: SEGV on unknown address 0x00000000 (pc
> > 0xf74f2a66 bp 0xfff26cb8 sp 0xfff26854 T0)
> > 
> > 
> 
> No, you forgot to provide ./a.out argument. That's why you see a SEGV.
> Please try latest clang release (7) and test it. If it's failing, please
> report upstream bug https://github.com/google/sanitizers/issues.

i have raised a request at https://github.com/google/sanitizers/issues/1049
>From gcc-bugs-return-633586-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 13:15:38 2019
Return-Path: <gcc-bugs-return-633586-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73734 invoked by alias); 13 Feb 2019 13:15: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 73640 invoked by uid 48); 13 Feb 2019 13:15:33 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88649] runtime error: load of value 137971008, which is not a valid value for type 'gfc_intrinsic_op'
Date: Wed, 13 Feb 2019 13:15: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:
X-Bugzilla-Severity: normal
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-88649-4-DIytOwxiGf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88649-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88649-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: 2019-02/txt/msg01888.txt.bz2
Content-length: 442

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

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

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

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed on trunk.
>From gcc-bugs-return-633587-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 13:15:38 2019
Return-Path: <gcc-bugs-return-633587-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73744 invoked by alias); 13 Feb 2019 13:15: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 73660 invoked by uid 48); 13 Feb 2019 13:15:34 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined
Date: Wed, 13 Feb 2019 13:15:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords: meta-bug
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-63426-4-tpCufD57Il@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63426-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63426-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: 2019-02/txt/msg01889.txt.bz2
Content-length: 522

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426
Bug 63426 depends on bug 88649, which changed state.

Bug 88649 Summary: runtime error: load of value 137971008, which is not a valid value for type 'gfc_intrinsic_op'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88649

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-633588-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 13:18:35 2019
Return-Path: <gcc-bugs-return-633588-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77739 invoked by alias); 13 Feb 2019 13:18: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 77671 invoked by uid 48); 13 Feb 2019 13:18:31 -0000
From: "bennet at umich dot edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/84554] make check: FAIL: tversion: ERROR! The versions of gmp.h (5.0.5) and libgmp (4.3.1) do not match.
Date: Wed, 13 Feb 2019 13:18: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: 7.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bennet at umich dot edu
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-84554-4-7AOuCmrPUK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84554-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84554-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: 2019-02/txt/msg01890.txt.bz2
Content-length: 3779

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

Bennet Fauber <bennet at umich dot edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bennet at umich dot edu

--- Comment #8 from Bennet Fauber <bennet at umich dot edu> ---
I believe the problem related below is related to this issue.

I am building GCC 8.2.0 on CentOS 7.5 which comes with GCC 4.8.5 and GMP 6.0.0.
 I used download_prerequisites to download GMP, et al.

When I run make check from the GCC build directory, it issues the FAIL message
for mismatched library and header version information for GMP.

When GCC runs make check, it uses this command to compile the test.

$ /tmp/bennet/build/gcc-8.2.0-build/./prev-gcc/xgcc
-B/tmp/bennet/build/gcc-8.2.0-build/./prev-gcc/
-B/tmp/local/x86_64-pc-linux-gnu/bin/ -B/tmp/local/x86_64-pc-linux-gnu/bin/
-B/tmp/local/x86_64-pc-linux-gnu/lib/ -isystem
/tmp/local/x86_64-pc-linux-gnu/include -isystem
/tmp/local/x86_64-pc-linux-gnu/sys-include -DNO_ASM -g -O2 -static-libstdc++
-static-libgcc -o tversion tversion.o  -L../src/.libs ./.libs/libfrtests.a -lm
../src/.libs/libmpfr.a -lgmp

which results in this binary

$ ldd tversion
    linux-vdso.so.1 =>  (0x00007fffd9d67000)
    libm.so.6 => /lib64/libm.so.6 (0x00002afc45e2a000)
    libgmp.so.10 => /lib64/libgmp.so.10 (0x00002afc4612c000)
    libc.so.6 => /lib64/libc.so.6 (0x00002afc463a4000)
    /lib64/ld-linux-x86-64.so.2 (0x00002afc45c06000)

and that most definitely will fail the test because of the reference to
/lib64/libgmp.so.10.

If I change to the mpfr/tests directory and remove tversion, then run make from
there, mpfr's Makefile compiles it this way

$ make tversion
/bin/sh ../libtool  --tag=CC   --mode=link
/tmp/bennet/build/gcc-8.2.0-build/./prev-gcc/xgcc
-B/tmp/bennet/build/gcc-8.2.0-build/./prev-gcc/
-B/tmp/local/x86_64-pc-linux-gnu/bin/ -B/tmp/local/x86_64-pc-linux-gnu/bin/
-B/tmp/local/x86_64-pc-linux-gnu/lib/ -isystem
/tmp/local/x86_64-pc-linux-gnu/include -isystem
/tmp/local/x86_64-pc-linux-gnu/sys-include     -g -O2 -no-install
-L../src/.libs -static-libstdc++ -static-libgcc 
-L/tmp/bennet/build/gcc-8.2.0-build/gmp/.libs -o tversion tversion.o
libfrtests.la -lm ../src/libmpfr.la -lgmp 
libtool: link: /tmp/bennet/build/gcc-8.2.0-build/./prev-gcc/xgcc
-B/tmp/bennet/build/gcc-8.2.0-build/./prev-gcc/
-B/tmp/local/x86_64-pc-linux-gnu/bin/ -B/tmp/local/x86_64-pc-linux-gnu/bin/
-B/tmp/local/x86_64-pc-linux-gnu/lib/ -isystem
/tmp/local/x86_64-pc-linux-gnu/include -isystem
/tmp/local/x86_64-pc-linux-gnu/sys-include -g -O2 -static-libstdc++
-static-libgcc -o tversion tversion.o  -L../src/.libs
-L/tmp/bennet/build/gcc-8.2.0-build/gmp/.libs ./.libs/libfrtests.a -lm
../src/.libs/libmpfr.a /tmp/bennet/build/gcc-8.2.0-build/gmp/.libs/libgmp.a

which results in this binary

$ ldd tversion
    linux-vdso.so.1 =>  (0x00007ffc899c0000)
    libm.so.6 => /lib64/libm.so.6 (0x00002b39a664f000)
    libc.so.6 => /lib64/libc.so.6 (0x00002b39a6951000)
    /lib64/ld-linux-x86-64.so.2 (0x00002b39a642b000)

and the test passes,

$ ./tversion 
[tversion] MPFR 3.1.4
[tversion] Compiler: GCC 8.2.0
[tversion] GMP: header 6.1.0, library 6.1.0
[tversion] TLS = yes, decimal = no, GMP internals = no
[tversion] intmax_t = yes, printf = yes
[tversion] gmp_printf: hhd = yes, lld = yes, jd = yes, td = yes, Ld = yes
[tversion] MPFR tuning parameters from default

I think this suggests that the problem is in the way the GCC make test is
building the tests.

I am using

$ ../gcc-8.2.0/configure --enable-languages=c,c++,fortran \
    --prefix=/tmp/local --disable-multilibq

Platform is x86_64.
>From gcc-bugs-return-633589-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 13:32:36 2019
Return-Path: <gcc-bugs-return-633589-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21274 invoked by alias); 13 Feb 2019 13:32:36 -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 21172 invoked by uid 55); 13 Feb 2019 13:32:31 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89303] [7/8/9 Regression] memory leak with shared_ptr and enable_shared_from_this
Date: Wed, 13 Feb 2019 13:32: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: 8.2.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89303-4-MgprrTI5Kp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg01891.txt.bz2
Content-length: 854

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

--- Comment #24 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Feb 13 13:32:00 2019
New Revision: 268843

URL: https://gcc.gnu.org/viewcvs?rev=268843&root=gcc&view=rev
Log:
2019-02-13  Jakub Jelinek  <jakub@redhat.com>

        PR middle-end/89303
        * tree-ssa-structalias.c (set_uids_in_ptset): Or in vi->is_heap_var
        into pt->vars_contains_escaped_heap instead of setting
        pt->vars_contains_escaped_heap to it.

2019-02-13  Jonathan Wakely  <jwakely@redhat.com>
            Jakub Jelinek  <jakub@redhat.com>

        PR middle-end/89303
        * g++.dg/torture/pr89303.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/torture/pr89303.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-structalias.c
>From gcc-bugs-return-633590-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 13:33:21 2019
Return-Path: <gcc-bugs-return-633590-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22752 invoked by alias); 13 Feb 2019 13:33: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 22657 invoked by uid 48); 13 Feb 2019 13:33:17 -0000
From: "stsp at users dot sourceforge.net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89331] [8/9 Regression] internal compiler error: in build_simple_base_path, at cp/class.c:589
Date: Wed, 13 Feb 2019 13: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: stsp at users dot sourceforge.net
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-89331-4-tNYVFbyu4F@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89331-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89331-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: 2019-02/txt/msg01892.txt.bz2
Content-length: 763

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

--- Comment #2 from Stas Sergeev <stsp at users dot sourceforge.net> ---
(In reply to Jakub Jelinek from comment #1)
> Simplified testcase:
> struct A { char a; };
> struct B : public A { static constexpr int b = __builtin_offsetof (B, a); };
> 
> clang rejects this too, not really sure if it is valid or not.

Thanks for taking a look!
A slight off-topic: any idea why even this rejects:
struct A {
    char a;
    static constexpr int b = __builtin_offsetof (A, a);
};

and is there any work-around when I want to
pass offsetof value into a template non-type,
which also rejects:
struct A {
    char a;
    B<__builtin_offsetof(A, a)> b;
};

Does the standard explicitly forbids that, of just gcc?
>From gcc-bugs-return-633591-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 13:39:23 2019
Return-Path: <gcc-bugs-return-633591-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43140 invoked by alias); 13 Feb 2019 13:39: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 43049 invoked by uid 48); 13 Feb 2019 13:39:18 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/89333] New: [9 Regression] FAIL: gnat.dg/vect*.adb on darwin
Date: Wed, 13 Feb 2019 13:39: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
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-89333-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: 2019-02/txt/msg01893.txt.bz2
Content-length: 2906

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

            Bug ID: 89333
           Summary: [9 Regression] FAIL: gnat.dg/vect*.adb on darwin
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dominiq at lps dot ens.fr
                CC: ebotcazou at gcc dot gnu.org, iains at gcc dot gnu.org
  Target Milestone: ---

Between revisions and the following ADA tests have started to fail:

FAIL: gnat.dg/vect1.adb 3 blank line(s) in output
FAIL: gnat.dg/vect1.adb (test for excess errors)
FAIL: gnat.dg/vect2.adb 3 blank line(s) in output
FAIL: gnat.dg/vect2.adb (test for excess errors)
FAIL: gnat.dg/vect3.adb 3 blank line(s) in output
FAIL: gnat.dg/vect3.adb (test for excess errors)
FAIL: gnat.dg/vect4.adb 3 blank line(s) in output
FAIL: gnat.dg/vect4.adb (test for excess errors)
FAIL: gnat.dg/vect5.adb 3 blank line(s) in output
FAIL: gnat.dg/vect5.adb (test for excess errors)
FAIL: gnat.dg/vect6.adb 3 blank line(s) in output
FAIL: gnat.dg/vect6.adb (test for excess errors)

The failure for vect1.adb is

spawn -ignore SIGHUP /opt/gcc/build_w/gcc/gnatmake
--GCC=/opt/gcc/build_w/gcc/xgcc --GNATBIND=/opt/gcc/build_w/gcc/gnatbind
--GNATLINK=/opt/gcc/build_w/gcc/gnatlink -cargs -B/opt/gcc/build_w/gcc -largs
--GCC=/opt/gcc/build_w/gcc/xgcc -B/opt/gcc/build_w/gcc  -m32 -margs
--RTS=/opt/gcc/build_w/x86_64-apple-darwin18.2.0/i386/libada -q -f
/opt/gcc/work/gcc/testsuite/gnat.dg/vect1.adb -m32 -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never -O3 -msse2
-fno-vect-cost-model -fdump-tree-vect-details -c -u -S -o vect1.s
+===========================GNAT BUG DETECTED==============================+
| 9.0.1 20190212 (experimental) [trunk revision 268809p12]
(x86_64-apple-darwin18.2.0) GCC error:|
| tree check: expected class 'constant', have 'binary' (mult_expr) in      |
|     valid_constant_size_p, at tree.c:7524                                |
| Error detected at vect1.ads:24:41                                        |
| Please submit a bug report; see https://gcc.gnu.org/bugs/ .              |
| Use a subject line meaningful to you and us to track the bug.            |
| Include the entire contents of this bug box in the report.               |
| Include the exact command that you entered.                              |
| Also include sources listed below.                                       |
+==========================================================================+
>From gcc-bugs-return-633592-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 13:40:14 2019
Return-Path: <gcc-bugs-return-633592-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44803 invoked by alias); 13 Feb 2019 13:40: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 44616 invoked by uid 48); 13 Feb 2019 13:40:05 -0000
From: "mark.eggleston at codethink dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89286] Intrinsic sign and GNU Extension
Date: Wed, 13 Feb 2019 13: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mark.eggleston at codethink dot com
X-Bugzilla-Status: WAITING
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: attachments.created
Message-ID: <bug-89286-4-3rV24v375o@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89286-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89286-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: 2019-02/txt/msg01894.txt.bz2
Content-length: 344

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

--- Comment #9 from MarkEggleston <mark.eggleston at codethink dot com> ---
Created attachment 45698
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45698&action=edit
GNU extension to intrinsic SIGN

Remove declaration of gfc_check_sign from intrinsic.h has it has been deleted.
>From gcc-bugs-return-633593-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 13:41:44 2019
Return-Path: <gcc-bugs-return-633593-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58099 invoked by alias); 13 Feb 2019 13:41:44 -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 56650 invoked by uid 48); 13 Feb 2019 13:41:39 -0000
From: "mark.eggleston at codethink dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89286] Intrinsic sign and GNU Extension
Date: Wed, 13 Feb 2019 13:41: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mark.eggleston at codethink dot com
X-Bugzilla-Status: WAITING
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: attachments.isobsolete attachments.created
Message-ID: <bug-89286-4-1FAmg6Cyrl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89286-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89286-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: 2019-02/txt/msg01895.txt.bz2
Content-length: 610

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

MarkEggleston <mark.eggleston at codethink dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45658|0                           |1
        is obsolete|                            |

--- Comment #10 from MarkEggleston <mark.eggleston at codethink dot com> ---
Created attachment 45699
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45699&action=edit
Change log for gcc/fortran for patch

Update log to include change to intrinsic.h.
>From gcc-bugs-return-633594-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 13:42:14 2019
Return-Path: <gcc-bugs-return-633594-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64176 invoked by alias); 13 Feb 2019 13:42: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 63226 invoked by uid 48); 13 Feb 2019 13:42:07 -0000
From: "stsp at users dot sourceforge.net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug inline-asm/89334] New: unsupported size for integer register
Date: Wed, 13 Feb 2019 13:42: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: stsp at users dot sourceforge.net
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-89334-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: 2019-02/txt/msg01896.txt.bz2
Content-length: 784

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

            Bug ID: 89334
           Summary: unsupported size for integer register
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: inline-asm
          Assignee: unassigned at gcc dot gnu.org
          Reporter: stsp at users dot sourceforge.net
  Target Milestone: ---

Created attachment 45700
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45700&action=edit
test case

The following seemingly valid test-case can
be compiled with clang, but fails with gcc with -O2:

$ gcc -Wall -m32 -O2 -S -o foo.s foo.c 
foo.c: In function ‘do_work’:
foo.c:60:1: error: unsupported size for integer register
>From gcc-bugs-return-633595-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 13:42:14 2019
Return-Path: <gcc-bugs-return-633595-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64295 invoked by alias); 13 Feb 2019 13:42: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 63354 invoked by uid 48); 13 Feb 2019 13:42:08 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/89333] [9 Regression] FAIL: gnat.dg/vect*.adb on darwin
Date: Wed, 13 Feb 2019 13:42: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: unknown
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
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 everconfirmed cf_known_to_fail
Message-ID: <bug-89333-4-ecp7BKgYBl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89333-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89333-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: 2019-02/txt/msg01897.txt.bz2
Content-length: 737

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-13
     Ever confirmed|0                           |1
      Known to fail|                            |9.0

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Between revisions and the following ADA tests have started to fail:

I was supposed to post: Between revisions r268704 and r268809.
>From gcc-bugs-return-633596-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 13:47:15 2019
Return-Path: <gcc-bugs-return-633596-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90103 invoked by alias); 13 Feb 2019 13:47: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 89983 invoked by uid 48); 13 Feb 2019 13:47:09 -0000
From: "ilg at livius dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug driver/89249] mingw, paths with spaces, LTO -> collect2.exe: fatal error: CreateProcess: No such file or directory
Date: Wed, 13 Feb 2019 13:47:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: driver
X-Bugzilla-Version: 8.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ilg at livius dot net
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-89249-4-ph3IeXMTns@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89249-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89249-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: 2019-02/txt/msg01898.txt.bz2
Content-length: 3257

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

--- Comment #4 from Liviu Ionescu <ilg at livius dot net> ---
I added a printf() in pex_win32_exec_child() to see why the lto invocation
fails, and here is the result:


>>>>> pex_win32_exec_child (executable='c:/users/ilg/desktop/8.2.1     1.4-20190213-0923/bin/../libexec/gcc/arm-none-eabi/8.2.1/collect2.exe') <<<<<
>>>>> pex_win32_exec_child (executable='c:/users/ilg/desktop/8.2.1     1.4-20190213-0923/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/bin/ld.exe') <<<<<
>>>>> pex_win32_exec_child (executable='c:/users/ilg/desktop/8.2.1     1.4-20190213-0923/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/bin/nm.exe') <<<<<
>>>>> pex_win32_exec_child (executable='c:/users/ilg/desktop/8.2.1     1.4-20190213-0923/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/bin/nm.exe') <<<<<
>>>>> pex_win32_exec_child (executable='c:/users/ilg/desktop/8.2.1     1.4-20190213-0923/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/bin/nm.exe') <<<<<
>>>>> pex_win32_exec_child (executable='c:/users/ilg/desktop/8.2.1     1.4-20190213-0923/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/bin/nm.exe') <<<<<
>>>>> pex_win32_exec_child (executable='c:/users/ilg/desktop/8.2.1     1.4-20190213-0923/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/bin/nm.exe') <<<<<
>>>>> pex_win32_exec_child (executable='c:/users/ilg/desktop/8.2.1     1.4-20190213-0923/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/bin/nm.exe') <<<<<
>>>>> pex_win32_exec_child (executable='c:/users/ilg/desktop/8.2.1\ \ \ \ \ 1.4-20190213-0923/bin/../libexec/gcc/arm-none-eabi/8.2.1/lto-wrapper.exe') <<<<<
collect2.exe: fatal error: CreateProcess: No such file or directory
compilation terminated.

C:\Users\ilg\tmp\lto>



it looks like the win32 api is not happy with the escaped spaces in the
lto-wrapper path.


I conditionally removed the white space conversion in gcc.c (around line 7741)
and the problem was fixed:


#if defined (__MINGW32__)
      // Win32 fails to CreateProcess if spaces are escaped.
      lto_wrapper_spec = lto_wrapper_file;
#else
      lto_wrapper_file = convert_white_space (lto_wrapper_file);
#endif


I did the same for the second reference to convert_white_space(), while
processing the linker_plugin_file_spec, but I do not have a clear reason why
this is needed, since aparently the name of the temporary files used for the
specs file is generate by win32 in the 8.3 format, and has no spaces.


I tried to remove the conversion entirely, but then ld fails to load the
plugin:


/home/ilg/Desktop/8.2.1       
1.4-20190213-1020/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/bin/ld:
/home/ilg/Desktop/8.2.1: error loading plugin: /home/ilg/Desktop/8.2.1: cannot
open shared object file: No such file or directory
collect2: error: ld returned 1 exit status
ilg@ilg-ud18lts64-gme:~/tmp/lto$ 



I'll apply a patch to build my distribution, but I think a more elaborate
solution is needed.


Although not related to this issue, another curious thing was the sequence of 6
calls to nm shown by the trace. Are they expected?
>From gcc-bugs-return-633597-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 13:52:35 2019
Return-Path: <gcc-bugs-return-633597-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1324 invoked by alias); 13 Feb 2019 13:52: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 1271 invoked by uid 48); 13 Feb 2019 13:52:31 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89330] IPA inliner touches released cgraph_edges
Date: Wed, 13 Feb 2019 13:52: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: hubicka 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-89330-4-0gQxfeON2H@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89330-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89330-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: 2019-02/txt/msg01899.txt.bz2
Content-length: 496

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-13
           Assignee|unassigned at gcc dot gnu.org      |hubicka at gcc dot gnu.org
     Ever confirmed|0                           |1
>From gcc-bugs-return-633598-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 13:52:59 2019
Return-Path: <gcc-bugs-return-633598-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4102 invoked by alias); 13 Feb 2019 13:52: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 4059 invoked by uid 48); 13 Feb 2019 13:52:55 -0000
From: "Hi-Angel at yandex dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89326] [RFE] Highlight `required from here` in compile-error output
Date: Wed, 13 Feb 2019 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: 8.2.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: Hi-Angel at yandex dot ru
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-89326-4-86Ao23fKC7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89326-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89326-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: 2019-02/txt/msg01900.txt.bz2
Content-length: 370

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

--- Comment #2 from Konstantin Kharlamov <Hi-Angel at yandex dot ru> ---
Btw, I just occasionally noted: godbolt site adds their own highlight to GCC
output, in particular they highlight the whole line with "required from here"
with blue. Maybe something can be borrowed from them :)

https://godbolt.org/z/dK0CzG
>From gcc-bugs-return-633599-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 14:04:23 2019
Return-Path: <gcc-bugs-return-633599-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34580 invoked by alias); 13 Feb 2019 14:04: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 34467 invoked by uid 48); 13 Feb 2019 14:04:18 -0000
From: "ilg at livius dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug driver/89249] mingw, paths with spaces, LTO -> collect2.exe: fatal error: CreateProcess: No such file or directory
Date: Wed, 13 Feb 2019 14:04:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: driver
X-Bugzilla-Version: 8.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ilg at livius dot net
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-89249-4-AMg3EXnrjJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89249-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89249-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: 2019-02/txt/msg01901.txt.bz2
Content-length: 320

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

--- Comment #5 from Liviu Ionescu <ilg at livius dot net> ---
The patch is wrong, it should read:

#if defined (__MINGW32__)
      // Win32 fails to CreateProcess if spaces are escaped.
#else
      lto_wrapper_file = convert_white_space (lto_wrapper_file);
#endif
>From gcc-bugs-return-633600-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 14:05:21 2019
Return-Path: <gcc-bugs-return-633600-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36453 invoked by alias); 13 Feb 2019 14: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 36286 invoked by uid 55); 13 Feb 2019 14:05:13 -0000
From: "tnfchris at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88847] gcc.target/aarch64/sve/struct_move_1.c ICE with -fstack-protector-strong
Date: Wed, 13 Feb 2019 14:05: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: unknown
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tnfchris 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-88847-4-6Jr8LQ5upb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88847-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88847-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: 2019-02/txt/msg01902.txt.bz2
Content-length: 1553

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

--- Comment #4 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
Author: tnfchris
Date: Wed Feb 13 14:04:41 2019
New Revision: 268845

URL: https://gcc.gnu.org/viewcvs?rev=268845&root=gcc&view=rev
Log:
AArch64: Allow any offset for SVE addressing modes before reload.

On AArch64 aarch64_classify_address has a case for when it's non-strict
that will allow it to accept any byte offset from a reg when validating
an address in a given addressing mode.

This because reload would later make the address valid. SVE however requires
the address always be valid, but currently allows any address when a MEM +
offset is used.  This causes an ICE as nothing later forces the address to be
legitimate.

The patch forces aarch64_emit_sve_pred_move via expand_insn to ensure that
the addressing mode is valid for any loads/stores it creates, which follows
the SVE way of handling address classifications.

gcc/ChangeLog:

        PR target/88847
        * config/aarch64/aarch64-sve.md (*pred_mov<mode>, pred_mov<mode>):
        Expose as @aarch64_pred_mov.
        * config/aarch64/aarch64.c (aarch64_classify_address):
        Use expand_insn which legitimizes operands.

gcc/testsuite/ChangeLog:

        PR target/88847
        * gcc.target/aarch64/sve/pr88847.c: New test.


Added:
    trunk/gcc/testsuite/gcc.target/aarch64/sve/pr88847.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/aarch64/aarch64-sve.md
    trunk/gcc/config/aarch64/aarch64.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633601-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 14:07:39 2019
Return-Path: <gcc-bugs-return-633601-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41642 invoked by alias); 13 Feb 2019 14:07: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 41580 invoked by uid 48); 13 Feb 2019 14:07:32 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89284] gcc -fsanitize=undefined inhibits -Wuninitialized
Date: Wed, 13 Feb 2019 14:07: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: unknown
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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 attachments.created
Message-ID: <bug-89284-4-brtp9i8DP1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89284-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89284-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: 2019-02/txt/msg01903.txt.bz2
Content-length: 751

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45701
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45701&action=edit
gcc9-pr89284.patch

We could swap the early uninit warning pass with ubsan pass, the former
shouldn't change the IL (except for TREE_NO_WARNING/gimple_no_warning), while
the ubsan pass can make it harder to diagnose something e.g. because of the
enum/bool loads checking.
>From gcc-bugs-return-633602-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 14:21:26 2019
Return-Path: <gcc-bugs-return-633602-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71236 invoked by alias); 13 Feb 2019 14:21: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 71149 invoked by uid 48); 13 Feb 2019 14:21:21 -0000
From: "burnus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89335] New: [9 Regression] ICE with LTO -Wsuggest-final-methods: ICE during IPA pass devirt in types_same_for_odr, at ipa-devirt.c:391
Date: Wed, 13 Feb 2019 14:21:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: lto
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: burnus 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 attachments.created
Message-ID: <bug-89335-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: 2019-02/txt/msg01904.txt.bz2
Content-length: 1688

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

            Bug ID: 89335
           Summary: [9 Regression] ICE with LTO -Wsuggest-final-methods:
                    ICE during IPA pass devirt in types_same_for_odr, at
                    ipa-devirt.c:391
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: burnus at gcc dot gnu.org
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

Created attachment 45702
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45702&action=edit
9 Line test case:  g++ -O2 -flto -Wsuggest-final-methods input.ii

$ g++ -O2 -flto -Wsuggest-final-methods input.ii

during IPA pass: devirt
lto1: internal compiler error: in types_same_for_odr, at ipa-devirt.c:391
0x638062 types_same_for_odr(tree_node const*, tree_node const*)
        ../../gcc/ipa-devirt.c:391
0xa7c1a3 possible_polymorphic_call_targets(tree_node*, long,
ipa_polymorphic_call_context, bool*, void**, bool)
        ../../gcc/ipa-devirt.c:3390
0xa7d315 possible_polymorphic_call_targets(cgraph_edge*, bool*, void**, bool)
        ../../gcc/ipa-utils.h:118
0xa7d315 ipa_devirt
        ../../gcc/ipa-devirt.c:3781
0xa7d315 execute
        ../../gcc/ipa-devirt.c:4094
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.
lto-wrapper: fatal error: g++ returned 1 exit status
compilation terminated.
/data/local/gdb/gdb-inst/bin/ld: error: lto-wrapper failed
>From gcc-bugs-return-633603-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 14:22:42 2019
Return-Path: <gcc-bugs-return-633603-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76662 invoked by alias); 13 Feb 2019 14:22: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 76566 invoked by uid 55); 13 Feb 2019 14:22:37 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/86554] [7 Regression] Incorrect code generation with signed/unsigned comparison
Date: Wed, 13 Feb 2019 14:22: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: 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86554-4-xvRa15ppRH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86554-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86554-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: 2019-02/txt/msg01905.txt.bz2
Content-length: 1011

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

--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Feb 13 14:22:06 2019
New Revision: 268846

URL: https://gcc.gnu.org/viewcvs?rev=268846&root=gcc&view=rev
Log:
2019-02-13  Richard Biener  <rguenther@suse.de>

        Backport from mainline
        2019-01-08  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/86554
        * tree-ssa-sccvn.c (visit_nary_op): When value-numbering to
        expressions with different overflow behavior make sure there's an
        available expression on the path.

        * gcc.dg/torture/pr86554-1.c: New testcase.
        * gcc.dg/torture/pr86554-2.c: Likewise.

Added:
    branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr86554-1.c
    branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr86554-2.c
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
    branches/gcc-8-branch/gcc/tree-ssa-sccvn.c
>From gcc-bugs-return-633604-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 14:26:04 2019
Return-Path: <gcc-bugs-return-633604-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81265 invoked by alias); 13 Feb 2019 14:26:04 -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 81190 invoked by uid 48); 13 Feb 2019 14:26:00 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89335] [9 Regression] ICE with LTO -Wsuggest-final-methods: ICE during IPA pass devirt in types_same_for_odr, at ipa-devirt.c:391
Date: Wed, 13 Feb 2019 14:26: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cf_known_to_work assigned_to target_milestone everconfirmed cf_known_to_fail
Message-ID: <bug-89335-4-00DzvlMsgw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89335-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89335-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: 2019-02/txt/msg01906.txt.bz2
Content-length: 761

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-13
      Known to work|                            |8.2.0
           Assignee|unassigned at gcc dot gnu.org      |hubicka at gcc dot gnu.org
   Target Milestone|---                         |9.0
     Ever confirmed|0                           |1
      Known to fail|                            |9.0

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, started with r263697.
>From gcc-bugs-return-633605-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 14:26:05 2019
Return-Path: <gcc-bugs-return-633605-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81394 invoked by alias); 13 Feb 2019 14:26: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 81137 invoked by uid 48); 13 Feb 2019 14:25:58 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89316] ICE in gen_reg_rtx, at emit-rtl.c:1155
Date: Wed, 13 Feb 2019 14:26: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: jakub 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-89316-4-idCxzWSNpv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89316-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89316-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: 2019-02/txt/msg01907.txt.bz2
Content-length: 1200

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ak at gcc dot gnu.org,
                   |                            |ian at gcc dot gnu.org,
                   |                            |jakub at gcc dot gnu.org,
                   |                            |uros at gcc dot gnu.org

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Guess this is similar to the TLS ICE with -mforce-indirect-call.  In this case,
I think we need to figure out into which register could we load the address. 
Unfortunately, %rax or %eax isn't available for that, at least not always, e.g.
for -m64 it can hold the saved static chain, the existence of
__morestack_large_model shows that, but -m32 doesn't have anything like that.
So, in theory for -fsplit-stack -mforce-indirect-call -m64 we could call
__morestack_large_model even in non-large model compilations, just load the
address of that function differently.  For -m32, I'm out of ideas.
>From gcc-bugs-return-633606-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 14:31:08 2019
Return-Path: <gcc-bugs-return-633606-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113600 invoked by alias); 13 Feb 2019 14:31: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 113362 invoked by uid 48); 13 Feb 2019 14:30:59 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89280] [7/8/9 Regression] ICE: Segmentation fault (in is_gimple_reg_type)
Date: Wed, 13 Feb 2019 14:31: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-89280-4-fmH2NKaE6C@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89280-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89280-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: 2019-02/txt/msg01908.txt.bz2
Content-length: 290

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |7.5
>From gcc-bugs-return-633607-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 14:31:33 2019
Return-Path: <gcc-bugs-return-633607-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114540 invoked by alias); 13 Feb 2019 14:31:32 -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 114462 invoked by uid 48); 13 Feb 2019 14:31:28 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89316] ICE in gen_reg_rtx, at emit-rtl.c:1155
Date: Wed, 13 Feb 2019 14:31: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: ubizjak 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-89316-4-qq00OjrTEJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89316-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89316-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: 2019-02/txt/msg01909.txt.bz2
Content-length: 904

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

--- Comment #8 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Jakub Jelinek from comment #7)
> Guess this is similar to the TLS ICE with -mforce-indirect-call.  In this
> case, I think we need to figure out into which register could we load the
> address.  Unfortunately, %rax or %eax isn't available for that, at least not
> always, e.g. for -m64 it can hold the saved static chain, the existence of
> __morestack_large_model shows that, but -m32 doesn't have anything like that.
> So, in theory for -fsplit-stack -mforce-indirect-call -m64 we could call
> __morestack_large_model even in non-large model compilations, just load the
> address of that function differently.  For -m32, I'm out of ideas.

We may use a temporary regno as returned from
split_stack_prologue_scratch_regno, perhaps in some generalized form here.
>From gcc-bugs-return-633608-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 14:33:53 2019
Return-Path: <gcc-bugs-return-633608-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123229 invoked by alias); 13 Feb 2019 14:33:52 -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 123128 invoked by uid 48); 13 Feb 2019 14:33:49 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89036] [8/9 Regression] ICE if destructor has a requires
Date: Wed, 13 Feb 2019 14: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89036-4-EovEb2YhYh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89036-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89036-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: 2019-02/txt/msg01910.txt.bz2
Content-length: 482

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

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

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

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
David, can you please ping your patch?
https://gcc.gnu.org/ml/gcc-patches/2019-01/msg01529.html
>From gcc-bugs-return-633609-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 14:36:26 2019
Return-Path: <gcc-bugs-return-633609-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9025 invoked by alias); 13 Feb 2019 14:36:26 -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 8930 invoked by uid 48); 13 Feb 2019 14:36:22 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89316] ICE in gen_reg_rtx, at emit-rtl.c:1155
Date: Wed, 13 Feb 2019 14:36: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: ubizjak 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-89316-4-XhtOOaFDfy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89316-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89316-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: 2019-02/txt/msg01911.txt.bz2
Content-length: 1060

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

--- Comment #9 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Uroš Bizjak from comment #8)
> (In reply to Jakub Jelinek from comment #7)
> > Guess this is similar to the TLS ICE with -mforce-indirect-call.  In this
> > case, I think we need to figure out into which register could we load the
> > address.  Unfortunately, %rax or %eax isn't available for that, at least not
> > always, e.g. for -m64 it can hold the saved static chain, the existence of
> > __morestack_large_model shows that, but -m32 doesn't have anything like that.
> > So, in theory for -fsplit-stack -mforce-indirect-call -m64 we could call
> > __morestack_large_model even in non-large model compilations, just load the
> > address of that function differently.  For -m32, I'm out of ideas.
> 
> We may use a temporary regno as returned from
> split_stack_prologue_scratch_regno, perhaps in some generalized form here.

Bah, get_scratch_register_on_entry, not split_stack_prologue_scratch_regno.
>From gcc-bugs-return-633610-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 14:40:28 2019
Return-Path: <gcc-bugs-return-633610-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59765 invoked by alias); 13 Feb 2019 14:40: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 59677 invoked by uid 48); 13 Feb 2019 14:40:25 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89290] [8 Regression] ICE in change_address_1, at emit-rtl.c:2286
Date: Wed, 13 Feb 2019 14:40: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: jakub 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: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-89290-4-BM4mn0Pyx4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89290-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89290-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: 2019-02/txt/msg01912.txt.bz2
Content-length: 536

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[8/9 Regression] ICE in     |[8 Regression] ICE in
                   |change_address_1, at        |change_address_1, at
                   |emit-rtl.c:2286             |emit-rtl.c:2286

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed on the trunk so far.
>From gcc-bugs-return-633612-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 14:41:29 2019
Return-Path: <gcc-bugs-return-633612-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62402 invoked by alias); 13 Feb 2019 14:41: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 62317 invoked by uid 48); 13 Feb 2019 14:41:22 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89281] [9 Regression] gcc/optabs.c:3901:30: runtime error: shift exponent 32 is too large for 32-bit type 'int'
Date: Wed, 13 Feb 2019 14:41: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89281-4-igupMOyFrT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89281-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89281-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: 2019-02/txt/msg01914.txt.bz2
Content-length: 423

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-633611-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 14:41:05 2019
Return-Path: <gcc-bugs-return-633611-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61474 invoked by alias); 13 Feb 2019 14:41: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 61391 invoked by uid 48); 13 Feb 2019 14:41:01 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89303] [7/8 Regression] memory leak with shared_ptr and enable_shared_from_this
Date: Wed, 13 Feb 2019 14:41: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: 8.2.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-89303-4-24LMztIAt3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg01913.txt.bz2
Content-length: 551

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[7/8/9 Regression] memory   |[7/8 Regression] memory
                   |leak with shared_ptr and    |leak with shared_ptr and
                   |enable_shared_from_this     |enable_shared_from_this

--- Comment #25 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed on the trunk so far.
>From gcc-bugs-return-633613-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 14:43:16 2019
Return-Path: <gcc-bugs-return-633613-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104622 invoked by alias); 13 Feb 2019 14:43: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 103737 invoked by uid 48); 13 Feb 2019 14:43:10 -0000
From: "tnfchris at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88847] gcc.target/aarch64/sve/struct_move_1.c ICE with -fstack-protector-strong
Date: Wed, 13 Feb 2019 14:43: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: unknown
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tnfchris at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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 resolution
Message-ID: <bug-88847-4-KwrQAiEVEP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88847-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88847-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: 2019-02/txt/msg01915.txt.bz2
Content-length: 448

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

Tamar Christina <tnfchris at gcc dot gnu.org> changed:

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

--- Comment #5 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
Resolved in r268845.s
>From gcc-bugs-return-633614-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 14:44:14 2019
Return-Path: <gcc-bugs-return-633614-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122175 invoked by alias); 13 Feb 2019 14:44: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 115047 invoked by uid 48); 13 Feb 2019 14:44:10 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89326] [RFE] Highlight `required from here` in compile-error output
Date: Wed, 13 Feb 2019 14:44: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.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: enhancement
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-89326-4-drONYf5MBe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89326-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89326-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: 2019-02/txt/msg01916.txt.bz2
Content-length: 259

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

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I think it highlights all lines where the location is the main source file, so
they stand out from anything with a location in a header.
>From gcc-bugs-return-633615-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 14:51:39 2019
Return-Path: <gcc-bugs-return-633615-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79120 invoked by alias); 13 Feb 2019 14:51: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 79076 invoked by uid 48); 13 Feb 2019 14:51:35 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89330] IPA inliner touches released cgraph_edges
Date: Wed, 13 Feb 2019 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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89330-4-xYsn5XhJLg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89330-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89330-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: 2019-02/txt/msg01917.txt.bz2
Content-length: 820

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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mjambor at suse dot cz

--- Comment #3 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
We may have more instances of this - I think I got rid of most of that code but
once upon of time it was common in GCC to walk removed instructions and edges
knowing they are in freelist.

This code is originally Martin's. I will try to take a look how complex the
interaction beween creation and removal is these days. One way is to teach
inliner cache to maintain the list of new edges transparently without having to
have extra vector.
>From gcc-bugs-return-633616-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 14:58:03 2019
Return-Path: <gcc-bugs-return-633616-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100401 invoked by alias); 13 Feb 2019 14:58: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 100280 invoked by uid 48); 13 Feb 2019 14:57:59 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/89307] -fprofile-generate binary may be too slow in multithreaded environment due to cache-line conflicts on counters
Date: Wed, 13 Feb 2019 14:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: gcov-profile
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: hubicka 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: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89307-4-Aab6Bd0HK7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89307-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89307-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: 2019-02/txt/msg01918.txt.bz2
Content-length: 391

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

--- Comment #2 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Created attachment 45703
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45703&action=edit
patch for tls counters (incomplete - no runtime bits)

Also I think google's code to reduce cacheline conflicts is
https://gcc.gnu.org/ml/gcc-patches/2012-05/msg00959.html
>From gcc-bugs-return-633617-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 15:26:00 2019
Return-Path: <gcc-bugs-return-633617-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34066 invoked by alias); 13 Feb 2019 15:26: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 33977 invoked by uid 48); 13 Feb 2019 15:25:55 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug inline-asm/89334] unsupported size for integer register
Date: Wed, 13 Feb 2019 15:26: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: bug_status cc resolution
Message-ID: <bug-89334-4-ZrWhVMRSyd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89334-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89334-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: 2019-02/txt/msg01919.txt.bz2
Content-length: 731

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
User error.  For 8-bit register operands on x86 one needs to use "q" constraint
rather than "r", "r" is for any general registers while "q" is the same for
-m64, but only al/bl/cl/dl for -m32, because there is no sil/dil/bpl for -m32.
>From gcc-bugs-return-633618-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 15:43:40 2019
Return-Path: <gcc-bugs-return-633618-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124724 invoked by alias); 13 Feb 2019 15:43: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 120751 invoked by uid 48); 13 Feb 2019 15:43:34 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87113] ICE in adjust_temp_type at cp/constexpr.c:1205
Date: Wed, 13 Feb 2019 15:43: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.1.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-87113-4-SjPS4xyJxv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87113-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87113-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: 2019-02/txt/msg01920.txt.bz2
Content-length: 163

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

--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
It was fixed for 8.3+ too, but not in 7.
>From gcc-bugs-return-633619-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 15:44:06 2019
Return-Path: <gcc-bugs-return-633619-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29650 invoked by alias); 13 Feb 2019 15:44:06 -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 17475 invoked by uid 48); 13 Feb 2019 15:43:57 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87113] ICE in adjust_temp_type at cp/constexpr.c:1205
Date: Wed, 13 Feb 2019 15:44: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.1.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-87113-4-6Owml4Bsml@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87113-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87113-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: 2019-02/txt/msg01921.txt.bz2
Content-length: 159

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

--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
(GCC 8.3 should be released Feb 22.)
>From gcc-bugs-return-633620-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 15:45:59 2019
Return-Path: <gcc-bugs-return-633620-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62630 invoked by alias); 13 Feb 2019 15:45: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 62446 invoked by uid 48); 13 Feb 2019 15:45:50 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/87761] [9 regression][MIPS] New FAIL: gcc.target/mips/fix-r4000-10.c   -O1 start with r265398
Date: Wed, 13 Feb 2019 15:45: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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 cc everconfirmed
Message-ID: <bug-87761-4-4eS0flbfc6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87761-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87761-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: 2019-02/txt/msg01922.txt.bz2
Content-length: 2442

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-13
                 CC|                            |rts at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I guess the backend needs to help combiner here, e.g. for octeon-exts-3.c
before the combiner change on
(insn 2 4 3 2 (set (reg/v:DI 196 [ i+-4 ])
        (reg:DI 4 $4 [ i+-4 ])) "octeon-exts-3.c":34:1 312 {*movdi_64bit}
     (expr_list:REG_DEAD (reg:DI 4 $4 [ i+-4 ])
        (nil)))
(insn 6 3 7 2 (set (reg:SI 198)
        (ashift:SI (subreg/s/u:SI (reg/v:DI 196 [ i+-4 ]) 4)
            (const_int 4 [0x4]))) "octeon-exts-3.c":35:13 444 {*ashlsi3}
     (expr_list:REG_DEAD (reg/v:DI 196 [ i+-4 ])
        (nil)))
(insn 7 6 13 2 (set (reg:SI 197)
        (ashiftrt:SI (reg:SI 198)
            (const_int 24 [0x18]))) "octeon-exts-3.c":35:19 445 {*ashrsi3}
     (expr_list:REG_DEAD (reg:SI 198)
        (nil)))
(insn 13 7 14 2 (set (reg/i:DI 2 $2)
        (sign_extend:DI (reg:SI 197))) "octeon-exts-3.c":36:1 236 {extendsidi2}
     (expr_list:REG_DEAD (reg:SI 197)
        (nil)))
there was:
Trying 2 -> 6:
Successfully matched this instruction:
(set (reg:SI 199 [ D.1424 ])
    (ashift:SI (reg:SI 4 $4 [ i ])
        (const_int 4 [0x4])))
Trying 6 -> 7:
Successfully matched this instruction:
(set (reg:SI 198 [ D.1424 ])
    (sign_extract:SI (reg:SI 4 $4 [ i ])
        (const_int 8 [0x8])
        (const_int 20 [0x14])))
but after the combiner change the hard regs aren't propagated into the
instructions anymore, so we end up with:
Trying 2 -> 6:
Successfully matched this instruction:
(set (reg:SI 198)
    (ashift:SI (subreg:SI (reg:DI 200) 4)
        (const_int 4 [0x4])))
Trying 6 -> 7:
Failed to match this instruction:
(set (reg:SI 197)
    (ashiftrt:SI (truncate:SI (ashift:DI (reg:DI 200)
                (const_int 4 [0x4])))
        (const_int 24 [0x18])))
So, I'd say adding define_insn_and_split which would handle the above pattern
from the failed match, i.e. ashiftrt with truncate of ashift and split it into
a sign_extract of the lowpart subreg, then it would succeed again.
>From gcc-bugs-return-633621-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 15:49:25 2019
Return-Path: <gcc-bugs-return-633621-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76725 invoked by alias); 13 Feb 2019 15: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 76411 invoked by uid 55); 13 Feb 2019 15:49:11 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89036] [8/9 Regression] ICE if destructor has a requires
Date: Wed, 13 Feb 2019 15:49: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: dmalcolm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89036-4-KWE9HDB4jQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89036-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89036-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: 2019-02/txt/msg01923.txt.bz2
Content-length: 1665

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

--- Comment #5 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Author: dmalcolm
Date: Wed Feb 13 15:48:37 2019
New Revision: 268847

URL: https://gcc.gnu.org/viewcvs?rev=268847&root=gcc&view=rev
Log:
C++ concepts: fix ICE with requires on dtors (PR c++/89036)

PR c++/89036 reports an ICE due to this assertion failing

1136      /* A class should never have more than one destructor.  */
1137      gcc_assert (!current_fns || via_using || !DECL_DESTRUCTOR_P
(method));

on this template with a pair of dtors, with
mutually exclusive "requires" clauses:

template<typename T>
struct Y {
    ~Y() requires(true) = default;
    ~Y() requires(false) {}
};

Nathan introduced this assertion as part of:

  ca9219bf18c68a001d62ecb981bc9176b0feaf12 (aka r251340):
    2017-08-24  Nathan Sidwell  <nathan@acm.org>
       Conversion operators kept on single overload set

which, amongst other changes to add_method had this:
     /* A class should never have more than one destructor.  */
  -  if (current_fns && DECL_MAYBE_IN_CHARGE_DESTRUCTOR_P (method))
  -    return false;
  +  gcc_assert (!current_fns || !DECL_DESTRUCTOR_P (method));

The following patch drops the assertion (I already had to generalize
the assertion in r268041 to fix PR c++/88699).

gcc/cp/ChangeLog:
        PR c++/89036
        * class.c (add_method): Drop destructor assertion.

gcc/testsuite/ChangeLog:
        PR c++/89036
        * g++.dg/concepts/pr89036.C: New test.


Added:
    trunk/gcc/testsuite/g++.dg/concepts/pr89036.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633622-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 15:49:26 2019
Return-Path: <gcc-bugs-return-633622-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76830 invoked by alias); 13 Feb 2019 15: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 76409 invoked by uid 55); 13 Feb 2019 15:49:10 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88699] [9 Regression] tree check fail: expected function_decl, have using_decl in add_method, at cp/class.c:1137
Date: Wed, 13 Feb 2019 15:49: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88699-4-h17LlU8tVX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88699-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88699-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: 2019-02/txt/msg01924.txt.bz2
Content-length: 1666

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

--- Comment #10 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Author: dmalcolm
Date: Wed Feb 13 15:48:37 2019
New Revision: 268847

URL: https://gcc.gnu.org/viewcvs?rev=268847&root=gcc&view=rev
Log:
C++ concepts: fix ICE with requires on dtors (PR c++/89036)

PR c++/89036 reports an ICE due to this assertion failing

1136      /* A class should never have more than one destructor.  */
1137      gcc_assert (!current_fns || via_using || !DECL_DESTRUCTOR_P
(method));

on this template with a pair of dtors, with
mutually exclusive "requires" clauses:

template<typename T>
struct Y {
    ~Y() requires(true) = default;
    ~Y() requires(false) {}
};

Nathan introduced this assertion as part of:

  ca9219bf18c68a001d62ecb981bc9176b0feaf12 (aka r251340):
    2017-08-24  Nathan Sidwell  <nathan@acm.org>
       Conversion operators kept on single overload set

which, amongst other changes to add_method had this:
     /* A class should never have more than one destructor.  */
  -  if (current_fns && DECL_MAYBE_IN_CHARGE_DESTRUCTOR_P (method))
  -    return false;
  +  gcc_assert (!current_fns || !DECL_DESTRUCTOR_P (method));

The following patch drops the assertion (I already had to generalize
the assertion in r268041 to fix PR c++/88699).

gcc/cp/ChangeLog:
        PR c++/89036
        * class.c (add_method): Drop destructor assertion.

gcc/testsuite/ChangeLog:
        PR c++/89036
        * g++.dg/concepts/pr89036.C: New test.


Added:
    trunk/gcc/testsuite/g++.dg/concepts/pr89036.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633623-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 15:50:14 2019
Return-Path: <gcc-bugs-return-633623-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78706 invoked by alias); 13 Feb 2019 15:50: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 78614 invoked by uid 48); 13 Feb 2019 15:50:09 -0000
From: "marek at telnyx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89336] New: internal compiler error when compiling a constexpr function
Date: Wed, 13 Feb 2019 15:50: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marek at telnyx 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-89336-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: 2019-02/txt/msg01925.txt.bz2
Content-length: 971

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89336

            Bug ID: 89336
           Summary: internal compiler error when compiling a constexpr
                    function
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marek at telnyx dot com
  Target Milestone: ---

g++ version: 8.2.0

Trying to compile the following source causes internal compiler error:
-------
#include <array>

constexpr std::array<int, 256> prepare()
{
  std::array<int, 256> r = {0};
  for ( int i = 0; i < 6; ++i )
  {
    r[i + 'a'] = r[i + 'A'] = i + 10;
  }
  return r;
}


int main()
{
  auto v = prepare();
  return 0;
}
-------

g++ -std=c++17 xx.cpp 
xx.cpp: In function ‘int main()’:
xx.cpp:16:20: internal compiler error: Segmentation fault
   auto v = prepare();
>From gcc-bugs-return-633625-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 15:51:55 2019
Return-Path: <gcc-bugs-return-633625-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81415 invoked by alias); 13 Feb 2019 15:51:55 -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 81328 invoked by uid 48); 13 Feb 2019 15:51:51 -0000
From: "stsp at users dot sourceforge.net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug inline-asm/89334] unsupported size for integer register
Date: Wed, 13 Feb 2019 15:51: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: stsp at users dot sourceforge.net
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-89334-4-db1K5vdIEr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89334-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89334-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: 2019-02/txt/msg01927.txt.bz2
Content-length: 646

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89334

--- Comment #2 from Stas Sergeev <stsp at users dot sourceforge.net> ---
(In reply to Jakub Jelinek from comment #1)
> the same for -m64, but only al/bl/cl/dl for -m32, because there is no
> sil/dil/bpl for -m32.

But why does this matter?
I am perfectly fine with al/bl/cl/dl, never asked
to use sil/dil/bpl. What is the rationale? If "r"
is plain invalid for 8bit values, then shouldn't
the error be different and not to depend on an opt
level? Could you please explain a bit more what
exactly the error is and why it works with -O1?
Why invalid registers (sil/dil/bpl) even matter
at all?
>From gcc-bugs-return-633624-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 15:51:24 2019
Return-Path: <gcc-bugs-return-633624-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80465 invoked by alias); 13 Feb 2019 15:51: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 80358 invoked by uid 48); 13 Feb 2019 15:51:19 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89036] [8 Regression] ICE if destructor has a requires
Date: Wed, 13 Feb 2019 15: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-89036-4-wcN2lWn4Zi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89036-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89036-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: 2019-02/txt/msg01926.txt.bz2
Content-length: 482

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89036

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[8/9 Regression] ICE if     |[8 Regression] ICE if
                   |destructor has a requires   |destructor has a requires

--- Comment #6 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Fixed on trunk by r268847.
>From gcc-bugs-return-633626-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 15:59:06 2019
Return-Path: <gcc-bugs-return-633626-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109129 invoked by alias); 13 Feb 2019 15:59:06 -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 109001 invoked by uid 48); 13 Feb 2019 15:59:02 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89316] ICE in gen_reg_rtx, at emit-rtl.c:1155
Date: Wed, 13 Feb 2019 15:59: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: 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-89316-4-3dgePVXpJb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89316-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89316-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: 2019-02/txt/msg01928.txt.bz2
Content-length: 1001

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89316

--- Comment #10 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #6)
> (In reply to Eric Gallager from comment #5)
> > actually since all the bugs seem to be about different targets triggering
> > that assert in different ways, would it be possible to replace it with an
> > internal_error() that provides a bit more information as to how exactly the
> > compiler got there?
> 
> That is why there is a backtrace.  The assert is just asserting we can't
> create any new psedu registers as the register allocator has happened
> already.  Basically the backend can't directly use
> copy_to_mode_reg/gen_reg_rtx after register allocation.  How do you print
> where you can from when it is two layers deep?  Also this is why there is a
> backtrace printed out to help out.

Unfortunately there's no backtrace on Darwin (where I test) due to bug 88745 
(unless you manually attach a debugger)
>From gcc-bugs-return-633627-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 16:01:34 2019
Return-Path: <gcc-bugs-return-633627-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117926 invoked by alias); 13 Feb 2019 16:01: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 117886 invoked by uid 48); 13 Feb 2019 16:01:29 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug inline-asm/89334] unsupported size for integer register
Date: Wed, 13 Feb 2019 16:01: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89334-4-E2j4WkKidL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89334-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89334-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: 2019-02/txt/msg01929.txt.bz2
Content-length: 1168

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89334

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
If you are using inline asm, you need to know what you are doing.
https://gcc.gnu.org/onlinedocs/gcc-8.2.0/gcc/Simple-Constraints.html#Simple-Constraints
‘r’
    A register operand is allowed provided that it is in a general register. 
while q is:
https://gcc.gnu.org/onlinedocs/gcc-8.2.0/gcc/Machine-Constraints.html#Machine-Constraints
‘q’
    Any register accessible as rl. In 32-bit mode, a, b, c, and d; in 64-bit
mode, any integer register.
By using r constraint, you tell the compiler it is ok to allocate that value in
any gpr register, so for 32-bit mode eax, ebx, ecx, edx, esi, edi, ebp (or, in
theory esp, though that is fixed register).
That would be ok if the assembly pattern used e.g. %k1 instead of %1.  But as
you want to use the %?l in there, you need to tell the compiler that it may
only use the selected registers, otherwise it is a lottery.  It can compile
fine, if you are lucky and the compiler chooses the eax/ebx/ecx/edx registers,
or it can fail the way it failed for you.
>From gcc-bugs-return-633628-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 16:03:32 2019
Return-Path: <gcc-bugs-return-633628-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121029 invoked by alias); 13 Feb 2019 16:03: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 120891 invoked by uid 48); 13 Feb 2019 16:03:26 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89336] internal compiler error when compiling a constexpr function
Date: Wed, 13 Feb 2019 16:03: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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-89336-4-Ad3tH1yOI7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89336-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89336-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: 2019-02/txt/msg01930.txt.bz2
Content-length: 628

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89336

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-13
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed.
>From gcc-bugs-return-633630-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 16:05:15 2019
Return-Path: <gcc-bugs-return-633630-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123787 invoked by alias); 13 Feb 2019 16:05: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 123393 invoked by uid 48); 13 Feb 2019 16:05:06 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89294] [9 regression] ICE in valid_constant_size_p, at tree.c:7524
Date: Wed, 13 Feb 2019 16:05: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89294-4-Lfrtjj7Ffv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89294-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89294-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: 2019-02/txt/msg01932.txt.bz2
Content-length: 448

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89294

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dominiq at lps dot ens.fr

--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
*** Bug 89333 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-633629-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 16:05:14 2019
Return-Path: <gcc-bugs-return-633629-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123579 invoked by alias); 13 Feb 2019 16:05: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 123363 invoked by uid 48); 13 Feb 2019 16:05:06 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/89333] [9 Regression] FAIL: gnat.dg/vect*.adb on darwin
Date: Wed, 13 Feb 2019 16:05: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: unknown
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89333-4-BOnnPknzRz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89333-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89333-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: 2019-02/txt/msg01931.txt.bz2
Content-length: 686

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89333

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> I was supposed to post: Between revisions r268704 and r268809.

You're also more or less supposed to check whether this hasn't been reported
already.  This has been reported already, and twice.

*** This bug has been marked as a duplicate of bug 89294 ***
>From gcc-bugs-return-633631-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 16:07:26 2019
Return-Path: <gcc-bugs-return-633631-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3018 invoked by alias); 13 Feb 2019 16:07:26 -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 2895 invoked by uid 48); 13 Feb 2019 16:07:17 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89336] internal compiler error when compiling a constexpr function
Date: Wed, 13 Feb 2019 16:07: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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89336-4-JpGG4XpS9k@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89336-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89336-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: 2019-02/txt/msg01933.txt.bz2
Content-length: 3906

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89336

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
The current ICE started with r267253:

89336.C: In function ‘int main()’:
89336.C:16:20: internal compiler error: Segmentation fault
0x13ae0c0 crash_signal
        ../../gcc/toplev.c:326
0x89a0e1 initialized_type
        ../../gcc/cp/constexpr.c:2830
0x89a2eb init_subob_ctx
        ../../gcc/cp/constexpr.c:2864
0x89a8dc cxx_eval_bare_aggregate
        ../../gcc/cp/constexpr.c:2951
0x8a205e cxx_eval_constant_expression
        ../../gcc/cp/constexpr.c:4692
0x89a94d cxx_eval_bare_aggregate
        ../../gcc/cp/constexpr.c:2956
0x8a205e cxx_eval_constant_expression
        ../../gcc/cp/constexpr.c:4692
0x8a38ea cxx_eval_outermost_constant_expr
        ../../gcc/cp/constexpr.c:5077
0x8a454c maybe_constant_value(tree_node*, tree_node*, bool)
        ../../gcc/cp/constexpr.c:5309
0x8c2776 cp_fully_fold(tree_node*)
        ../../gcc/cp/cp-gimplify.c:2161
0xb73a19 split_nonconstant_init(tree_node*, tree_node*)
        ../../gcc/cp/typeck2.c:753
0xb7421d store_init_value(tree_node*, tree_node*, vec<tree_node*, va_gc,
vl_embed>**, int)
        ../../gcc/cp/typeck2.c:876
0x9041c4 check_initializer
        ../../gcc/cp/decl.c:6491
0x90766d cp_finish_decl(tree_node*, tree_node*, bool, tree_node*, int)
        ../../gcc/cp/decl.c:7167
0xa0faa8 cp_parser_init_declarator
        ../../gcc/cp/parser.c:20327
0xa02a14 cp_parser_simple_declaration
        ../../gcc/cp/parser.c:13414
0xa025a5 cp_parser_block_declaration
        ../../gcc/cp/parser.c:13239
0xa01a00 cp_parser_declaration_statement
        ../../gcc/cp/parser.c:12844
0x9fdb1a cp_parser_statement
        ../../gcc/cp/parser.c:11169
0x9fe815 cp_parser_statement_seq_opt
        ../../gcc/cp/parser.c:11531
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.

but before that it ICEd also:

89336.C: In function ‘int main()’:
89336.C:16:20: internal compiler error: Segmentation fault
0x13ae0a2 crash_signal
        ../../gcc/toplev.c:326
0xb7348a split_nonconstant_init_1
        ../../gcc/cp/typeck2.c:641
0xb7350c split_nonconstant_init_1
        ../../gcc/cp/typeck2.c:652
0xb73a1b split_nonconstant_init(tree_node*, tree_node*)
        ../../gcc/cp/typeck2.c:755
0xb741ff store_init_value(tree_node*, tree_node*, vec<tree_node*, va_gc,
vl_embed>**, int)
        ../../gcc/cp/typeck2.c:876
0x9041a6 check_initializer
        ../../gcc/cp/decl.c:6491
0x90764f cp_finish_decl(tree_node*, tree_node*, bool, tree_node*, int)
        ../../gcc/cp/decl.c:7167
0xa0fa8a cp_parser_init_declarator
        ../../gcc/cp/parser.c:20327
0xa029f6 cp_parser_simple_declaration
        ../../gcc/cp/parser.c:13414
0xa02587 cp_parser_block_declaration
        ../../gcc/cp/parser.c:13239
0xa019e2 cp_parser_declaration_statement
        ../../gcc/cp/parser.c:12844
0x9fdafc cp_parser_statement
        ../../gcc/cp/parser.c:11169
0x9fe7f7 cp_parser_statement_seq_opt
        ../../gcc/cp/parser.c:11531
0x9fe6ed cp_parser_compound_statement
        ../../gcc/cp/parser.c:11485
0xa13879 cp_parser_function_body
        ../../gcc/cp/parser.c:22405
0xa13a3d cp_parser_ctor_initializer_opt_and_function_body
        ../../gcc/cp/parser.c:22442
0xa1d7ec cp_parser_function_definition_after_declarator
        ../../gcc/cp/parser.c:27495
0xa1d619 cp_parser_function_definition_from_specifiers_and_declarator
        ../../gcc/cp/parser.c:27411
0xa0f2a1 cp_parser_init_declarator
        ../../gcc/cp/parser.c:20097
0xa029f6 cp_parser_simple_declaration
        ../../gcc/cp/parser.c:13414
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-633632-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 16:09:02 2019
Return-Path: <gcc-bugs-return-633632-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33314 invoked by alias); 13 Feb 2019 16:09: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 33182 invoked by uid 48); 13 Feb 2019 16:08:58 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89336] internal compiler error when compiling a constexpr function
Date: Wed, 13 Feb 2019 16:09: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: jakub 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-89336-4-paty9lzRvW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89336-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89336-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: 2019-02/txt/msg01934.txt.bz2
Content-length: 247

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89336

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
    r[i + 'a'] = i + 10;
    r[i + 'A'] = i + 10;
or
    r[i + 'a'] = i + 10;
    r[i + 'A'] = r[i + 'a'];
doesn't ICE.
>From gcc-bugs-return-633633-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 16:12:48 2019
Return-Path: <gcc-bugs-return-633633-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65895 invoked by alias); 13 Feb 2019 16:12: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 65763 invoked by uid 48); 13 Feb 2019 16:12:37 -0000
From: "kelvin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/87532] bad results from vec_extract(unsigned char, foo) dependent upon function inline
Date: Wed, 13 Feb 2019 16:12: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kelvin at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: kelvin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87532-4-LLWZKndCeT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87532-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87532-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: 2019-02/txt/msg01935.txt.bz2
Content-length: 1802

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87532

--- Comment #12 from kelvin at gcc dot gnu.org ---
After further digging, I have uncovered some additional clues:

after initial gimple expansion (i.e. the 005t.gimple trace file):

  vec_extract (vi, 3) is represented by __builtin_vec_ext_v4si (vi, 3)

But vec_extract (vi, 10) is represented by __BIT_FIELD_REF <vi, 32, 64>

Apparently, the difference in handling of these two cases is that the selector
argument of the latter is known to be a constant greater than the number of
elements in the vector.

However, when the same code is expanded after in-lining the doextractbybuiltin
function of comment #4, the two expressions expand into

  __builtin_vec_ext_v4si (vi, 3) and
  __builtin_vec_ext_v4si (vi, 10) respectively.

This behavior is first manifest in the .047t.local-fnsummary2 trace file.

Later, when we "process" __builtin_vec_ext_v4si with a constant selector whose
value exceeds the vector length, we issue the erroneous error message.  With
non-constant selector values for __builtin_vec_ext_v4si, we do not issue the
error message.

I think the place to fix this is in the processing of the
__builtin_vec_ext_v4si function (and all of its lookalikes).  Rather than issue
the error message, we may have to emit slightly different implementations of
the code or maybe not even that.  Maybe i can just remove the error message.  I
need to study this a little more.

At the same time, I'm wondering if the "real problem" is in the
local-fnsummary2 pass.  During in-lining, it could be argued that it should
have produced the same intermediate form as the original gimple expansion:
BIT_FIELD_REF instead of __builtin_vec_ext_v4si.

Does anyone have further suggestions before I begin implementing a "solution"?

Thanks.
>From gcc-bugs-return-633634-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 16:21:17 2019
Return-Path: <gcc-bugs-return-633634-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113287 invoked by alias); 13 Feb 2019 16:21: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 113187 invoked by uid 48); 13 Feb 2019 16:21:13 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/78251] config/gettext.m4 and config/iconv.m4 contaminate CPPFLAGS
Date: Wed, 13 Feb 2019 16:21: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: 6.2.0
X-Bugzilla-Keywords: build
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-78251-4-FXMymGUHH9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78251-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78251-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: 2019-02/txt/msg01936.txt.bz2
Content-length: 305

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78251

--- Comment #9 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #8)
> r265896 might have affected this

Update: apparently not; I still had to deactivate libunwind-headers again on my
latest build of gcc
>From gcc-bugs-return-633635-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 16:23:01 2019
Return-Path: <gcc-bugs-return-633635-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122088 invoked by alias); 13 Feb 2019 16:23: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 122018 invoked by uid 55); 13 Feb 2019 16:22:56 -0000
From: "wilco at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89190] [8/9 regression][ARM] armv8-m.base invalid ldm ICE
Date: Wed, 13 Feb 2019 16:23: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wilco at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: wilco at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89190-4-GuSoV2FRs9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89190-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89190-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: 2019-02/txt/msg01937.txt.bz2
Content-length: 1122

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89190

--- Comment #2 from Wilco <wilco at gcc dot gnu.org> ---
Author: wilco
Date: Wed Feb 13 16:22:25 2019
New Revision: 268848

URL: https://gcc.gnu.org/viewcvs?rev=268848&root=gcc&view=rev
Log:
[ARM] Fix Thumb-1 ldm (PR89190)

This patch fixes an ICE in the Thumb-1 LDM peepholer.  Thumb-1 LDMs
always update the base register except if the base is loaded.
The current implementation rejects LDMs where the base is not dead,
however this doesn't exclude the case where the base is loaded as
well as dead.  Fix this by explicitly checking whether the base is
loaded.  Also enable LDMs which load the first register.

    gcc/
        PR target/89190
        * config/arm/arm.c (ldm_stm_operation_p) Set
        addr_reg_in_reglist correctly for first register.
        (load_multiple_sequence): Remove dead base check.
        (gen_ldm_seq): Correctly set write_back for Thumb-1.

    testsuite/
        PR target/89190
        * gcc.target/arm/pr89190.c: New test.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/arm.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633636-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 16:25:44 2019
Return-Path: <gcc-bugs-return-633636-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20576 invoked by alias); 13 Feb 2019 16:25:43 -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 17787 invoked by uid 48); 13 Feb 2019 16:25:38 -0000
From: "stsp at users dot sourceforge.net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug inline-asm/89334] unsupported size for integer register
Date: Wed, 13 Feb 2019 16:25: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: stsp at users dot sourceforge.net
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-89334-4-7meoKnumov@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89334-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89334-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: 2019-02/txt/msg01938.txt.bz2
Content-length: 565

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89334

--- Comment #4 from Stas Sergeev <stsp at users dot sourceforge.net> ---
Would it be possible to at least show the
correct line number where the register allocation
actually failed? gcc points to a rather "random"
line, and it required many hours of an engineer
work to find the problematic spot in a large project.
It really is not the good handling of this problem.

And I don't understand why it is impossible to add
error or warning if gcc emits 8bit reference for "r"
and knows it is not supposed to work.
>From gcc-bugs-return-633637-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 16:26:48 2019
Return-Path: <gcc-bugs-return-633637-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25807 invoked by alias); 13 Feb 2019 16:26: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 25228 invoked by uid 48); 13 Feb 2019 16:26:41 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89229] Unnecessary ZMM in movoi_internal_avx/movti_internal
Date: Wed, 13 Feb 2019 16:26: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89229-4-txDockJ21g@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89229-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89229-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: 2019-02/txt/msg01939.txt.bz2
Content-length: 2578

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89229

--- Comment #19 from H.J. Lu <hjl.tools at gmail dot com> ---
sse.md has

(define_insn "mov<mode>_internal"
  [(set (match_operand:VMOVE 0 "nonimmediate_operand"
         "=v,v ,v ,m")
        (match_operand:VMOVE 1 "nonimmediate_or_sse_const_operand"
         " C,BC,vm,v"))]
....
      /* There is no evex-encoded vmov* for sizes smaller than 64-bytes
         in avx512f, so we need to use workarounds, to access sse registers
         16-31, which are evex-only. In avx512vl we don't need workarounds.  */
      if (TARGET_AVX512F && <MODE_SIZE> < 64 && !TARGET_AVX512VL
          && (EXT_REX_SSE_REG_P (operands[0])
              || EXT_REX_SSE_REG_P (operands[1])))
        {
          if (memory_operand (operands[0], <MODE>mode))
            {
              if (<MODE_SIZE> == 32)
                return "vextract<shuffletype>64x4\t{$0x0, %g1, %0|%0, %g1,
0x0}";
              else if (<MODE_SIZE> == 16)
                return "vextract<shuffletype>32x4\t{$0x0, %g1, %0|%0, %g1,
0x0}";
              else
                gcc_unreachable ();
            }
...

However, ix86_hard_regno_mode_ok has

     /* TODO check for QI/HI scalars.  */
      /* AVX512VL allows sse regs16+ for 128/256 bit modes.  */
      if (TARGET_AVX512VL
          && (mode == OImode
              || mode == TImode
              || VALID_AVX256_REG_MODE (mode)
              || VALID_AVX512VL_128_REG_MODE (mode)))
        return true;

      /* xmm16-xmm31 are only available for AVX-512.  */
      if (EXT_REX_SSE_REGNO_P (regno))
        return false;

      if (TARGET_AVX512F && <MODE_SIZE> < 64 && !TARGET_AVX512VL
          && (EXT_REX_SSE_REG_P (operands[0])
              || EXT_REX_SSE_REG_P (operands[1])))

is a dead code:

[hjl@gnu-4 gcc]$ cat /tmp/z.c 
#include <immintrin.h>

extern __m128 i;

__m128
foo1 (void)
{
  register __m128 xmm16 __asm ("xmm16") = i;
  asm volatile ("" : "+v" (xmm16));
  register __m128 xmm17 __asm ("xmm17") = xmm16;
  asm volatile ("" : "+v" (xmm17));
  return xmm17;
}
[hjl@gnu-4 gcc]$ /usr/gcc-5.4.1-x32/bin/gcc  -S -O2 -march=knl /tmp/z.c 
/tmp/z.c: In function ‘foo1’:
/tmp/z.c:8:19: error: register specified for ‘xmm16’ isn’t suitable for data
type
   register __m128 xmm16 __asm ("xmm16") = i;
                   ^
/tmp/z.c:10:19: error: register specified for ‘xmm17’ isn’t suitable for data
type
   register __m128 xmm17 __asm ("xmm17") = xmm16;
                   ^
[hjl@gnu-4 gcc]$
>From gcc-bugs-return-633639-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 16:36:35 2019
Return-Path: <gcc-bugs-return-633639-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76618 invoked by alias); 13 Feb 2019 16:36: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 72920 invoked by uid 48); 13 Feb 2019 16:36:28 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/77304] ICE on C++ code with invalid template parameter: in gimplify_expr, at gimplify.c:11260
Date: Wed, 13 Feb 2019 16:36: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.0
X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-77304-4-WdWqSqQfKw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77304-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77304-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: 2019-02/txt/msg01941.txt.bz2
Content-length: 428

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77304

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Done.
>From gcc-bugs-return-633638-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 16:36:21 2019
Return-Path: <gcc-bugs-return-633638-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 70681 invoked by alias); 13 Feb 2019 16:36: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 70283 invoked by uid 55); 13 Feb 2019 16:36:16 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/77304] ICE on C++ code with invalid template parameter: in gimplify_expr, at gimplify.c:11260
Date: Wed, 13 Feb 2019 16:36: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.0
X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-77304-4-Pr0jRlxofh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77304-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77304-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: 2019-02/txt/msg01940.txt.bz2
Content-length: 445

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77304

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Wed Feb 13 16:35:44 2019
New Revision: 268849

URL: https://gcc.gnu.org/viewcvs?rev=268849&root=gcc&view=rev
Log:
        PR c++/77304
        * g++.dg/cpp2a/nontype-class13.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp2a/nontype-class13.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633640-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 16:36:50 2019
Return-Path: <gcc-bugs-return-633640-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81870 invoked by alias); 13 Feb 2019 16:36: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 77668 invoked by uid 48); 13 Feb 2019 16:36:45 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89275] [9 Regression] Slowdown in mcperf on POWER
Date: Wed, 13 Feb 2019 16:36: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wschmidt 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-89275-4-gpKq7DpXvf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89275-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89275-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: 2019-02/txt/msg01942.txt.bz2
Content-length: 245

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89275

--- Comment #2 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
I asked our performance team to root-cause this when the report came out.  If
they can reproduce we can try to bisect it.
>From gcc-bugs-return-633641-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 16:37:03 2019
Return-Path: <gcc-bugs-return-633641-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87331 invoked by alias); 13 Feb 2019 16:37: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 83923 invoked by uid 48); 13 Feb 2019 16:36:59 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89297] [9 Regression] ICE: unexpected expression 'id' of kind overload
Date: Wed, 13 Feb 2019 16:37: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, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords
Message-ID: <bug-89297-4-yHLPRhtUCh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89297-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89297-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: 2019-02/txt/msg01943.txt.bz2
Content-length: 421

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89297

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
https://gcc.gnu.org/ml/gcc-patches/2019-02/msg00919.html
>From gcc-bugs-return-633642-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 16:44:27 2019
Return-Path: <gcc-bugs-return-633642-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34124 invoked by alias); 13 Feb 2019 16:44: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 34030 invoked by uid 48); 13 Feb 2019 16:44:23 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89336] internal compiler error when compiling a constexpr function
Date: Wed, 13 Feb 2019 16:44: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: jakub 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-89336-4-KqJeAf7rKY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89336-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89336-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: 2019-02/txt/msg01944.txt.bz2
Content-length: 760

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89336

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Reduced testcase:
template <typename T, int N> struct A {
  T a[N];
  constexpr T &operator[] (int x) { return a[x]; }
};

constexpr A<int, 16>
foo ()
{
  A<int, 16> r{};
  for (int i = 0; i < 6; ++i)
    r[i + 8] = r[i] = i;
  return r;
}

auto x = foo ();

Started to ICE with r217670, before that it has been accepted for a couple of
revisions and before that rejected.
>From gcc-bugs-return-633643-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 17:00:32 2019
Return-Path: <gcc-bugs-return-633643-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64605 invoked by alias); 13 Feb 2019 17:00: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 64115 invoked by uid 48); 13 Feb 2019 17:00:02 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89336] internal compiler error when compiling a constexpr function
Date: Wed, 13 Feb 2019 17:00: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: jakub 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-89336-4-IItDQbhpAk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89336-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89336-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: 2019-02/txt/msg01945.txt.bz2
Content-length: 585

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89336

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The ICE actually isn't when processing the loop, but later on when processing
the
VIEW_CONVERT_EXPR<struct A>({.a={0, 1, 2, 3, 4, 5, [8]=1, 2, 3, 4, 5, }});
expression.
When using
    {
      r[i] = i;
      r[i + 8] = i;
    }
as the loop body, I instead get:
{.a={0, 1, 2, 3, 4, 5, [8]=0, 1, 2, 3, 4, 5}}

In the bogus one, [8] doesn't have the value 0 but 1 and all the values are
shifted by 1, with [13] having NULL value, just non-NULL purpose.
>From gcc-bugs-return-633644-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 17:06:43 2019
Return-Path: <gcc-bugs-return-633644-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97466 invoked by alias); 13 Feb 2019 17:06:43 -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 97359 invoked by uid 48); 13 Feb 2019 17:06:38 -0000
From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89295] [9 regression] compilation of gcc.dg-struct-layout-1/t001_x.c takes 30 times as long after r268404
Date: Wed, 13 Feb 2019 17:06: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: seurer at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-89295-4-BwNIgjXD3s@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89295-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89295-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: 2019-02/txt/msg01946.txt.bz2
Content-length: 427

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89295

seurer at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from seurer at gcc dot gnu.org ---
I just tried it and r268597 does fix it.
>From gcc-bugs-return-633645-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 17:17:41 2019
Return-Path: <gcc-bugs-return-633645-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42610 invoked by alias); 13 Feb 2019 17:17:41 -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 42518 invoked by uid 48); 13 Feb 2019 17:17:35 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/87761] [9 regression][MIPS] New FAIL: gcc.target/mips/fix-r4000-10.c   -O1 start with r265398
Date: Wed, 13 Feb 2019 17:17: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: segher at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-87761-4-TVlYM6aB1X@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87761-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87761-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: 2019-02/txt/msg01947.txt.bz2
Content-length: 207

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87761

--- Comment #7 from Segher Boessenkool <segher at gcc dot gnu.org> ---
truncate:SI of ashift:DI looks wrong already; I'd expect ashift:SI of a subreg?
>From gcc-bugs-return-633647-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 17:20:53 2019
Return-Path: <gcc-bugs-return-633647-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49093 invoked by alias); 13 Feb 2019 17:20: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 48977 invoked by uid 48); 13 Feb 2019 17:20:48 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89275] [9 Regression] Slowdown in mcperf on POWER
Date: Wed, 13 Feb 2019 17:20: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: unknown
X-Bugzilla-Keywords:
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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-89275-4-oXNGAXNvWD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89275-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89275-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: 2019-02/txt/msg01949.txt.bz2
Content-length: 590

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89275

Bill Schmidt <wschmidt at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-13
     Ever confirmed|0                           |1

--- Comment #4 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Either way, confirmed that we have an issue here.  But I don't yet have
information to support this as a 9 regression.
>From gcc-bugs-return-633646-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 17:20:01 2019
Return-Path: <gcc-bugs-return-633646-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45369 invoked by alias); 13 Feb 2019 17:20: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 45279 invoked by uid 48); 13 Feb 2019 17:19:57 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89275] [9 Regression] Slowdown in mcperf on POWER
Date: Wed, 13 Feb 2019 17:20: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wschmidt 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-89275-4-XCflYpfNIB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89275-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89275-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: 2019-02/txt/msg01948.txt.bz2
Content-length: 623

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89275

--- Comment #3 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
I just heard back from the performance lead.  He indicates that they can
reproduce the numbers from 9.0 trunk (compiled Feb 8, versus Feb 3 as reported
by Phoronix), but the numbers from 8.2 as tagged do not reproduce.  GCC 9
degrades a little on Add, but is in the noise range for Set/Append.

If we accept this (and I see no reason not to at the moment), we still have the
question of why GCC lags LLVM on this benchmark for *both* 8 and 9.  So we will
continue to work on root-cause analysis.
>From gcc-bugs-return-633648-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 17:24:36 2019
Return-Path: <gcc-bugs-return-633648-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55393 invoked by alias); 13 Feb 2019 17:24: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 54747 invoked by uid 48); 13 Feb 2019 17:24:30 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/87761] [9 regression][MIPS] New FAIL: gcc.target/mips/fix-r4000-10.c   -O1 start with r265398
Date: Wed, 13 Feb 2019 17:24: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-87761-4-lWMNV0wo0k@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87761-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87761-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: 2019-02/txt/msg01950.txt.bz2
Content-length: 398

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87761

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Segher Boessenkool from comment #7)
> truncate:SI of ashift:DI looks wrong already; I'd expect ashift:SI of a
> subreg?

But then it would be a simplify-rtx.c issue.  Though, not sure if it isn't too
late to change simplify-rtx.c to simplify that differently now.
>From gcc-bugs-return-633649-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 17:31:19 2019
Return-Path: <gcc-bugs-return-633649-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64347 invoked by alias); 13 Feb 2019 17:31:18 -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 64208 invoked by uid 48); 13 Feb 2019 17:31:14 -0000
From: "rafael at espindo dot la" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89337] New: Bogus "exceeds maximum object size" on unreachable code
Date: Wed, 13 Feb 2019 17:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rafael at espindo dot la
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-89337-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: 2019-02/txt/msg01951.txt.bz2
Content-length: 810

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89337

            Bug ID: 89337
           Summary: Bogus "exceeds maximum object size" on unreachable
                    code
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rafael at espindo dot la
  Target Milestone: ---

Created attachment 45704
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45704&action=edit
testcase

In the attached testcase the function drop3 has the precondition that the
provided string has a size of at least 3.

Given that, the body of the resize function is dead, but gcc doesn't realize it
and warns that we are passing -3 to memcpy.
>From gcc-bugs-return-633650-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 17:34:54 2019
Return-Path: <gcc-bugs-return-633650-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79644 invoked by alias); 13 Feb 2019 17:34: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 79545 invoked by uid 48); 13 Feb 2019 17:34:49 -0000
From: "rafael at espindo dot la" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89337] Bogus "exceeds maximum object size" on unreachable code
Date: Wed, 13 Feb 2019 17:34: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rafael at espindo dot la
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-89337-4-dqXUwzfJLi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89337-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89337-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: 2019-02/txt/msg01952.txt.bz2
Content-length: 208

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89337

--- Comment #1 from Rafael Avila de Espindola <rafael at espindo dot la> ---
The original testcase is from https://github.com/scylladb/seastar/issues/598
>From gcc-bugs-return-633651-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 17:35:16 2019
Return-Path: <gcc-bugs-return-633651-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80795 invoked by alias); 13 Feb 2019 17:35: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 80719 invoked by uid 48); 13 Feb 2019 17:35:12 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug inline-asm/89334] unsupported size for integer register
Date: Wed, 13 Feb 2019 17:35: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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-89334-4-avstRNPndR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89334-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89334-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: 2019-02/txt/msg01953.txt.bz2
Content-length: 1558

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89334

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Stas Sergeev from comment #4)
> Would it be possible to at least show the
> correct line number where the register allocation
> actually failed? gcc points to a rather "random"
> line

Hmm, getting a "correct" location is doable.
Something like:
diff --git a/gcc/final.c b/gcc/final.c
index f6edd6a1dfc..ab85f7dce91 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -2690,6 +2690,7 @@ final_scan_insn_1 (rtx_insn *insn, FILE *file, int
optimize_p ATTRIBUTE_UNUSED,
            rtx *ops = XALLOCAVEC (rtx, noperands);
            const char *string;
            location_t loc;
+           location_t saved_loc;
            expanded_location expanded;

            /* There's no telling what that did to the condition codes.  */
@@ -2702,6 +2703,10 @@ final_scan_insn_1 (rtx_insn *insn, FILE *file, int
optimize_p ATTRIBUTE_UNUSED,
            this_is_asm_operands = insn;
            expanded = expand_location (loc);

+           saved_loc = input_location;
+           input_location = loc;
+
+
 #ifdef FINAL_PRESCAN_INSN
            FINAL_PRESCAN_INSN (insn, ops, insn_noperands);
 #endif
@@ -2725,6 +2730,8 @@ final_scan_insn_1 (rtx_insn *insn, FILE *file, int
optimize_p ATTRIBUTE_UNUSED,
                                                   insn_noperands);

            this_is_asm_operands = 0;
+
+           input_location = saved_loc;
            break;
          }


Untested (both building and running).
>From gcc-bugs-return-633652-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 17:40:49 2019
Return-Path: <gcc-bugs-return-633652-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88702 invoked by alias); 13 Feb 2019 17:40: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 88593 invoked by uid 48); 13 Feb 2019 17:40:45 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/87532] bad results from vec_extract(unsigned char, foo) dependent upon function inline
Date: Wed, 13 Feb 2019 17:40: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:
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: kelvin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87532-4-qvUK5Pmn15@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87532-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87532-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: 2019-02/txt/msg01954.txt.bz2
Content-length: 305

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87532

--- Comment #13 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Yes, please look at my previous comment.  I believe the problem is in the
VEC_EXTRACT processing in rs6000-c.c until proven otherwise... can you please
try my debugging suggestion?
>From gcc-bugs-return-633653-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 17:43:15 2019
Return-Path: <gcc-bugs-return-633653-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93763 invoked by alias); 13 Feb 2019 17:43: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 93667 invoked by uid 55); 13 Feb 2019 17:43:10 -0000
From: "aoliva at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87322] [8/9 Regression] GCC fails to parse captured lambda of 2nd inner lambda if the captured lambda has "," (having 2 arguments)
Date: Wed, 13 Feb 2019 17:43: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.1.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: aoliva at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87322-4-4f9KDfnsnn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87322-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87322-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: 2019-02/txt/msg01955.txt.bz2
Content-length: 1989

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87322

--- Comment #7 from Alexandre Oliva <aoliva at gcc dot gnu.org> ---
Author: aoliva
Date: Wed Feb 13 17:42:39 2019
New Revision: 268850

URL: https://gcc.gnu.org/viewcvs?rev=268850&root=gcc&view=rev
Log:
[PR87322] move cp_evaluated up to tsubst all lambda parms

A lambda capture variable initialized with a lambda expr taking more
than one parameter got us confused.

The first problem was that the parameter list was cut short during
tsubsting because we tsubsted it with cp_unevaluated_operand.  We
reset it right after, to tsubst the function body, so I've moved the
reset up so that it's in effect while processing the parameters as
well.

The second problem was that the lambda expr appeared twice, once in a
decltype that gave the capture variable its type, and once in its
initializer.  This caused us to instantiate two separate lambda exprs
and closure types, and then to flag that the lambda expr in the
initializer could not be converted to the unrelated closure type
determined for the capture variable.  Recording the tsubsted expr in
the local specialization map, and retrieving it for reuse fixed it.
However, that required some care to avoid reusing the lambda expr
across different indices in pack expansions.


for  gcc/cp/ChangeLog

        PR c++/87322
        * pt.c (tsubst_lambda_expr): Avoid duplicate tsubsting.
        Move cp_evaluated resetting before signature tsubsting.
        (gen_elem_of_pack_expansion_instantiation): Separate local
        specializations per index.

for  gcc/testsuite/ChangeLog

        PR c++/87322
        * g++.dg/cpp1y/pr87322.C: New.
        * g++.dg/cpp0x/lambda/lambda-variadic5.C: Test that we
        instantiate the expected number of lambda functions.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/pr87322.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-variadic5.C
>From gcc-bugs-return-633654-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 17:46:53 2019
Return-Path: <gcc-bugs-return-633654-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103655 invoked by alias); 13 Feb 2019 17:46: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 103374 invoked by uid 48); 13 Feb 2019 17:46:49 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89229] Unnecessary ZMM in movoi_internal_avx/movti_internal
Date: Wed, 13 Feb 2019 17:46: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created
Message-ID: <bug-89229-4-gMbEfmOo9L@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89229-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89229-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: 2019-02/txt/msg01956.txt.bz2
Content-length: 514

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89229

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45685|0                           |1
        is obsolete|                            |

--- Comment #20 from H.J. Lu <hjl.tools at gmail dot com> ---
Created attachment 45705
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45705&action=edit
An updated patch
>From gcc-bugs-return-633655-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 17:53:10 2019
Return-Path: <gcc-bugs-return-633655-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128542 invoked by alias); 13 Feb 2019 17:53: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 128441 invoked by uid 48); 13 Feb 2019 17:53:05 -0000
From: "stsp at users dot sourceforge.net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug inline-asm/89334] unsupported size for integer register
Date: Wed, 13 Feb 2019 17:53: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: stsp at users dot sourceforge.net
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_status resolution
Message-ID: <bug-89334-4-6OPvxTA4iq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89334-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89334-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: 2019-02/txt/msg01957.txt.bz2
Content-length: 603

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89334

Stas Sergeev <stsp at users dot sourceforge.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |---

--- Comment #6 from Stas Sergeev <stsp at users dot sourceforge.net> ---
Thanks Andrew!
Please, make gcc better, not worse.
Prev versions generated "%sil", which,
while silly, was at least traceable.
And now the things are completely cryptic.
>From gcc-bugs-return-633656-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 17:53:13 2019
Return-Path: <gcc-bugs-return-633656-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128897 invoked by alias); 13 Feb 2019 17:53: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 128483 invoked by uid 48); 13 Feb 2019 17:53:08 -0000
From: "dje at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89338] New: sse-cvtss2si-[12].c fails on PPC Big Endian
Date: Wed, 13 Feb 2019 17:53: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: unknown
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dje 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-89338-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: 2019-02/txt/msg01958.txt.bz2
Content-length: 571

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89338

            Bug ID: 89338
           Summary: sse-cvtss2si-[12].c fails on PPC Big Endian
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dje at gcc dot gnu.org
                CC: pc at us dot ibm.com
  Target Milestone: ---

sse-cvtss2si-[12].c fails at runtime on AIX and powerpc64-linux big endian.
>From gcc-bugs-return-633657-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 17:55:24 2019
Return-Path: <gcc-bugs-return-633657-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2684 invoked by alias); 13 Feb 2019 17:55: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 2605 invoked by uid 48); 13 Feb 2019 17:55:19 -0000
From: "dje at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89339] New: sse-movmskb-1.c fails for PPC Big Endian
Date: Wed, 13 Feb 2019 17:55: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: unknown
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dje 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-89339-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: 2019-02/txt/msg01959.txt.bz2
Content-length: 564

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89339

            Bug ID: 89339
           Summary: sse-movmskb-1.c fails for PPC Big Endian
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dje at gcc dot gnu.org
                CC: pc at us dot ibm.com
  Target Milestone: ---

sse-movmskb-1.c fails at runtime on AIX and powerpc64-linux big endian.
>From gcc-bugs-return-633658-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 18:05:03 2019
Return-Path: <gcc-bugs-return-633658-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56315 invoked by alias); 13 Feb 2019 18:05: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 56156 invoked by uid 48); 13 Feb 2019 18:04:57 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89312] snprintf warning is unparsable and not confusing
Date: Wed, 13 Feb 2019 18:05: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.4.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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-89312-4-Bim5ht6wui@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89312-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89312-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: 2019-02/txt/msg01960.txt.bz2
Content-length: 2174

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89312

--- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> ---
In the future, the warnings for problems unrelated to truncation should be
moved under their own options (e.g., null pointer arguments to %s should be
controlled by either -Wnonnull or -Wnull-dereference).

Your solution/workaround will work but GCC will only eliminate the test when it
can prove the condition cannot be true.  For example, below the test and the
assignment are eliminated because given the sizes of the two input arrays the
snprintf result cannot be greater than 40 (compile with
-fdump-tree-optimized=/dev/stdout to see the result):

  char a[20], b[20];
  char d[40];

  void f (void)
  {
    int r = snprintf (d, sizeof d, "%s %s", a, b);
    if (r >= sizeof d)
      d[sizeof d - 1] = 0;
  }

But if you change a to have, say, 30 elements (or make it a pointer) the test
is not eliminated anymore because GCC can no longer prove that it won't cause
truncation (the possible truncation can then be detected by using
-Wformat-truncation=2).

The same effect can be achieved without the overhead by introducing a volatile
temporary variable for the destination size, but it's also ugly.  Another
option is to introduce a wrapper function or macro for deliberately truncating
snprintf calls and have it hide the ugliness:

  #define snprintf_trunc(dst, size, ...) \
    do {                                 \
      volatile size_t n = size;          \
      snprintf (dst, n, __VA_ARGS__);    \
    } while (0)

I agree that clunky workarounds shouldn't be necessary.  Ideally, there would
be an elegant or at least intuitive way to indicate the truncation is expected
without jumping through these hoops.  A few people have suggested a cast to
void as that annotation.  We had considered it but didn't implement it because
legacy code routinely uses casts to void as a (superfluous) convention to
indicate that the result of a function call is deliberately unused, but not
necessarily with an appreciation of the consequences of what it might mean for
snprintf.  Perhaps we should revisit that decision.
>From gcc-bugs-return-633659-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 18:11:11 2019
Return-Path: <gcc-bugs-return-633659-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6797 invoked by alias); 13 Feb 2019 18:11: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 6693 invoked by uid 48); 13 Feb 2019 18:11:06 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/87761] [9 regression][MIPS] New FAIL: gcc.target/mips/fix-r4000-10.c   -O1 start with r265398
Date: Wed, 13 Feb 2019 18:11: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: segher at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-87761-4-hLEPZnpod7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87761-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87761-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: 2019-02/txt/msg01961.txt.bz2
Content-length: 285

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87761

--- Comment #9 from Segher Boessenkool <segher at gcc dot gnu.org> ---
It looks more like the kind of thing that combine make_extraction,
make_compound_operation, expand_compound_operation comes up with.
This is not a new problem.
>From gcc-bugs-return-633660-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 18:12:08 2019
Return-Path: <gcc-bugs-return-633660-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9113 invoked by alias); 13 Feb 2019 18:12: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 9025 invoked by uid 48); 13 Feb 2019 18:12:03 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89340] New: ICE in function_and_variable_visibility, at ipa-visibility.c:707
Date: Wed, 13 Feb 2019 18:12: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: gscfq@t-online.de
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-89340-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: 2019-02/txt/msg01962.txt.bz2
Content-length: 825

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89340

            Bug ID: 89340
           Summary: ICE in function_and_variable_visibility, at
                    ipa-visibility.c:707
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Affects versions down to at least gcc-5 :


$ cat z1.c
void foo ()
{
  __attribute__((weak))
  void bar () { }
  bar();
}


$ gcc-9-20190210 -c z1.c
during IPA pass: visibility
z1.c:6:1: internal compiler error: in function_and_variable_visibility, at
ipa-visibility.c:707
    6 | }
      | ^
0x1200e11 function_and_variable_visibility
        ../../gcc/ipa-visibility.c:703
>From gcc-bugs-return-633661-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 18:16:46 2019
Return-Path: <gcc-bugs-return-633661-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20210 invoked by alias); 13 Feb 2019 18:16:46 -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 20093 invoked by uid 48); 13 Feb 2019 18:16:42 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89341] New: ICE in get, at cgraph.h:1332
Date: Wed, 13 Feb 2019 18:16: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: gscfq@t-online.de
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-89341-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: 2019-02/txt/msg01963.txt.bz2
Content-length: 1135

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89341

            Bug ID: 89341
           Summary: ICE in get, at cgraph.h:1332
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

With option -O0 down to at least gcc-5 :


$ cat z1.c
__attribute__((weakref("bar")))
static void foo () { }
void foo ();


$ gcc-9-20190210 -c z1.c -O1
$
$ gcc-9-20190210 -c z1.c -O0
z1.c:2:13: internal compiler error: Segmentation fault
    2 | static void foo () { }
      |             ^~~
0xa8aa9f crash_signal
        ../../gcc/toplev.c:326
0x70c90a cgraph_node* dyn_cast<cgraph_node*, symtab_node>(symtab_node*)
        ../../gcc/is-a.h:227
0x70c90a cgraph_node::get(tree_node const*)
        ../../gcc/cgraph.h:1333
0x70c90a cgraph_node::analyze()
        ../../gcc/cgraphunit.c:640
0x70f457 analyze_functions
        ../../gcc/cgraphunit.c:1126
0x70fd92 symbol_table::finalize_compilation_unit()
        ../../gcc/cgraphunit.c:2834
>From gcc-bugs-return-633662-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 18:20:55 2019
Return-Path: <gcc-bugs-return-633662-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37699 invoked by alias); 13 Feb 2019 18:20: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 37593 invoked by uid 48); 13 Feb 2019 18:20:50 -0000
From: "amonakov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug inline-asm/89334] unsupported size for integer register
Date: Wed, 13 Feb 2019 18: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: 8.2.0
X-Bugzilla-Keywords:
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: cc
Message-ID: <bug-89334-4-fl8HHtCaS6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89334-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89334-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: 2019-02/txt/msg01964.txt.bz2
Content-length: 630

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89334

Alexander Monakov <amonakov at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amonakov at gcc dot gnu.org

--- Comment #7 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Isolated testcase for diagnostic enhancement (-O2 -m32, want error on line 6
rather than line 12):

static inline
void f(void)
{
    int si;
    asm("" : "=S"(si));
    asm("# %0" :: "r"((char)si));
}

void wrapper(void)
{
    f();
}
>From gcc-bugs-return-633663-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 18:24:33 2019
Return-Path: <gcc-bugs-return-633663-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56771 invoked by alias); 13 Feb 2019 18:24: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 56549 invoked by uid 48); 13 Feb 2019 18:24:27 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89342] New: ICE in maybe_default_option, at opts.c:347
Date: Wed, 13 Feb 2019 18:24: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: gscfq@t-online.de
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-89342-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: 2019-02/txt/msg01965.txt.bz2
Content-length: 2303

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89342

            Bug ID: 89342
           Summary: ICE in maybe_default_option, at opts.c:347
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Affected by options -O[gs012] down to at least gcc-5,
compiles of course with -O3 or -Ofast (not sure if legal)  :



$ cat z1.c
__attribute__((optimize("Ofast")))
void foo ()
{
  __attribute__((optimize("align-functions=16")))
  void bar () {}
}


$ gcc-9-20190210 -c z1.c -O3
$
$ gcc-9-20190210 -c z1.c
z1.c: In function 'foo':
z1.c:5:3: internal compiler error: in maybe_default_option, at opts.c:347
    5 |   void bar () {}
      |   ^~~~
0x127e18f maybe_default_option
        ../../gcc/opts.c:347
0x127fcfb maybe_default_options
        ../../gcc/opts.c:433
0x127fcfb default_options_optimization(gcc_options*, gcc_options*,
cl_decoded_option*, unsigned int, unsigned int, unsigned int,
cl_option_handlers const*, diagnostic_context*)
        ../../gcc/opts.c:652
0x9c0cf9 decode_options(gcc_options*, gcc_options*, cl_decoded_option*,
unsigned int, unsigned int, diagnostic_context*, void (*)())
        ../../gcc/opts-global.c:308
0x668256 parse_optimize_options(tree_node*, bool)
        ../../gcc/c-family/c-common.c:5731
0x68fd87 handle_optimize_attribute
        ../../gcc/c-family/c-attribs.c:3893
0x5d5e57 decl_attributes(tree_node**, tree_node*, int, tree_node*)
        ../../gcc/attribs.c:719
0x5ed501 start_function(c_declspecs*, c_declarator*, tree_node*)
        ../../gcc/c/c-decl.c:8907
0x6300d8 c_parser_declaration_or_fndef
        ../../gcc/c/c-parser.c:2258
0x62f46a c_parser_compound_statement_nostart
        ../../gcc/c/c-parser.c:5070
0x62f556 c_parser_compound_statement
        ../../gcc/c/c-parser.c:4982
0x630cca c_parser_declaration_or_fndef
        ../../gcc/c/c-parser.c:2354
0x635d73 c_parser_external_declaration
        ../../gcc/c/c-parser.c:1653
0x636839 c_parser_translation_unit
        ../../gcc/c/c-parser.c:1534
0x636839 c_parse_file()
        ../../gcc/c/c-parser.c:19842
0x67cca0 c_common_parse_file()
        ../../gcc/c-family/c-opts.c:1155
>From gcc-bugs-return-633664-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 18:24:36 2019
Return-Path: <gcc-bugs-return-633664-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57167 invoked by alias); 13 Feb 2019 18:24:36 -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 56732 invoked by uid 48); 13 Feb 2019 18:24:31 -0000
From: "sean.wang at wdc dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89321] cross build with riscv64 gccgo compilation failed due to assert in constructor_expression
Date: Wed, 13 Feb 2019 18:24: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: sean.wang at wdc dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89321-4-NoOY8fVoQs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89321-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89321-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: 2019-02/txt/msg01966.txt.bz2
Content-length: 343

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89321

--- Comment #4 from sean.wang at wdc dot com ---
The assert it reached was this I think:
 gcc_assert(field == NULL_TREE);

Thanks, Ian. It is helpful. I think I found a way to reproduce this issue on a
smaller set of code. Will provide an example once I have everything stubbed
out.
>From gcc-bugs-return-633665-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 18:28:20 2019
Return-Path: <gcc-bugs-return-633665-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64531 invoked by alias); 13 Feb 2019 18:28: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 64443 invoked by uid 48); 13 Feb 2019 18:28:16 -0000
From: "aoliva at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87322] [8 Regression] GCC fails to parse captured lambda of 2nd inner lambda if the captured lambda has "," (having 2 arguments)
Date: Wed, 13 Feb 2019 18:28: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.1.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: aoliva at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_known_to_work short_desc cf_known_to_fail
Message-ID: <bug-87322-4-mSyhooxufx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87322-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87322-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: 2019-02/txt/msg01967.txt.bz2
Content-length: 796

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87322

Alexandre Oliva <aoliva at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |9.0
            Summary|[8/9 Regression] GCC fails  |[8 Regression] GCC fails to
                   |to parse captured lambda of |parse captured lambda of
                   |2nd inner lambda if the     |2nd inner lambda if the
                   |captured lambda has ","     |captured lambda has ","
                   |(having 2 arguments)        |(having 2 arguments)
      Known to fail|9.0                         |

--- Comment #8 from Alexandre Oliva <aoliva at gcc dot gnu.org> ---
Fixed for GCC 9.
>From gcc-bugs-return-633666-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 18:47:22 2019
Return-Path: <gcc-bugs-return-633666-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97605 invoked by alias); 13 Feb 2019 18:47: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 97443 invoked by uid 48); 13 Feb 2019 18:47:17 -0000
From: "acsawdey at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88308] ICE in maybe_record_trace_start, at dwarf2cfi.c:2309
Date: Wed, 13 Feb 2019 18:47: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: acsawdey at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: acsawdey at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88308-4-PQYrENa4QN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88308-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88308-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: 2019-02/txt/msg01968.txt.bz2
Content-length: 461

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88308

--- Comment #5 from acsawdey at gcc dot gnu.org ---
After some more digging, it appears that the problem is
move_insn_for_shrink_wrap() is deleting and re-creating insns to move them from
one BB to another. The label reference count gets decremented in delete_insn()
but does not get re-incremented when the new insn is created in a different BB.

If you add -fno-shrink-wrap, the ICE does not occur.
>From gcc-bugs-return-633667-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 18:58:13 2019
Return-Path: <gcc-bugs-return-633667-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37581 invoked by alias); 13 Feb 2019 18:58: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 37448 invoked by uid 48); 13 Feb 2019 18:58:06 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89343] New: Some MMX instructions aren't properly marked
Date: Wed, 13 Feb 2019 18:58: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:
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-89343-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: 2019-02/txt/msg01969.txt.bz2
Content-length: 2590

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89343

            Bug ID: 89343
           Summary: Some MMX instructions aren't properly marked
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: ubizjak at gmail dot com
  Target Milestone: ---
            Target: i386, x86-64

(define_insn "*vec_concatv2sf_sse4_1"
  [(set (match_operand:V2SF 0 "register_operand"
          "=Yr,*x, v,Yr,*x,v,v,*y ,*y")
        (vec_concat:V2SF
          (match_operand:SF 1 "nonimmediate_operand"
          "  0, 0,Yv, 0,0, v,m, 0 , m")
          (match_operand:SF 2 "nonimm_or_0_operand"
          " Yr,*x,Yv, m,m, m,C,*ym, C")))]
  "TARGET_SSE4_1 && !(MEM_P (operands[1]) && MEM_P (operands[2]))"
  "@
   unpcklps\t{%2, %0|%0, %2}
   unpcklps\t{%2, %0|%0, %2}
   vunpcklps\t{%2, %1, %0|%0, %1, %2}
   insertps\t{$0x10, %2, %0|%0, %2, 0x10}
   insertps\t{$0x10, %2, %0|%0, %2, 0x10}
   vinsertps\t{$0x10, %2, %1, %0|%0, %1, %2, 0x10}
   %vmovss\t{%1, %0|%0, %1}
   punpckldq\t{%2, %0|%0, %2}
   movd\t{%1, %0|%0, %1}"
  [(set (attr "isa")
     (cond [(eq_attr "alternative" "0,1,3,4")
              (const_string "noavx")
            (eq_attr "alternative" "2,5")
              (const_string "avx")
           ]
           (const_string "*")))


(define_insn "*vec_concatv2sf_sse"
  [(set (match_operand:V2SF 0 "register_operand"     "=x,x,*y,*y")
        (vec_concat:V2SF
          (match_operand:SF 1 "nonimmediate_operand" " 0,m, 0, m")
          (match_operand:SF 2 "reg_or_0_operand"     " x,C,*y, C")))]
  "TARGET_SSE"
  "@
   unpcklps\t{%2, %0|%0, %2}
   movss\t{%1, %0|%0, %1}
   punpckldq\t{%2, %0|%0, %2}
   movd\t{%1, %0|%0, %1}"
  [(set_attr "type" "sselog,ssemov,mmxcvt,mmxmov")
   (set_attr "mode" "V4SF,SF,DI,DI")])

The movd alternatives only require MMX.
>From gcc-bugs-return-633668-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 19:09:33 2019
Return-Path: <gcc-bugs-return-633668-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88116 invoked by alias); 13 Feb 2019 19:09:32 -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 87223 invoked by uid 55); 13 Feb 2019 19:09:26 -0000
From: "aoliva at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86379] [8/9 Regression] Class member access of |using|'d field goes horribly awry in presence of templates
Date: Wed, 13 Feb 2019 19:09: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.1.0
X-Bugzilla-Keywords: patch, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: aoliva at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86379-4-5tREpSZzw1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86379-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86379-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: 2019-02/txt/msg01970.txt.bz2
Content-length: 1713

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86379

--- Comment #5 from Alexandre Oliva <aoliva at gcc dot gnu.org> ---
Author: aoliva
Date: Wed Feb 13 19:08:52 2019
New Revision: 268851

URL: https://gcc.gnu.org/viewcvs?rev=268851&root=gcc&view=rev
Log:
[PR86379] do not use TREE_TYPE for USING_DECL_SCOPE

It's too risky to reuse the type field for USING_DECL_SCOPE.
Language-independent parts of the compiler, such as location and
non-lvalue wrappers, happily take the TREE_TYPE of a USING_DECL as if
it was a type rather than an unrelated scope.

For better or worse, USING_DECLs use the non-common struct so we can
use the otherwise unused result field.  Adjust fallout, from uses of
TREE_TYPE that were supposed to be USING_DECL_SCOPE, to other
accidental uses of TREE_TYPE of a USING_DECL.


for  gcc/cp/ChangeLog

        PR c++/86379
        * cp-tree.h (USING_DECL_SCOPE): Use result rather than type.
        * name-lookup.c (strip_using_decl): Use USING_DECL_SCOPE.
        * search.c (protected_accessible_p): Follow USING_DECL_DECLS.
        (shared_member_p): Likewise.
        (lookup_member): Likewise.
        * decl.c (grok_special_member_properties): Skip USING_DECLs.
        * semantics.c (finish_omp_declare_simd_methods): Likewise.
        (finish_qualified_id_expr): Do not call shared_member_p with
        a dependent expr.

for  gcc/testsuite/ChangeLog

        PR c++/86379
        * g++.dg/cpp0x/pr86379.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/pr86379.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/name-lookup.c
    trunk/gcc/cp/search.c
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633670-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 19:11:19 2019
Return-Path: <gcc-bugs-return-633670-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96380 invoked by alias); 13 Feb 2019 19:11:18 -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 96274 invoked by uid 48); 13 Feb 2019 19:11:14 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89337] Bogus "exceeds maximum object size" on unreachable code
Date: Wed, 13 Feb 2019 19:11: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: 9.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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: keywords bug_status cc blocked resolution
Message-ID: <bug-89337-4-qKZoQybuOi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89337-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89337-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: 2019-02/txt/msg01972.txt.bz2
Content-length: 1507

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89337

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |msebor at gcc dot gnu.org
             Blocks|                            |88443
         Resolution|---                         |INVALID

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
In the test case from attachment 45704:

  struct sstring {
    size_t _size;
    sstring(size_t size) : _size(size) { memset(begin(), '\n', size); }
    size_t size() const noexcept { return _size; }
    void resize(size_t n) {
      if (n > size()) {
        sstring x(n - size());
      }
    }
    char *begin();
  };
  void drop3(sstring &name) { name.resize(name.size() - 3); }

GCC can't see that drop3() cannot be called with name.size() < 3, and in
resize, the condition (n > size()) can only be true only when name.size() < 3
so n - size() is unavoidably too large.

To avoid the warning make the precondition explicit:

  void drop3(sstring &name)
  {
    if (name.size () < 3)
    __builtin_unreachable ();

    name.resize(name.size() - 3);
  }


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443
[Bug 88443] [meta-bug] bogus/missing -Wstringop-overflow warnings
>From gcc-bugs-return-633669-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 19:11:19 2019
Return-Path: <gcc-bugs-return-633669-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96376 invoked by alias); 13 Feb 2019 19:11:18 -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 96297 invoked by uid 48); 13 Feb 2019 19:11:14 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88443] [meta-bug] bogus/missing -Wstringop-overflow warnings
Date: Wed, 13 Feb 2019 19:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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 resolution
Message-ID: <bug-88443-4-JxHHDJ1qUj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88443-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88443-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: 2019-02/txt/msg01971.txt.bz2
Content-length: 483

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443
Bug 88443 depends on bug 89337, which changed state.

Bug 89337 Summary: Bogus "exceeds maximum object size" on unreachable code
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89337

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID
>From gcc-bugs-return-633671-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 19:19:41 2019
Return-Path: <gcc-bugs-return-633671-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37586 invoked by alias); 13 Feb 2019 19:19:41 -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 37450 invoked by uid 48); 13 Feb 2019 19:19:36 -0000
From: "aoliva at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86379] [8 Regression] Class member access of |using|'d field goes horribly awry in presence of templates
Date: Wed, 13 Feb 2019 19:19: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.1.0
X-Bugzilla-Keywords: patch, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: aoliva at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_known_to_work short_desc cf_known_to_fail
Message-ID: <bug-86379-4-QHF5qQId5g@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86379-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86379-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: 2019-02/txt/msg01973.txt.bz2
Content-length: 723

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86379

Alexandre Oliva <aoliva at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |9.0
            Summary|[8/9 Regression] Class      |[8 Regression] Class member
                   |member access of |using|'d  |access of |using|'d field
                   |field goes horribly awry in |goes horribly awry in
                   |presence of templates       |presence of templates
      Known to fail|9.0                         |

--- Comment #6 from Alexandre Oliva <aoliva at gcc dot gnu.org> ---
Fixed for GCC 9.
>From gcc-bugs-return-633672-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 19:21:18 2019
Return-Path: <gcc-bugs-return-633672-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40562 invoked by alias); 13 Feb 2019 19:21:18 -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 40437 invoked by uid 48); 13 Feb 2019 19:21:13 -0000
From: "rafael at espindo dot la" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89337] Bogus "exceeds maximum object size" on unreachable code
Date: Wed, 13 Feb 2019 19:21: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: 9.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rafael at espindo dot la
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-89337-4-Awi9lUpBV4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89337-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89337-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: 2019-02/txt/msg01974.txt.bz2
Content-length: 842

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89337

--- Comment #3 from Rafael Avila de Espindola <rafael at espindo dot la> ---

> GCC can't see that drop3() cannot be called with name.size() < 3, and in
> resize, the condition (n > size()) can only be true only when name.size() <
> 3 so n - size() is unavoidably too large.

That is why gcc should not warn about it :-)

The original testcase had

  if (boost::algorithm::ends_with(name, "%2A")) {
          name.resize(name.length() - 3);

I think it is fair to say that:

* The code is valid, if something ends with "%2A" the size is >= 3.
* GCC should not be required to figure out the above implication.
* The developer should not be required to add a __builtin_unreachable() to
avoid a warning in the above code.

I will re reduce the testcase keeping the ends_with and attach.
>From gcc-bugs-return-633673-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 19:23:25 2019
Return-Path: <gcc-bugs-return-633673-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43880 invoked by alias); 13 Feb 2019 19:23: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 43811 invoked by uid 48); 13 Feb 2019 19:23:21 -0000
From: "urbanjost at comcast dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89344] New: intent
Date: Wed, 13 Feb 2019 19:23: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: 7.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: urbanjost at comcast dot net
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-89344-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: 2019-02/txt/msg01975.txt.bz2
Content-length: 390

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89344

            Bug ID: 89344
           Summary: intent
           Product: gcc
           Version: 7.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: urbanjost at comcast dot net
  Target Milestone: ---
>From gcc-bugs-return-633674-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 19:24:45 2019
Return-Path: <gcc-bugs-return-633674-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46303 invoked by alias); 13 Feb 2019 19:24: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 46144 invoked by uid 48); 13 Feb 2019 19:24:28 -0000
From: "kelvin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/87532] bad results from vec_extract(unsigned char, foo) dependent upon function inline
Date: Wed, 13 Feb 2019 19:24: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kelvin at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: kelvin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87532-4-kVMynhGnAu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87532-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87532-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: 2019-02/txt/msg01976.txt.bz2
Content-length: 995

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87532

--- Comment #14 from kelvin at gcc dot gnu.org ---
To reconcile comments 12 and 13, the subtle issue is that we don't even get
into the altivec_resolve_overloaded_builtin function for the following code:

  vec_extract (vi, 10);

The gimple expander replaces this code with BIT_FIELD_REF <> before even
attempting to expand this overloaded builtin.

However, in the case that the "identical" code is represented by inlined
function X, we do come through altivec_resolve_overloaded_builtin.

int X (vector int vi, int index) {
  return vec_extract (vi, index);
}
...
X (vi, 10)


There are "two" ways to fix this problem.  Either we can make the gimple
expansion of in-lined functions match the non-inlined functions, or we can
insert code into altivec_resolve_overloaded_builtin to accommodate the
inconsistencies.

I gather you prefer I address this within altivec_resolve_overloaded_builtin.

I'll pursue this unless directed otherwise.
>From gcc-bugs-return-633675-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 19:30:33 2019
Return-Path: <gcc-bugs-return-633675-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99406 invoked by alias); 13 Feb 2019 19:30: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 88867 invoked by uid 48); 13 Feb 2019 19:30:21 -0000
From: "urbanjost at comcast dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89344] uncaught programmer error:  polymorphic variable is INTENT(IN) but assigned to without error
Date: Wed, 13 Feb 2019 19:30: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.3.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: urbanjost at comcast dot net
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: keywords short_desc
Message-ID: <bug-89344-4-aU9OunMZR3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89344-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89344-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: 2019-02/txt/msg01977.txt.bz2
Content-length: 1366

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89344

urbanjost at comcast dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
            Summary|intent                      |uncaught programmer error:
                   |                            |polymorphic variable is
                   |                            |INTENT(IN) but assigned to
                   |                            |without error

--- Comment #1 from urbanjost at comcast dot net ---
program demo_setval
   call setval(value)
   write(*,*)'VALUE=',value
CONTAINS
   subroutine setval(value)
      class(*),intent(in)          :: value
      select type(value)
       type is (integer);          value=10
       type is (real);             value=10.20
      end select
   end subroutine setval
end program demo_setval
! expect to get something like
!    Error: Dummy argument 'value' with INTENT(IN) in variable definition
context (assignment) at (1)
! but do not even though VALUE is INTENT(IN) and changed the value


There is a programmer error in the example program. The variable VALUE has been
declared to be INTENT(IN) but the routine assigns a value to the variable. This
should be caught at compile time.
>From gcc-bugs-return-633676-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 19:39:10 2019
Return-Path: <gcc-bugs-return-633676-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74138 invoked by alias); 13 Feb 2019 19:39: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 74025 invoked by uid 48); 13 Feb 2019 19:39:04 -0000
From: "mib.bugzilla at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89345] New: gcc9 <new> uses constexpr token, can you change to _GLIBCXX_CONSTEXPR ?
Date: Wed, 13 Feb 2019 19:39: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mib.bugzilla 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-89345-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: 2019-02/txt/msg01978.txt.bz2
Content-length: 981

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89345

            Bug ID: 89345
           Summary: gcc9 <new> uses constexpr token, can you change to
                    _GLIBCXX_CONSTEXPR ?
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mib.bugzilla at gmail dot com
  Target Milestone: ---

In the patch to add destroying_delete, (Implement P0722R3, destroying operator
delete.) the constexpr token is used directly, can you modify this to use the
macro e.g. _GLIBCXX_CONSTEXPR. For example, recently the clang compiler
predefines __cpp_impl_destroying_delete and this causes the <new> header to
fail compilation if compiling with option -std=c++98.  

This issue is discussed here, https://reviews.llvm.org/D55741

Thanks and regards
--Melanie Blower
(I work on the Intel C++ compiler)
>From gcc-bugs-return-633677-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 19:44:33 2019
Return-Path: <gcc-bugs-return-633677-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82191 invoked by alias); 13 Feb 2019 19:44: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 82119 invoked by uid 48); 13 Feb 2019 19:44:25 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89341] ICE in get, at cgraph.h:1332
Date: Wed, 13 Feb 2019 19:44: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: dmalcolm 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-89341-4-kWwmx8veKt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89341-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89341-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: 2019-02/txt/msg01979.txt.bz2
Content-length: 687

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89341

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmalcolm at gcc dot gnu.org

--- Comment #1 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Fails here in cgraph_node::get:

1332        gcc_checking_assert (TREE_CODE (decl) == FUNCTION_DECL);

639       if (alias)
640         resolve_alias (cgraph_node::get (alias_target), transparent_alias);

where "decl" == "alias_target" == the IDENTIFIER_NODE "bar", not a
FUNCTION_DECL.
>From gcc-bugs-return-633678-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 19:45:39 2019
Return-Path: <gcc-bugs-return-633678-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84725 invoked by alias); 13 Feb 2019 19:45: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 84435 invoked by uid 48); 13 Feb 2019 19:45:28 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89336] internal compiler error when compiling a constexpr function
Date: Wed, 13 Feb 2019 19:45: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: jakub 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: bug_status assigned_to attachments.created
Message-ID: <bug-89336-4-sY4fjW9dz2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89336-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89336-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: 2019-02/txt/msg01980.txt.bz2
Content-length: 1322

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89336

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45706
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45706&action=edit
gcc9-pr89336.patch

Untested fix.  Pointing a pointer into a middle of vector that might be
reallocated or where new elements might be added before the one to which we
store (and that addition memmoves all the rest upwards) is dangerous.

This patch should fix that, except that it doesn't fix union handling.  I think
e.g.
constexpr int foo () {
  union U { int a; long b; };
  union V { union U u; short v; };
  V w {};
  w.u.a = w.v = w.u.b = 5L;
  return w.u.a;
}
static_assert (foo () == 5, "");

ICEs with it (previously it would fail).  Is the testcase valid C++?
clang++ rejects it.  The question is when exactly becomes a union member active
on the assignment, if only after evaluating the rhs, or it first becomes active
member, then rhs is evaluated.
>From gcc-bugs-return-633679-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 20:18:13 2019
Return-Path: <gcc-bugs-return-633679-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13448 invoked by alias); 13 Feb 2019 20:18: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 13344 invoked by uid 48); 13 Feb 2019 20:18:07 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89283] [8/9 Regression] ICE: Segmentation fault (in stmt_could_throw_1_p)
Date: Wed, 13 Feb 2019 20:18: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: EH, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm 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-89283-4-RjX50FESN3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89283-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89283-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: 2019-02/txt/msg01981.txt.bz2
Content-length: 1318

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89283

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmalcolm at gcc dot gnu.org

--- Comment #2 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
At 008t.lower we have:

sz (int i0)
{
  int D.1911;

  D.1911 = zn ();
  goto <D.1912>;
  _1 = i0 + 1;
  _2 = zn ();
  _3 = _1 >= _2;
  D.1911 = (int) _3;
  goto <D.1912>;
  <D.1912>:
  return D.1911;
}

It then tried to build the CFG, but dies verifying it, accessing a freed
SSA_NAME:

(gdb) call debug_tree (t)
 <ssa_name 0x7ffff18b7cf0 nothrow
    def_stmt 
    version:1 in-free-list>

The SSA_NAME is freed because the BB is deleted during CFG creation, in
cleanup_control_flow_pre here:
780           basic_block bb = BASIC_BLOCK_FOR_FN (cfun, i);
781           if (bb && !bitmap_bit_p (visited, bb->index))
782             {
783               if (!retval)
784                 free_dominance_info (CDI_DOMINATORS);
785               delete_basic_block (bb);
786               retval = true;
787             }

Presumably that code needs to handle whatever it is that "returns_twice" does
to the function.
>From gcc-bugs-return-633680-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 20:26:45 2019
Return-Path: <gcc-bugs-return-633680-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37630 invoked by alias); 13 Feb 2019 20:26: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 37543 invoked by uid 48); 13 Feb 2019 20:26:40 -0000
From: "Casey at Carter dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89300] C++ requires statement does not fail silently for const void *
Date: Wed, 13 Feb 2019 20:26: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.1
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: Casey at Carter dot net
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-89300-4-EOoYwiMqnN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89300-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89300-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: 2019-02/txt/msg01982.txt.bz2
Content-length: 412

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89300

Casey Carter <Casey at Carter dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Casey at Carter dot net

--- Comment #1 from Casey Carter <Casey at Carter dot net> ---
This seems to be a duplicate of #78173.
>From gcc-bugs-return-633681-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 21:20:51 2019
Return-Path: <gcc-bugs-return-633681-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5112 invoked by alias); 13 Feb 2019 21:20: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 5034 invoked by uid 48); 13 Feb 2019 21:20:46 -0000
From: "vmakarov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89271] gcc.target/powerpc/vsx-simode2.c stopped working in GCC 9
Date: Wed, 13 Feb 2019 21:20: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: ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vmakarov 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-89271-4-g5oOh4gHqP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89271-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89271-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: 2019-02/txt/msg01983.txt.bz2
Content-length: 1828

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89271

--- Comment #1 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---

> This is because IRA does
> 
>      r125: preferred NO_REGS, alternative NO_REGS, allocno NO_REGS
> 
>    a1(r125,l0) costs: BASE_REGS:14004,14004 GENERAL_REGS:14004,14004-
>    LINK_REGS:24010,24010 CTR_REGS:24010,24010 LINK_OR_CTR_REGS:24010,24010-
>    SPEC_OR_GEN_REGS:24010,24010 MEM:12000,12000
> 
> and it then chooses disposition mem for r125.
> 
> In GCC 8 and before combine already has decided to use GPR3 (the first
> argument register) for this, so there was no RA here before.

The very first ira-costs pass runs in sched1 and it generates the following
costs
  r125 costs: BASE_REGS:10000 GENERAL_REGS:10000 LINK_REGS:20000 CTR_REGS:20000
LINK_OR_CTR_REGS:20000 SPEC_OR_GEN_REGS:20000 MEM:8000

The costs in IRA are bit different because we calculate costs knowing our
preference for p125 as NO_REGS.

Why does IRA calculate such costs?  We have 2 insns involving p125
   15: r125:DI=%3:DI
             REG_DEAD %3:DI
    7: {r123:SI=asm_operands/*r125 with constraint 'v'*/;clobber ca:SI;}

Cost of moving r3 into p125 is 2 for base regs and 4 for memory
Cost of moving p125 into a v reg is 8 for base regs and 4 for memory

Therefore cost of p125 is 10 for base reg and 8 for memory (multiplied by BB
frequency 10000).

Therefore IRA chooses memory for p125.

In this particular case insn 15 can go away when we assign r3 to p125.  It
means the cost for base reg could be 8 as for memory but IRA can not say in
general case that it can assign r3 to p125.

I think increasing memory move cost at least to 5 could solve the problem.  But
probably it needs benchmarking SPEC, besides running GCC testsuite, to see that
the performance is not worse after such change.
>From gcc-bugs-return-633682-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 21:39:57 2019
Return-Path: <gcc-bugs-return-633682-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45662 invoked by alias); 13 Feb 2019 21:39:56 -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 45544 invoked by uid 55); 13 Feb 2019 21:39:50 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89297] [9 Regression] ICE: unexpected expression 'id' of kind overload
Date: Wed, 13 Feb 2019 21:39: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, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89297-4-hKojfrbN4M@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89297-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89297-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: 2019-02/txt/msg01984.txt.bz2
Content-length: 628

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89297

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Wed Feb 13 21:39:18 2019
New Revision: 268854

URL: https://gcc.gnu.org/viewcvs?rev=268854&root=gcc&view=rev
Log:
        PR c++/89297 - ICE with OVERLOAD in template.
        * semantics.c (finish_compound_literal): Call
        instantiate_non_dependent_expr_sfinae.

        * g++.dg/cpp0x/initlist113.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/initlist113.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633683-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 21:42:51 2019
Return-Path: <gcc-bugs-return-633683-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50552 invoked by alias); 13 Feb 2019 21:42: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 50503 invoked by uid 48); 13 Feb 2019 21:42:45 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89297] [9 Regression] ICE: unexpected expression 'id' of kind overload
Date: Wed, 13 Feb 2019 21: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, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89297-4-wi9vNIMmFO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89297-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89297-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: 2019-02/txt/msg01985.txt.bz2
Content-length: 429

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89297

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-633684-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 21:43:35 2019
Return-Path: <gcc-bugs-return-633684-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51727 invoked by alias); 13 Feb 2019 21: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 51687 invoked by uid 48); 13 Feb 2019 21:43:30 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89229] Unnecessary ZMM in movoi_internal_avx/movti_internal
Date: Wed, 13 Feb 2019 21:43: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created
Message-ID: <bug-89229-4-dwYPBqIC3r@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89229-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89229-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: 2019-02/txt/msg01986.txt.bz2
Content-length: 509

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89229

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45705|0                           |1
        is obsolete|                            |

--- Comment #21 from H.J. Lu <hjl.tools at gmail dot com> ---
Created attachment 45707
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45707&action=edit
A new patch
>From gcc-bugs-return-633685-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 21:52:57 2019
Return-Path: <gcc-bugs-return-633685-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68607 invoked by alias); 13 Feb 2019 21:52:56 -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 68555 invoked by uid 48); 13 Feb 2019 21:52:52 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89345] gcc9 <new> uses constexpr token, can you change to _GLIBCXX_CONSTEXPR ?
Date: Wed, 13 Feb 2019 21:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
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 component version target_milestone everconfirmed
Message-ID: <bug-89345-4-q1Tlq0bQas@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89345-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89345-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: 2019-02/txt/msg01987.txt.bz2
Content-length: 572

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89345

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-13
          Component|c++                         |libstdc++
            Version|unknown                     |9.0
   Target Milestone|---                         |9.0
     Ever confirmed|0                           |1
>From gcc-bugs-return-633686-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 21:54:25 2019
Return-Path: <gcc-bugs-return-633686-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71199 invoked by alias); 13 Feb 2019 21: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 71141 invoked by uid 48); 13 Feb 2019 21:54:19 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89345] gcc9 <new> uses constexpr token, can you change to _GLIBCXX_CONSTEXPR ?
Date: Wed, 13 Feb 2019 21:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
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-89345-4-oqDbvvC5AB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89345-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89345-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: 2019-02/txt/msg01988.txt.bz2
Content-length: 278

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89345

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I already started fixing this after your update to the phabricator update
pinged me an email. I'm just going to make it conditional on __cplusplus >
201703L.
>From gcc-bugs-return-633688-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 21:59:51 2019
Return-Path: <gcc-bugs-return-633688-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81019 invoked by alias); 13 Feb 2019 21:59: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 80462 invoked by uid 48); 13 Feb 2019 21:59:44 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89343] Some MMX instructions aren't properly marked
Date: Wed, 13 Feb 2019 21:59: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak at gmail dot com
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-89343-4-g1KXLauFsm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89343-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89343-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: 2019-02/txt/msg01990.txt.bz2
Content-length: 603

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89343

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
There is nothing wrong with MMX alternatives in SSE patterns. MMX registers can
carry V2SI/V2SF values as well, and these alternatives will be correctly
disabled with -mno-mmx.
>From gcc-bugs-return-633687-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 21:59:46 2019
Return-Path: <gcc-bugs-return-633687-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80481 invoked by alias); 13 Feb 2019 21:59: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 80363 invoked by uid 48); 13 Feb 2019 21:59:40 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89344] uncaught programmer error:  polymorphic variable is INTENT(IN) but assigned to without error
Date: Wed, 13 Feb 2019 21:59: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.3.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority cc
Message-ID: <bug-89344-4-WJeJN6enUY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89344-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89344-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: 2019-02/txt/msg01989.txt.bz2
Content-length: 862

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89344

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
                 CC|                            |kargl at gcc dot gnu.org

--- Comment #2 from kargl at gcc dot gnu.org ---
My version of gfortran gives

% gfcx -c a.f90
a.f90:8:35:

    8 |        type is (integer);          value=10
      |                                   1
Error: Dummy argument 'value' with INTENT(IN) in variable definition context
(assignment) at (1)
a.f90:9:35:

    9 |        type is (real);             value=10.20
      |                                   1
Error: Dummy argument 'value' with INTENT(IN) in variable definition context
(assignment) at (1)
>From gcc-bugs-return-633689-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 22:03:09 2019
Return-Path: <gcc-bugs-return-633689-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84579 invoked by alias); 13 Feb 2019 22:03: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 84504 invoked by uid 48); 13 Feb 2019 22:03:04 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89344] uncaught programmer error:  polymorphic variable is INTENT(IN) but assigned to without error
Date: Wed, 13 Feb 2019 22:03: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.3.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89344-4-g7eiQgMAy9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89344-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89344-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: 2019-02/txt/msg01991.txt.bz2
Content-length: 370

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89344

--- Comment #3 from kargl at gcc dot gnu.org ---
Created attachment 45708
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45708&action=edit
Patch that detects and issues an error.

Patch that detects and issues an error.  Trunk is in stage 4, so the patch will
likely get committed after 9.1 is released.
>From gcc-bugs-return-633690-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 22:13:02 2019
Return-Path: <gcc-bugs-return-633690-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81344 invoked by alias); 13 Feb 2019 22:13: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 81201 invoked by uid 48); 13 Feb 2019 22:12:57 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89300] C++ requires statement does not fail silently for const void *
Date: Wed, 13 Feb 2019 22:13: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.1
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89300-4-5a9Zo5ZLgh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89300-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89300-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: 2019-02/txt/msg01992.txt.bz2
Content-length: 511

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89300

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
It certainly does, thanks.

*** This bug has been marked as a duplicate of bug 78173 ***
>From gcc-bugs-return-633693-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 22:13:34 2019
Return-Path: <gcc-bugs-return-633693-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83852 invoked by alias); 13 Feb 2019 22:13: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 83754 invoked by uid 48); 13 Feb 2019 22:13:29 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/78173] Hard error subtracting pointers to incomplete type in SFINAE context
Date: Wed, 13 Feb 2019 22:13: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.0
X-Bugzilla-Keywords: rejects-valid
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-78173-4-05uXBpwhg0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78173-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78173-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: 2019-02/txt/msg01995.txt.bz2
Content-length: 402

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78173

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-13
     Ever confirmed|0                           |1
>From gcc-bugs-return-633691-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 22:13:02 2019
Return-Path: <gcc-bugs-return-633691-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81347 invoked by alias); 13 Feb 2019 22:13: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 81224 invoked by uid 48); 13 Feb 2019 22:12:58 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/78173] Hard error subtracting pointers to incomplete type in SFINAE context
Date: Wed, 13 Feb 2019 22:13: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.0
X-Bugzilla-Keywords: rejects-valid
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: cc
Message-ID: <bug-78173-4-UCpjOSxpyu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78173-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78173-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: 2019-02/txt/msg01993.txt.bz2
Content-length: 452

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78173

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |svenja.mehringer at gmail dot com

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
*** Bug 89300 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-633692-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 22:13:03 2019
Return-Path: <gcc-bugs-return-633692-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81565 invoked by alias); 13 Feb 2019 22:13: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 81263 invoked by uid 48); 13 Feb 2019 22:12:58 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/67491] [meta-bug] concepts issues
Date: Wed, 13 Feb 2019 22:13:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords: meta-bug
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 resolution
Message-ID: <bug-67491-4-yA97qrGIf1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67491-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67491-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: 2019-02/txt/msg01994.txt.bz2
Content-length: 494

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491
Bug 67491 depends on bug 89300, which changed state.

Bug 89300 Summary: C++ requires statement does not fail silently for const void *
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89300

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE
>From gcc-bugs-return-633694-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 22:14:15 2019
Return-Path: <gcc-bugs-return-633694-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87602 invoked by alias); 13 Feb 2019 22:14: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 86967 invoked by uid 48); 13 Feb 2019 22:14:07 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89345] gcc9 <new> uses constexpr token, can you change to _GLIBCXX_CONSTEXPR ?
Date: Wed, 13 Feb 2019 22:14:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-89345-4-nEHdvAubgF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89345-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89345-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: 2019-02/txt/msg01996.txt.bz2
Content-length: 423

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89345

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Done
>From gcc-bugs-return-633695-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 22:14:35 2019
Return-Path: <gcc-bugs-return-633695-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88822 invoked by alias); 13 Feb 2019 22:14: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 88693 invoked by uid 55); 13 Feb 2019 22:14:29 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89345] gcc9 <new> uses constexpr token, can you change to _GLIBCXX_CONSTEXPR ?
Date: Wed, 13 Feb 2019 22:14:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-89345-4-RnxPnith8i@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89345-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89345-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: 2019-02/txt/msg01997.txt.bz2
Content-length: 1662

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89345

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Wed Feb 13 22:13:45 2019
New Revision: 268856

URL: https://gcc.gnu.org/viewcvs?rev=268856&root=gcc&view=rev
Log:
PR libstdc++/89345 Only define std::destroying_delete for C++2a

Clang defines the __cpp_impl_destroying_delete macro unconditionally, so
that the feature is supported whenever the library type is defined. This
is incompatible with the current definition in libstdc++ because we use
constexpr and inline variables, which will give an error for older -std
modes.

This patch defines the destroying_delete_t type and destroying_delete
variable independently of the __cpp_impl_destroying_delete macro, but
only for C++2a (because the names aren't reserved for previous
standards). The __cpp_lib_destroying_delete macro is only defined when
both the library type and compiler macro are defined (i.e. when the type
can actually be used as intended).

        PR libstdc++/89345
        * include/std/version [__cpp_impl_destroying_delete]
        (__cpp_lib_destroying_delete): Only define for C++2a and later.
        * libsupc++/new [__cpp_impl_destroying_delete]
        (__cpp_lib_destroying_delete): Likewise.
        (destroying_delete_t, destroying_delete): Likewise, but define even
        when __cpp_impl_destroying_delete is not defined.
        * testsuite/18_support/destroying_delete.cc: New test.

Added:
    trunk/libstdc++-v3/testsuite/18_support/destroying_delete.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/std/version
    trunk/libstdc++-v3/libsupc++/new
>From gcc-bugs-return-633696-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 22:21:47 2019
Return-Path: <gcc-bugs-return-633696-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9266 invoked by alias); 13 Feb 2019 22:21: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 9208 invoked by uid 48); 13 Feb 2019 22:21:43 -0000
From: "mib.bugzilla at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89345] gcc9 <new> uses constexpr token, can you change to _GLIBCXX_CONSTEXPR ?
Date: Wed, 13 Feb 2019 22:21:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mib.bugzilla at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-89345-4-0c8giTESK6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89345-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89345-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: 2019-02/txt/msg01998.txt.bz2
Content-length: 119

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89345

--- Comment #4 from mib.bugzilla at gmail dot com ---
thank you!
>From gcc-bugs-return-633697-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 22:29:00 2019
Return-Path: <gcc-bugs-return-633697-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58723 invoked by alias); 13 Feb 2019 22:29: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 58644 invoked by uid 48); 13 Feb 2019 22:28:56 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89346] New: Unnecessary EVEX encoding
Date: Wed, 13 Feb 2019 22:29: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:
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-89346-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: 2019-02/txt/msg01999.txt.bz2
Content-length: 1289

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89346

            Bug ID: 89346
           Summary: Unnecessary EVEX encoding
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: ubizjak at gmail dot com
  Target Milestone: ---
            Target: i386,x86-64

[hjl@gnu-skx-1 gcc]$ cat x.c
#include <immintrin.h>

long long *p;
volatile __m256i yy;

void
foo (void)
{
   _mm256_store_epi64 (p, yy);
}
[hjl@gnu-skx-1 gcc]$ gcc -S -O2 x.c -march=skylake-avx512
[hjl@gnu-skx-1 gcc]$ cat x.s
        .file   "x.c"
        .text
        .p2align 4,,15
        .globl  foo
        .type   foo, @function
foo:
.LFB5168:
        .cfi_startproc
        vmovdqa64       yy(%rip), %ymm0   <<< No need for EVEX.
        movq    p(%rip), %rax
        vmovdqa64       %ymm0, (%rax)     <<< No need for EVEX.
        vzeroupper
        ret
        .cfi_endproc
.LFE5168:
        .size   foo, .-foo
        .comm   yy,32,32
        .comm   p,8,8
        .ident  "GCC: (GNU) 8.2.1 20190209 (Red Hat 8.2.1-8)"
        .section        .note.GNU-stack,"",@progbits
[hjl@gnu-skx-1 gcc]$
>From gcc-bugs-return-633698-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 22:41:32 2019
Return-Path: <gcc-bugs-return-633698-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93763 invoked by alias); 13 Feb 2019 22:41: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 93698 invoked by uid 48); 13 Feb 2019 22:41:27 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88248] [F18] Bogus warning about obsolescent feature: Labeled DO statement
Date: Wed, 13 Feb 2019 22:41: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gmx dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88248-4-CGaI2bdzEL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88248-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88248-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: 2019-02/txt/msg02000.txt.bz2
Content-length: 186

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88248

--- Comment #7 from Harald Anlauf <anlauf at gmx dot de> ---
Patch submitted:

https://gcc.gnu.org/ml/fortran/2019-02/msg00112.html
>From gcc-bugs-return-633699-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 22:46:16 2019
Return-Path: <gcc-bugs-return-633699-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119718 invoked by alias); 13 Feb 2019 22:46: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 119581 invoked by uid 48); 13 Feb 2019 22:46:01 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89271] gcc.target/powerpc/vsx-simode2.c stopped working in GCC 9
Date: Wed, 13 Feb 2019 22: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: ra
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-89271-4-jj710ScqoO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89271-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89271-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: 2019-02/txt/msg02001.txt.bz2
Content-length: 1491

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89271

--- Comment #2 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Thanks for the analysis!

(In reply to Vladimir Makarov from comment #1)
> The very first ira-costs pass runs in sched1 and it generates the following
> costs
>   r125 costs: BASE_REGS:10000 GENERAL_REGS:10000 LINK_REGS:20000
> CTR_REGS:20000 LINK_OR_CTR_REGS:20000 SPEC_OR_GEN_REGS:20000 MEM:8000

> Why does IRA calculate such costs?  We have 2 insns involving p125
>    15: r125:DI=%3:DI
>              REG_DEAD %3:DI
>     7: {r123:SI=asm_operands/*r125 with constraint 'v'*/;clobber ca:SI;}
> 
> Cost of moving r3 into p125 is 2 for base regs and 4 for memory
> Cost of moving p125 into a v reg is 8 for base regs and 4 for memory

Ah, so we we need to improve that.

This is power8, where mtvsr insns are still a bit expensive, but not more
expensive than memory.

> Therefore cost of p125 is 10 for base reg and 8 for memory (multiplied by BB
> frequency 10000).
> 
> Therefore IRA chooses memory for p125.
> 
> In this particular case insn 15 can go away when we assign r3 to p125.  It
> means the cost for base reg could be 8 as for memory but IRA can not say in
> general case that it can assign r3 to p125.
> 
> I think increasing memory move cost at least to 5 could solve the problem. 
> But probably it needs benchmarking SPEC, besides running GCC testsuite, to
> see that the performance is not worse after such change.

Agreed.
>From gcc-bugs-return-633700-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 13 23:23:36 2019
Return-Path: <gcc-bugs-return-633700-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99344 invoked by alias); 13 Feb 2019 23:23: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 99261 invoked by uid 48); 13 Feb 2019 23:23:32 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89344] uncaught programmer error:  polymorphic variable is INTENT(IN) but assigned to without error
Date: Wed, 13 Feb 2019 23:23: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.3.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: kargl 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-89344-4-nB7bAXeaQQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89344-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89344-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: 2019-02/txt/msg02002.txt.bz2
Content-length: 530

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89344

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-13
     Ever confirmed|0                           |1

--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed from at least 4.8 up to trunk (9.0).
>From gcc-bugs-return-633701-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 00:10:55 2019
Return-Path: <gcc-bugs-return-633701-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81093 invoked by alias); 14 Feb 2019 00:10:55 -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 80966 invoked by uid 48); 14 Feb 2019 00:10:50 -0000
From: "sean.wang at wdc dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89321] cross build with riscv64 gccgo compilation failed due to assert in constructor_expression
Date: Thu, 14 Feb 2019 00:10: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: sean.wang at wdc dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89321-4-zVxmwKLmif@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89321-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89321-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: 2019-02/txt/msg02003.txt.bz2
Content-length: 303

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89321

--- Comment #5 from sean.wang at wdc dot com ---
Created attachment 45709
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45709&action=edit
code sample for reproducing reported error

code sample for reproducing reported error is attached.
>From gcc-bugs-return-633702-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 00:53:06 2019
Return-Path: <gcc-bugs-return-633702-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37063 invoked by alias); 14 Feb 2019 00:53: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 36934 invoked by uid 48); 14 Feb 2019 00:52:59 -0000
From: "rafael at espindo dot la" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89337] Bogus "exceeds maximum object size" on unreachable code
Date: Thu, 14 Feb 2019 00:53: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: 9.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rafael at espindo dot la
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: attachments.isobsolete attachments.created
Message-ID: <bug-89337-4-nhioKSq9iR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89337-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89337-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: 2019-02/txt/msg02004.txt.bz2
Content-length: 599

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89337

Rafael Avila de Espindola <rafael at espindo dot la> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45704|0                           |1
        is obsolete|                            |

--- Comment #4 from Rafael Avila de Espindola <rafael at espindo dot la> ---
Created attachment 45710
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45710&action=edit
testcase where the string size should still be visible to the compiler
>From gcc-bugs-return-633704-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 00:53:51 2019
Return-Path: <gcc-bugs-return-633704-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43381 invoked by alias); 14 Feb 2019 00:53: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 43278 invoked by uid 48); 14 Feb 2019 00:53:46 -0000
From: "rafael at espindo dot la" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88443] [meta-bug] bogus/missing -Wstringop-overflow warnings
Date: Thu, 14 Feb 2019 00:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rafael at espindo dot la
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 resolution
Message-ID: <bug-88443-4-JAZMopfGpy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88443-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88443-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: 2019-02/txt/msg02006.txt.bz2
Content-length: 482

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443
Bug 88443 depends on bug 89337, which changed state.

Bug 89337 Summary: Bogus "exceeds maximum object size" on unreachable code
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89337

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |---
>From gcc-bugs-return-633703-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 00:53:51 2019
Return-Path: <gcc-bugs-return-633703-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43376 invoked by alias); 14 Feb 2019 00:53: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 43263 invoked by uid 48); 14 Feb 2019 00:53:46 -0000
From: "rafael at espindo dot la" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89337] Bogus "exceeds maximum object size" on unreachable code
Date: Thu, 14 Feb 2019 00:53: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: 9.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rafael at espindo dot la
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_status resolution
Message-ID: <bug-89337-4-rWV1VHExef@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89337-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89337-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: 2019-02/txt/msg02005.txt.bz2
Content-length: 478

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89337

Rafael Avila de Espindola <rafael at espindo dot la> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |---

--- Comment #5 from Rafael Avila de Espindola <rafael at espindo dot la> ---
Reopening with an expanded testcase.
>From gcc-bugs-return-633705-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 01:44:22 2019
Return-Path: <gcc-bugs-return-633705-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6965 invoked by alias); 14 Feb 2019 01:44: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 2050 invoked by uid 48); 14 Feb 2019 01:44:17 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89244] __builtin_is_constant_evaluated not documented
Date: Thu, 14 Feb 2019 01:44: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: documentation, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords
Message-ID: <bug-89244-4-CEasZfIer9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89244-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89244-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: 2019-02/txt/msg02007.txt.bz2
Content-length: 422

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89244

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch

--- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> ---
Patch: https://gcc.gnu.org/ml/gcc-patches/2019-02/msg01000.html
>From gcc-bugs-return-633707-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 01:56:58 2019
Return-Path: <gcc-bugs-return-633707-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71151 invoked by alias); 14 Feb 2019 01:56: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 71039 invoked by uid 48); 14 Feb 2019 01:56:47 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89271] gcc.target/powerpc/vsx-simode2.c stopped working in GCC 9
Date: Thu, 14 Feb 2019 01:56: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: ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amodra at gmail dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: amodra at gmail dot com
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc assigned_to everconfirmed
Message-ID: <bug-89271-4-026zjpckwJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89271-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89271-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: 2019-02/txt/msg02009.txt.bz2
Content-length: 557

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89271

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-14
                 CC|                            |amodra at gmail dot com
           Assignee|unassigned at gcc dot gnu.org      |amodra at gmail dot com
     Ever confirmed|0                           |1
>From gcc-bugs-return-633706-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 01:56:33 2019
Return-Path: <gcc-bugs-return-633706-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69920 invoked by alias); 14 Feb 2019 01:56: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 69802 invoked by uid 48); 14 Feb 2019 01:56:20 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89271] gcc.target/powerpc/vsx-simode2.c stopped working in GCC 9
Date: Thu, 14 Feb 2019 01:56: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: ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amodra 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-89271-4-VsXOCU0RBe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89271-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89271-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: 2019-02/txt/msg02008.txt.bz2
Content-length: 184

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89271

--- Comment #3 from Alan Modra <amodra at gmail dot com> ---
I believe this is a bug in rs6000_register_move_cost. Testing a fix.
>From gcc-bugs-return-633708-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 01:59:18 2019
Return-Path: <gcc-bugs-return-633708-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88352 invoked by alias); 14 Feb 2019 01:59: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 88228 invoked by uid 48); 14 Feb 2019 01:59:13 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/87532] bad results from vec_extract(unsigned char, foo) dependent upon function inline
Date: Thu, 14 Feb 2019 01:59: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:
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: kelvin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87532-4-ni9MMv8NSI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87532-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87532-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: 2019-02/txt/msg02010.txt.bz2
Content-length: 428

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87532

--- Comment #15 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
I kindasorta thought that's what I want. ;-)  But now that I understand what
you're saying, I believe I agree with you that this is probably a problem in
our gimple folding.  I am going to shut up now and stay out of your way, as I
believe you have a much better grasp on this than I do at the moment...
>From gcc-bugs-return-633710-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 03:52:13 2019
Return-Path: <gcc-bugs-return-633710-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103513 invoked by alias); 14 Feb 2019 03:52: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 103179 invoked by uid 48); 14 Feb 2019 03:52:08 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/86153] [8 regression] test case g++.dg/pr83239.C fails starting with r261585
Date: Thu, 14 Feb 2019 03:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-86153-4-T1F4kILPFb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86153-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86153-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: 2019-02/txt/msg02012.txt.bz2
Content-length: 440

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86153

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rafael at espindo dot la

--- Comment #15 from Martin Sebor <msebor at gcc dot gnu.org> ---
*** Bug 89337 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-633711-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 03:52:14 2019
Return-Path: <gcc-bugs-return-633711-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103664 invoked by alias); 14 Feb 2019 03:52: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 103220 invoked by uid 48); 14 Feb 2019 03:52:09 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88443] [meta-bug] bogus/missing -Wstringop-overflow warnings
Date: Thu, 14 Feb 2019 03:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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 resolution
Message-ID: <bug-88443-4-XOJjnin3Zx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88443-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88443-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: 2019-02/txt/msg02013.txt.bz2
Content-length: 485

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443
Bug 88443 depends on bug 89337, which changed state.

Bug 89337 Summary: Bogus "exceeds maximum object size" on unreachable code
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89337

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE
>From gcc-bugs-return-633709-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 03:52:11 2019
Return-Path: <gcc-bugs-return-633709-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103246 invoked by alias); 14 Feb 2019 03: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 103076 invoked by uid 48); 14 Feb 2019 03:52:05 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89337] Bogus "exceeds maximum object size" on unreachable code
Date: Thu, 14 Feb 2019 03:52: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: 9.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89337-4-n9GU8PWOJM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89337-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89337-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: 2019-02/txt/msg02011.txt.bz2
Content-length: 986

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89337

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #6 from Martin Sebor <msebor at gcc dot gnu.org> ---
Thank you for the updated test case.  The original looked similar to bug 86153
to me at first but then I decided it was different.  The new test case is very
close to the one in that bug, and is not diagnosed with the top of trunk
anymore thanks to the fix in r267252.  I think it's safe to resolve this as a
duplicate of that bug.  Let me add your test case to the test suite.  (If the
warning persists in your code even with the latest GCC 9.0 please reopen the
bug with an updated test case.)

*** This bug has been marked as a duplicate of bug 86153 ***
>From gcc-bugs-return-633712-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 04:37:44 2019
Return-Path: <gcc-bugs-return-633712-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29494 invoked by alias); 14 Feb 2019 04:37:44 -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 29408 invoked by uid 48); 14 Feb 2019 04:37:40 -0000
From: "maninder1.s at samsung dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89347] New: gc-sections doesn't remove unused bss  section variables.
Date: Thu, 14 Feb 2019 04:37: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: maninder1.s at samsung 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-89347-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: 2019-02/txt/msg02014.txt.bz2
Content-length: 946

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89347

            Bug ID: 89347
           Summary: gc-sections doesn't remove unused bss  section
                    variables.
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: maninder1.s at samsung dot com
  Target Milestone: ---

code snippet:-

int init_bss_unused[10] = {0}; // explicilty initialised with 0
int init_bss_used[10] = {0}; //  explicilty initialised with 0
int uninit_bss_unused[10];
int uninit_bss_used[10];

int main()
{
        uninit_bss_used[5] = 6;
        init_bss_used[5]  = 7;
        return 0;
}

$gcc -fdata-sections -ffunction-sections -Wl,--gc-sections bss.c
$nm -a | grep _bss_
00020714 B init_bss_used      // removed init_bss_unused.
00020764 B uninit_bss_unused  // not removed.
>From gcc-bugs-return-633713-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 04:42:02 2019
Return-Path: <gcc-bugs-return-633713-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34601 invoked by alias); 14 Feb 2019 04:42: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 34509 invoked by uid 48); 14 Feb 2019 04:41:55 -0000
From: "maninder1.s at samsung dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89347] gc-sections doesn't remove unused bss  section variables.
Date: Thu, 14 Feb 2019 04: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: maninder1.s at samsung 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: cc
Message-ID: <bug-89347-4-mH5GcOjIxi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89347-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89347-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: 2019-02/txt/msg02015.txt.bz2
Content-length: 1495

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89347

Maninder Singh <maninder1.s at samsung dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maninder1.s at samsung dot com

--- Comment #1 from Maninder Singh <maninder1.s at samsung dot com> ---
Fixing [#89347] gc-sections doesn't remove unused bss section variables.

gc-section works well only for bss section if global variables initialised
with 0 explicitly and not with uninitalised one.
Reason is -fdata-sections does not make separate section for bss symbols
which are not initialised with 0 explicitly.
due to which gc-section does not remove bss symbols which are not
getting used in binary.

Signed-off-by: Vaneet Narang <v.narang@samsung.com>
Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
---
 gcc/varasm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/varasm.c b/gcc/varasm.c
index 0be44f1..1f68c3a 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -1164,7 +1164,7 @@ get_variable_section (tree decl, bool prefer_noswitch_p)
                  && ADDR_SPACE_GENERIC_P (as));
       if (DECL_THREAD_LOCAL_P (decl))
        return tls_comm_section;
-      else if (TREE_PUBLIC (decl) && bss_initializer_p (decl))
+      else if (TREE_PUBLIC (decl) && bss_initializer_p (decl) &&
!flag_data_sections)
        return comm_section;
     }

--
1.9.1
>From gcc-bugs-return-633714-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 05:18:41 2019
Return-Path: <gcc-bugs-return-633714-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35616 invoked by alias); 14 Feb 2019 05:18: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 35498 invoked by uid 48); 14 Feb 2019 05:18:35 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/89347] gc-sections doesn't remove unused bss  section variables.
Date: Thu, 14 Feb 2019 05:18:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
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: pinskia 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: bug_status component resolution
Message-ID: <bug-89347-4-LR54Fa2s63@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89347-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89347-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: 2019-02/txt/msg02016.txt.bz2
Content-length: 1927

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89347

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|c                           |other
         Resolution|---                         |INVALID

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
You need -fno-common instead:
https://gcc.gnu.org/onlinedocs/gcc-8.2.0/gcc/Code-Gen-Options.html#index-fno-common

-fno-common
In C code, this option controls the placement of global variables defined
without an initializer, known as tentative definitions in the C standard.
Tentative definitions are distinct from declarations of a variable with the
extern keyword, which do not allocate storage.

Unix C compilers have traditionally allocated storage for uninitialized global
variables in a common block. This allows the linker to resolve all tentative
definitions of the same variable in different compilation units to the same
object, or to a non-tentative definition. This is the behavior specified by
-fcommon, and is the default for GCC on most targets. On the other hand, this
behavior is not required by ISO C, and on some targets may carry a speed or
code size penalty on variable references.

The -fno-common option specifies that the compiler should instead place
uninitialized global variables in the data section of the object file. This
inhibits the merging of tentative definitions by the linker so you get a
multiple-definition error if the same variable is defined in more than one
compilation unit. Compiling with -fno-common is useful on targets for which it
provides better performance, or if you wish to verify that the program will
work on other systems that always treat uninitialized variable definitions this
way.
>From gcc-bugs-return-633715-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 05:47:59 2019
Return-Path: <gcc-bugs-return-633715-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69727 invoked by alias); 14 Feb 2019 05:47: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 65494 invoked by uid 48); 14 Feb 2019 05:47:54 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89321] cross build with riscv64 gccgo compilation failed due to assert in constructor_expression
Date: Thu, 14 Feb 2019 05:47: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: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89321-4-8OTgK81grR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89321-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89321-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: 2019-02/txt/msg02017.txt.bz2
Content-length: 259

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89321

--- Comment #6 from Ian Lance Taylor <ian at airs dot com> ---
Thanks very much for reducing the test case.

I sent out the fix for review at https://golang.org/cl/162618.  It should be
committed shortly.
>From gcc-bugs-return-633716-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 07:31:53 2019
Return-Path: <gcc-bugs-return-633716-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17017 invoked by alias); 14 Feb 2019 07:31:52 -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 16842 invoked by uid 55); 14 Feb 2019 07:31:46 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89284] gcc -fsanitize=undefined inhibits -Wuninitialized
Date: Thu, 14 Feb 2019 07:31: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: unknown
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89284-4-PxedLYMKNA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89284-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89284-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: 2019-02/txt/msg02018.txt.bz2
Content-length: 553

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89284

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb 14 07:31:14 2019
New Revision: 268862

URL: https://gcc.gnu.org/viewcvs?rev=268862&root=gcc&view=rev
Log:
        PR middle-end/89284
        * passes.def: Swap pass_ubsan and pass_early_warn_uninitialized.

        * gcc.dg/ubsan/pr89284.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/ubsan/pr89284.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/passes.def
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633717-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 07:39:30 2019
Return-Path: <gcc-bugs-return-633717-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25667 invoked by alias); 14 Feb 2019 07:39: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 25613 invoked by uid 55); 14 Feb 2019 07:39:26 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89246] LTO produces references to cloned symbols which the compiler failed to clone
Date: Thu, 14 Feb 2019 07:39: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: 9.0
X-Bugzilla-Keywords: link-failure, lto, openmp
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89246-4-TDL9TRFkz8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89246-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89246-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: 2019-02/txt/msg02019.txt.bz2
Content-length: 942

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89246

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb 14 07:38:52 2019
New Revision: 268863

URL: https://gcc.gnu.org/viewcvs?rev=268863&root=gcc&view=rev
Log:
        Backported from mainline
        2019-02-09  Jakub Jelinek  <jakub@redhat.com>

        PR middle-end/89246
        * config/i386/i386.c (ix86_simd_clone_compute_vecsize_and_simdlen):
        If !node->definition and TYPE_ARG_TYPES is non-NULL, use
        TYPE_ARG_TYPES instead of DECL_ARGUMENTS.

        * gcc.dg/gomp/pr89246-1.c: New test.
        * gcc.dg/gomp/pr89246-2.c: New test.

Added:
    branches/gcc-8-branch/gcc/testsuite/gcc.dg/gomp/pr89246-1.c
    branches/gcc-8-branch/gcc/testsuite/gcc.dg/gomp/pr89246-2.c
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/config/i386/i386.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633718-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 07:40:23 2019
Return-Path: <gcc-bugs-return-633718-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27285 invoked by alias); 14 Feb 2019 07: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 27189 invoked by uid 55); 14 Feb 2019 07:40:18 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89290] [8 Regression] ICE in change_address_1, at emit-rtl.c:2286
Date: Thu, 14 Feb 2019 07:40: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: jakub 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: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89290-4-oJSxjeT5uc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89290-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89290-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: 2019-02/txt/msg02020.txt.bz2
Content-length: 812

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89290

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb 14 07:39:46 2019
New Revision: 268864

URL: https://gcc.gnu.org/viewcvs?rev=268864&root=gcc&view=rev
Log:
        Backported from mainline
        2019-02-13  Jakub Jelinek  <jakub@redhat.com>

        PR target/89290
        * config/i386/predicates.md (x86_64_immediate_operand): Allow
        TLS UNSPECs offsetted by signed 32-bit CONST_INT even with
        -mcmodel=large.

        * gcc.target/i386/pr89290.c: New test.

Added:
    branches/gcc-8-branch/gcc/testsuite/gcc.target/i386/pr89290.c
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/config/i386/predicates.md
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633719-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 07:41:09 2019
Return-Path: <gcc-bugs-return-633719-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28840 invoked by alias); 14 Feb 2019 07:41: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 28727 invoked by uid 55); 14 Feb 2019 07:41:05 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89281] [9 Regression] gcc/optabs.c:3901:30: runtime error: shift exponent 32 is too large for 32-bit type 'int'
Date: Thu, 14 Feb 2019 07:41: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89281-4-btADEo7LWq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89281-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89281-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: 2019-02/txt/msg02021.txt.bz2
Content-length: 627

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89281

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb 14 07:40:33 2019
New Revision: 268865

URL: https://gcc.gnu.org/viewcvs?rev=268865&root=gcc&view=rev
Log:
        Backported from mainline
        2019-02-13  Jakub Jelinek  <jakub@redhat.com>

        PR middle-end/89281
        * optabs.c (prepare_cmp_insn): Use UINTVAL (size) instead of
        INTVAL (size), compare it to GET_MODE_MASK instead of
        1 << GET_MODE_BITSIZE.

Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/optabs.c
>From gcc-bugs-return-633721-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 07:42:34 2019
Return-Path: <gcc-bugs-return-633721-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31680 invoked by alias); 14 Feb 2019 07:42: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 31285 invoked by uid 48); 14 Feb 2019 07:42:30 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89290] [8 Regression] ICE in change_address_1, at emit-rtl.c:2286
Date: Thu, 14 Feb 2019 07:42: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89290-4-eNdIzw0yo1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89290-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89290-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: 2019-02/txt/msg02023.txt.bz2
Content-length: 424

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89290

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-633720-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 07:42:31 2019
Return-Path: <gcc-bugs-return-633720-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31311 invoked by alias); 14 Feb 2019 07:42: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 31184 invoked by uid 55); 14 Feb 2019 07:42:27 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89303] [7/8 Regression] memory leak with shared_ptr and enable_shared_from_this
Date: Thu, 14 Feb 2019 07:42: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: 8.2.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89303-4-PjtdZAEe3E@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg02022.txt.bz2
Content-length: 975

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89303

--- Comment #26 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb 14 07:41:51 2019
New Revision: 268866

URL: https://gcc.gnu.org/viewcvs?rev=268866&root=gcc&view=rev
Log:
        Backported from mainline
        2019-02-13  Jakub Jelinek  <jakub@redhat.com>

        PR middle-end/89303
        * tree-ssa-structalias.c (set_uids_in_ptset): Or in vi->is_heap_var
        into pt->vars_contains_escaped_heap instead of setting
        pt->vars_contains_escaped_heap to it.

        2019-02-13  Jonathan Wakely  <jwakely@redhat.com>
                    Jakub Jelinek  <jakub@redhat.com>

        PR middle-end/89303
        * g++.dg/torture/pr89303.C: New test.

Added:
    branches/gcc-8-branch/gcc/testsuite/g++.dg/torture/pr89303.C
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
    branches/gcc-8-branch/gcc/tree-ssa-structalias.c
>From gcc-bugs-return-633722-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 07:43:12 2019
Return-Path: <gcc-bugs-return-633722-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33305 invoked by alias); 14 Feb 2019 07:43: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 33248 invoked by uid 48); 14 Feb 2019 07:43:08 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89303] [7 Regression] memory leak with shared_ptr and enable_shared_from_this
Date: Thu, 14 Feb 2019 07:43: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: 8.2.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone short_desc
Message-ID: <bug-89303-4-nUOj6SdlID@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg02024.txt.bz2
Content-length: 599

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89303

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |7.5
            Summary|[7/8 Regression] memory     |[7 Regression] memory leak
                   |leak with shared_ptr and    |with shared_ptr and
                   |enable_shared_from_this     |enable_shared_from_this

--- Comment #27 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed for 8.3+ as well.
>From gcc-bugs-return-633723-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 08:39:09 2019
Return-Path: <gcc-bugs-return-633723-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95198 invoked by alias); 14 Feb 2019 08:39: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 95078 invoked by uid 48); 14 Feb 2019 08:39:01 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89340] ICE in function_and_variable_visibility, at ipa-visibility.c:707
Date: Thu, 14 Feb 2019 08:39: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-invalid-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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-89340-4-f0RQGtMpZ5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89340-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89340-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: 2019-02/txt/msg02025.txt.bz2
Content-length: 1375

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89340

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-14
                 CC|                            |jsm28 at gcc dot gnu.org,
                   |                            |marxin at gcc dot gnu.org,
                   |                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, FE should reject that similarly to:

$ of ‘bar’ was here
 void bar () { }
      ^~~
marxin@marxinbox:~/Programming/testcases> cat pr89340.c
__attribute__((weak))
void bar () { }
bar();

$ gcc pr89340.c
pr89340.c:3:1: warning: data definition has no type or storage class
 bar();
 ^~~
pr89340.c:3:1: warning: type defaults to ‘int’ in declaration of ‘bar’
[-Wimplicit-int]
pr89340.c:3:1: error: conflicting types for ‘bar’
pr89340.c:2:6: note: previous definition of ‘bar’ was here
 void bar () { }
      ^~~
>From gcc-bugs-return-633724-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 08:42:12 2019
Return-Path: <gcc-bugs-return-633724-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110218 invoked by alias); 14 Feb 2019 08:42: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 110140 invoked by uid 48); 14 Feb 2019 08:42:07 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89341] ICE in get, at cgraph.h:1332
Date: Thu, 14 Feb 2019 08: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-invalid-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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-89341-4-juuzXVGSH0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89341-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89341-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: 2019-02/txt/msg02026.txt.bz2
Content-length: 1109

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89341

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-14
                 CC|                            |jsm28 at gcc dot gnu.org,
                   |                            |marxin at gcc dot gnu.org,
                   |                            |mpolacek at gcc dot gnu.org,
                   |                            |msebor at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
It's invalid code as definition can't be an alias at the same time.
Clang provides nice diagnostics here:

$ clang pr89341.c
pr89341.c:1:16: error: definition 'foo' cannot also be an alias
__attribute__((weakref("bar")))
               ^
1 error generated.
>From gcc-bugs-return-633725-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 09:25:44 2019
Return-Path: <gcc-bugs-return-633725-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79365 invoked by alias); 14 Feb 2019 09:25:44 -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 79195 invoked by uid 55); 14 Feb 2019 09:25:36 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89314] [7/8/9 Regression] ICE in wide_int_to_tree_1, at tree.c:1561
Date: Thu, 14 Feb 2019 09:25: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: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89314-4-fdStkcyTbP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89314-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89314-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: 2019-02/txt/msg02027.txt.bz2
Content-length: 608

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89314

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb 14 09:25:01 2019
New Revision: 268868

URL: https://gcc.gnu.org/viewcvs?rev=268868&root=gcc&view=rev
Log:
        PR tree-optimization/89314
        * fold-const.c (fold_binary_loc): Cast strlen argument to
        const char * before dereferencing it.  Formatting fixes.

        * gcc.dg/pr89314.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr89314.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633726-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 09:32:06 2019
Return-Path: <gcc-bugs-return-633726-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99307 invoked by alias); 14 Feb 2019 09:32:04 -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 98822 invoked by uid 48); 14 Feb 2019 09:32:00 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/83698] bogus offset in -Wrestrict messages for strcat of unknown strings
Date: Thu, 14 Feb 2019 09: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: 8.0
X-Bugzilla-Keywords: diagnostic, patch
X-Bugzilla-Severity: normal
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-83698-4-xhfop9YWru@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83698-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83698-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: 2019-02/txt/msg02028.txt.bz2
Content-length: 460

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83698

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Markus Trippelsdorf from comment #0)

Hey, Markus is back!
>From gcc-bugs-return-633727-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 09:40:40 2019
Return-Path: <gcc-bugs-return-633727-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130732 invoked by alias); 14 Feb 2019 09:40: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 130602 invoked by uid 55); 14 Feb 2019 09:40:36 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89303] [7 Regression] memory leak with shared_ptr and enable_shared_from_this
Date: Thu, 14 Feb 2019 09:40: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: 8.2.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89303-4-i2e8d2kpFN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg02029.txt.bz2
Content-length: 524

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89303

--- Comment #28 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Thu Feb 14 09:40:02 2019
New Revision: 268869

URL: https://gcc.gnu.org/viewcvs?rev=268869&root=gcc&view=rev
Log:
PR middle-end/89303 add testcase for std::enable_shared_from_this

        * testsuite/20_util/enable_shared_from_this/89303.cc: New test.

Added:
    trunk/libstdc++-v3/testsuite/20_util/enable_shared_from_this/89303.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
>From gcc-bugs-return-633728-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 09:43:30 2019
Return-Path: <gcc-bugs-return-633728-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9640 invoked by alias); 14 Feb 2019 09:43: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 9562 invoked by uid 48); 14 Feb 2019 09:43:26 -0000
From: "mark.eggleston at codethink dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89103] Allow blank format items in format strings
Date: Thu, 14 Feb 2019 09:43: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: deferred
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mark.eggleston at codethink dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created
Message-ID: <bug-89103-4-TJHRwEaF3u@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89103-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89103-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: 2019-02/txt/msg02030.txt.bz2
Content-length: 590

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89103

MarkEggleston <mark.eggleston at codethink dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45554|0                           |1
        is obsolete|                            |

--- Comment #7 from MarkEggleston <mark.eggleston at codethink dot com> ---
Created attachment 45711
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45711&action=edit
Patch to allow blank item in format

Add documentation changes.
>From gcc-bugs-return-633729-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 09:45:53 2019
Return-Path: <gcc-bugs-return-633729-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17577 invoked by alias); 14 Feb 2019 09:45:52 -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 17411 invoked by uid 48); 14 Feb 2019 09:45:49 -0000
From: "mark.eggleston at codethink dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89103] Allow blank format items in format strings
Date: Thu, 14 Feb 2019 09:45: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: deferred
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mark.eggleston at codethink dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created
Message-ID: <bug-89103-4-gxbEHNKWTh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89103-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89103-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: 2019-02/txt/msg02031.txt.bz2
Content-length: 594

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89103

MarkEggleston <mark.eggleston at codethink dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45604|0                           |1
        is obsolete|                            |

--- Comment #8 from MarkEggleston <mark.eggleston at codethink dot com> ---
Created attachment 45712
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45712&action=edit
Change log for gcc/fortran for patch

Add changes to documentation.
>From gcc-bugs-return-633730-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 09:47:22 2019
Return-Path: <gcc-bugs-return-633730-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122395 invoked by alias); 14 Feb 2019 09:47: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 116300 invoked by uid 48); 14 Feb 2019 09:47:18 -0000
From: "mark.eggleston at codethink dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89103] Allow blank format items in format strings
Date: Thu, 14 Feb 2019 09:47: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: deferred
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mark.eggleston at codethink dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created
Message-ID: <bug-89103-4-2VRvlucx5W@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89103-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89103-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: 2019-02/txt/msg02032.txt.bz2
Content-length: 621

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89103

MarkEggleston <mark.eggleston at codethink dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45556|0                           |1
        is obsolete|                            |

--- Comment #9 from MarkEggleston <mark.eggleston at codethink dot com> ---
Created attachment 45713
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45713&action=edit
Change Log for gcc/testsuite for patch

Replace -fdec-blank-format-item with PR fortran/89103.
>From gcc-bugs-return-633731-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 09:50:49 2019
Return-Path: <gcc-bugs-return-633731-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31308 invoked by alias); 14 Feb 2019 09:50: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 31222 invoked by uid 48); 14 Feb 2019 09:50:44 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89263] Simplify bool expression to OR
Date: Thu, 14 Feb 2019 09:50: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: 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-89263-4-iAU58S0UZP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89263-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89263-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: 2019-02/txt/msg02033.txt.bz2
Content-length: 140

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89263

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
A job for phiopt.
>From gcc-bugs-return-633732-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 09:56:28 2019
Return-Path: <gcc-bugs-return-633732-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38329 invoked by alias); 14 Feb 2019 09:56: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 38265 invoked by uid 48); 14 Feb 2019 09:56:22 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89270] [9 regression] AVR ICE: verify_gimple failed
Date: Thu, 14 Feb 2019 09:56: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: 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 target_milestone
Message-ID: <bug-89270-4-GEBziQZceV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89270-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89270-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: 2019-02/txt/msg02034.txt.bz2
Content-length: 1451

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89270

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu.org
   Target Milestone|---                         |9.0

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Not sure, but possibly not returning false here:

static bool
verify_gimple_assign_unary (gassign *stmt)
{
..
        /* Allow conversions from pointer type to integral type only if
           there is no sign or zero extension involved.
           For targets were the precision of ptrofftype doesn't match that
           of pointers we need to allow arbitrary conversions to ptrofftype. 
*/
        if ((POINTER_TYPE_P (lhs_type)
             && INTEGRAL_TYPE_P (rhs1_type))
            || (POINTER_TYPE_P (rhs1_type)
                && INTEGRAL_TYPE_P (lhs_type)
                && (TYPE_PRECISION (rhs1_type) >= TYPE_PRECISION (lhs_type)
                    || ptrofftype_p (lhs_type))))
          return false;

elsewhere I suggested that instead of special-casing ptrofftype_p we need
this special case only if POINTERS_EXTEND_UNSIGNED is defined and for
Pmode and word_mode lhs_type mode.

Not sure how named address-spaces are handled here since
POINTERS_EXTEND_UNSIGNED
doesn't talk about them.
>From gcc-bugs-return-633733-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 10:05:11 2019
Return-Path: <gcc-bugs-return-633733-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130154 invoked by alias); 14 Feb 2019 10:05: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 130059 invoked by uid 55); 14 Feb 2019 10:05:07 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89314] [7/8/9 Regression] ICE in wide_int_to_tree_1, at tree.c:1561
Date: Thu, 14 Feb 2019 10: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: 9.0
X-Bugzilla-Keywords: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89314-4-9SOOPowcK1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89314-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89314-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: 2019-02/txt/msg02035.txt.bz2
Content-length: 672

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89314

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb 14 10:04:35 2019
New Revision: 268870

URL: https://gcc.gnu.org/viewcvs?rev=268870&root=gcc&view=rev
Log:
        PR tree-optimization/89314
        * fold-const.c (fold_binary_loc): Cast strlen argument to
        const char * before dereferencing it.  Formatting fixes.

        * gcc.dg/pr89314.c: New test.

Added:
    branches/gcc-8-branch/gcc/testsuite/gcc.dg/pr89314.c
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/fold-const.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633734-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 10:08:41 2019
Return-Path: <gcc-bugs-return-633734-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3576 invoked by alias); 14 Feb 2019 10:08: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 3466 invoked by uid 48); 14 Feb 2019 10:08:35 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89314] [7 Regression] ICE in wide_int_to_tree_1, at tree.c:1561
Date: Thu, 14 Feb 2019 10:08: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: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_known_to_work short_desc cf_known_to_fail
Message-ID: <bug-89314-4-QjsBRdJ6vT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89314-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89314-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: 2019-02/txt/msg02036.txt.bz2
Content-length: 640

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89314

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |8.2.1, 9.0
            Summary|[7/8/9 Regression] ICE in   |[7 Regression] ICE in
                   |wide_int_to_tree_1, at      |wide_int_to_tree_1, at
                   |tree.c:1561                 |tree.c:1561
      Known to fail|9.0                         |

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed for 8.3+ so far.
>From gcc-bugs-return-633735-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 10:09:16 2019
Return-Path: <gcc-bugs-return-633735-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4557 invoked by alias); 14 Feb 2019 10:09: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 4500 invoked by uid 48); 14 Feb 2019 10:09:10 -0000
From: "mark.eggleston at codethink dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89348] New: Fortran Command Options documentation fixes
Date: Thu, 14 Feb 2019 10:09: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mark.eggleston at codethink 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-89348-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: 2019-02/txt/msg02037.txt.bz2
Content-length: 839

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89348

            Bug ID: 89348
           Summary: Fortran Command Options documentation fixes
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mark.eggleston at codethink dot com
  Target Milestone: ---

Created attachment 45714
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45714&action=edit
Fortran options documentation fixes

Enabling of -fdec-include is missing from list of options enabled by -fdec.
When rendered as a PDF some lines are too long in the list of options
controlling Fortran dialect and in the list of options to request or suppress
errors and warnings.

A patch is attached.
>From gcc-bugs-return-633736-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 10:12:39 2019
Return-Path: <gcc-bugs-return-633736-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12357 invoked by alias); 14 Feb 2019 10:12: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 12256 invoked by uid 48); 14 Feb 2019 10:12:34 -0000
From: "mark.eggleston at codethink dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89348] Fortran Command Options documentation fixes
Date: Thu, 14 Feb 2019 10: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mark.eggleston at codethink 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: attachments.created
Message-ID: <bug-89348-4-kmfWX5Ikb5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89348-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89348-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: 2019-02/txt/msg02038.txt.bz2
Content-length: 336

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89348

--- Comment #1 from MarkEggleston <mark.eggleston at codethink dot com> ---
Created attachment 45715
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45715&action=edit
Change log for gcc/fortran for patch

Date has been omitted from change log. Can be added when committed.
>From gcc-bugs-return-633737-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 10:31:15 2019
Return-Path: <gcc-bugs-return-633737-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51048 invoked by alias); 14 Feb 2019 10:31: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 51016 invoked by uid 48); 14 Feb 2019 10:31:09 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/89349] New: raised STORAGE_ERROR : stack overflow or erroneous memory access when building GCC 8 branch with GCC master
Date: Thu, 14 Feb 2019 10:31: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: unknown
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 target_milestone
Message-ID: <bug-89349-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: 2019-02/txt/msg02039.txt.bz2
Content-length: 1289

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89349

            Bug ID: 89349
           Summary: raised STORAGE_ERROR : stack overflow or erroneous
                    memory access when building GCC 8 branch with GCC
                    master
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---

Using latest GCC trunk as stage1 compiler and doing:

$ ../configure --enable-languages=c,c++,ada --disable-multilib
--prefix=/home/marxin/bin/gcc2 --disable-bootstrap --disable-libsanitizer

$ make
...

one can see:

make[7]: Entering directory '/home/marxin/Programming/gcc2/objdir/gcc/ada/rts'
/home/marxin/Programming/gcc2/objdir/./gcc/xgcc
-B/home/marxin/Programming/gcc2/objdir/./gcc/
-B/home/marxin/bin/gcc2/x86_64-pc-linux-gnu/bin/
-B/home/marxin/bin/gcc2/x86_64-pc-linux-gnu/lib/ -isystem
/home/marxin/bin/gcc2/x86_64-pc-linux-gnu/include -isystem
/home/marxin/bin/gcc2/x86_64-pc-linux-gnu/sys-include    -c -g -O2  -fpic  -W
-Wall -gnatpg -nostdinc   a-assert.adb -o a-assert.o

raised STORAGE_ERROR : stack overflow or erroneous memory access
>From gcc-bugs-return-633738-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 10:32:15 2019
Return-Path: <gcc-bugs-return-633738-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52493 invoked by alias); 14 Feb 2019 10: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 52455 invoked by uid 48); 14 Feb 2019 10:32:10 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/89349] raised STORAGE_ERROR : stack overflow or erroneous memory access when building GCC 8 branch with GCC master
Date: Thu, 14 Feb 2019 10:32: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: unknown
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:
Message-ID: <bug-89349-4-YqfLZhjq3t@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89349-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89349-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: 2019-02/txt/msg02040.txt.bz2
Content-length: 183

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89349

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
I forgot to mention that the make is done on gcc-8 branch.
>From gcc-bugs-return-633739-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 10:34:10 2019
Return-Path: <gcc-bugs-return-633739-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54691 invoked by alias); 14 Feb 2019 10:34: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 54586 invoked by uid 48); 14 Feb 2019 10:34:01 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89277] [9 Regression] libgo memory hogs in libgo testsuite (at least on s390x-linux-gnu)
Date: Thu, 14 Feb 2019 10:34: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: memory-hog
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: ian at airs dot com
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-89277-4-XePOxcJECs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89277-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89277-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: 2019-02/txt/msg02041.txt.bz2
Content-length: 293

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89277

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |9.0
>From gcc-bugs-return-633740-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 10:40:21 2019
Return-Path: <gcc-bugs-return-633740-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62503 invoked by alias); 14 Feb 2019 10:40: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 62413 invoked by uid 48); 14 Feb 2019 10:40:14 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89278] ICE in gimplify_modify_expr, at gimplify.c:5821
Date: Thu, 14 Feb 2019 10:40: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: ice-on-valid-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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-89278-4-6oHBTfk1Oz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89278-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89278-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: 2019-02/txt/msg02042.txt.bz2
Content-length: 652

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89278

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
The issue is certainly latent, thus no regression.  Usual way-outs are to throw
rewrite_to_non_trapping_overflow onto the expr before gimplification.  I will
handle this if nobody beats me to it.
>From gcc-bugs-return-633741-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 11:01:37 2019
Return-Path: <gcc-bugs-return-633741-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107648 invoked by alias); 14 Feb 2019 11:01:36 -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 107564 invoked by uid 48); 14 Feb 2019 11:01:31 -0000
From: "jg at jguk dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89284] gcc -fsanitize=undefined inhibits -Wuninitialized
Date: Thu, 14 Feb 2019 11:01: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: unknown
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jg at jguk dot 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-89284-4-tLNT46l1q9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89284-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89284-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: 2019-02/txt/msg02043.txt.bz2
Content-length: 133

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89284

--- Comment #4 from Jonny Grant <jg at jguk dot org> ---
Fantastic! Thank you.
>From gcc-bugs-return-633742-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 11:09:45 2019
Return-Path: <gcc-bugs-return-633742-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5215 invoked by alias); 14 Feb 2019 11:09: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 3314 invoked by uid 48); 14 Feb 2019 11:09:41 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89284] gcc -fsanitize=undefined inhibits -Wuninitialized
Date: Thu, 14 Feb 2019 11:09: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: unknown
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-89284-4-YvYOyV3K9T@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89284-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89284-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: 2019-02/txt/msg02044.txt.bz2
Content-length: 433

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89284

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed for GCC9+.
>From gcc-bugs-return-633743-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 11:09:47 2019
Return-Path: <gcc-bugs-return-633743-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5783 invoked by alias); 14 Feb 2019 11:09: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 3984 invoked by uid 48); 14 Feb 2019 11:09:43 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues
Date: Thu, 14 Feb 2019 11:09:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 4.1.0
X-Bugzilla-Keywords: diagnostic, meta-bug
X-Bugzilla-Severity: trivial
X-Bugzilla-Who: jakub 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 resolution
Message-ID: <bug-24639-4-mVdw8l8eUF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-24639-4@http.gcc.gnu.org/bugzilla/>
References: <bug-24639-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: 2019-02/txt/msg02045.txt.bz2
Content-length: 477

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639
Bug 24639 depends on bug 89284, which changed state.

Bug 89284 Summary: gcc -fsanitize=undefined inhibits -Wuninitialized
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89284

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-633744-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 11:18:56 2019
Return-Path: <gcc-bugs-return-633744-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37883 invoked by alias); 14 Feb 2019 11:18:55 -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 35539 invoked by uid 48); 14 Feb 2019 11:18:51 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89350] New: [9 Regression] Wrong -Wstringop-overflow= warning since r261518
Date: Thu, 14 Feb 2019 11:18: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: unknown
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 target_milestone
Message-ID: <bug-89350-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: 2019-02/txt/msg02046.txt.bz2
Content-length: 2616

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89350

            Bug ID: 89350
           Summary: [9 Regression] Wrong -Wstringop-overflow= warning
                    since r261518
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---

I see following wrong warning:

$ cat snippet.c
char buf[128];
char *src = "HCSparta";

int main(int argc, char **argv)
{
    char *dst = buf + sizeof(buf);

    if (argc)
    {
      dst -= argc;
      __builtin_memcpy(dst, src, argc + 0);
    }
}

$ gcc snippet.c  -O2 -Wstringop-overflow=2  -fno-common -g
snippet.c: In function ‘main’:
snippet.c:11:7: warning: ‘__builtin_memcpy’ writing 1 or more bytes into a
region of size 0 overflows the destination [-Wstringop-overflow=]
   11 |       __builtin_memcpy(dst, src, argc + 0);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

$ gcc snippet.c  -O2 -Wstringop-overflow=2  -fno-common -g -fsanitize=address
&& ./a.out
[OK]

While doing s/0/1:

$ cat snippet.c
char buf[128];
char *src = "HCSparta";

int main(int argc, char **argv)
{
    char *dst = buf + sizeof(buf);

    if (argc)
    {
      dst -= argc;
      __builtin_memcpy(dst, src, argc + 1);
    }
}

$ gcc snippet.c  -O2 -Wstringop-overflow=2  -fno-common -g
[OK]

But:

$ gcc snippet.c  -O2 -Wstringop-overflow=2  -fno-common -g -fsanitize=address
&& ./a.out
=================================================================
==6195==ERROR: AddressSanitizer: global-buffer-overflow on address
0x000000404220 at pc 0x7ffff763a5d0 bp 0x7fffffffdb70 sp 0x7fffffffd320
WRITE of size 2 at 0x000000404220 thread T0
    #0 0x7ffff763a5cf in __interceptor_memcpy
/home/marxin/Programming/gcc/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:790
    #1 0x4010b4 in main /tmp/snippet.c:11
    #2 0x7ffff73b4b7a in __libc_start_main ../csu/libc-start.c:308
    #3 0x401119 in _start (/tmp/a.out+0x401119)

0x000000404220 is located 0 bytes to the right of global variable 'buf' defined
in 'snippet.c:1:6' (0x4041a0) of size 128
SUMMARY: AddressSanitizer: global-buffer-overflow
/home/marxin/Programming/gcc/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:790
in __interceptor_memcpy
...
>From gcc-bugs-return-633745-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 11:19:17 2019
Return-Path: <gcc-bugs-return-633745-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47358 invoked by alias); 14 Feb 2019 11:19: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 44639 invoked by uid 48); 14 Feb 2019 11:19:12 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89350] [9 Regression] Wrong -Wstringop-overflow= warning since r261518
Date: Thu, 14 Feb 2019 11:19: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cc cf_known_to_work target_milestone everconfirmed cf_known_to_fail
Message-ID: <bug-89350-4-nyRWpEAxXY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89350-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89350-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: 2019-02/txt/msg02047.txt.bz2
Content-length: 694

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89350

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-14
                 CC|                            |msebor at gcc dot gnu.org
      Known to work|                            |8.2.0
   Target Milestone|---                         |9.0
     Ever confirmed|0                           |1
      Known to fail|                            |9.0
>From gcc-bugs-return-633746-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 11:22:20 2019
Return-Path: <gcc-bugs-return-633746-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129111 invoked by alias); 14 Feb 2019 11:22: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 129051 invoked by uid 48); 14 Feb 2019 11:22:16 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89278] ICE in gimplify_modify_expr, at gimplify.c:5821
Date: Thu, 14 Feb 2019 11:22: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89278-4-5j0R5aMA2s@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89278-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89278-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: 2019-02/txt/msg02048.txt.bz2
Content-length: 365

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89278

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45716
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45716&action=edit
gcc9-pr89278.patch

Well, if you want to be beaten in that, here is a patch.  I've changed only the
spots I have testsuite coverage for though.
>From gcc-bugs-return-633748-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 11:25:54 2019
Return-Path: <gcc-bugs-return-633748-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19291 invoked by alias); 14 Feb 2019 11:25: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 19230 invoked by uid 55); 14 Feb 2019 11:25:50 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/88858] ICE in rtl_verify_fallthru, at cfgrtl.c:2930 in Firefox build with LTO and PGO
Date: Thu, 14 Feb 2019 11:25: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: 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: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88858-4-W76HHWBUEX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88858-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88858-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: 2019-02/txt/msg02050.txt.bz2
Content-length: 692

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88858

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Thu Feb 14 11:25:18 2019
New Revision: 268872

URL: https://gcc.gnu.org/viewcvs?rev=268872&root=gcc&view=rev
Log:
Backport r268835

2019-02-14  Martin Liska  <mliska@suse.cz>

        Backport from mainline
        2019-02-13  Martin Liska  <mliska@suse.cz>

        PR lto/88858
        * cfgrtl.c (remove_barriers_from_footer): New function.
        (try_redirect_by_replacing_jump): Use it.
        (cfg_layout_redirect_edge_and_branch): Likewise.

Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/cfgrtl.c
>From gcc-bugs-return-633747-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 11:25:41 2019
Return-Path: <gcc-bugs-return-633747-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18479 invoked by alias); 14 Feb 2019 11:25:41 -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 18379 invoked by uid 55); 14 Feb 2019 11:25:34 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89009] [7/8/9 Regression] Miscompilation (missing function call) with -fvisibility=hidden -fpic -O2 -fno-inline
Date: Thu, 14 Feb 2019 11:25: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.2.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89009-4-0y1yn8oHXe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89009-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89009-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: 2019-02/txt/msg02049.txt.bz2
Content-length: 1683

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89009

--- Comment #16 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Thu Feb 14 11:24:45 2019
New Revision: 268871

URL: https://gcc.gnu.org/viewcvs?rev=268871&root=gcc&view=rev
Log:
Backport r268762

2019-02-14  Martin Liska  <mliska@suse.cz>

        Backport from mainline
        2019-02-11  Martin Liska  <mliska@suse.cz>

        PR ipa/89009
        * ipa-cp.c (build_toporder_info): Remove usage of a param.
        * ipa-inline.c (inline_small_functions): Likewise.
        * ipa-pure-const.c (propagate_pure_const): Likewise.
        (propagate_nothrow): Likewise.
        * ipa-reference.c (propagate): Likewise.
        * ipa-utils.c (struct searchc_env): Remove unused field.
        (searchc): Always search across AVAIL_INTERPOSABLE.
        (ipa_reduced_postorder): Always allow AVAIL_INTERPOSABLE as
        the only called IPA pure const can properly not propagate
        across interposable boundary.
        * ipa-utils.h (ipa_reduced_postorder): Remove param.
2019-02-14  Martin Liska  <mliska@suse.cz>

        Backport from mainline
        2019-02-11  Martin Liska  <mliska@suse.cz>

        PR ipa/89009
        * g++.dg/ipa/pr89009.C: New test.

Added:
    branches/gcc-8-branch/gcc/testsuite/g++.dg/ipa/pr89009.C
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/ipa-cp.c
    branches/gcc-8-branch/gcc/ipa-inline.c
    branches/gcc-8-branch/gcc/ipa-pure-const.c
    branches/gcc-8-branch/gcc/ipa-reference.c
    branches/gcc-8-branch/gcc/ipa-utils.c
    branches/gcc-8-branch/gcc/ipa-utils.h
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633749-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 11:31:44 2019
Return-Path: <gcc-bugs-return-633749-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24510 invoked by alias); 14 Feb 2019 11:31:44 -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 24311 invoked by uid 55); 14 Feb 2019 11:31:34 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89242] [7/8/9 Regression] ICE in verify_dominators, at dominance.c:1184 (error: dominator of 7 should be 5, not 2)
Date: Thu, 14 Feb 2019 11:31: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: EH, ice-checking, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89242-4-GpGdfHPNUW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89242-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89242-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: 2019-02/txt/msg02051.txt.bz2
Content-length: 780

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89242

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Thu Feb 14 11:30:58 2019
New Revision: 268873

URL: https://gcc.gnu.org/viewcvs?rev=268873&root=gcc&view=rev
Log:
Call free_dominance_info when transformed in DCE (PR rtl-optimization/89242).

2019-02-14  Martin Liska  <mliska@suse.cz>

        PR rtl-optimization/89242
        * dce.c (delete_unmarked_insns): Call free_dominance_info we
        process a transformation.
2019-02-14  Martin Liska  <mliska@suse.cz>

        PR rtl-optimization/89242
        * g++.dg/pr89242.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/pr89242.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dce.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633750-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 11:34:20 2019
Return-Path: <gcc-bugs-return-633750-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40413 invoked by alias); 14 Feb 2019 11:34: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 40378 invoked by uid 48); 14 Feb 2019 11:34:16 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89242] [7/8 Regression] ICE in verify_dominators, at dominance.c:1184 (error: dominator of 7 should be 5, not 2)
Date: Thu, 14 Feb 2019 11: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: EH, ice-checking, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_known_to_work short_desc cf_known_to_fail
Message-ID: <bug-89242-4-fdX6sJ28NN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89242-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89242-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: 2019-02/txt/msg02052.txt.bz2
Content-length: 790

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89242

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |9.0
            Summary|[7/8/9 Regression] ICE in   |[7/8 Regression] ICE in
                   |verify_dominators, at       |verify_dominators, at
                   |dominance.c:1184 (error:    |dominance.c:1184 (error:
                   |dominator of 7 should be 5, |dominator of 7 should be 5,
                   |not 2)                      |not 2)
      Known to fail|9.0                         |

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed on trunk so far.
>From gcc-bugs-return-633752-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 11:45:04 2019
Return-Path: <gcc-bugs-return-633752-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82410 invoked by alias); 14 Feb 2019 11:45: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 82233 invoked by uid 48); 14 Feb 2019 11:44:59 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89280] [7/8/9 Regression] ICE: Segmentation fault (in is_gimple_reg_type)
Date: Thu, 14 Feb 2019 11:45: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89280-4-OUB2uolOvm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89280-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89280-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: 2019-02/txt/msg02054.txt.bz2
Content-length: 181

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89280

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
*** Bug 89283 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-633751-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 11:45:03 2019
Return-Path: <gcc-bugs-return-633751-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82381 invoked by alias); 14 Feb 2019 11:45: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 82146 invoked by uid 48); 14 Feb 2019 11:44:56 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89283] [8/9 Regression] ICE: Segmentation fault (in stmt_could_throw_1_p)
Date: Thu, 14 Feb 2019 11:45: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: EH, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-89283-4-7Q1SWfqc82@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89283-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89283-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: 2019-02/txt/msg02053.txt.bz2
Content-length: 853

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89283

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |DUPLICATE

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I think this is just a dup, we want to cover both testcases in the other PR,
but the bug is the same, for the returns_twice calls/__builtin_setjmp_receiver,
we need to be able to consider them as unreachable if they aren't reachable
through non-EDGE_ABNORMAL edges from the abnormal dispatcher.

*** This bug has been marked as a duplicate of bug 89280 ***
>From gcc-bugs-return-633753-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 11:54:34 2019
Return-Path: <gcc-bugs-return-633753-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98947 invoked by alias); 14 Feb 2019 11:54: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 98813 invoked by uid 55); 14 Feb 2019 11:54:30 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89303] [7 Regression] memory leak with shared_ptr and enable_shared_from_this
Date: Thu, 14 Feb 2019 11:54: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: 8.2.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89303-4-r2HpUppbrX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg02055.txt.bz2
Content-length: 564

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89303

--- Comment #29 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Thu Feb 14 11:53:57 2019
New Revision: 268874

URL: https://gcc.gnu.org/viewcvs?rev=268874&root=gcc&view=rev
Log:
PR middle-end/89303 add testcase for std::enable_shared_from_this

        * testsuite/20_util/enable_shared_from_this/89303.cc: New test.

Added:
   
branches/gcc-8-branch/libstdc++-v3/testsuite/20_util/enable_shared_from_this/89303.cc
Modified:
    branches/gcc-8-branch/libstdc++-v3/ChangeLog
>From gcc-bugs-return-633754-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 12:13:11 2019
Return-Path: <gcc-bugs-return-633754-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85488 invoked by alias); 14 Feb 2019 12:13: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 85402 invoked by uid 55); 14 Feb 2019 12:13:06 -0000
From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89278] ICE in gimplify_modify_expr, at gimplify.c:5821
Date: Thu, 14 Feb 2019 12:13: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenther at suse dot de
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:
Message-ID: <bug-89278-4-8WqPQGNqEo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89278-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89278-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: 2019-02/txt/msg02056.txt.bz2
Content-length: 586

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89278

--- Comment #5 from rguenther at suse dot de <rguenther at suse dot de> ---
On Thu, 14 Feb 2019, jakub at gcc dot gnu.org wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89278
> 
> --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
> Created attachment 45716
>   --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45716&action=edit
> gcc9-pr89278.patch
> 
> Well, if you want to be beaten in that, here is a patch.  I've changed only the
> spots I have testsuite coverage for though.

Works for me.
>From gcc-bugs-return-633755-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 12:16:09 2019
Return-Path: <gcc-bugs-return-633755-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90926 invoked by alias); 14 Feb 2019 12:15: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 90181 invoked by uid 48); 14 Feb 2019 12:15:04 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89342] ICE in maybe_default_option, at opts.c:347
Date: Thu, 14 Feb 2019 12:15: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: jakub 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: bug_status cf_reconfirmed_on cc assigned_to everconfirmed
Message-ID: <bug-89342-4-UTswsTi5VF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89342-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89342-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: 2019-02/txt/msg02057.txt.bz2
Content-length: 563

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89342

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-14
                 CC|                            |jakub at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1
>From gcc-bugs-return-633756-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 12:20:39 2019
Return-Path: <gcc-bugs-return-633756-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39076 invoked by alias); 14 Feb 2019 12:20: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 38775 invoked by uid 48); 14 Feb 2019 12:20:35 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/89342] ICE in maybe_default_option, at opts.c:347
Date: Thu, 14 Feb 2019 12:20:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
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: jakub 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: attachments.created
Message-ID: <bug-89342-4-Y03219qpFr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89342-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89342-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: 2019-02/txt/msg02058.txt.bz2
Content-length: 253

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89342

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45717
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45717&action=edit
gcc9-pr89342.patch

Untested fix.
>From gcc-bugs-return-633757-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 12:28:45 2019
Return-Path: <gcc-bugs-return-633757-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1332 invoked by alias); 14 Feb 2019 12:28: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 1284 invoked by uid 48); 14 Feb 2019 12:28:40 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89280] [7/8/9 Regression] ICE: Segmentation fault (in is_gimple_reg_type)
Date: Thu, 14 Feb 2019 12:28: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: 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: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89280-4-bSpUbUo9Od@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89280-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89280-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: 2019-02/txt/msg02059.txt.bz2
Content-length: 841

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89280

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
The issue is that r8 () is a source of abnormal edges which makes the abnormal
dispatcher reachable.  I think the testcase becomes clearer when one uses
setjmp instead of vfork since I'm not sure why we have full abnormal handling
for vfork at all.

It might work if we build the CFG first w/o any abnormal edges, then prune
unreachable blocks, and only after that do abnormal edge creation.

Also we could then build dominators on the CFG w/o abnormal edges and use
simple reachability analysis on that to determine if we need to add
outgoing abnormal edges to calls or not (like in this case the one out
of r8() is not needed).

OTOH with non-local goto the reachability analysis w/o abnormals would be
flawed...
>From gcc-bugs-return-633758-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 12:32:49 2019
Return-Path: <gcc-bugs-return-633758-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5632 invoked by alias); 14 Feb 2019 12:31: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 3588 invoked by uid 48); 14 Feb 2019 12:31:05 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89285] [8/9 Regression] ICE after casting the this pointer in the constructor in C++17 mode
Date: Thu, 14 Feb 2019 12:31: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: accepts-invalid, 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-89285-4-oEg41d08jr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89285-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89285-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: 2019-02/txt/msg02060.txt.bz2
Content-length: 292

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89285

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
>From gcc-bugs-return-633759-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 12:33:02 2019
Return-Path: <gcc-bugs-return-633759-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17028 invoked by alias); 14 Feb 2019 12:33: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 12590 invoked by uid 48); 14 Feb 2019 12:32:28 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89306] [8/9 regression] Hash based IPA summaries are too slow and consume up to 80% of IPA optimization time.
Date: Thu, 14 Feb 2019 12:33: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: attachments.created
Message-ID: <bug-89306-4-9xsIUYux5G@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89306-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89306-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: 2019-02/txt/msg02061.txt.bz2
Content-length: 240

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89306

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Created attachment 45718
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45718&action=edit
Tentative patch
>From gcc-bugs-return-633760-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 12:34:01 2019
Return-Path: <gcc-bugs-return-633760-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22271 invoked by alias); 14 Feb 2019 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 19113 invoked by uid 48); 14 Feb 2019 12:33:16 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89306] [8/9 regression] Hash based IPA summaries are too slow and consume up to 80% of IPA optimization time.
Date: Thu, 14 Feb 2019 12:33: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: attachments.created
Message-ID: <bug-89306-4-IqsRI5G8CS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89306-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89306-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: 2019-02/txt/msg02062.txt.bz2
Content-length: 281

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89306

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Created attachment 45719
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45719&action=edit
libxul.so WPA (--enable-checking=release) before patch
>From gcc-bugs-return-633761-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 12:34:26 2019
Return-Path: <gcc-bugs-return-633761-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26812 invoked by alias); 14 Feb 2019 12:34: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 22700 invoked by uid 48); 14 Feb 2019 12:33:43 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89306] [8/9 regression] Hash based IPA summaries are too slow and consume up to 80% of IPA optimization time.
Date: Thu, 14 Feb 2019 12:34: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: attachments.created
Message-ID: <bug-89306-4-EYWCjejFmc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89306-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89306-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: 2019-02/txt/msg02063.txt.bz2
Content-length: 280

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89306

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Created attachment 45720
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45720&action=edit
libxul.so WPA (--enable-checking=release) after patch
>From gcc-bugs-return-633762-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 12:34:33 2019
Return-Path: <gcc-bugs-return-633762-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27508 invoked by alias); 14 Feb 2019 12:34: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 22763 invoked by uid 48); 14 Feb 2019 12:33:44 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89280] [7/8/9 Regression] ICE: Segmentation fault (in is_gimple_reg_type)
Date: Thu, 14 Feb 2019 12:34: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89280-4-LCjobQuYEI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89280-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89280-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: 2019-02/txt/msg02064.txt.bz2
Content-length: 715

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89280

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The problem is that it might be still reachable through both normal and
abnormal edges during cfg and might become unreachable only later (e.g.
inlining or whatever other opt), so we need something that will be able to cope
with it at any time.  Even if we improve decisions from which bbs to add edges
to the ABNORMAL_DISPATCHER, as we use one dispatcher for the whole function and
can mix non-local gotos etc. with returns_twice functions, I think we can't
avoid this problem, r8 e.g. could have a non-local goto to some other bb and so
would have EDGE_ABNORMAL edge to the dispatcher.
>From gcc-bugs-return-633763-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 12:36:45 2019
Return-Path: <gcc-bugs-return-633763-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42684 invoked by alias); 14 Feb 2019 12:36: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 42190 invoked by uid 48); 14 Feb 2019 12:36:36 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89306] [8/9 regression] Hash based IPA summaries are too slow and consume up to 80% of IPA optimization time.
Date: Thu, 14 Feb 2019 12:36: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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: bug_status
Message-ID: <bug-89306-4-knu14NM7Wm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89306-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89306-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: 2019-02/txt/msg02065.txt.bz2
Content-length: 1377

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89306

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |WAITING

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
So considering only fns with more that 0.05% I see before:

     0.83%  lto1-wpa         lto1              [.]
hash_table<hash_map<int_hash<int, 0, -1>, ipa_fn_summary*,
simple_hashmap_traits<default_hash_traits<int_hash<int, 0, -1> >,
ipa_fn_summary*> >::hash_entry, xcallocator>::find_with_hash
     0.37%  lto1-wpa         lto1              [.]
hash_table<hash_map<int_hash<int, 0, -1>, ipa_call_summary*,
simple_hashmap_traits<default_hash_traits<int_hash<int, 0, -1> >,
ipa_call_summary*> >::hash_entry, xcallocator>::find_slot_with_hash
     0.36%  lto1-wpa         lto1              [.]
hash_table<hash_map<int_hash<int, 0, -1>, ipa_call_summary*,
simple_hashmap_traits<default_hash_traits<int_hash<int, 0, -1> >,
ipa_call_summary*> >::hash_entry, xcallocator>::find_with_hash

After the patch:

     0.49%  lto1-wpa         lto1              [.]
fast_call_summary<ipa_call_summary*, va_heap>::get_create

So there's an improvement, but it's quite small.
Can you Honza re-measure that for me please?
>From gcc-bugs-return-633764-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 12:37:57 2019
Return-Path: <gcc-bugs-return-633764-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51566 invoked by alias); 14 Feb 2019 12:37:56 -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 50932 invoked by uid 48); 14 Feb 2019 12:37:50 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89306] [8/9 regression] Hash based IPA summaries are too slow and consume up to 80% of IPA optimization time.
Date: Thu, 14 Feb 2019 12:37: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-89306-4-iwmACK5ydu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89306-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89306-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: 2019-02/txt/msg02066.txt.bz2
Content-length: 232

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89306

--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
Having all *.o files in RAM, I see time change for WPA from 93.0 to 90.0s.
So relatively small improvement.
>From gcc-bugs-return-633765-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 12:46:03 2019
Return-Path: <gcc-bugs-return-633765-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87613 invoked by alias); 14 Feb 2019 12:45:46 -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 87296 invoked by uid 48); 14 Feb 2019 12:45:30 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/89307] -fprofile-generate binary may be too slow in multithreaded environment due to cache-line conflicts on counters
Date: Thu, 14 Feb 2019 12:45:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: gcov-profile
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
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: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89307-4-Dou68jlVHW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89307-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89307-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: 2019-02/txt/msg02067.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89307

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Jan Hubicka from comment #2)
> Created attachment 45703 [details]
> patch for tls counters (incomplete - no runtime bits)

Isn't the patch only a refactoring that is eliminating tls_model from
tree_decl_with_vis and moving that into cgraph_node?
>From gcc-bugs-return-633766-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 12:55:04 2019
Return-Path: <gcc-bugs-return-633766-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9525 invoked by alias); 14 Feb 2019 12:55: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 125272 invoked by uid 48); 14 Feb 2019 12:54:58 -0000
From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug d/87864] libdruntime doesn't link with /bin/ld before Solaris 11.4
Date: Thu, 14 Feb 2019 12:55:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: d
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ro at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ro at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status bug_file_loc cf_reconfirmed_on assigned_to everconfirmed
Message-ID: <bug-87864-4-cVTlxXUJ0U@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87864-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87864-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: 2019-02/txt/msg02068.txt.bz2
Content-length: 785

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87864

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
                URL|https://gcc.gnu.org/ml/gcc- |https://gcc.gnu.org/ml/gcc-
                   |patches/2019-01/msg01666.ht |patches/2019-02/msg01019.ht
                   |ml                          |ml
   Last reconfirmed|                            |2019-02-14
           Assignee|ibuclaw at gdcproject dot org      |ro at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #9 from Rainer Orth <ro at gcc dot gnu.org> ---
Mine, slightly revised patch posted.
>From gcc-bugs-return-633767-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 13:09:58 2019
Return-Path: <gcc-bugs-return-633767-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118183 invoked by alias); 14 Feb 2019 13:09:57 -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 118104 invoked by uid 48); 14 Feb 2019 13:09:53 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89340] ICE in function_and_variable_visibility, at ipa-visibility.c:707
Date: Thu, 14 Feb 2019 13:09: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89340-4-iftIwquBwD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89340-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89340-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: 2019-02/txt/msg02069.txt.bz2
Content-length: 666

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89340

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
It should be actually rejected like:
__attribute__((weak)) static void foo () {}
void bar (void) { foo (); }
pr89340.c:1:35: error: weak declaration of ‘foo’ must be public
    1 | __attribute__((weak)) static void foo () {}
      |                                   ^~~
>From gcc-bugs-return-633768-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 13:16:17 2019
Return-Path: <gcc-bugs-return-633768-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22038 invoked by alias); 14 Feb 2019 13:16: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 21454 invoked by uid 48); 14 Feb 2019 13:16:11 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89340] [7/8/9 Regression] ICE in function_and_variable_visibility, at ipa-visibility.c:707
Date: Thu, 14 Feb 2019 13:16: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to target_milestone short_desc
Message-ID: <bug-89340-4-Z2t8nW7OXW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89340-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89340-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: 2019-02/txt/msg02070.txt.bz2
Content-length: 937

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89340

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
   Target Milestone|---                         |7.5
            Summary|ICE in                      |[7/8/9 Regression] ICE in
                   |function_and_variable_visib |function_and_variable_visib
                   |ility, at                   |ility, at
                   |ipa-visibility.c:707        |ipa-visibility.c:707

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
gcc 4.4 still accepted this, I think the ICE started with r154115.  As we do
reject static __attribute__((weak)) functions, I think we should reject this
too.
>From gcc-bugs-return-633769-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 13:18:51 2019
Return-Path: <gcc-bugs-return-633769-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27726 invoked by alias); 14 Feb 2019 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 25414 invoked by uid 48); 14 Feb 2019 13:18:47 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89340] [7/8/9 Regression] ICE in function_and_variable_visibility, at ipa-visibility.c:707
Date: Thu, 14 Feb 2019 13:18: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89340-4-jXSnj7ffRm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89340-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89340-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: 2019-02/txt/msg02071.txt.bz2
Content-length: 253

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89340

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45721
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45721&action=edit
gcc9-pr89340.patch

Untested fix.
>From gcc-bugs-return-633770-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 13:19:58 2019
Return-Path: <gcc-bugs-return-633770-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30379 invoked by alias); 14 Feb 2019 13:19: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 30326 invoked by uid 48); 14 Feb 2019 13:19:53 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/89307] -fprofile-generate binary may be too slow in multithreaded environment due to cache-line conflicts on counters
Date: Thu, 14 Feb 2019 13:19:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: gcov-profile
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
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: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89307-4-RWHDEyemoi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89307-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89307-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: 2019-02/txt/msg02072.txt.bz2
Content-length: 2006

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89307

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
I'm just looking at the google/gcc-4.9 branch:
https://android.googlesource.com/toolchain/gcc/+/master/gcc-4.9/

and they have a sampling approach:

/* Transform:

   ORIGINAL CODE

   Into:

   __gcov_sample_counter++;
   if (__gcov_sample_counter >= __gcov_sampling_period)
     {
       __gcov_sample_counter = 0;
       ORIGINAL CODE
     }

which effectively updates edge counters just for a limited time. I would expect
size increase:

Removing basic block 9
Removing basic block 10
main (int argc)
{
  unsigned int PROF_sample.2;
  unsigned int PROF_sample.1;
  long int PROF_edge_counter_6;
  long int PROF_edge_counter_7;
  long int PROF_edge_counter_8;
  long int PROF_edge_counter_9;

  <bb 2>:
  __gcov_indirect_call_profiler_v2 (1005944783, main);
  __gcov_indirect_call_callee = 0B;
  if (argc_2(D) != 0)
    goto <bb 3>;
  else
    goto <bb 6>;

  <bb 3>:
  a = 123;
  PROF_sample.2_13 = __gcov_sample_counter;
  PROF_sample.2_14 = PROF_sample.2_13 + 1;
  __gcov_sample_counter = PROF_sample.2_14;
  PROF_sample.2_15 = __gcov_sampling_period;
  if (PROF_sample.2_14 >= PROF_sample.2_15)
    goto <bb 5>;
  else
    goto <bb 4>;

  <bb 4>:
  goto <bb 8>;

  <bb 5>:
  __gcov_sample_counter = 0;
  PROF_edge_counter_6 = __gcov0.main[0];
  PROF_edge_counter_7 = PROF_edge_counter_6 + 1;
  __gcov0.main[0] = PROF_edge_counter_7;
  goto <bb 8>;

  <bb 6>:
  a = 0;
  PROF_sample.1_10 = __gcov_sample_counter;
  PROF_sample.1_11 = PROF_sample.1_10 + 1;
  __gcov_sample_counter = PROF_sample.1_11;
  PROF_sample.1_12 = __gcov_sampling_period;
  if (PROF_sample.1_11 >= PROF_sample.1_12)
    goto <bb 7>;
  else
    goto <bb 4>;

  <bb 7>:
  __gcov_sample_counter = 0;
  PROF_edge_counter_8 = __gcov0.main[1];
  PROF_edge_counter_9 = PROF_edge_counter_8 + 1;
  __gcov0.main[1] = PROF_edge_counter_9;

  <bb 8>:
  return 0;
}
>From gcc-bugs-return-633771-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 13:22:31 2019
Return-Path: <gcc-bugs-return-633771-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42002 invoked by alias); 14 Feb 2019 13:22: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 41926 invoked by uid 48); 14 Feb 2019 13:22:26 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/89307] -fprofile-generate binary may be too slow in multithreaded environment due to cache-line conflicts on counters
Date: Thu, 14 Feb 2019 13:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: gcov-profile
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
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: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89307-4-Y7wMqn5slg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89307-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89307-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: 2019-02/txt/msg02073.txt.bz2
Content-length: 312

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89307

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
> 
> which effectively updates edge counters just for a limited time. I would
> expect

Ah now, it's really doing sampling. I guess it can lead to quite some profile
inconsistencies..
>From gcc-bugs-return-633772-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 13:29:32 2019
Return-Path: <gcc-bugs-return-633772-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49745 invoked by alias); 14 Feb 2019 13:29: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 49688 invoked by uid 48); 14 Feb 2019 13:29:26 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89341] [7/8/9 Regression] ICE in get, at cgraph.h:1332
Date: Thu, 14 Feb 2019 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: 9.0
X-Bugzilla-Keywords: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc target_milestone short_desc
Message-ID: <bug-89341-4-aZLw2j0Ooa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89341-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89341-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: 2019-02/txt/msg02074.txt.bz2
Content-length: 1133

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89341

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu.org,
                   |                            |jakub at gcc dot gnu.org
   Target Milestone|---                         |7.5
            Summary|ICE in get, at              |[7/8/9 Regression] ICE in
                   |cgraph.h:1332               |get, at cgraph.h:1332

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
This used to be accepted before r154115 (so e.g. in GCC 4.2), then it started
to ICE:
pr89341.c:3:1: internal compiler error: in function_and_variable_visibility, at
ipa.c:662
then (likely) r169332 started rejecting this:
pr89341.c:2:13: warning: ‘weakref’ attribute ignored because function is
defined [-Wattributes]
pr89341.c:2:13: error: ‘foo’ aliased to undefined symbol ‘bar’
then r174952 started to ICE on this again.
>From gcc-bugs-return-633773-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 13:34:20 2019
Return-Path: <gcc-bugs-return-633773-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114034 invoked by alias); 14 Feb 2019 13:34:19 -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 103988 invoked by uid 48); 14 Feb 2019 13:34:14 -0000
From: "gsocshubham at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89351] New: internal compiler error: in exact_div, at poly-int.h:2139
Date: Thu, 14 Feb 2019 13:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gsocshubham 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 cf_gcchost cf_gcctarget cf_gccbuild attachments.created
Message-ID: <bug-89351-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: 2019-02/txt/msg02075.txt.bz2
Content-length: 3660

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89351

            Bug ID: 89351
           Summary: internal compiler error: in exact_div, at
                    poly-int.h:2139
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gsocshubham at gmail dot com
  Target Milestone: ---
              Host: x86_64-linux-gnu
            Target: x86_64-linux-gnu
             Build: x86_64-linux-gnu

Created attachment 45722
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45722&action=edit
Preprocessed code of file named "sam.c" which caused internal compiler error

-----------------------COMMAND USED FOR COMPILATION---------------------------

~/gcc-9-trunk/build/gcc/xgcc -B ~/gcc-9-trunk/build/gcc/ sam.c -fgnu-tm -w
-Icsmith-crash-test/csmith/runtime/
during RTL pass: expand
sam.c: In function ‘func_33’:
sam.c:857:139: internal compiler error: in exact_div, at poly-int.h:2139
  857 | != l_130) , ((g_133[0][1] , l_134) != (p_36 != (void*)0))) > g_100.f3))
& ((void*)0 == l_135)) || 0xAC466B2A51B1567ELL) > g_56.f0);
      |                                                              ~~~~~^~~

0x92f6f8 poly_int<1u, poly_result<long, if_nonpoly<int, int,
poly_int_traits<int>::is_poly>::type, poly_coeff_pair_traits<long,
if_nonpoly<int, int, poly_int_traits<int>::is_poly>::type>::result_kind>::type>
exact_div<1u, long, int>(poly_int_pod<1u, long> const&, int)
        ../../gcc/gcc/poly-int.h:2139
0x92f6f8 expand_expr_addr_expr_1
        ../../gcc/gcc/expr.c:8041
0x9220ed expand_expr_addr_expr
        ../../gcc/gcc/expr.c:8082
0x9220ed expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        ../../gcc/gcc/expr.c:11237
0x7dfb37 expand_normal
        ../../gcc/gcc/expr.h:285
0x7dfb37 precompute_register_parameters
        ../../gcc/gcc/calls.c:967
0x7dfb37 expand_call(tree_node*, rtx_def*, int)
        ../../gcc/gcc/calls.c:3998
0x7ccc0d expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int)
        ../../gcc/gcc/builtins.c:8337
0x921918 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        ../../gcc/gcc/expr.c:11005
0x92fb14 store_expr(tree_node*, rtx_def*, int, bool, bool)
        ../../gcc/gcc/expr.c:5649
0x93194e expand_assignment(tree_node*, tree_node*, bool)
        ../../gcc/gcc/expr.c:5432
0x7f4076 expand_call_stmt
        ../../gcc/gcc/cfgexpand.c:2722
0x7f4076 expand_gimple_stmt_1
        ../../gcc/gcc/cfgexpand.c:3691
0x7f4076 expand_gimple_stmt
        ../../gcc/gcc/cfgexpand.c:3850
0x7f6ef5 expand_gimple_basic_block
        ../../gcc/gcc/cfgexpand.c:5886
0x7fd1e6 execute
        ../../gcc/gcc/cfgexpand.c:6509
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.

-----------------------REDUCED TEST CASE-------------------------------------

struct {
  signed : 5;
  unsigned b : 7
} c[][1];
a() {}
d() {
  __transaction_relaxed { a(c[0][1].b); }
}

----------------------COMPILER BUILD OPTIONS---------------------------------

Using built-in specs.
COLLECT_GCC=build/gcc/xgcc
Target: x86_64-pc-linux-gnu
Configured with: ../gcc/configure --enable-languages=c,c++ --enable-lto
--disable-bootstrap : (reconfigured) ../gcc/configure --enable-languages=c,c++
--enable-lto --disable-bootstrap
Thread model: posix
gcc version 9.0.1 20190214 (experimental) (GCC)
>From gcc-bugs-return-633774-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 13:36:37 2019
Return-Path: <gcc-bugs-return-633774-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46836 invoked by alias); 14 Feb 2019 13:36:36 -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 36969 invoked by uid 48); 14 Feb 2019 13:36:32 -0000
From: "clange001 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89352] New: Deferred length character array pointer error with gfortran
Date: Thu, 14 Feb 2019 13:36: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: clange001 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-89352-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: 2019-02/txt/msg02076.txt.bz2
Content-length: 2710

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89352

            Bug ID: 89352
           Summary: Deferred length character array pointer error with
                    gfortran
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: clange001 at gmail dot com
  Target Milestone: ---

I have two deferred length character arrays in gfortran.  I allocate one of
them, and then point the other one to it.  The pointer variable has the correct
array size, but not the correct character length.  The program terminates with
an error when trying to access the information in the pointer.

I see that there may be related bugs that have been fixed
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51976), but this one is present
now in version 8.

I'm testing this with:
GNU Fortran (MacPorts gcc8 8.2.0_2) 8.2.0

and also
GNU Fortran (MacPorts gcc8 8.2.0_3) 8.2.0


The code below works fine with Intel Fortran on Windows.

    program test
      implicit none
      character(len=:), pointer, dimension(:) :: charvara
      character(len=:), pointer, dimension(:) :: charvara_ptr

      allocate(character(len=10) :: charvara(3))
      charvara(:) = '0123456789'
      print *, 'len(charvara) = ', len(charvara)
      print *, 'size(charvara) = ', size(charvara)
      print *, 'charvara = ', charvara

      charvara_ptr => charvara
      print *, 'associated = ', associated(charvara_ptr, charvara)
      print *, 'len(charvara_ptr) = ', len(charvara_ptr)
      print *, 'size(charvara_ptr) = ', size(charvara_ptr)
      print *, 'charvara_ptr = ', charvara_ptr

      print *, 'end'

    end program test

I would expect the length, size, and contents of charvara_ptr to be the same as
charvara, but instead I get the following:

     len(charvara) =           10
     size(charvara) =            3
     charvara = 012345678901234567890123456789
     associated =  T
     len(charvara_ptr) =   1708412736
     size(charvara_ptr) =            3
    test(71321,0x7fff9e47c380) malloc: *** mach_vm_map(size=140734901800960)
failed (error code=3)
    *** error: can't allocate region
    *** set a breakpoint in malloc_error_break to debug
    Operating system error: Cannot allocate memory
    Memory allocation failure in xrealloc

    Error termination. Backtrace:
    #0  0x10bb11f8f
    #1  0x10bb127fd
    #2  0x10bb12987
    #3  0x10bb119f9
    #4  0x10bbc8950
    #5  0x10bbbf147
    #6  0x10bbc4b61
    #7  0x10bbc7cd8
    #8  0x10bbc877e
    #9  0x10bb0ccab
    #10  0x10bb0cd6e
>From gcc-bugs-return-633776-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 13:37:56 2019
Return-Path: <gcc-bugs-return-633776-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28859 invoked by alias); 14 Feb 2019 13:37:55 -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 24772 invoked by uid 48); 14 Feb 2019 13:37:51 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89353] New: Unnecessary ENDBR with -mmanual-endbr
Date: Thu, 14 Feb 2019 13:37: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:
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 target_milestone
Message-ID: <bug-89353-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: 2019-02/txt/msg02078.txt.bz2
Content-length: 1722

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89353

            Bug ID: 89353
           Summary: Unnecessary ENDBR with -mmanual-endbr
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---

[hjl@gnu-mic-2 gcc]$ cat x.c
#ifdef FOO
__attribute__ ((cf_check))
#endif
int test(int* val)
{
    int status = 99;

    if((val == 0))
    {
        status = 22;
        goto end;
    }

    extern int x;
    *val = x;

    status = 0;
end:
    return status;
}
[hjl@gnu-mic-2 gcc]$ ./xgcc -B./ -m32 -O2 -fcf-protection x.c -S -mmanual-endbr
[hjl@gnu-mic-2 gcc]$ cat x.s
        .file   "x.c"
        .text
        .p2align 4
        .globl  test
        .type   test, @function
test:
.LFB0:
        .cfi_startproc
        movl    4(%esp), %eax
        testl   %eax, %eax
        je      .L3
        movl    x, %edx
        movl    %edx, (%eax)
        xorl    %eax, %eax
        ret
        .p2align 4,,10
        .p2align 3
.L3:
.L2:
        endbr32 <<<<<<<< This should be there.
        movl    $22, %eax
        ret
        .cfi_endproc
.LFE0:
        .size   test, .-test
        .ident  "GCC: (GNU) 9.0.1 20190214 (experimental)"
        .section        .note.GNU-stack,"",@progbits
        .section        .note.gnu.property,"a"
        .align 4
        .long    1f - 0f
        .long    4f - 1f
        .long    5
0:
        .string  "GNU"
1:
        .align 4
        .long    0xc0000002
        .long    3f - 2f
2:
        .long    0x3
3:
        .align 4
4:
[hjl@gnu-mic-2 gcc]$
>From gcc-bugs-return-633775-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 13:37:34 2019
Return-Path: <gcc-bugs-return-633775-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7568 invoked by alias); 14 Feb 2019 13:37:32 -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 2945 invoked by uid 48); 14 Feb 2019 13:37:28 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/88677] [9 Regression] Divergence in -O2 and -O2 -flto early opts
Date: Thu, 14 Feb 2019 13:37: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: 9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-88677-4-EFd1BeYS3q@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88677-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88677-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: 2019-02/txt/msg02077.txt.bz2
Content-length: 431

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88677

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Patch has been approved, are you going to commit it?
>From gcc-bugs-return-633777-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 13:53:37 2019
Return-Path: <gcc-bugs-return-633777-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124057 invoked by alias); 14 Feb 2019 13:53: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 123996 invoked by uid 48); 14 Feb 2019 13:53:33 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89353] Unnecessary ENDBR with -mmanual-endbr
Date: Thu, 14 Feb 2019 13:53: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:
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:
Message-ID: <bug-89353-4-kyYHzkv3Z5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89353-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89353-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: 2019-02/txt/msg02079.txt.bz2
Content-length: 304

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89353

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to H.J. Lu from comment #0)
> [hjl@gnu-mic-2 gcc]$ cat x.c

> .L2:
> 	endbr32 <<<<<<<< This should be there.
                          This should NOT be there.
> 	movl	$22, %eax
>From gcc-bugs-return-633778-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 13:58:24 2019
Return-Path: <gcc-bugs-return-633778-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1583 invoked by alias); 14 Feb 2019 13:58: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 1438 invoked by uid 48); 14 Feb 2019 13:58:18 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89351] internal compiler error: in exact_div, at poly-int.h:2139
Date: Thu, 14 Feb 2019 13:58: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89351-4-Hx01i69Uks@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89351-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89351-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: 2019-02/txt/msg02080.txt.bz2
Content-length: 1450

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89351

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |rth at gcc dot gnu.org,
                   |                            |torvald at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Cleaned up testcase with -fgnu-tm:

struct S { int a : 5; unsigned b : 7; } c[1][1];

void
foo (int x)
{
}

void
bar (void)
{
  __transaction_relaxed {
    foo (c[0][1].b);
  }
}

Seems the TM code can't deal with bitfields properly:
  _15 = __builtin__ITM_RU1 (&c[0][1].b);
taking address of a bitfield is invalid.  Dunno what exactly it should do,
perhaps tak address of the DECL_BIT_FIELD_REPRESENTATIVE and read the
DECL_BIT_FIELD_REPRESENTATIVE instead and then BIT_FIELD_REF or something
similar out of this?  And similarly deal somehow with the stores to bitfields
(that is actually a read modify write cycle that likely would need to be
exposed.

That said, -fgnu-tm is pretty much unmaintained for years, so maybe best would
be to remove that support (e.g. I believe it doesn't handle internal functions
at all, which appear commonly in the IL these days, doesn't handle various
builtins correctly, etc.).
>From gcc-bugs-return-633779-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 13:58:29 2019
Return-Path: <gcc-bugs-return-633779-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2209 invoked by alias); 14 Feb 2019 13: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 1587 invoked by uid 55); 14 Feb 2019 13:58:24 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89242] [7/8 Regression] ICE in verify_dominators, at dominance.c:1184 (error: dominator of 7 should be 5, not 2)
Date: Thu, 14 Feb 2019 13:58: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: EH, ice-checking, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89242-4-mRWCpGLSgF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89242-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89242-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: 2019-02/txt/msg02081.txt.bz2
Content-length: 883

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89242

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Thu Feb 14 13:57:52 2019
New Revision: 268876

URL: https://gcc.gnu.org/viewcvs?rev=268876&root=gcc&view=rev
Log:
Backport r268873

2019-02-14  Martin Liska  <mliska@suse.cz>

        Backport from mainline
        2019-02-14  Martin Liska  <mliska@suse.cz>

        PR rtl-optimization/89242
        * dce.c (delete_unmarked_insns): Call free_dominance_info we
        process a transformation.
2019-02-14  Martin Liska  <mliska@suse.cz>

        Backport from mainline
        2019-02-14  Martin Liska  <mliska@suse.cz>

        PR rtl-optimization/89242
        * g++.dg/pr89242.C: New test.

Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/dce.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633780-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 14:21:13 2019
Return-Path: <gcc-bugs-return-633780-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60259 invoked by alias); 14 Feb 2019 14:21: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 60099 invoked by uid 48); 14 Feb 2019 14:21:08 -0000
From: "d.sukhonin at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89354] New: Combine pass yields wrong code with -O2 and -msse2 for 32bit target
Date: Thu, 14 Feb 2019 14:21: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: 6.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: d.sukhonin 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-89354-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: 2019-02/txt/msg02082.txt.bz2
Content-length: 4175

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89354

            Bug ID: 89354
           Summary: Combine pass yields wrong code with -O2 and -msse2 for
                    32bit target
           Product: gcc
           Version: 6.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: d.sukhonin at gmail dot com
  Target Milestone: ---

Created attachment 45723
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45723&action=edit
Proposed patch for gcc 6.3 including a test

There is a problem with compiling this code (options -O2 -msse2 -m32):

$ gcc-6 -m32 -O2 -msse2 /src/gcc/gcc/testsuite/gcc.target/i386/sse2-extz_di.c
&& ./a.out
Aborted

#define BIT33 0x100000000ULL

#include <stdint.h>

static uint64_t const MASK33 = (1ULL << 33) - 1;
static uint64_t qword = 0;

static uint64_t
get_low33 (void)
{
  return qword & MASK33;
}

static void
__attribute__((noinline))
set_bit33 (void)
{
  qword = (qword & ~MASK33) | BIT33;
}

static void
main (int, char**)
{
  set_bit33 ();

  if (get_low33 () != BIT33))
    abort ();
}

Investigation showed, that during combine pass for set_bit33 function wrong RTL
is yielded: the second operand of ior is truncated into dword, i.e. 0, and the
bit 33 is never switched on.

I have a fix attached. It does not allow narrowing while matching zero_extract
insn.
That is, before the fix the optimizer was dealing with this RTL inst (Note,
zero_extract:SI):
Trying 5, 6, 7 -> 8:
Failed to match this instruction:
(set (zero_extract:SI (mem/c:DI (plus:SI (reg:SI 87)
                (const:SI (unspec:SI [
                            (symbol_ref:SI ("qword") [flags 0x2]  <var_decl
0x7f6921b205a0 qword>)
                        ] UNSPEC_GOTOFF))) [3 qword+0 S8 A64])
        (const_int 33 [0x21])
        (const_int 0 [0]))
    (const_int 0 [0]))


Now zero_extract has DI mode because the inner instruction mem has larger, DI,
mode size:

Trying 5, 6, 7 -> 8:
Failed to match this instruction:
(set (zero_extract:DI (mem/c:DI (symbol_ref:SI ("qword") [flags 0x2]  <var_decl
0x7f7c3083c480 qword>) [3 qword+0 S8 A64])
        (const_int 33 [0x21])
        (const_int 0 [0]))
    (const_int 4294967296 [0x100000000]))

References:

* get_best_reg_extraction_insn is called here
  https://github.com/gcc-mirror/gcc/blob/master/gcc/combine.c#L7819

* zero_extract is tried out
  https://github.com/gcc-mirror/gcc/blob/master/gcc/combine.c#L7983

$ gcc-6 -v
Using built-in specs.
COLLECT_GCC=gcc-6
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 6.3.0-18+deb9u1'
--with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs
--enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-6 --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 --disable-browser-plugin --enable-java-awt=gtk
--enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-amd64/jre
--enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-amd64
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-amd64
--with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--with-target-system-zlib --enable-objc-gc=auto --enable-multiarch
--with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32
--enable-multilib --with-tune=generic --enable-checking=release
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)

It is reproduced on all versions >= 6.3.
I didn't test on older ones.
>From gcc-bugs-return-633781-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 14:22:36 2019
Return-Path: <gcc-bugs-return-633781-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64435 invoked by alias); 14 Feb 2019 14:22: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 64358 invoked by uid 48); 14 Feb 2019 14:22:31 -0000
From: "tschwinge at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/72715] ICE in gfc_trans_omp_do, at fortran/trans-openmp.c:3164
Date: Thu, 14 Feb 2019 14:22: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.0
X-Bugzilla-Keywords: openacc
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tschwinge at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: tschwinge at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc assigned_to
Message-ID: <bug-72715-4-HLlcoTx6MG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-72715-4@http.gcc.gnu.org/bugzilla/>
References: <bug-72715-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: 2019-02/txt/msg02083.txt.bz2
Content-length: 783

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72715

Thomas Schwinge <tschwinge at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-invalid-code, openmp |openacc
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2016-07-27 00:00:00         |2019-2-14
                 CC|                            |burnus at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |tschwinge at gcc dot gnu.org

--- Comment #5 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Thanks for the report (Gerhard), and patch (Cesar); ICE addressed in trunk
r268875, like done for OpenMP in PR60127, trunk r210331.
>From gcc-bugs-return-633782-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 14:42:42 2019
Return-Path: <gcc-bugs-return-633782-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58451 invoked by alias); 14 Feb 2019 14:42:41 -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 58371 invoked by uid 55); 14 Feb 2019 14:42:36 -0000
From: "hubicka at ucw dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/89307] -fprofile-generate binary may be too slow in multithreaded environment due to cache-line conflicts on counters
Date: Thu, 14 Feb 2019 14:42:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: gcov-profile
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: hubicka at ucw dot cz
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89307-4-zpoTmyG9Rf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89307-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89307-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: 2019-02/txt/msg02084.txt.bz2
Content-length: 510

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89307

--- Comment #6 from Jan Hubicka <hubicka at ucw dot cz> ---
> Ah now, it's really doing sampling. I guess it can lead to quite some profile
> inconsistencies..
Yep, it is not coolest solution. I would not worry too much about
precision loss unless you get some weird interference between the
sampling counter and actual program behaviour.  Adding conditionals
everywhere is not very good and I am not sure how well CPU will predict
such branches.

Honza
>From gcc-bugs-return-633783-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 14:47:19 2019
Return-Path: <gcc-bugs-return-633783-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95237 invoked by alias); 14 Feb 2019 14:47:18 -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 95100 invoked by uid 48); 14 Feb 2019 14:47:09 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89355] New: Unnecessary ENDBR
Date: Thu, 14 Feb 2019 14:47: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:
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-89355-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: 2019-02/txt/msg02085.txt.bz2
Content-length: 1745

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89355

            Bug ID: 89355
           Summary: Unnecessary ENDBR
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: crazylht at gmail dot com, xuepeng.guo at intel dot com
  Target Milestone: ---
            Target: i386,x86-64

[hjl@gnu-cfl-2 gcc]$ cat x.i
int
test (int* val)
{
  int status = 99;

  if((val == 0))
    {
      status = 22;
      goto end;
    }

  extern int x;
  *val = x;

  status = 0;
end:
  return status;
}

[hjl@gnu-cfl-2 gcc]$ ./xgcc -B./ -S -O2 -fcf-protection  x.i
[hjl@gnu-cfl-2 gcc]$ cat x.s
        .file   "x.i"
        .text
        .p2align 4
        .globl  test
        .type   test, @function
test:
.LFB0:
        .cfi_startproc
        endbr64
        testq   %rdi, %rdi
        je      .L3
        movl    x(%rip), %eax
        movl    %eax, (%rdi)
        xorl    %eax, %eax
        ret
        .p2align 4,,10
        .p2align 3
.L3:
.L2:
        endbr64  <<< Why is ENDBR here?  There is no indirect branch.
        movl    $22, %eax
        ret
        .cfi_endproc
.LFE0:
        .size   test, .-test
        .ident  "GCC: (GNU) 9.0.1 20190214 (experimental)"
        .section        .note.GNU-stack,"",@progbits
        .section        .note.gnu.property,"a"
        .align 8
        .long    1f - 0f
        .long    4f - 1f
        .long    5
0:
        .string  "GNU"
1:
        .align 8
        .long    0xc0000002
        .long    3f - 2f
2:
        .long    0x3
3:
        .align 8
4:
[hjl@gnu-cfl-2 gcc]$
>From gcc-bugs-return-633784-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 14:49:45 2019
Return-Path: <gcc-bugs-return-633784-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99809 invoked by alias); 14 Feb 2019 14:49: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 99694 invoked by uid 55); 14 Feb 2019 14:49:41 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/88677] [9 Regression] Divergence in -O2 and -O2 -flto early opts
Date: Thu, 14 Feb 2019 14:49: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: 9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88677-4-tLFQtipVHX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88677-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88677-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: 2019-02/txt/msg02086.txt.bz2
Content-length: 333

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88677

--- Comment #16 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Author: hubicka
Date: Thu Feb 14 14:49:03 2019
New Revision: 268880

URL: https://gcc.gnu.org/viewcvs?rev=268880&root=gcc&view=rev
Log:
        PR lto/88677
Fix PR number.

Modified:
    trunk/gcc/ChangeLog
>From gcc-bugs-return-633785-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 14:50:17 2019
Return-Path: <gcc-bugs-return-633785-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104486 invoked by alias); 14 Feb 2019 14:50: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 104414 invoked by uid 48); 14 Feb 2019 14:50:12 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/88677] [9 Regression] Divergence in -O2 and -O2 -flto early opts
Date: Thu, 14 Feb 2019 14:50: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: 9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-88677-4-LmZgQBH2yi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88677-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88677-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: 2019-02/txt/msg02087.txt.bz2
Content-length: 424

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88677

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #17 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-633786-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 14:54:37 2019
Return-Path: <gcc-bugs-return-633786-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109708 invoked by alias); 14 Feb 2019 14:54: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 109647 invoked by uid 48); 14 Feb 2019 14:54:33 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89354] [7/8/9 Regression] Combine pass yields wrong code with -O2 and -msse2 for 32bit target
Date: Thu, 14 Feb 2019 14:54: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: 6.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone short_desc everconfirmed
Message-ID: <bug-89354-4-y7i19yaNZS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89354-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89354-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: 2019-02/txt/msg02088.txt.bz2
Content-length: 1208

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89354

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-14
                 CC|                            |jakub at gcc dot gnu.org
   Target Milestone|---                         |7.5
            Summary|Combine pass yields wrong   |[7/8/9 Regression] Combine
                   |code with -O2 and -msse2    |pass yields wrong code with
                   |for 32bit target            |-O2 and -msse2 for 32bit
                   |                            |target
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r228231, will have a look.

Slightly simplified testcase:
static unsigned long long q = 0;

__attribute__((noipa)) static void
bar (void)
{
  q = (q & ~0x1ffffffffULL) | 0x100000000ULL;
}

int
main ()
{
  __asm volatile ("" : "+m" (q));
  bar ();
  if (q != 0x100000000ULL)
    __builtin_abort ();
  return 0;
}
>From gcc-bugs-return-633787-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 14:55:24 2019
Return-Path: <gcc-bugs-return-633787-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116240 invoked by alias); 14 Feb 2019 14:55: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 115496 invoked by uid 48); 14 Feb 2019 14:55:18 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89354] [7/8/9 Regression] Combine pass yields wrong code with -O2 and -msse2 for 32bit target
Date: Thu, 14 Feb 2019 14:55: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: 6.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89354-4-GJfs4FCSuh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89354-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89354-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: 2019-02/txt/msg02089.txt.bz2
Content-length: 143

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89354

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
-mno-stv also cures it.
>From gcc-bugs-return-633788-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 14:58:41 2019
Return-Path: <gcc-bugs-return-633788-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3144 invoked by alias); 14 Feb 2019 14:58: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 3108 invoked by uid 48); 14 Feb 2019 14:58:37 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89356] New: [9 Regression] sorry, unimplemented: mangling implicit_conv_expr in nodejs8 package since r268321
Date: Thu, 14 Feb 2019 14:58: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: unknown
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 target_milestone
Message-ID: <bug-89356-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: 2019-02/txt/msg02090.txt.bz2
Content-length: 1026

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89356

            Bug ID: 89356
           Summary: [9 Regression] sorry, unimplemented: mangling
                    implicit_conv_expr in nodejs8 package since r268321
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---

Starting from the revision I see:

$ cat sorry.ii
typedef unsigned a;
template <typename> struct h {};
template <int, class b> auto c(b f) -> h<decltype(f(a{0}))>;
typedef char byte;
enum d : byte;
d g(byte);
h<d> e = c<6>(g);

$ g++ sorry.ii -c
sorry.ii: In instantiation of ‘h<decltype (f(((unsigned int)0)))> c(b) [with
int <anonymous> = 6; b = d (*)(char)]’:
sorry.ii:3:30: sorry, unimplemented: mangling implicit_conv_expr
    3 | template <int, class b> auto c(b f) -> h<decltype(f(a{0}))>;
      |
>From gcc-bugs-return-633789-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 14:59:06 2019
Return-Path: <gcc-bugs-return-633789-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4305 invoked by alias); 14 Feb 2019 14:59: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 4097 invoked by uid 48); 14 Feb 2019 14:58:57 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89356] [9 Regression] sorry, unimplemented: mangling implicit_conv_expr in nodejs8 package since r268321
Date: Thu, 14 Feb 2019 14:59: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: unknown
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_known_to_work keywords cf_reconfirmed_on cc everconfirmed target_milestone cf_known_to_fail
Message-ID: <bug-89356-4-Tcn9rLHyP5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89356-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89356-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: 2019-02/txt/msg02091.txt.bz2
Content-length: 711

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89356

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
      Known to work|                            |8.2.0
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|                            |2019-02-14
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1
   Target Milestone|---                         |9.0
      Known to fail|                            |9.0
>From gcc-bugs-return-633790-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 15:01:21 2019
Return-Path: <gcc-bugs-return-633790-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22713 invoked by alias); 14 Feb 2019 15:01: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 21709 invoked by uid 48); 14 Feb 2019 15:01:05 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89341] [7/8/9 Regression] ICE in get, at cgraph.h:1332
Date: Thu, 14 Feb 2019 15:01: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89341-4-mFnjnWhKep@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89341-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89341-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: 2019-02/txt/msg02092.txt.bz2
Content-length: 1521

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89341

--- Comment #4 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
The -Wattributes warning would be emitted here in cgraphunit.c:
process_function_and_variable_attributes:

777           if (lookup_attribute ("weakref", DECL_ATTRIBUTES (decl))
778               && (node->definition && !node->alias))
779             {
780               warning_at (DECL_SOURCE_LOCATION (node->decl),
OPT_Wattributes,
781                           "%<weakref%> attribute ignored"
782                           " because function is defined");
783               DECL_WEAK (decl) = 0;
784               DECL_ATTRIBUTES (decl) = remove_attribute ("weakref",
785                                                          DECL_ATTRIBUTES
(decl));
786             }

but the alias stops the clause from firing:

(gdb) p node
$3 = <cgraph_node * 0x7ffff18af2d0 "foo"/0>
(gdb) p node->definition
$4 = 1
(gdb) p node->alias
$5 = 1

The alias exclusion was added to the warning in r174952 (aka
c70f46b057cd12973d33c01c8fa0da5c14ba3944) by Honza:

@@ -880,7 +977,7 @@ process_function_and_variable_attributes (struct
cgraph_node *first,
             cgraph_mark_needed_node (node);
        }
       if (lookup_attribute ("weakref", DECL_ATTRIBUTES (decl))
-         && node->local.finalized)
+         && (node->local.finalized && !node->alias))
        {
          warning_at (DECL_SOURCE_LOCATION (node->decl), OPT_Wattributes,
                      "%<weakref%> attribute ignored"
>From gcc-bugs-return-633791-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 15:03:13 2019
Return-Path: <gcc-bugs-return-633791-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36962 invoked by alias); 14 Feb 2019 15: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 36810 invoked by uid 48); 14 Feb 2019 15:03:06 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89356] [9 Regression] sorry, unimplemented: mangling implicit_conv_expr in nodejs8 package since r268321
Date: Thu, 14 Feb 2019 15:03: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: unknown
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-89356-4-qwZwE2Rt4D@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89356-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89356-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: 2019-02/txt/msg02093.txt.bz2
Content-length: 674

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89356

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |mpolacek at gcc dot gnu.org

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Amusingly, we already handle 
3440   /* Strip a conversion added by convert_nontype_argument.  */
3441   if (TREE_CODE (node) == IMPLICIT_CONV_EXPR)
3442     node = TREE_OPERAND (node, 0);

in write_template_arg.
>From gcc-bugs-return-633792-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 15:05:00 2019
Return-Path: <gcc-bugs-return-633792-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38971 invoked by alias); 14 Feb 2019 15:05: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 38897 invoked by uid 48); 14 Feb 2019 15:04:56 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89356] [9 Regression] sorry, unimplemented: mangling implicit_conv_expr in nodejs8 package since r268321
Date: Thu, 14 Feb 2019 15:05: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: unknown
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority
Message-ID: <bug-89356-4-T8YoJWhV3E@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89356-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89356-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: 2019-02/txt/msg02094.txt.bz2
Content-length: 292

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89356

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
>From gcc-bugs-return-633793-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 15:07:45 2019
Return-Path: <gcc-bugs-return-633793-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42363 invoked by alias); 14 Feb 2019 15:07:44 -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 42284 invoked by uid 48); 14 Feb 2019 15:07:40 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89354] [7/8/9 Regression] Combine pass yields wrong code with -O2 and -msse2 for 32bit target
Date: Thu, 14 Feb 2019 15: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: 6.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-89354-4-orYqNzPYgg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89354-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89354-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: 2019-02/txt/msg02095.txt.bz2
Content-length: 378

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89354

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
>From gcc-bugs-return-633794-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 15:19:01 2019
Return-Path: <gcc-bugs-return-633794-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114862 invoked by alias); 14 Feb 2019 15:19: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 114726 invoked by uid 48); 14 Feb 2019 15:18:55 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89341] [7/8/9 Regression] ICE in get, at cgraph.h:1332
Date: Thu, 14 Feb 2019 15:19: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89341-4-HUuV0iYn2v@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89341-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89341-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: 2019-02/txt/msg02096.txt.bz2
Content-length: 548

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89341

--- Comment #5 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Both decls of "foo" are using the same FUNCTION_DECL.

node->alias is set in varasm.c: assemble_alias here:

5991        cgraph_node::get_create (decl)->alias = true;

when processing the second decl of "foo" here:

 void foo ();

since the FUNCTION_DECL for "foo" has an "alias" attribute, given to it by
handle_weakref_attribute when parsing the first decl of here:

__attribute__((weakref("bar")))
static void foo () { }
>From gcc-bugs-return-633795-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 15:29:23 2019
Return-Path: <gcc-bugs-return-633795-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12430 invoked by alias); 14 Feb 2019 15:29: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 12311 invoked by uid 48); 14 Feb 2019 15:29:17 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89335] [9 Regression] ICE with LTO -Wsuggest-final-methods: ICE during IPA pass devirt in types_same_for_odr, at ipa-devirt.c:391
Date: Thu, 14 Feb 2019 15:29: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: dependson
Message-ID: <bug-89335-4-2pNNWnWMEg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89335-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89335-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: 2019-02/txt/msg02097.txt.bz2
Content-length: 656

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89335

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |87089

--- Comment #2 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
I think it is also caused by fact that the virtual destructor has no
DECL_VIRTUAL flag.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87089
[Bug 87089] [9 regression] tree check: expected class 'type', have
'declaration' (namespace_decl) in type_with_linkage_p, at ipa-utils.h
>From gcc-bugs-return-633796-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 15:49:13 2019
Return-Path: <gcc-bugs-return-633796-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83886 invoked by alias); 14 Feb 2019 15:49: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 74985 invoked by uid 48); 14 Feb 2019 15:49:08 -0000
From: "kretz at kde dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89357] New: alignas for automatic variables with alignment greater than 16 fails
Date: Thu, 14 Feb 2019 15:49: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kretz at kde dot 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 cf_gcctarget
Message-ID: <bug-89357-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: 2019-02/txt/msg02098.txt.bz2
Content-length: 1476

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89357

            Bug ID: 89357
           Summary: alignas for automatic variables with alignment greater
                    than 16 fails
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kretz at kde dot org
  Target Milestone: ---
            Target: aarch64-*-*, arm-*-*

Test case (cf. https://godbolt.org/z/ubJge4):

void g(int &);

auto f0() {
  __attribute__((aligned(128))) int x;
  g(x);
}

auto f1() {
  alignas(128) int x;
  g(x);
}

In f0, x is aligned on 128 Bytes, in f1 it is aligned on 16 Bytes. GCC emits
the warning "requested alignment 128 is larger than 16 [-Wattributes]". The
warning is not helpful as it only states an obvious fact (128 > 16). In any
case, it is unclear why the alignment is rejected in the first place.

http://eel.is/c++draft/dcl.align#2.2 says "[...] the implementation does not
support that alignment in the context of the declaration, the program is
ill-formed". Thus, compiling with alignment of 16 is non-conforming. If the
alignment is unsupported this needs to be a error.

My preferred solution would be to just align x in f1 to 128 Bytes. Why should
alignas and the aligned attribute behave differently?

On x86, power, mips, and msp430 (tested on Compiler Explorer) f0 and f1 are
equivalent.
>From gcc-bugs-return-633797-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 15:51:22 2019
Return-Path: <gcc-bugs-return-633797-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30798 invoked by alias); 14 Feb 2019 15:51: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 30737 invoked by uid 48); 14 Feb 2019 15:51:16 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/89349] raised STORAGE_ERROR : stack overflow or erroneous memory access when building GCC 8 branch with GCC master
Date: Thu, 14 Feb 2019 15:51: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-89349-4-9cJo9TOXfD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89349-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89349-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: 2019-02/txt/msg02099.txt.bz2
Content-length: 601

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89349

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2019-02-14
                 CC|                            |ebotcazou at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
What happens without --disable-bootstrap?
>From gcc-bugs-return-633798-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 16:23:28 2019
Return-Path: <gcc-bugs-return-633798-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85566 invoked by alias); 14 Feb 2019 16:23: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 83180 invoked by uid 48); 14 Feb 2019 16:23:23 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89354] [7/8/9 Regression] Combine pass yields wrong code with -O2 and -msse2 for 32bit target
Date: Thu, 14 Feb 2019 16:23: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: 6.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89354-4-E1p0FpQOT8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89354-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89354-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: 2019-02/txt/msg02100.txt.bz2
Content-length: 1475

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89354

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45724
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45724&action=edit
gcc9-pr89354.patch

Untested fix.  I think the bug is in make_extraction, which for VOIDmode,
(mem:DI ...), 0, NULL_RTX, 33, 1, 1, 0 arguments returns strangely (for 32-bit
target) (zero_extract:SI (mem:DI ...) (const_int 33) (const_int 0)).  That
looks bogus to me, because those 33 bits can't fit into SImode.

Then make_field_assignment does:
  assign = make_extraction (VOIDmode, dest, pos, NULL_RTX, len, 1, 1, 0);
  if (assign == 0)
    return x;

  machine_mode new_mode = (GET_CODE (assign) == STRICT_LOW_PART
                           ? GET_MODE (XEXP (assign, 0)) : GET_MODE (assign));

which sets new_mode to SImode too, and
  src = canon_reg_for_combine (simplify_shift_const (NULL_RTX, LSHIFTRT,
                                                     src_mode, other, pos),
                               dest);
  src = force_to_mode (src, new_mode,
                       len >= HOST_BITS_PER_WIDE_INT
                       ? HOST_WIDE_INT_M1U
                       : (HOST_WIDE_INT_1U << len) - 1,
                       0);
other is (const_int 0x100000000) and as pos is 0, the first call just returns
the same constant, but force_to_mode turns it into const0_rtx, which is where
we lose the |= 0x100000000ULL.
>From gcc-bugs-return-633799-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 16:32:31 2019
Return-Path: <gcc-bugs-return-633799-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117532 invoked by alias); 14 Feb 2019 16:32: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 117114 invoked by uid 48); 14 Feb 2019 16:32:26 -0000
From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/89308] [8 only] The sanitizers do no longer work on GCC 8 with newer kernels
Date: Thu, 14 Feb 2019 16:32: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.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: seurer at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89308-4-RVWEazDmRB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89308-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89308-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: 2019-02/txt/msg02101.txt.bz2
Content-length: 253

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89308

--- Comment #3 from seurer at gcc dot gnu.org ---
Created attachment 45725
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45725&action=edit
Patch to disable ALSR for asan/tsan on powerpc64
>From gcc-bugs-return-633800-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 16:33:32 2019
Return-Path: <gcc-bugs-return-633800-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120282 invoked by alias); 14 Feb 2019 16:33: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 120132 invoked by uid 48); 14 Feb 2019 16:33:24 -0000
From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/89308] [8 only] The sanitizers do no longer work on GCC 8 with newer kernels
Date: Thu, 14 Feb 2019 16:33: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.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: seurer at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89308-4-6V1socJXaI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89308-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89308-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: 2019-02/txt/msg02102.txt.bz2
Content-length: 245

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89308

--- Comment #4 from seurer at gcc dot gnu.org ---
The above patch pulls in just enough of the changes from trunk to disable ASLR
for powerpc64 while leaving things alone for everyone else.
>From gcc-bugs-return-633801-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 16:39:40 2019
Return-Path: <gcc-bugs-return-633801-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29838 invoked by alias); 14 Feb 2019 16:39: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 29728 invoked by uid 48); 14 Feb 2019 16:39:35 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/89308] [8 only] The sanitizers do no longer work on GCC 8 with newer kernels
Date: Thu, 14 Feb 2019 16:39: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.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89308-4-yJsGatxXwz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89308-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89308-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: 2019-02/txt/msg02103.txt.bz2
Content-length: 676

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89308

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Ugh, does this mean if ASLR is enabled you get
"WARNING: Program is being run with address space layout "
"randomization (ASLR) enabled which prevents the thread and "
"memory sanitizers from working on powerpc64le.\n"
"ASLR will be disabled and the program re-executed.\n"
message from every -fsanitize=address/-fsanitize=thread linked program?
If so, that is extremely nasty.  Couldn't that be done only if you determine
the areas you need to mmap the shadow etc. memory can't be mapped?
Of course, that applies to trunk as well as possible backport.
>From gcc-bugs-return-633802-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 16:44:16 2019
Return-Path: <gcc-bugs-return-633802-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36941 invoked by alias); 14 Feb 2019 16:44: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 36868 invoked by uid 48); 14 Feb 2019 16:44:05 -0000
From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89330] IPA inliner touches released cgraph_edges
Date: Thu, 14 Feb 2019 16:44: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jamborm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89330-4-nKYh9H57Kb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89330-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89330-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: 2019-02/txt/msg02104.txt.bz2
Content-length: 1258

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89330

Martin Jambor <jamborm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jamborm at gcc dot gnu.org

--- Comment #4 from Martin Jambor <jamborm at gcc dot gnu.org> ---
The indirect inlining thingy was indeed written by me, that is true,
but that was before speculative inlining was creating and disposing of
edges at difficult to predict times.  What happens is that:

1. In the course of inlining an edge, we call ipa_propagate_indirect_call_infos
   to adjust jump functions and to add newly discovered direct edges to
   new_edges vector so that they can be added to the heap later.

2. The speculation code in try_make_edge_direct_virtual_call decides
   to create speculation, so a new speculative edge is created and
   added to the vector.

3. Immediately after calling ipa_propagate_indirect_call_infos,
   check_speculations is called, which finds the edge
   !speculation_useful_p and removes it.  But the edge already is in
   the vector.

Let me see if I can add the respective usefulness test to the code
deciding to speculate.
>From gcc-bugs-return-633803-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 17:16:54 2019
Return-Path: <gcc-bugs-return-633803-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119116 invoked by alias); 14 Feb 2019 17:16: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 119049 invoked by uid 48); 14 Feb 2019 17:16:43 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/89349] raised STORAGE_ERROR : stack overflow or erroneous memory access when building GCC 8 branch with GCC master
Date: Thu, 14 Feb 2019 17:16: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-89349-4-gGcGc16rN7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89349-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89349-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: 2019-02/txt/msg02105.txt.bz2
Content-length: 548

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89349

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I thought that typically you can't build older gcc with newer gcc when using
ada, at least I remember seeing issues with gcc 7 built with gcc 8 too when ada
is enabled.
>From gcc-bugs-return-633804-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 17:18:00 2019
Return-Path: <gcc-bugs-return-633804-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120905 invoked by alias); 14 Feb 2019 17:17: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 120798 invoked by uid 55); 14 Feb 2019 17:17:54 -0000
From: "tnfchris at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88850] [9 Regression] Hard register coming out of expand causing reload to fail.
Date: Thu, 14 Feb 2019 17:17: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tnfchris at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: tnfchris at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88850-4-Qta8QNYLkh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88850-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88850-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: 2019-02/txt/msg02106.txt.bz2
Content-length: 1237

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88850

--- Comment #11 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
Author: tnfchris
Date: Thu Feb 14 17:17:20 2019
New Revision: 268884

URL: https://gcc.gnu.org/viewcvs?rev=268884&root=gcc&view=rev
Log:
Arm: Add HF modes to ANY iterators 

The iterator ANY64 are used in various general split patterns and is supposed
to contain all 64 bit modes.

For some reason the pattern has HI but not HF.  This adds HF so that general
64 bit splits are generated for these modes as well.  These are required
by various split patterns that expect them to be there.

gcc/ChangeLog:

        PR target/88850
        * config/arm/iterators.md (ANY64): Add V4HF.

gcc/testsuite/ChangeLog:

        PR target/88850
        * gcc.target/arm/pr88850-2.c: New test.
        * lib/target-supports.exp
        (check_effective_target_arm_neon_softfp_fp16_ok_nocache,
        check_effective_target_arm_neon_softfp_fp16_ok,
        add_options_for_arm_neon_softfp_fp16): New.


Added:
    trunk/gcc/testsuite/gcc.target/arm/pr88850-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/iterators.md
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/lib/target-supports.exp
>From gcc-bugs-return-633805-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 17:18:55 2019
Return-Path: <gcc-bugs-return-633805-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123190 invoked by alias); 14 Feb 2019 17:18: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 123105 invoked by uid 48); 14 Feb 2019 17:18:50 -0000
From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/89308] [8 only] The sanitizers do no longer work on GCC 8 with newer kernels
Date: Thu, 14 Feb 2019 17:18: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.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: seurer at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89308-4-oM5CXk6ffR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89308-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89308-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: 2019-02/txt/msg02107.txt.bz2
Content-length: 248

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89308

--- Comment #6 from seurer at gcc dot gnu.org ---
I think it only comes out if you specify the verbose sanitizer option on the
compilation.  If I can remember how to specify that I will try it.
>From gcc-bugs-return-633806-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 17:21:05 2019
Return-Path: <gcc-bugs-return-633806-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125569 invoked by alias); 14 Feb 2019 17:21:04 -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 125456 invoked by uid 48); 14 Feb 2019 17:21:00 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/89308] [8 only] The sanitizers do no longer work on GCC 8 with newer kernels
Date: Thu, 14 Feb 2019 17:21: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.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89308-4-8Fgg91KaL8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89308-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89308-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: 2019-02/txt/msg02108.txt.bz2
Content-length: 334

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89308

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Still, a reexec is costly and might break some programs.  If the ASLR makes
problems only sometimes, it might be better to try to map stuff it wants and if
that fails, before reporting failure try this CheckASLR.
>From gcc-bugs-return-633807-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 17:25:45 2019
Return-Path: <gcc-bugs-return-633807-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2109 invoked by alias); 14 Feb 2019 17:25: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 1968 invoked by uid 55); 14 Feb 2019 17:25:40 -0000
From: "hubicka at ucw dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89330] IPA inliner touches released cgraph_edges
Date: Thu, 14 Feb 2019 17:25: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at ucw dot cz
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89330-4-fw8pcnQngo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89330-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89330-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: 2019-02/txt/msg02109.txt.bz2
Content-length: 470

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89330

--- Comment #5 from Jan Hubicka <hubicka at ucw dot cz> ---
> Let me see if I can add the respective usefulness test to the code
> deciding to speculate.

I see, it is mine, sorry for blaming you :)

One alternative would be also to put the indirect part of pseculative
edge to the vector and lookup the direct one if speculation survives.
But checking prior creation should work too.

Thanks for looking into this!
>From gcc-bugs-return-633808-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 17:39:01 2019
Return-Path: <gcc-bugs-return-633808-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69116 invoked by alias); 14 Feb 2019 17:39: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 69021 invoked by uid 48); 14 Feb 2019 17:38:57 -0000
From: "rafael at espindo dot la" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89337] Bogus "exceeds maximum object size" on unreachable code
Date: Thu, 14 Feb 2019 17:39: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: 9.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rafael at espindo dot la
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created
Message-ID: <bug-89337-4-n6MhvMNbtm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89337-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89337-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: 2019-02/txt/msg02110.txt.bz2
Content-length: 557

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89337

Rafael Avila de Espindola <rafael at espindo dot la> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45710|0                           |1
        is obsolete|                            |

--- Comment #7 from Rafael Avila de Espindola <rafael at espindo dot la> ---
Created attachment 45726
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45726&action=edit
testcase that fails on trunk
>From gcc-bugs-return-633809-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 17:40:53 2019
Return-Path: <gcc-bugs-return-633809-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80016 invoked by alias); 14 Feb 2019 17:40: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 79935 invoked by uid 48); 14 Feb 2019 17:40:49 -0000
From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/89308] [8 only] The sanitizers do no longer work on GCC 8 with newer kernels
Date: Thu, 14 Feb 2019 17:40: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.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: seurer at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89308-4-il5t7PKAWs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89308-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89308-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: 2019-02/txt/msg02111.txt.bz2
Content-length: 379

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89308

--- Comment #8 from seurer at gcc dot gnu.org ---
This is the way it came from upstream (llvm) and the solution for powerpc64 was
copied from what aarch64 did before.

What is really needed is a workable solution from whoever does sanitizer
development that works despite the huge ranges of addresses that ASLR now uses.
>From gcc-bugs-return-633811-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 17:44:59 2019
Return-Path: <gcc-bugs-return-633811-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1382 invoked by alias); 14 Feb 2019 17:44: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 122584 invoked by uid 48); 14 Feb 2019 17:44:50 -0000
From: "rafael at espindo dot la" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88443] [meta-bug] bogus/missing -Wstringop-overflow warnings
Date: Thu, 14 Feb 2019 17:44:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rafael at espindo dot la
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 resolution
Message-ID: <bug-88443-4-CQ07RmJc82@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88443-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88443-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: 2019-02/txt/msg02113.txt.bz2
Content-length: 482

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443
Bug 88443 depends on bug 89337, which changed state.

Bug 89337 Summary: Bogus "exceeds maximum object size" on unreachable code
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89337

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|DUPLICATE                   |---
>From gcc-bugs-return-633810-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 17:44:59 2019
Return-Path: <gcc-bugs-return-633810-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126105 invoked by alias); 14 Feb 2019 17:44: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 122128 invoked by uid 48); 14 Feb 2019 17:44:50 -0000
From: "rafael at espindo dot la" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89337] Bogus "exceeds maximum object size" on unreachable code
Date: Thu, 14 Feb 2019 17:44: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: 9.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rafael at espindo dot la
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_status resolution
Message-ID: <bug-89337-4-nEagLEFOG8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89337-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89337-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: 2019-02/txt/msg02112.txt.bz2
Content-length: 1166

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89337

Rafael Avila de Espindola <rafael at espindo dot la> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|DUPLICATE                   |---

--- Comment #8 from Rafael Avila de Espindola <rafael at espindo dot la> ---
The previous testcase passes on trunk, but the original doesn't.

The original has a "if (boost::algorithm::ends_with(name, "%2A"))" instead of a
direct "if(name.size() > 3)".

The reduced testcase uses a find to avoid boost::algorithm and keep the
testcase size sane.

In the end it seems that gcc is doing an heroic effort to understand the code
and issue an warning if it can't prove that the bogus memset is not reached. I
don't think that is workable in practice (for sure not in theory): There is
always something that is obvious to the developer but not to gcc.

IMHO gcc should be issuing warnings only when it shows that a statement can be
reached, not when it fails to show the statement cannot be reached.
>From gcc-bugs-return-633812-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 17:49:14 2019
Return-Path: <gcc-bugs-return-633812-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72347 invoked by alias); 14 Feb 2019 17:49: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 41619 invoked by uid 55); 14 Feb 2019 17:48:45 -0000
From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug d/87864] libdruntime doesn't link with /bin/ld before Solaris 11.4
Date: Thu, 14 Feb 2019 17:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: d
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ro at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ro at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87864-4-WDVadnWt99@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87864-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87864-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: 2019-02/txt/msg02114.txt.bz2
Content-length: 3182

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87864

--- Comment #10 from Rainer Orth <ro at gcc dot gnu.org> ---
Author: ro
Date: Thu Feb 14 17:47:49 2019
New Revision: 268886

URL: https://gcc.gnu.org/viewcvs?rev=268886&root=gcc&view=rev
Log:
Provide __start_minfo/__stop_minfo for linkers that don't (PR d/87864)

        libphobos:
        PR d/87864
        * configure.ac (DRTSTUFF_SPEC): New variable.
        Substitute it.
        * libdruntime/m4/druntime/os.m4 (DRUNTIME_OS_MINFO_BRACKETING):
        New automake conditional.
        * configure: Regenerate.
        * libdruntime/gcc/drtstuff.c: New file.
        * libdruntime/Makefile.am [!DRUNTIME_OS_MINFO_BRACKETING]
        (DRTSTUFF, toolexeclib_DATA): New variables.
        (gcc/drtbegin.lo, gcc/drtend.lo): New rules.
        (libgdruntime_la_LDFLAGS): Use -Wc instead of -Xcompiler.
        Add -dstartfiles -B../src -Bgcc.
        (libgdruntime_la_DEPENDENCIES): New variable.
        (unittest_static_LDFLAGS): Use -Wc instead of -Xcompiler.
        (libgdruntime_t_la_LDFLAGS): Likewise.
        (unittest_LDFLAGS): Likewise.
        * src/Makefile.am (libgphobos_la_LDFLAGS): Use -Wc instead of
        -Xcompiler.
        Add -dstartfiles -B../libdruntime/gcc.
        (unittest_static_LDFLAGS): Use -Wc instead of -Xcompiler.
        (libgphobos_t_la_LDFLAGS): Likewise.
        (unittest_LDFLAGS): Likewise.
        * libdruntime/Makefile.in, src/Makefile.in: Regenerate.
        * Makefile.in, testsuite/Makefile.in: Regenerate.
        * libdruntime/rt/sections_elf_shared.d (Minfo_Bracketing): Don't
        assert.
        * libdruntime/gcc/config.d.in (Minfo_Bracketing): Remove.
        * src/drtstuff.spec: New file.
        * src/libgphobos.spec.in (DRTSTUFF_SPEC): Substitute.
        (*lib): Only pass SPEC_PHOBOS_DEPS without -debuglib, -defaultlib,
        -nophoboslib.
        * testsuite/testsuite_flags.in <--gdcldflags> (GDCLDFLAGS): Add
        -B${BUILD_DIR}/libdruntime/gcc.

        gcc/d:
        PR d/87864
        * lang.opt (dstartfiles): New option.
        * d-spec.cc (need_spec): New variable.
        (lang_specific_driver) <OPT_dstartfiles>: Enable need_spec.
        (lang_specific_pre_link): Also load libgphobos.spec if need_spec.

        gcc/testsuite:
        PR d/87864
        * lib/gdc.exp (gdc_link_flags): Add path to drtbegin.o/drtend.o if
        present.

Added:
    trunk/libphobos/libdruntime/gcc/drtstuff.c
    trunk/libphobos/src/drtstuff.spec
Modified:
    trunk/gcc/d/ChangeLog
    trunk/gcc/d/d-spec.cc
    trunk/gcc/d/lang.opt
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/lib/gdc.exp
    trunk/libphobos/ChangeLog
    trunk/libphobos/configure   (contents, props changed)
    trunk/libphobos/configure.ac
    trunk/libphobos/libdruntime/Makefile.am
    trunk/libphobos/libdruntime/Makefile.in
    trunk/libphobos/libdruntime/gcc/config.d.in
    trunk/libphobos/libdruntime/rt/sections_elf_shared.d
    trunk/libphobos/m4/druntime/os.m4
    trunk/libphobos/src/Makefile.am
    trunk/libphobos/src/Makefile.in
    trunk/libphobos/src/libgphobos.spec.in
    trunk/libphobos/testsuite/testsuite_flags.in   (contents, props changed)
>From gcc-bugs-return-633813-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 17:53:27 2019
Return-Path: <gcc-bugs-return-633813-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93624 invoked by alias); 14 Feb 2019 17:53:26 -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 93500 invoked by uid 48); 14 Feb 2019 17:53:22 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/78147] The -Wshadow warning is too aggressive with constructor parameters
Date: Thu, 14 Feb 2019 17: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: 6.2.0
X-Bugzilla-Keywords: diagnostic
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: see_also
Message-ID: <bug-78147-4-sbzSdO0E4a@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78147-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78147-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: 2019-02/txt/msg02115.txt.bz2
Content-length: 793

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78147

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=72789

--- Comment #4 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Martin Sebor from comment #1)
> Confirmed.  Paul, please post your patch to gcc-patches.  Personally, I
> think providing it under Clang's -Wunused-private-field for compatibility
> would be preferable to disabling the warning altogether.
> 

For reference, the bug to add -Wunused-private-field is bug 72789, btw.
>From gcc-bugs-return-633814-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 18:02:59 2019
Return-Path: <gcc-bugs-return-633814-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107226 invoked by alias); 14 Feb 2019 18: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 107139 invoked by uid 48); 14 Feb 2019 18:02:54 -0000
From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug d/87864] libdruntime doesn't link with /bin/ld before Solaris 11.4
Date: Thu, 14 Feb 2019 18:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: d
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ro at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ro at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-87864-4-hbhg515NRf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87864-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87864-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: 2019-02/txt/msg02116.txt.bz2
Content-length: 426

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87864

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #11 from Rainer Orth <ro at gcc dot gnu.org> ---
Fixed for GCC 9.1.
>From gcc-bugs-return-633815-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 18:10:28 2019
Return-Path: <gcc-bugs-return-633815-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6095 invoked by alias); 14 Feb 2019 18:10: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 6027 invoked by uid 48); 14 Feb 2019 18:10:23 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89352] Deferred length character array pointer error
Date: Thu, 14 Feb 2019 18:10: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority cc
Message-ID: <bug-89352-4-cySA2vABxw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89352-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89352-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: 2019-02/txt/msg02117.txt.bz2
Content-length: 533

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89352

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
                 CC|                            |kargl at gcc dot gnu.org

--- Comment #1 from kargl at gcc dot gnu.org ---
The code works as expected with gfortran from trunk.  Whether
the patch that fixed the bud will be back ported remains to
be detemined.
>From gcc-bugs-return-633816-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 18:35:16 2019
Return-Path: <gcc-bugs-return-633816-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47792 invoked by alias); 14 Feb 2019 18:35: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 47715 invoked by uid 48); 14 Feb 2019 18:35:10 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/89349] raised STORAGE_ERROR : stack overflow or erroneous memory access when building GCC 8 branch with GCC master
Date: Thu, 14 Feb 2019 18:35: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-89349-4-BohVrp24dM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89349-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89349-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: 2019-02/txt/msg02118.txt.bz2
Content-length: 572

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89349

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #3)
> I thought that typically you can't build older gcc with newer gcc when using
> ada, at least I remember seeing issues with gcc 7 built with gcc 8 too when
> ada is enabled.

In openSUSE, we currently build gcc7 with gcc8 and it's fine:
https://build.opensuse.org/package/show/devel:gcc/gcc7

I saw failing gcc8 package being built with gcc9. Note that the gcc8 package is
using normal bootstrap.
>From gcc-bugs-return-633817-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 18:36:32 2019
Return-Path: <gcc-bugs-return-633817-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53325 invoked by alias); 14 Feb 2019 18:36: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 53221 invoked by uid 48); 14 Feb 2019 18:36:27 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/89349] raised STORAGE_ERROR : stack overflow or erroneous memory access when building GCC 8 branch with GCC master
Date: Thu, 14 Feb 2019 18: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-89349-4-yrx5soRCdi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89349-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89349-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: 2019-02/txt/msg02119.txt.bz2
Content-length: 449

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89349

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Eric Botcazou from comment #2)
> What happens without --disable-bootstrap?

My reproducer described in the first comment was:
1) build gcc trunk w/o bootstrap and install it
2) use the compiler and build gcc-8 branch w/o bootstrap
3) Ada FE is successfully built, but Ada runtime build fails (with gcc-8 Ada
FE)
>From gcc-bugs-return-633818-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 18:43:34 2019
Return-Path: <gcc-bugs-return-633818-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86816 invoked by alias); 14 Feb 2019 18: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 86703 invoked by uid 48); 14 Feb 2019 18:43:29 -0000
From: "bergner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89313] [9 Regression] ICE in process_alt_operands, at lra-constraints.c:2962
Date: Thu, 14 Feb 2019 18:43: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: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bergner at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: bergner at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89313-4-27xHPW9upK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89313-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89313-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: 2019-02/txt/msg02120.txt.bz2
Content-length: 813

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89313

--- Comment #5 from Peter Bergner <bergner at gcc dot gnu.org> ---
I'm testing a patch that gives a better error message and eliminates the ICE:

[bergner@dagger1 PR89313]$ cat pr89313.i 
long f;
long g (void)
{
  register long z asm ("rax");
  asm ("foo %0, %1, %2" : "=&r" (z) : "r" (f), "0" (f));
  return z;
}
[bergner@dagger1 PR89313]$
/home/bergner/gcc/build/gcc-fsf-mainline-pr89313-debug/gcc/xgcc
-B/home/bergner/gcc/build/gcc-fsf-mainline-pr89313-debug/gcc -O2 -S pr89313.i 
pr89313.i: In function ‘g’:
pr89313.i:5:3: error: incompatible constraint usage for input operands when
paired with an early clobber operand
    5 |   asm ("foo %0, %1, %2" : "=&r" (z) : "r" (f), "0" (f));
      |   ^~~
[bergner@dagger1 PR89313]$
>From gcc-bugs-return-633819-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 18:46:56 2019
Return-Path: <gcc-bugs-return-633819-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19495 invoked by alias); 14 Feb 2019 18:46:56 -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 19279 invoked by uid 55); 14 Feb 2019 18:46:52 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/85805] [7/8 Regression] Wrong code for 64 bit comparisons on avr-gcc
Date: Thu, 14 Feb 2019 18: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: 8.1.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85805-4-S711zHncFd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85805-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85805-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: 2019-02/txt/msg02121.txt.bz2
Content-length: 635

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85805

--- Comment #13 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Author: segher
Date: Thu Feb 14 18:46:18 2019
New Revision: 268888

URL: https://gcc.gnu.org/viewcvs?rev=268888&root=gcc&view=rev
Log:
        Backport from trunk
        2018-07-26  Segher Boessenkool  <segher@kernel.crashing.org>

        PR rtl-optimization/85805
        * combine.c (reg_nonzero_bits_for_combine): Only use the last set
        value for hard registers if that was written in the same mode.

Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/combine.c
>From gcc-bugs-return-633820-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 18:55:13 2019
Return-Path: <gcc-bugs-return-633820-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53468 invoked by alias); 14 Feb 2019 18:55: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 53368 invoked by uid 48); 14 Feb 2019 18:55:07 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88145] ICE: unrecognizable insn (mffs) targeting 32-bit BE FPU-less powerpc CPUs
Date: Thu, 14 Feb 2019 18:55: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: unknown
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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 cc resolution
Message-ID: <bug-88145-4-uEaAAdXvav@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88145-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88145-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: 2019-02/txt/msg02122.txt.bz2
Content-length: 550

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88145

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |segher at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #2 from Segher Boessenkool <segher at gcc dot gnu.org> ---
This doesn't backport to 8.  Closing as fixed.
>From gcc-bugs-return-633821-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 18:58:32 2019
Return-Path: <gcc-bugs-return-633821-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63157 invoked by alias); 14 Feb 2019 18:58: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 63091 invoked by uid 55); 14 Feb 2019 18:58:27 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88892] [8 Regression] Double-to-float conversion uses wrong rounding mode when followed by memcpy
Date: Thu, 14 Feb 2019 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.2.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: segher at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88892-4-YZvn39hDsD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88892-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88892-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: 2019-02/txt/msg02123.txt.bz2
Content-length: 584

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88892

--- Comment #16 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Author: segher
Date: Thu Feb 14 18:57:54 2019
New Revision: 268889

URL: https://gcc.gnu.org/viewcvs?rev=268889&root=gcc&view=rev
Log:
        Backport from trunk
        2019-01-18  Segher Boessenkool  <segher@kernel.crashing.org>

        PR target/88892
        * config/rs6000/rs6000.md (*movsi_from_df): Allow only register
        operands.

Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/config/rs6000/rs6000.md
>From gcc-bugs-return-633822-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 19:04:32 2019
Return-Path: <gcc-bugs-return-633822-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73973 invoked by alias); 14 Feb 2019 19:04: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 73741 invoked by uid 55); 14 Feb 2019 19:04:26 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86684] ICE in extract_insn, at recog.c:2304 on ppc64le
Date: Thu, 14 Feb 2019 19:04: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: segher at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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:
Message-ID: <bug-86684-4-RmE440gZvn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86684-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86684-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: 2019-02/txt/msg02124.txt.bz2
Content-length: 593

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86684

--- Comment #15 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Author: segher
Date: Thu Feb 14 19:03:54 2019
New Revision: 268890

URL: https://gcc.gnu.org/viewcvs?rev=268890&root=gcc&view=rev
Log:
        Backport from trunk
        2018-08-31  Segher Boessenkool  <segher@kernel.crashing.org>

        PR target/86684
        PR target/87149
        * config/rs6000/rs6000.md (lround<mode>di2): Gate on TARGET_FPRND.

Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/config/rs6000/rs6000.md
>From gcc-bugs-return-633823-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 19:04:32 2019
Return-Path: <gcc-bugs-return-633823-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73983 invoked by alias); 14 Feb 2019 19:04:32 -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 73767 invoked by uid 55); 14 Feb 2019 19:04:27 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/87149] ICE in extract_insn, at recog.c:2305 on ppc64le
Date: Thu, 14 Feb 2019 19:04: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: segher at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: segher at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87149-4-nhMZAWdtWM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87149-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87149-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: 2019-02/txt/msg02125.txt.bz2
Content-length: 593

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87149

--- Comment #13 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Author: segher
Date: Thu Feb 14 19:03:54 2019
New Revision: 268890

URL: https://gcc.gnu.org/viewcvs?rev=268890&root=gcc&view=rev
Log:
        Backport from trunk
        2018-08-31  Segher Boessenkool  <segher@kernel.crashing.org>

        PR target/86684
        PR target/87149
        * config/rs6000/rs6000.md (lround<mode>di2): Gate on TARGET_FPRND.

Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/config/rs6000/rs6000.md
>From gcc-bugs-return-633824-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 19:34:46 2019
Return-Path: <gcc-bugs-return-633824-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62263 invoked by alias); 14 Feb 2019 19:34:46 -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 56492 invoked by uid 48); 14 Feb 2019 19:34:41 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/89349] raised STORAGE_ERROR : stack overflow or erroneous memory access when building GCC 8 branch with GCC master
Date: Thu, 14 Feb 2019 19:34: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-89349-4-XF5HvpFmEW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89349-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89349-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: 2019-02/txt/msg02126.txt.bz2
Content-length: 479

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89349

--- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> My reproducer described in the first comment was:
> 1) build gcc trunk w/o bootstrap and install it
> 2) use the compiler and build gcc-8 branch w/o bootstrap
> 3) Ada FE is successfully built, but Ada runtime build fails (with gcc-8 Ada
> FE)

Sure, but the question is what happens if remove --disable-bootstrap from the
configure line you posted?
>From gcc-bugs-return-633826-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 19:43:26 2019
Return-Path: <gcc-bugs-return-633826-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105695 invoked by alias); 14 Feb 2019 19:43: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 105402 invoked by uid 48); 14 Feb 2019 19:43:21 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/71880] pointer to allocatable character
Date: Thu, 14 Feb 2019 19:43: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: 6.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-71880-4-M26QhtbGqF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71880-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71880-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: 2019-02/txt/msg02128.txt.bz2
Content-length: 458

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71880

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clange001 at gmail dot com

--- Comment #12 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
*** Bug 89352 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-633825-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 19:43:24 2019
Return-Path: <gcc-bugs-return-633825-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105505 invoked by alias); 14 Feb 2019 19:43: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 105374 invoked by uid 48); 14 Feb 2019 19:43:19 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89352] Deferred length character array pointer error
Date: Thu, 14 Feb 2019 19:43: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: DUPLICATE
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-89352-4-H7iMETGwp1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89352-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89352-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: 2019-02/txt/msg02127.txt.bz2
Content-length: 778

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89352

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |pault at gcc dot gnu.org
         Resolution|---                         |DUPLICATE

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
I think it is a duplicate of pr71880.

I don't know how to read Paul's comment:

> I am trying to build up the intestinal fortitude to go back through
> some of the recent fixes and apply them to 8-branch.

*** This bug has been marked as a duplicate of bug 71880 ***
>From gcc-bugs-return-633827-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 19:43:28 2019
Return-Path: <gcc-bugs-return-633827-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105927 invoked by alias); 14 Feb 2019 19:43: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 105471 invoked by uid 48); 14 Feb 2019 19:43:23 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/68241] [meta-bug] [F03] Deferred-length character
Date: Thu, 14 Feb 2019 19:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
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 resolution
Message-ID: <bug-68241-4-47ObJvyVNL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68241-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68241-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: 2019-02/txt/msg02129.txt.bz2
Content-length: 475

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68241
Bug 68241 depends on bug 89352, which changed state.

Bug 89352 Summary: Deferred length character array pointer error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89352

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE
>From gcc-bugs-return-633828-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 19:54:43 2019
Return-Path: <gcc-bugs-return-633828-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125405 invoked by alias); 14 Feb 2019 19:54:43 -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 124854 invoked by uid 48); 14 Feb 2019 19:54:38 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88892] [8 Regression] Double-to-float conversion uses wrong rounding mode when followed by memcpy
Date: Thu, 14 Feb 2019 19: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: 8.2.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: segher at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-88892-4-TsZEy9qpIZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88892-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88892-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: 2019-02/txt/msg02130.txt.bz2
Content-length: 457

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88892

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #17 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Fixed on trunk and for 8.3.
>From gcc-bugs-return-633829-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 19:57:17 2019
Return-Path: <gcc-bugs-return-633829-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129425 invoked by alias); 14 Feb 2019 19:57: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 129314 invoked by uid 48); 14 Feb 2019 19:57:11 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/85805] [7/8 Regression] Wrong code for 64 bit comparisons on avr-gcc
Date: Thu, 14 Feb 2019 19:57: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: 8.1.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85805-4-EhC4cPOnPg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85805-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85805-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: 2019-02/txt/msg02131.txt.bz2
Content-length: 150

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85805

--- Comment #14 from Segher Boessenkool <segher at gcc dot gnu.org> ---
I backported it anyway.
>From gcc-bugs-return-633830-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 20:25:42 2019
Return-Path: <gcc-bugs-return-633830-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104805 invoked by alias); 14 Feb 2019 20:25: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 104473 invoked by uid 55); 14 Feb 2019 20:25:32 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88248] [F18] Bogus warning about obsolescent feature: Labeled DO statement
Date: Thu, 14 Feb 2019 20:25: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88248-4-jAIidaqXMP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88248-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88248-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: 2019-02/txt/msg02132.txt.bz2
Content-length: 766

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88248

--- Comment #8 from anlauf at gcc dot gnu.org ---
Author: anlauf
Date: Thu Feb 14 20:24:54 2019
New Revision: 268895

URL: https://gcc.gnu.org/viewcvs?rev=268895&root=gcc&view=rev
Log:
2019-02-14  Harald Anlauf  <anlauf@gmx.de>

        PR fortran/88248
        * symbol.c: Move check for labeled DO statement from
        gfc_define_st_label to gfc_reference_st_label.

        PR fortran/88248
        * gfortran.dg/pr88248.f90: New test.
        * gfortran.dg/f2018_obs.f90: Updated test.


Added:
    trunk/gcc/testsuite/gfortran.dg/pr88248.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/symbol.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/f2018_obs.f90
>From gcc-bugs-return-633831-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 20:33:51 2019
Return-Path: <gcc-bugs-return-633831-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120920 invoked by alias); 14 Feb 2019 20:33: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 120224 invoked by uid 48); 14 Feb 2019 20:33:46 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88248] [F18] Bogus warning about obsolescent feature: Labeled DO statement
Date: Thu, 14 Feb 2019 20:33: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gmx dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88248-4-ho9q26KXuE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88248-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88248-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: 2019-02/txt/msg02133.txt.bz2
Content-length: 122

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88248

--- Comment #9 from Harald Anlauf <anlauf at gmx dot de> ---
Fixed.
>From gcc-bugs-return-633832-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 21:05:26 2019
Return-Path: <gcc-bugs-return-633832-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58569 invoked by alias); 14 Feb 2019 21:05: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 58501 invoked by uid 48); 14 Feb 2019 21:05:21 -0000
From: "rogero at howzatt dot demon.co.uk" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89358] New: Combining -std=c++14 and -std=c++17 objects gives ODR warnings
Date: Thu, 14 Feb 2019 21:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: lto
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rogero at howzatt dot demon.co.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-89358-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: 2019-02/txt/msg02134.txt.bz2
Content-length: 1723

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89358

            Bug ID: 89358
           Summary: Combining -std=c++14 and -std=c++17 objects gives ODR
                    warnings
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rogero at howzatt dot demon.co.uk
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

When object modules compiled with -std=c+14 and -std=c++17 are linked together
with -flto there can be warnings about ODR violations in standard library
headers

Example:
-- main.cpp --
#include <map>

extern void test();

int main()
{
        std::map<int, int> m;
        test();
}
-- test.cpp --
#include <map>

void test()
{
        std::map<int, int> m;
}
-- ends --

g++ -flto -std=c++17 -c main.cpp
g++ -flto -std=c++14 -c test.cpp
g++ -flto main.o test.o

-- output --

/usr/share/gcc-trunk/include/c++/9.0.0/bits/stl_function.h:381:12: note: type
'struct less' itself violates the C++ One Definition Rule
  381 |     struct less : public binary_function<_Tp, _Tp, bool>
      |            ^
/usr/share/gcc-trunk/include/c++/9.0.0/bits/stl_tree.h:684:9: note: type
'struct _Rb_tree_impl' itself violates the C++ One Definition Rule
  684 |  struct _Rb_tree_impl
      |         ^
/usr/share/gcc-trunk/include/c++/9.0.0/bits/stl_map.h:100:11: note: type
'struct _Rep_type' itself violates the C++ One Definition Rule
  100 |     class map
      |           ^

With gcc trunk from 2019-01-19 on Cygwin.
Almost identical messages appear on RHEL with devtools-7 and with gcc 7.30 on
WSL
>From gcc-bugs-return-633833-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 21:06:54 2019
Return-Path: <gcc-bugs-return-633833-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61194 invoked by alias); 14 Feb 2019 21:06: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 61138 invoked by uid 48); 14 Feb 2019 21:06:50 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89358] Combining -std=c++14 and -std=c++17 objects gives ODR warnings
Date: Thu, 14 Feb 2019 21:06: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: 9.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 everconfirmed
Message-ID: <bug-89358-4-dSos1IRWQU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89358-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89358-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: 2019-02/txt/msg02135.txt.bz2
Content-length: 670

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89358

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-14
     Ever confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Confirmed. I can't see any difference between std::less<int> in C++14 and
C++17, so I have no idea what the ODR violation is supposed to be.
>From gcc-bugs-return-633834-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 21:07:58 2019
Return-Path: <gcc-bugs-return-633834-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65262 invoked by alias); 14 Feb 2019 21:07:56 -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 65074 invoked by uid 55); 14 Feb 2019 21:07:49 -0000
From: "ian at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89321] cross build with riscv64 gccgo compilation failed due to assert in constructor_expression
Date: Thu, 14 Feb 2019 21:07: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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89321-4-SzERTtfA79@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89321-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89321-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: 2019-02/txt/msg02136.txt.bz2
Content-length: 574

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89321

--- Comment #7 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Thu Feb 14 21:07:13 2019
New Revision: 268904

URL: https://gcc.gnu.org/viewcvs?rev=268904&root=gcc&view=rev
Log:
        PR go/89321
    compiler: copy has_padding field from converted struct

    Test case is https://golang.org/cl/162617.

    Fixes https://gcc.gnu.org/PR89321

    Reviewed-on: https://go-review.googlesource.com/c/162618

Modified:
    trunk/gcc/go/gofrontend/MERGE
    trunk/gcc/go/gofrontend/types.cc
>From gcc-bugs-return-633835-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 21:23:30 2019
Return-Path: <gcc-bugs-return-633835-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22685 invoked by alias); 14 Feb 2019 21:23: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 22426 invoked by uid 48); 14 Feb 2019 21:23:25 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89321] cross build with riscv64 gccgo compilation failed due to assert in constructor_expression
Date: Thu, 14 Feb 2019 21:23: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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89321-4-NcxsIxRcg0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89321-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89321-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: 2019-02/txt/msg02137.txt.bz2
Content-length: 429

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89321

Ian Lance Taylor <ian at airs dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from Ian Lance Taylor <ian at airs dot com> ---
Should be fixed.
>From gcc-bugs-return-633836-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 21:34:07 2019
Return-Path: <gcc-bugs-return-633836-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43847 invoked by alias); 14 Feb 2019 21:34: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 43730 invoked by uid 55); 14 Feb 2019 21:34:02 -0000
From: "jb at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/81552] -finit-integer=n is restricted to 32-bit INTEGER.
Date: Thu, 14 Feb 2019 21:34: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: enhancement
X-Bugzilla-Who: jb at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81552-4-hhdsnfvnpa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81552-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81552-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: 2019-02/txt/msg02138.txt.bz2
Content-length: 971

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81552

--- Comment #5 from Janne Blomqvist <jb at gcc dot gnu.org> ---
Author: jb
Date: Thu Feb 14 21:33:29 2019
New Revision: 268906

URL: https://gcc.gnu.org/viewcvs?rev=268906&root=gcc&view=rev
Log:
PR 81552 Improve and document -flag-init-integer

Make the option handling code parse the -flag-init-integer value as a
C long type, allowing a larger range on systems where long is a larger
type than int.  Document the behavior.

Regtested on x86_64-pc-linux-gnu, committed as obvious.

2019-02-14  Janne Blomqvist  <jb@gcc.gnu.org>

        PR fortran/81552
        * gfortran.h (gfc_option_t): Make flag_init_integer_value a long.
        * options.c (gfc_handle_option): Use strtol instead of atoi.
        * invoke.texi: Document -finit-integer behavior in more detail

Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/invoke.texi
    trunk/gcc/fortran/options.c
>From gcc-bugs-return-633837-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 21:42:15 2019
Return-Path: <gcc-bugs-return-633837-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55351 invoked by alias); 14 Feb 2019 21:42: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 55289 invoked by uid 48); 14 Feb 2019 21:42:09 -0000
From: "jb at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/81552] -finit-integer=n is restricted to 32-bit INTEGER.
Date: Thu, 14 Feb 2019 21:42: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: enhancement
X-Bugzilla-Who: jb at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-81552-4-ISWQfJ9lsB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81552-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81552-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: 2019-02/txt/msg02139.txt.bz2
Content-length: 1030

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81552

Janne Blomqvist <jb at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
                 CC|                            |jb at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #6 from Janne Blomqvist <jb at gcc dot gnu.org> ---
Fixed on trunk, closing.

The patch uses strtol() since that is in C89 and thus available everywhere.
This close to the GCC 9 release I didn't want to risk breaking some targets I
don't have a GCC development environment setup on.

strtoll and int64_t are in C99 and with some GCC headers and libiberty they
should be available everywhere, which would make this patch work on 32-bit and
LLP64 (e.g. win64) targets. If anyone is interested in pursuing this I suggest
reopening this bug report and submitting a patch when GCC is in stage 1.
>From gcc-bugs-return-633838-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 22:12:42 2019
Return-Path: <gcc-bugs-return-633838-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122188 invoked by alias); 14 Feb 2019 22:12: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 122107 invoked by uid 48); 14 Feb 2019 22:12:38 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88248] [F18] Bogus warning about obsolescent feature: Labeled DO statement
Date: Thu, 14 Feb 2019 22: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
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-88248-4-RAWNR6sL0m@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88248-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88248-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: 2019-02/txt/msg02140.txt.bz2
Content-length: 455

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88248

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #10 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Fixed.

So closing!
>From gcc-bugs-return-633839-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 22:41:23 2019
Return-Path: <gcc-bugs-return-633839-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128561 invoked by alias); 14 Feb 2019 22:41:18 -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 128459 invoked by uid 48); 14 Feb 2019 22:41:12 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89077] ICE using * as len specifier for character parameter
Date: Thu, 14 Feb 2019 22:41: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gmx dot de
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-89077-4-sVYpfhYlOa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89077-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89077-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: 2019-02/txt/msg02141.txt.bz2
Content-length: 1068

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89077

--- Comment #16 from Harald Anlauf <anlauf at gmx dot de> ---
Regarding the unwanted padding with \0, the following patch seems to
solve the issue with transfer.

Index: decl.c
===================================================================
--- decl.c      (revision 268897)
+++ decl.c      (working copy)
@@ -1754,6 +1754,12 @@
       free (expr->value.character.string);
       expr->value.character.string = s;
       expr->value.character.length = len;
+      if (expr->representation.length)
+       {
+         expr->representation.length = 0;
+         free (expr->representation.string);
+         expr->representation.string = NULL;
+       }
     }
 }

Testcase:

  character(8) ,parameter :: s = transfer ('ab', 'cd')
  character(8) ,parameter :: t = 2Hxy
  print *, "'", s, "'"
  print *, "'", t, "'"
end

./a.out  | cat -v
 'ab      '
 'xy      '
>From gcc-bugs-return-633840-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 22:49:59 2019
Return-Path: <gcc-bugs-return-633840-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18726 invoked by alias); 14 Feb 2019 22:49: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 18308 invoked by uid 48); 14 Feb 2019 22:49:54 -0000
From: "mark at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88835] overly aggressive -Werror=format-overflow for printf since r265648
Date: Thu, 14 Feb 2019 22:49: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: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mark 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:
Message-ID: <bug-88835-4-T1IYVH9EyS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88835-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88835-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: 2019-02/txt/msg02142.txt.bz2
Content-length: 2077

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88835

--- Comment #9 from Mark Wielaard <mark at gcc dot gnu.org> ---
(In reply to Martin Sebor from comment #8)
> The patch I posted for the related pr88993 also relaxes this warning for
> printf and fprintf:  https://gcc.gnu.org/ml/gcc-patches/2019-02/msg00224.html
> 
> Like in the case of pr88993, the warning is by design and (in my view) makes
> sense for sprintf but it's not very useful for the other functions where
> very little code worries about exceeding these limits (or even cares about
> the functions failing as they can for many other reasons).

I tried that patch, but it does not fix this issue. This case now triggers the
following warning, which isn't guarded by is_string_func:

      /* The directive output or either causes or may cause the total
         length of output to exceed INT_MAX bytes.  */

      if (likelyximax && fmtres.range.min == fmtres.range.max)
        warned = fmtwarn (dirloc, argloc, NULL, info.warnopt (),
                          "%<%.*s%> directive output of %wu bytes causes "
                          "result to exceed %<INT_MAX%>", dirlen,
                          target_to_host (hostdir, sizeof hostdir, dir.beg),
                          fmtres.range.min);

So with that patch we get:

/home/mark/src/elfutils/src/readelf.c: In function ‘print_debug_str_section’:
/home/mark/src/elfutils/src/readelf.c:10167:15: error: ‘]  "’ directive output
of 4 bytes causes result to exceed ‘INT_MAX’ [-Werror=format-overflow=]
10167 |       printf (" [%*" PRIx64 "]  \"%s\"\n", digits, (uint64_t) offset,
str);
      |               ^~~~~~
/home/mark/src/elfutils/src/readelf.c:10167:30: note: format string is defined
here
10167 |       printf (" [%*" PRIx64 "]  \"%s\"\n", digits, (uint64_t) offset,
str);
      |                              ^~~~~
cc1: all warnings being treated as errors

Which is actually more mysterious than the previous warning (without the patch
as shown in description).
>From gcc-bugs-return-633841-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 22:58:12 2019
Return-Path: <gcc-bugs-return-633841-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51233 invoked by alias); 14 Feb 2019 22:58: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 51130 invoked by uid 55); 14 Feb 2019 22:58:06 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85515] Bogus suggestions from "GCC's leaky abstractions"
Date: Thu, 14 Feb 2019 22:58: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.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85515-4-W9jx0uKr90@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85515-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85515-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: 2019-02/txt/msg02143.txt.bz2
Content-length: 1305

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85515

--- Comment #7 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Author: dmalcolm
Date: Thu Feb 14 22:57:34 2019
New Revision: 268908

URL: https://gcc.gnu.org/viewcvs?rev=268908&root=gcc&view=rev
Log:
Don't offer suggestions for compiler-generated variables (PR c++/85515)

gcc/cp/ChangeLog:
        Backport of r259720 from trunk.
        2018-04-27  David Malcolm  <dmalcolm@redhat.com>

        PR c++/85515
        * name-lookup.c (consider_binding_level): Skip compiler-generated
        variables.
        * search.c (lookup_field_fuzzy_info::fuzzy_lookup_field): Flatten
        nested if statements into a series of rejection tests.  Reject
        lambda-ignored entities as suggestions.

gcc/testsuite/ChangeLog:
        Backport of r259720 from trunk.
        2018-04-27  David Malcolm  <dmalcolm@redhat.com>

        PR c++/85515
        * g++.dg/pr85515-1.C: New test.
        * g++.dg/pr85515-2.C: New test.


Added:
    branches/gcc-8-branch/gcc/testsuite/g++.dg/pr85515-1.C
    branches/gcc-8-branch/gcc/testsuite/g++.dg/pr85515-2.C
Modified:
    branches/gcc-8-branch/gcc/cp/ChangeLog
    branches/gcc-8-branch/gcc/cp/name-lookup.c
    branches/gcc-8-branch/gcc/cp/search.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633842-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 22:59:59 2019
Return-Path: <gcc-bugs-return-633842-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53344 invoked by alias); 14 Feb 2019 22:59: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 53317 invoked by uid 48); 14 Feb 2019 22:59:53 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89337] Bogus "exceeds maximum object size" on unreachable code
Date: Thu, 14 Feb 2019 22:59: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: 9.0
X-Bugzilla-Keywords: diagnostic
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:
Message-ID: <bug-89337-4-80zTPCtIQw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89337-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89337-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: 2019-02/txt/msg02144.txt.bz2
Content-length: 4339

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89337

--- Comment #9 from Martin Sebor <msebor at gcc dot gnu.org> ---
The warning is very simple: it just looks for excessive sizes in calls emitted
in the optimized IL.  When the call is there (either because it's in the source
code as is or because it's been synthesized by GCC based on the invariants it
can infer from the code) it triggers.  It runs after all high-level
optimizations, including DCE, and assumes that if the statement is in the IL it
is reachable.  Compiling the test case with -fdump-tree-optimized=/dev/stdout
shows the GIMPLE the warning works with:

  <bb 20> [local count: 233860936]:
  # iftmp.6_113 = PHI <iftmp.6_112(19), &D.3395.u.internal.str(18)>
  memset (iftmp.6_113, 0, 18446744073709551613);

I think the issue can essentially be reduced to the following:

$ cat z.c && gcc -O2 -S -fdump-tree-optimized=/dev/stdout z.c
void f (char *d, const char *s)
{
  if (__builtin_strstr (s, "ABC"))
    {
      __SIZE_TYPE__ n = __builtin_strlen (s) - 3;

      if (n > __builtin_strlen (s))   // cannot be true
        __builtin_memset (d, 0, n - __builtin_strlen (s));
  }
}

;; Function f (f, funcdef_no=0, decl_uid=1907, cgraph_uid=1, symbol_order=0)

Removing basic block 6
Removing basic block 7
f (char * d, const char * s)
{
  char * _1;
  long unsigned int _2;

  <bb 2> [local count: 1073741824]:
  _1 = __builtin_strstr (s_5(D), "ABC");
  if (_1 != 0B)
    goto <bb 3>; [70.00%]
  else
    goto <bb 5>; [30.00%]

  <bb 3> [local count: 751619278]:
  _2 = __builtin_strlen (s_5(D));
  if (_2 <= 2)
    goto <bb 4>; [33.00%]
  else
    goto <bb 5>; [67.00%]

  <bb 4> [local count: 248034361]:
  __builtin_memset (d_6(D), 0, 18446744073709551613); [tail call]

  <bb 5> [local count: 1073741824]:
  return;

}


z.c: In function ‘f’:
z.c:8:9: warning: ‘__builtin_memset’ specified size 18446744073709551613
exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
    8 |         __builtin_memset (d, 0, n - __builtin_strlen (s));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

GCC doesn't have the smarts to figure out that when s contains a substring of
length 3 then strlen(s) must be at least 3.  As a result, it doesn't eliminate
the memset call in the function and the warning triggers.  Suppose we teach GCC
how to figure this out from the strstr call (which might be a useful
optimization) and then someone comes along with a test case that uses strspn()
instead of strstr().  We can also teach GCC about strstr() but then someone
else might use regcomp() or some user-defined function that we won't have
access to.  At some point we'll have to call it good enough.

It's helpful to keep in mind that no control flow or data flow-based warning is
free of false positives (or negatives), either in GCC or in any static
analyzer.  Analyzing only provably reachable code would mean not diagnosing
bugs in translation units without main because we cannot prove that they're
ever called.  Similarly, at the function level, it would mean not diagnosing
bugs in conditional statements unless the conditions could be proven to be true
at compile time.  That would make not only the false positive rate nearly zero,
it would also make the true positive rate nearly zero. In effect, it would make
the diagnostics virtually useless, able to detect only bugs in the simplest
code.  If you find a non-zero rate of false positives unacceptable then my
suggestion is to turn warnings off.  Not just this one but all others as most
have some false positives, including the front-ends ones that have no notion of
reachability.  Otherwise, if you accept that some false positives are
unavoidable and worth the checking GCC does, then until the strstr optimization
above is implemented, I would recommend to make use of __builtin_unreachable():

  void trim_asterisk(seastar::sstring &name) {
    if (name.find("ABC") != seastar::sstring::npos) {
      if (name.length () < 3)
        __builtin_unreachable ();
      name.resize(name.length() - 3);
    }
  }

Chances are that besides avoiding the warning it will also improve the quality
of the object code.  When hidden behind a well-named macro it might also
improve readability.
>From gcc-bugs-return-633843-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 23:03:28 2019
Return-Path: <gcc-bugs-return-633843-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60598 invoked by alias); 14 Feb 2019 23:03: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 60550 invoked by uid 55); 14 Feb 2019 23:03:17 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86329] Bogus fix-it hint: note: suggested alternative: '._72'
Date: Thu, 14 Feb 2019 23:03: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: diagnostic, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86329-4-gKgNNbImna@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86329-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86329-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: 2019-02/txt/msg02145.txt.bz2
Content-length: 1871

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86329

--- Comment #6 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Author: dmalcolm
Date: Thu Feb 14 23:02:45 2019
New Revision: 268909

URL: https://gcc.gnu.org/viewcvs?rev=268909&root=gcc&view=rev
Log:
C++: don't offer bogus "._0" suggestions (PR c++/86329)

PR c++/86329 reports that the C++ frontend can offer bogus suggestions like:

  #include <string>

  int compare()
  {
    return __n1 - __n2;
  }

suggested.cc: In function 'int compare()':
suggested.cc:5:10: error: '__n1' was not declared in this scope
   return __n1 - __n2;
          ^~~~
suggested.cc:5:10: note: suggested alternative: '._61'
   return __n1 - __n2;
          ^~~~
          ._61
suggested.cc:5:17: error: '__n2' was not declared in this scope
   return __n1 - __n2;
                 ^~~~
suggested.cc:5:17: note: suggested alternative: '._72'
   return __n1 - __n2;
                 ^~~~
                 ._72

The dot-prefixed names are an implementation detail of how we implement
anonymous enums found in the header files, generated via
anon_aggrname_format in make_anon_name.

This patch uses anon_aggrname_p to filter them out when considering
which names to suggest.

gcc/cp/ChangeLog:
        Backport of r262199 from trunk.
        2018-06-27  David Malcolm  <dmalcolm@redhat.com>

        PR c++/86329
        * name-lookup.c (consider_binding_level): Filter out names that
        match anon_aggrname_p.

gcc/testsuite/ChangeLog:
        Backport of r262199 from trunk.
        2018-06-27  David Malcolm  <dmalcolm@redhat.com>

        PR c++/86329
        * g++.dg/lookup/pr86329.C: New test.


Added:
    branches/gcc-8-branch/gcc/testsuite/g++.dg/lookup/pr86329.C
Modified:
    branches/gcc-8-branch/gcc/cp/ChangeLog
    branches/gcc-8-branch/gcc/cp/name-lookup.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633844-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 23:11:26 2019
Return-Path: <gcc-bugs-return-633844-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71384 invoked by alias); 14 Feb 2019 23:11: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 71308 invoked by uid 55); 14 Feb 2019 23:11:21 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89354] [7/8/9 Regression] Combine pass yields wrong code with -O2 and -msse2 for 32bit target
Date: Thu, 14 Feb 2019 23:11: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: 6.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89354-4-T5955DHWBo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89354-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89354-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: 2019-02/txt/msg02146.txt.bz2
Content-length: 571

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89354

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb 14 23:10:47 2019
New Revision: 268913

URL: https://gcc.gnu.org/viewcvs?rev=268913&root=gcc&view=rev
Log:
        PR rtl-optimization/89354
        * combine.c (make_extraction): Punt if extraction_mode is narrower
        than len bits.

        * gcc.dg/pr89354.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr89354.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/combine.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633845-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 23:13:04 2019
Return-Path: <gcc-bugs-return-633845-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74433 invoked by alias); 14 Feb 2019 23:13: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 74343 invoked by uid 55); 14 Feb 2019 23:13:00 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89354] [7/8/9 Regression] Combine pass yields wrong code with -O2 and -msse2 for 32bit target
Date: Thu, 14 Feb 2019 23:13: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: 6.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89354-4-oxadKVVlL9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89354-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89354-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: 2019-02/txt/msg02147.txt.bz2
Content-length: 635

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89354

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb 14 23:12:26 2019
New Revision: 268914

URL: https://gcc.gnu.org/viewcvs?rev=268914&root=gcc&view=rev
Log:
        PR rtl-optimization/89354
        * combine.c (make_extraction): Punt if extraction_mode is narrower
        than len bits.

        * gcc.dg/pr89354.c: New test.

Added:
    branches/gcc-8-branch/gcc/testsuite/gcc.dg/pr89354.c
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/combine.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633846-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 23:16:22 2019
Return-Path: <gcc-bugs-return-633846-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80263 invoked by alias); 14 Feb 2019 23:15: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 79811 invoked by uid 55); 14 Feb 2019 23:15:40 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88795] ICE on class-template argument deduction if non-type parameter has indirection
Date: Thu, 14 Feb 2019 23:15: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.1.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88795-4-YUY9KY2NlP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88795-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88795-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: 2019-02/txt/msg02148.txt.bz2
Content-length: 1810

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88795

--- Comment #6 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Author: dmalcolm
Date: Thu Feb 14 23:14:56 2019
New Revision: 268915

URL: https://gcc.gnu.org/viewcvs?rev=268915&root=gcc&view=rev
Log:
Fix ICE on class-template argument deduction (PR c++/88795)

PR c++/88795 reports an ICE building a function_type for a deduction guide
when the substitution into the function signature fails, due to an
error_mark_node being returned from tsubst_arg_types but not being checked
for.  This error_mark_node gets used as the TYPE_ARG_TYPES, leading to
ICEs in various places that assume this is a TREE_LIST.

This patch checks the result of tsubst_arg_types and propagates the failure
if it returns error_mark_node.  It also adds an assertion to
build_function_type, to fail faster if passed in error_mark_node.

gcc/cp/ChangeLog:
        Backport of r267957 from trunk.
        2019-01-15  David Malcolm  <dmalcolm@redhat.com>

        PR c++/88795
        * pt.c (build_deduction_guide): Bail out if tsubst_arg_types
        fails.

gcc/testsuite/ChangeLog:
        Backport of r267957 from trunk.
        2019-01-15  David Malcolm  <dmalcolm@redhat.com>

        PR c++/88795
        * g++.dg/template/pr88795.C: New test.

gcc/ChangeLog:
        Backport of r267957 from trunk.
        2019-01-15  David Malcolm  <dmalcolm@redhat.com>

        PR c++/88795
        * tree.c (build_function_type): Assert that arg_types is not
        error_mark_node.


Added:
    branches/gcc-8-branch/gcc/testsuite/g++.dg/template/pr88795.C
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/cp/ChangeLog
    branches/gcc-8-branch/gcc/cp/pt.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
    branches/gcc-8-branch/gcc/tree.c
>From gcc-bugs-return-633847-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 23:18:27 2019
Return-Path: <gcc-bugs-return-633847-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92076 invoked by alias); 14 Feb 2019 23:18: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 92018 invoked by uid 55); 14 Feb 2019 23:18:23 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89036] [8 Regression] ICE if destructor has a requires
Date: Thu, 14 Feb 2019 23:18: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: dmalcolm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89036-4-bwBTVNYJCp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89036-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89036-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: 2019-02/txt/msg02149.txt.bz2
Content-length: 1850

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89036

--- Comment #7 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Author: dmalcolm
Date: Thu Feb 14 23:17:51 2019
New Revision: 268916

URL: https://gcc.gnu.org/viewcvs?rev=268916&root=gcc&view=rev
Log:
C++ concepts: fix ICE with requires on dtors (PR c++/89036)

PR c++/89036 reports an ICE due to this assertion failing

1136      /* A class should never have more than one destructor.  */
1137      gcc_assert (!current_fns || via_using || !DECL_DESTRUCTOR_P
(method));

on this template with a pair of dtors, with
mutually exclusive "requires" clauses:

template<typename T>
struct Y {
    ~Y() requires(true) = default;
    ~Y() requires(false) {}
};

Nathan introduced this assertion as part of:

  ca9219bf18c68a001d62ecb981bc9176b0feaf12 (aka r251340):
    2017-08-24  Nathan Sidwell  <nathan@acm.org>
       Conversion operators kept on single overload set

which, amongst other changes to add_method had this:
     /* A class should never have more than one destructor.  */
  -  if (current_fns && DECL_MAYBE_IN_CHARGE_DESTRUCTOR_P (method))
  -    return false;
  +  gcc_assert (!current_fns || !DECL_DESTRUCTOR_P (method));

The following patch drops the assertion.

gcc/cp/ChangeLog:
        2019-02-13  David Malcolm  <dmalcolm@redhat.com>
        Backport of r268847 from trunk.

        PR c++/89036
        * class.c (add_method): Drop destructor assertion.

gcc/testsuite/ChangeLog:
        2019-02-13  David Malcolm  <dmalcolm@redhat.com>
        Backport of r268847 from trunk.

        PR c++/89036
        * g++.dg/concepts/pr89036.C: New test.


Added:
    branches/gcc-8-branch/gcc/testsuite/g++.dg/concepts/pr89036.C
Modified:
    branches/gcc-8-branch/gcc/cp/ChangeLog
    branches/gcc-8-branch/gcc/cp/class.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633849-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 23:20:53 2019
Return-Path: <gcc-bugs-return-633849-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95228 invoked by alias); 14 Feb 2019 23:20:52 -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 95039 invoked by uid 48); 14 Feb 2019 23:20:45 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/67491] [meta-bug] concepts issues
Date: Thu, 14 Feb 2019 23:20:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords: meta-bug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm 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 resolution
Message-ID: <bug-67491-4-7orC3aCsCD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67491-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67491-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: 2019-02/txt/msg02151.txt.bz2
Content-length: 473

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491
Bug 67491 depends on bug 89036, which changed state.

Bug 89036 Summary: [8 Regression] ICE if destructor has a requires
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89036

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-633848-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 23:20:52 2019
Return-Path: <gcc-bugs-return-633848-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95203 invoked by alias); 14 Feb 2019 23:20: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 95004 invoked by uid 48); 14 Feb 2019 23:20:44 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89036] [8 Regression] ICE if destructor has a requires
Date: Thu, 14 Feb 2019 23: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89036-4-xIFn4vwOf5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89036-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89036-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: 2019-02/txt/msg02150.txt.bz2
Content-length: 474

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89036

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Fixed on gcc-8-branch by r268916; marking as FIXED.
>From gcc-bugs-return-633850-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 23:25:02 2019
Return-Path: <gcc-bugs-return-633850-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102298 invoked by alias); 14 Feb 2019 23: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 101537 invoked by uid 48); 14 Feb 2019 23:24:55 -0000
From: "danielmicay at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/70090] add non-constant variant of __builtin_object_size for _FORTIFY_SOURCE and -fsanitize=object-size
Date: Thu, 14 Feb 2019 23:25: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: danielmicay 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-70090-4-oK37lmxOn0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70090-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70090-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: 2019-02/txt/msg02152.txt.bz2
Content-length: 308

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70090

--- Comment #2 from Daniel Micay <danielmicay at gmail dot com> ---
This has now been implemented in Clang as __builtin_dynamic_object_size.
There's a thread on the GCC mailing list about it at
https://www.mail-archive.com/gcc@gcc.gnu.org/msg87230.html.
>From gcc-bugs-return-633851-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 14 23:34:14 2019
Return-Path: <gcc-bugs-return-633851-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113652 invoked by alias); 14 Feb 2019 23:34: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 113588 invoked by uid 48); 14 Feb 2019 23:34:10 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89350] [9 Regression] Wrong -Wstringop-overflow= warning since r261518
Date: Thu, 14 Feb 2019 23:34: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: unknown
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89350-4-SxN8LMkEH0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89350-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89350-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: 2019-02/txt/msg02153.txt.bz2
Content-length: 2707

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89350

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
The -Wstringop-overflow warning is a consequence of pointer offsets being
treated as unsigned integers, argc being signed, and the object size
computation returning scalars rather than ranges.  In the first test case (with
argc + 0):

  <bb 3> [local count: 354334802]:
  _1 = (sizetype) argc_5(D);
  _2 = -_1;
  dst_7 = &MEM[(void *)&buf + 128B] + _2;
  src.0_3 = src;
  __builtin_memcpy (dst_7, src.0_3, _1);

When computing the size of dst_7 the compute_objsize() function determines the
offset _2 to be in the range [1, SIZE_MAX] and doesn't consider the fact that
the upper half of the range represents negative values.  As a result, it
determines the size to be zero.  The number of bytes to write (i.e.,
(size_t)(argc + 1) is [1, SIZE_MAX]).

The test case makes the tacit assumption that argc is necessarily non-negative.
 That makes sense for the argc argument to main but not in other situations. 
Changing the if condition to make the assumption explicit 'if (argc > 0)'
eliminates the warning.  This makes range of the offset [-INT_MAX, -1], and
because compute_objsize() doesn't handle negative offsets, it fails to
determine the size.  There's a comment indicating that is not a feature but a
known limitation:

                      /* Ignore negative offsets for now.  For others,
                         use the lower bound as the most optimistic
                         estimate of the (remaining)size.  */

If I recall I did that not because negative offsets cannot be handled better
but to keep the code simple.  Either way, with negative offsets handled the
warning will not be issued.

The missing -Wstringop-overflow in the second test case (with argc + 1):

  <bb 3> [local count: 354334802]:
  _1 = (sizetype) argc_7(D);
  _2 = -_1;
  dst_9 = &MEM[(void *)&buf + 128B] + _2;
  _3 = argc_7(D) + 1;
  _4 = (long unsigned int) _3;
  src.0_5 = src;
  __builtin_memcpy (dst_9, src.0_5, _4);

is due to the number of bytes to write is [0, INT_MAX] so the warning doesn't
trigger.

The bogus warning can be avoided in the first case simply by punting on offsets
that could be in the negative range, but almost certainly not without some
false negatives.  I'm not sure it's necessarily a good tradeoff (I don't know
that it isn't either).  Is this code representative of some wide-spread idiom?

A more robust solution, one that gets rid of the false positives without as
many false negatives, will involve changing compute_objsize() to return a range
of sizes rather than a constant.  But that will have to wait for GCC 10.
>From gcc-bugs-return-633852-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 00:11:46 2019
Return-Path: <gcc-bugs-return-633852-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52345 invoked by alias); 15 Feb 2019 00:11:44 -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 52285 invoked by uid 48); 15 Feb 2019 00:11:40 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89356] [9 Regression] sorry, unimplemented: mangling implicit_conv_expr in nodejs8 package since r268321
Date: Fri, 15 Feb 2019 00:11: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: unknown
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89356-4-eshRLTDw7X@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89356-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89356-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: 2019-02/txt/msg02154.txt.bz2
Content-length: 229

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89356

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
A similar testcase

template<typename T> auto fn () -> decltype(unsigned{0} + T(1));
auto e = fn<int>();
>From gcc-bugs-return-633853-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 00:16:59 2019
Return-Path: <gcc-bugs-return-633853-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58472 invoked by alias); 15 Feb 2019 00:16: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 58364 invoked by uid 48); 15 Feb 2019 00:16:54 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88835] overly aggressive -Werror=format-overflow for printf since r265648
Date: Fri, 15 Feb 2019 00:16: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: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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:
Message-ID: <bug-88835-4-xEK0zyF3fb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88835-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88835-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: 2019-02/txt/msg02155.txt.bz2
Content-length: 4270

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88835

--- Comment #10 from Martin Sebor <msebor at gcc dot gnu.org> ---
I've built the top of binutils-gdb with the patch referenced in comment #8
applied and with -Wformat-overflow=2 and -Wformat-truncation=2 and got the
following breakdown:

Diagnostic                        Count   Unique    Files
-Wformat-overflow=                   19       19       10
-Wformat-truncation=                 12       12        7
-Wconflicts-sr                        7        7        7
-Wmaybe-uninitialized                 3        3        3
-Wstringop-truncation                 2        2        2
-Wconflicts-rr                        2        2        2
-Wsign-compare                        1        1        1
-Wother                               1        1        1


The -Wformat-overflow warnings are:

/src/binutils-gdb/gas/macro.c:386:18: warning: ‘sprintf’ may write a
terminating nul past the end of the destination [-Wformat-overflow=]
/src/binutils-gdb/binutils/arsup.c:158:20: warning: ‘%.*s’ directive output
between 0 and 2147483647 bytes may exceed minimum required size of 4095
[-Wformat-overflow=]
/src/binutils-gdb/binutils/wrstabs.c:426:21: warning: ‘sprintf’ may write a
terminating nul past the end of the destination [-Wformat-overflow=]
/src/binutils-gdb/binutils/wrstabs.c:739:27: warning: ‘%u’ directive writing
between 1 and 10 bytes into a region of size between 7 and 45
[-Wformat-overflow=]
/src/binutils-gdb/binutils/wrstabs.c:620:26: warning: ‘%ld’ directive writing
between 1 and 20 bytes into a region of size between 19 and 38
[-Wformat-overflow=]
/src/binutils-gdb/binutils/wrstabs.c:595:26: warning: ‘%ld’ directive writing
between 1 and 20 bytes into a region of size between 19 and 38
[-Wformat-overflow=]
eelf_iamcu.c:635:25: warning: ‘%.*s’ directive output between 0 and 2147483647
bytes may exceed minimum required size of 4095 [-Wformat-overflow=]
eelf_iamcu.c:628:25: warning: ‘%.*s’ directive output between 0 and 2147483647
bytes may exceed minimum required size of 4095 [-Wformat-overflow=]
eelf_x86_64.c:638:25: warning: ‘%.*s’ directive output between 0 and 2147483647
bytes may exceed minimum required size of 4095 [-Wformat-overflow=]
eelf_x86_64.c:631:25: warning: ‘%.*s’ directive output between 0 and 2147483647
bytes may exceed minimum required size of 4095 [-Wformat-overflow=]
eelf_i386.c:638:25: warning: ‘%.*s’ directive output between 0 and 2147483647
bytes may exceed minimum required size of 4095 [-Wformat-overflow=]
eelf_i386.c:631:25: warning: ‘%.*s’ directive output between 0 and 2147483647
bytes may exceed minimum required size of 4095 [-Wformat-overflow=]
eelf32_x86_64.c:638:25: warning: ‘%.*s’ directive output between 0 and
2147483647 bytes may exceed minimum required size of 4095 [-Wformat-overflow=]
eelf32_x86_64.c:631:25: warning: ‘%.*s’ directive output between 0 and
2147483647 bytes may exceed minimum required size of 4095 [-Wformat-overflow=]
eelf_k1om.c:638:25: warning: ‘%.*s’ directive output between 0 and 2147483647
bytes may exceed minimum required size of 4095 [-Wformat-overflow=]
eelf_k1om.c:631:25: warning: ‘%.*s’ directive output between 0 and 2147483647
bytes may exceed minimum required size of 4095 [-Wformat-overflow=]
eelf_l1om.c:638:25: warning: ‘%.*s’ directive output between 0 and 2147483647
bytes may exceed minimum required size of 4095 [-Wformat-overflow=]
eelf_l1om.c:631:25: warning: ‘%.*s’ directive output between 0 and 2147483647
bytes may exceed minimum required size of 4095 [-Wformat-overflow=]
/src/binutils-gdb/gdb/gdbserver/remote-utils.c:1188:21: warning: ‘%s’ directive
output between 0 and 8191 bytes may exceed minimum required size of 4095
[-Wformat-overflow=]

None for readelf.c.  I think they are all for sprintf (and not printf or
fprintf), so I'm not sure where the ones you are seeing are coming from.
>From gcc-bugs-return-633854-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 00:26:23 2019
Return-Path: <gcc-bugs-return-633854-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78572 invoked by alias); 15 Feb 2019 00:26: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 78469 invoked by uid 48); 15 Feb 2019 00:26:17 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88835] overly aggressive -Werror=format-overflow for printf since r265648
Date: Fri, 15 Feb 2019 00: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: 9.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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:
Message-ID: <bug-88835-4-hXa7vr7Sdc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88835-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88835-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: 2019-02/txt/msg02156.txt.bz2
Content-length: 1338

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88835

--- Comment #11 from Martin Sebor <msebor at gcc dot gnu.org> ---
Ah, but you mentioned elfutilts, not binutils.  I've now downloaded and built
elfutils-0.175.  It took a bit more effort because --disable-werror doesn't
work there but once I got past that I just got the three -Wformat-truncation
instances below:

Diagnostic                        Count   Unique    Files
-Wformat-truncation=                  3        3        2

-Wformat-truncation Instances:
  /src/elfutils-0.175/src/ar.c:1468
  /src/elfutils-0.175/src/ar.c:859
  /src/elfutils-0.175/src/arlib.c:63

The code at line 10167 in readelf.c looks like this:

static void
print_debug_str_offsets_section (Dwfl_Module *dwflmod __attribute__ ((unused)),
                                 Ebl *ebl,
                                 GElf_Ehdr *ehdr __attribute__ ((unused)),
                                 Elf_Scn *scn, GElf_Shdr *shdr, Dwarf *dbg)
{
  printf (gettext ("\
\nDWARF section [%2zu] '%s' at offset %#" PRIx64 ":\n"),
          elf_ndxscn (scn), section_name (ebl, shdr),
          (uint64_t) shdr->sh_offset);

I'm probably not using the same sources as you, but shouldn't I be seeing at
least some of the warnings?  (I couldn't find an easy way build the top of
trunk -- there's no configure script.)
>From gcc-bugs-return-633855-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 00:37:31 2019
Return-Path: <gcc-bugs-return-633855-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92461 invoked by alias); 15 Feb 2019 00:37: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 92378 invoked by uid 55); 15 Feb 2019 00:37:26 -0000
From: "ian at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89168] FAIL: cmd/go/internal/load
Date: Fri, 15 Feb 2019 00:37: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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89168-4-1loKNUCDAj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89168-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89168-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: 2019-02/txt/msg02157.txt.bz2
Content-length: 960

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89168

--- Comment #1 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Fri Feb 15 00:36:50 2019
New Revision: 268922

URL: https://gcc.gnu.org/viewcvs?rev=268922&root=gcc&view=rev
Log:
        PR go/89168
    libgo: change gotest to run examples with output

    Change the gotest script to act like "go test" and run examples that
    have "output" comments.  This is not done with full generality, but
    just enough to run the libgo tests.  Other packages should be tested
    with "go test" as usual.

    While we're here clean up some old bits of gotest, and only run
    TestXXX functions that are actually in *_test.go files.  The latter
    change should fix https://gcc.gnu.org/PR89168.

    Reviewed-on: https://go-review.googlesource.com/c/162139

Modified:
    trunk/gcc/go/gofrontend/MERGE
    trunk/libgo/go/runtime/example_test.go
    trunk/libgo/testsuite/gotest
>From gcc-bugs-return-633856-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 00:42:23 2019
Return-Path: <gcc-bugs-return-633856-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98977 invoked by alias); 15 Feb 2019 00:42: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 98837 invoked by uid 48); 15 Feb 2019 00:42:19 -0000
From: "mark at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88835] overly aggressive -Werror=format-overflow for printf since r265648
Date: Fri, 15 Feb 2019 00: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: 9.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mark 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:
Message-ID: <bug-88835-4-AEIJuPBZ6j@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88835-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88835-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: 2019-02/txt/msg02158.txt.bz2
Content-length: 1493

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88835

--- Comment #12 from Mark Wielaard <mark at gcc dot gnu.org> ---
(In reply to Martin Sebor from comment #11)
> Ah, but you mentioned elfutilts, not binutils.  I've now downloaded and
> built elfutils-0.175.  It took a bit more effort because --disable-werror
> doesn't work there but once I got past that I just got the three
> -Wformat-truncation instances below:
> 
> Diagnostic                        Count   Unique    Files
> -Wformat-truncation=                  3        3        2
> 
> -Wformat-truncation Instances:
>   /src/elfutils-0.175/src/ar.c:1468
>   /src/elfutils-0.175/src/ar.c:859
>   /src/elfutils-0.175/src/arlib.c:63

I am not seeing these, but they might have been fixed in git. We like to keep
the code warning free since we always build with -Werror.

> I'm probably not using the same sources as you, but shouldn't I be seeing at
> least some of the warnings?  (I couldn't find an easy way build the top of
> trunk -- there's no configure script.)

I am using git master. git://sourceware.org/git/elfutils.git
See the README for build instructions:

To build a git checkout do:
  autoreconf -i -f && \
  ./configure --enable-maintainer-mode && \
  make && make check

Note that the warning/error only occurs on 32bit systems, like these fedora
koji arm32 and i686 builds:
https://koji.fedoraproject.org/koji/taskinfo?taskID=32816136

To get the same on a 64bit system build with CFLAGS="-g -O2 -m32"
>From gcc-bugs-return-633857-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 01:46:13 2019
Return-Path: <gcc-bugs-return-633857-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87323 invoked by alias); 15 Feb 2019 01:46: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 87277 invoked by uid 48); 15 Feb 2019 01:46:08 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89168] FAIL: cmd/go/internal/load
Date: Fri, 15 Feb 2019 01:46: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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89168-4-LmqEi2HHz2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89168-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89168-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: 2019-02/txt/msg02159.txt.bz2
Content-length: 419

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89168

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> ---
Fixed.
>From gcc-bugs-return-633858-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 02:08:48 2019
Return-Path: <gcc-bugs-return-633858-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66406 invoked by alias); 15 Feb 2019 02:08: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 66136 invoked by uid 48); 15 Feb 2019 02:08:44 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/70149] [F08] Character pointer initialization causes ICE
Date: Fri, 15 Feb 2019 02:08: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: 6.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: pault at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status
Message-ID: <bug-70149-4-WG2eMbww5u@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70149-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70149-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: 2019-02/txt/msg02160.txt.bz2
Content-length: 519

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70149

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #13 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Has this gone away? I seem to have applied what I believe to be
> the right patch as fallout from another PR.

Any answer to this question?
>From gcc-bugs-return-633859-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 02:12:22 2019
Return-Path: <gcc-bugs-return-633859-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86841 invoked by alias); 15 Feb 2019 02:12: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 86754 invoked by uid 48); 15 Feb 2019 02:12:18 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89356] [9 Regression] sorry, unimplemented: mangling implicit_conv_expr in nodejs8 package since r268321
Date: Fri, 15 Feb 2019 02:12: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: unknown
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89356-4-AIlqOZAn4J@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89356-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89356-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: 2019-02/txt/msg02161.txt.bz2
Content-length: 402

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89356

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
That revision also changes mangling of fn from
decltype (unsigned short{2u}+((int)(3))) fn<int>()
to
decltype ((2u)+((int)(3))) fn<int>()

template<typename T>
auto fn () -> decltype(unsigned{2u} + (T)3) { return 42; }

template auto fn<int>() -> decltype(unsigned{2u} + (int)3);
>From gcc-bugs-return-633860-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 02:32:46 2019
Return-Path: <gcc-bugs-return-633860-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58705 invoked by alias); 15 Feb 2019 02:32: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 56821 invoked by uid 48); 15 Feb 2019 02:32:41 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89356] [9 Regression] sorry, unimplemented: mangling implicit_conv_expr in nodejs8 package since r268321
Date: Fri, 15 Feb 2019 02:32: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: unknown
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89356-4-yrNKoRFjbD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89356-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89356-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: 2019-02/txt/msg02162.txt.bz2
Content-length: 242

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89356

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
reshape_init turns {NON_LVALUE_EXPR <2>} into NON_LVALUE_EXPR <2> and then the
mangled name misses "tl<type><expr>E".
>From gcc-bugs-return-633861-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 05:23:56 2019
Return-Path: <gcc-bugs-return-633861-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95616 invoked by alias); 15 Feb 2019 05:23:56 -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 95538 invoked by uid 48); 15 Feb 2019 05:23:52 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/85316] [meta-bug] VRP range propagation missed cases
Date: Fri, 15 Feb 2019 05:23: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: meta-bug, missed-optimization
X-Bugzilla-Severity: enhancement
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-85316-4-ZkpoVZPkzI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85316-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85316-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: 2019-02/txt/msg02163.txt.bz2
Content-length: 291

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85316

--- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> ---
There's probably a lot more bugs that should fall under this meta-bug than
currently do; I'll leave finding them all for another day though (or for
someone else to do)
>From gcc-bugs-return-633862-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 05:30:59 2019
Return-Path: <gcc-bugs-return-633862-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38857 invoked by alias); 15 Feb 2019 05:30: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 38526 invoked by uid 48); 15 Feb 2019 05:30:48 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89350] [9 Regression] Wrong -Wstringop-overflow= warning since r261518
Date: Fri, 15 Feb 2019 05:30: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: unknown
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89350-4-VBCyhelF0K@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89350-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89350-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: 2019-02/txt/msg02164.txt.bz2
Content-length: 539

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89350

--- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Martin Sebor from comment #1)
> 
> The test case makes the tacit assumption that argc is necessarily
> non-negative.  That makes sense for the argc argument to main but not in
> other situations.  

Would it be possible to propose an update to the C standard that allows the
argc argument to main to be unsigned? Could GCC start accepting unsigned argc
as an extension so that -Wmain allows it?
>From gcc-bugs-return-633863-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 05:36:31 2019
Return-Path: <gcc-bugs-return-633863-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46061 invoked by alias); 15 Feb 2019 05:36: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 45962 invoked by uid 48); 15 Feb 2019 05:36:26 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88835] overly aggressive -Werror=format-overflow for printf since r265648
Date: Fri, 15 Feb 2019 05:36: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: diagnostic
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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-88835-4-CXrXIkFexU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88835-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88835-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: 2019-02/txt/msg02165.txt.bz2
Content-length: 1354

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88835

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egallager at gcc dot gnu.org

--- Comment #13 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Martin Sebor from comment #10)
> I've built the top of binutils-gdb with the patch referenced in comment #8
> applied and with -Wformat-overflow=2 and -Wformat-truncation=2 and got the
> following breakdown:
> 
> Diagnostic                        Count   Unique    Files
> -Wformat-overflow=                   19       19       10
> -Wformat-truncation=                 12       12        7
> -Wconflicts-sr                        7        7        7
> -Wmaybe-uninitialized                 3        3        3
> -Wstringop-truncation                 2        2        2
> -Wconflicts-rr                        2        2        2
> -Wsign-compare                        1        1        1
> -Wother                               1        1        1

Tangent, but -Wconflicts-sr, -Wconflicts-rr, and -Wother are from bison, not
gcc, so you might want to update whatever tool you use to generate these pretty
tables to filter them out
>From gcc-bugs-return-633864-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 07:18:03 2019
Return-Path: <gcc-bugs-return-633864-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54671 invoked by alias); 15 Feb 2019 07:18: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 46429 invoked by uid 55); 15 Feb 2019 07:17:57 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/89342] ICE in maybe_default_option, at opts.c:347
Date: Fri, 15 Feb 2019 07:18:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
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: jakub 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-89342-4-5lULe3BD2u@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89342-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89342-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: 2019-02/txt/msg02166.txt.bz2
Content-length: 627

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89342

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Feb 15 07:17:24 2019
New Revision: 268924

URL: https://gcc.gnu.org/viewcvs?rev=268924&root=gcc&view=rev
Log:
        PR other/89342
        * optc-save-gen.awk: Handle optimize_fast like optimize_size or
        optimize_debug.
        * opth-gen.awk: Likewise.

        * gcc.dg/pr89342.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr89342.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/optc-save-gen.awk
    trunk/gcc/opth-gen.awk
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633865-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 07:37:01 2019
Return-Path: <gcc-bugs-return-633865-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40523 invoked by alias); 15 Feb 2019 07:37: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 40447 invoked by uid 55); 15 Feb 2019 07:36:56 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/89342] ICE in maybe_default_option, at opts.c:347
Date: Fri, 15 Feb 2019 07:37:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
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: jakub 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-89342-4-XunIJVsqkn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89342-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89342-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: 2019-02/txt/msg02167.txt.bz2
Content-length: 707

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89342

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Feb 15 07:36:23 2019
New Revision: 268925

URL: https://gcc.gnu.org/viewcvs?rev=268925&root=gcc&view=rev
Log:
        PR other/89342
        * optc-save-gen.awk: Handle optimize_fast like optimize_size or
        optimize_debug.
        * opth-gen.awk: Likewise.

        * gcc.dg/pr89342.c: New test.

Added:
    branches/gcc-8-branch/gcc/testsuite/gcc.dg/pr89342.c
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/optc-save-gen.awk
    branches/gcc-8-branch/gcc/opth-gen.awk
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633866-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 07:38:48 2019
Return-Path: <gcc-bugs-return-633866-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59234 invoked by alias); 15 Feb 2019 07:38: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 56001 invoked by uid 55); 15 Feb 2019 07:38:42 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89340] [7/8/9 Regression] ICE in function_and_variable_visibility, at ipa-visibility.c:707
Date: Fri, 15 Feb 2019 07:38: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89340-4-bcnsXC6198@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89340-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89340-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: 2019-02/txt/msg02168.txt.bz2
Content-length: 776

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89340

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Feb 15 07:38:09 2019
New Revision: 268926

URL: https://gcc.gnu.org/viewcvs?rev=268926&root=gcc&view=rev
Log:
        PR c/89340
        * c-decl.c (start_function): Clear TREE_PUBLIC on nested functions
        before c_decl_attributes rather than after it.

        * gcc.dg/pr89340.c: New test.
        * gcc.dg/torture/pr57036-2.c (jpgDecode_convert): Expect a warning
        that leaf attribute on nested function is useless.

Added:
    trunk/gcc/testsuite/gcc.dg/pr89340.c
Modified:
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-decl.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/torture/pr57036-2.c
>From gcc-bugs-return-633868-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 07:40:23 2019
Return-Path: <gcc-bugs-return-633868-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68109 invoked by alias); 15 Feb 2019 07: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 67967 invoked by uid 55); 15 Feb 2019 07:40:18 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89278] ICE in gimplify_modify_expr, at gimplify.c:5821
Date: Fri, 15 Feb 2019 07:40: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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:
Message-ID: <bug-89278-4-gbIdlfjPey@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89278-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89278-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: 2019-02/txt/msg02170.txt.bz2
Content-length: 722

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89278

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Feb 15 07:39:45 2019
New Revision: 268927

URL: https://gcc.gnu.org/viewcvs?rev=268927&root=gcc&view=rev
Log:
        PR tree-optimization/89278
        * tree-loop-distribution.c: Include tree-eh.h.
        (generate_memset_builtin, generate_memcpy_builtin): Call
        rewrite_to_non_trapping_overflow on builtin->size before passing it
        to force_gimple_operand_gsi.

        * gcc.dg/pr89278.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr89278.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-loop-distribution.c
>From gcc-bugs-return-633867-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 07:40:03 2019
Return-Path: <gcc-bugs-return-633867-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67107 invoked by alias); 15 Feb 2019 07:40: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 67005 invoked by uid 48); 15 Feb 2019 07:39:59 -0000
From: "crazylht at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89355] Unnecessary ENDBR
Date: Fri, 15 Feb 2019 07:40: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: crazylht 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:
Message-ID: <bug-89355-4-BqiYUnZ4xq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89355-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89355-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: 2019-02/txt/msg02169.txt.bz2
Content-length: 1931

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89355

--- Comment #1 from 刘袋鼠 <crazylht at gmail dot com> ---
(In reply to H.J. Lu from comment #0)
> [hjl@gnu-cfl-2 gcc]$ cat x.i
> int
> test (int* val)
> {
>   int status = 99;
> 
>   if((val == 0))
>     {
>       status = 22;
>       goto end;
>     }
> 
>   extern int x;
>   *val = x;
> 
>   status = 0;
> end:
>   return status;
> }
> 
> [hjl@gnu-cfl-2 gcc]$ ./xgcc -B./ -S -O2 -fcf-protection  x.i
> [hjl@gnu-cfl-2 gcc]$ cat x.s
> 	.file	"x.i"
> 	.text
> 	.p2align 4
> 	.globl	test
> 	.type	test, @function
> test:
> .LFB0:
> 	.cfi_startproc
> 	endbr64
> 	testq	%rdi, %rdi
> 	je	.L3
> 	movl	x(%rip), %eax
> 	movl	%eax, (%rdi)
> 	xorl	%eax, %eax
> 	ret
> 	.p2align 4,,10
> 	.p2align 3
> .L3:
> .L2:
> 	endbr64  <<< Why is ENDBR here?  There is no indirect branch.
> 	movl	$22, %eax
> 	ret
> 	.cfi_endproc
> .LFE0:
> 	.size	test, .-test
> 	.ident	"GCC: (GNU) 9.0.1 20190214 (experimental)"
> 	.section	.note.GNU-stack,"",@progbits
> 	.section	.note.gnu.property,"a"
> 	.align 8
> 	.long	 1f - 0f
> 	.long	 4f - 1f
> 	.long	 5
> 0:
> 	.string	 "GNU"
> 1:
> 	.align 8
> 	.long	 0xc0000002
> 	.long	 3f - 2f
> 2:
> 	.long	 0x3
> 3:
> 	.align 8
> 4:
> [hjl@gnu-cfl-2 gcc]$

I investigate the second endbr64 in the upper case:
for dump x.i.312r.cet

(code_label 24 27 23 4 3 (nil) [1 uses])
(note 23 24 13 4 [bb 4] NOTE_INSN_BASIC_BLOCK)
(note 13 23 39 4 ("end") NOTE_INSN_DELETED_LABEL 2)
(insn 39 13 5 4 (unspec_volatile [
            (const_int 0 [0])
        ] UNSPECV_NOP_ENDBR) -1
     (nil))


for gcc source code:
if ((LABEL_P (insn) && LABEL_PRESERVE_P (insn))
     || (NOTE_P (insn)
   && NOTE_KIND (insn) == NOTE_INSN_DELETED_LABEL))
            /* TODO.  Check /s bit also.  */
            {
              cet_eb = gen_nop_endbr ();
              emit_insn_after (cet_eb, insn);
              continue;
            }
>From gcc-bugs-return-633869-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 07:44:29 2019
Return-Path: <gcc-bugs-return-633869-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72683 invoked by alias); 15 Feb 2019 07:44: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 72584 invoked by uid 48); 15 Feb 2019 07:44:24 -0000
From: "crazylht at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89355] Unnecessary ENDBR
Date: Fri, 15 Feb 2019 07:44: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: crazylht 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:
Message-ID: <bug-89355-4-5AF0CNdXqC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89355-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89355-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: 2019-02/txt/msg02171.txt.bz2
Content-length: 2622

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89355

--- Comment #2 from 刘袋鼠 <crazylht at gmail dot com> ---
(In reply to H.J. Lu from comment #0)
> [hjl@gnu-cfl-2 gcc]$ cat x.i
> int
> test (int* val)
> {
>   int status = 99;
> 
>   if((val == 0))
>     {
>       status = 22;
>       goto end;
>     }
> 
>   extern int x;
>   *val = x;
> 
>   status = 0;
> end:
>   return status;
> }
> 
> [hjl@gnu-cfl-2 gcc]$ ./xgcc -B./ -S -O2 -fcf-protection  x.i
> [hjl@gnu-cfl-2 gcc]$ cat x.s
> 	.file	"x.i"
> 	.text
> 	.p2align 4
> 	.globl	test
> 	.type	test, @function
> test:
> .LFB0:
> 	.cfi_startproc
> 	endbr64
> 	testq	%rdi, %rdi
> 	je	.L3
> 	movl	x(%rip), %eax
> 	movl	%eax, (%rdi)
> 	xorl	%eax, %eax
> 	ret
> 	.p2align 4,,10
> 	.p2align 3
> .L3:
> .L2:
> 	endbr64  <<< Why is ENDBR here?  There is no indirect branch.
> 	movl	$22, %eax
> 	ret
> 	.cfi_endproc
> .LFE0:
> 	.size	test, .-test
> 	.ident	"GCC: (GNU) 9.0.1 20190214 (experimental)"
> 	.section	.note.GNU-stack,"",@progbits
> 	.section	.note.gnu.property,"a"
> 	.align 8
> 	.long	 1f - 0f
> 	.long	 4f - 1f
> 	.long	 5
> 0:
> 	.string	 "GNU"
> 1:
> 	.align 8
> 	.long	 0xc0000002
> 	.long	 3f - 2f
> 2:
> 	.long	 0x3
> 3:
> 	.align 8
> 4:
> [hjl@gnu-cfl-2 gcc]$

I investigate the second endbr64 in the upper case:
for dump x.i.312r.cet

(code_label 24 27 23 4 3 (nil) [1 uses])
(note 23 24 13 4 [bb 4] NOTE_INSN_BASIC_BLOCK)
(note 13 23 39 4 ("end") NOTE_INSN_DELETED_LABEL 2)
(insn 39 13 5 4 (unspec_volatile [
            (const_int 0 [0])
        ] UNSPECV_NOP_ENDBR) -1
     (nil))


(note 13 23 39 4 ("end") NOTE_INSN_DELETED_LABEL 2)
will enter following branch which emit endbr64
for gcc source code:

if ((LABEL_P (insn) && LABEL_PRESERVE_P (insn))
     || (NOTE_P (insn)
         && NOTE_KIND (insn) == NOTE_INSN_DELETED_LABEL))
        /* TODO.  Check /s bit also.  */
    {
      cet_eb = gen_nop_endbr ();
      emit_insn_after (cet_eb, insn);
      continue;
    }


Following patch would fix this problem:

diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 12bc7926f86..2282816ae19 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -2734,9 +2734,10 @@ rest_of_insert_endbranch (void)
              continue;
            }

-         if ((LABEL_P (insn) && LABEL_PRESERVE_P (insn))
+         if ((LABEL_P (insn)
              || (NOTE_P (insn)
                  && NOTE_KIND (insn) == NOTE_INSN_DELETED_LABEL))
+             && LABEL_PRESERVE_P (insn))
            /* TODO.  Check /s bit also.  */
            {
              cet_eb = gen_nop_endbr ();
>From gcc-bugs-return-633870-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 07:51:03 2019
Return-Path: <gcc-bugs-return-633870-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83015 invoked by alias); 15 Feb 2019 07:51: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 82945 invoked by uid 55); 15 Feb 2019 07:50:58 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89278] ICE in gimplify_modify_expr, at gimplify.c:5821
Date: Fri, 15 Feb 2019 07:51: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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:
Message-ID: <bug-89278-4-QSsOhsJZ7w@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89278-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89278-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: 2019-02/txt/msg02172.txt.bz2
Content-length: 786

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89278

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Feb 15 07:50:26 2019
New Revision: 268928

URL: https://gcc.gnu.org/viewcvs?rev=268928&root=gcc&view=rev
Log:
        PR tree-optimization/89278
        * tree-loop-distribution.c: Include tree-eh.h.
        (generate_memset_builtin, generate_memcpy_builtin): Call
        rewrite_to_non_trapping_overflow on builtin->size before passing it
        to force_gimple_operand_gsi.

        * gcc.dg/pr89278.c: New test.

Added:
    branches/gcc-8-branch/gcc/testsuite/gcc.dg/pr89278.c
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
    branches/gcc-8-branch/gcc/tree-loop-distribution.c
>From gcc-bugs-return-633872-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 07:53:27 2019
Return-Path: <gcc-bugs-return-633872-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86115 invoked by alias); 15 Feb 2019 07:53: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 85996 invoked by uid 55); 15 Feb 2019 07:53:23 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/88920] [9 regression] GCC is not configured to support amdgcn-unknown-amdhsa as offload target
Date: Fri, 15 Feb 2019 07:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: ams at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88920-4-8JA7HK0qBy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88920-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88920-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: 2019-02/txt/msg02174.txt.bz2
Content-length: 1031

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88920

--- Comment #27 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Feb 15 07:52:50 2019
New Revision: 268930

URL: https://gcc.gnu.org/viewcvs?rev=268930&root=gcc&view=rev
Log:
        PR other/69006
        PR testsuite/88920
        * lib/gcc-dg.exp: If llvm_binutils effective target, set
        allow_blank_lines to 2 during initialization.
        (dg-allow-blank-lines-in-output): Set allow_blank_lines to 1 only if
        it was previously zero.
        (gcc-dg-prune): Don't check for llvm_binutils effective target here.
        Clear allow_blank_lines afterwards whenever it was 1.
        * gdc.test/gdc-test.exp (dmd2dg): Don't call
        dg-allow-blank-lines-in-output here.
        (gdc-do-test): Set allow_blank_lines to 3 if it is 0 before running
        the tests and restore it back at the end.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gdc.test/gdc-test.exp
    trunk/gcc/testsuite/lib/gcc-dg.exp
>From gcc-bugs-return-633871-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 07:53:27 2019
Return-Path: <gcc-bugs-return-633871-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86099 invoked by alias); 15 Feb 2019 07:53: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 85984 invoked by uid 55); 15 Feb 2019 07:53:22 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/69006] [6 Regression] Extraneous newline emitted between error messages in GCC 6
Date: Fri, 15 Feb 2019 07:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords: diagnostic, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-69006-4-EEj9BUgeyg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69006-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69006-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: 2019-02/txt/msg02173.txt.bz2
Content-length: 1030

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69006

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Feb 15 07:52:50 2019
New Revision: 268930

URL: https://gcc.gnu.org/viewcvs?rev=268930&root=gcc&view=rev
Log:
        PR other/69006
        PR testsuite/88920
        * lib/gcc-dg.exp: If llvm_binutils effective target, set
        allow_blank_lines to 2 during initialization.
        (dg-allow-blank-lines-in-output): Set allow_blank_lines to 1 only if
        it was previously zero.
        (gcc-dg-prune): Don't check for llvm_binutils effective target here.
        Clear allow_blank_lines afterwards whenever it was 1.
        * gdc.test/gdc-test.exp (dmd2dg): Don't call
        dg-allow-blank-lines-in-output here.
        (gdc-do-test): Set allow_blank_lines to 3 if it is 0 before running
        the tests and restore it back at the end.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gdc.test/gdc-test.exp
    trunk/gcc/testsuite/lib/gcc-dg.exp
>From gcc-bugs-return-633873-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 07:55:17 2019
Return-Path: <gcc-bugs-return-633873-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89039 invoked by alias); 15 Feb 2019 07:55: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 88817 invoked by uid 48); 15 Feb 2019 07:55:13 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/89342] ICE in maybe_default_option, at opts.c:347
Date: Fri, 15 Feb 2019 07:55:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
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: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-89342-4-tPygMB4Gli@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89342-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89342-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: 2019-02/txt/msg02175.txt.bz2
Content-length: 485

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89342

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |8.3

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed for 8.3+.
>From gcc-bugs-return-633875-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 07:56:31 2019
Return-Path: <gcc-bugs-return-633875-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92321 invoked by alias); 15 Feb 2019 07:56: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 92257 invoked by uid 48); 15 Feb 2019 07:56:26 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89278] ICE in gimplify_modify_expr, at gimplify.c:5821
Date: Fri, 15 Feb 2019 07: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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 resolution
Message-ID: <bug-89278-4-vJWrXwVW8n@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89278-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89278-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: 2019-02/txt/msg02177.txt.bz2
Content-length: 432

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89278

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed for 8.3+.
>From gcc-bugs-return-633876-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 07:56:43 2019
Return-Path: <gcc-bugs-return-633876-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93063 invoked by alias); 15 Feb 2019 07:56: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 93001 invoked by uid 48); 15 Feb 2019 07:56:37 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/88920] [9 regression] GCC is not configured to support amdgcn-unknown-amdhsa as offload target
Date: Fri, 15 Feb 2019 07:56:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: ams at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-88920-4-XkmCMwe3Ph@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88920-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88920-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: 2019-02/txt/msg02178.txt.bz2
Content-length: 424

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88920

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #28 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-633874-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 07:56:15 2019
Return-Path: <gcc-bugs-return-633874-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91540 invoked by alias); 15 Feb 2019 07:56: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 91471 invoked by uid 48); 15 Feb 2019 07:56:10 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89340] [7/8 Regression] ICE in function_and_variable_visibility, at ipa-visibility.c:707
Date: Fri, 15 Feb 2019 07:56: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-89340-4-S2mLlcfNna@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89340-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89340-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: 2019-02/txt/msg02176.txt.bz2
Content-length: 727

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89340

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[7/8/9 Regression] ICE in   |[7/8 Regression] ICE in
                   |function_and_variable_visib |function_and_variable_visib
                   |ility, at                   |ility, at
                   |ipa-visibility.c:707        |ipa-visibility.c:707

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed on the trunk.  Not really sure if this should be backported, for the
release branches it might be better to silently ignore the weak flag.
>From gcc-bugs-return-633877-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 07:57:31 2019
Return-Path: <gcc-bugs-return-633877-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96351 invoked by alias); 15 Feb 2019 07:57: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 95635 invoked by uid 48); 15 Feb 2019 07:57:25 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89354] [7 Regression] Combine pass yields wrong code with -O2 and -msse2 for 32bit target
Date: Fri, 15 Feb 2019 07:57: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: 6.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-89354-4-PSJV8dmGpo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89354-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89354-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: 2019-02/txt/msg02179.txt.bz2
Content-length: 606

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89354

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[7/8/9 Regression] Combine  |[7 Regression] Combine pass
                   |pass yields wrong code with |yields wrong code with -O2
                   |-O2 and -msse2 for 32bit    |and -msse2 for 32bit target
                   |target                      |

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed for 8.3+ so far.
>From gcc-bugs-return-633878-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 08:31:08 2019
Return-Path: <gcc-bugs-return-633878-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18428 invoked by alias); 15 Feb 2019 08:30: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 18054 invoked by uid 48); 15 Feb 2019 08:30:24 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89350] [9 Regression] Wrong -Wstringop-overflow= warning since r261518
Date: Fri, 15 Feb 2019 08:30: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: unknown
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89350-4-Vl1CAHBW9A@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89350-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89350-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: 2019-02/txt/msg02180.txt.bz2
Content-length: 1840

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89350

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Well, we could perhaps do something like:
--- gcc/gimple-ssa-evrp.c.jj    2019-01-01 12:37:15.712998659 +0100
+++ gcc/gimple-ssa-evrp.c       2019-02-15 09:27:49.569441402 +0100
@@ -41,6 +41,7 @@ along with GCC; see the file COPYING3.
 #include "tree-cfgcleanup.h"
 #include "vr-values.h"
 #include "gimple-ssa-evrp-analyze.h"
+#include "tree-dfa.h"

 class evrp_folder : public substitute_and_fold_engine
 {
@@ -307,6 +308,21 @@ execute_early_vrp ()
   scev_initialize ();
   calculate_dominance_info (CDI_DOMINATORS);

+  /* argc in main is never negative.  */
+  if (MAIN_NAME_P (DECL_NAME (current_function_decl))
+      && DECL_ARGUMENTS (current_function_decl))
+    {
+      tree argc = DECL_ARGUMENTS (current_function_decl);
+      if (TYPE_MAIN_VARIANT (TREE_TYPE (argc)) == integer_type_node)
+       {
+         argc = ssa_default_def (cfun, argc);
+         if (argc && SSA_NAME_RANGE_INFO (argc) == NULL)
+           set_range_info (argc, VR_RANGE,
+                           wi::zero (TYPE_PRECISION (integer_type_node)),
+                           wi::to_wide (TYPE_MAX_VALUE (integer_type_node)));
+       }
+    }
+
   /* Walk stmts in dominance order and propagate VRP.  */
   evrp_dom_walker walker;
   walker.walk (ENTRY_BLOCK_PTR_FOR_FN (cfun));
(not really sure if it will work fine with Ada, it does some games with main).

That said, I bet the original package code didn't have the warning in main but
somewhere else.
>From gcc-bugs-return-633879-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 08:39:21 2019
Return-Path: <gcc-bugs-return-633879-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34858 invoked by alias); 15 Feb 2019 08:39: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 34762 invoked by uid 48); 15 Feb 2019 08:39:15 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89350] [9 Regression] Wrong -Wstringop-overflow= warning since r261518
Date: Fri, 15 Feb 2019 08:39: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: unknown
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89350-4-8gH7B1T16F@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89350-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89350-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: 2019-02/txt/msg02181.txt.bz2
Content-length: 572

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89350

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Note, e.g. C99 guarantees that:
"If they are declared, the parameters to the main function shall obey the
following constraints:
— The value of argc shall be nonnegative."
Similarly C++, http://eel.is/c++draft/basic.start.main
"The value of argc shall be non-negative."

So, we could do this, or perhaps add
lang_GNU_C () || lang_GNU_CXX () || lang_GNU_OBJC ()
check too, evrp is pre-IPA pass and thus it can check the defining language
easily.
>From gcc-bugs-return-633880-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 08:50:42 2019
Return-Path: <gcc-bugs-return-633880-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46148 invoked by alias); 15 Feb 2019 08:50:41 -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 46079 invoked by uid 48); 15 Feb 2019 08:50:37 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89350] [9 Regression] Wrong -Wstringop-overflow= warning since r261518
Date: Fri, 15 Feb 2019 08:50: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: unknown
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89350-4-JljrjIaiRe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89350-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89350-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: 2019-02/txt/msg02182.txt.bz2
Content-length: 229

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89350

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
> That said, I bet the original package code didn't have the warning in main
> but somewhere else.

Yes.
>From gcc-bugs-return-633881-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 08:52:11 2019
Return-Path: <gcc-bugs-return-633881-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48396 invoked by alias); 15 Feb 2019 08:52: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 47814 invoked by uid 48); 15 Feb 2019 08:52:05 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89350] [9 Regression] Wrong -Wstringop-overflow= warning since r261518
Date: Fri, 15 Feb 2019 08:52: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: unknown
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89350-4-ZzkhiDm5mw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89350-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89350-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: 2019-02/txt/msg02183.txt.bz2
Content-length: 243

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89350

--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
Created attachment 45727
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45727&action=edit
original test-case
>From gcc-bugs-return-633882-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 08:55:47 2019
Return-Path: <gcc-bugs-return-633882-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51550 invoked by alias); 15 Feb 2019 08:55: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 51487 invoked by uid 48); 15 Feb 2019 08:55:43 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89350] [9 Regression] Wrong -Wstringop-overflow= warning since r261518
Date: Fri, 15 Feb 2019 08: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: unknown
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89350-4-MnaYl0dgYE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89350-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89350-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: 2019-02/txt/msg02184.txt.bz2
Content-length: 597

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89350

--- Comment #7 from Martin Liška <marxin at gcc dot gnu.org> ---
Thanks for analysis.

> 
> The bogus warning can be avoided in the first case simply by punting on
> offsets that could be in the negative range, but almost certainly not
> without some false negatives. 

Yes, I can confirm that adding a check for negative values can make
the warning gone.

>  I'm not sure it's necessarily a good tradeoff
> (I don't know that it isn't either).  Is this code representative of some
> wide-spread idiom?

I see it just in one package.
>From gcc-bugs-return-633883-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 08:57:26 2019
Return-Path: <gcc-bugs-return-633883-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67257 invoked by alias); 15 Feb 2019 08:57: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 61186 invoked by uid 48); 15 Feb 2019 08:57:20 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89350] [9 Regression] Wrong -Wstringop-overflow= warning since r261518
Date: Fri, 15 Feb 2019 08: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: unknown
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89350-4-consyddAuB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89350-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89350-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: 2019-02/txt/msg02185.txt.bz2
Content-length: 280

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89350

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45728
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45728&action=edit
gcc9-pr89350.patch

Untested patch for the argc range stuff.
>From gcc-bugs-return-633884-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 08:58:01 2019
Return-Path: <gcc-bugs-return-633884-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88379 invoked by alias); 15 Feb 2019 08:58: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 88303 invoked by uid 48); 15 Feb 2019 08:57:57 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/89349] raised STORAGE_ERROR : stack overflow or erroneous memory access when building GCC 8 branch with GCC master
Date: Fri, 15 Feb 2019 08:58: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: unknown
X-Bugzilla-Keywords:
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status
Message-ID: <bug-89349-4-3Kpuws7hF3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89349-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89349-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: 2019-02/txt/msg02186.txt.bz2
Content-length: 889

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89349

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #7 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Eric Botcazou from comment #6)
> > My reproducer described in the first comment was:
> > 1) build gcc trunk w/o bootstrap and install it
> > 2) use the compiler and build gcc-8 branch w/o bootstrap
> > 3) Ada FE is successfully built, but Ada runtime build fails (with gcc-8 Ada
> > FE)
> 
> Sure, but the question is what happens if remove --disable-bootstrap from
> the configure line you posted?

It won't help. Note that my original reproducer was openSUSE package build
(which always uses bootstrap).
>From gcc-bugs-return-633885-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 09:01:02 2019
Return-Path: <gcc-bugs-return-633885-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93271 invoked by alias); 15 Feb 2019 09:01: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 93147 invoked by uid 48); 15 Feb 2019 09:00:53 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89358] [7/8/9 Regression] Combining -std=c++14 and -std=c++17 objects gives ODR warnings
Date: Fri, 15 Feb 2019 09:01: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: 9.0
X-Bugzilla-Keywords: diagnostic
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc cf_known_to_work short_desc cf_known_to_fail
Message-ID: <bug-89358-4-SBBFPLKkVV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89358-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89358-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: 2019-02/txt/msg02187.txt.bz2
Content-length: 869

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89358

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fdumont at gcc dot gnu.org
      Known to work|                            |6.4.0
            Summary|Combining -std=c++14 and    |[7/8/9 Regression]
                   |-std=c++17 objects gives    |Combining -std=c++14 and
                   |ODR warnings                |-std=c++17 objects gives
                   |                            |ODR warnings
      Known to fail|                            |7.3.0, 8.2.0, 9.0

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
I see it starting with r243379, would it be possible culprit of that?
>From gcc-bugs-return-633886-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 09:14:16 2019
Return-Path: <gcc-bugs-return-633886-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107535 invoked by alias); 15 Feb 2019 09:14: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 107490 invoked by uid 48); 15 Feb 2019 09:14:11 -0000
From: "SztfG at yandex dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/66152] suboptimal load bytes to stack
Date: Fri, 15 Feb 2019 09:14: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: unknown
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: SztfG at yandex dot ru
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-66152-4-sE3OxN1ovX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66152-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66152-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: 2019-02/txt/msg02188.txt.bz2
Content-length: 390

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66152

--- Comment #4 from SztfG at yandex dot ru ---
GCC from trunk doing this:

.Ltext0:
.LC0:
  .string ""
  .ascii "\001\002\003\004\005\006\007"
bar:
.LFB0:
  sub rsp, 24
  mov rax, QWORD PTR .LC0[rip]
  lea rdi, [rsp+8]
  mov QWORD PTR [rsp+8], rax
  call foo
.LVL0:
  add rsp, 24
  ret
.LFE0:

instead movabsq $506097522914230528, %rax
>From gcc-bugs-return-633887-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 09:25:47 2019
Return-Path: <gcc-bugs-return-633887-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38028 invoked by alias); 15 Feb 2019 09:25:46 -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 37891 invoked by uid 48); 15 Feb 2019 09:25:39 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/66152] suboptimal load bytes to stack
Date: Fri, 15 Feb 2019 09:25: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: unknown
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-66152-4-wK6muO6jrs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66152-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66152-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: 2019-02/txt/msg02189.txt.bz2
Content-length: 539

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66152

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
That changed with r263511, which now treats the {0,1,2,3,4,5,6,7} initializer
like "\0\1\2\3\4\5\6\7", so that means even GCC 8 expanded the latter this way.
>From gcc-bugs-return-633888-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 09:58:41 2019
Return-Path: <gcc-bugs-return-633888-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126367 invoked by alias); 15 Feb 2019 09:58: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 121882 invoked by uid 48); 15 Feb 2019 09:58:36 -0000
From: "SztfG at yandex dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89360] New: GCC doesn't emit movcc instruction in some cases
Date: Fri, 15 Feb 2019 09:58: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: SztfG at yandex dot ru
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_gcctarget
Message-ID: <bug-89360-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: 2019-02/txt/msg02190.txt.bz2
Content-length: 1936

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89360

            Bug ID: 89360
           Summary: GCC doesn't emit movcc instruction in some cases
           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: SztfG at yandex dot ru
  Target Milestone: ---
            Target: x86_64-linux-gnu

Here are two function:

void sort2_ternary(int a, int b, int *pa, int *pb)
{
  *pa = a < b ? a : b;
  *pb = a < b ? b : a;
}

void sort2_if(int a, int b, int *pa, int *pb)
{
  if (a < b) {
    *pa = a;
    *pb = b;
  }
  else
  {
    *pa = b;
    *pb = a;
  }
}

GCC does not emit CMOVcc (conditional move) on GCC 8.2 if we compile it as C++
code

https://godbolt.org/z/ytE0Ix

sort2_ternary(int, int, int*, int*):
        cmp     edi, esi
        jge     .L2
        mov     eax, edi
        mov     edi, esi
        mov     esi, eax
.L2:
        mov     DWORD PTR [rdx], esi
        mov     DWORD PTR [rcx], edi
        ret
sort2_if(int, int, int*, int*):
        cmp     edi, esi
        jge     .L5
        mov     DWORD PTR [rdx], edi
        mov     DWORD PTR [rcx], esi
        ret
.L5:
        mov     DWORD PTR [rdx], esi
        mov     DWORD PTR [rcx], edi
        ret

but if compile it as C code, sort2_ternary have MOVcc:

sort2_ternary:
        cmp     esi, edi
        mov     eax, edi
        cmovle  eax, esi
        cmovl   esi, edi
        mov     DWORD PTR [rdx], eax
        mov     DWORD PTR [rcx], esi
        ret

but sort2_if remains same.


On GCC trunk there is no difference between compiling this as C or C++ for
sort2_ternary(), but sort2_if() still doesn't have CMOVcc instruction in it for
both case.


Measuring cmov vs branch-mov performance: https://github.com/xiadz/cmov
>From gcc-bugs-return-633890-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 10:03:30 2019
Return-Path: <gcc-bugs-return-633890-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34754 invoked by alias); 15 Feb 2019 10:03: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 34626 invoked by uid 48); 15 Feb 2019 10:03:25 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/45375] [meta-bug] Issues with building Mozilla (i.e. Firefox) with LTO
Date: Fri, 15 Feb 2019 10:03:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: lto
X-Bugzilla-Version: 4.6.0
X-Bugzilla-Keywords: meta-bug
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-45375-4-yqFSf0xDSz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-45375-4@http.gcc.gnu.org/bugzilla/>
References: <bug-45375-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: 2019-02/txt/msg02192.txt.bz2
Content-length: 506

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375
Bug 45375 depends on bug 88858, which changed state.

Bug 88858 Summary: ICE in rtl_verify_fallthru, at cfgrtl.c:2930 in Firefox build with LTO and PGO
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88858

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-633889-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 10:03:29 2019
Return-Path: <gcc-bugs-return-633889-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34657 invoked by alias); 15 Feb 2019 10:03: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 34445 invoked by uid 48); 15 Feb 2019 10:03:21 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/88858] ICE in rtl_verify_fallthru, at cfgrtl.c:2930 in Firefox build with LTO and PGO
Date: Fri, 15 Feb 2019 10:03: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: 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: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_known_to_work resolution cf_known_to_fail
Message-ID: <bug-88858-4-7LkCcz0JEK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88858-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88858-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: 2019-02/txt/msg02191.txt.bz2
Content-length: 575

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88858

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Known to work|                            |7.4.0
         Resolution|---                         |FIXED
      Known to fail|7.4.0                       |

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
GCC 7 branch is not affected, closing then.
>From gcc-bugs-return-633891-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 10:09:54 2019
Return-Path: <gcc-bugs-return-633891-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46219 invoked by alias); 15 Feb 2019 10:09: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 46121 invoked by uid 48); 15 Feb 2019 10:09:49 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/89349] raised STORAGE_ERROR : stack overflow or erroneous memory access when building GCC 8 branch with GCC master
Date: Fri, 15 Feb 2019 10:09: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-89349-4-ntG3ecnjes@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89349-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89349-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: 2019-02/txt/msg02193.txt.bz2
Content-length: 627

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89349

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #8 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> It won't help. Note that my original reproducer was openSUSE package build
> (which always uses bootstrap).

Well, at least it would give some hint as to what goes wrong and whether this
is an issue in GCC 8 or GCC 9.  Can you try with GCC 8 itself then?
>From gcc-bugs-return-633892-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 10:13:08 2019
Return-Path: <gcc-bugs-return-633892-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120318 invoked by alias); 15 Feb 2019 10:13: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 114118 invoked by uid 48); 15 Feb 2019 10:13:03 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89358] [7/8/9 Regression] Combining -std=c++14 and -std=c++17 objects gives ODR warnings
Date: Fri, 15 Feb 2019 10:13: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: 9.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-89358-4-JQlqXr4Z5W@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89358-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89358-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: 2019-02/txt/msg02194.txt.bz2
Content-length: 577

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89358

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
That change introduces some differences between C++98 and later modes, but the
testcase use C++14 and C++17. There are no differences in the code. There's
certainly no difference between std::less<int> in the two modes.

Even so, we need to be able to make parts of the std::lib conditional on the
standard version, as long as the semantics remain the same. These warnings are
not helpful if they make users worry about harmless implementation details.
>From gcc-bugs-return-633893-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 10:17:52 2019
Return-Path: <gcc-bugs-return-633893-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85569 invoked by alias); 15 Feb 2019 10:17: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 85437 invoked by uid 48); 15 Feb 2019 10:17:46 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89358] [7/8/9 Regression] Combining -std=c++14 and -std=c++17 objects gives ODR warnings
Date: Fri, 15 Feb 2019 10:17: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: 9.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-89358-4-1WDqItWm8e@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89358-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89358-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: 2019-02/txt/msg02195.txt.bz2
Content-length: 853

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89358

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I see this warning even when compiling preprocessed source that was all
produced using -std=c++14 (so the input source code is identical):

g++ -E main.cpp -o main.ii
g++ -E test.cpp -o test.ii
g++ -flto -c main.ii -std=c++17
g++ -flto -c test.ii
g++ -flto main.o test.o
/usr/include/c++/8/bits/stl_function.h:381:12: note: type ‘struct less’ itself
violates the C++ One Definition Rule
     struct less : public binary_function<_Tp, _Tp, bool>
            ^

So this appears to be a difference introduced by the compiler, not the source
code. Either there's a compiler bug causing unwanted differences depending on
-sd options, or the warnings need to be suppressed because the differences are
intended.
>From gcc-bugs-return-633894-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 10:25:56 2019
Return-Path: <gcc-bugs-return-633894-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102354 invoked by alias); 15 Feb 2019 10:25:55 -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 102262 invoked by uid 48); 15 Feb 2019 10:25:51 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89358] [7/8/9 Regression] Combining -std=c++14 and -std=c++17 objects gives ODR warnings
Date: Fri, 15 Feb 2019 10:25: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: 9.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-89358-4-bPqN6eHZzx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89358-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89358-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: 2019-02/txt/msg02196.txt.bz2
Content-length: 1594

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89358

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This shows it has nothing to do with r243379 at all:


template<typename _Arg1, typename _Arg2, typename _Result>
  struct binary_function
  {
    typedef _Arg1 first_argument_type;
    typedef _Arg2 second_argument_type;
    typedef _Result result_type;
  };

template<typename _Tp>
  struct less : public binary_function<_Tp, _Tp, bool>
  {
    constexpr
    bool
    operator()(const _Tp& __x, const _Tp& __y) const
    { return __x < __y; }
  };

int f(int i, int j);

#if __cplusplus < 201703L

int f(int i, int j)
{
  return less<int>()(i, j);
}

#else

int main()
{
  return less<int>()(3, 4) == f(2, 1);
}

#endif


g++ -flto -c src.cc
g++ -flto -c src.cc -std=c++17 -o src17.o
g++ -flto src.o src17.o
src.cc:10:10: warning: type ‘struct less’ violates the C++ One Definition Rule
[-Wodr]
   struct less : public binary_function<_Tp, _Tp, bool>
          ^
src.cc:10:10: note: a type with different bases is defined in another
translation unit
   struct less : public binary_function<_Tp, _Tp, bool>
          ^
src.cc:14:5: warning: ‘operator()’ violates the C++ One Definition Rule 
[-Wodr]
     operator()(const _Tp& __x, const _Tp& __y) const
     ^
src.cc:14:5: note: ‘operator()’ was previously declared here
     operator()(const _Tp& __x, const _Tp& __y) const
     ^


This shows the exact same source code, compiled with -std=c++14 and -std=c++17,
and bogus warnings about different bases.
>From gcc-bugs-return-633895-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 10:28:01 2019
Return-Path: <gcc-bugs-return-633895-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114288 invoked by alias); 15 Feb 2019 10:28: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 114185 invoked by uid 48); 15 Feb 2019 10:27:56 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/66152] [9 Regression] suboptimal load bytes to stack
Date: Fri, 15 Feb 2019 10:28: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: jakub 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 version target_milestone short_desc everconfirmed
Message-ID: <bug-66152-4-5btCc1VsKL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66152-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66152-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: 2019-02/txt/msg02197.txt.bz2
Content-length: 833

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66152

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-15
            Version|unknown                     |9.0
   Target Milestone|---                         |9.0
            Summary|suboptimal load bytes to    |[9 Regression] suboptimal
                   |stack                       |load bytes to stack
     Ever confirmed|0                           |1

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
That only happens if there is '\0' embedded in the created string before end.
Anyway, this makes it a regression.
>From gcc-bugs-return-633896-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 10:36:22 2019
Return-Path: <gcc-bugs-return-633896-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51128 invoked by alias); 15 Feb 2019 10:36: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 51038 invoked by uid 48); 15 Feb 2019 10:36:18 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89358] [7/8/9 Regression] Combining -std=c++14 and -std=c++17 objects gives ODR warnings
Date: Fri, 15 Feb 2019 10:36: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: 9.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-89358-4-lD3e8Y7tzn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89358-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89358-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: 2019-02/txt/msg02198.txt.bz2
Content-length: 612

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89358

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
It's true that the two bases are defined in different translation units, but
that's irrelevant. What the C++ language requires is that the definitions
consist of the same sequence of tokens, it doesn't matter which file they are
defined in. If I am allergic to headers it's perfectly fine to copy & paste the
same code into the top of every translation unit instead of using headers.

The relevant rule is http://eel.is/c++draft/basic.def.odr#12 and the example
above doesn't violate it.
>From gcc-bugs-return-633897-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 10:44:45 2019
Return-Path: <gcc-bugs-return-633897-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92720 invoked by alias); 15 Feb 2019 10:44: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 92672 invoked by uid 48); 15 Feb 2019 10:44:40 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89358] [7/8/9 Regression] Combining -std=c++14 and -std=c++17 objects gives ODR warnings
Date: Fri, 15 Feb 2019 10:44: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: 9.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-89358-4-CEIUP6XNzh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89358-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89358-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: 2019-02/txt/msg02199.txt.bz2
Content-length: 1250

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89358

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Taking just this code:

template<typename _Arg1, typename _Arg2, typename _Result>
  struct binary_function
  {
    typedef _Arg1 first_argument_type;
    typedef _Arg2 second_argument_type;
    typedef _Result result_type;
  };

template<typename _Tp>
  struct less : public binary_function<_Tp, _Tp, bool>
  {
    constexpr
    bool
    operator()(const _Tp& __x, const _Tp& __y) const
    { return __x < __y; }
  };

int f(int i, int j)
{
  return less<int>()(i, j);
}

Compiling as C++14 and C++14 and comparing the -fdump-tree-original dumps I
see:

--- f.cc.003t.original.14       2019-02-15 10:43:10.841906030 +0000
+++ f.cc.003t.original.17       2019-02-15 10:43:15.442914718 +0000
@@ -10,5 +10,5 @@
 ;; enabled by -tree-original


-<<cleanup_point return <retval> = (int) less<int>::operator() (&TARGET_EXPR
<D.2458, {}>, (const int &) &i, (const int &) &j)>>;
+<<cleanup_point return <retval> = (int) less<int>::operator() (&TARGET_EXPR
<D.2229, {.D.2170={}}>, (const int &) &i, (const int &) &j)>>;


So the generated code is slightly different when using -std=c++17, would that
cause -Wodr to complain?
>From gcc-bugs-return-633898-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 10:49:09 2019
Return-Path: <gcc-bugs-return-633898-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98023 invoked by alias); 15 Feb 2019 10:49: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 97644 invoked by uid 48); 15 Feb 2019 10:48:50 -0000
From: "rdapp at linux dot ibm.com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89123] Too many go test failures on s390x-linux
Date: Fri, 15 Feb 2019 10:49: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: rdapp at linux dot ibm.com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89123-4-tyQTmyR7to@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89123-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89123-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: 2019-02/txt/msg02200.txt.bz2
Content-length: 112

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89123

--- Comment #11 from rdapp at linux dot ibm.com ---
Ping.
>From gcc-bugs-return-633900-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 10:59:39 2019
Return-Path: <gcc-bugs-return-633900-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120364 invoked by alias); 15 Feb 2019 10:59: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 120302 invoked by uid 55); 15 Feb 2019 10:59:34 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89242] [7 Regression] ICE in verify_dominators, at dominance.c:1184 (error: dominator of 7 should be 5, not 2)
Date: Fri, 15 Feb 2019 10:59: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: EH, ice-checking, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89242-4-5eT8dCHR5J@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89242-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89242-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: 2019-02/txt/msg02202.txt.bz2
Content-length: 883

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89242

--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Fri Feb 15 10:59:02 2019
New Revision: 268938

URL: https://gcc.gnu.org/viewcvs?rev=268938&root=gcc&view=rev
Log:
Backport r268873

2019-02-15  Martin Liska  <mliska@suse.cz>

        Backport from mainline
        2019-02-14  Martin Liska  <mliska@suse.cz>

        PR rtl-optimization/89242
        * dce.c (delete_unmarked_insns): Call free_dominance_info we
        process a transformation.
2019-02-15  Martin Liska  <mliska@suse.cz>

        Backport from mainline
        2019-02-14  Martin Liska  <mliska@suse.cz>

        PR rtl-optimization/89242
        * g++.dg/pr89242.C: New test.

Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/dce.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633899-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 10:59:26 2019
Return-Path: <gcc-bugs-return-633899-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119427 invoked by alias); 15 Feb 2019 10:59: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 119335 invoked by uid 55); 15 Feb 2019 10:59:21 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89009] [7 Regression] Miscompilation (missing function call) with -fvisibility=hidden -fpic -O2 -fno-inline
Date: Fri, 15 Feb 2019 10:59: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.2.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89009-4-nk71VEsUkG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89009-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89009-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: 2019-02/txt/msg02201.txt.bz2
Content-length: 1615

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89009

--- Comment #17 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Fri Feb 15 10:58:49 2019
New Revision: 268937

URL: https://gcc.gnu.org/viewcvs?rev=268937&root=gcc&view=rev
Log:
Backport r268762

2019-02-15  Martin Liska  <mliska@suse.cz>

        Backport from mainline
        2019-02-11  Martin Liska  <mliska@suse.cz>

        PR ipa/89009
        * ipa-cp.c (build_toporder_info): Remove usage of a param.
        * ipa-inline.c (inline_small_functions): Likewise.
        * ipa-pure-const.c (propagate_pure_const): Likewise.
        (propagate_nothrow): Likewise.
        * ipa-reference.c (propagate): Likewise.
        * ipa-utils.c (struct searchc_env): Remove unused field.
        (searchc): Always search across AVAIL_INTERPOSABLE.
        (ipa_reduced_postorder): Always allow AVAIL_INTERPOSABLE as
        the only called IPA pure const can properly not propagate
        across interposable boundary.
        * ipa-utils.h (ipa_reduced_postorder): Remove param.
2019-02-15  Martin Liska  <mliska@suse.cz>

        Backport from mainline
        2019-02-11  Martin Liska  <mliska@suse.cz>

        PR ipa/89009
        * g++.dg/ipa/pr89009.C: New test.

Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/ipa-cp.c
    branches/gcc-7-branch/gcc/ipa-inline.c
    branches/gcc-7-branch/gcc/ipa-pure-const.c
    branches/gcc-7-branch/gcc/ipa-reference.c
    branches/gcc-7-branch/gcc/ipa-utils.c
    branches/gcc-7-branch/gcc/ipa-utils.h
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633901-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 11:00:51 2019
Return-Path: <gcc-bugs-return-633901-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125111 invoked by alias); 15 Feb 2019 11:00: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 122081 invoked by uid 48); 15 Feb 2019 11:00:34 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89009] Miscompilation (missing function call) with -fvisibility=hidden -fpic -O2 -fno-inline
Date: Fri, 15 Feb 2019 11:00: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.2.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_known_to_work short_desc cf_known_to_fail
Message-ID: <bug-89009-4-SCO6DP7gJj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89009-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89009-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: 2019-02/txt/msg02203.txt.bz2
Content-length: 785

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89009

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |7.4.0
            Summary|[7 Regression]              |Miscompilation (missing
                   |Miscompilation (missing     |function call) with
                   |function call) with         |-fvisibility=hidden -fpic
                   |-fvisibility=hidden -fpic   |-O2 -fno-inline
                   |-O2 -fno-inline             |
      Known to fail|7.4.0                       |

--- Comment #18 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed on all active branches.
>From gcc-bugs-return-633902-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 11:01:26 2019
Return-Path: <gcc-bugs-return-633902-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128768 invoked by alias); 15 Feb 2019 11:01:26 -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 126964 invoked by uid 48); 15 Feb 2019 11:01:22 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89242] ICE in verify_dominators, at dominance.c:1184 (error: dominator of 7 should be 5, not 2)
Date: Fri, 15 Feb 2019 11:01: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: EH, ice-checking, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_known_to_work resolution short_desc cf_known_to_fail
Message-ID: <bug-89242-4-rspZmTEFmO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89242-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89242-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: 2019-02/txt/msg02204.txt.bz2
Content-length: 896

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89242

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Known to work|                            |7.4.1
         Resolution|---                         |FIXED
            Summary|[7 Regression] ICE in       |ICE in verify_dominators,
                   |verify_dominators, at       |at dominance.c:1184 (error:
                   |dominance.c:1184 (error:    |dominator of 7 should be 5,
                   |dominator of 7 should be 5, |not 2)
                   |not 2)                      |
      Known to fail|7.4.0                       |

--- Comment #7 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed on all active branches.
>From gcc-bugs-return-633903-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 11:02:38 2019
Return-Path: <gcc-bugs-return-633903-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78173 invoked by alias); 15 Feb 2019 11:02: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 73189 invoked by uid 48); 15 Feb 2019 11:02:34 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/89349] raised STORAGE_ERROR : stack overflow or erroneous memory access when building GCC 8 branch with GCC master
Date: Fri, 15 Feb 2019 11:02: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: unknown
X-Bugzilla-Keywords:
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status
Message-ID: <bug-89349-4-upPTbo1ubw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89349-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89349-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: 2019-02/txt/msg02205.txt.bz2
Content-length: 768

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89349

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Eric Botcazou from comment #8)
> > It won't help. Note that my original reproducer was openSUSE package build
> > (which always uses bootstrap).
> 
> Well, at least it would give some hint as to what goes wrong and whether
> this is an issue in GCC 8 or GCC 9.  Can you try with GCC 8 itself then?

Building gcc 8 with gcc 8 is fine.
Can you please Eric try to reproduce that locally?
>From gcc-bugs-return-633904-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 11:07:23 2019
Return-Path: <gcc-bugs-return-633904-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 70421 invoked by alias); 15 Feb 2019 11:07: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 70345 invoked by uid 48); 15 Feb 2019 11:07:17 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/89349] raised STORAGE_ERROR : stack overflow or erroneous memory access when building GCC 8 branch with GCC master
Date: Fri, 15 Feb 2019 11:07: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: unknown
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89349-4-wYAsthxq2M@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89349-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89349-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: 2019-02/txt/msg02206.txt.bz2
Content-length: 341

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89349

--- Comment #10 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Building gcc 8 with gcc 8 is fine.

OK, thanks.

> Can you please Eric try to reproduce that locally?

Sure, as soon as the compiler builds again for me...
  https://gcc.gnu.org/ml/gcc-patches/2019-02/msg01155.html
>From gcc-bugs-return-633905-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 11:07:57 2019
Return-Path: <gcc-bugs-return-633905-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71828 invoked by alias); 15 Feb 2019 11:07:56 -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 71696 invoked by uid 48); 15 Feb 2019 11:07:53 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/66152] [9 Regression] suboptimal load bytes to stack
Date: Fri, 15 Feb 2019 11: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: jakub 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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created
Message-ID: <bug-66152-4-ihLbVxTzcs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66152-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66152-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: 2019-02/txt/msg02207.txt.bz2
Content-length: 676

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66152

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45729
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45729&action=edit
gcc9-pr66152.patch

Untested fix to handle '\0's embedded at the start of in the middle of
STRING_CSTs when storing it into memory.
>From gcc-bugs-return-633906-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 11:20:27 2019
Return-Path: <gcc-bugs-return-633906-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124820 invoked by alias); 15 Feb 2019 11:20:26 -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 123382 invoked by uid 48); 15 Feb 2019 11:20:22 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89358] [7/8/9 Regression] Combining -std=c++14 and -std=c++17 objects gives ODR warnings
Date: Fri, 15 Feb 2019 11:20: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: 9.0
X-Bugzilla-Keywords: diagnostic, needs-bisection, needs-reduction
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords
Message-ID: <bug-89358-4-OPtbOgBtLS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89358-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89358-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: 2019-02/txt/msg02208.txt.bz2
Content-length: 473

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89358

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needs-bisection,
                   |                            |needs-reduction

--- Comment #8 from Martin Liška <marxin at gcc dot gnu.org> ---
I'm trying to creduce that..
>From gcc-bugs-return-633907-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 11:37:55 2019
Return-Path: <gcc-bugs-return-633907-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89675 invoked by alias); 15 Feb 2019 11:37: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 89573 invoked by uid 48); 15 Feb 2019 11:37:50 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89358] [7/8/9 Regression] Combining -std=c++14 and -std=c++17 objects gives ODR warnings
Date: Fri, 15 Feb 2019 11:37: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: 9.0
X-Bugzilla-Keywords: diagnostic, needs-bisection
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords
Message-ID: <bug-89358-4-G9qbmDCOxb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89358-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89358-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: 2019-02/txt/msg02209.txt.bz2
Content-length: 813

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89358

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|needs-reduction             |

--- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> ---
So I ended up with:

--- 1.ii ---
struct a {};
struct b : a {
} c;
--- 2.ii ---
cat 2.ii
struct a {};
struct b : a {
} c2;

$ g++ -flto -c -std=c++14 1.ii && g++ -flto -c -std=c++17 2.ii && g++ [12].o
-shared
1.ii:2:8: warning: type ‘struct b’ violates the C++ One Definition Rule [-Wodr]
 struct b : a {
        ^
2.ii:2:8: note: a type with different bases is defined in another translation
unit
 struct b : a {
        ^
>From gcc-bugs-return-633908-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 11:39:53 2019
Return-Path: <gcc-bugs-return-633908-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92652 invoked by alias); 15 Feb 2019 11:39: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 92486 invoked by uid 48); 15 Feb 2019 11:39:49 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89358] [7/8/9 Regression] Combining -std=c++14 and -std=c++17 objects gives ODR warnings
Date: Fri, 15 Feb 2019 11:39: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: 9.0
X-Bugzilla-Keywords: diagnostic
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords cc
Message-ID: <bug-89358-4-Aewf3xkxfY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89358-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89358-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: 2019-02/txt/msg02210.txt.bz2
Content-length: 537

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89358

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|needs-bisection             |
                 CC|                            |hubicka at gcc dot gnu.org,
                   |                            |jason at gcc dot gnu.org

--- Comment #10 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r241187.
>From gcc-bugs-return-633909-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 11:52:57 2019
Return-Path: <gcc-bugs-return-633909-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58508 invoked by alias); 15 Feb 2019 11:52:56 -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 57196 invoked by uid 48); 15 Feb 2019 11:52:50 -0000
From: "mark at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88835] overly aggressive -Werror=format-overflow for printf since r265648
Date: Fri, 15 Feb 2019 11:52: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: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mark 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:
Message-ID: <bug-88835-4-l0BFiBvUa7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88835-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88835-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: 2019-02/txt/msg02211.txt.bz2
Content-length: 4596

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88835

--- Comment #14 from Mark Wielaard <mark at gcc dot gnu.org> ---
(In reply to Mark Wielaard from comment #12)
> (In reply to Martin Sebor from comment #11)
> > Ah, but you mentioned elfutilts, not binutils.  I've now downloaded and
> > built elfutils-0.175.  It took a bit more effort because --disable-werror
> > doesn't work there but once I got past that I just got the three
> > -Wformat-truncation instances below:
> > 
> > Diagnostic                        Count   Unique    Files
> > -Wformat-truncation=                  3        3        2
> > 
> > -Wformat-truncation Instances:
> >   /src/elfutils-0.175/src/ar.c:1468
> >   /src/elfutils-0.175/src/ar.c:859
> >   /src/elfutils-0.175/src/arlib.c:63
> 
> I am not seeing these, but they might have been fixed in git. We like to
> keep the code warning free since we always build with -Werror.

Aha, I now see, you are using -Wformat-truncation=2. Then yes, these snprintfs
formats could produce more characters than would fit in the given buffer/size.
But that is kind of the point of the code, that we don't overflow the given
buffer. The snprintf is supposed to truncate to what would fit in these cases.
I can see if I could come up with something smarter to detect this without
using snprintf, but that seems to defeat the point of using snprintf. So for
now we just don't use -Wformat-truncation=2. (Background, ar files are weird,
they use fixed size character fields for numbers as decimal strings without a
zero terminator, but right padded with spaces.)

The specific warnings which we enable can be found in config/eu.am and depend
on some configure checks to make sure gcc supports them:

AM_CFLAGS = -std=gnu99 -Wall -Wshadow -Wformat=2 \
            -Wold-style-definition -Wstrict-prototypes -Wtrampolines \
            $(LOGICAL_OP_WARNING) $(DUPLICATED_COND_WARNING) \
            $(NULL_DEREFERENCE_WARNING) $(IMPLICIT_FALLTHROUGH_WARNING) \
            $(if $($(*F)_no_Werror),,-Werror) \
            $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \
            $(if $($(*F)_no_Wstack_usage),,$(STACK_USAGE_WARNING)) \
            $(if $($(*F)_no_Wpacked_not_aligned),-Wno-packed-not-aligned,) \
            $($(*F)_CFLAGS)

With the following (if supported):

STACK_USAGE_WARNING=-Wstack-usage=262144
LOGICAL_OP_WARNING=-Wlogical-op
DUPLICATED_COND_WARNING=-Wduplicated-cond
NULL_DEREFERENCE_WARNING=-Wnull-dereference
IMPLICIT_FALLTHROUGH_WARNING=-Wimplicit-fallthrough=5

As you can see individual files can turn off some of these if necessary in the
Makefile by adding file_no_Wxxx. So the easiest way to see which warnings are
used it by running make V=1 which for this specific case gives (note the -m32
since I am running this on x86_64):

gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/usr/local/share/locale"' 
-DDEBUGPRED=0 -DSRCDIR=\"/home/mark/src/elfutils/src\"
-DOBJDIR=\"/opt/local/build/elfutils-obj/src\" -I.
-I/home/mark/src/elfutils/src -I..  -I. -I/home/mark/src/elfutils/src
-I/home/mark/src/elfutils/lib -I.. -I/home/mark/src/elfutils/src/../libelf
-I/home/mark/src/elfutils/src/../libebl -I/home/mark/src/elfutils/src/../libdw
-I/home/mark/src/elfutils/src/../libdwelf
-I/home/mark/src/elfutils/src/../libdwfl
-I/home/mark/src/elfutils/src/../libasm  -std=gnu99 -Wall -Wshadow -Wformat=2
-Wold-style-definition -Wstrict-prototypes -Wtrampolines -Wlogical-op
-Wduplicated-cond -Wnull-dereference -Wimplicit-fallthrough=5 -Werror -Wunused
-Wextra    -D_FORTIFY_SOURCE=2 -m32 -g -O2 -DBAD_FTS=1 -MT readelf.o -MD -MP
-MF .deps/readelf.Tpo -c -o readelf.o /home/mark/src/elfutils/src/readelf.c
/home/mark/src/elfutils/src/readelf.c: In function ‘print_debug_str_section’:
/home/mark/src/elfutils/src/readelf.c:10167:15: error: ‘%*llx’ directive output
between 4 and 2147483647 bytes may cause result to exceed ‘INT_MAX’
[-Werror=format-overflow=]
10167 |       printf (" [%*" PRIx64 "]  \"%s\"\n", digits, (uint64_t) offset,
str);
      |               ^~~~~~
/home/mark/src/elfutils/src/readelf.c:10167:18: note: format string is defined
here
10167 |       printf (" [%*" PRIx64 "]  \"%s\"\n", digits, (uint64_t) offset,
str);
/home/mark/src/elfutils/src/readelf.c:10167:15: note: directive argument in the
range [0, 18446744073709551614]
10167 |       printf (" [%*" PRIx64 "]  \"%s\"\n", digits, (uint64_t) offset,
str);
      |               ^~~~~~
cc1: all warnings being treated as errors
>From gcc-bugs-return-633910-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 11:53:56 2019
Return-Path: <gcc-bugs-return-633910-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73248 invoked by alias); 15 Feb 2019 11:53:56 -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 73172 invoked by uid 48); 15 Feb 2019 11:53:52 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89358] [7/8/9 Regression] Combining -std=c++14 and -std=c++17 objects gives ODR warnings
Date: Fri, 15 Feb 2019 11:53: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: 9.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-89358-4-mmssFtvcYA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89358-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89358-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: 2019-02/txt/msg02212.txt.bz2
Content-length: 597

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89358

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |hubicka at gcc dot gnu.org

--- Comment #11 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
I will take a look. I suppose the representation of classes differs based on
std setting and that makes the ODR verifier to think they are different.
>From gcc-bugs-return-633911-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 11:55:50 2019
Return-Path: <gcc-bugs-return-633911-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76871 invoked by alias); 15 Feb 2019 11:55: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 76761 invoked by uid 48); 15 Feb 2019 11:55:46 -0000
From: "pjp at fedoraproject dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/87210] [RFE] introduce build time options to zero initialize automatic stack variables
Date: Fri, 15 Feb 2019 11:55: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pjp at fedoraproject dot 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-87210-4-lLuBoGCwRW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87210-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87210-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: 2019-02/txt/msg02213.txt.bz2
Content-length: 225

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87210

--- Comment #3 from P J P <pjp at fedoraproject dot org> ---
Similar options under review for LLVM
  -> https://lists.llvm.org/pipermail/cfe-dev/2018-November/060172.html
>From gcc-bugs-return-633913-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 11:56:31 2019
Return-Path: <gcc-bugs-return-633913-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81576 invoked by alias); 15 Feb 2019 11:56: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 79283 invoked by uid 48); 15 Feb 2019 11:56:27 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89361] [7/8/9 Regression] s390 broken without S390_USE_TARGET_ATTRIBUTE, likely since r257489
Date: Fri, 15 Feb 2019 11:56: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc target_milestone
Message-ID: <bug-89361-4-1rrfGIdrSl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89361-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89361-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: 2019-02/txt/msg02215.txt.bz2
Content-length: 366

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89361

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |krebbel at gcc dot gnu.org
   Target Milestone|---                         |7.5
>From gcc-bugs-return-633912-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 11:56:16 2019
Return-Path: <gcc-bugs-return-633912-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78078 invoked by alias); 15 Feb 2019 11:56: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 77993 invoked by uid 48); 15 Feb 2019 11:56:09 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89361] New: [7/8/9 Regression] s390 broken without S390_USE_TARGET_ATTRIBUTE, likely since r257489
Date: Fri, 15 Feb 2019 11:56: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89361-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: 2019-02/txt/msg02214.txt.bz2
Content-length: 960

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89361

            Bug ID: 89361
           Summary: [7/8/9 Regression] s390 broken without
                    S390_USE_TARGET_ATTRIBUTE, likely since r257489
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
  Target Milestone: ---

When configuring s390x-linux with old binutils or without binutils, when
HAVE_AS_MACHINE_MACHINEMODE is not defined, the resulting compiler is totally
broken.
The problem is that s390_indirect_branch_settings is never called in that case,
so cfun->machine->indirect_branch_{jump,call} and
cfun->machine->function_return_{reg,mem} are indirect_branch_unset / 0 and thus
it emits unconditionally the indirect branch stuff, regardless of what options
user actually used.
>From gcc-bugs-return-633914-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 12:34:35 2019
Return-Path: <gcc-bugs-return-633914-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52568 invoked by alias); 15 Feb 2019 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 52466 invoked by uid 48); 15 Feb 2019 12:34:31 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89358] [7/8/9 Regression] Combining -std=c++14 and -std=c++17 objects gives ODR warnings
Date: Fri, 15 Feb 2019 12:34: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: 9.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89358-4-fKxKexcKrt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89358-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89358-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: 2019-02/txt/msg02216.txt.bz2
Content-length: 1289

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89358

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Yeah, it adds an artificial field like:
 <field_decl 0x7fffea901a18 D.2070
    type <record_type 0x7fffea939bd0 BLK
        size <integer_cst 0x7fffea7f5ea0 constant 0>
        unit-size <integer_cst 0x7fffea7f5e58 constant 0>
        align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7fffea939bd0 context <record_type 0x7fffea939a80 a>>
    ignored decl_6 QI pr89358.c:2:8 size <integer_cst 0x7fffea7f5e58 0>
unit-size <integer_cst 0x7fffea7f5e58 0>
    align:8 warn_if_not_align:0 offset_align 8 offset <integer_cst
0x7fffea7f5e58 0> bit-offset <integer_cst 0x7fffea7f5ea0 0> context
<record_type 0x7fffea939c78 b> chain <type_decl 0x7fffea901980 b>>

DECL_FIELD_IS_BASE is lost after free-lang-data I'd say, so what LTO ODR
checking could look for is FIELD_DECL is NULL DECL_NAME, DECL_ARTIFICIAL,
DECL_IGNORED_P with size_zero_node DECL_SIZE and ignore those if missing just
in one case?
>From gcc-bugs-return-633915-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 12:38:28 2019
Return-Path: <gcc-bugs-return-633915-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56389 invoked by alias); 15 Feb 2019 12:38: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 56315 invoked by uid 48); 15 Feb 2019 12:38:23 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libbacktrace/89362] New: [8/9 regression] zlib support breaks libbacktrace on strict-alignment platforms
Date: Fri, 15 Feb 2019 12:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libbacktrace
X-Bugzilla-Version: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: major
X-Bugzilla-Who: ebotcazou 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-89362-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: 2019-02/txt/msg02217.txt.bz2
Content-length: 3038

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89362

            Bug ID: 89362
           Summary: [8/9 regression] zlib support breaks libbacktrace on
                    strict-alignment platforms
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: libbacktrace
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ebotcazou at gcc dot gnu.org
                CC: ian at gcc dot gnu.org
  Target Milestone: ---

The new zlib support (PR other/67165) has broken the library on
strict-alignment platforms, for example SPARC64/Linux.  Here's a typical ICE
report:

ebotcazou@gcc202:~/build$ gcc/cc1 -quiet pr35318.c -m32 -mcpu=ultrasparc       
pr35318.c: In function 'foo':
pr35318.c:9:1: error: unrecognizable insn:
    9 | }
      | ^
(insn 14 28 29 2 (parallel [
            (set (reg:DF 10 %o2 [orig:113 x ] [113])
                (asm_operands/v:DF ("") ("=r,r") 0 [
                        (reg:SI 11 %o3 [orig:113 x+4 ] [113])
                        (mem/c:DF (plus:SI (reg/f:SI 30 %fp)
                                (const_int -24 [0xffffffffffffffe8])) [3
%sfp+-24 S8 A64])
                    ]
                     [
                        (asm_input:DF ("%0,0") pr35318.c:8)
                        (asm_input:SI ("m,r") pr35318.c:8)
                    ]
                     [] pr35318.c:8))
            (set (reg:DF 2 %g2 [orig:114 y ] [114])
                (asm_operands/v:DF ("") ("=r,r") 1 [
                        (reg:SI 11 %o3 [orig:113 x+4 ] [113])
                        (mem/c:DF (plus:SI (reg/f:SI 30 %fp)
                                (const_int -24 [0xffffffffffffffe8])) [3
%sfp+-24 S8 A64])
                    ]
                     [
                        (asm_input:DF ("%0,0") pr35318.c:8)
                        (asm_input:SI ("m,r") pr35318.c:8)
                    ]
                     [] pr35318.c:8))
        ]) "pr35318.c":8:3 -1
     (nil))
during RTL pass: reload

during RTL pass: reload
pr35318.c:9:1: internal compiler error: in extract_constrain_insn, at
recog.c:2211

pr35318.c:9:1: internal compiler error: Bus error
Bus error

Program received signal SIGBUS, Bus error.
0x0000010000138ab4 in elf_uncompress_chdr (state=0xfff8000100044000, 
    compressed=0xfff8000104ca48af "", compressed_size=4074875, 
    zdebug_table=0xfff800010353e000, error_callback=
    0x1000011dfc4 <__sanitizer::(anonymous namespace)::ErrorCallback(void*,
char const*, int)>, data=0x7feffffd5b8, uncompressed=0x7feffffc670, 
    uncompressed_size=0x7feffffc668)
    at
/home/ebotcazou/src/libsanitizer/libbacktrace/../../libbacktrace/elf.c:2580
2580      if (chdr->ch_type != ELFCOMPRESS_ZLIB)

The problem is that most debug sections have alignment 1 so you cannot do:

 chdr = (const b_elf_chdr *) compressed;

and expect to have a valid b_elf_chdr on strict-alignment platforms.

This also breaks the sanitizer on these platforms.
>From gcc-bugs-return-633916-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 12:58:46 2019
Return-Path: <gcc-bugs-return-633916-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113678 invoked by alias); 15 Feb 2019 12:58: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 113609 invoked by uid 48); 15 Feb 2019 12:58:42 -0000
From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89330] IPA inliner touches released cgraph_edges
Date: Fri, 15 Feb 2019 12:58: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jamborm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89330-4-evHn69gsTh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89330-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89330-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: 2019-02/txt/msg02218.txt.bz2
Content-length: 265

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89330

--- Comment #6 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Created attachment 45730
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45730&action=edit
Untested fix

I'm testing the attached fix.
>From gcc-bugs-return-633917-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 13:14:39 2019
Return-Path: <gcc-bugs-return-633917-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88072 invoked by alias); 15 Feb 2019 13:14: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 87985 invoked by uid 48); 15 Feb 2019 13:14:33 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82364] [7 Regression] Enormous memory usage when building for 32bit i386 with >= -O1
Date: Fri, 15 Feb 2019 13:14: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: 7.2.0
X-Bugzilla-Keywords: memory-hog, needs-bisection
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc cf_known_to_work cf_known_to_fail
Message-ID: <bug-82364-4-XSU9NeIvy4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82364-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82364-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: 2019-02/txt/msg02219.txt.bz2
Content-length: 656

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82364

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
                 CC|                            |marxin at gcc dot gnu.org
      Known to work|6.4.0                       |8.2.0, 9.0
      Known to fail|                            |6.4.0

--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed on trunk in r251412 which is a revision where I introduced switch
expansion as a GIMPLE pass.
>From gcc-bugs-return-633918-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 13:21:48 2019
Return-Path: <gcc-bugs-return-633918-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59585 invoked by alias); 15 Feb 2019 13:21: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 59516 invoked by uid 48); 15 Feb 2019 13:21:43 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89361] [7/8/9 Regression] s390 broken without S390_USE_TARGET_ATTRIBUTE, likely since r257489
Date: Fri, 15 Feb 2019 13: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed attachments.created
Message-ID: <bug-89361-4-9wRlEn2b3S@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89361-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89361-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: 2019-02/txt/msg02220.txt.bz2
Content-length: 689

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89361

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-15
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45731
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45731&action=edit
gcc9-pr89361.patch

Untested fix.
>From gcc-bugs-return-633919-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 13:22:46 2019
Return-Path: <gcc-bugs-return-633919-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63414 invoked by alias); 15 Feb 2019 13:22: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 63303 invoked by uid 48); 15 Feb 2019 13:22:40 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82364] [7 Regression] Enormous memory usage when building for 32bit i386 with >= -O1
Date: Fri, 15 Feb 2019 13:22: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: 7.2.0
X-Bugzilla-Keywords: memory-hog
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords
Message-ID: <bug-82364-4-di0bRRY6qw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82364-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82364-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: 2019-02/txt/msg02221.txt.bz2
Content-length: 432

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82364

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|needs-bisection             |

--- Comment #7 from Martin Liška <marxin at gcc dot gnu.org> ---
Started probably in r228194 (change from 400MB -> 1400MB RAM usage).
>From gcc-bugs-return-633920-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 13:37:30 2019
Return-Path: <gcc-bugs-return-633920-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111336 invoked by alias); 15 Feb 2019 13:37: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 111282 invoked by uid 48); 15 Feb 2019 13:37:26 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/84616] funsafe-math-optimizations leads to incorrect results for 4x4 matrix inversion
Date: Fri, 15 Feb 2019 13:37: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: 7.3.1
X-Bugzilla-Keywords: needs-reduction, wrong-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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-84616-4-EIziDQzXSL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84616-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84616-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: 2019-02/txt/msg02222.txt.bz2
Content-length: 422

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84616

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
The issues is gone after r255474.
>From gcc-bugs-return-633921-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 14:16:55 2019
Return-Path: <gcc-bugs-return-633921-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59170 invoked by alias); 15 Feb 2019 14:16: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 59081 invoked by uid 48); 15 Feb 2019 14:16:50 -0000
From: "Bader at lrz dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89363] New: RANK incorrect for unallocated allocatable
Date: Fri, 15 Feb 2019 14:16: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: Bader at lrz dot de
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-89363-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: 2019-02/txt/msg02223.txt.bz2
Content-length: 867

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89363

            Bug ID: 89363
           Summary: RANK incorrect for unallocated allocatable
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: Bader at lrz dot de
  Target Milestone: ---

Created attachment 45732
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45732&action=edit
test code

The attached program compiles without complaints using gfortran 9.0 trunk
build, but delivers an incorrect value for the RANK() intrinsic if the dummy is
declared with assumed RANK and the ALLOCATABLE attribute, and the actual
argument has the status "not allocated".

Instead of "2", values are returned that change from run to run.
>From gcc-bugs-return-633922-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 14:17:48 2019
Return-Path: <gcc-bugs-return-633922-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60627 invoked by alias); 15 Feb 2019 14:17: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 60538 invoked by uid 48); 15 Feb 2019 14:17:43 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89330] IPA inliner touches released cgraph_edges
Date: Fri, 15 Feb 2019 14:17: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89330-4-mvBVeliTze@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89330-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89330-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: 2019-02/txt/msg02224.txt.bz2
Content-length: 322

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89330

--- Comment #7 from Martin Liška <marxin at gcc dot gnu.org> ---
Created attachment 45733
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45733&action=edit
Follow up patch that releases memory

Survives GCC LTO bootstrap and can build Inkscape with LTO.
>From gcc-bugs-return-633923-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 14:25:31 2019
Return-Path: <gcc-bugs-return-633923-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98347 invoked by alias); 15 Feb 2019 14:25: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 98003 invoked by uid 48); 15 Feb 2019 14:25:06 -0000
From: "Bader at lrz dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89364] New: Assumed rank object with incorrect values for shape and bounds
Date: Fri, 15 Feb 2019 14:25: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: Bader at lrz dot de
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-89364-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: 2019-02/txt/msg02225.txt.bz2
Content-length: 783

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89364

            Bug ID: 89364
           Summary: Assumed rank object with incorrect values for shape
                    and bounds
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: Bader at lrz dot de
  Target Milestone: ---

Created attachment 45734
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45734&action=edit
test code

The attached code compiles without complaints with gfortran 9.0 trunk, but
produces incorrect values for the SHAPE, LBOUND and UBOUND intrinsics on the
last dimension if the actual argument is an assumed-size array.
>From gcc-bugs-return-633924-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 14:31:07 2019
Return-Path: <gcc-bugs-return-633924-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3430 invoked by alias); 15 Feb 2019 14:31:06 -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 3211 invoked by uid 48); 15 Feb 2019 14:30:53 -0000
From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89330] IPA inliner touches released cgraph_edges
Date: Fri, 15 Feb 2019 14:31: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jamborm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: assigned_to
Message-ID: <bug-89330-4-JlM8YEtn3N@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89330-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89330-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: 2019-02/txt/msg02226.txt.bz2
Content-length: 495

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89330

Martin Jambor <jamborm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|hubicka at gcc dot gnu.org         |jamborm at gcc dot gnu.org

--- Comment #8 from Martin Jambor <jamborm at gcc dot gnu.org> ---
I have proposed the fix on the mailing list:

https://gcc.gnu.org/ml/gcc-patches/2019-02/msg01225.html
>From gcc-bugs-return-633925-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 14:34:40 2019
Return-Path: <gcc-bugs-return-633925-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22321 invoked by alias); 15 Feb 2019 14:34: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 22125 invoked by uid 48); 15 Feb 2019 14:34:36 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89123] Too many go test failures on s390x-linux
Date: Fri, 15 Feb 2019 14:34: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: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89123-4-fn8OnTdtNu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89123-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89123-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: 2019-02/txt/msg02227.txt.bz2
Content-length: 353

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89123

--- Comment #12 from Ian Lance Taylor <ian at airs dot com> ---
Sorry for the delay, will look at the patch now.

You can test a single target libgo target by using make to build the /check
target.  For example, to test the bytes package, cd to the libgo build
directory and run "make bytes/check".
>From gcc-bugs-return-633926-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 14:38:40 2019
Return-Path: <gcc-bugs-return-633926-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30656 invoked by alias); 15 Feb 2019 14:38: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 30594 invoked by uid 48); 15 Feb 2019 14:38:35 -0000
From: "Bader at lrz dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89365] New: Inquiry functions for assumed rank objects fail
Date: Fri, 15 Feb 2019 14:38: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: Bader at lrz dot de
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-89365-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: 2019-02/txt/msg02228.txt.bz2
Content-length: 780

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89365

            Bug ID: 89365
           Summary: Inquiry functions for assumed rank objects fail
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: Bader at lrz dot de
  Target Milestone: ---

Created attachment 45735
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45735&action=edit
test code

The attached test code produces failures for the SHAPE, LBOUND and UBOUND
intrinsics when applied to assumed-rank objects with the POINTER or ALLOCATABLE
attribute. Note that for these cases the behaviour should be as for
deferred-shape objects.
>From gcc-bugs-return-633927-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 14:49:00 2019
Return-Path: <gcc-bugs-return-633927-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91874 invoked by alias); 15 Feb 2019 14:48: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 91817 invoked by uid 48); 15 Feb 2019 14:48:55 -0000
From: "Bader at lrz dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89366] New: Fails to compile BIND(C) interface with assumed-length character argument
Date: Fri, 15 Feb 2019 14:48: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: Bader at lrz dot de
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-89366-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: 2019-02/txt/msg02229.txt.bz2
Content-length: 1052

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89366

            Bug ID: 89366
           Summary: Fails to compile BIND(C) interface with assumed-length
                    character argument
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: Bader at lrz dot de
  Target Milestone: ---

Created attachment 45736
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45736&action=edit
test code

The extensions in C interop imply that an assumed-length character dummy
argument can appear in a BIND(C) interface, and is mapped to a C descriptor.
However, the attached test code fails to compile with the following error
message:

assumed_length_01_pos.f90:12:35:

   12 |      subroutine process_string(this, ierr) BIND(C)
      |                                   1
Error: Character argument ?this? at (1) must be length 1 because procedure
?process_string? is BIND(C)
>From gcc-bugs-return-633928-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 14:51:47 2019
Return-Path: <gcc-bugs-return-633928-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96539 invoked by alias); 15 Feb 2019 14:51:46 -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 96445 invoked by uid 55); 15 Feb 2019 14:51:42 -0000
From: "ian at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89123] Too many go test failures on s390x-linux
Date: Fri, 15 Feb 2019 14:51: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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89123-4-MoBjssjnjZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89123-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89123-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: 2019-02/txt/msg02230.txt.bz2
Content-length: 653

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89123

--- Comment #13 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Fri Feb 15 14:51:10 2019
New Revision: 268941

URL: https://gcc.gnu.org/viewcvs?rev=268941&root=gcc&view=rev
Log:
        PR go/89123
    internal/cpu, runtime: add S/390 CPU capability support

    Patch by Robin Dapp.

    Updates https://gcc.gnu.org/PR89123

    Reviewed-on: https://go-review.googlesource.com/c/162887

Modified:
    trunk/gcc/go/gofrontend/MERGE
    trunk/libgo/go/internal/cpu/cpu_gccgo.c
    trunk/libgo/go/internal/cpu/cpu_s390x.go
    trunk/libgo/go/runtime/os_linux_s390x.go
>From gcc-bugs-return-633929-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 14:52:46 2019
Return-Path: <gcc-bugs-return-633929-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101059 invoked by alias); 15 Feb 2019 14:52: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 100402 invoked by uid 55); 15 Feb 2019 14:52:40 -0000
From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/84616] funsafe-math-optimizations leads to incorrect results for 4x4 matrix inversion
Date: Fri, 15 Feb 2019 14: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: 7.3.1
X-Bugzilla-Keywords: needs-reduction, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenther at suse dot de
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-84616-4-UZO0LtgOsL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84616-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84616-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: 2019-02/txt/msg02231.txt.bz2
Content-length: 732

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84616

--- Comment #5 from rguenther at suse dot de <rguenther at suse dot de> ---
On February 15, 2019 2:37:25 PM GMT+01:00, "marxin at gcc dot gnu.org"
<gcc-bugzilla@gcc.gnu.org> wrote:
>https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84616
>
>Martin Liška <marxin at gcc dot gnu.org> changed:
>
>           What    |Removed                     |Added
>----------------------------------------------------------------------------
>              CC|                            |marxin at gcc dot gnu.org
>
>--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
>The issues is gone after r255474.

Likely latent. The rev. Shouldn't have affected code generation.
>From gcc-bugs-return-633930-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 14:53:02 2019
Return-Path: <gcc-bugs-return-633930-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103444 invoked by alias); 15 Feb 2019 14:53: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 102482 invoked by uid 48); 15 Feb 2019 14:52:56 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89123] Too many go test failures on s390x-linux
Date: Fri, 15 Feb 2019 14:53: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: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89123-4-j7ZGIFmfEZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89123-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89123-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: 2019-02/txt/msg02232.txt.bz2
Content-length: 178

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89123

--- Comment #14 from Ian Lance Taylor <ian at airs dot com> ---
OK, patch committed.  Should we leave this bug report open?
>From gcc-bugs-return-633931-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 15:40:16 2019
Return-Path: <gcc-bugs-return-633931-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42929 invoked by alias); 15 Feb 2019 15:40: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 42852 invoked by uid 48); 15 Feb 2019 15:40:10 -0000
From: "rafael at espindo dot la" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89337] Bogus "exceeds maximum object size" on unreachable code
Date: Fri, 15 Feb 2019 15:40: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: 9.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rafael at espindo dot la
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-89337-4-iNGY5wRtsQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89337-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89337-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: 2019-02/txt/msg02233.txt.bz2
Content-length: 3478

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89337

--- Comment #10 from Rafael Avila de Espindola <rafael at espindo dot la> ---
(In reply to Martin Sebor from comment #9)
> The warning is very simple: it just looks for excessive sizes in calls
> emitted in the optimized IL.  When the call is there (either because it's in
> the source code as is or because it's been synthesized by GCC based on the
> invariants it can infer from the code) it triggers.  It runs after all
> high-level optimizations, including DCE, and assumes that if the statement
> is in the IL it is reachable.  Compiling the test case with
> -fdump-tree-optimized=/dev/stdout shows the GIMPLE the warning works with:
> 
>   <bb 20> [local count: 233860936]:
>   # iftmp.6_113 = PHI <iftmp.6_112(19), &D.3395.u.internal.str(18)>
>   memset (iftmp.6_113, 0, 18446744073709551613);
> 
> I think the issue can essentially be reduced to the following:
> 
> $ cat z.c && gcc -O2 -S -fdump-tree-optimized=/dev/stdout z.c
> void f (char *d, const char *s)
> {
>   if (__builtin_strstr (s, "ABC"))
>     {
>       __SIZE_TYPE__ n = __builtin_strlen (s) - 3;
> 
>       if (n > __builtin_strlen (s))   // cannot be true
>         __builtin_memset (d, 0, n - __builtin_strlen (s));
>   }
> }
> 
> ;; Function f (f, funcdef_no=0, decl_uid=1907, cgraph_uid=1, symbol_order=0)
> 
> Removing basic block 6
> Removing basic block 7
> f (char * d, const char * s)
> {
>   char * _1;
>   long unsigned int _2;
> 
>   <bb 2> [local count: 1073741824]:
>   _1 = __builtin_strstr (s_5(D), "ABC");
>   if (_1 != 0B)
>     goto <bb 3>; [70.00%]
>   else
>     goto <bb 5>; [30.00%]
> 
>   <bb 3> [local count: 751619278]:
>   _2 = __builtin_strlen (s_5(D));
>   if (_2 <= 2)
>     goto <bb 4>; [33.00%]
>   else
>     goto <bb 5>; [67.00%]
> 
>   <bb 4> [local count: 248034361]:
>   __builtin_memset (d_6(D), 0, 18446744073709551613); [tail call]
> 
>   <bb 5> [local count: 1073741824]:
>   return;
> 
> }
> 
> 
> z.c: In function ‘f’:
> z.c:8:9: warning: ‘__builtin_memset’ specified size 18446744073709551613
> exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
>     8 |         __builtin_memset (d, 0, n - __builtin_strlen (s));
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> GCC doesn't have the smarts to figure out that when s contains a substring
> of length 3 then strlen(s) must be at least 3.  As a result, it doesn't
> eliminate the memset call in the function and the warning triggers.  Suppose
> we teach GCC how to figure this out from the strstr call (which might be a
> useful optimization) and then someone comes along with a test case that uses
> strspn() instead of strstr().  We can also teach GCC about strstr() but then
> someone else might use regcomp() or some user-defined function that we won't
> have access to.  At some point we'll have to call it good enough.

Absolutely, this is the halting problem after all.

The question is not to give up or not, it is whether to warn when we do. If we
do, we get potential warnings every time gcc gives up on solving the halting
problem.

The uninitialized variable warning was at least split in two, one for the cases
where gcc is not sure.

Maybe we should have a general flag that disables all warnings where gcc cannot
prove that there is a path from a function entry to the broken statement?
>From gcc-bugs-return-633932-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 15:42:05 2019
Return-Path: <gcc-bugs-return-633932-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45568 invoked by alias); 15 Feb 2019 15:42:04 -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 45202 invoked by uid 55); 15 Feb 2019 15:41:58 -0000
From: "acsawdey at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/88308] ICE in maybe_record_trace_start, at dwarf2cfi.c:2309
Date: Fri, 15 Feb 2019 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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: acsawdey at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: acsawdey at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88308-4-9VsfcyZ0YF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88308-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88308-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: 2019-02/txt/msg02234.txt.bz2
Content-length: 507

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88308

--- Comment #6 from acsawdey at gcc dot gnu.org ---
Author: acsawdey
Date: Fri Feb 15 15:41:25 2019
New Revision: 268942

URL: https://gcc.gnu.org/viewcvs?rev=268942&root=gcc&view=rev
Log:
2019-02-15  Aaron Sawdey  <acsawdey@linux.ibm.com>

        PR rtl-optimization/88308
        * shrink-wrap.c (move_insn_for_shrink_wrap): Fix LABEL_NUSES counts
        on copied instruction.



Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/shrink-wrap.c
>From gcc-bugs-return-633933-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 15:43:38 2019
Return-Path: <gcc-bugs-return-633933-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47680 invoked by alias); 15 Feb 2019 15:43: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 47580 invoked by uid 48); 15 Feb 2019 15:43:33 -0000
From: "acsawdey at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/88308] ICE in maybe_record_trace_start, at dwarf2cfi.c:2309
Date: Fri, 15 Feb 2019 15:43: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: acsawdey at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: acsawdey at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-88308-4-Bjo748OO3p@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88308-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88308-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: 2019-02/txt/msg02235.txt.bz2
Content-length: 406

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88308

acsawdey at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from acsawdey at gcc dot gnu.org ---
Fixed in trunk.
>From gcc-bugs-return-633934-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 15:44:49 2019
Return-Path: <gcc-bugs-return-633934-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49111 invoked by alias); 15 Feb 2019 15:44:46 -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 49053 invoked by uid 48); 15 Feb 2019 15:44:42 -0000
From: "frank.secilia at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89367] New: Constexpr expression is not constexpr in template, but is constexpr in non-template.
Date: Fri, 15 Feb 2019 15:44: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: frank.secilia 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-89367-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: 2019-02/txt/msg02236.txt.bz2
Content-length: 2742

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89367

            Bug ID: 89367
           Summary: Constexpr expression is not constexpr in template, but
                    is constexpr in non-template.
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: frank.secilia at gmail dot com
  Target Milestone: ---

Created attachment 45737
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45737&action=edit
minimal preprocessed test case

Morning, folks!

I'm trying to make compile-time type ids. It's based on the fact that per-type
static instances have unique addresses. I'm using those addresses as the type
id. 

Originally, I figured this wouldn't work because taking the address of
something couldn't be constexpr, but the address of a variable is known at
compile time, so I gave it a try. g++ accepts it for a non-template type, but
not if the type is a template. 

Attached is a preprocessed minimal test case, but here is something slightly
more verbose with a few comments:

// Concrete type with unique, per-type constexpr id.
struct type_1
{
        static constexpr char const unique_address{};
        static constexpr void const* const id{&unique_address};
};
constexpr char const type_1::unique_address;
constexpr void const* const type_1::id;

// Another concrete type with same.
struct type_2
{
        static constexpr char const unique_address{};
        static constexpr void const* const id{&unique_address};
};
constexpr char const type_2::unique_address;
constexpr void const* const type_2::id;

// Types have different ids and these evaluate at compile time, as expected.
static_assert(type_1::id != type_2::id);

// Same, but in a template.
template <typename wrapped>
struct type_id
{
        static constexpr char const unique_address{};
        static constexpr void const* const id{&unique_address};
};

template <typename wrapped>
constexpr char const type_id<wrapped>::unique_address;

template <typename wrapped>
constexpr void const* const type_id<wrapped>::id;

// This does not compile.
static_assert(type_id<int>::id != type_id<float>::id);

The reasons I think this is a bug is because the only difference between the
succeeding and failing case is that the failing case is templated, and because
this works on clang.

I posted about this on stack overflow here
https://stackoverflow.com/questions/43955536/constexpr-unique-id-compiles-with-clang-but-not-with-gcc.
The simpler example at the bottom is missing a const on the out-of-line
definitions, but the behavior is the same with or without them.
>From gcc-bugs-return-633935-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 15:46:36 2019
Return-Path: <gcc-bugs-return-633935-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51914 invoked by alias); 15 Feb 2019 15:46: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 51824 invoked by uid 48); 15 Feb 2019 15:46:31 -0000
From: "frank.secilia at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89367] Constexpr expression is not constexpr in template, but is constexpr in non-template.
Date: Fri, 15 Feb 2019 15:46: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: frank.secilia 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: attachments.created
Message-ID: <bug-89367-4-eHxRswmlaV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89367-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89367-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: 2019-02/txt/msg02237.txt.bz2
Content-length: 249

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89367

--- Comment #1 from Frank Secilia <frank.secilia at gmail dot com> ---
Created attachment 45738
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45738&action=edit
verbose compiler output
>From gcc-bugs-return-633936-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 15:47:30 2019
Return-Path: <gcc-bugs-return-633936-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53131 invoked by alias); 15 Feb 2019 15:47:26 -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 53080 invoked by uid 48); 15 Feb 2019 15:47:22 -0000
From: "frank.secilia at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89367] Constexpr expression is not constexpr in template, but is constexpr in non-template.
Date: Fri, 15 Feb 2019 15: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: frank.secilia 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:
Message-ID: <bug-89367-4-4QZCB6ARsw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89367-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89367-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: 2019-02/txt/msg02238.txt.bz2
Content-length: 283

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89367

--- Comment #2 from Frank Secilia <frank.secilia at gmail dot com> ---
I searched for existing bugs. I don't know the codebase, but I think it may be
another repro case for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53181.
>From gcc-bugs-return-633937-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 17:03:52 2019
Return-Path: <gcc-bugs-return-633937-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13285 invoked by alias); 15 Feb 2019 17:03:52 -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 13211 invoked by uid 48); 15 Feb 2019 17:03:45 -0000
From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89368] New: [9 regression] ICE in go/gofrontend/expressions.cc:4669 after r268923
Date: Fri, 15 Feb 2019 17:03:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
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: seurer 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: ---
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-89368-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: 2019-02/txt/msg02239.txt.bz2
Content-length: 8862

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89368

            Bug ID: 89368
           Summary: [9 regression] ICE in
                    go/gofrontend/expressions.cc:4669 after r268923
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
          Assignee: ian at airs dot com
          Reporter: seurer at gcc dot gnu.org
                CC: cmang at google dot com
  Target Milestone: ---

r268922 builds fine but starting with 268923 a bootstrap build ICEs with

libtool: compile:  /home/seurer/gcc/build/gcc-test2/./gcc/gccgo
-B/home/seurer/gcc/build/gcc-test2/./gcc/
-B/home/seurer/gcc/install/gcc-test2/powerpc64-unknown-linux-gnu/bin/
-B/home/seurer/gcc/install/gcc-test2/powerpc64-unknown-linux-gnu/lib/ -isystem
/home/seurer/gcc/install/gcc-test2/powerpc64-unknown-linux-gnu/include -isystem
/home/seurer/gcc/install/gcc-test2/powerpc64-unknown-linux-gnu/sys-include -O2
-g -I . -c -fgo-pkgpath=runtime -fgo-c-header=runtime.inc.raw
-fgo-compiling-runtime /home/seurer/gcc/gcc-test2/libgo/go/runtime/alg.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/atomic_pointer.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/cgo_gccgo.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/cgocall.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/cgocheck.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/chan.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/compiler.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/cpuprof.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/cputicks.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/debug.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/env_posix.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/error.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/extern.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/fastlog2.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/fastlog2table.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/ffi.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/float.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/hash64.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/heapdump.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/iface.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/lfstack.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/lfstack_64bit.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/lock_futex.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/malloc.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/map.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/map_fast32.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/map_fast64.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/map_faststr.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mbarrier.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mbitmap.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mcache.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mcentral.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mem_gccgo.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mfinal.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mfixalloc.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mgc.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mgc_gccgo.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mgclarge.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mgcmark.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mgcsweep.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mgcsweepbuf.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mgcwork.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mheap.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mprof.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/msan0.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/msize.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mstats.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/mwbbuf.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/netpoll.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/netpoll_epoll.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/os_gccgo.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/os_linux.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/os_linux_ppc64x.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/panic.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/print.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/proc.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/profbuf.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/proflabel.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/race0.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/rdebug.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/relax_stub.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/runtime.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/runtime1.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/runtime2.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/rwmutex.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/select.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/sema.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/signal_gccgo.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/signal_sighandler.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/signal_unix.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/sigqueue.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/sizeclasses.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/slice.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/string.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/stubs.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/stubs2.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/stubs3.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/stubs_linux.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/symtab.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/time.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/timestub.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/timestub2.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/trace.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/traceback_gccgo.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/type.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/typekind.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/unaligned1.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/utf8.go
/home/seurer/gcc/gcc-test2/libgo/go/runtime/write_err.go runtime_sysinfo.go
sigtab.go  -fPIC -o .libs/runtime.o
go1: internal compiler error: in do_get_backend, at
go/gofrontend/expressions.cc:4669
0x102f7ebf Unary_expression::do_get_backend(Translate_context*)
        /home/seurer/gcc/gcc-test2/gcc/go/gofrontend/expressions.cc:4669
0x102d29e7 Expression::get_backend(Translate_context*)
        /home/seurer/gcc/gcc-test2/gcc/go/gofrontend/expressions.cc:452
0x102dbcaf Expression::comparison(Translate_context*, Type*, Operator,
Expression*, Expression*, Location)
        /home/seurer/gcc/gcc-test2/gcc/go/gofrontend/expressions.cc:6777
0x102e7667 Binary_expression::do_get_backend(Translate_context*)
        /home/seurer/gcc/gcc-test2/gcc/go/gofrontend/expressions.cc:6233
0x102d29e7 Expression::get_backend(Translate_context*)
        /home/seurer/gcc/gcc-test2/gcc/go/gofrontend/expressions.cc:452
0x103876c3 If_statement::do_get_backend(Translate_context*)
        /home/seurer/gcc/gcc-test2/gcc/go/gofrontend/statements.cc:3234
0x1038c097 Statement::get_backend(Translate_context*)
        /home/seurer/gcc/gcc-test2/gcc/go/gofrontend/statements.cc:184
0x103356cf Block::get_backend(Translate_context*)
        /home/seurer/gcc/gcc-test2/gcc/go/gofrontend/gogo.cc:6682
0x10386f3b Block_statement::do_get_backend(Translate_context*)
        /home/seurer/gcc/gcc-test2/gcc/go/gofrontend/statements.cc:1860
0x1038c097 Statement::get_backend(Translate_context*)
        /home/seurer/gcc/gcc-test2/gcc/go/gofrontend/statements.cc:184
0x103356cf Block::get_backend(Translate_context*)
        /home/seurer/gcc/gcc-test2/gcc/go/gofrontend/gogo.cc:6682
0x10386f3b Block_statement::do_get_backend(Translate_context*)
        /home/seurer/gcc/gcc-test2/gcc/go/gofrontend/statements.cc:1860
0x1038c097 Statement::get_backend(Translate_context*)
        /home/seurer/gcc/gcc-test2/gcc/go/gofrontend/statements.cc:184
0x103356cf Block::get_backend(Translate_context*)
        /home/seurer/gcc/gcc-test2/gcc/go/gofrontend/gogo.cc:6682
0x10386f3b Block_statement::do_get_backend(Translate_context*)
        /home/seurer/gcc/gcc-test2/gcc/go/gofrontend/statements.cc:1860
0x1038c097 Statement::get_backend(Translate_context*)
        /home/seurer/gcc/gcc-test2/gcc/go/gofrontend/statements.cc:184
0x103356cf Block::get_backend(Translate_context*)
        /home/seurer/gcc/gcc-test2/gcc/go/gofrontend/gogo.cc:6682
0x1033847f Function::build(Gogo*, Named_object*)
        /home/seurer/gcc/gcc-test2/gcc/go/gofrontend/gogo.cc:6157
0x1033b53f Named_object::get_backend(Gogo*, std::vector<Bexpression*,
std::allocator<Bexpression*> >&, std::vector<Btype*, std::allocator<Btype*> >&,
std::vector<Bfunction*, std::allocator<Bfunction*> >&)
        /home/seurer/gcc/gcc-test2/gcc/go/gofrontend/gogo.cc:8244
0x103461af Gogo::write_globals()
        /home/seurer/gcc/gcc-test2/gcc/go/gofrontend/gogo.cc:1458
>From gcc-bugs-return-633938-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 17:21:49 2019
Return-Path: <gcc-bugs-return-633938-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89941 invoked by alias); 15 Feb 2019 17:21: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 89807 invoked by uid 48); 15 Feb 2019 17:21:41 -0000
From: "jg at jguk dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88512] Too much STL in error output
Date: Fri, 15 Feb 2019 17:21: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: jg at jguk dot 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-88512-4-mzYNhAeOXJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88512-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88512-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: 2019-02/txt/msg02240.txt.bz2
Content-length: 9032

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88512

--- Comment #8 from Jonny Grant <jg at jguk dot org> ---
Another example. 9 line file.  Gives 48 lines of STL warnings...  G++ only
needs to say something clear:

"error: std::string 'str' is const, and as such insert() method cannot be
called"

// g++ -Wall -c -o int int.cpp
#include <string>
int main()
{
  const std::string str ="abc";    // NB. This 'str' should not be const
  const std::string str2 ="1 ";
  str.insert(4, str2);
  return str.size();
}


G++8 output:

$ g++-8 -Wall -c -o int int.cpp
int.cpp: In function ‘int main()’:
int.cpp:13:21: error: no matching function for call to
‘std::__cxx11::basic_string<char>::insert(int, const string&) const’
   str.insert(4, str2);
                     ^
In file included from /usr/include/c++/8/string:52,
                 from int.cpp:3:
/usr/include/c++/8/bits/basic_string.h:1524:7: note: candidate:
‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator
std::__cxx11::basic_string<_CharT, _Traits,
_Alloc>::insert(std::__cxx11::basic_string<_CharT, _Traits,
_Alloc>::const_iterator, std::__cxx11::basic_string<_CharT, _Traits,
_Alloc>::size_type, _CharT) [with _CharT = char; _Traits =
std::char_traits<char>; _Alloc = std::allocator<char>;
std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator =
__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> >;
typename __gnu_cxx::__alloc_traits<typename
__gnu_cxx::__alloc_traits<_Alloc>::rebind<_CharT>::other>::pointer = char*;
std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_iterator =
__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >;
typename __gnu_cxx::__alloc_traits<typename
__gnu_cxx::__alloc_traits<_Alloc>::rebind<_CharT>::other>::const_pointer =
const char*; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type =
long unsigned int]’
       insert(const_iterator __p, size_type __n, _CharT __c)
       ^~~~~~
/usr/include/c++/8/bits/basic_string.h:1524:7: note:   candidate expects 3
arguments, 2 provided
/usr/include/c++/8/bits/basic_string.h:1568:9: note: candidate: ‘template<class
_InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits,
_Alloc>::iterator std::__cxx11::basic_string<_CharT, _Traits,
_Alloc>::insert(std::__cxx11::basic_string<_CharT, _Traits,
_Alloc>::const_iterator, _InputIterator, _InputIterator) [with _InputIterator =
_InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT =
char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
         insert(const_iterator __p, _InputIterator __beg, _InputIterator __end)
         ^~~~~~
/usr/include/c++/8/bits/basic_string.h:1568:9: note:   template argument
deduction/substitution failed:
int.cpp:13:21: note:   candidate expects 3 arguments, 2 provided
   str.insert(4, str2);
                     ^
In file included from /usr/include/c++/8/string:52,
                 from int.cpp:3:
/usr/include/c++/8/bits/basic_string.h:1602:7: note: candidate: ‘void
std::__cxx11::basic_string<_CharT, _Traits,
_Alloc>::insert(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator,
std::initializer_list<_Tp>) [with _CharT = char; _Traits =
std::char_traits<char>; _Alloc = std::allocator<char>;
std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator =
__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> >;
typename __gnu_cxx::__alloc_traits<typename
__gnu_cxx::__alloc_traits<_Alloc>::rebind<_CharT>::other>::pointer = char*]’
       insert(iterator __p, initializer_list<_CharT> __l)
       ^~~~~~
/usr/include/c++/8/bits/basic_string.h:1602:7: note:   no known conversion for
argument 1 from ‘int’ to ‘std::__cxx11::basic_string<char>::iterator’ {aka
‘__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> >’}
/usr/include/c++/8/bits/basic_string.h:1622:7: note: candidate:
‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&
std::__cxx11::basic_string<_CharT, _Traits,
_Alloc>::insert(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type,
const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT =
char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>;
std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned
int]’ <near match>
       insert(size_type __pos1, const basic_string& __str)
       ^~~~~~
/usr/include/c++/8/bits/basic_string.h:1622:7: note:   passing ‘const string*’
{aka ‘const std::__cxx11::basic_string<char>*’} as ‘this’ argument discards
qualifiers
/usr/include/c++/8/bits/basic_string.h:1645:7: note: candidate:
‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&
std::__cxx11::basic_string<_CharT, _Traits,
_Alloc>::insert(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type,
const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&,
std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type,
std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT =
char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>;
std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned
int]’
       insert(size_type __pos1, const basic_string& __str,
       ^~~~~~
/usr/include/c++/8/bits/basic_string.h:1645:7: note:   candidate expects 4
arguments, 2 provided
/usr/include/c++/8/bits/basic_string.h:1668:7: note: candidate:
‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&
std::__cxx11::basic_string<_CharT, _Traits,
_Alloc>::insert(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type,
const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type)
[with _CharT = char; _Traits = std::char_traits<char>; _Alloc =
std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits,
_Alloc>::size_type = long unsigned int]’
       insert(size_type __pos, const _CharT* __s, size_type __n)
       ^~~~~~
/usr/include/c++/8/bits/basic_string.h:1668:7: note:   candidate expects 3
arguments, 2 provided
/usr/include/c++/8/bits/basic_string.h:1687:7: note: candidate:
‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&
std::__cxx11::basic_string<_CharT, _Traits,
_Alloc>::insert(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type,
const _CharT*) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc =
std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits,
_Alloc>::size_type = long unsigned int]’
       insert(size_type __pos, const _CharT* __s)
       ^~~~~~
/usr/include/c++/8/bits/basic_string.h:1687:7: note:   no known conversion for
argument 2 from ‘const string’ {aka ‘const std::__cxx11::basic_string<char>’}
to ‘const char*’
/usr/include/c++/8/bits/basic_string.h:1711:7: note: candidate:
‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&
std::__cxx11::basic_string<_CharT, _Traits,
_Alloc>::insert(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type,
std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT) [with
_CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>;
std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned
int]’
       insert(size_type __pos, size_type __n, _CharT __c)
       ^~~~~~
/usr/include/c++/8/bits/basic_string.h:1711:7: note:   candidate expects 3
arguments, 2 provided
/usr/include/c++/8/bits/basic_string.h:1729:7: note: candidate:
‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator
std::__cxx11::basic_string<_CharT, _Traits,
_Alloc>::insert(std::__cxx11::basic_string<_CharT, _Traits,
_Alloc>::__const_iterator, _CharT) [with _CharT = char; _Traits =
std::char_traits<char>; _Alloc = std::allocator<char>;
std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator =
__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> >;
typename __gnu_cxx::__alloc_traits<typename
__gnu_cxx::__alloc_traits<_Alloc>::rebind<_CharT>::other>::pointer = char*;
std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator =
__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >;
typename __gnu_cxx::__alloc_traits<typename
__gnu_cxx::__alloc_traits<_Alloc>::rebind<_CharT>::other>::const_pointer =
const char*]’
       insert(__const_iterator __p, _CharT __c)
       ^~~~~~
/usr/include/c++/8/bits/basic_string.h:1729:7: note:   no known conversion for
argument 1 from ‘int’ to ‘std::__cxx11::basic_string<char>::__const_iterator’
{aka ‘__gnu_cxx::__normal_iterator<const char*,
std::__cxx11::basic_string<char> >’}
>From gcc-bugs-return-633939-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 17:22:18 2019
Return-Path: <gcc-bugs-return-633939-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91472 invoked by alias); 15 Feb 2019 17:22:18 -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 91092 invoked by uid 48); 15 Feb 2019 17:22:12 -0000
From: "wilco at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/85711] [8 regression] ICE in aarch64_classify_address, at config/aarch64/aarch64.c:5678
Date: Fri, 15 Feb 2019 17:22: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: wilco 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 short_desc everconfirmed cf_known_to_fail
Message-ID: <bug-85711-4-iOTpN9FzUa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85711-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85711-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: 2019-02/txt/msg02241.txt.bz2
Content-length: 943

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85711

Wilco <wilco at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-15
                 CC|                            |wilco at gcc dot gnu.org
            Summary|ICE in                      |[8 regression] ICE in
                   |aarch64_classify_address,   |aarch64_classify_address,
                   |at                          |at
                   |config/aarch64/aarch64.c:56 |config/aarch64/aarch64.c:56
                   |78                          |78
     Ever confirmed|0                           |1
      Known to fail|                            |8.0

--- Comment #4 from Wilco <wilco at gcc dot gnu.org> ---
Fixed in GCC9, still failing in GCC8.
>From gcc-bugs-return-633940-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 17:51:48 2019
Return-Path: <gcc-bugs-return-633940-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58609 invoked by alias); 15 Feb 2019 17:51: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 58527 invoked by uid 48); 15 Feb 2019 17:51:43 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89369] New: [9 Regression]  pseudo-RNG miscompiled on s390x-linux with -O2 -march=zEC12 -mtune=z13 starting with r266203
Date: Fri, 15 Feb 2019 17:51: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89369-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: 2019-02/txt/msg02242.txt.bz2
Content-length: 3980

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89369

            Bug ID: 89369
           Summary: [9 Regression]  pseudo-RNG miscompiled on s390x-linux
                    with -O2 -march=zEC12 -mtune=z13 starting with r266203
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
  Target Milestone: ---

The following testcase is miscompiled with -O2 -march=zEC12 -mtune=z13 starting
with r266203:

#if __SIZEOF_INT__ == 4 && __SIZEOF_LONG_LONG__ == 8 && __CHAR_BIT__ == 8
struct S { unsigned int u[4]; };

static void
foo (struct S *out, struct S const *in, int shift)
{
  unsigned long long th, tl, oh, ol;
  th = ((unsigned long long) in->u[3] << 32) | in->u[2];
  tl = ((unsigned long long) in->u[1] << 32) | in->u[0];
  oh = th >> (shift * 8);
  ol = tl >> (shift * 8);
  ol |= th << (64 - shift * 8);
  out->u[1] = ol >> 32;
  out->u[0] = ol;
  out->u[3] = oh >> 32;
  out->u[2] = oh;
}

static void
bar (struct S *out, struct S const *in, int shift)
{
  unsigned long long th, tl, oh, ol;
  th = ((unsigned long long) in->u[3] << 32) | in->u[2];
  tl = ((unsigned long long) in->u[1] << 32) | in->u[0];
  oh = th << (shift * 8);
  ol = tl << (shift * 8);
  oh |= tl >> (64 - shift * 8);
  out->u[1] = ol >> 32;
  out->u[0] = ol;
  out->u[3] = oh >> 32;
  out->u[2] = oh;
}

__attribute__((noipa)) static void
baz (struct S *r, struct S *a, struct S *b, struct S *c, struct S *d)
{
  struct S x, y;
  bar (&x, a, 1);
  foo (&y, c, 1);
  r->u[0] = a->u[0] ^ x.u[0] ^ ((b->u[0] >> 11) & 0xdfffffefU) ^ y.u[0] ^
(d->u[0] << 18);
File rh1677602.c saved

[jakub@tucnak gcc]$ cat rh1677602.c 
#if __SIZEOF_INT__ == 4 && __SIZEOF_LONG_LONG__ == 8 && __CHAR_BIT__ == 8
struct S { unsigned int u[4]; };

static void
foo (struct S *out, struct S const *in, int shift)
{
  unsigned long long th, tl, oh, ol;
  th = ((unsigned long long) in->u[3] << 32) | in->u[2];
  tl = ((unsigned long long) in->u[1] << 32) | in->u[0];
  oh = th >> (shift * 8);
  ol = tl >> (shift * 8);
  ol |= th << (64 - shift * 8);
  out->u[1] = ol >> 32;
  out->u[0] = ol;
  out->u[3] = oh >> 32;
  out->u[2] = oh;
}

static void
bar (struct S *out, struct S const *in, int shift)
{
  unsigned long long th, tl, oh, ol;
  th = ((unsigned long long) in->u[3] << 32) | in->u[2];
  tl = ((unsigned long long) in->u[1] << 32) | in->u[0];
  oh = th << (shift * 8);
  ol = tl << (shift * 8);
  oh |= tl >> (64 - shift * 8);
  out->u[1] = ol >> 32;
  out->u[0] = ol;
  out->u[3] = oh >> 32;
  out->u[2] = oh;
}

__attribute__((noipa)) static void
baz (struct S *r, struct S *a, struct S *b, struct S *c, struct S *d)
{
  struct S x, y;
  bar (&x, a, 1);
  foo (&y, c, 1);
  r->u[0] = a->u[0] ^ x.u[0] ^ ((b->u[0] >> 11) & 0xdfffffefU) ^ y.u[0] ^
(d->u[0] << 18);
  r->u[1] = a->u[1] ^ x.u[1] ^ ((b->u[1] >> 11) & 0xddfecb7fU) ^ y.u[1] ^
(d->u[1] << 18);
  r->u[2] = a->u[2] ^ x.u[2] ^ ((b->u[2] >> 11) & 0xbffaffffU) ^ y.u[2] ^
(d->u[2] << 18);
  r->u[3] = a->u[3] ^ x.u[3] ^ ((b->u[3] >> 11) & 0xbffffff6U) ^ y.u[3] ^
(d->u[3] << 18);
}

int
main ()
{
  struct S a[] = { { 0x000004d3, 0xbc5448db, 0xf22bde9f, 0xebb44f8f },
                   { 0x03a32799, 0x60be8246, 0xa2d266ed, 0x7aa18536 },
                   { 0x15a38518, 0xcf655ce1, 0xf3e09994, 0x50ef69fe },
                   { 0x88274b07, 0xe7c94866, 0xc0ea9f47, 0xb6a83c43 },
                   { 0xcd0d0032, 0x5d47f5d7, 0x5a0afbf6, 0xaea87b24 },
                   { 0, 0, 0, 0 } };
  baz (&a[5], &a[0], &a[1], &a[2], &a[3]);
  if (a[4].u[0] != a[5].u[0] || a[4].u[1] != a[5].u[1]
      || a[4].u[2] != a[5].u[2] || a[4].u[3] != a[5].u[3])
    __builtin_abort ();
  return 0;
}
#else
int
main ()
{
  return 0;
}
#endif
>From gcc-bugs-return-633941-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 17:52:15 2019
Return-Path: <gcc-bugs-return-633941-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59573 invoked by alias); 15 Feb 2019 17:52: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 59498 invoked by uid 48); 15 Feb 2019 17:52:09 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89369] [9 Regression]  pseudo-RNG miscompiled on s390x-linux with -O2 -march=zEC12 -mtune=z13 starting with r266203
Date: Fri, 15 Feb 2019 17: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cc assigned_to target_milestone everconfirmed
Message-ID: <bug-89369-4-UY3jPgRspS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89369-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89369-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: 2019-02/txt/msg02243.txt.bz2
Content-length: 743

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89369

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-15
                 CC|                            |iii at gcc dot gnu.org,
                   |                            |krebbel at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
   Target Milestone|---                         |9.0
     Ever confirmed|0                           |1
>From gcc-bugs-return-633942-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 18:10:47 2019
Return-Path: <gcc-bugs-return-633942-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49063 invoked by alias); 15 Feb 2019 18:10: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 49005 invoked by uid 48); 15 Feb 2019 18:10:42 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89369] [9 Regression]  pseudo-RNG miscompiled on s390x-linux with -O2 -march=zEC12 -mtune=z13 starting with r266203
Date: Fri, 15 Feb 2019 18:10: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89369-4-w7OmZURbBs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89369-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89369-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: 2019-02/txt/msg02244.txt.bz2
Content-length: 1744

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89369

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45739
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45739&action=edit
gcc9-pr89369.patch

Untested fix.
The recently added patterns want to do x |= (unsigned) ((reg:DI) >> cnt), and
as the zero_extract in the patterns show, it always wants to extract exactly 32
bits.  So, in my understanding of the r<noxa>sbg instruction, we want to rotate
by 32 + cnt (correct in the pattern) and want to use 32,63 as I3/I4, so we only
do the operation on the low 32 bits.
In the testcase, rxsbg %r1,%r11,40,63,56 is emitted when we need to do:
unsigned long long var = 0x50ef69fef3e09994ULL;
unsigned r1 = ...;
r1 |= (unsigned) (var >> 8);
but that instruction instead of doing |= 0xfef3e099 we need is doing |=
0xf3e099, the top 8 bits are lost.  The patch changes it to rxsbg
%r1,%r11,32,63,56 which works properly.  The patch also changes 3 other rxsbg
instructions on the testcase, like rxsbg %r12,%r9,64,63,32 which were emitted
for |= (unsigned) (var >> 0), note the strange 64 in there, I bet it is xoring
also the upper bits of the 64-bit destination, but we don't really care that
much about those.  That said, the patch changes that to rxsbg
%r12,%r9,32,64,32.

Finally, I believe having 256 byte static buffer for each of these instructions
(times how many times it is expanded for <noxa>) is not a good idea, because it
increases .bss unnecessarily, plus the %ld in there will not really work e.g.
on cross compilers from 32-bit hosts to s390x-linux, while GEN_INT for these
small constants, while it creates rtxes, is all cached and likely already
constructed.
>From gcc-bugs-return-633943-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 18:46:53 2019
Return-Path: <gcc-bugs-return-633943-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61097 invoked by alias); 15 Feb 2019 18:46:52 -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 61007 invoked by uid 48); 15 Feb 2019 18:46:48 -0000
From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/87525] [7/8/9 Regression] infinite loop generated for fread() if enabling -flto and -D_FORTIFY_SOURCE=2
Date: Fri, 15 Feb 2019 18:46: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: 7.3.1
X-Bugzilla-Keywords: lto, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jamborm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-87525-4-DJVu5ITEJo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87525-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87525-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: 2019-02/txt/msg02245.txt.bz2
Content-length: 2986

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87525

Martin Jambor <jamborm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jamborm at gcc dot gnu.org

--- Comment #19 from Martin Jambor <jamborm at gcc dot gnu.org> ---
(In reply to Jan Hubicka from comment #14)
> Martin,
> it seems to me that ipa-cp should not clone extern inline functions unless
> it sees that it helps to clone some real functions called from it. Why the
> costmodel thinks it is profitable?

It does not special-case that kind of situation.  Still it is not
easy, because the cloning decisions are made on the final sweep over
the call graph from callers to callees and whether any callees would
be cloned will only be decided in the future.

Still, the cost model should probably evaluate these cases
differently, perhaps like the patch below.  To the extent to which I
am able to reproduce the issue (only on gcc 8 and in the "correct"
case it segfaults as opposed to endless loop), the adjustment helps,
but it is of course only a heuristics.

diff --git a/gcc/ipa-cp.c b/gcc/ipa-cp.c
index e868b9c2623..f148ceef393 100644
--- a/gcc/ipa-cp.c
+++ b/gcc/ipa-cp.c
@@ -4685,15 +4685,23 @@ decide_about_value (struct cgraph_node *node, int
index, HOST_WIDE_INT offset,
       fprintf (dump_file, " (caller_count: %i)\n", caller_count);
     }

-  if (!good_cloning_opportunity_p (node, val->local_time_benefit,
-                                  freq_sum, count_sum,
-                                  val->local_size_cost)
-      && !good_cloning_opportunity_p (node,
-                                     val->local_time_benefit
-                                     + val->prop_time_benefit,
-                                     freq_sum, count_sum,
-                                     val->local_size_cost
-                                     + val->prop_size_cost))
+  if (DECL_EXTERNAL (node->decl) && DECL_DECLARED_INLINE_P (node->decl))
+    {
+      if (!good_cloning_opportunity_p (node, val->prop_time_benefit,
+                                      freq_sum, count_sum,
+                                      val->local_size_cost
+                                      + val->prop_size_cost))
+       return false;
+    }
+  else if (!good_cloning_opportunity_p (node, val->local_time_benefit,
+                                       freq_sum, count_sum,
+                                       val->local_size_cost)
+          && !good_cloning_opportunity_p (node,
+                                          val->local_time_benefit
+                                          + val->prop_time_benefit,
+                                          freq_sum, count_sum,
+                                          val->local_size_cost
+                                          + val->prop_size_cost))
     return false;

   if (dump_file)
>From gcc-bugs-return-633944-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 18:49:56 2019
Return-Path: <gcc-bugs-return-633944-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81910 invoked by alias); 15 Feb 2019 18:49:56 -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 78517 invoked by uid 48); 15 Feb 2019 18:49:50 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88512] Too much STL in error output
Date: Fri, 15 Feb 2019 18:49: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: 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-88512-4-zyDJJN1qD0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88512-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88512-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: 2019-02/txt/msg02246.txt.bz2
Content-length: 893

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88512

--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
It's easy for you to say that after looking at the reason it failed and knowing
what the code is trying to do (obviously "insert" modifies the string, so it
can't be const). But the compiler has to try every overload, and doesn't know
what your intention is, or what the word "insert" means.

The problem here is (as before) that std::string has eight overloads of insert
(and just as many for assign, and begin, and replace etc), and there's nothing
the compiler can do about that.

Potentially the compiler could be changed so that if all the overload
candidates are non-const and the object is const, it just says that. But that's
another fairly specialized diagnostic just for this case. Most classes simply
don't have eight overloads of the same function.
>From gcc-bugs-return-633945-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 18:58:18 2019
Return-Path: <gcc-bugs-return-633945-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97816 invoked by alias); 15 Feb 2019 18:58: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 97762 invoked by uid 48); 15 Feb 2019 18:58:12 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89370] New: Output std::string in diagnostics instead of std::__cxx11::basic_string<_CharT, _Traits, _Alloc>
Date: Fri, 15 Feb 2019 18:58: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: diagnostic
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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-89370-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: 2019-02/txt/msg02247.txt.bz2
Content-length: 2674

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89370

            Bug ID: 89370
           Summary: Output std::string in diagnostics instead of
                    std::__cxx11::basic_string<_CharT, _Traits, _Alloc>
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redi at gcc dot gnu.org
  Target Milestone: ---

Errors involving std::string are unreadable (see Bug 88512 comment 8). Nobody
cares that it's:

'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator
std::__cxx11::basic_string<_CharT, _Traits,
_Alloc>::insert(std::__cxx11::basic_string<_CharT, _Traits,
_Alloc>::__const_iterator, _CharT) [with _CharT = char; _Traits =
std::char_traits<char>; _Alloc = std::allocator<char>;
std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator =
__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> >;
typename __gnu_cxx::__alloc_traits<typename
__gnu_cxx::__alloc_traits<_Alloc>::rebind<_CharT>::other>::pointer = char*;
std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::__const_iterator =
__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >;
typename __gnu_cxx::__alloc_traits<typename
__gnu_cxx::__alloc_traits<_Alloc>::rebind<_CharT>::other>::const_pointer =
const char*]'
 1745 |       insert(__const_iterator __p, _CharT __c)
      |       ^~~~~~


The type std::__cxx11::basic_string<_CharT, _Traits, _Alloc> should be shown as
std::string. That alone makes it far more readable. And if we don't show it as
a template specialization maybe we don't need the entire "[with ...]" part at
all, but if we do need it, we should reduce it ...

I don't think expanding the return type or the __const_iterator type in the
"[with ...]" part is very useful:

std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator =
__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> >;

std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::iterator =
__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> >;


And why on Earth is it telling us what the pointer and const_pointer types
are?! They don't appear in the member function signature at all!

typename __gnu_cxx::__alloc_traits<typename
__gnu_cxx::__alloc_traits<_Alloc>::rebind<_CharT>::other>::pointer = char*;

 typename __gnu_cxx::__alloc_traits<typename
__gnu_cxx::__alloc_traits<_Alloc>::rebind<_CharT>::other>::const_pointer =
const char*

Cool story bro. Those types are not relevant.
>From gcc-bugs-return-633946-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 18:59:08 2019
Return-Path: <gcc-bugs-return-633946-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99243 invoked by alias); 15 Feb 2019 18:59: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 99181 invoked by uid 48); 15 Feb 2019 18:59:03 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88512] Too much STL in error output
Date: Fri, 15 Feb 2019 18:59: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: 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-88512-4-9nNtVyruiW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88512-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88512-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: 2019-02/txt/msg02248.txt.bz2
Content-length: 188

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88512

--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I've created bug 89370 to request showing the type as std::string.
>From gcc-bugs-return-633947-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 19:01:07 2019
Return-Path: <gcc-bugs-return-633947-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101939 invoked by alias); 15 Feb 2019 19:00: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 101603 invoked by uid 48); 15 Feb 2019 19:00:18 -0000
From: "arnaud02 at users dot sourceforge.net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89371] New: missed vectorisation with "#pragma omp simd collapse(2)"
Date: Fri, 15 Feb 2019 19:00:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: arnaud02 at users dot sourceforge.net
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-89371-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: 2019-02/txt/msg02249.txt.bz2
Content-length: 1223

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89371

            Bug ID: 89371
           Summary: missed vectorisation with "#pragma omp simd
                    collapse(2)"
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: arnaud02 at users dot sourceforge.net
  Target Milestone: ---

void ff(double* res, double const* a, double const* b, int ncell, int neq)
{
#pragma omp simd collapse(2)
  for(int icell=0; icell < ncell; ++icell)
  {
      for(int ieq=0; ieq<neq; ++ieq)
      {
          res[icell*neq+ieq] = a[icell*neq+ieq]-b[icell*neq+ieq];
      }
  }
}
built by gcc 8.2 on x86_64 with "-std=c++14 -O3 -mavx -fopenmp-simd" results in
simd instruction emitted. Run time tests with ncell=100'000 and neq=3 for
instance confirm that the code is slower with "#pragma omp simd collapse(2)".

Am I missing something?

Ideally, I would like to be able to flatten the loop:
void ff(double* res, double const* a, double const* b, int ncell, int neq)
{
  for(int j=0; j < ncell*neq; ++j)
    res[j] = a[j]-b[j];
}
>From gcc-bugs-return-633948-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 19:13:03 2019
Return-Path: <gcc-bugs-return-633948-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35535 invoked by alias); 15 Feb 2019 19:13: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 35421 invoked by uid 48); 15 Feb 2019 19:12:58 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88512] Too much STL in error output
Date: Fri, 15 Feb 2019 19:13: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: 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-88512-4-3datSAXRF6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88512-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88512-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: 2019-02/txt/msg02250.txt.bz2
Content-length: 144

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88512

--- Comment #11 from Jonathan Wakely <redi at gcc dot gnu.org> ---
There's also Bug 53281
>From gcc-bugs-return-633949-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 19:43:08 2019
Return-Path: <gcc-bugs-return-633949-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67737 invoked by alias); 15 Feb 2019 19:43: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 67311 invoked by uid 48); 15 Feb 2019 19:43:03 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89371] missed vectorisation with "#pragma omp simd collapse(2)"
Date: Fri, 15 Feb 2019 19:43: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: 8.2.0
X-Bugzilla-Keywords: missed-optimization, openmp
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: keywords cc
Message-ID: <bug-89371-4-SZuzMC1iYs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89371-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89371-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: 2019-02/txt/msg02251.txt.bz2
Content-length: 703

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89371

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization, openmp
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Well, in this case I don't see any advantage of using collapsed loops, it won't
make the loop more readable and is much harder to vectorize, so why not to
write it that way?
Yes, there is certainly room for improvement to undo this kind of stuff.
>From gcc-bugs-return-633950-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 19:49:54 2019
Return-Path: <gcc-bugs-return-633950-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76249 invoked by alias); 15 Feb 2019 19:49: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 75923 invoked by uid 48); 15 Feb 2019 19:49:49 -0000
From: "jg at jguk dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88512] Too much STL in error output
Date: Fri, 15 Feb 2019 19:49: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: jg at jguk dot 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-88512-4-rdao9K4LtU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88512-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88512-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: 2019-02/txt/msg02252.txt.bz2
Content-length: 1411

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88512

--- Comment #12 from Jonny Grant <jg at jguk dot org> ---
(In reply to Jonathan Wakely from comment #9)
> It's easy for you to say that after looking at the reason it failed and
> knowing what the code is trying to do (obviously "insert" modifies the
> string, so it can't be const). But the compiler has to try every overload,
> and doesn't know what your intention is, or what the word "insert" means.
> 
> The problem here is (as before) that std::string has eight overloads of
> insert (and just as many for assign, and begin, and replace etc), and
> there's nothing the compiler can do about that.
> 
> Potentially the compiler could be changed so that if all the overload
> candidates are non-const and the object is const, it just says that. But
> that's another fairly specialized diagnostic just for this case. Most
> classes simply don't have eight overloads of the same function.

Sounds good, those insert methods aren't 'const' so at least the first line
could say that...

eg:
$ g++ -Wall -c -o int int.cpp
int.cpp: In function ‘int main()’:
int.cpp:13:21: error: no matching function for call to
‘std::string::insert(size_t, const string&) const’
   str.insert(4, str2);
                     ^
   Note, ‘str’ is const and all ‘std::string::insert()’ methods are non-const
>From gcc-bugs-return-633951-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 19:51:43 2019
Return-Path: <gcc-bugs-return-633951-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81340 invoked by alias); 15 Feb 2019 19:51: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 80759 invoked by uid 48); 15 Feb 2019 19:51:37 -0000
From: "jg at jguk dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89370] Output std::string in diagnostics instead of std::__cxx11::basic_string<_CharT, _Traits, _Alloc>
Date: Fri, 15 Feb 2019 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: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jg at jguk dot 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-89370-4-jb2jK00yyk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89370-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89370-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: 2019-02/txt/msg02253.txt.bz2
Content-length: 440

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89370

Jonny Grant <jg at jguk dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jg at jguk dot org

--- Comment #1 from Jonny Grant <jg at jguk dot org> ---
Many thanks!
Happy to pay $200 bounty for this feature to implementer or FSF/GNU etc
>From gcc-bugs-return-633952-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 20:02:15 2019
Return-Path: <gcc-bugs-return-633952-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125322 invoked by alias); 15 Feb 2019 20:02: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 125234 invoked by uid 48); 15 Feb 2019 20:02:10 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89367] Constexpr expression is not constexpr in template, but is constexpr in non-template.
Date: Fri, 15 Feb 2019 20:02: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89367-4-f4DOczCvpO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89367-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89367-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: 2019-02/txt/msg02254.txt.bz2
Content-length: 1397

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89367

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu.org,
                   |                            |jakub at gcc dot gnu.org,
                   |                            |jason at gcc dot gnu.org,
                   |                            |mpolacek at gcc dot gnu.org,
                   |                            |redi at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
With -fpic it actually rejects both static_asserts.
In all the cases, it is symtab_node::equal_address_to that attempts to decide
if the two VAR_DECLs need to be the same or distinct or unknown.
Without templates and without -fpic that function returns true, because both
are defined locally and we can easily decide that they must be different, but
with -fpic, the generic code allows them to be interposed and fails.  Even
without -fpic, for templates the variables are DECL_COMDAT and thus not really
known if defined by the current or some other TU.

No idea if C++ standard says anything here and constexpr evaluation shouldn't
use some different rules (or in addition to what the generic code says).
>From gcc-bugs-return-633953-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 20:18:49 2019
Return-Path: <gcc-bugs-return-633953-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61578 invoked by alias); 15 Feb 2019 20:18: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 61487 invoked by uid 48); 15 Feb 2019 20:18:45 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/88944] Suggested alternative C stdbool.h
Date: Fri, 15 Feb 2019 20:18: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: dmalcolm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to target_milestone everconfirmed
Message-ID: <bug-88944-4-hwROtlNCkt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88944-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88944-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: 2019-02/txt/msg02255.txt.bz2
Content-length: 751

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88944

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-15
           Assignee|unassigned at gcc dot gnu.org      |dmalcolm at gcc dot gnu.org
   Target Milestone|---                         |10.0
     Ever confirmed|0                           |1

--- Comment #1 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Thanks.

FWIW trunk (gcc 9) no longer suggests "_Bool".

I have a patch pending (for gcc 10) which implements the header suggestion.
>From gcc-bugs-return-633954-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 20:21:27 2019
Return-Path: <gcc-bugs-return-633954-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73986 invoked by alias); 15 Feb 2019 20:21: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 73902 invoked by uid 48); 15 Feb 2019 20:21:20 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89372] New: Incorrect PMULHRSW
Date: Fri, 15 Feb 2019 20:21: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:
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-89372-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: 2019-02/txt/msg02256.txt.bz2
Content-length: 2299

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89372

            Bug ID: 89372
           Summary: Incorrect PMULHRSW
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: ubizjak at gmail dot com
  Target Milestone: ---
            Target: i386,x86-64

sse.md has

(define_mode_iterator PMULHRSW
  [V4HI V8HI (V16HI "TARGET_AVX2")])

(define_expand "<ssse3_avx2>_pmulhrsw<mode>3_mask"
  [(set (match_operand:PMULHRSW 0 "register_operand")
        (vec_merge:PMULHRSW
          (truncate:PMULHRSW
            (lshiftrt:<ssedoublemode>
              (plus:<ssedoublemode>
                (lshiftrt:<ssedoublemode>
                  (mult:<ssedoublemode>
                    (sign_extend:<ssedoublemode>
                      (match_operand:PMULHRSW 1 "nonimmediate_operand"))
                    (sign_extend:<ssedoublemode>
                      (match_operand:PMULHRSW 2 "nonimmediate_operand")))
                  (const_int 14))
                (match_dup 5))
              (const_int 1)))
          (match_operand:PMULHRSW 3 "register_operand")
          (match_operand:<avx512fmaskmode> 4 "register_operand")))]
  "TARGET_AVX512BW && TARGET_AVX512VL"
{
  operands[5] = CONST1_RTX(<MODE>mode);
  ix86_fixup_binary_operands_no_copy (MULT, <MODE>mode, operands);
})

But AVX512BW doesn't support V4HI.

(define_expand "<ssse3_avx2>_pmulhrsw<mode>3"
  [(set (match_operand:PMULHRSW 0 "register_operand")
        (truncate:PMULHRSW
          (lshiftrt:<ssedoublemode>
            (plus:<ssedoublemode>
              (lshiftrt:<ssedoublemode>
                (mult:<ssedoublemode>
                  (sign_extend:<ssedoublemode>
                    (match_operand:PMULHRSW 1 "nonimmediate_operand"))
                  (sign_extend:<ssedoublemode>
                    (match_operand:PMULHRSW 2 "nonimmediate_operand")))
                (const_int 14))
              (match_dup 3))
            (const_int 1))))]
  "TARGET_AVX2"
{
  operands[3] = CONST1_RTX(<MODE>mode);
  ix86_fixup_binary_operands_no_copy (MULT, <MODE>mode, operands);
})


But V4HI V8HI doesn't require AVX2.
>From gcc-bugs-return-633955-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 20:48:50 2019
Return-Path: <gcc-bugs-return-633955-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5756 invoked by alias); 15 Feb 2019 20:48: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 5375 invoked by uid 48); 15 Feb 2019 20:48:43 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89077] ICE using * as len specifier for character parameter
Date: Fri, 15 Feb 2019 20:48: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gmx dot de
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-89077-4-LiueCRbu8x@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89077-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89077-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: 2019-02/txt/msg02257.txt.bz2
Content-length: 358

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89077

--- Comment #17 from Harald Anlauf <anlauf at gmx dot de> ---
(In reply to Harald Anlauf from comment #16)
> Regarding the unwanted padding with \0, the following patch seems to
> solve the issue with transfer.

Regtested cleanly and submitted here:

https://gcc.gnu.org/ml/fortran/2019-02/msg00126.html
>From gcc-bugs-return-633956-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 20:49:10 2019
Return-Path: <gcc-bugs-return-633956-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30748 invoked by alias); 15 Feb 2019 20:49: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 22137 invoked by uid 48); 15 Feb 2019 20:49:04 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/84536] [7/8/9 Regression] ICE with non-type template parameter
Date: Fri, 15 Feb 2019 20:49: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.0
X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-84536-4-qiUrGucRow@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84536-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84536-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: 2019-02/txt/msg02258.txt.bz2
Content-length: 798

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84536

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P4                          |P3
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-15
                 CC|                            |paolo.carlini at oracle dot com
     Ever confirmed|0                           |1

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> ---
I would argue for P3, because, if we slightly tweak it to:

template<int... N> auto foo(N...); // -> void {}

void bar()
{
  foo<>();
}

we don't emit any diagnostics before ICEing.
>From gcc-bugs-return-633957-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 21:05:41 2019
Return-Path: <gcc-bugs-return-633957-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33585 invoked by alias); 15 Feb 2019 21:05:41 -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 32916 invoked by uid 55); 15 Feb 2019 21:05:35 -0000
From: "ian at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89368] [9 regression] ICE in go/gofrontend/expressions.cc:4669 after r268923
Date: Fri, 15 Feb 2019 21:05: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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89368-4-WKZ2cplvPg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89368-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89368-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: 2019-02/txt/msg02259.txt.bz2
Content-length: 707

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89368

--- Comment #1 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Fri Feb 15 21:04:58 2019
New Revision: 268948

URL: https://gcc.gnu.org/viewcvs?rev=268948&root=gcc&view=rev
Log:
        PR go/89368
    compiler: write barrier check nil-check policy tweak

    Tweak the recipe for generating writeBarrier loads to insure that the
    dereference expr is marked as not requiring a nil check (not needed
    for gccgo, but needed for gollvm).

    Fixes https://gcc.gnu.org/PR89368

    Reviewed-on: https://go-review.googlesource.com/c/162904

Modified:
    trunk/gcc/go/gofrontend/MERGE
    trunk/gcc/go/gofrontend/wb.cc
>From gcc-bugs-return-633958-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 21:06:17 2019
Return-Path: <gcc-bugs-return-633958-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35513 invoked by alias); 15 Feb 2019 21:06: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 35327 invoked by uid 48); 15 Feb 2019 21:06:12 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/80953] Support libsanitizer on Solaris
Date: Fri, 15 Feb 2019 21:06: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
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ro at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-80953-4-5NoZJ4IyF6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80953-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80953-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: 2019-02/txt/msg02260.txt.bz2
Content-length: 1187

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80953

--- Comment #35 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Right: 64-bit Solaris/SPARC uses the full 64-bit address space:
> 
> https://docs.oracle.com/cd/E37838_01/html/E66175/advanced-2.
> html#SSFDGadvanced-5
> 
> The gap between the low and high parts cannot be determined
> programmatically right now and varies between different sparc machines.

Linux uses an equivalent VM layout (although the primary stack is in the low
part instead of the high part).  I think that on Linux the hole is fully
determined by the number of bits available for virtual addresses.

> Even if that could be fixed (there's been talk about adding an interface
> to determine that information at runtime), the current shadow address
> calculation cannot cope with such a discontinuous address space.

Right, but you can tweak it once the position of the hole is determined.  I
have done so for a 52-bit VM layout (T4 and later apparently) and, modulo fixes
all over the place (libsanitizer, libbacktrace, compiler, testsuite), I now
have a 100% clean ASAN testsuite on both 32-bit and 64-bit SPARC/Linux.

Trying on Solaris now...
>From gcc-bugs-return-633959-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 21:07:13 2019
Return-Path: <gcc-bugs-return-633959-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38418 invoked by alias); 15 Feb 2019 21:07: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 38282 invoked by uid 48); 15 Feb 2019 21:07:08 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/60920] Crash on double template header due to default template parameter
Date: Fri, 15 Feb 2019 21:07: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: 4.8.1
X-Bugzilla-Keywords: ice-on-invalid-code
X-Bugzilla-Severity: minor
X-Bugzilla-Who: paolo.carlini at oracle dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-60920-4-SpqTbkT454@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60920-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60920-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: 2019-02/txt/msg02261.txt.bz2
Content-length: 525

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60920

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |8.0

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed by the patch which fixed c++/85264.
>From gcc-bugs-return-633960-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 21:16:21 2019
Return-Path: <gcc-bugs-return-633960-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59363 invoked by alias); 15 Feb 2019 21:16:19 -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 58352 invoked by uid 48); 15 Feb 2019 21:15:40 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/84916] Tweaks to template type elision
Date: Fri, 15 Feb 2019 21:16: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.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-84916-4-Xyb2C4bgG1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84916-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84916-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: 2019-02/txt/msg02262.txt.bz2
Content-length: 416

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84916

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|9.0                         |10.0

--- Comment #4 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
I have a patch for this, queuing for gcc 10 stage 1.
>From gcc-bugs-return-633961-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 21:18:09 2019
Return-Path: <gcc-bugs-return-633961-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 70746 invoked by alias); 15 Feb 2019 21:18: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 70684 invoked by uid 48); 15 Feb 2019 21:18:04 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89368] [9 regression] ICE in go/gofrontend/expressions.cc:4669 after r268923
Date: Fri, 15 Feb 2019 21:18: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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89368-4-ChzH49vXPh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89368-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89368-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: 2019-02/txt/msg02263.txt.bz2
Content-length: 443

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89368

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> ---
Thanks for the report.  Fixed.
>From gcc-bugs-return-633962-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 15 21:38:04 2019
Return-Path: <gcc-bugs-return-633962-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98356 invoked by alias); 15 Feb 2019 21:38:04 -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 98260 invoked by uid 48); 15 Feb 2019 21:37:59 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89350] [9 Regression] Wrong -Wstringop-overflow= warning since r261518
Date: Fri, 15 Feb 2019 21:38: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: unknown
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-89350-4-qePAUQYuux@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89350-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89350-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: 2019-02/txt/msg02264.txt.bz2
Content-length: 564

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89350

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |msebor at gcc dot gnu.org

--- Comment #9 from Martin Sebor <msebor at gcc dot gnu.org> ---
Let me put together a patch for the negative offsets.  The argc patch is useful
on its own, independent of this bug.
>From gcc-bugs-return-633963-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 01:19:53 2019
Return-Path: <gcc-bugs-return-633963-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27895 invoked by alias); 16 Feb 2019 01:19: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 25589 invoked by uid 48); 16 Feb 2019 01:19:48 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89171] FAIL: go/build
Date: Sat, 16 Feb 2019 01:19: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: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89171-4-KEsA4qfhY7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89171-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89171-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: 2019-02/txt/msg02265.txt.bz2
Content-length: 598

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89171

--- Comment #1 from Ian Lance Taylor <ian at airs dot com> ---
I don't know what is happening here and I don't have access to a riscv64
machine to test on (there doesn't seem to be one in the compile farm).  The
errors are incorrect in that these are not expected dependencies, not
unexpected ones.  This may be a bug in the generation of top level composite
literals, though I can't think of any reason that would be specific to riscv64,
and of course it is working on other systems.

Do you have any suggestions for how I could debug this?
>From gcc-bugs-return-633965-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 01:38:15 2019
Return-Path: <gcc-bugs-return-633965-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97935 invoked by alias); 16 Feb 2019 01:38: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 97753 invoked by uid 48); 16 Feb 2019 01:38:11 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89123] Too many go test failures on s390x-linux
Date: Sat, 16 Feb 2019 01:38: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: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89123-4-VyIvqC2vwm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89123-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89123-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: 2019-02/txt/msg02267.txt.bz2
Content-length: 434

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89123

Ian Lance Taylor <ian at airs dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |doko at debian dot org

--- Comment #15 from Ian Lance Taylor <ian at airs dot com> ---
*** Bug 89277 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-633964-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 01:38:14 2019
Return-Path: <gcc-bugs-return-633964-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97821 invoked by alias); 16 Feb 2019 01:38: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 97717 invoked by uid 48); 16 Feb 2019 01:38:10 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89277] [9 Regression] libgo memory hogs in libgo testsuite (at least on s390x-linux-gnu)
Date: Sat, 16 Feb 2019 01:38: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: memory-hog
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-89277-4-fXX3gy0FjH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89277-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89277-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: 2019-02/txt/msg02266.txt.bz2
Content-length: 555

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89277

Ian Lance Taylor <ian at airs dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Ian Lance Taylor <ian at airs dot com> ---
Closing as a duplicate per earlier comment.  Please comment if you disagree.

*** This bug has been marked as a duplicate of bug 89123 ***
>From gcc-bugs-return-633966-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 05:11:48 2019
Return-Path: <gcc-bugs-return-633966-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126740 invoked by alias); 16 Feb 2019 05:11: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 126631 invoked by uid 48); 16 Feb 2019 05:11:43 -0000
From: "mdblack98 at yahoo dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89373] New: macro expansion not counting braces correctly
Date: Sat, 16 Feb 2019 05:11: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mdblack98 at yahoo 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-89373-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: 2019-02/txt/msg02268.txt.bz2
Content-length: 1061

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89373

            Bug ID: 89373
           Summary: macro expansion not counting braces correctly
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mdblack98 at yahoo dot com
  Target Milestone: ---

include <stdio.h>

#define MYMACRO1(m) MYLIST;

#define MYMACRO(r,m) \
   MYMACRO##r(m) 


#define MYLIST {1,2,3,4,5}

// too many args -- does not allow for braces such as used for array
initialization
int ii[32] = MYMACRO(1,{1,2,3,4,5});

// too many args -- does not allow for braces such as used for array
initialization
int jj[32] = MYMACRO(1,MYLIST);

// this works
int kk[32] = MYLIST;

int
main()
{
  // all 3 of these should print 1,2,3,4,5
  for(int i=0;i<5;++i) printf("ii %d,%d\n",i,ii[i]);
  for(int i=0;i<5;++i) printf("jj %d,%d\n",i,jj[i]);
  for(int i=0;i<5;++i) printf("kk %d,%d\n",i,kk[i]);
  return 0;
}
>From gcc-bugs-return-633967-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 05:55:25 2019
Return-Path: <gcc-bugs-return-633967-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8467 invoked by alias); 16 Feb 2019 05:55: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 8433 invoked by uid 48); 16 Feb 2019 05:55:20 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/89373] macro expansion not counting braces correctly
Date: Sat, 16 Feb 2019 05:55: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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: bug_status component resolution
Message-ID: <bug-89373-4-zIyayQl5jD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89373-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89373-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: 2019-02/txt/msg02269.txt.bz2
Content-length: 567

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89373

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|c                           |preprocessor
         Resolution|---                         |INVALID

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
In the C preprocessor without a '(' everything after the ',' is the next
argument.
>From gcc-bugs-return-633968-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 08:31:30 2019
Return-Path: <gcc-bugs-return-633968-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11615 invoked by alias); 16 Feb 2019 08:31: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 11319 invoked by uid 48); 16 Feb 2019 08:30:49 -0000
From: "juergen.reuter at desy dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89374] New: gfortran does not respect privacy of types
Date: Sat, 16 Feb 2019 08:31: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: juergen.reuter at desy dot de
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-89374-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: 2019-02/txt/msg02270.txt.bz2
Content-length: 6107

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89374

            Bug ID: 89374
           Summary: gfortran does not respect privacy of types
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: juergen.reuter at desy dot de
  Target Milestone: ---

The following example is from the Intel Forum, cf. 
https://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/topic/583935
The NAG compiler and now also the Intel compiler report:
Error: abstract.f90, line 69: Cannot extend abstract type ABSTRACT_BUGGY
because it has a private deferred type-bound procedure BUGGY_MULTIPLY_SCALAR
       detected at ::@BUGGY
Error: abstract.f90, line 69: Cannot extend abstract type ABSTRACT_BUGGY
because it has a private deferred type-bound procedure SCALAR_MULTIPLY_BUGGY
       detected at ::@BUGGY
Error: abstract.f90, line 69: Cannot extend abstract type ABSTRACT_BUGGY
because it has a private deferred type-bound procedure BUGGY_ASSIGN_BUGGY
       detected at ::@BUGGY
[NAG Fortran Compiler pass 1 error termination, 3 errors]
If I  undestand this correctly, the abstract types cannot be extended because
they are private, and not public. gfortran doesn't seem to recognize this. 


The code is below 

module type_abstract_buggy
implicit none
private
public :: abstract_buggy

type, abstract :: abstract_buggy
  contains
    ! public methods
    procedure(abstract_printf), public, deferred :: printf
    generic,                    public           :: operator(*) =>
buggy_multiply_scalar, scalar_multiply_buggy
    generic,                    public           :: assignment(=) =>
buggy_assign_buggy
    ! private methods
    procedure(abstract_buggy_multiply_scalar),       pass(lhs), private,
deferred :: buggy_multiply_scalar
    procedure(scalar_multiply_abstract_buggy),       pass(rhs), private,
deferred :: scalar_multiply_buggy
    procedure(abstract_buggy_assign_abstract_buggy), pass(lhs), private,
deferred :: buggy_assign_buggy
endtype abstract_buggy
abstract interface
  subroutine abstract_printf(self)
  import :: abstract_buggy
  class(abstract_buggy), intent(IN) :: self
  endsubroutine abstract_printf

  function abstract_buggy_multiply_scalar(lhs, rhs) result(multy)
  import :: abstract_buggy
  class(abstract_buggy), intent(IN)  :: lhs
  integer,               intent(IN)  :: rhs
  class(abstract_buggy), allocatable :: multy
  endfunction abstract_buggy_multiply_scalar

  function scalar_multiply_abstract_buggy(lhs, rhs) result(multy)
  import :: abstract_buggy
  integer,               intent(IN)  :: lhs
  class(abstract_buggy), intent(IN)  :: rhs
  class(abstract_buggy), allocatable :: multy
  endfunction scalar_multiply_abstract_buggy

  pure subroutine abstract_buggy_assign_abstract_buggy(lhs, rhs)
  import :: abstract_buggy
  class(abstract_buggy), intent(INOUT) :: lhs
  class(abstract_buggy), intent(IN)    :: rhs
  endsubroutine abstract_buggy_assign_abstract_buggy
endinterface
endmodule type_abstract_buggy

module lib_abstract_buggy
use type_abstract_buggy, only : abstract_buggy
implicit none
private
public :: raise_bug
contains
  subroutine raise_bug(bug, scalar)
  class(abstract_buggy), intent(INOUT) :: bug
  integer,               intent(IN)    :: scalar

  call bug%printf()
  bug = bug * scalar
  call bug%printf()
  bug = scalar * bug
  call bug%printf()
  endsubroutine raise_bug
endmodule lib_abstract_buggy

module type_buggy
use type_abstract_buggy, only : abstract_buggy
implicit none
private
public :: buggy

type, extends(abstract_buggy) :: buggy
  private
  real, dimension(:), allocatable :: array
  integer                         :: scalar=0
  contains
    ! public methods
    procedure, pass(self), public :: printf
    ! private methods
    procedure, pass(lhs), private :: buggy_multiply_scalar
    procedure, pass(rhs), private :: scalar_multiply_buggy
    procedure, pass(lhs), private :: buggy_assign_buggy
endtype buggy
interface buggy
  procedure create_buggy
endinterface
contains
  pure function create_buggy(array, scalar) result(bug)
  real, dimension(:), intent(IN) :: array
  integer,            intent(IN) :: scalar
  type(buggy)                    :: bug

  bug%array = array
  bug%scalar = scalar
  return
  endfunction create_buggy

  subroutine printf(self)
  class(buggy), intent(IN) :: self
  integer      :: i

  print "(A)", "Array:"
  do i=1, size(self%array)
    print*, self%array(i)
  enddo
  print "(A,I5)", "Scalar: ", self%scalar
  endsubroutine printf

  function buggy_multiply_scalar(lhs, rhs) result(multy)
  class(buggy), intent(IN)           :: lhs
  integer,      intent(IN)           :: rhs
  class(abstract_buggy), allocatable :: multy
  type(buggy),           allocatable :: multy_tmp

  allocate(buggy :: multy_tmp)
  multy_tmp%array = lhs%array * rhs
  multy_tmp%scalar = lhs%scalar
  call move_alloc(multy_tmp, multy)
  return
  endfunction buggy_multiply_scalar

  pure function scalar_multiply_buggy(lhs, rhs) result(multy)
  integer,      intent(IN)           :: lhs
  class(buggy), intent(IN)           :: rhs
  class(abstract_buggy), allocatable :: multy
  type(buggy),           allocatable :: multy_tmp

  allocate(buggy :: multy_tmp)
  multy_tmp%array = rhs%array * lhs
  multy_tmp%scalar = rhs%scalar
  call move_alloc(multy_tmp, multy)
  return
  endfunction scalar_multiply_buggy

  pure subroutine buggy_assign_buggy(lhs, rhs)
  class(buggy),          intent(INOUT) :: lhs
  class(abstract_buggy), intent(IN)    :: rhs

  select type(rhs)
  class is(buggy)
    if (allocated(rhs%array)) lhs%array = rhs%array
    lhs%scalar = rhs%scalar
  endselect
  return
  endsubroutine buggy_assign_buggy
endmodule type_buggy

program ifort_bug
use lib_abstract_buggy, only : raise_bug
use type_buggy, only : buggy
implicit none
type(buggy) :: bug

bug = buggy(array=[1., 2., 3.], scalar=3)
call raise_bug(bug=bug, scalar=2)
stop
endprogram ifort_bug
>From gcc-bugs-return-633969-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 08:40:17 2019
Return-Path: <gcc-bugs-return-633969-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18187 invoked by alias); 16 Feb 2019 08:40: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 18130 invoked by uid 48); 16 Feb 2019 08:40:12 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89374] gfortran does not respect privacy of types
Date: Sat, 16 Feb 2019 08: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: 9.0
X-Bugzilla-Keywords: accepts-invalid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: WAITING
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-89374-4-qUPnbM4Tcs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89374-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89374-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: 2019-02/txt/msg02271.txt.bz2
Content-length: 520

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89374

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2019-02-16
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Related to/duplicate of pr36383?
>From gcc-bugs-return-633970-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 08:44:15 2019
Return-Path: <gcc-bugs-return-633970-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21802 invoked by alias); 16 Feb 2019 08:44: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 21720 invoked by uid 48); 16 Feb 2019 08:44:10 -0000
From: "juergen.reuter at desy dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89374] gfortran does not respect privacy of types
Date: Sat, 16 Feb 2019 08:44: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: accepts-invalid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: juergen.reuter at desy dot de
X-Bugzilla-Status: WAITING
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-89374-4-YSHtiSbK3Z@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89374-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89374-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: 2019-02/txt/msg02272.txt.bz2
Content-length: 425

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89374

--- Comment #2 from Jürgen Reuter <juergen.reuter at desy dot de> ---
(In reply to Dominique d'Humieres from comment #1)
> Related to/duplicate of pr36383?

Related to most likely yes, could have the same origin. Probably the fortran DT
is cast into an internal C representation. I don't know whether this is the
same (or a related) object in the gfortran C code.
>From gcc-bugs-return-633971-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 09:26:35 2019
Return-Path: <gcc-bugs-return-633971-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83423 invoked by alias); 16 Feb 2019 09:26: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 83348 invoked by uid 48); 16 Feb 2019 09:26:30 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89364] Assumed rank object with incorrect values for shape and bounds
Date: Sat, 16 Feb 2019 09:26: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: WAITING
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-89364-4-CugSqx0Hhl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89364-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89364-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: 2019-02/txt/msg02273.txt.bz2
Content-length: 527

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89364

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2019-02-16
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Why do you want the shape to be [4,-1]?
>From gcc-bugs-return-633972-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 09:31:44 2019
Return-Path: <gcc-bugs-return-633972-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90184 invoked by alias); 16 Feb 2019 09:31:43 -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 90142 invoked by uid 48); 16 Feb 2019 09:31:39 -0000
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: =?UTF-8?B?W0J1ZyBmb3J0cmFuLzg5Mzc1XSBOZXc6IGZvcnRyYW4vZXhwci5jOjQ3MjM6?= =?UTF-8?B?NTogd2FybmluZzogbG9naWNhbCDigJhvcuKAmSBvZiBlcXVhbCBleHByZXNz?= =?UTF-8?B?aW9ucyBbLVdsb2dpY2FsLW9wXQ==?Date: Sat, 16 Feb 2019 09:31: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: 9.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-89375-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: 2019-02/txt/msg02274.txt.bz2
Content-length: 676

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89375

            Bug ID: 89375
           Summary: fortran/expr.c:4723:5: warning: logical ‘or’ of equal
                    expressions [-Wlogical-op]
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Source code is

  return comp->attr.pointer
    || comp->attr.pointer
    || comp->attr.proc_pointer
    || comp->attr.class_pointer
    || class_pointer (comp);

svn blame says
>From gcc-bugs-return-633973-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 09:33:01 2019
Return-Path: <gcc-bugs-return-633973-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91719 invoked by alias); 16 Feb 2019 09:32: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 91668 invoked by uid 48); 16 Feb 2019 09:32:56 -0000
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: =?UTF-8?B?W0J1ZyBmb3J0cmFuLzg5Mzc1XSBmb3J0cmFuL2V4cHIuYzo0NzIzOjU6IHdh?= =?UTF-8?B?cm5pbmc6IGxvZ2ljYWwg4oCYb3LigJkgb2YgZXF1YWwgZXhwcmVzc2lvbnMg?= =?UTF-8?B?Wy1XbG9naWNhbC1vcF0=?Date: Sat, 16 Feb 2019 09:32: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:
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: cc
Message-ID: <bug-89375-4-K4tJJjvTrq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89375-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89375-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: 2019-02/txt/msg02275.txt.bz2
Content-length: 713

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89375

David Binderman <dcb314 at hotmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dcb314 at hotmail dot com,
                   |                            |foreese at gcc dot gnu.org

--- Comment #1 from David Binderman <dcb314 at hotmail dot com> ---
svn blame says

262442    foreese   return comp->attr.pointer
262442    foreese     || comp->attr.pointer
262442    foreese     || comp->attr.proc_pointer
262442    foreese     || comp->attr.class_pointer
262442    foreese     || class_pointer (comp);
>From gcc-bugs-return-633974-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 09:39:05 2019
Return-Path: <gcc-bugs-return-633974-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99600 invoked by alias); 16 Feb 2019 09:39:04 -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 99129 invoked by uid 48); 16 Feb 2019 09:39:00 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: =?UTF-8?B?W0J1ZyBmb3J0cmFuLzg5Mzc1XSBmb3J0cmFuL2V4cHIuYzo0NzIzOjU6IHdh?= =?UTF-8?B?cm5pbmc6IGxvZ2ljYWwg4oCYb3LigJkgb2YgZXF1YWwgZXhwcmVzc2lvbnMg?= =?UTF-8?B?Wy1XbG9naWNhbC1vcF0=?Date: Sat, 16 Feb 2019 09:39: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:
X-Bugzilla-Severity: trivial
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on everconfirmed bug_severity
Message-ID: <bug-89375-4-cvz4esmhq6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89375-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89375-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: 2019-02/txt/msg02276.txt.bz2
Content-length: 518

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89375

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-16
     Ever confirmed|0                           |1
           Severity|normal                      |trivial
>From gcc-bugs-return-633975-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 11:08:21 2019
Return-Path: <gcc-bugs-return-633975-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95637 invoked by alias); 16 Feb 2019 11:08: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 95553 invoked by uid 48); 16 Feb 2019 11:08:16 -0000
From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89209] [9 Regression] ICE in build_ref_for_model, at tree-sra.c:1791
Date: Sat, 16 Feb 2019 11:08: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jamborm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89209-4-XMfavZrps4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89209-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89209-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: 2019-02/txt/msg02277.txt.bz2
Content-length: 222

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89209

--- Comment #6 from Martin Jambor <jamborm at gcc dot gnu.org> ---
I have proposed a fix on the mailing list:

https://gcc.gnu.org/ml/gcc-patches/2019-02/msg01315.html
>From gcc-bugs-return-633976-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 11:21:10 2019
Return-Path: <gcc-bugs-return-633976-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120404 invoked by alias); 16 Feb 2019 11:21: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 120330 invoked by uid 55); 16 Feb 2019 11:21:05 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/66152] [9 Regression] suboptimal load bytes to stack
Date: Sat, 16 Feb 2019 11: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-66152-4-A1JkTr4lDQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66152-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66152-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: 2019-02/txt/msg02278.txt.bz2
Content-length: 1076

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66152

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Feb 16 11:20:33 2019
New Revision: 268957

URL: https://gcc.gnu.org/viewcvs?rev=268957&root=gcc&view=rev
Log:
        PR rtl-optimization/66152
        * builtins.h (c_readstr): Declare.
        * builtins.c (c_readstr): Remove forward declaration.  Add
        null_terminated_p argument, if false, read all bytes from the
        string instead of stopping after '\0'.
        * expr.c (string_cst_read_str): New function.
        (store_expr): Use string_cst_read_str instead of
        builtin_strncpy_read_str.  Try to store by pieces the whole
        exp_len first, and only if that fails, split it up into
        store by pieces followed by clear_storage.  Formatting fix.

        * gcc.target/i386/pr66152.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/i386/pr66152.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/builtins.c
    trunk/gcc/builtins.h
    trunk/gcc/expr.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633977-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 11:45:00 2019
Return-Path: <gcc-bugs-return-633977-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79750 invoked by alias); 16 Feb 2019 11:44: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 79652 invoked by uid 48); 16 Feb 2019 11:44:55 -0000
From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/87254] Inlining clones in trivial wrappers
Date: Sat, 16 Feb 2019 11:44: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: 9.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jamborm 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-87254-4-DCMfRR7oug@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87254-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87254-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: 2019-02/txt/msg02279.txt.bz2
Content-length: 954

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87254

Martin Jambor <jamborm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-16
     Ever confirmed|0                           |1

--- Comment #3 from Martin Jambor <jamborm at gcc dot gnu.org> ---
This has nothing to do with cloning but is not entirely a duplicate of
PR 87094 either.

This is basically a request to account for stack size during inlining
using predicates like we do for code time/size and then use
jump-functions to attempt to disprove the predicates, which in this
case would already happen.  I guess one more integer would fit into
struct size_time_entry so it is mostly a question of collecting this
information from clobbers in the summary-generation phase.
>From gcc-bugs-return-633978-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 13:00:01 2019
Return-Path: <gcc-bugs-return-633978-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47599 invoked by alias); 16 Feb 2019 13:00: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 47533 invoked by uid 48); 16 Feb 2019 12:59:57 -0000
From: "schwab@linux-m68k.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89171] FAIL: go/build
Date: Sat, 16 Feb 2019 13:00: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: schwab@linux-m68k.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89171-4-vtGKd45jEK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89171-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89171-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: 2019-02/txt/msg02280.txt.bz2
Content-length: 269

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89171

--- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> ---
There are prebuilt images in
<https://download.opensuse.org/ports/riscv/tumbleweed/images/> that are set up
to execute via qemu linux-user emulation.
>From gcc-bugs-return-633979-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 13:15:56 2019
Return-Path: <gcc-bugs-return-633979-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78648 invoked by alias); 16 Feb 2019 13:15: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 78220 invoked by uid 48); 16 Feb 2019 13:15:24 -0000
From: "johannespfau at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug d/89177] unaligned memory access in libphobos
Date: Sat, 16 Feb 2019 13:15:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: d
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: johannespfau 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: cc
Message-ID: <bug-89177-4-mJfF8cWPSA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89177-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89177-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: 2019-02/txt/msg02281.txt.bz2
Content-length: 1121

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89177

Johannes Pfau <johannespfau at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |johannespfau at gmail dot com

--- Comment #2 from Johannes Pfau <johannespfau at gmail dot com> ---
Thanks for the bug report & patch. It seems upstream phobos has already fixed
this in a different way:

https://github.com/dlang/phobos/commit/d5f710c57e717ef470d093c1739156dcb2f2d469#diff-2f532fcf37a0e29f7683a930ad9915ae

Could you please try whether simply replacing the murmurhash.d file with this
latest upstream version works?
https://raw.githubusercontent.com/dlang/phobos/master/std/digest/murmurhash.d

It looks like there have been no compiler-dependent changes to murmurhash.d, so
this latest version likely works. Otherwise we could use the first version
including the bugfix
(https://github.com/dlang/phobos/blob/d5f710c57e717ef470d093c1739156dcb2f2d469/std/digest/murmurhash.d)
or backport the bugfix.
>From gcc-bugs-return-633980-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 16:13:30 2019
Return-Path: <gcc-bugs-return-633980-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95537 invoked by alias); 16 Feb 2019 16:13: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 95266 invoked by uid 55); 16 Feb 2019 16:13:24 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/71066] [7/8/9 Regression] ICE in set_loop_bounds, at fortran/trans-array.c:4680
Date: Sat, 16 Feb 2019 16:13: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: 6.1.1
X-Bugzilla-Keywords: ice-on-invalid-code, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-71066-4-H7pUE0lbTA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71066-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71066-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: 2019-02/txt/msg02282.txt.bz2
Content-length: 906

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71066

--- Comment #14 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Sat Feb 16 16:12:51 2019
New Revision: 268960

URL: https://gcc.gnu.org/viewcvs?rev=268960&root=gcc&view=rev
Log:
2019-02-17  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/71066
        * trans-decl.c (generate_coarray_sym_init):  For an array
        constructor in a DATA statement of a coarray variable, set the
        rank to 1 to avoid confusion later on.  If the constructor
        contains only one value, use that for initiailizig.

2019-02-17  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/71066
        * gfortran.dg/coarray_data_1.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/coarray_data_1.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-decl.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633981-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 16:16:30 2019
Return-Path: <gcc-bugs-return-633981-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98096 invoked by alias); 16 Feb 2019 16:15:57 -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 97698 invoked by uid 48); 16 Feb 2019 16:15:30 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/71066] [7/8 Regression] ICE in set_loop_bounds, at fortran/trans-array.c:4680
Date: Sat, 16 Feb 2019 16:15: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: 6.1.1
X-Bugzilla-Keywords: ice-on-invalid-code, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-71066-4-NVYxtMqRSA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71066-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71066-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: 2019-02/txt/msg02283.txt.bz2
Content-length: 549

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71066

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[7/8/9 Regression] ICE in   |[7/8 Regression] ICE in
                   |set_loop_bounds, at         |set_loop_bounds, at
                   |fortran/trans-array.c:4680  |fortran/trans-array.c:4680

--- Comment #15 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Fixed on trunk so far.
>From gcc-bugs-return-633982-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 16:17:54 2019
Return-Path: <gcc-bugs-return-633982-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120171 invoked by alias); 16 Feb 2019 16:17: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 120100 invoked by uid 55); 16 Feb 2019 16:17:49 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88680] [9 Regression] bogus -Wtype-limits for constant expressions after r267272
Date: Sat, 16 Feb 2019 16:17: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: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88680-4-bl4PSIvU6K@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88680-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88680-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: 2019-02/txt/msg02284.txt.bz2
Content-length: 1385

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88680

--- Comment #3 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Author: dmalcolm
Date: Sat Feb 16 16:17:17 2019
New Revision: 268961

URL: https://gcc.gnu.org/viewcvs?rev=268961&root=gcc&view=rev
Log:
Fix excess warnings from -Wtype-limits with location wrappers (PR c++/88680)

PR c++/88680 reports excess warnings from -Wtype-limits after the C++
FE's use of location wrappers was extended in r267272 for cases such as:

  const unsigned n = 8;
  static_assert (n >= 0 && n % 2 == 0, "");

t.C:3:18: warning: comparison of unsigned expression >= 0 is always true
  [-Wtype-limits]
    3 | static_assert (n >= 0 && n % 2 == 0, "");
      |                ~~^~~~

The root cause is that the location wrapper around "n" breaks the
suppression of the warning for the "if OP0 is a constant that is >= 0"
case.

This patch fixes it by calling fold_for_warn on OP0, extracting the
constant.

gcc/c-family/ChangeLog:
        PR c++/88680
        * c-common.c (shorten_compare): Call fold_for_warn on op0 when
        implementing -Wtype-limits.

gcc/testsuite/ChangeLog:
        PR c++/88680
        * g++.dg/wrappers/pr88680.C: New test.


Added:
    trunk/gcc/testsuite/g++.dg/wrappers/pr88680.C
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-common.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-633983-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 16:18:54 2019
Return-Path: <gcc-bugs-return-633983-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10525 invoked by alias); 16 Feb 2019 16:18: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 8167 invoked by uid 48); 16 Feb 2019 16:18:50 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88680] [9 Regression] bogus -Wtype-limits for constant expressions after r267272
Date: Sat, 16 Feb 2019 16:18: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: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-88680-4-B3xoxoaRRH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88680-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88680-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: 2019-02/txt/msg02285.txt.bz2
Content-length: 450

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88680

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Should be fixed by r268961.
>From gcc-bugs-return-633984-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 16:18:56 2019
Return-Path: <gcc-bugs-return-633984-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11078 invoked by alias); 16 Feb 2019 16:18:55 -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 8734 invoked by uid 48); 16 Feb 2019 16:18:51 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89129] [meta-bug] bogus/missing -Wtype-limits warnings
Date: Sat, 16 Feb 2019 16:18:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 4.3.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm 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 resolution
Message-ID: <bug-89129-4-Mv9Fhc5laR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89129-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89129-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: 2019-02/txt/msg02286.txt.bz2
Content-length: 501

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89129
Bug 89129 depends on bug 88680, which changed state.

Bug 88680 Summary: [9 Regression] bogus -Wtype-limits for constant expressions after r267272
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88680

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-633985-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 16:31:42 2019
Return-Path: <gcc-bugs-return-633985-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82098 invoked by alias); 16 Feb 2019 16:31:41 -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 82058 invoked by uid 48); 16 Feb 2019 16:31:38 -0000
From: "jb at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/89274] Inconsistent list directed output of INTEGER(16)
Date: Sat, 16 Feb 2019 16:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libfortran
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: minor
X-Bugzilla-Who: jb at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
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-89274-4-kU2jQe3IV9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89274-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89274-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: 2019-02/txt/msg02287.txt.bz2
Content-length: 684

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89274

Janne Blomqvist <jb at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jb at gcc dot gnu.org

--- Comment #1 from Janne Blomqvist <jb at gcc dot gnu.org> ---
Seems obvious, Ok for trunk with a ChangeLog.

Another point of view would be that for list-directed we should always use
width=0 for all kinds; that would make list-directed more useful for things
like

print *, 'Frobnicator value is ', frob, ' frobs.'

but would make it less useful for outputting tables.
>From gcc-bugs-return-633986-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 17:20:45 2019
Return-Path: <gcc-bugs-return-633986-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37179 invoked by alias); 16 Feb 2019 17:20:43 -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 37148 invoked by uid 48); 16 Feb 2019 17:20:39 -0000
From: "mdblack98 at yahoo dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/89373] macro expansion not counting braces correctly
Date: Sat, 16 Feb 2019 17:20: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mdblack98 at yahoo 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_status resolution
Message-ID: <bug-89373-4-CxQTFBXWRo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89373-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89373-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: 2019-02/txt/msg02288.txt.bz2
Content-length: 1581

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89373

mdblack98 at yahoo dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |---

--- Comment #2 from mdblack98 at yahoo dot com ---
So how does one get this to compile then..Can't seem to find any combination of
parentheses that works.  I'm converting an entry in the hamlib project to an
array and that's what is causing this problem with static initialization of the
array.

x3.c:10:26: error: braced-group within expression allowed only inside a
function
   FRQ_RNG_160m_REGION##r((m), (lp), (hp), (v), (a))
                          ^
x3.c:6:25: note: in definition of macro ‘FRQ_RNG_160m_REGION1’
             { 1810, 2, (md), (lp), (hp), (v), (a) }
                         ^~
x3.c:21:20: note: in expansion of macro ‘FRQ_RNG_HF’
 struct foo myfoo = FRQ_RNG_HF(1, MYLIST, 5,100,1,1);
                    ^~~~~~~~~~


#include <stdio.h>

#define MYLIST {1,2,3,4,5}

#define FRQ_RNG_160m_REGION1(md,lp,hp,v,a) \
            { 1810, 2, (md), (lp), (hp), (v), (a) }


#define FRQ_RNG_HF(r,m,lp,hp,v,a) \
  FRQ_RNG_160m_REGION##r((m), (lp), (hp), (v), (a))

struct foo {
  int i1;
  int i2[64];
  int i3;
  int i4;
  int i5;
  int i6;
};

struct foo myfoo = FRQ_RNG_HF(1, MYLIST, 5,100,1,1);

int
main()
{
  for(int i=0;i<5;++i) printf("kk %d,%d\n",i,myfoo.i2[i]);
  return 0;
}
>From gcc-bugs-return-633987-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 17:41:19 2019
Return-Path: <gcc-bugs-return-633987-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10306 invoked by alias); 16 Feb 2019 17:41:18 -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 10271 invoked by uid 48); 16 Feb 2019 17:41:13 -0000
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89376] New: ICE: Segmentation fault (in oacc_entry_exit_ok_1)
Date: Sat, 16 Feb 2019 17:41: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: ice-on-valid-code, openacc
X-Bugzilla-Severity: normal
X-Bugzilla-Who: asolokha at gmx 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 keywords bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-89376-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: 2019-02/txt/msg02289.txt.bz2
Content-length: 1827

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89376

            Bug ID: 89376
           Summary: ICE: Segmentation fault (in oacc_entry_exit_ok_1)
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, openacc
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---

gcc-9.0.0-alpha20190210 snapshot (r268755) ICEs when compiling the following
testcase w/ -O2 -fopenacc -fno-tree-ch -fno-tree-dce -fno-tree-vrp:

void
qr (void)
{
  int fa;

#pragma acc kernels
  for (int rw = 0; rw < 1; ++rw)
    fa = 0;
}

% gcc-9.0.0-alpha20190210 -O2 -fopenacc -fno-tree-ch -fno-tree-dce
-fno-tree-vrp -c vvyr2jl1.c
during GIMPLE pass: parloops
vvyr2jl1.c: In function 'qr._omp_fn.0':
vvyr2jl1.c:9:1: internal compiler error: Segmentation fault
    9 | }
      | ^
0xd6fa7f crash_signal
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190210/work/gcc-9-20190210/gcc/toplev.c:326
0xe280f6 oacc_entry_exit_ok_1
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190210/work/gcc-9-20190210/gcc/tree-parloops.c:3051
0xe280f6 oacc_entry_exit_ok
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190210/work/gcc-9-20190210/gcc/tree-parloops.c:3251
0xe280f6 parallelize_loops
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190210/work/gcc-9-20190210/gcc/tree-parloops.c:3402
0xe2836b execute
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190210/work/gcc-9-20190210/gcc/tree-parloops.c:3505
0xe2836b execute
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190210/work/gcc-9-20190210/gcc/tree-parloops.c:3484
>From gcc-bugs-return-633988-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 18:46:49 2019
Return-Path: <gcc-bugs-return-633988-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87969 invoked by alias); 16 Feb 2019 18:46: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 87894 invoked by uid 55); 16 Feb 2019 18:46:45 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88074] [7/8/9 Regression] g++ hangs on math expression
Date: Sat, 16 Feb 2019 18:46: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: 7.2.0
X-Bugzilla-Keywords: compile-time-hog
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88074-4-YckKErlGG3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88074-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88074-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: 2019-02/txt/msg02290.txt.bz2
Content-length: 1022

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88074

--- Comment #29 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Feb 16 18:46:04 2019
New Revision: 268962

URL: https://gcc.gnu.org/viewcvs?rev=268962&root=gcc&view=rev
Log:
        PR middle-end/88074
        * simplify.c (simplify_transformation_to_array): Run post_op
        immediately after processing corresponding row, rather than at the
        end.
        (norm2_scale): New variable.
        (add_squared): Rename to ...
        (norm2_add_squared): ... this.  Scale down operand and/or result
        if needed.
        (do_sqrt): Rename to ...
        (norm2_do_sqrt): ... this.  Handle the result == e case.  Scale up
        result and clear norm2_scale.
        (gfc_simplify_norm2): Clear norm2_scale.  Change add_squared to
        norm2_add_squared and &do_sqrt to norm2_do_sqrt.  Scale up result
        and clear norm2_scale again.

Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/simplify.c
>From gcc-bugs-return-633989-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 18:53:04 2019
Return-Path: <gcc-bugs-return-633989-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46155 invoked by alias); 16 Feb 2019 18:53: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 44239 invoked by uid 48); 16 Feb 2019 18:52:59 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/66152] [9 Regression] suboptimal load bytes to stack
Date: Sat, 16 Feb 2019 18:53: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-66152-4-CKtLdDz2EK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66152-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66152-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: 2019-02/txt/msg02291.txt.bz2
Content-length: 469

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66152

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Should be fixed for 9+ (and should work in 8.x too).
>From gcc-bugs-return-633990-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 19:43:55 2019
Return-Path: <gcc-bugs-return-633990-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81968 invoked by alias); 16 Feb 2019 19:43: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 81891 invoked by uid 48); 16 Feb 2019 19:43:50 -0000
From: "josem at udel dot edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgomp/89377] New: [OMPVV SOLLVE] map of class member array with no modifier illegal memory access
Date: Sat, 16 Feb 2019 19:43: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: josem at udel dot edu
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 attachments.created
Message-ID: <bug-89377-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: 2019-02/txt/msg02292.txt.bz2
Content-length: 1534

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89377

            Bug ID: 89377
           Summary: [OMPVV SOLLVE] map of class member array with no
                    modifier illegal memory access
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgomp
          Assignee: unassigned at gcc dot gnu.org
          Reporter: josem at udel dot edu
                CC: jakub at gcc dot gnu.org
  Target Milestone: ---

Created attachment 45740
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45740&action=edit
Whole code

Hello, 

The following code has a runtime error that generates an illegal memory acceess
when calling the "modify()" method. Attached is a full version of the code.  

class A {

private:
  int h_array[N];
  int size;

public:
  A(const int s) : size(s) {
    for (int i = 0; i < N; i++)
      h_array[i] = 0;
  }

  void modify() {
#pragma omp target
    {
      for (int i = 0; i < size; ++i)
          h_array[i] += 1;
    }
  }

  int* getArray() {
    return &h_array[0];
  }
};

I've tried GCC 7.1 on a POWER system + P100, and GCC 8.2 on an Intel
architecture + K40. On POWER it hangs, on Intel it breaks with the following:

target_map_method_array.cpp.o:

libgomp: cuCtxSynchronize error: an illegal memory access was encountered

libgomp: cuMemFreeHost error: an illegal memory access was encountered

libgomp: device finalization failed


Thanks and have a great day
>From gcc-bugs-return-633991-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 19:55:57 2019
Return-Path: <gcc-bugs-return-633991-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125309 invoked by alias); 16 Feb 2019 19:55:57 -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 125251 invoked by uid 48); 16 Feb 2019 19:55:53 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgomp/89377] [OMPVV SOLLVE] map of class member array with no modifier illegal memory access
Date: Sat, 16 Feb 2019 19:55:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libgomp
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89377-4-az7liwgEKL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89377-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89377-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: 2019-02/txt/msg02293.txt.bz2
Content-length: 414

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89377

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I don't believe this is well defined in OpenMP 4.5, it is in 5.0, but
eventhough GCC 9 implements parts of OpenMP 5.0, this part is not implemented.
So, you need something like: int *p = h_array; before the #pragma omp target,
map(tofrom:p[:N]) on the pragma and use p instead of h_array.
>From gcc-bugs-return-633992-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 20:06:20 2019
Return-Path: <gcc-bugs-return-633992-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17642 invoked by alias); 16 Feb 2019 20:06:19 -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 17570 invoked by uid 48); 16 Feb 2019 20:06:15 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgomp/89377] [OMPVV SOLLVE] map of class member array with no modifier illegal memory access
Date: Sat, 16 Feb 2019 20:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libgomp
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89377-4-bcRQcIgQPS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89377-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89377-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: 2019-02/txt/msg02294.txt.bz2
Content-length: 336

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89377

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Note, OpenMP 5.0 allows much wider set of expressions in map clause, allows
e.g. map(this[:1]) which is not valid in 4.5 and says that is the default when
referencing non-static data members of a class in a method.
>From gcc-bugs-return-633993-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 22:16:08 2019
Return-Path: <gcc-bugs-return-633993-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107384 invoked by alias); 16 Feb 2019 22:16: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 107069 invoked by uid 48); 16 Feb 2019 22:15:52 -0000
From: "arnaud02 at users dot sourceforge.net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89371] missed vectorisation with "#pragma omp simd collapse(2)"
Date: Sat, 16 Feb 2019 22:16: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: 8.2.0
X-Bugzilla-Keywords: missed-optimization, openmp
X-Bugzilla-Severity: normal
X-Bugzilla-Who: arnaud02 at users dot sourceforge.net
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-89371-4-8fGugsHNHT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89371-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89371-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: 2019-02/txt/msg02295.txt.bz2
Content-length: 821

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89371

--- Comment #2 from Arnaud Desitter <arnaud02 at users dot sourceforge.net> ---
In my original report, I meant to write:
"built by gcc 8.2 on x86_64 with "-std=c++14 -O3 -mavx -fopenmp-simd" results
in **NO** simd instruction emitted."

subroutine ff(res, a, b, ncell, neq)
integer :: ncell, neq
double precision, dimension(neq,ncell) :: res, a, b
integer :: icell, ieq
!$omp simd collapse(2)
do icell=1,ncell
  do ieq=1, neq
     res(ieq,icell) = a(ieq,icell)-b(ieq,icell)
  enddo
enddo
end subroutine

has the same issue (gfortran 8.2 "-O3 -mavx -fopenmp-simd"). "!$omp simd
collapse(2)" produces scalar code.

I agree that it is possible to flatten the loops manually. I am wondering why
the clause "collapse(2)" ends up disabling the vectorisation.
>From gcc-bugs-return-633994-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 22:16:52 2019
Return-Path: <gcc-bugs-return-633994-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108727 invoked by alias); 16 Feb 2019 22:16: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 108649 invoked by uid 55); 16 Feb 2019 22:16:46 -0000
From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89372] Incorrect PMULHRSW
Date: Sat, 16 Feb 2019 22:16: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl 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-89372-4-L4OZPrbNBU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89372-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89372-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: 2019-02/txt/msg02296.txt.bz2
Content-length: 699

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89372

--- Comment #1 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Sat Feb 16 22:16:04 2019
New Revision: 268964

URL: https://gcc.gnu.org/viewcvs?rev=268964&root=gcc&view=rev
Log:
i386: Add ssse3_pmulhrswv4hi3 expander

There is no V4HI pmulhrsw in AVX512BW and V4HI/V8HI pmulhrsw don't require
AVX2.

        PR target/89372
        * config/i386/sse.md (ssedoublemode): Remove V4HI.
        (PMULHRSW): Likewise.
        (<ssse3_avx2>_pmulhrsw<mode>3): Require TARGET_SSSE3, not
        TARGET_AVX2.
        (ssse3_pmulhrswv4hi3): New expander.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/sse.md
>From gcc-bugs-return-633995-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 22:33:05 2019
Return-Path: <gcc-bugs-return-633995-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25190 invoked by alias); 16 Feb 2019 22:33:04 -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 25031 invoked by uid 48); 16 Feb 2019 22:33:00 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89372] Incorrect PMULHRSW
Date: Sat, 16 Feb 2019 22:33: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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 target_milestone
Message-ID: <bug-89372-4-pFz1iuUWry@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89372-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89372-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: 2019-02/txt/msg02297.txt.bz2
Content-length: 468

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89372

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |9.0

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed.
>From gcc-bugs-return-633996-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 23:08:55 2019
Return-Path: <gcc-bugs-return-633996-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22731 invoked by alias); 16 Feb 2019 23:08:55 -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 22669 invoked by uid 48); 16 Feb 2019 23:08:51 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88826] ICE (segfault) when compiling invalid C++ code with -std=c++2a
Date: Sat, 16 Feb 2019 23:08: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle 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: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-88826-4-igzvnvAxBR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88826-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88826-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: 2019-02/txt/msg02298.txt.bz2
Content-length: 408

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88826

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-16
     Ever confirmed|0                           |1
>From gcc-bugs-return-633997-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 16 23:09:45 2019
Return-Path: <gcc-bugs-return-633997-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24059 invoked by alias); 16 Feb 2019 23:09: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 23996 invoked by uid 48); 16 Feb 2019 23:09:35 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87689] PowerPC64 ELFv2 function parameter passing violation
Date: Sat, 16 Feb 2019 23:09: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:
Message-ID: <bug-87689-4-4c4O5bk3QA@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: 2019-02/txt/msg02299.txt.bz2
Content-length: 1008

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87689

--- Comment #19 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
This is worse than I thought.

It seems that, if we compile

subroutine foo(a)
  real :: a
end subroutine foo

program main
  real :: x
  call foo(x)
end program main

we call build_function_type_vec (type, typelist)

and if we just compile

program main
  real :: x
  call foo(x)
end program main

we call build_varargs_function_type_vec (type, typelist);

(which is in trans-types.c (gfc_get_function_type), in the
code snippet

  if (is_varargs)
    type = build_varargs_function_type_vec (type, typelist);
  else
    type = build_function_type_vec (type, typelist);
  type = create_fn_spec (sym, type);

This only "works" for calling conventions where varargs
do not matter.

Now, this is caller-side, so I do not think a fix to
generate the correct function decl from the call should
hurt.

I guess that if we really fix this one, we will also fix quite a few
latent bugs...
>From gcc-bugs-return-633998-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 00:54:33 2019
Return-Path: <gcc-bugs-return-633998-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49046 invoked by alias); 17 Feb 2019 00:54:32 -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 45411 invoked by uid 48); 17 Feb 2019 00:54:28 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/84536] [7/8/9 Regression] ICE with non-type template parameter
Date: Sun, 17 Feb 2019 00: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: 8.0
X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc assigned_to
Message-ID: <bug-84536-4-bHLobZPzgw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84536-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84536-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: 2019-02/txt/msg02300.txt.bz2
Content-length: 528

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84536

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|paolo.carlini at oracle dot com    |
           Assignee|unassigned at gcc dot gnu.org      |paolo.carlini at oracle dot com

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Mine.
>From gcc-bugs-return-633999-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 02:55:51 2019
Return-Path: <gcc-bugs-return-633999-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102943 invoked by alias); 17 Feb 2019 02:55: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 102849 invoked by uid 48); 17 Feb 2019 02:55:46 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87689] PowerPC64 ELFv2 function parameter passing violation
Date: Sun, 17 Feb 2019 02:55: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: amodra 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-87689-4-1odLq1I0Ar@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: 2019-02/txt/msg02301.txt.bz2
Content-length: 459

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87689

--- Comment #20 from Alan Modra <amodra at gmail dot com> ---
That is what I thought too at first, and why I though that making calls with
hidden args to be varargs was not going to be a problem.  However, calling
build_varargs_function_type_vec with an empty typelist does not build a varargs
function.  Instead, you get a function decl with a NULL TYPE_ARG_TYPES, which
is an unprototyped function.
>From gcc-bugs-return-634000-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 03:03:12 2019
Return-Path: <gcc-bugs-return-634000-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1196 invoked by alias); 17 Feb 2019 03:03:06 -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 971 invoked by uid 55); 17 Feb 2019 03:02:57 -0000
From: "amodra at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89271] [9 Regression] gcc.target/powerpc/vsx-simode2.c stopped working in GCC 9
Date: Sun, 17 Feb 2019 03:03: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: missed-optimization, ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amodra at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: amodra at gmail dot com
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89271-4-FBPYQO6rfq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89271-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89271-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: 2019-02/txt/msg02302.txt.bz2
Content-length: 1185

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89271

--- Comment #4 from Alan Modra <amodra at gcc dot gnu.org> ---
Author: amodra
Date: Sun Feb 17 03:01:41 2019
New Revision: 268968

URL: https://gcc.gnu.org/viewcvs?rev=268968&root=gcc&view=rev
Log:
[RS6000] Fix <bd>_<mode> and <bd>tf_<mode> splitters

This patch fixes a bug that can result in "insn does not satisfy its
constraints" if these splitters fire due to not getting ctr for the
jump insn.  Since the jump insn can have any of r,m,d,wi,c,l as the
decremented count output, it's not sufficient to check for
gpc_reg_operand (which matches VSX regs for example).  Seen after
correcting register_move_cost when the cost of gpr <-> vsx is much
lower.  Since this is a prerequisite to fixing PR89271, I'm mentioning
that PR in the ChangeLog.

The <bd>tf_<mode> split had a further bug in that it wouldn't match
if the count output was m,d,wi, or l.

        PR target/89271
        * config/rs6000/rs6000.md (<bd>_<mode> split): Check for an int
        output reg on add insn.
        (<bd>tf_<mode> split): Likewise.  Match predicates with insn.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/rs6000.md
>From gcc-bugs-return-634001-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 06:28:12 2019
Return-Path: <gcc-bugs-return-634001-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114410 invoked by alias); 17 Feb 2019 06:28: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 114353 invoked by uid 48); 17 Feb 2019 06:28:07 -0000
From: "paul.hua.gm at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89378] New: [9 regression][MIPS] FAIL: gcc.dg/vect/pr88598-3.c  -mmsa (internal compiler error)
Date: Sun, 17 Feb 2019 06: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: 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-89378-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: 2019-02/txt/msg02303.txt.bz2
Content-length: 6430

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89378

            Bug ID: 89378
           Summary: [9 regression][MIPS] FAIL: gcc.dg/vect/pr88598-3.c
                    -mmsa (internal compiler error)
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: paul.hua.gm at gmail dot com
  Target Milestone: ---

Created attachment 45741
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45741&action=edit
preprocessed .i file

~/build/gcc-r267646_obj/gcc/cc1  -fpreprocessed pr88598-3.i -mel -quiet
-dumpbase pr88598-3.c -mmsa -march=mips64r2 -mabi=64 -mllsc -mips64r2
-mno-shared -auxbase pr88598-3 -O2 -version -fdiagnostics-color=never
-fno-diagnostics-show-caret -fno-d
iagnostics-show-line-numbers -ftree-vectorize -fvect-cost-model=unlimited
-fno-common -fdump-tree-vect-details -ffast-math -fdump-tree-optimized -o
r267646.s  -fdump-rtl-all-all -fdump-tree-all-all                               
GNU C17 (GCC) version 9.0.0 20190107 (experimental) (mips64el-linux-gnu)        
        compiled by GNU C version 5.5.0, 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) version 9.0.0 20190107 (experimental) (mips64el-linux-gnu)        
        compiled by GNU C version 5.5.0, 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: 2965e89c54734745a02038847659e86a                  
/home/xuchenghua/GCC/gcc_git_trunk/gcc/testsuite/gcc.dg/vect/pr88598-3.c: In
function ‘f1’:                                                                  
/home/xuchenghua/GCC/gcc_git_trunk/gcc/testsuite/gcc.dg/vect/pr88598-3.c:17:1:
error: unrecognizable insn:                                                     
(insn 15 14 16 2 (set (reg:V16QI 212)                                           
        (subreg:V16QI (subreg:V4SF (reg:V4SI 201 [ _31 ]) 0) 0))
"/home/xuchenghua/GCC/gcc_git_trunk/gcc/testsuite/gcc.dg/vect/pr88598-3.c":16:10
-1                                                                              
     (nil))                                                                     
during RTL pass: vregs                                                          
dump file: pr88598-3.c.234r.vregs                                               
/home/xuchenghua/GCC/gcc_git_trunk/gcc/testsuite/gcc.dg/vect/pr88598-3.c:17:1:
internal compiler error: in extract_insn, at recog.c:2305                       
0x541354 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)                                                                         
        /home/paulhua/gcc_git_trunk/gcc/rtl-error.c:108                         
0x541370 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)   
        /home/paulhua/gcc_git_trunk/gcc/rtl-error.c:116                         
0xaf7a33 extract_insn(rtx_insn*)                                                
        /home/paulhua/gcc_git_trunk/gcc/recog.c:2305                            
0x882aab instantiate_virtual_regs_in_insn                                       
        /home/paulhua/gcc_git_trunk/gcc/function.c:1650                         
0x882aab instantiate_virtual_regs                                               
        /home/paulhua/gcc_git_trunk/gcc/function.c:2020                         
0x882aab execute                                                                
        /home/paulhua/gcc_git_trunk/gcc/function.c:2069                         
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-634002-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 13:03:21 2019
Return-Path: <gcc-bugs-return-634002-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16242 invoked by alias); 17 Feb 2019 13:03: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 16146 invoked by uid 48); 17 Feb 2019 13:03:15 -0000
From: "pavel.kryukov at phystech dot edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/83417] Pointer-to-member template parameter with auto member type dependent container type does not work (C++17)
Date: Sun, 17 Feb 2019 13:03: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.2.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pavel.kryukov at phystech dot edu
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-83417-4-lyOabAL6R4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83417-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83417-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: 2019-02/txt/msg02304.txt.bz2
Content-length: 487

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83417

Pavel I. Kryukov <pavel.kryukov at phystech dot edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pavel.kryukov at phystech dot edu

--- Comment #1 from Pavel I. Kryukov <pavel.kryukov at phystech dot edu> ---
The bug is reproduced with GCC 8.2 and trunk: https://godbolt.org/z/zOBJUw
>From gcc-bugs-return-634003-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 13:46:10 2019
Return-Path: <gcc-bugs-return-634003-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97440 invoked by alias); 17 Feb 2019 13:46:06 -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 97058 invoked by uid 48); 17 Feb 2019 13:45:38 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87689] PowerPC64 ELFv2 function parameter passing violation
Date: Sun, 17 Feb 2019 13:46: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: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-87689-4-hj9zrevS6b@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: 2019-02/txt/msg02305.txt.bz2
Content-length: 481

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87689

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |tkoenig at gcc dot gnu.org

--- Comment #21 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Think I might have something.
>From gcc-bugs-return-634004-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 14:29:21 2019
Return-Path: <gcc-bugs-return-634004-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23970 invoked by alias); 17 Feb 2019 14:29: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 23934 invoked by uid 48); 17 Feb 2019 14:29:17 -0000
From: "lvenkatakumarchakka at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89379] New: -Wformat is supposed not to give warning
Date: Sun, 17 Feb 2019 14:29: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: lvenkatakumarchakka 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-89379-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: 2019-02/txt/msg02306.txt.bz2
Content-length: 1057

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89379

            Bug ID: 89379
           Summary: -Wformat is supposed not to give warning
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: lvenkatakumarchakka at gmail dot com
  Target Milestone: ---

I have written code as follows:

#include<inttypes.h>
#include<stdio.h>

int main()
{
        uint16_t value;
        scanf( "%"PRIu16, &value );
}

seeing warning

$ gcc foo.c -Wformat
foo.c: In function ‘main’:
foo.c:7:9: warning: format ‘%u’ expects argument of type ‘unsigned int *’, but
argument 2 has type ‘uint16_t *’ {aka ‘short unsigned int *’} [-Wformat=]
  scanf( "%"PRIu16, &value );
         ^~~        ~~~~~~
In file included from foo.c:1:
/usr/include/inttypes.h:103:19: note: format string is defined here
 # define PRIu16  "u"
>From gcc-bugs-return-634005-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 14:49:26 2019
Return-Path: <gcc-bugs-return-634005-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60145 invoked by alias); 17 Feb 2019 14: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 60074 invoked by uid 48); 17 Feb 2019 14:49:21 -0000
From: "schwab@linux-m68k.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89379] -Wformat is supposed not to give warning
Date: Sun, 17 Feb 2019 14:49: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: schwab@linux-m68k.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: bug_status resolution
Message-ID: <bug-89379-4-seoVWSoXLD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89379-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89379-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: 2019-02/txt/msg02307.txt.bz2
Content-length: 453

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89379

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
PRIu16 is for printf, you need SCNu16.
>From gcc-bugs-return-634006-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 16:13:03 2019
Return-Path: <gcc-bugs-return-634006-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39415 invoked by alias); 17 Feb 2019 16:13: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 39281 invoked by uid 48); 17 Feb 2019 16:12:57 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88826] ICE (segfault) when compiling invalid C++ code with -std=c++2a
Date: Sun, 17 Feb 2019 16:13: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-invalid-code
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: cc target_milestone
Message-ID: <bug-88826-4-G9r9PHw5QV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88826-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88826-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: 2019-02/txt/msg02308.txt.bz2
Content-length: 446

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88826

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at redhat dot com
   Target Milestone|---                         |9.0

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
It is caused by r266056.
>From gcc-bugs-return-634007-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 16:14:32 2019
Return-Path: <gcc-bugs-return-634007-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41252 invoked by alias); 17 Feb 2019 16:14:32 -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 41170 invoked by uid 48); 17 Feb 2019 16:14:28 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87689] PowerPC64 ELFv2 function parameter passing violation
Date: Sun, 17 Feb 2019 16:14: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: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-87689-4-igz6lvPXWx@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: 2019-02/txt/msg02309.txt.bz2
Content-length: 2085

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87689

--- Comment #22 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Created attachment 45742
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45742&action=edit
Patch that may work, but causes some regressions

The regressions are:

FAIL: gfortran.dg/lto/20091028-1 f_lto_20091028-1_0.o-f_lto_20091028-1_1.o
link, -O0 -flto -flto-partition=none -fuse-linker-plugin
FAIL: gfortran.dg/lto/20091028-1 f_lto_20091028-1_0.o-f_lto_20091028-1_1.o
link, -O2 -flto -flto-partition=none -fuse-linker-plugin -fno-fat-lto-objects 
FAIL: gfortran.dg/lto/20091028-1 f_lto_20091028-1_0.o-f_lto_20091028-1_1.o
link, -O0 -flto -flto-partition=1to1 -fno-use-linker-plugin 
FAIL: gfortran.dg/lto/20091028-1 f_lto_20091028-1_0.o-f_lto_20091028-1_1.o
link, -O2 -flto -flto-partition=1to1 -fno-use-linker-plugin 
FAIL: gfortran.dg/lto/20091028-1 f_lto_20091028-1_0.o-f_lto_20091028-1_1.o
link, -O0 -flto -fuse-linker-plugin -fno-fat-lto-objects 
FAIL: gfortran.dg/lto/20091028-1 f_lto_20091028-1_0.o-f_lto_20091028-1_1.o
link, -O2 -flto -fuse-linker-plugin
Running
/home/ig25/Gcc/trunk/gcc/testsuite/gfortran.fortran-torture/compile/compile.exp
...
FAIL: gfortran.dg/lto/20091028-2 f_lto_20091028-2_0.o-f_lto_20091028-2_1.o
link, -O0 -flto -flto-partition=none -fuse-linker-plugin
FAIL: gfortran.dg/lto/20091028-2 f_lto_20091028-2_0.o-f_lto_20091028-2_1.o
link, -O2 -flto -flto-partition=none -fuse-linker-plugin -fno-fat-lto-objects 
FAIL: gfortran.dg/lto/20091028-2 f_lto_20091028-2_0.o-f_lto_20091028-2_1.o
link, -O0 -flto -flto-partition=1to1 -fno-use-linker-plugin 
FAIL: gfortran.dg/lto/20091028-2 f_lto_20091028-2_0.o-f_lto_20091028-2_1.o
link, -O2 -flto -flto-partition=1to1 -fno-use-linker-plugin 
FAIL: gfortran.dg/lto/20091028-2 f_lto_20091028-2_0.o-f_lto_20091028-2_1.o
link, -O0 -flto -fuse-linker-plugin -fno-fat-lto-objects 
FAIL: gfortran.dg/lto/20091028-2 f_lto_20091028-2_0.o-f_lto_20091028-2_1.o
link, -O2 -flto -fuse-linker-plugin

I will have to see if I can make any sense out of this.
>From gcc-bugs-return-634008-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 16:33:36 2019
Return-Path: <gcc-bugs-return-634008-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68843 invoked by alias); 17 Feb 2019 16:33: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 68702 invoked by uid 48); 17 Feb 2019 16:33:31 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87689] PowerPC64 ELFv2 function parameter passing violation
Date: Sun, 17 Feb 2019 16:33: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: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87689-4-iY7Jt3a4CA@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: 2019-02/txt/msg02310.txt.bz2
Content-length: 1046

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87689

--- Comment #23 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to Thomas Koenig from comment #22)

> FAIL: gfortran.dg/lto/20091028-1 f_lto_20091028-1_0.o-f_lto_20091028-1_1.o
> link, -O0 -flto -flto-partition=none -fuse-linker-plugin

These test cases are invalid:


SUBROUTINE int_gen_ti_header_char( hdrbuf, hdrbufsize, itypesize, &
                              DataHandle, Element, VarName, Data, code )
  CALL int_gen_ti_header_c ( hdrbuf, hdrbufsize, itypesize, 1, &
                             DataHandle, DummyData, DummyCount, code )
END SUBROUTINE int_gen_ti_header_char

certainly does not fit 

void int_gen_ti_header_c_ (char * hdrbuf, int * hdrbufsize,
                           int * itypesize, int * typesize,
                           int * DataHandle, char * Data,
                           int * Count, int * code)
{
  memcpy (typesize, p, sizeof(int)) ;
  memcpy (Data, p, *Count * *typesize) ;
}

so it is a good sign that they are caught now :-)
>From gcc-bugs-return-634009-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 16:53:19 2019
Return-Path: <gcc-bugs-return-634009-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118382 invoked by alias); 17 Feb 2019 16:53:18 -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 118282 invoked by uid 55); 17 Feb 2019 16:53:13 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89217] [9 Regression] ICE tree check: expected constructor, have error_mark in split_nonconstant_init_1
Date: Sun, 17 Feb 2019 16: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: error-recovery, ice-on-valid-code, patch, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89217-4-A6seo1JhQ1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89217-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89217-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: 2019-02/txt/msg02311.txt.bz2
Content-length: 926

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89217

--- Comment #7 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Sun Feb 17 16:52:40 2019
New Revision: 268969

URL: https://gcc.gnu.org/viewcvs?rev=268969&root=gcc&view=rev
Log:
        PR c++/89217 - ICE with list-initialization in range-based for loop.
        * constexpr.c (unshare_constructor): No longer static.
        * cp-tree.h (unshare_constructor): Declare.
        * semantics.c (finish_compound_literal): When dealing with a
        non-dependent expression in a template, return the original
        expression.  Pass LOOKUP_NO_NARROWING to digest_init_flags.

        * g++.dg/cpp0x/range-for37.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/range-for37.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/constexpr.c
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634010-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 17:05:10 2019
Return-Path: <gcc-bugs-return-634010-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32492 invoked by alias); 17 Feb 2019 17:05: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 32358 invoked by uid 48); 17 Feb 2019 17:05:05 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89217] [9 Regression] ICE tree check: expected constructor, have error_mark in split_nonconstant_init_1
Date: Sun, 17 Feb 2019 17:05: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: error-recovery, ice-on-valid-code, patch, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89217-4-wyHbwHzGEl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89217-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89217-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: 2019-02/txt/msg02312.txt.bz2
Content-length: 429

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89217

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-634011-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 17:15:47 2019
Return-Path: <gcc-bugs-return-634011-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46508 invoked by alias); 17 Feb 2019 17:15:04 -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 46311 invoked by uid 48); 17 Feb 2019 17:14:59 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89315] [9 Regression] Cannot convert to std::initializer_list - fails with gcc9 works with gcc8
Date: Sun, 17 Feb 2019 17:15: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: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89315-4-dkeP8DE2rF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89315-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89315-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: 2019-02/txt/msg02313.txt.bz2
Content-length: 159

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89315

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed by r268969, will add the test.
>From gcc-bugs-return-634012-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 17:26:03 2019
Return-Path: <gcc-bugs-return-634012-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124545 invoked by alias); 17 Feb 2019 17:26: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 124422 invoked by uid 55); 17 Feb 2019 17:25:59 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89315] [9 Regression] Cannot convert to std::initializer_list - fails with gcc9 works with gcc8
Date: Sun, 17 Feb 2019 17:26: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: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89315-4-CeY8dcHEU1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89315-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89315-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: 2019-02/txt/msg02314.txt.bz2
Content-length: 437

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89315

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Sun Feb 17 17:25:27 2019
New Revision: 268971

URL: https://gcc.gnu.org/viewcvs?rev=268971&root=gcc&view=rev
Log:
        PR c++/89315
        * g++.dg/cpp0x/initlist114.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/initlist114.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634013-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 17:29:20 2019
Return-Path: <gcc-bugs-return-634013-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2947 invoked by alias); 17 Feb 2019 17:29:19 -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 2796 invoked by uid 48); 17 Feb 2019 17:29:14 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89315] [9 Regression] Cannot convert to std::initializer_list - fails with gcc9 works with gcc8
Date: Sun, 17 Feb 2019 17: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: 9.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89315-4-PXZzJFAWmQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89315-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89315-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: 2019-02/txt/msg02315.txt.bz2
Content-length: 451

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89315

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Lars, thanks for the report!
>From gcc-bugs-return-634014-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 17:49:50 2019
Return-Path: <gcc-bugs-return-634014-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48806 invoked by alias); 17 Feb 2019 17:49: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 48662 invoked by uid 48); 17 Feb 2019 17:49:45 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89356] [9 Regression] sorry, unimplemented: mangling implicit_conv_expr in nodejs8 package since r268321
Date: Sun, 17 Feb 2019 17:49: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: unknown
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89356-4-rUwKtgfZVk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89356-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89356-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: 2019-02/txt/msg02316.txt.bz2
Content-length: 162

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89356

--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed by r268969, I'm adding new tests.
>From gcc-bugs-return-634016-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 17:54:51 2019
Return-Path: <gcc-bugs-return-634016-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 70285 invoked by alias); 17 Feb 2019 17:54: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 70130 invoked by uid 48); 17 Feb 2019 17:54:46 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89356] [9 Regression] sorry, unimplemented: mangling implicit_conv_expr in nodejs8 package since r268321
Date: Sun, 17 Feb 2019 17: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: unknown
X-Bugzilla-Keywords: ABI, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89356-4-xRZ9x50PF9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89356-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89356-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: 2019-02/txt/msg02318.txt.bz2
Content-length: 428

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89356

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Done.
>From gcc-bugs-return-634015-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 17:54:31 2019
Return-Path: <gcc-bugs-return-634015-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69100 invoked by alias); 17 Feb 2019 17: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 66802 invoked by uid 55); 17 Feb 2019 17:54:26 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89356] [9 Regression] sorry, unimplemented: mangling implicit_conv_expr in nodejs8 package since r268321
Date: Sun, 17 Feb 2019 17: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: unknown
X-Bugzilla-Keywords: ABI, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89356-4-31vaPJp74K@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89356-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89356-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: 2019-02/txt/msg02317.txt.bz2
Content-length: 524

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89356

--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Sun Feb 17 17:53:54 2019
New Revision: 268972

URL: https://gcc.gnu.org/viewcvs?rev=268972&root=gcc&view=rev
Log:
        PR c++/89356
        * g++.dg/abi/mangle68.C: New test.
        * g++.dg/cpp0x/decltype69.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/abi/mangle68.C
    trunk/gcc/testsuite/g++.dg/cpp0x/decltype69.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634017-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 18:14:47 2019
Return-Path: <gcc-bugs-return-634017-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27631 invoked by alias); 17 Feb 2019 18:14: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 27438 invoked by uid 48); 17 Feb 2019 18:14:42 -0000
From: "frank.secilia at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89367] Constexpr expression is not constexpr in template, but is constexpr in non-template.
Date: Sun, 17 Feb 2019 18:14: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: frank.secilia 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: attachments.created
Message-ID: <bug-89367-4-zOHmGUx2Fs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89367-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89367-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: 2019-02/txt/msg02319.txt.bz2
Content-length: 426

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89367

--- Comment #4 from Frank Secilia <frank.secilia at gmail dot com> ---
Created attachment 45743
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45743&action=edit
alternative repro case using pointers to method

Here is a similar case using pointers to methods. I'm honestly not sure if this
is even allowed by the standard, but it works as expected with clang.
>From gcc-bugs-return-634018-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 18:16:15 2019
Return-Path: <gcc-bugs-return-634018-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31272 invoked by alias); 17 Feb 2019 18:16: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 31079 invoked by uid 48); 17 Feb 2019 18:16:08 -0000
From: "frank.secilia at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89367] Constexpr expression is not constexpr in template, but is constexpr in non-template.
Date: Sun, 17 Feb 2019 18:16: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: frank.secilia 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: attachments.created
Message-ID: <bug-89367-4-SuOQmTTasV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89367-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89367-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: 2019-02/txt/msg02320.txt.bz2
Content-length: 261

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89367

--- Comment #5 from Frank Secilia <frank.secilia at gmail dot com> ---
Created attachment 45744
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45744&action=edit
alternative verbose compiler output
>From gcc-bugs-return-634019-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 19:01:40 2019
Return-Path: <gcc-bugs-return-634019-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57822 invoked by alias); 17 Feb 2019 19:01: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 57739 invoked by uid 48); 17 Feb 2019 19:01:35 -0000
From: "mdblack98 at yahoo dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89380] New: Multiple items in brace not working on nested macro
Date: Sun, 17 Feb 2019 19: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: mdblack98 at yahoo 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-89380-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: 2019-02/txt/msg02321.txt.bz2
Content-length: 1125

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89380

            Bug ID: 89380
           Summary: Multiple items in brace not working on nested macro
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mdblack98 at yahoo dot com
  Target Milestone: ---

Additional report from bug#89373

#include <stdio.h>

// To see the bug
// gcc -DBUG -c x3.c

// Single item in braces is OK
// Multiple items in braces not OK

#ifdef BUG
#define MYLIST {1,2}
#else
#define MYLIST {1}
#endif

#define FRQ_RNG_160m_REGION1(md,lp,hp,v,a) \
            { 1810, 2, md, (lp), (hp), (v), (a) }

#define FRQ_RNG_HF(r,m,lp,hp,v,a) \
  FRQ_RNG_160m_REGION##r(m, (lp), (hp), (v), (a))


struct foo {
  int band;
  int region;
  int md[4];
  int lp;
  int hp;
  int v;
  int a;
};

struct foo myfoo = {  1,2, MYLIST,4,5,6,7 };

struct foo myfoo2 = FRQ_RNG_HF(1, MYLIST, 5,100,1,1);

int
main()
{
  for(int i=0;i<4;++i) printf("kk %d,%d\n",i,myfoo.md[i]);
  return 0;
}
>From gcc-bugs-return-634020-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 19:26:58 2019
Return-Path: <gcc-bugs-return-634020-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56644 invoked by alias); 17 Feb 2019 19:26:57 -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 56469 invoked by uid 48); 17 Feb 2019 19:26:53 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/89380] Multiple items in brace not working on nested macro
Date: Sun, 17 Feb 2019 19:26: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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-89380-4-RZOhPyRxEu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89380-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89380-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: 2019-02/txt/msg02322.txt.bz2
Content-length: 236

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89380

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I think these kind of questions should be handled in gcc-help@ rather than
here.  Maybe in a standard C forum too.
>From gcc-bugs-return-634021-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 19:32:01 2019
Return-Path: <gcc-bugs-return-634021-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69135 invoked by alias); 17 Feb 2019 19:32: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 68909 invoked by uid 48); 17 Feb 2019 19:31:56 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/89380] Multiple items in brace not working on nested macro
Date: Sun, 17 Feb 2019 19:32: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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-89380-4-0uq7Wzqvhl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89380-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89380-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: 2019-02/txt/msg02323.txt.bz2
Content-length: 209

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89380

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
https://stuff.mit.edu/afs/athena/project/rhel-doc/3/rhel-cpp-en-3/macro-pitfalls.html
>From gcc-bugs-return-634022-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 19:46:12 2019
Return-Path: <gcc-bugs-return-634022-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111170 invoked by alias); 17 Feb 2019 19:46: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 110955 invoked by uid 48); 17 Feb 2019 19:46:07 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/89380] Multiple items in brace not working on nested macro
Date: Sun, 17 Feb 2019 19:46: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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: bug_status resolution
Message-ID: <bug-89380-4-owsTezZ8tl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89380-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89380-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: 2019-02/txt/msg02324.txt.bz2
Content-length: 683

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89380

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This won't work with macros pain and simple.  There is nothing GCC can solve
here.

Doing this:
FRQ_RNG_HF(1, (MYLIST), 5,100,1,1);
Fixes the macro issue but you are left with:
struct foo myfoo2 = { 1810, 2, ({1,2}), 5, 100, 1, (1) };

Which is invalid code.
>From gcc-bugs-return-634023-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 19:57:44 2019
Return-Path: <gcc-bugs-return-634023-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30183 invoked by alias); 17 Feb 2019 19:57:43 -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 29983 invoked by uid 48); 17 Feb 2019 19:57:39 -0000
From: "schwab@linux-m68k.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/89380] Multiple items in brace not working on nested macro
Date: Sun, 17 Feb 2019 19:57: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: schwab@linux-m68k.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-89380-4-RME2lnibgu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89380-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89380-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: 2019-02/txt/msg02325.txt.bz2
Content-length: 214

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89380

--- Comment #4 from Andreas Schwab <schwab@linux-m68k.org> ---
You can do dirty things with hiding the comma behind a macro, but don't do this
at home, kids.
>From gcc-bugs-return-634024-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 20:11:55 2019
Return-Path: <gcc-bugs-return-634024-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69762 invoked by alias); 17 Feb 2019 20:11: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 69575 invoked by uid 48); 17 Feb 2019 20:11:49 -0000
From: "mdblack98 at yahoo dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/89380] Multiple items in brace not working on nested macro
Date: Sun, 17 Feb 2019 20: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mdblack98 at yahoo dot com
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-89380-4-RMzZARTST2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89380-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89380-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: 2019-02/txt/msg02326.txt.bz2
Content-length: 199

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89380

--- Comment #5 from mdblack98 at yahoo dot com ---
Why can't it be fixed by not counting commas between braces?  That seems to be
the problem.
>From gcc-bugs-return-634025-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 20:25:51 2019
Return-Path: <gcc-bugs-return-634025-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112562 invoked by alias); 17 Feb 2019 20:25: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 112432 invoked by uid 48); 17 Feb 2019 20:25:47 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/89380] Multiple items in brace not working on nested macro
Date: Sun, 17 Feb 2019 20:25: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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-89380-4-JyexADNs1f@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89380-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89380-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: 2019-02/txt/msg02327.txt.bz2
Content-length: 672

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89380

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to mdblack98 from comment #5)
> Why can't it be fixed by not counting commas between braces?  That seems to
> be the problem.

Because then GCC will break some valid C code :).  I think you should make a
proposal to the C Language committee if you really want this feature.  NOTE
this feature will break backward compatibility with older standards but maybe
the C committee will agree with it.  NOTE it won't be the default in GCC for a
long time (maybe around 10 years from now) if it gets accepted by the C
standards comittee today.
>From gcc-bugs-return-634026-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 21:15:01 2019
Return-Path: <gcc-bugs-return-634026-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22027 invoked by alias); 17 Feb 2019 21:14: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 21894 invoked by uid 55); 17 Feb 2019 21:14:55 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89077] ICE using * as len specifier for character parameter
Date: Sun, 17 Feb 2019 21:14: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf 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-89077-4-VQEW9fS8mU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89077-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89077-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: 2019-02/txt/msg02328.txt.bz2
Content-length: 721

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89077

--- Comment #18 from anlauf at gcc dot gnu.org ---
Author: anlauf
Date: Sun Feb 17 21:14:14 2019
New Revision: 268973

URL: https://gcc.gnu.org/viewcvs?rev=268973&root=gcc&view=rev
Log:
2019-02-17  Harald Anlauf  <anlauf@gmx.de>

        PR fortran/89077
        * decl.c (gfc_set_constant_character_len): Clear original string
        representation after padding has been performed to target length.

        PR fortran/89077
        * gfortran.dg/transfer_simplify_12.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/transfer_simplify_12.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/decl.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634027-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 21:19:59 2019
Return-Path: <gcc-bugs-return-634027-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121298 invoked by alias); 17 Feb 2019 21:19: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 121023 invoked by uid 55); 17 Feb 2019 21:19:54 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88299] [F18] COMMON in a legacy module produces bogus warnings in dependent code
Date: Sun, 17 Feb 2019 21:19: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
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-88299-4-74YfuxTgDg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88299-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88299-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: 2019-02/txt/msg02329.txt.bz2
Content-length: 688

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88299

--- Comment #6 from anlauf at gcc dot gnu.org ---
Author: anlauf
Date: Sun Feb 17 21:19:20 2019
New Revision: 268974

URL: https://gcc.gnu.org/viewcvs?rev=268974&root=gcc&view=rev
Log:
2019-02-17  Harald Anlauf  <anlauf@gmx.de>

        PR fortran/88299
        * resolve.c (resolve_common_blocks,resolve_common_vars): Move
        check for obsolent COMMON feature in F2018 to better place.

        PR fortran/88299
        * gfortran.dg/pr88299.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/pr88299.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/resolve.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634028-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 21:28:17 2019
Return-Path: <gcc-bugs-return-634028-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34805 invoked by alias); 17 Feb 2019 21: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 34666 invoked by uid 48); 17 Feb 2019 21:28:13 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89077] ICE using * as len specifier for character parameter
Date: Sun, 17 Feb 2019 21:28: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gmx dot de
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-89077-4-kTXRbo7GxU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89077-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89077-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: 2019-02/txt/msg02330.txt.bz2
Content-length: 321

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89077

--- Comment #19 from Harald Anlauf <anlauf at gmx dot de> ---
The issues reported in comment #0, #1 and #3 should be fixed on trunk.
The fix for comment #0 has been backported to 7- and 8-branches.

Can the OP please confirm that the reported issues have been fixed?
>From gcc-bugs-return-634029-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 21:30:47 2019
Return-Path: <gcc-bugs-return-634029-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42709 invoked by alias); 17 Feb 2019 21:30:26 -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 41605 invoked by uid 48); 17 Feb 2019 21:30:05 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87734] [7/8/9 Regression] ICE in is_illegal_recursion check for character len= parameter
Date: Sun, 17 Feb 2019 21:30: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, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords cc
Message-ID: <bug-87734-4-bCVeS4lfLI@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: 2019-02/txt/msg02331.txt.bz2
Content-length: 2239

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87734

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
                 CC|                            |tkoenig at gcc dot gnu.org

--- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
The test case is now rejected with trunk, looks like a recent 9 regression:

ig25@linux-p51k:/tmp> gfortran m_vstring.f90 
m_vstring.f90:24:30:

   24 |   pure function vstring_length ( this ) result ( length )
      |                              1
Error: MODULE-PROC procedure at (1) is already declared as EXTERNAL-PROC
procedure
m_vstring.f90:25:43:

   25 |     type ( t_vstring ) , intent(in) :: this
      |                                           1
Error: Unexpected data declaration statement in CONTAINS section at (1)
m_vstring.f90:26:21:

   26 |     integer :: length
      |                     1
Error: Unexpected data declaration statement in CONTAINS section at (1)
m_vstring.f90:27:27:

   27 |     if ( associated ( this%chars ) ) then
      |                           1
Error: Symbol 'this' at (1) has no IMPLICIT type
m_vstring.f90:28:26:

   28 |        length = SIZE(this%chars)
      |                          1
Error: Symbol 'this' at (1) has no IMPLICIT type
m_vstring.f90:29:8:

   29 |     else
      |        1
Error: Unexpected ELSE statement in CONTAINS section at (1)
m_vstring.f90:30:17:

   30 |        length = 0
      |                 1
Error: Unexpected assignment statement in CONTAINS section at (1)
m_vstring.f90:31:7:

   31 |     endif
      |       1
Error: Expecting END MODULE statement at (1)
m_vstring.f90:32:5:

   32 |   end function vstring_length
      |     1
Error: Expecting END MODULE statement at (1)
m_vstring.f90:10:26:

   10 |   public :: vstring_length
      |                          1
Error: Symbol 'vstring_length' at (1) has no IMPLICIT type
m_vstring.f90:17:21:

   17 |     character ( len = vstring_length ( this ) ) :: char_string
      |                     1
Error: 'vstring_length' at (1) is not a function
>From gcc-bugs-return-634030-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 21:49:29 2019
Return-Path: <gcc-bugs-return-634030-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38728 invoked by alias); 17 Feb 2019 21:49: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 38081 invoked by uid 48); 17 Feb 2019 21:49:11 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88299] [F18] COMMON in a legacy module produces bogus warnings in dependent code
Date: Sun, 17 Feb 2019 21:49: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gmx dot de
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
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-88299-4-u7dVonGngz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88299-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88299-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: 2019-02/txt/msg02332.txt.bz2
Content-length: 415

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88299

Harald Anlauf <anlauf at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Harald Anlauf <anlauf at gmx dot de> ---
Fixed.
>From gcc-bugs-return-634031-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 22:26:35 2019
Return-Path: <gcc-bugs-return-634031-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67320 invoked by alias); 17 Feb 2019 22:26: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 63572 invoked by uid 48); 17 Feb 2019 22:26:30 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/68649] [7/8/9 Regression] note: code may be misoptimized unless -fno-strict-aliasing is used
Date: Sun, 17 Feb 2019 22:26: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: 6.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: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-68649-4-LdkZTNDdAw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68649-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68649-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: 2019-02/txt/msg02333.txt.bz2
Content-length: 337

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68649

--- Comment #25 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #24)
> The warnings are gone between revisions r265814 and r265942.

I can confirm that.

So, are there objections to just committing a test case and
closing this bug?
>From gcc-bugs-return-634032-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 17 22:45:07 2019
Return-Path: <gcc-bugs-return-634032-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41954 invoked by alias); 17 Feb 2019 22:45:06 -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 41596 invoked by uid 48); 17 Feb 2019 22:44:58 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87689] PowerPC64 ELFv2 function parameter passing violation
Date: Sun, 17 Feb 2019 22:45: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: patch, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_file_loc
Message-ID: <bug-87689-4-hO0iKbw1LN@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: 2019-02/txt/msg02334.txt.bz2
Content-length: 700

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87689

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
                URL|                            |https://gcc.gnu.org/ml/gcc-
                   |                            |patches/2019-02/msg01415.ht
                   |                            |ml

--- Comment #24 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
I just checked that the patch at
https://gcc.gnu.org/ml/gcc-patches/2019-02/msg01415.html does indeed fix the
test case on POWER9.
>From gcc-bugs-return-634033-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 00:05:24 2019
Return-Path: <gcc-bugs-return-634033-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102059 invoked by alias); 18 Feb 2019 00:05: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 101912 invoked by uid 48); 18 Feb 2019 00:05:19 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/68649] [7/8/9 Regression] note: code may be misoptimized unless -fno-strict-aliasing is used
Date: Mon, 18 Feb 2019 00:05: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: 6.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-68649-4-1yrBdd0Ixs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68649-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68649-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: 2019-02/txt/msg02335.txt.bz2
Content-length: 461

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68649

--- Comment #26 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> > The warnings are gone between revisions r265814 and r265942.
>
> I can confirm that.

> So, are there objections to just committing a test case and
> closing this bug?

My (shallow) understanding of the above thread was that the warning made sense.
If this is still true, then the missing warning is a regression.
If not, why?
>From gcc-bugs-return-634034-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 00:17:54 2019
Return-Path: <gcc-bugs-return-634034-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81114 invoked by alias); 18 Feb 2019 00:17: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 80995 invoked by uid 48); 18 Feb 2019 00:17:48 -0000
From: "damian at sourceryinstitute dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/84387] Defined output does not work for a derived type that has no components
Date: Mon, 18 Feb 2019 00:17: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: damian at sourceryinstitute dot 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-84387-4-qE6vBKpFyZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84387-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84387-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: 2019-02/txt/msg02336.txt.bz2
Content-length: 964

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84387

--- Comment #4 from Damian Rouson <damian at sourceryinstitute dot org> ---
I don't agree that the code submitted in this bug report is non-sensical. The
submitted example is very useful for code debugging purposes.   I just spent a
couple of hours trying to isolate this same bug.  Being able to print output
for a type with no components would have saved me the all the time that led to
finding this bug report.

Also, there are many uses for an empty derived type that serves as a
polymorphic hook on which to hang various type-bound procedures where the
choice of which procedure gets executed is determined by the dynamic type of
the passed-object dummy argument.  Moreover, if a type with no components
appears one several objects being output, the user might like to see some text
to know that the type was there.  Such types crop up frequently in the Strategy
object-oriented design pattern.
>From gcc-bugs-return-634035-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 01:04:23 2019
Return-Path: <gcc-bugs-return-634035-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86295 invoked by alias); 18 Feb 2019 01:04: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 86094 invoked by uid 48); 18 Feb 2019 01:04:18 -0000
From: "nok.raven at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89381] New: Implicit copy constructor cannot be generated after unrelated class definition
Date: Mon, 18 Feb 2019 01:04: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: diagnostic, needs-reduction, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nok.raven 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 keywords bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-89381-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: 2019-02/txt/msg02337.txt.bz2
Content-length: 1512

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89381

            Bug ID: 89381
           Summary: Implicit copy constructor cannot be generated after
                    unrelated class definition
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: diagnostic, needs-reduction, rejects-valid
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: nok.raven at gmail dot com
  Target Milestone: ---

For some reason `bar` makes `foo` not copy-constructible. It compiles if
you remove `bar`, or force compiler to generate copy-constructor before
`bar` definition.

#include <variant>

struct foo : std::variant<long, int>
{
    using std::variant<long, int>::variant;
    using std::variant<long, int>::operator=;
};

//using workaround = decltype(foo{*static_cast<foo const*>(0)});

struct bar
{
    bar& operator=(foo ve)
    {
        value = std::move(ve);
        return *this;
    }

    foo value;
};


int main()
{
    foo a;
    foo b{a};
}


prog.cc: In function 'int main()':
prog.cc:26:12: error: use of deleted function 'constexpr foo::foo(const foo&)'
   26 |     foo b{a};
      |            ^
prog.cc:3:8: note: 'constexpr foo::foo(const foo&)' is implicitly declared as
deleted because 'foo' declares a move constructor or move assignment operator
    3 | struct foo : std::variant<long, int>
      |        ^~~
1

https://godbolt.org/z/DylgFW
>From gcc-bugs-return-634036-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 02:11:44 2019
Return-Path: <gcc-bugs-return-634036-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76282 invoked by alias); 18 Feb 2019 02:11: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 75914 invoked by uid 48); 18 Feb 2019 02:11:27 -0000
From: "josehidalgo at outlook dot cl" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89382] New: Segmentation fault when doing (depth recursive) Template Metaprogramming
Date: Mon, 18 Feb 2019 02:11: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.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: josehidalgo at outlook dot cl
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-89382-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: 2019-02/txt/msg02338.txt.bz2
Content-length: 1797

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89382

            Bug ID: 89382
           Summary: Segmentation fault when doing (depth recursive)
                    Template Metaprogramming
           Product: gcc
           Version: 8.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: josehidalgo at outlook dot cl
  Target Milestone: ---

Created attachment 45745
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45745&action=edit
the preprocessed file

$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib
--libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info
--with-bugurl=https://bugs.archlinux.org/
--enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared
--enable-threads=posix --enable-libmpx --with-system-zlib --with-isl
--enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu
--disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object
--enable-linker-build-id --enable-lto --enable-plugin
--enable-install-libiberty --with-linker-hash-style=gnu
--enable-gnu-indirect-function --enable-multilib --disable-werror
--enable-checking=release --enable-default-pie --enable-default-ssp
--enable-cet=auto
Thread model: posix
$ g++ -Wall -Wextra test.cpp -ftemplate-depth=100000
g++: internal compiler error: Segmentation fault signal terminated program
cc1plus
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.archlinux.org/> for instructions.
>From gcc-bugs-return-634037-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 02:15:23 2019
Return-Path: <gcc-bugs-return-634037-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85545 invoked by alias); 18 Feb 2019 02:14: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 84704 invoked by uid 48); 18 Feb 2019 02:14:51 -0000
From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/84387] Defined output does not work for a derived type that has no components
Date: Mon, 18 Feb 2019 02:14: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jvdelisle 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-84387-4-PCTz3DjUCV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84387-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84387-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: 2019-02/txt/msg02339.txt.bz2
Content-length: 754

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84387

--- Comment #5 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
(In reply to Damian Rouson from comment #4)
> I don't agree that the code submitted in this bug report is non-sensical.
> The submitted example is very useful for code debugging purposes.   I just
> spent a couple of hours trying to isolate this same bug.  Being able to
> print output for a type with no components would have saved me the all the
> time that led to finding this bug report.
> 

Ah! We often don't see the importance of emptyness, or the 'null' case so to
speak. That does make sense to me. How does this fall out w.r.t the Fortran
Standard. Is it explicitly required, processor defined, or our own extension?
>From gcc-bugs-return-634038-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 02:16:08 2019
Return-Path: <gcc-bugs-return-634038-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88916 invoked by alias); 18 Feb 2019 02:15: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 87540 invoked by uid 48); 18 Feb 2019 02:15:23 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89382] Segmentation fault when doing (depth recursive) Template Metaprogramming
Date: Mon, 18 Feb 2019 02:15: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.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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: bug_status resolution
Message-ID: <bug-89382-4-LuLEenCOUU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89382-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89382-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: 2019-02/txt/msg02340.txt.bz2
Content-length: 528

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89382

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>-ftemplate-depth=100000

This is why there is a decent limit.
Increase the allocated stack via ulimit.
>From gcc-bugs-return-634039-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 02:54:22 2019
Return-Path: <gcc-bugs-return-634039-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114173 invoked by alias); 18 Feb 2019 02:54: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 114062 invoked by uid 48); 18 Feb 2019 02:54:17 -0000
From: "damian at sourceryinstitute dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/84387] Defined output does not work for a derived type that has no components
Date: Mon, 18 Feb 2019 02:54: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: damian at sourceryinstitute dot 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-84387-4-1gZkOcnDRj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84387-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84387-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: 2019-02/txt/msg02341.txt.bz2
Content-length: 931

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84387

--- Comment #6 from Damian Rouson <damian at sourceryinstitute dot org> ---
I don't see anything in the standard related to the existence or non-existence
of components in derived-type output.  In case it helps, the NAG and Intel
compilers both print "Hello world!" with the submitted code, but the Cray
compiler prints nothing, which matches gfortran's behavior.  I'll contact Cray
technical support to see if they agree it's a bug.

--- Comment #7 from Damian Rouson <damian at sourceryinstitute dot org> ---
I don't see anything in the standard related to the existence or non-existence
of components in derived-type output.  In case it helps, the NAG and Intel
compilers both print "Hello world!" with the submitted code, but the Cray
compiler prints nothing, which matches gfortran's behavior.  I'll contact Cray
technical support to see if they agree it's a bug.
>From gcc-bugs-return-634040-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 02:54:23 2019
Return-Path: <gcc-bugs-return-634040-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114211 invoked by alias); 18 Feb 2019 02:54: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 114061 invoked by uid 48); 18 Feb 2019 02:54:17 -0000
From: "damian at sourceryinstitute dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/84387] Defined output does not work for a derived type that has no components
Date: Mon, 18 Feb 2019 02:54: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: damian at sourceryinstitute dot 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-84387-4-yrdf02eZVE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84387-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84387-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: 2019-02/txt/msg02342.txt.bz2
Content-length: 931

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84387

--- Comment #6 from Damian Rouson <damian at sourceryinstitute dot org> ---
I don't see anything in the standard related to the existence or non-existence
of components in derived-type output.  In case it helps, the NAG and Intel
compilers both print "Hello world!" with the submitted code, but the Cray
compiler prints nothing, which matches gfortran's behavior.  I'll contact Cray
technical support to see if they agree it's a bug.

--- Comment #7 from Damian Rouson <damian at sourceryinstitute dot org> ---
I don't see anything in the standard related to the existence or non-existence
of components in derived-type output.  In case it helps, the NAG and Intel
compilers both print "Hello world!" with the submitted code, but the Cray
compiler prints nothing, which matches gfortran's behavior.  I'll contact Cray
technical support to see if they agree it's a bug.
>From gcc-bugs-return-634041-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 03:06:54 2019
Return-Path: <gcc-bugs-return-634041-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11575 invoked by alias); 18 Feb 2019 03:06: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 11465 invoked by uid 48); 18 Feb 2019 03:06:49 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/89373] macro expansion not counting braces correctly
Date: Mon, 18 Feb 2019 03:06: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi 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: bug_status resolution
Message-ID: <bug-89373-4-j40WfjDTQq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89373-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89373-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: 2019-02/txt/msg02343.txt.bz2
Content-length: 539

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89373

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
You can use a variadic macro that allows multiple preprocessor tokens separated
by commas.

There's no GCC bug here.
>From gcc-bugs-return-634042-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 03:08:03 2019
Return-Path: <gcc-bugs-return-634042-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13865 invoked by alias); 18 Feb 2019 03:08: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 13650 invoked by uid 48); 18 Feb 2019 03:07:59 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/89380] Multiple items in brace not working on nested macro
Date: Mon, 18 Feb 2019 03:08: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi 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-89380-4-GyndwZQ5sf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89380-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89380-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: 2019-02/txt/msg02344.txt.bz2
Content-length: 362

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89380

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> I think these kind of questions should be handled in gcc-help@ rather than
> here.  Maybe in a standard C forum too.

^^ this,

"How do I do funky things with the preprocessor?" is not a GCC bug.
>From gcc-bugs-return-634043-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 03:26:13 2019
Return-Path: <gcc-bugs-return-634043-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60053 invoked by alias); 18 Feb 2019 03:26: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 59972 invoked by uid 48); 18 Feb 2019 03:26:08 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89381] [7/8/9 Regression] Implicit copy constructor cannot be generated after unrelated class definition
Date: Mon, 18 Feb 2019 03:26: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: rejects-valid
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_known_to_work keywords cf_reconfirmed_on cc everconfirmed short_desc cf_known_to_fail
Message-ID: <bug-89381-4-Lzznwfr5Ar@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89381-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89381-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: 2019-02/txt/msg02345.txt.bz2
Content-length: 1714

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89381

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
      Known to work|                            |5.5.0
           Keywords|diagnostic, needs-reduction |
   Last reconfirmed|                            |2019-02-18
                 CC|                            |jason at gcc dot gnu.org
     Ever confirmed|0                           |1
            Summary|Implicit copy constructor   |[7/8/9 Regression] Implicit
                   |cannot be generated after   |copy constructor cannot be
                   |unrelated class definition  |generated after unrelated
                   |                            |class definition
      Known to fail|                            |6.4.0, 7.3.0, 8.2.0, 9.0

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Reduced:

template<typename T>
struct base
{
  base() { }
  base(const base&) { }
  base(base&&) { }
  base& operator=(const base&) { return *this; }
  base& operator=(base&&) { return *this; }
};

struct foo : base<int>
{
    using base<int>::base;
    using base<int>::operator=;
};

//using workaround = decltype(foo{*static_cast<foo const*>(0)});

struct bar
{
    bar& operator=(foo ve)
    {
        value = ve;
        return *this;
    }

    foo value;
};

int main()
{
    foo a;
    foo b{a};
}


Regressed with r235002

            PR c++/70528

            * class.c (type_has_constexpr_default_constructor): Return true
            for an implicitly declared constructor.
>From gcc-bugs-return-634044-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 07:40:03 2019
Return-Path: <gcc-bugs-return-634044-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62137 invoked by alias); 18 Feb 2019 07:40: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 61846 invoked by uid 48); 18 Feb 2019 07:39:55 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89091] ICE: Segmentation fault (in tree_class_check)
Date: Mon, 18 Feb 2019 07:40: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: 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: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89091-4-i54cyT49EO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89091-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89091-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: 2019-02/txt/msg02346.txt.bz2
Content-length: 150

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89091

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Any update on this David?
>From gcc-bugs-return-634045-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 08:01:33 2019
Return-Path: <gcc-bugs-return-634045-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48210 invoked by alias); 18 Feb 2019 08:01:32 -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 48119 invoked by uid 48); 18 Feb 2019 08:01:27 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89383] New: [9 Regression] libcpp/line-map.c:748:15: runtime error: shift exponent 32 is too large for 32-bit type 'unsigned int'
Date: Mon, 18 Feb 2019 08: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: unknown
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 target_milestone
Message-ID: <bug-89383-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: 2019-02/txt/msg02347.txt.bz2
Content-length: 1792

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89383

            Bug ID: 89383
           Summary: [9 Regression] libcpp/line-map.c:748:15: runtime
                    error: shift exponent 32 is too large for 32-bit type
                    'unsigned int'
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---

One can see it when running self tests:

$ ./xgcc -B./ -B/home/marxin/bin/gcc/x86_64-pc-linux-gnu/bin/ -isystem
/home/marxin/bin/gcc/x86_64-pc-linux-gnu/include -isystem
/home/marxin/bin/gcc/x86_64-pc-linux-gnu/sys-include
-L/dev/shm/objdir/gcc/../ld -xc -nostdinc /dev/null -S -o /dev/null
-fself-test=/home/marxin/Programming/gcc/gcc/testsuite/selftests
../../libcpp/line-map.c:748:15: runtime error: shift exponent 32 is too large
for 32-bit type 'unsigned int'
    #0 0x44cc736 in linemap_line_start(line_maps*, unsigned int, unsigned int)
../../libcpp/line-map.c:748
    #1 0xf66b64 in test_capture_of_dump_calls ../../gcc/dumpfile.c:2192
    #2 0x4460203 in selftest::for_each_line_table_case(void
(*)(selftest::line_table_case const&)) ../../gcc/input.c:3550
    #3 0xf6d91e in selftest::dumpfile_c_tests() ../../gcc/dumpfile.c:2693
    #4 0x4278940 in selftest::run_tests() ../../gcc/selftest-run-tests.c:62
    #5 0x200ffbf in toplev::run_self_tests() ../../gcc/toplev.c:2240
    #6 0x20103e4 in toplev::main(int, char**) ../../gcc/toplev.c:2318
    #7 0x43728f1 in main ../../gcc/main.c:39
    #8 0x7ffff6e7bb7a in __libc_start_main ../csu/libc-start.c:308
    #9 0x861559 in _start
(/home/marxin/Programming/gcc2/objdir/gcc/cc1+0x861559)
>From gcc-bugs-return-634046-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 08:02:01 2019
Return-Path: <gcc-bugs-return-634046-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49440 invoked by alias); 18 Feb 2019 08:02: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 49146 invoked by uid 48); 18 Feb 2019 08:01:52 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89383] [9 Regression] libcpp/line-map.c:748:15: runtime error: shift exponent 32 is too large for 32-bit type 'unsigned int'
Date: Mon, 18 Feb 2019 08:02: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cf_known_to_work assigned_to everconfirmed cf_known_to_fail
Message-ID: <bug-89383-4-nijv0tilUz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89383-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89383-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: 2019-02/txt/msg02348.txt.bz2
Content-length: 698

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89383

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-18
      Known to work|                            |8.2.0
           Assignee|unassigned at gcc dot gnu.org      |marxin at gcc dot gnu.org
     Ever confirmed|0                           |1
      Known to fail|                            |9.0

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Mine, I've got a patch.
>From gcc-bugs-return-634047-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 08:05:31 2019
Return-Path: <gcc-bugs-return-634047-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81406 invoked by alias); 18 Feb 2019 08:05: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 81343 invoked by uid 48); 18 Feb 2019 08:05:27 -0000
From: "Bader at lrz dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89364] Assumed rank object with incorrect values for shape and bounds
Date: Mon, 18 Feb 2019 08:05: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: Bader at lrz dot de
X-Bugzilla-Status: WAITING
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-89364-4-4v9BGNyBSb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89364-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89364-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: 2019-02/txt/msg02349.txt.bz2
Content-length: 306

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89364

--- Comment #2 from Bader at lrz dot de <Bader at lrz dot de> ---
(In reply to Dominique d'Humieres from comment #1)
> Why do you want the shape to be [4,-1]?

The Fortran 2018 standard explicitly prescribes this in 16.9.172, para 5.

Regards
Reinhold
>From gcc-bugs-return-634048-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 08:22:00 2019
Return-Path: <gcc-bugs-return-634048-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10963 invoked by alias); 18 Feb 2019 08:21: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 10717 invoked by uid 55); 18 Feb 2019 08:21:55 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89306] [8/9 regression] Hash based IPA summaries are too slow and consume up to 80% of IPA optimization time.
Date: Mon, 18 Feb 2019 08:21: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-89306-4-P7xSw9hwWB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89306-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89306-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: 2019-02/txt/msg02350.txt.bz2
Content-length: 2072

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89306

--- Comment #7 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Mon Feb 18 08:21:23 2019
New Revision: 268979

URL: https://gcc.gnu.org/viewcvs?rev=268979&root=gcc&view=rev
Log:
Come up with fast {function,call}_summary classes (PR ipa/89306).

2019-02-18  Martin Liska  <mliska@suse.cz>

        PR ipa/89306
        * cgraph.c (symbol_table::create_edge): Set m_summary_id to -1
        by default.
        (symbol_table::free_edge): Recycle m_summary_id.
        * cgraph.h (get_summary_id): New.
        (symbol_table::release_symbol): Set m_summary_id to -1
        by default.
        (symbol_table::allocate_cgraph_symbol): Recycle m_summary_id.
        * ipa-fnsummary.c (ipa_fn_summary_t): Switch from
        function_summary to fast_function_summary.
        * ipa-fnsummary.h (ipa_fn_summary_t): Likewise.
        * ipa-pure-const.c (class funct_state_summary_t):
        Switch from function_summary to fast_function_summary.
        * ipa-reference.c (class ipa_ref_var_info_summary_t): Likewise.
        (class ipa_ref_opt_summary_t): Switch from function_summary
        to fast_function_summary.
        * symbol-summary.h (class function_summary_base): New class
        that is created from base of former function_summary.
        (function_summary_base::unregister_hooks): New.
        (class function_summary): Inherit from function_summary_base.
        (class call_summary_base): New class
        that is created from base of former call_summary.
        (class call_summary): Inherit from call_summary_base.
        (struct is_same): New.
        (class fast_function_summary): New summary class.
        (class fast_call_summary): New summary class.
        * vec.h (vec_safe_grow_cleared): New function.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cgraph.c
    trunk/gcc/cgraph.h
    trunk/gcc/ipa-fnsummary.c
    trunk/gcc/ipa-fnsummary.h
    trunk/gcc/ipa-pure-const.c
    trunk/gcc/ipa-reference.c
    trunk/gcc/symbol-summary.h
    trunk/gcc/vec.h
>From gcc-bugs-return-634049-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 08:24:00 2019
Return-Path: <gcc-bugs-return-634049-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118394 invoked by alias); 18 Feb 2019 08:23: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 107750 invoked by uid 48); 18 Feb 2019 08:23:54 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89306] [8 Regression] Hash based IPA summaries are too slow and consume up to 80% of IPA optimization time.
Date: Mon, 18 Feb 2019 08:23: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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 cf_known_to_work resolution short_desc cf_known_to_fail
Message-ID: <bug-89306-4-qGrJXfDgeW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89306-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89306-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: 2019-02/txt/msg02351.txt.bz2
Content-length: 922

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89306

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
      Known to work|9.0                         |
         Resolution|---                         |FIXED
            Summary|[8/9 regression] Hash based |[8 Regression] Hash based
                   |IPA summaries are too slow  |IPA summaries are too slow
                   |and consume up to 80% of    |and consume up to 80% of
                   |IPA optimization time.      |IPA optimization time.
      Known to fail|                            |9.0

--- Comment #8 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed on trunk. It's an infrastructure change, thus I'm not planning to
backport that to GCC 8.
>From gcc-bugs-return-634050-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 08:41:35 2019
Return-Path: <gcc-bugs-return-634050-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18999 invoked by alias); 18 Feb 2019 08:41: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 18769 invoked by uid 55); 18 Feb 2019 08:41:28 -0000
From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/87295] [8 Regression][early debug] ICE with -ffat-lto-objects -fdebug-types-section -g
Date: Mon, 18 Feb 2019 08:41:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: ice-on-valid-code, needs-reduction
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenther at suse dot de
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87295-4-CiOCvXislu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87295-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87295-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: 2019-02/txt/msg02352.txt.bz2
Content-length: 851

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87295

--- Comment #19 from rguenther at suse dot de <rguenther at suse dot de> ---
On Thu, 7 Feb 2019, hubicka at gcc dot gnu.org wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87295
> 
> --- Comment #16 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
> GDB PR is now https://sourceware.org/bugzilla/show_bug.cgi?id=24189
> lldb complains too
> error: libxul.so {0x00000077}: invalid abbreviation code 42879271, please file
> a bug and attach the file at the start of this error message
> warning: (x86_64)
> /aux/hubicka/firefox2018-release-trunktest2/dist/bin/libxul.so DWARF compile
> unit extends beyond its bounds cu 0x00000000 at 0xffffffff

Sounds like the DWARF is bogus.  But unless you have a reasonably
small testcase (w/o -fdebug-types-section) I don't want to see it ;)
>From gcc-bugs-return-634051-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 08:41:51 2019
Return-Path: <gcc-bugs-return-634051-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19878 invoked by alias); 18 Feb 2019 08:41: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 19780 invoked by uid 48); 18 Feb 2019 08:41:47 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89288] [9 Regression] ICE in tree_code_size, at tree.c:865
Date: Mon, 18 Feb 2019 08:41: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority
Message-ID: <bug-89288-4-FX0mWjbSom@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89288-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89288-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: 2019-02/txt/msg02353.txt.bz2
Content-length: 292

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89288

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
>From gcc-bugs-return-634052-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 08:44:35 2019
Return-Path: <gcc-bugs-return-634052-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27247 invoked by alias); 18 Feb 2019 08:44: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 26928 invoked by uid 48); 18 Feb 2019 08:44:23 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89292] [9 regression] test case gcc.target/powerpc/rs6000-fpint.c fails after r268705
Date: Mon, 18 Feb 2019 08:44: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: 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: target_milestone
Message-ID: <bug-89292-4-4yAD98n1pD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89292-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89292-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: 2019-02/txt/msg02354.txt.bz2
Content-length: 293

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89292

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |9.0
>From gcc-bugs-return-634053-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 08:45:58 2019
Return-Path: <gcc-bugs-return-634053-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30917 invoked by alias); 18 Feb 2019 08:45: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 30278 invoked by uid 48); 18 Feb 2019 08:45:25 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89294] [9 regression] ICE in valid_constant_size_p, at tree.c:7524
Date: Mon, 18 Feb 2019 08:45: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority
Message-ID: <bug-89294-4-nSWYLJWfLI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89294-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89294-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: 2019-02/txt/msg02355.txt.bz2
Content-length: 292

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89294

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
>From gcc-bugs-return-634054-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 08:51:54 2019
Return-Path: <gcc-bugs-return-634054-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87546 invoked by alias); 18 Feb 2019 08:51: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 85333 invoked by uid 48); 18 Feb 2019 08:51:50 -0000
From: "Bader at lrz dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89384] New: CONTIGUOUS dummy argument in BIND(C) interface incorrect when actual is non-contiguous
Date: Mon, 18 Feb 2019 08:51: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: Bader at lrz dot de
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-89384-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: 2019-02/txt/msg02356.txt.bz2
Content-length: 924

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89384

            Bug ID: 89384
           Summary: CONTIGUOUS dummy argument in BIND(C) interface
                    incorrect when actual is non-contiguous
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: Bader at lrz dot de
  Target Milestone: ---

Created attachment 45746
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45746&action=edit
test code

Fortran 2018 permits CONTIGUOUS dummy arguments also in BIND(C) interfaces.
However, currently the passing of a compactified copy required for
non-contiguous actual arguments does not work correctly in this context. A test
case is attached. Note that the problem does not arise if BIND(C) is removed
from the procedure definition.
>From gcc-bugs-return-634055-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 08:56:32 2019
Return-Path: <gcc-bugs-return-634055-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119221 invoked by alias); 18 Feb 2019 08:56:32 -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 118916 invoked by uid 48); 18 Feb 2019 08:56:27 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89296] [7/8/9 Regression] tree copy-header masking uninitialized warning
Date: Mon, 18 Feb 2019 08: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: diagnostic
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status assigned_to target_milestone
Message-ID: <bug-89296-4-REKedzYjOG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89296-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89296-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: 2019-02/txt/msg02357.txt.bz2
Content-length: 1297

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89296

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
             Status|NEW                         |ASSIGNED
           Assignee|kugan at gcc dot gnu.org           |rguenth at gcc dot gnu.org
   Target Milestone|---                         |7.5

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
This gimple_set_no_warning is guarded by

      /* If the loop has the form "for (i = j; i < j + 10; i++)" then
         this copying can introduce a case where we rely on undefined
         signed overflow to eliminate the preheader condition, because
         we assume that "j < j + 10" is true.  We don't want to warn
         about that case for -Wstrict-overflow, because in general we
         don't warn about overflow involving loops.  Prevent the
         warning by setting the no_warning flag in the condition.  */
      if (warn_strict_overflow > 0)
        {

so it only shows that the _no_warning stuff is too coarse (we know about that).
We can improve the above to non-equality compares, catching the case in
question.
>From gcc-bugs-return-634056-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 08:57:43 2019
Return-Path: <gcc-bugs-return-634056-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122642 invoked by alias); 18 Feb 2019 08: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 122532 invoked by uid 48); 18 Feb 2019 08:57:39 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89364] Assumed rank object with incorrect values for shape and bounds
Date: Mon, 18 Feb 2019 08:57: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:
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 cc
Message-ID: <bug-89364-4-iKqmijvGz7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89364-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89364-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: 2019-02/txt/msg02358.txt.bz2
Content-length: 368

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89364

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
                 CC|                            |tkoenig at gcc dot gnu.org
>From gcc-bugs-return-634057-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 08:59:42 2019
Return-Path: <gcc-bugs-return-634057-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128637 invoked by alias); 18 Feb 2019 08:59: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 128460 invoked by uid 55); 18 Feb 2019 08:59:36 -0000
From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89209] [9 Regression] ICE in build_ref_for_model, at tree-sra.c:1791
Date: Mon, 18 Feb 2019 08:59: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jamborm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89209-4-I4mklTJ4Lx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89209-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89209-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: 2019-02/txt/msg02359.txt.bz2
Content-length: 1060

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89209

--- Comment #7 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Author: jamborm
Date: Mon Feb 18 08:59:04 2019
New Revision: 268980

URL: https://gcc.gnu.org/viewcvs?rev=268980&root=gcc&view=rev
Log:
[PR 89209] Avoid segfault in a peculiar corner case in SRA

2019-02-18  Martin Jambor  <mjambor@suse.cz>

        PR tree-optimization/89209
        * tree-sra.c (create_access_replacement): New optional parameter
        reg_tree.  Use it as a type if non-NULL and access type is not of
        a register type.
        (get_repl_default_def_ssa_name): New parameter REG_TYPE, pass it
        to create_access_replacement.
        (sra_modify_assign): Pass LHS type to get_repl_default_def_ssa_name.
        Check lacc is non-NULL before attempting to re-create it on the RHS.

        testsuite/
        * gcc.dg/tree-ssa/pr89209.c: New test.


Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr89209.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-sra.c
>From gcc-bugs-return-634058-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 09:01:03 2019
Return-Path: <gcc-bugs-return-634058-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7770 invoked by alias); 18 Feb 2019 09:01: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 939 invoked by uid 48); 18 Feb 2019 09:00:25 -0000
From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89209] [9 Regression] ICE in build_ref_for_model, at tree-sra.c:1791
Date: Mon, 18 Feb 2019 09:01: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jamborm at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89209-4-ElwEUh3ioY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89209-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89209-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: 2019-02/txt/msg02360.txt.bz2
Content-length: 427

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89209

Martin Jambor <jamborm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-634059-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 09:04:26 2019
Return-Path: <gcc-bugs-return-634059-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18098 invoked by alias); 18 Feb 2019 09:04: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 17916 invoked by uid 48); 18 Feb 2019 09:04:21 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/89307] -fprofile-generate binary may be too slow in multithreaded environment due to cache-line conflicts on counters
Date: Mon, 18 Feb 2019 09:04:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: gcov-profile
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89307-4-ne6PFXrbFt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89307-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89307-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: 2019-02/txt/msg02361.txt.bz2
Content-length: 386

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89307

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Btw, use of TLS has

 * size of counters overhead (one could use char sized TLS counters and
   update the global ones with locking on overflow)
 * tear-down/build-up cost at thread termination/creation

the advantage is of course it's simple implementation-wise.
>From gcc-bugs-return-634060-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 09:05:54 2019
Return-Path: <gcc-bugs-return-634060-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23565 invoked by alias); 18 Feb 2019 09:05: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 23370 invoked by uid 48); 18 Feb 2019 09:05:50 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/89308] [8 only] The sanitizers do no longer work on GCC 8 with newer kernels
Date: Mon, 18 Feb 2019 09:05: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.2.1
X-Bugzilla-Keywords:
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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority
Message-ID: <bug-89308-4-l3VFXTh07y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89308-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89308-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: 2019-02/txt/msg02362.txt.bz2
Content-length: 292

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89308

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P2
>From gcc-bugs-return-634061-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 09:10:04 2019
Return-Path: <gcc-bugs-return-634061-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34825 invoked by alias); 18 Feb 2019 09: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 34692 invoked by uid 48); 18 Feb 2019 09:09:59 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89313] [9 Regression] ICE in process_alt_operands, at lra-constraints.c:2962
Date: Mon, 18 Feb 2019 09:10: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: ice-on-invalid-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: bergner at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-89313-4-vdaWOpVfyi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89313-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89313-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: 2019-02/txt/msg02363.txt.bz2
Content-length: 293

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89313

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |9.0
>From gcc-bugs-return-634063-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 09:10:53 2019
Return-Path: <gcc-bugs-return-634063-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37969 invoked by alias); 18 Feb 2019 09:10:52 -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 37780 invoked by uid 48); 18 Feb 2019 09:10:43 -0000
From: "Bader at lrz dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89385] New: Incorrect members of C descriptor for an allocatable object
Date: Mon, 18 Feb 2019 09:10: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: Bader at lrz dot de
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-89385-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: 2019-02/txt/msg02365.txt.bz2
Content-length: 850

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89385

            Bug ID: 89385
           Summary: Incorrect members of C descriptor for an allocatable
                    object
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: Bader at lrz dot de
  Target Milestone: ---

Created attachment 45747
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45747&action=edit
test code

The attached test case provides a C and a Fortran file. If built with

gcc -c alloc_01_pos.c
gfortran alloc_01_pos.f90 alloc_01_pos.o

the resulting executable prints failure messages with respect to many members
of the C descriptor (elem_len, type, rank, attribute, dim[]).

Regards
>From gcc-bugs-return-634062-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 09:10:22 2019
Return-Path: <gcc-bugs-return-634062-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36202 invoked by alias); 18 Feb 2019 09:10: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 36042 invoked by uid 48); 18 Feb 2019 09:10:18 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89314] [7 Regression] ICE in wide_int_to_tree_1, at tree.c:1561
Date: Mon, 18 Feb 2019 09:10: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: ice-on-invalid-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: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority
Message-ID: <bug-89314-4-BLUoE9L9We@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89314-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89314-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: 2019-02/txt/msg02364.txt.bz2
Content-length: 292

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89314

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
>From gcc-bugs-return-634064-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 09:13:12 2019
Return-Path: <gcc-bugs-return-634064-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44227 invoked by alias); 18 Feb 2019 09:13: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 44047 invoked by uid 48); 18 Feb 2019 09:13:08 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89317] Ineffective code from std::copy
Date: Mon, 18 Feb 2019 09:13: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: 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: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-89317-4-zkErXHNKmk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89317-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89317-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: 2019-02/txt/msg02366.txt.bz2
Content-length: 480

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89317

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-18
                 CC|                            |rguenth at gcc dot gnu.org
     Ever confirmed|0                           |1
>From gcc-bugs-return-634065-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 09:14:44 2019
Return-Path: <gcc-bugs-return-634065-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65628 invoked by alias); 18 Feb 2019 09:14:44 -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 64782 invoked by uid 48); 18 Feb 2019 09:14:38 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89324] [9 Regression] ICE in extract_constrain_insn, at recog.c:2211 on aarch64
Date: Mon, 18 Feb 2019 09:14: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: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: matmal01 at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority version
Message-ID: <bug-89324-4-VfXKbzUH1r@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89324-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89324-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: 2019-02/txt/msg02367.txt.bz2
Content-length: 345

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89324

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
            Version|unknown                     |9.0
>From gcc-bugs-return-634066-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 09:16:09 2019
Return-Path: <gcc-bugs-return-634066-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89418 invoked by alias); 18 Feb 2019 09:16: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 88907 invoked by uid 48); 18 Feb 2019 09:15:59 -0000
From: "Bader at lrz dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89385] Incorrect members of C descriptor for an allocatable object
Date: Mon, 18 Feb 2019 09: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: Bader at lrz dot de
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-89385-4-B4yllyNpCa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89385-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89385-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: 2019-02/txt/msg02368.txt.bz2
Content-length: 344

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89385

--- Comment #1 from Bader at lrz dot de <Bader at lrz dot de> ---
Further comment: Analogous failures also happen for descriptors of
assumed-shape or POINTER objects. I suggest that I re-test these when this bug
is fixed and submit a separate report if still necessary.

Regards
Reinhold
>From gcc-bugs-return-634068-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 09:16:59 2019
Return-Path: <gcc-bugs-return-634068-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93193 invoked by alias); 18 Feb 2019 09:16: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 92932 invoked by uid 48); 18 Feb 2019 09:16:54 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89009] Miscompilation (missing function call) with -fvisibility=hidden -fpic -O2 -fno-inline
Date: Mon, 18 Feb 2019 09:16: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.2.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89009-4-q4gVXFfJsm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89009-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89009-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: 2019-02/txt/msg02370.txt.bz2
Content-length: 434

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89009

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #19 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-634067-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 09:16:10 2019
Return-Path: <gcc-bugs-return-634067-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89625 invoked by alias); 18 Feb 2019 09:16: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 89150 invoked by uid 48); 18 Feb 2019 09:16:04 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89325] [7/8/9 Regression] False warnings about "optimization attribute" on operators when -fno-ipa-cp-clone
Date: Mon, 18 Feb 2019 09:16: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: diagnostic
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords priority target_milestone short_desc
Message-ID: <bug-89325-4-pUUB7BXS3g@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89325-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89325-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: 2019-02/txt/msg02369.txt.bz2
Content-length: 751

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89325

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
           Priority|P3                          |P2
   Target Milestone|---                         |7.5
            Summary|False warnings about        |[7/8/9 Regression] False
                   |"optimization attribute" on |warnings about
                   |operators when              |"optimization attribute" on
                   |-fno-ipa-cp-clone           |operators when
                   |                            |-fno-ipa-cp-clone
>From gcc-bugs-return-634069-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 09:17:35 2019
Return-Path: <gcc-bugs-return-634069-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95274 invoked by alias); 18 Feb 2019 09:17: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 95054 invoked by uid 48); 18 Feb 2019 09:17:31 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/89327] Joined options without RejectsNegative
Date: Mon, 18 Feb 2019 09:17:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
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: 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:
Message-ID: <bug-89327-4-pIN8C9Nfl7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89327-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89327-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: 2019-02/txt/msg02371.txt.bz2
Content-length: 168

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89327

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Yeah, all of them look to miss RejectNegative
>From gcc-bugs-return-634070-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 09:19:34 2019
Return-Path: <gcc-bugs-return-634070-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100733 invoked by alias); 18 Feb 2019 09:19: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 100565 invoked by uid 48); 18 Feb 2019 09:19:30 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89331] [8/9 Regression] internal compiler error: in build_simple_base_path, at cp/class.c:589
Date: Mon, 18 Feb 2019 09:19: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-invalid-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: keywords priority
Message-ID: <bug-89331-4-AFEjIS1kQM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89331-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89331-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: 2019-02/txt/msg02372.txt.bz2
Content-length: 361

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89331

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code
           Priority|P3                          |P2
>From gcc-bugs-return-634071-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 09:21:46 2019
Return-Path: <gcc-bugs-return-634071-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108406 invoked by alias); 18 Feb 2019 09:21: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 108306 invoked by uid 48); 18 Feb 2019 09:21:41 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89384] [9 Regression] CONTIGUOUS dummy argument in BIND(C) interface incorrect when actual is non-contiguous
Date: Mon, 18 Feb 2019 09:21: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_known_to_work keywords cf_reconfirmed_on everconfirmed short_desc target_milestone cf_known_to_fail
Message-ID: <bug-89384-4-nALeiH2pdD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89384-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89384-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: 2019-02/txt/msg02373.txt.bz2
Content-length: 1174

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89384

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
             Status|UNCONFIRMED                 |NEW
      Known to work|                            |7.4.0, 8.2.0
           Keywords|                            |wrong-code
   Last reconfirmed|                            |2019-02-18
     Ever confirmed|0                           |1
            Summary|CONTIGUOUS dummy argument   |[9 Regression] CONTIGUOUS
                   |in BIND(C) interface        |dummy argument in BIND(C)
                   |incorrect when actual is    |interface incorrect when
                   |non-contiguous              |actual is non-contiguous
   Target Milestone|---                         |9.0
      Known to fail|                            |9.0

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed between revisions r267817 (2019-01-10, OK) and r268015 (2019-01-17,
FAIL), likely r267905 (pr57992).
>From gcc-bugs-return-634072-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 09:22:45 2019
Return-Path: <gcc-bugs-return-634072-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111334 invoked by alias); 18 Feb 2019 09:22:44 -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 111114 invoked by uid 48); 18 Feb 2019 09:22:40 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89332] Missed detection of dead stores to array in a loop
Date: Mon, 18 Feb 2019 09:22: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:
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 everconfirmed
Message-ID: <bug-89332-4-pMTYbBAW8O@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89332-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89332-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: 2019-02/txt/msg02374.txt.bz2
Content-length: 734

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89332

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-18
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
In general we lack sth like (sub-)array liveness analysis to guide loop opts
that would help here.  Yes, aggressive unrolling makes scalar opts do the
job but that's hardly the solution we should strive for.

These kind of testcases also look quite artificial.
>From gcc-bugs-return-634073-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 09:25:17 2019
Return-Path: <gcc-bugs-return-634073-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116686 invoked by alias); 18 Feb 2019 09:25: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 116507 invoked by uid 48); 18 Feb 2019 09:25:11 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug inline-asm/89334] unsupported size for integer register
Date: Mon, 18 Feb 2019 09:25: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: 8.2.0
X-Bugzilla-Keywords: diagnostic
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 everconfirmed
Message-ID: <bug-89334-4-QkzNlblT0S@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89334-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89334-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: 2019-02/txt/msg02375.txt.bz2
Content-length: 571

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89334

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-18
     Ever confirmed|0                           |1

--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed for diagnostic improvement.
>From gcc-bugs-return-634074-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 09:25:43 2019
Return-Path: <gcc-bugs-return-634074-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118082 invoked by alias); 18 Feb 2019 09:25: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 117910 invoked by uid 48); 18 Feb 2019 09:25:39 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89335] [9 Regression] ICE with LTO -Wsuggest-final-methods: ICE during IPA pass devirt in types_same_for_odr, at ipa-devirt.c:391
Date: Mon, 18 Feb 2019 09:25: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority
Message-ID: <bug-89335-4-XctR87tVKg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89335-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89335-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: 2019-02/txt/msg02376.txt.bz2
Content-length: 292

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89335

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
>From gcc-bugs-return-634075-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 09:31:23 2019
Return-Path: <gcc-bugs-return-634075-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9144 invoked by alias); 18 Feb 2019 09:31: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 8904 invoked by uid 48); 18 Feb 2019 09:31:18 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89337] Bogus "exceeds maximum object size" on unreachable code
Date: Mon, 18 Feb 2019 09:31: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: 9.0
X-Bugzilla-Keywords: diagnostic
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:
Message-ID: <bug-89337-4-WRotPDcWkw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89337-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89337-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: 2019-02/txt/msg02377.txt.bz2
Content-length: 461

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89337

--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Rafael Avila de Espindola from comment #10)
> Maybe we should have a general flag that disables all warnings where gcc
> cannot prove that there is a path from a function entry to the broken
> statement?

But what about proving there is a path from program entry to the function?

And now reason why those two are different.
>From gcc-bugs-return-634076-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 09:32:24 2019
Return-Path: <gcc-bugs-return-634076-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11888 invoked by alias); 18 Feb 2019 09:32: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 11755 invoked by uid 48); 18 Feb 2019 09:32:19 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89340] [7/8 Regression] ICE in function_and_variable_visibility, at ipa-visibility.c:707
Date: Mon, 18 Feb 2019 09:32: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-invalid-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: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority
Message-ID: <bug-89340-4-47ggV9XVxp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89340-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89340-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: 2019-02/txt/msg02378.txt.bz2
Content-length: 292

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89340

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
>From gcc-bugs-return-634077-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 09:33:06 2019
Return-Path: <gcc-bugs-return-634077-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13600 invoked by alias); 18 Feb 2019 09:33: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 13465 invoked by uid 48); 18 Feb 2019 09:33:01 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89341] [7/8/9 Regression] ICE in get, at cgraph.h:1332
Date: Mon, 18 Feb 2019 09:33: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: 9.0
X-Bugzilla-Keywords: accepts-invalid, ice-on-invalid-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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords priority
Message-ID: <bug-89341-4-LzlckoOGTM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89341-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89341-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: 2019-02/txt/msg02379.txt.bz2
Content-length: 357

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89341

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid
           Priority|P3                          |P2
>From gcc-bugs-return-634078-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 09:38:30 2019
Return-Path: <gcc-bugs-return-634078-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32237 invoked by alias); 18 Feb 2019 09:38: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 31951 invoked by uid 48); 18 Feb 2019 09:38:24 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89351] internal compiler error: in exact_div, at poly-int.h:2139 with -fgnu-tm
Date: Mon, 18 Feb 2019 09:38: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: 9.0
X-Bugzilla-Keywords:
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 short_desc everconfirmed
Message-ID: <bug-89351-4-MiFbzbzUhP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89351-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89351-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: 2019-02/txt/msg02380.txt.bz2
Content-length: 788

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89351

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-18
            Summary|internal compiler error: in |internal compiler error: in
                   |exact_div, at               |exact_div, at
                   |poly-int.h:2139             |poly-int.h:2139 with
                   |                            |-fgnu-tm
     Ever confirmed|0                           |1

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
IIRC seeing dups with bitfield handling of TM.
>From gcc-bugs-return-634079-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 09:39:22 2019
Return-Path: <gcc-bugs-return-634079-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38534 invoked by alias); 18 Feb 2019 09:39: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 38359 invoked by uid 48); 18 Feb 2019 09:39:18 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89354] [7 Regression] Combine pass yields wrong code with -O2 and -msse2 for 32bit target
Date: Mon, 18 Feb 2019 09:39: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: 6.3.0
X-Bugzilla-Keywords:
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: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_gcctarget priority cf_known_to_work cf_known_to_fail
Message-ID: <bug-89354-4-icLXdCgY1L@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89354-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89354-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: 2019-02/txt/msg02381.txt.bz2
Content-length: 477

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89354

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x86_64-*-*, i?86-*-*
           Priority|P3                          |P2
      Known to work|                            |8.2.1, 9.0
      Known to fail|                            |7.4.0
>From gcc-bugs-return-634080-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 09:44:10 2019
Return-Path: <gcc-bugs-return-634080-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58066 invoked by alias); 18 Feb 2019 09:44:06 -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 57838 invoked by uid 48); 18 Feb 2019 09:44:02 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89358] [7/8/9 Regression] Combining -std=c++14 and -std=c++17 objects gives ODR warnings
Date: Mon, 18 Feb 2019 09:44: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: 9.0
X-Bugzilla-Keywords: diagnostic
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: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority target_milestone
Message-ID: <bug-89358-4-WXNOsE4msW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89358-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89358-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: 2019-02/txt/msg02382.txt.bz2
Content-length: 345

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89358

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
   Target Milestone|---                         |7.5
>From gcc-bugs-return-634081-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 09:46:56 2019
Return-Path: <gcc-bugs-return-634081-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102131 invoked by alias); 18 Feb 2019 09:46:55 -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 101937 invoked by uid 55); 18 Feb 2019 09:46:51 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89383] [9 Regression] libcpp/line-map.c:748:15: runtime error: shift exponent 32 is too large for 32-bit type 'unsigned int'
Date: Mon, 18 Feb 2019 09:46: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89383-4-0WvJUFlFix@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89383-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89383-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: 2019-02/txt/msg02383.txt.bz2
Content-length: 540

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89383

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Mon Feb 18 09:46:19 2019
New Revision: 268981

URL: https://gcc.gnu.org/viewcvs?rev=268981&root=gcc&view=rev
Log:
Use 1UL constant in order to not overflow (PR c++/89383).

2019-02-18  Martin Liska  <mliska@suse.cz>

        PR c++/89383
        * line-map.c (linemap_line_start): Use 1UL in order
        to not overflow.

Modified:
    trunk/libcpp/ChangeLog
    trunk/libcpp/line-map.c
>From gcc-bugs-return-634083-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 09:47:34 2019
Return-Path: <gcc-bugs-return-634083-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104573 invoked by alias); 18 Feb 2019 09:47: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 104328 invoked by uid 48); 18 Feb 2019 09:47:30 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89361] [7/8/9 Regression] s390 broken without S390_USE_TARGET_ATTRIBUTE, likely since r257489
Date: Mon, 18 Feb 2019 09:47: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:
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: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_gcctarget priority
Message-ID: <bug-89361-4-NXgB3GSjRX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89361-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89361-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: 2019-02/txt/msg02385.txt.bz2
Content-length: 351

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89361

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |s390*-*-*
           Priority|P3                          |P2
>From gcc-bugs-return-634082-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 09:47:21 2019
Return-Path: <gcc-bugs-return-634082-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103371 invoked by alias); 18 Feb 2019 09:47: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 103191 invoked by uid 48); 18 Feb 2019 09:47:10 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89383] [9 Regression] libcpp/line-map.c:748:15: runtime error: shift exponent 32 is too large for 32-bit type 'unsigned int'
Date: Mon, 18 Feb 2019 09: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89383-4-vp0RAa3Sj4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89383-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89383-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: 2019-02/txt/msg02384.txt.bz2
Content-length: 433

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89383

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-634084-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 09:49:17 2019
Return-Path: <gcc-bugs-return-634084-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16243 invoked by alias); 18 Feb 2019 09:48:44 -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 11204 invoked by uid 48); 18 Feb 2019 09:48:36 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libbacktrace/89362] [8/9 regression] zlib support breaks libbacktrace on strict-alignment platforms
Date: Mon, 18 Feb 2019 09:48:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libbacktrace
X-Bugzilla-Version: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: major
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
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 target_milestone
Message-ID: <bug-89362-4-xjEt9NJTqZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89362-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89362-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: 2019-02/txt/msg02386.txt.bz2
Content-length: 345

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89362

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
   Target Milestone|---                         |8.3
>From gcc-bugs-return-634085-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 09:53:45 2019
Return-Path: <gcc-bugs-return-634085-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 812 invoked by alias); 18 Feb 2019 09: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 726 invoked by uid 48); 18 Feb 2019 09:53:40 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89370] Output std::string in diagnostics instead of std::__cxx11::basic_string<_CharT, _Traits, _Alloc>
Date: Mon, 18 Feb 2019 09: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: diagnostic
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 everconfirmed
Message-ID: <bug-89370-4-KcYkLegeKe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89370-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89370-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: 2019-02/txt/msg02387.txt.bz2
Content-length: 404

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89370

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-18
     Ever confirmed|0                           |1
>From gcc-bugs-return-634086-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 10:03:44 2019
Return-Path: <gcc-bugs-return-634086-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46328 invoked by alias); 18 Feb 2019 10:03:43 -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 46093 invoked by uid 48); 18 Feb 2019 10:03:40 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89378] [9 regression][MIPS] FAIL: gcc.dg/vect/pr88598-3.c  -mmsa (internal compiler error)
Date: Mon, 18 Feb 2019 10:03: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: cf_gcctarget target_milestone
Message-ID: <bug-89378-4-FAZQzvKal2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89378-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89378-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: 2019-02/txt/msg02388.txt.bz2
Content-length: 497

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89378

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |mips
   Target Milestone|---                         |9.0

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
MSA is new, so not sure if it is a regression.  Please fill out known-to-work.
>From gcc-bugs-return-634087-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 10:04:04 2019
Return-Path: <gcc-bugs-return-634087-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48137 invoked by alias); 18 Feb 2019 10:04:04 -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 47815 invoked by uid 48); 18 Feb 2019 10:03:59 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89381] [7/8/9 Regression] Implicit copy constructor cannot be generated after unrelated class definition
Date: Mon, 18 Feb 2019 10:04: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: rejects-valid
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority target_milestone
Message-ID: <bug-89381-4-kxxKnglJDs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89381-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89381-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: 2019-02/txt/msg02389.txt.bz2
Content-length: 345

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89381

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
   Target Milestone|---                         |7.5
>From gcc-bugs-return-634088-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 10:04:19 2019
Return-Path: <gcc-bugs-return-634088-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49454 invoked by alias); 18 Feb 2019 10:04:19 -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 49147 invoked by uid 48); 18 Feb 2019 10:04:15 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89383] [9 Regression] libcpp/line-map.c:748:15: runtime error: shift exponent 32 is too large for 32-bit type 'unsigned int'
Date: Mon, 18 Feb 2019 10:04: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: rguenth 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: version target_milestone
Message-ID: <bug-89383-4-P7xUy2mTsj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89383-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89383-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: 2019-02/txt/msg02390.txt.bz2
Content-length: 346

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89383

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unknown                     |9.0
   Target Milestone|---                         |9.0
>From gcc-bugs-return-634089-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 10:16:51 2019
Return-Path: <gcc-bugs-return-634089-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114249 invoked by alias); 18 Feb 2019 10:16: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 114013 invoked by uid 48); 18 Feb 2019 10:16:44 -0000
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug d/89177] unaligned memory access in libphobos
Date: Mon, 18 Feb 2019 10:16:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: d
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bernd.edlinger at hotmail dot de
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-89177-4-QBGDdiVM2z@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89177-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89177-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: 2019-02/txt/msg02391.txt.bz2
Content-length: 375

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89177

--- Comment #3 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
Have started a test on my ARM hardware, it will take a few days to run the
complete test suite.

BTW: I also have an issue with the install script of libphobos:

https://gcc.gnu.org/ml/gcc-patches/2019-02/msg01322.html

how can this be resolved ?
>From gcc-bugs-return-634090-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 10:18:35 2019
Return-Path: <gcc-bugs-return-634090-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16313 invoked by alias); 18 Feb 2019 10:18: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 16106 invoked by uid 48); 18 Feb 2019 10:18:29 -0000
From: "ed at catmur dot uk" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80438] Variadic template class argument deduction failure from variadic constructor deduction guide
Date: Mon, 18 Feb 2019 10:18: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.0.1
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ed at catmur dot uk
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-80438-4-lxpEIdV2qD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80438-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80438-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: 2019-02/txt/msg02392.txt.bz2
Content-length: 579

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80438

Ed Catmur <ed at catmur dot uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ed at catmur dot uk

--- Comment #2 from Ed Catmur <ed at catmur dot uk> ---
Workaround: add an N=1+ deduction guide:

    // existing
    template <typename... Us>
    foo(Us...) -> foo<Us...>;
    // additional, for g++
    template <typename U, typename... Us>
    foo(U, Us...) -> foo<U, Us...>;
>From gcc-bugs-return-634091-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 10:47:49 2019
Return-Path: <gcc-bugs-return-634091-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99327 invoked by alias); 18 Feb 2019 10:47: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 99251 invoked by uid 48); 18 Feb 2019 10:47:44 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89386] New: Generation of vectorized MULHRS (Multiply High with Round and Scale) instruction
Date: Mon, 18 Feb 2019 10:47: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak 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-89386-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: 2019-02/txt/msg02393.txt.bz2
Content-length: 926

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89386

            Bug ID: 89386
           Summary: Generation of vectorized MULHRS (Multiply High with
                    Round and Scale) instruction
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ubizjak at gmail dot com
  Target Milestone: ---

This PR is similar to PR85693 and PR85694, where missing generation of
vectorized SAD (Sum of Absolute Difference) and AVG (Average) instruction was
reported.

Following code:

--cut here--
#define N 1024

unsigned short as[N], bs[N], cs[N];

void
foo_short (void)
{
  int i;

  for (i = 0; i < N; i++)
    as[i] = ((((int)bs[i] * (int)cs[i]) >> 14) + 1) >> 1;
}
--cut here--

should vectorize with pmulhrsw SSSE3 instruction.
>From gcc-bugs-return-634092-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 10:57:03 2019
Return-Path: <gcc-bugs-return-634092-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17386 invoked by alias); 18 Feb 2019 10:57: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 12566 invoked by uid 48); 18 Feb 2019 10:56:58 -0000
From: "clyon at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88680] [9 Regression] bogus -Wtype-limits for constant expressions after r267272
Date: Mon, 18 Feb 2019 10: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: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: clyon at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-88680-4-orlGb6DHxs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88680-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88680-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: 2019-02/txt/msg02394.txt.bz2
Content-length: 1142

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88680

Christophe Lyon <clyon at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clyon at gcc dot gnu.org

--- Comment #5 from Christophe Lyon <clyon at gcc dot gnu.org> ---
(In reply to David Malcolm from comment #4)
> Should be fixed by r268961.

The new test fails on arm-eabi (works on arm-linux-gnueabi), probably because
it defaults to short enum:
FAIL: g++.dg/wrappers/pr88680.C  -std=gnu++14 (test for excess errors)
FAIL: g++.dg/wrappers/pr88680.C  -std=gnu++17 (test for excess errors)


The logs say:
Excess errors:
/gcc/testsuite/g++.dg/wrappers/pr88680.C:10:20: warning: comparison is always
true due to limited range of data type [-Wtype-limits]
/gcc/testsuite/g++.dg/wrappers/pr88680.C:20:11: warning: comparison is always
true due to limited range of data type [-Wtype-limits]
/gcc/testsuite/g++.dg/wrappers/pr88680.C:46:9: warning: comparison is always
true due to limited range of data type [-Wtype-limits]
>From gcc-bugs-return-634093-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 11:17:10 2019
Return-Path: <gcc-bugs-return-634093-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 70371 invoked by alias); 18 Feb 2019 11:17: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 61790 invoked by uid 55); 18 Feb 2019 11:17:05 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89361] [7/8/9 Regression] s390 broken without S390_USE_TARGET_ATTRIBUTE, likely since r257489
Date: Mon, 18 Feb 2019 11:17: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89361-4-R2uhopMSqG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89361-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89361-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: 2019-02/txt/msg02395.txt.bz2
Content-length: 714

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89361

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Feb 18 11:16:33 2019
New Revision: 268983

URL: https://gcc.gnu.org/viewcvs?rev=268983&root=gcc&view=rev
Log:
        PR target/89361
        * config/s390/s390.c (s390_indirect_branch_attrvalue,
        s390_indirect_branch_settings): Define unconditionally.
        (s390_set_current_function): Likewise, but guard the whole body except
        the s390_indirect_branch_settings call with
        #if S390_USE_TARGET_ATTRIBUTE.
        (TARGET_SET_CURRENT_FUNCTION): Redefine unconditionally.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/s390/s390.c
>From gcc-bugs-return-634094-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 11:21:19 2019
Return-Path: <gcc-bugs-return-634094-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22977 invoked by alias); 18 Feb 2019 11:21:19 -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 22808 invoked by uid 55); 18 Feb 2019 11:21:15 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89369] [9 Regression]  pseudo-RNG miscompiled on s390x-linux with -O2 -march=zEC12 -mtune=z13 starting with r266203
Date: Mon, 18 Feb 2019 11: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89369-4-BzxT5WxDNK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89369-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89369-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: 2019-02/txt/msg02396.txt.bz2
Content-length: 983

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89369

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Feb 18 11:20:43 2019
New Revision: 268984

URL: https://gcc.gnu.org/viewcvs?rev=268984&root=gcc&view=rev
Log:
        PR target/89369
        * config/s390/s390.md (*r<noxa>sbg_<mode>_srl_bitmask,
        *r<noxa>sbg_<mode>_sll, *r<noxa>sbg_<mode>_srl): Don't construct
        pattern in a temporary buffer.
        (*r<noxa>sbg_sidi_srl): Likewise.  Always use 32 as I3 rather
        than 64-operands[2].

        * gcc.c-torture/execute/pr89369.c: New test.
        * gcc.target/s390/md/rXsbg_mode_sXl.c (rosbg_si_srl,
        rxsbg_si_srl): Expect last 3 operands 32,63,62 rather than
        34,63,62.

Added:
    trunk/gcc/testsuite/gcc.c-torture/execute/pr89369.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/s390/s390.md
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/s390/md/rXsbg_mode_sXl.c
>From gcc-bugs-return-634095-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 11:21:43 2019
Return-Path: <gcc-bugs-return-634095-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26121 invoked by alias); 18 Feb 2019 11:21: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 25422 invoked by uid 48); 18 Feb 2019 11:21:36 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89361] [7/8 Regression] s390 broken without S390_USE_TARGET_ATTRIBUTE, likely since r257489
Date: Mon, 18 Feb 2019 11: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-89361-4-6JGWtIlrdH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89361-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89361-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: 2019-02/txt/msg02397.txt.bz2
Content-length: 611

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89361

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[7/8/9 Regression] s390     |[7/8 Regression] s390
                   |broken without              |broken without
                   |S390_USE_TARGET_ATTRIBUTE,  |S390_USE_TARGET_ATTRIBUTE,
                   |likely since r257489        |likely since r257489

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed on the trunk so far.
>From gcc-bugs-return-634096-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 11:23:03 2019
Return-Path: <gcc-bugs-return-634096-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33718 invoked by alias); 18 Feb 2019 11:23: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 33161 invoked by uid 48); 18 Feb 2019 11:22:59 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89369] [9 Regression]  pseudo-RNG miscompiled on s390x-linux with -O2 -march=zEC12 -mtune=z13 starting with r266203
Date: Mon, 18 Feb 2019 11:23: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89369-4-5nSFfDCoUU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89369-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89369-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: 2019-02/txt/msg02398.txt.bz2
Content-length: 423

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89369

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-634097-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 11:55:31 2019
Return-Path: <gcc-bugs-return-634097-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33784 invoked by alias); 18 Feb 2019 11:55: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 33668 invoked by uid 48); 18 Feb 2019 11:55:25 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/86964] Too many debug symbols included, especially for extern globals
Date: Mon, 18 Feb 2019 11:55:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 6.3.0
X-Bugzilla-Keywords:
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: attachments.created
Message-ID: <bug-86964-4-C0snKglVI1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86964-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86964-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: 2019-02/txt/msg02399.txt.bz2
Content-length: 788

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86964

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Created attachment 45748
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45748&action=edit
patch

Thanks for working on this.  For

extern float x;

void foo()
{
}

I still see the basetype DIE for float emitted.  When using

struct S { int i; };
extern struct S x;

the DIE for S disappears (good) but the one for int remains.  That looks like
a pre-exisiting issue with unused debug-types elimination though.

I have attached a patch variant that applies to trunk and maintained branches
that fixes some coding-style issues, adds a testcase and a ChangeLog entry.
Can you see if it looks fine to you and propose the patch on
gcc-patches@gcc.gnu.org ?
>From gcc-bugs-return-634099-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 12:08:37 2019
Return-Path: <gcc-bugs-return-634099-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50117 invoked by alias); 18 Feb 2019 12:08: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 49893 invoked by uid 48); 18 Feb 2019 12:08:32 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89387] [9 Regression] ICE in maybe_generic_this_capture at gcc/cp/lambda.c:945 since r268851
Date: Mon, 18 Feb 2019 12:08: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: unknown
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: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_known_to_work keywords cf_reconfirmed_on cc everconfirmed target_milestone cf_known_to_fail
Message-ID: <bug-89387-4-AasF3KuvFJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89387-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89387-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: 2019-02/txt/msg02401.txt.bz2
Content-length: 761

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89387

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
             Status|UNCONFIRMED                 |NEW
      Known to work|                            |8.2.0
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|                            |2019-02-18
                 CC|                            |aoliva at gcc dot gnu.org
     Ever confirmed|0                           |1
   Target Milestone|---                         |9.0
      Known to fail|                            |9.0
>From gcc-bugs-return-634098-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 12:08:12 2019
Return-Path: <gcc-bugs-return-634098-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48530 invoked by alias); 18 Feb 2019 12: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 48436 invoked by uid 48); 18 Feb 2019 12:08:07 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89387] New: [9 Regression] ICE in maybe_generic_this_capture at gcc/cp/lambda.c:945 since r268851
Date: Mon, 18 Feb 2019 12:08: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: unknown
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 target_milestone attachments.created
Message-ID: <bug-89387-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: 2019-02/txt/msg02400.txt.bz2
Content-length: 2612

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89387

            Bug ID: 89387
           Summary: [9 Regression] ICE in maybe_generic_this_capture at
                    gcc/cp/lambda.c:945 since r268851
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---

Created attachment 45749
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45749&action=edit
Unreduced test-case

I see following ICE:

$ c++ ice.ii -c
...
0xf2d19f crash_signal
        /home/marxin/Programming/gcc/gcc/toplev.c:326
0x7ffff7b79e0f ???
       
/usr/src/debug/glibc-2.29-1.3.x86_64/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0x9141f1 maybe_generic_this_capture(tree_node*, tree_node*)
        /home/marxin/Programming/gcc/gcc/cp/lambda.c:945
0x968904 cp_parser_postfix_expression
        /home/marxin/Programming/gcc/gcc/cp/parser.c:7331
0x975766 cp_parser_unary_expression
        /home/marxin/Programming/gcc/gcc/cp/parser.c:8459
0x951402 cp_parser_cast_expression
        /home/marxin/Programming/gcc/gcc/cp/parser.c:9345
0x951bea cp_parser_binary_expression
        /home/marxin/Programming/gcc/gcc/cp/parser.c:9447
0x952b29 cp_parser_assignment_expression
        /home/marxin/Programming/gcc/gcc/cp/parser.c:9744
0x952e92 cp_parser_expression
        /home/marxin/Programming/gcc/gcc/cp/parser.c:9911
0x956374 cp_parser_expression_statement
        /home/marxin/Programming/gcc/gcc/cp/parser.c:11449
0x961003 cp_parser_statement
        /home/marxin/Programming/gcc/gcc/cp/parser.c:11245
0x962550 cp_parser_statement_seq_opt
        /home/marxin/Programming/gcc/gcc/cp/parser.c:11592
0x962627 cp_parser_compound_statement
        /home/marxin/Programming/gcc/gcc/cp/parser.c:11546
0x97cb85 cp_parser_implicitly_scoped_statement
        /home/marxin/Programming/gcc/gcc/cp/parser.c:12961
0x961f3b cp_parser_selection_statement
        /home/marxin/Programming/gcc/gcc/cp/parser.c:11766
0x961f3b cp_parser_statement
        /home/marxin/Programming/gcc/gcc/cp/parser.c:11111
0x962550 cp_parser_statement_seq_opt
        /home/marxin/Programming/gcc/gcc/cp/parser.c:11592
0x963a8e cp_parser_lambda_body
        /home/marxin/Programming/gcc/gcc/cp/parser.c:10978
0x963a8e cp_parser_lambda_expression
        /home/marxin/Programming/gcc/gcc/cp/parser.c:10454
0x963a8e cp_parser_primary_expression
        /home/marxin/Programming/gcc/gcc/cp/parser.c:5379

I'm reducing that..
>From gcc-bugs-return-634100-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 12:53:20 2019
Return-Path: <gcc-bugs-return-634100-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59836 invoked by alias); 18 Feb 2019 12:53:19 -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 59603 invoked by uid 55); 18 Feb 2019 12:53:12 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/88714] [9 regression] bootstrap comparison failure on armv7l since r265398
Date: Mon, 18 Feb 2019 12:53: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: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
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-88714-4-Rl2FCd02Oz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88714-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88714-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: 2019-02/txt/msg02402.txt.bz2
Content-length: 696

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88714

--- Comment #45 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Feb 18 12:52:36 2019
New Revision: 268985

URL: https://gcc.gnu.org/viewcvs?rev=268985&root=gcc&view=rev
Log:
        PR bootstrap/88714
        * config/arm/arm.md (*arm_movdi, *movdf_soft_insn): Use "r" instead of
        "q" constraint.
        * config/arm/vfp.md (*movdi_vfp): Likewise.
        * config/arm/ldrdstrd.md (*arm_ldrd, *arm_strd): Use "r" instead of
        "q" constraint for operands[0].

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/arm.md
    trunk/gcc/config/arm/ldrdstrd.md
    trunk/gcc/config/arm/vfp.md
>From gcc-bugs-return-634101-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 12:56:55 2019
Return-Path: <gcc-bugs-return-634101-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74657 invoked by alias); 18 Feb 2019 12:56:55 -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 74496 invoked by uid 55); 18 Feb 2019 12:56:49 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89296] [7/8/9 Regression] tree copy-header masking uninitialized warning
Date: Mon, 18 Feb 2019 12: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: diagnostic
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89296-4-Vb15XAqKNk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89296-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89296-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: 2019-02/txt/msg02403.txt.bz2
Content-length: 697

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89296

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Feb 18 12:56:15 2019
New Revision: 268986

URL: https://gcc.gnu.org/viewcvs?rev=268986&root=gcc&view=rev
Log:
2019-02-18  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/89296
        * tree-ssa-loop-ch.c (ch_base::copy_headers): Restrict setting
        of no-warning flag to cases that might emit the bogus warning.

        * gcc.dg/uninit-pr89296.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/uninit-pr89296.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-loop-ch.c
>From gcc-bugs-return-634102-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 12:57:20 2019
Return-Path: <gcc-bugs-return-634102-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77027 invoked by alias); 18 Feb 2019 12:57:19 -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 76759 invoked by uid 48); 18 Feb 2019 12:57:15 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89296] [7/8 Regression] tree copy-header masking uninitialized warning
Date: Mon, 18 Feb 2019 12: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: diagnostic
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_known_to_work short_desc cf_known_to_fail
Message-ID: <bug-89296-4-Exi21vLk3D@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89296-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89296-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: 2019-02/txt/msg02404.txt.bz2
Content-length: 645

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89296

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |9.0
            Summary|[7/8/9 Regression] tree     |[7/8 Regression] tree
                   |copy-header masking         |copy-header masking
                   |uninitialized warning       |uninitialized warning
      Known to fail|9.0                         |

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed on trunk sofar.
>From gcc-bugs-return-634103-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 13:13:40 2019
Return-Path: <gcc-bugs-return-634103-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98671 invoked by alias); 18 Feb 2019 13:13: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 98581 invoked by uid 48); 18 Feb 2019 13:13:33 -0000
From: "avi@cloudius-systems.com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82380] [concepts] Error when using requires constraint with attributes
Date: Mon, 18 Feb 2019 13:13: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: avi@cloudius-systems.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: cc
Message-ID: <bug-82380-4-QSCWAfyU4d@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82380-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82380-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: 2019-02/txt/msg02405.txt.bz2
Content-length: 438

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82380

Avi Kivity <avi@cloudius-systems.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |avi@cloudius-systems.com

--- Comment #1 from Avi Kivity <avi@cloudius-systems.com> ---
Suffering from the same problem (but with [[deprecated]] instead).
>From gcc-bugs-return-634104-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 13:53:32 2019
Return-Path: <gcc-bugs-return-634104-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94126 invoked by alias); 18 Feb 2019 13:53:32 -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 94022 invoked by uid 48); 18 Feb 2019 13:53:28 -0000
From: "Bader at lrz dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89388] New: Component selection for assumed-size DT array
Date: Mon, 18 Feb 2019 13:53: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: Bader at lrz dot de
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-89388-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: 2019-02/txt/msg02406.txt.bz2
Content-length: 1057

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89388

            Bug ID: 89388
           Summary: Component selection for assumed-size DT array
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: Bader at lrz dot de
  Target Milestone: ---

Created attachment 45750
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45750&action=edit
test code

The attached test case, which is non-conforming (because it requires
copy-in/out of an assumed-size object) compiles and creates an executable that
crashes with a SIGSEGV. It would be good if a compile-time error could be
created for this case. E.g. ifort says:
The upper bound shall not be omitted in the last dimension of a reference to an
assumed size array.
nagfor says:
 dt_ass_neg_03.f90, line 10: Invalid appearance of assumed-size array name Y

The Fortran 2018 constraint that applies is C1002 (10.1.2.2)

Regards
>From gcc-bugs-return-634105-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 14:11:17 2019
Return-Path: <gcc-bugs-return-634105-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129467 invoked by alias); 18 Feb 2019 14:11: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 129316 invoked by uid 48); 18 Feb 2019 14:11:12 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89387] [9 Regression] ICE in maybe_generic_this_capture at gcc/cp/lambda.c:945 since r268851
Date: Mon, 18 Feb 2019 14:11: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, needs-reduction
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89387-4-K64mvgfI95@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89387-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89387-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: 2019-02/txt/msg02407.txt.bz2
Content-length: 323

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89387

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Reduced test-case:

$ cat ice.ii
template <template <typename, typename> class a> class b {
  using c = int;
  using f = a<unsigned, c>;
  f::d;
  void e() {
    [&] { d(); };
  }
  void d();
};
>From gcc-bugs-return-634106-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 14:42:36 2019
Return-Path: <gcc-bugs-return-634106-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123845 invoked by alias); 18 Feb 2019 14:42: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 123636 invoked by uid 48); 18 Feb 2019 14:42:30 -0000
From: "ed at catmur dot uk" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80871] Template partial ordering considered non-ambiguous with deduced and non-deduced parameter packs
Date: Mon, 18 Feb 2019 14: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: 7.1.0
X-Bugzilla-Keywords: accepts-invalid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ed at catmur 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: cc
Message-ID: <bug-80871-4-ynosyO7Xkf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80871-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80871-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: 2019-02/txt/msg02408.txt.bz2
Content-length: 370

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80871

Ed Catmur <ed at catmur dot uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ed at catmur dot uk

--- Comment #2 from Ed Catmur <ed at catmur dot uk> ---
See also #80438
>From gcc-bugs-return-634107-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 14:43:01 2019
Return-Path: <gcc-bugs-return-634107-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125310 invoked by alias); 18 Feb 2019 14: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 125226 invoked by uid 48); 18 Feb 2019 14:42:57 -0000
From: "matmal01 at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89324] [9 Regression] ICE in extract_constrain_insn, at recog.c:2211 on aarch64
Date: Mon, 18 Feb 2019 14:43: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: matmal01 at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: matmal01 at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89324-4-BdP6hUs1PZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89324-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89324-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: 2019-02/txt/msg02409.txt.bz2
Content-length: 343

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89324

--- Comment #4 from Matthew Malcomson <matmal01 at gcc dot gnu.org> ---
There were similar problems in handling the stack pointer with subs/adds
instructions elsewhere in the aarch64 backend.

Patch proposed & being worked on here:
https://gcc.gnu.org/ml/gcc-patches/2019-02/msg01458.html
>From gcc-bugs-return-634108-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 14:43:22 2019
Return-Path: <gcc-bugs-return-634108-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126440 invoked by alias); 18 Feb 2019 14:43: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 126321 invoked by uid 48); 18 Feb 2019 14:43:16 -0000
From: "ed at catmur dot uk" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80871] Template partial ordering considered non-ambiguous with deduced and non-deduced parameter packs
Date: Mon, 18 Feb 2019 14:43: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.1.0
X-Bugzilla-Keywords: accepts-invalid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ed at catmur 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:
Message-ID: <bug-80871-4-hFWBDeVNok@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80871-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80871-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: 2019-02/txt/msg02410.txt.bz2
Content-length: 179

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80871

--- Comment #3 from Ed Catmur <ed at catmur dot uk> ---
Sorry. See also https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80438
>From gcc-bugs-return-634109-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 14:47:30 2019
Return-Path: <gcc-bugs-return-634109-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18243 invoked by alias); 18 Feb 2019 14:47: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 18167 invoked by uid 48); 18 Feb 2019 14:47:26 -0000
From: "Bader at lrz dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89388] Component selection for assumed-size DT array
Date: Mon, 18 Feb 2019 14:47: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: Bader at lrz dot de
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-89388-4-j7VV7dQWMg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89388-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89388-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: 2019-02/txt/msg02411.txt.bz2
Content-length: 380

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89388

--- Comment #1 from Bader at lrz dot de <Bader at lrz dot de> ---
Actually, C1002 applies for expressions, which is not relevant for this case
... the only (non-constraint) restriction that one could (indirectly) argue to
apply is 
9.5.2 para2, inasmuch as the shape is needed to create the contiguous element
sequence.
>From gcc-bugs-return-634110-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 15:28:12 2019
Return-Path: <gcc-bugs-return-634110-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16175 invoked by alias); 18 Feb 2019 15:28: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 15984 invoked by uid 48); 18 Feb 2019 15:28:07 -0000
From: "law at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/87761] [9 regression][MIPS] New FAIL: gcc.target/mips/fix-r4000-10.c   -O1 start with r265398
Date: Mon, 18 Feb 2019 15:28: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: law at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-87761-4-CxwwnXl0dz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87761-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87761-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: 2019-02/txt/msg02412.txt.bz2
Content-length: 447

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87761

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |law at redhat dot com

--- Comment #10 from Jeffrey A. Law <law at redhat dot com> ---
So fix-r4000-10.c is the only one that's still failing for me on the trunk.
>From gcc-bugs-return-634111-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 15:31:08 2019
Return-Path: <gcc-bugs-return-634111-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23579 invoked by alias); 18 Feb 2019 15:31: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 23135 invoked by uid 48); 18 Feb 2019 15:31:00 -0000
From: "a.drobyshev at samsung dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82501] AddressSanitizer does not handle negative offset for first global variable
Date: Mon, 18 Feb 2019 15:31: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: a.drobyshev at samsung dot com
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: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-82501-4-E9TFem1SoV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82501-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82501-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: 2019-02/txt/msg02413.txt.bz2
Content-length: 676

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82501

--- Comment #10 from Andrey Drobyshev <a.drobyshev at samsung dot com> ---
Created attachment 45751
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45751&action=edit
Work-in-progress fix

This patch is pretty raw. It only handles .data, .rodata and .bss.
It does not handle reallocation sections and multi-TU case (though the latter
apparently needs linker support).

I suppose we should introduce a separate flag for this kind of protection
(ideas are welcome). Also I have to pass the whole list of varpool nodes one
extra time to detect sections which need protection; maybe it could be
optimized.
Comments?
>From gcc-bugs-return-634112-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 15:38:38 2019
Return-Path: <gcc-bugs-return-634112-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48634 invoked by alias); 18 Feb 2019 15:38: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 48499 invoked by uid 48); 18 Feb 2019 15:38:33 -0000
From: "a.drobyshev at samsung dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82501] AddressSanitizer does not handle negative offset for first global variable
Date: Mon, 18 Feb 2019 15:38: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: a.drobyshev at samsung dot com
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: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82501-4-ZMsjuuzPjl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82501-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82501-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: 2019-02/txt/msg02414.txt.bz2
Content-length: 4231

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82501

--- Comment #11 from Andrey Drobyshev <a.drobyshev at samsung dot com> ---
(In reply to Martin Liška from comment #9)
> (In reply to Andrey Drobyshev from comment #8)
> 
> Great you've been working on that Andrey.
> 
> > I recently started to work on this issue as well. I managed to put a dummy
> > global variable into .data, .rodata and .bss as follows:
> > 
> > static void
> > emit_globals_protector(void)
> > {
> >   tree decl, id, init;
> > 
> >   id = get_identifier ("__asan_dummy_global");
> >   decl = build_decl (BUILTINS_LOCATION, VAR_DECL, id, integer_type_node);
> >   init = build_one_cst(integer_type_node);
> > 
> >   SET_DECL_ASSEMBLER_NAME (decl, id);
> >   TREE_ADDRESSABLE (decl) = 1;
> >   DECL_ARTIFICIAL (decl) = 1;
> >   TREE_STATIC (decl) = 1;
> >   TREE_PUBLIC (decl) = 1;
> >   TREE_USED (decl) = 1;
> > 
> >   TREE_READONLY (init) = 1;      // controls whether variable goes to
> > .rodata or .data
> >   TREE_STATIC (init) = 1;
> >   DECL_INITIAL (decl) = init;    // controls whether variable gets
> > initialized or goes to .bss
> > 
> >   varpool_node::add(decl);
> > }
> > 
> > Calling varpool_node::add() makes sure that created dummy global goes first
> > into the target section, as it leads to call to assemble_variable():
> > 
> > #0  categorize_decl_for_section (decl=0x7ffff7ff4e10, reloc=0) at
> > ../../gcc/varasm.c:6378
> > #1  0x0000000001096112 in default_elf_select_section (decl=0x7ffff7ff4e10,
> > reloc=0, align=256) at ../../gcc/varasm.c:6499
> > #2  0x00000000010b6ce3 in x86_64_elf_select_section (decl=0x7ffff7ff4e10,
> > reloc=0, align=256) at ../../gcc/config/i386/i386.c:6549
> > #3  0x000000000108afd3 in get_variable_section (decl=0x7ffff7ff4e10,
> > prefer_noswitch_p=false) at ../../gcc/varasm.c:1170
> > #4  0x000000000108d70b in assemble_variable (decl=0x7ffff7ff4e10,
> > top_level=0, at_end=1, dont_output_data=0) at ../../gcc/varasm.c:2206
> > #5  0x000000000109fd8a in varpool_node::assemble_decl (this=0x7ffff7281100)
> > at ../../gcc/varpool.c:582
> > #6  0x0000000000917f92 in varpool_node::finalize_decl (decl=0x7ffff7ff4e10)
> > at ../../gcc/cgraphunit.c:823
> > #7  0x000000000109f9c0 in varpool_node::add (decl=0x7ffff7ff4e10) at
> > ../../gcc/varpool.c:473
> > #8  0x000000000091ba93 in emit_globals_protector () at
> > ../../gcc/cgraphunit.c:2187
> > #9  0x000000000091bab6 in output_in_order (no_reorder=false) at
> > ../../gcc/cgraphunit.c:2218
> > #10 0x000000000091c4f4 in symbol_table::compile (this=0x7ffff71280a8) at
> > ../../gcc/cgraphunit.c:2524
> > #11 0x000000000091c73f in symbol_table::finalize_compilation_unit
> > (this=0x7ffff71280a8) at ../../gcc/cgraphunit.c:2620
> > #12 0x0000000000d90fbf in compile_file () at ../../gcc/toplev.c:496
> > #13 0x0000000000d93448 in do_compile () at ../../gcc/toplev.c:1998
> > #14 0x0000000000d936d2 in toplev::main (this=0x7fffffffdbb0, argc=27,
> > argv=0x7fffffffdcb8) at ../../gcc/toplev.c:2106
> > #15 0x00000000016e11d1 in main (argc=27, argv=0x7fffffffdcb8) at
> > ../../gcc/main.c:39
> 
> Can you please provide work-in-progress patch so that I can play with that?
> Is your patch also handling the comment:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82501#c4
>
I guess it's not. I was only able to test this thing on x86_64 and armv7l.

> > 
> > However, there're questions:
> > 1. I wonder is it really possible to emit zero-sized dummies and initialize
> > them as well (i.e. emit them into .data/.rodata)? For now I emit variables
> > of integer types, but that leads to the presence of couple addressable bytes
> > in the beginning of the section.
> 
> I can investigate once I have a patch candidate.
>
Please see attachment above.

> > 2. What should we do with sections like .data.rel.ro, .data.rel.ro.local?
> > They suffer from this bug too, but it's not that easy to put globals there,
> > as you must set various attributes onto decl to ensure it will receive the
> > right reloc value.
> 
> @Jakub: Can you advise please about the question #2?
>
These questions remain unanswered...
>From gcc-bugs-return-634113-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 15:46:05 2019
Return-Path: <gcc-bugs-return-634113-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88404 invoked by alias); 18 Feb 2019 15:46:04 -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 88119 invoked by uid 48); 18 Feb 2019 15:45:58 -0000
From: "mdblack98 at yahoo dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/89373] macro expansion not counting braces correctly
Date: Mon, 18 Feb 2019 15:46: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mdblack98 at yahoo dot com
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-89373-4-GKhkYrwzfp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89373-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89373-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: 2019-02/txt/msg02415.txt.bz2
Content-length: 294

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89373

--- Comment #4 from mdblack98 at yahoo dot com ---
FYI...the variadic macro __VA_ARGS__ did solve the braced items problem on
array initialization in nested macros.  Just have to move the argument to the
end of the macro...

Thanks

Mike
>From gcc-bugs-return-634114-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 16:14:39 2019
Return-Path: <gcc-bugs-return-634114-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121024 invoked by alias); 18 Feb 2019 16:14:32 -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 120341 invoked by uid 48); 18 Feb 2019 16:14:28 -0000
From: "peter_foelsche at mentor dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89389] New: inlining failed in call to always_inline -- removing attribute leaves function inlined
Date: Mon, 18 Feb 2019 16: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: 5.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: peter_foelsche at mentor 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-89389-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: 2019-02/txt/msg02416.txt.bz2
Content-length: 1279

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89389

            Bug ID: 89389
           Summary: inlining failed in call to always_inline -- removing
                    attribute leaves function inlined
           Product: gcc
           Version: 5.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: peter_foelsche at mentor dot com
  Target Milestone: ---

Some member function is labeled

__attribute__((always_inline)) inline

as are many others. This is generated code and has been working for many cases.
Today I had the first error of this kind.
When removing the attribute the code compiles fine AND does not generate a
function call.

The function itself is trivial (there are many functions for which
always_inline is successful, which are more complicated.


The same error happens with

g++ 5.3.0
g++ 5.5.0
g++ 7.3.0
g++ 8.2.0

compiler options are

-fPIC -I include -O3 -DNDEBUG -funroll-loops -march=native -ffast-math
-fwhole-program -ftemplate-depth=16384 -march=native -shared -std=c++11
-Wno-attributes -I $BOOST_DIR

I'm not certain if I can provide the source code (or any preprocessed file) --
I'll have to ask.
>From gcc-bugs-return-634116-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 16:32:22 2019
Return-Path: <gcc-bugs-return-634116-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8908 invoked by alias); 18 Feb 2019 16:32: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 6820 invoked by uid 48); 18 Feb 2019 16:32:18 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89294] [9 regression] ICE in valid_constant_size_p, at tree.c:7524
Date: Mon, 18 Feb 2019 16:32: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89294-4-IXeK7vsDu0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89294-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89294-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: 2019-02/txt/msg02418.txt.bz2
Content-length: 436

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89294

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Martin Sebor <msebor at gcc dot gnu.org> ---
Fixed with r268990.
>From gcc-bugs-return-634115-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 16:32:05 2019
Return-Path: <gcc-bugs-return-634115-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130799 invoked by alias); 18 Feb 2019 16:32:04 -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 128499 invoked by uid 55); 18 Feb 2019 16:32:00 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89294] [9 regression] ICE in valid_constant_size_p, at tree.c:7524
Date: Mon, 18 Feb 2019 16:32: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89294-4-q8L9VRG999@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89294-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89294-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: 2019-02/txt/msg02417.txt.bz2
Content-length: 809

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89294

--- Comment #6 from Martin Sebor <msebor at gcc dot gnu.org> ---
Author: msebor
Date: Mon Feb 18 16:31:17 2019
New Revision: 268990

URL: https://gcc.gnu.org/viewcvs?rev=268990&root=gcc&view=rev
Log:
PR middle-end/89294 - ICE in valid_constant_size_p

gcc/c-family/ChangeLog:

        PR middle-end/89294
        * c-common.c (invalid_array_size_error): Handle cst_size_not_constant.

gcc/ChangeLog:

        PR middle-end/89294
        * tree.c (valid_constant_size_p): Avoid assuming size is a constant
        expression.
        * tree.h (cst_size_error): Add the cst_size_not_constant enumerator.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-common.c
    trunk/gcc/tree.c
    trunk/gcc/tree.h
>From gcc-bugs-return-634117-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 16:49:07 2019
Return-Path: <gcc-bugs-return-634117-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87107 invoked by alias); 18 Feb 2019 16:49:06 -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 86981 invoked by uid 48); 18 Feb 2019 16:49:02 -0000
From: "frank.secilia at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89367] Constexpr expression is not constexpr in template, but is constexpr in non-template.
Date: Mon, 18 Feb 2019 16:49: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: accepts-invalid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: frank.secilia 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:
Message-ID: <bug-89367-4-lHXnoHx4X3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89367-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89367-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: 2019-02/txt/msg02419.txt.bz2
Content-length: 605

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89367

--- Comment #6 from Frank Secilia <frank.secilia at gmail dot com> ---
I can't find anything in the standard under `constant expressions` or
`converted constant expressions` that explicitly allows non-null
pointer-to-member-functions in constexpr contexts, but I also can't find
anything since N4268 that explicitly forbids them. 

It looks like icc and msvc accept this as well. Here are some godbolt results
for x86_64:
clang 7.0 - https://godbolt.org/z/sg-da1
icc 19.0.1 - https://godbolt.org/z/X8eqy1
msvc 19.16 - https://godbolt.org/z/5gbv83
>From gcc-bugs-return-634118-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 17:01:21 2019
Return-Path: <gcc-bugs-return-634118-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96830 invoked by alias); 18 Feb 2019 17:01: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 96651 invoked by uid 48); 18 Feb 2019 17:01:16 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89367] Constexpr expression is not constexpr in template, but is constexpr in non-template.
Date: Mon, 18 Feb 2019 17:01: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: accepts-invalid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89367-4-KsLhfYDBLE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89367-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89367-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: 2019-02/txt/msg02420.txt.bz2
Content-length: 475

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89367

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
If the compiler can prove the addresses are the same or are different, then
sure, it will evaluate to constant 0 or 1.  The question is if the compiler
must be able to prove it in all cases (which is impossible, in some cases it
needs to do runtime checks and then it can't be a constant expression), and if
the problematic cases include the above ones.
>From gcc-bugs-return-634119-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 17:31:13 2019
Return-Path: <gcc-bugs-return-634119-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55309 invoked by alias); 18 Feb 2019 17:31: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 54993 invoked by uid 48); 18 Feb 2019 17:31:08 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libbacktrace/89362] [8/9 regression] zlib support breaks libbacktrace on strict-alignment platforms
Date: Mon, 18 Feb 2019 17:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libbacktrace
X-Bugzilla-Version: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: major
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
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: bug_status resolution
Message-ID: <bug-89362-4-j5uIwfJJVY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89362-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89362-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: 2019-02/txt/msg02421.txt.bz2
Content-length: 697

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89362

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> The problem is that most debug sections have alignment 1 so you cannot do:
> 
>  chdr = (const b_elf_chdr *) compressed;
> 
> and expect to have a valid b_elf_chdr on strict-alignment platforms.

It's a binutils issue (PR binutils/23919) fixed in 2.32 and later.
>From gcc-bugs-return-634120-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 17:46:08 2019
Return-Path: <gcc-bugs-return-634120-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60648 invoked by alias); 18 Feb 2019 17:45:57 -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 59980 invoked by uid 48); 18 Feb 2019 17:45:44 -0000
From: "Casey at Carter dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/82380] [concepts] Error when using requires constraint with attributes
Date: Mon, 18 Feb 2019 17:45: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: Casey at Carter dot net
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-82380-4-3i4ijZr3RL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82380-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82380-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: 2019-02/txt/msg02422.txt.bz2
Content-length: 243

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82380

--- Comment #2 from Casey Carter <Casey at Carter dot net> ---
You can work around this bug by using a trailing requires-clause instead of
putting the requires-clause in the template-head.
>From gcc-bugs-return-634121-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 17:58:47 2019
Return-Path: <gcc-bugs-return-634121-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103733 invoked by alias); 18 Feb 2019 17:58: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 101399 invoked by uid 48); 18 Feb 2019 17:58:43 -0000
From: "law at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/87761] [9 regression][MIPS] New FAIL: gcc.target/mips/fix-r4000-10.c   -O1 start with r265398
Date: Mon, 18 Feb 2019 17:58: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: law at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-87761-4-sW6SkGHOsN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87761-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87761-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: 2019-02/txt/msg02423.txt.bz2
Content-length: 186

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87761

--- Comment #11 from Jeffrey A. Law <law at redhat dot com> ---
Note configuring for mips-linux will show the octeon-exts failures.
>From gcc-bugs-return-634122-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 18:29:38 2019
Return-Path: <gcc-bugs-return-634122-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68104 invoked by alias); 18 Feb 2019 18:29: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 67868 invoked by uid 55); 18 Feb 2019 18:29:33 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87689] PowerPC64 ELFv2 function parameter passing violation
Date: Mon, 18 Feb 2019 18:29: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: patch, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87689-4-Ie4pNgRKry@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: 2019-02/txt/msg02424.txt.bz2
Content-length: 1736

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87689

--- Comment #25 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Mon Feb 18 18:28:58 2019
New Revision: 268992

URL: https://gcc.gnu.org/viewcvs?rev=268992&root=gcc&view=rev
Log:
2019-02-18  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR fortran/87689
    * trans-decl.c (gfc_get_extern_function_decl): Add argument
    actual_args and pass it through to gfc_get_function_type.
    * trans-expr.c (conv_function_val): Add argument actual_args
    and pass it on to gfc_get_extern_function_decl.
    (conv_procedure_call): Pass actual arguments to conv_function_val.
    * trans-types.c (get_formal_from_actual_arglist): New function.
    (gfc_get_function_type): Add argument actual_args.  Generate
    formal args from actual args if necessary.
    * trans-types.h (gfc_get_function_type): Add optional argument.
    * trans.h (gfc_get_extern_function_decl): Add optional argument.

2019-02-18  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR fortran/87689
    * gfortran.dg/lto/20091028-1_0.f90: Add -Wno-lto-type-mismatch to
    options.
    * gfortran.dg/lto/20091028-2_0.f90: Likewise.
    * gfortran.dg/lto/pr87689_0.f: New file.
    * gfortran.dg/lto/pr87689_1.f: New file.


Added:
    trunk/gcc/testsuite/gfortran.dg/lto/pr87689_0.f
    trunk/gcc/testsuite/gfortran.dg/lto/pr87689_1.f
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-decl.c
    trunk/gcc/fortran/trans-expr.c
    trunk/gcc/fortran/trans-types.c
    trunk/gcc/fortran/trans-types.h
    trunk/gcc/fortran/trans.h
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/lto/20091028-1_0.f90
    trunk/gcc/testsuite/gfortran.dg/lto/20091028-2_0.f90
>From gcc-bugs-return-634123-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 18:49:18 2019
Return-Path: <gcc-bugs-return-634123-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23926 invoked by alias); 18 Feb 2019 18:49: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 22271 invoked by uid 48); 18 Feb 2019 18:49:11 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89390] New: [9 Regression] ICE in get_string, at spellcheck-tree.h:46
Date: Mon, 18 Feb 2019 18:49: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: gscfq@t-online.de
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-89390-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: 2019-02/txt/msg02425.txt.bz2
Content-length: 2561

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89390

            Bug ID: 89390
           Summary: [9 Regression] ICE in get_string, at
                    spellcheck-tree.h:46
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Changed between 20181125 and 20181202 :


$ cat z1.cc
enum class a { };
void f ()
{
  a::~a()
}


$ g++-9-20181125 -c z1.cc
In function 'void f()':
cc1plus: error: '~a' is not a member of 'a'


$ g++-9-20190217 -c z1.cc
z1.cc: In function 'void f()':
z1.cc:4:7: internal compiler error: in get_string, at spellcheck-tree.h:46
    4 |   a::~a()
      |       ^
0x69446a edit_distance_traits<tree_node*>::get_string(tree_node*)
        ../../gcc/spellcheck-tree.h:46
0x69446a best_match<tree_node*, char const*>::best_match(tree_node*, unsigned
int)
        ../../gcc/spellcheck.h:95
0x69446a suggest_alternative_in_scoped_enum(tree_node*, tree_node*)
        ../../gcc/cp/name-lookup.c:5945
0x662bac qualified_name_lookup_error(tree_node*, tree_node*, tree_node*,
unsigned int)
        ../../gcc/cp/error.c:4280
0x71e2ab finish_id_expression_1
        ../../gcc/cp/semantics.c:3609
0x71e2ab finish_id_expression(tree_node*, tree_node*, tree_node*, cp_id_kind*,
bool, bool, bool*, bool, bool, bool, bool, char const**, unsigned int)
        ../../gcc/cp/semantics.c:3906
0x6bae49 cp_parser_primary_expression
        ../../gcc/cp/parser.c:5712
0x6bfcf1 cp_parser_postfix_expression
        ../../gcc/cp/parser.c:7162
0x6cc015 cp_parser_unary_expression
        ../../gcc/cp/parser.c:8459
0x6a9fef cp_parser_cast_expression
        ../../gcc/cp/parser.c:9345
0x6aa7c2 cp_parser_binary_expression
        ../../gcc/cp/parser.c:9446
0x6ab559 cp_parser_assignment_expression
        ../../gcc/cp/parser.c:9742
0x6ab7e2 cp_parser_expression
        ../../gcc/cp/parser.c:9911
0x6ae544 cp_parser_expression_statement
        ../../gcc/cp/parser.c:11449
0x6b9669 cp_parser_statement
        ../../gcc/cp/parser.c:11245
0x6ba490 cp_parser_statement_seq_opt
        ../../gcc/cp/parser.c:11592
0x6ba53f cp_parser_compound_statement
        ../../gcc/cp/parser.c:11546
0x6d0d00 cp_parser_function_body
        ../../gcc/cp/parser.c:22562
0x6d0d00 cp_parser_ctor_initializer_opt_and_function_body
        ../../gcc/cp/parser.c:22599
0x6d0fe0 cp_parser_function_definition_after_declarator
        ../../gcc/cp/parser.c:27666
>From gcc-bugs-return-634124-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 18:53:24 2019
Return-Path: <gcc-bugs-return-634124-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118388 invoked by alias); 18 Feb 2019 18:53:19 -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 118188 invoked by uid 48); 18 Feb 2019 18:53:15 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89391] New: [9 Regression] ICE in build_target_expr_with_type, at cp/tree.c:795
Date: Mon, 18 Feb 2019 18:53: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: gscfq@t-online.de
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-89391-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: 2019-02/txt/msg02426.txt.bz2
Content-length: 2574

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89391

            Bug ID: 89391
           Summary: [9 Regression] ICE in build_target_expr_with_type, at
                    cp/tree.c:795
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Changed between 20180513 and 20180527 :


$ cat z1.cc
struct S { };
void f ()
{
  auto a = reinterpret_cast<S&&>(f());
}


$ g++-9-20180513 -c z1.cc
z1.cc: In function 'void f()':
z1.cc:4:37: error: invalid cast of an rvalue expression of type 'void' to type
'S&&'
   auto a = reinterpret_cast<S&&>(f());
                                     ^

$ g++-9-20190217 -c z1.cc
z1.cc: In function 'void f()':
z1.cc:4:37: internal compiler error: in build_target_expr_with_type, at
cp/tree.c:795
    4 |   auto a = reinterpret_cast<S&&>(f());
      |                                     ^
0x735f8e build_target_expr_with_type(tree_node*, tree_node*, int)
        ../../gcc/cp/tree.c:795
0x745452 build_reinterpret_cast_1
        ../../gcc/cp/typeck.c:7484
0x745863 build_reinterpret_cast(tree_node*, tree_node*, int)
        ../../gcc/cp/typeck.c:7676
0x6c035c cp_parser_postfix_expression
        ../../gcc/cp/parser.c:6876
0x6cc015 cp_parser_unary_expression
        ../../gcc/cp/parser.c:8459
0x6a9fef cp_parser_cast_expression
        ../../gcc/cp/parser.c:9345
0x6aa7c2 cp_parser_binary_expression
        ../../gcc/cp/parser.c:9446
0x6ab559 cp_parser_assignment_expression
        ../../gcc/cp/parser.c:9742
0x6aaf4d cp_parser_constant_expression
        ../../gcc/cp/parser.c:10026
0x6ab501 cp_parser_initializer_clause
        ../../gcc/cp/parser.c:22702
0x6aeabf cp_parser_initializer
        ../../gcc/cp/parser.c:22642
0x6d18ad cp_parser_init_declarator
        ../../gcc/cp/parser.c:20378
0x6b70be cp_parser_simple_declaration
        ../../gcc/cp/parser.c:13476
0x6b8be9 cp_parser_declaration_statement
        ../../gcc/cp/parser.c:12906
0x6b962f cp_parser_statement
        ../../gcc/cp/parser.c:11230
0x6ba490 cp_parser_statement_seq_opt
        ../../gcc/cp/parser.c:11592
0x6ba53f cp_parser_compound_statement
        ../../gcc/cp/parser.c:11546
0x6d0d00 cp_parser_function_body
        ../../gcc/cp/parser.c:22562
0x6d0d00 cp_parser_ctor_initializer_opt_and_function_body
        ../../gcc/cp/parser.c:22599
0x6d0fe0 cp_parser_function_definition_after_declarator
        ../../gcc/cp/parser.c:27666
>From gcc-bugs-return-634125-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 18:59:38 2019
Return-Path: <gcc-bugs-return-634125-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55013 invoked by alias); 18 Feb 2019 18:59: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 54914 invoked by uid 48); 18 Feb 2019 18:59:33 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89392] New: [7/8/9 Regression] ICE in bitmap_bit_p, at bitmap.c:978
Date: Mon, 18 Feb 2019 18:59: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: gscfq@t-online.de
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-89392-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: 2019-02/txt/msg02427.txt.bz2
Content-length: 1538

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89392

            Bug ID: 89392
           Summary: [7/8/9 Regression] ICE in bitmap_bit_p, at
                    bitmap.c:978
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Started with gcc-7 :


$ cat z1.cc
typedef struct {
  virtual void f () {}
} s;
s t;


$ g++-6 -c z1.cc -O1 -flto -fvtable-verify=std
$
$ g++-9-20190217 -c z1.cc -O0 -flto -fvtable-verify=std
$
$ g++-9-20190217 -c z1.cc -O1 -flto -fvtable-verify=std
during GIMPLE pass: ealias
z1.cc: In function '_GLOBAL__sub_I.00099_t':
z1.cc:4:4: internal compiler error: Segmentation fault
    4 | s t;
      |    ^
0xba166f crash_signal
        ../../gcc/toplev.c:326
0x7bdb4e bitmap_bit_p(bitmap_head*, int)
        ../../gcc/bitmap.c:978
0xd2c858 do_ds_constraint
        ../../gcc/tree-ssa-structalias.c:1713
0xd2c858 do_complex_constraint
        ../../gcc/tree-ssa-structalias.c:1811
0xd2c858 solve_graph
        ../../gcc/tree-ssa-structalias.c:2757
0xd34fba solve_constraints
        ../../gcc/tree-ssa-structalias.c:7218
0xd37263 compute_points_to_sets
        ../../gcc/tree-ssa-structalias.c:7275
0xd37263 compute_may_aliases()
        ../../gcc/tree-ssa-structalias.c:7638
0xadb711 execute_function_todo
        ../../gcc/passes.c:1949
0xadc7f2 execute_todo
        ../../gcc/passes.c:2031
>From gcc-bugs-return-634126-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 19:05:07 2019
Return-Path: <gcc-bugs-return-634126-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40966 invoked by alias); 18 Feb 2019 19:03: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 19599 invoked by uid 48); 18 Feb 2019 19:03:14 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89285] [8/9 Regression] ICE after casting the this pointer in the constructor in C++17 mode
Date: Mon, 18 Feb 2019 19:03: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: accepts-invalid, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: attachments.created
Message-ID: <bug-89285-4-TIAmFipmUp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89285-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89285-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: 2019-02/txt/msg02428.txt.bz2
Content-length: 314

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89285

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45752
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45752&action=edit
gcc9-pr89285.patch

Updated untested patch for the constexpr evaluation on pre-folding trees.
>From gcc-bugs-return-634127-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 19:46:19 2019
Return-Path: <gcc-bugs-return-634127-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39728 invoked by alias); 18 Feb 2019 19:46:18 -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 39367 invoked by uid 48); 18 Feb 2019 19:46:13 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87689] PowerPC64 ELFv2 function parameter passing violation
Date: Mon, 18 Feb 2019 19:46: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: patch, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87689-4-QrQJ1NGx10@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: 2019-02/txt/msg02429.txt.bz2
Content-length: 253

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87689

--- Comment #26 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Fixed on gcc 9 so far. I will backport this to the other
open branches, but only after the release of the next
version of gcc 8.3.
>From gcc-bugs-return-634128-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 20:00:50 2019
Return-Path: <gcc-bugs-return-634128-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106514 invoked by alias); 18 Feb 2019 20:00: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 106170 invoked by uid 48); 18 Feb 2019 20:00:45 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89390] [9 Regression] ICE in get_string, at spellcheck-tree.h:46
Date: Mon, 18 Feb 2019 20:00: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: bug_status cf_reconfirmed_on assigned_to everconfirmed attachments.created
Message-ID: <bug-89390-4-Ni3XLvQfD2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89390-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89390-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: 2019-02/txt/msg02430.txt.bz2
Content-length: 689

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89390

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-18
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45753
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45753&action=edit
gcc9-pr89390.patch

Untested fix.
>From gcc-bugs-return-634129-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 20:05:03 2019
Return-Path: <gcc-bugs-return-634129-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121804 invoked by alias); 18 Feb 2019 20:05: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 121616 invoked by uid 48); 18 Feb 2019 20:04:57 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89390] [9 Regression] ICE in get_string, at spellcheck-tree.h:46
Date: Mon, 18 Feb 2019 20:05: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-89390-4-41gpJrpVAX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89390-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89390-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: 2019-02/txt/msg02431.txt.bz2
Content-length: 378

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89390

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |9.0

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r266644.
>From gcc-bugs-return-634130-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 20:08:18 2019
Return-Path: <gcc-bugs-return-634130-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19402 invoked by alias); 18 Feb 2019 20:08:18 -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 19031 invoked by uid 48); 18 Feb 2019 20:08:12 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89391] [9 Regression] ICE in build_target_expr_with_type, at cp/tree.c:795
Date: Mon, 18 Feb 2019 20:08: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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 cc target_milestone everconfirmed
Message-ID: <bug-89391-4-5wMcB6uZKF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89391-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89391-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: 2019-02/txt/msg02432.txt.bz2
Content-length: 616

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89391

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-18
                 CC|                            |jakub at gcc dot gnu.org
   Target Milestone|---                         |9.0
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r260622.
>From gcc-bugs-return-634131-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 20:09:27 2019
Return-Path: <gcc-bugs-return-634131-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23665 invoked by alias); 18 Feb 2019 20:09: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 23455 invoked by uid 48); 18 Feb 2019 20:09:23 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89392] [7/8/9 Regression] ICE in bitmap_bit_p, at bitmap.c:978
Date: Mon, 18 Feb 2019 20:09: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: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc target_milestone
Message-ID: <bug-89392-4-wJ3bfSwrne@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89392-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89392-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: 2019-02/txt/msg02433.txt.bz2
Content-length: 364

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89392

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org
   Target Milestone|---                         |7.5
>From gcc-bugs-return-634132-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 20:30:54 2019
Return-Path: <gcc-bugs-return-634132-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73074 invoked by alias); 18 Feb 2019 20:30: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 72174 invoked by uid 48); 18 Feb 2019 20:30:30 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89391] [9 Regression] ICE in build_target_expr_with_type, at cp/tree.c:795
Date: Mon, 18 Feb 2019 20:30: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: attachments.created
Message-ID: <bug-89391-4-2LattRKmPn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89391-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89391-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: 2019-02/txt/msg02434.txt.bz2
Content-length: 253

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89391

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45754
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45754&action=edit
gcc9-pr89391.patch

Untested fix.
>From gcc-bugs-return-634133-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 20:49:40 2019
Return-Path: <gcc-bugs-return-634133-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73235 invoked by alias); 18 Feb 2019 20:49: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 73113 invoked by uid 48); 18 Feb 2019 20:49:35 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89384] [9 Regression] CONTIGUOUS dummy argument in BIND(C) interface incorrect when actual is non-contiguous
Date: Mon, 18 Feb 2019 20:49: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: 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: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89384-4-4rq78G9P60@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89384-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89384-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: 2019-02/txt/msg02435.txt.bz2
Content-length: 1505

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89384

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pault at gcc dot gnu.org

--- Comment #2 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
I did a bit more of bisecting, and it seems that r267881 is the one.

With that revision, the tree dump shows

ctg (struct array01_real(kind=4) & restrict x)
{
  integer(kind=8) ubound.0;
  integer(kind=8) stride.1;
  integer(kind=8) offset.2;
  integer(kind=8) size.3;
  real(kind=4)[0:D.2275] * restrict x.0;

[...]

      _gfortran_gfc_desc_to_cfi_desc (&cfi.11, &parm.10);
      ctg (cfi.11);
      _gfortran_cfi_desc_to_gfc_desc (&parm.10, &cfi.11);

whereas at r267880 we get

ctg (struct array01_real(kind=4) & restrict x)
{
  integer(kind=8) ubound.0;
  integer(kind=8) stride.1;

[...]

      D.2290 = _gfortran_internal_pack (&parm.10);
      parm.10.data = D.2290;
      ctg (&parm.10);
      parm.10.data = origptr.11;
      if ((real(kind=4)[0:] *) parm.10.data != (real(kind=4)[0:] *) D.2290)
        {
          _gfortran_internal_unpack (&parm.10, D.2290);
          __builtin_free (D.2290);
        }
    }

so it seems the pack/unpack is missing.  I'm also fairly
sure that the previous code would not have worked together with C
in the absence of ISO_Fortran_binding.h :-)
>From gcc-bugs-return-634134-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 20:59:02 2019
Return-Path: <gcc-bugs-return-634134-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114360 invoked by alias); 18 Feb 2019 20:59: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 114065 invoked by uid 48); 18 Feb 2019 20:58:57 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89387] [9 Regression] ICE in maybe_generic_this_capture at gcc/cp/lambda.c:945 since r268851
Date: Mon, 18 Feb 2019 20:59: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89387-4-rMspsGyGnW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89387-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89387-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: 2019-02/txt/msg02436.txt.bz2
Content-length: 253

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89387

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45755
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45755&action=edit
gcc9-pr89387.patch

Untested fix.
>From gcc-bugs-return-634135-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 21:34:18 2019
Return-Path: <gcc-bugs-return-634135-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29433 invoked by alias); 18 Feb 2019 21:34: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 29216 invoked by uid 48); 18 Feb 2019 21:34:13 -0000
From: "danglin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89393] New: [9 Regression] FAIL: g++.dg/abi/ref-temp1.C  -std=c++14  scan-assembler .weak(_definition)?[ \t]_?_ZGR1bIvE
Date: Mon, 18 Feb 2019 21:34: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: danglin 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 cf_gcchost cf_gcctarget cf_gccbuild attachments.created
Message-ID: <bug-89393-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: 2019-02/txt/msg02437.txt.bz2
Content-length: 2698

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89393

            Bug ID: 89393
           Summary: [9 Regression] FAIL: g++.dg/abi/ref-temp1.C
                    -std=c++14  scan-assembler .weak(_definition)?[
                    \t]_?_ZGR1bIvE
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
              Host: hppa2.0w-hp-hpux11.11
            Target: hppa2.0w-hp-hpux11.11
             Build: hppa2.0w-hp-hpux11.11

Created attachment 45756
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45756&action=edit
.s file

spawn /test/gnu/gcc/objdir/gcc/testsuite/g++/../../xg++
-B/test/gnu/gcc/objdir/g
cc/testsuite/g++/../../ /test/gnu/gcc/gcc/gcc/testsuite/g++.dg/abi/ref-temp1.C
-
fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-colo
r=never -nostdinc++
-I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/in
clude/hppa2.0w-hp-hpux11.11
-I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc
++-v3/include -I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++
-I/test/gnu/gcc/gcc/lib
stdc++-v3/include/backward -I/test/gnu/gcc/gcc/libstdc++-v3/testsuite/util
-fmes
sage-length=0 -std=c++14 -pedantic-errors -Wno-long-long --save-temps
-fno-ident
 -S -o ref-temp1.s
PASS: g++.dg/abi/ref-temp1.C  -std=c++14 (test for excess errors)
FAIL: g++.dg/abi/ref-temp1.C  -std=c++14  scan-assembler .weak(_definition)?[
\t]_?_ZGR1bIvE_
FAIL: g++.dg/abi/ref-temp1.C  -std=c++14  scan-assembler .weak(_definition)?[
\t]_?_ZGR1bIvE0_
FAIL: g++.dg/abi/ref-temp1.C  -std=c++14  scan-assembler .weak(_definition)?[
\t]_?_ZGR1bIvE1_
FAIL: g++.dg/abi/ref-temp1.C  -std=c++14  scan-assembler .weak(_definition)?[
\t]_?_ZGR1bIvE2_
PASS: g++.dg/abi/ref-temp1.C  -std=c++14  scan-assembler
_ZGR1bIvE_:\n[^\n]+_ZGR1bIvE0_
PASS: g++.dg/abi/ref-temp1.C  -std=c++14  scan-assembler
_ZGR1bIvE0_:\n[^\n]+_ZGR1bIvE1_
PASS: g++.dg/abi/ref-temp1.C  -std=c++14  scan-assembler _ZGR1bIvE1_:\n[^\n]+[
\t]1
PASS: g++.dg/abi/ref-temp1.C  -std=c++14  scan-assembler _ZGR1bIvE2_:\n[^\n]+[
\t]4

Revision 268241 was okay.

Similar fails:

FAIL: g++.dg/abi/ref-temp1.C  -std=c++17  scan-assembler .weak(_definition)?[
\\t]_?_ZGR1bIvE_
FAIL: g++.dg/abi/ref-temp1.C  -std=c++17  scan-assembler .weak(_definition)?[
\\t]_?_ZGR1bIvE0_
FAIL: g++.dg/abi/ref-temp1.C  -std=c++17  scan-assembler .weak(_definition)?[
\\t]_?_ZGR1bIvE1_
FAIL: g++.dg/abi/ref-temp1.C  -std=c++17  scan-assembler .weak(_definition)?[
\\t]_?_ZGR1bIvE2_
>From gcc-bugs-return-634136-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 21:50:02 2019
Return-Path: <gcc-bugs-return-634136-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100412 invoked by alias); 18 Feb 2019 21:50: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 100047 invoked by uid 48); 18 Feb 2019 21:49:57 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89384] [9 Regression] CONTIGUOUS dummy argument in BIND(C) interface incorrect when actual is non-contiguous
Date: Mon, 18 Feb 2019 21:50: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: 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: P4
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-89384-4-37Ykd5iM4D@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89384-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89384-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: 2019-02/txt/msg02438.txt.bz2
Content-length: 1033

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89384

--- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
This simple (too simple?) patch seems to fix things:

Index: trans-expr.c
===================================================================
--- trans-expr.c        (Revision 268992)
+++ trans-expr.c        (Arbeitskopie)
@@ -4944,7 +4944,12 @@ gfc_conv_gfc_desc_to_cfi_desc (gfc_se *parmse, gfc

   if (e->rank != 0)
     {
-      gfc_conv_expr_descriptor (parmse, e);
+      if (fsym->attr.contiguous
+         && !gfc_is_simply_contiguous (e, false, true))
+       gfc_conv_subref_array_arg (parmse, e, false, fsym->attr.intent,
+                                  fsym->attr.pointer);
+      else
+       gfc_conv_expr_descriptor (parmse, e);

       if (POINTER_TYPE_P (TREE_TYPE (parmse->expr)))
        parmse->expr = build_fold_indirect_ref_loc (input_location,
>From gcc-bugs-return-634137-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 23:02:16 2019
Return-Path: <gcc-bugs-return-634137-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16830 invoked by alias); 18 Feb 2019 23:02: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 16475 invoked by uid 48); 18 Feb 2019 23:02:11 -0000
From: "jsm28 at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89357] alignas for automatic variables with alignment greater than 16 fails
Date: Mon, 18 Feb 2019 23:02: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: accepts-invalid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 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: component
Message-ID: <bug-89357-4-xeJjFHOzmS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89357-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89357-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: 2019-02/txt/msg02439.txt.bz2
Content-length: 808

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89357

Joseph S. Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |c++

--- Comment #1 from Joseph S. Myers <jsm28 at gcc dot gnu.org> ---
The given test is C++, not C.  I can't reproduce this issue with a C test; my
expectation is that both _Alignas and __attribute__ ((aligned ())) should
accept arbitrarily high alignments for automatic storage duration, which
appears to be the case for C (if there were a bug I'd expect it to be
rejects-valid not accepts-invalid).

If you (Richard) think this is a C bug, please give a specific C testcase,
target and options used to compile it.
>From gcc-bugs-return-634138-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 23:31:02 2019
Return-Path: <gcc-bugs-return-634138-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30984 invoked by alias); 18 Feb 2019 23:31: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 26978 invoked by uid 55); 18 Feb 2019 23:30:35 -0000
From: "ibuclaw at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug d/88127] Many gdc.dg testsuite failures due to undefined reference to qsort_r
Date: Mon, 18 Feb 2019 23:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: d
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ibuclaw at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88127-4-wtWN4sy1hU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88127-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88127-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: 2019-02/txt/msg02440.txt.bz2
Content-length: 1236

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88127

--- Comment #3 from ibuclaw at gcc dot gnu.org ---
Author: ibuclaw
Date: Mon Feb 18 23:29:39 2019
New Revision: 268999

URL: https://gcc.gnu.org/viewcvs?rev=268999&root=gcc&view=rev
Log:
libphobos: Detect if qsort_r is available

Merges upstream druntime bbfb58e8.

libphobos/ChangeLog:

2019-02-19  Johannes Pfau  <johannespfau@gmail.com>

        PR d/88127
        * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_CLIB): Add new macro.
        * configure.ac: Use DRUNTIME_LIBRARIES_CLIB.
        * configure: Regenerate
        * Makefile.in: Regenerate
        * libdruntime/gcc/config.d.in: Add Have_Qsort_R.
        * libdruntime/Makefile.in: Regenerate.
        * src/Makefile.in: Regenerate.
        * testsuite/Makefile.in: Regenerate.

Modified:
    trunk/libphobos/ChangeLog
    trunk/libphobos/Makefile.in
    trunk/libphobos/configure
    trunk/libphobos/configure.ac
    trunk/libphobos/libdruntime/MERGE
    trunk/libphobos/libdruntime/Makefile.in
    trunk/libphobos/libdruntime/gcc/config.d.in
    trunk/libphobos/libdruntime/rt/qsort.d
    trunk/libphobos/m4/druntime/libraries.m4
    trunk/libphobos/src/Makefile.in
    trunk/libphobos/testsuite/Makefile.in
>From gcc-bugs-return-634139-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 18 23:31:52 2019
Return-Path: <gcc-bugs-return-634139-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34545 invoked by alias); 18 Feb 2019 23:31: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 34312 invoked by uid 48); 18 Feb 2019 23:31:48 -0000
From: "ibuclaw at gdcproject dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug d/88127] Many gdc.dg testsuite failures due to undefined reference to qsort_r
Date: Mon, 18 Feb 2019 23:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: d
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ibuclaw at gdcproject dot org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-88127-4-Zurk00ZMq1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88127-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88127-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: 2019-02/txt/msg02441.txt.bz2
Content-length: 448

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88127

Iain Buclaw <ibuclaw at gdcproject dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
This should be fixed now.
>From gcc-bugs-return-634140-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 00:23:23 2019
Return-Path: <gcc-bugs-return-634140-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88589 invoked by alias); 19 Feb 2019 00:23: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 88308 invoked by uid 48); 19 Feb 2019 00:23:17 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89389] inlining failed in call to always_inline -- removing attribute leaves function inlined
Date: Tue, 19 Feb 2019 00:23: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: 5.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-89389-4-4DnlaUhGWc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89389-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89389-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: 2019-02/txt/msg02442.txt.bz2
Content-length: 547

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89389

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2019-02-19
     Ever confirmed|0                           |1

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Waiting on the preprocessed source because it is hard debug without it.
>From gcc-bugs-return-634141-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 00:48:56 2019
Return-Path: <gcc-bugs-return-634141-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56039 invoked by alias); 19 Feb 2019 00:48:56 -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 55920 invoked by uid 48); 19 Feb 2019 00:48:51 -0000
From: "law at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/87761] [9 regression][MIPS] New FAIL: gcc.target/mips/fix-r4000-10.c   -O1 start with r265398
Date: Tue, 19 Feb 2019 00:48: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: law at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-87761-4-iYqoDpAaZb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87761-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87761-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: 2019-02/txt/msg02443.txt.bz2
Content-length: 1158

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87761

--- Comment #12 from Jeffrey A. Law <law at redhat dot com> ---
octeon-exts-3 can be fixed with a relatively simple pattern in mips.md or with
a bit of code in combine.c.

fix-r4000-10.c is more interesting.  Hard register propagation does its thing
and exposes a bit of dead code.  Removing that dead code in turn exposes
additional hard register propagation opportunities, which then exposes more
dead code.  But running those passes in their entirety seems horribly
heavyweight for this issue.  Particularly since the test goes out of its way to
disable lower-subreg.

We had another BZ in this cycle where post-reload splitting exposed dead code. 
So we might be able to make a case for RTL DCE after splitting (or have some
gross mips.md patterns to avoid the dead code).  That would help some.  But to
really fix this hard register cprop would have to discover at least the trivial
cases where its actions expose dead code, remove the dead code and reprocess
the block.  I'm still not sure how wise such hacks to hard register cprop would
be.

I haven't dug into fpr-moves-5.c yet.
>From gcc-bugs-return-634142-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 01:02:27 2019
Return-Path: <gcc-bugs-return-634142-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62678 invoked by alias); 19 Feb 2019 01:02:26 -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 60912 invoked by uid 55); 19 Feb 2019 01:02:22 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89336] internal compiler error when compiling a constexpr function
Date: Tue, 19 Feb 2019 01:02: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: jason 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-89336-4-zUEnLOrGTt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89336-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89336-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: 2019-02/txt/msg02444.txt.bz2
Content-length: 811

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89336

--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Feb 19 01:01:50 2019
New Revision: 269003

URL: https://gcc.gnu.org/viewcvs?rev=269003&root=gcc&view=rev
Log:
        PR c++/89336 - multiple stores in constexpr stmt.

If we evaluate the RHS in the context of the LHS, that evaluation might
change the LHS in ways that mess with being able to store the value later.
So for assignment or scalar values, evaluate the RHS first.

        * constexpr.c (cxx_eval_store_expression): Preevaluate scalar or
        assigned value.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/constexpr-89336-1.C
    trunk/gcc/testsuite/g++.dg/cpp1y/constexpr-89336-2.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/constexpr.c
>From gcc-bugs-return-634143-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 03:22:52 2019
Return-Path: <gcc-bugs-return-634143-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21503 invoked by alias); 19 Feb 2019 03:22: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 21000 invoked by uid 48); 19 Feb 2019 03:22:38 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89337] Bogus "exceeds maximum object size" on unreachable code
Date: Tue, 19 Feb 2019 03:22: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: 9.0
X-Bugzilla-Keywords: diagnostic
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:
Message-ID: <bug-89337-4-mbCjYNwsoD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89337-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89337-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: 2019-02/txt/msg02445.txt.bz2
Content-length: 669

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89337

--- Comment #12 from Martin Sebor <msebor at gcc dot gnu.org> ---
One of the approaches we have been discussing is replacing these invalid calls
with __builtin_trap or __builtin_unreachable, perhaps optionally preceded by
__builtin_warning ("specified size exceeds maximum object size") which would be
issued if the code wasn't eliminated.  Command line options controlling the
choices would be provided.  This would work in some cases but probably not
those where the invalid value ends up constant-propagated after the new
statement has been introduced.  It's something to investigate/prototype for GCC
10.
>From gcc-bugs-return-634144-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 03:58:51 2019
Return-Path: <gcc-bugs-return-634144-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21436 invoked by alias); 19 Feb 2019 03:58: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 21262 invoked by uid 48); 19 Feb 2019 03:58:45 -0000
From: "urbanjost at comcast dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89344] uncaught programmer error:  polymorphic variable is INTENT(IN) but assigned to without error
Date: Tue, 19 Feb 2019 03:58: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.3.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: urbanjost at comcast dot net
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89344-4-7xozJKd0zn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89344-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89344-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: 2019-02/txt/msg02446.txt.bz2
Content-length: 130

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89344

--- Comment #5 from urbanjost at comcast dot net ---
That was fast. Thanks!
>From gcc-bugs-return-634145-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 05:08:46 2019
Return-Path: <gcc-bugs-return-634145-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75275 invoked by alias); 19 Feb 2019 05:08:46 -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 74666 invoked by uid 48); 19 Feb 2019 05:08:38 -0000
From: "spinpx at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/89394] New: libiberty :stack overflow in nm
Date: Tue, 19 Feb 2019 05:08: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: spinpx 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-89394-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: 2019-02/txt/msg02447.txt.bz2
Content-length: 35675

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89394

            Bug ID: 89394
           Summary: libiberty :stack overflow in nm
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: spinpx at gmail dot com
  Target Milestone: ---

Created attachment 45757
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45757&action=edit
inputs trigger bugs

reference from: https://sourceware.org/bugzilla/show_bug.cgi?id=24227

- Intel Xeon Gold 5118 processors and 256 GB memory
- Linux n18-065-139 4.19.0-1-amd64 #1 SMP Debian 4.19.12-1 (2018-12-22) x86_64
GNU/Linux
- clang version 4.0.0 (tags/RELEASE_400/final)
- version: commit commit 388a192d73df7439bf375d8b8042bb53a6be9c60
- run: nm -C input_file   (We attached the inputs that trigger the bug)
- asan report:
==1992137==ERROR: AddressSanitizer: stack-overflow on address 0x7ffc986fff68
(pc 0x0000008975c5 bp 0x7ffc987000a0 sp 0x7ffc986fff70 T0)
    #0 0x8975c4 in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4149:7
    #1 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #2 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #3 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #4 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #5 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #6 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #7 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #8 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #9 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #10 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #11 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #12 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #13 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #14 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #15 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #16 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #17 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #18 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #19 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #20 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #21 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #22 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #23 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #24 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #25 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #26 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #27 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #28 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #29 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #30 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #31 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #32 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #33 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #34 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #35 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #36 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #37 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #38 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #39 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #40 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #41 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #42 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #43 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #44 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #45 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #46 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #47 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #48 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #49 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #50 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #51 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #52 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #53 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #54 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #55 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #56 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #57 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #58 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #59 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #60 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #61 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #62 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #63 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #64 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #65 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #66 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #67 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #68 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #69 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #70 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #71 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #72 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #73 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #74 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #75 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #76 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #77 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #78 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #79 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #80 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #81 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #82 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #83 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #84 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #85 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #86 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #87 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #88 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #89 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #90 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #91 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #92 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #93 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #94 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #95 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #96 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #97 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #98 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #99 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #100 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #101 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #102 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #103 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #104 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #105 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #106 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #107 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #108 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #109 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #110 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #111 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #112 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #113 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #114 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #115 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #116 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #117 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #118 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #119 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #120 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #121 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #122 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #123 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #124 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #125 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #126 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #127 0x8975c9 in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4149:7
    #128 0x8975c9 in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4149:7
    #129 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #130 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #131 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #132 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #133 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #134 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #135 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #136 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #137 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #138 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #139 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #140 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #141 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #142 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #143 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #144 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #145 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #146 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #147 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #148 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #149 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #150 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #151 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #152 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #153 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #154 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #155 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #156 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #157 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #158 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #159 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #160 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #161 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #162 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #163 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #164 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #165 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #166 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #167 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #168 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #169 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #170 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #171 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #172 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #173 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #174 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #175 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #176 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #177 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #178 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #179 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #180 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #181 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #182 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #183 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #184 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #185 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #186 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #187 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #188 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #189 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #190 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #191 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #192 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #193 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #194 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #195 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #196 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #197 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #198 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #199 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #200 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #201 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #202 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #203 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #204 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #205 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #206 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #207 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #208 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #209 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #210 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #211 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #212 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #213 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #214 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #215 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #216 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #217 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #218 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #219 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #220 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #221 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #222 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #223 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #224 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #225 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #226 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #227 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #228 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #229 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #230 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #231 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #232 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #233 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #234 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #235 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #236 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #237 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #238 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #239 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #240 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #241 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #242 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #243 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #244 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #245 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #246 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #247 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #248 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7
    #249 0x89762f in d_count_templates_scopes
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4151:7

SUMMARY: AddressSanitizer: stack-overflow
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:4149:7
in d_count_templates_scopes
==1992137==ABORTING
>From gcc-bugs-return-634146-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 05:13:23 2019
Return-Path: <gcc-bugs-return-634146-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103720 invoked by alias); 19 Feb 2019 05:13: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 100395 invoked by uid 48); 19 Feb 2019 05:13:16 -0000
From: "spinpx at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/89395] New: libiberty: heap buffer overflow in nm
Date: Tue, 19 Feb 2019 05:13: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: spinpx 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-89395-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: 2019-02/txt/msg02448.txt.bz2
Content-length: 13147

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89395

            Bug ID: 89395
           Summary: libiberty: heap buffer overflow in nm
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: spinpx at gmail dot com
  Target Milestone: ---

Created attachment 45758
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45758&action=edit
inputs trigger bugs

reference: https://sourceware.org/bugzilla/show_bug.cgi?id=24229

- Intel Xeon Gold 5118 processors and 256 GB memory
- Linux n18-065-139 4.19.0-1-amd64 #1 SMP Debian 4.19.12-1 (2018-12-22) x86_64
GNU/Linux
- clang version 4.0.0 (tags/RELEASE_400/final)
- version: commit commit 388a192d73df7439bf375d8b8042bb53a6be9c60 (2019 Jan 24)
- run: nm -C input_file   (We attached the inputs that trigger the bug)
- asan report:

==2003322==ERROR: AddressSanitizer: heap-buffer-overflow on address
0x60e0000000d8 at pc 0x0000008957c6 bp 0x7ffdf2e36340 sp 0x7ffdf2e36338
READ of size 1 at 0x60e0000000d8 thread T0
    #0 0x8957c5 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3356:12
    #1 0x896370 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3449:16
    #2 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #3 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #4 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #5 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #6 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #7 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #8 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #9 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #10 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #11 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #12 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #13 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #14 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #15 0x896370 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3449:16
    #16 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #17 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #18 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #19 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #20 0x896370 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3449:16
    #21 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #22 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #23 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #24 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #25 0x89610c in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3416:18
    #26 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #27 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #28 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #29 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #30 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #31 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #32 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #33 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #34 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #35 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #36 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #37 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #38 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #39 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #40 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #41 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #42 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #43 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #44 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #45 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #46 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #47 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #48 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #49 0x896210 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3438:15
    #50 0x896370 in d_expression_1
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3449:16
    #51 0x889158 in d_expression
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3531:9
    #52 0x887a7d in d_array_type
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3011:13
    #53 0x883aa8 in cplus_demangle_type
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:2463:13
    #54 0x893cf5 in d_parmlist
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:2908:14
    #55 0x88e7a5 in d_bare_function_type
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:2962:8
    #56 0x8828eb in d_encoding
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:1343:16
    #57 0x88200d in cplus_demangle_mangled_name
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:1234:7
    #58 0x88c408 in d_demangle_callback
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:6292:7
    #59 0x88b8e6 in d_demangle
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:6343:12
    #60 0x88b753 in cplus_demangle_v3
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:6500:10
    #61 0x87f020 in cplus_demangle
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cplus-dem.c:165:13
    #62 0x517028 in bfd_demangle
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/bfd/bfd.c:2254:9
    #63 0x4f4214 in print_symname
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/binutils/nm.c:423:19
    #64 0x4f2e4e in print_symbol_info_bsd
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/binutils/nm.c:1565:3
    #65 0x4f9c36 in print_symbol
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/binutils/nm.c:903:3
    #66 0x4f7844 in print_symbols
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/binutils/nm.c:1102:7
    #67 0x4f5d3a in display_rel_file
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/binutils/nm.c:1215:5
    #68 0x4f2356 in display_file
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/binutils/nm.c:1335:7
    #69 0x4f1a97 in main
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/binutils/nm.c:1816:12
    #70 0x7f5777ae909a in __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x2409a)
    #71 0x41d5e9 in _start
(/mnt/raid/user/chenpeng/FuzzingBench/build/asan/install/bin/nm+0x41d5e9)

0x60e0000000d8 is located 0 bytes to the right of 152-byte region
[0x60e000000040,0x60e0000000d8)
allocated by thread T0 here:
    #0 0x4c42dc in malloc
/scratch/llvm/clang-4/xenial/final/llvm.src/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:66:3
    #1 0x52e4c5 in bfd_malloc
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/bfd/libbfd.c:275:9
    #2 0x516f6d in bfd_demangle
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/bfd/bfd.c:2246:24
    #3 0x4f4214 in print_symname
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/binutils/nm.c:423:19
    #4 0x4f2e4e in print_symbol_info_bsd
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/binutils/nm.c:1565:3
    #5 0x4f9c36 in print_symbol
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/binutils/nm.c:903:3
    #6 0x4f7844 in print_symbols
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/binutils/nm.c:1102:7
    #7 0x4f5d3a in display_rel_file
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/binutils/nm.c:1215:5
    #8 0x4f2356 in display_file
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/binutils/nm.c:1335:7
    #9 0x4f1a97 in main
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/binutils/nm.c:1816:12
    #10 0x7f5777ae909a in __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x2409a)

SUMMARY: AddressSanitizer: heap-buffer-overflow
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/cp-demangle.c:3356:12
in d_expression_1
Shadow bytes around the buggy address:
  0x0c1c7fff7fc0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0c1c7fff7fd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0c1c7fff7fe0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0c1c7fff7ff0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0c1c7fff8000: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00
=>0x0c1c7fff8010: 00 00 00 00 00 00 00 00 00 00 00[fa]fa fa fa fa
  0x0c1c7fff8020: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c1c7fff8030: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c1c7fff8040: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c1c7fff8050: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c1c7fff8060: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07 
  Heap left redzone:       fa
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
==2003322==ABORTING
>From gcc-bugs-return-634148-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 05:19:48 2019
Return-Path: <gcc-bugs-return-634148-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130800 invoked by alias); 19 Feb 2019 05:19: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 130471 invoked by uid 48); 19 Feb 2019 05:19:43 -0000
From: "spinpx at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/89395] libiberty: heap buffer overflow in nm
Date: Tue, 19 Feb 2019 05:19:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: spinpx 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:
Message-ID: <bug-89395-4-TbSjkbivMv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89395-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89395-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: 2019-02/txt/msg02450.txt.bz2
Content-length: 255

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89395

--- Comment #1 from Peng Chen <spinpx at gmail dot com> ---
the code is from binutils:
https://github.com/bminor/binutils-gdb/tree/master/libiberty
git commit: 388a192d73df7439bf375d8b8042bb53a6be9c60
>From gcc-bugs-return-634147-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 05:19:36 2019
Return-Path: <gcc-bugs-return-634147-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129741 invoked by alias); 19 Feb 2019 05:19: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 129598 invoked by uid 48); 19 Feb 2019 05:19:32 -0000
From: "spinpx at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/89394] libiberty :stack overflow in nm
Date: Tue, 19 Feb 2019 05:19:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: spinpx 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:
Message-ID: <bug-89394-4-HBzMnekTkt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89394-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89394-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: 2019-02/txt/msg02449.txt.bz2
Content-length: 255

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89394

--- Comment #1 from Peng Chen <spinpx at gmail dot com> ---
the code is from binutils:
https://github.com/bminor/binutils-gdb/tree/master/libiberty
git commit: 388a192d73df7439bf375d8b8042bb53a6be9c60
>From gcc-bugs-return-634149-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 05:42:33 2019
Return-Path: <gcc-bugs-return-634149-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77429 invoked by alias); 19 Feb 2019 05:42: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 77092 invoked by uid 48); 19 Feb 2019 05:42:27 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88049] [7/8/9 Regression] ICE in lto_symtab_prevailing_virtual_decl at gcc/lto/lto-symtab.c:1075 since r231671
Date: Tue, 19 Feb 2019 05: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, lto
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created
Message-ID: <bug-88049-4-m023ze7mhk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88049-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88049-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: 2019-02/txt/msg02451.txt.bz2
Content-length: 560

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88049

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Created attachment 45759
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45759&action=edit
patch

Like so.
>From gcc-bugs-return-634150-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 06:55:58 2019
Return-Path: <gcc-bugs-return-634150-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105208 invoked by alias); 19 Feb 2019 06:55:57 -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 104959 invoked by uid 48); 19 Feb 2019 06:55:53 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88368] [7/8/9 Regression] Improper ``use of deleted function''
Date: Tue, 19 Feb 2019 06:55: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.1
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-88368-4-QwQ8nGvjIk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88368-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88368-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: 2019-02/txt/msg02452.txt.bz2
Content-length: 378

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88368

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org
>From gcc-bugs-return-634151-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 08:39:33 2019
Return-Path: <gcc-bugs-return-634151-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123425 invoked by alias); 19 Feb 2019 08:39:32 -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 123171 invoked by uid 55); 19 Feb 2019 08:39:27 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89390] [9 Regression] ICE in get_string, at spellcheck-tree.h:46
Date: Tue, 19 Feb 2019 08:39: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89390-4-2WnTLVlEjw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89390-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89390-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: 2019-02/txt/msg02453.txt.bz2
Content-length: 616

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89390

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Feb 19 08:38:54 2019
New Revision: 269007

URL: https://gcc.gnu.org/viewcvs?rev=269007&root=gcc&view=rev
Log:
        PR c++/89390
        * error.c (qualified_name_lookup_error): Only call
        suggest_alternative_in_scoped_enum if name is IDENTIFIER_NODE.

        * g++.dg/diagnostic/pr89390.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/diagnostic/pr89390.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/error.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634152-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 08:40:44 2019
Return-Path: <gcc-bugs-return-634152-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128128 invoked by alias); 19 Feb 2019 08:40:43 -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 128043 invoked by uid 55); 19 Feb 2019 08:40:39 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89391] [9 Regression] ICE in build_target_expr_with_type, at cp/tree.c:795
Date: Tue, 19 Feb 2019 08:40: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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:
Message-ID: <bug-89391-4-m2FR1barzi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89391-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89391-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: 2019-02/txt/msg02454.txt.bz2
Content-length: 627

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89391

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Feb 19 08:40:07 2019
New Revision: 269008

URL: https://gcc.gnu.org/viewcvs?rev=269008&root=gcc&view=rev
Log:
        PR c++/89391
        * typeck.c (build_reinterpret_cast_1): Don't handle void to
        && conversion go through build_target_expr_with_type.

        * g++.dg/cpp0x/reinterpret_cast2.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/reinterpret_cast2.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634153-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 08:44:01 2019
Return-Path: <gcc-bugs-return-634153-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8052 invoked by alias); 19 Feb 2019 08:44: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 7831 invoked by uid 55); 19 Feb 2019 08:43:55 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89387] [9 Regression] ICE in maybe_generic_this_capture at gcc/cp/lambda.c:945 since r268851
Date: Tue, 19 Feb 2019 08:44: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89387-4-PRejh4OMSz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89387-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89387-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: 2019-02/txt/msg02455.txt.bz2
Content-length: 619

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89387

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Feb 19 08:43:23 2019
New Revision: 269009

URL: https://gcc.gnu.org/viewcvs?rev=269009&root=gcc&view=rev
Log:
        PR c++/89387
        * lambda.c (maybe_generic_this_capture): Don't check
        DECL_NONSTATIC_MEMBER_FUNCTION_P on USING_DECLs.

        * g++.dg/cpp0x/lambda/lambda-89387.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-89387.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/lambda.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634154-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 08:49:35 2019
Return-Path: <gcc-bugs-return-634154-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39353 invoked by alias); 19 Feb 2019 08:49: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 39119 invoked by uid 48); 19 Feb 2019 08:49:30 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89271] [9 Regression] gcc.target/powerpc/vsx-simode2.c stopped working in GCC 9
Date: Tue, 19 Feb 2019 08:49: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: missed-optimization, ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amodra at gmail dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: amodra at gmail dot com
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89271-4-qE6zoE2X2A@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89271-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89271-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: 2019-02/txt/msg02456.txt.bz2
Content-length: 729

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89271

--- Comment #5 from Alan Modra <amodra at gmail dot com> ---
Created attachment 45760
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45760&action=edit
Current set of patches

It turns out there is a lot more than just wrong register_move_cost.  This
patchset does fix the PR without introducing too many regressions, but it is a
work in progress.

I have some questions about union register classes:
1) What should register_move_cost return for a union class like GEN_OR_VSX_REGS
and some other class?  Worst case, best case, or doesn't it matter?
2) What should preferred_reload_class return for union classes?
Looking at other ports doesn't shed much light..
>From gcc-bugs-return-634155-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 08:56:06 2019
Return-Path: <gcc-bugs-return-634155-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14736 invoked by alias); 19 Feb 2019 08:55: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 14654 invoked by uid 48); 19 Feb 2019 08:55:55 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89393] [9 Regression] FAIL: g++.dg/abi/ref-temp1.C  -std=c++14  scan-assembler .weak(_definition)?[ \t]_?_ZGR1bIvE
Date: Tue, 19 Feb 2019 08:55: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: 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: target_milestone
Message-ID: <bug-89393-4-9C2ljHilNg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89393-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89393-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: 2019-02/txt/msg02457.txt.bz2
Content-length: 293

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89393

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |9.0
>From gcc-bugs-return-634156-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 08:58:03 2019
Return-Path: <gcc-bugs-return-634156-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23381 invoked by alias); 19 Feb 2019 08:58: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 23087 invoked by uid 55); 19 Feb 2019 08:57:58 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89303] [7 Regression] memory leak with shared_ptr and enable_shared_from_this
Date: Tue, 19 Feb 2019 08:58: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: 8.2.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89303-4-1ADSJxJCa0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg02458.txt.bz2
Content-length: 478

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89303

--- Comment #30 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Feb 19 08:57:24 2019
New Revision: 269010

URL: https://gcc.gnu.org/viewcvs?rev=269010&root=gcc&view=rev
Log:
        PR middle-end/89303
        * g++.dg/torture/pr89303.C: Move everything from std namespace to my
        namespace.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/torture/pr89303.C
>From gcc-bugs-return-634157-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 08:59:59 2019
Return-Path: <gcc-bugs-return-634157-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37754 invoked by alias); 19 Feb 2019 08:59: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 37447 invoked by uid 55); 19 Feb 2019 08:59:54 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89303] [7 Regression] memory leak with shared_ptr and enable_shared_from_this
Date: Tue, 19 Feb 2019 08:59: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: 8.2.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89303-4-PDkqnaZAi1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89303-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89303-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: 2019-02/txt/msg02459.txt.bz2
Content-length: 510

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89303

--- Comment #31 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Feb 19 08:59:21 2019
New Revision: 269011

URL: https://gcc.gnu.org/viewcvs?rev=269011&root=gcc&view=rev
Log:
        PR middle-end/89303
        * g++.dg/torture/pr89303.C: Move everything from std namespace to my
        namespace.

Modified:
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
    branches/gcc-8-branch/gcc/testsuite/g++.dg/torture/pr89303.C
>From gcc-bugs-return-634158-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 09:01:03 2019
Return-Path: <gcc-bugs-return-634158-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42281 invoked by alias); 19 Feb 2019 09:00: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 41773 invoked by uid 48); 19 Feb 2019 09:00:43 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/83118] [7/8/9 Regression] Bad intrinsic assignment of class(*) array component of derived type
Date: Tue, 19 Feb 2019 09:00: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.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: pault at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-83118-4-sU7WV4DahP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83118-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83118-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: 2019-02/txt/msg02460.txt.bz2
Content-length: 5227

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83118

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu.org

--- Comment #15 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
This seems totally broken on x86-64 too, see valgrind:

eric@polaris:~> valgrind ./unlimited_polymorphic_30 
==42237== Memcheck, a memory error detector
==42237== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==42237== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==42237== Command: ./unlimited_polymorphic_30
==42237== 
==42237== Conditional jump or move depends on uninitialised value(s)
==42237==    at 0x4013C7: MAIN__ (in /home/eric/unlimited_polymorphic_30)
==42237==    by 0x4023E6: main (in /home/eric/unlimited_polymorphic_30)
==42237== 
==42237== Invalid write of size 8
==42237==    at 0x40142B: MAIN__ (in /home/eric/unlimited_polymorphic_30)
==42237==    by 0x4023E6: main (in /home/eric/unlimited_polymorphic_30)
==42237==  Address 0x5768ac0 is 0 bytes inside a block of size 6 alloc'd
==42237==    at 0x4C2A0B0: malloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==42237==    by 0x401333: MAIN__ (in /home/eric/unlimited_polymorphic_30)
==42237==    by 0x4023E6: main (in /home/eric/unlimited_polymorphic_30)
==42237== 
==42237== Conditional jump or move depends on uninitialised value(s)
==42237==    at 0x401465: MAIN__ (in /home/eric/unlimited_polymorphic_30)
==42237==    by 0x4023E6: main (in /home/eric/unlimited_polymorphic_30)
==42237== 
==42237== Invalid read of size 8
==42237==    at 0x4013C1: MAIN__ (in /home/eric/unlimited_polymorphic_30)
==42237==    by 0x4023E6: main (in /home/eric/unlimited_polymorphic_30)
==42237==  Address 0x5768ac3 is 3 bytes inside a block of size 6 alloc'd
==42237==    at 0x4C2A0B0: malloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==42237==    by 0x401333: MAIN__ (in /home/eric/unlimited_polymorphic_30)
==42237==    by 0x4023E6: main (in /home/eric/unlimited_polymorphic_30)
==42237== 
==42237== Conditional jump or move depends on uninitialised value(s)
==42237==    at 0x401A6D: MAIN__ (in /home/eric/unlimited_polymorphic_30)
==42237==    by 0x4023E6: main (in /home/eric/unlimited_polymorphic_30)
==42237== 
==42237== Invalid read of size 8
==42237==    at 0x401A67: MAIN__ (in /home/eric/unlimited_polymorphic_30)
==42237==    by 0x4023E6: main (in /home/eric/unlimited_polymorphic_30)
==42237==  Address 0x5768ac4 is 4 bytes inside a block of size 6 alloc'd
==42237==    at 0x4C2A0B0: malloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==42237==    by 0x401333: MAIN__ (in /home/eric/unlimited_polymorphic_30)
==42237==    by 0x4023E6: main (in /home/eric/unlimited_polymorphic_30)
==42237== 
==42237== Invalid write of size 4
==42237==    at 0x4011DC: __copy_INTEGER_4_.3853 (in
/home/eric/unlimited_polymorphic_30)
==42237==    by 0x401B54: MAIN__ (in /home/eric/unlimited_polymorphic_30)
==42237==    by 0x4023E6: main (in /home/eric/unlimited_polymorphic_30)
==42237==  Address 0x5768ac4 is 4 bytes inside a block of size 6 alloc'd
==42237==    at 0x4C2A0B0: malloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==42237==    by 0x401333: MAIN__ (in /home/eric/unlimited_polymorphic_30)
==42237==    by 0x4023E6: main (in /home/eric/unlimited_polymorphic_30)
==42237== 
==42237== Conditional jump or move depends on uninitialised value(s)
==42237==    at 0x4022FC: foo.3898 (in /home/eric/unlimited_polymorphic_30)
==42237==    by 0x401B73: MAIN__ (in /home/eric/unlimited_polymorphic_30)
==42237==    by 0x4023E6: main (in /home/eric/unlimited_polymorphic_30)
==42237== 
==42237== Conditional jump or move depends on uninitialised value(s)
==42237==    at 0x4022FC: foo.3898 (in /home/eric/unlimited_polymorphic_30)
==42237==    by 0x401F42: MAIN__ (in /home/eric/unlimited_polymorphic_30)
==42237==    by 0x4023E6: main (in /home/eric/unlimited_polymorphic_30)

In particular:

x.v._data.data = (void * restrict) __builtin_malloc (6);

       D.1053 = (void *[0:] * restrict) x.v._data.data;

                *((void * *) D.1053 + (sizetype) (((S.8 + D.1059) + D.1054) *
(x.v._vptr->_size * MAX_EXPR <x.v._len, 1>))) = __builtin_malloc (MAX_EXPR
<(unsigned long) x.v._vptr->_size, 1>);

The second call to __builtin_malloc overwrites part of the address returned by
the first call (or yields SIGBUS on the SPARC).  There might be some confusion
about pointer arithmetics in the GENERIC code.
>From gcc-bugs-return-634159-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 09:02:49 2019
Return-Path: <gcc-bugs-return-634159-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49359 invoked by alias); 19 Feb 2019 09:02: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 49042 invoked by uid 48); 19 Feb 2019 09:02:42 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89391] [9 Regression] ICE in build_target_expr_with_type, at cp/tree.c:795
Date: Tue, 19 Feb 2019 09:02: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-invalid-code
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: 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-89391-4-3nf156K17s@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89391-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89391-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: 2019-02/txt/msg02461.txt.bz2
Content-length: 429

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89391

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-634160-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 09:03:06 2019
Return-Path: <gcc-bugs-return-634160-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50720 invoked by alias); 19 Feb 2019 09:03:04 -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 50501 invoked by uid 48); 19 Feb 2019 09:03:00 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89390] [9 Regression] ICE in get_string, at spellcheck-tree.h:46
Date: Tue, 19 Feb 2019 09:03: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-invalid-code
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: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89390-4-HA1mi0Dfe0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89390-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89390-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: 2019-02/txt/msg02462.txt.bz2
Content-length: 429

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89390

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-634161-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 09:04:47 2019
Return-Path: <gcc-bugs-return-634161-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56646 invoked by alias); 19 Feb 2019 09:04:46 -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 56409 invoked by uid 48); 19 Feb 2019 09:04:42 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82968] gfortran.dg/ieee/ieee_6.f90 fails at -O0
Date: Tue, 19 Feb 2019 09:04: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.0
X-Bugzilla-Keywords: wrong-code
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status
Message-ID: <bug-82968-4-A2t1qLRoLn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82968-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82968-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: 2019-02/txt/msg02463.txt.bz2
Content-length: 428

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82968

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Still present.  The type really needs to be properly aligned...
>From gcc-bugs-return-634162-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 09:05:04 2019
Return-Path: <gcc-bugs-return-634162-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57914 invoked by alias); 19 Feb 2019 09:05: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 57712 invoked by uid 48); 19 Feb 2019 09:04:59 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89392] [7/8/9 Regression] ICE in bitmap_bit_p, at bitmap.c:978
Date: Tue, 19 Feb 2019 09:05: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: 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed
Message-ID: <bug-89392-4-pjv26P9XC5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89392-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89392-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: 2019-02/txt/msg02464.txt.bz2
Content-length: 568

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89392

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-19
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Odd.
>From gcc-bugs-return-634163-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 09:09:43 2019
Return-Path: <gcc-bugs-return-634163-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72498 invoked by alias); 19 Feb 2019 09:09: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 72279 invoked by uid 48); 19 Feb 2019 09:09:38 -0000
From: "spinpx at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/89395] libiberty: heap buffer overflow in nm
Date: Tue, 19 Feb 2019 09:09:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: spinpx 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:
Message-ID: <bug-89395-4-BalqoF9yaU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89395-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89395-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: 2019-02/txt/msg02465.txt.bz2
Content-length: 199

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89395

--- Comment #2 from spinpx <spinpx at gmail dot com> ---
It can be reproduced in commit c72e75a64030b0f6535a80481f37968ad55c333a (Feb 19
2019)
>From gcc-bugs-return-634164-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 09:10:01 2019
Return-Path: <gcc-bugs-return-634164-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75460 invoked by alias); 19 Feb 2019 09:10: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 75087 invoked by uid 48); 19 Feb 2019 09:09:55 -0000
From: "spinpx at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/89394] libiberty :stack overflow in nm
Date: Tue, 19 Feb 2019 09:10:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: spinpx 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:
Message-ID: <bug-89394-4-eaUrA1EFZI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89394-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89394-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: 2019-02/txt/msg02466.txt.bz2
Content-length: 206

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89394

--- Comment #2 from spinpx <spinpx at gmail dot com> ---
It can be reproduced in bintuils commit
c72e75a64030b0f6535a80481f37968ad55c333a (Feb 19 2019)
>From gcc-bugs-return-634165-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 09:46:24 2019
Return-Path: <gcc-bugs-return-634165-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25266 invoked by alias); 19 Feb 2019 09:46:06 -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 11556 invoked by uid 48); 19 Feb 2019 09:45:46 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89392] [7/8/9 Regression] ICE in bitmap_bit_p, at bitmap.c:978
Date: Tue, 19 Feb 2019 09:46: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: 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89392-4-jaUbZC5qut@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89392-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89392-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: 2019-02/txt/msg02467.txt.bz2
Content-length: 1633

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89392

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
So the odd thing is that pta_obstack and bitmap_default_obstack seem to
allocate
from the same memory...

(gdb) p pta_obstack
$59 = {elements = 0x33fcaa8, heads = 0x33fca88, obstack = {chunk_size = 65536, 
    chunk = 0x33fc930, object_base = 0x33fcbd8 "", next_free = 0x33fcbd8 "", 
    chunk_limit = 0x340c930 "", temp = {i = 0, p = 0x0}, alignment_mask = 7, 
    chunkfun = {
      plain = 0x23844ac <mempool_obstack_chunk_alloc(unsigned long)>, extra = 
    0x23844ac <mempool_obstack_chunk_alloc(unsigned long)>}, freefun = {
      plain = 0x23844d7 <mempool_obstack_chunk_free(void*)>, extra = 
    0x23844d7 <mempool_obstack_chunk_free(void*)>}, extra_arg = 0x0, 
    use_extra_arg = 0, maybe_empty_object = 0, alloc_failed = 0}}
(gdb) p bitmap_default_obstack
$60 = {elements = 0x33fcb18, heads = 0x33fcb40, obstack = {chunk_size = 65536, 
    chunk = 0x33fc930, object_base = 0x33fca48 "", next_free = 0x33fca48 "", 
    chunk_limit = 0x340c930 "", temp = {i = 0, p = 0x0}, alignment_mask = 7, 
    chunkfun = {
      plain = 0x23844ac <mempool_obstack_chunk_alloc(unsigned long)>, extra = 
    0x23844ac <mempool_obstack_chunk_alloc(unsigned long)>}, freefun = {
      plain = 0x23844d7 <mempool_obstack_chunk_free(void*)>, extra = 
    0x23844d7 <mempool_obstack_chunk_free(void*)>}, extra_arg = 0x0, 
    use_extra_arg = 0, maybe_empty_object = 1, alloc_failed = 0}}
>From gcc-bugs-return-634166-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 09:49:08 2019
Return-Path: <gcc-bugs-return-634166-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67562 invoked by alias); 19 Feb 2019 09:48:56 -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 67258 invoked by uid 48); 19 Feb 2019 09:48:40 -0000
From: "spinpx at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/89396] New: objdump: Out of memory in objalloc.c
Date: Tue, 19 Feb 2019 09:48: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: spinpx 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-89396-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: 2019-02/txt/msg02468.txt.bz2
Content-length: 13638

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89396

            Bug ID: 89396
           Summary: objdump: Out of memory in objalloc.c
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: spinpx at gmail dot com
  Target Milestone: ---

Created attachment 45761
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45761&action=edit
input file trigger bugs

Has reported on https://sourceware.org/bugzilla/show_bug.cgi?id=24232.

- Intel Xeon Gold 5118 processors and 256 GB memory
- Linux n18-065-139 4.19.0-1-amd64 #1 SMP Debian 4.19.12-1 (2018-12-22) x86_64
GNU/Linux
- clang version 4.0.0 (tags/RELEASE_400/final)
- version: commit c72e75a64030b0f6535a80481f37968ad55c333a (Feb 19 2019)
- run objdump -x input_file

- asan report

==1221228==ERROR: AddressSanitizer failed to allocate 0xc0e4e83000
(828474142720) bytes of LargeMmapAllocator (error code: 12)
==1221228==Process memory map follows:
        0x000000400000-0x00000041d000  
/mnt/raid/user/chenpeng/FuzzingBench/build/asan/install/bin/objdump
        0x00000041d000-0x000000996000  
/mnt/raid/user/chenpeng/FuzzingBench/build/asan/install/bin/objdump
        0x000000996000-0x000000bc9000  
/mnt/raid/user/chenpeng/FuzzingBench/build/asan/install/bin/objdump
        0x000000bca000-0x000000bcb000  
/mnt/raid/user/chenpeng/FuzzingBench/build/asan/install/bin/objdump
        0x000000bcb000-0x000000c78000  
/mnt/raid/user/chenpeng/FuzzingBench/build/asan/install/bin/objdump
        0x000000c78000-0x0000018e9000   
        0x00007fff7000-0x00008fff7000   
        0x00008fff7000-0x02008fff7000   
        0x02008fff7000-0x10007fff8000   
        0x600000000000-0x602000000000   
        0x602000000000-0x602000010000   
        0x602000010000-0x602e00000000   
        0x602e00000000-0x602e00010000   
        0x602e00010000-0x603000000000   
        0x603000000000-0x603000010000   
        0x603000010000-0x603e00000000   
        0x603e00000000-0x603e00010000   
        0x603e00010000-0x604000000000   
        0x604000000000-0x604000010000   
        0x604000010000-0x604e00000000   
        0x604e00000000-0x604e00010000   
        0x604e00010000-0x606000000000   
        0x606000000000-0x606000010000   
        0x606000010000-0x606e00000000   
        0x606e00000000-0x606e00010000   
        0x606e00010000-0x607000000000   
        0x607000000000-0x607000010000   
        0x607000010000-0x607e00000000   
        0x607e00000000-0x607e00010000   
        0x607e00010000-0x608000000000   
        0x608000000000-0x608000010000   
        0x608000010000-0x608e00000000   
        0x608e00000000-0x608e00010000   
        0x608e00010000-0x60b000000000   
        0x60b000000000-0x60b000010000   
        0x60b000010000-0x60be00000000   
        0x60be00000000-0x60be00010000   
        0x60be00010000-0x60c000000000   
        0x60c000000000-0x60c000010000   
        0x60c000010000-0x60ce00000000   
        0x60ce00000000-0x60ce00010000   
        0x60ce00010000-0x60f000000000   
        0x60f000000000-0x60f000010000   
        0x60f000010000-0x60fe00000000   
        0x60fe00000000-0x60fe00010000   
        0x60fe00010000-0x610000000000   
        0x610000000000-0x610000010000   
        0x610000010000-0x610e00000000   
        0x610e00000000-0x610e00010000   
        0x610e00010000-0x611000000000   
        0x611000000000-0x611000010000   
        0x611000010000-0x611e00000000   
        0x611e00000000-0x611e00010000   
        0x611e00010000-0x612000000000   
        0x612000000000-0x612000010000   
        0x612000010000-0x612e00000000   
        0x612e00000000-0x612e00010000   
        0x612e00010000-0x614000000000   
        0x614000000000-0x614000010000   
        0x614000010000-0x614e00000000   
        0x614e00000000-0x614e00010000   
        0x614e00010000-0x616000000000   
        0x616000000000-0x616000010000   
        0x616000010000-0x616e00000000   
        0x616e00000000-0x616e00010000   
        0x616e00010000-0x618000000000   
        0x618000000000-0x618000010000   
        0x618000010000-0x618e00000000   
        0x618e00000000-0x618e00010000   
        0x618e00010000-0x619000000000   
        0x619000000000-0x619000010000   
        0x619000010000-0x619e00000000   
        0x619e00000000-0x619e00010000   
        0x619e00010000-0x61a000000000   
        0x61a000000000-0x61a000010000   
        0x61a000010000-0x61ae00000000   
        0x61ae00000000-0x61ae00010000   
        0x61ae00010000-0x61b000000000   
        0x61b000000000-0x61b000010000   
        0x61b000010000-0x61be00000000   
        0x61be00000000-0x61be00010000   
        0x61be00010000-0x61d000000000   
        0x61d000000000-0x61d000010000   
        0x61d000010000-0x61de00000000   
        0x61de00000000-0x61de00010000   
        0x61de00010000-0x61f000000000   
        0x61f000000000-0x61f000010000   
        0x61f000010000-0x61fe00000000   
        0x61fe00000000-0x61fe00010000   
        0x61fe00010000-0x621000000000   
        0x621000000000-0x621000010000   
        0x621000010000-0x621e00000000   
        0x621e00000000-0x621e00010000   
        0x621e00010000-0x624000000000   
        0x624000000000-0x624000010000   
        0x624000010000-0x624e00000000   
        0x624e00000000-0x624e00010000   
        0x624e00010000-0x640000000000   
        0x640000000000-0x640000003000   
        0x7f1aead66000-0x7f1aeb7e0000   /usr/lib/locale/locale-archive
        0x7f1aeb7e0000-0x7f1aeba00000   
        0x7f1aebb00000-0x7f1aebc00000   
        0x7f1aebc88000-0x7f1aebc9c000   
        0x7f1aebc9c000-0x7f1aebca3000  
/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
        0x7f1aebca3000-0x7f1aee05d000   
        0x7f1aee05d000-0x7f1aee07f000   /lib/x86_64-linux-gnu/libc-2.28.so
        0x7f1aee07f000-0x7f1aee1c7000   /lib/x86_64-linux-gnu/libc-2.28.so
        0x7f1aee1c7000-0x7f1aee213000   /lib/x86_64-linux-gnu/libc-2.28.so
        0x7f1aee213000-0x7f1aee214000   /lib/x86_64-linux-gnu/libc-2.28.so
        0x7f1aee214000-0x7f1aee218000   /lib/x86_64-linux-gnu/libc-2.28.so
        0x7f1aee218000-0x7f1aee21a000   /lib/x86_64-linux-gnu/libc-2.28.so
        0x7f1aee21a000-0x7f1aee21e000   
        0x7f1aee21e000-0x7f1aee221000   /lib/x86_64-linux-gnu/libgcc_s.so.1
        0x7f1aee221000-0x7f1aee232000   /lib/x86_64-linux-gnu/libgcc_s.so.1
        0x7f1aee232000-0x7f1aee235000   /lib/x86_64-linux-gnu/libgcc_s.so.1
        0x7f1aee235000-0x7f1aee236000   /lib/x86_64-linux-gnu/libgcc_s.so.1
        0x7f1aee236000-0x7f1aee237000   /lib/x86_64-linux-gnu/libgcc_s.so.1
        0x7f1aee237000-0x7f1aee238000   /lib/x86_64-linux-gnu/libgcc_s.so.1
        0x7f1aee238000-0x7f1aee239000   /lib/x86_64-linux-gnu/libdl-2.28.so
        0x7f1aee239000-0x7f1aee23a000   /lib/x86_64-linux-gnu/libdl-2.28.so
        0x7f1aee23a000-0x7f1aee23b000   /lib/x86_64-linux-gnu/libdl-2.28.so
        0x7f1aee23b000-0x7f1aee23c000   /lib/x86_64-linux-gnu/libdl-2.28.so
        0x7f1aee23c000-0x7f1aee23d000   /lib/x86_64-linux-gnu/libdl-2.28.so
        0x7f1aee23d000-0x7f1aee24a000   /lib/x86_64-linux-gnu/libm-2.28.so
        0x7f1aee24a000-0x7f1aee2e9000   /lib/x86_64-linux-gnu/libm-2.28.so
        0x7f1aee2e9000-0x7f1aee3be000   /lib/x86_64-linux-gnu/libm-2.28.so
        0x7f1aee3be000-0x7f1aee3bf000   /lib/x86_64-linux-gnu/libm-2.28.so
        0x7f1aee3bf000-0x7f1aee3c0000   /lib/x86_64-linux-gnu/libm-2.28.so
        0x7f1aee3c0000-0x7f1aee3c2000   /lib/x86_64-linux-gnu/librt-2.28.so
        0x7f1aee3c2000-0x7f1aee3c6000   /lib/x86_64-linux-gnu/librt-2.28.so
        0x7f1aee3c6000-0x7f1aee3c8000   /lib/x86_64-linux-gnu/librt-2.28.so
        0x7f1aee3c8000-0x7f1aee3c9000   /lib/x86_64-linux-gnu/librt-2.28.so
        0x7f1aee3c9000-0x7f1aee3ca000   /lib/x86_64-linux-gnu/librt-2.28.so
        0x7f1aee3ca000-0x7f1aee3d0000  
/lib/x86_64-linux-gnu/libpthread-2.28.so
        0x7f1aee3d0000-0x7f1aee3df000  
/lib/x86_64-linux-gnu/libpthread-2.28.so
        0x7f1aee3df000-0x7f1aee3e5000  
/lib/x86_64-linux-gnu/libpthread-2.28.so
        0x7f1aee3e5000-0x7f1aee3e6000  
/lib/x86_64-linux-gnu/libpthread-2.28.so
        0x7f1aee3e6000-0x7f1aee3e7000  
/lib/x86_64-linux-gnu/libpthread-2.28.so
        0x7f1aee3e7000-0x7f1aee3eb000   
        0x7f1aee3eb000-0x7f1aee3fa000   
        0x7f1aee3fa000-0x7f1aee3fb000   /lib/x86_64-linux-gnu/ld-2.28.so
        0x7f1aee3fb000-0x7f1aee419000   /lib/x86_64-linux-gnu/ld-2.28.so
        0x7f1aee419000-0x7f1aee421000   /lib/x86_64-linux-gnu/ld-2.28.so
        0x7f1aee421000-0x7f1aee422000   /lib/x86_64-linux-gnu/ld-2.28.so
        0x7f1aee422000-0x7f1aee423000   /lib/x86_64-linux-gnu/ld-2.28.so
        0x7f1aee423000-0x7f1aee424000   
        0x7ffe9be34000-0x7ffe9be55000   [stack]
        0x7ffe9bec2000-0x7ffe9bec5000   [vvar]
        0x7ffe9bec5000-0x7ffe9bec7000   [vdso]
==1221228==End of process memory map.
==1221228==AddressSanitizer CHECK failed:
/scratch/llvm/clang-4/xenial/final/llvm.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_common.cc:120
"((0 && "unable to mmap")) != (0)" (0x0, 0x0)
    #0 0x4cbcef in __asan::AsanCheckFailed(char const*, int, char const*,
unsigned long long, unsigned long long)
/scratch/llvm/clang-4/xenial/final/llvm.src/projects/compiler-rt/lib/asan/asan_rtl.cc:69:3
    #1 0x4df64f in __sanitizer::CheckFailed(char const*, int, char const*,
unsigned long long, unsigned long long)
/scratch/llvm/clang-4/xenial/final/llvm.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_termination.cc:79:5
    #2 0x4d0c5e in __sanitizer::ReportMmapFailureAndDie(unsigned long, char
const*, char const*, int, bool)
/scratch/llvm/clang-4/xenial/final/llvm.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_common.cc:120:3
    #3 0x4d967b in __sanitizer::MmapOrDie(unsigned long, char const*, bool)
/scratch/llvm/clang-4/xenial/final/llvm.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix.cc:132:5
    #4 0x421e54 in
__sanitizer::LargeMmapAllocator<__asan::AsanMapUnmapCallback>::Allocate(__sanitizer::AllocatorStats*,
unsigned long, unsigned long)
/scratch/llvm/clang-4/xenial/final/llvm.src/projects/compiler-rt/lib/asan/../sanitizer_common/sanitizer_allocator_secondary.h:41:9
    #5 0x421c08 in
__sanitizer::CombinedAllocator<__sanitizer::SizeClassAllocator64<__asan::AP64>,
__sanitizer::SizeClassAllocatorLocalCache<__sanitizer::SizeClassAllocator64<__asan::AP64>
>, __sanitizer::LargeMmapAllocator<__asan::AsanMapUnmapCallback>
>::Allocate(__sanitizer::SizeClassAllocatorLocalCache<__sanitizer::SizeClassAllocator64<__asan::AP64>
>*, unsigned long, unsigned long, bool, bool)
/scratch/llvm/clang-4/xenial/final/llvm.src/projects/compiler-rt/lib/asan/../sanitizer_common/sanitizer_allocator_combined.h:70:24
    #6 0x41f0bf in __asan::Allocator::Allocate(unsigned long, unsigned long,
__sanitizer::BufferedStackTrace*, __asan::AllocType, bool)
/scratch/llvm/clang-4/xenial/final/llvm.src/projects/compiler-rt/lib/asan/asan_allocator.cc:407:21
    #7 0x4c43f0 in malloc
/scratch/llvm/clang-4/xenial/final/llvm.src/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:67:10
    #8 0x9929a0 in _objalloc_alloc
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/objalloc.c:143:22
    #9 0x60d790 in bfd_alloc
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/bfd/opncls.c:949:9
    #10 0x60d85f in bfd_alloc2
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/bfd/opncls.c:978:10
    #11 0x69faac in setup_group
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/bfd/elf.c:658:9
    #12 0x69c092 in _bfd_elf_make_section_from_shdr
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/bfd/elf.c:1053:10
    #13 0x6acbfd in bfd_section_from_shdr
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/bfd/elf.c:2066:13
    #14 0x6afb52 in bfd_section_from_shdr
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/bfd/elf.c:2311:11
    #15 0x688d3f in bfd_elf64_object_p
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/bfd/elfcode.h:818:7
    #16 0x5ffb25 in bfd_check_format_matches
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/bfd/format.c:315:14
    #17 0x4f4c5f in display_object_bfd
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/binutils/objdump.c:3881:7
    #18 0x4f4b67 in display_any_bfd
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/binutils/objdump.c:3973:5
    #19 0x4f424a in display_file
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/binutils/objdump.c:3994:3
    #20 0x4f3ab0 in main
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/binutils/objdump.c:4304:6
    #21 0x7f1aee08109a in __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x2409a)
    #22 0x41d639 in _start
(/mnt/raid/user/chenpeng/FuzzingBench/build/asan/install/bin/objdump+0x41d639)
>From gcc-bugs-return-634167-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 09:50:09 2019
Return-Path: <gcc-bugs-return-634167-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71386 invoked by alias); 19 Feb 2019 09:50: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 71188 invoked by uid 48); 19 Feb 2019 09:50:05 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89397] New: [7/8/9 Regression] ICE in build_call_expr_loc_array at gcc/tree.c:11563 since r229082
Date: Tue, 19 Feb 2019 09:50: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: unknown
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 target_milestone
Message-ID: <bug-89397-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: 2019-02/txt/msg02469.txt.bz2
Content-length: 3061

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89397

            Bug ID: 89397
           Summary: [7/8/9 Regression] ICE in build_call_expr_loc_array at
                    gcc/tree.c:11563 since r229082
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---

Following is causing ICE:

$ cat atomic.c
_Atomic double a;
int b;

void c() { a += b; }

$ gcc -mfpmath=sse,387 -msoft-float -mno-sse -c atomic.c
atomic.c: In function ‘c’:
atomic.c:4:1: internal compiler error: Segmentation fault
    4 | void c() { a += b; }
      | ^~~~
0xd1194f crash_signal
        /home/marxin/Programming/gcc/gcc/toplev.c:326
0x7ffff7b79e0f ???
       
/usr/src/debug/glibc-2.29-1.3.x86_64/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0xfa6488 contains_struct_check(tree_node*, tree_node_structure_enum, char
const*, int, char const*)
        /home/marxin/Programming/gcc/gcc/tree.h:3289
0xfa6488 build_call_expr_loc_array(unsigned int, tree_node*, int, tree_node**)
        /home/marxin/Programming/gcc/gcc/tree.c:11563
0xfa66c1 build_call_expr(tree_node*, int, ...)
        /home/marxin/Programming/gcc/gcc/tree.c:11613
0x102556c ix86_atomic_assign_expand_fenv
        /home/marxin/Programming/gcc/gcc/config/i386/i386.c:50733
0x7d5a23 build_atomic_assign
        /home/marxin/Programming/gcc/gcc/c/c-typeck.c:4228
0x7e37f1 build_modify_expr(unsigned int, tree_node*, tree_node*, tree_code,
unsigned int, tree_node*, tree_node*)
        /home/marxin/Programming/gcc/gcc/c/c-typeck.c:6204
0x7fd78e c_parser_expr_no_commas
        /home/marxin/Programming/gcc/gcc/c/c-parser.c:6721
0x7fd902 c_parser_expression
        /home/marxin/Programming/gcc/gcc/c/c-parser.c:9727
0x7fe006 c_parser_expression_conv
        /home/marxin/Programming/gcc/gcc/c/c-parser.c:9760
0x80d66f c_parser_statement_after_labels
        /home/marxin/Programming/gcc/gcc/c/c-parser.c:5610
0x80f4ee c_parser_compound_statement_nostart
        /home/marxin/Programming/gcc/gcc/c/c-parser.c:5148
0x80fc76 c_parser_compound_statement
        /home/marxin/Programming/gcc/gcc/c/c-parser.c:4982
0x81138a c_parser_declaration_or_fndef
        /home/marxin/Programming/gcc/gcc/c/c-parser.c:2354
0x8183bf c_parser_external_declaration
        /home/marxin/Programming/gcc/gcc/c/c-parser.c:1653
0x818c09 c_parser_translation_unit
        /home/marxin/Programming/gcc/gcc/c/c-parser.c:1534
0x818c09 c_parse_file()
        /home/marxin/Programming/gcc/gcc/c/c-parser.c:19842
0x86c5b0 c_common_parse_file()
        /home/marxin/Programming/gcc/gcc/c-family/c-opts.c:1155

Before the revision it was rejected with:

atomic2.c: In function ‘func’:
atomic2.c:49:8: error: x87 register return with x87 disabled
   ald1 = d1;
        ^
atomic2.c:51:8: error: SSE register return with SSE disabled
   acd1 += ab1;
        ^
>From gcc-bugs-return-634168-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 09:50:48 2019
Return-Path: <gcc-bugs-return-634168-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77947 invoked by alias); 19 Feb 2019 09:50: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 76129 invoked by uid 48); 19 Feb 2019 09:50:39 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89397] [7/8/9 Regression] ICE in build_call_expr_loc_array at gcc/tree.c:11563 since r229082
Date: Tue, 19 Feb 2019 09:50: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-invalid-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: keywords cf_reconfirmed_on cc cf_known_to_work version target_milestone cf_known_to_fail
Message-ID: <bug-89397-4-NlA7OE0CB5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89397-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89397-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: 2019-02/txt/msg02470.txt.bz2
Content-length: 741

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89397

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code
   Last reconfirmed|                            |2019-2-19
                 CC|                            |hjl at gnu dot org,
                   |                            |jakub at gcc dot gnu.org
      Known to work|                            |6.4.0
            Version|unknown                     |9.0
   Target Milestone|---                         |9.0
      Known to fail|                            |7.4.0, 8.2.0, 9.0
>From gcc-bugs-return-634169-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 09:53:12 2019
Return-Path: <gcc-bugs-return-634169-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84806 invoked by alias); 19 Feb 2019 09:53: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 84595 invoked by uid 48); 19 Feb 2019 09:53:08 -0000
From: "jungmin.song at nuance dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89329] "-O2" optimization causes a infinite loop
Date: Tue, 19 Feb 2019 09: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: 7.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jungmin.song at nuance dot com
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-89329-4-UFRdnxnThp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89329-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89329-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: 2019-02/txt/msg02471.txt.bz2
Content-length: 396

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89329

--- Comment #2 from Jungmin Song <jungmin.song at nuance dot com> ---
My understanding is that the compiler with O2 assumes that 'i' should be under
ARR_MAX becuase there was undifend behavior, if it was not.
Would you please point me to where is is in C standard? Becuase I'm not much
faiilar with that part, it would be very appreciated.
>From gcc-bugs-return-634170-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 09:53:34 2019
Return-Path: <gcc-bugs-return-634170-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87715 invoked by alias); 19 Feb 2019 09:53: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 87159 invoked by uid 48); 19 Feb 2019 09:53:28 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89392] [7/8/9 Regression] ICE in bitmap_bit_p, at bitmap.c:978
Date: Tue, 19 Feb 2019 09: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: ice-on-valid-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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89392-4-maPyV1dIRp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89392-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89392-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: 2019-02/txt/msg02472.txt.bz2
Content-length: 2950

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89392

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cmtice at google dot com

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
So some major memory corruption going on from VTV, valgrind errors start with

==13824== Invalid read of size 8
==13824==    at 0xCB9D8A: bitmap_alloc(bitmap_obstack*) (bitmap.c:763)
==13824==    by 0x16020A9: remove_unused_locals() (tree-ssa-live.c:743)
==13824==    by 0x12B1BA4: execute_function_todo(function*, void*)
(passes.c:1955)
==13824==    by 0x12B0CCF: do_per_function(void (*)(function*, void*), void*)
(passes.c:1638)
==13824==    by 0x12B1E81: execute_todo(unsigned int) (passes.c:2031)
==13824==    by 0x12B2D02: execute_one_pass(opt_pass*) (passes.c:2520)
==13824==    by 0x12B2EE3: execute_pass_list_1(opt_pass*) (passes.c:2569)
==13824==    by 0x12B2F6A: execute_pass_list(function*, opt_pass*)
(passes.c:2580)
==13824==    by 0x12A0F12: gcc::pass_manager::execute_early_local_passes()
(passes.c:119)
==13824==    by 0xD7D672: symbol_table::process_new_functions()
(cgraphunit.c:338)
==13824==    by 0xBD6FEC: vtv_generate_init_routine()
(vtable-class-hierarchy.c:1194)
==13824==    by 0x99FFB8: cxx_post_compilation_parsing_cleanups()
(decl2.c:5115)
==13824==  Address 0x6453598 is 120 bytes inside a block of size 65,536 alloc'd
==13824==    at 0x4C2A080: malloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==13824==    by 0x23F5420: xmalloc (xmalloc.c:147)
==13824==    by 0xC41BB0: memory_block_pool::allocate() (memory-block.h:56)
==13824==    by 0x23844C6: mempool_obstack_chunk_alloc(unsigned long)
(memory-bl

it looks to me vtv_generate_init_routine() may not simply dispatch to
process_new_functions () being deeply inside FE context.  VTV is even worse
than TM though.

The following fixes the ICE:

Index: gcc/cp/vtable-class-hierarchy.c
===================================================================
--- gcc/cp/vtable-class-hierarchy.c     (revision 269009)
+++ gcc/cp/vtable-class-hierarchy.c     (working copy)
@@ -1191,8 +1191,6 @@ vtv_generate_init_routine (void)
       gimplify_function_tree (vtv_fndecl);
       cgraph_node::add_new_function (vtv_fndecl, false);

-      symtab->process_new_functions ();
-
       if (flag_vtable_verify == VTV_PREINIT_PRIORITY && !TARGET_PECOFF)
         assemble_vtv_preinit_initializer (vtv_fndecl);

there seems to be exactly _zero_ testsuite coverage for VTV...
>From gcc-bugs-return-634171-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 09:54:25 2019
Return-Path: <gcc-bugs-return-634171-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91482 invoked by alias); 19 Feb 2019 09: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 91238 invoked by uid 48); 19 Feb 2019 09:54:21 -0000
From: "tschwinge at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89376] ICE: Segmentation fault (in oacc_entry_exit_ok_1)
Date: Tue, 19 Feb 2019 09: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: ice-on-valid-code, openacc
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tschwinge 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-89376-4-Ds7IjY6f8H@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89376-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89376-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: 2019-02/txt/msg02473.txt.bz2
Content-length: 562

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89376

Thomas Schwinge <tschwinge at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-19
                 CC|                            |tschwinge at gcc dot gnu.org,
                   |                            |vries at gcc dot gnu.org
     Ever confirmed|0                           |1
>From gcc-bugs-return-634172-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 10:01:13 2019
Return-Path: <gcc-bugs-return-634172-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114560 invoked by alias); 19 Feb 2019 10:01: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 114343 invoked by uid 48); 19 Feb 2019 10:01:07 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89363] RANK incorrect for unallocated allocatable
Date: Tue, 19 Feb 2019 10:01: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-89363-4-CgjAKWwk0A@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89363-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89363-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: 2019-02/txt/msg02474.txt.bz2
Content-length: 742

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89363

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-19
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
With 8.2.0 and trunk (9.0) I get

 FAIL procr           1 F

and from at least 4.8 up to 7.4, I get

 FAIL procr           0 F

Note that if I add

  print *, rank(x)

before

  call procr(x,flag)

I get 2.
>From gcc-bugs-return-634173-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 10:04:39 2019
Return-Path: <gcc-bugs-return-634173-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130320 invoked by alias); 19 Feb 2019 10: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 129926 invoked by uid 48); 19 Feb 2019 10:04:32 -0000
From: "spinpx at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/89398] New: objdump: Out of memory in xmalloc.c (libiberty)
Date: Tue, 19 Feb 2019 10:04: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: spinpx 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-89398-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: 2019-02/txt/msg02475.txt.bz2
Content-length: 13122

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89398

            Bug ID: 89398
           Summary: objdump: Out of memory in xmalloc.c (libiberty)
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: spinpx at gmail dot com
  Target Milestone: ---

Created attachment 45762
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45762&action=edit
inputs trigger the bugs

Has reported on https://sourceware.org/bugzilla/show_bug.cgi?id=24234

- Intel Xeon Gold 5118 processors and 256 GB memory
- Linux n18-065-139 4.19.0-1-amd64 #1 SMP Debian 4.19.12-1 (2018-12-22) x86_64
GNU/Linux
- clang version 4.0.0 (tags/RELEASE_400/final)
- version: commit c72e75a64030b0f6535a80481f37968ad55c333a (Feb 19 2019)
- run objdump -x input_file

- asan report

==1247614==ERROR: AddressSanitizer failed to allocate 0x5500002000
(365072228352) bytes of LargeMmapAllocator (error code: 12)
==1247614==Process memory map follows:
        0x000000400000-0x00000041d000  
/mnt/raid/user/chenpeng/FuzzingBench/build/asan/install/bin/objdump
        0x00000041d000-0x000000996000  
/mnt/raid/user/chenpeng/FuzzingBench/build/asan/install/bin/objdump
        0x000000996000-0x000000bc9000  
/mnt/raid/user/chenpeng/FuzzingBench/build/asan/install/bin/objdump
        0x000000bca000-0x000000bcb000  
/mnt/raid/user/chenpeng/FuzzingBench/build/asan/install/bin/objdump
        0x000000bcb000-0x000000c78000  
/mnt/raid/user/chenpeng/FuzzingBench/build/asan/install/bin/objdump
        0x000000c78000-0x0000018e9000   
        0x00007fff7000-0x00008fff7000   
        0x00008fff7000-0x02008fff7000   
        0x02008fff7000-0x10007fff8000   
        0x600000000000-0x602000000000   
        0x602000000000-0x602000010000   
        0x602000010000-0x602e00000000   
        0x602e00000000-0x602e00010000   
        0x602e00010000-0x603000000000   
        0x603000000000-0x603000010000   
        0x603000010000-0x603e00000000   
        0x603e00000000-0x603e00010000   
        0x603e00010000-0x604000000000   
        0x604000000000-0x604000010000   
        0x604000010000-0x604e00000000   
        0x604e00000000-0x604e00010000   
        0x604e00010000-0x606000000000   
        0x606000000000-0x606000010000   
        0x606000010000-0x606e00000000   
        0x606e00000000-0x606e00010000   
        0x606e00010000-0x607000000000   
        0x607000000000-0x607000010000   
        0x607000010000-0x607e00000000   
        0x607e00000000-0x607e00010000   
        0x607e00010000-0x608000000000   
        0x608000000000-0x608000010000   
        0x608000010000-0x608e00000000   
        0x608e00000000-0x608e00010000   
        0x608e00010000-0x60b000000000   
        0x60b000000000-0x60b000010000   
        0x60b000010000-0x60be00000000   
        0x60be00000000-0x60be00010000   
        0x60be00010000-0x60c000000000   
        0x60c000000000-0x60c000010000   
        0x60c000010000-0x60ce00000000   
        0x60ce00000000-0x60ce00010000   
        0x60ce00010000-0x60f000000000   
        0x60f000000000-0x60f000010000   
        0x60f000010000-0x60fe00000000   
        0x60fe00000000-0x60fe00010000   
        0x60fe00010000-0x610000000000   
        0x610000000000-0x610000010000   
        0x610000010000-0x610e00000000   
        0x610e00000000-0x610e00010000   
        0x610e00010000-0x611000000000   
        0x611000000000-0x611000010000   
        0x611000010000-0x611e00000000   
        0x611e00000000-0x611e00010000   
        0x611e00010000-0x612000000000   
        0x612000000000-0x612000010000   
        0x612000010000-0x612e00000000   
        0x612e00000000-0x612e00010000   
        0x612e00010000-0x614000000000   
        0x614000000000-0x614000010000   
        0x614000010000-0x614e00000000   
        0x614e00000000-0x614e00010000   
        0x614e00010000-0x616000000000   
        0x616000000000-0x616000010000   
        0x616000010000-0x616e00000000   
        0x616e00000000-0x616e00010000   
        0x616e00010000-0x618000000000   
        0x618000000000-0x618000010000   
        0x618000010000-0x618e00000000   
        0x618e00000000-0x618e00010000   
        0x618e00010000-0x619000000000   
        0x619000000000-0x619000010000   
        0x619000010000-0x619e00000000   
        0x619e00000000-0x619e00010000   
        0x619e00010000-0x61a000000000   
        0x61a000000000-0x61a000010000   
        0x61a000010000-0x61ae00000000   
        0x61ae00000000-0x61ae00010000   
        0x61ae00010000-0x61b000000000   
        0x61b000000000-0x61b000010000   
        0x61b000010000-0x61be00000000   
        0x61be00000000-0x61be00010000   
        0x61be00010000-0x61d000000000   
        0x61d000000000-0x61d000010000   
        0x61d000010000-0x61de00000000   
        0x61de00000000-0x61de00010000   
        0x61de00010000-0x61f000000000   
        0x61f000000000-0x61f000010000   
        0x61f000010000-0x61fe00000000   
        0x61fe00000000-0x61fe00010000   
        0x61fe00010000-0x621000000000   
        0x621000000000-0x621000010000   
        0x621000010000-0x621e00000000   
        0x621e00000000-0x621e00010000   
        0x621e00010000-0x624000000000   
        0x624000000000-0x624000010000   
        0x624000010000-0x624e00000000   
        0x624e00000000-0x624e00010000   
        0x624e00010000-0x62d000000000   
        0x62d000000000-0x62d000010000   
        0x62d000010000-0x62de00000000   
        0x62de00000000-0x62de00010000   
        0x62de00010000-0x640000000000   
        0x640000000000-0x640000003000   
        0x7f9b2ad66000-0x7f9b2b7e0000   /usr/lib/locale/locale-archive
        0x7f9b2b7e0000-0x7f9b2ba00000   
        0x7f9b2bb00000-0x7f9b2bc00000   
        0x7f9b2bc8a000-0x7f9b2bc9e000   
        0x7f9b2bc9e000-0x7f9b2bca5000  
/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
        0x7f9b2bca5000-0x7f9b2e05f000   
        0x7f9b2e05f000-0x7f9b2e081000   /lib/x86_64-linux-gnu/libc-2.28.so
        0x7f9b2e081000-0x7f9b2e1c9000   /lib/x86_64-linux-gnu/libc-2.28.so
        0x7f9b2e1c9000-0x7f9b2e215000   /lib/x86_64-linux-gnu/libc-2.28.so
        0x7f9b2e215000-0x7f9b2e216000   /lib/x86_64-linux-gnu/libc-2.28.so
        0x7f9b2e216000-0x7f9b2e21a000   /lib/x86_64-linux-gnu/libc-2.28.so
        0x7f9b2e21a000-0x7f9b2e21c000   /lib/x86_64-linux-gnu/libc-2.28.so
        0x7f9b2e21c000-0x7f9b2e220000   
        0x7f9b2e220000-0x7f9b2e223000   /lib/x86_64-linux-gnu/libgcc_s.so.1
        0x7f9b2e223000-0x7f9b2e234000   /lib/x86_64-linux-gnu/libgcc_s.so.1
        0x7f9b2e234000-0x7f9b2e237000   /lib/x86_64-linux-gnu/libgcc_s.so.1
        0x7f9b2e237000-0x7f9b2e238000   /lib/x86_64-linux-gnu/libgcc_s.so.1
        0x7f9b2e238000-0x7f9b2e239000   /lib/x86_64-linux-gnu/libgcc_s.so.1
        0x7f9b2e239000-0x7f9b2e23a000   /lib/x86_64-linux-gnu/libgcc_s.so.1
        0x7f9b2e23a000-0x7f9b2e23b000   /lib/x86_64-linux-gnu/libdl-2.28.so
        0x7f9b2e23b000-0x7f9b2e23c000   /lib/x86_64-linux-gnu/libdl-2.28.so
        0x7f9b2e23c000-0x7f9b2e23d000   /lib/x86_64-linux-gnu/libdl-2.28.so
        0x7f9b2e23d000-0x7f9b2e23e000   /lib/x86_64-linux-gnu/libdl-2.28.so
        0x7f9b2e23e000-0x7f9b2e23f000   /lib/x86_64-linux-gnu/libdl-2.28.so
        0x7f9b2e23f000-0x7f9b2e24c000   /lib/x86_64-linux-gnu/libm-2.28.so
        0x7f9b2e24c000-0x7f9b2e2eb000   /lib/x86_64-linux-gnu/libm-2.28.so
        0x7f9b2e2eb000-0x7f9b2e3c0000   /lib/x86_64-linux-gnu/libm-2.28.so
        0x7f9b2e3c0000-0x7f9b2e3c1000   /lib/x86_64-linux-gnu/libm-2.28.so
        0x7f9b2e3c1000-0x7f9b2e3c2000   /lib/x86_64-linux-gnu/libm-2.28.so
        0x7f9b2e3c2000-0x7f9b2e3c4000   /lib/x86_64-linux-gnu/librt-2.28.so
        0x7f9b2e3c4000-0x7f9b2e3c8000   /lib/x86_64-linux-gnu/librt-2.28.so
        0x7f9b2e3c8000-0x7f9b2e3ca000   /lib/x86_64-linux-gnu/librt-2.28.so
        0x7f9b2e3ca000-0x7f9b2e3cb000   /lib/x86_64-linux-gnu/librt-2.28.so
        0x7f9b2e3cb000-0x7f9b2e3cc000   /lib/x86_64-linux-gnu/librt-2.28.so
        0x7f9b2e3cc000-0x7f9b2e3d2000  
/lib/x86_64-linux-gnu/libpthread-2.28.so
        0x7f9b2e3d2000-0x7f9b2e3e1000  
/lib/x86_64-linux-gnu/libpthread-2.28.so
        0x7f9b2e3e1000-0x7f9b2e3e7000  
/lib/x86_64-linux-gnu/libpthread-2.28.so
        0x7f9b2e3e7000-0x7f9b2e3e8000  
/lib/x86_64-linux-gnu/libpthread-2.28.so
        0x7f9b2e3e8000-0x7f9b2e3e9000  
/lib/x86_64-linux-gnu/libpthread-2.28.so
        0x7f9b2e3e9000-0x7f9b2e3ed000   
        0x7f9b2e3ed000-0x7f9b2e3fc000   
        0x7f9b2e3fc000-0x7f9b2e3fd000   /lib/x86_64-linux-gnu/ld-2.28.so
        0x7f9b2e3fd000-0x7f9b2e41b000   /lib/x86_64-linux-gnu/ld-2.28.so
        0x7f9b2e41b000-0x7f9b2e423000   /lib/x86_64-linux-gnu/ld-2.28.so
        0x7f9b2e423000-0x7f9b2e424000   /lib/x86_64-linux-gnu/ld-2.28.so
        0x7f9b2e424000-0x7f9b2e425000   /lib/x86_64-linux-gnu/ld-2.28.so
        0x7f9b2e425000-0x7f9b2e426000   
        0x7ffe3f311000-0x7ffe3f332000   [stack]
        0x7ffe3f3c2000-0x7ffe3f3c5000   [vvar]
        0x7ffe3f3c5000-0x7ffe3f3c7000   [vdso]
==1247614==End of process memory map.
==1247614==AddressSanitizer CHECK failed:
/scratch/llvm/clang-4/xenial/final/llvm.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_common.cc:120
"((0 && "unable to mmap")) != (0)" (0x0, 0x0)
    #0 0x4cbcef in __asan::AsanCheckFailed(char const*, int, char const*,
unsigned long long, unsigned long long)
/scratch/llvm/clang-4/xenial/final/llvm.src/projects/compiler-rt/lib/asan/asan_rtl.cc:69:3
    #1 0x4df64f in __sanitizer::CheckFailed(char const*, int, char const*,
unsigned long long, unsigned long long)
/scratch/llvm/clang-4/xenial/final/llvm.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_termination.cc:79:5
    #2 0x4d0c5e in __sanitizer::ReportMmapFailureAndDie(unsigned long, char
const*, char const*, int, bool)
/scratch/llvm/clang-4/xenial/final/llvm.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_common.cc:120:3
    #3 0x4d967b in __sanitizer::MmapOrDie(unsigned long, char const*, bool)
/scratch/llvm/clang-4/xenial/final/llvm.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix.cc:132:5
    #4 0x421e54 in
__sanitizer::LargeMmapAllocator<__asan::AsanMapUnmapCallback>::Allocate(__sanitizer::AllocatorStats*,
unsigned long, unsigned long)
/scratch/llvm/clang-4/xenial/final/llvm.src/projects/compiler-rt/lib/asan/../sanitizer_common/sanitizer_allocator_secondary.h:41:9
    #5 0x421c08 in
__sanitizer::CombinedAllocator<__sanitizer::SizeClassAllocator64<__asan::AP64>,
__sanitizer::SizeClassAllocatorLocalCache<__sanitizer::SizeClassAllocator64<__asan::AP64>
>, __sanitizer::LargeMmapAllocator<__asan::AsanMapUnmapCallback>
>::Allocate(__sanitizer::SizeClassAllocatorLocalCache<__sanitizer::SizeClassAllocator64<__asan::AP64>
>*, unsigned long, unsigned long, bool, bool)
/scratch/llvm/clang-4/xenial/final/llvm.src/projects/compiler-rt/lib/asan/../sanitizer_common/sanitizer_allocator_combined.h:70:24
    #6 0x41f0bf in __asan::Allocator::Allocate(unsigned long, unsigned long,
__sanitizer::BufferedStackTrace*, __asan::AllocType, bool)
/scratch/llvm/clang-4/xenial/final/llvm.src/projects/compiler-rt/lib/asan/asan_allocator.cc:407:21
    #7 0x4c43f0 in malloc
/scratch/llvm/clang-4/xenial/final/llvm.src/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:67:10
    #8 0x995467 in xmalloc
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/libiberty/xmalloc.c:147:12
    #9 0x4f6d06 in slurp_symtab
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/binutils/objdump.c:697:23
    #10 0x4f528f in dump_bfd
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/binutils/objdump.c:3793:12
    #11 0x4f4c71 in display_object_bfd
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/binutils/objdump.c:3883:7
    #12 0x4f4b67 in display_any_bfd
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/binutils/objdump.c:3973:5
    #13 0x4f424a in display_file
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/binutils/objdump.c:3994:3
    #14 0x4f3ab0 in main
/mnt/raid/user/chenpeng/FuzzingBench/binutils/binutils-gdb/binutils/objdump.c:4304:6
    #15 0x7f9b2e08309a in __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x2409a)
    #16 0x41d639 in _start
(/mnt/raid/user/chenpeng/FuzzingBench/build/asan/install/bin/objdump+0x41d639)
>From gcc-bugs-return-634174-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 10:25:45 2019
Return-Path: <gcc-bugs-return-634174-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113596 invoked by alias); 19 Feb 2019 10:25:44 -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 113235 invoked by uid 48); 19 Feb 2019 10:25:39 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89388] Component selection for assumed-size DT array
Date: Tue, 19 Feb 2019 10:25: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
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-89388-4-PVNwMzpuuF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89388-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89388-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: 2019-02/txt/msg02476.txt.bz2
Content-length: 639

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89388

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-19
     Ever confirmed|0                           |1

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed from at least 4.8 up to trunk (9.0).

The segfault occurs when accessing 'z' in 'ssssum' and disappears if I replace
'y(*)' with 'y(:)' in 'f'.
>From gcc-bugs-return-634175-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 10:40:57 2019
Return-Path: <gcc-bugs-return-634175-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121947 invoked by alias); 19 Feb 2019 10:40:56 -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 121564 invoked by uid 48); 19 Feb 2019 10:40:50 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/83118] [7/8/9 Regression] Bad intrinsic assignment of class(*) array component of derived type
Date: Tue, 19 Feb 2019 10: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: 8.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: pault at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-83118-4-CsT06Gm4yM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83118-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83118-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: 2019-02/txt/msg02477.txt.bz2
Content-length: 2534

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83118

--- Comment #16 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Compiling the reduced test

type :: any_vector
  class(*), allocatable :: v(:)
end type
type(any_vector) :: x, y
x%v = ['foo','bar']
end

with -fsanitize=address gives

==54286==ERROR: AddressSanitizer: heap-buffer-overflow on address
0x602000000150 at pc 0x000102fb38df bp 0x7ffeecc4d180 sp 0x7ffeecc4d178
READ of size 8 at 0x602000000150 thread T0
    #0 0x102fb38de in MAIN__ (a.out:x86_64+0x1000018de)
    #1 0x102fb3b9a in main (a.out:x86_64+0x100001b9a)
    #2 0x7fff7512bed8 in start (libdyld.dylib:x86_64+0x16ed8)

0x602000000156 is located 0 bytes to the right of 6-byte region
[0x602000000150,0x602000000156)
allocated by thread T0 here:
    #0 0x1032e784f in wrap_malloc sanitizer_malloc_mac.inc:114
    #1 0x102fb37b3 in MAIN__ (a.out:x86_64+0x1000017b3)
    #2 0x102fb3b9a in main (a.out:x86_64+0x100001b9a)
    #3 0x7fff7512bed8 in start (libdyld.dylib:x86_64+0x16ed8)

SUMMARY: AddressSanitizer: heap-buffer-overflow (a.out:x86_64+0x1000018de) in
MAIN__
Shadow bytes around the buggy address:
  0x1c03ffffffd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x1c03ffffffe0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x1c03fffffff0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x1c0400000000: fa fa fd fd fa fa fd fd fa fa 00 00 fa fa 00 07
  0x1c0400000010: fa fa 03 fa fa fa 00 00 fa fa 00 06 fa fa 06 fa
=>0x1c0400000020: fa fa 07 fa fa fa 07 fa fa fa[06]fa fa fa fa fa
  0x1c0400000030: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x1c0400000040: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x1c0400000050: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x1c0400000060: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x1c0400000070: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07 
  Heap left redzone:       fa
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
  Shadow gap:              cc
>From gcc-bugs-return-634176-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 11:01:18 2019
Return-Path: <gcc-bugs-return-634176-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6935 invoked by alias); 19 Feb 2019 11:01:18 -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 6745 invoked by uid 48); 19 Feb 2019 11:01:09 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/89398] objdump: Out of memory in xmalloc.c (libiberty)
Date: Tue, 19 Feb 2019 11:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amodra at gmail dot com
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 cc resolution
Message-ID: <bug-89398-4-YAH3BqNOvv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89398-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89398-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: 2019-02/txt/msg02478.txt.bz2
Content-length: 501

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89398

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |amodra at gmail dot com
         Resolution|---                         |INVALID

--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
Not a gcc problem
>From gcc-bugs-return-634177-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 11:01:34 2019
Return-Path: <gcc-bugs-return-634177-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7977 invoked by alias); 19 Feb 2019 11:01: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 7861 invoked by uid 48); 19 Feb 2019 11:01:26 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/89396] objdump: Out of memory in objalloc.c (libiberty)
Date: Tue, 19 Feb 2019 11:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amodra at gmail dot com
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 cc resolution
Message-ID: <bug-89396-4-zTM6vHHthA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89396-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89396-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: 2019-02/txt/msg02479.txt.bz2
Content-length: 501

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89396

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |amodra at gmail dot com
         Resolution|---                         |INVALID

--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
Not a gcc problem
>From gcc-bugs-return-634178-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 11:22:29 2019
Return-Path: <gcc-bugs-return-634178-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65012 invoked by alias); 19 Feb 2019 11:22: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 64859 invoked by uid 48); 19 Feb 2019 11:22:24 -0000
From: "paul.hua.gm at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89378] [9 regression][MIPS] FAIL: gcc.dg/vect/pr88598-3.c  -mmsa (internal compiler error)
Date: Tue, 19 Feb 2019 11:22: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-89378-4-sls4L7FgRP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89378-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89378-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: 2019-02/txt/msg02480.txt.bz2
Content-length: 1193

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89378

--- Comment #2 from Paul Hua <paul.hua.gm at gmail dot com> ---
(In reply to Richard Biener from comment #1)
> MSA is new, so not sure if it is a regression.  Please fill out
> known-to-work.

r267643 not iced, but fails to optimize the code.

f1:
        .frame  $sp,16,$31              # vars= 0, regs= 1/0, args= 0, gp= 0
        .mask   0x10000000,-8
        .fmask  0x00000000,0
        daddiu  $sp,$sp,-16
        sd      $28,8($sp)
        lui     $28,%hi(%neg(%gp_rel(f1)))
        daddu   $28,$28,$25
        daddiu  $28,$28,%lo(%neg(%gp_rel(f1)))
        dla     $2,a
        ld.w    $w0,0($2)
        dla     $2,.LC0
        ld.w    $w1,0($2)
        fmul.w  $w0,$w0,$w1
        move.v  $w2,$w0
        sldi.b  $w2,$w0[4]
        mov.s   $f3,$f2
        move.v  $w1,$w0
        move.v  $w2,$w0
        sldi.b  $w2,$w0[8]
        add.s   $f0,$f0,$f3
        sldi.b  $w1,$w1[12]
        add.s   $f0,$f0,$f2
        add.s   $f0,$f0,$f1
        ld      $28,8($sp)
        .set    noreorder
        .set    nomacro
        j       $31
        daddiu  $sp,$sp,16
        .set    macro
        .set    reorder

r267646 iced.
>From gcc-bugs-return-634179-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 11:38:37 2019
Return-Path: <gcc-bugs-return-634179-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110912 invoked by alias); 19 Feb 2019 11:38: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 110672 invoked by uid 48); 19 Feb 2019 11:38:29 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89387] [9 Regression] ICE in maybe_generic_this_capture at gcc/cp/lambda.c:945 since r268851
Date: Tue, 19 Feb 2019 11:38: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution assigned_to
Message-ID: <bug-89387-4-NPoetpotVu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89387-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89387-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: 2019-02/txt/msg02481.txt.bz2
Content-length: 580

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89387

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-634180-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 11:42:58 2019
Return-Path: <gcc-bugs-return-634180-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119594 invoked by alias); 19 Feb 2019 11:42:57 -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 119492 invoked by uid 48); 19 Feb 2019 11:42:53 -0000
From: "kretz at kde dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89357] alignas for automatic variables with alignment greater than 16 fails
Date: Tue, 19 Feb 2019 11: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: 8.2.0
X-Bugzilla-Keywords: accepts-invalid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kretz at kde dot 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-89357-4-dzC5CS9iNs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89357-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89357-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: 2019-02/txt/msg02482.txt.bz2
Content-length: 462

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89357

--- Comment #2 from Matthias Kretz <kretz at kde dot org> ---
I agree. The corresponding C test case produces equivalent f0 and f1:

void g(int*);

void f0() {
  __attribute__((aligned(128))) int x;
  g(&x);
}

void f1() {
  _Alignas(128) int x;
  g(&x);
}

And I agree this PR is rejects-valid. Unless there's some very strange rule for
ARM and thus _Alignas is supposed to also reject values greater 16?
>From gcc-bugs-return-634181-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 12:15:57 2019
Return-Path: <gcc-bugs-return-634181-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36617 invoked by alias); 19 Feb 2019 12:15:56 -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 36275 invoked by uid 48); 19 Feb 2019 12:15:52 -0000
From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89399] New: ICE: RTL check: expected code 'set', 'clobber' or 'clobber_high', have 'parallel' in combine_reaching_defs, at ree.c:783
Date: Tue, 19 Feb 2019 12:15: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: zsojka at seznam dot cz
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 attachments.created
Message-ID: <bug-89399-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: 2019-02/txt/msg02483.txt.bz2
Content-length: 2729

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89399

            Bug ID: 89399
           Summary: ICE: RTL check: expected code 'set', 'clobber' or
                    'clobber_high', have 'parallel' in
                    combine_reaching_defs, at ree.c:783
           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: zsojka at seznam dot cz
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu
            Target: armv7a-softfp-linux-gnueabi-gcc

Created attachment 45763
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45763&action=edit
reduced testcase

Compiler output:
$ armv7a-softfp-linux-gnueabi-gcc -O -mcpu=cortex-m23 -free testcase.c
during RTL pass: ree
testcase.c: In function 'foo':
testcase.c:9:1: internal compiler error: RTL check: expected code 'set',
'clobber' or 'clobber_high', have 'parallel' in combine_reaching_defs, at
ree.c:783
    9 | }
      | ^
0x57a347 rtl_check_failed_code3(rtx_def const*, rtx_code, rtx_code, rtx_code,
char const*, int, char const*)
        /repo/gcc-trunk/gcc/rtl.c:904
0x16848a6 combine_reaching_defs
        /repo/gcc-trunk/gcc/ree.c:852
0x16853b5 find_and_remove_re
        /repo/gcc-trunk/gcc/ree.c:1314
0x16853b5 rest_of_handle_ree
        /repo/gcc-trunk/gcc/ree.c:1385
0x16853b5 execute
        /repo/gcc-trunk/gcc/ree.c:1413
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.

$ armv7a-softfp-linux-gnueabi-gcc -v
Using built-in specs.
COLLECT_GCC=/repo/gcc-trunk/binary-latest-armv7a-softfp/bin/armv7a-softfp-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-269006-checking-yes-rtl-df-extra-armv7a-softfp/bin/../libexec/gcc/armv7a-softfp-linux-gnueabi/9.0.1/lto-wrapper
Target: armv7a-softfp-linux-gnueabi
Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++
--enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra
--with-cloog --with-ppl --with-isl --with-float=softfp --with-arch=armv7-a
--with-sysroot=/usr/armv7a-softfp-linux-gnueabi --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu --target=armv7a-softfp-linux-gnueabi
--with-ld=/usr/bin/armv7a-softfp-linux-gnueabi-ld
--with-as=/usr/bin/armv7a-softfp-linux-gnueabi-as --disable-libstdcxx-pch
--prefix=/repo/gcc-trunk//binary-trunk-269006-checking-yes-rtl-df-extra-armv7a-softfp
Thread model: posix
gcc version 9.0.1 20190219 (experimental) (GCC)
>From gcc-bugs-return-634182-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 12:28:25 2019
Return-Path: <gcc-bugs-return-634182-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89397 invoked by alias); 19 Feb 2019 12:28: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 89278 invoked by uid 48); 19 Feb 2019 12:28:20 -0000
From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89400] New: ICE: output_operand: invalid %-code with -march=armv6kz -mthumb -munaligned-access
Date: Tue, 19 Feb 2019 12:28: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: zsojka at seznam dot cz
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 attachments.created
Message-ID: <bug-89400-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: 2019-02/txt/msg02484.txt.bz2
Content-length: 2822

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89400

            Bug ID: 89400
           Summary: ICE: output_operand: invalid %-code with
                    -march=armv6kz -mthumb -munaligned-access
           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: zsojka at seznam dot cz
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu
            Target: armv7a-softfp-linux-gnueabi

Created attachment 45764
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45764&action=edit
reduced testcase

Compiler output:
$ armv7a-softfp-linux-gnueabi-gcc -march=armv6kz -mthumb -munaligned-access
testcase.c
during RTL pass: final
testcase.c: In function 'foo':
testcase.c:7:1: internal compiler error: output_operand: invalid %-code
    7 | }
      | ^
0x89f50f output_operand_lossage(char const*, ...)
        /repo/gcc-trunk/gcc/final.c:3610
0x8a0676 output_asm_insn(char const*, rtx_def**)
        /repo/gcc-trunk/gcc/final.c:3979
0x8a16b2 output_asm_insn(char const*, rtx_def**)
        /repo/gcc-trunk/gcc/final.c:3841
0x8a16b2 final_scan_insn_1
        /repo/gcc-trunk/gcc/final.c:3107
0x8a4beb final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*)
        /repo/gcc-trunk/gcc/final.c:3153
0x8a4d15 final_1
        /repo/gcc-trunk/gcc/final.c:2021
0x8a6234 rest_of_handle_final
        /repo/gcc-trunk/gcc/final.c:4659
0x8a6234 execute
        /repo/gcc-trunk/gcc/final.c:4737
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.

$ armv7a-softfp-linux-gnueabi-gcc -v
Using built-in specs.
COLLECT_GCC=/repo/gcc-trunk/binary-latest-armv7a-softfp/bin/armv7a-softfp-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-269006-checking-yes-rtl-df-extra-armv7a-softfp/bin/../libexec/gcc/armv7a-softfp-linux-gnueabi/9.0.1/lto-wrapper
Target: armv7a-softfp-linux-gnueabi
Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++
--enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra
--with-cloog --with-ppl --with-isl --with-float=softfp --with-arch=armv7-a
--with-sysroot=/usr/armv7a-softfp-linux-gnueabi --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu --target=armv7a-softfp-linux-gnueabi
--with-ld=/usr/bin/armv7a-softfp-linux-gnueabi-ld
--with-as=/usr/bin/armv7a-softfp-linux-gnueabi-as --disable-libstdcxx-pch
--prefix=/repo/gcc-trunk//binary-trunk-269006-checking-yes-rtl-df-extra-armv7a-softfp
Thread model: posix
gcc version 9.0.1 20190219 (experimental) (GCC)
>From gcc-bugs-return-634183-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 12:41:26 2019
Return-Path: <gcc-bugs-return-634183-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11413 invoked by alias); 19 Feb 2019 12:41: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 11186 invoked by uid 48); 19 Feb 2019 12:41:20 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89330] IPA inliner touches released cgraph_edges
Date: Tue, 19 Feb 2019 12:41: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created
Message-ID: <bug-89330-4-TmJqGUY7GC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89330-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89330-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: 2019-02/txt/msg02485.txt.bz2
Content-length: 583

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89330

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45733|0                           |1
        is obsolete|                            |

--- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> ---
Created attachment 45765
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45765&action=edit
Updated patch that recycles summary IDs (tested on x86_64-linux-gnu)
>From gcc-bugs-return-634184-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 12:42:11 2019
Return-Path: <gcc-bugs-return-634184-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13198 invoked by alias); 19 Feb 2019 12:42: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 13018 invoked by uid 48); 19 Feb 2019 12:42:07 -0000
From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89400] [7/8/9 Regression] ICE: output_operand: invalid %-code with -march=armv6kz -mthumb -munaligned-access
Date: Tue, 19 Feb 2019 12:42: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: ktkachov 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 short_desc everconfirmed
Message-ID: <bug-89400-4-5snKAH5S3e@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89400-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89400-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: 2019-02/txt/msg02486.txt.bz2
Content-length: 769

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89400

ktkachov at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-19
                 CC|                            |ktkachov at gcc dot gnu.org
            Summary|ICE: output_operand:        |[7/8/9 Regression] ICE:
                   |invalid %-code with         |output_operand: invalid
                   |-march=armv6kz -mthumb      |%-code with -march=armv6kz
                   |-munaligned-access          |-mthumb -munaligned-access
     Ever confirmed|0                           |1
>From gcc-bugs-return-634185-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 12:44:02 2019
Return-Path: <gcc-bugs-return-634185-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18868 invoked by alias); 19 Feb 2019 12:44: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 18634 invoked by uid 48); 19 Feb 2019 12:43:57 -0000
From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89399] [7/8/9 Regression] ICE: RTL check: expected code 'set', 'clobber' or 'clobber_high', have 'parallel' in combine_reaching_defs, at ree.c:783
Date: Tue, 19 Feb 2019 12:44: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-checking, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ktkachov 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 short_desc everconfirmed
Message-ID: <bug-89399-4-4ED19FZZF4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89399-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89399-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: 2019-02/txt/msg02487.txt.bz2
Content-length: 1012

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89399

ktkachov at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-19
                 CC|                            |ktkachov at gcc dot gnu.org
            Summary|ICE: RTL check: expected    |[7/8/9 Regression] ICE: RTL
                   |code 'set', 'clobber' or    |check: expected code 'set',
                   |'clobber_high', have        |'clobber' or
                   |'parallel' in               |'clobber_high', have
                   |combine_reaching_defs, at   |'parallel' in
                   |ree.c:783                   |combine_reaching_defs, at
                   |                            |ree.c:783
     Ever confirmed|0                           |1

--- Comment #1 from ktkachov at gcc dot gnu.org ---
Confirmed.
>From gcc-bugs-return-634186-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 12:47:28 2019
Return-Path: <gcc-bugs-return-634186-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30169 invoked by alias); 19 Feb 2019 12:47: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 30037 invoked by uid 55); 19 Feb 2019 12:47:23 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88074] [7/8/9 Regression] g++ hangs on math expression
Date: Tue, 19 Feb 2019 12: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: 7.2.0
X-Bugzilla-Keywords: compile-time-hog
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88074-4-aPNVtEXoF8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88074-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88074-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: 2019-02/txt/msg02488.txt.bz2
Content-length: 631

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88074

--- Comment #30 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Feb 19 12:46:48 2019
New Revision: 269015

URL: https://gcc.gnu.org/viewcvs?rev=269015&root=gcc&view=rev
Log:
2019-02-19  Richard Biener  <rguenther@suse.de>

        PR middle-end/88074
        * toplev.c (do_compile): Initialize mpfr's exponent range
        based on available float modes.

        * gcc.dg/pr88074.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/pr88074.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/toplev.c
>From gcc-bugs-return-634187-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 12:55:56 2019
Return-Path: <gcc-bugs-return-634187-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57093 invoked by alias); 19 Feb 2019 12:55:55 -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 56966 invoked by uid 48); 19 Feb 2019 12:55:51 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88074] [7/8 Regression] g++ hangs on math expression
Date: Tue, 19 Feb 2019 12: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: 7.2.0
X-Bugzilla-Keywords: compile-time-hog
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_known_to_work short_desc
Message-ID: <bug-88074-4-0lZqmWpXBd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88074-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88074-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: 2019-02/txt/msg02489.txt.bz2
Content-length: 523

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88074

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |9.0
            Summary|[7/8/9 Regression] g++      |[7/8 Regression] g++ hangs
                   |hangs on math expression    |on math expression

--- Comment #31 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed on trunk.
>From gcc-bugs-return-634188-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 12:59:14 2019
Return-Path: <gcc-bugs-return-634188-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65083 invoked by alias); 19 Feb 2019 12:59: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 65010 invoked by uid 48); 19 Feb 2019 12:59:09 -0000
From: "wilco at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89037] checking ice emitting 128-bit bit-field initializer
Date: Tue, 19 Feb 2019 12:59: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: 6.5.0
X-Bugzilla-Keywords: ice-checking, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wilco at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rsandifo at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc version target_milestone cf_known_to_fail
Message-ID: <bug-89037-4-4rfvMJsaSY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89037-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89037-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: 2019-02/txt/msg02490.txt.bz2
Content-length: 576

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89037

Wilco <wilco at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wilco at gcc dot gnu.org
            Version|9.0                         |6.5.0
   Target Milestone|---                         |9.0
      Known to fail|                            |6.0, 7.0, 8.0

--- Comment #5 from Wilco <wilco at gcc dot gnu.org> ---
Note this fails on GCC6, GCC7 and GCC8 too.
>From gcc-bugs-return-634189-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 13:11:01 2019
Return-Path: <gcc-bugs-return-634189-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31028 invoked by alias); 19 Feb 2019 13:10: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 30914 invoked by uid 48); 19 Feb 2019 13:10:56 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/60144] Misleading error message when missing "then" after "if" and "else if"
Date: Tue, 19 Feb 2019 13:10:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-60144-4-CcRCcipMyM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60144-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60144-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: 2019-02/txt/msg02491.txt.bz2
Content-length: 1508

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60144

--- Comment #6 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
I don't understand the goal of the block (line 1651 of gcc/fortran/match.c)

  /* The gfc_match_assignment() above may have returned a MATCH_NO
     where the assignment was to a named constant.  Check that
     special case here.  */
  m = gfc_match_assignment ();
  if (m == MATCH_NO)
   {
      gfc_error ("Cannot assign to a named constant at %C");
      gfc_free_expr (expr);
      gfc_undo_symbols ();
      gfc_current_locus = old_loc;
      return MATCH_ERROR;
   }

The closest test matching my understanding of the comment is

integer, parameter :: i = 1
if (i == 2) i = 3 ! { dg-error "in variable definition context" }
end

which gives the following error

if_param.f90:2:12:

    2 | if (i == 2) i = 3 ! { dg-error "in variable definition context" }
      |            1
Error: Named constant 'i' in variable definition context (assignment) at (1)

If I remove the block, I get the following errors for the test in comment 0:

pr60144.f90:2:15:

    2 |     if (.TRUE.)
      |               1
Error: Unclassifiable statement in IF-clause at (1)
pr60144.f90:3:11:

    3 |     else if (.FALSE.)
      |           1
Error: Unexpected junk after ELSE statement at (1)

which looks better for the IF statement.

For the ELSE IF error, how can I move the caret after '(.FALSE.)' and replace
'junk' with something neutral (token, statement, ...)?
>From gcc-bugs-return-634190-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 13:50:34 2019
Return-Path: <gcc-bugs-return-634190-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49833 invoked by alias); 19 Feb 2019 13:50: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 49757 invoked by uid 48); 19 Feb 2019 13:50:29 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89397] [7/8/9 Regression] ICE in build_call_expr_loc_array at gcc/tree.c:11563 since r229082
Date: Tue, 19 Feb 2019 13:50: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: accepts-invalid, ice-on-invalid-code
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 everconfirmed
Message-ID: <bug-89397-4-6MEWB4mCLl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89397-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89397-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: 2019-02/txt/msg02492.txt.bz2
Content-length: 478

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89397

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
A patch is posted at

https://gcc.gnu.org/ml/gcc-patches/2019-02/msg01581.html
>From gcc-bugs-return-634191-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 13:52:13 2019
Return-Path: <gcc-bugs-return-634191-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54859 invoked by alias); 19 Feb 2019 13:52: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 54754 invoked by uid 48); 19 Feb 2019 13:52:08 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug driver/69471] "-march=native" unintentionally breaks further -march/-mtune flags
Date: Tue, 19 Feb 2019 13:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: driver
X-Bugzilla-Version: 5.3.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: target_milestone
Message-ID: <bug-69471-4-RlA1o1PoGd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69471-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69471-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: 2019-02/txt/msg02493.txt.bz2
Content-length: 427

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69471

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |9.0

--- Comment #9 from H.J. Lu <hjl.tools at gmail dot com> ---
A patch is posted at

https://gcc.gnu.org/ml/gcc-patches/2019-02/msg01071.html
>From gcc-bugs-return-634192-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 13:53:45 2019
Return-Path: <gcc-bugs-return-634192-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58313 invoked by alias); 19 Feb 2019 13:53:44 -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 58191 invoked by uid 48); 19 Feb 2019 13:53:40 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89353] Unnecessary ENDBR with -mmanual-endbr
Date: Tue, 19 Feb 2019 13:53: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: missed-optimization
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-89353-4-jPxqizENUb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89353-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89353-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: 2019-02/txt/msg02494.txt.bz2
Content-length: 591

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89353

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-19
   Target Milestone|---                         |9.0
     Ever confirmed|0                           |1

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
A patch is posted at

https://gcc.gnu.org/ml/gcc-patches/2019-02/msg01084.html
>From gcc-bugs-return-634193-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 13:55:50 2019
Return-Path: <gcc-bugs-return-634193-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62508 invoked by alias); 19 Feb 2019 13:55: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 62372 invoked by uid 48); 19 Feb 2019 13:55:45 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89355] Unnecessary ENDBR
Date: Tue, 19 Feb 2019 13:55: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: missed-optimization
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-89355-4-kUzRSoLncS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89355-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89355-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: 2019-02/txt/msg02495.txt.bz2
Content-length: 591

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89355

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-19
   Target Milestone|---                         |9.0
     Ever confirmed|0                           |1

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
A patch is posted at

https://gcc.gnu.org/ml/gcc-patches/2019-02/msg01327.html
>From gcc-bugs-return-634194-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 13:58:59 2019
Return-Path: <gcc-bugs-return-634194-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71984 invoked by alias); 19 Feb 2019 13:58:57 -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 71680 invoked by uid 48); 19 Feb 2019 13:58:52 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89365] Inquiry functions for assumed rank objects fail
Date: Tue, 19 Feb 2019 13:58: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: WAITING
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-89365-4-TKTHRXR2Ay@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89365-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89365-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: 2019-02/txt/msg02496.txt.bz2
Content-length: 1320

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89365

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2019-02-19
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Related to/duplicate of pr67894.

Note that the reporter of pr67894 has the opposite expectation for the bounds.

I tend to agree with him:

16.9.109 LBOUND (ARRAY [, DIM, KIND])

..

Case (i): If DIM is present, ARRAY is a whole array, and either ARRAY 
is an assumed-size array of rank DIM or dimension DIM of ARRAY has 
nonzero extent, the result has a value equal to the lower bound 
for subscript DIM of ARRAY. Otherwise, if DIM is present, the result value is
1.

Case (ii): LBOUND (ARRAY) has a value whose ith element is equal to 
LBOUND (ARRAY, i), for i = 1, 2, ... , n, where n is the rank of ARRAY. 
LBOUND (ARRAY, KIND=KIND) has a value whose ith element is equal 
to LBOUND (ARRAY, i, KIND), for i = 1, 2, ..., n, where n is the rank of ARRAY.

'this' is a whole array and has a nonzero extent.
>From gcc-bugs-return-634195-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 14:10:51 2019
Return-Path: <gcc-bugs-return-634195-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56365 invoked by alias); 19 Feb 2019 14:10: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 56079 invoked by uid 55); 19 Feb 2019 14:10:47 -0000
From: "cltang at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/87924] OpenACC wait clauses without async-arguments
Date: Tue, 19 Feb 2019 14:10: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: openacc, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cltang at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: cltang at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87924-4-cwL77Es9S5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87924-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87924-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: 2019-02/txt/msg02497.txt.bz2
Content-length: 1379

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87924

--- Comment #2 from Chung-Lin Tang <cltang at gcc dot gnu.org> ---
Author: cltang
Date: Tue Feb 19 14:10:15 2019
New Revision: 269016

URL: https://gcc.gnu.org/viewcvs?rev=269016&root=gcc&view=rev
Log:
2019-02-19  Chung-Lin Tang <cltang@codesourcery.com>

        PR c/87924
        gcc/c/
        * c-parser.c (c_parser_oacc_clause_wait): Add representation of wait
        clause without argument as 'wait (GOMP_ASYNC_NOVAL)', adjust comments.

        gcc/cp/
        * parser.c (cp_parser_oacc_clause_wait): Add representation of wait
        clause without argument as 'wait (GOMP_ASYNC_NOVAL)', adjust comments.

        gcc/fortran/
        * openmp.c (gfc_match_omp_clauses): Add representation of wait clause
        without argument as 'wait (GOMP_ASYNC_NOVAL)'.

        libgomp/
        * oacc-parallel.c (GOACC_parallel_keyed): Remove condition on call to
        goacc_wait().
        (goacc_wait): Handle ACC_ASYNC_NOVAL case, remove goacc_thread() call
        and related adjustment.

        Reviewed-by: Thomas Schwinge  <thomas@codesourcery.com>


Modified:
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-parser.c
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/openmp.c
    trunk/libgomp/ChangeLog
    trunk/libgomp/oacc-parallel.c
>From gcc-bugs-return-634196-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 14:20:12 2019
Return-Path: <gcc-bugs-return-634196-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118322 invoked by alias); 19 Feb 2019 14:20: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 118199 invoked by uid 55); 19 Feb 2019 14:20:07 -0000
From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89397] [7/8/9 Regression] ICE in build_call_expr_loc_array at gcc/tree.c:11563 since r229082
Date: Tue, 19 Feb 2019 14:20: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: accepts-invalid, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl 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:
Message-ID: <bug-89397-4-hGNX9PWndZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89397-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89397-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: 2019-02/txt/msg02498.txt.bz2
Content-length: 897

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89397

--- Comment #2 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Tue Feb 19 14:19:33 2019
New Revision: 269017

URL: https://gcc.gnu.org/viewcvs?rev=269017&root=gcc&view=rev
Log:
i386: Set ix86_fpmath to FPMATH_387 without SSE

ix86_fpmath should be set to combination of FPMATH_387 and FPMATH_SSE.
When SSE is disabled, it should be set to FPMATH_387 and 387 codegen is
also controlled by -msoft-float.

gcc/

        PR target/89397
        * config/i386/i386.c (ix86_option_override_internal): Set
        opts->x_ix86_fpmath to FPMATH_387 when SSE is disabled.

gcc/testsuite/

        PR target/89397
        * gcc.target/i386/pr89397.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/i386/pr89397.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634197-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 14:28:59 2019
Return-Path: <gcc-bugs-return-634197-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71177 invoked by alias); 19 Feb 2019 14:28: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 71082 invoked by uid 48); 19 Feb 2019 14:28:55 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89393] [9 Regression] FAIL: g++.dg/abi/ref-temp1.C  -std=c++14  scan-assembler .weak(_definition)?[ \t]_?_ZGR1bIvE
Date: Tue, 19 Feb 2019 14:28: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: jakub 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
Message-ID: <bug-89393-4-3rHt8GR9BB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89393-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89393-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: 2019-02/txt/msg02499.txt.bz2
Content-length: 438

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89393

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Would adding
// { dg-require-weak "" }
to the testcase help?
>From gcc-bugs-return-634198-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 14:29:14 2019
Return-Path: <gcc-bugs-return-634198-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72209 invoked by alias); 19 Feb 2019 14:29: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 72068 invoked by uid 48); 19 Feb 2019 14:29:09 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89393] [9 Regression] FAIL: g++.dg/abi/ref-temp1.C  -std=c++14  scan-assembler .weak(_definition)?[ \t]_?_ZGR1bIvE
Date: Tue, 19 Feb 2019 14: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority
Message-ID: <bug-89393-4-9eMPjlMiPk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89393-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89393-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: 2019-02/txt/msg02500.txt.bz2
Content-length: 289

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89393

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
>From gcc-bugs-return-634199-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 14:31:20 2019
Return-Path: <gcc-bugs-return-634199-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80609 invoked by alias); 19 Feb 2019 14:31:19 -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 80450 invoked by uid 48); 19 Feb 2019 14:31:13 -0000
From: "rdmsr at protonmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89401] New: The generated object file does not automatically relocate the address using the cl link
Date: Tue, 19 Feb 2019 14:31: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.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rdmsr at protonmail 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-89401-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: 2019-02/txt/msg02501.txt.bz2
Content-length: 3343

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89401

            Bug ID: 89401
           Summary: The generated object file does not automatically
                    relocate the address using the cl link
           Product: gcc
           Version: 8.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rdmsr at protonmail dot com
  Target Milestone: ---

__asm__ (
        "push rbp;\n\t"
        "jmp Label;\n\t"
        "mov rbp,offset cs:Label;\n\t"
        "mov rbp,offset Label;\n\t"
        "mov rbp,Label;\n\t"
        "mov rbp,Label;\n\t"
        "mov rbp,cs:Label;\n\t"
        "lea rbp,Label;\n\t"
        "Label:\n\t"
        "push rbp;\n\t"
    );


I want to use GCC inline assembly to get the Label address.
Use the following command to get the object file:
gcc64 -c -s  -masm=intel 1.cpp

Now I get the file 1.o

I used a disassembler to view assembly instructions:
.text:0000000000000000                 push    rbp
.text:0000000000000001                 jmp     short loc_32
.text:0000000000000003 ;
---------------------------------------------------------------------------
.text:0000000000000003                 mov     rbp, 32h
.text:000000000000000A                 mov     rbp, 32h
.text:0000000000000011                 mov     rbp, qword ptr ds:loc_32
.text:0000000000000019                 mov     rbp, qword ptr ds:loc_32
.text:0000000000000021                 db      2Eh
.text:0000000000000021                 mov     rbp, qword ptr loc_32
.text:000000000000002A                 lea     rbp, ds:32h
.text:0000000000000032
.text:0000000000000032 loc_32:                                 ; CODE XREF:
test+1↑j
.text:0000000000000032                                         ; DATA XREF:
test+11↑r ...
.text:0000000000000032                 push    rbp
.text:0000000000000033                 mov     eax, 0
.text:0000000000000038                 retn


I need to link this file with vc++:


Then use the disassembler to see the pe file with the link succeeded:

.text:0000000140011820 sub_140011820   proc near               ; CODE XREF:
sub_140011307↑j
.text:0000000140011820                 push    rbp
.text:0000000140011821                 jmp     short loc_140011852
.text:0000000140011823 ;
---------------------------------------------------------------------------
.text:0000000140011823                 mov     rbp, 32h
.text:000000014001182A                 mov     rbp, 32h
.text:0000000140011831                 mov     rbp, ds:32h
.text:0000000140011839                 mov     rbp, ds:32h
.text:0000000140011841                 db      2Eh
.text:0000000140011841                 mov     rbp, cs:32h
.text:000000014001184A                 lea     rbp, ds:32h
.text:0000000140011852
.text:0000000140011852 loc_140011852:                          ; CODE XREF:
sub_140011820+1↑j
.text:0000000140011852                 push    rbp
.text:0000000140011853                 mov     eax, 0
.text:0000000140011858                 retn

As you see now, he doesn't seem to relocate the address.
When I used nasm to generate object files it did it。

I don't know if it's a bug or a feature missing, just report it now.
>From gcc-bugs-return-634200-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 14:32:49 2019
Return-Path: <gcc-bugs-return-634200-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86252 invoked by alias); 19 Feb 2019 14:32: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 86008 invoked by uid 48); 19 Feb 2019 14:32:44 -0000
From: "rdmsr at protonmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89401] The generated object file does not automatically relocate the address using the cl link
Date: Tue, 19 Feb 2019 14:32: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.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rdmsr at protonmail 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-89401-4-dxKnGZaGZt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89401-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89401-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: 2019-02/txt/msg02502.txt.bz2
Content-length: 2429

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89401

--- Comment #1 from syscall <rdmsr at protonmail dot com> ---
gcc -v:

Using built-in specs.
COLLECT_GCC=gcc64
COLLECT_LTO_WRAPPER=D:/Program\ Files\
(x86)/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/8.1.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../../../src/gcc-8.1.0/configure --host=x86_64-w64-mingw32
--build=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --prefix=/mingw64
--with-sysroot=/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64
--enable-shared --enable-static --disable-multilib
--enable-languages=c,c++,fortran,lto --enable-libstdcxx-time=yes
--enable-threads=posix --enable-libgomp --enable-libatomic --enable-lto
--enable-graphite --enable-checking=release --enable-fully-dynamic-string
--enable-version-specific-runtime-libs --disable-libstdcxx-pch
--disable-libstdcxx-debug --enable-bootstrap --disable-rpath
--disable-win32-registry --disable-nls --disable-werror --disable-symvers
--with-gnu-as --with-gnu-ld --with-arch=nocona --with-tune=core2
--with-libiconv --with-system-zlib
--with-gmp=/c/mingw810/prerequisites/x86_64-w64-mingw32-static
--with-mpfr=/c/mingw810/prerequisites/x86_64-w64-mingw32-static
--with-mpc=/c/mingw810/prerequisites/x86_64-w64-mingw32-static
--with-isl=/c/mingw810/prerequisites/x86_64-w64-mingw32-static
--with-pkgversion='x86_64-posix-seh-rev0, Built by MinGW-W64 project'
--with-bugurl=https://sourceforge.net/projects/mingw-w64 CFLAGS='-O2 -pipe
-fno-ident -I/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/include
-I/c/mingw810/prerequisites/x86_64-zlib-static/include
-I/c/mingw810/prerequisites/x86_64-w64-mingw32-static/include' CXXFLAGS='-O2
-pipe -fno-ident
-I/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/include
-I/c/mingw810/prerequisites/x86_64-zlib-static/include
-I/c/mingw810/prerequisites/x86_64-w64-mingw32-static/include' CPPFLAGS='
-I/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/include
-I/c/mingw810/prerequisites/x86_64-zlib-static/include
-I/c/mingw810/prerequisites/x86_64-w64-mingw32-static/include' LDFLAGS='-pipe
-fno-ident -L/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/lib
-L/c/mingw810/prerequisites/x86_64-zlib-static/lib
-L/c/mingw810/prerequisites/x86_64-w64-mingw32-static/lib '
Thread model: posix
gcc version 8.1.0 (x86_64-posix-seh-rev0, Built by MinGW-W64 project)
>From gcc-bugs-return-634201-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 14:53:02 2019
Return-Path: <gcc-bugs-return-634201-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58929 invoked by alias); 19 Feb 2019 14:53: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 58796 invoked by uid 48); 19 Feb 2019 14:52:58 -0000
From: "tschwinge at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgomp/82864] Stop using GOMP_OFFLOAD_openacc_async_set_async
Date: Tue, 19 Feb 2019 14:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libgomp
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: openacc
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: tschwinge at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: cltang 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-82864-4-EPZETW1yui@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82864-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82864-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: 2019-02/txt/msg02503.txt.bz2
Content-length: 1177

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82864

Thomas Schwinge <tschwinge at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-19
           Assignee|unassigned at gcc dot gnu.org      |cltang at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
(In reply to Tom de Vries from comment #0)
> [...]
> It is a bit odd though that we're asking the target plugin to keep this
> state. [...]

(In reply to Tom de Vries from comment #1)
> Hmm, I found this on openacc-gcc-7-branch:
> ...
> commit cd69c58db3f41ac72c20bc9b780772ab7e0c113e
> Author: Chung-Lin Tang <cltang@codesourcery.com>
> Date:   Tue Jul 25 15:02:26 2017 +0000
> 
>     OpenACC async re-work
> 
>         ...
> 
>         libgomp/
>         ....
>         (GOMP_OFFLOAD_openacc_async_set_async): Remove.

Indeed, Chung-Lin, please reference this PR82864 in your "async re-work"
changes.
>From gcc-bugs-return-634202-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 14:57:09 2019
Return-Path: <gcc-bugs-return-634202-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91635 invoked by alias); 19 Feb 2019 14:57: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 89271 invoked by uid 48); 19 Feb 2019 14:57:05 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: =?UTF-8?B?W0J1ZyBsaWJzdGRjKysvODk0MDJdIE5ldzogd2FybmluZzog4oCYdm9pZCBf?= =?UTF-8?B?Wk5LU3Q0aGFzaEllRWNsRWUoKeKAmSBzcGVjaWZpZXMgbGVzcyByZXN0cmlj?= =?UTF-8?B?dGl2ZSBhdHRyaWJ1dGUgdGhhbiBpdHMgdGFyZ2V0?Date: Tue, 19 Feb 2019 14:57:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak 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-89402-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: 2019-02/txt/msg02504.txt.bz2
Content-length: 1239

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89402

            Bug ID: 89402
           Summary: warning: ‘void _ZNKSt4hashIeEclEe()’ specifies less
                    restrictive attribute than its target
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ubizjak at gmail dot com
  Target Milestone: ---

When building the compiler, I got:

/space/homedirs/uros/gcc-svn/trunk/libstdc++-v3/src/c++98/compatibility-ldbl.cc:77:17:
warning: ‘void _ZNKSt4hashIeEclEe()’ specifies less restrictive attribute than
its target ‘std::size_t std::tr1::hash<_Tp>::operator()(_Tp) const [with _Tp =
long double]’: ‘pure’ [-Wmissing-attributes]

In libstdc++-v3/src/c++98/compatibility-ldbl.cc, we have:

// std::tr1::hash<long double>::operator()
// and std::hash<long double>::operator()
// are the same, no need to duplicate them.
extern "C" void _ZNKSt4hashIeEclEe (void)
  __attribute__((alias ("_ZNKSt3tr14hashIeEclEe")));

so, probably just the case of a missing attribute on alias.
>From gcc-bugs-return-634203-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 14:57:55 2019
Return-Path: <gcc-bugs-return-634203-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112331 invoked by alias); 19 Feb 2019 14:57: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 112021 invoked by uid 48); 19 Feb 2019 14:57:50 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: =?UTF-8?B?W0J1ZyBsaWJzdGRjKysvODk0MDJdIFs5IFJlZ3Jlc3Npb25dIHdhcm5pbmc6?= =?UTF-8?B?IOKAmHZvaWQgX1pOS1N0NGhhc2hJZUVjbEVlKCnigJkgc3BlY2lmaWVzIGxl?= =?UTF-8?B?c3MgcmVzdHJpY3RpdmUgYXR0cmlidXRlIHRoYW4gaXRzIHRhcmdldA==?Date: Tue, 19 Feb 2019 14:57:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak 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: cf_gcctarget version target_milestone short_desc
Message-ID: <bug-89402-4-qjKVieu5Vo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89402-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89402-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: 2019-02/txt/msg02505.txt.bz2
Content-length: 752

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89402

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |alphaev68-linux-gnu
            Version|unknown                     |9.0
   Target Milestone|---                         |9.0
            Summary|warning: ‘void              |[9 Regression] warning:
                   |_ZNKSt4hashIeEclEe()’       |‘void _ZNKSt4hashIeEclEe()’
                   |specifies less restrictive  |specifies less restrictive
                   |attribute than its target   |attribute than its target
>From gcc-bugs-return-634204-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 15:01:26 2019
Return-Path: <gcc-bugs-return-634204-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1402 invoked by alias); 19 Feb 2019 15:01: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 125929 invoked by uid 48); 19 Feb 2019 15:01:13 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89399] [7/8/9 Regression] ICE: RTL check: expected code 'set', 'clobber' or 'clobber_high', have 'parallel' in combine_reaching_defs, at ree.c:783
Date: Tue, 19 Feb 2019 15:01: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-checking, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc target_milestone
Message-ID: <bug-89399-4-PQmJm78DoC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89399-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89399-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: 2019-02/txt/msg02506.txt.bz2
Content-length: 1232

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89399

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |law at gcc dot gnu.org
   Target Milestone|---                         |7.5

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Seems there is a great inconsistency in ree.c, some spots use single_set,
others use *get_sub_rtx, and others use PATTERN directly.
Here we have cand->insn
(insn 7 6 20 2 (parallel [
            (set (reg:SI 0 r0 [orig:111 _2 ] [111])
                (sign_extend:SI (reg:HI 0 r0 [116])))
            (clobber (scratch:SI))
        ]) "pr89399.c":7:5 828 {thumb1_extendhisi2}
     (nil))
and use
782       bool copy_needed
783         = (REGNO (SET_DEST (PATTERN (cand->insn)))
784            != REGNO (get_extended_src_reg (SET_SRC (PATTERN
(cand->insn)))));
find_removable_extensions which adds the candidates seems to be the most
permissive one though (uses single_set).  So, shall we use e.g. get_sub_rtx in
all cases?
>From gcc-bugs-return-634205-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 15:15:25 2019
Return-Path: <gcc-bugs-return-634205-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82727 invoked by alias); 19 Feb 2019 15:15: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 82402 invoked by uid 48); 19 Feb 2019 15:15:01 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: =?UTF-8?B?W0J1ZyBsaWJzdGRjKysvODk0MDJdIFs5IFJlZ3Jlc3Npb25dIHdhcm5pbmc6?= =?UTF-8?B?IOKAmHZvaWQgX1pOS1N0NGhhc2hJZUVjbEVlKCnigJkgc3BlY2lmaWVzIGxl?= =?UTF-8?B?c3MgcmVzdHJpY3RpdmUgYXR0cmlidXRlIHRoYW4gaXRzIHRhcmdldA==?Date: Tue, 19 Feb 2019 15:15:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed attachments.created
Message-ID: <bug-89402-4-OgqGXn4YWJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89402-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89402-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: 2019-02/txt/msg02507.txt.bz2
Content-length: 689

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89402

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-19
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45766
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45766&action=edit
gcc9-pr89402.patch

Untested fix.
>From gcc-bugs-return-634206-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 15:25:47 2019
Return-Path: <gcc-bugs-return-634206-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119852 invoked by alias); 19 Feb 2019 15:25:32 -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 119487 invoked by uid 48); 19 Feb 2019 15:25:27 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: =?UTF-8?B?W0J1ZyBsaWJzdGRjKysvODk0MDJdIFs5IFJlZ3Jlc3Npb25dIHdhcm5pbmc6?= =?UTF-8?B?IOKAmHZvaWQgX1pOS1N0NGhhc2hJZUVjbEVlKCnigJkgc3BlY2lmaWVzIGxl?= =?UTF-8?B?c3MgcmVzdHJpY3RpdmUgYXR0cmlidXRlIHRoYW4gaXRzIHRhcmdldA==?Date: Tue, 19 Feb 2019 15:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89402-4-HqvWX54aEk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89402-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89402-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: 2019-02/txt/msg02508.txt.bz2
Content-length: 932

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89402

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
BUILDSTDERR: ../../../../libstdc++-v3/src/c++98/compatibility-ldbl.cc:77:17:
warning: 'void _ZNKSt4hashIeEclEe()' specifies less restrictive attribute than
its target 'std::size_t std::tr1::hash<_Tp>::operator()(_Tp) const [with _Tp =
long double]': 'pure' [-Wmissing-attributes]
BUILDSTDERR:    77 | extern "C" void _ZNKSt4hashIeEclEe (void)
BUILDSTDERR:       |                 ^~~~~~~~~~~~~~~~~~
BUILDSTDERR: In file included from
../../../../libstdc++-v3/src/c++98/compatibility-ldbl.cc:72:
BUILDSTDERR:
../../../../libstdc++-v3/src/c++98/hash-long-double-tr1-aux.cc:35:7: note:
'void _ZNKSt4hashIeEclEe()' target declared here
BUILDSTDERR:    35 |       hash<long double>::operator()(long double __val)
const
BUILDSTDERR:       |       ^~~~~~~~~~~~~~~~~
is what I can see in our ppc64le build log too.
>From gcc-bugs-return-634207-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 15:33:36 2019
Return-Path: <gcc-bugs-return-634207-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54156 invoked by alias); 19 Feb 2019 15:33: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 53910 invoked by uid 48); 19 Feb 2019 15:33:31 -0000
From: "law at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89399] [7/8/9 Regression] ICE: RTL check: expected code 'set', 'clobber' or 'clobber_high', have 'parallel' in combine_reaching_defs, at ree.c:783
Date: Tue, 19 Feb 2019 15:33: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-checking, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: law at redhat 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89399-4-SAbqOMAUib@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89399-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89399-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: 2019-02/txt/msg02509.txt.bz2
Content-length: 663

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89399

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |law at redhat dot com

--- Comment #3 from Jeffrey A. Law <law at redhat dot com> ---
Digging directly into the PATTERN is wrong.  I'm probably to blame for those.

If I'm reading things correctly, only single_sets ought to be getting onto the
candidate list, so the uses of single_set should be OK.  It's really the direct
access to PATTERNs that should be problematical.
>From gcc-bugs-return-634208-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 15:39:28 2019
Return-Path: <gcc-bugs-return-634208-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75361 invoked by alias); 19 Feb 2019 15:39: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 75223 invoked by uid 48); 19 Feb 2019 15:39:24 -0000
From: "pc at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/53991] _mm_popcnt_u64 fails with -O3 -fgnu-tm
Date: Tue, 19 Feb 2019 15:39: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: 4.7.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pc at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
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 cc
Message-ID: <bug-53991-4-w7nRxH2uJx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-53991-4@http.gcc.gnu.org/bugzilla/>
References: <bug-53991-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: 2019-02/txt/msg02510.txt.bz2
Content-length: 347

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53991

pc at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |pc at gcc dot gnu.org
>From gcc-bugs-return-634209-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 15:40:09 2019
Return-Path: <gcc-bugs-return-634209-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78051 invoked by alias); 19 Feb 2019 15:40: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 77758 invoked by uid 48); 19 Feb 2019 15:40:04 -0000
From: "pc at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89338] sse-cvtss2si-[12].c fails on PPC Big Endian
Date: Tue, 19 Feb 2019 15:40: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pc at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: pc at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc assigned_to everconfirmed
Message-ID: <bug-89338-4-cE13ZJCXmG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89338-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89338-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: 2019-02/txt/msg02511.txt.bz2
Content-length: 538

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89338

pc at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-19
                 CC|                            |pc at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |pc at gcc dot gnu.org
     Ever confirmed|0                           |1
>From gcc-bugs-return-634211-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 15:41:45 2019
Return-Path: <gcc-bugs-return-634211-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88515 invoked by alias); 19 Feb 2019 15:41:44 -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 88268 invoked by uid 48); 19 Feb 2019 15:41:39 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89399] [7/8/9 Regression] ICE: RTL check: expected code 'set', 'clobber' or 'clobber_high', have 'parallel' in combine_reaching_defs, at ree.c:783
Date: Tue, 19 Feb 2019 15:41: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-checking, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89399-4-iOhr5QsefR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89399-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89399-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: 2019-02/txt/msg02513.txt.bz2
Content-length: 391

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89399

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
At least from the comments, get_sub_rtx is like single_set, except that it
doesn't allow insns with two sets where one of them is dead.  If we initially
checked with single_set and then use get_sub_rtx, it might fail.

I think this issue has been introduced in r206418.
>From gcc-bugs-return-634210-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 15:41:00 2019
Return-Path: <gcc-bugs-return-634210-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82816 invoked by alias); 19 Feb 2019 15:41: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 82597 invoked by uid 48); 19 Feb 2019 15:40:56 -0000
From: "pc at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89339] sse-movmskb-1.c fails for PPC Big Endian
Date: Tue, 19 Feb 2019 15:41: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pc at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: pc 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-89339-4-wYKLVbQCmX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89339-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89339-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: 2019-02/txt/msg02512.txt.bz2
Content-length: 387

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89339

pc at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-19
     Ever confirmed|0                           |1
>From gcc-bugs-return-634212-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 15:42:47 2019
Return-Path: <gcc-bugs-return-634212-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92754 invoked by alias); 19 Feb 2019 15:42: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 92357 invoked by uid 55); 19 Feb 2019 15:42:42 -0000
From: "ian at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89169] FAIL: internal/cpu
Date: Tue, 19 Feb 2019 15:42: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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89169-4-0pu7YtVWJ5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89169-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89169-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: 2019-02/txt/msg02514.txt.bz2
Content-length: 594

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89169

--- Comment #1 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Tue Feb 19 15:42:09 2019
New Revision: 269019

URL: https://gcc.gnu.org/viewcvs?rev=269019&root=gcc&view=rev
Log:
        PR go/89169
    internal/cpu: do not require POWER8

    Although the gc toolchain requires POWER8, the gccgo toolchain does not.

    Fixes https://gcc.gnu.org/PR89169

    Reviewed-on: https://go-review.googlesource.com/c/162979

Modified:
    trunk/gcc/go/gofrontend/MERGE
    trunk/libgo/go/internal/cpu/cpu_ppc64x.go
>From gcc-bugs-return-634213-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 15:51:10 2019
Return-Path: <gcc-bugs-return-634213-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124840 invoked by alias); 19 Feb 2019 15:51: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 124738 invoked by uid 48); 19 Feb 2019 15:51:06 -0000
From: "pc at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/53991] _mm_popcnt_u64 fails with -O3 -fgnu-tm
Date: Tue, 19 Feb 2019 15:51: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: 4.7.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pc 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-53991-4-IOa3KJNOpH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-53991-4@http.gcc.gnu.org/bugzilla/>
References: <bug-53991-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: 2019-02/txt/msg02515.txt.bz2
Content-length: 399

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53991

pc at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW

--- Comment #13 from pc at gcc dot gnu.org ---
sorry, changed the state of this bug instead of another.  resetting to "NEW".
>From gcc-bugs-return-634214-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 16:04:54 2019
Return-Path: <gcc-bugs-return-634214-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113501 invoked by alias); 19 Feb 2019 16:04: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 113122 invoked by uid 55); 19 Feb 2019 16:04:50 -0000
From: "tschwinge at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/87924] OpenACC wait clauses without async-arguments
Date: Tue, 19 Feb 2019 16:04: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: openacc, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tschwinge at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: cltang at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87924-4-2H4lVtN0kK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87924-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87924-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: 2019-02/txt/msg02516.txt.bz2
Content-length: 693

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87924

--- Comment #3 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Author: tschwinge
Date: Tue Feb 19 16:04:17 2019
New Revision: 269020

URL: https://gcc.gnu.org/viewcvs?rev=269020&root=gcc&view=rev
Log:
[PR87924] OpenACC wait clauses without async-arguments: remove XFAILs

... which the recent r269016 didn't do.

        gcc/testsuite/
        PR c/87924
        * c-c++-common/goacc/asyncwait-5.c: Remove XFAILs.
        * gfortran.dg/goacc/asyncwait-5.f: Likewise.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/c-c++-common/goacc/asyncwait-5.c
    trunk/gcc/testsuite/gfortran.dg/goacc/asyncwait-5.f
>From gcc-bugs-return-634215-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 16:19:08 2019
Return-Path: <gcc-bugs-return-634215-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61617 invoked by alias); 19 Feb 2019 16:19: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 61490 invoked by uid 48); 19 Feb 2019 16:19:03 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89271] [9 Regression] gcc.target/powerpc/vsx-simode2.c stopped working in GCC 9
Date: Tue, 19 Feb 2019 16:19: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: missed-optimization, ra
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: amodra at gmail dot com
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89271-4-VdFppsBScL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89271-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89271-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: 2019-02/txt/msg02517.txt.bz2
Content-length: 245

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89271

--- Comment #6 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Created attachment 45767
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45767&action=edit
reg_move_cost patch
>From gcc-bugs-return-634216-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 16:20:20 2019
Return-Path: <gcc-bugs-return-634216-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67588 invoked by alias); 19 Feb 2019 16:20: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 67325 invoked by uid 48); 19 Feb 2019 16:20:16 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89271] [9 Regression] gcc.target/powerpc/vsx-simode2.c stopped working in GCC 9
Date: Tue, 19 Feb 2019 16:20: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: missed-optimization, ra
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: amodra at gmail dot com
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89271-4-AqsrKtBfDn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89271-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89271-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: 2019-02/txt/msg02518.txt.bz2
Content-length: 250

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89271

--- Comment #7 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Created attachment 45768
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45768&action=edit
NON_SPECIAL_REGS removal
>From gcc-bugs-return-634217-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 16:22:39 2019
Return-Path: <gcc-bugs-return-634217-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75173 invoked by alias); 19 Feb 2019 16:22: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 75010 invoked by uid 48); 19 Feb 2019 16:22:35 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89271] [9 Regression] gcc.target/powerpc/vsx-simode2.c stopped working in GCC 9
Date: Tue, 19 Feb 2019 16:22: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: missed-optimization, ra
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: amodra at gmail dot com
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89271-4-1PkZGOHfXr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89271-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89271-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: 2019-02/txt/msg02519.txt.bz2
Content-length: 237

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89271

--- Comment #8 from Segher Boessenkool <segher at gcc dot gnu.org> ---
I currently have the two previous patches in my stack, and I see no
regressions (on powerpc64-linux -m32/-m64).
>From gcc-bugs-return-634218-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 16:26:18 2019
Return-Path: <gcc-bugs-return-634218-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89932 invoked by alias); 19 Feb 2019 16:26:18 -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 89808 invoked by uid 48); 19 Feb 2019 16:26:14 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89271] [9 Regression] gcc.target/powerpc/vsx-simode2.c stopped working in GCC 9
Date: Tue, 19 Feb 2019 16:26: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: missed-optimization, ra
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: amodra at gmail dot com
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89271-4-YAQL5c7N0C@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89271-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89271-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: 2019-02/txt/msg02520.txt.bz2
Content-length: 254

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89271

--- Comment #9 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Erm.  No new ICEs, I mean.  Various tests expect different generated code
then you get with that.  Some of it is an improvement.
>From gcc-bugs-return-634219-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 16:27:51 2019
Return-Path: <gcc-bugs-return-634219-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95425 invoked by alias); 19 Feb 2019 16:27: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 95273 invoked by uid 48); 19 Feb 2019 16:27:46 -0000
From: "wilco at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/78314] [aarch64] ieee_support_halting does not report unsupported fpu traps correctly
Date: Tue, 19 Feb 2019 16:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libfortran
X-Bugzilla-Version: 7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wilco 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-78314-4-gkqrXS2Hsc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78314-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78314-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: 2019-02/txt/msg02521.txt.bz2
Content-length: 943

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78314

Wilco <wilco at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wilco at gcc dot gnu.org

--- Comment #23 from Wilco <wilco at gcc dot gnu.org> ---
(In reply to Steve Ellcey from comment #22)
> It looks like the recent checkins are causing gfortran.dg/ieee/ieee_6.f90
> to fail on aarch64.  Reading through the comments it looks like this isn't a
> new problem but the failure showing up in the GCC testsuite run is new.

Well it's a regression since it used to work in GCC7/8/9. Note it's incorrect
to allow folding of these calls, for example support_fpu_flag can return true
or false depending on the flag (FE_DENORMAL if not supported on most targets),
and yet the constant folding always returns true for all flags.
>From gcc-bugs-return-634220-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 16:32:34 2019
Return-Path: <gcc-bugs-return-634220-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2868 invoked by alias); 19 Feb 2019 16: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 2668 invoked by uid 48); 19 Feb 2019 16:32:30 -0000
From: "pc at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89339] sse-movmskb-1.c fails for PPC Big Endian
Date: Tue, 19 Feb 2019 16: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: 9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pc at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: pc at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-89339-4-2jki9aDmWp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89339-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89339-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: 2019-02/txt/msg02522.txt.bz2
Content-length: 400

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89339

pc at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |9.0

--- Comment #1 from pc at gcc dot gnu.org ---
Fix posted for review: https://gcc.gnu.org/ml/gcc-patches/2019-02/msg01589.html
>From gcc-bugs-return-634221-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 16:33:20 2019
Return-Path: <gcc-bugs-return-634221-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5863 invoked by alias); 19 Feb 2019 16:33: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 5703 invoked by uid 48); 19 Feb 2019 16:33:16 -0000
From: "pc at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89338] sse-cvtss2si-[12].c fails on PPC Big Endian
Date: Tue, 19 Feb 2019 16:33: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pc at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: pc at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-89338-4-qXJx5qs2Xo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89338-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89338-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: 2019-02/txt/msg02523.txt.bz2
Content-length: 400

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89338

pc at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |9.0

--- Comment #1 from pc at gcc dot gnu.org ---
Fix posted for review: https://gcc.gnu.org/ml/gcc-patches/2019-02/msg01589.html
>From gcc-bugs-return-634222-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 16:49:48 2019
Return-Path: <gcc-bugs-return-634222-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79151 invoked by alias); 19 Feb 2019 16:49:46 -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 78800 invoked by uid 48); 19 Feb 2019 16:49:39 -0000
From: "ctice at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89392] [7/8/9 Regression] ICE in bitmap_bit_p, at bitmap.c:978
Date: Tue, 19 Feb 2019 16:49: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: ctice 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89392-4-AZmcx59ZqJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89392-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89392-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: 2019-02/txt/msg02524.txt.bz2
Content-length: 798

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89392

ctice at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ctice at gcc dot gnu.org

--- Comment #4 from ctice at gcc dot gnu.org ---
Just FYI I'm in the process of reviewing this and making sure it make sense for
VTV.

In the meantime, I am puzzled by your statement that there is no testsuite
coverage for VTV:  VTV does indeed have a small testsuite.  It is in the libvtv
directory, because it makes no sense (and the tests all fail) if you try to run
it when VTV is not enabled.  But if you shift to the libvtv build tree and try
make check you should see the VTV tests run.
>From gcc-bugs-return-634223-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 17:01:09 2019
Return-Path: <gcc-bugs-return-634223-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91734 invoked by alias); 19 Feb 2019 17:01: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 78251 invoked by uid 55); 19 Feb 2019 17:01:00 -0000
From: "dave.anglin at bell dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89393] [9 Regression] FAIL: g++.dg/abi/ref-temp1.C  -std=c++14  scan-assembler .weak(_definition)?[ \t]_?_ZGR1bIvE
Date: Tue, 19 Feb 2019 17:01: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: dave.anglin at bell dot net
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
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-89393-4-joFS2vsuun@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89393-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89393-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: 2019-02/txt/msg02525.txt.bz2
Content-length: 310

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89393

--- Comment #2 from dave.anglin at bell dot net ---
On 2019-02-19 9:28 a.m., jakub at gcc dot gnu.org wrote:
> --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
> Would adding
> // { dg-require-weak "" }
> to the testcase help?
I will test.
>From gcc-bugs-return-634225-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 17:20:53 2019
Return-Path: <gcc-bugs-return-634225-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35478 invoked by alias); 19 Feb 2019 17:20:52 -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 35238 invoked by uid 48); 19 Feb 2019 17:20:49 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/80529] Split "C++ style comments are not allowed in ISO C90" pedwarn into its own warning flag
Date: Tue, 19 Feb 2019 17: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.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager 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-80529-4-4KfoG7fXor@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80529-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80529-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: 2019-02/txt/msg02527.txt.bz2
Content-length: 467

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80529

--- Comment #8 from Eric Gallager <egallager at gcc dot gnu.org> ---
My previous arguments for having a flag for this have been in the positive
form, i.e., so that it can be enabled separately, but I'd also like to state it
in its negative form, i.e., so that one can do -std=c89 -pedantic
-Wno-c++-style-comment to get the rest of the C89 pedwarns without also getting
the warnings for C++ style comments.
>From gcc-bugs-return-634224-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 17:20:26 2019
Return-Path: <gcc-bugs-return-634224-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33172 invoked by alias); 19 Feb 2019 17:20: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 32376 invoked by uid 48); 19 Feb 2019 17:20:19 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89403] New: [7/8/9 Regression] ICE in maybe_clone_body, at cp/optimize.c:693
Date: Tue, 19 Feb 2019 17:20: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: gscfq@t-online.de
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-89403-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: 2019-02/txt/msg02526.txt.bz2
Content-length: 1666

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89403

            Bug ID: 89403
           Summary: [7/8/9 Regression] ICE in maybe_clone_body, at
                    cp/optimize.c:693
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

With options "-fsyntax-only -Os" and several test cases like

$ cat constexpr-empty11.C
template <typename Xn>
struct element : Xn {
  constexpr element() : Xn() { }
};

template <typename Xn>
struct closure {
  element<Xn> member;
  constexpr closure() { }
};

struct empty { struct {} s; };
constexpr closure<empty> tup{};
constexpr empty first = tup.member;



$ g++-5 -c constexpr-empty11.C -std=c++14 -fsyntax-only -Os
$
$ g++-9-20190217 -c constexpr-empty11.C -fsyntax-only -O0
$ g++-9-20190217 -c constexpr-empty11.C -fsyntax-only -O2
$
$ g++-9-20190217 -c constexpr-empty11.C -fsyntax-only -Os
constexpr-empty11.C: In constructor 'constexpr element<Xn>::element() [with Xn
= empty]':
constexpr-empty11.C:14:35: internal compiler error: Segmentation fault
   14 | constexpr empty first = tup.member;
      |                                   ^
0xe32b7f crash_signal
        ../../gcc/toplev.c:326
0x763f75 maybe_clone_body(tree_node*)
        ../../gcc/cp/optimize.c:693
0x83e119 expand_or_defer_fn_1(tree_node*)
        ../../gcc/cp/semantics.c:4341
0x83e3d8 expand_or_defer_fn(tree_node*)
        ../../gcc/cp/semantics.c:4363
0x6f495d c_parse_final_cleanups()
        ../../gcc/cp/decl2.c:4967
>From gcc-bugs-return-634226-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 17:23:52 2019
Return-Path: <gcc-bugs-return-634226-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47578 invoked by alias); 19 Feb 2019 17:23: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 47360 invoked by uid 48); 19 Feb 2019 17:23:47 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/34721] Output statements fool the -Wuninitialized option
Date: Tue, 19 Feb 2019 17:23:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.3.0
X-Bugzilla-Keywords: diagnostic
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: cc
Message-ID: <bug-34721-4-cYn7WnCtAy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-34721-4@http.gcc.gnu.org/bugzilla/>
References: <bug-34721-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: 2019-02/txt/msg02528.txt.bz2
Content-length: 614

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34721

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org,
                   |                            |manu at gcc dot gnu.org

--- Comment #5 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Tobias Burnus from comment #2)
> Related to PR 31094, PR 31279, and PR 23169.

2 of those have since been fixed; does that help this at all?
>From gcc-bugs-return-634227-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 17:25:45 2019
Return-Path: <gcc-bugs-return-634227-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55690 invoked by alias); 19 Feb 2019 17:25: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 55494 invoked by uid 48); 19 Feb 2019 17:25:41 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89404] New: [7/8/9 Regression] ICE in build_value_init_noctor, at cp/init.c:467
Date: Tue, 19 Feb 2019 17:25: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: gscfq@t-online.de
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-89404-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: 2019-02/txt/msg02529.txt.bz2
Content-length: 2515

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89404

            Bug ID: 89404
           Summary: [7/8/9 Regression] ICE in build_value_init_noctor, at
                    cp/init.c:467
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

This invalid code ICEs with gcc-7 onwards :


$ cat z1.cc
void
foo (int n)
{
  struct {} a[1][n] (+a[0]);
}


$ g++-6 -c z1.cc
z1.cc: In function 'void foo(int)':
z1.cc:4:27: error: array must be initialized with a brace-enclosed initializer
   struct {} a[1][n] (+a[0]);
                           ^

$ g++-9-20190217 -c z1.cc
z1.cc: In function 'void foo(int)':
z1.cc:4:26: internal compiler error: in build_value_init_noctor, at
cp/init.c:467
    4 |   struct {} a[1][n] (+a[0]);
      |                          ^
0x6706e7 build_value_init_noctor(tree_node*, int)
        ../../gcc/cp/init.c:467
0x670738 build_value_init(tree_node*, int)
        ../../gcc/cp/init.c:380
0x620831 cxx_eval_array_reference
        ../../gcc/cp/constexpr.c:2602
0x620831 cxx_eval_constant_expression
        ../../gcc/cp/constexpr.c:4657
0x622104 cxx_eval_outermost_constant_expr
        ../../gcc/cp/constexpr.c:5115
0x6243d0 maybe_constant_value(tree_node*, tree_node*, bool)
        ../../gcc/cp/constexpr.c:5347
0x62f054 cp_fully_fold(tree_node*)
        ../../gcc/cp/cp-gimplify.c:2165
0x716e17 finish_unary_op_expr(unsigned int, tree_code, cp_expr, int)
        ../../gcc/cp/semantics.c:2745
0x6cc22c cp_parser_unary_expression
        ../../gcc/cp/parser.c:8440
0x6a9fef cp_parser_cast_expression
        ../../gcc/cp/parser.c:9345
0x6aa7c2 cp_parser_binary_expression
        ../../gcc/cp/parser.c:9446
0x6ab559 cp_parser_assignment_expression
        ../../gcc/cp/parser.c:9742
0x6aaf4d cp_parser_constant_expression
        ../../gcc/cp/parser.c:10026
0x6adf46 cp_parser_parenthesized_expression_list
        ../../gcc/cp/parser.c:7885
0x6aeb0c cp_parser_initializer
        ../../gcc/cp/parser.c:22647
0x6d18ad cp_parser_init_declarator
        ../../gcc/cp/parser.c:20378
0x6b70be cp_parser_simple_declaration
        ../../gcc/cp/parser.c:13476
0x6b8be9 cp_parser_declaration_statement
        ../../gcc/cp/parser.c:12906
0x6b962f cp_parser_statement
        ../../gcc/cp/parser.c:11230
0x6ba490 cp_parser_statement_seq_opt
        ../../gcc/cp/parser.c:11592
>From gcc-bugs-return-634228-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 17:27:50 2019
Return-Path: <gcc-bugs-return-634228-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63961 invoked by alias); 19 Feb 2019 17:27: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 63708 invoked by uid 48); 19 Feb 2019 17:27:44 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/68771] Darwin: Profile guided optimisation with cold sections and invalid symbol redefinition
Date: Tue, 19 Feb 2019 17:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 5.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager 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-68771-4-nKqcK6UxvN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68771-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68771-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: 2019-02/txt/msg02530.txt.bz2
Content-length: 417

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68771

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |iains at gcc dot gnu.org

--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
Maybe Iain will know what's up.
>From gcc-bugs-return-634229-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 17:31:07 2019
Return-Path: <gcc-bugs-return-634229-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76492 invoked by alias); 19 Feb 2019 17:31: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 75453 invoked by uid 48); 19 Feb 2019 17:30:44 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89405] New: [8/9 Regression] ICE in import_export_decl, at cp/decl2.c:2959
Date: Tue, 19 Feb 2019 17:31: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: gscfq@t-online.de
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-89405-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: 2019-02/txt/msg02531.txt.bz2
Content-length: 1158

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89405

            Bug ID: 89405
           Summary: [8/9 Regression] ICE in import_export_decl, at
                    cp/decl2.c:2959
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

The combination "-std=c++17 -fno-weak" affects several testsuite cases.
Changed between 20180527 and 20180610.


$ cat z1.cc
#include <new>
int* f (void* a)
{
  return new(a) int();
}


$ g++-9-20190217 -c z1.cc -std=c++14
$ g++-9-20190217 -c z1.cc -std=c++14 -fno-weak
$ g++-9-20190217 -c z1.cc -std=c++17
$
$ g++-7          -c z1.cc -std=c++17 -fno-weak
$ g++-9-20180527 -c z1.cc -std=c++17 -fno-weak


$ g++-9-20190217 -c z1.cc -std=c++17 -fno-weak
z1.cc:5:1: internal compiler error: in import_export_decl, at cp/decl2.c:2959
    5 | }
      | ^
0x65c5cb import_export_decl(tree_node*)
        ../../gcc/cp/decl2.c:2959
0x65fc67 c_parse_final_cleanups()
        ../../gcc/cp/decl2.c:4987
>From gcc-bugs-return-634230-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 17:36:34 2019
Return-Path: <gcc-bugs-return-634230-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116631 invoked by alias); 19 Feb 2019 17:36: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 113032 invoked by uid 48); 19 Feb 2019 17:36:28 -0000
From: "pskocik at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/66918] Disable "inline function declared but never defined" warning
Date: Tue, 19 Feb 2019 17:36: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: 5.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pskocik 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: cc
Message-ID: <bug-66918-4-f5zuxkUcCQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66918-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66918-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: 2019-02/txt/msg02532.txt.bz2
Content-length: 1151

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66918

pskocik at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pskocik at gmail dot com

--- Comment #7 from pskocik at gmail dot com ---
I'd also very much welcome a way to silence this (like with
-Wno-undefined-inline on clang).

My reason for wanting it is I'd like to prototype a non-static inline function
in one header (a fast-to-include header), define it in another (a
slower-to-parse header that might not always be needed), and have both headers
includable in the same translation unit.

Dummy example:

/*first.h*/
inline void f(void);

/*second.h*/
//#include "first.h"
inline void f(void){}

Unfortunately, if only the first header is included, gcc's generating this
unsilencable warning unless I drop the `inline` from the prototype, but if I do
and if I then also include the second header with the definition, then the
prototype without the inline will turn into an unwanted instantiation and
linker errors down the road.
>From gcc-bugs-return-634231-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 17:37:22 2019
Return-Path: <gcc-bugs-return-634231-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15067 invoked by alias); 19 Feb 2019 17:37: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 11782 invoked by uid 48); 19 Feb 2019 17:37:16 -0000
From: "pskocik at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/66918] Disable "inline function declared but never defined" warning
Date: Tue, 19 Feb 2019 17:37: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: 5.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pskocik 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-66918-4-weloSSIc7T@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66918-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66918-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: 2019-02/txt/msg02533.txt.bz2
Content-length: 909

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66918

--- Comment #8 from pskocik at gmail dot com ---
I'd also very much welcome a way to silence this (like with
-Wno-undefined-inline on clang).

My reason for wanting it is I'd like to prototype a non-static inline function
in one header (a fast-to-include header), define it in another (a
slower-to-parse header that might not always be needed), and have both headers
includable in the same translation unit.

Dummy example:

/*first.h*/
inline void f(void);

/*second.h*/
//#include "first.h"
inline void f(void){}

Unfortunately, if only the first header is included, gcc's generating this
unsilencable warning unless I drop the `inline` from the prototype, but if I do
and if I then also include the second header with the definition, then the
prototype without the inline will turn into an unwanted instantiation and
linker errors down the road.
>From gcc-bugs-return-634233-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 17:39:50 2019
Return-Path: <gcc-bugs-return-634233-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44275 invoked by alias); 19 Feb 2019 17:39: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 43823 invoked by uid 48); 19 Feb 2019 17:39:44 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89404] [7/8/9 Regression] ICE in build_value_init_noctor, at cp/init.c:467
Date: Tue, 19 Feb 2019 17:39: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-invalid-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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-89404-4-UmwMxMBAoZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89404-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89404-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: 2019-02/txt/msg02535.txt.bz2
Content-length: 572

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89404

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-19
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Started with r239267.
>From gcc-bugs-return-634232-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 17:39:22 2019
Return-Path: <gcc-bugs-return-634232-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41657 invoked by alias); 19 Feb 2019 17:39: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 41350 invoked by uid 48); 19 Feb 2019 17:39:18 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/50928] m32c ICE building RTEMS
Date: Tue, 19 Feb 2019 17:39: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: 4.7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-50928-4-VE6bnz75le@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-50928-4@http.gcc.gnu.org/bugzilla/>
References: <bug-50928-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: 2019-02/txt/msg02534.txt.bz2
Content-length: 586

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50928

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2019-02-19
     Ever confirmed|0                           |1

--- Comment #19 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #18)
> Can the bug be marked as resolved?

WAITING on a reply
>From gcc-bugs-return-634234-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 17:40:01 2019
Return-Path: <gcc-bugs-return-634234-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45194 invoked by alias); 19 Feb 2019 17:40: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 45050 invoked by uid 48); 19 Feb 2019 17:39:57 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89404] [7/8/9 Regression] ICE in build_value_init_noctor, at cp/init.c:467
Date: Tue, 19 Feb 2019 17:40: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-invalid-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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-89404-4-8r8hyI8ORg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89404-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89404-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: 2019-02/txt/msg02536.txt.bz2
Content-length: 293

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89404

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |7.5
>From gcc-bugs-return-634235-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 17:40:29 2019
Return-Path: <gcc-bugs-return-634235-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47430 invoked by alias); 19 Feb 2019 17:40: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 47254 invoked by uid 48); 19 Feb 2019 17:40:25 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/48562] [C++0x] warn about uses of initializer_list that will lead to dangling pointers
Date: Tue, 19 Feb 2019 17:40: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: 4.6.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-48562-4-tP5KbIQcm7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-48562-4@http.gcc.gnu.org/bugzilla/>
References: <bug-48562-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: 2019-02/txt/msg02537.txt.bz2
Content-length: 475

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48562

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #13 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #12)
> Can the bug be marked as resolved?

WAITING on a reply
>From gcc-bugs-return-634236-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 17:41:41 2019
Return-Path: <gcc-bugs-return-634236-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53805 invoked by alias); 19 Feb 2019 17:41:41 -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 53537 invoked by uid 48); 19 Feb 2019 17:41:37 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgcc/61152] Missing GCC Runtime Library Exception in some files that are included in libgcc
Date: Tue, 19 Feb 2019 17:41:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libgcc
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: trivial
X-Bugzilla-Who: egallager 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-61152-4-TsUkXrTmbL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61152-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61152-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: 2019-02/txt/msg02538.txt.bz2
Content-length: 605

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61152

--- Comment #12 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #11)
> Can the bug be marked as resolved?

I don't think so:

(In reply to Georg-Johann Lay from comment #10)
> (In reply to Eric Gallager from comment #9)
> > There have been a bunch of commits for this bug; is it fixed yet?
> 
> Dunno, back then I focused only on two targets, namely ARM and V850. 
> Neither did I perform a global review, nor do I know whether in the meantime
> (4 years now) more headers and files slipped in.
>From gcc-bugs-return-634238-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 17:43:57 2019
Return-Path: <gcc-bugs-return-634238-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64429 invoked by alias); 19 Feb 2019 17:43:56 -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 64007 invoked by uid 48); 19 Feb 2019 17:43:53 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/63633] [avr] internal compiler error: unrecognizable insn with mult insns
Date: Tue, 19 Feb 2019 17:43: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: 4.9.1
X-Bugzilla-Keywords: ice-on-valid-code, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: gjl at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-63633-4-FktEry2wgn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63633-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63633-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: 2019-02/txt/msg02540.txt.bz2
Content-length: 365

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63633

--- Comment #8 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #7)
> Can the bug be marked as resolved?

It already was, but then it was reopened because a duplicate was found: 

(In reply to Georg-Johann Lay from comment #5)
> Reopened on behalf of PR65657.
>From gcc-bugs-return-634237-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 17:43:32 2019
Return-Path: <gcc-bugs-return-634237-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61592 invoked by alias); 19 Feb 2019 17:43:32 -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 61407 invoked by uid 48); 19 Feb 2019 17:43:28 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80635] std::optional and bogus -Wmaybe-uninitialized warning
Date: Tue, 19 Feb 2019 17:43: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: unknown
X-Bugzilla-Keywords: diagnostic
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:
Message-ID: <bug-80635-4-BysrVV6aB5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80635-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80635-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: 2019-02/txt/msg02539.txt.bz2
Content-length: 1328

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635

--- Comment #15 from Martin Sebor <msebor at gcc dot gnu.org> ---
I think the following smaller test case independent of libstdc++ captures the
same issue as the bigger test case in comment #4.  Again, declaring f()
noexcept avoids the warning (but it's not a solution in general).  Zero
initializing A::i first and then setting it to the result of f() also avoids
the warning and seems like more viable solution/workaround until GCC gets
smarter about exceptions.

$ cat pr80635.C && gcc -O2 -S -Wall pr80635.C
void* operator new (__SIZE_TYPE__, void *p) { return p; }

int f ();
int x;

struct A {
  int i;
  A (): i (f ()) { }
  ~A () { x = i; }
};

struct B {
  B ();
  ~B ();
};


template <class T>
struct C {
  C (): t (), b () { }
  ~C () { if (b) t.~T (); }

  void f () {
    new (&t) T ();
    b = true;
  }

  union {
    T t;
    char x[sizeof (T)];
  };
  bool b;
};

void g ()
{
  C<A> c1;
  C<B> c2;

  c1.f ();
  c2.f ();
}
pr80635.C: In function ‘void g()’:
pr80635.C:9:13: warning: ‘c1.A::i’ may be used uninitialized in this function
[-Wmaybe-uninitialized]
    9 |   ~A () { x = i; }
      |           ~~^~~
pr80635.C:37:8: note: ‘c1.A::i’ was declared here
   37 |   C<A> c1;
      |        ^~
>From gcc-bugs-return-634239-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 17:46:52 2019
Return-Path: <gcc-bugs-return-634239-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101789 invoked by alias); 19 Feb 2019 17:46: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 101429 invoked by uid 48); 19 Feb 2019 17:46:47 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89403] [7/8/9 Regression] ICE in maybe_clone_body, at cp/optimize.c:693
Date: Tue, 19 Feb 2019 17:46: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: 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-89403-4-Rk19DkGgBL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89403-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89403-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: 2019-02/txt/msg02541.txt.bz2
Content-length: 561

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89403

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-19
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed.
>From gcc-bugs-return-634240-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 17:47:02 2019
Return-Path: <gcc-bugs-return-634240-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103252 invoked by alias); 19 Feb 2019 17:47: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 102675 invoked by uid 48); 19 Feb 2019 17:46:58 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/65657] [avr] read from __memx address space tramples argument to following function
Date: Tue, 19 Feb 2019 17:47: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: 4.8.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: DUPLICATE
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: gjl at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc see_also
Message-ID: <bug-65657-4-bEwekiz8kv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65657-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65657-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: 2019-02/txt/msg02542.txt.bz2
Content-length: 1099

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65657

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egallager at gcc dot gnu.org
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=87376

--- Comment #9 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Georg-Johann Lay from comment #6)
> 
> *** This bug has been marked as a duplicate of bug 63633 ***

(In reply to Georg-Johann Lay from comment #7)
> 
> *** This bug has been marked as a duplicate of bug 87376 ***

(In reply to Georg-Johann Lay from comment #8)
> Also duplicate of PR86635, aleady assigned to Senthil.
> 
> *** This bug has been marked as a duplicate of bug 86635 ***

Since changing which bug this is a duplicate of overwrites the previous value,
be sure to put the previous duplicates under "See Also" or something.
>From gcc-bugs-return-634241-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 17:50:01 2019
Return-Path: <gcc-bugs-return-634241-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117876 invoked by alias); 19 Feb 2019 17:50: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 117372 invoked by uid 48); 19 Feb 2019 17:49:54 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/63633] [avr] internal compiler error: unrecognizable insn with mult insns
Date: Tue, 19 Feb 2019 17:50: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: 4.9.1
X-Bugzilla-Keywords: ice-on-valid-code, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: gjl at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: see_also
Message-ID: <bug-63633-4-iWksN652QS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63633-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63633-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: 2019-02/txt/msg02543.txt.bz2
Content-length: 1152

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63633

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=86635,
                   |                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=87376

--- Comment #9 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #8)
> (In reply to Martin Liška from comment #7)
> > Can the bug be marked as resolved?
> 
> It already was, but then it was reopened because a duplicate was found: 
> 
> (In reply to Georg-Johann Lay from comment #5)
> > Reopened on behalf of PR65657.

OK I think I understand now: The bug that was marked as a duplicate of this was
marked as a duplicate of a different bug instead, bug 86635. It was also marked
as a dup of bug 87376 at one point so marking that as related too.
>From gcc-bugs-return-634243-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 17:53:47 2019
Return-Path: <gcc-bugs-return-634243-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15087 invoked by alias); 19 Feb 2019 17:53: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 14933 invoked by uid 48); 19 Feb 2019 17:53:42 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89403] [7/8/9 Regression] ICE in maybe_clone_body, at cp/optimize.c:693
Date: Tue, 19 Feb 2019 17: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: 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-89403-4-1Y8x8UAv8h@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89403-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89403-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: 2019-02/txt/msg02545.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89403

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |7.5

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Started with r224161.
>From gcc-bugs-return-634242-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 17:53:11 2019
Return-Path: <gcc-bugs-return-634242-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13254 invoked by alias); 19 Feb 2019 17:53: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 12890 invoked by uid 48); 19 Feb 2019 17:53:05 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/67064] Register asm variable broken
Date: Tue, 19 Feb 2019 17: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: 6.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: daniel.gutson at intel dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status
Message-ID: <bug-67064-4-ZRSnHoW31f@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67064-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67064-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: 2019-02/txt/msg02544.txt.bz2
Content-length: 476

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #32 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #31)
> Can the bug be marked as resolved?

WAITING on a reply.
>From gcc-bugs-return-634244-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 17:56:10 2019
Return-Path: <gcc-bugs-return-634244-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26680 invoked by alias); 19 Feb 2019 17:56: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 26453 invoked by uid 55); 19 Feb 2019 17:56:05 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89384] [9 Regression] CONTIGUOUS dummy argument in BIND(C) interface incorrect when actual is non-contiguous
Date: Tue, 19 Feb 2019 17:56: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: 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: P4
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-89384-4-HtJa4laH63@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89384-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89384-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: 2019-02/txt/msg02546.txt.bz2
Content-length: 819

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89384

--- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Tue Feb 19 17:55:33 2019
New Revision: 269024

URL: https://gcc.gnu.org/viewcvs?rev=269024&root=gcc&view=rev
Log:
2019-02-19  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/89384
        * trans-expr.c (gfc_conv_gfc_desc_to_cfi_desc): If the dummy
        argument is contiguous and the actual argument may not be,
        use gfc_conv_subref_array_arg.

2019-02-19  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/89384
        * gfortran.dg/ISO_Fortran_binding_4.f90


Added:
    trunk/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_4.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-expr.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634246-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 17:57:36 2019
Return-Path: <gcc-bugs-return-634246-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88387 invoked by alias); 19 Feb 2019 17:57: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 88168 invoked by uid 48); 19 Feb 2019 17:57:30 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89384] [9 Regression] CONTIGUOUS dummy argument in BIND(C) interface incorrect when actual is non-contiguous
Date: Tue, 19 Feb 2019 17:57: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
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-89384-4-TmVlc6scge@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89384-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89384-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: 2019-02/txt/msg02548.txt.bz2
Content-length: 464

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89384

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Fixed, closing.

Thanks for the bug report!
>From gcc-bugs-return-634245-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 17:57:19 2019
Return-Path: <gcc-bugs-return-634245-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86895 invoked by alias); 19 Feb 2019 17:57:19 -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 86697 invoked by uid 48); 19 Feb 2019 17:57:15 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89405] [8/9 Regression] ICE in import_export_decl, at cp/decl2.c:2959
Date: Tue, 19 Feb 2019 17: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: 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone everconfirmed
Message-ID: <bug-89405-4-caUosJDSK1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89405-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89405-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: 2019-02/txt/msg02547.txt.bz2
Content-length: 614

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89405

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-19
                 CC|                            |mpolacek at gcc dot gnu.org
   Target Milestone|---                         |8.4
     Ever confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed.
>From gcc-bugs-return-634247-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 17:58:02 2019
Return-Path: <gcc-bugs-return-634247-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90152 invoked by alias); 19 Feb 2019 17:58: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 89936 invoked by uid 48); 19 Feb 2019 17:57:58 -0000
From: "joel at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/50928] m32c ICE building RTEMS
Date: Tue, 19 Feb 2019 17: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: 4.7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joel at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-50928-4-4FPETYlpNo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-50928-4@http.gcc.gnu.org/bugzilla/>
References: <bug-50928-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: 2019-02/txt/msg02549.txt.bz2
Content-length: 276

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50928

--- Comment #20 from Joel Sherrill <joel at gcc dot gnu.org> ---
I filed this in 2011 and we dropped RTEMS support for the m32c last year for
our next release. If you all think it is fixed, please feel free to close it.
>From gcc-bugs-return-634248-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 18:03:10 2019
Return-Path: <gcc-bugs-return-634248-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3945 invoked by alias); 19 Feb 2019 18:03: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 3769 invoked by uid 48); 19 Feb 2019 18:03:06 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89405] [8/9 Regression] ICE in import_export_decl, at cp/decl2.c:2959
Date: Tue, 19 Feb 2019 18:03: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: 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89405-4-iGBMTumuHg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89405-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89405-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: 2019-02/txt/msg02550.txt.bz2
Content-length: 173

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89405

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Started with r241137 or something around that one.
>From gcc-bugs-return-634249-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 18:06:53 2019
Return-Path: <gcc-bugs-return-634249-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21750 invoked by alias); 19 Feb 2019 18:06:52 -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 21132 invoked by uid 48); 19 Feb 2019 18:06:47 -0000
From: "iains at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/68771] Darwin: Profile guided optimisation with cold sections and invalid symbol redefinition
Date: Tue, 19 Feb 2019 18:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 5.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: iains 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-68771-4-wGhsgIsUg6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68771-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68771-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: 2019-02/txt/msg02551.txt.bz2
Content-length: 404

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68771

--- Comment #4 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #3)
> Maybe Iain will know what's up.

Yes, that symbol is a problem (esp. with LTO) .. but I believe that I've
committed the changes to remove it to the 7 branch.  Please try 7.x current (I
don't have access to my Darwin test boxen right now).
>From gcc-bugs-return-634250-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 18:11:19 2019
Return-Path: <gcc-bugs-return-634250-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126417 invoked by alias); 19 Feb 2019 18:11:18 -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 125938 invoked by uid 48); 19 Feb 2019 18:11:14 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89169] FAIL: internal/cpu
Date: Tue, 19 Feb 2019 18:11: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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89169-4-2P7HXO9Aww@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89169-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89169-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: 2019-02/txt/msg02552.txt.bz2
Content-length: 419

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89169

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> ---
Fixed.
>From gcc-bugs-return-634251-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 18:13:31 2019
Return-Path: <gcc-bugs-return-634251-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28500 invoked by alias); 19 Feb 2019 18:13: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 28325 invoked by uid 48); 19 Feb 2019 18:13:26 -0000
From: "palves at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80635] std::optional and bogus -Wmaybe-uninitialized warning
Date: Tue, 19 Feb 2019 18:13: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: unknown
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: palves at redhat 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-80635-4-1nsuiiqmYZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80635-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80635-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: 2019-02/txt/msg02553.txt.bz2
Content-length: 892

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635

--- Comment #16 from Pedro Alves <palves at redhat dot com> ---
(In reply to Martin Sebor from comment #15)
> Zero
> initializing A::i first and then setting it to the result of f() also avoids
> the warning and seems like more viable solution/workaround until GCC gets
> smarter about exceptions.

Recall that this C in this case is an std::optional.  Basically any random type
wrapped in a std::optional can trigger issues like these.  A workaround for C
in A may be quite tricky -- A may not be default constructible, and the problem
may appear in some of A's subobjects recursively.  Or A may a class that isn't
under the user's control.  A workaround in C would be much better.  Memsetting
the buffer in C's ctor works, but the downside is that that likely has a run
time cost, which seems undesirable for std::optional.
>From gcc-bugs-return-634252-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 18:13:43 2019
Return-Path: <gcc-bugs-return-634252-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29550 invoked by alias); 19 Feb 2019 18:13: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 29327 invoked by uid 48); 19 Feb 2019 18:13:38 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89406] New: Go testing leaves many temporary directories in /tmp around
Date: Tue, 19 Feb 2019 18:13:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
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: jakub 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: ---
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-89406-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: 2019-02/txt/msg02554.txt.bz2
Content-length: 741

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89406

            Bug ID: 89406
           Summary: Go testing leaves many temporary directories in /tmp
                    around
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
          Assignee: ian at airs dot com
          Reporter: jakub at gcc dot gnu.org
                CC: cmang at google dot com
  Target Milestone: ---

After every bootstrap I see many directories like
/tmp/{200483472,cmd-go-test-213036399,go-build359954754,gotest050976977}
(with random numbers, in most cases multiple of them for each style) in /tmp. 
Could libgo testing clean that up after itself?
>From gcc-bugs-return-634253-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 18:17:11 2019
Return-Path: <gcc-bugs-return-634253-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122636 invoked by alias); 19 Feb 2019 18:17:06 -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 121167 invoked by uid 48); 19 Feb 2019 18:17:02 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89407] New: [9 Regression] go bootstrap failure on s390x starting with r268941
Date: Tue, 19 Feb 2019 18:17:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
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: jakub 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: ---
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-89407-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: 2019-02/txt/msg02555.txt.bz2
Content-length: 768

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89407

            Bug ID: 89407
           Summary: [9 Regression] go bootstrap failure on s390x starting
                    with r268941
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
          Assignee: ian at airs dot com
          Reporter: jakub at gcc dot gnu.org
                CC: cmang at google dot com
  Target Milestone: ---

As mentioned on gcc-patches
https://gcc.gnu.org/ml/gcc-patches/2019-02/msg01309.html
gcc fails to bootstrap on s390x-linux if configured with multilibs, as the
inline asm is 64-bit specific (lghi) and not really used (only referenced from
*_s390x.go, not from *_s390.go).
>From gcc-bugs-return-634254-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 18:17:29 2019
Return-Path: <gcc-bugs-return-634254-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124346 invoked by alias); 19 Feb 2019 18:17: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 124117 invoked by uid 48); 19 Feb 2019 18:17:25 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89407] [9 Regression] go bootstrap failure on s390x starting with r268941
Date: Tue, 19 Feb 2019 18:17: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cc target_milestone everconfirmed
Message-ID: <bug-89407-4-CHECisAX6C@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89407-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89407-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: 2019-02/txt/msg02556.txt.bz2
Content-length: 579

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89407

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-19
                 CC|                            |doko at gcc dot gnu.org
   Target Milestone|---                         |9.0
     Ever confirmed|0                           |1
>From gcc-bugs-return-634255-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 19:11:59 2019
Return-Path: <gcc-bugs-return-634255-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125719 invoked by alias); 19 Feb 2019 19:11: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 125393 invoked by uid 48); 19 Feb 2019 19:11:54 -0000
From: "bkorb at gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88973] [8/9 Regression] New -Wrestrict warning since r268048
Date: Tue, 19 Feb 2019 19:11: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: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bkorb at gnu dot org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
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: cc
Message-ID: <bug-88973-4-wdStqev5Rd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88973-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88973-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: 2019-02/txt/msg02557.txt.bz2
Content-length: 1184

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88973

Bruce Korb <bkorb at gnu dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bkorb at gnu dot org

--- Comment #5 from Bruce Korb <bkorb at gnu dot org> ---
(In reply to Martin Sebor from comment #4)

> canonicalize_pathname.c: In function ‘canonicalize_pathname’:
> canonicalize_pathname.c:61:2: warning: ‘strcpy’ accessing 1 byte at offsets
> [0, 9223372036854775807] and [0, 9223372036854775807] may overlap 1 byte at
> offset 0 [-Wrestrict]
>    61 |  strcpy( result + start + 1, result + i + 2 );
>       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> strcpy (0x217f265 = "//bar", 0x217f267 = "bar"): 3
> /foo/bar

I have a copy of this code in my project, but I haven't been writing code for
several years now. How was this fixed? The best fix would be to determine the
string length and do memmove-s, but that's enough fiddling that I'd have to
clear cobwebs and spend a mess of time. If someone's already done that, ... :)
>From gcc-bugs-return-634256-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 19:28:59 2019
Return-Path: <gcc-bugs-return-634256-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75240 invoked by alias); 19 Feb 2019 19:28: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 74818 invoked by uid 48); 19 Feb 2019 19:28:54 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80635] std::optional and bogus -Wmaybe-uninitialized warning
Date: Tue, 19 Feb 2019 19:28: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: unknown
X-Bugzilla-Keywords: diagnostic
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:
Message-ID: <bug-80635-4-UOIZ0Q78wW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80635-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80635-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: 2019-02/txt/msg02558.txt.bz2
Content-length: 563

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635

--- Comment #17 from Martin Sebor <msebor at gcc dot gnu.org> ---
The only way to avoid the warning in C (or std::optional) that I can think of
is to somehow obscure the access to the boolean flag.  Using volatile works but
looks like it has a cost that users wouldn't be happy about.  Using a relaxed
__atomic_store/_load also works and the optimized code doesn't look as bad, at
least not for the test case.  Obviously, neither is pretty but might be worth
looking into some more as a workaround.
>From gcc-bugs-return-634257-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 20:06:43 2019
Return-Path: <gcc-bugs-return-634257-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72514 invoked by alias); 19 Feb 2019 20:06: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 71901 invoked by uid 48); 19 Feb 2019 20:06:37 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89266] ICE with TRANSFER of len=0 character array constructor
Date: Tue, 19 Feb 2019 20:06: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: anlauf at gmx dot de
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-89266-4-rL0xGxKzuk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89266-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89266-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: 2019-02/txt/msg02559.txt.bz2
Content-length: 507

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89266

--- Comment #9 from Harald Anlauf <anlauf at gmx dot de> ---
(In reply to Harald Anlauf from comment #8)
> I have a 'half-patch' that tries to change gfc_target_expr_size()
> to return a bool which is true for success and false for failure,
> and then deal with this return value.
> 
> It seems that this also needs to be done for gfc_element_size().

A patch that does this has been posted here:

https://gcc.gnu.org/ml/fortran/2019-02/msg00153.html
>From gcc-bugs-return-634258-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 20:16:07 2019
Return-Path: <gcc-bugs-return-634258-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107724 invoked by alias); 19 Feb 2019 20:15: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 105891 invoked by uid 48); 19 Feb 2019 20:15:26 -0000
From: "jb at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/82480] KIND array returned by STAT too small for many values on CygWin platforms (and probably others)
Date: Tue, 19 Feb 2019 20:15: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: 6.4.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jb 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-82480-4-ZGs5ialFCC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82480-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82480-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: 2019-02/txt/msg02560.txt.bz2
Content-length: 680

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82480

Janne Blomqvist <jb at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jb at gcc dot gnu.org

--- Comment #3 from Janne Blomqvist <jb at gcc dot gnu.org> ---
Actually, libgfortran already has a version of stat with integer(kind=int64)
arguments. If you compile with -fdefault-integer-8 you get that one, and the
expected output.

However, there seems to be no way of calling the int64 version without
redefining the default integer kind. That should be fixable.
>From gcc-bugs-return-634259-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 20:20:38 2019
Return-Path: <gcc-bugs-return-634259-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4486 invoked by alias); 19 Feb 2019 20:20: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 1400 invoked by uid 48); 19 Feb 2019 20:20:33 -0000
From: "jb at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/80408] Problems with SIGNAL, pthread and print together
Date: Tue, 19 Feb 2019 20:20: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: 5.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jb 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: bug_status cc resolution
Message-ID: <bug-80408-4-gWm9ChBmgO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80408-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80408-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: 2019-02/txt/msg02561.txt.bz2
Content-length: 574

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80408

Janne Blomqvist <jb at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
                 CC|                            |jb at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #3 from Janne Blomqvist <jb at gcc dot gnu.org> ---
Indeed, this is invalid, as the GFortran I/O library is anything by
async-signal-safe.
>From gcc-bugs-return-634260-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 20:34:41 2019
Return-Path: <gcc-bugs-return-634260-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81448 invoked by alias); 19 Feb 2019 20:34: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 80708 invoked by uid 48); 19 Feb 2019 20:34:34 -0000
From: "jb at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/77908] Array operation fails for arrays with "long" indices
Date: Tue, 19 Feb 2019 20:34: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: 5.4.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jb 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-77908-4-ak3cfNpm9R@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77908-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77908-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: 2019-02/txt/msg02562.txt.bz2
Content-length: 698

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77908

Janne Blomqvist <jb at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jb at gcc dot gnu.org

--- Comment #5 from Janne Blomqvist <jb at gcc dot gnu.org> ---
Confirmed on x86_64-apple-darwin16.7.0 with "8.2.0 (Homebrew GCC 8.2.0)".

If I change bignumber to "huge(1_long) -1" the testcase works correctly.

Unless someone has an idea how to generate the loop so the index doesn't wrap
around while at the same time not regressing in performance, I'd say we close
this as WONTFIX.
>From gcc-bugs-return-634262-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 20:37:17 2019
Return-Path: <gcc-bugs-return-634262-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92671 invoked by alias); 19 Feb 2019 20:37: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 92195 invoked by uid 48); 19 Feb 2019 20:37:12 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/50928] m32c ICE building RTEMS
Date: Tue, 19 Feb 2019 20:37: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: 4.7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-50928-4-LFYbKTFl4o@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-50928-4@http.gcc.gnu.org/bugzilla/>
References: <bug-50928-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: 2019-02/txt/msg02564.txt.bz2
Content-length: 638

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50928

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED

--- Comment #21 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Joel Sherrill from comment #20)
> I filed this in 2011 and we dropped RTEMS support for the m32c last year for
> our next release. If you all think it is fixed, please feel free to close it.

OK.
>From gcc-bugs-return-634261-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 20:37:12 2019
Return-Path: <gcc-bugs-return-634261-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92101 invoked by alias); 19 Feb 2019 20:37: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 91732 invoked by uid 48); 19 Feb 2019 20:37:07 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: =?UTF-8?B?W0J1ZyBsaWJzdGRjKysvODk0MDJdIFs5IFJlZ3Jlc3Npb25dIHdhcm5pbmc6?= =?UTF-8?B?IOKAmHZvaWQgX1pOS1N0NGhhc2hJZUVjbEVlKCnigJkgc3BlY2lmaWVzIGxl?= =?UTF-8?B?c3MgcmVzdHJpY3RpdmUgYXR0cmlidXRlIHRoYW4gaXRzIHRhcmdldA==?Date: Tue, 19 Feb 2019 20:37:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89402-4-BssGVjG7kY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89402-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89402-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: 2019-02/txt/msg02563.txt.bz2
Content-length: 291

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89402

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #1)
> Created attachment 45766 [details]
> gcc9-pr89402.patch
> 
> Untested fix.

This patch is OK for trunk if it passes tests.
>From gcc-bugs-return-634263-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 20:50:41 2019
Return-Path: <gcc-bugs-return-634263-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55650 invoked by alias); 19 Feb 2019 20:50: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 53113 invoked by uid 48); 19 Feb 2019 20:50:36 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89365] Inquiry functions for assumed rank objects fail
Date: Tue, 19 Feb 2019 20:50: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gmx dot de
X-Bugzilla-Status: WAITING
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-89365-4-2Z1dYHDEiU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89365-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89365-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: 2019-02/txt/msg02565.txt.bz2
Content-length: 1975

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89365

Harald Anlauf <anlauf at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anlauf at gmx dot de

--- Comment #2 from Harald Anlauf <anlauf at gmx dot de> ---
The issue is probably not the LBOUND intrinsic, but the proper argument
association of the dummy argument of the subroutines.  (There is at least
another PR regarding POINTER dummy arguments)

The sample code has:

    subroutine foo_1(this) 
      real(c_float) :: this(..)

My reading of the F2018 FDIS regarding this case:

15.5.2 Actual arguments, dummy arguments, and argument association

15.5.2.4 Ordinary dummy variables

(1) The requirements in this subclause apply to actual arguments
that correspond to nonallocatable nonpointer dummy data objects.

(17) An actual argument of any rank may correspond to an
 assumed-rank dummy argument. The rank and extents of the dummy
 argument are the rank and extents of the corresponding actual
 argument. The lower bound of each dimension of the dummy
 argument is equal to one. The upper bound is equal to the
 extent, except for the last dimension when the actual argument
 is assumed-size.

That appears to be OK.  Right?

For the POINTER dummy argument (foo_3):

    subroutine foo_3(this) 
      real(c_float), pointer :: this(..)

Again, F2018 FDIS:

15.5.2.3 Argument association

(5) A present pointer dummy argument that corresponds to a
  pointer actual argument becomes argument associated with that
  actual argument.

Here I'd expect that we should actually get the same as if a pointer
association had taken place, c.f. PR85868 (so this one could be a duplicate?)

Finally:

    subroutine foo_2(this)
      real(c_float), allocatable :: this(..)

I couldn't find an appropriate reference here, so somebody else may have
something to say.
>From gcc-bugs-return-634264-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 21:26:00 2019
Return-Path: <gcc-bugs-return-634264-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20909 invoked by alias); 19 Feb 2019 21:25: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 20613 invoked by uid 48); 19 Feb 2019 21:25:49 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86248] [7/8/9 Regression] LEN_TRIM in specification expression causes link failure
Date: Tue, 19 Feb 2019 21:25: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.1.0
X-Bugzilla-Keywords: link-failure
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gmx dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-86248-4-lt2gPZBoHv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86248-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86248-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: 2019-02/txt/msg02566.txt.bz2
Content-length: 1094

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86248

Harald Anlauf <anlauf at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anlauf at gmx dot de

--- Comment #3 from Harald Anlauf <anlauf at gmx dot de> ---
It is strange that changing the line

character(len=3),dimension(0:2),parameter :: darray_fixed =
(/"el0","el1","el2"/)

by

character(len=3),dimension(0:2),save :: darray_fixed = (/"el0","el1","el2"/)

I get exactly the same(!) tree-dump with 9-trunk, but different .o,
since running nm on the first case gives:

0000000000000000 R __test_module_MOD__test_module_PROC_darray_fixed

vs.

0000000000000000 D __test_module_MOD_darray_fixed

My poor understanding of the assembler suggests that this is the origin
of all trouble.

The fact that the combined file seems to work (links OK) is not proof that
everything is fine, again seen only from the assembler.

I have no idea where the strange name mangling comes from.
>From gcc-bugs-return-634265-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 21:34:18 2019
Return-Path: <gcc-bugs-return-634265-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5667 invoked by alias); 19 Feb 2019 21:34: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 3251 invoked by uid 48); 19 Feb 2019 21:34:13 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88326] [7/8/9 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6085
Date: Tue, 19 Feb 2019 21:34: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gmx dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-88326-4-wjXH4bSyet@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88326-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88326-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: 2019-02/txt/msg02567.txt.bz2
Content-length: 894

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88326

Harald Anlauf <anlauf at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anlauf at gmx dot de

--- Comment #5 from Harald Anlauf <anlauf at gmx dot de> ---
Using my tentative fix for PR89266 I now get:

% gfc-x pr88326-z1.f90
pr88326-z1.f90:3:20:

    3 |    character :: y(1) = transfer('', x)
      |                    1
Error: Different shape for array assignment at (1) on dimension 1 (1 and 0)

% gfc-x pr88326-z2.f90
pr88326-z2.f90:3:23:

    3 |    character(0) :: y(1) = transfer('', x)
      |                       1
Error: Different shape for array assignment at (1) on dimension 1 (1 and 0)

% gfc-x pr88326-z3.f90

(No error).

Should be fixed when PR89266 is fixed.
>From gcc-bugs-return-634266-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 21:37:04 2019
Return-Path: <gcc-bugs-return-634266-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15843 invoked by alias); 19 Feb 2019 21:37: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 15508 invoked by uid 48); 19 Feb 2019 21:36:58 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89405] [8/9 Regression] ICE in import_export_decl, at cp/decl2.c:2959
Date: Tue, 19 Feb 2019 21:37: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: dmalcolm 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89405-4-bYbXPTyd7j@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89405-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89405-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: 2019-02/txt/msg02568.txt.bz2
Content-length: 2772

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89405

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmalcolm at gcc dot gnu.org

--- Comment #3 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
-fno-weak: "This option exists only for testing, and should not be used by
end-users"

Failing assertion:

2957      /* Any code that creates entities with TREE_PUBLIC cleared should
2958         also set DECL_INTERFACE_KNOWN.  */
2959      gcc_assert (TREE_PUBLIC (decl));

on this decl:

(gdb) call debug_tree (decl)
 <var_decl 0x7ffff1a657e0 value
    type <boolean_type 0x7ffff1a72888 bool readonly unsigned type_6 QI
        size <integer_cst 0x7ffff18adf18 constant 8>
        unit-size <integer_cst 0x7ffff18adf30 constant 1>
        align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7ffff1a72888 precision:1 min <integer_cst 0x7ffff18cf180 0> max <integer_cst
0x7ffff18cf1b0 1>>
    readonly constant used static tree_1 tree_2 tree_3 unsigned nonlocal
in_system_header read decl_1 QI
../x86_64-pc-linux-gnu/libstdc++-v3/include/type_traits:59:45 size <integer_cst
0x7ffff18adf18 8> unit-size <integer_cst 0x7ffff18adf30 1>
    align:8 warn_if_not_align:0 context <record_type 0x7ffff1a6ee70
integral_constant> initial <integer_cst 0x7ffff18cf180 0>
    template-info 0x7ffff1a69ba0 chain <function_decl 0x7ffff1a6d500 __conv_op
>>

(gdb) call inform (decl.decl_minimal.locus, "")
In file included from
../x86_64-pc-linux-gnu/libstdc++-v3/include/bits/move.h:55,
                 from
../x86_64-pc-linux-gnu/libstdc++-v3/include/bits/nested_exception.h:40,
                 from ../../src/libstdc++-v3/libsupc++/exception:144,
                 from ../../src/libstdc++-v3/libsupc++/new:40,
                 from /tmp/test.cc:1:
../x86_64-pc-linux-gnu/libstdc++-v3/include/type_traits: At global scope:
../x86_64-pc-linux-gnu/libstdc++-v3/include/type_traits:59:45: note: 
   59 |       static constexpr _Tp                  value = __v;
      |                                             ^~~~~

within:

  /// integral_constant
  template<typename _Tp, _Tp __v>
    struct integral_constant
    {
      static constexpr _Tp                  value = __v;

The flag gets cleared here in maybe_commonize_var in the "else" suite of an "if
(flag_weak)":

5630                  /* While for initialized variables, we must use internal
5631                     linkage -- which means that multiple copies will not
5632                     be merged.  */
5633                  TREE_PUBLIC (decl) = 0;
5634                  DECL_COMMON (decl) = 0;
>From gcc-bugs-return-634267-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 21:41:40 2019
Return-Path: <gcc-bugs-return-634267-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39420 invoked by alias); 19 Feb 2019 21:41: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 35409 invoked by uid 48); 19 Feb 2019 21:41:34 -0000
From: "jwerner at chromium dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89408] New: No constant folding when dereferencing string literals
Date: Tue, 19 Feb 2019 21:41: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.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jwerner at chromium dot 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-89408-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: 2019-02/txt/msg02569.txt.bz2
Content-length: 1523

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89408

            Bug ID: 89408
           Summary: No constant folding when dereferencing string literals
           Product: gcc
           Version: 8.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jwerner at chromium dot org
  Target Milestone: ---

See the following minimal test case:

int main(int argc, char **argv)
{
        switch (argc) {
        case "C"[0]:
                return 1;
        }
}

When compiling this, GCC throws the error:

test.c: In function 'main':
test.c:6:2: error: case label does not reduce to an integer constant
  case "C"[0]:
  ^~~~

Obviously, since the string literal "C" is constant, it should be trivial to
reduce it to an integer constant, just as if I had written 'C'.

This may seem like a pointless construct, but it is useful when using token
stringification in macros (because the preprocessor doesn't allow you to
stringify directly to a character constant). For example, a macro that returns
the character keycode for the key combination Ctrl+X (for any Latin letter) can
be nicely written as:

#define CTRL(letter) (#letter[0] & 0x1f)

Unfortunately, this fails in switch statements due to the bug described here.
(When used in other contexts, looking through the disassembly shows that the
optimizer does in fact seem to be able to constant fold the whole expression at
some point.)
>From gcc-bugs-return-634268-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 21:44:27 2019
Return-Path: <gcc-bugs-return-634268-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26608 invoked by alias); 19 Feb 2019 21:44: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 26368 invoked by uid 48); 19 Feb 2019 21:44:22 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89408] No constant folding when dereferencing string literals
Date: Tue, 19 Feb 2019 21:44: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.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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-89408-4-L3sPMTQAYy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89408-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89408-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: 2019-02/txt/msg02570.txt.bz2
Content-length: 135

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89408

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
See PR 44094.
>From gcc-bugs-return-634269-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 21:46:36 2019
Return-Path: <gcc-bugs-return-634269-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32073 invoked by alias); 19 Feb 2019 21:46:36 -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 31981 invoked by uid 48); 19 Feb 2019 21:46:31 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89408] No constant folding when dereferencing string literals
Date: Tue, 19 Feb 2019 21:46: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.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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: bug_status resolution
Message-ID: <bug-89408-4-amoXoCqFpc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89408-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89408-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: 2019-02/txt/msg02571.txt.bz2
Content-length: 470

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89408

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
C defines integer constants different from C++.
>From gcc-bugs-return-634270-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 22:37:45 2019
Return-Path: <gcc-bugs-return-634270-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55864 invoked by alias); 19 Feb 2019 22:37: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 55493 invoked by uid 48); 19 Feb 2019 22:37:40 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/89409] New: [9 Regression] FAIL: c-c++-common/ubsan/div-by-zero-[67].c
Date: Tue, 19 Feb 2019 22:37:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: sanitizer
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-89409-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: 2019-02/txt/msg02572.txt.bz2
Content-length: 1835

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89409

            Bug ID: 89409
           Summary: [9 Regression] FAIL:
                    c-c++-common/ubsan/div-by-zero-[67].c
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
                    jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at gcc dot gnu.org
  Target Milestone: ---
            Target: x32

On x32, r265691 gave

FAIL: c-c++-common/ubsan/div-by-zero-6.c   -O0  output pattern test
FAIL: c-c++-common/ubsan/div-by-zero-6.c   -O1  output pattern test
FAIL: c-c++-common/ubsan/div-by-zero-6.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  output pattern test
FAIL: c-c++-common/ubsan/div-by-zero-6.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  output pattern test
FAIL: c-c++-common/ubsan/div-by-zero-6.c   -O2  output pattern test
FAIL: c-c++-common/ubsan/div-by-zero-6.c   -O3 -g  output pattern test
FAIL: c-c++-common/ubsan/div-by-zero-6.c   -Os  output pattern test
FAIL: c-c++-common/ubsan/div-by-zero-7.c   -O0  output pattern test
FAIL: c-c++-common/ubsan/div-by-zero-7.c   -O1  output pattern test
FAIL: c-c++-common/ubsan/div-by-zero-7.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  output pattern test
FAIL: c-c++-common/ubsan/div-by-zero-7.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  output pattern test
FAIL: c-c++-common/ubsan/div-by-zero-7.c   -O2  output pattern test
FAIL: c-c++-common/ubsan/div-by-zero-7.c   -O3 -g  output pattern test
FAIL: c-c++-common/ubsan/div-by-zero-7.c   -Os  output pattern test
>From gcc-bugs-return-634271-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 22:39:12 2019
Return-Path: <gcc-bugs-return-634271-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61163 invoked by alias); 19 Feb 2019 22:39: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 60806 invoked by uid 48); 19 Feb 2019 22:39:07 -0000
From: "jg at jguk dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89410] New: internal compiler error: in calculate_line_spans, at diagnostic-show-locus.c:1237 after #line
Date: Tue, 19 Feb 2019 22:39: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: jg at jguk dot 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-89410-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: 2019-02/txt/msg02573.txt.bz2
Content-length: 2017

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89410

            Bug ID: 89410
           Summary: internal compiler error: in calculate_line_spans, at
                    diagnostic-show-locus.c:1237 after #line
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jg at jguk dot org
  Target Milestone: ---

I know this is really improbable, a file with more than 2 Million lines, but
anyway.

I was a bit surprised to see the line number come and go in the output.


What would be best? if 2^31 2147483648 is the limit, maybe should just fix on
-1 above that number to prevent the ICE? Or is it worth extending to int64?

A


Godbolt trunk
gcc (GCC-Explorer-Build) 9.0.1 20190217


int main(void)
{
#warning first
#line 12147483647
#warning second
#line 112147483647
#warning third
#line 112147483647
#warning fifth
#line 1223372036854775807
#warning sixth
#line 9223372036854775807
#warning seventh
}


#1 with x86-64 gcc (trunk)
<source>: In function 'main':
<source>:3:2: warning: #warning first [-Wcpp]
    3 | #warning first
      |  ^~~~~~~
<source>:-737418241:2: warning: #warning second [-Wcpp]
<source>:-737418240:7: warning: line number out of range
<source>:478333951:2: warning: #warning third [-Wcpp]
<source>:478333952:7: warning: line number out of range
<source>:478333951:2: warning: #warning fifth [-Wcpp]
<source>:478333952:7: warning: line number out of range
<source>:-991952897:2: warning: #warning sixth [-Wcpp]
<source>:-991952896:7: warning: line number out of range
<source>:-1:2: warning: #warning seventh [-Wcpp]
<source>:-1: internal compiler error: in calculate_line_spans, at
diagnostic-show-locus.c:1237
Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
Compiler returned 1
>From gcc-bugs-return-634272-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 22:40:12 2019
Return-Path: <gcc-bugs-return-634272-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64988 invoked by alias); 19 Feb 2019 22:40: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 64785 invoked by uid 48); 19 Feb 2019 22:40:07 -0000
From: "jg at jguk dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89410] internal compiler error: in calculate_line_spans, at diagnostic-show-locus.c:1237 after #line
Date: Tue, 19 Feb 2019 22:40: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: jg at jguk dot 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-89410-4-xwuvPmChZ9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89410-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89410-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: 2019-02/txt/msg02574.txt.bz2
Content-length: 218

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89410

--- Comment #1 from Jonny Grant <jg at jguk dot org> ---
This was brought up by Martin Sebor on gcc-help BTW.
https://gcc.gnu.org/ml/gcc-help/2019-02/msg00084.html
>From gcc-bugs-return-634273-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 22:42:30 2019
Return-Path: <gcc-bugs-return-634273-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78856 invoked by alias); 19 Feb 2019 22:42: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 78721 invoked by uid 48); 19 Feb 2019 22:42:26 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/89409] [9 Regression] FAIL: c-c++-common/ubsan/div-by-zero-[67].c
Date: Tue, 19 Feb 2019 22:42: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89409-4-xJym22Tp5Z@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89409-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89409-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: 2019-02/txt/msg02575.txt.bz2
Content-length: 162

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89409

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
So, what does it print? When it regressed?
>From gcc-bugs-return-634274-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 22:42:31 2019
Return-Path: <gcc-bugs-return-634274-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78917 invoked by alias); 19 Feb 2019 22:42: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 78767 invoked by uid 48); 19 Feb 2019 22:42:27 -0000
From: "jg at jguk dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89410] internal compiler error: in calculate_line_spans, at diagnostic-show-locus.c:1237 after #line
Date: Tue, 19 Feb 2019 22: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jg at jguk dot 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-89410-4-DHBJeRZLeE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89410-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89410-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: 2019-02/txt/msg02576.txt.bz2
Content-length: 408

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89410

--- Comment #2 from Jonny Grant <jg at jguk dot org> ---
Would be good if the original source line number was retained along with the
#line override number. eg the ICE error has the wrong line number (hehe) ...
The ICE could show the actual line number (unless there is an option to show
the original line numbers as well as the #line override already?)
>From gcc-bugs-return-634275-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 22:52:11 2019
Return-Path: <gcc-bugs-return-634275-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8892 invoked by alias); 19 Feb 2019 22:52: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 8556 invoked by uid 48); 19 Feb 2019 22:52:07 -0000
From: "sje at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/78314] [aarch64] ieee_support_halting does not report unsupported fpu traps correctly
Date: Tue, 19 Feb 2019 22:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libfortran
X-Bugzilla-Version: 7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sje 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-78314-4-cc6jGlQ7C3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78314-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78314-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: 2019-02/txt/msg02577.txt.bz2
Content-length: 268

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78314

--- Comment #24 from Steve Ellcey <sje at gcc dot gnu.org> ---
See email strings at:

https://gcc.gnu.org/ml/fortran/2019-01/msg00276.html
https://gcc.gnu.org/ml/fortran/2019-02/msg00057.html

For more discussion.
>From gcc-bugs-return-634276-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 23:03:22 2019
Return-Path: <gcc-bugs-return-634276-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121474 invoked by alias); 19 Feb 2019 23:03: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 117198 invoked by uid 55); 19 Feb 2019 23:03:17 -0000
From: "joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89397] [7/8 Regression] ICE in build_call_expr_loc_array at gcc/tree.c:11563 since r229082
Date: Tue, 19 Feb 2019 23:03: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: accepts-invalid, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joseph at codesourcery dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: hjl at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89397-4-nLu8eKsHcZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89397-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89397-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: 2019-02/txt/msg02578.txt.bz2
Content-length: 588

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89397

--- Comment #3 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
On Tue, 19 Feb 2019, marxin at gcc dot gnu.org wrote:

> Before the revision it was rejected with:
> 
> atomic2.c: In function ‘func’:
> atomic2.c:49:8: error: x87 register return with x87 disabled
>    ald1 = d1;
>         ^
> atomic2.c:51:8: error: SSE register return with SSE disabled
>    acd1 += ab1;
>         ^

The code doesn't appear to involve such a return, so I don't see why it 
should be rejected at all.
>From gcc-bugs-return-634277-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 23:10:27 2019
Return-Path: <gcc-bugs-return-634277-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127275 invoked by alias); 19 Feb 2019 23:10: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 127126 invoked by uid 48); 19 Feb 2019 23:10:23 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/89409] [9 Regression] FAIL: c-c++-common/ubsan/div-by-zero-[67].c
Date: Tue, 19 Feb 2019 23:10: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: 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-89409-4-r74VH8iet2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89409-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89409-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: 2019-02/txt/msg02579.txt.bz2
Content-length: 1497

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89409

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-19
   Target Milestone|---                         |9.0
     Ever confirmed|0                           |1

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
It is caused by r265665, specially:

@@ -387,18 +388,19 @@ uptr internal_dup2(int oldfd, int newfd) {
 }

 uptr internal_readlink(const char *path, char *buf, uptr bufsize) {
-#if SANITIZER_NETBSD
-  return internal_syscall_ptr(SYSCALL(readlink), path, buf, bufsize);
-#elif SANITIZER_USES_CANONICAL_LINUX_SYSCALLS
-  return internal_syscall(SYSCALL(readlinkat), AT_FDCWD,
-                          (uptr)path, (uptr)buf, bufsize);
+#if SANITIZER_USES_CANONICAL_LINUX_SYSCALLS
+  return internal_syscall(SYSCALL(readlinkat), AT_FDCWD, (uptr)path,
(uptr)buf,+                          bufsize);
+#elif SANITIZER_OPENBSD
+  return internal_syscall(SYSCALL(readlinkat), AT_FDCWD, (uptr)path,
(uptr)buf,
+                          bufsize);
 #else
-  return internal_syscall(SYSCALL(readlink), (uptr)path, (uptr)buf, bufsize);
+  return internal_syscall(SYSCALL(readlink), path, buf, bufsize);
                                              ^^^^^^^^^ These are bad for x32.
 #endif
 }
>From gcc-bugs-return-634278-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 23:11:16 2019
Return-Path: <gcc-bugs-return-634278-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130152 invoked by alias); 19 Feb 2019 23:11: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 129895 invoked by uid 48); 19 Feb 2019 23:11:11 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89271] [9 Regression] gcc.target/powerpc/vsx-simode2.c stopped working in GCC 9
Date: Tue, 19 Feb 2019 23:11: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: missed-optimization, ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amodra at gmail dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: amodra at gmail dot com
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89271-4-tnmEIrE1c8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89271-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89271-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: 2019-02/txt/msg02580.txt.bz2
Content-length: 738

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89271

--- Comment #10 from Alan Modra <amodra at gmail dot com> ---
> NON_SPECIAL_REGS removal

The gcc docs say of register classes: "You should define a class for the union
of two classes whenever some instruction allows both classes."

So this would seem to be going in the wrong direction.  We have quite a few
insns that allow gprs in one alternative and vsx/fpr/altivec in another.

I don't know whether the docs are up to date for ira/lra but my analysis of the
ppc-round3.c failure (see the notes in the patches I attached) after fixing
integer register move cost suggests that register allocation is better with
union classes available.  Note that x86 does have union classes.
>From gcc-bugs-return-634279-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 23:32:51 2019
Return-Path: <gcc-bugs-return-634279-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109804 invoked by alias); 19 Feb 2019 23:32: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 109623 invoked by uid 48); 19 Feb 2019 23:32:46 -0000
From: "ctice at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89392] [7/8/9 Regression] ICE in bitmap_bit_p, at bitmap.c:978
Date: Tue, 19 Feb 2019 23:32: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: ctice 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89392-4-URD96dcViR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89392-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89392-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: 2019-02/txt/msg02581.txt.bz2
Content-length: 276

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89392

--- Comment #5 from ctice at gcc dot gnu.org ---
I have been unable to reproduce this error, using the latest GCC and building
with VTV enabled.  What architecture are you using?  How are you configuring
your GCC build?
>From gcc-bugs-return-634280-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 19 23:42:56 2019
Return-Path: <gcc-bugs-return-634280-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15207 invoked by alias); 19 Feb 2019 23:42:56 -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 15088 invoked by uid 48); 19 Feb 2019 23:42:52 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/89409] [9 Regression] FAIL: c-c++-common/ubsan/div-by-zero-[67].c
Date: Tue, 19 Feb 2019 23:42: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: 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:
Message-ID: <bug-89409-4-FhAHH9UKJx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89409-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89409-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: 2019-02/txt/msg02582.txt.bz2
Content-length: 186

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89409

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
A patch is submitted for compiler-rt:

https://reviews.llvm.org/D58413
>From gcc-bugs-return-634281-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 00:25:36 2019
Return-Path: <gcc-bugs-return-634281-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7866 invoked by alias); 20 Feb 2019 00:25:36 -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 7677 invoked by uid 48); 20 Feb 2019 00:25:32 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89410] [7/8/9 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1237 after #line
Date: Wed, 20 Feb 2019 00: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: 9.0
X-Bugzilla-Keywords: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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_known_to_work keywords cf_reconfirmed_on cc everconfirmed short_desc cf_known_to_fail
Message-ID: <bug-89410-4-CGy7KwTbTV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89410-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89410-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: 2019-02/txt/msg02583.txt.bz2
Content-length: 4148

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89410

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
      Known to work|                            |5.2.0
           Keywords|                            |ice-on-invalid-code
   Last reconfirmed|                            |2019-02-20
                 CC|                            |msebor at gcc dot gnu.org
     Ever confirmed|0                           |1
            Summary|internal compiler error: in |[7/8/9 Regression] ICE in
                   |calculate_line_spans, at    |calculate_line_spans, at
                   |diagnostic-show-locus.c:123 |diagnostic-show-locus.c:123
                   |7 after #line               |7 after #line
      Known to fail|                            |6.4.0, 7.3.0, 8.2.0, 9.0

--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed with the styack trace below.  According to my bisection the ICE was
introduced into GCC 6 by r233386:

r233386 | dmalcolm | 2016-02-12 14:18:03 -0500 (Fri, 12 Feb 2016) | 51 lines

PR other/69554: avoid excessive source printing for widely-separated locations


u.c: In function ‘main’:
u.c:3:2: warning: #warning first [-Wcpp]
    3 | #warning first
      |  ^~~~~~~
u.c:-737418241:2: warning: #warning second [-Wcpp]
u.c:-737418240:7: warning: line number out of range
u.c:478333951:2: warning: #warning third [-Wcpp]
u.c:478333952:7: warning: line number out of range
u.c:478333951:2: warning: #warning fifth [-Wcpp]
u.c:478333952:7: warning: line number out of range
u.c:-991952897:2: warning: #warning sixth [-Wcpp]
u.c:-991952896:7: warning: line number out of range
u.c:-1:2: warning: #warning seventh [-Wcpp]

u.c:-1: internal compiler error: in calculate_line_spans, at
diagnostic-show-locus.c:1237

Internal compiler error: Error reporting routines re-entered.
0x20eff48 calculate_line_spans
        /src/gcc/svn/gcc/diagnostic-show-locus.c:1237
0x20ef134 layout
        /src/gcc/svn/gcc/diagnostic-show-locus.c:871
0x20f1e82 diagnostic_show_locus(diagnostic_context*, rich_location*,
diagnostic_t)
        /src/gcc/svn/gcc/diagnostic-show-locus.c:2282
0x93fe57 c_diagnostic_finalizer
        /src/gcc/svn/gcc/c-family/c-opts.c:171
0x20e7f33 diagnostic_report_diagnostic(diagnostic_context*, diagnostic_info*)
        /src/gcc/svn/gcc/diagnostic.c:1020
0x20e84b0 diagnostic_impl
        /src/gcc/svn/gcc/diagnostic.c:1159
0x20e9ceb internal_error(char const*, ...)
        /src/gcc/svn/gcc/diagnostic.c:1540
0x20e9f53 fancy_abort(char const*, int, char const*)
        /src/gcc/svn/gcc/diagnostic.c:1607
0x20eff48 calculate_line_spans
        /src/gcc/svn/gcc/diagnostic-show-locus.c:1237
0x20ef134 layout
        /src/gcc/svn/gcc/diagnostic-show-locus.c:871
0x20f1e82 diagnostic_show_locus(diagnostic_context*, rich_location*,
diagnostic_t)
        /src/gcc/svn/gcc/diagnostic-show-locus.c:2282
0x93fe57 c_diagnostic_finalizer
        /src/gcc/svn/gcc/c-family/c-opts.c:171
0x20e7f33 diagnostic_report_diagnostic(diagnostic_context*, diagnostic_info*)
        /src/gcc/svn/gcc/diagnostic.c:1020
0x9078cf c_cpp_diagnostic(cpp_reader*, cpp_diagnostic_level,
cpp_warning_reason, rich_location*, char const*, __va_list_tag (*) [1])
        /src/gcc/svn/gcc/c-family/c-common.c:6320
0x212ffac cpp_diagnostic_with_line
        /src/gcc/svn/libcpp/errors.c:163
0x2130311 cpp_warning_with_line_syshdr(cpp_reader*, cpp_warning_reason,
unsigned int, unsigned int, char const*, ...)
        /src/gcc/svn/libcpp/errors.c:238
0x212bce5 do_diagnostic
        /src/gcc/svn/libcpp/directives.c:1147
0x212bda9 do_warning
        /src/gcc/svn/libcpp/directives.c:1165
0x212a9af _cpp_handle_directive
        /src/gcc/svn/libcpp/directives.c:541
0x213ec23 _cpp_lex_token
        /src/gcc/svn/libcpp/lex.c:2609
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-634282-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 01:27:01 2019
Return-Path: <gcc-bugs-return-634282-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114123 invoked by alias); 20 Feb 2019 01:27: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 113652 invoked by uid 48); 20 Feb 2019 01:26:56 -0000
From: "liuyingying19 at huawei dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89411] New: RISC-V backend will generate wrong instruction for longlong type like lw a3,-2048(a5)
Date: Wed, 20 Feb 2019 01:27: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: 7.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: liuyingying19 at huawei 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-89411-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: 2019-02/txt/msg02584.txt.bz2
Content-length: 1689

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89411

            Bug ID: 89411
           Summary: RISC-V backend will generate wrong instruction for
                    longlong type like lw a3,-2048(a5)
           Product: gcc
           Version: 7.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: liuyingying19 at huawei dot com
  Target Milestone: ---

Hi Experts,

We are having below problem in the RISC-V backend.

https://sourceware.org/bugzilla/show_bug.cgi?id=24226



We can confirm it is a compiler bug at this point.

In our testcase, we are using the option  –mcmodel = medlow  and  
-mexplicit_relocs, but we got the similar problem that binutils will generate
wrong instruction like  lw       a3,-2048(a5).

When compiled to .S file, the result is correct:
                lui           a5,%hi(g_3030)
                lw           a4,%lo(g_3030)(a5)
                srli          a4,a4,8
                lw           a3,%lo(g_3030+4)(a5)



After link, the result is not correct:
   1db2a:               0002a7b7             lui           a5,0x2c
   1db2e:               7fc7a703              lw           a4,2044(a5) # 2c7fc
<g_3030>
   1db32:               8321                       srli          a4,a4,0x8
   1db34:               8007a683             lw           a3,-2048(a5)


The result of %lo(g_3030+4) should be 2044 + 4 = 2048, but the value 2048
overflowed the 12 bit signed value, turn to -2048 and cause problem.

Would you please git some advise on a workaround that is not going to affect
the code size.
>From gcc-bugs-return-634283-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 02:01:53 2019
Return-Path: <gcc-bugs-return-634283-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82348 invoked by alias); 20 Feb 2019 02:01: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 81232 invoked by uid 55); 20 Feb 2019 02:01:43 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88368] [7/8/9 Regression] Improper ``use of deleted function''
Date: Wed, 20 Feb 2019 02:01: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.1
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88368-4-64WtxknqhI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88368-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88368-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: 2019-02/txt/msg02585.txt.bz2
Content-length: 1202

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88368

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Feb 20 02:00:29 2019
New Revision: 269032

URL: https://gcc.gnu.org/viewcvs?rev=269032&root=gcc&view=rev
Log:
        PR c++/88368 - wrong 'use of deleted function'

Since my patch for 81359 allowed us to signal failure on return from
maybe_instantiate_noexcept, we no longer need to turn an error into
noexcept(false).  We also need to handle NSDMI instantiation errors under
synthesized_method_walk.  This change caused some instantiation context
notes to be lost in the testsuite, so I added push_tinst_level to
get_defaulted_eh_spec to restore that context.

        * method.c (walk_field_subobs): Remember errors from get_nsdmi.
        (get_defaulted_eh_spec): Call push_tinst_level.
        * pt.c (maybe_instantiate_noexcept): Keep error_mark_node.
        * typeck2.c (merge_exception_specifiers): Handle error_mark_node.

Added:
    trunk/gcc/testsuite/g++.dg/ext/is_constructible3.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/method.c
    trunk/gcc/cp/pt.c
    trunk/gcc/cp/typeck2.c
    trunk/gcc/testsuite/g++.dg/cpp0x/nsdmi3.C
>From gcc-bugs-return-634284-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 02:02:44 2019
Return-Path: <gcc-bugs-return-634284-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96349 invoked by alias); 20 Feb 2019 02:02:43 -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 94591 invoked by uid 48); 20 Feb 2019 02:02:40 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88368] [7/8 Regression] Improper ``use of deleted function''
Date: Wed, 20 Feb 2019 02:02: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.1
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-88368-4-AJfq8neDJJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88368-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88368-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: 2019-02/txt/msg02586.txt.bz2
Content-length: 478

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88368

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[7/8/9 Regression] Improper |[7/8 Regression] Improper
                   |``use of deleted function'' |``use of deleted function''

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed on trunk so far.
>From gcc-bugs-return-634285-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 02:07:42 2019
Return-Path: <gcc-bugs-return-634285-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 131018 invoked by alias); 20 Feb 2019 02:07:41 -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 124175 invoked by uid 48); 20 Feb 2019 02:07:29 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89285] [8/9 Regression] ICE after casting the this pointer in the constructor in C++17 mode
Date: Wed, 20 Feb 2019 02:07: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: accepts-invalid, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-89285-4-XyT97wqCPW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89285-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89285-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: 2019-02/txt/msg02587.txt.bz2
Content-length: 378

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89285

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
>From gcc-bugs-return-634286-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 02:16:04 2019
Return-Path: <gcc-bugs-return-634286-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45188 invoked by alias); 20 Feb 2019 02:16: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 44318 invoked by uid 48); 20 Feb 2019 02:15:57 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88380] [7/8/9 Regression] Sequence of not-explicitly initialised, initialised, variable length generates no initialiser
Date: Wed, 20 Feb 2019 02:16: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc assigned_to
Message-ID: <bug-88380-4-TZZXgiknZA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88380-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88380-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: 2019-02/txt/msg02588.txt.bz2
Content-length: 452

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88380

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |jason at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org
>From gcc-bugs-return-634287-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 02:25:53 2019
Return-Path: <gcc-bugs-return-634287-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19481 invoked by alias); 20 Feb 2019 02:25: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 19353 invoked by uid 48); 20 Feb 2019 02:25:49 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87921] [7/8/9 Regression] Incorrect error "storage size of [array] isn't known (when it is)
Date: Wed, 20 Feb 2019 02: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: 7.3.1
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-87921-4-pSQY8k6hSG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87921-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87921-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: 2019-02/txt/msg02589.txt.bz2
Content-length: 378

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87921

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org
>From gcc-bugs-return-634288-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 02:36:16 2019
Return-Path: <gcc-bugs-return-634288-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49638 invoked by alias); 20 Feb 2019 02:36: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 49404 invoked by uid 55); 20 Feb 2019 02:36:11 -0000
From: "helijia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88100] no warning reported when value for vec_splat_{su}{8,16} would overflow
Date: Wed, 20 Feb 2019 02:36: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: unknown
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: helijia 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-88100-4-l22gzQRG0g@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88100-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88100-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: 2019-02/txt/msg02590.txt.bz2
Content-length: 2049

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88100

--- Comment #4 from Li Jia He <helijia at gcc dot gnu.org> ---
Author: helijia
Date: Wed Feb 20 02:35:39 2019
New Revision: 269033

URL: https://gcc.gnu.org/viewcvs?rev=269033&root=gcc&view=rev
Log:
[rs6000] fix PR 88100, range check for vec_splat_{su}{8,16,32}

GCC revision 259524 implemented range check for the vec_splat_{su}{8,16,32}
builtins.  However, as a consequence of the implementation, the range check
is not done correctly for the expected vspltis[bhw] instructions.  The result
is that we may not get a valid error message if the valid range of the data
is exceeded.

Although the input of the function prototype of vec_splat_{su}{8,16,32} is
const int, the actual data usage range is limited to the data range of 5 bits
signed.  We should limit the int_cst.val[0] data to the 5 bit signed data range
without any modification in the input arg0 parameter.  However, the sext_hwi
function intercepts the data of TREE_INT_CST_LOW (arg0) as size bits in the
sext_hwi (TREE_INT_CST_LOW (arg0), size) statement.  This will cause some of
the excess data to fall within the range of 5 bits signed, so that the correct
diagnostic information cannot be generated, we need to remove the sext_hwi to
ensure that the input data has not been modified.

This patch fix range check for the vec_splat_s[8,16,32] builtins.  The argument
must be a 5-bit const int as specified for the vspltis[bhw] instructions.

for gcc/ChangeLog

        PR target/88100
        * gcc/config/rs6000/rs6000.c (rs6000_gimple_fold_builtin)
        <case ALTIVEC_BUILTIN_VSPLTISB, ALTIVEC_BUILTIN_VSPLTISH,
        ALTIVEC_BUILTIN_VSPLTISW>: Don't convert the operand before
        range checking it.

for gcc/testsuite/ChangeLog

        PR target/88100
        * gcc/testsuite/gcc.target/powerpc/pr88100.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.target/powerpc/pr88100.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/rs6000.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634289-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 02:55:13 2019
Return-Path: <gcc-bugs-return-634289-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25435 invoked by alias); 20 Feb 2019 02:55: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 24836 invoked by uid 48); 20 Feb 2019 02:55:08 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87513] [8/9 Regression] ICE in write_expression, at cp/mangle.c:3050
Date: Wed, 20 Feb 2019 02:55: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: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-87513-4-02PtJy8lUk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87513-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87513-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: 2019-02/txt/msg02591.txt.bz2
Content-length: 378

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87513

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org
>From gcc-bugs-return-634290-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 04:22:47 2019
Return-Path: <gcc-bugs-return-634290-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1078 invoked by alias); 20 Feb 2019 04:22:46 -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 884 invoked by uid 48); 20 Feb 2019 04:22:41 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89397] [7/8 Regression] ICE in build_call_expr_loc_array at gcc/tree.c:11563 since r229082
Date: Wed, 20 Feb 2019 04:22: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: accepts-invalid, ice-on-invalid-code
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: hjl at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89397-4-mw1Oa7PuDK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89397-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89397-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: 2019-02/txt/msg02592.txt.bz2
Content-length: 1292

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89397

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to joseph@codesourcery.com from comment #3)
> On Tue, 19 Feb 2019, marxin at gcc dot gnu.org wrote:
> 
> > Before the revision it was rejected with:
> > 
> > atomic2.c: In function ‘func’:
> > atomic2.c:49:8: error: x87 register return with x87 disabled
> >    ald1 = d1;
> >         ^
> > atomic2.c:51:8: error: SSE register return with SSE disabled
> >    acd1 += ab1;
> >         ^
> 
> The code doesn't appear to involve such a return, so I don't see why it 
> should be rejected at all.

'-mno-80387'
'-msoft-float'
     Generate output containing library calls for floating point.

     *Warning:* the requisite libraries are not part of GCC.  Normally
     the facilities of the machine's usual C compiler are used, but this
     cannot be done directly in cross-compilation.  You must make your
     own arrangements to provide suitable library functions for
     cross-compilation.

     On machines where a function returns floating-point results in the
     80387 register stack, some floating-point opcodes may be emitted
     even if '-msoft-float' is used.

In this case, library calls return floating point in SSE register.
>From gcc-bugs-return-634291-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 05:03:57 2019
Return-Path: <gcc-bugs-return-634291-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100293 invoked by alias); 20 Feb 2019 05:03:56 -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 100152 invoked by uid 48); 20 Feb 2019 05:03:53 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89170] FAIL: net/http
Date: Wed, 20 Feb 2019 05: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 airs dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89170-4-BRhS0yoxze@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89170-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89170-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: 2019-02/txt/msg02593.txt.bz2
Content-length: 1125

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89170

--- Comment #1 from Ian Lance Taylor <ian at airs dot com> ---
I think this is due to an old bug in const_desc_htab.  output_constant_def will
insert a value into const_desc_htab.  If the hash table already has an entry
with the same hash value, this will cause the insertion to call
compare_constant.  If the constant is an ADDR_EXPR, compare_constant will call
decode_addr_const.  If the constant is an ADDR_EXPR of a number or string,
decode_addr_const will call output_constant_def.  This recursive call to
output_constant_def will in its turn insert a value into const_desc_htab.  If
the hash table is at just the right point, that recursive call can grow the
hash table.  That will change the indexes that the outer hash table insertion
is dealing with.  The eventual result is that the outer call to
output_constant_def returns a location that holds an entirely different
constant value.  It's an unlikely chain of events, but for this particular test
case it causes a function to be called with the wrong string constant, leading
to the test failure.
>From gcc-bugs-return-634292-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 06:56:19 2019
Return-Path: <gcc-bugs-return-634292-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25577 invoked by alias); 20 Feb 2019 06:56: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 24518 invoked by uid 48); 20 Feb 2019 06:56:11 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug inline-asm/89401] The generated object file does not automatically relocate the address using the cl link
Date: Wed, 20 Feb 2019 06:56: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: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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: bug_status component resolution
Message-ID: <bug-89401-4-3y9wXfYB8J@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89401-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89401-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: 2019-02/txt/msg02594.txt.bz2
Content-length: 695

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89401

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|c++                         |inline-asm
         Resolution|---                         |INVALID

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>When I used nasm to generate object files it did it。

Since you are using top-level inline, GCC just passes it on to the assembler. 
Report this to binutils instead (https://sourceware.org/bugzilla).
>From gcc-bugs-return-634293-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 07:42:41 2019
Return-Path: <gcc-bugs-return-634293-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11748 invoked by alias); 20 Feb 2019 07: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 11613 invoked by uid 48); 20 Feb 2019 07:42:34 -0000
From: "sebastian.huber@embedded-brains.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/67064] Register asm variable broken
Date: Wed, 20 Feb 2019 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: 6.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sebastian.huber@embedded-brains.de
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: daniel.gutson at intel dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-67064-4-uhYIyEDEhS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67064-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67064-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: 2019-02/txt/msg02595.txt.bz2
Content-length: 446

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064

--- Comment #33 from Sebastian Huber <sebastian.huber@embedded-brains.de> ---
(In reply to Eric Gallager from comment #32)
> (In reply to Martin Liška from comment #31)
> > Can the bug be marked as resolved?
> 
> WAITING on a reply.

From my point of view it is fixed

I guess since Daniel Gutson didn't get an answer in the last four years, he
will unlikely get it in the future.
>From gcc-bugs-return-634294-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 07:52:21 2019
Return-Path: <gcc-bugs-return-634294-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40184 invoked by alias); 20 Feb 2019 07:52: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 40051 invoked by uid 48); 20 Feb 2019 07:52:16 -0000
From: "doko at debian dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89412] New: [8 Regression] bootstrap fails in libgfortran on powerpc64le-linux-gnu
Date: Wed, 20 Feb 2019 07:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 8.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: doko at debian dot 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-89412-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: 2019-02/txt/msg02596.txt.bz2
Content-length: 1041

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89412

            Bug ID: 89412
           Summary: [8 Regression] bootstrap fails in libgfortran on
                    powerpc64le-linux-gnu
           Product: gcc
           Version: 8.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at debian dot org
  Target Milestone: ---

seen with the 8.3 release candidate, tested in i686-linux-gnu (and reported for
mips64el and armhf as well), building flang:

$ cat cdpowi.i
typedef struct {
  double a;
  double b;
} c;
c d;
int e;
double f;
void g() {
  _Complex h;
  while (e) {
    f = h;
    *(c *)&h = d;
  }
}

$ gcc -Wall -c -O1 cdpowi.i 
during RTL pass: expand
cdpowi.i: In function 'g':
cdpowi.i:12:14: internal compiler error: in simplify_subreg, at
simplify-rtx.c:6273
     *(c *)&h = d;
     ~~~~~~~~~^~~
Please submit a full bug report,
with preprocessed source if appropriate.
>From gcc-bugs-return-634295-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 07:58:18 2019
Return-Path: <gcc-bugs-return-634295-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80228 invoked by alias); 20 Feb 2019 07:58: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 72053 invoked by uid 55); 20 Feb 2019 07:58:13 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: =?UTF-8?B?W0J1ZyBsaWJzdGRjKysvODk0MDJdIFs5IFJlZ3Jlc3Npb25dIHdhcm5pbmc6?= =?UTF-8?B?IOKAmHZvaWQgX1pOS1N0NGhhc2hJZUVjbEVlKCnigJkgc3BlY2lmaWVzIGxl?= =?UTF-8?B?c3MgcmVzdHJpY3RpdmUgYXR0cmlidXRlIHRoYW4gaXRzIHRhcmdldA==?Date: Wed, 20 Feb 2019 07:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89402-4-1G9rPmkVlA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89402-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89402-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: 2019-02/txt/msg02597.txt.bz2
Content-length: 501

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89402

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Feb 20 07:57:41 2019
New Revision: 269034

URL: https://gcc.gnu.org/viewcvs?rev=269034&root=gcc&view=rev
Log:
        PR libstdc++/89402
        * src/c++98/compatibility-ldbl.cc (_ZNKSt4hashIeEclEe): Add
        _GLIBCXX_PURE to the alias declaration.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/src/c++98/compatibility-ldbl.cc
>From gcc-bugs-return-634296-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 08:19:44 2019
Return-Path: <gcc-bugs-return-634296-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109408 invoked by alias); 20 Feb 2019 08:19:44 -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 109313 invoked by uid 55); 20 Feb 2019 08:19:40 -0000
From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89392] [7/8/9 Regression] ICE in bitmap_bit_p, at bitmap.c:978
Date: Wed, 20 Feb 2019 08:19: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: rguenther at suse dot de
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89392-4-I7BO3OuxsI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89392-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89392-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: 2019-02/txt/msg02598.txt.bz2
Content-length: 1099

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89392

--- Comment #6 from rguenther at suse dot de <rguenther at suse dot de> ---
On Tue, 19 Feb 2019, ctice at gcc dot gnu.org wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89392
> 
> --- Comment #5 from ctice at gcc dot gnu.org ---
> I have been unable to reproduce this error, using the latest GCC and building
> with VTV enabled.  What architecture are you using?  How are you configuring
> your GCC build?

I can reproduce on latest trunk when configuring with --disable-bootstrap
--enable-valgrind-annotations (it's just a development build).

But it also reproduces with system-installed gcc 7 and 8:

> g++-8 t.cc -O -flto -fvtable-verify=std 
during GIMPLE pass: ealias
t.cc: In function ‘_GLOBAL__sub_I.00099_t’:
t.cc:4:4: internal compiler error: Segmentation fault
 s t;
    ^
0x7ff556798fdf ???
> g++-7 t.cc -O -flto -fvtable-verify=std 
t.cc: In function ‘_GLOBAL__sub_I.00099_t’:
t.cc:4:4: internal compiler error: Segmentation fault
 s t;
    ^
Please submit a full bug report,
>From gcc-bugs-return-634297-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 08:32:56 2019
Return-Path: <gcc-bugs-return-634297-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60130 invoked by alias); 20 Feb 2019 08:32:55 -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 59831 invoked by uid 48); 20 Feb 2019 08:32:50 -0000
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89091] ICE: Segmentation fault (in tree_class_check)
Date: Wed, 20 Feb 2019 08:32: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dcb314 at hotmail dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89091-4-5xLJOhoPu0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89091-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89091-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: 2019-02/txt/msg02599.txt.bz2
Content-length: 775

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89091

--- Comment #3 from David Binderman <dcb314 at hotmail dot com> ---
for gcc/testsuite/gcc.dg/pr89037.c, valgrind says:

./gcc.dg/pr89037.c:9:9: warning: missing braces around initializer
[-Wmissing-braces]
    9 | T a[] = { 1, 10000, 0x12345, 0xff000001, 1ULL << 63, (__int128) 1 <<
64,
      |         ^
      |           {} {    } {      } {         } {         } {                
}
   10 |    ((__int128) 1 << 64) | 1 };
      |    {                        }
==11913== Invalid read of size 2
==11913==    at 0x7F5B96: decode_field_reference(unsigned int, tree_node**,
long*, long*, machine_mode*, int*, int*, int*, tree_node**, tree_node**)
(fold-const.c:4327)
>From gcc-bugs-return-634298-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 08:36:34 2019
Return-Path: <gcc-bugs-return-634298-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79216 invoked by alias); 20 Feb 2019 08:36: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 79068 invoked by uid 48); 20 Feb 2019 08:36:30 -0000
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89091] ICE: Segmentation fault (in tree_class_check)
Date: Wed, 20 Feb 2019 08:36: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: asolokha at gmx dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89091-4-vVYCL4hJLI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89091-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89091-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: 2019-02/txt/msg02600.txt.bz2
Content-length: 265

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89091

--- Comment #4 from Arseny Solokha <asolokha at gmx dot com> ---
(In reply to David Binderman from comment #3)
> for gcc/testsuite/gcc.dg/pr89037.c, valgrind says:

That's where I've minimized my testcase from.
>From gcc-bugs-return-634299-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 08:37:44 2019
Return-Path: <gcc-bugs-return-634299-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86864 invoked by alias); 20 Feb 2019 08:37:43 -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 84509 invoked by uid 48); 20 Feb 2019 08:37:40 -0000
From: "jg at jguk dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89410] [7/8/9 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1237 after #line
Date: Wed, 20 Feb 2019 08:37: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: diagnostic, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jg at jguk dot 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-89410-4-tOVFtE4eRu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89410-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89410-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: 2019-02/txt/msg02601.txt.bz2
Content-length: 589

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89410

--- Comment #4 from Jonny Grant <jg at jguk dot org> ---
There's another related issue, can it be covered on this ticket?

GCC does not show the part of the output below I marked with after commenting
out line 4 <-----

#1 with x86-64 gcc (trunk)
<source>: In function 'main':
<source>:6:7: warning: line number out of range
    6 | #line 9223372036854775807            <-----
      |       ^~~~~~~~~~~~~~~~~~~




int main(void)
{
// Note: Comment back in the next line to reproduce
//#line 12147483647

#line 9223372036854775807
}
>From gcc-bugs-return-634300-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 08:39:08 2019
Return-Path: <gcc-bugs-return-634300-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94993 invoked by alias); 20 Feb 2019 08:39: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 94889 invoked by uid 48); 20 Feb 2019 08:39:03 -0000
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89413] New: [8/9 Regression] ICE in resolve_fl_derived, at fortran/resolve.c:14392
Date: Wed, 20 Feb 2019 08:39: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: 9.0
X-Bugzilla-Keywords: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: asolokha at gmx 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 keywords bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-89413-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: 2019-02/txt/msg02602.txt.bz2
Content-length: 2284

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89413

            Bug ID: 89413
           Summary: [8/9 Regression] ICE in resolve_fl_derived, at
                    fortran/resolve.c:14392
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---

gfortran-9.0.0-alpha20190217 snapshot (r268974) ICEs when compiling the
following testcase:

program sj
  type :: t5 ()
    class (t5 ()), pointer :: ys
  end type t5
end program sj

% powerpc-e300c3-linux-gnu-gfortran-9.0.0-alpha20190217 -c j1kbey21.f90
f951: internal compiler error: in resolve_fl_derived, at
fortran/resolve.c:14392
0x574e6f resolve_fl_derived
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190217/work/gcc-9-20190217/gcc/fortran/resolve.c:14392
0x813497 resolve_symbol
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190217/work/gcc-9-20190217/gcc/fortran/resolve.c:14773
0x83c002 do_traverse_symtree
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190217/work/gcc-9-20190217/gcc/fortran/symbol.c:4156
0x820505 resolve_types
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190217/work/gcc-9-20190217/gcc/fortran/resolve.c:16685
0x81243e gfc_resolve(gfc_namespace*)
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190217/work/gcc-9-20190217/gcc/fortran/resolve.c:16799
0x804206 resolve_all_program_units
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190217/work/gcc-9-20190217/gcc/fortran/parse.c:6073
0x804206 gfc_parse_file()
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190217/work/gcc-9-20190217/gcc/fortran/parse.c:6323
0x851d8e gfc_be_parse_file
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190217/work/gcc-9-20190217/gcc/fortran/f95-lang.c:204

(While my target here is powerpc, the ICE is not target-specific.)
>From gcc-bugs-return-634301-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 08:47:29 2019
Return-Path: <gcc-bugs-return-634301-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17795 invoked by alias); 20 Feb 2019 08:47: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 15545 invoked by uid 48); 20 Feb 2019 08:47:24 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89408] No constant folding when dereferencing string literals
Date: Wed, 20 Feb 2019 08: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.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: cc
Message-ID: <bug-89408-4-4wza6eBaPg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89408-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89408-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: 2019-02/txt/msg02603.txt.bz2
Content-length: 667

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89408

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
One thing is optimization, which gcc is obviously able to constant fold this,
the other is the C language, which requires a constant expression (language
term) and this expression is not such a constant expression.  So, it is not
valid C (and not valid C++98, but valid C++11 and later).
>From gcc-bugs-return-634302-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 08:50:17 2019
Return-Path: <gcc-bugs-return-634302-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13264 invoked by alias); 20 Feb 2019 08:50: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 12935 invoked by uid 48); 20 Feb 2019 08:50:12 -0000
From: "doko at debian dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89412] [8/9 Regression] gcc ICE in simplify_subreg, at simplify-rtx.c:6273 on i686-linux-gnu
Date: Wed, 20 Feb 2019 08:50: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: 8.2.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: doko at debian dot 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-89412-4-XBZDtT26kn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89412-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89412-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: 2019-02/txt/msg02604.txt.bz2
Content-length: 624

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89412

Matthias Klose <doko at debian dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[8 Regression] bootstrap    |[8/9 Regression] gcc ICE in
                   |fails in libgfortran on     |simplify_subreg, at
                   |powerpc64le-linux-gnu       |simplify-rtx.c:6273 on
                   |                            |i686-linux-gnu

--- Comment #1 from Matthias Klose <doko at debian dot org> ---
also seen on the trunk, checked r268955.
>From gcc-bugs-return-634303-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 08:56:54 2019
Return-Path: <gcc-bugs-return-634303-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38358 invoked by alias); 20 Feb 2019 08:56: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 38052 invoked by uid 48); 20 Feb 2019 08:56:49 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89413] [8/9 Regression] ICE in resolve_fl_derived, at fortran/resolve.c:14392
Date: Wed, 20 Feb 2019 08:56: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority target_milestone
Message-ID: <bug-89413-4-0fjWztDSMK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89413-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89413-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: 2019-02/txt/msg02605.txt.bz2
Content-length: 345

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89413

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
   Target Milestone|---                         |8.3
>From gcc-bugs-return-634304-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 08:59:42 2019
Return-Path: <gcc-bugs-return-634304-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71209 invoked by alias); 20 Feb 2019 08:59:41 -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 71138 invoked by uid 48); 20 Feb 2019 08:59:38 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89412] [7/8/9 Regression] gcc ICE in simplify_subreg, at simplify-rtx.c:6273 on i686-linux-gnu
Date: Wed, 20 Feb 2019 08:59: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: 8.2.1
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cf_known_to_work target_milestone short_desc everconfirmed cf_known_to_fail
Message-ID: <bug-89412-4-gujGdCyRPK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89412-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89412-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: 2019-02/txt/msg02606.txt.bz2
Content-length: 1106

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89412

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-20
      Known to work|8.2.0                       |6.1.0
   Target Milestone|---                         |7.5
            Summary|[8/9 Regression] gcc ICE in |[7/8/9 Regression] gcc ICE
                   |simplify_subreg, at         |in simplify_subreg, at
                   |simplify-rtx.c:6273 on      |simplify-rtx.c:6273 on
                   |i686-linux-gnu              |i686-linux-gnu
     Ever confirmed|0                           |1
      Known to fail|                            |6.2.0, 7.1.0

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fails for me with GCC 8.1.0 and 8.2.0 as well on i?86-linux (and x86_64 with
-m32).  Also GCC 7 and GCC 6 (but 6.1.0 is fine).
>From gcc-bugs-return-634305-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 09:01:17 2019
Return-Path: <gcc-bugs-return-634305-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76643 invoked by alias); 20 Feb 2019 09:01: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 76350 invoked by uid 48); 20 Feb 2019 09:01:09 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89410] [7/8/9 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1237 after #line
Date: Wed, 20 Feb 2019 09:01: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: diagnostic, ice-on-invalid-code
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-89410-4-in5ZXRLc9a@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89410-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89410-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: 2019-02/txt/msg02607.txt.bz2
Content-length: 293

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89410

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |7.5
>From gcc-bugs-return-634306-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 09:03:20 2019
Return-Path: <gcc-bugs-return-634306-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103666 invoked by alias); 20 Feb 2019 09:03: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 103022 invoked by uid 48); 20 Feb 2019 09:03:14 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89406] Go testing leaves many temporary directories in /tmp around
Date: Wed, 20 Feb 2019 09: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: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-89406-4-PyLuDj5zlS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89406-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89406-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: 2019-02/txt/msg02608.txt.bz2
Content-length: 484

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89406

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-20
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.
>From gcc-bugs-return-634307-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 09:05:03 2019
Return-Path: <gcc-bugs-return-634307-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109508 invoked by alias); 20 Feb 2019 09:05: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 109314 invoked by uid 48); 20 Feb 2019 09:04:57 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89404] [7/8/9 Regression] ICE in build_value_init_noctor, at cp/init.c:467
Date: Wed, 20 Feb 2019 09:05: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-invalid-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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority
Message-ID: <bug-89404-4-HNw0qxOfZZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89404-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89404-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: 2019-02/txt/msg02609.txt.bz2
Content-length: 292

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89404

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
>From gcc-bugs-return-634308-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 09:05:19 2019
Return-Path: <gcc-bugs-return-634308-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110715 invoked by alias); 20 Feb 2019 09:05:19 -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 110586 invoked by uid 48); 20 Feb 2019 09:05:15 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89403] [7/8/9 Regression] ICE in maybe_clone_body, at cp/optimize.c:693
Date: Wed, 20 Feb 2019 09:05: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: 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority
Message-ID: <bug-89403-4-8DhfBER7rR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89403-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89403-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: 2019-02/txt/msg02610.txt.bz2
Content-length: 292

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89403

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
>From gcc-bugs-return-634309-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 09:06:02 2019
Return-Path: <gcc-bugs-return-634309-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113194 invoked by alias); 20 Feb 2019 09:06: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 112879 invoked by uid 48); 20 Feb 2019 09:05:56 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: =?UTF-8?B?W0J1ZyBsaWJzdGRjKysvODk0MDJdIFs5IFJlZ3Jlc3Npb25dIHdhcm5pbmc6?= =?UTF-8?B?IOKAmHZvaWQgX1pOS1N0NGhhc2hJZUVjbEVlKCnigJkgc3BlY2lmaWVzIGxl?= =?UTF-8?B?c3MgcmVzdHJpY3RpdmUgYXR0cmlidXRlIHRoYW4gaXRzIHRhcmdldA==?Date: Wed, 20 Feb 2019 09:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
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: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89402-4-q8egx8nQFo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89402-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89402-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: 2019-02/txt/msg02611.txt.bz2
Content-length: 429

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89402

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-634310-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 09:28:48 2019
Return-Path: <gcc-bugs-return-634310-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6201 invoked by alias); 20 Feb 2019 09:28: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 6104 invoked by uid 48); 20 Feb 2019 09:28:44 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89412] [7/8/9 Regression] gcc ICE in simplify_subreg, at simplify-rtx.c:6273 on i686-linux-gnu
Date: Wed, 20 Feb 2019 09:28: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: 8.2.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak at gmail dot com
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89412-4-7hmSExVG4i@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89412-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89412-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: 2019-02/txt/msg02612.txt.bz2
Content-length: 636

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89412

--- Comment #3 from Uroš Bizjak <ubizjak at gmail dot com> ---
Middle-end wants to create a subreg of BLKmode:

#3  0x0000000000cd5899 in simplify_gen_subreg
(outermode=outermode@entry=E_DCmode, op=op@entry=0x7fffea778240,
innermode=E_BLKmode, byte=byte@entry=...)
    at ../../git/gcc/gcc/simplify-rtx.c:6709
6709      newx = simplify_subreg (outermode, op, innermode, byte);
(gdb) p outermode
$1 = E_DCmode
(gdb) p innermode
$2 = E_BLKmode
(gdb) p debug_rtx (op)
(mem/c:BLK (symbol_ref:SI ("d") [flags 0x2] <var_decl 0x7ffff7ffbab0 d>) [3 d+0
S16 A32])
>From gcc-bugs-return-634311-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 09:47:59 2019
Return-Path: <gcc-bugs-return-634311-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68404 invoked by alias); 20 Feb 2019 09:47:56 -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 56636 invoked by uid 48); 20 Feb 2019 09:46:29 -0000
From: "maninder1.s at samsung dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/89347] gc-sections doesn't remove unused bss  section variables.
Date: Wed, 20 Feb 2019 09:47:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
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: maninder1.s at samsung dot com
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-89347-4-o8l3iHkKXk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89347-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89347-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: 2019-02/txt/msg02613.txt.bz2
Content-length: 1748

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89347

--- Comment #3 from Maninder Singh <maninder1.s at samsung dot com> ---
But its not mentioned in gc-section or data-section manual pages, either that
needs updation or it need to be handled by -fdata-section flag only.


https://gcc.gnu.org/onlinedocs/gcc-8.2.0/gcc/Optimize-Options.html#Optimize-Options 


-ffunction-sections
-fdata-sections
Place each function or data item into its own section in the output file if the
target supports arbitrary sections. The name of the function or the name of the
data item determines the section’s name in the output file.

Use these options on systems where the linker can perform optimizations to
improve locality of reference in the instruction space. Most systems using the
ELF object format have linkers with such optimizations. On AIX, the linker
rearranges sections (CSECTs) based on the call graph. The performance impact
varies.

Together with a linker garbage collection (linker --gc-sections option) these
options may lead to smaller statically-linked executables (after stripping).

On ELF/DWARF systems these options do not degenerate the quality of the debug
information. There could be issues with other object files/debug info formats.

Only use these options when there are significant benefits from doing so. When
you specify these options, the assembler and linker create larger object and
executable files and are also slower. These options affect code generation.
They prevent optimizations by the compiler and assembler using relative
locations inside a translation unit since the locations are unknown until link
time. An example of such an optimization is relaxing calls to short call
instructions.
>From gcc-bugs-return-634313-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 10:10:30 2019
Return-Path: <gcc-bugs-return-634313-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18272 invoked by alias); 20 Feb 2019 10:10: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 18006 invoked by uid 55); 20 Feb 2019 10:10:26 -0000
From: "cltang at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/87924] OpenACC wait clauses without async-arguments
Date: Wed, 20 Feb 2019 10:10: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: openacc, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: cltang at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: cltang at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87924-4-7iZPp0yWwe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87924-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87924-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: 2019-02/txt/msg02615.txt.bz2
Content-length: 590

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87924

--- Comment #4 from Chung-Lin Tang <cltang at gcc dot gnu.org> ---
Author: cltang
Date: Wed Feb 20 10:09:53 2019
New Revision: 269036

URL: https://gcc.gnu.org/viewcvs?rev=269036&root=gcc&view=rev
Log:
Correction of ChangeLog entry, Thomas provided the code for this change.

2019-02-19  Thomas Schwinge  <thomas@codesourcery.com>

        PR c/87924
        * openmp.c (gfc_match_omp_clauses): Add representation of wait clause
        without argument as 'wait (GOMP_ASYNC_NOVAL)'.


Modified:
    trunk/gcc/fortran/ChangeLog
>From gcc-bugs-return-634312-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 10:10:11 2019
Return-Path: <gcc-bugs-return-634312-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16754 invoked by alias); 20 Feb 2019 10:10: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 16437 invoked by uid 48); 20 Feb 2019 10:10:06 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89413] [PDT] ICE in resolve_fl_derived, at fortran/resolve.c:14392
Date: Wed, 20 Feb 2019 10:10: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
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 blocked short_desc everconfirmed
Message-ID: <bug-89413-4-hVNMzBjFfk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89413-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89413-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: 2019-02/txt/msg02614.txt.bz2
Content-length: 996

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89413

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-20
                 CC|                            |pault at gcc dot gnu.org
             Blocks|                            |82173
            Summary|[8/9 Regression] ICE in     |[PDT] ICE in
                   |resolve_fl_derived, at      |resolve_fl_derived, at
                   |fortran/resolve.c:14392     |fortran/resolve.c:14392
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed, but it is not exactly a regression.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82173
[Bug 82173] [meta-bug] Parameterized derived type errors
>From gcc-bugs-return-634314-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 10:19:16 2019
Return-Path: <gcc-bugs-return-634314-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22656 invoked by alias); 20 Feb 2019 10:19: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 15316 invoked by uid 48); 20 Feb 2019 10:19:11 -0000
From: "Bader at lrz dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89365] Inquiry functions for assumed rank objects fail
Date: Wed, 20 Feb 2019 10:19: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: Bader at lrz dot de
X-Bugzilla-Status: WAITING
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-89365-4-JwzoEUoaXJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89365-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89365-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: 2019-02/txt/msg02616.txt.bz2
Content-length: 710

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89365

--- Comment #3 from Bader at lrz dot de <Bader at lrz dot de> ---
I agree with Harald's assessment. The test case as delivered by me is indeed
incorrectly written for the POINTER and ALLOCATABLE cases, in both of which I
believe the bounds should be taken from the actual argument (versus remapping
them). This has historical reasons (ifort has the POINTER and ALLOCATABLE case
wrong), and the F2018 drafts did pick up some additional words in the last
phase of corrections (see 8.5.8.7 para 1: 

"The bounds and shape of an assumed-rank entity with the ALLOCATABLE or POINTER
attribute are determined as specified in 8.5.8.4."

Regards
Reinhold
>From gcc-bugs-return-634315-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 10:21:12 2019
Return-Path: <gcc-bugs-return-634315-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123387 invoked by alias); 20 Feb 2019 10:21: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 113301 invoked by uid 48); 20 Feb 2019 10:21:06 -0000
From: "egeyar.bagcioglu at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug driver/88262] gcc uses crt1.o in place of Scrt1.o when the main function is in a PIC shared lib
Date: Wed, 20 Feb 2019 10:21:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: driver
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egeyar.bagcioglu at oracle dot com
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-88262-4-yAdfDOZhYl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88262-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88262-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: 2019-02/txt/msg02617.txt.bz2
Content-length: 238

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88262

--- Comment #20 from Egeyar Bagcioglu <egeyar.bagcioglu at oracle dot com> ---
This issue is fixed in gold for binutils 2.33:
https://sourceware.org/bugzilla/show_bug.cgi?id=23870
>From gcc-bugs-return-634316-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 10:32:43 2019
Return-Path: <gcc-bugs-return-634316-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123785 invoked by alias); 20 Feb 2019 10:32: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 123561 invoked by uid 48); 20 Feb 2019 10:32:38 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89365] Inquiry functions for assumed rank objects fail
Date: Wed, 20 Feb 2019 10:32: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: WAITING
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-89365-4-03EerXICZ5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89365-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89365-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: 2019-02/txt/msg02618.txt.bz2
Content-length: 403

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89365

--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> I agree with Harald's assessment. The test case as delivered by me
> is indeed incorrectly written for the POINTER and ALLOCATABLE cases,
> in both of which I believe the bounds should be taken from the actual
> argument (versus remapping them).

So is the PR valid or not?
>From gcc-bugs-return-634318-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 10:47:52 2019
Return-Path: <gcc-bugs-return-634318-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91175 invoked by alias); 20 Feb 2019 10:47:52 -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 90938 invoked by uid 48); 20 Feb 2019 10:47:48 -0000
From: "Bader at lrz dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89365] Inquiry functions for assumed rank objects fail
Date: Wed, 20 Feb 2019 10:47: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: Bader at lrz dot de
X-Bugzilla-Status: WAITING
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-89365-4-KCGm8Mj16e@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89365-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89365-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: 2019-02/txt/msg02620.txt.bz2
Content-length: 208

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89365

--- Comment #5 from Bader at lrz dot de <Bader at lrz dot de> ---
The corrected test case passes all tests, so the PR can be closed. Sorry for
the noise.
>From gcc-bugs-return-634317-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 10:47:40 2019
Return-Path: <gcc-bugs-return-634317-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89941 invoked by alias); 20 Feb 2019 10:47: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 89702 invoked by uid 55); 20 Feb 2019 10:47:34 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/84536] [7/8/9 Regression] ICE with non-type template parameter
Date: Wed, 20 Feb 2019 10: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.0
X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-84536-4-NIfxgRkEPK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84536-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84536-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: 2019-02/txt/msg02619.txt.bz2
Content-length: 869

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84536

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Wed Feb 20 10:47:02 2019
New Revision: 269037

URL: https://gcc.gnu.org/viewcvs?rev=269037&root=gcc&view=rev
Log:
/cp
2019-02-20  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/84536
        * pt.c (tsubst_init): Diagnose an initializer expanding to an
        empty list of expressions; tweak wrt dependent types.
        (regenerate_decl_from_template): For VAR_DECLs call tsubst_init
        instead of tsubst_expr.

/testsuite
2019-02-20  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/84536
        * g++.dg/cpp1y/var-templ60.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/var-templ60.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634319-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 11:37:23 2019
Return-Path: <gcc-bugs-return-634319-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3749 invoked by alias); 20 Feb 2019 11:37: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 3491 invoked by uid 48); 20 Feb 2019 11:37:19 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88973] [8/9 Regression] New -Wrestrict warning since r268048
Date: Wed, 20 Feb 2019 11:37: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: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
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:
Message-ID: <bug-88973-4-ozRKDPLIQw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88973-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88973-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: 2019-02/txt/msg02621.txt.bz2
Content-length: 1126

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88973

--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Bruce Korb from comment #5)
> (In reply to Martin Sebor from comment #4)
> 
> > canonicalize_pathname.c: In function ‘canonicalize_pathname’:
> > canonicalize_pathname.c:61:2: warning: ‘strcpy’ accessing 1 byte at offsets
> > [0, 9223372036854775807] and [0, 9223372036854775807] may overlap 1 byte at
> > offset 0 [-Wrestrict]
> >    61 |  strcpy( result + start + 1, result + i + 2 );
> >       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > strcpy (0x217f265 = "//bar", 0x217f267 = "bar"): 3
> > /foo/bar
> 
> I have a copy of this code in my project, but I haven't been writing code
> for several years now. How was this fixed? The best fix would be to
> determine the string length and do memmove-s, but that's enough fiddling
> that I'd have to clear cobwebs and spend a mess of time. If someone's
> already done that, ... :)

There's an upstream bug:
https://sourceforge.net/p/autogen/bugs/193/
and I'm working on patch candidate.
>From gcc-bugs-return-634320-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 11:38:34 2019
Return-Path: <gcc-bugs-return-634320-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7195 invoked by alias); 20 Feb 2019 11:38: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 6980 invoked by uid 48); 20 Feb 2019 11:38:28 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88973] [8/9 Regression] New -Wrestrict warning since r268048
Date: Wed, 20 Feb 2019 11:38: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: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
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:
Message-ID: <bug-88973-4-OFjHhAN2TE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88973-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88973-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: 2019-02/txt/msg02622.txt.bz2
Content-length: 1211

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88973

--- Comment #7 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Martin Sebor from comment #4)
> I've created a test case using the canonicalize_pathname function showing
> that it does, in fact, cause an overlap to take place.  The following line
> in the output of the test case
> 

Thank you very much Martin for it! Btw. ASAN prints nice error about
overlapping arguments:

gcc -DPATHNAME='"/home//marxin"'  -Wall canonicalize_pathname.c
-fsanitize=address -g && ./a.out
=================================================================
==14653==ERROR: AddressSanitizer: strcpy-param-overlap: memory ranges
[0x602000000016,0x60200000001d) and [0x602000000017, 0x60200000001e) overlap
    #0 0x7ffff72051de  (/usr/lib64/libasan.so.5+0x4b1de)
    #1 0x40137c in canonicalize_pathname /tmp/canonicalize_pathname.c:25
    #2 0x401857 in main /tmp/canonicalize_pathname.c:64
    #3 0x7ffff7018b7a in __libc_start_main ../csu/libc-start.c:308
    #4 0x4010e9 in _start (/tmp/a.out+0x4010e9)
>From gcc-bugs-return-634321-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 11:54:46 2019
Return-Path: <gcc-bugs-return-634321-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19414 invoked by alias); 20 Feb 2019 11:54: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 19309 invoked by uid 48); 20 Feb 2019 11:54:41 -0000
From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89414] New: wrong code with -Og -fno-forward-propagate -fno-tree-fre
Date: Wed, 20 Feb 2019 11:54: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: zsojka at seznam dot cz
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 attachments.created
Message-ID: <bug-89414-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: 2019-02/txt/msg02623.txt.bz2
Content-length: 3043

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89414

            Bug ID: 89414
           Summary: wrong code with -Og -fno-forward-propagate
                    -fno-tree-fre
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu
            Target: armv7a-hardfloat-linux-gnueabi

Created attachment 45769
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45769&action=edit
reduced testcase

Output:
$ armv7a-hardfloat-linux-gnueabi-gcc -Og -fno-forward-propagate -fno-tree-fre
testcase.c -static
$ qemu-arm ./a.out 
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault

$ armv7a-hardfloat-linux-gnueabi-gcc -v
Using built-in specs.
COLLECT_GCC=/repo/gcc-trunk/binary-latest-armv7a-hardfloat/bin/armv7a-hardfloat-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-269006-checking-yes-rtl-df-extra-armv7a-hardfloat/bin/../libexec/gcc/armv7a-hardfloat-linux-gnueabi/9.0.1/lto-wrapper
Target: armv7a-hardfloat-linux-gnueabi
Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++
--enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra
--with-cloog --with-ppl --with-isl --with-float=hard --with-fpu=vfpv4
--with-arch=armv7-a --with-sysroot=/usr/armv7a-hardfloat-linux-gnueabi
--build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu
--target=armv7a-hardfloat-linux-gnueabi
--with-ld=/usr/bin/armv7a-hardfloat-linux-gnueabi-ld
--with-as=/usr/bin/armv7a-hardfloat-linux-gnueabi-as --disable-libstdcxx-pch
--prefix=/repo/gcc-trunk//binary-trunk-269006-checking-yes-rtl-df-extra-armv7a-hardfloat
Thread model: posix
gcc version 9.0.1 20190219 (experimental) (GCC) 


In the assembly output:

foo:
        @ args = 8, pretend = 0, frame = 0
        @ frame_needed = 0, uses_anonymous_args = 0
        push    {r4, lr}        @
@ testcase.c:5:   a = __builtin_parityll (a);
        movw    r4, #:lower16:a @ tmp124,
        movt    r4, #:upper16:a @ tmp124,
        ldr     r0, [r4]        @ a, a
        asr     r1, r0, #31     @, a,
        bl      __paritydi2             @
@ testcase.c:5:   a = __builtin_parityll (a);
        str     r0, [r4]        @ tmp139, a
@ testcase.c:6:   b = __builtin_bswap64 (h);
        mov     r2, #0  @ tmp131,
@ testcase.c:6:   b = __builtin_bswap64 (h);
        movw    r3, #:lower16:b @ tmp132,
        movt    r3, #:upper16:b @ tmp132,
        str     r2, [r3]        @ tmp131, b
@ testcase.c:7:   __builtin_memset (&h, b, 1);
        strb    r2, [sp, #4]    @ tmp131, MEM[(void *)&h]
*** ^^^ this overwrites the return address *** ('h' has no stack slot
allocated)


@ testcase.c:9: }
        mov     r0, r2  @, tmp131
        pop     {r4, pc}        @
>From gcc-bugs-return-634322-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 12:10:41 2019
Return-Path: <gcc-bugs-return-634322-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94050 invoked by alias); 20 Feb 2019 12:10:41 -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 93907 invoked by uid 48); 20 Feb 2019 12:10:37 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/89409] [9 Regression] FAIL: c-c++-common/ubsan/div-by-zero-[67].c
Date: Wed, 20 Feb 2019 12:10: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: 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:
Message-ID: <bug-89409-4-HOTHWdKLYg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89409-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89409-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: 2019-02/txt/msg02624.txt.bz2
Content-length: 194

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89409

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
A patch is posted at

https://gcc.gnu.org/ml/gcc-patches/2019-02/msg01645.html
>From gcc-bugs-return-634323-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 13:13:17 2019
Return-Path: <gcc-bugs-return-634323-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108813 invoked by alias); 20 Feb 2019 13:13: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 102644 invoked by uid 48); 20 Feb 2019 13:13:13 -0000
From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89415] New: gcc.dg/sinatan-1.c FAILs
Date: Wed, 20 Feb 2019 13:13:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
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-89415-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: 2019-02/txt/msg02625.txt.bz2
Content-length: 1684

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89415

            Bug ID: 89415
           Summary: gcc.dg/sinatan-1.c FAILs
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: rguenth at gcc dot gnu.org
  Target Milestone: ---
            Target: sparc-sun-solaris2.11, aarch64-unknown-linux-gnu,
                    hppa2.0w-hp-hpux11.11, hppa64-hp-hpux11.11,
                    i586-unknown-freebsd11.2,   ia64-suse-linux-gnu,
                    moxie-unknown-elf, s390x-ibm-linux-gnu,
                    spu-unknown-elf, x86_64-unknown-freebsd11.2,
                    x86_64-w64-mingw32

Between 20190218 (r268990) and 20190219 (r269021), the gcc.dg/sinatan-1.c began
to FAIL:

+FAIL: gcc.dg/sinatan-1.c execution test

I see it on 32 and 64-bit Solaris/SPARC, but quite a number of other targets is
affected, too.

Thread 2 received signal SIGABRT, Aborted.
[Switching to Thread 1 (LWP 1)]
0xfec7e740 in __lwp_sigqueue () from /lib/libc.so.1
(gdb) where
#0  0xfec7e740 in __lwp_sigqueue () from /lib/libc.so.1
#1  0xfebb99f0 in raise () from /lib/libc.so.1
#2  0xfeb8b2d0 in abort () from /lib/libc.so.1
#3  0x0001126c in main ()
    at /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/sinatan-1.c:85

Maybe this is due to

2019-02-19  Richard Biener  <rguenther@suse.de>

        PR middle-end/88074
        * toplev.c (do_compile): Initialize mpfr's exponent range
        based on available float modes.

        * gcc.dg/pr88074.c: New testcase.
>From gcc-bugs-return-634324-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 13:13:49 2019
Return-Path: <gcc-bugs-return-634324-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26496 invoked by alias); 20 Feb 2019 13:13: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 18705 invoked by uid 48); 20 Feb 2019 13:13:44 -0000
From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89415] gcc.dg/sinatan-1.c FAILs
Date: Wed, 20 Feb 2019 13:13: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: 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-89415-4-nxdl5h53aU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89415-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89415-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: 2019-02/txt/msg02626.txt.bz2
Content-length: 285

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89415

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |9.0
>From gcc-bugs-return-634325-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 13:22:47 2019
Return-Path: <gcc-bugs-return-634325-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21216 invoked by alias); 20 Feb 2019 13:22:46 -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 21089 invoked by uid 48); 20 Feb 2019 13:22:41 -0000
From: "clyon at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89415] gcc.dg/sinatan-1.c FAILs
Date: Wed, 20 Feb 2019 13:22: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: clyon 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
Message-ID: <bug-89415-4-ZwWJ49ApXG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89415-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89415-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: 2019-02/txt/msg02627.txt.bz2
Content-length: 437

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89415

Christophe Lyon <clyon at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clyon at gcc dot gnu.org

--- Comment #1 from Christophe Lyon <clyon at gcc dot gnu.org> ---
Yes, bisect confirmed it's due to that commit (r269015)
>From gcc-bugs-return-634326-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 13:26:38 2019
Return-Path: <gcc-bugs-return-634326-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35099 invoked by alias); 20 Feb 2019 13: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 33902 invoked by uid 48); 20 Feb 2019 13:26:33 -0000
From: "clyon at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89415] gcc.dg/sinatan-1.c FAILs
Date: Wed, 20 Feb 2019 13:26: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: clyon 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-89415-4-QhLczHyy0h@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89415-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89415-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: 2019-02/txt/msg02628.txt.bz2
Content-length: 844

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89415

--- Comment #2 from Christophe Lyon <clyon at gcc dot gnu.org> ---
I'm not sure it's worth opening another regression report, but that same commit
creates regressions in fortran on arm:
FAIL: gfortran.dg/integer_exponentiation_3.F90   -O0   (test for warnings, line
173)
FAIL: gfortran.dg/integer_exponentiation_3.F90   -O1   (test for warnings, line
173)
FAIL: gfortran.dg/integer_exponentiation_3.F90   -O2   (test for warnings, line
173)
FAIL: gfortran.dg/integer_exponentiation_3.F90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions   (test for warnings,
line 173)
FAIL: gfortran.dg/integer_exponentiation_3.F90   -O3 -g   (test for warnings,
line 173)
FAIL: gfortran.dg/integer_exponentiation_3.F90   -Os   (test for warnings, line
173)
>From gcc-bugs-return-634327-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 13:35:13 2019
Return-Path: <gcc-bugs-return-634327-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82839 invoked by alias); 20 Feb 2019 13:35: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 82693 invoked by uid 48); 20 Feb 2019 13:35:08 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/67064] Register asm variable broken
Date: Wed, 20 Feb 2019 13:35: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: 6.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: daniel.gutson at intel dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-67064-4-bBxLen31lw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67064-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67064-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: 2019-02/txt/msg02629.txt.bz2
Content-length: 827

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED

--- Comment #34 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Sebastian Huber from comment #33)
> (In reply to Eric Gallager from comment #32)
> > (In reply to Martin Liška from comment #31)
> > > Can the bug be marked as resolved?
> > 
> > WAITING on a reply.
> 
> From my point of view it is fixed
> 
> I guess since Daniel Gutson didn't get an answer in the last four years, he
> will unlikely get it in the future.

ok, closing then.
>From gcc-bugs-return-634328-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 13:36:17 2019
Return-Path: <gcc-bugs-return-634328-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85249 invoked by alias); 20 Feb 2019 13:36: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 85091 invoked by uid 48); 20 Feb 2019 13:36:13 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89415] gcc.dg/sinatan-1.c FAILs
Date: Wed, 20 Feb 2019 13:36: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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
Message-ID: <bug-89415-4-s4FKJoVHYx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89415-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89415-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: 2019-02/txt/msg02630.txt.bz2
Content-length: 438

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89415

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
See https://gcc.gnu.org/ml/gcc-patches/2019-02/msg01650.html
>From gcc-bugs-return-634329-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 13:46:33 2019
Return-Path: <gcc-bugs-return-634329-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40493 invoked by alias); 20 Feb 2019 13:46:32 -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 40025 invoked by uid 48); 20 Feb 2019 13:46:20 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89405] [8/9 Regression] ICE in import_export_decl, at cp/decl2.c:2959
Date: Wed, 20 Feb 2019 13:46: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: jakub 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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created
Message-ID: <bug-89405-4-yX3w7lnQV2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89405-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89405-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: 2019-02/txt/msg02631.txt.bz2
Content-length: 578

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89405

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45770
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45770&action=edit
gcc9-pr89405.patch

Untested fix.
>From gcc-bugs-return-634330-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 13:47:24 2019
Return-Path: <gcc-bugs-return-634330-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43133 invoked by alias); 20 Feb 2019 13:47: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 42995 invoked by uid 48); 20 Feb 2019 13:47:19 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89385] Incorrect members of C descriptor for an allocatable object
Date: Wed, 20 Feb 2019 13:47: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
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-89385-4-krZCXDYtup@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89385-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89385-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: 2019-02/txt/msg02632.txt.bz2
Content-length: 843

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89385

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-20
                 CC|                            |pault at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
I get

FAIL: this->elem_len -7
FAIL: this->type
FAIL: this->rank 0
FAIL: this->attribute
FAIL: dim[0]
FAIL: dim[1]
FAIL: that->elem_len
FAIL: that->type
FAIL: that->rank
FAIL: that->attribute
FAIL: dim[0]

Due to

#include "ISO_Fortran_binding.h"

this PR compiles on trunk (9.0) only.
>From gcc-bugs-return-634331-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 13:52:34 2019
Return-Path: <gcc-bugs-return-634331-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55644 invoked by alias); 20 Feb 2019 13:52: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 55512 invoked by uid 48); 20 Feb 2019 13:52:29 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89348] Fortran Command Options documentation fixes
Date: Wed, 20 Feb 2019 13:52: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: documentation
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
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-89348-4-gMi2uxi79W@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89348-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89348-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: 2019-02/txt/msg02633.txt.bz2
Content-length: 778

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89348

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-20
     Ever confirmed|0                           |1

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Patch approved at https://gcc.gnu.org/ml/fortran/2019-02/msg00116.html.

As a general comment, there is no point to attach change logs to bugzilla: 
it is enough to add them when submitting the patches to the mailing lists.

I also think there is no need to file a PR for such trivialities.
>From gcc-bugs-return-634332-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 14:10:04 2019
Return-Path: <gcc-bugs-return-634332-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28041 invoked by alias); 20 Feb 2019 14:10:04 -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 27935 invoked by uid 48); 20 Feb 2019 14:10:00 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89366] Fails to compile BIND(C) interface with assumed-length character argument
Date: Wed, 20 Feb 2019 14:10: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: WAITING
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-89366-4-hVg7fRuDpA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89366-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89366-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: 2019-02/txt/msg02634.txt.bz2
Content-length: 715

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89366

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2019-02-20
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
It has been my understanding that C interoperable CHARACTER should be of length
1, 
e.g., pr46496 comment 0, item f.

Has it been changed in the  extensions in C interoperable? 
If yes, could you please provide a pointer?
>From gcc-bugs-return-634333-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 14:12:23 2019
Return-Path: <gcc-bugs-return-634333-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41085 invoked by alias); 20 Feb 2019 14:12: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 40889 invoked by uid 55); 20 Feb 2019 14:12:15 -0000
From: "avieira at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86487] [7/8/9 Regression] insn does not satisfy its constraints on arm big-endian
Date: Wed, 20 Feb 2019 14:12: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: 7.3.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: avieira at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: avieira at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86487-4-lWJSdUz87u@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86487-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86487-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: 2019-02/txt/msg02635.txt.bz2
Content-length: 828

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86487

--- Comment #12 from avieira at gcc dot gnu.org ---
Author: avieira
Date: Wed Feb 20 14:11:43 2019
New Revision: 269039

URL: https://gcc.gnu.org/viewcvs?rev=269039&root=gcc&view=rev
Log:
[GCC] PR target/86487: fix the way 'uses_hard_regs_p' handles paradoxical
subregs

gcc/ChangeLog:
2019-02-20 Andre Vieira  <andre.simoesdiasvieira@arm.com>

        PR target/86487
        * lra-constraints.c(uses_hard_regs_p): Fix handling of
        paradoxical SUBREGS.

gcc/testsuite/ChangeLog:
2019-02-20 Andre Vieira  <andre.simoesdiasvieira@arm.com>

        PR target/86487
        * gcc.target/arm/pr86487.c: New.

Added:
    trunk/gcc/testsuite/gcc.target/arm/pr86487.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lra-constraints.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634334-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 14:16:09 2019
Return-Path: <gcc-bugs-return-634334-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50602 invoked by alias); 20 Feb 2019 14:15: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 50014 invoked by uid 48); 20 Feb 2019 14:15:35 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/46496] Missing strlen check / interop warnings with BIND(C) and non-C_* kinds
Date: Wed, 20 Feb 2019 14:15:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.6.0
X-Bugzilla-Keywords: accepts-invalid, diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
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-46496-4-nqBPBHF6cF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-46496-4@http.gcc.gnu.org/bugzilla/>
References: <bug-46496-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: 2019-02/txt/msg02636.txt.bz2
Content-length: 251

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46496

--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
b) -Wno-c-binding-type silences the warnings related to C binding.

It remains in this PR the missed warnings in d) and e).
>From gcc-bugs-return-634335-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 14:33:57 2019
Return-Path: <gcc-bugs-return-634335-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42759 invoked by alias); 20 Feb 2019 14:33:57 -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 38030 invoked by uid 48); 20 Feb 2019 14:33:51 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89414] wrong code with -Og -fno-forward-propagate -fno-tree-fre
Date: Wed, 20 Feb 2019 14: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89414-4-0ZHr4vqR7h@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89414-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89414-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: 2019-02/txt/msg02637.txt.bz2
Content-length: 2297

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89414

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-20
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |ktkachov at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Can reproduce even with r208764 (oldest arm cross I have around).
Looks like a backend issue to me, in *.ira we still have:
(insn 32 42 33 2 (set (mem/c:QI (reg/f:SI 103 afp) [0 MEM[(void *)&h]+0 S1 A8])
        (subreg:QI (reg:SI 132) 0)) "pr89414.c":7:3 189 {*arm_movqi_insn}
     (expr_list:REG_DEAD (reg:SI 132)
        (nil)))
and it is eliminated to:
(insn 32 42 33 2 (set (mem/c:QI (plus:SI (reg/f:SI 13 sp)
                (const_int 4 [0x4])) [0 MEM[(void *)&h]+0 S1 A8])
        (reg:QI 2 r2 [132])) "pr89414.c":7:3 189 {*arm_movqi_insn}
     (nil))
even when pro_and_epilogue adds:
(insn/f 51 8 52 2 (parallel [
            (set (mem/c:BLK (pre_modify:SI (reg/f:SI 13 sp)
                        (plus:SI (reg/f:SI 13 sp)
                            (const_int -8 [0xfffffffffffffff8]))) [2  A8])
                (unspec:BLK [
                        (reg:SI 4 r4)
                    ] UNSPEC_PUSH_MULT))
            (use (reg:SI 14 lr))
        ]) "pr89414.c":4:1 -1
     (expr_list:REG_FRAME_RELATED_EXPR (sequence [
                (set/f (reg/f:SI 13 sp)
                    (plus:SI (reg/f:SI 13 sp)
                        (const_int -8 [0xfffffffffffffff8])))
                (set/f (mem/c:SI (reg/f:SI 13 sp) [2  S4 A32])
                    (reg:SI 4 r4))
                (set/f (mem/c:SI (plus:SI (reg/f:SI 13 sp)
                            (const_int 4 [0x4])) [2  S4 A32])
                    (reg:SI 14 lr))
            ])
        (nil)))
in the prologue, so sp+4 can't be right.  So, either something changed in the
frame size computation between RA and pro_and_epilogue (that would be a bug) or
the afp -> sp + offset elimination is incorrect.
>From gcc-bugs-return-634336-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 14:35:17 2019
Return-Path: <gcc-bugs-return-634336-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49788 invoked by alias); 20 Feb 2019 14:35: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 49647 invoked by uid 48); 20 Feb 2019 14:35:13 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89414] wrong code with -Og -fno-forward-propagate -fno-tree-fre
Date: Wed, 20 Feb 2019 14: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89414-4-XTHb0t3ANV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89414-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89414-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: 2019-02/txt/msg02638.txt.bz2
Content-length: 247

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89414

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
-march=armv7-a -mfpu=vfpv4 -mfloat-abi=hard -Og -fno-forward-propagate
-fno-tree-fre is what I've been using for options.
>From gcc-bugs-return-634337-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 14:36:05 2019
Return-Path: <gcc-bugs-return-634337-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53279 invoked by alias); 20 Feb 2019 14:36:04 -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 53050 invoked by uid 48); 20 Feb 2019 14:35:58 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89415] [9 Regression] gcc.dg/sinatan-1.c FAILs
Date: Wed, 20 Feb 2019 14:36: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: 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: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority short_desc
Message-ID: <bug-89415-4-O2FpsrtkI9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89415-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89415-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: 2019-02/txt/msg02639.txt.bz2
Content-length: 430

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89415

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
            Summary|gcc.dg/sinatan-1.c FAILs    |[9 Regression]
                   |                            |gcc.dg/sinatan-1.c FAILs
>From gcc-bugs-return-634338-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 14:44:32 2019
Return-Path: <gcc-bugs-return-634338-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26827 invoked by alias); 20 Feb 2019 14:44: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 26639 invoked by uid 48); 20 Feb 2019 14:44:26 -0000
From: "Bader at lrz dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89366] Fails to compile BIND(C) interface with assumed-length character argument
Date: Wed, 20 Feb 2019 14:44: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: Bader at lrz dot de
X-Bugzilla-Status: WAITING
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-89366-4-afm2I0yELz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89366-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89366-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: 2019-02/txt/msg02640.txt.bz2
Content-length: 875

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89366

--- Comment #2 from Bader at lrz dot de <Bader at lrz dot de> ---
Fortran 2018 FDIS section 18.3.6, para 2, item 5, bullet 2: 

(5) any dummy argument without the VALUE attribute corresponds to a formal
parameter of the prototype that is of a pointer type, and either
• the dummy argument is interoperable with an entity of the referenced type
(ISO/IEC 9899:2011, 6.2.5, 7.19, and 7.20.1) of the formal parameter,
• the dummy argument is a nonallocatable nonpointer variable of type CHARACTER
with assumed character length and the formal parameter is a pointer to
CFI_cdesc_t,

Note that as for all Fortran objects that don't have a C analog,
interoperability is on the level of the procedure interface (not the object!),
and the matching entity on the C side is the descriptor.

Regards
Reinhold
>From gcc-bugs-return-634339-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 14:48:45 2019
Return-Path: <gcc-bugs-return-634339-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38645 invoked by alias); 20 Feb 2019 14:48:26 -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 38413 invoked by uid 48); 20 Feb 2019 14:48:21 -0000
From: "Bader at lrz dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89366] Fails to compile BIND(C) interface with assumed-length character argument
Date: Wed, 20 Feb 2019 14:48: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: Bader at lrz dot de
X-Bugzilla-Status: WAITING
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: attachments.created
Message-ID: <bug-89366-4-9d2yVzNv3a@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89366-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89366-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: 2019-02/txt/msg02641.txt.bz2
Content-length: 273

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89366

--- Comment #3 from Bader at lrz dot de <Bader at lrz dot de> ---
Created attachment 45771
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45771&action=edit
C code to be called

Added the C side function call.
>From gcc-bugs-return-634340-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 14:54:18 2019
Return-Path: <gcc-bugs-return-634340-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53083 invoked by alias); 20 Feb 2019 14:54: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 52894 invoked by uid 48); 20 Feb 2019 14:54:09 -0000
From: "emilio at crisal dot io" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89416] New: [regression] std::vector<std::thread, custom_allocator>::push_back no longer builds.
Date: Wed, 20 Feb 2019 14:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: emilio at crisal dot io
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-89416-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: 2019-02/txt/msg02642.txt.bz2
Content-length: 10986

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89416

            Bug ID: 89416
           Summary: [regression] std::vector<std::thread,
                    custom_allocator>::push_back no longer builds.
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: emilio at crisal dot io
  Target Milestone: ---

Created attachment 45772
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45772&action=edit
Test-case.

The attached test-case no longer builds.

It's a reduction from:

 
https://searchfox.org/mozilla-central/rev/93905b660fc99a5d52b683690dd26471daca08c8/tools/fuzzing/libfuzzer/FuzzerDriver.cpp#244

Both g++ and clang error. g++ errors with:

In file included from
/usr/include/c++/9/x86_64-redhat-linux/bits/c++allocator.h:33,
                 from /usr/include/c++/9/bits/allocator.h:46,
                 from /usr/include/c++/9/memory:63,
                 from /usr/include/c++/9/thread:39,
                 from t.cpp:1:
/usr/include/c++/9/ext/new_allocator.h: In instantiation of ‘void
__gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up =
std::thread; _Args = {const std::thread&}; _Tp = std::thread]’:
/usr/include/c++/9/bits/alloc_traits.h:226:6:   required by substitution of
‘template<class _Alloc2, class> static std::true_type
std::allocator_traits<fuzzer_allocator<std::thread>
>::__construct_helper<std::thread, const std::thread&>::__test<_Alloc2,
<template-parameter-1-2> >(int) [with _Alloc2 = fuzzer_allocator<std::thread>;
<template-parameter-1-2> = <missing>]’
/usr/include/c++/9/bits/alloc_traits.h:233:40:   required from ‘struct
std::allocator_traits<fuzzer_allocator<std::thread>
>::__construct_helper<std::thread, const std::thread&>’
/usr/include/c++/9/bits/alloc_traits.h:250:2:   required by substitution of
‘template<class _Tp, class ... _Args> static
std::_Require<std::__and_<std::__not_<typename
std::allocator_traits<fuzzer_allocator<std::thread> >::__construct_helper<_Tp,
_Args>::type>, std::is_constructible<_Tp, _Args ...> > >
std::allocator_traits<fuzzer_allocator<std::thread> >::_S_construct<_Tp, _Args
...>(fuzzer_allocator<std::thread>&, _Tp*, _Args&& ...) [with _Tp =
std::thread; _Args = {const std::thread&}]’
/usr/include/c++/9/bits/alloc_traits.h:350:26:   required by substitution of
‘template<class _Tp, class ... _Args> static decltype
(std::allocator_traits<fuzzer_allocator<std::thread> >::_S_construct(__a, __p,
(forward<_Args>)(std::allocator_traits::construct::__args)...))
std::allocator_traits<fuzzer_allocator<std::thread> >::construct<_Tp, _Args
...>(fuzzer_allocator<std::thread>&, _Tp*, _Args&& ...) [with _Tp =
std::thread; _Args = {const std::thread&}]’
/usr/include/c++/9/bits/alloc_traits.h:587:38:   required by substitution of
‘template<class _Up, class _Tp, class> static std::true_type
std::__is_alloc_insertable_impl<fuzzer_allocator<std::thread> >::_M_select<_Up,
_Tp, <template-parameter-1-3> >(int) [with _Up = const std::thread&; _Tp =
std::thread; <template-parameter-1-3> = <missing>]’
/usr/include/c++/9/bits/alloc_traits.h:598:57:   required from ‘class
std::__is_alloc_insertable_impl<fuzzer_allocator<std::thread> >’
/usr/include/c++/9/bits/alloc_traits.h:616:12:   required from ‘struct
std::__is_move_insertable<fuzzer_allocator<std::thread> >’
/usr/include/c++/9/bits/stl_vector.h:446:28:   required from ‘static constexpr
bool std::vector<_Tp, _Alloc>::_S_use_relocate() [with _Tp = std::thread;
_Alloc = fuzzer_allocator<std::thread>]’
/usr/include/c++/9/bits/vector.tcc:459:44:   required from ‘void
std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator,
_Args&& ...) [with _Args = {void (&)()}; _Tp = std::thread; _Alloc =
fuzzer_allocator<std::thread>; std::vector<_Tp, _Alloc>::iterator =
__gnu_cxx::__normal_iterator<std::thread*, std::vector<std::thread,
fuzzer_allocator<std::thread> > >; typename std::_Vector_base<_Tp,
_Alloc>::pointer = std::thread*]’
/usr/include/c++/9/bits/vector.tcc:121:4:   required from ‘void
std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {void (&)()};
_Tp = std::thread; _Alloc = fuzzer_allocator<std::thread>]’
t.cpp:30:30:   required from here
/usr/include/c++/9/ext/new_allocator.h:145:20: error: use of deleted function
‘std::thread::thread(const std::thread&)’
  145 |  noexcept(noexcept(::new((void *)__p)
      |                    ^~~~~~~~~~~~~~~~~~
  146 |        _Up(std::forward<_Args>(__args)...)))
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from t.cpp:1:
/usr/include/c++/9/thread:142:5: note: declared here
  142 |     thread(const thread&) = delete;
      |     ^~~~~~


clang++ errors with:

In file included from t.cpp:1:
In file included from
/usr/bin/../lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/thread:39:
In file included from
/usr/bin/../lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/memory:63:
In file included from
/usr/bin/../lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/bits/allocator.h:46:
In file included from
/usr/bin/../lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/x86_64-redhat-linux/bits/c++allocator.h:33:
/usr/bin/../lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/ext/new_allocator.h:146:8:
error: call to deleted constructor of 'std::thread'
                            _Up(std::forward<_Args>(__args)...)))
                            ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/bits/alloc_traits.h:226:52:
note: in instantiation of exception specification for
      'construct<std::thread, const std::thread &>' requested here
            typename = decltype(std::declval<_Alloc2*>()->construct(
                                                          ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/bits/alloc_traits.h:228:23:
note: in instantiation of default argument for
'__test<fuzzer_allocator<std::thread> >'
      required here
            static true_type __test(int);
                             ^~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/bits/alloc_traits.h:233:26:
note: while substituting deduced template arguments into function template
'__test' [with
      _Alloc2 = fuzzer_allocator<std::thread>, $1 = (no value)]
          using type = decltype(__test<_Alloc>(0));
                                ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/bits/alloc_traits.h:237:2:
note: in instantiation of template class
'std::allocator_traits<fuzzer_allocator<std::thread>
      >::__construct_helper<std::thread, const std::thread &>' requested here
        using __has_construct
        ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/bits/alloc_traits.h:248:25:
note: in instantiation of template type alias '__has_construct' requested here
        _Require<__and_<__not_<__has_construct<_Tp, _Args...>>,
                               ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/bits/alloc_traits.h:350:14:
note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to
see all)
        -> decltype(_S_construct(__a, __p, std::forward<_Args>(__args)...))
                    ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/bits/stl_vector.h:446:29:
note: in instantiation of template class
      'std::__is_move_insertable<fuzzer_allocator<std::thread> >' requested
here
        return _S_nothrow_relocate(__is_move_insertable<_Tp_alloc_type>{});
                                   ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/bits/vector.tcc:459:29:
note: in instantiation of member function 'std::vector<std::thread,
fuzzer_allocator<std::thread>
      >::_S_use_relocate' requested here
          if _GLIBCXX17_CONSTEXPR (_S_use_relocate())
                                   ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/bits/vector.tcc:121:4:
note: in instantiation of function template specialization
'std::vector<std::thread,
      fuzzer_allocator<std::thread> >::_M_realloc_insert<std::thread>'
requested here
          _M_realloc_insert(end(), std::forward<_Args>(__args)...);
          ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/bits/stl_vector.h:1201:9:
note: in instantiation of function template specialization
'std::vector<std::thread,
      fuzzer_allocator<std::thread> >::emplace_back<std::thread>' requested
here
      { emplace_back(std::move(__x)); }
        ^
t.cpp:25:5: note: in instantiation of member function 'std::vector<std::thread,
fuzzer_allocator<std::thread> >::push_back' requested here
  V.push_back(std::thread(WorkerThread));
    ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/thread:142:5:
note: 'thread' has been explicitly marked deleted here
    thread(const thread&) = delete;
    ^
1 error generated.

gcc -v:

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/9/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap
--enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,lto --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared
--enable-threads=posix --enable-checking=release --enable-multilib
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions
--enable-gnu-unique-object --enable-linker-build-id
--with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin
--enable-initfini-array --with-isl --enable-offload-targets=nvptx-none
--without-cuda-driver --enable-gnu-indirect-function --enable-cet
--with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 9.0.1 20190209 (Red Hat 9.0.1-0.4) (GCC) 

clang -v

clang version 7.0.1 (Fedora 7.0.1-6.fc30)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/i686-redhat-linux/9
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-redhat-linux/9
Found candidate GCC installation: /usr/lib/gcc/i686-redhat-linux/9
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/9
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-redhat-linux/9
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
>From gcc-bugs-return-634341-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 15:04:32 2019
Return-Path: <gcc-bugs-return-634341-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84917 invoked by alias); 20 Feb 2019 15:04: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 84663 invoked by uid 48); 20 Feb 2019 15:04:23 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89091] ICE: Segmentation fault (in tree_class_check)
Date: Wed, 20 Feb 2019 15:04: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc attachments.created
Message-ID: <bug-89091-4-Y4jlfyWJ2O@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89091-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89091-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: 2019-02/txt/msg02643.txt.bz2
Content-length: 744

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89091

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45773
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45773&action=edit
gcc9-pr89091.patch

I'd just return NULL in that case.  While in theory we could just
build_nonstandard_integer_type or similar, I think for these > 64 bit bitfields
it will be hardly a win and we'd need to ensure the backend will be able to
deal with those types.
>From gcc-bugs-return-634342-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 15:10:29 2019
Return-Path: <gcc-bugs-return-634342-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50549 invoked by alias); 20 Feb 2019 15:10: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 50163 invoked by uid 48); 20 Feb 2019 15:10:24 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89366] Fails to compile BIND(C) interface with assumed-length character argument
Date: Wed, 20 Feb 2019 15:10: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: WAITING
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-89366-4-jep8T1PNBE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89366-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89366-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: 2019-02/txt/msg02644.txt.bz2
Content-length: 800

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89366

--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Fortran 2018 FDIS section 18.3.6, para 2, item 5, bullet 2: 

On my draft it is probably

18.3.7 Interoperability of procedures and procedure interfaces


For

  character(kind=c_char,len=:), allocatable :: s2
  character(kind=c_char,len=:), pointer :: s3

> • the dummy argument is a nonallocatable nonpointer variable of type
> CHARACTER with assumed character length and the formal parameter
> is a pointer to CFI_cdesc_t,

does not seem to apply.

Is it not rather

> • the dummy argument is allocatable, assumed-shape, assumed-rank,
> or a pointer without the CONTIGUOUS attribute, and the formal parameter
> is a pointer to CFI_cdesc_t?
>From gcc-bugs-return-634343-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 15:12:25 2019
Return-Path: <gcc-bugs-return-634343-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55888 invoked by alias); 20 Feb 2019 15:12: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 55614 invoked by uid 48); 20 Feb 2019 15:12:18 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89412] [7/8/9 Regression] gcc ICE in simplify_subreg, at simplify-rtx.c:6273 on i686-linux-gnu
Date: Wed, 20 Feb 2019 15:12: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: 8.2.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89412-4-0f6CzGTcdE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89412-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89412-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: 2019-02/txt/msg02645.txt.bz2
Content-length: 445

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89412

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r237429.  Don't know why this has anything to do with libgfortran
powerpc64le-linux bootstrap, that worked for me just fine in 8.3-rc1.

Slightly adjusted testcase:
struct S { double a, b; } d;
int e;
double f;

void
foo ()
{
  _Complex h;
  while (e)
    {
      f = h;
      *(struct S *) &h = d;
    }
}
>From gcc-bugs-return-634344-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 15:18:40 2019
Return-Path: <gcc-bugs-return-634344-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109653 invoked by alias); 20 Feb 2019 15:18: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 109499 invoked by uid 48); 20 Feb 2019 15:18:35 -0000
From: "doko at debian dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89412] [7/8/9 Regression] gcc ICE in simplify_subreg, at simplify-rtx.c:6273 on i686-linux-gnu
Date: Wed, 20 Feb 2019 15:18: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: 8.2.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: doko at debian dot 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89412-4-FGBsdLNtEB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89412-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89412-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: 2019-02/txt/msg02646.txt.bz2
Content-length: 154

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89412

--- Comment #5 from Matthias Klose <doko at debian dot org> ---
bug title was a cut and paste error
>From gcc-bugs-return-634345-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 15:19:20 2019
Return-Path: <gcc-bugs-return-634345-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111445 invoked by alias); 20 Feb 2019 15:19:19 -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 111230 invoked by uid 48); 20 Feb 2019 15:19:14 -0000
From: "jg at jguk dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89410] [7/8/9 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1237 after #line
Date: Wed, 20 Feb 2019 15:19: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: diagnostic, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jg at jguk dot 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89410-4-fJUMvHlHpQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89410-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89410-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: 2019-02/txt/msg02647.txt.bz2
Content-length: 1700

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89410

--- Comment #5 from Jonny Grant <jg at jguk dot org> ---
What appears to be a related issue. the "line number out of supported range"
does not show, even when gcc outputs a negative line number. Three test cases
below

I believe that the #line that pushes beyond 2^31  (The limit on my 64bit
machine) does not cause an error.  Only the #pragma message following does.

Just a note:
// 2^31 - 1.  Any more than this, and A1 overflows as "line3.c:-2147483648:9:
note: #pragma message: A1"
#line 2147483647

Anyway, the output

Current output from gcc trunk godbolt:

#1 with x86-64 gcc (trunk)
<source>: In function 'main':
<source>:-2147483647:9: note: #pragma message: B 
Compiler returned: 0


What I expected:
#1 with x86-64 gcc (trunk)
<source>: In function 'main':
<source>: warning: #line number 2147483649 out of supported range
<source>:-2147483647:9: note: #pragma message: B 
Compiler returned: 0


The program:
int main(void)
{
#line 2147483649
#pragma message "B "
}


It would be good if GCC could change to show the offending number, and write it
as #line. As GCC does in other output:

int main(void)
{
#line FOO
}


#1 with x86-64 gcc (trunk)
<source>: In function 'main':
<source>:3:7: error: "FOO" after #line is not a positive integer
    3 | #line FOO
      |       ^~~
Compiler returned: 1





Another program which does manage to show "warning: line number out of out of
supported range"



#1 with x86-64 gcc (trunk)
<source>: In function 'main':
<source>:3:7: warning: line number out of range
    3 | #line 112147483647
      |       ^~~~~~~~~~~~
Compiler returned: 0



int main(void)
{
#line 112147483647
}
>From gcc-bugs-return-634346-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 15:25:26 2019
Return-Path: <gcc-bugs-return-634346-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4601 invoked by alias); 20 Feb 2019 15:25: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 2311 invoked by uid 55); 20 Feb 2019 15:24:44 -0000
From: "uros at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89397] [7/8 Regression] ICE in build_call_expr_loc_array at gcc/tree.c:11563 since r229082
Date: Wed, 20 Feb 2019 15:25: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: accepts-invalid, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: uros at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: hjl.tools at gmail dot com
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89397-4-otqKKAbSOw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89397-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89397-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: 2019-02/txt/msg02648.txt.bz2
Content-length: 660

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89397

--- Comment #5 from uros at gcc dot gnu.org ---
Author: uros
Date: Wed Feb 20 15:23:47 2019
New Revision: 269040

URL: https://gcc.gnu.org/viewcvs?rev=269040&root=gcc&view=rev
Log:
Revert:
        PR target/89397
        * config/i386/i386.c (ix86_option_override_internal): Set
        opts->x_ix86_fpmath to FPMATH_387 when SSE is disabled.

        gcc/testsuite/

        PR target/89397
        * gcc.target/i386/pr89397.c: New test.

Removed:
    trunk/gcc/testsuite/gcc.target/i386/pr89397.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634347-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 15:31:13 2019
Return-Path: <gcc-bugs-return-634347-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25780 invoked by alias); 20 Feb 2019 15:30:52 -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 24794 invoked by uid 48); 20 Feb 2019 15:30:25 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89091] ICE: Segmentation fault (in tree_class_check)
Date: Wed, 20 Feb 2019 15:30: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89091-4-RfdFElvNJS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89091-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89091-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: 2019-02/txt/msg02649.txt.bz2
Content-length: 326

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89091

--- Comment #6 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Created attachment 45774
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45774&action=edit
Patch

I came up with this patch; it survives bootstrap&regrtesting, but am not sure
if it's correct.
>From gcc-bugs-return-634348-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 15:31:18 2019
Return-Path: <gcc-bugs-return-634348-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27060 invoked by alias); 20 Feb 2019 15:31: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 25922 invoked by uid 48); 20 Feb 2019 15:30:53 -0000
From: "jg at jguk dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89410] [7/8/9 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1237 after #line
Date: Wed, 20 Feb 2019 15:31: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: diagnostic, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jg at jguk dot 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89410-4-psQNUDmdFF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89410-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89410-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: 2019-02/txt/msg02650.txt.bz2
Content-length: 703

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89410

--- Comment #6 from Jonny Grant <jg at jguk dot org> ---
Could this show the offending number in the "line number out of range" message?
And even the origin of the LINE1 macro too?

Actual:
#1 with x86-64 gcc (trunk)
<source>: In function 'main':
<source>:4:7: warning: line number out of range
    4 | #line LINE1
      |       ^~~~~
Compiler returned: 0


Expected eg:
#1 with x86-64 gcc (trunk)
<source>: In function 'main':
<source>:4:7: warning: line number 112147483647 out of range
    4 | #line LINE1
      |       ^~~~~

 LINE1 was defined in header.h:10

Compiler returned: 0



#define LINE1 112147483647
int main(void)
{
#line LINE1
}
>From gcc-bugs-return-634349-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 15:31:48 2019
Return-Path: <gcc-bugs-return-634349-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29177 invoked by alias); 20 Feb 2019 15:31: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 28988 invoked by uid 48); 20 Feb 2019 15:31:43 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89091] ICE: Segmentation fault (in tree_class_check)
Date: Wed, 20 Feb 2019 15:31: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm 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 assigned_to
Message-ID: <bug-89091-4-dS8TEy7T6m@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89091-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89091-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: 2019-02/txt/msg02651.txt.bz2
Content-length: 487

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89091

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW
           Assignee|dmalcolm at gcc dot gnu.org        |unassigned at gcc dot gnu.org

--- Comment #7 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Jakub: should we go with your patch?
>From gcc-bugs-return-634350-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 15:33:18 2019
Return-Path: <gcc-bugs-return-634350-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33616 invoked by alias); 20 Feb 2019 15:33: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 33495 invoked by uid 48); 20 Feb 2019 15:33:13 -0000
From: "Bader at lrz dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89366] Fails to compile BIND(C) interface with assumed-length character argument
Date: Wed, 20 Feb 2019 15:33: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: Bader at lrz dot de
X-Bugzilla-Status: WAITING
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-89366-4-QT69O8WFGF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89366-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89366-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: 2019-02/txt/msg02652.txt.bz2
Content-length: 315

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89366

--- Comment #5 from Bader at lrz dot de <Bader at lrz dot de> ---
No. The dummy argument of the procedure process_string is declared

character(kind=c_char,len=*), intent(in) :: this

there is no POINTER or ALLOCATABLE attribute there. 

Regards
Reinhold
>From gcc-bugs-return-634351-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 15:35:40 2019
Return-Path: <gcc-bugs-return-634351-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91720 invoked by alias); 20 Feb 2019 15:35: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 91556 invoked by uid 48); 20 Feb 2019 15:35:36 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/88347] ICE in begin_move_insn, at sched-ebb.c:175
Date: Wed, 20 Feb 2019 15: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: acsawdey at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority
Message-ID: <bug-88347-4-iXY4S0YyBA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88347-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88347-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: 2019-02/txt/msg02653.txt.bz2
Content-length: 295

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88347

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
>From gcc-bugs-return-634352-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 15:37:39 2019
Return-Path: <gcc-bugs-return-634352-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98955 invoked by alias); 20 Feb 2019 15:37: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 98799 invoked by uid 48); 20 Feb 2019 15:37:35 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87844] ICE in tsubst_copy using non-constant expression as a non-type template argument
Date: Wed, 20 Feb 2019 15:37: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-87844-4-c8preQCKnh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87844-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87844-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: 2019-02/txt/msg02654.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87844

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |mpolacek at gcc dot gnu.org
>From gcc-bugs-return-634353-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 15:40:02 2019
Return-Path: <gcc-bugs-return-634353-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105999 invoked by alias); 20 Feb 2019 15:40: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 103144 invoked by uid 48); 20 Feb 2019 15:39:57 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89091] ICE: Segmentation fault (in tree_class_check)
Date: Wed, 20 Feb 2019 15:40: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89091-4-P8DnZzcRWK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89091-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89091-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: 2019-02/txt/msg02655.txt.bz2
Content-length: 696

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89091

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Comment on attachment 45774
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45774
Patch

Well, for the decode_field_reference, I think it is essential not to change
*exp_ if returning NULL, because the caller uses lr_arg/rr_arg without checking
whether it returned NULL or not.  The c_common_type_for_size change is
independent of the rest, I'd find it too risky for GCC9, but could be posted
for GCC10.

Sorry for looking on this, I saw you have it ASSIGNED but didn't see any patch
on gcc-patches nor recent progress in the PR and thought some input might help.
>From gcc-bugs-return-634354-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 15:43:04 2019
Return-Path: <gcc-bugs-return-634354-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130032 invoked by alias); 20 Feb 2019 15:43: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 129883 invoked by uid 48); 20 Feb 2019 15:42:59 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89412] [7/8/9 Regression] gcc ICE in simplify_subreg, at simplify-rtx.c:6273 on i686-linux-gnu
Date: Wed, 20 Feb 2019 15:43: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: 8.2.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created
Message-ID: <bug-89412-4-uRIQoqLSZP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89412-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89412-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: 2019-02/txt/msg02656.txt.bz2
Content-length: 578

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89412

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45775
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45775&action=edit
gcc9-pr89412.patch

Untested fix.
>From gcc-bugs-return-634355-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 15:44:22 2019
Return-Path: <gcc-bugs-return-634355-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2494 invoked by alias); 20 Feb 2019 15:44: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 2362 invoked by uid 48); 20 Feb 2019 15:44:16 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89397] [7/8 Regression] ICE in build_call_expr_loc_array at gcc/tree.c:11563 since r229082
Date: Wed, 20 Feb 2019 15:44: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: accepts-invalid, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: hjl.tools at gmail dot com
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89397-4-xCCPwkvciI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89397-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89397-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: 2019-02/txt/msg02657.txt.bz2
Content-length: 1144

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89397

--- Comment #6 from Uroš Bizjak <ubizjak at gmail dot com> ---
Index: config/i386/i386.c
===================================================================
--- config/i386/i386.c  (revision 269040)
+++ config/i386/i386.c  (working copy)
@@ -50689,7 +50689,7 @@
 static void
 ix86_atomic_assign_expand_fenv (tree *hold, tree *clear, tree *update)
 {
-  if (!TARGET_80387 && !TARGET_SSE_MATH)
+  if (!TARGET_80387 && !(TARGET_SSE && TARGET_SSE_MATH))
     return;
   tree exceptions_var = create_tmp_var_raw (integer_type_node);
   if (TARGET_80387)
@@ -50724,7 +50724,7 @@
       tree update_fldenv = build_call_expr (fldenv, 1, fenv_addr);
       *update = build2 (COMPOUND_EXPR, void_type_node, *update,
update_fldenv);
     }
-  if (TARGET_SSE_MATH)
+  if (TARGET_SSE && TARGET_SSE_MATH)
     {
       tree mxcsr_orig_var = create_tmp_var_raw (unsigned_type_node);
       tree mxcsr_mod_var = create_tmp_var_raw (unsigned_type_node);
>From gcc-bugs-return-634356-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 15:52:22 2019
Return-Path: <gcc-bugs-return-634356-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47965 invoked by alias); 20 Feb 2019 15:52: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 47842 invoked by uid 48); 20 Feb 2019 15:52:17 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89410] [7/8/9 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1237 after #line
Date: Wed, 20 Feb 2019 15: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: 9.0
X-Bugzilla-Keywords: diagnostic, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-89410-4-OkGzChxH2W@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89410-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89410-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: 2019-02/txt/msg02658.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89410

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |dmalcolm at gcc dot gnu.org
>From gcc-bugs-return-634357-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 15:54:01 2019
Return-Path: <gcc-bugs-return-634357-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65014 invoked by alias); 20 Feb 2019 15: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 64764 invoked by uid 48); 20 Feb 2019 15:53:57 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88055] ICE in extract_insn, at recog.c:2305 on ppc64le
Date: Wed, 20 Feb 2019 15: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher 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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority
Message-ID: <bug-88055-4-ltjcPxQj9k@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88055-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88055-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: 2019-02/txt/msg02659.txt.bz2
Content-length: 295

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88055

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
>From gcc-bugs-return-634358-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 15:56:29 2019
Return-Path: <gcc-bugs-return-634358-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74744 invoked by alias); 20 Feb 2019 15:56: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 74509 invoked by uid 48); 20 Feb 2019 15:56:24 -0000
From: "jg at jguk dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89410] [7/8/9 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1237 after #line
Date: Wed, 20 Feb 2019 15:56: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: diagnostic, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jg at jguk dot org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89410-4-PdDdIGbMSo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89410-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89410-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: 2019-02/txt/msg02660.txt.bz2
Content-length: 590

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89410

--- Comment #7 from Jonny Grant <jg at jguk dot org> ---
(In reply to Jonny Grant from comment #6)
> Could this show the offending number in the "line number out of range"
> message? And even the origin of the LINE1 macro too?

clang shows the origin of the offending LINE1 macro

#1 with x86-64 clang (trunk)
<source>:4:7: error: #line directive requires a positive integer argument
#line LINE1
      ^
<source>:1:15: note: expanded from macro 'LINE1'
#define LINE1 112147483647
              ^
1 error generated.
Compiler returned: 1
>From gcc-bugs-return-634359-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 16:01:07 2019
Return-Path: <gcc-bugs-return-634359-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90115 invoked by alias); 20 Feb 2019 16:01:04 -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 89680 invoked by uid 48); 20 Feb 2019 16:00:55 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/80505] FAIL: gcc.dg/ipa/iinline-attr.c scan-ipa-dump inline "hooray[^\\n]*inline copy in test"
Date: Wed, 20 Feb 2019 16:01: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: 7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-80505-4-EtHrxnfBfD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80505-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80505-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: 2019-02/txt/msg02661.txt.bz2
Content-length: 487

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80505

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Segher Boessenkool <segher at gcc dot gnu.org> ---
This all works now.  Please reopen if you still see FAILs.
>From gcc-bugs-return-634360-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 16:05:25 2019
Return-Path: <gcc-bugs-return-634360-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102238 invoked by alias); 20 Feb 2019 16:05: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 102091 invoked by uid 48); 20 Feb 2019 16:05:21 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88973] [8/9 Regression] New -Wrestrict warning since r268048
Date: Wed, 20 Feb 2019 16: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: 9.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
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:
Message-ID: <bug-88973-4-vviH5SMnQv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88973-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88973-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: 2019-02/txt/msg02662.txt.bz2
Content-length: 1464

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88973

--- Comment #8 from Martin Sebor <msebor at gcc dot gnu.org> ---
The Asan warning is much clearer because it's based on actually observed
values.  This instance of the -Wrestrict warning is based on a heuristic: "we
think the copy may overlap because it is within the same object and we can't
prove that the offsets and the size assure it doesn't happen."

There may be a way to reword the warning to make things a little bit clearer
but I don't think we can match the Asan form.  When the offsets and the size
are completely unbounded we could just avoid printing them altogether.  That
would make it:

  'strcpy' accessing the same array may overlap [-Werror=restrict]

When the size is known it would give us:

  'strcpy' accessing N bytes of the same array may overlap [-Werror=restrict]

and when the offsets are known but the size isn't:

  'strcpy' accessing the same array at offsets [O1, O2] and [O3, O4] may
overlap [-Werror=restrict]

and so on.

There are many forms of the -Wrestrict warning already: singular size (1 byte)
vs plural size (bytes) vs closed range (between X and Y bytes) vs open range (X
or more bytes), constant offsets vs closed ranges ([X, Y]), definitely overlaps
vs may overlap, and others, and because of internationalization most have to be
hardcoded and can't be easily parameterized, so adding a new form into the mix
isn't completely straightforward.
>From gcc-bugs-return-634361-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 16:19:58 2019
Return-Path: <gcc-bugs-return-634361-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58341 invoked by alias); 20 Feb 2019 16:19: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 57907 invoked by uid 48); 20 Feb 2019 16:19:53 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/52130] missing check for matching underlying type during instantiation of enum member of class template
Date: Wed, 20 Feb 2019 16:19: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: 4.7.0
X-Bugzilla-Keywords: accepts-invalid
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: cc
Message-ID: <bug-52130-4-OMwxT3o8Hq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-52130-4@http.gcc.gnu.org/bugzilla/>
References: <bug-52130-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: 2019-02/txt/msg02663.txt.bz2
Content-length: 452

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52130

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |redi at gcc dot gnu.org

--- Comment #4 from Eric Gallager <egallager at gcc dot gnu.org> ---
What should the correct diagnostic message for it say instead then?
>From gcc-bugs-return-634362-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 16:20:11 2019
Return-Path: <gcc-bugs-return-634362-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61995 invoked by alias); 20 Feb 2019 16:20: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 59194 invoked by uid 48); 20 Feb 2019 16:20:05 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89270] [9 regression] AVR ICE: verify_gimple failed
Date: Wed, 20 Feb 2019 16:20: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority cc
Message-ID: <bug-89270-4-5cOlGgsGgH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89270-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89270-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: 2019-02/txt/msg02664.txt.bz2
Content-length: 363

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89270

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
                 CC|                            |jakub at gcc dot gnu.org
>From gcc-bugs-return-634363-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 16:21:29 2019
Return-Path: <gcc-bugs-return-634363-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122682 invoked by alias); 20 Feb 2019 16:21: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 120915 invoked by uid 55); 20 Feb 2019 16:21:23 -0000
From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/89409] [9 Regression] FAIL: c-c++-common/ubsan/div-by-zero-[67].c
Date: Wed, 20 Feb 2019 16:21: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl 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:
Message-ID: <bug-89409-4-x5GPAUXcq6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89409-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89409-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: 2019-02/txt/msg02665.txt.bz2
Content-length: 1431

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89409

--- Comment #5 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Wed Feb 20 16:20:50 2019
New Revision: 269042

URL: https://gcc.gnu.org/viewcvs?rev=269042&root=gcc&view=rev
Log:
libsanitizer: Restore internal_readlink for x32

Cherry-pick compiler-rt revision 354451:

r316591 has

@@ -389,13 +383,11 @@ uptr internal_dup2(int oldfd, int newfd) {
 }

 uptr internal_readlink(const char *path, char *buf, uptr bufsize) {
-#if SANITIZER_NETBSD
-  return internal_syscall_ptr(SYSCALL(readlink), path, buf, bufsize);
-#elif SANITIZER_USES_CANONICAL_LINUX_SYSCALLS
+#if SANITIZER_USES_CANONICAL_LINUX_SYSCALLS
   return internal_syscall(SYSCALL(readlinkat), AT_FDCWD,
                           (uptr)path, (uptr)buf, bufsize);
 #else
-  return internal_syscall(SYSCALL(readlink), (uptr)path, (uptr)buf, bufsize);
+  return internal_syscall_ptr(SYSCALL(readlink), path, buf, bufsize);
 #endif
 }

which dropped the (uptr) cast and broke x32.  This patch puts back the
(uptr) cast to restore x32 and fixes:

https://bugs.llvm.org/show_bug.cgi?id=40783

Differential Revision: https://reviews.llvm.org/D58413

        PR sanitizer/89409
        * sanitizer_common/sanitizer_linux.cc (internal_readlink):
        Cherry-pick compiler-rt r354451.

Modified:
    trunk/libsanitizer/ChangeLog
    trunk/libsanitizer/sanitizer_common/sanitizer_linux.cc
>From gcc-bugs-return-634364-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 16:27:00 2019
Return-Path: <gcc-bugs-return-634364-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30833 invoked by alias); 20 Feb 2019 16:27: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 30575 invoked by uid 48); 20 Feb 2019 16:26:56 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/89308] [8 only] The sanitizers do no longer work on GCC 8 with newer kernels
Date: Wed, 20 Feb 2019 16:27: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.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher at gcc dot gnu.org
X-Bugzilla-Status: SUSPENDED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status
Message-ID: <bug-89308-4-PudIxxbri8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89308-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89308-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: 2019-02/txt/msg02666.txt.bz2
Content-length: 433

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89308

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |SUSPENDED

--- Comment #9 from Segher Boessenkool <segher at gcc dot gnu.org> ---
We do not currently see problems in practice.  Suspending.
>From gcc-bugs-return-634365-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 16:34:33 2019
Return-Path: <gcc-bugs-return-634365-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114493 invoked by alias); 20 Feb 2019 16:34: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 114291 invoked by uid 48); 20 Feb 2019 16:34:29 -0000
From: "federico.kircheis at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgcc/89417] New: helgrind detects a lock order violation inside std::scoped_lock
Date: Wed, 20 Feb 2019 16:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libgcc
X-Bugzilla-Version: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: federico.kircheis 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-89417-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: 2019-02/txt/msg02667.txt.bz2
Content-length: 3556

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89417

            Bug ID: 89417
           Summary: helgrind detects a lock order violation inside
                    std::scoped_lock
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcc
          Assignee: unassigned at gcc dot gnu.org
          Reporter: federico.kircheis at gmail dot com
  Target Milestone: ---

Created attachment 45776
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45776&action=edit
helgrind log output

Hello,

Im unsure if this is a bug or feature request, depending on who is "wrong"
(g++/valgrind)

I'm using g++ (Debian 8.2.0-14) 8.2.0, and the program is compiled with
following flags: "-std=c++17 -lpthread"

Consider following snippet of code:

----
int main(){
        std::mutex m1;
        std::mutex m2;
        int data1{};
        int data2{};
        auto f1 = std::async(std::launch::async, [&](){
                std::scoped_lock sl{m1, m2};
                ++data1;
                ++data2;
                return data1;
        });
    auto f2 = std::async(std::launch::async, [&](){
                std::scoped_lock sl{m2, m1};
                ++data1;
                ++data2;
                return data2;
    });
    return f1.get() + f2.get(); // result should be 3
}
----

helgrind (valgrind-3.14.0) reports that the lock order is violated: error
message attached)


it prints exactly the same error for

----
int main(){
        std::mutex m1;
        std::mutex m2;
        int data1{};
        int data2{};
        auto f1 = std::async(std::launch::async, [&](){
                std::lock_guard lg1{m1};std::lock_guard lg2{m2};
                ++data1;
                ++data2;
                return data1;
        });
    auto f2 = std::async(std::launch::async, [&](){
                std::lock_guard lg1{m1};std::lock_guard lg2{m2};
                ++data1;
                ++data2;
                return data2;
    });
    return f1.get() + f2.get(); // result should be 3
}
----

In case helgrind is correct, it seems that there are some issues behind
std::scoped_lock, since it was explicitly designed for solving issues with lock
order.

In case helgrind (and possibly for the same reason other tools) is wrong, this
is would be a feature request.


A possible fix (or improvement) would be for `std::scoped_lock` to sort its
arguments by address (since std::mutex are not copyable or movable, and thus
their address should remain constant):

----
auto make_lock(std::mutex& m1_, std::mutex& m2_) {
        const auto mless = std::less<std::mutex*>{};
        return std::scoped_lock{*std::min(&m1_, &m2_, mless), *std::max(&m1_,
&m2_, mless)}; 
}

int main(){
        std::mutex m1;
        std::mutex m2;
        int data1{};
        int data2{};
        auto f1 = std::async(std::launch::async, [&](){
                auto sl = make_lock(m1,m2);
                ++data1;
                ++data2;
                return data1;
        });
    auto f2 = std::async(std::launch::async, [&](){
                auto sl = make_lock(m2,m1);
                ++data1;
                ++data2;
                return data2;
    });
    return f1.get() + f2.get(); // result should be 3
}
----

in this case, helgrind does not generate any warning.
I do not know the internal algorithm of `std::scoped_lock`, so it might be
completely wrong, but sorting by address might also avoid possible live-lock
issues.
>From gcc-bugs-return-634366-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 16:35:25 2019
Return-Path: <gcc-bugs-return-634366-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118115 invoked by alias); 20 Feb 2019 16:35: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 117830 invoked by uid 48); 20 Feb 2019 16:35:16 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/35592] Want attribute to enable precision loss warning
Date: Wed, 20 Feb 2019 16:35: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: 4.3.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: enhancement
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: attachments.created
Message-ID: <bug-35592-4-2X92mjzRYq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-35592-4@http.gcc.gnu.org/bugzilla/>
References: <bug-35592-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: 2019-02/txt/msg02668.txt.bz2
Content-length: 933

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35592

--- Comment #8 from Eric Gallager <egallager at gcc dot gnu.org> ---
Created attachment 45777
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45777&action=edit
testcase

(In reply to felix-gcc from comment #6)
> Sure. For example:
> 
>   char* c=malloc(lseek(somefd,0,SEEK_END);
> 
> on a platform where off_t is 64-bit, but where size_t is 32-bit.  For
> example: i686-linux with #define _FILE_OFFSET_BITS 64.
> 
> Now that I'm thinking about it, would it be possible to have a generic
> overflow warning in that context?  For example,
> 
>   malloc(p->len+1)
> 
> So that gcc sees I'm adding something there, and if the range is not clamped
> down before that gives an error?

I combined those into a testcase which is attached. I thought the new
-Walloc-size-larger-than= warning that (I think it was) Martin added would
catch it, but apparently not?
>From gcc-bugs-return-634367-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 16:42:49 2019
Return-Path: <gcc-bugs-return-634367-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14908 invoked by alias); 20 Feb 2019 16: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 5932 invoked by uid 48); 20 Feb 2019 16:42:45 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89410] [7/8/9 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1237 after #line
Date: Wed, 20 Feb 2019 16: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: diagnostic, ice-on-invalid-code
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: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89410-4-PqnuSRaoUA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89410-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89410-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: 2019-02/txt/msg02669.txt.bz2
Content-length: 836

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89410

--- Comment #8 from Segher Boessenkool <segher at gcc dot gnu.org> ---
The C standard does not allow the line number (in a #line directive) to be
smaller than 1 or bigger than 0x7fffffff.  It says nothing about actually
having this many lines, or overflowing the line number with following lines,
but I suppose we could disallow that as well.

As the ICEs show many parts of GCC assume line numbers increase, so the
wrap-around signed integer is a problem (it is anyway, it's UB in the compiler
itself).  We could make the line number saturate, but this particular ICE won't
go away unless line numbers are strictly increasing (or the code is changed).
Changing the type to 64 bit won't help at all either, of course (we never
actually see source files of 2G lines, already).
>From gcc-bugs-return-634369-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 16:51:56 2019
Return-Path: <gcc-bugs-return-634369-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101834 invoked by alias); 20 Feb 2019 16:51:56 -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 101603 invoked by uid 48); 20 Feb 2019 16:51:51 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/86395] add support of -fopt-info-inline in inliner
Date: Wed, 20 Feb 2019 16: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: 9.0
X-Bugzilla-Keywords: diagnostic, patch
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: egallager at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status
Message-ID: <bug-86395-4-6PP4523bUc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86395-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86395-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: 2019-02/txt/msg02671.txt.bz2
Content-length: 480

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86395

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |WAITING

--- Comment #7 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #6)
> David: Can the bug be marked as resolved?

WAITING on a reply
>From gcc-bugs-return-634368-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 16:51:12 2019
Return-Path: <gcc-bugs-return-634368-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98349 invoked by alias); 20 Feb 2019 16:51: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 98043 invoked by uid 48); 20 Feb 2019 16:51:04 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/84889] Ideas on revamping how we format diagnostics
Date: Wed, 20 Feb 2019 16:51:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status
Message-ID: <bug-84889-4-OsockODgSA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84889-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84889-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: 2019-02/txt/msg02670.txt.bz2
Content-length: 482

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84889

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |WAITING

--- Comment #15 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #14)
> David: Can the bug be marked as resolved?

WAITING on a reply
>From gcc-bugs-return-634370-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 16:53:33 2019
Return-Path: <gcc-bugs-return-634370-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106323 invoked by alias); 20 Feb 2019 16:53: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 106148 invoked by uid 48); 20 Feb 2019 16:53:28 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/53063] encode group options in the .opt files
Date: Wed, 20 Feb 2019 16: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: unknown
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: egallager at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-53063-4-9ubCZcCYjX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-53063-4@http.gcc.gnu.org/bugzilla/>
References: <bug-53063-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: 2019-02/txt/msg02672.txt.bz2
Content-length: 475

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53063

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #12 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #11)
> Can the bug be marked as resolved?

WAITING on a reply
>From gcc-bugs-return-634371-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 16:58:34 2019
Return-Path: <gcc-bugs-return-634371-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126434 invoked by alias); 20 Feb 2019 16:58: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 126205 invoked by uid 48); 20 Feb 2019 16:58:28 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/80204] macosx-version-min wrong for macOS Sierra 10.12.3
Date: Wed, 20 Feb 2019 16: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: 7.0.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-80204-4-i0cW3Bva5F@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80204-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80204-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: 2019-02/txt/msg02673.txt.bz2
Content-length: 3343

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80204

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to simon from comment #6)
> Selected output from "gcc empty.c -v -Wl,-v" on macOS 10.14.1 (darwin
> 18.2.0), 
> with gcc 9.0.0 20181103 built on x86_64-apple-darwin15, correctly showing 
> -mmacosx-version-min=10.14.0 & equivalents throughout.
> 
> Equivalent success with 8.1.0.
> 
> --------------------------------------------------------
> 
> Target: x86_64-apple-darwin15
> Configured with: /Volumes/Miscellaneous/tmp/gcc/configure
>  --prefix=/Volumes/Miscellaneous/tmp/opt/gcc-9.0.0 
>  --without-libiconv-prefix --disable-libmudflap --disable-libstdcxx-pch 
>  --disable-libsanitizer --disable-libcc1 --disable-libcilkrts 
>  --disable-multilib --disable-nls --enable-languages=c,c++,ada 
>  --disable-bootstrap --host=x86_64-apple-darwin15 
>  --target=x86_64-apple-darwin15 --build=x86_64-apple-darwin15 
>  --with-boot-ldflags='-static-libstdc++ -static-libgcc
> -Wl,-headerpad_max_install_names'
> Thread model: posix
> gcc version 9.0.0 20181103 (experimental) (GCC) 
> COLLECT_GCC_OPTIONS='-v' '-mmacosx-version-min=10.14.0' 
>  '-asm_macosx_version_min=10.14' '-mtune=core2'
>  /opt/gcc-9.0.0/bin/../libexec/gcc/x86_64-apple-darwin15/9.0.0/cc1
>  -quiet -v -iprefix
> /opt/gcc-9.0.0/bin/../lib/gcc/x86_64-apple-darwin15/9.0.0/
>  -D__DYNAMIC__ empty.c -fPIC -quiet -dumpbase empty.c
>  -mmacosx-version-min=10.14.0 -mtune=core2 -auxbase empty -version
>  -o /var/folders/_q/fvnxz46903z9hjh38fz0lyhm0000gs/T//cc2Zzpgh.s
> 
> --------------------------------------------------------
> 
>  as -arch x86_64 -v -force_cpusubtype_ALL -mmacosx-version-min=10.14
>  -o /var/folders/_q/fvnxz46903z9hjh38fz0lyhm0000gs/T//cc9YzAyh.o
>  /var/folders/_q/fvnxz46903z9hjh38fz0lyhm0000gs/T//cc2Zzpgh.s
> Apple LLVM version 10.0.0 (clang-1000.10.44.4)
> Target: x86_64-apple-darwin18.2.0
> Thread model: posix
> InstalledDir: /Library/Developer/CommandLineTools/usr/bin
>  "/Library/Developer/CommandLineTools/usr/bin/clang" -cc1as
>  -triple x86_64-apple-macosx10.14.0 -filetype obj
>  -main-file-name cc2Zzpgh.s -target-cpu penryn -fdebug-compilation-dir
>  /Users/simon/tmp -dwarf-debug-producer Apple LLVM version 10.0.0
> (clang-1000.10.44.4) -dwarf-version=4 -mrelocation-model pic -o
> /var/folders/_q/fvnxz46903z9hjh38fz0lyhm0000gs/T//cc9YzAyh.o
> /var/folders/_q/fvnxz46903z9hjh38fz0lyhm0000gs/T//cc2Zzpgh.s
> 
> --------------------------------------------------------
> 
> /usr/bin/ld -dynamic -arch x86_64 -macosx_version_min 10.14.0
>  -weak_reference_mismatches non-weak -o a.out
>  -L/opt/gcc-9.0.0/bin/../lib/gcc/x86_64-apple-darwin15/9.0.0
>  -L/opt/gcc-9.0.0/bin/../lib/gcc
>  -L/opt/gcc-9.0.0/bin/../lib/gcc/x86_64-apple-darwin15/9.0.0/../../..
>  -v /var/folders/_q/fvnxz46903z9hjh38fz0lyhm0000gs/T//cc9YzAyh.o
>  -no_compact_unwind -lSystem -lgcc_ext.10.5 -lgcc -lSystem -v

So, that sounds like a "yes, this can be closed"
>From gcc-bugs-return-634372-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 16:58:49 2019
Return-Path: <gcc-bugs-return-634372-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128946 invoked by alias); 20 Feb 2019 16:58: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 127384 invoked by uid 48); 20 Feb 2019 16:58:44 -0000
From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug d/89418] New: D test cases fail on powerpc64le
Date: Wed, 20 Feb 2019 16:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: d
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: ibuclaw at gdcproject dot 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-89418-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: 2019-02/txt/msg02674.txt.bz2
Content-length: 2364

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89418

            Bug ID: 89418
           Summary: D test cases fail on powerpc64le
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

FAIL: gdc.test/compilable/ctfe_math.d -O2    output-exists ctfe_math.o
FAIL: gdc.test/compilable/ctfe_math.d -O2 -frelease    output-exists
ctfe_math.o
FAIL: gdc.test/compilable/ctfe_math.d -frelease    output-exists ctfe_math.o
FAIL: gdc.test/compilable/ctfe_math.d -g    output-exists ctfe_math.o
FAIL: gdc.test/compilable/ctfe_math.d -g -O2    output-exists ctfe_math.o
FAIL: gdc.test/compilable/ctfe_math.d -g -O2 -frelease    output-exists
ctfe_math.o
FAIL: gdc.test/compilable/ctfe_math.d -g -frelease    output-exists ctfe_math.o
FAIL: gdc.test/compilable/test5227.d   output-exists test5227.o

spawn -ignore SIGHUP
/home/seurer/gcc/build/gcc-test/gcc/testsuite/gdc8/../../gdc
-B/home/seurer/gcc/build/gcc-test/gcc/testsuite/gdc8/../../
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never
-I/home/seurer/gcc/gcc-test/gcc/testsuite/../../libphobos/libdruntime
-I/home/seurer/gcc/gcc-test/gcc/testsuite/../../libphobos/src
-I/home/seurer/gcc/gcc-test/gcc/testsuite/../../libstdc++-v3/libsupc++ -g
-I/home/seurer/gcc/gcc-test/gcc/testsuite/gdc.test/compilable -c -o ctfe_math.o
compilable/ctfe_math.d
/home/seurer/gcc/gcc-test/libphobos/src/std/math.d:244:5: error: static assert 
"Only 64-bit, 80-bit, and 128-bit reals are supported for LittleEndian CPUs"
compiler exited with status 1

package:
// The following IEEE 'real' formats are currently supported.
version (LittleEndian)
{
    static assert(real.mant_dig == 53 || real.mant_dig == 64
               || real.mant_dig == 113,
      "Only 64-bit, 80-bit, and 128-bit reals"~
      " are supported for LittleEndian CPUs");
}
else
{
    static assert(real.mant_dig == 53 || real.mant_dig == 106
               || real.mant_dig == 113,
    "Only 64-bit and 128-bit reals are supported for BigEndian CPUs."~
    " double-double reals have partial support");
}


I don't really know enough about D to diagnose this much further.
>From gcc-bugs-return-634373-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 16:59:57 2019
Return-Path: <gcc-bugs-return-634373-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2354 invoked by alias); 20 Feb 2019 16:59:56 -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 2138 invoked by uid 48); 20 Feb 2019 16:59:52 -0000
From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug d/89418] D test cases fail on powerpc64le
Date: Wed, 20 Feb 2019 16:59:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: d
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: ibuclaw at gdcproject dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_gcctarget cf_gcchost cf_gccbuild
Message-ID: <bug-89418-4-Y5FExDN0mj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89418-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89418-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: 2019-02/txt/msg02675.txt.bz2
Content-length: 742

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89418

seurer at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |powerpc64le-unknown-linux-g
                   |                            |nu
               Host|                            |powerpc64le-unknown-linux-g
                   |                            |nu
              Build|                            |powerpc64le-unknown-linux-g
                   |                            |nu

--- Comment #1 from seurer at gcc dot gnu.org ---
Note that these error messages only occur on powerpc64le.  BE seems to work OK.
>From gcc-bugs-return-634374-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 17:04:37 2019
Return-Path: <gcc-bugs-return-634374-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25994 invoked by alias); 20 Feb 2019 17:04:36 -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 25673 invoked by uid 48); 20 Feb 2019 17:04:31 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89357] alignas for automatic variables with alignment greater than 16 fails
Date: Wed, 20 Feb 2019 17:04: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: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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 cf_known_to_fail
Message-ID: <bug-89357-4-fjpyoZCea2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89357-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89357-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: 2019-02/txt/msg02676.txt.bz2
Content-length: 3895

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89357

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|accepts-invalid             |rejects-valid
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-20
                 CC|                            |msebor at gcc dot gnu.org
     Ever confirmed|0                           |1
      Known to fail|                            |8.2.0, 9.0

--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed.

The reason why the __attribute__ is accepted is because it's not considered a
C++ 11 form of specifying alignment and so it's subject to less checking (done
by the check_cxx_fundamental_alignment_constraints function).

The alignas form is considered a C++ form (has ATTR_FLAG_CXX11 bit set in flags
below) and so makes it pass the first test. The cxx_fundamental_alignment_p()
test also fails (the fundamental alignment on aarch64 is 16).  The third if
statement is entered, followed by the else block of the inner if.  There,
MAX_STACK_ALIGNMENT is used as the upper bound.  On aarch64,
MAX_STACK_ALIGNMENT is defined to STACK_BOUNDARY which is 16, and that is why
alignas(128) is considered invalid.  In contrast, on x86_64,
MAX_STACK_ALIGNMENT is defined to MAX_OFILE_ALIGNMENT, both of which are
2147483648.

So either MAX_STACK_ALIGNMENT on aarch64 is wrong or the test in
check_cxx_fundamental_alignment_constraint is wrong.

MAX_STACK_ALIGNMENT is defined in section 18.5 Storage Layout of the internals
manual as:

  Biggest stack alignment guaranteed by the backend. Use this macro to specify
the maximum alignment of a variable on stack.

and with the following (far more descriptive) comment in gcc/defaults.h:

/* MAX_STACK_ALIGNMENT is the maximum stack alignment guaranteed by
   the backend.  MAX_SUPPORTED_STACK_ALIGNMENT is the maximum best
   effort stack alignment supported by the backend.  If the backend
   supports stack alignment, MAX_SUPPORTED_STACK_ALIGNMENT and
   MAX_STACK_ALIGNMENT are the same.  Otherwise, the incoming stack
   boundary will limit the maximum guaranteed stack alignment.  */

It's a little ambiguous but my guess is that MAX_STACK_ALIGNMENT is meant to be
the maximum alignment the back-end will maintain for the stack pointer in
general, independent of any overaligned variables, and isn't intended as
constraint on the alignment of explicitly overaligned stack variables.  (I can
think of no reason why the back-end would impose any such constraint on the
stack.)  If that's correct the test for MAX_STACK_ALIGNMENT is the bug.  The
test was introduced with the implementation of the alignas specifier in
r192199.

check_cxx_fundamental_alignment_constraints (tree node,
                                             unsigned align_log,
                                             int flags)
{
  bool alignment_too_large_p = false;
  unsigned requested_alignment = (1U << align_log) * BITS_PER_UNIT;
  unsigned max_align = 0;

  if ((!(flags & ATTR_FLAG_CXX11) && !warn_cxx_compat)
      || (node == NULL_TREE || node == error_mark_node))
    return true;

  if (cxx_fundamental_alignment_p (requested_alignment))
    return true;

  if (VAR_P (node))
    {
      if (TREE_STATIC (node) || DECL_EXTERNAL (node))
        /* For file scope variables and static members, the target supports
           alignments that are at most MAX_OFILE_ALIGNMENT.  */
        max_align = MAX_OFILE_ALIGNMENT;
      else
        /* For stack variables, the target supports at most
           MAX_STACK_ALIGNMENT.  */
        max_align = MAX_STACK_ALIGNMENT;
      if (requested_alignment > max_align)
        alignment_too_large_p = true;
    }
>From gcc-bugs-return-634375-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 17:05:41 2019
Return-Path: <gcc-bugs-return-634375-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30038 invoked by alias); 20 Feb 2019 17:05: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 29874 invoked by uid 48); 20 Feb 2019 17:05:37 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88294] [9 Regression] ICE on (invalid) C++11 code: in tsubst_copy, at cp/pt.c:15391
Date: Wed, 20 Feb 2019 17:05: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88294-4-0AQXNoJaX8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88294-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88294-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: 2019-02/txt/msg02677.txt.bz2
Content-length: 278

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88294

--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
A similar test crashes:

bool b;

template<typename> struct A
{
  void g () noexcept (b) { }
};

int main ()
{
  A<int> a;
  a.g ();
}

but that's PR88987.
>From gcc-bugs-return-634376-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 17:11:32 2019
Return-Path: <gcc-bugs-return-634376-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49532 invoked by alias); 20 Feb 2019 17: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 49220 invoked by uid 48); 20 Feb 2019 17:11:27 -0000
From: "jg at jguk dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89410] [7/8/9 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1237 after #line
Date: Wed, 20 Feb 2019 17:11: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: diagnostic, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jg at jguk dot org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89410-4-WAX9UGIXDs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89410-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89410-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: 2019-02/txt/msg02678.txt.bz2
Content-length: 1171

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89410

--- Comment #9 from Jonny Grant <jg at jguk dot org> ---
(In reply to Segher Boessenkool from comment #8)
> The C standard does not allow the line number (in a #line directive) to be
> smaller than 1 or bigger than 0x7fffffff.  It says nothing about actually
> having this many lines, or overflowing the line number with following lines,
> but I suppose we could disallow that as well.

int main(void)
{
#line 0
}

#1 with x86-64 gcc (trunk)
Compiler returned: 0

Maybe zero could be disallowed too.



> As the ICEs show many parts of GCC assume line numbers increase, so the
> wrap-around signed integer is a problem (it is anyway, it's UB in the
> compiler
> itself).  We could make the line number saturate, but this particular ICE
> won't
> go away unless line numbers are strictly increasing (or the code is changed).
> Changing the type to 64 bit won't help at all either, of course (we never
> actually see source files of 2G lines, already).

Not sure what is best here, I'm not knowledgeable of GCC, but maybe setting it
to -1 if it goes above, and then never increment again if(-1 == line) ...
>From gcc-bugs-return-634377-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 17:13:30 2019
Return-Path: <gcc-bugs-return-634377-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54582 invoked by alias); 20 Feb 2019 17:13: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 54360 invoked by uid 48); 20 Feb 2019 17:13:25 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89410] [7/8/9 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1237 after #line
Date: Wed, 20 Feb 2019 17:13: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: diagnostic, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89410-4-NbgD1Jb2OP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89410-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89410-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: 2019-02/txt/msg02679.txt.bz2
Content-length: 892

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89410

--- Comment #10 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
(In reply to Jonny Grant from comment #4)
> There's another related issue, can it be covered on this ticket?
> 
> GCC does not show the part of the output below I marked with after
> commenting out line 4 <-----
> 
> #1 with x86-64 gcc (trunk)
> <source>: In function 'main':
> <source>:6:7: warning: line number out of range
>     6 | #line 9223372036854775807            <-----
>       |       ^~~~~~~~~~~~~~~~~~~
> 
> 
> 
> 
> int main(void)
> {
> // Note: Comment back in the next line to reproduce
> //#line 12147483647
> 
> #line 9223372036854775807
> }

What's happening is that GCC is honoring the earlier #line directive, and it
attempts to load the source for that line; there aren't that many lines in the
file, so it doesn't print anything.
>From gcc-bugs-return-634378-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 17:18:40 2019
Return-Path: <gcc-bugs-return-634378-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72486 invoked by alias); 20 Feb 2019 17:18: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 72307 invoked by uid 48); 20 Feb 2019 17:18:35 -0000
From: "wjwray at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88572] error: braces around scalar initializer - should be a warning
Date: Wed, 20 Feb 2019 17:18: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: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wjwray 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: attachments.isobsolete attachments.created
Message-ID: <bug-88572-4-PlLeNolHu0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88572-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88572-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: 2019-02/txt/msg02680.txt.bz2
Content-length: 942

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88572

Will Wray <wjwray at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45683|0                           |1
        is obsolete|                            |

--- Comment #16 from Will Wray <wjwray at gmail dot com> ---
Created attachment 45778
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45778&action=edit
Updated patch addressing review comments

(Updated Change Log entry for decl.c)

Log:
        PR c++/88572
        * decl.c (reshape_init_r): Remove condition that was incorrectly
        rejecting braces around scalar initializer within aggregate init. 
        Produce no warning. Add a conditional block rejecting braced-init
        of scalar variable, including empty-brace value-initialization
        that was being incorrectly accepted.
>From gcc-bugs-return-634379-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 17:28:42 2019
Return-Path: <gcc-bugs-return-634379-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28308 invoked by alias); 20 Feb 2019 17:28: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 24732 invoked by uid 48); 20 Feb 2019 17:28:38 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89385] Incorrect members of C descriptor for an allocatable object
Date: Wed, 20 Feb 2019 17:28: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pault at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: pault at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: assigned_to attachments.created
Message-ID: <bug-89385-4-uNfcrAMmQG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89385-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89385-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: 2019-02/txt/msg02681.txt.bz2
Content-length: 769

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89385

Paul Thomas <pault at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |pault at gcc dot gnu.org

--- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> ---
Created attachment 45779
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45779&action=edit
Draft patch

One typo, one stupid error and a couple of misunderstood bits in the standard
led to this.

The testcase provided runs OK and the patch bootstraps and regtests.

I will go through the other PRs that you provided and will see what further
fixes are required.

Thanks

Paul
>From gcc-bugs-return-634380-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 17:31:54 2019
Return-Path: <gcc-bugs-return-634380-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42107 invoked by alias); 20 Feb 2019 17:31: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 34227 invoked by uid 48); 20 Feb 2019 17:31:48 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89419] New: [8/9 Regression] ICE in is_normal_capture_proxy starting with r253601
Date: Wed, 20 Feb 2019 17:31: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: jakub 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-89419-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: 2019-02/txt/msg02682.txt.bz2
Content-length: 907

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89419

            Bug ID: 89419
           Summary: [8/9 Regression] ICE in is_normal_capture_proxy
                    starting with r253601
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
  Target Milestone: ---

The following testcase started to ICE with -std=c++17 in r253601:
struct A;
struct B {
  struct C { C (); C (C &); } b;
};
struct D { A operator* (); };
struct A {
  template <typename T> void foo (T x) { x (this); }
};
struct E {
  auto bar () { return e; }
  D e;
};
struct F { B f; int g; };

int
main ()
{
  E e;
  auto f = *e.bar ();
  auto i = [&] { F g; g.g = 1; auto h = [&](auto) { g.g = 0; }; f.foo (h);
return g; };
}
>From gcc-bugs-return-634381-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 17:32:24 2019
Return-Path: <gcc-bugs-return-634381-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88577 invoked by alias); 20 Feb 2019 17:32: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 86200 invoked by uid 48); 20 Feb 2019 17:32:19 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89419] [8/9 Regression] ICE in is_normal_capture_proxy starting with r253601
Date: Wed, 20 Feb 2019 17:32: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: jakub 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: keywords priority bug_status cf_reconfirmed_on cc target_milestone everconfirmed
Message-ID: <bug-89419-4-i63i9WvEXa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89419-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89419-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: 2019-02/txt/msg02683.txt.bz2
Content-length: 647

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89419

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
           Priority|P3                          |P2
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-20
                 CC|                            |jason at gcc dot gnu.org
   Target Milestone|---                         |8.3
     Ever confirmed|0                           |1
>From gcc-bugs-return-634382-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 17:39:13 2019
Return-Path: <gcc-bugs-return-634382-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65539 invoked by alias); 20 Feb 2019 17:39: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 65299 invoked by uid 48); 20 Feb 2019 17:39:08 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89420] New: [9 Regression] ICE: unexpected expression 'int()' of kind cast_expr
Date: Wed, 20 Feb 2019 17:39: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: gscfq@t-online.de
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-89420-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: 2019-02/txt/msg02684.txt.bz2
Content-length: 2309

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89420

            Bug ID: 89420
           Summary: [9 Regression] ICE: unexpected expression 'int()' of
                    kind cast_expr
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Changed between 20181028 and 20181104 (with any -std) :

$ cat z1.cc
template <explicit (int())>


$ g++-9-20190217 -c z1.cc
z1.cc:1:11: warning: 'explicit(bool)' only available with -std=c++2a or
-std=gnu++2a
    1 | template <explicit (int())>
      |           ^~~~~~~~
z1.cc:1:26: internal compiler error: unexpected expression 'int()' of kind
cast_expr
    1 | template <explicit (int())>
      |                          ^
0x620880 cxx_eval_constant_expression
        ../../gcc/cp/constexpr.c:5001
0x622104 cxx_eval_outermost_constant_expr
        ../../gcc/cp/constexpr.c:5115
0x6243d0 maybe_constant_value(tree_node*, tree_node*, bool)
        ../../gcc/cp/constexpr.c:5347
0x74ade7 check_narrowing(tree_node*, tree_node*, int, bool)
        ../../gcc/cp/typeck2.c:931
0x5f95b0 convert_like_real
        ../../gcc/cp/call.c:7366
0x603692 build_converted_constant_expr(tree_node*, tree_node*, int)
        ../../gcc/cp/call.c:4215
0x6466d2 build_explicit_specifier(tree_node*, int)
        ../../gcc/cp/decl.c:16687
0x6ab02c cp_parser_function_specifier_opt
        ../../gcc/cp/parser.c:14236
0x6b6be0 cp_parser_decl_specifier_seq
        ../../gcc/cp/parser.c:13945
0x6ce143 cp_parser_parameter_declaration
        ../../gcc/cp/parser.c:22266
0x6cf003 cp_parser_template_parameter
        ../../gcc/cp/parser.c:15979
0x6cf003 cp_parser_template_parameter_list
        ../../gcc/cp/parser.c:15562
0x6d457d cp_parser_explicit_template_declaration
        ../../gcc/cp/parser.c:27955
0x6d457d cp_parser_template_declaration_after_export
        ../../gcc/cp/parser.c:27989
0x6d7119 cp_parser_declaration
        ../../gcc/cp/parser.c:13122
0x6d775e cp_parser_translation_unit
        ../../gcc/cp/parser.c:4698
0x6d775e c_parse_file()
        ../../gcc/cp/parser.c:41039
0x7962a0 c_common_parse_file()
        ../../gcc/c-family/c-opts.c:1155
>From gcc-bugs-return-634383-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 17:43:18 2019
Return-Path: <gcc-bugs-return-634383-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115361 invoked by alias); 20 Feb 2019 17:43: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 115209 invoked by uid 48); 20 Feb 2019 17:43:13 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89421] New: [9 Regression] ICE in retrieve_specialization, at cp/pt.c:1245
Date: Wed, 20 Feb 2019 17:43: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: gscfq@t-online.de
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-89421-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: 2019-02/txt/msg02685.txt.bz2
Content-length: 2237

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89421

            Bug ID: 89421
           Summary: [9 Regression] ICE in retrieve_specialization, at
                    cp/pt.c:1245
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Changed between 20181111 and 20181118 :


$ cat z1.cc
template < //>
auto c = []{ return []{}; }();


$ g++-9-20190217 -c z1.cc
z1.cc:2:29: internal compiler error: Segmentation fault
    2 | auto c = []{ return []{}; }();
      |                             ^
0xe32b7f crash_signal
        ../../gcc/toplev.c:326
0x7c6c75 tree_check(tree_node*, char const*, int, char const*, tree_code)
        ../../gcc/tree.h:3175
0x7c6c75 retrieve_specialization
        ../../gcc/cp/pt.c:1245
0x815564 instantiate_decl(tree_node*, bool, bool)
        ../../gcc/cp/pt.c:24335
0x6ef537 maybe_instantiate_decl
        ../../gcc/cp/decl2.c:5281
0x6f221c mark_used(tree_node*, int)
        ../../gcc/cp/decl2.c:5437
0x627aba build_over_call
        ../../gcc/cp/call.c:7945
0x63b0a8 build_op_call_1
        ../../gcc/cp/call.c:4671
0x63b0a8 build_op_call(tree_node*, vec<tree_node*, va_gc, vl_embed>**, int)
        ../../gcc/cp/call.c:4700
0x83c0b3 finish_call_expr(tree_node*, vec<tree_node*, va_gc, vl_embed>**, bool,
bool, int)
        ../../gcc/cp/semantics.c:2586
0x78cad6 cp_parser_postfix_expression
        ../../gcc/cp/parser.c:7373
0x79bc95 cp_parser_unary_expression
        ../../gcc/cp/parser.c:8459
0x77347f cp_parser_cast_expression
        ../../gcc/cp/parser.c:9345
0x773c92 cp_parser_binary_expression
        ../../gcc/cp/parser.c:9446
0x774da9 cp_parser_assignment_expression
        ../../gcc/cp/parser.c:9742
0x774705 cp_parser_constant_expression
        ../../gcc/cp/parser.c:10026
0x774d51 cp_parser_initializer_clause
        ../../gcc/cp/parser.c:22702
0x779737 cp_parser_initializer
        ../../gcc/cp/parser.c:22642
0x79e683 cp_parser_default_argument
        ../../gcc/cp/parser.c:22537
0x79e683 cp_parser_parameter_declaration
        ../../gcc/cp/parser.c:22430
>From gcc-bugs-return-634384-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 17:45:55 2019
Return-Path: <gcc-bugs-return-634384-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123642 invoked by alias); 20 Feb 2019 17:45: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 123353 invoked by uid 48); 20 Feb 2019 17:45:50 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89420] [9 Regression] ICE: unexpected expression 'int()' of kind cast_expr
Date: Wed, 20 Feb 2019 17:45: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc assigned_to target_milestone everconfirmed
Message-ID: <bug-89420-4-TxCPU9TBiX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89420-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89420-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: 2019-02/txt/msg02686.txt.bz2
Content-length: 702

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89420

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-20
                 CC|                            |mpolacek at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |mpolacek at gcc dot gnu.org
   Target Milestone|---                         |9.0
     Ever confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
r265641
>From gcc-bugs-return-634386-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 17:46:47 2019
Return-Path: <gcc-bugs-return-634386-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127364 invoked by alias); 20 Feb 2019 17:46: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 127170 invoked by uid 48); 20 Feb 2019 17:46:43 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89422] New: [8/9 Regression] ICE in field_byte_offset, at dwarf2out.c:19086
Date: Wed, 20 Feb 2019 17:46: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: gscfq@t-online.de
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-89422-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: 2019-02/txt/msg02688.txt.bz2
Content-length: 2247

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89422

            Bug ID: 89422
           Summary: [8/9 Regression] ICE in field_byte_offset, at
                    dwarf2out.c:19086
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Started with gcc-8 and option -g :


$ cat z1.cc
template <int> struct S
{
  friend void foo (int a = []{ return 0; }()) {}
  int b;
};
S<0> t;



$ g++-9-20190217 -c z1.cc
$
$ g++-9-20190217 -c z1.cc -g
z1.cc: In instantiation of 'struct S<0>':
z1.cc:6:6:   required from here
z1.cc:3:28: internal compiler error: Segmentation fault
    3 |   friend void foo (int a = []{ return 0; }()) {}
      |                            ^~~~~~~~~~~~~~~
0xba166f crash_signal
        ../../gcc/toplev.c:326
0x8ac58e field_byte_offset
        ../../gcc/dwarf2out.c:19086
0x8ad27d add_data_member_location_attribute
        ../../gcc/dwarf2out.c:19365
0x8adb96 gen_field_die
        ../../gcc/dwarf2out.c:24290
0x898b5f gen_field_die
        ../../gcc/dwarf2out.c:24266
0x898b5f gen_decl_die
        ../../gcc/dwarf2out.c:26419
0x89a6a7 gen_member_die
        ../../gcc/dwarf2out.c:25169
0x89a6a7 gen_struct_or_union_type_die
        ../../gcc/dwarf2out.c:25265
0x89a6a7 gen_tagged_type_die
        ../../gcc/dwarf2out.c:25466
0x89b1ac gen_type_die_with_usage
        ../../gcc/dwarf2out.c:25661
0x89a2b7 gen_tagged_type_die
        ../../gcc/dwarf2out.c:25435
0x89b1ac gen_type_die_with_usage
        ../../gcc/dwarf2out.c:25661
0x89ba66 gen_type_die
        ../../gcc/dwarf2out.c:25715
0x8988ce gen_decl_die
        ../../gcc/dwarf2out.c:26347
0x899376 dwarf2out_decl
        ../../gcc/dwarf2out.c:26892
0x89963c dwarf2out_type_decl
        ../../gcc/dwarf2out.c:26619
0xadd0c2 rest_of_type_compilation(tree_node*, int)
        ../../gcc/passes.c:339
0x615b4d finish_struct_1(tree_node*)
        ../../gcc/cp/class.c:7068
0x616f74 finish_struct(tree_node*, tree_node*)
        ../../gcc/cp/class.c:7212
0x6f97e6 tsubst_lambda_expr(tree_node*, tree_node*, int, tree_node*)
        ../../gcc/cp/pt.c:18126
>From gcc-bugs-return-634385-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 17:46:07 2019
Return-Path: <gcc-bugs-return-634385-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124864 invoked by alias); 20 Feb 2019 17:46:06 -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 124525 invoked by uid 48); 20 Feb 2019 17:46:02 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89420] [9 Regression] ICE: unexpected expression 'int()' of kind cast_expr
Date: Wed, 20 Feb 2019 17:46: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority
Message-ID: <bug-89420-4-nN6vDQhHyu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89420-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89420-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: 2019-02/txt/msg02687.txt.bz2
Content-length: 292

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89420

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
>From gcc-bugs-return-634387-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 17:48:58 2019
Return-Path: <gcc-bugs-return-634387-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2789 invoked by alias); 20 Feb 2019 17:48:43 -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 2301 invoked by uid 48); 20 Feb 2019 17:48:33 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89403] [7/8/9 Regression] ICE in maybe_clone_body, at cp/optimize.c:693
Date: Wed, 20 Feb 2019 17:48: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created
Message-ID: <bug-89403-4-AfJJxfqRT4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89403-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89403-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: 2019-02/txt/msg02689.txt.bz2
Content-length: 690

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89403

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45780
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45780&action=edit
gcc9-pr89403.patch

Untested fix.  The problem is that maybe_clone_body really doesn't expect to be
called multiple times on the same function.
>From gcc-bugs-return-634388-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 17:52:43 2019
Return-Path: <gcc-bugs-return-634388-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16922 invoked by alias); 20 Feb 2019 17:52:43 -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 16746 invoked by uid 48); 20 Feb 2019 17:52:39 -0000
From: "wilco at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/78314] [aarch64] ieee_support_halting does not report unsupported fpu traps correctly
Date: Wed, 20 Feb 2019 17:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libfortran
X-Bugzilla-Version: 7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wilco 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-78314-4-lDQ2x4zQZd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78314-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78314-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: 2019-02/txt/msg02690.txt.bz2
Content-length: 552

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78314

--- Comment #25 from Wilco <wilco at gcc dot gnu.org> ---
(In reply to Steve Ellcey from comment #24)
> See email strings at:
> 
> https://gcc.gnu.org/ml/fortran/2019-01/msg00276.html
> https://gcc.gnu.org/ml/fortran/2019-02/msg00057.html
> 
> For more discussion.

Sure, it looks like we simply need to reinstate Szabolc's patch with a #ifdef
arm/aarch64 around it. I need to find out whether a feclearexcept
(FE_ALL_EXCEPT) is necessary on Arm targets which can trap (very few exist
IIRC).
>From gcc-bugs-return-634389-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 17:55:41 2019
Return-Path: <gcc-bugs-return-634389-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39864 invoked by alias); 20 Feb 2019 17:55: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 39737 invoked by uid 48); 20 Feb 2019 17:55:36 -0000
From: "ctice at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89423] New: -fvtable-verify does not work properly with -flto
Date: Wed, 20 Feb 2019 17:55:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ctice 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-89423-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: 2019-02/txt/msg02691.txt.bz2
Content-length: 1222

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89423

            Bug ID: 89423
           Summary: -fvtable-verify does not work properly with -flto
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ctice at gcc dot gnu.org
  Target Milestone: ---

When compiled with '-flto' the extra internal functions that VTV generates,and
which are necessary for it to work correctly, do not get propagated into the
final binary.  You can see this compiling the bb_tests.cc test case in the
libvtv testsuite, and grepping for 'GLOBAL' in the final output:

$ /usr/local/google3/cmtice/gcc-fsf.root/usr/local/bin/g++ -o bb_tests
bb_tests.cc -O1 -fvtable-verify=std          // Compile without flto
$ nm bb_tests | grep GLOBAL
0000000000601000 d _GLOBAL_OFFSET_TABLE_
0000000000400930 t _GLOBAL__sub_I.00099__Z14get_cond_value

$ /usr/local/google3/cmtice/gcc-fsf.root/usr/local/bin/g++ -o
bb_tests_flto bb_tests.cc -O1 -flto -fvtable-verify=std   // Compile
with flto
$ nm bb_tests_flto | grep GLOBAL
0000000000601000 d _GLOBAL_OFFSET_TABLE_
>From gcc-bugs-return-634390-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 17:56:11 2019
Return-Path: <gcc-bugs-return-634390-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41623 invoked by alias); 20 Feb 2019 17:56: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 41499 invoked by uid 48); 20 Feb 2019 17:56:07 -0000
From: "ctice at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89423] -fvtable-verify does not work properly with -flto
Date: Wed, 20 Feb 2019 17:56: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ctice at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ctice 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-89423-4-Rr1dHPZ6CF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89423-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89423-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: 2019-02/txt/msg02692.txt.bz2
Content-length: 473

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89423

ctice at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-20
           Assignee|unassigned at gcc dot gnu.org      |ctice at gcc dot gnu.org
     Ever confirmed|0                           |1
>From gcc-bugs-return-634392-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 18:03:38 2019
Return-Path: <gcc-bugs-return-634392-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129338 invoked by alias); 20 Feb 2019 18:03: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 128605 invoked by uid 48); 20 Feb 2019 18:03:31 -0000
From: "raphael.monod at wanadoo dot fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/80408] Problems with SIGNAL, pthread and print together
Date: Wed, 20 Feb 2019 18:03: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: 5.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: raphael.monod at wanadoo dot fr
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-80408-4-0daBx5EcRI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80408-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80408-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: 2019-02/txt/msg02694.txt.bz2
Content-length: 541

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80408

--- Comment #4 from Raphael Monod <raphael.monod at wanadoo dot fr> ---
Thank you for your answer. But I don't understand why adding -lpthread option
change the behavior if I do not use any thread. Moreover, if I refer to this
page ( https://docs.oracle.com/cd/E19455-01/806-5257/gen-26/index.html ) write
statement seems to be async-signal safe ? Where am I wrong ?
Finaly, what can I do if I want to print a message in my trap function ?
Thank you for your interest to my problem.
>From gcc-bugs-return-634391-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 18:03:12 2019
Return-Path: <gcc-bugs-return-634391-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126504 invoked by alias); 20 Feb 2019 18:03: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 126307 invoked by uid 48); 20 Feb 2019 18:03:08 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89421] [9 Regression] ICE in retrieve_specialization, at cp/pt.c:1245
Date: Wed, 20 Feb 2019 18:03: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-invalid-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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone everconfirmed
Message-ID: <bug-89421-4-BlVLAxMREC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89421-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89421-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: 2019-02/txt/msg02693.txt.bz2
Content-length: 612

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89421

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-20
                 CC|                            |mpolacek at gcc dot gnu.org
   Target Milestone|---                         |9.0
     Ever confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
r266056.
>From gcc-bugs-return-634393-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 18:04:01 2019
Return-Path: <gcc-bugs-return-634393-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130980 invoked by alias); 20 Feb 2019 18:04: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 130732 invoked by uid 48); 20 Feb 2019 18:03:55 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89400] [7/8/9 Regression] ICE: output_operand: invalid %-code with -march=armv6kz -mthumb -munaligned-access
Date: Wed, 20 Feb 2019 18:04: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: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc target_milestone
Message-ID: <bug-89400-4-akwneKqTWz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89400-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89400-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: 2019-02/txt/msg02695.txt.bz2
Content-length: 966

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89400

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org
   Target Milestone|---                         |7.5

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
r228540 compiled this fine with these options, r228940 already ICEs, though
with
pr89400.c: In function ‘foo’:
pr89400.c:7:1: error: unrecognizable insn:
 }
 ^
(insn 9 8 10 2 (set (reg:SI 116)
        (zero_extend:SI (unspec:HI [
                    (mem:HI (reg/f:SI 111 [ b.1_3 ]) [0 MEM[(char *
{ref-all})b.1_3]+0 S2 A8])
                ] UNSPEC_UNALIGNED_LOAD))) pr89400.c:6 -1
     (nil))
Maybe started with r228643?
The invalid %-code appeared in between r230540 and r231340, maybe r231114 or
r230664 or r230663.
>From gcc-bugs-return-634394-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 18:18:12 2019
Return-Path: <gcc-bugs-return-634394-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56397 invoked by alias); 20 Feb 2019 18:18: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 56122 invoked by uid 48); 20 Feb 2019 18:18:06 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89400] [7/8/9 Regression] ICE: output_operand: invalid %-code with -march=armv6kz -mthumb -munaligned-access
Date: Wed, 20 Feb 2019 18:18: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: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89400-4-57jF1MeSnv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89400-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89400-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: 2019-02/txt/msg02696.txt.bz2
Content-length: 1380

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89400

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ramana at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
All the "unaligned_access" instructions use %? in the patterns (except the last
one) where %? is TARGET_32BIT specific.
If the unaligned loads/stores don't really work for thumb1, then

  if (! opts_set->x_unaligned_access)
    {
      opts->x_unaligned_access = (TARGET_32BIT_P (opts->x_target_flags)
                          && arm_arch6 && (arm_arch_notm || arm_arch7));
    }
  else if (opts->x_unaligned_access == 1
           && !(arm_arch6 && (arm_arch_notm || arm_arch7)))
    {
      warning (0, "target CPU does not support unaligned accesses");
     opts->x_unaligned_access = 0;
    }
should be changed to:
  else if (opts->x_unaligned_access == 1
           && (!(arm_arch6 && (arm_arch_notm || arm_arch7))
               || !TARGET_32BIT_P (opts->x_target_flags)))
If the unaligned_access instructions are also for thumb1, then perhaps they
need to set predicable to no for !TARGET_32BIT e.g. based on isa attribute and
avoid using %? in the thumb1 alternative patterns.
>From gcc-bugs-return-634395-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 18:21:44 2019
Return-Path: <gcc-bugs-return-634395-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72271 invoked by alias); 20 Feb 2019 18:21:43 -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 72072 invoked by uid 48); 20 Feb 2019 18:21:39 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89410] [7/8/9 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1237 after #line
Date: Wed, 20 Feb 2019 18:21: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: diagnostic, ice-on-invalid-code
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: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89410-4-LGD5aNywhe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89410-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89410-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: 2019-02/txt/msg02697.txt.bz2
Content-length: 578

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89410

--- Comment #11 from Segher Boessenkool <segher at gcc dot gnu.org> ---
(In reply to Jonny Grant from comment #9)
> Maybe zero could be disallowed too.

Yes, but maybe we need that for historical reasons.

> Not sure what is best here, I'm not knowledgeable of GCC, but maybe setting
> it to -1 if it goes above, and then never increment again if(-1 == line) ...

The testcase will still ICE then...  The assert is

      /* The spans must be ordered.  */
      gcc_assert (prev->m_first_line < next->m_first_line);
>From gcc-bugs-return-634396-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 18:44:49 2019
Return-Path: <gcc-bugs-return-634396-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92716 invoked by alias); 20 Feb 2019 18:44: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 86742 invoked by uid 48); 20 Feb 2019 18:44:44 -0000
From: "drikosev at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/84530] -mfunction-return=thunk does not work for simple_return_pop_internal insn
Date: Wed, 20 Feb 2019 18:44: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.0.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: drikosev at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-84530-4-qxYRbffK6W@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84530-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84530-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: 2019-02/txt/msg02698.txt.bz2
Content-length: 1325

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84530

Ev Drikos <drikosev at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |drikosev at gmail dot com

--- Comment #7 from Ev Drikos <drikosev at gmail dot com> ---
Hello,

There is perhaps a Darwin specific problem reproduced in various versions, ie
8.2:

Not really sure if the problem I face is indeed related to this PR.

$ gcc8 -mfunction-return=thunk gcc/testsuite/gcc.target/i386/ret-thunk-26.c
-arch i386
Undefined symbols for architecture i386:
  "__x86_return_thunk", referenced from:
      _foo in ccQ3DlYI.o
      _bar in ccQ3DlYI.o
      _main in ccQ3DlYI.o
     (maybe you meant: ___x86_return_thunk)
ld: symbol(s) not found for architecture i386
collect2: error: ld returned 1 exit status
$
$ gcc8 -v
Using built-in specs.
COLLECT_GCC=gcc8
COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin17.5.0/8.2.0/lto-wrapper
Target: x86_64-apple-darwin17.5.0
Configured with: ../gcc-8.2.0/configure --prefix=/opt/local --program-suffix=8
--enable-languages=c,c++,fortran --enable-checking=release --disable-nls
--with-system-zlib
Thread model: posix
gcc version 8.2.0 (GCC) 
$
>From gcc-bugs-return-634397-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 18:51:08 2019
Return-Path: <gcc-bugs-return-634397-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82392 invoked by alias); 20 Feb 2019 18:51: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 82140 invoked by uid 55); 20 Feb 2019 18:51:04 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88572] error: braces around scalar initializer - should be a warning
Date: Wed, 20 Feb 2019 18: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: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason 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-88572-4-izLz8opXIt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88572-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88572-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: 2019-02/txt/msg02699.txt.bz2
Content-length: 836

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88572

--- Comment #17 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Feb 20 18:50:32 2019
New Revision: 269045

URL: https://gcc.gnu.org/viewcvs?rev=269045&root=gcc&view=rev
Log:
        PR c++/88572 - wrong handling of braces on scalar init.

        * decl.c (reshape_init_r): Allow braces around scalar initializer
        within aggregate init.  Reject double braced-init of scalar
        variable.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/g++.dg/cpp0x/initlist69.C
    trunk/gcc/testsuite/g++.dg/cpp1z/direct-enum-init1.C
    trunk/gcc/testsuite/g++.dg/init/brace1.C
    trunk/gcc/testsuite/g++.dg/init/brace2.C
    trunk/gcc/testsuite/g++.dg/init/union2.C
    trunk/gcc/testsuite/g++.dg/warn/Wbraces2.C
>From gcc-bugs-return-634398-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 18:55:22 2019
Return-Path: <gcc-bugs-return-634398-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97697 invoked by alias); 20 Feb 2019 18:55: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 97511 invoked by uid 55); 20 Feb 2019 18:55:17 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88380] [7/8/9 Regression] Sequence of not-explicitly initialised, initialised, variable length generates no initialiser
Date: Wed, 20 Feb 2019 18:55: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88380-4-6qvJwfg9xw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88380-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88380-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: 2019-02/txt/msg02700.txt.bz2
Content-length: 814

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88380

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Feb 20 18:54:45 2019
New Revision: 269046

URL: https://gcc.gnu.org/viewcvs?rev=269046&root=gcc&view=rev
Log:
        PR c++/88380 - wrong-code with flexible array and NSDMI.

Here 'skipped' was set to -1 to force an explicit initializer for 'uninit'
before the initializer for 'initialized', and so we also tried to emit an
explicit initializer for the flexible array, for which build_zero_init
returns error_mark_node.  We should ignore flexarrays even when
skipped < 0.

        * typeck2.c (process_init_constructor_record): Skip flexarrays.

Added:
    trunk/gcc/testsuite/g++.dg/ext/flexary33.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck2.c
>From gcc-bugs-return-634399-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 18:59:56 2019
Return-Path: <gcc-bugs-return-634399-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118727 invoked by alias); 20 Feb 2019 18:59:55 -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 118524 invoked by uid 55); 20 Feb 2019 18:59:51 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87513] [8/9 Regression] ICE in write_expression, at cp/mangle.c:3050
Date: Wed, 20 Feb 2019 18:59: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: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87513-4-HSfAiov2iR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87513-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87513-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: 2019-02/txt/msg02701.txt.bz2
Content-length: 807

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87513

--- Comment #10 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Feb 20 18:59:18 2019
New Revision: 269048

URL: https://gcc.gnu.org/viewcvs?rev=269048&root=gcc&view=rev
Log:
        PR c++/87513 - 'sorry' mangling PMF template-id.

Here build_offset_ref calls build_qualified_name to make a SCOPE_REF because
the dependent template arguments make type_dependent_expression_p (member)
true.  We could probably work hard to prevent this, but it doesn't seem
necessary, and it's easy to fix write_expression to handle the result.

        * mangle.c (write_expression): Handle SCOPE_REF to BASELINK.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/decltype-tid1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/mangle.c
>From gcc-bugs-return-634400-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 19:16:24 2019
Return-Path: <gcc-bugs-return-634400-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28505 invoked by alias); 20 Feb 2019 19:16: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 28009 invoked by uid 48); 20 Feb 2019 19:16:08 -0000
From: "jg at jguk dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89410] [7/8/9 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1237 after #line
Date: Wed, 20 Feb 2019 19:16: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: diagnostic, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jg at jguk dot org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89410-4-caLJ3uzqLc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89410-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89410-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: 2019-02/txt/msg02702.txt.bz2
Content-length: 620

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89410

--- Comment #12 from Jonny Grant <jg at jguk dot org> ---
Just to add

C spec says UB.

http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf

"The #line preprocessing directive that results after expansion does not match
one of
the two well-defined forms, or its digit sequence specifies zero or a number
greater
than 2147483647 (6.10.4)."

As I understand it, it is #line <the next line will be numbered>
So if it is #line 1, the following line (actual line 2) will be counted as line
1.

#line 0, means that the actual 2nd line in a file is treated as 0.
>From gcc-bugs-return-634401-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 19:27:33 2019
Return-Path: <gcc-bugs-return-634401-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57773 invoked by alias); 20 Feb 2019 19:27:32 -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 57539 invoked by uid 48); 20 Feb 2019 19:27:25 -0000
From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug d/89418] D test cases fail on powerpc64le
Date: Wed, 20 Feb 2019 19:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: d
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: ibuclaw at gdcproject dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89418-4-sTFT9baaPQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89418-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89418-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: 2019-02/txt/msg02703.txt.bz2
Content-length: 140

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89418

--- Comment #2 from seurer at gcc dot gnu.org ---
real.mant_dig is 106 on powerpc64le
>From gcc-bugs-return-634402-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 19:32:20 2019
Return-Path: <gcc-bugs-return-634402-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76667 invoked by alias); 20 Feb 2019 19:32: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 76456 invoked by uid 48); 20 Feb 2019 19:32:16 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug d/89418] D test cases fail on powerpc64le
Date: Wed, 20 Feb 2019 19:32:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: d
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89418-4-Z4d4wMXZee@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89418-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89418-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: 2019-02/txt/msg02704.txt.bz2
Content-length: 647

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89418

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Funny.  real.mant_dig == 106 means 128bit IBM long double (or as some call it,
double-double as the error message suggest).  

The error message is incorrect in both cases too:
"Only 64-bit, 80-bit, and 128-bit reals"~
      " are supported for LittleEndian CPUs"

Should really be:
"Only IEEE 64-bit, IEEE 80-bit, and IEEE 128-bit reals"~
      " are supported for LittleEndian CPUs"

And:
"Only IEEE 64-bit and IEEE 128-bit reals are supported for BigEndian CPUs."~
    " double-double reals have partial support"
>From gcc-bugs-return-634403-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 19:57:46 2019
Return-Path: <gcc-bugs-return-634403-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77019 invoked by alias); 20 Feb 2019 19:57: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 71207 invoked by uid 48); 20 Feb 2019 19:57:41 -0000
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug d/89177] unaligned memory access in libphobos
Date: Wed, 20 Feb 2019 19:57:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: d
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bernd.edlinger at hotmail dot de
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-89177-4-SU2Tt7TSxm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89177-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89177-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: 2019-02/txt/msg02705.txt.bz2
Content-length: 685

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89177

--- Comment #4 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
(In reply to Johannes Pfau from comment #2)
> Thanks for the bug report & patch. It seems upstream phobos has already
> fixed this in a different way:
> 
> https://github.com/dlang/phobos/commit/
> d5f710c57e717ef470d093c1739156dcb2f2d469#diff-
> 2f532fcf37a0e29f7683a930ad9915ae
> 
> Could you please try whether simply replacing the murmurhash.d file with
> this latest upstream version works?
> https://raw.githubusercontent.com/dlang/phobos/master/std/digest/murmurhash.d
> 

Confirmed, this works for me, no regressions in arm-Linux-gnueabihf.
>From gcc-bugs-return-634404-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 20:07:57 2019
Return-Path: <gcc-bugs-return-634404-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127359 invoked by alias); 20 Feb 2019 20:07:56 -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 127134 invoked by uid 55); 20 Feb 2019 20:07:53 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89410] [7/8/9 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1237 after #line
Date: Wed, 20 Feb 2019 20:07: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: diagnostic, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89410-4-KbHziajgGL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89410-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89410-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: 2019-02/txt/msg02706.txt.bz2
Content-length: 2170

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89410

--- Comment #13 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Author: dmalcolm
Date: Wed Feb 20 20:07:20 2019
New Revision: 269050

URL: https://gcc.gnu.org/viewcvs?rev=269050&root=gcc&view=rev
Log:
Fix ICE with #line directive (PR c/89410)

PR c/89410 reports various issues with #line directives with very
large numbers; one of them is an ICE inside diagnostic-show-locus.c
when emitting a diagnostic at line 0xffffffff.

The issue is that the arithmetic in layout::calculate_line_spans to
determine if two line spans are sufficiently close to consolidate
was using the unsigned 32-bit linenum_type, which was overflowing
when comparing the line for the expanded location with those of
the location range (all on line 0xffffffff), leading to it
erroneously adding two spans for the same line, leading to an
assertion failure.

This patch fixes the ICE by generalizing the use of long long in
line-map.h's comparison function for linenum_type into a new
linenum_arith_t typedef, and using it here.

Doing so uncovered a second problem: the loop to print the lines
within the line_span for this case is infinite: looping from
0xfffffff upwards, overflowing to 0, and then never becoming
greater than 0xfffffff.  The patch fixes this by using linenum_arith_t
there also.

gcc/ChangeLog:
        PR c/89410
        * diagnostic-show-locus.c (layout::calculate_line_spans): Use
        linenum_arith_t when determining if two adjacent line spans are
        close enough to merge.
        (diagnostic_show_locus): Use linenum_arith_t when iterating over
        lines within each line_span.

gcc/testsuite/ChangeLog:
        PR c/89410
        * gcc.dg/pr89410-1.c: New test.
        * gcc.dg/pr89410-2.c: New test.

libcpp/ChangeLog:
        PR c/89410
        * include/line-map.h (linenum_arith_t): New typedef.
        (compare): Use it.


Added:
    trunk/gcc/testsuite/gcc.dg/pr89410-1.c
    trunk/gcc/testsuite/gcc.dg/pr89410-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/diagnostic-show-locus.c
    trunk/gcc/testsuite/ChangeLog
    trunk/libcpp/ChangeLog
    trunk/libcpp/include/line-map.h
>From gcc-bugs-return-634405-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 20:13:18 2019
Return-Path: <gcc-bugs-return-634405-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15739 invoked by alias); 20 Feb 2019 20:13:18 -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 15520 invoked by uid 48); 20 Feb 2019 20:13:14 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86248] [7/8/9 Regression] LEN_TRIM in specification expression causes link failure
Date: Wed, 20 Feb 2019 20:13: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.1.0
X-Bugzilla-Keywords: link-failure
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gmx dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86248-4-Vyhvh3o2wK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86248-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86248-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: 2019-02/txt/msg02707.txt.bz2
Content-length: 905

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86248

--- Comment #4 from Harald Anlauf <anlauf at gmx dot de> ---
Some digging shows that the name mangling is done in trans-decl.c,
gfc_sym_mangled_identifier.  Strangely, the funny name mangling comes
from the component fn_result_spec being set in resolve.c, flag_fn_result_spec,
but only when darray_fixed is a PARAMETER.

The code in question was added by pault in rev. 243478:

243478      pault       if (!s->fn_result_spec
243478      pault         && s->attr.flavor == FL_PARAMETER)
243478      pault       {
243478      pault         /* Function contained in a module.... */
243478      pault         if (ns->proc_name && ns->proc_name->attr.flavor ==
FL_MODULE)
243478      pault           {
243478      pault             gfc_symtree *st;
243478      pault             s->fn_result_spec = 1;

Maybe he can shine some light on this.
>From gcc-bugs-return-634406-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 20:13:21 2019
Return-Path: <gcc-bugs-return-634406-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16119 invoked by alias); 20 Feb 2019 20:13: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 15667 invoked by uid 48); 20 Feb 2019 20:13:17 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89410] [7/8 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1237 after #line
Date: Wed, 20 Feb 2019 20:13: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: diagnostic, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-89410-4-VxcHYsfmkt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89410-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89410-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: 2019-02/txt/msg02708.txt.bz2
Content-length: 692

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89410

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[7/8/9 Regression] ICE in   |[7/8 Regression] ICE in
                   |calculate_line_spans, at    |calculate_line_spans, at
                   |diagnostic-show-locus.c:123 |diagnostic-show-locus.c:123
                   |7 after #line               |7 after #line

--- Comment #14 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
r269050 should fix the ICE on trunk; removing the "9" part of the Regression
from the Summary.
>From gcc-bugs-return-634407-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 20:17:56 2019
Return-Path: <gcc-bugs-return-634407-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33576 invoked by alias); 20 Feb 2019 20:17:56 -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 33349 invoked by uid 48); 20 Feb 2019 20:17:52 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/86395] add support of -fopt-info-inline in inliner
Date: Wed, 20 Feb 2019 20:17: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: 9.0
X-Bugzilla-Keywords: diagnostic, patch
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: dmalcolm at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-86395-4-uT7wbeBG8b@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86395-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86395-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: 2019-02/txt/msg02709.txt.bz2
Content-length: 457

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86395

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Oops, sorry.  Marking as resolved.
>From gcc-bugs-return-634408-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 20:19:42 2019
Return-Path: <gcc-bugs-return-634408-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69070 invoked by alias); 20 Feb 2019 20:19:41 -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 68897 invoked by uid 48); 20 Feb 2019 20:19:37 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87513] [8 Regression] ICE in write_expression, at cp/mangle.c:3050
Date: Wed, 20 Feb 2019 20:19: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: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-87513-4-BC0RtYRepk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87513-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87513-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: 2019-02/txt/msg02710.txt.bz2
Content-length: 534

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87513

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[8/9 Regression] ICE in     |[8 Regression] ICE in
                   |write_expression, at        |write_expression, at
                   |cp/mangle.c:3050            |cp/mangle.c:3050

--- Comment #11 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed on trunk so far.
>From gcc-bugs-return-634410-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 20:23:48 2019
Return-Path: <gcc-bugs-return-634410-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82580 invoked by alias); 20 Feb 2019 20:23:46 -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 82356 invoked by uid 48); 20 Feb 2019 20:23:42 -0000
From: "jb at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/80408] Problems with SIGNAL, pthread and print together
Date: Wed, 20 Feb 2019 20:23: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: 5.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jb 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-80408-4-WRNzHfiKVj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80408-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80408-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: 2019-02/txt/msg02712.txt.bz2
Content-length: 1659

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80408

--- Comment #5 from Janne Blomqvist <jb at gcc dot gnu.org> ---
(In reply to Raphael Monod from comment #4)
> Thank you for your answer. But I don't understand why adding -lpthread
> option change the behavior if I do not use any thread.

In libgfortran, if a thread library is not linked in, thread-related stuff such
as mutexes are stubbed out in order to improve performance. With -lpthread it's
thus more likely that the code deadlocks. Note that there's no guarantee it
works without -lpthread either, it's just an accident.

> Moreover, if I refer
> to this page (
> https://docs.oracle.com/cd/E19455-01/806-5257/gen-26/index.html ) write
> statement seems to be async-signal safe ? Where am I wrong ?
> Finaly, what can I do if I want to print a message in my trap function ?
> Thank you for your interest to my problem.

That link refers to the POSIX write() function, which is a much lower level
interface than the Fortran write statement. POSIX write() is async-signal-safe,
but Fortran write has no such guarantees.

As the things you can do in a signal handler is extremely limited, one way to
handle it is to just set a flag variable, and then in the normal code you
regularly check that flag variable, and print messages or whatever.

Another way is the so-called self-pipe trick, where you create a pipe, and the
signal handler can then write to the pipe. A thread in your program can then
poll on the other end of the pipe. Handling pipes, and the need to use POSIX
write/read rather than Fortran READ/WRITE probably means you'll have to
implement that part of the program in C.
>From gcc-bugs-return-634409-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 20:23:26 2019
Return-Path: <gcc-bugs-return-634409-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81040 invoked by alias); 20 Feb 2019 20:23:26 -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 80741 invoked by uid 48); 20 Feb 2019 20:23:19 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/84889] Ideas on revamping how we format diagnostics
Date: Wed, 20 Feb 2019 20:23:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status target_milestone
Message-ID: <bug-84889-4-WhJwB2ltGp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84889-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84889-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: 2019-02/txt/msg02711.txt.bz2
Content-length: 1049

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84889

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |ASSIGNED
   Target Milestone|9.0                         |10.0

--- Comment #16 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #14)
> David: Can the bug be marked as resolved?

Much of this is implemented for gcc 9.

I want to keep this open, to revisit it in gcc 10.  I think the main pending
items are:

(In reply to David Malcolm from comment #0)
[...]
> * the diagnostic and the followup notes are grouped, so it's easier to pick
> out what messages relate to what
[...]
> IIRC, clang does something where the left-hand column is only non-empty for
> the start of a diagnostic; followup lines (e.g. due to line wrapping) are
> indented by 1 char, so that the "wall of text" is broken up somewhat
[...]
>From gcc-bugs-return-634411-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 20:38:51 2019
Return-Path: <gcc-bugs-return-634411-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127939 invoked by alias); 20 Feb 2019 20:38: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 127617 invoked by uid 48); 20 Feb 2019 20:38:46 -0000
From: "kelvin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89424] New: __builtin_vec_ext_v1ti (v, i) results in ICE with variable i (RS6000)
Date: Wed, 20 Feb 2019 20:38: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kelvin 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 cf_gcctarget cf_gccbuild attachments.created
Message-ID: <bug-89424-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: 2019-02/txt/msg02713.txt.bz2
Content-length: 3067

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89424

            Bug ID: 89424
           Summary: __builtin_vec_ext_v1ti (v, i) results in ICE with
                    variable i (RS6000)
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kelvin at gcc dot gnu.org
  Target Milestone: ---
            Target: rs6000
             Build: 9.0.1

Created attachment 45781
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45781&action=edit
preprocessed source code for reproducer

The __builtin_vec_ext_v1ti (v, i) function should work with both constant and
variable values of int i.

With current trunk

  $GCC_BUILD/GCC/xgcc -B$gcc_build/GCC/ -maltivec -mvsx -O1 -o problem.exe
problem.c

ends with an internal cmopiler error:
during RTL pass: expand
prXXXXX-0.c: In function ‘ei’:
prXXXXX-0.c:25:10: internal compiler error: in rs6000_expand_vector_extract, at
config/rs6000/rs6000.c:6970
   25 |   return __builtin_vec_ext_v1ti (v, i);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0x10faeabf rs6000_expand_vector_extract(rtx_def*, rtx_def*, rtx_def*)
        /home/kelvin/gcc-root/gcc-trunk2/gcc/config/rs6000/rs6000.c:6970
0x10feeeaf altivec_expand_vec_ext_builtin
        /home/kelvin/gcc-root/gcc-trunk2/gcc/config/rs6000/rs6000.c:14736
0x10feeeaf altivec_expand_builtin
        /home/kelvin/gcc-root/gcc-trunk2/gcc/config/rs6000/rs6000.c:14969
0x10ff1def rs6000_expand_builtin
        /home/kelvin/gcc-root/gcc-trunk2/gcc/config/rs6000/rs6000.c:16530
0x1034702b expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int)
        /home/kelvin/gcc-root/gcc-trunk2/gcc/builtins.c:7226
0x10557feb expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        /home/kelvin/gcc-root/gcc-trunk2/gcc/expr.c:11025
0x1056d8f3 store_expr(tree_node*, rtx_def*, int, bool, bool)
        /home/kelvin/gcc-root/gcc-trunk2/gcc/expr.c:5669
0x10571463 expand_assignment(tree_node*, tree_node*, bool)
        /home/kelvin/gcc-root/gcc-trunk2/gcc/expr.c:5432
0x10571463 expand_assignment(tree_node*, tree_node*, bool)
        /home/kelvin/gcc-root/gcc-trunk2/gcc/expr.c:4978
0x1038082b expand_call_stmt
        /home/kelvin/gcc-root/gcc-trunk2/gcc/cfgexpand.c:2722
0x1038082b expand_gimple_stmt_1
        /home/kelvin/gcc-root/gcc-trunk2/gcc/cfgexpand.c:3691
0x1038082b expand_gimple_stmt
        /home/kelvin/gcc-root/gcc-trunk2/gcc/cfgexpand.c:3850
0x1038959f expand_gimple_basic_block
        /home/kelvin/gcc-root/gcc-trunk2/gcc/cfgexpand.c:5886
0x1038be27 execute
        /home/kelvin/gcc-root/gcc-trunk2/gcc/cfgexpand.c:6509
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.
Makefile:26: recipe for target 'prXXXXX-0.exe' failed
make: *** [prXXXXX-0.exe] Error 1
kelvin@genoa:~/gcc-root/tests$
>From gcc-bugs-return-634412-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 21:17:07 2019
Return-Path: <gcc-bugs-return-634412-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38541 invoked by alias); 20 Feb 2019 21:17:06 -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 38271 invoked by uid 55); 20 Feb 2019 21:17:01 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89336] internal compiler error when compiling a constexpr function
Date: Wed, 20 Feb 2019 21:17: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: jakub 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-89336-4-WkKPagR8nG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89336-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89336-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: 2019-02/txt/msg02714.txt.bz2
Content-length: 632

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89336

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Feb 20 21:16:27 2019
New Revision: 269052

URL: https://gcc.gnu.org/viewcvs?rev=269052&root=gcc&view=rev
Log:
        PR c++/89336
        * constexpr.c (cxx_eval_store_expression): Diagnose changing of active
        union member for -std=c++17 and earlier.

        * g++.dg/cpp1y/constexpr-89336-3.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/constexpr-89336-3.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/constexpr.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634413-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 21:30:56 2019
Return-Path: <gcc-bugs-return-634413-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107412 invoked by alias); 20 Feb 2019 21:30:32 -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 105033 invoked by uid 48); 20 Feb 2019 21:30:05 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/83057] OPEN without a filename and without STATUS='SCRATCH' could produce a warning
Date: Wed, 20 Feb 2019 21:30: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: 6.4.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: anlauf at gmx dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P5
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-83057-4-DoZrMxjupo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83057-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83057-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: 2019-02/txt/msg02715.txt.bz2
Content-length: 1567

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83057

Harald Anlauf <anlauf at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anlauf at gmx dot de

--- Comment #4 from Harald Anlauf <anlauf at gmx dot de> ---
The following obvious patch to the logic fixes the NEWUNIT issue:

Index: gcc/fortran/io.c
===================================================================
--- gcc/fortran/io.c    (revision 269028)
+++ gcc/fortran/io.c    (working copy)
@@ -2504,16 +2504,15 @@
          goto cleanup;
        }

-      if (!open->file && open->status)
-        {
-         if (open->status->expr_type == EXPR_CONSTANT
+      if (!open->file &&
+         (!open->status ||
+          (open->status->expr_type == EXPR_CONSTANT
             && gfc_wide_strncasecmp (open->status->value.character.string,
-                                      "scratch", 7) != 0)
-          {
+                                     "scratch", 7) != 0)))
+       {
             gfc_error ("NEWUNIT specifier must have FILE= "
                        "or STATUS='scratch' at %C");
             goto cleanup;
-          }
        }
     }
   else if (!open->unit)

I do not think we need to handle the other case,
as many people expect the file fort.20 to be created.
(At least I do.)
>From gcc-bugs-return-634414-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 21:41:49 2019
Return-Path: <gcc-bugs-return-634414-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74486 invoked by alias); 20 Feb 2019 21:41: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 72422 invoked by uid 48); 20 Feb 2019 21:41:45 -0000
From: "jsm28 at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89425] New: -Wabsolute-value warns in dead code
Date: Wed, 20 Feb 2019 21:41: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: jsm28 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-89425-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: 2019-02/txt/msg02716.txt.bz2
Content-length: 1643

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89425

            Bug ID: 89425
           Summary: -Wabsolute-value warns in dead code
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jsm28 at gcc dot gnu.org
                CC: jamborm at gcc dot gnu.org
  Target Milestone: ---

Trying building glibc with -Wextra with GCC mainline shows up warnings from
-Wabsolute-value illustrated by the following test:

double f (double x) { return sizeof (x) == sizeof (float) ? __builtin_fabsf (x)
: __builtin_fabs (x); }

t.c: In function 'f':
t.c:1:61: warning: absolute value function '__builtin_fabsf' given an argument
of type 'double' but has parameter of type 'float' which may cause truncation
of value [-Wabsolute-value]
    1 | double f (double x) { return sizeof (x) == sizeof (float) ?
__builtin_fabsf (x) : __builtin_fabs (x); }
      |                                                            
^~~~~~~~~~~~~~~

As with a range of other warnings in the C front end, this one should not apply
if c_inhibit_evaluation_warnings, to avoid such useless warnings.  (I'm not
sure that will actually be sufficient to be able to use this warning when
building glibc, because _Generic and __builtin_choose_expr don't look like they
set c_inhibit_evaluation_warnings, but it's certainly a desirable improvement
to this warning.)
>From gcc-bugs-return-634415-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 21:59:23 2019
Return-Path: <gcc-bugs-return-634415-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126503 invoked by alias); 20 Feb 2019 21:59: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 126214 invoked by uid 55); 20 Feb 2019 21:59:18 -0000
From: "uros at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89397] [7/8 Regression] ICE in build_call_expr_loc_array at gcc/tree.c:11563 since r229082
Date: Wed, 20 Feb 2019 21:59: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: accepts-invalid, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: uros at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: hjl.tools at gmail dot com
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89397-4-9q3aFHFysd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89397-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89397-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: 2019-02/txt/msg02717.txt.bz2
Content-length: 671

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89397

--- Comment #7 from uros at gcc dot gnu.org ---
Author: uros
Date: Wed Feb 20 21:58:45 2019
New Revision: 269054

URL: https://gcc.gnu.org/viewcvs?rev=269054&root=gcc&view=rev
Log:
        PR target/89397
        * config/i386/i386.c (ix86_atomic_assign_expand_fenv): Check
        TARGET_SSE in addition to TARGET_SSE_MATH.

        (ix86_excess_precision): Ditto.
        (ix86_float_exceptions_rounding_supported_p): Ditto.
        (use_rsqrt_p): Ditto.
        * config/i386/sse.md (rsqrt<mode>2): Ditto.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/config/i386/sse.md
>From gcc-bugs-return-634416-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 22:03:54 2019
Return-Path: <gcc-bugs-return-634416-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42635 invoked by alias); 20 Feb 2019 22:03: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 42438 invoked by uid 55); 20 Feb 2019 22:03:49 -0000
From: "ro at CeBiTec dot Uni-Bielefeld.DE" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89415] [9 Regression] gcc.dg/sinatan-1.c FAILs
Date: Wed, 20 Feb 2019 22:03: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89415-4-JHH0Gx4rwI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89415-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89415-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: 2019-02/txt/msg02718.txt.bz2
Content-length: 411

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89415

--- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
> See https://gcc.gnu.org/ml/gcc-patches/2019-02/msg01650.html

I've now included the patch in a sparc-sun-solaris2.11 bootstrap and the
sinatan-1.c failures are gone.

Thanks.
        Rainer
>From gcc-bugs-return-634417-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 22:04:05 2019
Return-Path: <gcc-bugs-return-634417-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44018 invoked by alias); 20 Feb 2019 22:04: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 43649 invoked by uid 48); 20 Feb 2019 22:04:00 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89425] -Wabsolute-value warns in dead code
Date: Wed, 20 Feb 2019 22:04: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: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager 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: keywords cc see_also
Message-ID: <bug-89425-4-Lava838GAt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89425-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89425-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: 2019-02/txt/msg02719.txt.bz2
Content-length: 964

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89425

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
                 CC|                            |egallager at gcc dot gnu.org
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=68193

--- Comment #1 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Joseph S. Myers from comment #0)
> (I'm not sure that will actually be sufficient to be able to use this
> warning when building glibc, because _Generic and __builtin_choose_expr
> don't look like they set c_inhibit_evaluation_warnings, but it's certainly a
> desirable improvement to this warning.)

I think the part about _Generic is bug 68193
>From gcc-bugs-return-634418-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 22:17:55 2019
Return-Path: <gcc-bugs-return-634418-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18486 invoked by alias); 20 Feb 2019 22:17:55 -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 18269 invoked by uid 48); 20 Feb 2019 22:17:49 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86367] FRE1 tree pass deletes code in gcc.target/powerpc/nan128-1.c when long double is IEEE 128
Date: Wed, 20 Feb 2019 22:17: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: segher at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
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-86367-4-3bVuFttlRl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86367-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86367-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: 2019-02/txt/msg02720.txt.bz2
Content-length: 184

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86367

--- Comment #11 from Segher Boessenkool <segher at gcc dot gnu.org> ---
If you use -fsignaling-nans everything works as expected.
>From gcc-bugs-return-634419-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 22:34:37 2019
Return-Path: <gcc-bugs-return-634419-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11301 invoked by alias); 20 Feb 2019 22:34:36 -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 11071 invoked by uid 48); 20 Feb 2019 22:34:32 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86367] FRE1 tree pass deletes code in gcc.target/powerpc/nan128-1.c when long double is IEEE 128
Date: Wed, 20 Feb 2019 22:34: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: 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: assigned_to
Message-ID: <bug-86367-4-a5KU7N9TYf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86367-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86367-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: 2019-02/txt/msg02721.txt.bz2
Content-length: 461

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86367

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |segher at gcc dot gnu.org

--- Comment #12 from Segher Boessenkool <segher at gcc dot gnu.org> ---
So yes what Joseph says in #c7 seems to be what is going on.
>From gcc-bugs-return-634420-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 22:34:57 2019
Return-Path: <gcc-bugs-return-634420-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12846 invoked by alias); 20 Feb 2019 22:34:56 -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 12615 invoked by uid 48); 20 Feb 2019 22:34:52 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89426] New: -mfpmath=sse isn't preserved
Date: Wed, 20 Feb 2019 22:34: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:
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 target_milestone cf_gcctarget
Message-ID: <bug-89426-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: 2019-02/txt/msg02722.txt.bz2
Content-length: 1016

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89426

            Bug ID: 89426
           Summary: -mfpmath=sse isn't preserved
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---
            Target: i386

[hjl@gnu-cfl-1 gcc]$ cat x.i
float
__attribute__((target("arch=haswell")))
foo (float x, float y)
{
  return x * y;
}
[hjl@gnu-cfl-1 gcc]$ gcc -S -m32 -march=i686 -mfpmath=sse x.i -O2
cc1: warning: SSE instruction set disabled, using 387 arithmetics
[hjl@gnu-cfl-1 gcc]$ cat x.s
        .file   "x.i"
        .text
        .p2align 4,,15
        .globl  foo
        .type   foo, @function
foo:
.LFB0:
        .cfi_startproc
        flds    4(%esp)
        fmuls   8(%esp)
        ret
        .cfi_endproc
.LFE0:
        .size   foo, .-foo

I am expecting SSE FP math in foo.
>From gcc-bugs-return-634421-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 22:35:42 2019
Return-Path: <gcc-bugs-return-634421-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15575 invoked by alias); 20 Feb 2019 22:35:41 -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 15359 invoked by uid 48); 20 Feb 2019 22:35:37 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/83057] OPEN without a filename and without STATUS='SCRATCH' could produce a warning
Date: Wed, 20 Feb 2019 22:35: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: 6.4.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: anlauf at gmx dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-83057-4-zaWbUEh0CF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83057-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83057-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: 2019-02/txt/msg02723.txt.bz2
Content-length: 186

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83057

--- Comment #5 from Harald Anlauf <anlauf at gmx dot de> ---
Patch submitted:

https://gcc.gnu.org/ml/fortran/2019-02/msg00176.html
>From gcc-bugs-return-634423-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 22:42:09 2019
Return-Path: <gcc-bugs-return-634423-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58489 invoked by alias); 20 Feb 2019 22:42: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 57900 invoked by uid 55); 20 Feb 2019 22:42:04 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88074] [7/8 Regression] g++ hangs on math expression
Date: Wed, 20 Feb 2019 22: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: 7.2.0
X-Bugzilla-Keywords: compile-time-hog
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88074-4-p1ci8A1JlD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88074-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88074-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: 2019-02/txt/msg02725.txt.bz2
Content-length: 603

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88074

--- Comment #32 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Feb 20 22:41:26 2019
New Revision: 269055

URL: https://gcc.gnu.org/viewcvs?rev=269055&root=gcc&view=rev
Log:
        PR middle-end/88074
        PR middle-end/89415
        * toplev.c (do_compile): Double the emin/emax exponents to workaround
        buggy mpc_norm.

        * gcc.dg/pr88074-2.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr88074-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/toplev.c
>From gcc-bugs-return-634422-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 22:42:08 2019
Return-Path: <gcc-bugs-return-634422-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58246 invoked by alias); 20 Feb 2019 22:42: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 57743 invoked by uid 55); 20 Feb 2019 22:42:00 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89415] [9 Regression] gcc.dg/sinatan-1.c FAILs
Date: Wed, 20 Feb 2019 22:42: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89415-4-atefAvsOKO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89415-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89415-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: 2019-02/txt/msg02724.txt.bz2
Content-length: 602

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89415

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Feb 20 22:41:26 2019
New Revision: 269055

URL: https://gcc.gnu.org/viewcvs?rev=269055&root=gcc&view=rev
Log:
        PR middle-end/88074
        PR middle-end/89415
        * toplev.c (do_compile): Double the emin/emax exponents to workaround
        buggy mpc_norm.

        * gcc.dg/pr88074-2.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr88074-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/toplev.c
>From gcc-bugs-return-634424-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 22:42:56 2019
Return-Path: <gcc-bugs-return-634424-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63083 invoked by alias); 20 Feb 2019 22:42:55 -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 62500 invoked by uid 48); 20 Feb 2019 22:42:51 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89415] [9 Regression] gcc.dg/sinatan-1.c FAILs
Date: Wed, 20 Feb 2019 22:42: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
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-89415-4-kxNRh1Qf0m@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89415-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89415-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: 2019-02/txt/msg02726.txt.bz2
Content-length: 437

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89415

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Should be fixed now.
>From gcc-bugs-return-634425-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 23:02:23 2019
Return-Path: <gcc-bugs-return-634425-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25611 invoked by alias); 20 Feb 2019 23:02: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 23841 invoked by uid 55); 20 Feb 2019 23:02:17 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89091] ICE: Segmentation fault (in tree_class_check)
Date: Wed, 20 Feb 2019 23:02: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89091-4-5Luzmngk1H@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89091-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89091-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: 2019-02/txt/msg02727.txt.bz2
Content-length: 695

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89091

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Feb 20 23:01:41 2019
New Revision: 269056

URL: https://gcc.gnu.org/viewcvs?rev=269056&root=gcc&view=rev
Log:
        PR middle-end/89091
        * fold-const.c (decode_field_reference): Return NULL_TREE if
        lang_hooks.types.type_for_size returns NULL.  Check it before
        overwriting *exp_.  Use return NULL_TREE instead of return 0.

        * gcc.dg/torture/pr89091.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr89091.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634428-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 23:03:55 2019
Return-Path: <gcc-bugs-return-634428-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58624 invoked by alias); 20 Feb 2019 23:03: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 58427 invoked by uid 48); 20 Feb 2019 23:03:50 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89412] [7/8 Regression] gcc ICE in simplify_subreg, at simplify-rtx.c:6273 on i686-linux-gnu
Date: Wed, 20 Feb 2019 23:03: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: 8.2.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_known_to_work short_desc
Message-ID: <bug-89412-4-x6VoqbVHNy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89412-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89412-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: 2019-02/txt/msg02730.txt.bz2
Content-length: 659

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89412

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |9.0
            Summary|[7/8/9 Regression] gcc ICE  |[7/8 Regression] gcc ICE in
                   |in simplify_subreg, at      |simplify_subreg, at
                   |simplify-rtx.c:6273 on      |simplify-rtx.c:6273 on
                   |i686-linux-gnu              |i686-linux-gnu

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed for 9+ so far.
>From gcc-bugs-return-634426-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 23:03:00 2019
Return-Path: <gcc-bugs-return-634426-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41131 invoked by alias); 20 Feb 2019 23:03: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 38448 invoked by uid 48); 20 Feb 2019 23:02:56 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89091] ICE: Segmentation fault (in tree_class_check)
Date: Wed, 20 Feb 2019 23:03: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89091-4-r7efq19f9v@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89091-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89091-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: 2019-02/txt/msg02728.txt.bz2
Content-length: 141

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89091

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed for 9+ so far.
>From gcc-bugs-return-634427-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 23:03:09 2019
Return-Path: <gcc-bugs-return-634427-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43624 invoked by alias); 20 Feb 2019 23:03: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 41907 invoked by uid 55); 20 Feb 2019 23:03:04 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89412] [7/8/9 Regression] gcc ICE in simplify_subreg, at simplify-rtx.c:6273 on i686-linux-gnu
Date: Wed, 20 Feb 2019 23:03: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: 8.2.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89412-4-QRa3I5P3kU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89412-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89412-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: 2019-02/txt/msg02729.txt.bz2
Content-length: 611

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89412

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Feb 20 23:02:29 2019
New Revision: 269057

URL: https://gcc.gnu.org/viewcvs?rev=269057&root=gcc&view=rev
Log:
        PR middle-end/89412
        * expr.c (expand_assignment): If result is a MEM, use change_address
        instead of simplify_gen_subreg.

        * gcc.c-torture/compile/pr89412.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr89412.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/expr.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634429-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 23:04:56 2019
Return-Path: <gcc-bugs-return-634429-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62530 invoked by alias); 20 Feb 2019 23:04:56 -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 62255 invoked by uid 48); 20 Feb 2019 23:04:52 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/89409] [9 Regression] FAIL: c-c++-common/ubsan/div-by-zero-[67].c
Date: Wed, 20 Feb 2019 23:04: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-89409-4-AdPydgWjyO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89409-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89409-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: 2019-02/txt/msg02731.txt.bz2
Content-length: 423

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89409

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-634430-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 23:15:47 2019
Return-Path: <gcc-bugs-return-634430-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100972 invoked by alias); 20 Feb 2019 23:15: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 99579 invoked by uid 48); 20 Feb 2019 23:15:22 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89427] New: missing -Warray-bounds on a MEM_REF of array plus offset
Date: Wed, 20 Feb 2019 23:15: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-89427-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: 2019-02/txt/msg02732.txt.bz2
Content-length: 1078

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89427

            Bug ID: 89427
           Summary: missing -Warray-bounds on a MEM_REF of array plus
                    offset
           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: ---

The out-of-bounds access below is not diagnosed even though it could be.  The
vrp_pro::check_mem_ref function gives up too soon.  It's passed as an argument
MEM_REF (_2, 0) where _2 = &MEM[(void *)&a + 8B] + _1.  It extracts the _2 but
bails when that's not an ADDR_EXPR of either a STRING_CST or VAR_DECL.  It
should also look the argument of the inner MEM_REF and consider its size and
offset if it's a VAR_DECL.

$ cat u.c && gcc -O2 -S -Wall -Wextra -Warray-bounds=2 u.c
char a[8];

void f (int i)
{
  char *p = a + sizeof a;
  if (i < 5)
    i = 5;
  p[i] = 0;   // missing -Warray-bounds
}
>From gcc-bugs-return-634431-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 20 23:25:53 2019
Return-Path: <gcc-bugs-return-634431-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6269 invoked by alias); 20 Feb 2019 23:25:52 -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 6153 invoked by uid 48); 20 Feb 2019 23:25:46 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89427] missing -Warray-bounds on a MEM_REF of array plus offset
Date: Wed, 20 Feb 2019 23:25: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: diagnostic
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:
Message-ID: <bug-89427-4-YXKm4dXJfX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89427-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89427-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: 2019-02/txt/msg02733.txt.bz2
Content-length: 1207

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89427

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
The equivalent code using memcpy (or even strcpy) is diagnosed:

$ cat u.c && gcc -O2 -S -Wall u.c
char a[8];

void f (int i)
{
  char *p = a + sizeof a;
  if (i < 5)
    i = 5;
  __builtin_memcpy (p + i, "", 1);
}
u.c: In function ‘f’:
u.c:8:3: warning: ‘__builtin_memcpy’ offset [13, 2147483655] is out of the
bounds [0, 8] of object ‘a’ with type ‘char[8]’ [-Warray-bounds]
    8 |   __builtin_memcpy (p + i, "", 1);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
u.c:1:6: note: ‘a’ declared here
    1 | char a[8];
      |      ^


Likewise for memset (by -Wstringop-overflow=):

$ cat u.c && gcc -O2 -S -Wall u.c
char a[8];

void f (int i)
{
  char *p = a + sizeof a;
  if (i < 5)
    i = 5;
  __builtin_memset (p + i, 0, 1);
}
u.c: In function ‘f’:
u.c:8:3: warning: ‘__builtin_memset’ writing 1 byte into a region of size 0
overflows the destination [-Wstringop-overflow=]
    8 |   __builtin_memset (p + i, 0, 1);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>From gcc-bugs-return-634432-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 00:09:37 2019
Return-Path: <gcc-bugs-return-634432-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62255 invoked by alias); 21 Feb 2019 00:09:36 -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 61897 invoked by uid 55); 21 Feb 2019 00:09:31 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89405] [8/9 Regression] ICE in import_export_decl, at cp/decl2.c:2959
Date: Thu, 21 Feb 2019 00:09: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: jakub 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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89405-4-BhA1iyidbE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89405-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89405-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: 2019-02/txt/msg02734.txt.bz2
Content-length: 600

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89405

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb 21 00:08:59 2019
New Revision: 269058

URL: https://gcc.gnu.org/viewcvs?rev=269058&root=gcc&view=rev
Log:
        PR c++/89405
        * decl.c (maybe_commonize_var): When clearing TREE_PUBLIC and
        DECL_COMMON, set DECL_INTERFACE_KNOWN.

        * g++.dg/cpp1z/inline-var5.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1z/inline-var5.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634433-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 00:10:23 2019
Return-Path: <gcc-bugs-return-634433-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65825 invoked by alias); 21 Feb 2019 00:10: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 65557 invoked by uid 55); 21 Feb 2019 00:10:19 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89403] [7/8/9 Regression] ICE in maybe_clone_body, at cp/optimize.c:693
Date: Thu, 21 Feb 2019 00:10: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89403-4-Q8W2p4948X@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89403-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89403-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: 2019-02/txt/msg02735.txt.bz2
Content-length: 677

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89403

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb 21 00:09:47 2019
New Revision: 269059

URL: https://gcc.gnu.org/viewcvs?rev=269059&root=gcc&view=rev
Log:
        PR c++/89403
        * decl2.c (c_parse_final_cleanups): Move TREE_ASM_WRITTEN setting
        for flag_syntax_only from here...
        * semantics.c (expand_or_defer_fn_1): ... here.

        * g++.dg/cpp0x/pr89403.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/pr89403.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl2.c
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634434-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 00:42:33 2019
Return-Path: <gcc-bugs-return-634434-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51352 invoked by alias); 21 Feb 2019 00:42:32 -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 51101 invoked by uid 48); 21 Feb 2019 00:42:28 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88826] ICE (segfault) when compiling invalid C++ code with -std=c++2a
Date: Thu, 21 Feb 2019 00: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-88826-4-U4za4Lzust@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88826-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88826-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: 2019-02/txt/msg02736.txt.bz2
Content-length: 471

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88826

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |paolo.carlini at oracle dot com

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Mine.
>From gcc-bugs-return-634435-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 01:00:44 2019
Return-Path: <gcc-bugs-return-634435-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55970 invoked by alias); 21 Feb 2019 01:00: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 55471 invoked by uid 48); 21 Feb 2019 01:00:32 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89416] [9 regression] std::vector<std::thread, custom_allocator>::push_back no longer builds.
Date: Thu, 21 Feb 2019 01:00:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cf_known_to_work version assigned_to short_desc everconfirmed cf_known_to_fail
Message-ID: <bug-89416-4-DpSyuSjxkN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89416-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89416-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: 2019-02/txt/msg02737.txt.bz2
Content-length: 934

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89416

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-21
      Known to work|                            |8.2.1
            Version|unknown                     |9.0
           Assignee|unassigned at gcc dot gnu.org      |redi at gcc dot gnu.org
            Summary|[regression]                |[9 regression]
                   |std::vector<std::thread,    |std::vector<std::thread,
                   |custom_allocator>::push_bac |custom_allocator>::push_bac
                   |k no longer builds.         |k no longer builds.
     Ever confirmed|0                           |1
      Known to fail|                            |9.0
>From gcc-bugs-return-634436-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 01:06:43 2019
Return-Path: <gcc-bugs-return-634436-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95734 invoked by alias); 21 Feb 2019 01:06: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 95320 invoked by uid 55); 21 Feb 2019 01:06:37 -0000
From: "ian at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89407] [9 Regression] go bootstrap failure on s390x starting with r268941
Date: Thu, 21 Feb 2019 01:06: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: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89407-4-tI9uQnFXKF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89407-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89407-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: 2019-02/txt/msg02738.txt.bz2
Content-length: 552

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89407

--- Comment #1 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Thu Feb 21 01:06:01 2019
New Revision: 269063

URL: https://gcc.gnu.org/viewcvs?rev=269063&root=gcc&view=rev
Log:
        PR go/89407
    internal/cpu: use #ifdef __s390x__ in C code

    Patch by Jakub Jelinek.

    Fixes https://gcc.gnu.org/PR89407

    Reviewed-on: https://go-review.googlesource.com/c/163297

Modified:
    trunk/gcc/go/gofrontend/MERGE
    trunk/libgo/go/internal/cpu/cpu_gccgo.c
>From gcc-bugs-return-634437-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 01:07:56 2019
Return-Path: <gcc-bugs-return-634437-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102492 invoked by alias); 21 Feb 2019 01:07:55 -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 101938 invoked by uid 48); 21 Feb 2019 01:07:51 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89407] [9 Regression] go bootstrap failure on s390x starting with r268941
Date: Thu, 21 Feb 2019 01:07: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: P1
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-89407-4-2mRhCdYgJq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89407-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89407-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: 2019-02/txt/msg02739.txt.bz2
Content-length: 427

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89407

Ian Lance Taylor <ian at airs dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Ian Lance Taylor <ian at airs dot com> ---
Fixed, I hope.
>From gcc-bugs-return-634438-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 01:29:04 2019
Return-Path: <gcc-bugs-return-634438-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66331 invoked by alias); 21 Feb 2019 01:29:04 -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 66012 invoked by uid 48); 21 Feb 2019 01:29:00 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89428] New: missing -Wstringop-overflow on a PHI with variable offset
Date: Thu, 21 Feb 2019 01:29:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
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-89428-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: 2019-02/txt/msg02740.txt.bz2
Content-length: 2266

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89428

            Bug ID: 89428
           Summary: missing -Wstringop-overflow on a PHI with variable
                    offset
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: msebor at gcc dot gnu.org
  Target Milestone: ---

GCC diagnoses the 1-byte overflow in the call to memset in f() but fails to
diagnose the much bigger overflow in g().  The problem is the PHI that the
compute_objsize() function doesn't handle.

$ cat t.c && gcc -O2 -S -Wall -Wextra -fdump-tree-optimized=/dev/stdout t.c
char a[7];

void f (__SIZE_TYPE__ i)
{
  if (i < 1 || 2 < i) i = 1;

  __builtin_memset (a + i, 0, 7);   // warning (good)
}

void g (__SIZE_TYPE__ i)
{
  if (2 < i) i = 0;

  __builtin_memset (a + i, 0, 99);   // missing warning (bug)
}

;; Function f (f, funcdef_no=0, decl_uid=1907, cgraph_uid=1, symbol_order=1)

Removing basic block 3
f (long unsigned int i)
{
  long unsigned int _1;
  void * _2;

  <bb 2> [local count: 1073741824]:
  _1 = i_4(D) + 18446744073709551615;
  if (_1 > 1)
    goto <bb 3>; [59.00%]
  else
    goto <bb 4>; [41.00%]

  <bb 3> [local count: 633507680]:

  <bb 4> [local count: 1073741824]:
  # i_3 = PHI <i_4(D)(2), 1(3)>
  _2 = &a + i_3;
  __builtin_memset (_2, 0, 7); [tail call]
  return;

}


t.c: In function ‘f’:
t.c:7:3: warning: ‘__builtin_memset’ writing 7 bytes into a region of size 6
overflows the destination [-Wstringop-overflow=]
    7 |   __builtin_memset (a + i, 0, 7);   // warning (good)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

;; Function g (g, funcdef_no=1, decl_uid=1910, cgraph_uid=2, symbol_order=2)

Removing basic block 5
g (long unsigned int i)
{
  char[7] * _6;
  char[7] * prephitmp_7;

  <bb 2> [local count: 1073741824]:
  if (i_3(D) > 2)
    goto <bb 4>; [50.00%]
  else
    goto <bb 3>; [50.00%]

  <bb 3> [local count: 536870912]:
  _6 = &a + i_3(D);

  <bb 4> [local count: 1073741824]:
  # prephitmp_7 = PHI <_6(3), &a(2)>
  __builtin_memset (prephitmp_7, 0, 99); [tail call]
  return;

}
>From gcc-bugs-return-634439-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 01:40:57 2019
Return-Path: <gcc-bugs-return-634439-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74006 invoked by alias); 21 Feb 2019 01:40:56 -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 67709 invoked by uid 48); 21 Feb 2019 01:40:52 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/52320] missing destructor call after thrown exception in initializer
Date: Thu, 21 Feb 2019 01:40: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: 4.5.3
X-Bugzilla-Keywords: wrong-code
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 see_also
Message-ID: <bug-52320-4-rN2mFWAzG7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-52320-4@http.gcc.gnu.org/bugzilla/>
References: <bug-52320-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: 2019-02/txt/msg02741.txt.bz2
Content-length: 537

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52320

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=57510

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Related to PR 57510
>From gcc-bugs-return-634440-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 01:54:03 2019
Return-Path: <gcc-bugs-return-634440-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115668 invoked by alias); 21 Feb 2019 01:54: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 115509 invoked by uid 48); 21 Feb 2019 01:53:58 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/52130] missing check for matching underlying type during instantiation of enum member of class template
Date: Thu, 21 Feb 2019 01: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: 4.7.0
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-52130-4-yDh3v72EST@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-52130-4@http.gcc.gnu.org/bugzilla/>
References: <bug-52130-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: 2019-02/txt/msg02742.txt.bz2
Content-length: 537

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52130

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The relevant text in the standard is:

"A scoped enumeration shall not be later redeclared as unscoped or with a
different underlying type. An unscoped enumeration shall not be later
redeclared as scoped and each redeclaration shall include an enum-base
specifying the same underlying type as in the original declaration."


A suitable diagnostic would be:

enumeration type redeclared with different underlying type
>From gcc-bugs-return-634441-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 02:25:59 2019
Return-Path: <gcc-bugs-return-634441-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53160 invoked by alias); 21 Feb 2019 02:25: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 52979 invoked by uid 55); 21 Feb 2019 02:25:53 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87921] [7/8/9 Regression] Incorrect error "storage size of [array] isn't known (when it is)
Date: Thu, 21 Feb 2019 02: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: 7.3.1
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87921-4-2yC2vbCX6G@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87921-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87921-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: 2019-02/txt/msg02743.txt.bz2
Content-length: 1796

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87921

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Feb 21 02:24:40 2019
New Revision: 269064

URL: https://gcc.gnu.org/viewcvs?rev=269064&root=gcc&view=rev
Log:
        PR c++/87921 - wrong error with inline static data member.

c_parse_final_cleanups checks DECL_IN_AGGR_P to avoid trying to emit a
static data member that has not been defined.  The inline variable patch
changed that to exempt inline variables.  But in this case we haven't
instantiated the variable yet, so we really don't have a definition.  This
patch changes inline variable handling such that DECL_IN_AGGR_P is not set
for a defined inline variable, so we can remove all the checks of
DECL_INLINE_VAR_P after DECL_IN_AGGR_P.

With that change we were failing on a static data member that had been
instantiated due to a use before we got around to processing it in
instantiate_class_template; we should detect that and avoid all the
finish_static_data_member_decl processing, which assumes that it is the
first time we're seeing the variable.

        * decl2.c (finish_static_data_member_decl): Don't set DECL_IN_AGGR_P
        for a non-template inline variable.  Do nothing for an
        already-instantiated variable.
        (c_parse_final_cleanups): Check DECL_IN_AGGR_P without
        DECL_INLINE_VAR_P.
        * decl.c (check_initializer): Likewise.
        (make_rtl_for_nonlocal_decl): Likewise.
        * pt.c (instantiate_decl): Likewise.
        * typeck2.c (store_init_value): Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1z/inline-var6.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/decl2.c
    trunk/gcc/cp/pt.c
    trunk/gcc/cp/typeck2.c
>From gcc-bugs-return-634442-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 02:55:40 2019
Return-Path: <gcc-bugs-return-634442-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129732 invoked by alias); 21 Feb 2019 02:55: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 129562 invoked by uid 48); 21 Feb 2019 02:55:36 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87921] [7/8 Regression] Incorrect error "storage size of [array] isn't known (when it is)
Date: Thu, 21 Feb 2019 02:55: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.1
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-87921-4-eJ0PT3UVmt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87921-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87921-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: 2019-02/txt/msg02744.txt.bz2
Content-length: 605

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87921

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[7/8/9 Regression]          |[7/8 Regression] Incorrect
                   |Incorrect error "storage    |error "storage size of
                   |size of [array] isn't known |[array] isn't known (when
                   |(when it is)                |it is)

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed on trunk so far.
>From gcc-bugs-return-634443-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 03:23:30 2019
Return-Path: <gcc-bugs-return-634443-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50054 invoked by alias); 21 Feb 2019 03:23: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 49856 invoked by uid 48); 21 Feb 2019 03:23:26 -0000
From: "bergner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89313] [9 Regression] ICE in process_alt_operands, at lra-constraints.c:2962
Date: Thu, 21 Feb 2019 03:23: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bergner at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: bergner at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords cf_gcctarget bug_file_loc
Message-ID: <bug-89313-4-0bORGGOOjM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89313-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89313-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: 2019-02/txt/msg02745.txt.bz2
Content-length: 938

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89313

Peter Bergner <bergner at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-invalid-code         |ice-on-valid-code
             Target|x86_64-pc-linux-gnu         |x86_64-pc-linux-gnu,
                   |                            |powerpc*-linux
                URL|                            |https://gcc.gnu.org/ml/gcc-
                   |                            |patches/2019-02/msg01728.ht
                   |                            |ml

--- Comment #6 from Peter Bergner <bergner at gcc dot gnu.org> ---
As part of some offline discussions, it was determined that the asm usage is
valid and should be handled, so I changed the keywords to ice-on-valid-code.

Patch submitted that fixes the asmcons pass to handle this scenario.
>From gcc-bugs-return-634444-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 03:26:03 2019
Return-Path: <gcc-bugs-return-634444-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93832 invoked by alias); 21 Feb 2019 03:26: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 93640 invoked by uid 48); 21 Feb 2019 03:25:57 -0000
From: "vmakarov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89271] [9 Regression] gcc.target/powerpc/vsx-simode2.c stopped working in GCC 9
Date: Thu, 21 Feb 2019 03:26: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: missed-optimization, ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vmakarov at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: amodra at gmail dot com
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89271-4-dGaYvwCLkk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89271-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89271-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: 2019-02/txt/msg02746.txt.bz2
Content-length: 2625

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89271

--- Comment #11 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
(In reply to Alan Modra from comment #5)
> Created attachment 45760 [details]
> Current set of patches
> 
> It turns out there is a lot more than just wrong register_move_cost.  This
> patchset does fix the PR without introducing too many regressions, but it is
> a work in progress.
> 
> I have some questions about union register classes:
> 1) What should register_move_cost return for a union class like
> GEN_OR_VSX_REGS and some other class?  Worst case, best case, or doesn't it
> matter?
> 2) What should preferred_reload_class return for union classes?
> Looking at other ports doesn't shed much light..

 IRA uses practically the same algorithm as the old RA. Only instead of
pseudos, pseudo ranges (allocnos) are used.
 It is hard to describe the algorithm briefly. It has a few drawbacks.
 Roughly speaking it does not take into account that, when we calculate the
costs, different pseudo operands should be on the same insn alternative.
Choosing the classes implicitly affects on a final choice of insn alternative.
 For some time I worked on different approach which is based on choosing insn
alternatives first and then calculating the costs.  The code for this is
currently on branch ira-select.
 As for register move costs inside an union class, for better RA results I
think we should not take costs of moves between different subclasses into
account. So it should be a minimal costs of moves only inside subclasses.
 For example, if we have GENERAL_FLOATING_REGS class the cost for moves inside
the class (from GENERAL_FLOATING_REGS to GENERAL_FLOATING_REGS) should be not
cost of move from GENERAL to FLOAT class but minimal cost of move only inside
GENERAL class and only inside FLOAT class.  Analogously, for moves between two 
different classes (when one or both classes are an union classes), we should
use minimal cost of moves from subclasses of the two classes.  
  The most common case when the algorithm chooses union classes is one when we
use a pseudo to implement memory-memory move.  For example, moving memory
through general or float registers has the same cost.  If we use maximal cost
for moves between regs of GENERAL_FLOATING_REGS, the algorithm decreases the
number of registers which can be used for such moves by using only general or
only float regs.
  That is how I see the right approach but I never benchmarked different
approaches, for example, on SPEC. So the approach I propose here has not been
checked on practice.
>From gcc-bugs-return-634445-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 05:20:30 2019
Return-Path: <gcc-bugs-return-634445-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130720 invoked by alias); 21 Feb 2019 05:20: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 130592 invoked by uid 48); 21 Feb 2019 05:20:25 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88690] [7/8/9 Regression] c++17 internal compiler error: in output_constructor_regular_field, at varasm.c:5031
Date: Thu, 21 Feb 2019 05: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: 7.3.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-88690-4-AB2h3nM1Ua@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88690-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88690-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: 2019-02/txt/msg02747.txt.bz2
Content-length: 378

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88690

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org
>From gcc-bugs-return-634446-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 06:03:59 2019
Return-Path: <gcc-bugs-return-634446-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11211 invoked by alias); 21 Feb 2019 06:03: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 11079 invoked by uid 48); 21 Feb 2019 06:03:54 -0000
From: "raphael.monod at wanadoo dot fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/80408] Problems with SIGNAL, pthread and print together
Date: Thu, 21 Feb 2019 06:03: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: 5.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: raphael.monod at wanadoo dot fr
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-80408-4-mTDggxkiu4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80408-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80408-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: 2019-02/txt/msg02748.txt.bz2
Content-length: 305

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80408

--- Comment #6 from Raphael Monod <raphael.monod at wanadoo dot fr> ---
Thank you very much for your explanations. Now I understand why I was wrong. I
will try to change my code to take into account your suggestions.
Once more, thank you very much.
>From gcc-bugs-return-634447-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 07:13:51 2019
Return-Path: <gcc-bugs-return-634447-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127357 invoked by alias); 21 Feb 2019 07:13: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 127200 invoked by uid 48); 21 Feb 2019 07:13:46 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89403] [7/8 Regression] ICE in maybe_clone_body, at cp/optimize.c:693
Date: Thu, 21 Feb 2019 07:13: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-89403-4-fgvWK07sYT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89403-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89403-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: 2019-02/txt/msg02749.txt.bz2
Content-length: 540

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89403

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[7/8/9 Regression] ICE in   |[7/8 Regression] ICE in
                   |maybe_clone_body, at        |maybe_clone_body, at
                   |cp/optimize.c:693           |cp/optimize.c:693

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed on the trunk so far.
>From gcc-bugs-return-634448-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 07:14:44 2019
Return-Path: <gcc-bugs-return-634448-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130274 invoked by alias); 21 Feb 2019 07:14:43 -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 130066 invoked by uid 48); 21 Feb 2019 07:14:39 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89405] [8 Regression] ICE in import_export_decl, at cp/decl2.c:2959
Date: Thu, 21 Feb 2019 07:14: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: jakub 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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-89405-4-3WSnlT7wfU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89405-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89405-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: 2019-02/txt/msg02750.txt.bz2
Content-length: 538

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89405

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[8/9 Regression] ICE in     |[8 Regression] ICE in
                   |import_export_decl, at      |import_export_decl, at
                   |cp/decl2.c:2959             |cp/decl2.c:2959

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed on the trunk so far.
>From gcc-bugs-return-634449-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 08:03:38 2019
Return-Path: <gcc-bugs-return-634449-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3910 invoked by alias); 21 Feb 2019 08:03: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 3690 invoked by uid 48); 21 Feb 2019 08:03:31 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89363] RANK incorrect for unallocated allocatable
Date: Thu, 21 Feb 2019 08:03: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pault at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: pault at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc assigned_to
Message-ID: <bug-89363-4-2lIAZiJUKc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89363-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89363-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: 2019-02/txt/msg02751.txt.bz2
Content-length: 612

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89363

Paul Thomas <pault at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pault at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |pault at gcc dot gnu.org

--- Comment #2 from Paul Thomas <pault at gcc dot gnu.org> ---
This is not part of the ISO_Fortran_binding implementation but is clearly
associated with it.

I can see how to fix it and will get on with it today.

Paul
>From gcc-bugs-return-634450-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 08:04:17 2019
Return-Path: <gcc-bugs-return-634450-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7583 invoked by alias); 21 Feb 2019 08:04: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 7412 invoked by uid 55); 21 Feb 2019 08:04:13 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89392] [7/8/9 Regression] ICE in bitmap_bit_p, at bitmap.c:978
Date: Thu, 21 Feb 2019 08:04: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: 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89392-4-c2TRw4TxRb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89392-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89392-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: 2019-02/txt/msg02752.txt.bz2
Content-length: 552

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89392

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Thu Feb 21 08:03:40 2019
New Revision: 269065

URL: https://gcc.gnu.org/viewcvs?rev=269065&root=gcc&view=rev
Log:
2019-02-21  Richard Biener  <rguenther@suse.de>

        PR middle-end/89392
        cp/
        * vtable-class-hierarchy.c (vtv_generate_init_routine): Do not
        make symtab process new functions here.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/vtable-class-hierarchy.c
>From gcc-bugs-return-634451-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 08:06:35 2019
Return-Path: <gcc-bugs-return-634451-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130168 invoked by alias); 21 Feb 2019 08:06: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 112435 invoked by uid 48); 21 Feb 2019 08:06:30 -0000
From: "vakevk at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89429] New: ICE with __func__
Date: Thu, 21 Feb 2019 08:06: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: vakevk 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-89429-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: 2019-02/txt/msg02753.txt.bz2
Content-length: 1318

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89429

            Bug ID: 89429
           Summary: ICE with __func__
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vakevk at gmail dot com
  Target Milestone: ---

Created attachment 45782
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45782&action=edit
Example code

g++ (Debian 8.2.0-20) 8.2.0

Compiling the attached code with `g++ testcase.cpp` results in an internal
compiler error:

main.cpp: In instantiation of 'g() [with T = int]::<lambda(auto:1)> [with
auto:1 = int]':
main.cpp:4:13:   required from 'void f(Function&&) [with Function = g() [with T
= int]::<lambda(auto:1)>]'
main.cpp:11:6:   required from 'void g() [with T = int]'
main.cpp:18:12:   required from here
main.cpp:12:9: internal compiler error: in enclosing_instantiation_of, at
cp/pt.c:13321
         __func__;
         ^~~~~~~~
0x7f5b303dc09a __libc_start_main
        ../csu/libc-start.c:308
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-8/README.Bugs> for instructions.
>From gcc-bugs-return-634452-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 08:10:27 2019
Return-Path: <gcc-bugs-return-634452-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10944 invoked by alias); 21 Feb 2019 08:10:26 -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 10806 invoked by uid 48); 21 Feb 2019 08:10:22 -0000
From: "vakevk at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89429] ICE with __func__
Date: Thu, 21 Feb 2019 08:10: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: vakevk 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:
Message-ID: <bug-89429-4-7k63IPNwK2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89429-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89429-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: 2019-02/txt/msg02754.txt.bz2
Content-length: 540

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89429

--- Comment #1 from Valentin <vakevk at gmail dot com> ---
Sorry, this was the wrong attachment.

The proper code is:


template <typename Function>
void f(Function&& function) {
    // `0` is not special. Can be any value of any type.
    function(0);
}

// No error when this template parameter is removed.
template<typename T>
void g() {
    // Must be `auto`.
    f([](auto) {
        __func__;
    });
}

void h() {
    // `int` is not special. Can be any type. 
    g<int>();
}
>From gcc-bugs-return-634453-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 08:11:30 2019
Return-Path: <gcc-bugs-return-634453-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13849 invoked by alias); 21 Feb 2019 08:11: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 13696 invoked by uid 48); 21 Feb 2019 08:11:26 -0000
From: "vakevk at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89429] ICE with __func__
Date: Thu, 21 Feb 2019 08:11: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: vakevk 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:
Message-ID: <bug-89429-4-iIq2TGhvHQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89429-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89429-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: 2019-02/txt/msg02755.txt.bz2
Content-length: 582

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89429

--- Comment #2 from Valentin <vakevk at gmail dot com> ---
Comment on attachment 45782
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45782
Example code

template <typename Function>
void f(Function&& function) {
    // `0` is not special. Can be any value of any type.
    function(0);
}

// No error when this template parameter is removed.
template<typename T>
void g() {
    // Must be `auto`.
    f([](auto) {
        __func__;
    });
}

void h() {
    // `int` is not special. Can be any type. 
    g<int>();
}
>From gcc-bugs-return-634454-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 08:28:08 2019
Return-Path: <gcc-bugs-return-634454-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123844 invoked by alias); 21 Feb 2019 08:28:06 -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 123687 invoked by uid 48); 21 Feb 2019 08:28:03 -0000
From: "jiangning.liu at amperecomputing dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89430] New: A missing ifcvt optimization to generate csel
Date: Thu, 21 Feb 2019 08: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: jiangning.liu at amperecomputing 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-89430-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: 2019-02/txt/msg02756.txt.bz2
Content-length: 1174

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89430

            Bug ID: 89430
           Summary: A missing ifcvt optimization to generate csel
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jiangning.liu at amperecomputing dot com
  Target Milestone: ---

For a small case,

unsigned *a;
void test(unsigned k, unsigned b) {
        if (b < a[k]) {
                a[k] = b;
        }
}

"gcc -O3 -S" generates,

        adrp    x2, a
        uxtw    x0, w0
        ldr     x2, [x2, #:lo12:a]
        ldr     w3, [x2, x0, lsl 2]
        cmp     w3, w1
        bls     .L1
        str     w1, [x2, x0, lsl 2]

Actually we should use csel instruction instead of conditional branch, so
expect to have the followings generated,

        adrp    x2, a
        uxtw    x0, w0
        ldr     x2, [x2, #:lo12:a]
        ldr     w3, [x2, x0, lsl 2]
        cmp     w3, w1
        csel    w1, w1, w3, hi
        str     w1, [x2, x0, lsl 2]

RTL optimization ifcvt misses this opportunity.
>From gcc-bugs-return-634455-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 08:31:59 2019
Return-Path: <gcc-bugs-return-634455-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15379 invoked by alias); 21 Feb 2019 08:31: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 15224 invoked by uid 48); 21 Feb 2019 08:31:54 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89423] -fvtable-verify does not work properly with -flto
Date: Thu, 21 Feb 2019 08:31: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: unknown
X-Bugzilla-Keywords: lto
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: ctice at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords cc
Message-ID: <bug-89423-4-lb1c1VrTn3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89423-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89423-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: 2019-02/txt/msg02757.txt.bz2
Content-length: 3725

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89423

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |lto
                 CC|                            |hubicka at gcc dot gnu.org,
                   |                            |rguenth at gcc dot gnu.org

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Also doing

> make check-target-libvtv RUNTESTFLAGS="--target_board=unix/-flto"

reveals

FAIL: libvtv.cc/bb_tests.cc -O2 -fvtable-verify=std (internal compiler error)
FAIL: libvtv.cc/bb_tests.cc -O2 -fvtable-verify=std (test for excess errors)
FAIL: libvtv.cc/const_vtable.cc -O2 -fvtable-verify=std (internal compiler
error)
FAIL: libvtv.cc/const_vtable.cc -O2 -fvtable-verify=std (test for excess
errors)
FAIL: libvtv.cc/nested_vcall_test.cc -O2 -fvtable-verify=std (internal compiler
error)
FAIL: libvtv.cc/nested_vcall_test.cc -O2 -fvtable-verify=std (test for excess
errors)
FAIL: libvtv.cc/template-list-iostream.cc -O2 -fvtable-verify=std (internal
compiler error)
FAIL: libvtv.cc/template-list-iostream.cc -O2 -fvtable-verify=std (test for
excess errors)
FAIL: libvtv.cc/thunk_vtable_map_attack.cc -O2 -fvtable-verify=std (internal
compiler error)
FAIL: libvtv.cc/thunk_vtable_map_attack.cc -O2 -fvtable-verify=std (test for
excess errors)
FAIL: libvtv.cc/virtfunc-test.cc -O2 -fvtable-verify=std (internal compiler
error)
FAIL: libvtv.cc/virtfunc-test.cc -O2 -fvtable-verify=std (test for excess
errors)
FAIL: libvtv.cc/bb_tests.cc -O2 -fvtable-verify=preinit (internal compiler
error)
FAIL: libvtv.cc/bb_tests.cc -O2 -fvtable-verify=preinit (test for excess
errors)
FAIL: libvtv.cc/const_vtable.cc -O2 -fvtable-verify=preinit (internal compiler
error)
FAIL: libvtv.cc/const_vtable.cc -O2 -fvtable-verify=preinit (test for excess
errors)
FAIL: libvtv.cc/nested_vcall_test.cc -O2 -fvtable-verify=preinit (internal
compiler error)
FAIL: libvtv.cc/nested_vcall_test.cc -O2 -fvtable-verify=preinit (test for
excess errors)
FAIL: libvtv.cc/template-list-iostream.cc -O2 -fvtable-verify=preinit (internal
compiler error)
FAIL: libvtv.cc/template-list-iostream.cc -O2 -fvtable-verify=preinit (test for
excess errors)
FAIL: libvtv.cc/thunk_vtable_map_attack.cc -O2 -fvtable-verify=preinit
(internal compiler error)
FAIL: libvtv.cc/thunk_vtable_map_attack.cc -O2 -fvtable-verify=preinit (test
for excess errors)
FAIL: libvtv.cc/virtfunc-test.cc -O2 -fvtable-verify=preinit (internal compiler
error)
FAIL: libvtv.cc/virtfunc-test.cc -O2 -fvtable-verify=preinit (test for excess
errors)
Running
/space/rguenther/src/svn/trunk/libvtv/testsuite/libvtv.mempool.cc/mempool.exp
...
Running /space/rguenther/src/svn/trunk/libvtv/testsuite/libvtv.mt.cc/mt.exp ...

                === libvtv Summary ===

# of expected passes            152
# of unexpected failures        24
# of unresolved testcases       12

All ICEs are: internal compiler error: in verify_bb_vtables, at
vtable-verify.c:708

I suspect that since the vtable-verify pass runs pretty late (right before
RTL expansion) it relies on some global data structure that is not
streamed / rebuilt in the late LTO LTRANS phase.

I guess for this and the original bug the issue is that the vtable verify
code is a "second class citizen" and not integated with the symbol table
code.  I wonder whether keying everything to the actual vtable object
would work?  It would be a bit ugly to marshal the vtable verify stuff
through the generic tree type streaming.
>From gcc-bugs-return-634456-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 08:32:20 2019
Return-Path: <gcc-bugs-return-634456-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16616 invoked by alias); 21 Feb 2019 08:32: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 16496 invoked by uid 48); 21 Feb 2019 08:32:16 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89416] [9 regression] std::vector<std::thread, custom_allocator>::push_back no longer builds.
Date: Thu, 21 Feb 2019 08:32:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
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: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-89416-4-8POjqj2K07@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89416-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89416-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: 2019-02/txt/msg02758.txt.bz2
Content-length: 293

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89416

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |9.0
>From gcc-bugs-return-634457-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 08:41:01 2019
Return-Path: <gcc-bugs-return-634457-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88693 invoked by alias); 21 Feb 2019 08:41: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 88545 invoked by uid 48); 21 Feb 2019 08:40:56 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89430] A missing ifcvt optimization to generate csel
Date: Thu, 21 Feb 2019 08:41: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: pinskia 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-89430-4-K7DdUaqNxU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89430-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89430-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: 2019-02/txt/msg02759.txt.bz2
Content-length: 186

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89430

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This transformation is not valid for the C11/C++11 memory model.
>From gcc-bugs-return-634459-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 08:45:42 2019
Return-Path: <gcc-bugs-return-634459-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105199 invoked by alias); 21 Feb 2019 08:45:19 -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 103543 invoked by uid 48); 21 Feb 2019 08:45:05 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89430] A missing ifcvt optimization to generate csel
Date: Thu, 21 Feb 2019 08:45: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: pinskia 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-89430-4-FzuT6qqBtx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89430-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89430-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: 2019-02/txt/msg02762.txt.bz2
Content-length: 228

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89430

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
related to PR 54935.

I think there are other related recorded bugs too but I can't find them right
now.
>From gcc-bugs-return-634460-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 08:45:50 2019
Return-Path: <gcc-bugs-return-634460-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107079 invoked by alias); 21 Feb 2019 08:45: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 106307 invoked by uid 48); 21 Feb 2019 08:45:43 -0000
From: "mark.eggleston at codethink dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89431] New: CPP integer macros not defined
Date: Thu, 21 Feb 2019 08:45: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mark.eggleston at codethink 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-89431-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: 2019-02/txt/msg02761.txt.bz2
Content-length: 1743

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89431

            Bug ID: 89431
           Summary: CPP integer macros not defined
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mark.eggleston at codethink dot com
  Target Milestone: ---

The integer macros specified in the "Preprocessing and conditional compilation"
section of the manual do not exist. The real macros on the other hand do.

On x86_64:

program test
  use iso_fortran_env
  implicit none
  write(*,*) integer_kinds
#ifdef __GFC_INTEGER_1__
  write(*,*) "__GFC_INTEGER_1__ defined"
#else
  write(*,*) "__GFC_INTEGER_1__ undefined"
#endif
#ifdef __GFC_INTEGER_2__
  write(*,*) "__GFC_INTEGER_2__ defined"
#else
  write(*,*) "__GFC_INTEGER_2__ undefined"
#endif
#ifdef __GFC_INTEGER_8__
  write(*,*) "__GFC_INTEGER_8__ defined"
#else
  write(*,*) "__GFC_INTEGER_8__ undefined"
#endif
#ifdef __GFC_INTEGER_16__
  write(*,*) "__GFC_INTEGER_16__ defined"
#else
  write(*,*) "__GFC_INTEGER_16__ undefined"
#endif
  write(*,*) real_kinds
#ifdef __GFC_REAL_10__
  write(*,*) "__GFC_REAL_10__ defined"
#else
  write(*,*) "__GFC_REAL_10__ undefined"
#endif
#ifdef __GFC_REAL_10__
  write(*,*) "__GFC_REAL_16__ defined"
#else
  write(*,*) "__GFC_REAL_16__ undefined"
#endif
end program

produces

           1           2           4           8          16
 __GFC_INTEGER_1__ undefined
 __GFC_INTEGER_2__ undefined
 __GFC_INTEGER_8__ undefined
 __GFC_INTEGER_16__ undefined
           4           8          10          16
 __GFC_REAL_10__ defined
 __GFC_REAL_16__ defined

Also present on 8.2 and 7.4
>From gcc-bugs-return-634458-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 08:45:07 2019
Return-Path: <gcc-bugs-return-634458-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103601 invoked by alias); 21 Feb 2019 08:45:06 -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 103333 invoked by uid 48); 21 Feb 2019 08:45:00 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89364] Assumed rank object with incorrect values for shape and bounds
Date: Thu, 21 Feb 2019 08:45: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pault at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: pault at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc assigned_to
Message-ID: <bug-89364-4-EeNOjXV5sq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89364-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89364-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: 2019-02/txt/msg02760.txt.bz2
Content-length: 591

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89364

Paul Thomas <pault at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pault at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |pault at gcc dot gnu.org

--- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> ---
Again this is not C interop but I will take it.

The shape intrinsic is indeed to return -1, according to the cited paragraph.

Paul
>From gcc-bugs-return-634461-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 08:59:18 2019
Return-Path: <gcc-bugs-return-634461-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52095 invoked by alias); 21 Feb 2019 08:59: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 50037 invoked by uid 48); 21 Feb 2019 08:59:13 -0000
From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/81081] [ASAN] ASAN is not properly calling libbacktrace to symbolize program written on assembler
Date: Thu, 21 Feb 2019 08:59: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: 7.0.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vries 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-81081-4-bbraSR4ZTQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81081-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81081-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: 2019-02/txt/msg02763.txt.bz2
Content-length: 464

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81081

--- Comment #12 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Tom de Vries from comment #11)
> Created attachment 45652 [details]
> Tentative patch
> 
> Patch proposed in comment #10, added ChangeLog and rationale, bootstrapped
> and reg-tested.

Hi Jakub,

does this patch address your concerns mentioned in comment 6?

In other words, OK to propose at libsanitizer upstream?

Thanks,
- Tom
>From gcc-bugs-return-634462-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 09:11:14 2019
Return-Path: <gcc-bugs-return-634462-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8964 invoked by alias); 21 Feb 2019 09:11: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 6443 invoked by uid 48); 21 Feb 2019 09:11:10 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/81081] [ASAN] ASAN is not properly calling libbacktrace to symbolize program written on assembler
Date: Thu, 21 Feb 2019 09:11: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: 7.0.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-81081-4-o3EBcohEA0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81081-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81081-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: 2019-02/txt/msg02764.txt.bz2
Content-length: 176

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81081

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
You can try, but it seems upstream doesn't really care.
>From gcc-bugs-return-634463-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 09:18:39 2019
Return-Path: <gcc-bugs-return-634463-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26070 invoked by alias); 21 Feb 2019 09:18: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 25924 invoked by uid 48); 21 Feb 2019 09:18:35 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89429] ICE with __func__
Date: Thu, 21 Feb 2019 09:18: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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 cc resolution
Message-ID: <bug-89429-4-EC2pFk5rLA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89429-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89429-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: 2019-02/txt/msg02765.txt.bz2
Content-length: 665

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89429

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Most likely introduced by PR88752 and fixed by PR89241 (at least on the trunk).
As mentioned in PR88752, it has been applied for 3 days on 8 branch and then
reverted there.
>From gcc-bugs-return-634464-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 09:23:23 2019
Return-Path: <gcc-bugs-return-634464-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129936 invoked by alias); 21 Feb 2019 09:23: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 129691 invoked by uid 48); 21 Feb 2019 09:23:19 -0000
From: "dennis.khalikov at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/81081] [ASAN] ASAN is not properly calling libbacktrace to symbolize program written on assembler
Date: Thu, 21 Feb 2019 09:23: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: 7.0.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dennis.khalikov 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-81081-4-TeWe8ABu8o@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81081-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81081-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: 2019-02/txt/msg02766.txt.bz2
Content-length: 644

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81081

--- Comment #14 from Denis Khalikov <dennis.khalikov at gmail dot com> ---
IMHO, this is a really hard to face in real word.
You, probably, have to write your program on assembly and then let "as" to add
section with debuginfo, because "as" can not generate dwarf tag
(DW_TAG_subprogram) which cares about address and name of the function, you
will get the poblem.

As far as I remember, the problem was faced in some "fault injection" project,
because the wrappers around libbactrace functions, were copy-pasted from
sanitizers, and does not really related to sanitizers in any cases.
>From gcc-bugs-return-634465-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 09:26:48 2019
Return-Path: <gcc-bugs-return-634465-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45311 invoked by alias); 21 Feb 2019 09:26: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 40104 invoked by uid 48); 21 Feb 2019 09:26:43 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89421] [9 Regression] ICE in retrieve_specialization, at cp/pt.c:1245
Date: Thu, 21 Feb 2019 09:26: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: cc
Message-ID: <bug-89421-4-QEH6Iqj74w@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89421-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89421-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: 2019-02/txt/msg02767.txt.bz2
Content-length: 1040

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89421

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The ICE is on
1245          tree class_template = CLASSTYPE_TI_TEMPLATE (DECL_CONTEXT
(tmpl));
(gdb) p tmpl
$1 = <template_decl 0x7fffea81f280 operator()>
where DECL_CONTEXT is <record_type 0x7fffea94ca80 __lambda0> on which
CLASSTYPE_TEMPLATE_INFO is NULL.
Note, there is another ICE, debug_tree (tmpl) ICEs on:
#1  0x00000000009aa1d1 in dump_template_decl (pp=0x2f5fde0
<actual_pretty_printer>, t=<template_decl 0x7fffea81f280 operator()>,
flags=128)
    at ../../gcc/cp/error.c:1396
1396                  gcc_assert (TREE_CODE (TREE_TYPE (t)) ==
TEMPLATE_TEMPLATE_PARM);
because TREE_TYPE (t) is a METHOD_TYPE rather than TEMPLATE_TEMPLATE_PARM.
>From gcc-bugs-return-634466-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 09:31:50 2019
Return-Path: <gcc-bugs-return-634466-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63745 invoked by alias); 21 Feb 2019 09:31: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 61232 invoked by uid 48); 21 Feb 2019 09:31:44 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89422] [8/9 Regression] ICE in field_byte_offset, at dwarf2out.c:19086
Date: Thu, 21 Feb 2019 09:31: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: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone everconfirmed
Message-ID: <bug-89422-4-CEhx4K6IX7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89422-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89422-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: 2019-02/txt/msg02768.txt.bz2
Content-length: 691

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89422

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-21
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |jason at gcc dot gnu.org
   Target Milestone|---                         |8.4
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r251433.
>From gcc-bugs-return-634467-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 09:33:58 2019
Return-Path: <gcc-bugs-return-634467-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77928 invoked by alias); 21 Feb 2019 09:33: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 77708 invoked by uid 48); 21 Feb 2019 09:33:53 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89430] A missing ifcvt optimization to generate csel
Date: Thu, 21 Feb 2019 09: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: 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: cf_gcctarget bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-89430-4-RuCYJZ1D7X@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89430-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89430-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: 2019-02/txt/msg02769.txt.bz2
Content-length: 1565

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89430

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |arm
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-21
     Ever confirmed|0                           |1

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Besides of store data races the issue is that we seem to not know that a[k]
doesn't trap inside cond_store_replacement because we consider loads and stores
separately (as if the memory might be mapped readonly):

   We need to be careful with loads
   or stores, for instance a load might not trap, while a store would,
   so if we see a dominating read access this doesn't mean that a later
   write access would not trap.  Hence we also need to differentiate the
   type of access(es) seen.

   ??? We currently are very conservative and assume that a load might
   trap even if a store doesn't (write-only memory).  This probably is
   overly conservative.  */

Changing the testcase to do

unsigned *a;
void test(unsigned k, unsigned b) {
    a[k] = 5;
    if (b < a[k]) {
        a[k] = b;
    }
}

generates

test:
.LFB0:
        .cfi_startproc
        movl    $5, %eax
        cmpl    $5, %esi
        movl    %edi, %edi
        cmovnb  %eax, %esi
        movq    a(%rip), %rax
        movl    %esi, (%rax,%rdi,4)
        ret
>From gcc-bugs-return-634469-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 09:38:26 2019
Return-Path: <gcc-bugs-return-634469-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26663 invoked by alias); 21 Feb 2019 09:38:26 -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 20867 invoked by uid 48); 21 Feb 2019 09:38:22 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89422] [8/9 Regression] ICE in field_byte_offset, at dwarf2out.c:19086
Date: Thu, 21 Feb 2019 09:38: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: 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority
Message-ID: <bug-89422-4-cqtSDYZvL1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89422-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89422-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: 2019-02/txt/msg02771.txt.bz2
Content-length: 292

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89422

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
>From gcc-bugs-return-634468-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 09:38:16 2019
Return-Path: <gcc-bugs-return-634468-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17616 invoked by alias); 21 Feb 2019 09:38: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 10015 invoked by uid 48); 21 Feb 2019 09:38:11 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89422] [8/9 Regression] ICE in field_byte_offset, at dwarf2out.c:19086
Date: Thu, 21 Feb 2019 09:38: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: 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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89422-4-eXcceUzp2W@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89422-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89422-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: 2019-02/txt/msg02770.txt.bz2
Content-length: 2341

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89422

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.

Program received signal SIGSEGV, Segmentation fault.
0x0000000000e33f81 in field_byte_offset (decl=0x7ffff699d7b8, 
    ctx=0x7fffffffb5e0, cst_offset=0x7fffffffb4a8)
    at /space/rguenther/src/svn/trunk2/gcc/dwarf2out.c:19086
19086     if (TREE_CODE (DECL_FIELD_BIT_OFFSET (decl)) != INTEGER_CST)
(gdb) p decl
$1 = (const_tree) 0x7ffff699d7b8
(gdb) p debug_tree (decl)
 <field_decl 0x7ffff699d7b8 b
    type <integer_type 0x7ffff68985e8 int asm_written public type_6 SI
        size <integer_cst 0x7ffff689c078 constant 32>
        unit-size <integer_cst 0x7ffff689c090 constant 4>
        align:32 warn_if_not_align:0 symtab:-158767472 alias-set -1
canonical-type 0x7ffff68985e8 precision:32 min <integer_cst 0x7ffff689c030
-2147483648> max <integer_cst 0x7ffff689c048 2147483647>
        pointer_to_this <pointer_type 0x7ffff68a19d8>>
    decl_3 VOID t.C:4:11
    align:1 warn_if_not_align:0 offset_align 1 context <record_type
0x7ffff69d1690 S> chain <type_decl 0x7ffff699d720 S>>
$2 = void
(gdb) p decl->field_decl.bit_offset 
$3 = (tree) 0x0
(gdb) p decl->field_decl.offset 
$4 = (tree) 0x0

that's not a valid FIELD_DECL.  The aggregate is

 <record_type 0x7ffff69d1690 S asm_written type_0 type_5 type_6 VOID
    size <integer_cst 0x7ffff687aea0 type <integer_type 0x7ffff68980a8
bitsizetype> constant 0>
    unit-size <integer_cst 0x7ffff687ae58 type <integer_type 0x7ffff6898000
sizetype> constant 0>
    align:8 warn_if_not_align:0 symtab:-158767632 alias-set -1 canonical-type
0x7ffff69d1690
    fields <using_decl 0x7ffff699d850 operator= decl_0 VOID t.C:1:23
        align:1 warn_if_not_align:0 context <record_type 0x7ffff69d1690 S>
result <record_type 0x7ffff69d1690 S>

        chain <field_decl 0x7ffff699d7b8 b type <integer_type 0x7ffff68985e8
int>
            decl_3 VOID t.C:4:11
            align:1 warn_if_not_align:0 offset_align 1 context <record_type
0x7ffff69d1690 S> chain <type_decl 0x7ffff699d720 S>>> context
<translation_unit_decl 0x7ffff6887168 t.C>
    full-name "struct S<<anonymous> >"
    n_parents=0 use_template=0 interface-unknown
    chain <type_decl 0x7ffff699d688 S>>

and we call debug_hooks->type_decl on the __lambda1 TYPE_DECL.
>From gcc-bugs-return-634470-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 09:40:05 2019
Return-Path: <gcc-bugs-return-634470-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113316 invoked by alias); 21 Feb 2019 09:40: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 110907 invoked by uid 48); 21 Feb 2019 09:39:59 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89426] -mfpmath=sse isn't preserved
Date: Thu, 21 Feb 2019 09:40: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:
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 everconfirmed
Message-ID: <bug-89426-4-J4trf6CTke@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89426-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89426-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: 2019-02/txt/msg02772.txt.bz2
Content-length: 497

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89426

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-21
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Reasonable expectation.
>From gcc-bugs-return-634471-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 09:45:00 2019
Return-Path: <gcc-bugs-return-634471-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73162 invoked by alias); 21 Feb 2019 09:45: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 71050 invoked by uid 48); 21 Feb 2019 09:44:56 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/84536] [7/8 Regression] ICE with non-type template parameter
Date: Thu, 21 Feb 2019 09:45: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.0
X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-84536-4-0UpWdZgBI8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84536-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84536-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: 2019-02/txt/msg02773.txt.bz2
Content-length: 485

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84536

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[7/8/9 Regression] ICE with |[7/8 Regression] ICE with
                   |non-type template parameter |non-type template parameter

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed in trunk.
>From gcc-bugs-return-634472-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 09:45:58 2019
Return-Path: <gcc-bugs-return-634472-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106488 invoked by alias); 21 Feb 2019 09:45:57 -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 103832 invoked by uid 48); 21 Feb 2019 09:45:53 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89280] [7/8/9 Regression] ICE: Segmentation fault (in is_gimple_reg_type)
Date: Thu, 21 Feb 2019 09:45: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89280-4-mufAxPgXTG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89280-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89280-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: 2019-02/txt/msg02774.txt.bz2
Content-length: 335

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89280

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
On the other side, after going into SSA, the ABNORMAL_DISPATCHER successors
would have PHIs for the SSA_NAMEs and thus ICE like this wouldn't happen, so in
theory we could do something in the cfg pass itself only.
>From gcc-bugs-return-634473-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 09:53:39 2019
Return-Path: <gcc-bugs-return-634473-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51391 invoked by alias); 21 Feb 2019 09:53: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 49161 invoked by uid 48); 21 Feb 2019 09:53:35 -0000
From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/81081] [ASAN] ASAN is not properly calling libbacktrace to symbolize program written on assembler
Date: Thu, 21 Feb 2019 09:53: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: 7.0.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vries 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-81081-4-bgI9MavoH3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81081-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81081-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: 2019-02/txt/msg02775.txt.bz2
Content-length: 261

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81081

--- Comment #15 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #13)
> You can try, but it seems upstream doesn't really care.

Done: https://reviews.llvm.org/D58493
>From gcc-bugs-return-634474-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 10:09:09 2019
Return-Path: <gcc-bugs-return-634474-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103564 invoked by alias); 21 Feb 2019 10:09: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 103367 invoked by uid 48); 21 Feb 2019 10:09:03 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89431] CPP integer macros not defined
Date: Thu, 21 Feb 2019 10:09: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:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cc everconfirmed bug_severity
Message-ID: <bug-89431-4-BXUbPuGCVt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89431-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89431-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: 2019-02/txt/msg02776.txt.bz2
Content-length: 814

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89431

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P5
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-21
                 CC|                            |kargl at gcc dot gnu.org
     Ever confirmed|0                           |1
           Severity|normal                      |enhancement

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
These macros have been introduced at revision r267464.

Looking at the code I don't see why  __GFC_REAL_* are defined, but not
__GFC_INTEGER_*.
>From gcc-bugs-return-634475-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 10:11:06 2019
Return-Path: <gcc-bugs-return-634475-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112827 invoked by alias); 21 Feb 2019 10:11:06 -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 112662 invoked by uid 48); 21 Feb 2019 10:11:02 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89421] [9 Regression] ICE in retrieve_specialization, at cp/pt.c:1245
Date: Thu, 21 Feb 2019 10:11: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle 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: cc
Message-ID: <bug-89421-4-WDvVco83jX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89421-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89421-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: 2019-02/txt/msg02777.txt.bz2
Content-length: 558

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89421

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paolo.carlini at oracle dot com

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Ah, yesterday I saw something which seems closely related (I will double check)
but for *valid* code. This:

template<int = [](){ return 1; }()>
class T;
>From gcc-bugs-return-634476-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 10:14:36 2019
Return-Path: <gcc-bugs-return-634476-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40882 invoked by alias); 21 Feb 2019 10:14: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 40630 invoked by uid 48); 21 Feb 2019 10:14:32 -0000
From: "jiangning.liu at amperecomputing dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89430] A missing ifcvt optimization to generate csel
Date: Thu, 21 Feb 2019 10:14: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: jiangning.liu at amperecomputing 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-89430-4-fi9lo6X7YZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89430-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89430-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: 2019-02/txt/msg02778.txt.bz2
Content-length: 476

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89430

--- Comment #4 from Jiangning Liu <jiangning.liu at amperecomputing dot com> ---
>    We need to be careful with loads
>    or stores, for instance a load might not trap, while a store would,
>    so if we see a dominating read access this doesn't mean that a later
>    write access would not trap.  

Why? For this case, there is a dominating load for the same address. I don't
see why it might trap. Any example?
>From gcc-bugs-return-634477-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 10:19:22 2019
Return-Path: <gcc-bugs-return-634477-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129659 invoked by alias); 21 Feb 2019 10:19: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 129512 invoked by uid 48); 21 Feb 2019 10:19:18 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89430] A missing ifcvt optimization to generate csel
Date: Thu, 21 Feb 2019 10:19: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: 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-89430-4-StCXZ8v5p7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89430-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89430-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: 2019-02/txt/msg02779.txt.bz2
Content-length: 561

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89430

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Jiangning Liu from comment #4)
> >    We need to be careful with loads
> >    or stores, for instance a load might not trap, while a store would,
> >    so if we see a dominating read access this doesn't mean that a later
> >    write access would not trap.  
> 
> Why? For this case, there is a dominating load for the same address. I don't
> see why it might trap. Any example?

The memory might be mapped readonly.
>From gcc-bugs-return-634478-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 10:25:01 2019
Return-Path: <gcc-bugs-return-634478-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15616 invoked by alias); 21 Feb 2019 10:25: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 14664 invoked by uid 48); 21 Feb 2019 10:24:42 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug d/89432] New: FAIL: libphobos.unittests/druntime/{static,shared}/core.time on CentOS 5.11, Linux 2.6.18
Date: Thu, 21 Feb 2019 10:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: d
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot 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-89432-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: 2019-02/txt/msg02780.txt.bz2
Content-length: 4357

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89432

            Bug ID: 89432
           Summary: FAIL:
                    libphobos.unittests/druntime/{static,shared}/core.time
                    on CentOS 5.11, Linux 2.6.18
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: ubizjak at gmail dot com
  Target Milestone: ---

libphobos testing on x86_64 CentOS 5.11 fails a testcase:

FAIL: libphobos.unittests/druntime/static/core.time
FAIL: libphobos.unittests/druntime/shared/core.time

with:

Aborting from ../../../../git/gcc/libphobos/libdruntime/core/time.d(2075)
MonoTimeImpl!(ClockType.bootTime) failed to get the frequency of the system's
monotonic clock.

clock_gettime on CentOS 5.11 (Linux 2.6.18) supports only:

       clock_gettime  returns  the current timespec value of tp for the
specific clock, which_clock.  The values that clockid_t currently supports for
POSIX.1b timers, as defined in include/linux/time.h, are:

       CLOCK_REALTIME
              Systemwide realtime clock.

       CLOCK_MONOTONIC
              Represents monotonic time. Cannot be set.

       CLOCK_PROCESS_CPUTIME_ID
              High resolution per-process timer.

       CLOCK_THREAD_CPUTIME_ID
              Thread-specific timer.

       CLOCK_REALTIME_HR
              High resolution version of CLOCK_REALTIME.

       CLOCK_MONOTONIC_HR
              High resolution version of CLOCK_MONOTONIC.

There is the following code in time.d:

    static bool clockSupported(ClockType c)
    {
        version (Linux_Pre_2639) // skip CLOCK_BOOTTIME on older linux kernels
            return c != ClockType.second && c != ClockType.bootTime;
        else
            return c != ClockType.second; // second doesn't work with
MonoTimeImpl

but it looks that Linux_Pre_2639 is not handled correctly. Depending on which
kernel is considered the oldest supported kernel, version should also check for
2.6.28, 2.6.32 and 2.6.12:

       CLOCK_REALTIME
              System-wide clock that measures real (i.e., wall-clock) time. 
Setting this clock  requires  appropriate  privileges.   This  clock  is
affected by discontinuous jumps in the system time (e.g., if the system
administrator manually changes the clock), and by the incremental adjustments
performed by adjtime(3) and NTP.

       CLOCK_REALTIME_COARSE (since Linux 2.6.32; Linux-specific)
              A faster but less precise version of CLOCK_REALTIME.  Use when
you need very fast, but  not  fine-grained  timestamps.   Requires 
per-architecture support, and probably also architecture support for this flag
in the vdso(7).

       CLOCK_MONOTONIC
              Clock that cannot be set and represents monotonic time since some
unspecified starting point.  This clock is not affected by discontinuous jumps
in the system time (e.g., if the system administrator manually changes the 
clock),  but  is  affected  by  the  incremental adjustments performed by
adjtime(3) and NTP.

       CLOCK_MONOTONIC_COARSE (since Linux 2.6.32; Linux-specific)
              A  faster  but  less  precise version of CLOCK_MONOTONIC.  Use
when you need very fast, but not fine-grained timestamps.  Requires
per-architecture support, and probably also architecture support for this flag
in the vdso(7).

       CLOCK_MONOTONIC_RAW (since Linux 2.6.28; Linux-specific)
              Similar to CLOCK_MONOTONIC, but provides access to a raw
hardware-based time that is not subject to NTP adjustments or the  incremental
adjustments performed by adjtime(3).

       CLOCK_BOOTTIME (since Linux 2.6.39; Linux-specific)
              Identical  to  CLOCK_MONOTONIC,  except it also includes any time
that the system is suspended.  This allows applications to get a suspend-aware
monotonic clock without having to deal with the complications of
CLOCK_REALTIME, which may have discontinuities if the  time is changed using
settimeofday(2) or similar.

       CLOCK_PROCESS_CPUTIME_ID (since Linux 2.6.12)
              Per-process CPU-time clock (measures CPU time consumed by all
threads in the process).

       CLOCK_THREAD_CPUTIME_ID (since Linux 2.6.12)
              Thread-specific CPU-time clock.
>From gcc-bugs-return-634479-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 10:38:19 2019
Return-Path: <gcc-bugs-return-634479-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119491 invoked by alias); 21 Feb 2019 10:38:18 -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 119353 invoked by uid 48); 21 Feb 2019 10:38:15 -0000
From: "mark.eggleston at codethink dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89431] CPP integer macros not defined
Date: Thu, 21 Feb 2019 10:38: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:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: mark.eggleston at codethink dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89431-4-NCuLcMfokl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89431-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89431-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: 2019-02/txt/msg02781.txt.bz2
Content-length: 519

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89431

--- Comment #2 from MarkEggleston <mark.eggleston at codethink dot com> ---
(In reply to Dominique d'Humieres from comment #1)
> These macros have been introduced at revision r267464.
> 
> Looking at the code I don't see why  __GFC_REAL_* are defined, but not
> __GFC_INTEGER_*.

Looking at the code I note that __GFC_INT_*__ is used not __GFC_INTEGER_*__, I
changed the test program to use __GFC_INT_1__ instead of __GFC_INTEGER_1__ and
it too is undefined.
>From gcc-bugs-return-634480-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 10:44:30 2019
Return-Path: <gcc-bugs-return-634480-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34590 invoked by alias); 21 Feb 2019 10:44: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 34390 invoked by uid 48); 21 Feb 2019 10:44:25 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89431] CPP integer macros not defined
Date: Thu, 21 Feb 2019 10:44: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:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89431-4-CHUzBHsonK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89431-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89431-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: 2019-02/txt/msg02782.txt.bz2
Content-length: 1290

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89431

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
program test
  use iso_fortran_env
  implicit none
  write(*,*) integer_kinds
#ifdef __GFC_INT_1__
  write(*,*) "__GFC_INT_1__ defined"
#else
  write(*,*) "__GFC_INT_1__ undefined"
#endif
#ifdef __GFC_INT_2__
  write(*,*) "__GFC_INT_2__ defined"
#else
  write(*,*) "__GFC_INT_2__ undefined"
#endif
#ifdef __GFC_INT_8__
  write(*,*) "__GFC_INT_8__ defined"
#else
  write(*,*) "__GFC_INT_8__ undefined"
#endif
#ifdef __GFC_INT_16__
  write(*,*) "__GFC_INT_16__ defined"
#else
  write(*,*) "__GFC_INT_16__ undefined"
#endif
  write(*,*) real_kinds
#ifdef __GFC_REAL_10__
  write(*,*) "__GFC_REAL_10__ defined"
#else
  write(*,*) "__GFC_REAL_10__ undefined"
#endif
#ifdef __GFC_REAL_10__
  write(*,*) "__GFC_REAL_16__ defined"
#else
  write(*,*) "__GFC_REAL_16__ undefined"
#endif
end program

gives

           1           2           4           8          16
 __GFC_INT_1__ defined
 __GFC_INT_2__ defined
 __GFC_INT_8__ defined
 __GFC_INT_16__ defined
           4           8          10          16
 __GFC_REAL_10__ defined
 __GFC_REAL_16__ defined

So either the doc has to be adjusted to gcc/fortran/cpp.c or gcc/fortran/cpp.c
has to be adjusted to the doc.
>From gcc-bugs-return-634481-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 10:49:26 2019
Return-Path: <gcc-bugs-return-634481-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128567 invoked by alias); 21 Feb 2019 10: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 128349 invoked by uid 48); 21 Feb 2019 10:49:21 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89280] [7/8/9 Regression] ICE: Segmentation fault (in is_gimple_reg_type)
Date: Thu, 21 Feb 2019 10:49: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created
Message-ID: <bug-89280-4-VklUx4IgNW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89280-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89280-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: 2019-02/txt/msg02783.txt.bz2
Content-length: 578

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89280

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45783
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45783&action=edit
gcc9-pr89280.patch

Untested fix.
>From gcc-bugs-return-634482-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 10:52:20 2019
Return-Path: <gcc-bugs-return-634482-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4555 invoked by alias); 21 Feb 2019 10:52:19 -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 129945 invoked by uid 48); 21 Feb 2019 10:52:15 -0000
From: "mark.eggleston at codethink dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89431] CPP integer macros not defined
Date: Thu, 21 Feb 2019 10:52: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:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: mark.eggleston at codethink dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89431-4-Ii6UK64bq5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89431-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89431-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: 2019-02/txt/msg02784.txt.bz2
Content-length: 1559

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89431

--- Comment #4 from MarkEggleston <mark.eggleston at codethink dot com> ---
(In reply to Dominique d'Humieres from comment #3)
> program test
>   use iso_fortran_env
>   implicit none
>   write(*,*) integer_kinds
> #ifdef __GFC_INT_1__
>   write(*,*) "__GFC_INT_1__ defined"
> #else
>   write(*,*) "__GFC_INT_1__ undefined"
> #endif
> #ifdef __GFC_INT_2__
>   write(*,*) "__GFC_INT_2__ defined"
> #else
>   write(*,*) "__GFC_INT_2__ undefined"
> #endif
> #ifdef __GFC_INT_8__
>   write(*,*) "__GFC_INT_8__ defined"
> #else
>   write(*,*) "__GFC_INT_8__ undefined"
> #endif
> #ifdef __GFC_INT_16__
>   write(*,*) "__GFC_INT_16__ defined"
> #else
>   write(*,*) "__GFC_INT_16__ undefined"
> #endif
>   write(*,*) real_kinds
> #ifdef __GFC_REAL_10__
>   write(*,*) "__GFC_REAL_10__ defined"
> #else
>   write(*,*) "__GFC_REAL_10__ undefined"
> #endif
> #ifdef __GFC_REAL_10__
>   write(*,*) "__GFC_REAL_16__ defined"
> #else
>   write(*,*) "__GFC_REAL_16__ undefined"
> #endif
> end program
> 
> gives
> 
>            1           2           4           8          16
>  __GFC_INT_1__ defined
>  __GFC_INT_2__ defined
>  __GFC_INT_8__ defined
>  __GFC_INT_16__ defined
>            4           8          10          16
>  __GFC_REAL_10__ defined
>  __GFC_REAL_16__ defined
> 
> So either the doc has to be adjusted to gcc/fortran/cpp.c or
> gcc/fortran/cpp.c has to be adjusted to the doc.

Since Fortran uses the name integer for its type rather than int I suggest that
the code should be changed.
>From gcc-bugs-return-634483-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 10:55:19 2019
Return-Path: <gcc-bugs-return-634483-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24409 invoked by alias); 21 Feb 2019 10:55:18 -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 24257 invoked by uid 48); 21 Feb 2019 10:55:14 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82501] AddressSanitizer does not handle negative offset for first global variable
Date: Thu, 21 Feb 2019 10:55: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82501-4-3nA4OpvE3m@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82501-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82501-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: 2019-02/txt/msg02785.txt.bz2
Content-length: 5738

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82501

--- Comment #12 from Martin Liška <marxin at gcc dot gnu.org> ---
While playing with the patch I noticed that there's a significant different in
between GCC 7 and GCC8:

$ cat global4.c
int f;

int main()
{
  return *(&f+1);
}

$ g++-7 -fsanitize=address global4.c -fno-common && ./a.out 
=================================================================
==12692==ERROR: AddressSanitizer: global-buffer-overflow on address
0x0000004040e4 at pc 0x000000401193 bp 0x7fffffffdc00 sp 0x7fffffffdbf8
READ of size 4 at 0x0000004040e4 thread T0
    #0 0x401192 in main (/home/marxin/Programming/testcases/a.out+0x401192)
    #1 0x7ffff6cedb7a in __libc_start_main (/lib64/libc.so.6+0x23b7a)
    #2 0x4010a9 in _start (/home/marxin/Programming/testcases/a.out+0x4010a9)

0x0000004040e4 is located 0 bytes to the right of global variable 'f' defined
in 'global4.c:1:5' (0x4040e0) of size 4
SUMMARY: AddressSanitizer: global-buffer-overflow
(/home/marxin/Programming/testcases/a.out+0x401192) in main
Shadow bytes around the buggy address:
  0x0000800787c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0000800787d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0000800787e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0000800787f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x000080078800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x000080078810: 00 00 00 00 00 00 00 00 00 00 00 00[04]f9 f9 f9
  0x000080078820: f9 f9 f9 f9 00 00 00 00 00 00 00 00 00 00 00 00
  0x000080078830: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x000080078840: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x000080078850: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x000080078860: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Here there's really no left global red zone.

However:
g++-8 -fsanitize=address global4.c -fno-common && ./a.out 
=================================================================
==12713==ERROR: AddressSanitizer: global-buffer-overflow on address
0x0000004040e4 at pc 0x00000040118e bp 0x7fffffffdc00 sp 0x7fffffffdbf8
READ of size 4 at 0x0000004040e4 thread T0
    #0 0x40118d in main (/home/marxin/Programming/testcases/a.out+0x40118d)
    #1 0x7ffff7076b7a in __libc_start_main ../csu/libc-start.c:308
    #2 0x4010a9 in _start (/home/marxin/Programming/testcases/a.out+0x4010a9)

0x0000004040e4 is located 0 bytes to the right of global variable 'f' defined
in 'global4.c:1:5' (0x4040e0) of size 4
SUMMARY: AddressSanitizer: global-buffer-overflow
(/home/marxin/Programming/testcases/a.out+0x40118d) in main
Shadow bytes around the buggy address:
  0x0000800787c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0000800787d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0000800787e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0000800787f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x000080078800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x000080078810: f9 f9 f9 f9 f9 f9 f9 f9 00 00 00 00[04]f9 f9 f9
  0x000080078820: f9 f9 f9 f9 00 00 00 00 00 00 00 00 00 00 00 00
  0x000080078830: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x000080078840: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x000080078850: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x000080078860: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

There's a left 'f9', but the variable has 4 x '00' which is wrong. That's
probably due to some alignment. But fixing that would fix the underlying
problem of this PR.

There's no assembly changes .s file in between GCC 7 and GCC 8. So a
libsanitizer difference.

However, clang-7 does following:

$ clang -fsanitize=address global4.c -fno-common && ./a.out 
=================================================================
==12765==ERROR: AddressSanitizer: global-buffer-overflow on address
0x000000dd0844 at pc 0x0000004f41ac bp 0x7fffffffdbf0 sp 0x7fffffffdbe8
READ of size 4 at 0x000000dd0844 thread T0
    #0 0x4f41ab in main (/home/marxin/Programming/testcases/a.out+0x4f41ab)
    #1 0x7ffff7c52b7a in __libc_start_main
/usr/src/debug/glibc-2.29-1.3.x86_64/csu/../csu/libc-start.c:308:16
    #2 0x41d2d9 in _start
/home/abuild/rpmbuild/BUILD/glibc-2.29/csu/../sysdeps/x86_64/start.S:120

0x000000dd0844 is located 0 bytes to the right of global variable 'f' defined
in 'global4.c:1:5' (0xdd0840) of size 4
SUMMARY: AddressSanitizer: global-buffer-overflow
(/home/marxin/Programming/testcases/a.out+0x4f41ab) in main
Shadow bytes around the buggy address:
  0x0000801b20b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0000801b20c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0000801b20d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0000801b20e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0000801b20f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x0000801b2100: 00 00 00 00 00 00 00 00[04]f9 f9 f9 f9 f9 f9 f9
  0x0000801b2110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0000801b2120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0000801b2130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0000801b2140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0000801b2150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>From gcc-bugs-return-634484-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 10:56:41 2019
Return-Path: <gcc-bugs-return-634484-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28537 invoked by alias); 21 Feb 2019 10:56:41 -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 28335 invoked by uid 48); 21 Feb 2019 10:56:36 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89280] [7/8/9 Regression] ICE: Segmentation fault (in is_gimple_reg_type)
Date: Thu, 21 Feb 2019 10: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89280-4-UnK2Ah4zYp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89280-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89280-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: 2019-02/txt/msg02786.txt.bz2
Content-length: 684

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89280

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Seems to work fine even if the dead returns_twice call is found later, e.g. on
int a;
void foo (void);
__attribute__ ((returns_twice)) int bar (void);
void baz (int, int);

static inline void
inl (int x)
{
  while (x)
    foo ();
}

void
qux (void)
{
  inl (1);
  baz (bar (), a);
}

it simplifies the GIMPLE IL in einline (and further in ethread), in the end
generates in this case the same assembly, because we don't have those edges in
RTL and so RTL optimizations cure it.  But the abnormal SSA_NAMEs etc. could
get in the way of quite a few optimizations.
>From gcc-bugs-return-634485-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 10:57:27 2019
Return-Path: <gcc-bugs-return-634485-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43825 invoked by alias); 21 Feb 2019 10:57: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 40813 invoked by uid 48); 21 Feb 2019 10:57:23 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82501] AddressSanitizer does not handle negative offset for first global variable
Date: Thu, 21 Feb 2019 10:57: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82501-4-CaO3kO5iRa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82501-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82501-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: 2019-02/txt/msg02787.txt.bz2
Content-length: 1967

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82501

--- Comment #13 from Martin Liška <marxin at gcc dot gnu.org> ---
Not true for:

$ cat global5.c
const char c1[] = "a";

int main()
{
  return *(&c1[0]+3);
}

$ gcc-8 -fsanitize=address global5.c -fno-common && ./a.out 
=================================================================
==13012==ERROR: AddressSanitizer: global-buffer-overflow on address
0x000000402023 at pc 0x00000040118f bp 0x7fffffffdc00 sp 0x7fffffffdbf8
READ of size 1 at 0x000000402023 thread T0
    #0 0x40118e in main (/home/marxin/Programming/testcases/a.out+0x40118e)
    #1 0x7ffff73b4b7a in __libc_start_main ../csu/libc-start.c:308
    #2 0x4010a9 in _start (/home/marxin/Programming/testcases/a.out+0x4010a9)

0x000000402023 is located 1 bytes to the right of global variable 'c1' defined
in 'global5.c:1:12' (0x402020) of size 2
  'c1' is ascii string 'a'
SUMMARY: AddressSanitizer: global-buffer-overflow
(/home/marxin/Programming/testcases/a.out+0x40118e) in main
Shadow bytes around the buggy address:
  0x0000800783b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0000800783c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0000800783d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0000800783e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0000800783f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x000080078400: 00 00 00 00[02]f9 f9 f9 f9 f9 f9 f9 00 00 00 00
  0x000080078410: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x000080078420: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x000080078430: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x000080078440: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x000080078450: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Thus the dummies will be really needed.
>From gcc-bugs-return-634486-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 10:59:08 2019
Return-Path: <gcc-bugs-return-634486-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19476 invoked by alias); 21 Feb 2019 10:59: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 13199 invoked by uid 48); 21 Feb 2019 10:59:02 -0000
From: "jiangning.liu at amperecomputing dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89430] A missing ifcvt optimization to generate csel
Date: Thu, 21 Feb 2019 10:59: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: jiangning.liu at amperecomputing 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-89430-4-7pMs6aDAiJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89430-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89430-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: 2019-02/txt/msg02788.txt.bz2
Content-length: 766

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89430

--- Comment #6 from Jiangning Liu <jiangning.liu at amperecomputing dot com> ---
(In reply to Richard Biener from comment #5)
> (In reply to Jiangning Liu from comment #4)
> > >    We need to be careful with loads
> > >    or stores, for instance a load might not trap, while a store would,
> > >    so if we see a dominating read access this doesn't mean that a later
> > >    write access would not trap.  
> > 
> > Why? For this case, there is a dominating load for the same address. I don't
> > see why it might trap. Any example?
> 
> The memory might be mapped readonly.

But in such a simple basic block, how can it be mapped readonly? We can easily
know it is NOT to do readonly mapping.
>From gcc-bugs-return-634487-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 11:01:35 2019
Return-Path: <gcc-bugs-return-634487-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84509 invoked by alias); 21 Feb 2019 11:01: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 84047 invoked by uid 55); 21 Feb 2019 11:01:24 -0000
From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug hsa/89302] libgomp.c-c++-common/for-11.c fails when offloaded to HSA
Date: Thu, 21 Feb 2019 11:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: hsa
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jamborm 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-89302-4-RkAJKHzJXz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89302-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89302-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: 2019-02/txt/msg02789.txt.bz2
Content-length: 942

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89302

--- Comment #1 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Author: jamborm
Date: Thu Feb 21 11:00:47 2019
New Revision: 269066

URL: https://gcc.gnu.org/viewcvs?rev=269066&root=gcc&view=rev
Log:
[omp] Move NE_EXPR handling to omp_adjust_for_condition

2019-02-21  Martin Jambor  <mjambor@suse.cz>

        PR hsa/89302
        * omp-general.c (omp_extract_for_data): Removed a duplicate call
        to omp_adjust_for_condition, moved NE_EXPR code_cond processing...
        (omp_adjust_for_condition): ...here.  Added necessary parameters.
        * omp-general.h (omp_adjust_for_condition): Updated declaration.
        * omp-grid.c (grid_attempt_target_gridification): Adjust to pass
        proper values to new parameters of omp_adjust_for_condition.



Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/omp-general.c
    trunk/gcc/omp-general.h
    trunk/gcc/omp-grid.c
>From gcc-bugs-return-634488-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 11:03:09 2019
Return-Path: <gcc-bugs-return-634488-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89261 invoked by alias); 21 Feb 2019 11:03: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 89020 invoked by uid 48); 21 Feb 2019 11:03:03 -0000
From: "ibuclaw at gdcproject dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug d/89432] FAIL: libphobos.unittests/druntime/{static,shared}/core.time on CentOS 5.11, Linux 2.6.18
Date: Thu, 21 Feb 2019 11:03:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: d
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ibuclaw at gdcproject dot org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89432-4-YTSmfQoKRc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89432-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89432-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: 2019-02/txt/msg02790.txt.bz2
Content-length: 971

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89432

--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
(In reply to Uroš Bizjak from comment #0)
> libphobos testing on x86_64 CentOS 5.11 fails a testcase:
> 
> 
> There is the following code in time.d:
> 
>     static bool clockSupported(ClockType c)
>     {
>         version (Linux_Pre_2639) // skip CLOCK_BOOTTIME on older linux
> kernels
>             return c != ClockType.second && c != ClockType.bootTime;
>         else
>             return c != ClockType.second; // second doesn't work with
> MonoTimeImpl
> 
> but it looks that Linux_Pre_2639 is not handled correctly. Depending on
> which kernel is considered the oldest supported kernel, version should also
> check for 2.6.28, 2.6.32 and 2.6.12:
> 

Linux_Pre_2639 is not an implicit version, and requires explicit detection and
adding '-fversion=Linux_Pre_2639' to GDCFLAGSX in the configure/testsuite
scripts.
>From gcc-bugs-return-634489-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 11:07:24 2019
Return-Path: <gcc-bugs-return-634489-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20053 invoked by alias); 21 Feb 2019 11:07: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 19890 invoked by uid 48); 21 Feb 2019 11:07:19 -0000
From: "ibuclaw at gdcproject dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug d/89432] FAIL: libphobos.unittests/druntime/{static,shared}/core.time on CentOS 5.11, Linux 2.6.18
Date: Thu, 21 Feb 2019 11:07:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: d
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ibuclaw at gdcproject dot org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89432-4-kwlpt56chs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89432-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89432-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: 2019-02/txt/msg02791.txt.bz2
Content-length: 185

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89432

--- Comment #2 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
Mostly likely check will be adding an HAVE_CLOCK_BOOTIME test.
>From gcc-bugs-return-634490-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 11:08:42 2019
Return-Path: <gcc-bugs-return-634490-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34291 invoked by alias); 21 Feb 2019 11:08:41 -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 34115 invoked by uid 48); 21 Feb 2019 11:08:37 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89365] Inquiry functions for assumed rank objects fail
Date: Thu, 21 Feb 2019 11:08: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pault at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: pault at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc assigned_to
Message-ID: <bug-89365-4-G7QdEaYDbY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89365-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89365-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: 2019-02/txt/msg02792.txt.bz2
Content-length: 648

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89365

Paul Thomas <pault at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
                 CC|                            |pault at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |pault at gcc dot gnu.org

--- Comment #6 from Paul Thomas <pault at gcc dot gnu.org> ---
I agree with the analysis of the standard and will add the corrected testcase
to the testsuite.

Many thanks for sorting this out.

Paul
>From gcc-bugs-return-634491-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 11:09:22 2019
Return-Path: <gcc-bugs-return-634491-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37640 invoked by alias); 21 Feb 2019 11:09: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 37426 invoked by uid 48); 21 Feb 2019 11:09:18 -0000
From: "tschwinge at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89433] New: Repeated use of the OpenACC 'routine' directive
Date: Thu, 21 Feb 2019 11:09: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: openacc
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tschwinge at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: tschwinge 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 dependson target_milestone
Message-ID: <bug-89433-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: 2019-02/txt/msg02793.txt.bz2
Content-length: 1528

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89433

            Bug ID: 89433
           Summary: Repeated use of the OpenACC 'routine' directive
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: openacc
          Severity: normal
          Priority: P3
         Component: c
          Assignee: tschwinge at gcc dot gnu.org
          Reporter: tschwinge at gcc dot gnu.org
        Depends on: 72741
  Target Milestone: ---

We found that it's not correct that we currently unconditionally diagnose an
error for repeated use of the OpenACC 'routine' directive on one
function/declaration.  (For reference, it is also permissible for an "ordinary"
function to have several declarations plus a definition, as long as these are
compatible.)  This is, the following shall be valid:

    #pragma acc routine worker
    void f(void)
    {
    }
    #pragma acc routine (f) worker
    #pragma acc routine worker
    extern void f(void);

Within one translation unit, we just remove the existing diagnostic, and
declare it user error if any two usages are not compatible, but in that case we
try to be helpful, and produce a compile-time diagnostic.  For incompatible use
spanning over multiple translation units, it will be more difficult to produce
meaningful diagnostics/semantics.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72741
[Bug 72741] Fortran OpenACC routine directive doesn't properly handle clauses
specifying the level of parallelism
>From gcc-bugs-return-634492-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 11:15:23 2019
Return-Path: <gcc-bugs-return-634492-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100986 invoked by alias); 21 Feb 2019 11:15:04 -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 100738 invoked by uid 48); 21 Feb 2019 11:15:00 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89365] Inquiry functions for assumed rank objects fail
Date: Thu, 21 Feb 2019 11:15: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: pault at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status
Message-ID: <bug-89365-4-28hmpVO0sc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89365-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89365-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: 2019-02/txt/msg02794.txt.bz2
Content-length: 589

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89365

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
             Status|NEW                         |ASSIGNED

--- Comment #7 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> I agree with the analysis of the standard and will add the corrected testcase
> to the testsuite.

Hi Paul,

Can you please extend the analysis to pr67894?
>From gcc-bugs-return-634493-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 11:28:34 2019
Return-Path: <gcc-bugs-return-634493-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57210 invoked by alias); 21 Feb 2019 11:28: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 57045 invoked by uid 48); 21 Feb 2019 11:28:29 -0000
From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89434] New: [8/9 Regression] wrong code with -Og and __builtin_mul_overflow()
Date: Thu, 21 Feb 2019 11: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: zsojka at seznam dot cz
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 attachments.created
Message-ID: <bug-89434-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: 2019-02/txt/msg02795.txt.bz2
Content-length: 1934

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89434

            Bug ID: 89434
           Summary: [8/9 Regression] wrong code with -Og and
                    __builtin_mul_overflow()
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu
            Target: armv7a-hardfloat-linux-gnueabi

Created attachment 45784
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45784&action=edit
reduced testcase

Output:
$ armv7a-hardfloat-linux-gnueabi-gcc -Og testcase.c -static
$ ./a.out 
qemu: uncaught target signal 6 (Aborted) - core dumped
Aborted

$ armv7a-hardfloat-linux-gnueabi-gcc -v
Using built-in specs.
COLLECT_GCC=/repo/gcc-trunk/binary-latest-armv7a-hardfloat/bin/armv7a-hardfloat-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-269006-checking-yes-rtl-df-extra-armv7a-hardfloat/bin/../libexec/gcc/armv7a-hardfloat-linux-gnueabi/9.0.1/lto-wrapper
Target: armv7a-hardfloat-linux-gnueabi
Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++
--enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra
--with-cloog --with-ppl --with-isl --with-float=hard --with-fpu=vfpv4
--with-arch=armv7-a --with-sysroot=/usr/armv7a-hardfloat-linux-gnueabi
--build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu
--target=armv7a-hardfloat-linux-gnueabi
--with-ld=/usr/bin/armv7a-hardfloat-linux-gnueabi-ld
--with-as=/usr/bin/armv7a-hardfloat-linux-gnueabi-as --disable-libstdcxx-pch
--prefix=/repo/gcc-trunk//binary-trunk-269006-checking-yes-rtl-df-extra-armv7a-hardfloat
Thread model: posix
gcc version 9.0.1 20190219 (experimental) (GCC)
>From gcc-bugs-return-634494-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 11:33:00 2019
Return-Path: <gcc-bugs-return-634494-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69985 invoked by alias); 21 Feb 2019 11:32: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 69743 invoked by uid 48); 21 Feb 2019 11:32:54 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/87880] [9 regression] All macOS asan execution tests FAIL
Date: Thu, 21 Feb 2019 11:32: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-87880-4-aAG8kIL2VB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87880-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87880-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: 2019-02/txt/msg02796.txt.bz2
Content-length: 684

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87880

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I guess on Linux nothing ever calls __cxa_rethrow_primary_exception, so it
isn't a big deal that libasan provides a wrapper for it.
If you want to introduce ASAN_HAS_CXA_RETHROW_PRIMARY_EXCEPTION, it would need
to be introduced some way that either it would default to 1 and
gcc/libsanitizer/asan/Makefile.in was able to override it, so e.g.
#ifndef ASAN_HAS_CXA_RETHROW_PRIMARY_EXCEPTION
# define ASAN_HAS_CXA_RETHROW_PRIMARY_EXCEPTION 1
#endif
in say asan/asan_internal.h and add -DASAN_HAS_CXA_RETHROW_PRIMARY_EXCEPTION=0
to libsanitizer/asan/Makefile.*.
>From gcc-bugs-return-634495-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 11:50:12 2019
Return-Path: <gcc-bugs-return-634495-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46046 invoked by alias); 21 Feb 2019 11:50: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 45689 invoked by uid 48); 21 Feb 2019 11:50:04 -0000
From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89435] New: wrong code with -O1 -march=armv4 -fno-forward-propagate with __builtin_sub_overflow()
Date: Thu, 21 Feb 2019 11:50: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: zsojka at seznam dot cz
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 attachments.created
Message-ID: <bug-89435-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: 2019-02/txt/msg02797.txt.bz2
Content-length: 2626

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89435

            Bug ID: 89435
           Summary: wrong code with -O1 -march=armv4
                    -fno-forward-propagate with __builtin_sub_overflow()
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu
            Target: armv7a-hardfloat-linux-gnueabi

Created attachment 45785
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45785&action=edit
reduced testcase

Output:
$ armv7a-hardfloat-linux-gnueabi-gcc -O1 -march=armv4 -fno-forward-propagate
testcase.c -static
$ ./a.out 
qemu: uncaught target signal 6 (Aborted) - core dumped
Aborted

$ armv7a-hardfloat-linux-gnueabi-gcc -v
Using built-in specs.
COLLECT_GCC=/repo/gcc-trunk/binary-latest-armv7a-hardfloat/bin/armv7a-hardfloat-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-269006-checking-yes-rtl-df-extra-armv7a-hardfloat/bin/../libexec/gcc/armv7a-hardfloat-linux-gnueabi/9.0.1/lto-wrapper
Target: armv7a-hardfloat-linux-gnueabi
Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++
--enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra
--with-cloog --with-ppl --with-isl --with-float=hard --with-fpu=vfpv4
--with-arch=armv7-a --with-sysroot=/usr/armv7a-hardfloat-linux-gnueabi
--build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu
--target=armv7a-hardfloat-linux-gnueabi
--with-ld=/usr/bin/armv7a-hardfloat-linux-gnueabi-ld
--with-as=/usr/bin/armv7a-hardfloat-linux-gnueabi-as --disable-libstdcxx-pch
--prefix=/repo/gcc-trunk//binary-trunk-269006-checking-yes-rtl-df-extra-armv7a-hardfloat
Thread model: posix
gcc version 9.0.1 20190219 (experimental) (GCC) 


The value is 0xffffffff instead of 0xff. It seems to come from this
instruction:

main:
        @ args = 0, pretend = 0, frame = 0
        @ frame_needed = 0, uses_anonymous_args = 0
        push    {r4, r5, r6, lr}        @
@ testcase.c:12:   d = __builtin_bswap64 (a);
        mov     r1, #0  @ tmp173,
@ testcase.c:12:   d = __builtin_bswap64 (a);
        ldr     r3, .L9 @ tmp140,
        str     r1, [r3]        @ tmp173, d
@ testcase.c:13:   b = __builtin_sub_overflow ((u8) - e, (u32) d, &g);
        mvn     r2, #0  @ _19,
        and     r1, r1, #1      @ tmp147, _19,

g is in r2, == 0xffffffff
>From gcc-bugs-return-634496-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 11:50:53 2019
Return-Path: <gcc-bugs-return-634496-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47899 invoked by alias); 21 Feb 2019 11:50:52 -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 47641 invoked by uid 48); 21 Feb 2019 11:50:46 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/87609] [7/8/9 Regression] miscompilation with restrict and loop
Date: Thu, 21 Feb 2019 11:50: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: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87609-4-Pis9h354XS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87609-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87609-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: 2019-02/txt/msg02798.txt.bz2
Content-length: 903

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87609

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Header-less version of the testcase:
typedef __SIZE_TYPE__ size_t;

__attribute__((always_inline)) static inline void
copy (int *restrict a, int *restrict b)
{
  *b = *a;
  *a = 7;
}

__attribute__((noinline)) void
floppy (int *mat, size_t *idxs)
{
  for (int i = 0; i < 3; i++)
    copy (&mat[i%2], &mat[idxs[i]]);
}

int
main ()
{
  int mat[2] = {10, 20};
  size_t idxs[3] = {1, 0, 1};
  floppy (mat, idxs);
  if (mat[0] != 7 || mat[1] != 10)
    __builtin_abort ();
  return 0;
}

Richi, any progress on this?  How should the loop unrolling determine when to
use different base/clique and when to use the same?  I mean, isn't it different
if each loop body invokes another inlined call with restrict args vs. when the
loop is within the same original function?
>From gcc-bugs-return-634497-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 11:52:25 2019
Return-Path: <gcc-bugs-return-634497-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52199 invoked by alias); 21 Feb 2019 11:52: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 52053 invoked by uid 48); 21 Feb 2019 11:52:21 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89093] [9 Regression] C++ exception handling clobbers d8 VFP register
Date: Thu, 21 Feb 2019 11: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: 9.0
X-Bugzilla-Keywords: EH, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: ramana at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89093-4-dofzhPsEmd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89093-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89093-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: 2019-02/txt/msg02799.txt.bz2
Content-length: 150

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89093

--- Comment #29 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Ramana, any progress on this?
>From gcc-bugs-return-634498-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 12:05:06 2019
Return-Path: <gcc-bugs-return-634498-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12317 invoked by alias); 21 Feb 2019 12:05:06 -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 10968 invoked by uid 55); 21 Feb 2019 12:05:00 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/88714] [9 regression] bootstrap comparison failure on armv7l since r265398
Date: Thu, 21 Feb 2019 12:05: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: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
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-88714-4-rPi6s4dHGV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88714-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88714-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: 2019-02/txt/msg02800.txt.bz2
Content-length: 534

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88714

--- Comment #46 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb 21 12:04:26 2019
New Revision: 269067

URL: https://gcc.gnu.org/viewcvs?rev=269067&root=gcc&view=rev
Log:
        PR bootstrap/88714
        * constraints.md (q): Remove.
        * config/arm/ldrdstrd.md (*arm_ldrd, *arm_strd): Use rk constraint
        instead of q.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/constraints.md
    trunk/gcc/config/arm/ldrdstrd.md
>From gcc-bugs-return-634499-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 12:11:19 2019
Return-Path: <gcc-bugs-return-634499-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30418 invoked by alias); 21 Feb 2019 12:11:18 -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 30176 invoked by uid 55); 21 Feb 2019 12:11:14 -0000
From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/87609] [7/8/9 Regression] miscompilation with restrict and loop
Date: Thu, 21 Feb 2019 12:11: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: rguenther at suse dot de
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87609-4-Bo9Egj0o10@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87609-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87609-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: 2019-02/txt/msg02801.txt.bz2
Content-length: 2395

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87609

--- Comment #5 from rguenther at suse dot de <rguenther at suse dot de> ---
On Thu, 21 Feb 2019, jakub at gcc dot gnu.org wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87609
> 
> --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
> Header-less version of the testcase:
> typedef __SIZE_TYPE__ size_t;
> 
> __attribute__((always_inline)) static inline void
> copy (int *restrict a, int *restrict b)
> {
>   *b = *a;
>   *a = 7;
> }
> 
> __attribute__((noinline)) void
> floppy (int *mat, size_t *idxs)
> {
>   for (int i = 0; i < 3; i++)
>     copy (&mat[i%2], &mat[idxs[i]]);
> }
> 
> int
> main ()
> {
>   int mat[2] = {10, 20};
>   size_t idxs[3] = {1, 0, 1};
>   floppy (mat, idxs);
>   if (mat[0] != 7 || mat[1] != 10)
>     __builtin_abort ();
>   return 0;
> }
> 
> Richi, any progress on this?  How should the loop unrolling determine when to
> use different base/clique and when to use the same?  I mean, isn't it different
> if each loop body invokes another inlined call with restrict args vs. when the
> loop is within the same original function?

I've posted the patch as RFC back in October but got no response
(and forgot about it).

In general you always have to use different base/clique unless you
are copying stmts whose access address do not vary with the iteration.
Of course that's only required if the programmer didn't tell you
that there's no aliasing - which makes the issue only appear when
inlining happens.  A similar case would be the user writing

 for (...)
  {
    int * restrict x = &p[i];
    int * restruct y = &p[i+1];
    *x = *y;
  }

but we do not support this "local" generation of restrict qualified
pointers (so you have to jump through inlines to get the same effect).

So eventually we could have a flag in struct function whether
the function had a function with restrict tags inlined into it
and only then perform this copying...  or somehow remember all
"inlined cliques" and only ever remap those (we could divide
the namespace for this - PTA only ever uses a single clique
which we could hard-code to 1, but then PTA runs multiple times
so it might get a little more complicated).

Unfortunately I have no benchmarks or real-world code using
restrict so I cannot really assess the impact of the
boiler-plate remapping in copy_bbs.
>From gcc-bugs-return-634500-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 12:16:05 2019
Return-Path: <gcc-bugs-return-634500-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69568 invoked by alias); 21 Feb 2019 12:15: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 62677 invoked by uid 48); 21 Feb 2019 12:15:53 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89434] [8/9 Regression] wrong code with -Og and __builtin_mul_overflow()
Date: Thu, 21 Feb 2019 12:15: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: wrong-code
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: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-89434-4-zvdtKoZqhM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89434-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89434-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: 2019-02/txt/msg02802.txt.bz2
Content-length: 293

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89434

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |8.3
>From gcc-bugs-return-634501-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 12:20:21 2019
Return-Path: <gcc-bugs-return-634501-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106174 invoked by alias); 21 Feb 2019 12: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 106079 invoked by uid 48); 21 Feb 2019 12:20:17 -0000
From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug hsa/89302] libgomp.c-c++-common/for-11.c fails when offloaded to HSA
Date: Thu, 21 Feb 2019 12:20:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: hsa
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jamborm at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-89302-4-jW2R9DSPXf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89302-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89302-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: 2019-02/txt/msg02803.txt.bz2
Content-length: 427

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89302

Martin Jambor <jamborm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-634502-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 12:23:04 2019
Return-Path: <gcc-bugs-return-634502-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113248 invoked by alias); 21 Feb 2019 12:23:04 -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 113043 invoked by uid 48); 21 Feb 2019 12:23:00 -0000
From: "amker at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/87609] [7/8/9 Regression] miscompilation with restrict and loop
Date: Thu, 21 Feb 2019 12:23: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: amker 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87609-4-BNmkYpmdYE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87609-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87609-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: 2019-02/txt/msg02804.txt.bz2
Content-length: 240

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87609

--- Comment #6 from bin cheng <amker at gcc dot gnu.org> ---
Hmm, I missed your patch as well as this bug.  Will try to study this, just not
sure how much I can recap after long time.
>From gcc-bugs-return-634503-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 12:27:50 2019
Return-Path: <gcc-bugs-return-634503-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125643 invoked by alias); 21 Feb 2019 12: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 124822 invoked by uid 48); 21 Feb 2019 12:27:44 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug d/87824] x86_64-linux multilib issues
Date: Thu, 21 Feb 2019 12:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: d
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87824-4-M1qR0mDkK3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87824-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87824-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: 2019-02/txt/msg02805.txt.bz2
Content-length: 1644

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87824

--- Comment #20 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Rainer Orth from comment #17)
> (In reply to Iain Buclaw from comment #6)
> [...]
> > > Running target unix
> > > FAIL: runnable/cppa.d   execution test
> > > FAIL: runnable/cppa.d -g   execution test
> > > FAIL: runnable/cppa.d -g -shared-libphobos   execution test
> > > FAIL: runnable/cppa.d -shared-libphobos   execution test
> > 
> > Have now reproduced, the test checks old behaviour that I dropped support
> > for long ago.  The first failed attempt to have a type that maps to C 'long'
> > and 'unsigned long' had a 'struct __c_long' type that expected the compiler
> > to magically pass it around as the correct integer type.  This had
> > passed/gone unnoticed on x86_64 because 'struct{long}' and 'long' are passed
> > in the same way.
> > 
> > Support should have been removed from the dmd front-end when it was dropped
> > from the library, but it still lives on in the testsuite.
> 
> I'm seeing the same not only on Linux/x86_64, but also on Solaris/x86, only
> for the non-default multilib.
> 
> The failure is the same however:
> 
> In file included from runnable/extra-files/cppb.cpp:36:^M
> /vol/gcc/src/hg/trunk/dist/gcc/testsuite/../../libstdc++-v3/libsupc++/
> exception:37:10: fatal error: bits/c++config.h: No such file or directory^M

I'd like to propose an alternative patch. The testsuite harness should simply
ask libstdc++ for correct include paths, like in the to be attached patch.

(This is how libstdc++ testsuite determines correct include flags.)
>From gcc-bugs-return-634504-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 12:30:49 2019
Return-Path: <gcc-bugs-return-634504-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120549 invoked by alias); 21 Feb 2019 12:30: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 115870 invoked by uid 48); 21 Feb 2019 12:30:39 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug d/87824] x86_64-linux multilib issues
Date: Thu, 21 Feb 2019 12:30:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: d
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-87824-4-kU0yYrkBOi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87824-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87824-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: 2019-02/txt/msg02806.txt.bz2
Content-length: 266

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87824

--- Comment #21 from Uroš Bizjak <ubizjak at gmail dot com> ---
Created attachment 45786
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45786&action=edit
Patch for libstdc++ multilib include issue
>From gcc-bugs-return-634505-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 12:51:46 2019
Return-Path: <gcc-bugs-return-634505-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96003 invoked by alias); 21 Feb 2019 12:51: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 95853 invoked by uid 48); 21 Feb 2019 12:51:42 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/70341] [7/8/9 Regression] cost model for addresses is incorrect, slsr is using reg + reg + CST for arm
Date: Thu, 21 Feb 2019 12:51: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: 5.3.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-70341-4-H9oQljyisi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70341-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70341-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: 2019-02/txt/msg02807.txt.bz2
Content-length: 1686

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70341

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
With additional default: __builtin_unreachable (); this gets somewhat optimized 
into:
        add     r0, r0, r1
        cmp     r3, #3
        ldrls   pc, [pc, r3, asl #2]
        b       .L3
.L4:
        .word   .L7
        .word   .L6
        .word   .L5
        .word   .L3
.L5:
        ldr     r0, [r0, #8]
        b       handle_case_3
.L6:
        ldr     r0, [r0, #8]
        b       handle_case_2
.L7:
        ldr     r0, [r0, #8]
        b       handle_case_1
.L3:
        ldr     r0, [r0, #8]
        b       handle_case_4
so add r0, r0, r1 is hoisted by the jump2 pass, but strangely it doesn't happen
for the ldr r0, [r0, #8] instruction.
On x86_64-linux with -O2, we also get:
        movl    8(%rsi), %edi
        jmp     handle_case_2
...
        movl    8(%rsi), %edi
        jmp     handle_case_4
etc. without the default: and the jump2 pass hoists those movl 8(%rsi), %edi
instructions before the switch.
Guess the reason why jump2 doesn't hoist anything without default:
__builtin_unreachable (); is that the instruction(s) are not common to all the
paths, so it would be a speculative execution, which still is a win for -Os.
Though, on x86_64 for -Os and 5 such cases instead of 4 (for 4 there is no
switch, but a series of conditional branches) the RA actually does hoist it.
>From gcc-bugs-return-634506-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 13:05:27 2019
Return-Path: <gcc-bugs-return-634506-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84902 invoked by alias); 21 Feb 2019 13:05:26 -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 82175 invoked by uid 48); 21 Feb 2019 13:05:22 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/87412] -fcf-protection and -mindirect-branch=thunk are incompatible on x86_64
Date: Thu, 21 Feb 2019 13:05: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: wrong-code
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: target_milestone
Message-ID: <bug-87412-4-rXHvVEEGbC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87412-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87412-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: 2019-02/txt/msg02808.txt.bz2
Content-length: 427

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87412

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |9.0

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
A patch is posted at

https://gcc.gnu.org/ml/gcc-patches/2018-09/msg01436.html
>From gcc-bugs-return-634507-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 13:41:11 2019
Return-Path: <gcc-bugs-return-634507-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35889 invoked by alias); 21 Feb 2019 13:41: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 35585 invoked by uid 48); 21 Feb 2019 13:41:05 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/87609] [7/8/9 Regression] miscompilation with restrict and loop
Date: Thu, 21 Feb 2019 13:41: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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-87609-4-qt3XTkiOMI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87609-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87609-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: 2019-02/txt/msg02809.txt.bz2
Content-length: 546

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87609

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Created attachment 45787
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45787&action=edit
first part of a fix

This makes PTA always populate (and overwrite) CLIQUE == 1, partitioning
cliques
into "function local" ones (just CLIQUE == 1) and ones introduced to the
function via inlining (CLIQUE > 1) - those have narrower scope than the
function and thus
we may have to remap them whenever we copy a stmt.
>From gcc-bugs-return-634508-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 13:42:30 2019
Return-Path: <gcc-bugs-return-634508-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48690 invoked by alias); 21 Feb 2019 13:42: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 48594 invoked by uid 55); 21 Feb 2019 13:42:25 -0000
From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/87412] -fcf-protection and -mindirect-branch=thunk are incompatible on x86_64
Date: Thu, 21 Feb 2019 13:42: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl 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:
Message-ID: <bug-87412-4-L30eZeaGQo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87412-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87412-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: 2019-02/txt/msg02810.txt.bz2
Content-length: 1190

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87412

--- Comment #3 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Thu Feb 21 13:41:53 2019
New Revision: 269068

URL: https://gcc.gnu.org/viewcvs?rev=269068&root=gcc&view=rev
Log:
i386: Check -mindirect-branch/-mfunction-return with -fcf-protection

Issue an error when -mindirect-branch or -mfunction-return are used
with incompatible -fcf-protection.

gcc/

        PR target/87412
        * config/i386/i386.c (ix86_set_indirect_branch_type): Issue an
        error for -mindirect-branch/-mfunction-return with incompatible
        -fcf-protection.

gcc/testsuite/

        PR target/87412
        * gcc.target/i386/pr87412-1.c: New file.
        * gcc.target/i386/pr87412-2.c: Likewise.
        * gcc.target/i386/pr87412-3.c: Likewise.
        * gcc.target/i386/pr87412-4.c: Likewise.

Added:
    trunk/gcc/testsuite/gcc.target/i386/pr87412-1.c
    trunk/gcc/testsuite/gcc.target/i386/pr87412-2.c
    trunk/gcc/testsuite/gcc.target/i386/pr87412-3.c
    trunk/gcc/testsuite/gcc.target/i386/pr87412-4.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634509-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 13:43:14 2019
Return-Path: <gcc-bugs-return-634509-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53494 invoked by alias); 21 Feb 2019 13:43: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 53398 invoked by uid 48); 21 Feb 2019 13:43:10 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/87412] -fcf-protection and -mindirect-branch=thunk are incompatible on x86_64
Date: Thu, 21 Feb 2019 13:43: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-87412-4-rTSD7shufd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87412-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87412-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: 2019-02/txt/msg02811.txt.bz2
Content-length: 425

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87412

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed for GCC 9.
>From gcc-bugs-return-634510-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 13:47:09 2019
Return-Path: <gcc-bugs-return-634510-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114641 invoked by alias); 21 Feb 2019 13:47: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 72502 invoked by uid 48); 21 Feb 2019 13:44:41 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/87609] [7/8/9 Regression] miscompilation with restrict and loop
Date: Thu, 21 Feb 2019 13: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: 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-87609-4-4lp75jy04j@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87609-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87609-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: 2019-02/txt/msg02812.txt.bz2
Content-length: 666

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87609

--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
Created attachment 45788
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45788&action=edit
second part

This is the second part (was already posted for review in October), I've
removed
the extra checking (which fires...) and added an assert.

First one is separately in testing plus both ones together.

Note that with all the copying overflowing of clique just became more likely
so I'll eventually abstract away the ++fun->last_clique and overflow to
zero (no dependence info).  But of course 32000 cliques should be enough
forever!
>From gcc-bugs-return-634511-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 14:25:40 2019
Return-Path: <gcc-bugs-return-634511-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115040 invoked by alias); 21 Feb 2019 14:25: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 112046 invoked by uid 48); 21 Feb 2019 14:25:35 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/87525] [7/8/9 Regression] infinite loop generated for fread() if enabling -flto and -D_FORTIFY_SOURCE=2
Date: Thu, 21 Feb 2019 14:25: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: 7.3.1
X-Bugzilla-Keywords: lto, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87525-4-hHERckYril@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87525-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87525-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: 2019-02/txt/msg02813.txt.bz2
Content-length: 283

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87525

--- Comment #20 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
This seems to make sense.  One should clone extern inline only if something
useful can be propagated across I suppose. Patch is OK with some comment and
testcase.
>From gcc-bugs-return-634512-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 14:41:40 2019
Return-Path: <gcc-bugs-return-634512-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17697 invoked by alias); 21 Feb 2019 14:41: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 17570 invoked by uid 48); 21 Feb 2019 14:41:36 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/70341] [7/8/9 Regression] cost model for addresses is incorrect, slsr is using reg + reg + CST for arm
Date: Thu, 21 Feb 2019 14:41: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: 5.3.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-70341-4-VMJvktnC2U@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70341-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70341-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: 2019-02/txt/msg02814.txt.bz2
Content-length: 809

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70341

--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45789
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45789&action=edit
gcc9-pr70341.patch

Untested fix for e.g.:
#define A(N) void foo##N (int);
#define B(N) A(N##0) A(N##1) A(N##2) A(N##3)
#define C(N) B(N##0) B(N##1) B(N##2) B(N##3)
#define D C(1) C(2)
D

struct E { int a, b, c, d; };
struct F { struct E e[1]; };

void
test (struct F *x, int y)
{
  struct E *p = &x->e[y];
#undef A
#define A(N) case N: foo##N (p->c); break;
  switch (p->b)
    {
    D
    default: __builtin_unreachable ();
    }
}

at -O2 on both arm and aarch64 - by making sure the casesi MEM load is mem/u/c
try_head_merge_bb is willing to move over the loads across the casesi.
>From gcc-bugs-return-634513-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 15:09:57 2019
Return-Path: <gcc-bugs-return-634513-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89601 invoked by alias); 21 Feb 2019 15:09: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 89430 invoked by uid 48); 21 Feb 2019 15:09:50 -0000
From: "przemyslaw.wirkus at arm dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89436] New: [8/9 Regression] ICE in glibc/sysdeps/ieee754/dbl-64/e_pow.c (internal compiler error: in decompose, at rtl.h:2266)
Date: Thu, 21 Feb 2019 15:09: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: przemyslaw.wirkus at arm 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-89436-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: 2019-02/txt/msg02815.txt.bz2
Content-length: 3383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89436

            Bug ID: 89436
           Summary: [8/9 Regression] ICE in
                    glibc/sysdeps/ieee754/dbl-64/e_pow.c (internal
                    compiler error: in decompose, at rtl.h:2266)
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: przemyslaw.wirkus at arm dot com
  Target Milestone: ---

# GCC Version
    revision r268990

# Host system type
    Linux machine 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018
x86_64 x86_64 x86_64 GNU/Linux
    Ubuntu 18.04.2 LTS

# Options given when GCC was configured/built (gcc2 stage)
    --target=arm-none-linux-gnueabi \
    --enable-shared \
    --disable-libatomic \
    --without-cloog \
    --without-isl \
    --disable-libssp \
    --disable-libgomp \
    --disable-libmudflap \
    --disable-libquadmath \
    --enable-checking=yes \
    --enable-languages=c  \
    --with-float=softfp \
    --with-fpu=crypto-neon-fp-armv8 \
    --with-mode=thumb \
    --with-arch=armv8-a \
    --with-arch=armv7-a

# Reduced testcase and command line that triggers the bug

$cat e_pow_cpp.c
typedef double a;
b;
c() {
  a d, e;
  b = d + d * e;
}

$ ./arm-none-linux-gnueabi-gcc -O2 -g e_pow_cpp.c -S -w -march=armv8-a
-mfloat-abi=softfp -mfpu=crypto-neon-fp-armv8
e_pow_cpp.c:2:1: warning: data definition has no type or storage class
    2 | b;
      | ^
e_pow_cpp.c:2:1: warning: type defaults to ‘int’ in declaration of ‘b’
[-Wimplicit-int]
e_pow_cpp.c:3:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
    3 | c() {
      | ^
e_pow_cpp.c: In function ‘c’:
e_pow_cpp.c:6:1: error: qsort comparator non-negative on sorted output: 0
    6 | }
      | ^
during RTL pass: cprop_hardreg
e_pow_cpp.c:6:1: internal compiler error: qsort checking failed
0x5a3764 qsort_chk_error
        $src/gcc/gcc/vec.c:214
0x14f0b09 qsort_chk(void*, unsigned long, unsigned long, int (*)(void const*,
void const*))
        $src/gcc/gcc/vec.c:257
0x151d1b1 gcc_qsort(void*, unsigned long, unsigned long, int (*)(void const*,
void const*))
        $src/gcc/gcc/sort.cc:238
0x7a6fa8 vec<df_mw_hardreg*, va_heap, vl_embed>::qsort(int (*)(void const*,
void const*))
        $src/gcc/gcc/vec.h:1114
0x7a6fa8 vec<df_mw_hardreg*, va_heap, vl_ptr>::qsort(int (*)(void const*, void
const*))
        $src/gcc/gcc/vec.h:1898
0x7a6fa8 df_sort_and_compress_mws
        $src/gcc/gcc/df-scan.c:2252
0x7a6fa8 df_canonize_collection_rec
        $src/gcc/gcc/df-scan.c:2281
0x7a932f df_insn_refs_collect
        $src/gcc/gcc/df-scan.c:3229
0x7a973a df_insn_refs_verify
        $src/gcc/gcc/df-scan.c:4088
0x7ab403 df_insn_rescan(rtx_insn*)
        $src/gcc/gcc/df-scan.c:1065
0xb44897 confirm_change_group()
        $src/gcc/gcc/recog.c:503
0xb47c1c apply_change_group()
        $src/gcc/gcc/recog.c:516
0xb4bbc8 copyprop_hardreg_forward_1
        $src/gcc/gcc/regcprop.c:1001
0xb4bfb9 execute
        $src/gcc/gcc/regcprop.c:1307
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-634514-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 15:25:01 2019
Return-Path: <gcc-bugs-return-634514-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38822 invoked by alias); 21 Feb 2019 15:25: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 37908 invoked by uid 48); 21 Feb 2019 15:24:40 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89434] [8/9 Regression] wrong code with -Og and __builtin_mul_overflow()
Date: Thu, 21 Feb 2019 15:25: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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 everconfirmed
Message-ID: <bug-89434-4-FIey6fEBKp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89434-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89434-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: 2019-02/txt/msg02816.txt.bz2
Content-length: 1069

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89434

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-21
                 CC|                            |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Testcase for gcc.c-torture/execute/:
/* PR rtl-optimization/89434 */

#if __SIZEOF_INT__ == 4 && __SIZEOF_LONG_LONG__ == 8 && __CHAR_BIT__ == 8
long g = 0;

static inline unsigned long long
foo (unsigned long long u)
{
  unsigned x;
  __builtin_mul_overflow (-1, g, &x);
  u |= (unsigned) u < (unsigned short) x;
  return x - u;
}

int
main ()
{
  unsigned long long x = foo (0x222222222ULL);
  if (x != 0xfffffffddddddddeULL)
    __builtin_abort ();
  return 0;
}
#else
int
main ()
{
  return 0;
}
#endif
>From gcc-bugs-return-634515-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 15:27:34 2019
Return-Path: <gcc-bugs-return-634515-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48658 invoked by alias); 21 Feb 2019 15:27: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 46386 invoked by uid 48); 21 Feb 2019 15:27:29 -0000
From: "a.drobyshev at samsung dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82501] AddressSanitizer does not handle negative offset for first global variable
Date: Thu, 21 Feb 2019 15:27: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: a.drobyshev at samsung dot com
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: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82501-4-rbBsFvxvHV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82501-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82501-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: 2019-02/txt/msg02817.txt.bz2
Content-length: 3338

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82501

--- Comment #14 from Andrey Drobyshev <a.drobyshev at samsung dot com> ---
(In reply to Martin Liška from comment #12)

> However:
> g++-8 -fsanitize=address global4.c -fno-common && ./a.out 
> =================================================================
> ==12713==ERROR: AddressSanitizer: global-buffer-overflow on address
> 0x0000004040e4 at pc 0x00000040118e bp 0x7fffffffdc00 sp 0x7fffffffdbf8
> READ of size 4 at 0x0000004040e4 thread T0
>     #0 0x40118d in main (/home/marxin/Programming/testcases/a.out+0x40118d)
>     #1 0x7ffff7076b7a in __libc_start_main ../csu/libc-start.c:308
>     #2 0x4010a9 in _start (/home/marxin/Programming/testcases/a.out+0x4010a9)
> 
> 0x0000004040e4 is located 0 bytes to the right of global variable 'f'
> defined in 'global4.c:1:5' (0x4040e0) of size 4
> SUMMARY: AddressSanitizer: global-buffer-overflow
> (/home/marxin/Programming/testcases/a.out+0x40118d) in main
> Shadow bytes around the buggy address:
>   0x0000800787c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>   0x0000800787d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>   0x0000800787e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>   0x0000800787f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>   0x000080078800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> =>0x000080078810: f9 f9 f9 f9 f9 f9 f9 f9 00 00 00 00[04]f9 f9 f9
>   0x000080078820: f9 f9 f9 f9 00 00 00 00 00 00 00 00 00 00 00 00
>   0x000080078830: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>   0x000080078840: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>   0x000080078850: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>   0x000080078860: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 
> There's a left 'f9', but the variable has 4 x '00' which is wrong. That's
> probably due to some alignment. But fixing that would fix the underlying
> problem of this PR.
> 

As far as I can tell, this particular redzone has nothing to do with globals
layout. It is produced by the following calls:

#0  __asan::PoisonShadow (addr=6294944, size=64, value=249 '\371') at
/home/src/gcc/libsanitizer/asan/asan_poisoning.cc:39
#1  0x00007ffff716ac31 in __asan_register_globals (globals=0x600da0, n=1) at
/home/src/gcc/libsanitizer/asan/asan_globals.cc:371
#2  0x0000000000400815 in _GLOBAL__sub_I_00099_1_main () at global4.c:6
#3  0x000000000040086d in __libc_csu_init ()
#4  0x00007ffff6d847bf in __libc_start_main (main=0x40079f <main>, argc=1,
argv=0x7fffffffe6b8, init=0x400820 <__libc_csu_init>, fini=<optimized out>,
rtld_fini=<optimized out>, 
    stack_end=0x7fffffffe6a8) at ../csu/libc-start.c:247
#5  0x00000000004006b9 in _start ()

Looking at asan_globals.cc:370:
   // Poison the metadata. It should not be accessible to user code.            
   PoisonShadow(reinterpret_cast<uptr>(globals), n * sizeof(__asan_global),     
                kAsanGlobalRedzoneMagic);

So this redzone is just a struct __asan_global, which is being poisoned.
gcc-7 and gcc-8 just make this struct relocate at different adresses for some
reason.
>From gcc-bugs-return-634516-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 15:43:24 2019
Return-Path: <gcc-bugs-return-634516-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52197 invoked by alias); 21 Feb 2019 15:43: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 52010 invoked by uid 48); 21 Feb 2019 15:43:18 -0000
From: "wilco at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89437] New: [9 regression] incorrect result for sinl (atanl (x))
Date: Thu, 21 Feb 2019 15:43: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: wilco 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-89437-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: 2019-02/txt/msg02818.txt.bz2
Content-length: 1174

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89437

            Bug ID: 89437
           Summary: [9 regression] incorrect result for sinl (atanl (x))
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: wilco at gcc dot gnu.org
  Target Milestone: ---

A recently added optimization uses an inline expansion for sinl (atanl (x)). As
it involves computing sqrtl (x * x + 1) which can overflow for large x, there
is a check to ensure x is within the right range. The check emitted is x <=
sqrtl (LDBL_MAX). It's not clear whether that's a bug in mpfr or
build_sinatan_real, however it is safe to change the test to x < sqrtl
(LDBL_MAX).

In principle the comparison should use a much smaller constant given that x * x
+ 1 equals x * x for x > 2^113 for any long double format, so we know sinl
(atanl (x)) must be 1.0 for all larger values.

Testcase is gcc.dg/sinatan-1.c after using nextafterl instead of incorrect
nextafter for the long double. I'll post a patch to fix this.
>From gcc-bugs-return-634517-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 15:50:03 2019
Return-Path: <gcc-bugs-return-634517-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107709 invoked by alias); 21 Feb 2019 15:50: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 107036 invoked by uid 55); 21 Feb 2019 15:49:58 -0000
From: "sgk at troutmask dot apl.washington.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89431] CPP integer macros not defined
Date: Thu, 21 Feb 2019 15:50: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:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89431-4-MQu9K5RlQh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89431-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89431-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: 2019-02/txt/msg02819.txt.bz2
Content-length: 1162

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89431

--- Comment #5 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Thu, Feb 21, 2019 at 10:09:03AM +0000, dominiq at lps dot ens.fr wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89431
> 
> Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>            Priority|P3                          |P5
>              Status|UNCONFIRMED                 |NEW
>    Last reconfirmed|                            |2019-02-21
>                  CC|                            |kargl at gcc dot gnu.org
>      Ever confirmed|0                           |1
>            Severity|normal                      |enhancement
> 
> --- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> These macros have been introduced at revision r267464.
> 
> Looking at the code I don't see why  __GFC_REAL_* are defined, but not
> __GFC_INTEGER_*.
> 

The INTEGER are not needed for the IEEE arithmetic modules.  Read
ieee_arithmetic.F90.
>From gcc-bugs-return-634518-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 15:52:54 2019
Return-Path: <gcc-bugs-return-634518-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116201 invoked by alias); 21 Feb 2019 15:52: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 115996 invoked by uid 48); 21 Feb 2019 15:52:49 -0000
From: "przemyslaw.wirkus at arm dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89438] New: [9 Regression] ICE in glibc/sysdeps/ieee754/dbl-64/e_pow.c (internal compiler error: in decompose, at rtl.h:2266)
Date: Thu, 21 Feb 2019 15:52: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: przemyslaw.wirkus at arm 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-89438-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: 2019-02/txt/msg02820.txt.bz2
Content-length: 4551

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89438

            Bug ID: 89438
           Summary: [9 Regression] ICE in
                    glibc/sysdeps/ieee754/dbl-64/e_pow.c (internal
                    compiler error: in decompose, at rtl.h:2266)
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: przemyslaw.wirkus at arm dot com
  Target Milestone: ---

# GCC Version
    revision r268990

# Host system type
    Linux machine 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018
x86_64 x86_64 x86_64 GNU/Linux
    Ubuntu 18.04.2 LTS

# Options given when GCC was configured/built (gcc2 stage)
    --target=arm-none-linux-gnueabi \
    --enable-shared \
    --disable-libatomic \
    --without-cloog \
    --without-isl \
    --disable-libssp \
    --disable-libgomp \
    --disable-libmudflap \
    --disable-libquadmath \
    --enable-checking=yes \
    --enable-languages=c  \
    --with-float=softfp \
    --with-fpu=crypto-neon-fp-armv8 \
    --with-mode=thumb \
    --with-arch=armv8-a \
    --with-arch=armv7-a

# Reduced testcase and command line that triggers the bug

$ cat e_pow_cpp.c
typedef double a;
struct {
  double b;
  double c;
  struct {
    double d, e
  } f[]
} g;
h, i, j;
double k;
double l() {
  int m;
  if (j)
    return;
  long ix, p = ix - 80;
  a kd, n;
  n = kd * h + g.f[p].e;
  m = n;
  a o = 1 ? m : 1.0;
  k = i ? -o : o;
  return k;
}

$ ./arm-none-linux-gnueabi-gcc -O2 -g e_pow_cpp.c -S -w -march=armv8-a
-mfloat-abi=softfp -mfpu=crypto-neon-fp-armv8
during RTL pass: vartrack
e_pow_cpp.c: In function ‘l’:
e_pow_cpp.c:22:1: internal compiler error: in decompose, at rtl.h:2266
   22 | }
      | ^
0xbbc00f wi::int_traits<std::pair<rtx_def*, machine_mode> >::decompose(long*,
unsigned int, std::pair<rtx_def*, machine_mode> const&)
        $src/gcc/gcc/rtl.h:2264
0xbbc00f wide_int_ref_storage<false,
false>::wide_int_ref_storage<std::pair<rtx_def*, machine_mode>
>(std::pair<rtx_def*, machine_mode> const&, unsigned int)
        $src/gcc/gcc/wide-int.h:1013
0xbbc00f generic_wide_int<wide_int_ref_storage<false, false>
>::generic_wide_int<std::pair<rtx_def*, machine_mode> >(std::pair<rtx_def*,
machine_mode> const&, unsigned int)
        $src/gcc/gcc/wide-int.h:788
0xbbc00f wi::binary_traits<std::pair<rtx_def*, machine_mode>,
std::pair<rtx_def*, machine_mode>, wi::int_traits<std::pair<rtx_def*,
machine_mode> >::precision_type, wi::int_traits<std::pair<rtx_def*,
machine_mode> >::precision_type>::result_type wi::sub<std::pair<rtx_def*,
machine_mode>, std::pair<rtx_def*, machine_mode> >(std::pair<rtx_def*,
machine_mode> const&, std::pair<rtx_def*, machine_mode> const&)
        $src/gcc/gcc/wide-int.h:2488
0xbbc00f simplify_const_binary_operation(rtx_code, machine_mode, rtx_def*,
rtx_def*)
        $src/gcc/gcc/simplify-rtx.c:4282
0xbb9a7f simplify_binary_operation(rtx_code, machine_mode, rtx_def*, rtx_def*)
        $src/gcc/gcc/simplify-rtx.c:2164
0xbc566b simplify_plus_minus
        $src/gcc/gcc/simplify-rtx.c:4686
0xbb62ab simplify_binary_operation_1
        $src/gcc/gcc/simplify-rtx.c:2388
0xbb9acd simplify_binary_operation(rtx_code, machine_mode, rtx_def*, rtx_def*)
        $src/gcc/gcc/simplify-rtx.c:2167
0x780327 cselib_expand_value_rtx_1
        $src/gcc/gcc/cselib.c:1856
0x781c8e cselib_expand_value_rtx_cb(rtx_def*, bitmap_head*, int, rtx_def*
(*)(rtx_def*, bitmap_head*, int, void*), void*)
        $src/gcc/gcc/cselib.c:1562
0xf11ef1 vt_expand_var_loc_chain
        $src/gcc/gcc/var-tracking.c:8384
0xf11ef1 vt_expand_loc_callback
        $src/gcc/gcc/var-tracking.c:8547
0x780242 cselib_expand_value_rtx_1
        $src/gcc/gcc/cselib.c:1716
0x77ffc5 cselib_expand_value_rtx_1
        $src/gcc/gcc/cselib.c:1755
0x781c8e cselib_expand_value_rtx_cb(rtx_def*, bitmap_head*, int, rtx_def*
(*)(rtx_def*, bitmap_head*, int, void*), void*)
        $src/gcc/gcc/cselib.c:1562
0xf11ef1 vt_expand_var_loc_chain
        $src/gcc/gcc/var-tracking.c:8384
0xf11ef1 vt_expand_loc_callback
        $src/gcc/gcc/var-tracking.c:8547
0x780242 cselib_expand_value_rtx_1
        $src/gcc/gcc/cselib.c:1716
0x77ffc5 cselib_expand_value_rtx_1
        $src/gcc/gcc/cselib.c:1755
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-634519-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 15:56:43 2019
Return-Path: <gcc-bugs-return-634519-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34569 invoked by alias); 21 Feb 2019 15:56: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 34302 invoked by uid 48); 21 Feb 2019 15:56:38 -0000
From: "wilco at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86829] Missing sin(atan(x)) and cos(atan(x)) optimizations
Date: Thu, 21 Feb 2019 15: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: missed-optimization, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wilco at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-86829-4-UGPfG1Xnao@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86829-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86829-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: 2019-02/txt/msg02821.txt.bz2
Content-length: 509

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86829

Wilco <wilco at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wilco at gcc dot gnu.org

--- Comment #8 from Wilco <wilco at gcc dot gnu.org> ---
This has caused a regression, see
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89437 and
https://gcc.gnu.org/ml/gcc-patches/2019-02/msg01739.html
>From gcc-bugs-return-634520-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 15:57:04 2019
Return-Path: <gcc-bugs-return-634520-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36155 invoked by alias); 21 Feb 2019 15:57:04 -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 35975 invoked by uid 48); 21 Feb 2019 15:57:00 -0000
From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89438] [9 Regression] ICE in glibc/sysdeps/ieee754/dbl-64/e_pow.c (internal compiler error: in decompose, at rtl.h:2266)
Date: Thu, 21 Feb 2019 15:57: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: ktkachov at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_known_to_work cf_reconfirmed_on component cc everconfirmed target_milestone cf_known_to_fail
Message-ID: <bug-89438-4-Es0DVuIDxO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89438-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89438-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: 2019-02/txt/msg02822.txt.bz2
Content-length: 863

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89438

ktkachov at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
             Status|UNCONFIRMED                 |NEW
      Known to work|                            |8.2.1
   Last reconfirmed|                            |2019-02-21
          Component|c                           |rtl-optimization
                 CC|                            |ktkachov at gcc dot gnu.org
     Ever confirmed|0                           |1
   Target Milestone|---                         |9.0
      Known to fail|                            |9.0

--- Comment #1 from ktkachov at gcc dot gnu.org ---
Confirmed. Also needs -mthumb if your compiler use it by default.
>From gcc-bugs-return-634521-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 16:02:35 2019
Return-Path: <gcc-bugs-return-634521-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125252 invoked by alias); 21 Feb 2019 16:02: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 125123 invoked by uid 48); 21 Feb 2019 16:02:31 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89434] [7/8/9 Regression] wrong code with -Og and __builtin_mul_overflow()
Date: Thu, 21 Feb 2019 16:02: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status component assigned_to target_milestone short_desc
Message-ID: <bug-89434-4-oiU7V8mVGe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89434-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89434-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: 2019-02/txt/msg02823.txt.bz2
Content-length: 702

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89434

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
          Component|rtl-optimization            |target
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
   Target Milestone|8.3                         |7.5
            Summary|[8/9 Regression] wrong code |[7/8/9 Regression] wrong
                   |with -Og and                |code with -Og and
                   |__builtin_mul_overflow()    |__builtin_mul_overflow()
>From gcc-bugs-return-634522-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 16:09:05 2019
Return-Path: <gcc-bugs-return-634522-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15240 invoked by alias); 21 Feb 2019 16:09: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 14995 invoked by uid 55); 21 Feb 2019 16:09:00 -0000
From: "sgk at troutmask dot apl.washington.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89431] CPP integer macros not defined
Date: Thu, 21 Feb 2019 16:09: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:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89431-4-ZHhgbRmzTo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89431-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89431-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: 2019-02/txt/msg02824.txt.bz2
Content-length: 688

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89431

--- Comment #6 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Thu, Feb 21, 2019 at 10:44:25AM +0000, dominiq at lps dot ens.fr wrote:
>            4           8          10          16
>  __GFC_REAL_10__ defined
>  __GFC_REAL_16__ defined

These are needed for the IEEE arithmetic module, where
there is a catch 22 in writing ieee_selected_real_kind.
One needs to know that REAL(10) and REAL(16) exists,
and selected_real_kind is insufficient.  These can 
probably be removed if someone wants to rewrite 
ieee_arithmetic.F90 in m4, and then have the library
build system generate ieee_arithmetic.f90 from m4.
>From gcc-bugs-return-634523-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 16:11:25 2019
Return-Path: <gcc-bugs-return-634523-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25440 invoked by alias); 21 Feb 2019 16:11: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 24404 invoked by uid 48); 21 Feb 2019 16:11:20 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89434] [7/8/9 Regression] wrong code with -Og and __builtin_mul_overflow()
Date: Thu, 21 Feb 2019 16:11: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89434-4-UmevTN3jFS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89434-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89434-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: 2019-02/txt/msg02825.txt.bz2
Content-length: 154

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89434

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I think this started with r197520.
>From gcc-bugs-return-634524-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 16:21:51 2019
Return-Path: <gcc-bugs-return-634524-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74132 invoked by alias); 21 Feb 2019 16:21: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 73796 invoked by uid 48); 21 Feb 2019 16:21:45 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89434] [7/8/9 Regression] wrong code with -Og and __builtin_mul_overflow()
Date: Thu, 21 Feb 2019 16: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89434-4-4KBsVVbUIM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89434-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89434-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: 2019-02/txt/msg02826.txt.bz2
Content-length: 253

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89434

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45790
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45790&action=edit
gcc9-pr89434.patch

Untested fix.
>From gcc-bugs-return-634525-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 16:32:22 2019
Return-Path: <gcc-bugs-return-634525-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37951 invoked by alias); 21 Feb 2019 16:32: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 37687 invoked by uid 48); 21 Feb 2019 16:32:17 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89434] [7/8/9 Regression] wrong code with -Og and __builtin_mul_overflow()
Date: Thu, 21 Feb 2019 16: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: 9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89434-4-TUIlNkDGwf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89434-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89434-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: 2019-02/txt/msg02827.txt.bz2
Content-length: 1999

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89434

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |collison at gcc dot gnu.org,
                   |                            |gretay at gcc dot gnu.org,
                   |                            |ktkachov at gcc dot gnu.org

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
On the testcase, we have
(insn 56 55 50 2 (set (reg:SI 137 [ u+4 ])
        (const_int 2 [0x2])) "pr89434.c":9:5 652 {*arm_movsi_vfp}
     (nil))
...
(insn 53 52 24 2 (set (subreg:SI (reg:DI 118 [ _11 ]) 4)
        (minus:SI (minus:SI (reg:SI 139 [ _5+4 ])
                (reg:SI 137 [ u+4 ]))
            (ltu:SI (reg:CC_C 100 cc)
                (const_int 0 [0])))) "pr89434.c":10:12 29 {*subsi3_carryin}
     (nil))
in asmcons and IRA determines it can propagate the constant into the
instruction:
(insn 53 57 24 2 (set (subreg:SI (reg:DI 118 [ _11 ]) 4)
        (minus:SI (plus:SI (reg:SI 139 [ _5+4 ])
                (const_int -2 [0xfffffffffffffffe]))
            (ltu:SI (reg:CC_C 100 cc)
                (const_int 0 [0])))) "pr89434.c":10:12 30
{*subsi3_carryin_const}
     (expr_list:REG_DEAD (reg:SI 139 [ _5+4 ])
        (expr_list:REG_DEAD (reg:CC_C 100 cc)
            (nil))))
The RTL pattern looks good, but it actually emits
        sbc     r1, r3, #1
instruction, which is actually r1 = r3 + (-1) - carry aka r1 = r3 - 1 - carry
rather than r1 = r3 + (-2) - carry aka r1 = r3 - 2 - carry.
We shouldn't bitwise ~ the number, but negate it to get the constant we want.
And the *subsi3_carryin_compare_const looks totally wrong, not only it doesn't
contain even the PR70014 fix, but if it matches, it will match something
completely different from what it wants to match.  This define_insn change is
completely untested though.
>From gcc-bugs-return-634526-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 17:12:15 2019
Return-Path: <gcc-bugs-return-634526-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85208 invoked by alias); 21 Feb 2019 17:12: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 85041 invoked by uid 48); 21 Feb 2019 17:12:10 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89439] New: [7/8/9 Regression] ICE in make_ssa_name_fn, at tree-ssanames.c:268
Date: Thu, 21 Feb 2019 17:12: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: gscfq@t-online.de
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-89439-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: 2019-02/txt/msg02828.txt.bz2
Content-length: 4063

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89439

            Bug ID: 89439
           Summary: [7/8/9 Regression] ICE in make_ssa_name_fn, at
                    tree-ssanames.c:268
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Feeding g++ with testsuite/gcc.c-torture/compile/pr84305.c
affects versions since g++-7 at -O1+ :


$ cat pr84305.c
int res, a, b;
void *foo;
static void f2 (int arg) { res = ((int (*)[arg][b]) foo)[0][0][0]; }
void f1 (void) { f2 (a); }


$ gcc-9-20190217 -c pr84305.c -O2
$
$ g++-6          -c pr84305.c -O2
$
$ g++-9-20190217 -c pr84305.c -O0
$
$ g++-9-20190217 -c pr84305.c -O2
during GIMPLE pass: eipa_sra
pr84305.c: In function 'void _ZL2f2i.isra.0(int)':
pr84305.c:4:26: internal compiler error: Segmentation fault
    4 | void f1 (void) { f2 (a); }
      |                          ^
0xe32b7f crash_signal
        ../../gcc/toplev.c:326
0x1076397 make_ssa_name_fn(function*, tree_node*, gimple*, unsigned int)
        ../../gcc/tree-ssanames.c:268
0xebb95e make_ssa_name
        ../../gcc/tree-ssanames.h:114
0xebb95e remap_ssa_name
        ../../gcc/tree-inline.c:245
0xec2c17 copy_tree_body_r(tree_node**, int*, void*)
        ../../gcc/tree-inline.c:1134
0x112d5f3 walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*),
void*, hash_set<tree_node*, default_hash_traits<tree_node*> >*, tree_node*
(*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*,
hash_set<tree_node*, default_hash_traits<tree_node*> >*))
        ../../gcc/tree.c:12093
0x112de82 walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*),
void*, hash_set<tree_node*, default_hash_traits<tree_node*> >*, tree_node*
(*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*,
hash_set<tree_node*, default_hash_traits<tree_node*> >*))
        ../../gcc/tree.c:12415
0x112de82 walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*),
void*, hash_set<tree_node*, default_hash_traits<tree_node*> >*, tree_node*
(*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*,
hash_set<tree_node*, default_hash_traits<tree_node*> >*))
        ../../gcc/tree.c:12415
0xeba9f6 remap_type_1
        ../../gcc/tree-inline.c:594
0xeb9481 remap_type(tree_node*, copy_body_data*)
        ../../gcc/tree-inline.c:623
0xec3952 remap_gimple_op_r
        ../../gcc/tree-inline.c:1015
0x112d5f3 walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*),
void*, hash_set<tree_node*, default_hash_traits<tree_node*> >*, tree_node*
(*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*,
hash_set<tree_node*, default_hash_traits<tree_node*> >*))
        ../../gcc/tree.c:12093
0x112de82 walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*),
void*, hash_set<tree_node*, default_hash_traits<tree_node*> >*, tree_node*
(*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*,
hash_set<tree_node*, default_hash_traits<tree_node*> >*))
        ../../gcc/tree.c:12415
0x112de82 walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*),
void*, hash_set<tree_node*, default_hash_traits<tree_node*> >*, tree_node*
(*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*,
hash_set<tree_node*, default_hash_traits<tree_node*> >*))
        ../../gcc/tree.c:12415
0xb72a13 walk_gimple_op(gimple*, tree_node* (*)(tree_node**, int*, void*),
walk_stmt_info*)
        ../../gcc/gimple-walk.c:202
0xebcb91 remap_gimple_stmt
        ../../gcc/tree-inline.c:1794
0xebdf54 copy_bb
        ../../gcc/tree-inline.c:1844
0xebfcba copy_cfg_body
        ../../gcc/tree-inline.c:2779
0xebfcba copy_body
        ../../gcc/tree-inline.c:3021
0xec93a6 tree_function_versioning(tree_node*, tree_node*, vec<ipa_replace_map*,
va_gc, vl_embed>*, bool, bitmap_head*, bool, bitmap_head*, basic_block_def*)
        ../../gcc/tree-inline.c:5989
>From gcc-bugs-return-634527-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 17:15:56 2019
Return-Path: <gcc-bugs-return-634527-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103257 invoked by alias); 21 Feb 2019 17:15:55 -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 100540 invoked by uid 48); 21 Feb 2019 17:15:51 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89440] New: [9 Regression] ICE in vect_create_epilog_for_reduction, at tree-vect-loop.c:5502
Date: Thu, 21 Feb 2019 17:15: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: gscfq@t-online.de
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-89440-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: 2019-02/txt/msg02829.txt.bz2
Content-length: 1738

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89440

            Bug ID: 89440
           Summary: [9 Regression] ICE in
                    vect_create_epilog_for_reduction, at
                    tree-vect-loop.c:5502
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Changed between 20181111 and 20181118,
with -Ofast or -O3 -ffast-math :


$ cat z1.c
float
f (float x)
{
  int i;
  float j;
  float a = 0;
  for (i = 0; i < 4; ++i)
    {
      for (j = 0; j < 4; ++j)
        {
          a += 1;
          x += a;
        }
    }
  return x;
}


$ gcc-9-20181111 -c z1.c -Ofast
$
$ gcc-9-20190217 -c z1.c -Ofast
during GIMPLE pass: vect
z1.c: In function 'f':
z1.c:2:1: internal compiler error: in vect_create_epilog_for_reduction, at
tree-vect-loop.c:5502
    2 | f (float x)
      | ^
0x5b2dbd vect_create_epilog_for_reduction
        ../../gcc/tree-vect-loop.c:5500
0xc865c4 vectorizable_reduction(_stmt_vec_info*, gimple_stmt_iterator*,
_stmt_vec_info**, _slp_tree*, _slp_instance*, vec<stmt_info_for_cost, va_heap,
vl_ptr>*)
        ../../gcc/tree-vect-loop.c:7088
0xc79390 vect_transform_stmt(_stmt_vec_info*, gimple_stmt_iterator*,
_slp_tree*, _slp_instance*)
        ../../gcc/tree-vect-stmts.c:9784
0xc7aa3f vect_transform_loop_stmt
        ../../gcc/tree-vect-loop.c:8139
0xc7d78d vect_transform_loop(_loop_vec_info*)
        ../../gcc/tree-vect-loop.c:8358
0xca3726 try_vectorize_loop_1
        ../../gcc/tree-vectorizer.c:979
0xca3fc1 vectorize_loops()
        ../../gcc/tree-vectorizer.c:1111
>From gcc-bugs-return-634528-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 17:20:53 2019
Return-Path: <gcc-bugs-return-634528-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130268 invoked by alias); 21 Feb 2019 17:20:52 -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 130065 invoked by uid 48); 21 Feb 2019 17:20:48 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89435] wrong code with -O1 -march=armv4 -fno-forward-propagate with __builtin_sub_overflow()
Date: Thu, 21 Feb 2019 17:20: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89435-4-QZQlCSLOcF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89435-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89435-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: 2019-02/txt/msg02830.txt.bz2
Content-length: 3280

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89435

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-21
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |segher at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
So, before combine we have:
(insn 106 2 23 2 (set (reg:SI 170 [+4 ])
        (const_int 0 [0])) "pr89435.c":8:7 179 {*arm_movsi_insn}
     (nil))
...
(insn 27 26 28 2 (set (reg:SI 142)
        (const_int 255 [0xff])) "pr89435.c":9:7 179 {*arm_movsi_insn}
     (nil))
...
(insn 27 26 28 2 (set (reg:SI 142)
        (const_int 255 [0xff])) "pr89435.c":9:7 179 {*arm_movsi_insn}
     (nil))
(insn 28 27 36 2 (parallel [
            (set (reg:CC 100 cc)
                (compare:CC (reg:SI 142)
                    (reg:SI 170 [+4 ])))
            (set (reg:SI 141)
                (minus:SI (reg:SI 142)
                    (reg:SI 170 [+4 ])))
        ]) "pr89435.c":9:7 28 {subsi3_compare1}
     (expr_list:REG_DEAD (reg:SI 170 [+4 ])
        (expr_list:REG_DEAD (reg:SI 142)
            (expr_list:REG_UNUSED (reg:CC 100 cc)
                (nil)))))
...
(insn 42 99 43 4 (set (reg:QI 125 [ _18 ])
        (subreg:QI (reg:SI 141) 0)) "pr89435.c":9:7 189 {*arm_movqi_insn}
     (expr_list:REG_DEAD (reg:SI 141)
        (nil)))
...
(insn 77 76 78 8 (set (reg:SI 164)
        (and:SI (subreg:SI (reg:QI 125 [ _18 ]) 0)
            (const_int 255 [0xff]))) "pr89435.c":11:9 82 {*arm_andsi3_insn}
     (expr_list:REG_DEAD (reg:QI 125 [ _18 ])
        (nil)))
(insn 78 77 79 8 (set (reg:SI 124 [ _15 ])
        (plus:SI (reg:SI 164)
            (reg:SI 162))) "pr89435.c":11:9 4 {*arm_addsi3}
     (expr_list:REG_DEAD (reg:SI 164)
        (expr_list:REG_DEAD (reg:SI 162)
            (nil))))
That looks good and will set (reg:SI 164) to 255.

Combiner makes:
(insn 28 27 36 2 (set (reg:SI 141)
        (const_int 255 [0xff])) "pr89435.c":9:7 179 {*arm_movsi_insn}
     (nil))
...
(insn 42 36 43 2 (set (reg:QI 125 [ _18 ])
        (subreg:QI (reg:SI 141) 0)) "pr89435.c":9:7 189 {*arm_movqi_insn}
     (expr_list:REG_DEAD (reg:SI 141)
        (nil)))
...
(insn 78 77 79 7 (set (reg:SI 124 [ _15 ])
        (plus:SI (reg:SI 162)
            (subreg:SI (reg:QI 125 [ _18 ]) 0))) "pr89435.c":11:9 4
{*arm_addsi3}
     (expr_list:REG_DEAD (reg:QI 125 [ _18 ])
        (expr_list:REG_DEAD (reg:SI 162)
            (nil))))
and that looks already wrong to me, because it has optimized away the &= 255. 
The paradoxical register in the insn 78 means the upper bits are undefined, but
we really use the upper bits later on (fully 32-bit comparison).  Either it
should have propagated the constant down, or it can't assume anything about the
paradoxical subreg bits (if they must not be ignored), because the RA can stick
the different pseudos into different registers, rather than setting a single hw
register to 0xff and then having the upper bits always zero.
>From gcc-bugs-return-634529-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 17:24:08 2019
Return-Path: <gcc-bugs-return-634529-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8469 invoked by alias); 21 Feb 2019 17:24: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 8213 invoked by uid 48); 21 Feb 2019 17:24:01 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89435] wrong code with -O1 -march=armv4 -fno-forward-propagate with __builtin_sub_overflow()
Date: Thu, 21 Feb 2019 17:24: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89435-4-jTGyOkLOvP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89435-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89435-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: 2019-02/txt/msg02831.txt.bz2
Content-length: 606

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89435

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
In particular, the wrong combination is I think:
Trying 77 -> 78:
   77: r164:SI=r125:QI#0&0xff
      REG_DEAD r125:QI
   78: r124:SI=r164:SI+r162:SI
      REG_DEAD r164:SI
      REG_DEAD r162:SI
Successfully matched this instruction:
(set (reg:SI 124 [ _15 ])
    (plus:SI (reg:SI 162)
        (subreg:SI (reg:QI 125 [ _18 ]) 0)))
That is simply not equivalent, even if we know that the value assigned to
pseudo 125 is constant 0xff and we loaded it into SImode register somewhere.
>From gcc-bugs-return-634530-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 17:35:15 2019
Return-Path: <gcc-bugs-return-634530-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117851 invoked by alias); 21 Feb 2019 17:35: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 117638 invoked by uid 48); 21 Feb 2019 17:35:10 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89435] [7/8/9 Regression] wrong code with -O1 -march=armv4 -fno-forward-propagate with __builtin_sub_overflow()
Date: Thu, 21 Feb 2019 17: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone short_desc
Message-ID: <bug-89435-4-ctjIW1zfDd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89435-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89435-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: 2019-02/txt/msg02832.txt.bz2
Content-length: 830

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89435

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |7.5
            Summary|wrong code with -O1         |[7/8/9 Regression] wrong
                   |-march=armv4                |code with -O1 -march=armv4
                   |-fno-forward-propagate with |-fno-forward-propagate with
                   |__builtin_sub_overflow()    |__builtin_sub_overflow()

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Bisecting now, from skimming of what combiner does r242085 was still ok and
r242439 already not.  But don't have a setup where can I actually run
-march=armv4 code.
>From gcc-bugs-return-634531-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 17:38:29 2019
Return-Path: <gcc-bugs-return-634531-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126815 invoked by alias); 21 Feb 2019 17:38: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 126603 invoked by uid 48); 21 Feb 2019 17:38:24 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/30357] Enum typecast warning
Date: Thu, 21 Feb 2019 17:38: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: unknown
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: egallager 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-30357-4-YRwgIbSN8G@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-30357-4@http.gcc.gnu.org/bugzilla/>
References: <bug-30357-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: 2019-02/txt/msg02833.txt.bz2
Content-length: 843

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30357

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu.org,
                   |                            |redi at gcc dot gnu.org

--- Comment #5 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #4)
> (In reply to Andrew Pinski from comment #1)
> > Related to PR 12242.
> 
> And also bug 67314 and bug 7654 (assignments without the cast), bug 78736
> and bug 60591 (conversions), and bug 52763 (comparisons). Should probably be
> closed as a dup of one of them. Or maybe the other way around.

Any preferences as to which way to go?
>From gcc-bugs-return-634532-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 18:02:18 2019
Return-Path: <gcc-bugs-return-634532-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96315 invoked by alias); 21 Feb 2019 18:02: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 96018 invoked by uid 55); 21 Feb 2019 18:02:13 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86119] [8/9 Regression] Intrinsic len has wrong type if used within select type for a class(*) string
Date: Thu, 21 Feb 2019 18: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: 8.1.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
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-86119-4-xPbgv3QiO6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86119-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86119-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: 2019-02/txt/msg02834.txt.bz2
Content-length: 974

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86119

--- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Thu Feb 21 18:01:41 2019
New Revision: 269070

URL: https://gcc.gnu.org/viewcvs?rev=269070&root=gcc&view=rev
Log:
2019-02-21  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR fortran/86119
    * class.c (gfc_get_len_component): Add argument k for kind.
    If the kind of the resulting expression is not equal to k,
    convert it.
    * gfortran.h (gfc_len_component): Adjust prototype.
    * simplify.c (gfc_simplify_len): Pass kind to
    gfc_get_len_component.

2019-02-21  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR fortran/86119
    * gfortran.dg/warn_conversion_11.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/warn_conversion_11.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/class.c
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/simplify.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634533-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 18:05:11 2019
Return-Path: <gcc-bugs-return-634533-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105915 invoked by alias); 21 Feb 2019 18:05: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 105713 invoked by uid 48); 21 Feb 2019 18:05:06 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86119] [8 Regression] Intrinsic len has wrong type if used within select type for a class(*) string
Date: Thu, 21 Feb 2019 18:05: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.1.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone short_desc
Message-ID: <bug-86119-4-rpiBJrZmty@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86119-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86119-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: 2019-02/txt/msg02835.txt.bz2
Content-length: 709

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86119

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4
            Summary|[8/9 Regression] Intrinsic  |[8 Regression] Intrinsic
                   |len has wrong type if used  |len has wrong type if used
                   |within select type for a    |within select type for a
                   |class(*) string             |class(*) string

--- Comment #6 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Fixed on trunk, waiting until gcc-8 reopens for a backport.
>From gcc-bugs-return-634535-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 18:09:43 2019
Return-Path: <gcc-bugs-return-634535-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117854 invoked by alias); 21 Feb 2019 18:09: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 117654 invoked by uid 48); 21 Feb 2019 18:09:38 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89425] [9 Regression] -Wabsolute-value warns in dead subexpressions
Date: Thu, 21 Feb 2019 18:09: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: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-89425-4-DnFuVNckeo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89425-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89425-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: 2019-02/txt/msg02837.txt.bz2
Content-length: 467

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89425

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |msebor at gcc dot gnu.org

--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
Testing a simple fix.
>From gcc-bugs-return-634534-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 18:09:14 2019
Return-Path: <gcc-bugs-return-634534-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116198 invoked by alias); 21 Feb 2019 18:09: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 116029 invoked by uid 48); 21 Feb 2019 18:09:10 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89425] [9 Regression] -Wabsolute-value warns in dead subexpressions
Date: Thu, 21 Feb 2019 18:09: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: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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 short_desc everconfirmed
Message-ID: <bug-89425-4-iGpA6yjO7k@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89425-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89425-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: 2019-02/txt/msg02836.txt.bz2
Content-length: 2237

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89425

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-21
                 CC|                            |msebor at gcc dot gnu.org
            Summary|-Wabsolute-value warns in   |[9 Regression]
                   |dead code                   |-Wabsolute-value warns in
                   |                            |dead subexpressions
     Ever confirmed|0                           |1

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed. For reference, the -Wshift-count-overflow warning handles this
correctly (of course, if still fires when the dead code is in an if statement).
 Since there is a precedent/solution for avoiding these warnings in the C
front-end I suppose this bug qualifies as a 9 regression.

$ cat u.c && gcc -S -Wall -Wextra -m32 u.c
long f (long x)
{
  return sizeof (x) == 8 ? x >> 63 : x >> 31;   // no warning for unreachable
subexpression (good)
}

long g (long x)
{
  if (sizeof (x) == 8) return x >> 63; else return x >> 31;   //
-Wshift-count-overflow for unreachable statement
}

double h (double x)
{ 
  return sizeof (x) == sizeof (float) ? __builtin_fabsf (x) : __builtin_fabs
(x);   // -Wabsolute-value for unreachable subexpression
}

u.c: In function ‘g’:
u.c:8:33: warning: right shift count >= width of type [-Wshift-count-overflow]
    8 |   if (sizeof (x) == 8) return x >> 63; else return x >> 31;
      |                                 ^~
u.c: In function ‘h’:
u.c:13:41: warning: absolute value function ‘__builtin_fabsf’ given an argument
of type ‘double’ but has parameter of type ‘float’ which may cause truncation
of value [-Wabsolute-value]
   13 |   return sizeof (x) == sizeof (float) ? __builtin_fabsf (x) :
__builtin_fabs (x);   // -Wabsolute-value for unreachable subexpression
      |                                         ^~~~~~~~~~~~~~~
>From gcc-bugs-return-634536-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 18:16:53 2019
Return-Path: <gcc-bugs-return-634536-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92939 invoked by alias); 21 Feb 2019 18:16:52 -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 92682 invoked by uid 55); 21 Feb 2019 18:16:47 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88690] [7/8/9 Regression] c++17 internal compiler error: in output_constructor_regular_field, at varasm.c:5031
Date: Thu, 21 Feb 2019 18:16: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.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88690-4-W2tB9HD1q7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88690-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88690-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: 2019-02/txt/msg02838.txt.bz2
Content-length: 1042

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88690

--- Comment #11 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Feb 21 18:16:15 2019
New Revision: 269073

URL: https://gcc.gnu.org/viewcvs?rev=269073&root=gcc&view=rev
Log:
        PR c++/88690 - C++17 ICE with empty base in aggregate.

Base fields for empty bases appear in initialization order, which may not be
the same as layout order.  If they also show up in a CONSTRUCTOR in that
order, output_constructor_regular_field aborts because it understandably
doesn't want to go backwards.  I also considered making o_c_r_f more
tolerant of the case where the out-of-order field has fieldsize 0, and so no
actual data needs to be emitted, but we might as well avoid adding an
element to the CONSTRUCTOR in the first place.

        * typeck2.c (process_init_constructor_record): Skip trivial
        initialization of an empty base.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1z/aggr-base7.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck2.c
>From gcc-bugs-return-634537-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 18:17:30 2019
Return-Path: <gcc-bugs-return-634537-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95092 invoked by alias); 21 Feb 2019 18:17: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 94886 invoked by uid 48); 21 Feb 2019 18:17:25 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88572] error: braces around scalar initializer - should be a warning
Date: Thu, 21 Feb 2019 18:17: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: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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 cc resolution target_milestone
Message-ID: <bug-88572-4-ugxC9lYa5e@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88572-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88572-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: 2019-02/txt/msg02839.txt.bz2
Content-length: 560

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88572

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jason at gcc dot gnu.org
         Resolution|---                         |FIXED
   Target Milestone|---                         |9.0

--- Comment #18 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed in GCC 9.
>From gcc-bugs-return-634538-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 18:18:06 2019
Return-Path: <gcc-bugs-return-634538-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97338 invoked by alias); 21 Feb 2019 18:18:04 -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 97068 invoked by uid 48); 21 Feb 2019 18:18:01 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88690] [7/8 Regression] c++17 internal compiler error: in output_constructor_regular_field, at varasm.c:5031
Date: Thu, 21 Feb 2019 18:18: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.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-88690-4-zuHIxUh0dH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88690-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88690-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: 2019-02/txt/msg02840.txt.bz2
Content-length: 626

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88690

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[7/8/9 Regression] c++17    |[7/8 Regression] c++17
                   |internal compiler error: in |internal compiler error: in
                   |output_constructor_regular_ |output_constructor_regular_
                   |field, at varasm.c:5031     |field, at varasm.c:5031

--- Comment #12 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed on trunk so far.
>From gcc-bugs-return-634539-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 18:18:42 2019
Return-Path: <gcc-bugs-return-634539-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99484 invoked by alias); 21 Feb 2019 18:18:41 -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 99115 invoked by uid 48); 21 Feb 2019 18:18:33 -0000
From: "danglin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/83453] FAIL: c-c++-common/Wattributes.c  -std=gnu++98  (test for warnings, line 404)
Date: Thu, 21 Feb 2019 18:18:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: danglin 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-83453-4-XaADTahVTy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83453-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83453-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: 2019-02/txt/msg02841.txt.bz2
Content-length: 1671

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83453

--- Comment #3 from John David Anglin <danglin at gcc dot gnu.org> ---
The test was fixed to handle error at 404 on hppa64 and s390:

inline int ATTR ((aligned (4)))
  finline_hot_noret_align (int);  /* { dg-warning "ignoring attribute .aligned
\
\(4\\). because it conflicts with attribute .aligned \\(8\\)." "" { target { !
{
 hppa*64*-*-* s390*-*-* } } } } */
/* { dg-error "alignment for '.*finline_hot_noret_align.*' must be at least 8"
"
" { target hppa*64*-*-* s390*-*-* } .-1 } */

However, the error no longer occurs with gcc-9:

/test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wattributes.c:398:29: warning:
igno
ring attribute 'cold' because it conflicts with attribute 'hot' [-Wattributes]
/test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wattributes.c:395:1: note:
previous
 declaration here
/test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wattributes.c:401:29: warning:
igno
ring attribute 'warn_unused_result' because it conflicts with attribute
'noretur
n' [-Wattributes]
/test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wattributes.c:398:1: note:
previous
 declaration here
/test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wattributes.c:411:29: warning:
igno
ring attribute 'const' because it conflicts with attribute 'noreturn'
[-Wattribu
tes]
/test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wattributes.c:408:1: note:
previous
 declaration here
/test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wattributes.c:425:1: warning:
ignor
ing attribute 'nocommon' because it conflicts with attribute 'common'
[-Wattribu
tes]
/test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wattributes.c:422:1: note:
previous
 declaration here
>From gcc-bugs-return-634540-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 18:19:03 2019
Return-Path: <gcc-bugs-return-634540-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100875 invoked by alias); 21 Feb 2019 18:19: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 100643 invoked by uid 48); 21 Feb 2019 18:18:59 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88380] [7/8 Regression] Sequence of not-explicitly initialised, initialised, variable length generates no initialiser
Date: Thu, 21 Feb 2019 18:19: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-88380-4-UGE2Ah8rij@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88380-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88380-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: 2019-02/txt/msg02842.txt.bz2
Content-length: 682

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88380

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[7/8/9 Regression] Sequence |[7/8 Regression] Sequence
                   |of not-explicitly           |of not-explicitly
                   |initialised, initialised,   |initialised, initialised,
                   |variable length generates   |variable length generates
                   |no initialiser              |no initialiser

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed on trunk so far.
>From gcc-bugs-return-634541-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 18:25:48 2019
Return-Path: <gcc-bugs-return-634541-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47481 invoked by alias); 21 Feb 2019 18:25: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 47276 invoked by uid 48); 21 Feb 2019 18:25:43 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89435] [7/8/9 Regression] wrong code with -O1 -march=armv4 -fno-forward-propagate with __builtin_sub_overflow()
Date: Thu, 21 Feb 2019 18:25: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: wrong-code
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89435-4-vrlGZoWbQy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89435-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89435-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: 2019-02/txt/msg02843.txt.bz2
Content-length: 1103

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89435

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu.org

--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> The paradoxical register in the insn 78 means the upper bits are
> undefined, but we really use the upper bits later on (fully 32-bit
> comparison).  Either it should have propagated the constant down, or it
> can't assume anything about the paradoxical subreg bits (if they must not be
> ignored), because the RA can stick the different pseudos into different
> registers, rather than setting a single hw register to 0xff and then having
> the upper bits always zero.

The RA (reload/LRA) has special provisions for WORD_REGISTER_OPERATIONS targets
though to make sure that only full words are reloaded, so that the combiner can
make such assumptions.  I can have a closer look at the PR if you want.
>From gcc-bugs-return-634542-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 18:53:18 2019
Return-Path: <gcc-bugs-return-634542-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45624 invoked by alias); 21 Feb 2019 18:53:18 -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 45292 invoked by uid 48); 21 Feb 2019 18:53:14 -0000
From: "danglin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/89441] New: FAIL: g++.dg/ipa/pr89009.C  -std=gnu++98 (test for excess errors)
Date: Thu, 21 Feb 2019 18:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: danglin 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_gcchost cf_gcctarget cf_gccbuild
Message-ID: <bug-89441-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: 2019-02/txt/msg02844.txt.bz2
Content-length: 2089

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89441

            Bug ID: 89441
           Summary: FAIL: g++.dg/ipa/pr89009.C  -std=gnu++98 (test for
                    excess errors)
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---
              Host: hppa64-hp-hpux11.11
            Target: hppa64-hp-hpux11.11
             Build: hppa64-hp-hpux11.11

spawn /test/gnu/gcc/objdir/gcc/testsuite/g++/../../xg++
-B/test/gnu/gcc/objdir/gcc/testsuite/g++/../../
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/ipa/pr89009.C
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -nostdinc++
-I/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/hppa64-hp-hpux11.11
-I/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include
-I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++
-I/test/gnu/gcc/gcc/libstdc++-v3/include/backward
-I/test/gnu/gcc/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -std=gnu++98
-fvisibility=hidden -fpic -O2 -fno-inline
-L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libstdc++-v3/src/.libs
-B/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libstdc++-v3/src/.libs
-L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libstdc++-v3/src/.libs -lm -o
./pr89009.exe
ld: (Warning) Potential unresolved symbol "main":
shared library reference is resolved to non-exported
definition in file "/var/tmp//ccx7UrAn.o".
1 warnings.
output is:
ld: (Warning) Potential unresolved symbol "main":
shared library reference is resolved to non-exported
definition in file "/var/tmp//ccx7UrAn.o".
1 warnings.

FAIL: g++.dg/ipa/pr89009.C  -std=gnu++98 (test for excess errors)
Excess errors:
ld: (Warning) Potential unresolved symbol "main":
shared library reference is resolved to non-exported
definition in file "/var/tmp//ccx7UrAn.o".
1 warnings.

Why does test hide main?
>From gcc-bugs-return-634543-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 18:59:37 2019
Return-Path: <gcc-bugs-return-634543-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107039 invoked by alias); 21 Feb 2019 18:59:36 -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 106920 invoked by uid 55); 21 Feb 2019 18:59:33 -0000
From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/87412] -fcf-protection and -mindirect-branch=thunk are incompatible on x86_64
Date: Thu, 21 Feb 2019 18:59: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-87412-4-Y4a5PdXuI0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87412-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87412-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: 2019-02/txt/msg02845.txt.bz2
Content-length: 1364

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87412

--- Comment #5 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Thu Feb 21 18:59:00 2019
New Revision: 269074

URL: https://gcc.gnu.org/viewcvs?rev=269074&root=gcc&view=rev
Log:
i386: Replace -fcf-protection with -fcf-protection=branch

Since -mindirect-branch is incompatible with -fcf-protection=return and
-fcf-protection, replace -fcf-protection with -fcf-protection=branch.

        PR target/87412
        * gcc.target/i386/indirect-thunk-attr-14.c: Replace
        -fcf-protection with -fcf-protection=branch.
        * gcc.target/i386/indirect-thunk-attr-15.c: Likewise.
        * gcc.target/i386/indirect-thunk-attr-16.c: Likewise.
        * gcc.target/i386/indirect-thunk-extern-8.c: Likewise.
        * gcc.target/i386/indirect-thunk-extern-9.c: Likewise.
        * gcc.target/i386/indirect-thunk-extern-10.c: Likewise.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-14.c
    trunk/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-15.c
    trunk/gcc/testsuite/gcc.target/i386/indirect-thunk-attr-16.c
    trunk/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-10.c
    trunk/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-8.c
    trunk/gcc/testsuite/gcc.target/i386/indirect-thunk-extern-9.c
>From gcc-bugs-return-634544-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 19:00:40 2019
Return-Path: <gcc-bugs-return-634544-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112222 invoked by alias); 21 Feb 2019 19:00: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 111192 invoked by uid 48); 21 Feb 2019 19:00:22 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/83453] FAIL: c-c++-common/Wattributes.c  -std=gnu++98  (test for warnings, line 404)
Date: Thu, 21 Feb 2019 19:00:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 8.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:
Message-ID: <bug-83453-4-osz1ENioBj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83453-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83453-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: 2019-02/txt/msg02846.txt.bz2
Content-length: 525

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83453

--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
The checking was relaxed to allow the attribute to specify a less restrictive
alignment than the minimum provided by the target without triggering the
warning, so the xfails can be removed.  The rationale for the relaxation is
that a looser alignment is trivially satisfied by providing a stricter
alignment.  The following discussion has the background:
https://gcc.gnu.org/ml/gcc/2018-11/msg00127.html
>From gcc-bugs-return-634545-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 19:15:21 2019
Return-Path: <gcc-bugs-return-634545-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57394 invoked by alias); 21 Feb 2019 19:15: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 57184 invoked by uid 48); 21 Feb 2019 19:15:02 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86119] [8 Regression] Intrinsic len has wrong type if used within select type for a class(*) string
Date: Thu, 21 Feb 2019 19:15: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.1.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-86119-4-OL92RtIZ3n@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86119-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86119-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: 2019-02/txt/msg02847.txt.bz2
Content-length: 489

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86119

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |tkoenig at gcc dot gnu.org

--- Comment #7 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Just to make sure I don't forget this.
>From gcc-bugs-return-634546-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 19:18:28 2019
Return-Path: <gcc-bugs-return-634546-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44912 invoked by alias); 21 Feb 2019 19:18: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 39978 invoked by uid 55); 21 Feb 2019 19:18:23 -0000
From: "dave.anglin at bell dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/83453] FAIL: c-c++-common/Wattributes.c  -std=gnu++98  (test for warnings, line 404)
Date: Thu, 21 Feb 2019 19:18:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dave.anglin at bell dot net
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-83453-4-GnwkDXJ7Qi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83453-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83453-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: 2019-02/txt/msg02848.txt.bz2
Content-length: 869

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83453

--- Comment #5 from dave.anglin at bell dot net ---
On 2019-02-21 2:00 p.m., msebor at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83453
>
> --- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
> The checking was relaxed to allow the attribute to specify a less restrictive
> alignment than the minimum provided by the target without triggering the
> warning, so the xfails can be removed.  The rationale for the relaxation is
> that a looser alignment is trivially satisfied by providing a stricter
> alignment.  The following discussion has the background:
> https://gcc.gnu.org/ml/gcc/2018-11/msg00127.html
>
Okay, I will remove hppa64 and s390 error check.  However, it seems the warning
at 404 is not generated
on hppa64 and s390, but it is on other targets.
>From gcc-bugs-return-634547-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 19:36:23 2019
Return-Path: <gcc-bugs-return-634547-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46932 invoked by alias); 21 Feb 2019 19:36: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 46678 invoked by uid 48); 21 Feb 2019 19:36:16 -0000
From: "ibuclaw at gdcproject dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug d/87824] x86_64-linux multilib issues
Date: Thu, 21 Feb 2019 19:36:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: d
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ibuclaw at gdcproject dot org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87824-4-4tOKZ7qiON@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87824-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87824-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: 2019-02/txt/msg02849.txt.bz2
Content-length: 840

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87824

--- Comment #22 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
(In reply to Uroš Bizjak from comment #20)
> 
> I'd like to propose an alternative patch. The testsuite harness should
> simply ask libstdc++ for correct include paths, like in the to be attached
> patch.
> 
> (This is how libstdc++ testsuite determines correct include flags.)

Seems reasonable.

Filtering out flags not recognized by D would mean there's no need to touch
libstdc++.


# For the tests that mix C++ and D, need to know where headers are located.
set odir [lookfor_file ${gccpath} libstdc++-v3]
if { ${odir} != "" } {
    set cxxflags [exec sh ${odir}/scripts/testsuite_flags --build-includes]
    set idx [lsearch $cxxflags "-nostdinc++"]
    append flags [lreplace $cxxflags $idx $idx]
}
>From gcc-bugs-return-634548-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 19:42:22 2019
Return-Path: <gcc-bugs-return-634548-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64443 invoked by alias); 21 Feb 2019 19:42: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 64348 invoked by uid 48); 21 Feb 2019 19:42:17 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89442] New: [concepts] missing "wrong number of template arguments" error in requires-clause
Date: Thu, 21 Feb 2019 19:42: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: diagnostic
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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-89442-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: 2019-02/txt/msg02850.txt.bz2
Content-length: 2112

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89442

            Bug ID: 89442
           Summary: [concepts] missing "wrong number of template
                    arguments" error in requires-clause
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redi at gcc dot gnu.org
  Target Milestone: ---

template<typename T, typename U> constexpr bool foo = true;

template<typename T> int f(T) requires foo<T> { return 0; }

int i = f(0);



$ g++17 -fconcepts con.cc -c
con.cc:5:12: error: cannot call function 'int f(T) requires  foo<T> [with T =
int]'
    5 | int i = f(0);
      |            ^
con.cc:3:26: note:   constraints not satisfied
    3 | template<typename T> int f(T) requires foo<T> { return 0; }
      |                          ^
con.cc:3:26: note: 'foo<T>' evaluated to false


The error tells me that foo<T> evaluated to false, but it should say foo<T> is
invalid and report an ill-formed constraint, as in this equivalent version:

template<typename, typename>
struct bar { static constexpr bool value = true; };

template<typename T> int f(T) requires bar<T>::value { return 0; }

int i = f(0);

This second one (correctly) says:

con.cc:4:45: error: wrong number of template arguments (1, should be 2)
    4 | template<typename T> int f(T) requires bar<T>::value { return 0; }
      |                                             ^
con.cc:2:8: note: provided for 'template<class, class> struct bar'
    2 | struct bar { static constexpr bool value = true; };
      |        ^~~
con.cc:6:12: error: cannot call function 'int f(T) requires 
<erroneous-expression> [with T = int]'
    6 | int i = f(0);
      |            ^
con.cc:4:26: note:   constraints not satisfied
    4 | template<typename T> int f(T) requires bar<T>::value { return 0; }
      |                          ^
con.cc:6:12: note: ill-formed constraint
    6 | int i = f(0);
      |            ^
>From gcc-bugs-return-634549-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 19:42:33 2019
Return-Path: <gcc-bugs-return-634549-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65331 invoked by alias); 21 Feb 2019 19:42: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 65189 invoked by uid 48); 21 Feb 2019 19:42:29 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89442] [concepts] missing "wrong number of template arguments" error in requires-clause
Date: Thu, 21 Feb 2019 19: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: 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: bug_status cf_reconfirmed_on blocked everconfirmed
Message-ID: <bug-89442-4-HUiL9jfs3Y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89442-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89442-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: 2019-02/txt/msg02851.txt.bz2
Content-length: 569

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89442

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-21
             Blocks|                            |67491
     Ever confirmed|0                           |1


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491
[Bug 67491] [meta-bug] concepts issues
>From gcc-bugs-return-634550-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 19:57:07 2019
Return-Path: <gcc-bugs-return-634550-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58500 invoked by alias); 21 Feb 2019 19:57: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 58330 invoked by uid 48); 21 Feb 2019 19:57:02 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug d/87824] x86_64-linux multilib issues
Date: Thu, 21 Feb 2019 19:57:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: d
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87824-4-wS7ai31Syu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87824-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87824-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: 2019-02/txt/msg02852.txt.bz2
Content-length: 1176

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87824

--- Comment #23 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Iain Buclaw from comment #22)
> (In reply to Uroš Bizjak from comment #20)
> > 
> > I'd like to propose an alternative patch. The testsuite harness should
> > simply ask libstdc++ for correct include paths, like in the to be attached
> > patch.
> > 
> > (This is how libstdc++ testsuite determines correct include flags.)
> 
> Seems reasonable.
> 
> Filtering out flags not recognized by D would mean there's no need to touch
> libstdc++.
> 
> 
> # For the tests that mix C++ and D, need to know where headers are located.
> set odir [lookfor_file ${gccpath} libstdc++-v3]
> if { ${odir} != "" } {
>     set cxxflags [exec sh ${odir}/scripts/testsuite_flags --build-includes]
>     set idx [lsearch $cxxflags "-nostdinc++"]
>     append flags [lreplace $cxxflags $idx $idx]
> }

Yes, this would also work; there are some additional include directories that
look specific to libstdc++ testing, but won't hurt here.

So, do you want me to officially propose the above patch or do you want to take
it from here?
>From gcc-bugs-return-634551-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 20:01:56 2019
Return-Path: <gcc-bugs-return-634551-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101030 invoked by alias); 21 Feb 2019 20:01:55 -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 96419 invoked by uid 48); 21 Feb 2019 20:01:51 -0000
From: "manuel.lauss at googlemail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89443] New: asm "volatile" keyword no longer supported
Date: Thu, 21 Feb 2019 20: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.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: manuel.lauss at googlemail 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-89443-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: 2019-02/txt/msg02853.txt.bz2
Content-length: 2366

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89443

            Bug ID: 89443
           Summary: asm "volatile" keyword no longer supported
           Product: gcc
           Version: 8.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: manuel.lauss at googlemail dot com
  Target Milestone: ---

Created attachment 45791
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45791&action=edit
compressed preprocessed source

I'm not certain whether this is a gcc bug at all:
The attached preprocessed source, taken from qtscript-5.11.3, throws this error
with current gcc-8.2.1. A gcc-8 snapshot taken on 01-DEC-2018 used to compile
this package just fine.

It seems that the "volatile" in asm volatile (...) is no longer valid:

g++ -c test.i         
../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:483:5: error:
expected ‘(’ before ‘volatile’
../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:484:1: error:
expected unqualified-id before string constant
../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:483:15: error:
expected ‘)’ before string constant
../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:518:5: error:
expected ‘(’ before ‘volatile’
../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:519:1: error:
expected unqualified-id before string constant
../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:518:15: error:
expected ‘)’ before string constant
../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:534:5: error:
expected ‘(’ before ‘volatile’
../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:535:1: error:
expected unqualified-id before string constant
../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:534:15: error:
expected ‘)’ before string constant


E.g line 105753 in test.i file:

asm volatile (
".text\n"
".globl " "ctiTrampoline" "\n"
".hidden " "ctiTrampoline" "\n"
"ctiTrampoline" ":" "\n"
    "pushq %rbp" "\n"
    "movq %rsp, %rbp" "\n"
    "pushq %r12" "\n"
[...]

removing the "volatile" solves this.  gcc-7.4.1 has the same problems.

Thank you!
>From gcc-bugs-return-634552-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 20:07:52 2019
Return-Path: <gcc-bugs-return-634552-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98925 invoked by alias); 21 Feb 2019 20:07:52 -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 98821 invoked by uid 48); 21 Feb 2019 20:07:48 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88117] [9 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.c:2697
Date: Thu, 21 Feb 2019 20:07: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-88117-4-pZJlmymm1Z@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88117-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88117-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: 2019-02/txt/msg02854.txt.bz2
Content-length: 456

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88117

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tkoenig at gcc dot gnu.org

--- Comment #2 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Simplified:

program p
   character(:), pointer :: z(:)
   z = (z)
end
>From gcc-bugs-return-634553-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 20:17:53 2019
Return-Path: <gcc-bugs-return-634553-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11158 invoked by alias); 21 Feb 2019 20:17:52 -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 10507 invoked by uid 48); 21 Feb 2019 20:17:47 -0000
From: "terra at gnome dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/61582] C++11 regex memory corruption
Date: Thu, 21 Feb 2019 20:17:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: terra at gnome dot org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: timshen at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-61582-4-kFOWJ2MoG7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61582-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61582-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: 2019-02/txt/msg02855.txt.bz2
Content-length: 692

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61582

M Welinder <terra at gnome dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |terra at gnome dot org

--- Comment #22 from M Welinder <terra at gnome dot org> ---
FWIW, there is an excellent overview of regular expression engine pitfalls
and methods here:

https://swtch.com/~rsc/regexp/regexp1.html
https://swtch.com/~rsc/regexp/regexp2.html
https://swtch.com/~rsc/regexp/regexp3.html

Those are about 10 years old, but not outdated.

The TL;DR is "use NFAs and DFAs, not back-tracking".
>From gcc-bugs-return-634554-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 20:25:37 2019
Return-Path: <gcc-bugs-return-634554-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29974 invoked by alias); 21 Feb 2019 20:25:36 -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 29714 invoked by uid 48); 21 Feb 2019 20:25:31 -0000
From: "law at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88771] [9 Regression] Misleading -Werror=array-bounds error
Date: Thu, 21 Feb 2019 20:25: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: diagnostic, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: law at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-88771-4-Jvq9ffkFoW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88771-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88771-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: 2019-02/txt/msg02856.txt.bz2
Content-length: 4113

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88771

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |law at redhat dot com

--- Comment #21 from Jeffrey A. Law <law at redhat dot com> ---
Sorry, but when I look at this, the warning seems correct and valid to me.

In the .fre1 dump we have:

;;   basic block 2, loop depth 0, maybe hot
;;    prev block 0, next block 3, flags: (NEW, VISITED)
;;    pred:       ENTRY (FALLTHRU,EXECUTABLE)
  f.1_1 = f;
  _10 = f.1_1 + 1;
  if (_10 != 0)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]
;;    succ:       3 (TRUE_VALUE,EXECUTABLE)
;;                4 (FALSE_VALUE,EXECUTABLE)

;;   basic block 3, loop depth 0, maybe hot
;;    prev block 2, next block 4, flags: (NEW, VISITED)
;;    pred:       2 (TRUE_VALUE,EXECUTABLE)
  iftmp.0_11 = (char) _10;
  goto <bb 5>; [INV]
;;    succ:       5 (FALLTHRU,EXECUTABLE)

;;   basic block 4, loop depth 0, maybe hot
;;    prev block 3, next block 5, flags: (NEW, VISITED)
;;    pred:       2 (FALSE_VALUE,EXECUTABLE)
  iftmp.0_12 = (char) f.1_1;
;;    succ:       5 (FALLTHRU,EXECUTABLE)

;;   basic block 5, loop depth 0, maybe hot
;;    prev block 4, next block 6, flags: (NEW, VISITED)
;;    pred:       3 (FALLTHRU,EXECUTABLE)
;;                4 (FALLTHRU,EXECUTABLE)
  # iftmp.0_7 = PHI <iftmp.0_11(3), iftmp.0_12(4)>
  _4 = (long unsigned int) f.1_1;
  x.4_5 = x;
  c.5_6 = c;
  __builtin_strncpy (c.5_6, x.4_5, _4);

In particular note the conditional at the end of bb2 and the dataflow when _10
is zero.  WHen that occurs we'll go to bb4 and we'll know that f.1_1 must have
the value -1.   WHich in turn means iftmp_0.12 has the value -1 which flows
into the PHI at the start of BB5.  We see all this in the .evrp dump:

;;   basic block 2, loop depth 0, maybe hot
;;    prev block 0, next block 3, flags: (NEW, VISITED)
;;    pred:       ENTRY (FALLTHRU,EXECUTABLE)
  f.1_1 = f;
  _10 = f.1_1 + 1;
  if (_10 != 0)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]
;;    succ:       3 (TRUE_VALUE,EXECUTABLE)
;;                4 (FALSE_VALUE,EXECUTABLE)

;;   basic block 3, loop depth 0, maybe hot
;;    prev block 2, next block 4, flags: (NEW, VISITED)
;;    pred:       2 (TRUE_VALUE,EXECUTABLE)
  iftmp.0_11 = (char) _10;
;;    succ:       4 (FALLTHRU,EXECUTABLE)

;;   basic block 4, loop depth 0, maybe hot
;;    prev block 3, next block 5, flags: (NEW, VISITED)
;;    pred:       3 (FALLTHRU,EXECUTABLE)
;;                2 (FALSE_VALUE,EXECUTABLE)
  # iftmp.0_7 = PHI <iftmp.0_11(3), -1(2)>
  _4 = (long unsigned int) f.1_1;
  x.4_5 = x;
  c.5_6 = c;
  __builtin_strncpy (c.5_6, x.4_5, _4);
  if (iftmp.0_7 != 0)
    goto <bb 5>; [INV]
  else
    goto <bb 6>; [INV]


Jump threading will want to optimize away the test at the end of bb4, so it
duplicates bb4 isolating each incoming edge.  The duplicate for the edge 2->4
will look like:

;;   basic block 6, loop depth 0, count 536870912 (estimated locally), maybe
hot
;;    prev block 5, next block 1, flags: (NEW, VISITED)
;;    pred:       2 [50.0% (guessed)]  count:536870912 (estimated locally)
(FALSE_VALUE,EXECUTABLE)
  # _17 = PHI <-1(2)>
  iftmp.0_18 = (char) _17;
  _19 = (long unsigned int) f.1_1;
  x.4_20 = x;
  c.5_21 = c;
  __builtin_strncpy (c.5_21, x.4_20, _19);
  goto <bb 4>; [100.00%]
;;    succ:       4 [always (guessed)]  count:536870912 (estimated locally)
(FALLTHRU)


Which is exactly what we want and highlights the error in the original user
code.  Namely that when f+1 is zero we'll make a totally bogus call to strncpy.

Suppressing warnings per Jakub's comment in c#10 would just hide the fact that
the user's code is just plain broken.  If you find yourself blaming threading
for exposing a warning like this, you're barking up the wrong tree Jakub.  
Threading is just exposing what's already broken in the user's original code
and we absolutely do want these warnings.
>From gcc-bugs-return-634555-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 20:34:47 2019
Return-Path: <gcc-bugs-return-634555-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54360 invoked by alias); 21 Feb 2019 20: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 54156 invoked by uid 48); 21 Feb 2019 20:34:43 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89435] [7/8/9 Regression] wrong code with -O1 -march=armv4 -fno-forward-propagate with __builtin_sub_overflow()
Date: Thu, 21 Feb 2019 20: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89435-4-Sa5arx0luv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89435-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89435-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: 2019-02/txt/msg02857.txt.bz2
Content-length: 1645

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89435

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r242326.  Since that version, we have before ira:
(insn 28 27 36 2 (set (reg:SI 141)
        (const_int 255 [0xff])) "pr89435.c":9 182 {*arm_movsi_insn}
     (nil))
...
(insn 42 36 43 2 (set (reg:QI 125 [ _18 ])
        (subreg:QI (reg:SI 141) 0)) "pr89435.c":9 192 {*arm_movqi_insn}
     (expr_list:REG_DEAD (reg:SI 141)
        (nil)))
...
(insn 78 77 79 6 (set (reg:SI 124 [ _15 ])
        (plus:SI (reg:SI 162)
            (subreg:SI (reg:QI 125 [ _18 ]) 0))) "pr89435.c":11 4 {*arm_addsi3}
     (expr_list:REG_DEAD (reg:QI 125 [ _18 ])
        (expr_list:REG_DEAD (reg:SI 162)
            (nil))))
and starting with ira:
(insn 42 36 43 2 (set (reg:QI 125 [ _18 ])
        (const_int -1 [0xffffffffffffffff])) "pr89435.c":9 192
{*arm_movqi_insn}
     (nil))
...
(insn 78 77 79 6 (set (reg:SI 124 [ _15 ])
        (plus:SI (reg:SI 162)
            (subreg:SI (reg:QI 125 [ _18 ]) 0))) "pr89435.c":11 4 {*arm_addsi3}
     (expr_list:REG_DEAD (reg:SI 162)
        (expr_list:REG_DEAD (reg:QI 125 [ _18 ])
            (nil))))

ARM has:
#define WORD_REGISTER_OPERATIONS 1
#define LOAD_EXTEND_OP(MODE)                                            \
  (TARGET_THUMB ? ZERO_EXTEND :                                         \
   ((arm_arch4 || (MODE) == QImode) ? ZERO_EXTEND                       \
    : ((BYTES_BIG_ENDIAN && (MODE) == HImode) ? SIGN_EXTEND : UNKNOWN)))

Does that mean that (set (reg:QI 125) (const_int -1)) instruction should
actually set the register to 0xff rather than 0xffffffff?
>From gcc-bugs-return-634556-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 20:46:24 2019
Return-Path: <gcc-bugs-return-634556-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 863 invoked by alias); 21 Feb 2019 20:46: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 706 invoked by uid 48); 21 Feb 2019 20:46:19 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89435] [7/8/9 Regression] wrong code with -O1 -march=armv4 -fno-forward-propagate with __builtin_sub_overflow()
Date: Thu, 21 Feb 2019 20: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89435-4-yKIweSrrc5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89435-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89435-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: 2019-02/txt/msg02858.txt.bz2
Content-length: 223

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89435

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
And sure, if you could look at this (or somebody from ARM otherwise), it would
be highly appreciated.
>From gcc-bugs-return-634557-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 20:47:34 2019
Return-Path: <gcc-bugs-return-634557-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14368 invoked by alias); 21 Feb 2019 20:47: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 10489 invoked by uid 48); 21 Feb 2019 20:47:29 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88419] [7/8/9 Regression] [ICE] "Same canonical type node for different types" for CTAD in noexcept
Date: Thu, 21 Feb 2019 20: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc assigned_to
Message-ID: <bug-88419-4-5AEuYFLqGV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88419-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88419-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: 2019-02/txt/msg02859.txt.bz2
Content-length: 452

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88419

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |jason at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org
>From gcc-bugs-return-634559-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 20:49:27 2019
Return-Path: <gcc-bugs-return-634559-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23258 invoked by alias); 21 Feb 2019 20:49:26 -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 22580 invoked by uid 48); 21 Feb 2019 20:49:20 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89435] [7/8/9 Regression] wrong code with -O1 -march=armv4 -fno-forward-propagate with __builtin_sub_overflow()
Date: Thu, 21 Feb 2019 20:49: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-89435-4-Pou40TuFRQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89435-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89435-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: 2019-02/txt/msg02861.txt.bz2
Content-length: 386

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89435

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |ebotcazou at gcc dot gnu.org
>From gcc-bugs-return-634558-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 20:49:20 2019
Return-Path: <gcc-bugs-return-634558-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20809 invoked by alias); 21 Feb 2019 20:49: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 19545 invoked by uid 55); 21 Feb 2019 20:48:36 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89416] [9 regression] std::vector<std::thread, custom_allocator>::push_back no longer builds.
Date: Thu, 21 Feb 2019 20:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89416-4-yfHwWE0Zdi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89416-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89416-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: 2019-02/txt/msg02860.txt.bz2
Content-length: 1452

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89416

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Thu Feb 21 20:47:43 2019
New Revision: 269075

URL: https://gcc.gnu.org/viewcvs?rev=269075&root=gcc&view=rev
Log:
PR libstdc++/89416 fix __is_move_insertable trait

The common base class for __is_move_insertable and __is_copy_insertable
instantiates both the copy and move tests, when only one is needed. The
unneeded one might cause errors outside the immediate context.

The solution used in this patch is to replace them with alias templates,
which will only be instantiated as needed.

        PR libstdc++/89416
        * include/bits/alloc_traits.h (__is_alloc_insertable_impl): Replace
        class template with class. Replace move and copy member types with
        member alias templates, so they are only instantiated when needed.
        (__is_copy_insertable, __is_move_insertable): Adjust base class.
        * testsuite/23_containers/vector/modifiers/push_back/89130.cc: Enable
        test for C++11/14/17 as well.
        * testsuite/23_containers/vector/modifiers/push_back/89416.cc: New
        test.

Added:
   
trunk/libstdc++-v3/testsuite/23_containers/vector/modifiers/push_back/89416.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/alloc_traits.h
   
trunk/libstdc++-v3/testsuite/23_containers/vector/modifiers/push_back/89130.cc
>From gcc-bugs-return-634560-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 21:04:59 2019
Return-Path: <gcc-bugs-return-634560-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81915 invoked by alias); 21 Feb 2019 21:04: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 81770 invoked by uid 48); 21 Feb 2019 21:04:55 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89422] [8/9 Regression] ICE in field_byte_offset, at dwarf2out.c:19086
Date: Thu, 21 Feb 2019 21:04: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: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-89422-4-AYhIagptxZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89422-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89422-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: 2019-02/txt/msg02862.txt.bz2
Content-length: 378

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89422

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org
>From gcc-bugs-return-634561-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 21:17:23 2019
Return-Path: <gcc-bugs-return-634561-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30877 invoked by alias); 21 Feb 2019 21:17: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 30675 invoked by uid 48); 21 Feb 2019 21:17:18 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89420] [9 Regression] ICE: unexpected expression 'int()' of kind cast_expr
Date: Thu, 21 Feb 2019 21:17: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: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords
Message-ID: <bug-89420-4-txvtOKFYrq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89420-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89420-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: 2019-02/txt/msg02863.txt.bz2
Content-length: 466

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89420

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-invalid-code         |ice-on-valid-code

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Actually ICE on valid too:

template<typename>
struct S {
    explicit(int(1)) S(int);
};
>From gcc-bugs-return-634562-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 21:19:39 2019
Return-Path: <gcc-bugs-return-634562-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39552 invoked by alias); 21 Feb 2019 21:19: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 39419 invoked by uid 48); 21 Feb 2019 21:19:34 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89420] [9 Regression] ICE: unexpected expression 'int()' of kind cast_expr
Date: Thu, 21 Feb 2019 21:19: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: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89420-4-HKz4OVfB4o@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89420-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89420-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: 2019-02/txt/msg02864.txt.bz2
Content-length: 203

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89420

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
And another:

template<typename>
struct S {
    explicit(int{1}) S(int, int);
};
>From gcc-bugs-return-634563-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 21:22:03 2019
Return-Path: <gcc-bugs-return-634563-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48595 invoked by alias); 21 Feb 2019 21:22: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 48262 invoked by uid 55); 21 Feb 2019 21:21:57 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89285] [8/9 Regression] ICE after casting the this pointer in the constructor in C++17 mode
Date: Thu, 21 Feb 2019 21:22: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: accepts-invalid, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89285-4-wtKzsMZDcS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89285-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89285-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: 2019-02/txt/msg02865.txt.bz2
Content-length: 3144

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89285

--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb 21 21:21:25 2019
New Revision: 269078

URL: https://gcc.gnu.org/viewcvs?rev=269078&root=gcc&view=rev
Log:
        PR c++/89285
        * builtins.c (fold_builtin_arith_overflow): If first two args are
        INTEGER_CSTs, set intres and ovfres to constants rather than calls
        to ifn.

        * constexpr.c (struct constexpr_fundef): Add parms and result members.
        (retrieve_constexpr_fundef): Adjust for the above change.
        (register_constexpr_fundef): Save constexpr body with copy_fn,
        temporarily set DECL_CONTEXT on DECL_RESULT before that.
        (get_fundef_copy): Change FUN argument to FUNDEF with
        constexpr_fundef * type, grab body and parms/result out of
        constexpr_fundef struct and temporarily change it for copy_fn calls
        too.
        (cxx_eval_builtin_function_call): For __builtin_FUNCTION temporarily
        adjust current_function_decl from ctx->call context.  Test
        !potential_constant_expression instead of !is_constant_expression.
        (cxx_bind_parameters_in_call): Grab parameters from new_call.  Undo
        convert_for_arg_passing changes for TREE_ADDRESSABLE type passing.
        (cxx_eval_call_expression): Adjust get_fundef_copy caller.
        (cxx_eval_conditional_expression): For IF_STMT, allow then or else
        operands to be NULL.
        (label_matches): Handle BREAK_STMT and CONTINUE_STMT.
        (cxx_eval_loop_expr): Add support for FOR_STMT, WHILE_STMT and DO_STMT.
        (cxx_eval_switch_expr): Add support for SWITCH_STMT.
        (cxx_eval_constant_expression): Handle IF_STMT, FOR_STMT, WHILE_STMT,
        DO_STMT, CONTINUE_STMT, SWITCH_STMT, BREAK_STMT and CONTINUE_STMT.
        For SIZEOF_EXPR, recurse on the result of fold_sizeof_expr.  Ignore
        DECL_EXPR with USING_DECL operand.
        * lambda.c (maybe_add_lambda_conv_op): Build thisarg using
        build_int_cst to make it a valid constant expression.

        * g++.dg/ubsan/vptr-4.C: Expect reinterpret_cast errors.
        * g++.dg/cpp1y/constexpr-84192.C (f2): Adjust expected diagnostics.
        * g++.dg/cpp1y/constexpr-70265-2.C (foo): Adjust expected line of
        diagnostics.
        * g++.dg/cpp1y/constexpr-89285.C: New test.
        * g++.dg/cpp0x/constexpr-arith-overflow.C (add, sub, mul): Ifdef out
        for C++11.
        (TEST_ADD, TEST_SUB, TEST_MUL): Define to Assert (true) for C++11.
        * g++.dg/cpp0x/constexpr-arith-overflow2.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-arith-overflow2.C
    trunk/gcc/testsuite/g++.dg/cpp1y/constexpr-89285.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/builtins.c
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/constexpr.c
    trunk/gcc/cp/lambda.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-arith-overflow.C
    trunk/gcc/testsuite/g++.dg/cpp1y/constexpr-70265-2.C
    trunk/gcc/testsuite/g++.dg/cpp1y/constexpr-84192.C
    trunk/gcc/testsuite/g++.dg/ubsan/vptr-4.C
>From gcc-bugs-return-634564-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 21:23:38 2019
Return-Path: <gcc-bugs-return-634564-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65788 invoked by alias); 21 Feb 2019 21:23: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 65604 invoked by uid 48); 21 Feb 2019 21:23:34 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88117] [9 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.c:2697
Date: Thu, 21 Feb 2019 21:23: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc cf_known_to_work cf_known_to_fail
Message-ID: <bug-88117-4-OrXPR54mMJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88117-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88117-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: 2019-02/txt/msg02866.txt.bz2
Content-length: 540

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88117

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pault at gcc dot gnu.org
      Known to work|                            |8.2.0
      Known to fail|                            |9.0

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
My bisection blames r264721 (pr70149).
>From gcc-bugs-return-634565-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 21:36:34 2019
Return-Path: <gcc-bugs-return-634565-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27930 invoked by alias); 21 Feb 2019 21:36: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 27792 invoked by uid 48); 21 Feb 2019 21:36:30 -0000
From: "law at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/86964] [ 7/8/9 Regression ] Too many debug symbols included, especially for extern globals
Date: Thu, 21 Feb 2019 21:36:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 6.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: law at redhat dot com
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority cc short_desc
Message-ID: <bug-86964-4-N6XkaP5CIm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86964-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86964-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: 2019-02/txt/msg02867.txt.bz2
Content-length: 826

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86964

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
                 CC|                            |law at redhat dot com
            Summary|Too many debug symbols      |[ 7/8/9 Regression ] Too
                   |included, especially for    |many debug symbols
                   |extern globals              |included, especially for
                   |                            |extern globals

--- Comment #8 from Jeffrey A. Law <law at redhat dot com> ---
Adding regression marker per email from Richi which indicates this is a
regression relative to the pre-early-debug changes.
>From gcc-bugs-return-634566-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 21:45:09 2019
Return-Path: <gcc-bugs-return-634566-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64336 invoked by alias); 21 Feb 2019 21:45: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 57967 invoked by uid 48); 21 Feb 2019 21:45:00 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87103] [OOP] ICE in gfc_new_symbol() due to overlong symbol name
Date: Thu, 21 Feb 2019 21:45: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: anlauf at gmx dot de
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-87103-4-kw5u1VsMh4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87103-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87103-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: 2019-02/txt/msg02868.txt.bz2
Content-length: 281

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87103

--- Comment #4 from Harald Anlauf <anlauf at gmx dot de> ---
(In reply to Dominique d'Humieres from comment #3)
> Patch at https://gcc.gnu.org/ml/fortran/2018-09/msg00044.html.

Status of this patch?  (The ICE is still there).
>From gcc-bugs-return-634568-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 22:03:46 2019
Return-Path: <gcc-bugs-return-634568-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38483 invoked by alias); 21 Feb 2019 22:03: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 38268 invoked by uid 48); 21 Feb 2019 22:03:40 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89440] [9 Regression] ICE in vect_create_epilog_for_reduction, at tree-vect-loop.c:5502
Date: Thu, 21 Feb 2019 22:03: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: dmalcolm 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-89440-4-5VssxcUvMg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89440-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89440-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: 2019-02/txt/msg02870.txt.bz2
Content-length: 1038

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89440

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-21
                 CC|                            |dmalcolm at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Confirmed; it's failing this assertion:

5497                  /* FORNOW. Currently not supporting the case that an
inner-loop
5498                     reduction is not used in the outer-loop (but only
outside the
5499                     outer-loop), unless it is double reduction.  */
5500                  gcc_assert ((STMT_VINFO_RELEVANT_P (exit_phi_vinfo)
5501                               && !STMT_VINFO_LIVE_P (exit_phi_vinfo))
5502                              || double_reduc);
>From gcc-bugs-return-634567-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 22:03:35 2019
Return-Path: <gcc-bugs-return-634567-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37512 invoked by alias); 21 Feb 2019 22:03: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 37391 invoked by uid 48); 21 Feb 2019 22:03:30 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89443] toplevel inline-asm with volatile after the asm is not anymore support in C++
Date: Thu, 21 Feb 2019 22:03: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.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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-89443-4-jtqMKHIEVI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89443-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89443-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: 2019-02/txt/msg02869.txt.bz2
Content-length: 402

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89443

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |segher at gcc dot gnu.org

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Related to PR55681.
>From gcc-bugs-return-634569-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 22:06:18 2019
Return-Path: <gcc-bugs-return-634569-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45427 invoked by alias); 21 Feb 2019 22:06:18 -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 45278 invoked by uid 48); 21 Feb 2019 22:06:14 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88117] [9 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.c:2697
Date: Thu, 21 Feb 2019 22:06: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
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-88117-4-WnFAvcCmME@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88117-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88117-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: 2019-02/txt/msg02871.txt.bz2
Content-length: 1109

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88117

--- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Looking at the reduced test case, we have

 z.span = 0;
  {
    character(kind=1)[0:][1:.z] * D.3877;
    integer(kind=8) D.3878;
    integer(kind=8) D.3879;
    integer(kind=8) D.3880;
    character(kind=1)[0:][1:._F.DA0] * D.3881;
    integer(kind=8) D.3882;
    integer(kind=8) D.3883;
    integer(kind=8) D.3884;
    integer(kind=8) D.3885;
    struct array01_unknown atmp.0;
    logical(kind=4) D.3899;
    integer(kind=8) D.3900;
    void * restrict D.3901;
    void * restrict D.3902;
    integer(kind=8) D.3903;
    integer(kind=8) D.3904;

    D.3908 = .z;

(notice the absence of a declaration for D.3908 above) and later

      while (1)
        {
          if (S.1 > D.3885) goto L.1;
          {
            integer(kind=8) D.3908;
            integer(kind=8) D.3909;
            integer(kind=8) D.3910;


I suspect this can be fixed by replacing "gfc_add_block"
with "gfc_init_block" in the right place.  Now the only
problem is where...
>From gcc-bugs-return-634570-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 22:31:33 2019
Return-Path: <gcc-bugs-return-634570-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35647 invoked by alias); 21 Feb 2019 22:31:32 -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 35447 invoked by uid 48); 21 Feb 2019 22:31:28 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88117] [9 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.c:2697
Date: Thu, 21 Feb 2019 22:31: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
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-88117-4-QJ51wtEI5x@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88117-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88117-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: 2019-02/txt/msg02872.txt.bz2
Content-length: 463

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88117

--- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Rather, the problem seems to be somewhere in trans-expr.c:

      if (expr1->ts.deferred && gfc_check_dependency (expr1, expr2, true))
        rse.string_length = gfc_evaluate_now (rse.string_length, &rse.pre);


The variable created by gfc_evaluate_now here is D.3908, the culprit
for gimplification in the simplified test case.  Hmm...
>From gcc-bugs-return-634571-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 22:43:14 2019
Return-Path: <gcc-bugs-return-634571-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83865 invoked by alias); 21 Feb 2019 22:43: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 83653 invoked by uid 48); 21 Feb 2019 22:43:09 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88227] ICE in gfc_convert_boz, at fortran/target-memory.c:788
Date: Thu, 21 Feb 2019 22:43: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: anlauf at gmx dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
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-88227-4-VXokYwqkTZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88227-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88227-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: 2019-02/txt/msg02873.txt.bz2
Content-length: 852

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88227

Harald Anlauf <anlauf at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anlauf at gmx dot de

--- Comment #2 from Harald Anlauf <anlauf at gmx dot de> ---
There is no suitable integer kind for -m32 to represent a real(kind=16).

target-memory.c:
801       for (index = 0; gfc_integer_kinds[index].kind != 0; ++index)
802         if ((unsigned) gfc_integer_kinds[index].bit_size >= ts_bit_size)
803           break;
804
805       expr->ts.kind = gfc_integer_kinds[index].kind;
806       buffer_size = MAX (buffer_size, size_integer (expr->ts.kind));
(gdb) p expr->ts.kind
$13 = 0

So shall we reject the conversion of the BOZ?
>From gcc-bugs-return-634572-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 22:45:50 2019
Return-Path: <gcc-bugs-return-634572-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92054 invoked by alias); 21 Feb 2019 22:45:46 -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 91386 invoked by uid 48); 21 Feb 2019 22:45:39 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88117] [9 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.c:2697
Date: Thu, 21 Feb 2019 22:45: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
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-88117-4-pRMJE0usqH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88117-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88117-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: 2019-02/txt/msg02874.txt.bz2
Content-length: 1092

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88117

--- Comment #6 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to Thomas Koenig from comment #5)
> Rather, the problem seems to be somewhere in trans-expr.c:
> 
>       if (expr1->ts.deferred && gfc_check_dependency (expr1, expr2, true))
> 	rse.string_length = gfc_evaluate_now (rse.string_length, &rse.pre);
> 
> 
> The variable created by gfc_evaluate_now here is D.3908, the culprit
> for gimplification in the simplified test case.  Hmm...

Actually, not here.

It is

  /* Stabilize a string length for temporaries.  */
  if (expr2->ts.type == BT_CHARACTER && !expr1->ts.deferred
      && !(VAR_P (rse.string_length)
           || TREE_CODE (rse.string_length) == PARM_DECL
           || TREE_CODE (rse.string_length) == INDIRECT_REF))
    string_length = gfc_evaluate_now (rse.string_length, &rse.pre);

where string_length seems to be added to the wrong scope - it is
used before it is defined, which causes the gimplification error.

Now, I'm not sure how to change that, at least not tonight.
>From gcc-bugs-return-634573-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 22:51:02 2019
Return-Path: <gcc-bugs-return-634573-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127614 invoked by alias); 21 Feb 2019 22:51: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 127369 invoked by uid 55); 21 Feb 2019 22:50:57 -0000
From: "ian at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89170] FAIL: net/http
Date: Thu, 21 Feb 2019 22:51: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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89170-4-3k2iQM15vu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89170-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89170-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: 2019-02/txt/msg02875.txt.bz2
Content-length: 607

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89170

--- Comment #2 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Thu Feb 21 22:50:24 2019
New Revision: 269079

URL: https://gcc.gnu.org/viewcvs?rev=269079&root=gcc&view=rev
Log:
        PR go/89170
        * varasm.c (decode_addr_const): Call lookup_constant_def rather
        than output_constant_def.
        (add_constant_to_table): New static function.
        (output_constant_def): Call add_constant_to_table.
        (tree_output_constant_def): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/varasm.c
>From gcc-bugs-return-634574-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 23:07:50 2019
Return-Path: <gcc-bugs-return-634574-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108473 invoked by alias); 21 Feb 2019 23:07: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 100904 invoked by uid 55); 21 Feb 2019 23:07:44 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88419] [7/8/9 Regression] [ICE] "Same canonical type node for different types" for CTAD in noexcept
Date: Thu, 21 Feb 2019 23:07: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: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88419-4-Dhc2XxPYwY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88419-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88419-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: 2019-02/txt/msg02876.txt.bz2
Content-length: 696

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88419

--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Feb 21 23:07:12 2019
New Revision: 269080

URL: https://gcc.gnu.org/viewcvs?rev=269080&root=gcc&view=rev
Log:
        PR c++/88419 - C++17 ICE with class template arg deduction.

Just like in make_constrained_auto, we need to defer setting TYPE_CANONICAL
until we've set fields that will affect structural_comptypes.

        * pt.c (make_template_placeholder): Set TYPE_CANONICAL after
        CLASS_PLACEHOLDER_TEMPLATE.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1z/class-deduction62.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
>From gcc-bugs-return-634577-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 23:08:42 2019
Return-Path: <gcc-bugs-return-634577-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71328 invoked by alias); 21 Feb 2019 23:08: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 54166 invoked by uid 48); 21 Feb 2019 23:08:35 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88419] [7/8 Regression] [ICE] "Same canonical type node for different types" for CTAD in noexcept
Date: Thu, 21 Feb 2019 23:08: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: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-88419-4-7XTGfyEo0d@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88419-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88419-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: 2019-02/txt/msg02879.txt.bz2
Content-length: 613

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88419

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[7/8/9 Regression] [ICE]    |[7/8 Regression] [ICE]
                   |"Same canonical type node   |"Same canonical type node
                   |for different types" for    |for different types" for
                   |CTAD in noexcept            |CTAD in noexcept

--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed on trunk so far.
>From gcc-bugs-return-634575-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 23:08:09 2019
Return-Path: <gcc-bugs-return-634575-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124623 invoked by alias); 21 Feb 2019 23:08: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 114454 invoked by uid 48); 21 Feb 2019 23:08:05 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89422] [8 Regression] ICE in field_byte_offset, at dwarf2out.c:19086
Date: Thu, 21 Feb 2019 23:08: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: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-89422-4-reE4pApYMl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89422-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89422-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: 2019-02/txt/msg02877.txt.bz2
Content-length: 535

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89422

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[8/9 Regression] ICE in     |[8 Regression] ICE in
                   |field_byte_offset, at       |field_byte_offset, at
                   |dwarf2out.c:19086           |dwarf2out.c:19086

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed on trunk so far.
>From gcc-bugs-return-634576-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 23:08:24 2019
Return-Path: <gcc-bugs-return-634576-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27504 invoked by alias); 21 Feb 2019 23:08: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 10837 invoked by uid 55); 21 Feb 2019 23:08:19 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89422] [8 Regression] ICE in field_byte_offset, at dwarf2out.c:19086
Date: Thu, 21 Feb 2019 23:08: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: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89422-4-mDy3GFpRa4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89422-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89422-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: 2019-02/txt/msg02878.txt.bz2
Content-length: 735

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89422

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Feb 21 23:07:47 2019
New Revision: 269081

URL: https://gcc.gnu.org/viewcvs?rev=269081&root=gcc&view=rev
Log:
        PR c++/89422 - ICE with -g and lambda in default arg in template.

Here, we were trying to instantiate the default argument before setting
DECL_FRIEND_CONTEXT, so that the instantiated lambda ended up being treated
as part of the S template, which confused dwarf2out.

        * pt.c (tsubst_function_decl): SET_DECL_FRIEND_CONTEXT sooner.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-defarg9.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
>From gcc-bugs-return-634578-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 23:12:27 2019
Return-Path: <gcc-bugs-return-634578-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110956 invoked by alias); 21 Feb 2019 23:12: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 103969 invoked by uid 48); 21 Feb 2019 23:12:21 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86953] [7/8 Regression] compiler crashes with constexpr operator== and specific struct (cxx_eval_bit_field_ref, at cp/constexpr.c:2704)
Date: Thu, 21 Feb 2019 23:12: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: jason 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc cf_known_to_work dependson short_desc
Message-ID: <bug-86953-4-f4P3EvE9YO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86953-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86953-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: 2019-02/txt/msg02880.txt.bz2
Content-length: 1143

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86953

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org
      Known to work|                            |9.0
         Depends on|                            |89285
            Summary|[7/8/9 Regression] compiler |[7/8 Regression] compiler
                   |crashes with constexpr      |crashes with constexpr
                   |operator== and specific     |operator== and specific
                   |struct                      |struct
                   |(cxx_eval_bit_field_ref, at |(cxx_eval_bit_field_ref, at
                   |cp/constexpr.c:2704)        |cp/constexpr.c:2704)

--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> ---
The patch for 89285 seems to have fixed this on trunk.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89285
[Bug 89285] [8/9 Regression] ICE after casting the this pointer in the
constructor in C++17 mode
>From gcc-bugs-return-634579-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 23:16:52 2019
Return-Path: <gcc-bugs-return-634579-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96141 invoked by alias); 21 Feb 2019 23:16: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 85906 invoked by uid 48); 21 Feb 2019 23:16:47 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89416] [9 regression] std::vector<std::thread, custom_allocator>::push_back no longer builds.
Date: Thu, 21 Feb 2019 23:16:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-89416-4-MSYkfkw0vf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89416-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89416-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: 2019-02/txt/msg02881.txt.bz2
Content-length: 506

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89416

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Assuming fixed.
>From gcc-bugs-return-634580-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 23:20:38 2019
Return-Path: <gcc-bugs-return-634580-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54936 invoked by alias); 21 Feb 2019 23:20: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 47066 invoked by uid 48); 21 Feb 2019 23:20:33 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89444] New: [9 Regression] r264052 removed PTA_AES from PTA_SKYLAKE/PTA_GOLDMONT
Date: Thu, 21 Feb 2019 23: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:
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-89444-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: 2019-02/txt/msg02882.txt.bz2
Content-length: 637

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89444

            Bug ID: 89444
           Summary: [9 Regression] r264052 removed PTA_AES from
                    PTA_SKYLAKE/PTA_GOLDMONT
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: mliska at suse dot cz
  Target Milestone: ---
            Target: i386, x86-64

r263989 moved AESNI generation to Skylake and Goldmont.  But r264052
reverted it by accident.
>From gcc-bugs-return-634581-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 23:21:19 2019
Return-Path: <gcc-bugs-return-634581-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14619 invoked by alias); 21 Feb 2019 23:21:18 -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 6381 invoked by uid 48); 21 Feb 2019 23:21:15 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89438] [9 Regression] ICE in glibc/sysdeps/ieee754/dbl-64/e_pow.c (internal compiler error: in decompose, at rtl.h:2266)
Date: Thu, 21 Feb 2019 23: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89438-4-ilkbaZlQzS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89438-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89438-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: 2019-02/txt/msg02883.txt.bz2
Content-length: 399

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89438

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r266385.
>From gcc-bugs-return-634582-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 23:23:45 2019
Return-Path: <gcc-bugs-return-634582-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26850 invoked by alias); 21 Feb 2019 23:23:44 -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 26473 invoked by uid 48); 21 Feb 2019 23:23:38 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88227] ICE in gfc_convert_boz, at fortran/target-memory.c:788
Date: Thu, 21 Feb 2019 23:23: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: kargl at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
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-88227-4-wZzG4jrdh8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88227-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88227-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: 2019-02/txt/msg02884.txt.bz2
Content-length: 1924

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88227

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu.org

--- Comment #3 from kargl at gcc dot gnu.org ---
(In reply to Harald Anlauf from comment #2)
> There is no suitable integer kind for -m32 to represent a real(kind=16).
> 
> target-memory.c:
> 801       for (index = 0; gfc_integer_kinds[index].kind != 0; ++index)
> 802         if ((unsigned) gfc_integer_kinds[index].bit_size >= ts_bit_size)
> 803           break;
> 804
> 805       expr->ts.kind = gfc_integer_kinds[index].kind;
> 806       buffer_size = MAX (buffer_size, size_integer (expr->ts.kind));
> (gdb) p expr->ts.kind
> $13 = 0
> 
> So shall we reject the conversion of the BOZ?

No. Someday, I'll get around to fixing BOZ in gfortran.

The correct solution is to define a basic type of BT_BOZ.
In the gfc_expr structure, we add a new boz member and
assign it the string literal.  Thus, one has

e->ts.type = BT_BOZ;
e->boz = "z'1234'";

gfc_convert_boz then needs to accept a boz expression and
convert to either REAL or INTEGER with the appropriate kind.
A REAL type should never need to go through an INTEGER
intermediate.

Note, the requirements on BOZ varies in an inconsistent
manner between the various standards.  The current behaviors
goes way back to f95 where a BOZ can only technically be
in a DATA statement.  That BOZ is converted to an INTEGER
with the widest range irrespective of what the data-object
was.  Way back then, INTEGER(16) was the largest possible
INTEGER for gfortran on any architecture, so it was decided
to convert the BOZ into an INTEGER with at most 128-bits.

I had a patch that implemented most of the BT_BOZ concept, 
but it has collected too much dust.
>From gcc-bugs-return-634583-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 23:28:54 2019
Return-Path: <gcc-bugs-return-634583-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46940 invoked by alias); 21 Feb 2019 23:28: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 46710 invoked by uid 48); 21 Feb 2019 23:28:49 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86917] [7/8/9 Regression] ICE  in verify_ctor_sanity, at cp/constexpr.c:2798
Date: Thu, 21 Feb 2019 23:28: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: jason 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86917-4-iArVbrX850@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86917-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86917-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: 2019-02/txt/msg02885.txt.bz2
Content-length: 206

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86917

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
The problem is that cxx_eval_vec_init_1 doesn't expect/handle the "from_array"
case.
>From gcc-bugs-return-634584-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 23:32:29 2019
Return-Path: <gcc-bugs-return-634584-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61052 invoked by alias); 21 Feb 2019 23:32: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 60931 invoked by uid 48); 21 Feb 2019 23:32:24 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89170] FAIL: net/http
Date: Thu, 21 Feb 2019 23:32: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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89170-4-RdrHKULXcR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89170-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89170-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: 2019-02/txt/msg02886.txt.bz2
Content-length: 419

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89170

Ian Lance Taylor <ian at airs dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Ian Lance Taylor <ian at airs dot com> ---
Fixed.
>From gcc-bugs-return-634585-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 23:42:48 2019
Return-Path: <gcc-bugs-return-634585-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107556 invoked by alias); 21 Feb 2019 23: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 106458 invoked by uid 48); 21 Feb 2019 23:42:43 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89438] [9 Regression] ICE in glibc/sysdeps/ieee754/dbl-64/e_pow.c (internal compiler error: in decompose, at rtl.h:2266)
Date: Thu, 21 Feb 2019 23: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-89438-4-tNlucGC2Wb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89438-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89438-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: 2019-02/txt/msg02887.txt.bz2
Content-length: 378

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89438

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
>From gcc-bugs-return-634586-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 21 23:52:32 2019
Return-Path: <gcc-bugs-return-634586-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67358 invoked by alias); 21 Feb 2019 23:52:32 -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 67261 invoked by uid 48); 21 Feb 2019 23:52:28 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89438] [9 Regression] ICE in glibc/sysdeps/ieee754/dbl-64/e_pow.c (internal compiler error: in decompose, at rtl.h:2266)
Date: Thu, 21 Feb 2019 23: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89438-4-5JRdJTdDdY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89438-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89438-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: 2019-02/txt/msg02888.txt.bz2
Content-length: 472

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89438

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45792
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45792&action=edit
gcc9-pr89438.patch

Untested fix.  In RTL CONST_INTs in modes with narrower bitsizes than DImode
must be sign-extended from the corresponding mode, so either trunc_int_for_mode
is needed, gen_int_mode, or we need to sign-extend it manually like this.
>From gcc-bugs-return-634587-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 00:01:22 2019
Return-Path: <gcc-bugs-return-634587-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102356 invoked by alias); 22 Feb 2019 00:01: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 102014 invoked by uid 48); 22 Feb 2019 00:00:59 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89443] toplevel inline-asm with volatile after the asm is not anymore support in C++
Date: Fri, 22 Feb 2019 00:01: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.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher 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: bug_status resolution
Message-ID: <bug-89443-4-3Urqjabgg1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89443-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89443-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: 2019-02/txt/msg02889.txt.bz2
Content-length: 770

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89443

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Segher Boessenkool <segher at gcc dot gnu.org> ---
This is not a bug.  This change was made in r267280:

"""
c++, asm: Do not handle any asm-qualifiers in top-level asm

Previously, "volatile" was allowed.  Changing this simplifies the code,
makes things more regular, and makes the C and C++ frontends handle
this the same way.
"""

https://gcc.gnu.org/ml/gcc-patches/2018-12/msg00605.html
>From gcc-bugs-return-634588-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 00:06:03 2019
Return-Path: <gcc-bugs-return-634588-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121746 invoked by alias); 22 Feb 2019 00:06: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 121454 invoked by uid 48); 22 Feb 2019 00:05:58 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug inline-asm/55681] Qualifiers on asm statements are order-dependent
Date: Fri, 22 Feb 2019 00:06: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.8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: segher at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-55681-4-FSMtJdhqlm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-55681-4@http.gcc.gnu.org/bugzilla/>
References: <bug-55681-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: 2019-02/txt/msg02890.txt.bz2
Content-length: 473

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55681

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Fixed for all open branches (7.5, 8.3, 9.0).
>From gcc-bugs-return-634589-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 00:07:13 2019
Return-Path: <gcc-bugs-return-634589-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127118 invoked by alias); 22 Feb 2019 00:07: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 126902 invoked by uid 48); 22 Feb 2019 00:07:09 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89285] [8/9 Regression] ICE after casting the this pointer in the constructor in C++17 mode
Date: Fri, 22 Feb 2019 00:07: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: accepts-invalid, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89285-4-cFHBLt5kxK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89285-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89285-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: 2019-02/txt/msg02891.txt.bz2
Content-length: 226

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89285

--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The above commit just brings 9.x into the similar state as 8.x on this
testcase, thus it is ice-on-valid.
>From gcc-bugs-return-634590-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 00:21:39 2019
Return-Path: <gcc-bugs-return-634590-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61224 invoked by alias); 22 Feb 2019 00:21: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 60954 invoked by uid 48); 22 Feb 2019 00:21:34 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88869] [7/8/9 Regression] ICE (Segmentation Fault) when using lambda
Date: Fri, 22 Feb 2019 00:21: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.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-88869-4-V2Mj0HpYw6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88869-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88869-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: 2019-02/txt/msg02892.txt.bz2
Content-length: 378

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88869

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org
>From gcc-bugs-return-634591-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 00:27:42 2019
Return-Path: <gcc-bugs-return-634591-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84337 invoked by alias); 22 Feb 2019 00:27:41 -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 84151 invoked by uid 48); 22 Feb 2019 00:27:38 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88394] [8/9 Regression] g++ ICE (Segmentation fault) in insert_capture_proxy
Date: Fri, 22 Feb 2019 00: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.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-88394-4-mAXFW7BqJW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88394-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88394-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: 2019-02/txt/msg02893.txt.bz2
Content-length: 378

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88394

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org
>From gcc-bugs-return-634592-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 00:48:44 2019
Return-Path: <gcc-bugs-return-634592-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36463 invoked by alias); 22 Feb 2019 00:48: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 35757 invoked by uid 55); 22 Feb 2019 00:48:03 -0000
From: "ian at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89406] Go testing leaves many temporary directories in /tmp around
Date: Fri, 22 Feb 2019 00:48: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: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89406-4-OnUuNcC5YM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89406-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89406-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: 2019-02/txt/msg02894.txt.bz2
Content-length: 656

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89406

--- Comment #2 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Fri Feb 22 00:47:30 2019
New Revision: 269087

URL: https://gcc.gnu.org/viewcvs?rev=269087&root=gcc&view=rev
Log:
        PR go/89406
    net: remove unixgram test sockets

    Backport https://golang.org/cl/163277 from the master library.

    Updates https://gcc.gnu.org/PR89406

    Reviewed-on: https://go-review.googlesource.com/c/163200

Modified:
    trunk/gcc/go/gofrontend/MERGE
    trunk/libgo/go/net/listen_test.go
    trunk/libgo/go/net/mockserver_test.go
    trunk/libgo/go/net/splice_test.go
>From gcc-bugs-return-634593-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 01:05:44 2019
Return-Path: <gcc-bugs-return-634593-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69664 invoked by alias); 22 Feb 2019 01:05:44 -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 69474 invoked by uid 48); 22 Feb 2019 01:05:40 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89443] toplevel inline-asm with volatile after the asm is not anymore support in C++
Date: Fri, 22 Feb 2019 01:05: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.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager 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: cc
Message-ID: <bug-89443-4-uSOJAaJMzq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89443-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89443-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: 2019-02/txt/msg02895.txt.bz2
Content-length: 925

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89443

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egallager at gcc dot gnu.org

--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Segher Boessenkool from comment #2)
> This is not a bug.  This change was made in r267280:
> 
> """
> c++, asm: Do not handle any asm-qualifiers in top-level asm
> 
> Previously, "volatile" was allowed.  Changing this simplifies the code,
> makes things more regular, and makes the C and C++ frontends handle
> this the same way.
> """
> 
> https://gcc.gnu.org/ml/gcc-patches/2018-12/msg00605.html

should probably be mentioned in the "Caveats" section of the gcc-9 changes
page, and/or the "Porting To GCC 9" page
>From gcc-bugs-return-634594-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 01:54:30 2019
Return-Path: <gcc-bugs-return-634594-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81407 invoked by alias); 22 Feb 2019 01: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 81115 invoked by uid 48); 22 Feb 2019 01:54:24 -0000
From: "thiago at kde dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89445] New: [8 regression] _mm512_maskz_loadu_pd "forgets" to use the mask
Date: Fri, 22 Feb 2019 01:54: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: thiago at kde dot 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-89445-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: 2019-02/txt/msg02896.txt.bz2
Content-length: 2462

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89445

            Bug ID: 89445
           Summary: [8 regression] _mm512_maskz_loadu_pd "forgets" to use
                    the mask
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: thiago at kde dot org
  Target Milestone: ---

Created attachment 45793
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45793&action=edit
example showing segmentation fault

In the following code:

void daxpy(size_t n, double a, double const* __restrict x,  double* __restrict
y)
{
    const __m512d v_a = _mm512_broadcastsd_pd(_mm_set_sd(a));

    const __mmask16 final = (1U << (n % 8u)) - 1;
    __mmask16 mask = 65535u;
    for (size_t i = 0; i < n * sizeof(double); i += 8 * sizeof(double)) {
        if (i + 8 * sizeof(double) > n * sizeof(double))
            mask = final;
        __m512d v_x = _mm512_maskz_loadu_pd(mask, (char const *)x + i);
        __m512d v_y = _mm512_maskz_loadu_pd(mask, (char const *)y + i);
        __m512d tmp = _mm512_fmadd_pd(v_x, v_a, v_y);
        _mm512_mask_storeu_pd((char *)y + i, mask, tmp);
    }
}

When compiled with GCC 8, the loop looks like

.L5:
        cmpq    %rax, %r10
        cmovb   %r9d, %r8d
        movzbl  %r8b, %ecx
        kmovd   %ecx, %k1
        leaq    (%rdx,%rax), %rcx
        vmovapd (%rsi,%rax), %zmm1{%k1}{z}
        vmovapd (%rcx), %zmm2{%k1}{z}
        vfmadd132pd     %zmm0, %zmm2, %zmm1
        vmovupd %zmm1, (%rcx){%k1}
        addq    $64, %rax
        cmpq    %rdi, %rax
        jb      .L5

Whereas GCC trunk (as of r269073) generates:

.L5:
        vmovapd (%rsi,%rax), %zmm1
        cmpq    %rax, %r9
        vfmadd213pd     (%rdx,%rax), %zmm0, %zmm1
        cmovb   %r8d, %ecx
        kmovb   %ecx, %k1
        vmovupd %zmm1, (%rdx,%rax){%k1}
        addq    $64, %rax
        cmpq    %rdi, %rax
        jb      .L5

Godbolt link: https://gcc.godbolt.org/z/2ys7ZO

Since the neither memory loads are masked, the resulting registers can contain
garbage and trigger FP exceptions. They can also cause segmentation faults if
portions of the source are not mapped regions. The attached example forces the
operation on a page boundary where half the 64 bytes addressed by the second
load are unmapped. When run, the example will crash.
>From gcc-bugs-return-634595-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 02:03:25 2019
Return-Path: <gcc-bugs-return-634595-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32189 invoked by alias); 22 Feb 2019 02:03: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 30793 invoked by uid 48); 22 Feb 2019 02:03:21 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89446] New: [7/8 Regression] __builtin_constant_p expression crashes in char_traits::compare
Date: Fri, 22 Feb 2019 02:03:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.2.1
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-89446-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: 2019-02/txt/msg02897.txt.bz2
Content-length: 2176

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89446

            Bug ID: 89446
           Summary: [7/8 Regression] __builtin_constant_p expression
                    crashes in char_traits::compare
           Product: gcc
           Version: 8.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redi at gcc dot gnu.org
  Target Milestone: ---

#include <string_view>

int main()
{
  std::string_view s1, s2;
  return s1 == s2;
}

This crashes when compiled with -std=c++17 -O1 -fnon-call-exceptions

Program received signal SIGSEGV, Segmentation fault.
main () at /usr/include/c++/8/bits/char_traits.h:303
303             if (__builtin_constant_p(__n)
#0  main () at /usr/include/c++/8/bits/char_traits.h:303

I think the fix is:

--- a/libstdc++-v3/include/bits/char_traits.h
+++ b/libstdc++-v3/include/bits/char_traits.h
@@ -248,7 +248,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
     __constant_char_array_p(const _CharT* __a, size_t __n)
     {
       size_t __i = 0;
-      while (__builtin_constant_p(__a[__i]) && __i < __n)
+      while (__i < __n && __builtin_constant_p(__a[__i]) && __i < __n)
        __i++;
       return __i == __n;
     }

But we can also avoid those checks entirely for empty strings:


@@ -301,14 +301,14 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
       static _GLIBCXX17_CONSTEXPR int
       compare(const char_type* __s1, const char_type* __s2, size_t __n)
       {
+       if (__n == 0)
+         return 0;
 #if __cplusplus > 201402
        if (__builtin_constant_p(__n)
            && __constant_char_array_p(__s1, __n)
            && __constant_char_array_p(__s2, __n))
          return __gnu_cxx::char_traits<char_type>::compare(__s1, __s2, __n);
 #endif
-       if (__n == 0)
-         return 0;
        return __builtin_memcmp(__s1, __s2, __n);
       }

(and similarly in char_traits<char>::find and char_traits<wchar_t>).


It doesn't currently fail on trunk, because we use
__builtin_is_constant_evaluated now instead of the __builtin_constant_p checks,
but the bug is still present.
>From gcc-bugs-return-634596-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 02:05:15 2019
Return-Path: <gcc-bugs-return-634596-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38237 invoked by alias); 22 Feb 2019 02:05: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 38131 invoked by uid 48); 22 Feb 2019 02:05:10 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89446] [7/8 Regression] __builtin_constant_p expression crashes in char_traits::compare
Date: Fri, 22 Feb 2019 02:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi 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-89446-4-VaLZcpLhfl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89446-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89446-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: 2019-02/txt/msg02898.txt.bz2
Content-length: 489

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89446

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-22
           Assignee|unassigned at gcc dot gnu.org      |redi at gcc dot gnu.org
     Ever confirmed|0                           |1
>From gcc-bugs-return-634598-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 02:08:59 2019
Return-Path: <gcc-bugs-return-634598-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77219 invoked by alias); 22 Feb 2019 02:08: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 76043 invoked by uid 48); 22 Feb 2019 02:08:54 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88869] [7/8 Regression] ICE (Segmentation Fault) when using lambda
Date: Fri, 22 Feb 2019 02:08: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.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-88869-4-d6Eek6YY0B@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88869-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88869-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: 2019-02/txt/msg02900.txt.bz2
Content-length: 533

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88869

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[7/8/9 Regression] ICE      |[7/8 Regression] ICE
                   |(Segmentation Fault) when   |(Segmentation Fault) when
                   |using lambda                |using lambda

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed on trunk so far.
>From gcc-bugs-return-634597-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 02:08:42 2019
Return-Path: <gcc-bugs-return-634597-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72887 invoked by alias); 22 Feb 2019 02:08: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 71992 invoked by uid 55); 22 Feb 2019 02:08:37 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88869] [7/8/9 Regression] ICE (Segmentation Fault) when using lambda
Date: Fri, 22 Feb 2019 02:08: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.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88869-4-BIjZNj3s4N@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88869-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88869-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: 2019-02/txt/msg02899.txt.bz2
Content-length: 789

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88869

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Feb 22 02:08:05 2019
New Revision: 269093

URL: https://gcc.gnu.org/viewcvs?rev=269093&root=gcc&view=rev
Log:
        PR c++/88869 - C++17 ICE with CTAD and explicit specialization.

The members of an explicit specialization of a class template don't have the
template parameters of that class template, so we shouldn't try to provide
arguments for them.  Only set outer_args when the class is an instantiation.

        * pt.c (do_class_deduction): Don't include explicit specialization
        args in outer_args.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1z/class-deduction63.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
>From gcc-bugs-return-634599-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 02:41:09 2019
Return-Path: <gcc-bugs-return-634599-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18550 invoked by alias); 22 Feb 2019 02:41: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 18369 invoked by uid 48); 22 Feb 2019 02:41:05 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89445] [9 regression] _mm512_maskz_loadu_pd "forgets" to use the mask
Date: Fri, 22 Feb 2019 02:41: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:
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: cc short_desc
Message-ID: <bug-89445-4-kPp1HseWKT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89445-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89445-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: 2019-02/txt/msg02901.txt.bz2
Content-length: 773

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89445

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ams at gcc dot gnu.org,
                   |                            |hjl.tools at gmail dot com,
                   |                            |jh at suse dot cz, mjambor at suse dot cz
            Summary|[8 regression]              |[9 regression]
                   |_mm512_maskz_loadu_pd       |_mm512_maskz_loadu_pd
                   |"forgets" to use the mask   |"forgets" to use the mask

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
It is caused by r264688.
>From gcc-bugs-return-634600-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 02:46:20 2019
Return-Path: <gcc-bugs-return-634600-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37337 invoked by alias); 22 Feb 2019 02:46: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 36949 invoked by uid 48); 22 Feb 2019 02:46:15 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88183] [8/9 Regression] Fold expression with operator .* inside an polymorphic lambda
Date: Fri, 22 Feb 2019 02:46: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.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-88183-4-PTnmxxwiRn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88183-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88183-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: 2019-02/txt/msg02902.txt.bz2
Content-length: 793

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88183

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Reduced:

struct A { int i; };

template <class T> T g(T);

template <class U, class... Vs>
void f(U u, Vs... vs)
{ 
  [vs...](auto x) {
    (g(x) .* ... .* vs) = 42;
  }(u);
}

int main()
{
  f(A(), &A::i);
}

Basically, the problem is that fold-expressions don't currently support partial
instantiation like that done by tsubst_lambda_expr.
>From gcc-bugs-return-634603-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 02:48:52 2019
Return-Path: <gcc-bugs-return-634603-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46855 invoked by alias); 22 Feb 2019 02:48: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 46293 invoked by uid 55); 22 Feb 2019 02:48:22 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88394] [8 Regression] g++ ICE (Segmentation fault) in insert_capture_proxy
Date: Fri, 22 Feb 2019 02:48: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.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-88394-4-cClo1rf1dE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88394-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88394-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: 2019-02/txt/msg02905.txt.bz2
Content-length: 541

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88394

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[8/9 Regression] g++ ICE    |[8 Regression] g++ ICE
                   |(Segmentation fault) in     |(Segmentation fault) in
                   |insert_capture_proxy        |insert_capture_proxy

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed on trunk so far.
>From gcc-bugs-return-634601-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 02:48:32 2019
Return-Path: <gcc-bugs-return-634601-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46393 invoked by alias); 22 Feb 2019 02:48: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 45714 invoked by uid 55); 22 Feb 2019 02:48:09 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88394] [8/9 Regression] g++ ICE (Segmentation fault) in insert_capture_proxy
Date: Fri, 22 Feb 2019 02:48: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.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88394-4-3JlCdQcuuE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88394-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88394-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: 2019-02/txt/msg02903.txt.bz2
Content-length: 708

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88394

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Feb 22 02:47:33 2019
New Revision: 269094

URL: https://gcc.gnu.org/viewcvs?rev=269094&root=gcc&view=rev
Log:
        PR c++/88394 - ICE with VLA init-capture.

We mostly use is_normal_capture_proxy to decide whether or not to use
DECL_CAPTURED_VARIABLE; we could just check whether it's set.  VLA capture
is still mostly broken, but this fixes this ICE.

        * lambda.c (is_normal_capture_proxy): Check DECL_CAPTURED_VARIABLE.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/lambda-init-vla1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/lambda.c
>From gcc-bugs-return-634602-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 02:48:47 2019
Return-Path: <gcc-bugs-return-634602-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46519 invoked by alias); 22 Feb 2019 02:48: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 46122 invoked by uid 48); 22 Feb 2019 02:48:21 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88394] [8 Regression] g++ ICE (Segmentation fault) in insert_capture_proxy
Date: Fri, 22 Feb 2019 02:48: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.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-88394-4-rRaKtKYJmT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88394-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88394-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: 2019-02/txt/msg02904.txt.bz2
Content-length: 1196

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88394

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[8/9 Regression] g++ ICE    |[8 Regression] g++ ICE
                   |(Segmentation fault) in     |(Segmentation fault) in
                   |insert_capture_proxy        |insert_capture_proxy

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Feb 22 02:47:33 2019
New Revision: 269094

URL: https://gcc.gnu.org/viewcvs?rev=269094&root=gcc&view=rev
Log:
        PR c++/88394 - ICE with VLA init-capture.

We mostly use is_normal_capture_proxy to decide whether or not to use
DECL_CAPTURED_VARIABLE; we could just check whether it's set.  VLA capture
is still mostly broken, but this fixes this ICE.

        * lambda.c (is_normal_capture_proxy): Check DECL_CAPTURED_VARIABLE.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/lambda-init-vla1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/lambda.c

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed on trunk so far.
>From gcc-bugs-return-634604-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 02:58:18 2019
Return-Path: <gcc-bugs-return-634604-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81085 invoked by alias); 22 Feb 2019 02:58: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 80890 invoked by uid 48); 22 Feb 2019 02:58:13 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87685] [8/9 Regression] Calling a static method from inside a generic lambda requires to capture 'this'
Date: Fri, 22 Feb 2019 02:58: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.1.1
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-87685-4-E8xhqb88tR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87685-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87685-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: 2019-02/txt/msg02906.txt.bz2
Content-length: 378

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87685

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org
>From gcc-bugs-return-634605-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 03:35:55 2019
Return-Path: <gcc-bugs-return-634605-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64463 invoked by alias); 22 Feb 2019 03:35: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 62291 invoked by uid 48); 22 Feb 2019 03:35:49 -0000
From: "jiangning.liu at amperecomputing dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89430] A missing ifcvt optimization to generate csel
Date: Fri, 22 Feb 2019 03: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: jiangning.liu at amperecomputing 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-89430-4-DoeNh0alOt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89430-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89430-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: 2019-02/txt/msg02907.txt.bz2
Content-length: 1106

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89430

--- Comment #7 from Jiangning Liu <jiangning.liu at amperecomputing dot com> ---
To avoid "readonly" issue, try this case,

unsigned test(unsigned k, unsigned b) {
        unsigned a[2];
        if (b < a[k]) {
                a[k] = b;
        }
        return a[0]+a[2];
}

Variable a is local, and it is NOT readonly, so now the following code is
generated,

        sub     sp, sp, #16
        uxtw    x0, w0
        add     x2, sp, 8
        ldr     w3, [x2, x0, lsl 2]
        cmp     w3, w1
        bls     .L2
        str     w1, [x2, x0, lsl 2]
.L2:
        ldr     w1, [sp, 8]
        ldr     w0, [sp, 16]
        add     sp, sp, 16
        add     w0, w1, w0
        ret

But gcc should generate code below instead,

        uxtw    x2, w0
        add     x3, sp, 8
        ldr     w5, [sp, 16]
        ldr     w4, [x3, x2, lsl 2]
        cmp     w4, w1
        csel    w1, w1, w4, hi
        str     w1, [x3, x2, lsl 2]
        ldr     w0, [sp, 8]
        add     sp, sp, 16
        add     w0, w0, w5
        ret

Any other glass jaw?
>From gcc-bugs-return-634606-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 05:17:16 2019
Return-Path: <gcc-bugs-return-634606-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44231 invoked by alias); 22 Feb 2019 05:17: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 43930 invoked by uid 48); 22 Feb 2019 05:17:11 -0000
From: "kugan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88838] [SVE] Use 32-bit WHILELO in LP64 mode
Date: Fri, 22 Feb 2019 05:17: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: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: kugan 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-88838-4-FCCsMaKR5F@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88838-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88838-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: 2019-02/txt/msg02908.txt.bz2
Content-length: 1224

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88838

kugan at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kugan at gcc dot gnu.org

--- Comment #2 from kugan at gcc dot gnu.org ---
AFIK, we need to:
1. Change the whilelo pattern in backend
2. Change RTL CSE
- Add support for VEC_DUPLICATE
- When handling PARALLEL rtx, we  may kill CSE defined in the first set so that
it docent reach

Attached patch fix this. With the patch I now have:
.LFB0:
        .cfi_startproc
        cmp     w3, 0
        ble     .L1
        sub     w4, w3, #1
        cntw    x3
        lsr     w4, w4, 1
        add     w4, w4, 1
        whilelo p0.s, xzr, x4
        .p2align 3,,7
.L3:
        ld2w    {z4.s - z5.s}, p0/z, [x1]
        ld2w    {z2.s - z3.s}, p0/z, [x2]
        add     z0.s, z4.s, z2.s
        sub     z1.s, z5.s, z3.s
        st2w    {z0.s - z1.s}, p0, [x0]
        incb    x1, all, mul #2
        whilelo p0.s, x3, x4
        incb    x0, all, mul #2
        incw    x3
        incb    x2, all, mul #2
        bne     .L3
.L1:
        ret
        .cfi_endproc
>From gcc-bugs-return-634607-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 05:18:17 2019
Return-Path: <gcc-bugs-return-634607-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48685 invoked by alias); 22 Feb 2019 05:18: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 48475 invoked by uid 48); 22 Feb 2019 05:18:13 -0000
From: "kugan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88838] [SVE] Use 32-bit WHILELO in LP64 mode
Date: Fri, 22 Feb 2019 05:18: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: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: kugan 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: attachments.created
Message-ID: <bug-88838-4-B4y0mRsiRz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88838-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88838-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: 2019-02/txt/msg02909.txt.bz2
Content-length: 213

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88838

--- Comment #3 from kugan at gcc dot gnu.org ---
Created attachment 45794
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45794&action=edit
RFC patch
>From gcc-bugs-return-634608-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 05:22:13 2019
Return-Path: <gcc-bugs-return-634608-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 70605 invoked by alias); 22 Feb 2019 05:22: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 70210 invoked by uid 48); 22 Feb 2019 05:22:08 -0000
From: "kugan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88838] [SVE] Use 32-bit WHILELO in LP64 mode
Date: Fri, 22 Feb 2019 05:22: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: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: kugan 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-88838-4-aBCh2bU3Hb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88838-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88838-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: 2019-02/txt/msg02910.txt.bz2
Content-length: 285

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88838

--- Comment #4 from kugan at gcc dot gnu.org ---
sorry wr(In reply to kugan from comment #3)
> Created attachment 45794 [details]
> RFC patch

Oops wrong place, it should be for
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88836
>From gcc-bugs-return-634609-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 05:23:44 2019
Return-Path: <gcc-bugs-return-634609-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76070 invoked by alias); 22 Feb 2019 05:23:44 -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 75801 invoked by uid 48); 22 Feb 2019 05:23:40 -0000
From: "kugan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88836] [SVE] Redundant PTEST in loop test
Date: Fri, 22 Feb 2019 05:23: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: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: kugan at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: kugan at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-88836-4-3KcSs3kENC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88836-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88836-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: 2019-02/txt/msg02911.txt.bz2
Content-length: 1093

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88836

--- Comment #2 from kugan at gcc dot gnu.org ---
Created attachment 45795
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45795&action=edit
RFC patch

AFIK, we need to:
1. Change the whilelo pattern in backend
2. Change RTL CSE
- Add support for VEC_DUPLICATE
- When handling PARALLEL rtx, we  may kill CSE defined in the first set so that
it docent reach

Attached patch fix this. With the patch I now have:
.LFB0:
        .cfi_startproc
        cmp     w3, 0
        ble     .L1
        sub     w4, w3, #1
        cntw    x3
        lsr     w4, w4, 1
        add     w4, w4, 1
        whilelo p0.s, xzr, x4
        .p2align 3,,7
.L3:
        ld2w    {z4.s - z5.s}, p0/z, [x1]
        ld2w    {z2.s - z3.s}, p0/z, [x2]
        add     z0.s, z4.s, z2.s
        sub     z1.s, z5.s, z3.s
        st2w    {z0.s - z1.s}, p0, [x0]
        incb    x1, all, mul #2
        whilelo p0.s, x3, x4
        incb    x0, all, mul #2
        incw    x3
        incb    x2, all, mul #2
        bne     .L3
.L1:
        ret
        .cfi_endproc
>From gcc-bugs-return-634610-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 05:44:16 2019
Return-Path: <gcc-bugs-return-634610-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75726 invoked by alias); 22 Feb 2019 05:44: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 75483 invoked by uid 48); 22 Feb 2019 05:44:11 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89406] Go testing leaves many temporary directories in /tmp around
Date: Fri, 22 Feb 2019 05:44: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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89406-4-0N8BjSIoAO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89406-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89406-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: 2019-02/txt/msg02912.txt.bz2
Content-length: 688

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89406

Ian Lance Taylor <ian at airs dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Ian Lance Taylor <ian at airs dot com> ---
I don't see any more of these when testing on x86_64-pc-linux-gnu, but then I
never saw anything like /tmp/200483472.  If you still see them with current
trunk, give me details like the platform, what is in the directory, and whether
there are any failing tests.  Thanks.
>From gcc-bugs-return-634611-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 05:52:11 2019
Return-Path: <gcc-bugs-return-634611-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111278 invoked by alias); 22 Feb 2019 05:52: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 111049 invoked by uid 48); 22 Feb 2019 05:52:07 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86969] [8/9 Regression] ICE (in tsubst_copy) for a generic recursive lambda
Date: Fri, 22 Feb 2019 05: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc assigned_to
Message-ID: <bug-86969-4-lgUvowLIJC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86969-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86969-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: 2019-02/txt/msg02913.txt.bz2
Content-length: 452

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86969

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |jason at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org
>From gcc-bugs-return-634612-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 06:49:02 2019
Return-Path: <gcc-bugs-return-634612-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130737 invoked by alias); 22 Feb 2019 06:49: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 129755 invoked by uid 55); 22 Feb 2019 06:48:44 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87685] [8/9 Regression] Calling a static method from inside a generic lambda requires to capture 'this'
Date: Fri, 22 Feb 2019 06:49: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.1.1
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87685-4-moDLXmwwQB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87685-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87685-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: 2019-02/txt/msg02914.txt.bz2
Content-length: 865

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87685

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Feb 22 06:47:37 2019
New Revision: 269095

URL: https://gcc.gnu.org/viewcvs?rev=269095&root=gcc&view=rev
Log:
        PR c++/87685 - generic lambda 'this' capture error.

The standard says that in a generic lambda we should speculatively capture
'this' if we see a call to an overload set that contains a non-static member
function, but it seems wrong to reject the program if we can't capture,
since it might not actually be needed.

        * lambda.c (lambda_expr_this_capture): Change add_capture_p to int.
        (maybe_generic_this_capture): Pass -1.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/lambda-generic-this3.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/lambda.c
>From gcc-bugs-return-634613-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 07:55:49 2019
Return-Path: <gcc-bugs-return-634613-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31832 invoked by alias); 22 Feb 2019 07:55: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 31653 invoked by uid 48); 22 Feb 2019 07:55:45 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89446] [7/8 Regression] __builtin_constant_p expression crashes in char_traits::compare
Date: Fri, 22 Feb 2019 07:55:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.2.1
X-Bugzilla-Keywords:
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: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-89446-4-hmkqOULO4t@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89446-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89446-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: 2019-02/txt/msg02915.txt.bz2
Content-length: 293

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89446

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |7.5
>From gcc-bugs-return-634615-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 07:56:53 2019
Return-Path: <gcc-bugs-return-634615-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35064 invoked by alias); 22 Feb 2019 07:56:52 -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 34872 invoked by uid 48); 22 Feb 2019 07:56:48 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89444] [9 Regression] r264052 removed PTA_AES from PTA_SKYLAKE/PTA_GOLDMONT
Date: Fri, 22 Feb 2019 07:56: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:
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: target_milestone
Message-ID: <bug-89444-4-jtOveaUS59@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89444-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89444-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: 2019-02/txt/msg02917.txt.bz2
Content-length: 293

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89444

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |9.0
>From gcc-bugs-return-634614-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 07:56:34 2019
Return-Path: <gcc-bugs-return-634614-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33841 invoked by alias); 22 Feb 2019 07:56: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 33731 invoked by uid 48); 22 Feb 2019 07:56:30 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89445] [9 regression] _mm512_maskz_loadu_pd "forgets" to use the mask
Date: Fri, 22 Feb 2019 07:56: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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_gcctarget priority component target_milestone
Message-ID: <bug-89445-4-6FjmzNfAJm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89445-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89445-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: 2019-02/txt/msg02916.txt.bz2
Content-length: 541

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89445

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
             Target|                            |x86_64-*-*, i?86-*-*
           Priority|P3                          |P1
          Component|target                      |rtl-optimization
   Target Milestone|---                         |9.0
>From gcc-bugs-return-634616-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 07:57:18 2019
Return-Path: <gcc-bugs-return-634616-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36738 invoked by alias); 22 Feb 2019 07: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 36547 invoked by uid 48); 22 Feb 2019 07:57:13 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/86964] [7/8/9 Regression] Too many debug symbols included, especially for extern globals
Date: Fri, 22 Feb 2019 07:57:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 6.3.0
X-Bugzilla-Keywords:
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_known_to_work target_milestone short_desc
Message-ID: <bug-86964-4-Gnrinsputv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86964-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86964-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: 2019-02/txt/msg02918.txt.bz2
Content-length: 626

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86964

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.9.4
   Target Milestone|---                         |7.5
            Summary|[ 7/8/9 Regression ] Too    |[7/8/9 Regression] Too many
                   |many debug symbols          |debug symbols included,
                   |included, especially for    |especially for extern
                   |extern globals              |globals
>From gcc-bugs-return-634617-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 07:58:33 2019
Return-Path: <gcc-bugs-return-634617-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97261 invoked by alias); 22 Feb 2019 07:58: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 97092 invoked by uid 48); 22 Feb 2019 07:58:29 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89440] [9 Regression] ICE in vect_create_epilog_for_reduction, at tree-vect-loop.c:5502
Date: Fri, 22 Feb 2019 07:58: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: ice-on-valid-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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status component assigned_to target_milestone
Message-ID: <bug-89440-4-eyUuOnHwVp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89440-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89440-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: 2019-02/txt/msg02919.txt.bz2
Content-length: 578

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89440

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
          Component|c                           |tree-optimization
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
   Target Milestone|---                         |9.0

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Mine.
>From gcc-bugs-return-634618-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 08:00:04 2019
Return-Path: <gcc-bugs-return-634618-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101040 invoked by alias); 22 Feb 2019 08:00: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 100741 invoked by uid 48); 22 Feb 2019 07:59:59 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89439] [7/8/9 Regression] ICE in make_ssa_name_fn, at tree-ssanames.c:268
Date: Fri, 22 Feb 2019 08:00: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: 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on component cf_known_to_work target_milestone everconfirmed
Message-ID: <bug-89439-4-uB2rOGnrWD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89439-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89439-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: 2019-02/txt/msg02920.txt.bz2
Content-length: 711

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89439

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-22
          Component|c                           |tree-optimization
      Known to work|                            |6.5.0
   Target Milestone|---                         |7.5
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.
>From gcc-bugs-return-634620-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 08:02:50 2019
Return-Path: <gcc-bugs-return-634620-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109240 invoked by alias); 22 Feb 2019 08:02: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 108964 invoked by uid 48); 22 Feb 2019 08:02:46 -0000
From: "johannespfau at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug d/89177] unaligned memory access in libphobos
Date: Fri, 22 Feb 2019 08:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: d
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: johannespfau 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:
Message-ID: <bug-89177-4-dMx6qGJxZ1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89177-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89177-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: 2019-02/txt/msg02922.txt.bz2
Content-length: 190

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89177

--- Comment #5 from Johannes Pfau <johannespfau at gmail dot com> ---
OK, thanks for testing. I'll post a patch to the ML this evening.
>From gcc-bugs-return-634619-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 08:02:49 2019
Return-Path: <gcc-bugs-return-634619-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109093 invoked by alias); 22 Feb 2019 08:02: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 108870 invoked by uid 48); 22 Feb 2019 08:02:44 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89436] [8/9 Regression] ICE in glibc/sysdeps/ieee754/dbl-64/e_pow.c (during RTL pass: cprop_hardreg: internal compiler error: qsort checking failed)
Date: Fri, 22 Feb 2019 08:02: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: ice-checking, wrong-code
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: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords cc component target_milestone
Message-ID: <bug-89436-4-b9sCh7xWgD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89436-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89436-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: 2019-02/txt/msg02921.txt.bz2
Content-length: 612

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89436

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-checking, wrong-code
                 CC|                            |amonakov at gcc dot gnu.org
          Component|c                           |rtl-optimization
   Target Milestone|---                         |8.3

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
The comparator looks innocous...
>From gcc-bugs-return-634621-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 08:06:52 2019
Return-Path: <gcc-bugs-return-634621-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125009 invoked by alias); 22 Feb 2019 08:06: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 124835 invoked by uid 48); 22 Feb 2019 08:06:47 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89439] [7/8/9 Regression] ICE in make_ssa_name_fn, at tree-ssanames.c:268
Date: Fri, 22 Feb 2019 08:06: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: 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: component
Message-ID: <bug-89439-4-kiP8GD6JjG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89439-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89439-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: 2019-02/txt/msg02923.txt.bz2
Content-length: 1392

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89439

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|tree-optimization           |c++

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
So we're inlining a released SSA name:

#2  0x00000000014e8383 in remap_ssa_name (name=<ssa_name 0x7ffff69ed048>, 
    id=0x7fffffffd6c0) at /space/rguenther/src/svn/trunk2/gcc/tree-inline.c:245
245           new_tree = make_ssa_name (remap_type (TREE_TYPE (name), id));
(gdb) p debug_tree (name)
 <ssa_name 0x7ffff69ed048 nothrow
    def_stmt 
    version:10 in-free-list>
$2 = void

from

# VUSE <.MEM_14(D)>
_13 = MEM[(int[0:(sizetype) D.2308][0:(sizetype) D.2307] *)foo.2_12][0]{lb: 0
sz: _6 * 4}[0];

where you can see not properly gimplified VLA stuff and thus missing
DECL_EXPRs.

FE issue.

;; Function void f2(int) (null)
;; enabled by -tree-original


<<cleanup_point <<< Unknown tree: expr_stmt
  (void) (res = (*(((sizetype) (SAVE_EXPR <(ssizetype) b + -1>) + 1) *
((sizetype) (SAVE_EXPR <(ssizetype) arg + -1>) + 1);, (int[0:(sizetype)
(SAVE_EXPR <(ssizetype) arg + -1>)][0:(sizetype) (SAVE_EXPR <(ssizetype) b +
-1>)] *) foo;))[0][0]) >>>>>;

nowhere is the VLA type we cast to instantiated.
>From gcc-bugs-return-634622-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 08:09:12 2019
Return-Path: <gcc-bugs-return-634622-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4945 invoked by alias); 22 Feb 2019 08:09: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 2588 invoked by uid 48); 22 Feb 2019 08:09:08 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89444] [9 Regression] r264052 removed PTA_AES from PTA_SKYLAKE/PTA_GOLDMONT
Date: Fri, 22 Feb 2019 08:09: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:
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:
Message-ID: <bug-89444-4-FnGz5CkRRt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89444-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89444-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: 2019-02/txt/msg02924.txt.bz2
Content-length: 169

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89444

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Sorry for breakage and thanks for the patch.
>From gcc-bugs-return-634623-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 08:32:12 2019
Return-Path: <gcc-bugs-return-634623-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112143 invoked by alias); 22 Feb 2019 08:32: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 111851 invoked by uid 48); 22 Feb 2019 08:32:06 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89440] [9 Regression] ICE in vect_create_epilog_for_reduction, at tree-vect-loop.c:5502
Date: Fri, 22 Feb 2019 08: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: ice-on-valid-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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89440-4-kDI8UUY1QD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89440-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89440-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: 2019-02/txt/msg02925.txt.bz2
Content-length: 463

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89440

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
OK, I believe we can simply remove the assert since for nested cycles we can
handle this just fine.  With integers we get

t2.c:7:3: missed:   inner-loop induction only used outside of the outer
vectorized loop.
t2.c:2:1: missed:   not vectorized: relevant phi not supported: a_28 = PHI
<a_29(5), a_10(8)>

which is a missed optimization.
>From gcc-bugs-return-634624-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 08:33:30 2019
Return-Path: <gcc-bugs-return-634624-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124094 invoked by alias); 22 Feb 2019 08:33: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 123945 invoked by uid 48); 22 Feb 2019 08:33:26 -0000
From: "mark.eggleston at codethink dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89431] CPP integer macros not defined
Date: Fri, 22 Feb 2019 08:33: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:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: mark.eggleston at codethink dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89431-4-l01uVJV5Um@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89431-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89431-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: 2019-02/txt/msg02926.txt.bz2
Content-length: 385

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89431

--- Comment #7 from MarkEggleston <mark.eggleston at codethink dot com> ---
The only reason this PR was raised was because an attempt to use conditional
compilation based on integer kinds failed because the implementation did not
match the documentation.

There is no issue with the existence of __GFC_REAL_10_ and __GFC_REAL_16_.
>From gcc-bugs-return-634625-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 08:37:14 2019
Return-Path: <gcc-bugs-return-634625-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7436 invoked by alias); 22 Feb 2019 08:37: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 7068 invoked by uid 55); 22 Feb 2019 08:37:09 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/87609] [7/8/9 Regression] miscompilation with restrict and loop
Date: Fri, 22 Feb 2019 08:37: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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87609-4-KvOMUnqFqE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87609-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87609-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: 2019-02/txt/msg02927.txt.bz2
Content-length: 851

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87609

--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Feb 22 08:36:30 2019
New Revision: 269097

URL: https://gcc.gnu.org/viewcvs?rev=269097&root=gcc&view=rev
Log:
2019-02-22  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/87609
        * tree-core.h (tree_base): Document special clique values.
        * tree-inline.c (remap_dependence_clique): Do not use the
        special clique value of one.
        (maybe_set_dependence_info): Use clique one.
        (clear_dependence_clique): New callback.
        (compute_dependence_clique): Clear clique one from all refs
        before assigning it (again).

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-core.h
    trunk/gcc/tree-inline.c
    trunk/gcc/tree-ssa-structalias.c
>From gcc-bugs-return-634626-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 08:38:55 2019
Return-Path: <gcc-bugs-return-634626-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13632 invoked by alias); 22 Feb 2019 08:38: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 13403 invoked by uid 55); 22 Feb 2019 08:38:50 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/87609] [7/8/9 Regression] miscompilation with restrict and loop
Date: Fri, 22 Feb 2019 08:38: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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87609-4-b86JK0OsU0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87609-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87609-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: 2019-02/txt/msg02928.txt.bz2
Content-length: 1157

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87609

--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Feb 22 08:38:14 2019
New Revision: 269098

URL: https://gcc.gnu.org/viewcvs?rev=269098&root=gcc&view=rev
Log:
2019-02-22  Richard Biener  <rguenther@suse.de>

        PR middle-end/87609
        * cfghooks.h (dependence_hash): New typedef.
        (struct copy_bb_data): New type.
        (cfg_hooks::duplicate_block): Adjust to take a copy_bb_data argument.
        (duplicate_block): Likewise.
        * cfghooks.c (duplicate_block): Pass down copy_bb_data.
        (copy_bbs): Create and pass down copy_bb_data.
        * cfgrtl.c (cfg_layout_duplicate_bb): Adjust.
        (rtl_duplicate_bb): Likewise.
        * tree-cfg.c (gimple_duplicate_bb): If the copy_bb_data arg is not NULL
        remap dependence info.

        * gcc.dg/torture/restrict-7.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/restrict-7.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cfghooks.c
    trunk/gcc/cfghooks.h
    trunk/gcc/cfgrtl.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-cfg.c
>From gcc-bugs-return-634627-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 08:39:17 2019
Return-Path: <gcc-bugs-return-634627-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15467 invoked by alias); 22 Feb 2019 08:39: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 15232 invoked by uid 48); 22 Feb 2019 08:39:12 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/87609] [7/8 Regression] miscompilation with restrict and loop
Date: Fri, 22 Feb 2019 08:39: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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_known_to_work short_desc
Message-ID: <bug-87609-4-DTJQMqtQwl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87609-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87609-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: 2019-02/txt/msg02929.txt.bz2
Content-length: 587

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87609

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |9.0
            Summary|[7/8/9 Regression]          |[7/8 Regression]
                   |miscompilation with         |miscompilation with
                   |restrict and loop           |restrict and loop

--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed on trunk sofar.
>From gcc-bugs-return-634628-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 09:06:38 2019
Return-Path: <gcc-bugs-return-634628-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32992 invoked by alias); 22 Feb 2019 09:06: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 32877 invoked by uid 48); 22 Feb 2019 09:06:33 -0000
From: "amonakov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89436] [8/9 Regression] ICE in glibc/sysdeps/ieee754/dbl-64/e_pow.c (during RTL pass: cprop_hardreg: internal compiler error: qsort checking failed)
Date: Fri, 22 Feb 2019 09:06: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: ice-checking, wrong-code
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: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89436-4-uODvaQy6q6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89436-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89436-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: 2019-02/txt/msg02930.txt.bz2
Content-length: 488

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89436

--- Comment #2 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
This was previously reported as PR 86096. Let me copy-paste my response from
there:

df_mw_compare has:

   if (mw1->mw_reg != mw2->mw_reg)
     return mw1->mw_order - mw2->mw_order;

Note mw_reg in the 'if' vs mw_order in the 'return'. This is invalid.

It's simpler and more efficient to just use mw_order as the last tie-breaker
regardless of mw_reg value.
>From gcc-bugs-return-634629-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 09:07:31 2019
Return-Path: <gcc-bugs-return-634629-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36258 invoked by alias); 22 Feb 2019 09:07: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 35952 invoked by uid 48); 22 Feb 2019 09:07:27 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82501] AddressSanitizer does not handle negative offset for first global variable
Date: Fri, 22 Feb 2019 09:07: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82501-4-3KQzdfnArU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82501-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82501-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: 2019-02/txt/msg02931.txt.bz2
Content-length: 1092

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82501

--- Comment #15 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Franz Sirl from comment #3)
> Created attachment 43650 [details]
> another testcase
> 
> On x86_64-linux, when compiled with "gcc-7 -O2 -fsanitize=address" this
> testcase prints nothing. With "gcc-7 -O2 -fsanitize=address
> -fsanitize=undefined" this slightly confusing message is output:
> 
> test-asan1.c:36:29: runtime error: load of address 0x000000602660 with
> insufficient space for an object of type 'inttype'
> 0x000000602660: note: pointer points here
>  0c 00 00 00  80 20 60 00 00 00 00 00  28 00 00 00 00 00 00 00  60 00 00 00
> 00 00 00 00  80 0c 40 00
>               ^ 
> test-asan1.c:36:29: runtime error: store to address 0x000000602660 with
> insufficient space for an object of type 'inttype'
> 0x000000602660: note: pointer points here
>  0c 00 00 00  80 20 60 00 00 00 00 00  28 00 00 00 00 00 00 00  60 00 00 00
> 00 00 00 00  80 0c 40 00
>               ^

This is a different story and properly caught by UBSAN.
>From gcc-bugs-return-634630-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 09:25:26 2019
Return-Path: <gcc-bugs-return-634630-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75478 invoked by alias); 22 Feb 2019 09:25:26 -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 75384 invoked by uid 48); 22 Feb 2019 09:25:22 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89436] [8/9 Regression] ICE in glibc/sysdeps/ieee754/dbl-64/e_pow.c (during RTL pass: cprop_hardreg: internal compiler error: qsort checking failed)
Date: Fri, 22 Feb 2019 09:25: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: ice-checking, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth 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: 8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89436-4-r3VdRgtamP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89436-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89436-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: 2019-02/txt/msg02932.txt.bz2
Content-length: 504

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89436

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
duplicate then.

*** This bug has been marked as a duplicate of bug 86096 ***
>From gcc-bugs-return-634631-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 09:25:27 2019
Return-Path: <gcc-bugs-return-634631-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75526 invoked by alias); 22 Feb 2019 09:25:26 -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 75415 invoked by uid 48); 22 Feb 2019 09:25:23 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/86096] ICE: qsort checking failed (error: qsort comparator non-negative on sorted output: 0)
Date: Fri, 22 Feb 2019 09:25: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: unknown
X-Bugzilla-Keywords: ice-checking, ice-on-invalid-code
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: cc
Message-ID: <bug-86096-4-DF2lL5YYMv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86096-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86096-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: 2019-02/txt/msg02933.txt.bz2
Content-length: 455

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86096

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |przemyslaw.wirkus at arm dot com

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
*** Bug 89436 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-634632-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 09:26:04 2019
Return-Path: <gcc-bugs-return-634632-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77632 invoked by alias); 22 Feb 2019 09:26: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 77490 invoked by uid 48); 22 Feb 2019 09:25:59 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/86096] [8/9 Regression] ICE: qsort checking failed (error: qsort comparator non-negative on sorted output: 0)
Date: Fri, 22 Feb 2019 09: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: ice-checking, 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: keywords priority version target_milestone short_desc
Message-ID: <bug-86096-4-mP5CvLXOD4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86096-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86096-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: 2019-02/txt/msg02934.txt.bz2
Content-length: 813

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86096

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-invalid-code         |ice-on-valid-code
           Priority|P3                          |P2
            Version|unknown                     |9.0
   Target Milestone|---                         |8.3
            Summary|ICE: qsort checking failed  |[8/9 Regression] ICE: qsort
                   |(error: qsort comparator    |checking failed (error:
                   |non-negative on sorted      |qsort comparator
                   |output: 0)                  |non-negative on sorted
                   |                            |output: 0)
>From gcc-bugs-return-634633-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 09:34:53 2019
Return-Path: <gcc-bugs-return-634633-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121164 invoked by alias); 22 Feb 2019 09:34:52 -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 120962 invoked by uid 48); 22 Feb 2019 09:34:48 -0000
From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89447] New: libgo largefile support is incomplete and inconsistent
Date: Fri, 22 Feb 2019 09:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
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: ro 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: ---
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-89447-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: 2019-02/txt/msg02935.txt.bz2
Content-length: 3568

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89447

            Bug ID: 89447
           Summary: libgo largefile support is incomplete and inconsistent
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
          Assignee: ian at airs dot com
          Reporter: ro at gcc dot gnu.org
                CC: cmang at google dot com
  Target Milestone: ---
            Target: *-*-solaris2.*

When investigating the remaining libgo testsuite failures on Solaris, I came
across a group with a common root cause.  E.g.

--- FAIL: TestSharedLibName (0.00s)
    build_test.go:182: not owner
    build_test.go:182: not owner
FAIL
/vol/gcc/src/hg/trunk/local/libgo/testsuite/gotest[685]: wait: 8433: Terminated
FAIL: cmd/go/internal/work

The failure is from a call to os.RemoveAll.  It turns out that removeAllFrom
returns early because statInfo.Mode&syscall.S_IFMT != syscall.S_IFDIR which is
weird given that tmpGopath *is* a directory.

I find that fstatat is called

Thread 15 hit Breakpoint 1, 0xfdb71b7c in fstatat () from /lib/libc.so.1
(gdb) where
#0  0xfdb71b7c in fstatat () from /lib/libc.so.1
#1  0xfe7c2da8 in internal..z2fsyscall..z2funix.Fstatat (dirfd=dirfd@entry=3, 
    path=..., stat=stat@entry=0x6ca280, flags=flags@entry=4096)
    at /vol/gcc/src/hg/trunk/local/libgo/go/internal/syscall/unix/at.go:70
#2  0xfe947680 in os.removeAllFrom (parent=parent@entry=0xd050060, path=...)
    at /vol/gcc/src/hg/trunk/local/libgo/go/os/removeall_at.go:66
#3  0xfe947e04 in os.RemoveAll (
    path=<error reading variable: Cannot access memory at address 0x5>)
    at /vol/gcc/src/hg/trunk/local/libgo/go/os/removeall_at.go:48

which seems broken: given that this is a 32-bit program and sysinfo.go was
built with -D_FILE_OFFSET_BITS=64 (and thus the struct that is passed in is
actually struct stat64), this should be a call to fstatat64 instead.

And indeed the contents of Stat_t is off:
$4 = {Dev = 4292345858, st_pad1 = {0, 0, 0}, Ino = 2669371652487266752, 
  Mode = 3, Nlink = 2110, Uid = 1004, Gid = 4294967295, Rdev = 0, st_pad2 = {
    0, 177}, Size = 6660097377203678494, Atim = {Sec = 1550674759, 
    Nsec = 566076105}, Mtim = {Sec = 1550674759, Nsec = 566076105}, Ctim = {
    Sec = 8192, Nsec = 16}, Blksize = 1953329254, Blocks = 0, 
  st_fstype = '\000' <repeats 15 times>, st_pad4 = {0, 0, 0, 0, 0, 0, 0, 0}}

with Mode = 3 and Nlink = 2110 (which is really Uid!).

It turns out that there are more instances of the same problem: looking for
references to functions that have unused largefile equivalents in libc, I found
creat, getdents, mmap, openat, sendfile, and mkstemp (x86 only).

The attached initial patch fixes many of those by adding largefile equivalents.
Afterwards, only calls to mmap (from closures.o, i.e. libffi_convenience.a 
and mem_gccgo.go) and mkstemp (again from closures.o) are left.  ISTM that they
are ok, given that they don't use the Offset_t etc. types from sysinfo.go, but
the underlying 32-bit ones.  With the exception of getdents (which is
Solaris-specific
anyway), all those largefile functions are present on Linux, too, but I suspect
the build tags aren't right yet.

Bootstrapped on i386-pc-solaris2.11, sparc-sun-solaris2.11, and
x86_64-pc-linux-gnu (both multilibs each).  No regressions on Linux/x86_64
and many related testsuite failures in both libgo and gotools are gone on
Solaris.
>From gcc-bugs-return-634634-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 09:35:39 2019
Return-Path: <gcc-bugs-return-634634-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124115 invoked by alias); 22 Feb 2019 09:35: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 123860 invoked by uid 48); 22 Feb 2019 09:35:34 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/86096] [8/9 Regression] ICE: qsort checking failed (error: qsort comparator non-negative on sorted output: 0)
Date: Fri, 22 Feb 2019 09: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: ice-checking, 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:
Message-ID: <bug-86096-4-obtvUo741r@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86096-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86096-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: 2019-02/txt/msg02936.txt.bz2
Content-length: 496

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86096

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Alexander Monakov from comment #1)
> df_mw_compare has:
> 
>    if (mw1->mw_reg != mw2->mw_reg)
>      return mw1->mw_order - mw2->mw_order;
> 
> Note mw_reg in the 'if' vs mw_order in the 'return'. This is invalid.
> 
> It's simpler and more efficient to just use mw_order as the last tie-breaker
> regardless of mw_reg value.

patch is pre-approved
>From gcc-bugs-return-634635-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 09:36:12 2019
Return-Path: <gcc-bugs-return-634635-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128346 invoked by alias); 22 Feb 2019 09:36: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 127806 invoked by uid 48); 22 Feb 2019 09:36:07 -0000
From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89447] libgo largefile support is incomplete and inconsistent
Date: Fri, 22 Feb 2019 09:36: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: ro 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89447-4-svoGqUP1mH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89447-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89447-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: 2019-02/txt/msg02937.txt.bz2
Content-length: 228

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89447

--- Comment #1 from Rainer Orth <ro at gcc dot gnu.org> ---
Created attachment 45796
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45796&action=edit
Initial patch
>From gcc-bugs-return-634636-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 09:36:28 2019
Return-Path: <gcc-bugs-return-634636-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130671 invoked by alias); 22 Feb 2019 09:36: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 129889 invoked by uid 48); 22 Feb 2019 09:36:22 -0000
From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89447] libgo largefile support is incomplete and inconsistent
Date: Fri, 22 Feb 2019 09:36: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: ro 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: target_milestone
Message-ID: <bug-89447-4-74lnZQCeGU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89447-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89447-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: 2019-02/txt/msg02938.txt.bz2
Content-length: 285

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89447

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |9.0
>From gcc-bugs-return-634637-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 09:37:07 2019
Return-Path: <gcc-bugs-return-634637-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3299 invoked by alias); 22 Feb 2019 09:37:06 -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 3074 invoked by uid 48); 22 Feb 2019 09:37:02 -0000
From: "mrison at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89448] New: Failure to generate diagnostic for "complex int" (OK for "_Complex int")
Date: Fri, 22 Feb 2019 09:37: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: 7.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mrison 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-89448-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: 2019-02/txt/msg02939.txt.bz2
Content-length: 3026

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89448

            Bug ID: 89448
           Summary: Failure to generate diagnostic for "complex int" (OK
                    for "_Complex int")
           Product: gcc
           Version: 7.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mrison at hotmail dot com
  Target Milestone: ---

$ cat complex.c
#include <complex.h>
int lower (void)
{
  complex int a = 0;
  return creal (a);
}
int upperunder (void)
{
  _Complex int a = 0;
  return creal (a);
}
int redef (void)
{
#undef complex
#define complex _Complex
  complex int a = 0;
  return creal (a);
}
$ gcc -std=c99 -pedantic -c complex.c
complex.c: In function ‘upperunder’:
complex.c:9:3: warning: ISO C does not support complex integer types
[-Wpedantic]
   _Complex int a = 0;
   ^~~~~~~~
complex.c: In function ‘redef’:
complex.c:15:17: warning: ISO C does not support complex integer types
[-Wpedantic]
 #define complex _Complex
                 ^
complex.c:16:3: note: in expansion of macro ‘complex’
   complex int a = 0;
   ^~~~~~~
$

Why no diagnostic in lower() but yes in redef()?  Sounds as if the
"complex" from <complex.h> is not just "_Complex".

The preprocessed form just further confuses the matter, because (as expected)
"complex" does appear to be just "_Complex":

# 2 "complex.c"
int lower (void)
{

# 4 "complex.c" 3 4
 _Complex
# 4 "complex.c"
         int a = 0;
  return creal (a);
}

I am using gcc from Ubuntu 18.04:

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
7.3.0-27ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs
--enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr
--with-gcc-major-version-only --program-suffix=-7
--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 7.3.0 (Ubuntu 7.3.0-27ubuntu1~18.04)

Thanks,

Mark
>From gcc-bugs-return-634638-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 09:41:45 2019
Return-Path: <gcc-bugs-return-634638-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21414 invoked by alias); 22 Feb 2019 09:41:44 -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 21134 invoked by uid 55); 22 Feb 2019 09:41:40 -0000
From: "ro at CeBiTec dot Uni-Bielefeld.DE" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89447] libgo largefile support is incomplete and inconsistent
Date: Fri, 22 Feb 2019 09:41: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: ro at CeBiTec dot Uni-Bielefeld.DE
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-89447-4-5xw1qP7vzH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89447-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89447-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: 2019-02/txt/msg02940.txt.bz2
Content-length: 613

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89447

--- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
FWIW, after this patch and

https://gcc.gnu.org/ml/gcc-patches/2019-02/msg01815.html

only the runtime failures mentioned there and go/build (which times out
after 4 minutes, just as it does on Linux/x86_64 for me) remain on
Solaris/x86.

There are some more on Solaris/SPARC, though, but overall it's not too
bad either (32 and 64-bit):

                === libgo Summary ===

# of expected passes            352
# of unexpected failures        18
>From gcc-bugs-return-634639-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 09:50:19 2019
Return-Path: <gcc-bugs-return-634639-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26064 invoked by alias); 22 Feb 2019 09:50:18 -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 20216 invoked by uid 48); 22 Feb 2019 09:50:14 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89447] libgo largefile support is incomplete and inconsistent
Date: Fri, 22 Feb 2019 09:50: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: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: NEW
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: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-89447-4-p8K7TSNJgm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89447-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89447-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: 2019-02/txt/msg02941.txt.bz2
Content-length: 839

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89447

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-22
                 CC|                            |ebotcazou at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> There are some more on Solaris/SPARC, though, but overall it's not too
> bad either (32 and 64-bit):
> 
> 		=== libgo Summary ===
> 
> # of expected passes		352
> # of unexpected failures	18

Do you have https://gcc.gnu.org/ml/gcc-patches/2019-02/msg01332.html too?
>From gcc-bugs-return-634640-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 09:55:29 2019
Return-Path: <gcc-bugs-return-634640-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79694 invoked by alias); 22 Feb 2019 09:55: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 79534 invoked by uid 55); 22 Feb 2019 09:55:25 -0000
From: "ro at CeBiTec dot Uni-Bielefeld.DE" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89447] libgo largefile support is incomplete and inconsistent
Date: Fri, 22 Feb 2019 09:55: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: ro at CeBiTec dot Uni-Bielefeld.DE
X-Bugzilla-Status: NEW
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-89447-4-v6XJZoNn5a@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89447-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89447-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: 2019-02/txt/msg02942.txt.bz2
Content-length: 372

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89447

--- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
[...]
> Do you have https://gcc.gnu.org/ml/gcc-patches/2019-02/msg01332.html too?

I have a similar patch from Ian, otherwise results are way worse.
>From gcc-bugs-return-634641-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 09:59:48 2019
Return-Path: <gcc-bugs-return-634641-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97960 invoked by alias); 22 Feb 2019 09:59: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 97732 invoked by uid 48); 22 Feb 2019 09:59:43 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82501] AddressSanitizer does not handle negative offset for first global variable
Date: Fri, 22 Feb 2019 09:59: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-82501-4-gImh4Naxll@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82501-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82501-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: 2019-02/txt/msg02943.txt.bz2
Content-length: 519

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82501

--- Comment #16 from Martin Liška <marxin at gcc dot gnu.org> ---
Created attachment 45797
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45797&action=edit
Patch candidate

Patch candidate where I made some refactoring and come up with tests.
Works fine on x86_64, on ppc64le there are some issues with -fsection-anchors,
but that would be possible to resolve.

Please let me know if you're fine with that and we can submit that to
gcc-patches ML?
>From gcc-bugs-return-634642-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 10:02:15 2019
Return-Path: <gcc-bugs-return-634642-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112269 invoked by alias); 22 Feb 2019 10:02: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 108371 invoked by uid 48); 22 Feb 2019 10:02:10 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82501] AddressSanitizer does not handle negative offset for first global variable
Date: Fri, 22 Feb 2019 10:02: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82501-4-IfFS9j39LI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82501-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82501-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: 2019-02/txt/msg02944.txt.bz2
Content-length: 608

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82501

--- Comment #17 from Martin Liška <marxin at gcc dot gnu.org> ---
> 2. What should we do with sections like .data.rel.ro, .data.rel.ro.local?
> They suffer from this bug too, but it's not that easy to put globals there,
> as you must set various attributes onto decl to ensure it will receive the
> right reloc value.

Answer for this would be that we probably can't do that with approach #2 (as
defined in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82501#c1). Btw. how can
one hit an invalid memory in .data.rel.ro (or .data.rel.ro.local)?
>From gcc-bugs-return-634643-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 10:23:12 2019
Return-Path: <gcc-bugs-return-634643-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 569 invoked by alias); 22 Feb 2019 10:23: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 349 invoked by uid 48); 22 Feb 2019 10:23:07 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/89441] FAIL: g++.dg/ipa/pr89009.C  -std=gnu++98 (test for excess errors)
Date: Fri, 22 Feb 2019 10:23:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: normal
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: keywords bug_status cf_reconfirmed_on assigned_to target_milestone everconfirmed
Message-ID: <bug-89441-4-lwRfHRBgSX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89441-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89441-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: 2019-02/txt/msg02945.txt.bz2
Content-length: 763

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89441

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-22
           Assignee|unassigned at gcc dot gnu.org      |marxin at gcc dot gnu.org
   Target Milestone|---                         |9.0
     Ever confirmed|0                           |1

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Mine, patch has been just sent:
https://gcc.gnu.org/ml/gcc-patches/2019-02/msg01818.html
>From gcc-bugs-return-634644-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 10:31:41 2019
Return-Path: <gcc-bugs-return-634644-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31985 invoked by alias); 22 Feb 2019 10:31: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 31829 invoked by uid 48); 22 Feb 2019 10:31:36 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89449] New: False -Wsuggest-attribute=format warning
Date: Fri, 22 Feb 2019 10:31: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: unknown
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 target_milestone
Message-ID: <bug-89449-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: 2019-02/txt/msg02946.txt.bz2
Content-length: 1804

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89449

            Bug ID: 89449
           Summary: False -Wsuggest-attribute=format warning
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---

This is a false positive as one can't actually put format attribute on the
function:

$ cat valist.c
#include <stdarg.h>

void logv(const char *format, va_list list) {
        __builtin_vprintf (format, list);
}

void
__attribute__ ((format (printf, 1, 2)))
logv2 (const char *format, va_list list)
{
        __builtin_vprintf (format, list);
}

$ g++ valist.c -c -Wsuggest-attribute=format
valist.c: In function ‘void logv(const char*, __va_list_tag*)’:
valist.c:4:33: warning: function ‘void logv(const char*, __va_list_tag*)’ might
be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
    4 |  __builtin_vprintf (format, list);
      |                                 ^
valist.c: At global scope:
valist.c:9:40: error: ‘format’ attribute argument 3 value ‘2’ does not refer to
a variable argument list
    9 | logv2 (const char *format, va_list list)
      |                                        ^
valist.c: In function ‘void logv2(const char*, __va_list_tag*)’:
valist.c:11:33: warning: function ‘void logv2(const char*, __va_list_tag*)’
might be a candidate for ‘gnu_printf’ format attribute
[-Wsuggest-attribute=format]
   11 |  __builtin_vprintf (format, list);
      |                                 ^
>From gcc-bugs-return-634645-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 10:50:40 2019
Return-Path: <gcc-bugs-return-634645-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10163 invoked by alias); 22 Feb 2019 10:50: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 7124 invoked by uid 55); 22 Feb 2019 10:50:35 -0000
From: "tschwinge at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/78027] [6 Regression] ICE in new_oacc_loop_routine, at omp-low.c:19000
Date: Fri, 22 Feb 2019 10:50: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: 7.0
X-Bugzilla-Keywords: ice-on-valid-code, openacc, openmp
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tschwinge at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: cesar at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-78027-4-iwMy6ZWSZA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78027-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78027-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: 2019-02/txt/msg02947.txt.bz2
Content-length: 659

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78027

--- Comment #11 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Author: tschwinge
Date: Fri Feb 22 10:50:02 2019
New Revision: 269103

URL: https://gcc.gnu.org/viewcvs?rev=269103&root=gcc&view=rev
Log:
Silence '-Whsa' diagnostic in 'gfortran.dg/goacc/pr78027.f90'

... which has been present (with HSA offloading configured) ever since this
test case got added.

        gcc/testsuite/
        PR fortran/78027
        * gfortran.dg/goacc/pr78027.f90: Add 'dg-additional-options
"-Wno-hsa"'.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/goacc/pr78027.f90
>From gcc-bugs-return-634646-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 10:51:15 2019
Return-Path: <gcc-bugs-return-634646-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39222 invoked by alias); 22 Feb 2019 10:51: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 38370 invoked by uid 55); 22 Feb 2019 10:51:09 -0000
From: "tschwinge at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/72741] Fortran OpenACC routine directive doesn't properly handle clauses specifying the level of parallelism
Date: Fri, 22 Feb 2019 10: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: 7.0
X-Bugzilla-Keywords: openacc
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tschwinge at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: tschwinge at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-72741-4-ZUlsYCImjB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-72741-4@http.gcc.gnu.org/bugzilla/>
References: <bug-72741-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: 2019-02/txt/msg02948.txt.bz2
Content-length: 1701

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72741

--- Comment #8 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Author: tschwinge
Date: Fri Feb 22 10:50:35 2019
New Revision: 269105

URL: https://gcc.gnu.org/viewcvs?rev=269105&root=gcc&view=rev
Log:
[PR72741] Use 'oacc_build_routine_dims' for Fortran OpenACC 'routine'
directives, too

... instead of having an incomplete local implementation.

With these changes in place, we can then also revert the work-around r267213
"[nvptx] Unify C/Fortran routine handling in nvptx_goacc_validate_dims".

        gcc/fortran/
        PR fortran/72741
        * gfortran.h (oacc_routine_lop): New enum.
        (symbol_attribute): Use it.
        * openmp.c (gfc_oacc_routine_dims): Replace with...
        (gfc_oacc_routine_lop): ... this new function.
        (gfc_match_oacc_routine): Adjust.
        * trans-decl.c (add_attributes_to_decl): Likewise.
        gcc/
        PR fortran/72741
        * omp-general.c (oacc_replace_fn_attrib): Mostly split out into...
        (oacc_replace_fn_attrib_attr): ... this new function.
        * omp-general.h (oacc_replace_fn_attrib_attr): New prototype.
        * config/nvptx/nvptx.c (nvptx_goacc_validate_dims_1): Revert
workaround.
        gcc/testsuite/
        PR fortran/72741
        * gfortran.dg/goacc/classify-routine.f95: Adjust.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/nvptx/nvptx.c
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/openmp.c
    trunk/gcc/fortran/trans-decl.c
    trunk/gcc/omp-general.c
    trunk/gcc/omp-general.h
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/goacc/classify-routine.f95
>From gcc-bugs-return-634647-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 10:52:11 2019
Return-Path: <gcc-bugs-return-634647-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94884 invoked by alias); 22 Feb 2019 10:52: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 90117 invoked by uid 48); 22 Feb 2019 10:52:06 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89440] [9 Regression] ICE in vect_create_epilog_for_reduction, at tree-vect-loop.c:5502
Date: Fri, 22 Feb 2019 10:52: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: ice-on-valid-code
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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89440-4-ItJG6AhvPj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89440-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89440-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: 2019-02/txt/msg02949.txt.bz2
Content-length: 429

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89440

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-634648-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 10:53:26 2019
Return-Path: <gcc-bugs-return-634648-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53677 invoked by alias); 22 Feb 2019 10:53: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 48652 invoked by uid 55); 22 Feb 2019 10:53:21 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89440] [9 Regression] ICE in vect_create_epilog_for_reduction, at tree-vect-loop.c:5502
Date: Fri, 22 Feb 2019 10: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89440-4-snpOsy2s2j@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89440-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89440-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: 2019-02/txt/msg02950.txt.bz2
Content-length: 649

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89440

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Feb 22 10:52:49 2019
New Revision: 269111

URL: https://gcc.gnu.org/viewcvs?rev=269111&root=gcc&view=rev
Log:
2019-02-22  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/89440
        * tree-vect-loop.c (vect_create_epilog_for_reduction): Remove
        not necessary assert.

        * gcc.dg/vect/pr89440.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/vect/pr89440.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-loop.c
>From gcc-bugs-return-634649-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 10:56:51 2019
Return-Path: <gcc-bugs-return-634649-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93462 invoked by alias); 22 Feb 2019 10:56: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 91231 invoked by uid 48); 22 Feb 2019 10:56:46 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89450] New: RFC: Strengthen -fstrict-enums
Date: Fri, 22 Feb 2019 10:56: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: unknown
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 target_milestone
Message-ID: <bug-89450-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: 2019-02/txt/msg02951.txt.bz2
Content-length: 1773

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89450

            Bug ID: 89450
           Summary: RFC: Strengthen -fstrict-enums
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---

Currently, we warn about:

$ cat /tmp/strict.cc
enum XXX
{
  A,
  B,
  C,
  D,
  E
};

int foo(XXX x)
{
  switch (x)
  case A:
  case B:
  case C:
  case D:
  case E:
    return 2;
}

int main(int argc, char **argv)
{
  return foo ((XXX)argc);
}

$ g++ /tmp/strict.cc  -c  -fstrict-enums
/tmp/strict.cc: In function ‘int foo(XXX)’:
/tmp/strict.cc:19:1: warning: control reaches end of non-void function
[-Wreturn-type]
   19 | }
      | ^

Issues is that:

 14746        /* If -fstrict-enums, still constrain TYPE_MIN/MAX_VALUE.  */
 14747        if (flag_strict_enums)
 14748          set_min_and_max_values_for_integral_type (enumtype, precision,
sgn);

is called for precision, which sets min = 0 and max = 7.

What about doing:

diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index 612afbacd27..46302b4a61d 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -14745,7 +14745,10 @@ finish_enum_value_list (tree enumtype)

       /* If -fstrict-enums, still constrain TYPE_MIN/MAX_VALUE.  */
       if (flag_strict_enums)
-       set_min_and_max_values_for_integral_type (enumtype, precision, sgn);
+       {
+         TYPE_MIN_VALUE (enumtype) = minnode;
+         TYPE_MAX_VALUE (enumtype) = maxnode;
+       }
     }
   else
     underlying_type = ENUM_UNDERLYING_TYPE (enumtype);

I can also imagine another option level when desired.
>From gcc-bugs-return-634650-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 10:57:17 2019
Return-Path: <gcc-bugs-return-634650-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107145 invoked by alias); 22 Feb 2019 10: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 104530 invoked by uid 48); 22 Feb 2019 10:57:13 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89450] RFC: Strengthen -fstrict-enums
Date: Fri, 22 Feb 2019 10: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: unknown
X-Bugzilla-Keywords:
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-89450-4-FJLkn0eeDm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89450-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89450-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: 2019-02/txt/msg02952.txt.bz2
Content-length: 556

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89450

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-22
                 CC|                            |jason at gcc dot gnu.org,
                   |                            |jwakely at redhat dot com
     Ever confirmed|0                           |1
>From gcc-bugs-return-634651-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 11:20:42 2019
Return-Path: <gcc-bugs-return-634651-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90013 invoked by alias); 22 Feb 2019 11:20:41 -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 89859 invoked by uid 48); 22 Feb 2019 11:20:37 -0000
From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89451] New: [9 Regression] FAIL: gfortran.dg/pr79315.f90   -O  (internal compiler error)
Date: Fri, 22 Feb 2019 11:20: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: janus 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-89451-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: 2019-02/txt/msg02953.txt.bz2
Content-length: 2337

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89451

            Bug ID: 89451
           Summary: [9 Regression] FAIL: gfortran.dg/pr79315.f90   -O
                    (internal compiler error)
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: janus at gcc dot gnu.org
  Target Milestone: ---

Building today's trunk on x86_64-linux-gnu (Ubuntu 18.10), I see the following
failure in the gfortran testsuite:

FAIL: gfortran.dg/pr79315.f90   -O  (internal compiler error)
FAIL: gfortran.dg/pr79315.f90   -O  (test for excess errors)


The backtrace for the ICE looks like this:

$ gfortran-9 pr79315.f90 -Ofast -ftree-parallelize-loops=4
during GIMPLE pass: ifcvt
pr79315.f90:37:0:

   37 |         do i = its, ite
      | 
internal compiler error: in gimple_duplicate_bb, at tree-cfg.c:6255
0x5b4a92 gimple_duplicate_bb
        /home/janus/github/gcc/trunk/gcc/tree-cfg.c:6255
0x7845f2 duplicate_block(basic_block_def*, edge_def*, basic_block_def*,
copy_bb_data*)
        /home/janus/github/gcc/trunk/gcc/cfghooks.c:1085
0x785774 copy_bbs(basic_block_def**, unsigned int, basic_block_def**,
edge_def**, unsigned int, edge_def**, loop*, basic_block_def*, bool)
        /home/janus/github/gcc/trunk/gcc/cfghooks.c:1353
0x790d6f duplicate_loop_to_header_edge(loop*, edge_def*, unsigned int,
simple_bitmap_def*, edge_def*, vec<edge_def*, va_heap, vl_ptr>*, int)
        /home/janus/github/gcc/trunk/gcc/cfgloopmanip.c:1296
0xc54768 gimple_duplicate_loop_to_header_edge(loop*, edge_def*, unsigned int,
simple_bitmap_def*, edge_def*, vec<edge_def*, va_heap, vl_ptr>*, int)
        /home/janus/github/gcc/trunk/gcc/tree-ssa-loop-manip.c:921
0x793e1c loop_version(loop*, void*, basic_block_def**, profile_probability,
profile_probability, profile_probability, profile_probability, bool)
        /home/janus/github/gcc/trunk/gcc/cfgloopmanip.c:1696
0xb90eb9 version_loop_for_if_conversion
        /home/janus/github/gcc/trunk/gcc/tree-if-conv.c:2746
0xb978a7 tree_if_conversion(loop*, vec<gimple*, va_heap, vl_ptr>*)
        /home/janus/github/gcc/trunk/gcc/tree-if-conv.c:3033
0xb98929 execute
        /home/janus/github/gcc/trunk/gcc/tree-if-conv.c:3150
>From gcc-bugs-return-634652-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 11:26:06 2019
Return-Path: <gcc-bugs-return-634652-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123080 invoked by alias); 22 Feb 2019 11:26:06 -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 122899 invoked by uid 48); 22 Feb 2019 11:26:01 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89450] RFC: Strengthen -fstrict-enums
Date: Fri, 22 Feb 2019 11:26: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: pinskia 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_severity
Message-ID: <bug-89450-4-XBEZZj4p8G@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89450-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89450-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: 2019-02/txt/msg02954.txt.bz2
Content-length: 767

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89450

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Well the documentation says this:
basically, a value that can be represented in the minimum number of bits needed
to represent all the enumerators

So if we are going to change the definition of -fstrict-enum, this would be a
very visiable change and even a difference from the documentation from previous
versions.

I would think we should not change it as it is documented exactly this way.
>From gcc-bugs-return-634653-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 11:27:04 2019
Return-Path: <gcc-bugs-return-634653-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126560 invoked by alias); 22 Feb 2019 11:27:04 -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 126401 invoked by uid 48); 22 Feb 2019 11:27:00 -0000
From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89451] [9 Regression] FAIL: gfortran.dg/pr79315.f90   -O  (internal compiler error)
Date: Fri, 22 Feb 2019 11:27: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: janus 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: keywords cc cf_known_to_work see_also cf_known_to_fail
Message-ID: <bug-89451-4-pANQ6Be9iF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89451-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89451-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: 2019-02/txt/msg02955.txt.bz2
Content-length: 895

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89451

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
                 CC|                            |rguenther at suse dot de
      Known to work|                            |8.2.0
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=79315
      Known to fail|                            |9.0

--- Comment #1 from janus at gcc dot gnu.org ---
The test case itself is more than two years old (r245089). I haven't checked
when it started failing.

In any case, the ICE does not occur with gfortran 8.2.0, and I'm pretty sure it
was not present on trunk in December.
>From gcc-bugs-return-634654-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 11:34:17 2019
Return-Path: <gcc-bugs-return-634654-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24643 invoked by alias); 22 Feb 2019 11:34: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 22088 invoked by uid 48); 22 Feb 2019 11:34:12 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89449] False -Wsuggest-attribute=format warning
Date: Fri, 22 Feb 2019 11:34: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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: bug_status resolution
Message-ID: <bug-89449-4-6vnYtGtmpz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89449-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89449-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: 2019-02/txt/msg02956.txt.bz2
Content-length: 490

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89449

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Use 0 instead of 2 as documented.

0 means it can't check the list.
>From gcc-bugs-return-634655-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 11:37:53 2019
Return-Path: <gcc-bugs-return-634655-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37086 invoked by alias); 22 Feb 2019 11:37:52 -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 36864 invoked by uid 48); 22 Feb 2019 11:37:48 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89451] [9 Regression] FAIL: gfortran.dg/pr79315.f90   -O  (internal compiler error)
Date: Fri, 22 Feb 2019 11:37: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: 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: target_milestone
Message-ID: <bug-89451-4-2PZSOnWPTQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89451-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89451-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: 2019-02/txt/msg02957.txt.bz2
Content-length: 478

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89451

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |9.0

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Hum, I can't reproduce the failure, but yes, the assert is new.  But I spotted
an unrelated error in the patch...
>From gcc-bugs-return-634656-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 11:40:39 2019
Return-Path: <gcc-bugs-return-634656-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43774 invoked by alias); 22 Feb 2019 11:40: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 43642 invoked by uid 48); 22 Feb 2019 11:40:35 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89450] RFC: Strengthen -fstrict-enums
Date: Fri, 22 Feb 2019 11:40: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89450-4-l9cR8GrZq0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89450-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89450-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: 2019-02/txt/msg02958.txt.bz2
Content-length: 745

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89450

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> Well the documentation says this:
> basically, a value that can be represented in the minimum number of bits
> needed to represent all the enumerators
> 
> So if we are going to change the definition of -fstrict-enum, this would be
> a very visiable change and even a difference from the documentation from
> previous versions.
> 
> I would think we should not change it as it is documented exactly this way.

Yep, I would preserve the current behavior. So having -fstrict-enum=[12], where
=1 will be current definition and =2 the strengthen one, should work
>From gcc-bugs-return-634657-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 11:42:09 2019
Return-Path: <gcc-bugs-return-634657-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53445 invoked by alias); 22 Feb 2019 11:42: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 53032 invoked by uid 48); 22 Feb 2019 11:42:03 -0000
From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89451] [9 Regression] FAIL: gfortran.dg/pr79315.f90   -O  (internal compiler error)
Date: Fri, 22 Feb 2019 11:42: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: janus 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-89451-4-JdeTEEBkcb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89451-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89451-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: 2019-02/txt/msg02959.txt.bz2
Content-length: 331

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89451

--- Comment #3 from janus at gcc dot gnu.org ---
(In reply to janus from comment #1)
> In any case, the ICE does not occur with gfortran 8.2.0, and I'm pretty sure
> it was not present on trunk in December.

More specifically, I think it must have appeared after 2019-01-08.
>From gcc-bugs-return-634658-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 11:42:40 2019
Return-Path: <gcc-bugs-return-634658-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56207 invoked by alias); 22 Feb 2019 11:42: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 56100 invoked by uid 48); 22 Feb 2019 11:42:36 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89449] False -Wsuggest-attribute=format warning
Date: Fri, 22 Feb 2019 11: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: unknown
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-89449-4-T7FWQB89E7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89449-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89449-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: 2019-02/txt/msg02960.txt.bz2
Content-length: 156

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89449

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Grrr, shame on me :P RTFM rules
>From gcc-bugs-return-634659-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 11:44:04 2019
Return-Path: <gcc-bugs-return-634659-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60210 invoked by alias); 22 Feb 2019 11:44: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 59889 invoked by uid 55); 22 Feb 2019 11:43:59 -0000
From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89451] [9 Regression] FAIL: gfortran.dg/pr79315.f90   -O  (internal compiler error)
Date: Fri, 22 Feb 2019 11:44: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: rguenther at suse dot de
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-89451-4-FrfmweHLT6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89451-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89451-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: 2019-02/txt/msg02961.txt.bz2
Content-length: 1180

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89451

--- Comment #4 from rguenther at suse dot de <rguenther at suse dot de> ---
nOn Fri, 22 Feb 2019, janus at gcc dot gnu.org wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89451
> 
> --- Comment #3 from janus at gcc dot gnu.org ---
> (In reply to janus from comment #1)
> > In any case, the ICE does not occur with gfortran 8.2.0, and I'm pretty sure
> > it was not present on trunk in December.
> 
> More specifically, I think it must have appeared after 2019-01-08.

The assert was added with

2019-02-22  Richard Biener  <rguenther@suse.de>

        PR middle-end/87609
        * cfghooks.h (dependence_hash): New typedef.
        (struct copy_bb_data): New type.
        (cfg_hooks::duplicate_block): Adjust to take a copy_bb_data 
argument.
        (duplicate_block): Likewise.
        * cfghooks.c (duplicate_block): Pass down copy_bb_data.
        (copy_bbs): Create and pass down copy_bb_data.
        * cfgrtl.c (cfg_layout_duplicate_bb): Adjust.
        (rtl_duplicate_bb): Likewise.
        * tree-cfg.c (gimple_duplicate_bb): If the copy_bb_data arg is not 
NULL
        remap dependence info.
>From gcc-bugs-return-634660-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 11:48:43 2019
Return-Path: <gcc-bugs-return-634660-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73768 invoked by alias); 22 Feb 2019 11:48: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 73492 invoked by uid 48); 22 Feb 2019 11:48:37 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89280] [7/8/9 Regression] ICE: Segmentation fault (in is_gimple_reg_type)
Date: Fri, 22 Feb 2019 11:48: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created
Message-ID: <bug-89280-4-BZ1serbrGr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89280-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89280-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: 2019-02/txt/msg02962.txt.bz2
Content-length: 781

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89280

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45783|0                           |1
        is obsolete|                            |

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45798
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45798&action=edit
gcc9-pr89280.patch

Updated patch.  The previous patch completely broke
__builtin_setjmp_{setup,receiver} handling, where the latter is normally only
reachable through EDGE_ABNORMAL edge.  We need to make those visited if the
corresponding __builtin_setjmp_setup is visited.
>From gcc-bugs-return-634661-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 11:50:32 2019
Return-Path: <gcc-bugs-return-634661-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79796 invoked by alias); 22 Feb 2019 11:50: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 79587 invoked by uid 48); 22 Feb 2019 11:50:27 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89448] Failure to generate diagnostic for "complex int" (OK for "_Complex int")
Date: Fri, 22 Feb 2019 11: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: 7.3.0
X-Bugzilla-Keywords: diagnostic
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 everconfirmed
Message-ID: <bug-89448-4-v3ndAACCPo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89448-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89448-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: 2019-02/txt/msg02963.txt.bz2
Content-length: 588

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89448

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-22
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Because 'complex' is from a system header probably ...
>From gcc-bugs-return-634662-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 11:52:32 2019
Return-Path: <gcc-bugs-return-634662-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88292 invoked by alias); 22 Feb 2019 11:52: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 88114 invoked by uid 48); 22 Feb 2019 11:52:27 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89450] RFC: Strengthen -fstrict-enums
Date: Fri, 22 Feb 2019 11: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
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-89450-4-NPMRcw2zMS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89450-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89450-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: 2019-02/txt/msg02964.txt.bz2
Content-length: 257

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89450

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Indeed, at least we shouldn't change the middle-end representation.  The FE can
of course warn more strictly if the language allows.
>From gcc-bugs-return-634663-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 11:54:05 2019
Return-Path: <gcc-bugs-return-634663-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98541 invoked by alias); 22 Feb 2019 11:54: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 98348 invoked by uid 48); 22 Feb 2019 11:54:01 -0000
From: "ramana at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89093] [9 Regression] C++ exception handling clobbers d8 VFP register
Date: Fri, 22 Feb 2019 11: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: EH, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ramana at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: ramana at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89093-4-J0JhxZ94av@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89093-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89093-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: 2019-02/txt/msg02965.txt.bz2
Content-length: 331

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89093

--- Comment #30 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #29)
> Ramana, any progress on this?

I'm still trying to get the various spec files and the t-multilib bits sorted
and half-term has intervened here in the UK.
>From gcc-bugs-return-634664-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 12:13:41 2019
Return-Path: <gcc-bugs-return-634664-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93511 invoked by alias); 22 Feb 2019 12:13: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 93338 invoked by uid 48); 22 Feb 2019 12:13:35 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89449] False -Wsuggest-attribute=format warning
Date: Fri, 22 Feb 2019 12:13: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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-89449-4-SdfFnViqif@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89449-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89449-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: 2019-02/txt/msg02966.txt.bz2
Content-length: 446

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89449

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Just for reference:
https://gcc.gnu.org/onlinedocs/gcc-8.2.0/gcc/Common-Function-Attributes.html#Common-Function-Attributes
:
For functions where the arguments are not available to be checked (such as
vprintf), specify the third parameter as zero. In this case the compiler only
checks the format string for consistency.
>From gcc-bugs-return-634665-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 12:49:58 2019
Return-Path: <gcc-bugs-return-634665-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127824 invoked by alias); 22 Feb 2019 12:49:57 -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 127715 invoked by uid 55); 22 Feb 2019 12:49:53 -0000
From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89444] [9 Regression] r264052 removed PTA_AES from PTA_SKYLAKE/PTA_GOLDMONT
Date: Fri, 22 Feb 2019 12:49: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl 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-89444-4-84EDeAgJdv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89444-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89444-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: 2019-02/txt/msg02967.txt.bz2
Content-length: 688

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89444

--- Comment #2 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Fri Feb 22 12:49:21 2019
New Revision: 269114

URL: https://gcc.gnu.org/viewcvs?rev=269114&root=gcc&view=rev
Log:
x86: (Reapply) Move AESNI generation to Skylake and Goldmont

This is a repeat of commit r263989, which commit r264052 accidentally
reverted.

2019-02-22  Thiago Macieira  <thiago.macieira@intel.com>

        PR target/89444
        * config/i386/i386.h (PTA_WESTMERE): Remove PTA_AES.
        (PTA_SKYLAKE): Add PTA_AES.
        (PTA_GOLDMONT): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.h
>From gcc-bugs-return-634666-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 12:56:08 2019
Return-Path: <gcc-bugs-return-634666-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20018 invoked by alias); 22 Feb 2019 12:56: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 19843 invoked by uid 48); 22 Feb 2019 12:56:03 -0000
From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89451] [9 Regression] FAIL: gfortran.dg/pr79315.f90   -O  (internal compiler error)
Date: Fri, 22 Feb 2019 12:56: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: janus 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-89451-4-wGwDKcgco4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89451-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89451-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: 2019-02/txt/msg02968.txt.bz2
Content-length: 159

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89451

--- Comment #5 from janus at gcc dot gnu.org ---
Ah, yes, the ICE was obviously introduced with r269098.
>From gcc-bugs-return-634667-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 13:01:48 2019
Return-Path: <gcc-bugs-return-634667-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34544 invoked by alias); 22 Feb 2019 13:01: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 34238 invoked by uid 48); 22 Feb 2019 13:01:33 -0000
From: "nknikita at niisi dot ras.ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89452] New: basic_stringbuf::seekoff and basic_stringbuf::seekpos implementations
Date: Fri, 22 Feb 2019 13:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 7.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nknikita at niisi dot ras.ru
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-89452-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: 2019-02/txt/msg02969.txt.bz2
Content-length: 2224

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89452

            Bug ID: 89452
           Summary: basic_stringbuf::seekoff and basic_stringbuf::seekpos
                    implementations
           Product: gcc
           Version: 7.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: nknikita at niisi dot ras.ru
  Target Milestone: ---

It seems that basic_stringbuf::seekoff and basic_stringbuf::seekpos
implementations are inconsistent with the requirements of the standard.

As far as I can see, the standard ensures the execution of the following code
will not be terminated:

   std::stringbuf sb("abcdefgh", std::ios_base::in);
   assert(sb.pubseekpos(3, std::ios_base::in | std::ios_base::out) == -1);

According to ISO/IEC 14882:2017(E):
1. basic_streambuf::pubseekpos calls seekpos member function of the most
derived class, i.e., basic_stringbuf::seekpos.
2. basic_stringbuf::seekpos (3, std::ios_base::in | std::ios_base::out)
effectively calls basic_stringbuf::seekoff (3, std::ios_bas::beg,
std::ios_base::in | std::ios_base::out).
3. basic_stringbuf::seekoff identifies what sequences should be positioned.
Since std::ios_base::in | std::ios_base::out is passed as which and
ios_base::beg is passed as way, both the input and the output sequences should
be affected ([stringbuf.virtuals]/9).
4. pptr() is a null pointer. Paragraphs [stringbuf.cons]/3, [streambuf.cons]/1,
[stringbuf. members]/3 guarantee it.
5. [stringbuf.virtuals]/10 specifies that the positioning operation fails,
i.e., pos_type(-1) should be returned.

However, seekoff/seekpos implementations impose some additional requirements
while identifying sequences to be positioned:

   bool __testin = (ios_base::in & this->_M_mode & __mode) != 0;
   bool __testout = (ios_base::out & this->_M_mode & __mode) != 0;

that is, the openmode is also checked. The input/output sequence therefore will
not be positioned if stringbuf openmode does not include
ios_base::in/ios_base::out. In the example given, the input sequence will be
positioned without an error (an unexpected behavior).
>From gcc-bugs-return-634668-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 13:26:34 2019
Return-Path: <gcc-bugs-return-634668-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126040 invoked by alias); 22 Feb 2019 13:26: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 125911 invoked by uid 48); 22 Feb 2019 13:26:29 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89444] [9 Regression] r264052 removed PTA_AES from PTA_SKYLAKE/PTA_GOLDMONT
Date: Fri, 22 Feb 2019 13:26: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-89444-4-hsBKWSi6yj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89444-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89444-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: 2019-02/txt/msg02970.txt.bz2
Content-length: 415

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89444

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed.
>From gcc-bugs-return-634669-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 13:29:22 2019
Return-Path: <gcc-bugs-return-634669-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2839 invoked by alias); 22 Feb 2019 13:29: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 2616 invoked by uid 48); 22 Feb 2019 13:29:18 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89434] [7/8/9 Regression] wrong code with -Og and __builtin_mul_overflow()
Date: Fri, 22 Feb 2019 13:29: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created
Message-ID: <bug-89434-4-XSdzdjQR22@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89434-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89434-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: 2019-02/txt/msg02971.txt.bz2
Content-length: 589

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89434

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45790|0                           |1
        is obsolete|                            |

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45799
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45799&action=edit
gcc9-pr89434.patch

The previous patch failed bootstrap, hope this one will pass it.
>From gcc-bugs-return-634670-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 13:46:44 2019
Return-Path: <gcc-bugs-return-634670-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55551 invoked by alias); 22 Feb 2019 13:46:43 -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 55329 invoked by uid 55); 22 Feb 2019 13:46:40 -0000
From: "aldyh at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/85598] [7/8/9 Regression] Incorrect warning only at -O2 and -O3
Date: Fri, 22 Feb 2019 13:46: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: 7.3.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: aldyh at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: aldyh at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85598-4-uGMMNRuNIm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85598-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85598-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: 2019-02/txt/msg02972.txt.bz2
Content-length: 509

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85598

--- Comment #23 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
Author: aldyh
Date: Fri Feb 22 13:46:01 2019
New Revision: 269115

URL: https://gcc.gnu.org/viewcvs?rev=269115&root=gcc&view=rev
Log:
        PR middle-end/85598
        * gimple-ssa-sprintf.c (pass_sprintf_length::execute): Enable loop
        analysis for pass.

Added:
    trunk/gcc/testsuite/gcc.dg/pr85598.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple-ssa-sprintf.c
>From gcc-bugs-return-634671-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 14:29:00 2019
Return-Path: <gcc-bugs-return-634671-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100934 invoked by alias); 22 Feb 2019 14:28: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 100757 invoked by uid 48); 22 Feb 2019 14:28:55 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89446] [7/8 Regression] __builtin_constant_p expression crashes in char_traits::compare
Date: Fri, 22 Feb 2019 14:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89446-4-YMQE2gM4Xx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89446-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89446-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: 2019-02/txt/msg02973.txt.bz2
Content-length: 440

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89446

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Not just
while (__i < __n && __builtin_constant_p(__a[__i]))
?
>From gcc-bugs-return-634672-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 14:53:37 2019
Return-Path: <gcc-bugs-return-634672-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121813 invoked by alias); 22 Feb 2019 14:53:36 -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 118157 invoked by uid 48); 22 Feb 2019 14:53:31 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89449] False -Wsuggest-attribute=format warning
Date: Fri, 22 Feb 2019 14: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: unknown
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager 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: keywords cc see_also
Message-ID: <bug-89449-4-L02JxF6Uob@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89449-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89449-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: 2019-02/txt/msg02974.txt.bz2
Content-length: 649

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89449

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
                 CC|                            |egallager at gcc dot gnu.org
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=28492

--- Comment #4 from Eric Gallager <egallager at gcc dot gnu.org> ---
The location info being bad here is bug 28492
>From gcc-bugs-return-634673-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 14:55:10 2019
Return-Path: <gcc-bugs-return-634673-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14158 invoked by alias); 22 Feb 2019 14:55: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 13758 invoked by uid 48); 22 Feb 2019 14:55:05 -0000
From: "alejandro.martinezvicente at arm dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89453] New: Bug parsing "," operator with openmp
Date: Fri, 22 Feb 2019 14:55: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: alejandro.martinezvicente at arm 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-89453-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: 2019-02/txt/msg02975.txt.bz2
Content-length: 1071

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89453

            Bug ID: 89453
           Summary: Bug parsing "," operator with openmp
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: alejandro.martinezvicente at arm dot com
  Target Milestone: ---

Hi,

This code

void
f (float **a, float **b, int n)
{
  int i, j;

#pragma omp for simd
  for (i = 0, j = 0; i < n; i++, j++)
    {
      a[i][j] = b[j][i];
    }
}

fails to compile with -fopenmp-simd:

$ gcc -fopenmp-simd -std=c99 -O3 -c -o foo.o test.c
test.c: In function ‘f’:
test.c:7:13: error: expected ‘;’ before ‘,’ token
   for (i = 0, j = 0; i < n; i++, j++)
             ^
test.c:7:32: error: invalid increment expression
   for (i = 0, j = 0; i < n; i++, j++)
                                ^

It does compile correctly with "gcc -std=c99 -O3 -c -o foo.o test.c"
>From gcc-bugs-return-634674-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:12:03 2019
Return-Path: <gcc-bugs-return-634674-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122575 invoked by alias); 22 Feb 2019 15:12: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 121866 invoked by uid 48); 22 Feb 2019 15:11:59 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89348] Fortran Command Options documentation fixes
Date: Fri, 22 Feb 2019 15: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: documentation
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority
Message-ID: <bug-89348-4-4N2AsROX7R@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89348-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89348-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: 2019-02/txt/msg02976.txt.bz2
Content-length: 297

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89348

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P5
>From gcc-bugs-return-634676-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:14:53 2019
Return-Path: <gcc-bugs-return-634676-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79947 invoked by alias); 22 Feb 2019 15:14:52 -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 78290 invoked by uid 48); 22 Feb 2019 15:14:38 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89366] Fails to compile BIND(C) interface with assumed-length character argument
Date: Fri, 22 Feb 2019 15:14: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority
Message-ID: <bug-89366-4-JjZrDLwlqC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89366-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89366-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: 2019-02/txt/msg02978.txt.bz2
Content-length: 454

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89366

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4

--- Comment #6 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Fixed by the Paul's patch at
https://gcc.gnu.org/ml/fortran/2019-02/msg00180.html.
>From gcc-bugs-return-634675-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:14:53 2019
Return-Path: <gcc-bugs-return-634675-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79123 invoked by alias); 22 Feb 2019 15:14: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 78407 invoked by uid 48); 22 Feb 2019 15:14:39 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug regression/81331] [7 Regression] missed Eh delivery in partitioned function
Date: Fri, 22 Feb 2019 15:14: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: 8.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc target_milestone
Message-ID: <bug-81331-4-1EHBZchelh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81331-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81331-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: 2019-02/txt/msg02977.txt.bz2
Content-length: 364

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81331

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org
   Target Milestone|8.3                         |7.5
>From gcc-bugs-return-634677-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:16:10 2019
Return-Path: <gcc-bugs-return-634677-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10862 invoked by alias); 22 Feb 2019 15:16: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 8367 invoked by uid 48); 22 Feb 2019 15:16:06 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/83530] [7 Regression] ICE in reset_sched_cycles_in_current_ebb, at sel-sched.c:7150
Date: Fri, 22 Feb 2019 15:16: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: 8.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: abel at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-83530-4-qez011RYOT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83530-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83530-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: 2019-02/txt/msg02979.txt.bz2
Content-length: 290

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83530

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |7.5
>From gcc-bugs-return-634680-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:16:52 2019
Return-Path: <gcc-bugs-return-634680-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30698 invoked by alias); 22 Feb 2019 15:16: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 30065 invoked by uid 48); 22 Feb 2019 15:16:47 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/84659] [7 Regression] ICE: Segmentation fault (stack overflow in bb_note) w/ selective scheduling
Date: Fri, 22 Feb 2019 15:16: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: 8.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: amonakov at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-84659-4-eaQoaGqQxh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84659-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84659-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: 2019-02/txt/msg02982.txt.bz2
Content-length: 290

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84659

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |7.5
>From gcc-bugs-return-634678-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:16:27 2019
Return-Path: <gcc-bugs-return-634678-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20352 invoked by alias); 22 Feb 2019 15:16:26 -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 17315 invoked by uid 48); 22 Feb 2019 15:16:22 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/78496] [7 Regression] Missed opportunities for jump threading
Date: Fri, 22 Feb 2019 15:16: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: 7.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: law at redhat dot com
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc target_milestone
Message-ID: <bug-78496-4-0gz49CLcrN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78496-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78496-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: 2019-02/txt/msg02980.txt.bz2
Content-length: 364

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78496

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org
   Target Milestone|8.3                         |7.5
>From gcc-bugs-return-634679-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:16:47 2019
Return-Path: <gcc-bugs-return-634679-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30055 invoked by alias); 22 Feb 2019 15:16:46 -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 29762 invoked by uid 48); 22 Feb 2019 15:16:43 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/83852] [7 Regression] ICE in sel_redirect_edge_and_branch, at sel-sched-ir.c:5644 on 32-bit BE powerpc targets
Date: Fri, 22 Feb 2019 15:16: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: 8.0
X-Bugzilla-Keywords: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-83852-4-CGdCOrYpnV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83852-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83852-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: 2019-02/txt/msg02981.txt.bz2
Content-length: 290

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83852

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |7.5
>From gcc-bugs-return-634681-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:17:05 2019
Return-Path: <gcc-bugs-return-634681-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32146 invoked by alias); 22 Feb 2019 15:17: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 31841 invoked by uid 48); 22 Feb 2019 15:16:59 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/83760] [7 Regression] [SH] ICE in maybe_record_trace_start building glibc tst-copy_file_range.c
Date: Fri, 22 Feb 2019 15:17: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.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc target_milestone
Message-ID: <bug-83760-4-szv4Q8rvVG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83760-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83760-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: 2019-02/txt/msg02983.txt.bz2
Content-length: 364

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83760

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org
   Target Milestone|8.3                         |7.5
>From gcc-bugs-return-634685-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:18:49 2019
Return-Path: <gcc-bugs-return-634685-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44354 invoked by alias); 22 Feb 2019 15:18: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 43658 invoked by uid 48); 22 Feb 2019 15:18:42 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/85368] [8 regression] phi-opt-11 test fails on IBM Z
Date: Fri, 22 Feb 2019 15:18:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 8.0.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-85368-4-KdUMMePLbz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85368-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85368-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: 2019-02/txt/msg02989.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85368

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634690-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:19:03 2019
Return-Path: <gcc-bugs-return-634690-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45604 invoked by alias); 22 Feb 2019 15:18:56 -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 44451 invoked by uid 48); 22 Feb 2019 15:18:49 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/84048] [8/9 Regression] FAIL: gcc.dg/torture/tls/run-ld.c   -O0  -pie -fPIE  execution test
Date: Fri, 22 Feb 2019 15:18: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-84048-4-xw8DgNDtT8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84048-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84048-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: 2019-02/txt/msg02988.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84048

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634688-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:18:56 2019
Return-Path: <gcc-bugs-return-634688-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44827 invoked by alias); 22 Feb 2019 15:18: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 44069 invoked by uid 48); 22 Feb 2019 15:18:45 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86019] [8/9 Regression] Unref implementation using atomic_thread_fence generates worse code on x86-64 in gcc 8.1 than 7.3
Date: Fri, 22 Feb 2019 15:18: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-86019-4-GYZTBwVMF0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86019-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86019-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: 2019-02/txt/msg02990.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86019

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634683-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:18:43 2019
Return-Path: <gcc-bugs-return-634683-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43635 invoked by alias); 22 Feb 2019 15:18: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 43245 invoked by uid 48); 22 Feb 2019 15:18:38 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87770] [8 Regression] ICE in type_dependent_expression_p, at cp/pt.c:25230
Date: Fri, 22 Feb 2019 15:18: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-87770-4-LAwxsFmoGu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87770-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87770-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: 2019-02/txt/msg02986.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87770

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634682-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:18:43 2019
Return-Path: <gcc-bugs-return-634682-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43457 invoked by alias); 22 Feb 2019 15:18: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 43094 invoked by uid 48); 22 Feb 2019 15:18:36 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89116] [8/9 Regression] ICE in cfg_layout_redirect_edge_and_branch_force, at cfgrtl.c:4482
Date: Fri, 22 Feb 2019 15:18: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-89116-4-DGJgfiEdN8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89116-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89116-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: 2019-02/txt/msg02984.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89116

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634689-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:18:58 2019
Return-Path: <gcc-bugs-return-634689-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45303 invoked by alias); 22 Feb 2019 15:18: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 44252 invoked by uid 48); 22 Feb 2019 15:18:47 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/86549] [8/9 Regression] -flto -g0 vs. -g issues
Date: Fri, 22 Feb 2019 15:18:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: ice-on-valid-code, lto
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-86549-4-7v0hNC6dsF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86549-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86549-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: 2019-02/txt/msg02985.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86549

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634684-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:18:43 2019
Return-Path: <gcc-bugs-return-634684-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43662 invoked by alias); 22 Feb 2019 15:18: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 43315 invoked by uid 48); 22 Feb 2019 15:18:39 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/83361] [7 Regression ?] ICE: verify_flow_info failed (error: non-cold basic block 3 reachable only by paths crossing the cold partition) on 32-bit BE powerpc targets
Date: Fri, 22 Feb 2019 15:18: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: 8.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-83361-4-hNMUco92Lk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83361-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83361-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: 2019-02/txt/msg02987.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83361

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634686-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:18:52 2019
Return-Path: <gcc-bugs-return-634686-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44526 invoked by alias); 22 Feb 2019 15:18: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 43788 invoked by uid 48); 22 Feb 2019 15:18:43 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/82844] [8/9 Regression] Many ada tests time out on x32
Date: Fri, 22 Feb 2019 15:19: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-82844-4-3e3v1D4C3P@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82844-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82844-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: 2019-02/txt/msg02993.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82844

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634691-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:19:09 2019
Return-Path: <gcc-bugs-return-634691-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46056 invoked by alias); 22 Feb 2019 15:18: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 44718 invoked by uid 48); 22 Feb 2019 15:18:50 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/79166] [ARM] Implement neon_valid_immediate tricks for BYTES_BIG_ENDIAN
Date: Fri, 22 Feb 2019 15:19: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: 7.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-79166-4-DcppModDYy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79166-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79166-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: 2019-02/txt/msg02992.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79166

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634694-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:20:02 2019
Return-Path: <gcc-bugs-return-634694-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48234 invoked by alias); 22 Feb 2019 15:19: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 45788 invoked by uid 48); 22 Feb 2019 15:18:57 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/80791] [8/9 regression] test case gcc.dg/sms-1.c fail2 starting with r247885
Date: Fri, 22 Feb 2019 15:19: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: 8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-80791-4-FLx7eAODvN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80791-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80791-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: 2019-02/txt/msg02996.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80791

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #21 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634696-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:20:55 2019
Return-Path: <gcc-bugs-return-634696-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51610 invoked by alias); 22 Feb 2019 15:19: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 46422 invoked by uid 48); 22 Feb 2019 15:19:02 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89057] [8/9 Regression] AArch64 ld3 st4 less optimized
Date: Fri, 22 Feb 2019 15:19: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.1
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-89057-4-FQqsByjqwD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89057-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89057-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: 2019-02/txt/msg02995.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89057

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634697-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:21:05 2019
Return-Path: <gcc-bugs-return-634697-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52668 invoked by alias); 22 Feb 2019 15:19: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 46660 invoked by uid 48); 22 Feb 2019 15:19:03 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/87874] [8 Regression] ICE in simplify_subreg, at simplify-rtx.c:6396
Date: Fri, 22 Feb 2019 15:19: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: 8.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-87874-4-0NtpaAvbxg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87874-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87874-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: 2019-02/txt/msg02994.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87874

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634695-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:20:29 2019
Return-Path: <gcc-bugs-return-634695-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49740 invoked by alias); 22 Feb 2019 15:19: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 46128 invoked by uid 48); 22 Feb 2019 15:18:59 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/85804] [8/9 Regression][AArch64] Mis-compilation of loop with strided array access and xor reduction
Date: Fri, 22 Feb 2019 15:19: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.1.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-85804-4-FYIl1fS0Xq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85804-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85804-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: 2019-02/txt/msg02991.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85804

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634700-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:22:12 2019
Return-Path: <gcc-bugs-return-634700-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58320 invoked by alias); 22 Feb 2019 15:20: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 49138 invoked by uid 48); 22 Feb 2019 15:19:20 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/80198] [7/8/9 Regression] does not vectorize generic inplace integer operation
Date: Fri, 22 Feb 2019 15:20: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: 6.3.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-80198-4-hvtqHdI9qi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80198-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80198-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: 2019-02/txt/msg02997.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80198

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634702-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:22:40 2019
Return-Path: <gcc-bugs-return-634702-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61232 invoked by alias); 22 Feb 2019 15:20:36 -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 50895 invoked by uid 48); 22 Feb 2019 15:19:30 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82005] Early lto debug not implemented on Darwin
Date: Fri, 22 Feb 2019 15:20: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.0
X-Bugzilla-Keywords: lto, patch, wrong-debug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-82005-4-HOOH77vGFZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82005-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82005-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: 2019-02/txt/msg02999.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82005

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #51 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634699-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:21:49 2019
Return-Path: <gcc-bugs-return-634699-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56539 invoked by alias); 22 Feb 2019 15:20: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 47790 invoked by uid 48); 22 Feb 2019 15:19:10 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86259] [8/9 Regression] min(4, strlen(s)) optimized to strlen(s) with -flto
Date: Fri, 22 Feb 2019 15:20: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.1.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-86259-4-RNCayUimx1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86259-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86259-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: 2019-02/txt/msg02998.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86259

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #34 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634687-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:18:52 2019
Return-Path: <gcc-bugs-return-634687-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44684 invoked by alias); 22 Feb 2019 15: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 43944 invoked by uid 48); 22 Feb 2019 15:18:44 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/88273] [8 Regression] warning: 'memcpy' offset [-527, -529] is out of the bounds [0, 16] of object 'vrsave' with type 'union <anonymous>' [-Warray-bounds]
Date: Fri, 22 Feb 2019 15:20: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: 8.2.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-88273-4-sV6XTNgDi6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88273-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88273-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: 2019-02/txt/msg03000.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88273

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634701-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:22:19 2019
Return-Path: <gcc-bugs-return-634701-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60176 invoked by alias); 22 Feb 2019 15:20: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 49574 invoked by uid 48); 22 Feb 2019 15:19:22 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86379] [8 Regression] Class member access of |using|'d field goes horribly awry in presence of templates
Date: Fri, 22 Feb 2019 15:21: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.1.0
X-Bugzilla-Keywords: patch, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-86379-4-EYO9UBqwZT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86379-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86379-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: 2019-02/txt/msg03002.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86379

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634698-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:21:30 2019
Return-Path: <gcc-bugs-return-634698-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55036 invoked by alias); 22 Feb 2019 15:19:56 -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 46896 invoked by uid 48); 22 Feb 2019 15:19:04 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/85459] [8/9 Regression] Larger code generated from GMP template meta-programming
Date: Fri, 22 Feb 2019 15:21: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-85459-4-3JSuvSLXgc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85459-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85459-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: 2019-02/txt/msg03004.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85459

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634708-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:25:34 2019
Return-Path: <gcc-bugs-return-634708-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91034 invoked by alias); 22 Feb 2019 15:21: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 54348 invoked by uid 48); 22 Feb 2019 15:19:52 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89049] [8/9 Regression] Unexpected vectorization
Date: Fri, 22 Feb 2019 15:21: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-89049-4-a9afFP6tJH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89049-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89049-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: 2019-02/txt/msg03007.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89049

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634712-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:26:15 2019
Return-Path: <gcc-bugs-return-634712-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99074 invoked by alias); 22 Feb 2019 15:21:46 -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 55473 invoked by uid 48); 22 Feb 2019 15:19:59 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/83838] Many gcc.target/i386/indirect-thunk*.c tests FAIL
Date: Fri, 22 Feb 2019 15: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: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-83838-4-y8LZXyPG1h@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83838-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83838-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: 2019-02/txt/msg03008.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83838

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634693-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:19:42 2019
Return-Path: <gcc-bugs-return-634693-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46799 invoked by alias); 22 Feb 2019 15:19:04 -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 45318 invoked by uid 48); 22 Feb 2019 15:18:54 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/84251] [8/9 Regression] Performance regression in gcc 8/9 when comparing floating point numbers
Date: Fri, 22 Feb 2019 15: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: 8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-84251-4-dsWD8sazVz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84251-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84251-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: 2019-02/txt/msg03006.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84251

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634703-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:23:09 2019
Return-Path: <gcc-bugs-return-634703-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65088 invoked by alias); 22 Feb 2019 15:20: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 51317 invoked by uid 48); 22 Feb 2019 15:19:33 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/85964] [8/9 Regression] compile time hog w/ -O3 -ftracer -fno-guess-branch-probability
Date: Fri, 22 Feb 2019 15:21: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.1.0
X-Bugzilla-Keywords: compile-time-hog
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: law at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-85964-4-fuascSJceE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85964-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85964-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: 2019-02/txt/msg03003.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85964

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634705-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:23:32 2019
Return-Path: <gcc-bugs-return-634705-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74981 invoked by alias); 22 Feb 2019 15:21: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 51927 invoked by uid 48); 22 Feb 2019 15:19:37 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/71596] gcc bootstrap fails due to segv in genrecog
Date: Fri, 22 Feb 2019 15: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: 7.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: jakub 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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-71596-4-aj4qtS2GUP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71596-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71596-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: 2019-02/txt/msg03001.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71596

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634714-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:26:21 2019
Return-Path: <gcc-bugs-return-634714-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99782 invoked by alias); 22 Feb 2019 15:21: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 55959 invoked by uid 48); 22 Feb 2019 15:20:02 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87513] [8 Regression] ICE in write_expression, at cp/mangle.c:3050
Date: Fri, 22 Feb 2019 15:21: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-87513-4-JqAIVCNryH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87513-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87513-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: 2019-02/txt/msg03009.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87513

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634707-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:25:28 2019
Return-Path: <gcc-bugs-return-634707-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81096 invoked by alias); 22 Feb 2019 15:21: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 53193 invoked by uid 48); 22 Feb 2019 15:19:44 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85046] [8/9 Regression] cp/name-lookup.c:6175:53: runtime error: member access within null pointer of type 'struct cp_binding_level'
Date: Fri, 22 Feb 2019 15:21: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.0.1
X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-85046-4-dOJTkBcNz8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85046-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85046-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: 2019-02/txt/msg03005.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85046

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634716-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:26:48 2019
Return-Path: <gcc-bugs-return-634716-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102681 invoked by alias); 22 Feb 2019 15:21: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 56516 invoked by uid 48); 22 Feb 2019 15:20:05 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/69543] [7/8/9 Regression] _Pragma does not apply within macro
Date: Fri, 22 Feb 2019 15:21: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: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-69543-4-ONLfNstCyb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69543-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69543-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: 2019-02/txt/msg03010.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69543

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634719-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:27:32 2019
Return-Path: <gcc-bugs-return-634719-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105892 invoked by alias); 22 Feb 2019 15:22: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 57318 invoked by uid 48); 22 Feb 2019 15:20:10 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87652] [8 Regression] inner class template of outer class template can't access friend's protected data member
Date: Fri, 22 Feb 2019 15:22: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, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-87652-4-Fl0eQCMrVd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87652-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87652-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: 2019-02/txt/msg03013.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87652

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634720-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:27:35 2019
Return-Path: <gcc-bugs-return-634720-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105958 invoked by alias); 22 Feb 2019 15:22: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 57538 invoked by uid 48); 22 Feb 2019 15:20:12 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87748] [8/9 Regression] G++-8 treats SFINAE as error
Date: Fri, 22 Feb 2019 15:22: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.1.1
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-87748-4-6XE4PTdZD7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87748-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87748-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: 2019-02/txt/msg03015.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87748

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634709-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:25:36 2019
Return-Path: <gcc-bugs-return-634709-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95191 invoked by alias); 22 Feb 2019 15:21:32 -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 54630 invoked by uid 48); 22 Feb 2019 15:19:54 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/83267] [8/9 regression] [armeb] gfortran.fortran-torture/execute/scalarize2.f90 fails since r255307
Date: Fri, 22 Feb 2019 15:22: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.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-83267-4-dbHd1M8iD6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83267-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83267-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: 2019-02/txt/msg03014.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83267

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634711-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:25:45 2019
Return-Path: <gcc-bugs-return-634711-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97501 invoked by alias); 22 Feb 2019 15:21: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 55326 invoked by uid 48); 22 Feb 2019 15:19:58 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/80590] [8/9 regression] non-bootstrap build failure of Ada runtime
Date: Fri, 22 Feb 2019 15:22: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: SUSPENDED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-80590-4-E2mYZdtLwe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80590-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80590-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: 2019-02/txt/msg03017.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80590

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634710-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:25:40 2019
Return-Path: <gcc-bugs-return-634710-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96074 invoked by alias); 22 Feb 2019 15:21: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 54986 invoked by uid 48); 22 Feb 2019 15:19:56 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/86827] [8/9 Regression] -Warray-bounds produces negative indicies
Date: Fri, 22 Feb 2019 15:22: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: 8.1.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-86827-4-D9jcXTxI21@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86827-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86827-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: 2019-02/txt/msg03012.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86827

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634692-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:19:41 2019
Return-Path: <gcc-bugs-return-634692-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46553 invoked by alias); 22 Feb 2019 15:19: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 45090 invoked by uid 48); 22 Feb 2019 15:18:52 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86589] [8 regression] gcc.target/powerpc/altivec-7-le.c and gcc.target/powerpc/vsx-7-be.c fail starting with r262440
Date: Fri, 22 Feb 2019 15:22: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.1
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-86589-4-vMzveAAGuw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86589-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86589-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: 2019-02/txt/msg03016.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86589

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634713-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:26:18 2019
Return-Path: <gcc-bugs-return-634713-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99569 invoked by alias); 22 Feb 2019 15:21: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 55691 invoked by uid 48); 22 Feb 2019 15:20:00 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/86438] [8 Regression] wrong code at -Os
Date: Fri, 22 Feb 2019 15:22: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-86438-4-ro5aysKDhr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86438-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86438-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: 2019-02/txt/msg03020.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86438

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634725-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:29:03 2019
Return-Path: <gcc-bugs-return-634725-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113774 invoked by alias); 22 Feb 2019 15:22: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 60955 invoked by uid 48); 22 Feb 2019 15:20:35 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86969] [8/9 Regression] ICE (in tsubst_copy) for a generic recursive lambda
Date: Fri, 22 Feb 2019 15:22: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-86969-4-zlWb4YA2oP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86969-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86969-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: 2019-02/txt/msg03024.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86969

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634728-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:29:49 2019
Return-Path: <gcc-bugs-return-634728-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117279 invoked by alias); 22 Feb 2019 15:22: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 61844 invoked by uid 48); 22 Feb 2019 15:20:40 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/84733] [8/9 Regression] internal compiler error: Segmentation fault (check_local_shadow())
Date: Fri, 22 Feb 2019 15:22: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.0.1
X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-84733-4-mHeD7GBooo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84733-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84733-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: 2019-02/txt/msg03022.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84733

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634717-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:27:03 2019
Return-Path: <gcc-bugs-return-634717-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104201 invoked by alias); 22 Feb 2019 15:22:04 -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 56859 invoked by uid 48); 22 Feb 2019 15:20:07 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88183] [8/9 Regression] Fold expression with operator .* inside an polymorphic lambda
Date: Fri, 22 Feb 2019 15:22: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.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-88183-4-pqTaDP4tjw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88183-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88183-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: 2019-02/txt/msg03011.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88183

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634721-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:28:22 2019
Return-Path: <gcc-bugs-return-634721-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107409 invoked by alias); 22 Feb 2019 15:22: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 58118 invoked by uid 48); 22 Feb 2019 15:20:16 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/84948] [8/9 regression] ICE in set_from, at go/gofrontend/types.cc:2660
Date: Fri, 22 Feb 2019 15:22: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: 8.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-84948-4-uknRI5cDN7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84948-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84948-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: 2019-02/txt/msg03018.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84948

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634715-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:26:42 2019
Return-Path: <gcc-bugs-return-634715-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101314 invoked by alias); 22 Feb 2019 15: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 56303 invoked by uid 48); 22 Feb 2019 15:20:04 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88917] [8/9 Regression] Error: can't resolve `.text' {.text section} - `.LCFI2' {.text.unlikely section} with -fno-dwarf2-cfi-asm
Date: Fri, 22 Feb 2019 15:22: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: assemble-failure
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-88917-4-nt5mgMf05w@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88917-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88917-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: 2019-02/txt/msg03019.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88917

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634726-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:29:33 2019
Return-Path: <gcc-bugs-return-634726-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115542 invoked by alias); 22 Feb 2019 15:22: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 61294 invoked by uid 48); 22 Feb 2019 15:20:37 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85569] [8/9 Regression] is_invocable(F, decltype(objs)...)  fails with "not supported by dump_expr#" unless via indirection
Date: Fri, 22 Feb 2019 15:22: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.1.0
X-Bugzilla-Keywords: diagnostic, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-85569-4-b3i5M2Mx2s@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85569-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85569-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: 2019-02/txt/msg03023.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85569

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634718-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:27:22 2019
Return-Path: <gcc-bugs-return-634718-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105237 invoked by alias); 22 Feb 2019 15:22: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 57089 invoked by uid 48); 22 Feb 2019 15:20:09 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/86096] [8/9 Regression] ICE: qsort checking failed (error: qsort comparator non-negative on sorted output: 0)
Date: Fri, 22 Feb 2019 15:22: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: ice-checking, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-86096-4-yUQ9VZvSFc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86096-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86096-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: 2019-02/txt/msg03021.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86096

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634706-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:25:22 2019
Return-Path: <gcc-bugs-return-634706-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78862 invoked by alias); 22 Feb 2019 15:21: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 52915 invoked by uid 48); 22 Feb 2019 15:19:43 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/88568] [7 Regression] 'dllimport' no longer implies 'extern' in C
Date: Fri, 22 Feb 2019 15:22: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.1.0
X-Bugzilla-Keywords: rejects-valid, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-88568-4-uJyEnRCD2u@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88568-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88568-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: 2019-02/txt/msg03025.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88568

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634722-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:28:25 2019
Return-Path: <gcc-bugs-return-634722-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107751 invoked by alias); 22 Feb 2019 15:22:18 -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 59258 invoked by uid 48); 22 Feb 2019 15:20:23 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89182] [8 Regression] [graphite] ICE in extract_affine, at graphite-sese-to-poly.c:280
Date: Fri, 22 Feb 2019 15:23: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-89182-4-I2mf06cllw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89182-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89182-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: 2019-02/txt/msg03034.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89182

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634731-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:31:19 2019
Return-Path: <gcc-bugs-return-634731-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122453 invoked by alias); 22 Feb 2019 15:23: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 62580 invoked by uid 48); 22 Feb 2019 15:20:45 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/84490] [8/9 regression] 436.cactusADM regressed by 6-8% percent with -Ofast on Zen and Haswell, compared to gcc 7.2
Date: Fri, 22 Feb 2019 15:23: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.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-84490-4-ohzRcBkIq0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84490-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: 2019-02/txt/msg03031.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84490

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634730-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:30:35 2019
Return-Path: <gcc-bugs-return-634730-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120848 invoked by alias); 22 Feb 2019 15:23: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 62371 invoked by uid 48); 22 Feb 2019 15:20:44 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/81018] [8/9 regression] gfortran.dg/graphite/pr14741.f90 FAILs
Date: Fri, 22 Feb 2019 15:23: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: amker at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-81018-4-VyJjz0Bn9c@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81018-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81018-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: 2019-02/txt/msg03032.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81018

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634724-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:28:53 2019
Return-Path: <gcc-bugs-return-634724-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112083 invoked by alias); 22 Feb 2019 15:22: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 60474 invoked by uid 48); 22 Feb 2019 15:20:31 -0000
From: "jakub 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: Fri, 22 Feb 2019 15:23: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-85103-4-TiSt3TUfKZ@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: 2019-02/txt/msg03035.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85103

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #22 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634734-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:32:09 2019
Return-Path: <gcc-bugs-return-634734-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126449 invoked by alias); 22 Feb 2019 15:23: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 73803 invoked by uid 48); 22 Feb 2019 15:20:57 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/80511] [8/9 Regression] gcc.dg/Wstrict-overflow-18.c gcc.dg/Wstrict-overflow-7.c gcc.dg/pragma-diag-3.c
Date: Fri, 22 Feb 2019 15:23: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: diagnostic, xfail
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-80511-4-d3VdqOYLLZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80511-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80511-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: 2019-02/txt/msg03038.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80511

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634729-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:30:57 2019
Return-Path: <gcc-bugs-return-634729-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120532 invoked by alias); 22 Feb 2019 15:23:04 -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 62184 invoked by uid 48); 22 Feb 2019 15:20:42 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/87273] [8/9 Regression] ICE in merge_fences, at sel-sched-ir.c:708
Date: Fri, 22 Feb 2019 15:23: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: 8.2.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: abel at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-87273-4-NNFe6ZKVU2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87273-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87273-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: 2019-02/txt/msg03027.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87273

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634735-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:32:10 2019
Return-Path: <gcc-bugs-return-634735-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126508 invoked by alias); 22 Feb 2019 15:23: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 72341 invoked by uid 48); 22 Feb 2019 15:20:56 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89247] [7/8 Regression] ICE in expand_LOOP_VECTORIZED, at internal-fn.c:2409
Date: Fri, 22 Feb 2019 15:23: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-89247-4-m0tmMDZmSz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89247-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89247-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: 2019-02/txt/msg03036.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89247

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634704-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:23:19 2019
Return-Path: <gcc-bugs-return-634704-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 70758 invoked by alias); 22 Feb 2019 15:20:55 -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 51623 invoked by uid 48); 22 Feb 2019 15:19:35 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/87489] [8/9 Regression] Spurious -Wnonnull warning
Date: Fri, 22 Feb 2019 15:23: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: 8.2.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-87489-4-KtzAzMinwt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87489-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87489-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: 2019-02/txt/msg03030.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87489

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634733-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:31:49 2019
Return-Path: <gcc-bugs-return-634733-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124674 invoked by alias); 22 Feb 2019 15:23:19 -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 64592 invoked by uid 48); 22 Feb 2019 15:20:50 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87322] [8 Regression] GCC fails to parse captured lambda of 2nd inner lambda if the captured lambda has "," (having 2 arguments)
Date: Fri, 22 Feb 2019 15:23: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.1.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-87322-4-yqTbT1snoX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87322-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87322-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: 2019-02/txt/msg03028.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87322

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634739-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:33:24 2019
Return-Path: <gcc-bugs-return-634739-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2834 invoked by alias); 22 Feb 2019 15:23: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 75534 invoked by uid 48); 22 Feb 2019 15:21:03 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/86593] [8 Regression] internal compiler error: in based_loc_descr, at dwarf2out.c:14272
Date: Fri, 22 Feb 2019 15:23:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 8.1.0
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-86593-4-yFR04jMD8v@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86593-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86593-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: 2019-02/txt/msg03037.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86593

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634732-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:31:22 2019
Return-Path: <gcc-bugs-return-634732-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122564 invoked by alias); 22 Feb 2019 15:23: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 62822 invoked by uid 48); 22 Feb 2019 15:20:47 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/83851] [8/9 regression] gcc.dg/vect/pr53185-2.c fails on armeb after r256634
Date: Fri, 22 Feb 2019 15:23: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-83851-4-G7rsw9NOuY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83851-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83851-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: 2019-02/txt/msg03026.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83851

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634738-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:32:59 2019
Return-Path: <gcc-bugs-return-634738-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130585 invoked by alias); 22 Feb 2019 15:23: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 75302 invoked by uid 48); 22 Feb 2019 15:21:02 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89419] [8/9 Regression] ICE in is_normal_capture_proxy starting with r253601
Date: Fri, 22 Feb 2019 15:23: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: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-89419-4-2nruPRCoY1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89419-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89419-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: 2019-02/txt/msg03033.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89419

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634727-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:29:46 2019
Return-Path: <gcc-bugs-return-634727-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116783 invoked by alias); 22 Feb 2019 15:22:52 -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 61594 invoked by uid 48); 22 Feb 2019 15:20:38 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/84135] [8/9 Regression] ICE in gfc_trans_array_cobounds, at fortran/trans-array.c:6033
Date: Fri, 22 Feb 2019 15:23: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.0
X-Bugzilla-Keywords: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-84135-4-BAvcyNfJi6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84135-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84135-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: 2019-02/txt/msg03029.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84135

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634741-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:33:43 2019
Return-Path: <gcc-bugs-return-634741-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5744 invoked by alias); 22 Feb 2019 15: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 76440 invoked by uid 48); 22 Feb 2019 15:21:07 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86429] [8/9 Regression] lambda capture breaks constexpr-ness
Date: Fri, 22 Feb 2019 15:24: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: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-86429-4-Vnk19cvg20@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86429-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86429-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: 2019-02/txt/msg03040.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86429

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634744-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:34:13 2019
Return-Path: <gcc-bugs-return-634744-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86823 invoked by alias); 22 Feb 2019 15:24: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 77624 invoked by uid 48); 22 Feb 2019 15:21:12 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/78972] [7/8/9 Regression] poor x86 simd instruction scheduling
Date: Fri, 22 Feb 2019 15:24: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: 7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: bernds at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-78972-4-Y2Y5zAst8B@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78972-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78972-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: 2019-02/txt/msg03039.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78972

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634746-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:34:23 2019
Return-Path: <gcc-bugs-return-634746-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78604 invoked by alias); 22 Feb 2019 15:25: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 78718 invoked by uid 48); 22 Feb 2019 15:21:16 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87015] [8/9 Regression] miscompilation of template heavy Boost Spirit code
Date: Fri, 22 Feb 2019 15: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.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-87015-4-dn2MyDsJuz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87015-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87015-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: 2019-02/txt/msg03046.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87015

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634723-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:28:40 2019
Return-Path: <gcc-bugs-return-634723-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109047 invoked by alias); 22 Feb 2019 15:22: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 59560 invoked by uid 48); 22 Feb 2019 15:20:25 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89285] [8/9 Regression] ICE after casting the this pointer in the constructor in C++17 mode
Date: Fri, 22 Feb 2019 15: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: accepts-invalid, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-89285-4-eetqMzatHV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89285-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89285-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: 2019-02/txt/msg03045.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89285

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634752-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:35:34 2019
Return-Path: <gcc-bugs-return-634752-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110535 invoked by alias); 22 Feb 2019 15:25: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 92219 invoked by uid 48); 22 Feb 2019 15:21:30 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88123] [8/9 Regression] faulty qualified name lookup of overloaded operator within generic lambda via using-directive
Date: Fri, 22 Feb 2019 15: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: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-88123-4-BrzQfPFoiP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88123-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88123-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: 2019-02/txt/msg03048.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88123

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634751-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:35:27 2019
Return-Path: <gcc-bugs-return-634751-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104128 invoked by alias); 22 Feb 2019 15:25:36 -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 90353 invoked by uid 48); 22 Feb 2019 15:21:28 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/87007] [8/9 Regression] 10% slowdown with -march=skylake-avx512
Date: Fri, 22 Feb 2019 15:25: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: hjl.tools at gmail dot com
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-87007-4-Som0OJxYJh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87007-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87007-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: 2019-02/txt/msg03049.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87007

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634743-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:34:00 2019
Return-Path: <gcc-bugs-return-634743-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48275 invoked by alias); 22 Feb 2019 15:24: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 77137 invoked by uid 48); 22 Feb 2019 15:21:10 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/83403] Missed register promotion opportunities in loop
Date: Fri, 22 Feb 2019 15:25: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-83403-4-cMAOtTdPMD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83403-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83403-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: 2019-02/txt/msg03052.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83403

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634742-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:33:43 2019
Return-Path: <gcc-bugs-return-634742-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6716 invoked by alias); 22 Feb 2019 15:24:04 -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 76587 invoked by uid 48); 22 Feb 2019 15:21:08 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82407] [meta-bug] qsort_chk fallout tracking
Date: Fri, 22 Feb 2019 15:25: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: 8.0
X-Bugzilla-Keywords: ice-checking, meta-bug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-82407-4-I2oWHT1vIw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82407-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82407-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: 2019-02/txt/msg03047.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82407

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634740-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:33:34 2019
Return-Path: <gcc-bugs-return-634740-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4502 invoked by alias); 22 Feb 2019 15:23:57 -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 75827 invoked by uid 48); 22 Feb 2019 15:21:05 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86214] [8 Regression] Strongly increased stack usage
Date: Fri, 22 Feb 2019 15:25: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.1.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-86214-4-SS9u1FofSH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86214-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86214-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: 2019-02/txt/msg03043.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86214

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #21 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634745-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:34:14 2019
Return-Path: <gcc-bugs-return-634745-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111119 invoked by alias); 22 Feb 2019 15:24:56 -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 78006 invoked by uid 48); 22 Feb 2019 15:21:14 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88530] [8/9 Regression] AArch64 Unsupported options passed to assemblers when it doesn't need to.
Date: Fri, 22 Feb 2019 15:25: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.0
X-Bugzilla-Keywords: assemble-failure
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: tnfchris at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-88530-4-4aXAzBUKBs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88530-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88530-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: 2019-02/txt/msg03042.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88530

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634750-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:35:06 2019
Return-Path: <gcc-bugs-return-634750-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95725 invoked by alias); 22 Feb 2019 15:25: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 88799 invoked by uid 48); 22 Feb 2019 15:21:27 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86932] [8/9 Regression] Empty non-type template parameter pack not considered for SFINAE.
Date: Fri, 22 Feb 2019 15: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: accepts-invalid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-86932-4-yCfmd2KOlt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86932-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86932-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: 2019-02/txt/msg03053.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86932

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634755-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:36:06 2019
Return-Path: <gcc-bugs-return-634755-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119753 invoked by alias); 22 Feb 2019 15:25:46 -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 96082 invoked by uid 48); 22 Feb 2019 15:21:35 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87480] [8/9 Regression] SFINAE constructor not matched, only in templated function
Date: Fri, 22 Feb 2019 15: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: 9.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-87480-4-bmhnueaqGz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87480-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87480-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: 2019-02/txt/msg03050.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87480

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634749-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:34:54 2019
Return-Path: <gcc-bugs-return-634749-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93138 invoked by alias); 22 Feb 2019 15:25:32 -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 82809 invoked by uid 48); 22 Feb 2019 15:21:24 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86747] [8 Regression] rejects-valid with redundant friend declaration
Date: Fri, 22 Feb 2019 15: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: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-86747-4-pujPWQFR94@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86747-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86747-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: 2019-02/txt/msg03044.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86747

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634756-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:36:17 2019
Return-Path: <gcc-bugs-return-634756-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121274 invoked by alias); 22 Feb 2019 15:25: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 96625 invoked by uid 48); 22 Feb 2019 15:21:37 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86926] [8 Regression] ICE for a recursive generic lambda
Date: Fri, 22 Feb 2019 15: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-86926-4-NOyTegAQ52@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86926-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86926-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: 2019-02/txt/msg03051.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86926

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634748-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:34:33 2019
Return-Path: <gcc-bugs-return-634748-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86787 invoked by alias); 22 Feb 2019 15:25: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 80540 invoked by uid 48); 22 Feb 2019 15:21:19 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/88780] [8/9 Regression] bogus -Wstringop-truncation for copying as many bytes from a string as its length
Date: Fri, 22 Feb 2019 15:25: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: 9.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-88780-4-bYzOKBIEQs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88780-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88780-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: 2019-02/txt/msg03041.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88780

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634760-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:37:04 2019
Return-Path: <gcc-bugs-return-634760-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86262 invoked by alias); 22 Feb 2019 15:26: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 98861 invoked by uid 48); 22 Feb 2019 15:21:45 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/87793] [8 Regression] GCC reports error when compiling with "-fpic -Os -g"
Date: Fri, 22 Feb 2019 15:26: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-87793-4-mEdg9QxKia@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87793-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87793-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: 2019-02/txt/msg03054.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87793

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634747-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:34:48 2019
Return-Path: <gcc-bugs-return-634747-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84111 invoked by alias); 22 Feb 2019 15:25: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 79641 invoked by uid 48); 22 Feb 2019 15:21:17 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/86685] [8/9 Regression] 436.cactusADM regression on aarch64
Date: Fri, 22 Feb 2019 15: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: 8.1.1
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-86685-4-NcVpRSJQC2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86685-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86685-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: 2019-02/txt/msg03055.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86685

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634766-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:38:14 2019
Return-Path: <gcc-bugs-return-634766-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97936 invoked by alias); 22 Feb 2019 15:26:52 -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 102663 invoked by uid 48); 22 Feb 2019 15:21:59 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87327] [8/9 Regression] Calling member functions on captured constexpr variables "is not a constant expression"
Date: Fri, 22 Feb 2019 15:26: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.1.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-87327-4-zhSgmKvlYj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87327-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87327-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: 2019-02/txt/msg03059.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87327

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634737-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:32:54 2019
Return-Path: <gcc-bugs-return-634737-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129974 invoked by alias); 22 Feb 2019 15:23: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 75102 invoked by uid 48); 22 Feb 2019 15:21:01 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87571] [8/9 Regression] ICE in friend_accessible_p, accessing protected member of template friend inside template class
Date: Fri, 22 Feb 2019 15:26: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: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-87571-4-I9zjMxPYcg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87571-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87571-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: 2019-02/txt/msg03057.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87571

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634761-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:37:20 2019
Return-Path: <gcc-bugs-return-634761-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87492 invoked by alias); 22 Feb 2019 15:26: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 99235 invoked by uid 48); 22 Feb 2019 15:21:47 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/85506] ICE in gfc_assign_data_value, at fortran/data.c:448
Date: Fri, 22 Feb 2019 15:26: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-85506-4-OoxhiW7pCa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85506-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85506-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: 2019-02/txt/msg03056.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85506

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634767-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:38:19 2019
Return-Path: <gcc-bugs-return-634767-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99767 invoked by alias); 22 Feb 2019 15:26: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 103798 invoked by uid 48); 22 Feb 2019 15:22:03 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88775] [8/9 Regression] Optimize std::string assignment
Date: Fri, 22 Feb 2019 15: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: 9.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-88775-4-dQmF8zxt72@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88775-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88775-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: 2019-02/txt/msg03060.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88775

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634762-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:37:49 2019
Return-Path: <gcc-bugs-return-634762-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90825 invoked by alias); 22 Feb 2019 15:26:32 -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 99726 invoked by uid 48); 22 Feb 2019 15:21:49 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/87554] [8/9 Regression] internal compiler error: in record_reference, at cgraphbuild.c:64
Date: Fri, 22 Feb 2019 15:26: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.2.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-87554-4-CekeEKn7NE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87554-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87554-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: 2019-02/txt/msg03058.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87554

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634753-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:35:37 2019
Return-Path: <gcc-bugs-return-634753-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112552 invoked by alias); 22 Feb 2019 15:25: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 94984 invoked by uid 48); 22 Feb 2019 15:21:31 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82258] [8/9 regression] allocate_zerosize_3.f fails since r251949
Date: Fri, 22 Feb 2019 15:27: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-82258-4-Ae7AVDgYWr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82258-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82258-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: 2019-02/txt/msg03065.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82258

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #20 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634769-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:38:28 2019
Return-Path: <gcc-bugs-return-634769-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105140 invoked by alias); 22 Feb 2019 15:27: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 105010 invoked by uid 48); 22 Feb 2019 15:22:07 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/87296] [8/9 Regression] -Wstringop-overflow false positive due to using MEM_REF type of &MEM
Date: Fri, 22 Feb 2019 15:27: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: 8.2.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-87296-4-6s8abhVc8l@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87296-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87296-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: 2019-02/txt/msg03062.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87296

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634770-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:38:31 2019
Return-Path: <gcc-bugs-return-634770-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108163 invoked by alias); 22 Feb 2019 15:27: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 105426 invoked by uid 48); 22 Feb 2019 15:22:09 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89331] [8/9 Regression] internal compiler error: in build_simple_base_path, at cp/class.c:589
Date: Fri, 22 Feb 2019 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: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-89331-4-Z4zHFh1Mgd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89331-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89331-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: 2019-02/txt/msg03063.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89331

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634771-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:38:35 2019
Return-Path: <gcc-bugs-return-634771-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111490 invoked by alias); 22 Feb 2019 15:27: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 105782 invoked by uid 48); 22 Feb 2019 15:22:11 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/84598] [8/9 Regression] internal compiler error: Segmentation fault (cp_default_conversion())
Date: Fri, 22 Feb 2019 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.0.1
X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-84598-4-W4cUAyEuGt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84598-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84598-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: 2019-02/txt/msg03064.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84598

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634768-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:38:24 2019
Return-Path: <gcc-bugs-return-634768-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103319 invoked by alias); 22 Feb 2019 15:27: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 104525 invoked by uid 48); 22 Feb 2019 15:22:05 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82255] Vectorizer cost model overcounts cost of some vectorized loads
Date: Fri, 22 Feb 2019 15: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: 8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-82255-4-mpDhqYbjvr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82255-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82255-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: 2019-02/txt/msg03061.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82255

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634777-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:38:59 2019
Return-Path: <gcc-bugs-return-634777-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5635 invoked by alias); 22 Feb 2019 15:28:52 -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 111472 invoked by uid 48); 22 Feb 2019 15:22:30 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/84353] [8/9 Regression] [graphite] ICE in set_codegen_error, at graphite-isl-ast-to-gimple.c:206
Date: Fri, 22 Feb 2019 15:28: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: ice-on-valid-code, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-84353-4-imMG053B5t@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84353-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84353-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: 2019-02/txt/msg03070.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84353

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634774-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:38:49 2019
Return-Path: <gcc-bugs-return-634774-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1202 invoked by alias); 22 Feb 2019 15:28: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 107942 invoked by uid 48); 22 Feb 2019 15:22:19 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/84923] [8 regression] gcc.dg/attr-weakref-1.c failed on aarch64
Date: Fri, 22 Feb 2019 15:28: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-84923-4-2QA1ZMtsqz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84923-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84923-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: 2019-02/txt/msg03067.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84923

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634775-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:38:52 2019
Return-Path: <gcc-bugs-return-634775-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1383 invoked by alias); 22 Feb 2019 15:28: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 108201 invoked by uid 48); 22 Feb 2019 15:22:19 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89174] [8/9 Regression] Allocation segfault with CLASS(*) MOLD
Date: Fri, 22 Feb 2019 15:28: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-89174-4-6OFrH57aQe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89174-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89174-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: 2019-02/txt/msg03068.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89174

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634776-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:38:56 2019
Return-Path: <gcc-bugs-return-634776-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3404 invoked by alias); 22 Feb 2019 15:28: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 110593 invoked by uid 48); 22 Feb 2019 15:22:27 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/85481] [8/9 Regression] ICE in maybe_explain_implicit_delete
Date: Fri, 22 Feb 2019 15:28: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.0.1
X-Bugzilla-Keywords: error-recovery, ice-checking, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-85481-4-ELYCsz2Vqo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85481-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85481-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: 2019-02/txt/msg03069.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85481

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634773-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:38:45 2019
Return-Path: <gcc-bugs-return-634773-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126441 invoked by alias); 22 Feb 2019 15:28: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 107434 invoked by uid 48); 22 Feb 2019 15:22:17 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86521] [8/9 Regression] GCC 8 selects incorrect overload of ref-qualified conversion operator template
Date: Fri, 22 Feb 2019 15:28: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.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-86521-4-5EmcjAdNPg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86521-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86521-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: 2019-02/txt/msg03066.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86521

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634778-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:39:02 2019
Return-Path: <gcc-bugs-return-634778-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7253 invoked by alias); 22 Feb 2019 15:28:56 -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 111931 invoked by uid 48); 22 Feb 2019 15:22:32 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/84472] Missing finalization and memory leak
Date: Fri, 22 Feb 2019 15:28: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.0.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-84472-4-TcY5gWFhod@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84472-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84472-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: 2019-02/txt/msg03071.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84472

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634782-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:39:15 2019
Return-Path: <gcc-bugs-return-634782-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15081 invoked by alias); 22 Feb 2019 15:29: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 114278 invoked by uid 48); 22 Feb 2019 15:22:42 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/80938] [7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2330
Date: Fri, 22 Feb 2019 15:29: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.0
X-Bugzilla-Keywords: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-80938-4-X9j2XEaucw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80938-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80938-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: 2019-02/txt/msg03075.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80938

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634786-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:39:28 2019
Return-Path: <gcc-bugs-return-634786-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23430 invoked by alias); 22 Feb 2019 15:29:46 -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 116758 invoked by uid 48); 22 Feb 2019 15:22:51 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/84518] [8/9 Regression] ICE with lambda capturing broken variable
Date: Fri, 22 Feb 2019 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.0
X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-84518-4-4m1UXNbsi0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84518-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84518-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: 2019-02/txt/msg03079.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84518

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634784-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:39:21 2019
Return-Path: <gcc-bugs-return-634784-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19620 invoked by alias); 22 Feb 2019 15:29: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 115514 invoked by uid 48); 22 Feb 2019 15:22:47 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86943] [7 Regression] Wrong code when converting stateless generic lambda to function pointer
Date: Fri, 22 Feb 2019 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: 9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-86943-4-8zlrJOipSg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86943-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86943-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: 2019-02/txt/msg03077.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86943

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634779-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:39:05 2019
Return-Path: <gcc-bugs-return-634779-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8978 invoked by alias); 22 Feb 2019 15: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 112289 invoked by uid 48); 22 Feb 2019 15:22:34 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88247] [8/9 Regression] ICE in get_array_ctor_var_strlen, at fortran/trans-array.c:2068
Date: Fri, 22 Feb 2019 15:29: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: pault at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-88247-4-vPiOEoeTR7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88247-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88247-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: 2019-02/txt/msg03072.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88247

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634764-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:37:55 2019
Return-Path: <gcc-bugs-return-634764-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94146 invoked by alias); 22 Feb 2019 15:26:41 -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 101104 invoked by uid 48); 22 Feb 2019 15:21:53 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89190] [8 regression][ARM] armv8-m.base invalid ldm ICE
Date: Fri, 22 Feb 2019 15:29: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: wilco at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-89190-4-cAOYcitxQQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89190-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89190-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: 2019-02/txt/msg03078.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89190

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634757-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:36:26 2019
Return-Path: <gcc-bugs-return-634757-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128943 invoked by alias); 22 Feb 2019 15:25:57 -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 97846 invoked by uid 48); 22 Feb 2019 15:21:41 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/85640] [8/9 Regression] code size regression vs 7.x
Date: Fri, 22 Feb 2019 15:29: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.1
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-85640-4-UWv3AUcRFr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85640-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85640-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: 2019-02/txt/msg03080.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85640

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634781-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:39:12 2019
Return-Path: <gcc-bugs-return-634781-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12866 invoked by alias); 22 Feb 2019 15:29: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 113926 invoked by uid 48); 22 Feb 2019 15:22:41 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/77568] [7/8/9 regression] CSE/PRE/Hoisting blocks common instruction contractions
Date: Fri, 22 Feb 2019 15:29: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: 7.0
X-Bugzilla-Keywords: FIXME, missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-77568-4-lB73KSFjIz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77568-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77568-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: 2019-02/txt/msg03074.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77568

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634780-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:39:08 2019
Return-Path: <gcc-bugs-return-634780-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10292 invoked by alias); 22 Feb 2019 15:29:06 -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 112618 invoked by uid 48); 22 Feb 2019 15:22:35 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/85686] [8/9 Regression] ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.c:3385
Date: Fri, 22 Feb 2019 15:29: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-85686-4-9XF9fp1GnW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85686-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85686-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: 2019-02/txt/msg03073.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85686

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634765-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:38:05 2019
Return-Path: <gcc-bugs-return-634765-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96097 invoked by alias); 22 Feb 2019 15:26: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 102282 invoked by uid 48); 22 Feb 2019 15:21:58 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/58454] Potentially wrong(or at least weird/inconsistent) code generation with -O2 -fno-strict-overflow
Date: Fri, 22 Feb 2019 15:29: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: 4.8.1
X-Bugzilla-Keywords: documentation
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-58454-4-zFEtF8UuNw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-58454-4@http.gcc.gnu.org/bugzilla/>
References: <bug-58454-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: 2019-02/txt/msg03076.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58454

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634788-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:39:34 2019
Return-Path: <gcc-bugs-return-634788-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28817 invoked by alias); 22 Feb 2019 15:30: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 119460 invoked by uid 48); 22 Feb 2019 15:23:00 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/84508] Load of misaligned address using _mm_load_sd
Date: Fri, 22 Feb 2019 15:30: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: 6.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-84508-4-YOX72ALoFd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84508-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84508-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: 2019-02/txt/msg03081.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84508

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634790-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:39:40 2019
Return-Path: <gcc-bugs-return-634790-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66401 invoked by alias); 22 Feb 2019 15:30: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 120830 invoked by uid 48); 22 Feb 2019 15:23:05 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/82138] [8/9 Regression] Assembler messages: Error: can't resolve `.got2' {.got2 section} - `.LCF0' {.text.unlikely section}
Date: Fri, 22 Feb 2019 15:30: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.0
X-Bugzilla-Keywords: assemble-failure
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-82138-4-jwZF6ajOzI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82138-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82138-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: 2019-02/txt/msg03083.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82138

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634789-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:39:37 2019
Return-Path: <gcc-bugs-return-634789-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45139 invoked by alias); 22 Feb 2019 15:30: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 120136 invoked by uid 48); 22 Feb 2019 15:23:03 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/87008] [8/9 Regression] gimple mem-to-mem assignment badly optimized
Date: Fri, 22 Feb 2019 15:30: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-87008-4-fJOvSVBVO4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87008-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87008-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: 2019-02/txt/msg03082.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87008

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634758-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:36:51 2019
Return-Path: <gcc-bugs-return-634758-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85203 invoked by alias); 22 Feb 2019 15:26: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 98379 invoked by uid 48); 22 Feb 2019 15:21:43 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/80759] gcc.target/x86_64/abi/ms-sysv FAILs
Date: Fri, 22 Feb 2019 15:30:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-80759-4-0CFaYIleNL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80759-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80759-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: 2019-02/txt/msg03085.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80759

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #67 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634783-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:39:19 2019
Return-Path: <gcc-bugs-return-634783-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17334 invoked by alias); 22 Feb 2019 15:29: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 114931 invoked by uid 48); 22 Feb 2019 15:22:45 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86960] [8/9 Regression] internal compiler error: in coerce_template_parms
Date: Fri, 22 Feb 2019 15:30: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-86960-4-Hkj2WOLiMm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86960-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86960-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: 2019-02/txt/msg03084.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86960

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634772-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:38:42 2019
Return-Path: <gcc-bugs-return-634772-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125709 invoked by alias); 22 Feb 2019 15:28:19 -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 106666 invoked by uid 48); 22 Feb 2019 15:22:14 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/78176] [MIPS] miscompiles ldxc1 with large pointers on 32-bits
Date: Fri, 22 Feb 2019 15:31: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: 6.2.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dougjgilmore at gmail dot com
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-78176-4-cwqQ4RdlXd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78176-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78176-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: 2019-02/txt/msg03091.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78176

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #24 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634794-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:40:03 2019
Return-Path: <gcc-bugs-return-634794-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105677 invoked by alias); 22 Feb 2019 15:31: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 122764 invoked by uid 48); 22 Feb 2019 15:23:12 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87685] [8/9 Regression] Calling a static method from inside a generic lambda requires to capture 'this'
Date: Fri, 22 Feb 2019 15:31: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.1.1
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-87685-4-wOFdtAmvjx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87685-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87685-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: 2019-02/txt/msg03089.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87685

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634793-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:39:59 2019
Return-Path: <gcc-bugs-return-634793-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103677 invoked by alias); 22 Feb 2019 15:31: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 122140 invoked by uid 48); 22 Feb 2019 15:23:10 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/78497] compiling with -save-temps adds -Wimplicit-fallthrough warnings
Date: Fri, 22 Feb 2019 15:31: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: 7.0
X-Bugzilla-Keywords: diagnostic, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-78497-4-zKRhlDIBYR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78497-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78497-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: 2019-02/txt/msg03088.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78497

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634795-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:40:07 2019
Return-Path: <gcc-bugs-return-634795-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112472 invoked by alias); 22 Feb 2019 15:31: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 124531 invoked by uid 48); 22 Feb 2019 15:23:18 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/84016] [8/9 Regression] Spec2000 regression around Jan 14 and Jan 19 2018
Date: Fri, 22 Feb 2019 15:31: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: 8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-84016-4-nIPR1NCSmS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84016-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84016-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: 2019-02/txt/msg03090.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84016

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634791-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:39:43 2019
Return-Path: <gcc-bugs-return-634791-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98793 invoked by alias); 22 Feb 2019 15:31: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 121177 invoked by uid 48); 22 Feb 2019 15:23:06 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/88730] [8 Regression] gcc generates wrong debug information at -Og
Date: Fri, 22 Feb 2019 15:31: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: 8.2.1
X-Bugzilla-Keywords: wrong-debug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-88730-4-jBB4imsJKZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88730-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88730-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: 2019-02/txt/msg03086.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88730

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634736-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:32:25 2019
Return-Path: <gcc-bugs-return-634736-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128068 invoked by alias); 22 Feb 2019 15:23:32 -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 74798 invoked by uid 48); 22 Feb 2019 15:21:00 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/85899] [8/9 Regression] ICE in find_fallthru_edge_from, at haifa-sched.c:8059
Date: Fri, 22 Feb 2019 15:31: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-85899-4-iwUMbJe5Y6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85899-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85899-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: 2019-02/txt/msg03087.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85899

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634800-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:40:21 2019
Return-Path: <gcc-bugs-return-634800-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124812 invoked by alias); 22 Feb 2019 15:32: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 128401 invoked by uid 48); 22 Feb 2019 15:23:33 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/79224] [7 Regression] Large C-Ray slowdown
Date: Fri, 22 Feb 2019 15: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: 7.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: aldyh at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-79224-4-T0g7O5uNWy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79224-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79224-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: 2019-02/txt/msg03094.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79224

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #24 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634801-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:40:24 2019
Return-Path: <gcc-bugs-return-634801-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2772 invoked by alias); 22 Feb 2019 15:32: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 129237 invoked by uid 48); 22 Feb 2019 15:23:36 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87750] [8/9 Regression] Failed compilation / parsing of template member call after 'using' declaration
Date: Fri, 22 Feb 2019 15:32: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: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-87750-4-ovjpmWERRQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87750-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87750-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: 2019-02/txt/msg03095.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87750

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634797-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:40:14 2019
Return-Path: <gcc-bugs-return-634797-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117652 invoked by alias); 22 Feb 2019 15:32:04 -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 125502 invoked by uid 48); 22 Feb 2019 15:23:22 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/83052] ICE in extract_insn, at recog.c:2305 with -mcmodel=large
Date: Fri, 22 Feb 2019 15: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-83052-4-SnkdbP0SLL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83052-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83052-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: 2019-02/txt/msg03092.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83052

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634802-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:40:26 2019
Return-Path: <gcc-bugs-return-634802-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5595 invoked by alias); 22 Feb 2019 15:32: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 129847 invoked by uid 48); 22 Feb 2019 15:23:38 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87768] [8 Regression] ICE in tsubst_copy_and_build, at cp/pt.c:19002 when using concepts
Date: Fri, 22 Feb 2019 15:32: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.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-87768-4-itOHS8nncR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87768-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87768-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: 2019-02/txt/msg03096.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87768

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634798-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:40:17 2019
Return-Path: <gcc-bugs-return-634798-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118653 invoked by alias); 22 Feb 2019 15:32: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 125885 invoked by uid 48); 22 Feb 2019 15:23:23 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87996] [8 Regression] "size of array is negative" error when SIZE_MAX/2 < sizeof(array) <= SIZE_MAX
Date: Fri, 22 Feb 2019 15:32: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: diagnostic, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-87996-4-Av0sjLYjjq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87996-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87996-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: 2019-02/txt/msg03093.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87996

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634804-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:40:29 2019
Return-Path: <gcc-bugs-return-634804-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11018 invoked by alias); 22 Feb 2019 15:33: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 768 invoked by uid 48); 22 Feb 2019 15:23:44 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/68860] [7/8/9 regression] FAIL: gcc.dg/guality/pr36728-1.c   -flto -O3 -g  line 17 arg1 == 1
Date: Fri, 22 Feb 2019 15:33:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords: lto
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-68860-4-cIox3CvUbE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68860-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68860-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: 2019-02/txt/msg03097.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68860

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #25 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634810-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:40:47 2019
Return-Path: <gcc-bugs-return-634810-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26653 invoked by alias); 22 Feb 2019 15:33: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 7552 invoked by uid 48); 22 Feb 2019 15:24:07 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86270] [8/9 Regression] Simple loop needs an extra register and an extra instruction
Date: Fri, 22 Feb 2019 15:33: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-86270-4-fsL1DnDTTx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86270-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86270-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: 2019-02/txt/msg03103.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86270

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634807-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:40:38 2019
Return-Path: <gcc-bugs-return-634807-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15226 invoked by alias); 22 Feb 2019 15:33:26 -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 2739 invoked by uid 48); 22 Feb 2019 15:23:51 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/85762] [8/9 Regression] range-v3 abstraction overhead not optimized away
Date: Fri, 22 Feb 2019 15:33: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-85762-4-CHQdweM3YU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85762-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85762-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: 2019-02/txt/msg03100.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85762

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634808-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:40:41 2019
Return-Path: <gcc-bugs-return-634808-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18823 invoked by alias); 22 Feb 2019 15:33: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 4249 invoked by uid 48); 22 Feb 2019 15:23:56 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/86899] [8/9 regression] TSAN incorrect warning: control reaches end of non-void function
Date: Fri, 22 Feb 2019 15:33: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: 9.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-86899-4-M5aojmbPgy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86899-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86899-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: 2019-02/txt/msg03101.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86899

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634809-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:40:44 2019
Return-Path: <gcc-bugs-return-634809-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20793 invoked by alias); 22 Feb 2019 15:33:43 -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 4789 invoked by uid 48); 22 Feb 2019 15:23:58 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/84481] [8/9 Regression] 429.mcf with -O2 regresses by ~6% and ~4%, depending on tuning, on Zen compared to GCC 7.2
Date: Fri, 22 Feb 2019 15:33: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.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-84481-4-t7vYtUp585@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84481-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84481-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: 2019-02/txt/msg03102.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84481

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634806-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:40:35 2019
Return-Path: <gcc-bugs-return-634806-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14351 invoked by alias); 22 Feb 2019 15:33: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 2526 invoked by uid 48); 22 Feb 2019 15:23:50 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86097] [8 Regression] ICE: verify_gimple failed (error: mismatching comparison operand types)
Date: Fri, 22 Feb 2019 15:33: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: ice-on-invalid-code, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-86097-4-USgIyWwN4N@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86097-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86097-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: 2019-02/txt/msg03099.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86097

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634805-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:40:32 2019
Return-Path: <gcc-bugs-return-634805-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13393 invoked by alias); 22 Feb 2019 15:33: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 1840 invoked by uid 48); 22 Feb 2019 15:23:47 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/80700] [7/8/9 Regression] ICE: Bus error (on SPE target)
Date: Fri, 22 Feb 2019 15:33: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.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-80700-4-x5WDAPySTG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80700-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80700-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: 2019-02/txt/msg03098.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80700

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634814-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:41:00 2019
Return-Path: <gcc-bugs-return-634814-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62118 invoked by alias); 22 Feb 2019 15:34:41 -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 78625 invoked by uid 48); 22 Feb 2019 15:25:25 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/88389] [8/9 Regression] -flto -g -gsplit-dwarf is broken
Date: Fri, 22 Feb 2019 15:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 8.2.1
X-Bugzilla-Keywords: lto, wrong-debug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-88389-4-ORlIy3DUK2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88389-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88389-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: 2019-02/txt/msg03107.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88389

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634803-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:40:28 2019
Return-Path: <gcc-bugs-return-634803-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7412 invoked by alias); 22 Feb 2019 15:33: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 130634 invoked by uid 48); 22 Feb 2019 15:23:41 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86524] [8 Regression] std::less with pointer arguments not usable in static_assert in constexpr function
Date: Fri, 22 Feb 2019 15:34: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.1.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-86524-4-yCPzuuSGub@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86524-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86524-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: 2019-02/txt/msg03110.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86524

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634811-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:40:50 2019
Return-Path: <gcc-bugs-return-634811-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39996 invoked by alias); 22 Feb 2019 15:34: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 86973 invoked by uid 48); 22 Feb 2019 15:24:48 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88872] [8 Regression] ICE with g++ 8.x in cp_build_addr_expr_1, at cp/typeck.c:5936
Date: Fri, 22 Feb 2019 15:34: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.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-88872-4-xXEYDHvEyy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88872-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88872-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: 2019-02/txt/msg03104.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88872

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634812-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:40:52 2019
Return-Path: <gcc-bugs-return-634812-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40657 invoked by alias); 22 Feb 2019 15:34: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 68981 invoked by uid 48); 22 Feb 2019 15:25:19 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug driver/83206] -mfpu=auto does not work on ARM (armv7l-unknown-linux-gnueabihf)
Date: Fri, 22 Feb 2019 15:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: driver
X-Bugzilla-Version: 7.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-83206-4-ypeEdH47EU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83206-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83206-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: 2019-02/txt/msg03105.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #26 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634815-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:41:03 2019
Return-Path: <gcc-bugs-return-634815-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64671 invoked by alias); 22 Feb 2019 15: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 86188 invoked by uid 48); 22 Feb 2019 15:25:28 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/88054] libsanitizer uses dlsym for versioned symbols of glibc (dlvsym should be used)
Date: Fri, 22 Feb 2019 15:34: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.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-88054-4-FA1WidlC3h@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88054-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88054-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: 2019-02/txt/msg03108.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88054

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634813-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:40:58 2019
Return-Path: <gcc-bugs-return-634813-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42658 invoked by alias); 22 Feb 2019 15:34: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 76753 invoked by uid 48); 22 Feb 2019 15:25:23 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/21161] [7/8/9 Regression] "clobbered by longjmp" warning ignores the data flow
Date: Fri, 22 Feb 2019 15:34: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.0.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: law at redhat dot com
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-21161-4-bLsrZC40bS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-21161-4@http.gcc.gnu.org/bugzilla/>
References: <bug-21161-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: 2019-02/txt/msg03106.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21161

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634816-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:41:06 2019
Return-Path: <gcc-bugs-return-634816-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66668 invoked by alias); 22 Feb 2019 15:34: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 87458 invoked by uid 48); 22 Feb 2019 15:25:29 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/78798] [cleanup] some int-valued functions should be bool
Date: Fri, 22 Feb 2019 15:34: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-78798-4-BpGfps4cvQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78798-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78798-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: 2019-02/txt/msg03109.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78798

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634819-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:41:14 2019
Return-Path: <gcc-bugs-return-634819-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86792 invoked by alias); 22 Feb 2019 15:35: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 104618 invoked by uid 48); 22 Feb 2019 15:25:36 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/81025] [8/9 Regression] gcc ICE while building glibc for MIPS soft-float multi-lib variant
Date: Fri, 22 Feb 2019 15: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: 8.0
X-Bugzilla-Keywords: ice-on-valid-code, wrong-debug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-81025-4-jKmvmInik9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81025-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81025-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: 2019-02/txt/msg03112.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81025

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634821-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:41:28 2019
Return-Path: <gcc-bugs-return-634821-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95567 invoked by alias); 22 Feb 2019 15:35: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 110036 invoked by uid 48); 22 Feb 2019 15:25:38 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/84964] [8/9 Regression] ICE in expand_call, at calls.c:4540
Date: Fri, 22 Feb 2019 15:35: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.0.1
X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: rsandifo at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-84964-4-ZpM1N4MD3A@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84964-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84964-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: 2019-02/txt/msg03114.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84964

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634822-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:41:40 2019
Return-Path: <gcc-bugs-return-634822-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102658 invoked by alias); 22 Feb 2019 15:35:52 -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 113552 invoked by uid 48); 22 Feb 2019 15:25:39 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/83043] [8/9 Regression] FAIL: libgomp.graphite/force-parallel-1.c scan-tree-dump-times graphite "2 loops carried no dependency" 1 (found 0 times)
Date: Fri, 22 Feb 2019 15:35: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-83043-4-RLnb5huVGX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83043-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83043-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: 2019-02/txt/msg03115.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83043

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634823-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:41:42 2019
Return-Path: <gcc-bugs-return-634823-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104887 invoked by alias); 22 Feb 2019 15:35:56 -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 116564 invoked by uid 48); 22 Feb 2019 15:25:40 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/87374] [8 Regression] ICE in extract_insn, at recog.c:2305
Date: Fri, 22 Feb 2019 15:35: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: thomas.preudhomme at celest dot fr
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-87374-4-4JoCPCDi97@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87374-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87374-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: 2019-02/txt/msg03116.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87374

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634787-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:39:31 2019
Return-Path: <gcc-bugs-return-634787-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26914 invoked by alias); 22 Feb 2019 15:29:56 -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 118809 invoked by uid 48); 22 Feb 2019 15:22:58 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/84487] [8/9 Regression] Large rodate section increase in 465.tonto with r254427
Date: Fri, 22 Feb 2019 15:35: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.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-84487-4-w9BUFVbbEN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84487-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84487-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: 2019-02/txt/msg03113.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84487

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634818-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:41:11 2019
Return-Path: <gcc-bugs-return-634818-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71167 invoked by alias); 22 Feb 2019 15:35:06 -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 99269 invoked by uid 48); 22 Feb 2019 15:25:34 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86468] [8/9 regression] ICE verify_gimple failed
Date: Fri, 22 Feb 2019 15:35: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-86468-4-9eRMtJd75i@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86468-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86468-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: 2019-02/txt/msg03111.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86468

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634829-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:42:00 2019
Return-Path: <gcc-bugs-return-634829-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122827 invoked by alias); 22 Feb 2019 15:36: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 84765 invoked by uid 48); 22 Feb 2019 15:26:12 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/81179] gcc.dg/vect/pr65947-9.c and gcc.dg/vect/pr65947-14.c fail starting with r249553
Date: Fri, 22 Feb 2019 15:36:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-81179-4-mQ3zHO5VR5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81179-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81179-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: 2019-02/txt/msg03122.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81179

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634826-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:41:51 2019
Return-Path: <gcc-bugs-return-634826-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111390 invoked by alias); 22 Feb 2019 15:36: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 119759 invoked by uid 48); 22 Feb 2019 15:25:46 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/77961] [Coarray] [OOP] Allocatable components in CLASS-typed coarrays unsupported.
Date: Fri, 22 Feb 2019 15: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.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-77961-4-B52GFSDx2H@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77961-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77961-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: 2019-02/txt/msg03119.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77961

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634830-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:42:14 2019
Return-Path: <gcc-bugs-return-634830-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124617 invoked by alias); 22 Feb 2019 15:36:43 -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 83811 invoked by uid 48); 22 Feb 2019 15:26:11 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/83705] [8/9 Regression] ICE/wrong code with large values of REPEAT after revision r256284
Date: Fri, 22 Feb 2019 15: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: 8.0
X-Bugzilla-Keywords: ice-on-valid-code, rejects-valid, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-83705-4-bis1VH5t1e@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83705-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83705-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: 2019-02/txt/msg03123.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83705

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634824-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:41:45 2019
Return-Path: <gcc-bugs-return-634824-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107024 invoked by alias); 22 Feb 2019 15:36: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 118434 invoked by uid 48); 22 Feb 2019 15:25:41 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/82962] valgrind reports "Conditional jump or move depends on uninitialised value" in EXECUTE_COMMAND_LINE
Date: Fri, 22 Feb 2019 15:36:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libfortran
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: documentation
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: janus at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-82962-4-7EZVIFprsL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82962-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82962-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: 2019-02/txt/msg03117.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82962

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634825-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:41:48 2019
Return-Path: <gcc-bugs-return-634825-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109440 invoked by alias); 22 Feb 2019 15:36: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 119265 invoked by uid 48); 22 Feb 2019 15:25:44 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/84342] Location views breaks cross builds of arm including gnueabihf
Date: Fri, 22 Feb 2019 15:36:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: build, wrong-debug
X-Bugzilla-Severity: major
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: aoliva at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-84342-4-8t90R72Wsn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84342-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84342-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: 2019-02/txt/msg03118.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84342

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634827-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:41:54 2019
Return-Path: <gcc-bugs-return-634827-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112888 invoked by alias); 22 Feb 2019 15:36: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 121504 invoked by uid 48); 22 Feb 2019 15:25:50 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88301] [8 Regression] Optimization regression with undefined unsigned overflow
Date: Fri, 22 Feb 2019 15:36: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-88301-4-WTmMoy1Wji@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88301-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88301-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: 2019-02/txt/msg03120.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88301

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634828-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:41:56 2019
Return-Path: <gcc-bugs-return-634828-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120211 invoked by alias); 22 Feb 2019 15: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 82470 invoked by uid 48); 22 Feb 2019 15:26:10 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/84922] fortran reports inconsistency in rank of arguments in interface and contained procedures
Date: Fri, 22 Feb 2019 15: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-84922-4-iE6oJ3eOBE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84922-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84922-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: 2019-02/txt/msg03121.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84922

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634831-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:42:28 2019
Return-Path: <gcc-bugs-return-634831-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127413 invoked by alias); 22 Feb 2019 15:36: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 85235 invoked by uid 48); 22 Feb 2019 15:26:14 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89413] [PDT] ICE in resolve_fl_derived, at fortran/resolve.c:14392
Date: Fri, 22 Feb 2019 15: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: 9.0
X-Bugzilla-Keywords: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-89413-4-hbQkMsJ0y8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89413-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89413-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: 2019-02/txt/msg03124.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89413

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634799-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:40:20 2019
Return-Path: <gcc-bugs-return-634799-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119290 invoked by alias); 22 Feb 2019 15:32: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 126269 invoked by uid 48); 22 Feb 2019 15:23:25 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/19706] Recognize common Fortran usages of copysign.
Date: Fri, 22 Feb 2019 15:37: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.0.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: tnfchris at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-19706-4-X45u6ow8Cg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-19706-4@http.gcc.gnu.org/bugzilla/>
References: <bug-19706-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: 2019-02/txt/msg03140.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19706

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634834-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:42:38 2019
Return-Path: <gcc-bugs-return-634834-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17526 invoked by alias); 22 Feb 2019 15: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 86686 invoked by uid 48); 22 Feb 2019 15:26:18 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/85860] [8/9 Regression] ICE: in lra_split_hard_reg_for, at lra-assigns.c:1810: unable to find a register to spill with -flive-range-shrinkage -mbmi2
Date: Fri, 22 Feb 2019 15:37: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, ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-85860-4-hyxNDgItc0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85860-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85860-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: 2019-02/txt/msg03127.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85860

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634792-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:39:48 2019
Return-Path: <gcc-bugs-return-634792-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100809 invoked by alias); 22 Feb 2019 15:31: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 121536 invoked by uid 48); 22 Feb 2019 15:23:08 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/78009] [OOP] polymorphic component of derived type array slice handling error
Date: Fri, 22 Feb 2019 15:37: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: 6.2.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-78009-4-qvcyYGSWVS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78009-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78009-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: 2019-02/txt/msg03139.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78009

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634836-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:42:43 2019
Return-Path: <gcc-bugs-return-634836-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21488 invoked by alias); 22 Feb 2019 15:37: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 87733 invoked by uid 48); 22 Feb 2019 15:26:21 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/82006] [8/9 Regression] ERROR: torture-init: torture_without_loops is not empty as expected
Date: Fri, 22 Feb 2019 15:37:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-82006-4-mofH5fdFOo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82006-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82006-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: 2019-02/txt/msg03129.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82006

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634832-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:42:32 2019
Return-Path: <gcc-bugs-return-634832-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11785 invoked by alias); 22 Feb 2019 15:37: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 85761 invoked by uid 48); 22 Feb 2019 15:26:16 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/87589] [8/9 regression] index0-out.go FAILs
Date: Fri, 22 Feb 2019 15:37: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-87589-4-bLHDOeNocf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87589-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87589-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: 2019-02/txt/msg03125.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87589

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634796-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:40:11 2019
Return-Path: <gcc-bugs-return-634796-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116893 invoked by alias); 22 Feb 2019 15:32: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 124959 invoked by uid 48); 22 Feb 2019 15:23:20 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/85563] [8/9 regression] -Wmaybe-uninitialized false alarm regression with __builtin_unreachable and GCC 8
Date: Fri, 22 Feb 2019 15:37: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: 8.0.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-85563-4-Mq9O4sFJx3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85563-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85563-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: 2019-02/txt/msg03136.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85563

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634785-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:39:25 2019
Return-Path: <gcc-bugs-return-634785-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23067 invoked by alias); 22 Feb 2019 15:29: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 116131 invoked by uid 48); 22 Feb 2019 15:22:49 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87651] [8 Regression] inner class with template template friend declaration of same name fails to compile in gcc 8.1, 8.2, and 9.0
Date: Fri, 22 Feb 2019 15:37: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: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-87651-4-3yJ07wO39i@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87651-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87651-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: 2019-02/txt/msg03137.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87651

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634833-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:42:35 2019
Return-Path: <gcc-bugs-return-634833-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14465 invoked by alias); 22 Feb 2019 15:37: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 86355 invoked by uid 48); 22 Feb 2019 15:26:18 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89102] 'common_type' of single abominable function should not have a nested typename
Date: Fri, 22 Feb 2019 15:37:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.2.0
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-89102-4-nDrmnWAMVJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89102-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89102-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: 2019-02/txt/msg03126.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89102

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634839-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:42:53 2019
Return-Path: <gcc-bugs-return-634839-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26751 invoked by alias); 22 Feb 2019 15:37: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 88867 invoked by uid 48); 22 Feb 2019 15:26:25 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88394] [8 Regression] g++ ICE (Segmentation fault) in insert_capture_proxy
Date: Fri, 22 Feb 2019 15:37: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.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-88394-4-7LkRdAXYKo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88394-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88394-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: 2019-02/txt/msg03132.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88394

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634817-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:41:08 2019
Return-Path: <gcc-bugs-return-634817-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67895 invoked by alias); 22 Feb 2019 15:34:56 -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 95281 invoked by uid 48); 22 Feb 2019 15:25:33 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/80155] [7/8/9 regression] Performance regression with code hoisting enabled
Date: Fri, 22 Feb 2019 15:37: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: 7.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-80155-4-H9gOfxeEOi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80155-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80155-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: 2019-02/txt/msg03141.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80155

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #45 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634835-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:42:40 2019
Return-Path: <gcc-bugs-return-634835-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19163 invoked by alias); 22 Feb 2019 15:37: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 87065 invoked by uid 48); 22 Feb 2019 15:26:20 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87851] [8/9 Regression] Wrong return type for len_trim
Date: Fri, 22 Feb 2019 15:37: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-87851-4-ZM5k0jfo87@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87851-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87851-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: 2019-02/txt/msg03128.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87851

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634841-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:42:58 2019
Return-Path: <gcc-bugs-return-634841-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28500 invoked by alias); 22 Feb 2019 15:37: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 89506 invoked by uid 48); 22 Feb 2019 15:26:28 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89212] [8 Regression] ICE in fold_convert_loc at fold-const.c:2552
Date: Fri, 22 Feb 2019 15:37: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, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-89212-4-K3XkCJvFIS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89212-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89212-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: 2019-02/txt/msg03134.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89212

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634820-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:41:18 2019
Return-Path: <gcc-bugs-return-634820-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91080 invoked by alias); 22 Feb 2019 15: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 106888 invoked by uid 48); 22 Feb 2019 15:25:37 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/84345] [8/9 Regression] ICE: qsort checking failed (error: qsort comparator non-negative on sorted output: 1)
Date: Fri, 22 Feb 2019 15: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: 8.0
X-Bugzilla-Keywords: ice-checking, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-84345-4-C0y1bBTdas@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84345-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84345-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: 2019-02/txt/msg03143.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84345

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634837-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:42:46 2019
Return-Path: <gcc-bugs-return-634837-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22837 invoked by alias); 22 Feb 2019 15:37: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 88058 invoked by uid 48); 22 Feb 2019 15:26:23 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/80291] [OOP] ICE in gfc_conv_expr_descriptor, at fortran/trans-array.c:6662
Date: Fri, 22 Feb 2019 15:37: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: 5.4.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-80291-4-yHGNA3RCig@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80291-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80291-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: 2019-02/txt/msg03130.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80291

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634840-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:42:56 2019
Return-Path: <gcc-bugs-return-634840-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27001 invoked by alias); 22 Feb 2019 15:37: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 89222 invoked by uid 48); 22 Feb 2019 15:26:27 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/84974] [8 Regression] ICE: Segmentation fault (ovl_first()/location_of())
Date: Fri, 22 Feb 2019 15:37: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.0.1
X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-84974-4-C3qjqUG9W9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84974-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84974-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: 2019-02/txt/msg03133.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84974

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634763-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:37:55 2019
Return-Path: <gcc-bugs-return-634763-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94021 invoked by alias); 22 Feb 2019 15:26:41 -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 101809 invoked by uid 48); 22 Feb 2019 15:21:56 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86567] [8/9 Regression] -Wnonnull/-Wformat/-Wrestrict affect code generation
Date: Fri, 22 Feb 2019 15:37: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.1.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-86567-4-owzsOeFfvf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86567-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86567-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: 2019-02/txt/msg03142.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86567

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634759-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:36:51 2019
Return-Path: <gcc-bugs-return-634759-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85537 invoked by alias); 22 Feb 2019 15:26: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 98556 invoked by uid 48); 22 Feb 2019 15:21:44 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82446] [8/9 Regression] Missed equalities in dr_group_sort_cmp
Date: Fri, 22 Feb 2019 15:37: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-82446-4-Cbp9FKzptW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82446-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82446-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: 2019-02/txt/msg03138.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82446

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634754-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:36:03 2019
Return-Path: <gcc-bugs-return-634754-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119286 invoked by alias); 22 Feb 2019 15:25:44 -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 95719 invoked by uid 48); 22 Feb 2019 15:21:34 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88752] [8 Regression] ICE in enclosing_instantiation_of, at cp/pt.c:13328
Date: Fri, 22 Feb 2019 15:37: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-88752-4-cnyQmXWiSE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88752-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88752-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: 2019-02/txt/msg03135.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88752

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634838-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:42:50 2019
Return-Path: <gcc-bugs-return-634838-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23135 invoked by alias); 22 Feb 2019 15:37:36 -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 88380 invoked by uid 48); 22 Feb 2019 15:26:24 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/66366] [OOP] ICE on invalid with non-allocatable CLASS variable
Date: Fri, 22 Feb 2019 15:37: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: 6.0
X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-66366-4-gc4Qrngepp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66366-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66366-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: 2019-02/txt/msg03131.txt.bz2
Content-length: 383

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66366

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.3                         |8.4

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8.3 has been released.
>From gcc-bugs-return-634843-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:54:47 2019
Return-Path: <gcc-bugs-return-634843-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103388 invoked by alias); 22 Feb 2019 15:54:46 -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 103007 invoked by uid 55); 22 Feb 2019 15:54:41 -0000
From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/87007] [8/9 Regression] 10% slowdown with -march=skylake-avx512
Date: Fri, 22 Feb 2019 15: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: hjl.tools at gmail dot com
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87007-4-XPvWWcth45@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87007-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87007-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: 2019-02/txt/msg03145.txt.bz2
Content-length: 5523

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87007

--- Comment #7 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Fri Feb 22 15:54:08 2019
New Revision: 269119

URL: https://gcc.gnu.org/viewcvs?rev=269119&root=gcc&view=rev
Log:
i386: Add pass_remove_partial_avx_dependency

With -mavx, for

$ cat foo.i
extern float f;
extern double d;
extern int i;

void
foo (void)
{
  d = f;
  f = i;
}

we need to generate

        vxorp[ds]       %xmmN, %xmmN, %xmmN
        ...
        vcvtss2sd       f(%rip), %xmmN, %xmmX
        ...
        vcvtsi2ss       i(%rip), %xmmN, %xmmY

to avoid partial XMM register stall.  This patch adds a pass to generate
a single

        vxorps          %xmmN, %xmmN, %xmmN

at entry of the nearest dominator for basic blocks with SF/DF conversions,
which is in the fake loop that contains the whole function, instead of
generating one

        vxorp[ds]       %xmmN, %xmmN, %xmmN

for each SF/DF conversion.

NB: The LCM algorithm isn't appropriate here since it may place a vxorps
inside the loop.  Simple testcase show this:

$ cat badcase.c

extern float f;
extern double d;

void
foo (int n, int k)
{
  for (int j = 0; j != n; j++)
    if (j < k)
      d = f;
}

It generates

    ...
    loop:
      if(j < k)
        vxorps    %xmm0, %xmm0, %xmm0
        vcvtss2sd f(%rip), %xmm0, %xmm0
      ...
    loopend
    ...

This is because LCM only works when there is a certain benifit.  But for
conditional branch, LCM wouldn't move

   vxorps  %xmm0, %xmm0, %xmm0

out of loop.  SPEC CPU 2017 on Intel Xeon with AVX512 shows:

1. The nearest dominator

|RATE                   |Improvement|
|500.perlbench_r        | 0.55% |
|538.imagick_r          | 8.43% |
|544.nab_r              | 0.71% |

2. LCM

|RATE                   |Improvement|
|500.perlbench_r        | -0.76% |
|538.imagick_r          | 7.96%  |
|544.nab_r              | -0.13% |

Performance impacts of SPEC CPU 2017 rate on Intel Xeon with AVX512
using

-Ofast -flto -march=skylake-avx512 -funroll-loops

before

commit e739972ad6ad05e32a1dd5c29c0b950a4c4bd576
Author: uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Thu Jan 31 20:06:42 2019 +0000

            PR target/89071
            * config/i386/i386.md (*extendsfdf2): Split out reg->reg
            alternative to avoid partial SSE register stall for TARGET_AVX.
            (truncdfsf2): Ditto.
            (sse4_1_round<mode>2): Ditto.

    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@268427
138bc75d-0d04-0410-961f-82ee72b054a4

are:

|INT RATE               |Improvement|
|500.perlbench_r        | 0.55% |
|502.gcc_r              | 0.14% |
|505.mcf_r              | 0.08% |
|523.xalancbmk_r        | 0.18% |
|525.x264_r             |-0.49% |
|531.deepsjeng_r        |-0.04% |
|541.leela_r            |-0.26% |
|548.exchange2_r        |-0.3%  |
|557.xz_r               |BuildSame|

|FP RATE                |Improvement|
|503.bwaves_r           |-0.29% |
|507.cactuBSSN_r        | 0.04% |
|508.namd_r             |-0.74% |
|510.parest_r           |-0.01% |
|511.povray_r           | 2.23% |
|519.lbm_r              | 0.1%  |
|521.wrf_r              | 0.49% |
|526.blender_r          | 0.13% |
|527.cam4_r             | 0.65% |
|538.imagick_r          | 8.43% |
|544.nab_r              | 0.71% |
|549.fotonik3d_r        | 0.15% |
|554.roms_r             | 0.08% |

After commit e739972ad6ad05e32a1dd5c29c0b950a4c4bd576, on Skylake client,
impacts on 538.imagick_r with

-fno-unsafe-math-optimizations -march=native -Ofast -funroll-loops -flto

1. Size comparision:

before:

   text    data     bss     dec     hex filename
2436377    8352    4528 2449257  255f69 imagick_r

after:

   text    data     bss     dec     hex filename
2425249    8352    4528 2438129  2533f1 imagick_r

2. Number of vxorps:

before          after           difference
4948            4135            -19.66%

3. Performance improvement:

|RATE                   |Improvement|
|538.imagick_r          | 5.5%  |

gcc/

2019-02-22  H.J. Lu  <hongjiu.lu@intel.com>
            Hongtao Liu  <hongtao.liu@intel.com>
            Sunil K Pandey  <sunil.k.pandey@intel.com>

        PR target/87007
        * config/i386/i386-passes.def: Add
        pass_remove_partial_avx_dependency.
        * config/i386/i386-protos.h
        (make_pass_remove_partial_avx_dependency): New.
        * config/i386/i386.c (make_pass_remove_partial_avx_dependency):
        New function.
        (pass_data_remove_partial_avx_dependency): New.
        (pass_remove_partial_avx_dependency): Likewise.
        (make_pass_remove_partial_avx_dependency): Likewise.
        * config/i386/i386.md (avx_partial_xmm_update): New attribute.
        (*extendsfdf2): Add avx_partial_xmm_update.
        (truncdfsf2): Likewise.
        (*float<SWI48:mode><MODEF:mode>2): Likewise.
        (SF/DF conversion splitters): Disabled for TARGET_AVX.

gcc/testsuite/

2019-02-22  H.J. Lu  <hongjiu.lu@intel.com>
            Hongtao Liu  <hongtao.liu@intel.com>
            Sunil K Pandey  <sunil.k.pandey@intel.com>

        PR target/87007
        * gcc.target/i386/pr87007-1.c: New test.
        * gcc.target/i386/pr87007-2.c: Likewise.

Added:
    trunk/gcc/testsuite/gcc.target/i386/pr87007-1.c
    trunk/gcc/testsuite/gcc.target/i386/pr87007-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386-passes.def
    trunk/gcc/config/i386/i386-protos.h
    trunk/gcc/config/i386/i386.c
    trunk/gcc/config/i386/i386.md
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634842-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 15:54:47 2019
Return-Path: <gcc-bugs-return-634842-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103375 invoked by alias); 22 Feb 2019 15:54:46 -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 103009 invoked by uid 55); 22 Feb 2019 15:54:41 -0000
From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89071] AVX vcvtsd2ss lets us avoid PXOR dependency breaking for scalar float<->double and other scalar xmm,xmm instructions
Date: Fri, 22 Feb 2019 15: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ubizjak at gmail dot com
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89071-4-cTCB6JFk0e@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89071-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89071-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: 2019-02/txt/msg03144.txt.bz2
Content-length: 5524

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89071

--- Comment #21 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Fri Feb 22 15:54:08 2019
New Revision: 269119

URL: https://gcc.gnu.org/viewcvs?rev=269119&root=gcc&view=rev
Log:
i386: Add pass_remove_partial_avx_dependency

With -mavx, for

$ cat foo.i
extern float f;
extern double d;
extern int i;

void
foo (void)
{
  d = f;
  f = i;
}

we need to generate

        vxorp[ds]       %xmmN, %xmmN, %xmmN
        ...
        vcvtss2sd       f(%rip), %xmmN, %xmmX
        ...
        vcvtsi2ss       i(%rip), %xmmN, %xmmY

to avoid partial XMM register stall.  This patch adds a pass to generate
a single

        vxorps          %xmmN, %xmmN, %xmmN

at entry of the nearest dominator for basic blocks with SF/DF conversions,
which is in the fake loop that contains the whole function, instead of
generating one

        vxorp[ds]       %xmmN, %xmmN, %xmmN

for each SF/DF conversion.

NB: The LCM algorithm isn't appropriate here since it may place a vxorps
inside the loop.  Simple testcase show this:

$ cat badcase.c

extern float f;
extern double d;

void
foo (int n, int k)
{
  for (int j = 0; j != n; j++)
    if (j < k)
      d = f;
}

It generates

    ...
    loop:
      if(j < k)
        vxorps    %xmm0, %xmm0, %xmm0
        vcvtss2sd f(%rip), %xmm0, %xmm0
      ...
    loopend
    ...

This is because LCM only works when there is a certain benifit.  But for
conditional branch, LCM wouldn't move

   vxorps  %xmm0, %xmm0, %xmm0

out of loop.  SPEC CPU 2017 on Intel Xeon with AVX512 shows:

1. The nearest dominator

|RATE                   |Improvement|
|500.perlbench_r        | 0.55% |
|538.imagick_r          | 8.43% |
|544.nab_r              | 0.71% |

2. LCM

|RATE                   |Improvement|
|500.perlbench_r        | -0.76% |
|538.imagick_r          | 7.96%  |
|544.nab_r              | -0.13% |

Performance impacts of SPEC CPU 2017 rate on Intel Xeon with AVX512
using

-Ofast -flto -march=skylake-avx512 -funroll-loops

before

commit e739972ad6ad05e32a1dd5c29c0b950a4c4bd576
Author: uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Thu Jan 31 20:06:42 2019 +0000

            PR target/89071
            * config/i386/i386.md (*extendsfdf2): Split out reg->reg
            alternative to avoid partial SSE register stall for TARGET_AVX.
            (truncdfsf2): Ditto.
            (sse4_1_round<mode>2): Ditto.

    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@268427
138bc75d-0d04-0410-961f-82ee72b054a4

are:

|INT RATE               |Improvement|
|500.perlbench_r        | 0.55% |
|502.gcc_r              | 0.14% |
|505.mcf_r              | 0.08% |
|523.xalancbmk_r        | 0.18% |
|525.x264_r             |-0.49% |
|531.deepsjeng_r        |-0.04% |
|541.leela_r            |-0.26% |
|548.exchange2_r        |-0.3%  |
|557.xz_r               |BuildSame|

|FP RATE                |Improvement|
|503.bwaves_r           |-0.29% |
|507.cactuBSSN_r        | 0.04% |
|508.namd_r             |-0.74% |
|510.parest_r           |-0.01% |
|511.povray_r           | 2.23% |
|519.lbm_r              | 0.1%  |
|521.wrf_r              | 0.49% |
|526.blender_r          | 0.13% |
|527.cam4_r             | 0.65% |
|538.imagick_r          | 8.43% |
|544.nab_r              | 0.71% |
|549.fotonik3d_r        | 0.15% |
|554.roms_r             | 0.08% |

After commit e739972ad6ad05e32a1dd5c29c0b950a4c4bd576, on Skylake client,
impacts on 538.imagick_r with

-fno-unsafe-math-optimizations -march=native -Ofast -funroll-loops -flto

1. Size comparision:

before:

   text    data     bss     dec     hex filename
2436377    8352    4528 2449257  255f69 imagick_r

after:

   text    data     bss     dec     hex filename
2425249    8352    4528 2438129  2533f1 imagick_r

2. Number of vxorps:

before          after           difference
4948            4135            -19.66%

3. Performance improvement:

|RATE                   |Improvement|
|538.imagick_r          | 5.5%  |

gcc/

2019-02-22  H.J. Lu  <hongjiu.lu@intel.com>
            Hongtao Liu  <hongtao.liu@intel.com>
            Sunil K Pandey  <sunil.k.pandey@intel.com>

        PR target/87007
        * config/i386/i386-passes.def: Add
        pass_remove_partial_avx_dependency.
        * config/i386/i386-protos.h
        (make_pass_remove_partial_avx_dependency): New.
        * config/i386/i386.c (make_pass_remove_partial_avx_dependency):
        New function.
        (pass_data_remove_partial_avx_dependency): New.
        (pass_remove_partial_avx_dependency): Likewise.
        (make_pass_remove_partial_avx_dependency): Likewise.
        * config/i386/i386.md (avx_partial_xmm_update): New attribute.
        (*extendsfdf2): Add avx_partial_xmm_update.
        (truncdfsf2): Likewise.
        (*float<SWI48:mode><MODEF:mode>2): Likewise.
        (SF/DF conversion splitters): Disabled for TARGET_AVX.

gcc/testsuite/

2019-02-22  H.J. Lu  <hongjiu.lu@intel.com>
            Hongtao Liu  <hongtao.liu@intel.com>
            Sunil K Pandey  <sunil.k.pandey@intel.com>

        PR target/87007
        * gcc.target/i386/pr87007-1.c: New test.
        * gcc.target/i386/pr87007-2.c: Likewise.

Added:
    trunk/gcc/testsuite/gcc.target/i386/pr87007-1.c
    trunk/gcc/testsuite/gcc.target/i386/pr87007-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386-passes.def
    trunk/gcc/config/i386/i386-protos.h
    trunk/gcc/config/i386/i386.c
    trunk/gcc/config/i386/i386.md
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634844-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 16:03:42 2019
Return-Path: <gcc-bugs-return-634844-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22462 invoked by alias); 22 Feb 2019 16:03: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 22367 invoked by uid 55); 22 Feb 2019 16:03:38 -0000
From: "sgk at troutmask dot apl.washington.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89431] CPP integer macros not defined
Date: Fri, 22 Feb 2019 16:03: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:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89431-4-DwxjNTjuqg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89431-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89431-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: 2019-02/txt/msg03146.txt.bz2
Content-length: 747

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89431

--- Comment #8 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Fri, Feb 22, 2019 at 08:33:25AM +0000, mark.eggleston at codethink dot com
wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89431
> 
> --- Comment #7 from MarkEggleston <mark.eggleston at codethink dot com> ---
> The only reason this PR was raised was because an attempt to use conditional
> compilation based on integer kinds failed because the implementation did not
> match the documentation.
> 
> There is no issue with the existence of __GFC_REAL_10_ and __GFC_REAL_16_.
> 

Just looks at the documentation.  Yep, it's wrong.
I'll fix it shortly.  An yes, I prefer INT to 
INTEGER.
>From gcc-bugs-return-634845-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 16:13:25 2019
Return-Path: <gcc-bugs-return-634845-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87912 invoked by alias); 22 Feb 2019 16:13: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 83111 invoked by uid 48); 22 Feb 2019 16:13:20 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/87007] [8 Regression] 10% slowdown with -march=skylake-avx512
Date: Fri, 22 Feb 2019 16: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: hjl.tools at gmail dot com
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-87007-4-qAUpZq3ZQB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87007-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87007-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: 2019-02/txt/msg03147.txt.bz2
Content-length: 527

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87007

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[8/9 Regression] 10%        |[8 Regression] 10% slowdown
                   |slowdown with               |with -march=skylake-avx512
                   |-march=skylake-avx512       |

--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed on trunk so far.
>From gcc-bugs-return-634847-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 16:19:17 2019
Return-Path: <gcc-bugs-return-634847-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80107 invoked by alias); 22 Feb 2019 16:19: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 79471 invoked by uid 48); 22 Feb 2019 16:19:09 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89229] Incorrect xmm16-xmm31/ymm16-ymm31 in vector move
Date: Fri, 22 Feb 2019 16:19: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89229-4-VEUwxBwyoz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89229-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89229-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: 2019-02/txt/msg03149.txt.bz2
Content-length: 428

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89229

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kretz at kde dot org

--- Comment #22 from H.J. Lu <hjl.tools at gmail dot com> ---
*** Bug 86896 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-634846-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 16:19:17 2019
Return-Path: <gcc-bugs-return-634846-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79654 invoked by alias); 22 Feb 2019 16:19: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 79343 invoked by uid 48); 22 Feb 2019 16:19:09 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86896] invalid vmovdqa64 instruction for KNL emitted
Date: Fri, 22 Feb 2019 16:19: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-86896-4-6knOMyTrYF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86896-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86896-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: 2019-02/txt/msg03148.txt.bz2
Content-length: 478

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86896

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> ---
Dup

*** This bug has been marked as a duplicate of bug 89229 ***
>From gcc-bugs-return-634848-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 16:24:52 2019
Return-Path: <gcc-bugs-return-634848-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115102 invoked by alias); 22 Feb 2019 16:24: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 114068 invoked by uid 48); 22 Feb 2019 16:24:36 -0000
From: "qrzhang at gatech dot edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/89454] New: gcc generates wrong debug information at -Og
Date: Fri, 22 Feb 2019 16:24:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: qrzhang at gatech dot edu
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-89454-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: 2019-02/txt/msg03150.txt.bz2
Content-length: 1678

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89454

            Bug ID: 89454
           Summary: gcc generates wrong debug information at -Og
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: qrzhang at gatech dot edu
  Target Milestone: ---

It bug affects the latest trunk.
It also affects gcc-8 to gcc-4.8.

With "-Og", it incorrectly prints "l=0".


$ gcc-trunk -v
Using built-in specs.
COLLECT_GCC=gcc-trunk
COLLECT_LTO_WRAPPER=/home/absozero/trunk/root-gcc/libexec/gcc/x86_64-pc-linux-gnu/9.0.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc/configure --prefix=/home/absozero/trunk/root-gcc
--enable-languages=c,c++ --disable-werror --enable-multilib
Thread model: posix
gcc version 9.0.1 20190222 (experimental) [trunk revision 269113] (GCC)


$ cat abc.c
int a;
int main() {
  char l = 0;
  if (a)
    ;
  else
    l = 10 || 0;
  optimize_me_not();
}

$ cat cmds
b 8
r
p l
kill
q

$ cat outer.c
optimize_me_not() {}


$ gcc-trunk -g  abc.c outer.c
$ gdb -x cmds -batch a.out
Breakpoint 1 at 0x40049c: file abc.c, line 8.

Breakpoint 1, main () at abc.c:8
8         optimize_me_not();
$1 = 1 '\001'
Kill the program being debugged? (y or n) [answered Y; input not from terminal]




$ gcc-trunk -g  abc.c outer.c -Og
$ gdb -x cmds -batch a.out
Breakpoint 1 at 0x400486: file abc.c, line 8.

Breakpoint 1, main () at abc.c:8
8         optimize_me_not();
$1 = 0 '\000'
Kill the program being debugged? (y or n) [answered Y; input not from terminal]
>From gcc-bugs-return-634849-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 16:25:19 2019
Return-Path: <gcc-bugs-return-634849-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126224 invoked by alias); 22 Feb 2019 16:25:18 -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 125162 invoked by uid 55); 22 Feb 2019 16:25:11 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89425] [9 Regression] -Wabsolute-value warns in dead subexpressions
Date: Fri, 22 Feb 2019 16: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: 9.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89425-4-lQkkcmqVjC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89425-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89425-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: 2019-02/txt/msg03151.txt.bz2
Content-length: 710

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89425

--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
Author: msebor
Date: Fri Feb 22 16:24:36 2019
New Revision: 269121

URL: https://gcc.gnu.org/viewcvs?rev=269121&root=gcc&view=rev
Log:
PR c/89425 - -Wabsolute-value warns in dead subexpressions

gcc/c/ChangeLog:

        PR c/89425
        * c-parser.c (sizeof_ptr_memacc_comptypes): Avoid warning in
        unreachable subexpressions.

gcc/testsuite/ChangeLog:

        PR c/89425
        * gcc.dg/Wabsolute-value.c: New test. 


Added:
    trunk/gcc/testsuite/gcc.dg/Wabsolute-value.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c/c-parser.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634850-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 16:26:08 2019
Return-Path: <gcc-bugs-return-634850-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29981 invoked by alias); 22 Feb 2019 16:26: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 29311 invoked by uid 48); 22 Feb 2019 16:25:59 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89425] [9 Regression] -Wabsolute-value warns in dead subexpressions
Date: Fri, 22 Feb 2019 16:26: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: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-89425-4-ixPszF8nWp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89425-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89425-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: 2019-02/txt/msg03152.txt.bz2
Content-length: 488

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89425

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |9.0

--- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> ---
Fixed via r269121.
>From gcc-bugs-return-634851-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 16:28:27 2019
Return-Path: <gcc-bugs-return-634851-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42815 invoked by alias); 22 Feb 2019 16:28: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 42656 invoked by uid 48); 22 Feb 2019 16:28:23 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89229] Incorrect xmm16-xmm31/ymm16-ymm31 in vector move
Date: Fri, 22 Feb 2019 16:28: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89229-4-qGQdn1VVTM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89229-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89229-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: 2019-02/txt/msg03153.txt.bz2
Content-length: 195

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89229

--- Comment #23 from H.J. Lu <hjl.tools at gmail dot com> ---
A patch is posted at

https://gcc.gnu.org/ml/gcc-patches/2019-02/msg01841.html
>From gcc-bugs-return-634852-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 16:29:12 2019
Return-Path: <gcc-bugs-return-634852-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46704 invoked by alias); 22 Feb 2019 16: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 45880 invoked by uid 48); 22 Feb 2019 16:29:03 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89229] Incorrect xmm16-xmm31/ymm16-ymm31 in vector move
Date: Fri, 22 Feb 2019 16:29: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.isobsolete
Message-ID: <bug-89229-4-J523nsYKpP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89229-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89229-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: 2019-02/txt/msg03154.txt.bz2
Content-length: 42487

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89229

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45707|0                           |1
        is obsolete|                            |

--- Comment #24 from H.J. Lu <hjl.tools at gmail dot com> ---
Comment on attachment 45707
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45707
A new patch

>From fd7220a7551ee774614ca89574241813aae153b7 Mon Sep 17 00:00:00 2001
>From: "H.J. Lu" <hjl.tools@gmail.com>
>Date: Tue, 12 Feb 2019 13:25:41 -0800
>Subject: [PATCH] i386: Properly encode xmm16-xmm31/ymm16-ymm31 for vector move
>
>i386 backend has
>
>INT_MODE (OI, 32);
>INT_MODE (XI, 64);
>
>So, XI_MODE represents 64 INTEGER bytes = 64 * 8 = 512 bit operation,
>in case of const_1, all 512 bits set.
>
>We can load zeros with narrower instruction, (e.g. 256 bit by inherent
>zeroing of highpart in case of 128 bit xor), so TImode in this case.
>
>Some targets prefer V4SF mode, so they will emit float xorps for zeroing.
>
>sse.md has
>
>(define_insn "mov<mode>_internal"
>  [(set (match_operand:VMOVE 0 "nonimmediate_operand"
>         "=v,v ,v ,m")
>        (match_operand:VMOVE 1 "nonimmediate_or_sse_const_operand"
>         " C,BC,vm,v"))]
>....
>      /* There is no evex-encoded vmov* for sizes smaller than 64-bytes
>         in avx512f, so we need to use workarounds, to access sse registers
>         16-31, which are evex-only. In avx512vl we don't need workarounds.  */
>      if (TARGET_AVX512F && <MODE_SIZE> < 64 && !TARGET_AVX512VL
>          && (EXT_REX_SSE_REG_P (operands[0])
>              || EXT_REX_SSE_REG_P (operands[1])))
>        {
>          if (memory_operand (operands[0], <MODE>mode))
>            {
>              if (<MODE_SIZE> == 32)
>                return "vextract<shuffletype>64x4\t{$0x0, %g1, %0|%0, %g1, 0x0}";
>              else if (<MODE_SIZE> == 16)
>                return "vextract<shuffletype>32x4\t{$0x0, %g1, %0|%0, %g1, 0x0}";
>              else
>                gcc_unreachable ();
>            }
>...
>
>However, since ix86_hard_regno_mode_ok has
>
>     /* TODO check for QI/HI scalars.  */
>      /* AVX512VL allows sse regs16+ for 128/256 bit modes.  */
>      if (TARGET_AVX512VL
>          && (mode == OImode
>              || mode == TImode
>              || VALID_AVX256_REG_MODE (mode)
>              || VALID_AVX512VL_128_REG_MODE (mode)))
>        return true;
>
>      /* xmm16-xmm31 are only available for AVX-512.  */
>      if (EXT_REX_SSE_REGNO_P (regno))
>        return false;
>
>      if (TARGET_AVX512F && <MODE_SIZE> < 64 && !TARGET_AVX512VL
>          && (EXT_REX_SSE_REG_P (operands[0])
>              || EXT_REX_SSE_REG_P (operands[1])))
>
>is a dead code.
>
>All TYPE_SSEMOV vector moves are consolidated to ix86_output_ssemov:
>
>1. If xmm16-xmm31/ymm16-ymm31 registers aren't used, SSE/AVX vector
>moves will be generated.
>2. If xmm16-xmm31/ymm16-ymm31 registers are used:
>   a. With AVX512VL, AVX512VL vector moves will be generated.
>   b. Without AVX512VL, xmm16-xmm31/ymm16-ymm31 register to register
>      move will be done with zmm register move.
>
>ext_sse_reg_operand is removed since it is no longer needed.
>
>gcc/
>
>	PR target/89229
>	* config/i386/i386-protos.h (ix86_output_ssemov): New prototype.
>	* config/i386/i386.c (ix86_get_ssemov): New function.
>	(ix86_output_ssemov): Likewise.
>	* config/i386/i386.md (*movxi_internal_avx512f): Call
>	ix86_output_ssemov for TYPE_SSEMOV.
>	(*movoi_internal_avx): Call ix86_output_ssemov for TYPE_SSEMOV.
>	Remove ext_sse_reg_operand and TARGET_AVX512VL check.
>	(*movti_internal): Likewise.
>	(*movdi_internal): Call ix86_output_ssemov for TYPE_SSEMOV.
>	Remove ext_sse_reg_operand check.
>	(*movsi_internal): Likewise.
>	(*movtf_internal): Call ix86_output_ssemov for TYPE_SSEMOV.
>	(*movdf_internal): Call ix86_output_ssemov for TYPE_SSEMOV.
>	Remove TARGET_AVX512F, TARGET_PREFER_AVX256, TARGET_AVX512VL
>	and ext_sse_reg_operand check.
>	(*movsf_internal_avx): Call ix86_output_ssemov for TYPE_SSEMOV.
>	Remove TARGET_PREFER_AVX256, TARGET_AVX512VL and
>	ext_sse_reg_operand check.
>	* config/i386/mmx.md (MMXMODE:*mov<mode>_internal): Call
>	ix86_output_ssemov for TYPE_SSEMOV.  Remove ext_sse_reg_operand
>	check.
>	* config/i386/sse.md (VMOVE:mov<mode>_internal): Call
>	ix86_output_ssemov for TYPE_SSEMOV.  Remove TARGET_AVX512VL
>	check.
>	* config/i386/predicates.md (ext_sse_reg_operand): Removed.
>
>gcc/testsuite/
>
>	PR target/89229
>	* gcc.target/i386/pr89229-2a.c: New test.
>	* gcc.target/i386/pr89229-2b.c: Likewise.
>	* gcc.target/i386/pr89229-2c.c: Likewise.
>	* gcc.target/i386/pr89229-3a.c: Likewise.
>	* gcc.target/i386/pr89229-3b.c: Likewise.
>	* gcc.target/i386/pr89229-3c.c: Likewise.
>	* gcc.target/i386/pr89229-4a.c: Likewise.
>	* gcc.target/i386/pr89229-4b.c: Likewise.
>	* gcc.target/i386/pr89229-4c.c: Likewise.
>	* gcc.target/i386/pr89229-5a.c: Likewise.
>	* gcc.target/i386/pr89229-5b.c: Likewise.
>	* gcc.target/i386/pr89229-5c.c: Likewise.
>	* gcc.target/i386/pr89229-6a.c: Likewise.
>	* gcc.target/i386/pr89229-6b.c: Likewise.
>	* gcc.target/i386/pr89229-6c.c: Likewise.
>	* gcc.target/i386/pr89229-7a.c: Likewise.
>	* gcc.target/i386/pr89229-7b.c: Likewise.
>	* gcc.target/i386/pr89229-7c.c: Likewise.
>---
> gcc/config/i386/i386-protos.h              |   2 +
> gcc/config/i386/i386.c                     | 250 +++++++++++++++++++++
> gcc/config/i386/i386.md                    | 212 ++---------------
> gcc/config/i386/mmx.md                     |  29 +--
> gcc/config/i386/predicates.md              |   5 -
> gcc/config/i386/sse.md                     |  98 +-------
> gcc/testsuite/gcc.target/i386/pr89229-2a.c |  15 ++
> gcc/testsuite/gcc.target/i386/pr89229-2b.c |  13 ++
> gcc/testsuite/gcc.target/i386/pr89229-2c.c |   6 +
> gcc/testsuite/gcc.target/i386/pr89229-3a.c |  17 ++
> gcc/testsuite/gcc.target/i386/pr89229-3b.c |   6 +
> gcc/testsuite/gcc.target/i386/pr89229-3c.c |   7 +
> gcc/testsuite/gcc.target/i386/pr89229-4a.c |  17 ++
> gcc/testsuite/gcc.target/i386/pr89229-4b.c |   6 +
> gcc/testsuite/gcc.target/i386/pr89229-4c.c |   7 +
> gcc/testsuite/gcc.target/i386/pr89229-5a.c |  16 ++
> gcc/testsuite/gcc.target/i386/pr89229-5b.c |   6 +
> gcc/testsuite/gcc.target/i386/pr89229-5c.c |   6 +
> gcc/testsuite/gcc.target/i386/pr89229-6a.c |  16 ++
> gcc/testsuite/gcc.target/i386/pr89229-6b.c |   6 +
> gcc/testsuite/gcc.target/i386/pr89229-6c.c |   6 +
> gcc/testsuite/gcc.target/i386/pr89229-7a.c |  16 ++
> gcc/testsuite/gcc.target/i386/pr89229-7b.c |  12 +
> gcc/testsuite/gcc.target/i386/pr89229-7c.c |   6 +
> 24 files changed, 453 insertions(+), 327 deletions(-)
> create mode 100644 gcc/testsuite/gcc.target/i386/pr89229-2a.c
> create mode 100644 gcc/testsuite/gcc.target/i386/pr89229-2b.c
> create mode 100644 gcc/testsuite/gcc.target/i386/pr89229-2c.c
> create mode 100644 gcc/testsuite/gcc.target/i386/pr89229-3a.c
> create mode 100644 gcc/testsuite/gcc.target/i386/pr89229-3b.c
> create mode 100644 gcc/testsuite/gcc.target/i386/pr89229-3c.c
> create mode 100644 gcc/testsuite/gcc.target/i386/pr89229-4a.c
> create mode 100644 gcc/testsuite/gcc.target/i386/pr89229-4b.c
> create mode 100644 gcc/testsuite/gcc.target/i386/pr89229-4c.c
> create mode 100644 gcc/testsuite/gcc.target/i386/pr89229-5a.c
> create mode 100644 gcc/testsuite/gcc.target/i386/pr89229-5b.c
> create mode 100644 gcc/testsuite/gcc.target/i386/pr89229-5c.c
> create mode 100644 gcc/testsuite/gcc.target/i386/pr89229-6a.c
> create mode 100644 gcc/testsuite/gcc.target/i386/pr89229-6b.c
> create mode 100644 gcc/testsuite/gcc.target/i386/pr89229-6c.c
> create mode 100644 gcc/testsuite/gcc.target/i386/pr89229-7a.c
> create mode 100644 gcc/testsuite/gcc.target/i386/pr89229-7b.c
> create mode 100644 gcc/testsuite/gcc.target/i386/pr89229-7c.c
>
>diff --git a/gcc/config/i386/i386-protos.h b/gcc/config/i386/i386-protos.h
>index 2d600173917..27f5cc13abf 100644
>--- a/gcc/config/i386/i386-protos.h
>+++ b/gcc/config/i386/i386-protos.h
>@@ -38,6 +38,8 @@ extern void ix86_expand_split_stack_prologue (void);
> extern void ix86_output_addr_vec_elt (FILE *, int);
> extern void ix86_output_addr_diff_elt (FILE *, int, int);
> 
>+extern const char *ix86_output_ssemov (rtx_insn *, rtx *);
>+
> extern enum calling_abi ix86_cfun_abi (void);
> extern enum calling_abi ix86_function_type_abi (const_tree);
> 
>diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
>index fd05873ba39..97d1ea4229e 100644
>--- a/gcc/config/i386/i386.c
>+++ b/gcc/config/i386/i386.c
>@@ -10281,6 +10281,256 @@ ix86_standard_x87sse_constant_load_p (const rtx_insn *insn, rtx dst)
>   return true;
> }
> 
>+/* Return the opcode of the TYPE_SSEMOV instruction.  To move from
>+   or to xmm16-xmm31/ymm16-ymm31 registers, we either require
>+   TARGET_AVX512VL or it is a register to register move which can
>+   be done with zmm register move. */
>+
>+static const char *
>+ix86_get_ssemov (rtx *operands, unsigned size, machine_mode mode)
>+{
>+  static char buf[128];
>+  bool misaligned_p = (misaligned_operand (operands[0], mode)
>+		       || misaligned_operand (operands[1], mode));
>+  bool evex_reg_p = (EXT_REX_SSE_REG_P (operands[0])
>+		     || EXT_REX_SSE_REG_P (operands[1]));
>+  machine_mode scalar_mode = GET_MODE_INNER (mode);
>+
>+  const char *opcode = NULL;
>+  enum
>+    {
>+      opcode_int,
>+      opcode_float,
>+      opcode_double
>+    } type = opcode_int;
>+  if (SCALAR_FLOAT_MODE_P (scalar_mode))
>+    {
>+      switch (scalar_mode)
>+	{
>+	case E_SFmode:
>+	  if (size == 64 || !evex_reg_p || TARGET_AVX512VL)
>+	    opcode = misaligned_p ? "%vmovups" : "%vmovaps";
>+	  else
>+	    type = opcode_float;
>+	  break;
>+	case E_DFmode:
>+	  if (size == 64 || !evex_reg_p || TARGET_AVX512VL)
>+	    opcode = misaligned_p ? "%vmovupd" : "%vmovapd";
>+	  else
>+	    type = opcode_double;
>+	  break;
>+	case E_TFmode:
>+	  if (size == 64)
>+	    opcode = misaligned_p ? "vmovdqu64" : "vmovdqa64";
>+	  else if (evex_reg_p)
>+	    {
>+	      if (TARGET_AVX512VL)
>+		opcode = misaligned_p ? "vmovdqu64" : "vmovdqa64";
>+	    }
>+	  else
>+	    opcode = misaligned_p ? "%vmovdqu" : "%vmovdqa";
>+	  break;
>+	default:
>+	  gcc_unreachable ();
>+	}
>+    }
>+  else if (SCALAR_INT_MODE_P (scalar_mode))
>+    {
>+      switch (scalar_mode)
>+	{
>+	case E_QImode:
>+	  if (size == 64)
>+	    opcode = (misaligned_p
>+		      ? (TARGET_AVX512BW
>+			 ? "vmovdqu8"
>+			 : "vmovdqu64")
>+		      : "vmovdqa64");
>+	  else if (evex_reg_p)
>+	    {
>+	      if (TARGET_AVX512VL)
>+		opcode = (misaligned_p
>+			  ? (TARGET_AVX512BW
>+			     ? "vmovdqu8"
>+			     : "vmovdqu64")
>+			  : "vmovdqa64");
>+	    }
>+	  else
>+	    opcode = (misaligned_p
>+		      ? (TARGET_AVX512BW
>+			 ? "vmovdqu8"
>+			 : "%vmovdqu")
>+		      : "%vmovdqa");
>+	  break;
>+	case E_HImode:
>+	  if (size == 64)
>+	    opcode = (misaligned_p
>+		      ? (TARGET_AVX512BW
>+			 ? "vmovdqu16"
>+			 : "vmovdqu64")
>+		      : "vmovdqa64");
>+	  else if (evex_reg_p)
>+	    {
>+	      if (TARGET_AVX512VL)
>+		opcode = (misaligned_p
>+			  ? (TARGET_AVX512BW
>+			     ? "vmovdqu16"
>+			     : "vmovdqu64")
>+			  : "vmovdqa64");
>+	    }
>+	  else
>+	    opcode = (misaligned_p
>+		      ? (TARGET_AVX512BW
>+			 ? "vmovdqu16"
>+			 : "%vmovdqu")
>+		      : "%vmovdqa");
>+	  break;
>+	case E_SImode:
>+	  if (size == 64)
>+	    opcode = misaligned_p ? "vmovdqu32" : "vmovdqa32";
>+	  else if (evex_reg_p)
>+	    {
>+	      if (TARGET_AVX512VL)
>+		opcode = misaligned_p ? "vmovdqu32" : "vmovdqa32";
>+	    }
>+	  else
>+	    opcode = misaligned_p ? "%vmovdqu" : "%vmovdqa";
>+	  break;
>+	case E_DImode:
>+	case E_TImode:
>+	case E_OImode:
>+	  if (size == 64)
>+	    opcode = misaligned_p ? "vmovdqu64" : "vmovdqa64";
>+	  else if (evex_reg_p)
>+	    {
>+	      if (TARGET_AVX512VL)
>+		opcode = misaligned_p ? "vmovdqu64" : "vmovdqa64";
>+	    }
>+	  else
>+	    opcode = misaligned_p ? "%vmovdqu" : "%vmovdqa";
>+	  break;
>+	case E_XImode:
>+	  opcode = misaligned_p ? "vmovdqu64" : "vmovdqa64";
>+	  break;
>+	default:
>+	  gcc_unreachable ();
>+	}
>+    }
>+  else
>+    gcc_unreachable ();
>+
>+  if (!opcode)
>+    {
>+      /* NB: We get here only because we move xmm16-xmm31/ymm16-ymm31
>+         registers without AVX512VL by using zmm register move.  */
>+      if (!evex_reg_p
>+	  || TARGET_AVX512VL
>+	  || memory_operand (operands[0], mode)
>+	  || memory_operand (operands[1], mode))
>+	gcc_unreachable ();
>+      size = 64;
>+      switch (type)
>+	{
>+	case opcode_int:
>+	  opcode = misaligned_p ? "vmovdqu32" : "vmovdqa32";
>+	  break;
>+	case opcode_float:
>+	  opcode = misaligned_p ? "%vmovups" : "%vmovaps";
>+	  break;
>+	case opcode_double:
>+	  opcode = misaligned_p ? "%vmovupd" : "%vmovapd";
>+	  break;
>+	}
>+    }
>+
>+  switch (size)
>+    {
>+    case 64:
>+      snprintf (buf, sizeof (buf), "%s\t{%%g1, %%g0|%%g0, %%g1}",
>+		opcode);
>+      break;
>+    case 32:
>+      snprintf (buf, sizeof (buf), "%s\t{%%t1, %%t0|%%t0, %%t1}",
>+		opcode);
>+      break;
>+    case 16:
>+      snprintf (buf, sizeof (buf), "%s\t{%%x1, %%x0|%%x0, %%x1}",
>+		opcode);
>+      break;
>+    default:
>+      gcc_unreachable ();
>+    }
>+  return buf;
>+}
>+
>+/* Return the template of the TYPE_SSEMOV instruction to move
>+   operands[1] into operands[0].  */
>+
>+const char *
>+ix86_output_ssemov (rtx_insn *insn, rtx *operands)
>+{
>+  machine_mode mode = GET_MODE (operands[0]);
>+  if (get_attr_type (insn) != TYPE_SSEMOV
>+      || mode != GET_MODE (operands[1]))
>+    gcc_unreachable ();
>+
>+  enum attr_mode insn_mode = get_attr_mode (insn);
>+
>+  switch (insn_mode)
>+    {
>+    case MODE_XI:
>+    case MODE_V8DF:
>+    case MODE_V16SF:
>+      return ix86_get_ssemov (operands, 64, mode);
>+
>+    case MODE_OI:
>+    case MODE_V4DF:
>+    case MODE_V8SF:
>+      return ix86_get_ssemov (operands, 32, mode);
>+
>+    case MODE_TI:
>+    case MODE_V2DF:
>+    case MODE_V4SF:
>+      return ix86_get_ssemov (operands, 16, mode);
>+
>+    case MODE_DI:
>+      /* Handle broken assemblers that require movd instead of movq. */
>+      if (!HAVE_AS_IX86_INTERUNIT_MOVQ
>+	  && (GENERAL_REG_P (operands[0])
>+	      || GENERAL_REG_P (operands[1])))
>+	return "%vmovd\t{%1, %0|%0, %1}";
>+      else
>+	return "%vmovq\t{%1, %0|%0, %1}";
>+
>+    case MODE_V2SF:
>+      if (TARGET_AVX && REG_P (operands[0]))
>+	return "vmovlps\t{%1, %d0|%d0, %1}";
>+      else
>+	return "%vmovlps\t{%1, %0|%0, %1}";
>+
>+    case MODE_DF:
>+      if (TARGET_AVX && REG_P (operands[0]) && REG_P (operands[1]))
>+	return "vmovsd\t{%d1, %0|%0, %d1}";
>+      else
>+	return "%vmovsd\t{%1, %0|%0, %1}";
>+
>+    case MODE_V1DF:
>+      gcc_assert (!TARGET_AVX);
>+       return "movlpd\t{%1, %0|%0, %1}";
>+
>+    case MODE_SI:
>+      return "%vmovd\t{%1, %0|%0, %1}";
>+
>+    case MODE_SF:
>+      if (TARGET_AVX && REG_P (operands[0]) && REG_P (operands[1]))
>+	return "vmovss\t{%d1, %0|%0, %d1}";
>+      else
>+	return "%vmovss\t{%1, %0|%0, %1}";
>+
>+    default:
>+      gcc_unreachable ();
>+    }
>+}
>+
> /* Returns true if OP contains a symbol reference */
> 
> bool
>diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
>index 9948f77fca5..40ed93dc804 100644
>--- a/gcc/config/i386/i386.md
>+++ b/gcc/config/i386/i386.md
>@@ -1878,11 +1878,7 @@
>       return standard_sse_constant_opcode (insn, operands);
> 
>     case TYPE_SSEMOV:
>-      if (misaligned_operand (operands[0], XImode)
>-	  || misaligned_operand (operands[1], XImode))
>-	return "vmovdqu32\t{%1, %0|%0, %1}";
>-      else
>-	return "vmovdqa32\t{%1, %0|%0, %1}";
>+      return ix86_output_ssemov (insn, operands);
> 
>     default:
>       gcc_unreachable ();
>@@ -1905,25 +1901,7 @@
>       return standard_sse_constant_opcode (insn, operands);
> 
>     case TYPE_SSEMOV:
>-      if (misaligned_operand (operands[0], OImode)
>-	  || misaligned_operand (operands[1], OImode))
>-	{
>-	  if (get_attr_mode (insn) == MODE_V8SF)
>-	    return "vmovups\t{%1, %0|%0, %1}";
>-	  else if (get_attr_mode (insn) == MODE_XI)
>-	    return "vmovdqu32\t{%1, %0|%0, %1}";
>-	  else
>-	    return "vmovdqu\t{%1, %0|%0, %1}";
>-	}
>-      else
>-	{
>-	  if (get_attr_mode (insn) == MODE_V8SF)
>-	    return "vmovaps\t{%1, %0|%0, %1}";
>-	  else if (get_attr_mode (insn) == MODE_XI)
>-	    return "vmovdqa32\t{%1, %0|%0, %1}";
>-	  else
>-	    return "vmovdqa\t{%1, %0|%0, %1}";
>-	}
>+      return ix86_output_ssemov (insn, operands);
> 
>     default:
>       gcc_unreachable ();
>@@ -1933,13 +1911,7 @@
>    (set_attr "type" "sselog1,sselog1,ssemov,ssemov")
>    (set_attr "prefix" "vex")
>    (set (attr "mode")
>-	(cond [(ior (match_operand 0 "ext_sse_reg_operand")
>-		    (match_operand 1 "ext_sse_reg_operand"))
>-		 (const_string "XI")
>-	       (and (eq_attr "alternative" "1")
>-		    (match_test "TARGET_AVX512VL"))
>-		 (const_string "XI")
>-	       (ior (match_test "TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL")
>+	(cond [(ior (match_test "TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL")
> 		    (and (eq_attr "alternative" "3")
> 			 (match_test "TARGET_SSE_TYPELESS_STORES")))
> 		 (const_string "V8SF")
>@@ -1965,27 +1937,7 @@
>       return standard_sse_constant_opcode (insn, operands);
> 
>     case TYPE_SSEMOV:
>-      /* TDmode values are passed as TImode on the stack.  Moving them
>-	 to stack may result in unaligned memory access.  */
>-      if (misaligned_operand (operands[0], TImode)
>-	  || misaligned_operand (operands[1], TImode))
>-	{
>-	  if (get_attr_mode (insn) == MODE_V4SF)
>-	    return "%vmovups\t{%1, %0|%0, %1}";
>-	  else if (get_attr_mode (insn) == MODE_XI)
>-	    return "vmovdqu32\t{%1, %0|%0, %1}";
>-	  else
>-	    return "%vmovdqu\t{%1, %0|%0, %1}";
>-	}
>-      else
>-	{
>-	  if (get_attr_mode (insn) == MODE_V4SF)
>-	    return "%vmovaps\t{%1, %0|%0, %1}";
>-	  else if (get_attr_mode (insn) == MODE_XI)
>-	    return "vmovdqa32\t{%1, %0|%0, %1}";
>-	  else
>-	    return "%vmovdqa\t{%1, %0|%0, %1}";
>-	}
>+      return ix86_output_ssemov (insn, operands);
> 
>     default:
>       gcc_unreachable ();
>@@ -2012,12 +1964,6 @@
>    (set (attr "mode")
> 	(cond [(eq_attr "alternative" "0,1")
> 		 (const_string "DI")
>-	       (ior (match_operand 0 "ext_sse_reg_operand")
>-		    (match_operand 1 "ext_sse_reg_operand"))
>-		 (const_string "XI")
>-	       (and (eq_attr "alternative" "3")
>-		    (match_test "TARGET_AVX512VL"))
>-		 (const_string "XI")
> 	       (ior (not (match_test "TARGET_SSE2"))
> 		    (ior (match_test "TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL")
> 			 (and (eq_attr "alternative" "5")
>@@ -2091,31 +2037,7 @@
>       return standard_sse_constant_opcode (insn, operands);
> 
>     case TYPE_SSEMOV:
>-      switch (get_attr_mode (insn))
>-	{
>-	case MODE_DI:
>-	  /* Handle broken assemblers that require movd instead of movq.  */
>-	  if (!HAVE_AS_IX86_INTERUNIT_MOVQ
>-	      && (GENERAL_REG_P (operands[0]) || GENERAL_REG_P (operands[1])))
>-	    return "%vmovd\t{%1, %0|%0, %1}";
>-	  return "%vmovq\t{%1, %0|%0, %1}";
>-
>-	case MODE_TI:
>-	  /* Handle AVX512 registers set.  */
>-	  if (EXT_REX_SSE_REG_P (operands[0])
>-	      || EXT_REX_SSE_REG_P (operands[1]))
>-	    return "vmovdqa64\t{%1, %0|%0, %1}";
>-	  return "%vmovdqa\t{%1, %0|%0, %1}";
>-
>-	case MODE_V2SF:
>-	  gcc_assert (!TARGET_AVX);
>-	  return "movlps\t{%1, %0|%0, %1}";
>-	case MODE_V4SF:
>-	  return "%vmovaps\t{%1, %0|%0, %1}";
>-
>-	default:
>-	  gcc_unreachable ();
>-	}
>+      return ix86_output_ssemov (insn, operands);
> 
>     case TYPE_SSECVT:
>       if (SSE_REG_P (operands[0]))
>@@ -2201,10 +2123,7 @@
>      (cond [(eq_attr "alternative" "2")
> 	      (const_string "SI")
> 	    (eq_attr "alternative" "12,13")
>-	      (cond [(ior (match_operand 0 "ext_sse_reg_operand")
>-			  (match_operand 1 "ext_sse_reg_operand"))
>-		       (const_string "TI")
>-		     (ior (not (match_test "TARGET_SSE2"))
>+	      (cond [(ior (not (match_test "TARGET_SSE2"))
> 			  (match_test "TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL"))
> 		       (const_string "V4SF")
> 		     (match_test "TARGET_AVX")
>@@ -2327,25 +2246,7 @@
>       gcc_unreachable ();
> 
>     case TYPE_SSEMOV:
>-      switch (get_attr_mode (insn))
>-	{
>-	case MODE_SI:
>-          return "%vmovd\t{%1, %0|%0, %1}";
>-	case MODE_TI:
>-	  return "%vmovdqa\t{%1, %0|%0, %1}";
>-	case MODE_XI:
>-	  return "vmovdqa32\t{%g1, %g0|%g0, %g1}";
>-
>-	case MODE_V4SF:
>-	  return "%vmovaps\t{%1, %0|%0, %1}";
>-
>-	case MODE_SF:
>-	  gcc_assert (!TARGET_AVX);
>-          return "movss\t{%1, %0|%0, %1}";
>-
>-	default:
>-	  gcc_unreachable ();
>-	}
>+      return ix86_output_ssemov (insn, operands);
> 
>     case TYPE_MMX:
>       return "pxor\t%0, %0";
>@@ -2411,10 +2312,7 @@
>      (cond [(eq_attr "alternative" "2,3")
> 	      (const_string "DI")
> 	    (eq_attr "alternative" "8,9")
>-	      (cond [(ior (match_operand 0 "ext_sse_reg_operand")
>-			  (match_operand 1 "ext_sse_reg_operand"))
>-		       (const_string "XI")
>-		     (ior (not (match_test "TARGET_SSE2"))
>+	      (cond [(ior (not (match_test "TARGET_SSE2"))
> 			  (match_test "TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL"))
> 		       (const_string "V4SF")
> 		     (match_test "TARGET_AVX")
>@@ -3234,31 +3132,7 @@
>       return standard_sse_constant_opcode (insn, operands);
> 
>     case TYPE_SSEMOV:
>-      /* Handle misaligned load/store since we
>-         don't have movmisaligntf pattern. */
>-      if (misaligned_operand (operands[0], TFmode)
>-	  || misaligned_operand (operands[1], TFmode))
>-	{
>-	  if (get_attr_mode (insn) == MODE_V4SF)
>-	    return "%vmovups\t{%1, %0|%0, %1}";
>-	  else if (TARGET_AVX512VL
>-		   && (EXT_REX_SSE_REG_P (operands[0])
>-		       || EXT_REX_SSE_REG_P (operands[1])))
>-	    return "vmovdqu64\t{%1, %0|%0, %1}";
>-	  else
>-	    return "%vmovdqu\t{%1, %0|%0, %1}";
>-	}
>-      else
>-	{
>-	  if (get_attr_mode (insn) == MODE_V4SF)
>-	    return "%vmovaps\t{%1, %0|%0, %1}";
>-	  else if (TARGET_AVX512VL
>-		   && (EXT_REX_SSE_REG_P (operands[0])
>-		       || EXT_REX_SSE_REG_P (operands[1])))
>-	    return "vmovdqa64\t{%1, %0|%0, %1}";
>-	  else
>-	    return "%vmovdqa\t{%1, %0|%0, %1}";
>-	}
>+      return ix86_output_ssemov (insn, operands);
> 
>     case TYPE_MULTI:
> 	return "#";
>@@ -3411,37 +3285,7 @@
>       return standard_sse_constant_opcode (insn, operands);
> 
>     case TYPE_SSEMOV:
>-      switch (get_attr_mode (insn))
>-	{
>-	case MODE_DF:
>-	  if (TARGET_AVX && REG_P (operands[0]) && REG_P (operands[1]))
>-	    return "vmovsd\t{%d1, %0|%0, %d1}";
>-	  return "%vmovsd\t{%1, %0|%0, %1}";
>-
>-	case MODE_V4SF:
>-	  return "%vmovaps\t{%1, %0|%0, %1}";
>-	case MODE_V8DF:
>-	  return "vmovapd\t{%g1, %g0|%g0, %g1}";
>-	case MODE_V2DF:
>-	  return "%vmovapd\t{%1, %0|%0, %1}";
>-
>-	case MODE_V2SF:
>-	  gcc_assert (!TARGET_AVX);
>-	  return "movlps\t{%1, %0|%0, %1}";
>-	case MODE_V1DF:
>-	  gcc_assert (!TARGET_AVX);
>-	  return "movlpd\t{%1, %0|%0, %1}";
>-
>-	case MODE_DI:
>-	  /* Handle broken assemblers that require movd instead of movq.  */
>-	  if (!HAVE_AS_IX86_INTERUNIT_MOVQ
>-	      && (GENERAL_REG_P (operands[0]) || GENERAL_REG_P (operands[1])))
>-	    return "%vmovd\t{%1, %0|%0, %1}";
>-	  return "%vmovq\t{%1, %0|%0, %1}";
>-
>-	default:
>-	  gcc_unreachable ();
>-	}
>+      return ix86_output_ssemov (insn, operands);
> 
>     default:
>       gcc_unreachable ();
>@@ -3497,9 +3341,6 @@
> 	       (eq_attr "alternative" "12,16")
> 		 (cond [(not (match_test "TARGET_SSE2"))
> 		 	  (const_string "V4SF")
>-			(and (match_test "TARGET_AVX512F")
>-			  (not (match_test "TARGET_PREFER_AVX256")))
>-			  (const_string "XI")
> 			(match_test "TARGET_AVX")
> 			  (const_string "V2DF")
> 			(match_test "optimize_function_for_size_p (cfun)")
>@@ -3515,12 +3356,7 @@
> 
> 	       /* movaps is one byte shorter for non-AVX targets.  */
> 	       (eq_attr "alternative" "13,17")
>-		 (cond [(and (ior (not (match_test "TARGET_PREFER_AVX256"))
>-				  (not (match_test "TARGET_AVX512VL")))
>-			     (ior (match_operand 0 "ext_sse_reg_operand")
>-				  (match_operand 1 "ext_sse_reg_operand")))
>-			  (const_string "V8DF")
>-			(ior (not (match_test "TARGET_SSE2"))
>+		 (cond [(ior (not (match_test "TARGET_SSE2"))
> 			     (match_test "TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL"))
> 			  (const_string "V4SF")
> 			(match_test "TARGET_SSE_PARTIAL_REG_DEPENDENCY")
>@@ -3612,24 +3448,7 @@
>       return standard_sse_constant_opcode (insn, operands);
> 
>     case TYPE_SSEMOV:
>-      switch (get_attr_mode (insn))
>-	{
>-	case MODE_SF:
>-	  if (TARGET_AVX && REG_P (operands[0]) && REG_P (operands[1]))
>-	    return "vmovss\t{%d1, %0|%0, %d1}";
>-	  return "%vmovss\t{%1, %0|%0, %1}";
>-
>-	case MODE_V16SF:
>-	  return "vmovaps\t{%g1, %g0|%g0, %g1}";
>-	case MODE_V4SF:
>-	  return "%vmovaps\t{%1, %0|%0, %1}";
>-
>-	case MODE_SI:
>-	  return "%vmovd\t{%1, %0|%0, %1}";
>-
>-	default:
>-	  gcc_unreachable ();
>-	}
>+      return ix86_output_ssemov (insn, operands);
> 
>     case TYPE_MMXMOV:
>       switch (get_attr_mode (insn))
>@@ -3702,12 +3521,7 @@
> 		  better to maintain the whole registers in single format
> 		  to avoid problems on using packed logical operations.  */
> 	       (eq_attr "alternative" "6")
>-		 (cond [(and (ior (not (match_test "TARGET_PREFER_AVX256"))
>-				  (not (match_test "TARGET_AVX512VL")))
>-			     (ior (match_operand 0 "ext_sse_reg_operand")
>-				  (match_operand 1 "ext_sse_reg_operand")))
>-			  (const_string "V16SF")
>-			(ior (match_test "TARGET_SSE_PARTIAL_REG_DEPENDENCY")
>+		 (cond [(ior (match_test "TARGET_SSE_PARTIAL_REG_DEPENDENCY")
> 			     (match_test "TARGET_SSE_SPLIT_REGS"))
> 			  (const_string "V4SF")
> 		       ]
>diff --git a/gcc/config/i386/mmx.md b/gcc/config/i386/mmx.md
>index c1e0f2c411e..9c3808338d3 100644
>--- a/gcc/config/i386/mmx.md
>+++ b/gcc/config/i386/mmx.md
>@@ -115,29 +115,7 @@
>       return standard_sse_constant_opcode (insn, operands);
> 
>     case TYPE_SSEMOV:
>-      switch (get_attr_mode (insn))
>-	{
>-	case MODE_DI:
>-	  /* Handle broken assemblers that require movd instead of movq.  */
>-	  if (!HAVE_AS_IX86_INTERUNIT_MOVQ
>-	      && (GENERAL_REG_P (operands[0]) || GENERAL_REG_P (operands[1])))
>-	    return "%vmovd\t{%1, %0|%0, %1}";
>-	  return "%vmovq\t{%1, %0|%0, %1}";
>-	case MODE_TI:
>-	  return "%vmovdqa\t{%1, %0|%0, %1}";
>-	case MODE_XI:
>-	  return "vmovdqa64\t{%g1, %g0|%g0, %g1}";
>-
>-	case MODE_V2SF:
>-	  if (TARGET_AVX && REG_P (operands[0]))
>-	    return "vmovlps\t{%1, %0, %0|%0, %0, %1}";
>-	  return "%vmovlps\t{%1, %0|%0, %1}";
>-	case MODE_V4SF:
>-	  return "%vmovaps\t{%1, %0|%0, %1}";
>-
>-	default:
>-	  gcc_unreachable ();
>-	}
>+      return ix86_output_ssemov (insn, operands);
> 
>     default:
>       gcc_unreachable ();
>@@ -186,10 +164,7 @@
>      (cond [(eq_attr "alternative" "2")
> 	      (const_string "SI")
> 	    (eq_attr "alternative" "11,12")
>-	      (cond [(ior (match_operand 0 "ext_sse_reg_operand")
>-			  (match_operand 1 "ext_sse_reg_operand"))
>-			(const_string "XI")
>-		     (match_test "<MODE>mode == V2SFmode")
>+	      (cond [(match_test "<MODE>mode == V2SFmode")
> 		       (const_string "V4SF")
> 		     (ior (not (match_test "TARGET_SSE2"))
> 			  (match_test "TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL"))
>diff --git a/gcc/config/i386/predicates.md b/gcc/config/i386/predicates.md
>index 865947debcc..99226e86436 100644
>--- a/gcc/config/i386/predicates.md
>+++ b/gcc/config/i386/predicates.md
>@@ -54,11 +54,6 @@
>   (and (match_code "reg")
>        (match_test "SSE_REGNO_P (REGNO (op))")))
> 
>-;; True if the operand is an AVX-512 new register.
>-(define_predicate "ext_sse_reg_operand"
>-  (and (match_code "reg")
>-       (match_test "EXT_REX_SSE_REGNO_P (REGNO (op))")))
>-
> ;; Return true if op is a QImode register.
> (define_predicate "any_QIreg_operand"
>   (and (match_code "reg")
>diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md
>index 5dc0930ac1f..2014f0a7832 100644
>--- a/gcc/config/i386/sse.md
>+++ b/gcc/config/i386/sse.md
>@@ -982,98 +982,7 @@
>       return standard_sse_constant_opcode (insn, operands);
> 
>     case TYPE_SSEMOV:
>-      /* There is no evex-encoded vmov* for sizes smaller than 64-bytes
>-	 in avx512f, so we need to use workarounds, to access sse registers
>-	 16-31, which are evex-only. In avx512vl we don't need workarounds.  */
>-      if (TARGET_AVX512F && <MODE_SIZE> < 64 && !TARGET_AVX512VL
>-	  && (EXT_REX_SSE_REG_P (operands[0])
>-	      || EXT_REX_SSE_REG_P (operands[1])))
>-	{
>-	  if (memory_operand (operands[0], <MODE>mode))
>-	    {
>-	      if (<MODE_SIZE> == 32)
>-		return "vextract<shuffletype>64x4\t{$0x0, %g1, %0|%0, %g1, 0x0}";
>-	      else if (<MODE_SIZE> == 16)
>-		return "vextract<shuffletype>32x4\t{$0x0, %g1, %0|%0, %g1, 0x0}";
>-	      else
>-		gcc_unreachable ();
>-	    }
>-	  else if (memory_operand (operands[1], <MODE>mode))
>-	    {
>-	      if (<MODE_SIZE> == 32)
>-		return "vbroadcast<shuffletype>64x4\t{%1, %g0|%g0, %1}";
>-	      else if (<MODE_SIZE> == 16)
>-		return "vbroadcast<shuffletype>32x4\t{%1, %g0|%g0, %1}";
>-	      else
>-		gcc_unreachable ();
>-	    }
>-	  else
>-	    /* Reg -> reg move is always aligned.  Just use wider move.  */
>-	    switch (get_attr_mode (insn))
>-	      {
>-	      case MODE_V8SF:
>-	      case MODE_V4SF:
>-		return "vmovaps\t{%g1, %g0|%g0, %g1}";
>-	      case MODE_V4DF:
>-	      case MODE_V2DF:
>-		return "vmovapd\t{%g1, %g0|%g0, %g1}";
>-	      case MODE_OI:
>-	      case MODE_TI:
>-		return "vmovdqa64\t{%g1, %g0|%g0, %g1}";
>-	      default:
>-		gcc_unreachable ();
>-	      }
>-	}
>-
>-      switch (get_attr_mode (insn))
>-	{
>-	case MODE_V16SF:
>-	case MODE_V8SF:
>-	case MODE_V4SF:
>-	  if (misaligned_operand (operands[0], <MODE>mode)
>-	      || misaligned_operand (operands[1], <MODE>mode))
>-	    return "%vmovups\t{%1, %0|%0, %1}";
>-	  else
>-	    return "%vmovaps\t{%1, %0|%0, %1}";
>-
>-	case MODE_V8DF:
>-	case MODE_V4DF:
>-	case MODE_V2DF:
>-	  if (misaligned_operand (operands[0], <MODE>mode)
>-	      || misaligned_operand (operands[1], <MODE>mode))
>-	    return "%vmovupd\t{%1, %0|%0, %1}";
>-	  else
>-	    return "%vmovapd\t{%1, %0|%0, %1}";
>-
>-	case MODE_OI:
>-	case MODE_TI:
>-	  if (misaligned_operand (operands[0], <MODE>mode)
>-	      || misaligned_operand (operands[1], <MODE>mode))
>-	    return TARGET_AVX512VL
>-		   && (<MODE>mode == V4SImode
>-		       || <MODE>mode == V2DImode
>-		       || <MODE>mode == V8SImode
>-		       || <MODE>mode == V4DImode
>-		       || TARGET_AVX512BW)
>-		   ? "vmovdqu<ssescalarsize>\t{%1, %0|%0, %1}"
>-		   : "%vmovdqu\t{%1, %0|%0, %1}";
>-	  else
>-	    return TARGET_AVX512VL ? "vmovdqa64\t{%1, %0|%0, %1}"
>-				   : "%vmovdqa\t{%1, %0|%0, %1}";
>-	case MODE_XI:
>-	  if (misaligned_operand (operands[0], <MODE>mode)
>-	      || misaligned_operand (operands[1], <MODE>mode))
>-	    return (<MODE>mode == V16SImode
>-		    || <MODE>mode == V8DImode
>-		    || TARGET_AVX512BW)
>-		   ? "vmovdqu<ssescalarsize>\t{%1, %0|%0, %1}"
>-		   : "vmovdqu64\t{%1, %0|%0, %1}";
>-	  else
>-	    return "vmovdqa64\t{%1, %0|%0, %1}";
>-
>-	default:
>-	  gcc_unreachable ();
>-	}
>+      return ix86_output_ssemov (insn, operands);
> 
>     default:
>       gcc_unreachable ();
>@@ -1082,10 +991,7 @@
>   [(set_attr "type" "sselog1,sselog1,ssemov,ssemov")
>    (set_attr "prefix" "maybe_vex")
>    (set (attr "mode")
>-	(cond [(and (eq_attr "alternative" "1")
>-		    (match_test "TARGET_AVX512VL"))
>-		 (const_string "<sseinsnmode>")
>-	       (and (match_test "<MODE_SIZE> == 16")
>+	(cond [(and (match_test "<MODE_SIZE> == 16")
> 		    (ior (match_test "TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL")
> 			 (and (eq_attr "alternative" "3")
> 			      (match_test "TARGET_SSE_TYPELESS_STORES"))))
>diff --git a/gcc/testsuite/gcc.target/i386/pr89229-2a.c b/gcc/testsuite/gcc.target/i386/pr89229-2a.c
>new file mode 100644
>index 00000000000..0cf78039481
>--- /dev/null
>+++ b/gcc/testsuite/gcc.target/i386/pr89229-2a.c
>@@ -0,0 +1,15 @@
>+/* { dg-do compile { target { ! ia32 } } } */
>+/* { dg-options "-O2 -march=skylake-avx512" } */
>+
>+typedef __int128 __m128t __attribute__ ((__vector_size__ (16),
>+					 __may_alias__));
>+
>+__m128t
>+foo1 (void)
>+{
>+  register __int128 xmm16 __asm ("xmm16") = (__int128) -1;
>+  asm volatile ("" : "+v" (xmm16));
>+  return (__m128t) xmm16;
>+}
>+
>+/* { dg-final { scan-assembler-not "%zmm\[0-9\]+" } } */
>diff --git a/gcc/testsuite/gcc.target/i386/pr89229-2b.c b/gcc/testsuite/gcc.target/i386/pr89229-2b.c
>new file mode 100644
>index 00000000000..8d5d6c41d30
>--- /dev/null
>+++ b/gcc/testsuite/gcc.target/i386/pr89229-2b.c
>@@ -0,0 +1,13 @@
>+/* { dg-do compile { target { ! ia32 } } } */
>+/* { dg-options "-O2 -march=skylake-avx512 -mno-avx512vl" } */
>+
>+typedef __int128 __m128t __attribute__ ((__vector_size__ (16),
>+					 __may_alias__));
>+
>+__m128t
>+foo1 (void)
>+{
>+  register __int128 xmm16 __asm ("xmm16") = (__int128) -1; /* { dg-error "register specified for 'xmm16'" } */
>+  asm volatile ("" : "+v" (xmm16));
>+  return (__m128t) xmm16;
>+}
>diff --git a/gcc/testsuite/gcc.target/i386/pr89229-2c.c b/gcc/testsuite/gcc.target/i386/pr89229-2c.c
>new file mode 100644
>index 00000000000..218da46dcd0
>--- /dev/null
>+++ b/gcc/testsuite/gcc.target/i386/pr89229-2c.c
>@@ -0,0 +1,6 @@
>+/* { dg-do compile { target { ! ia32 } } } */
>+/* { dg-options "-O2 -march=skylake-avx512 -mprefer-vector-width=512" } */
>+
>+#include "pr89229-2a.c"
>+
>+/* { dg-final { scan-assembler-not "%zmm\[0-9\]+" } } */
>diff --git a/gcc/testsuite/gcc.target/i386/pr89229-3a.c b/gcc/testsuite/gcc.target/i386/pr89229-3a.c
>new file mode 100644
>index 00000000000..fd56f447016
>--- /dev/null
>+++ b/gcc/testsuite/gcc.target/i386/pr89229-3a.c
>@@ -0,0 +1,17 @@
>+/* { dg-do compile { target { ! ia32 } } } */
>+/* { dg-options "-O2 -march=skylake-avx512" } */
>+
>+extern int i;
>+
>+int
>+foo1 (void)
>+{
>+  register int xmm16 __asm ("xmm16") = i;
>+  asm volatile ("" : "+v" (xmm16));
>+  register int xmm17 __asm ("xmm17") = xmm16;
>+  asm volatile ("" : "+v" (xmm17));
>+  return xmm17;
>+}
>+
>+/* { dg-final { scan-assembler-times "vmovdqa32\[^\n\r]*xmm1\[67]\[^\n\r]*xmm1\[67]" 1 } } */
>+/* { dg-final { scan-assembler-not "%zmm\[0-9\]+" } } */
>diff --git a/gcc/testsuite/gcc.target/i386/pr89229-3b.c b/gcc/testsuite/gcc.target/i386/pr89229-3b.c
>new file mode 100644
>index 00000000000..9265fc0354b
>--- /dev/null
>+++ b/gcc/testsuite/gcc.target/i386/pr89229-3b.c
>@@ -0,0 +1,6 @@
>+/* { dg-do compile { target { ! ia32 } } } */
>+/* { dg-options "-O2 -march=skylake-avx512 -mno-avx512vl" } */
>+
>+#include "pr89229-3a.c"
>+
>+/* { dg-final { scan-assembler-times "vmovdqa32\[^\n\r]*zmm1\[67]\[^\n\r]*zmm1\[67]" 1 } } */
>diff --git a/gcc/testsuite/gcc.target/i386/pr89229-3c.c b/gcc/testsuite/gcc.target/i386/pr89229-3c.c
>new file mode 100644
>index 00000000000..d3fdf1ee273
>--- /dev/null
>+++ b/gcc/testsuite/gcc.target/i386/pr89229-3c.c
>@@ -0,0 +1,7 @@
>+/* { dg-do compile { target { ! ia32 } } } */
>+/* { dg-options "-O2 -march=skylake-avx512 -mprefer-vector-width=512" } */
>+
>+#include "pr89229-3a.c"
>+
>+/* { dg-final { scan-assembler-times "vmovdqa32\[^\n\r]*xmm1\[67]\[^\n\r]*xmm1\[67]" 1 } } */
>+/* { dg-final { scan-assembler-not "%zmm\[0-9\]+" } } */
>diff --git a/gcc/testsuite/gcc.target/i386/pr89229-4a.c b/gcc/testsuite/gcc.target/i386/pr89229-4a.c
>new file mode 100644
>index 00000000000..cb9b071e873
>--- /dev/null
>+++ b/gcc/testsuite/gcc.target/i386/pr89229-4a.c
>@@ -0,0 +1,17 @@
>+/* { dg-do compile { target { ! ia32 } } } */
>+/* { dg-options "-O2 -march=skylake-avx512 -mprefer-vector-width=512" } */
>+
>+extern long long i;
>+
>+long long
>+foo1 (void)
>+{
>+  register long long xmm16 __asm ("xmm16") = i;
>+  asm volatile ("" : "+v" (xmm16));
>+  register long long xmm17 __asm ("xmm17") = xmm16;
>+  asm volatile ("" : "+v" (xmm17));
>+  return xmm17;
>+}
>+
>+/* { dg-final { scan-assembler-times "vmovdqa64\[^\n\r]*xmm1\[67]\[^\n\r]*xmm1\[67]" 1 } } */
>+/* { dg-final { scan-assembler-not "%zmm\[0-9\]+" } } */
>diff --git a/gcc/testsuite/gcc.target/i386/pr89229-4b.c b/gcc/testsuite/gcc.target/i386/pr89229-4b.c
>new file mode 100644
>index 00000000000..023e81253a0
>--- /dev/null
>+++ b/gcc/testsuite/gcc.target/i386/pr89229-4b.c
>@@ -0,0 +1,6 @@
>+/* { dg-do compile { target { ! ia32 } } } */
>+/* { dg-options "-O2 -march=skylake-avx512 -mno-avx512vl" } */
>+
>+#include "pr89229-4a.c"
>+
>+/* { dg-final { scan-assembler-times "vmovdqa32\[^\n\r]*zmm1\[67]\[^\n\r]*zmm1\[67]" 1 } } */
>diff --git a/gcc/testsuite/gcc.target/i386/pr89229-4c.c b/gcc/testsuite/gcc.target/i386/pr89229-4c.c
>new file mode 100644
>index 00000000000..e02eb37c16d
>--- /dev/null
>+++ b/gcc/testsuite/gcc.target/i386/pr89229-4c.c
>@@ -0,0 +1,7 @@
>+/* { dg-do compile { target { ! ia32 } } } */
>+/* { dg-options "-O2 -march=skylake-avx512 -mprefer-vector-width=512" } */
>+
>+#include "pr89229-4a.c"
>+
>+/* { dg-final { scan-assembler-times "vmovdqa64\[^\n\r]*xmm1\[67]\[^\n\r]*xmm1\[67]" 1 } } */
>+/* { dg-final { scan-assembler-not "%zmm\[0-9\]+" } } */
>diff --git a/gcc/testsuite/gcc.target/i386/pr89229-5a.c b/gcc/testsuite/gcc.target/i386/pr89229-5a.c
>new file mode 100644
>index 00000000000..856115b2f5a
>--- /dev/null
>+++ b/gcc/testsuite/gcc.target/i386/pr89229-5a.c
>@@ -0,0 +1,16 @@
>+/* { dg-do compile { target { ! ia32 } } } */
>+/* { dg-options "-O2 -march=skylake-avx512" } */
>+
>+extern float d;
>+
>+void
>+foo1 (float x)
>+{
>+  register float xmm16 __asm ("xmm16") = x;
>+  asm volatile ("" : "+v" (xmm16));
>+  register float xmm17 __asm ("xmm17") = xmm16;
>+  asm volatile ("" : "+v" (xmm17));
>+  d = xmm17;
>+}
>+
>+/* { dg-final { scan-assembler-not "%zmm\[0-9\]+" } } */
>diff --git a/gcc/testsuite/gcc.target/i386/pr89229-5b.c b/gcc/testsuite/gcc.target/i386/pr89229-5b.c
>new file mode 100644
>index 00000000000..cb0f3b55ccc
>--- /dev/null
>+++ b/gcc/testsuite/gcc.target/i386/pr89229-5b.c
>@@ -0,0 +1,6 @@
>+/* { dg-do compile { target { ! ia32 } } } */
>+/* { dg-options "-O2 -march=skylake-avx512 -mno-avx512vl" } */
>+
>+#include "pr89229-5a.c"
>+
>+/* { dg-final { scan-assembler-times "vmovaps\[^\n\r]*zmm1\[67]\[^\n\r]*zmm1\[67]" 1 } } */
>diff --git a/gcc/testsuite/gcc.target/i386/pr89229-5c.c b/gcc/testsuite/gcc.target/i386/pr89229-5c.c
>new file mode 100644
>index 00000000000..529a520133c
>--- /dev/null
>+++ b/gcc/testsuite/gcc.target/i386/pr89229-5c.c
>@@ -0,0 +1,6 @@
>+/* { dg-do compile { target { ! ia32 } } } */
>+/* { dg-options "-O2 -march=skylake-avx512 -mprefer-vector-width=512" } */
>+
>+#include "pr89229-5a.c"
>+
>+/* { dg-final { scan-assembler-not "%zmm\[0-9\]+" } } */
>diff --git a/gcc/testsuite/gcc.target/i386/pr89229-6a.c b/gcc/testsuite/gcc.target/i386/pr89229-6a.c
>new file mode 100644
>index 00000000000..f88d7c8d74c
>--- /dev/null
>+++ b/gcc/testsuite/gcc.target/i386/pr89229-6a.c
>@@ -0,0 +1,16 @@
>+/* { dg-do compile { target { ! ia32 } } } */
>+/* { dg-options "-O2 -march=skylake-avx512" } */
>+
>+extern double d;
>+
>+void
>+foo1 (double x)
>+{
>+  register double xmm16 __asm ("xmm16") = x;
>+  asm volatile ("" : "+v" (xmm16));
>+  register double xmm17 __asm ("xmm17") = xmm16;
>+  asm volatile ("" : "+v" (xmm17));
>+  d = xmm17;
>+}
>+
>+/* { dg-final { scan-assembler-not "%zmm\[0-9\]+" } } */
>diff --git a/gcc/testsuite/gcc.target/i386/pr89229-6b.c b/gcc/testsuite/gcc.target/i386/pr89229-6b.c
>new file mode 100644
>index 00000000000..316d85d921e
>--- /dev/null
>+++ b/gcc/testsuite/gcc.target/i386/pr89229-6b.c
>@@ -0,0 +1,6 @@
>+/* { dg-do compile { target { ! ia32 } } } */
>+/* { dg-options "-O2 -march=skylake-avx512 -mno-avx512vl" } */
>+
>+#include "pr89229-6a.c"
>+
>+/* { dg-final { scan-assembler-times "vmovapd\[^\n\r]*zmm1\[67]\[^\n\r]*zmm1\[67]" 1 } } */
>diff --git a/gcc/testsuite/gcc.target/i386/pr89229-6c.c b/gcc/testsuite/gcc.target/i386/pr89229-6c.c
>new file mode 100644
>index 00000000000..7a4d254670c
>--- /dev/null
>+++ b/gcc/testsuite/gcc.target/i386/pr89229-6c.c
>@@ -0,0 +1,6 @@
>+/* { dg-do compile { target { ! ia32 } } } */
>+/* { dg-options "-O2 -march=skylake-avx512 -mprefer-vector-width=512" } */
>+
>+#include "pr89229-6a.c"
>+
>+/* { dg-final { scan-assembler-not "%zmm\[0-9\]+" } } */
>diff --git a/gcc/testsuite/gcc.target/i386/pr89229-7a.c b/gcc/testsuite/gcc.target/i386/pr89229-7a.c
>new file mode 100644
>index 00000000000..fcb85c366b6
>--- /dev/null
>+++ b/gcc/testsuite/gcc.target/i386/pr89229-7a.c
>@@ -0,0 +1,16 @@
>+/* { dg-do compile { target { ! ia32 } } } */
>+/* { dg-options "-O2 -march=skylake-avx512" } */
>+
>+extern __float128 d;
>+
>+void
>+foo1 (__float128 x)
>+{
>+  register __float128 xmm16 __asm ("xmm16") = x;
>+  asm volatile ("" : "+v" (xmm16));
>+  register __float128 xmm17 __asm ("xmm17") = xmm16;
>+  asm volatile ("" : "+v" (xmm17));
>+  d = xmm17;
>+}
>+
>+/* { dg-final { scan-assembler-not "%zmm\[0-9\]+" } } */
>diff --git a/gcc/testsuite/gcc.target/i386/pr89229-7b.c b/gcc/testsuite/gcc.target/i386/pr89229-7b.c
>new file mode 100644
>index 00000000000..37eb83c783b
>--- /dev/null
>+++ b/gcc/testsuite/gcc.target/i386/pr89229-7b.c
>@@ -0,0 +1,12 @@
>+/* { dg-do compile { target { ! ia32 } } } */
>+/* { dg-options "-O2 -march=skylake-avx512 -mno-avx512vl" } */
>+
>+extern __float128 d;
>+
>+void
>+foo1 (__float128 x)
>+{
>+  register __float128 xmm16 __asm ("xmm16") = x; /* { dg-error "register specified for 'xmm16'" } */
>+  asm volatile ("" : "+v" (xmm16));
>+  d = xmm16;
>+}
>diff --git a/gcc/testsuite/gcc.target/i386/pr89229-7c.c b/gcc/testsuite/gcc.target/i386/pr89229-7c.c
>new file mode 100644
>index 00000000000..e37ff2bf5bd
>--- /dev/null
>+++ b/gcc/testsuite/gcc.target/i386/pr89229-7c.c
>@@ -0,0 +1,6 @@
>+/* { dg-do compile { target { ! ia32 } } } */
>+/* { dg-options "-O2 -march=skylake-avx512 -mprefer-vector-width=512" } */
>+
>+#include "pr89229-7a.c"
>+
>+/* { dg-final { scan-assembler-not "%zmm\[0-9\]+" } } */
>-- 
>2.20.1
>
>From gcc-bugs-return-634853-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 16:35:59 2019
Return-Path: <gcc-bugs-return-634853-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76316 invoked by alias); 22 Feb 2019 16:35: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 75894 invoked by uid 55); 22 Feb 2019 16:35:54 -0000
From: "matmal01 at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89324] [9 Regression] ICE in extract_constrain_insn, at recog.c:2211 on aarch64
Date: Fri, 22 Feb 2019 16:35: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: matmal01 at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: matmal01 at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89324-4-EImZ0J61hl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89324-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89324-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: 2019-02/txt/msg03155.txt.bz2
Content-length: 2996

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89324

--- Comment #5 from Matthew Malcomson <matmal01 at gcc dot gnu.org> ---
Author: matmal01
Date: Fri Feb 22 16:35:22 2019
New Revision: 269122

URL: https://gcc.gnu.org/viewcvs?rev=269122&root=gcc&view=rev
Log:
Handle stack pointer with SUBS/ADDS instructions.

In general the stack pointer was not handled for many SUBS/ADDS patterns in
aarch64.md.
Both the "extended register" and "immediate" forms allow the stack pointer to
be
used as the source register, while no form allows the stack pointer for the
destination register.

The define_insn patterns generating ADDS/SUBS did not allow the stack pointer
for any operand, while the define_peephole2 patterns that generated RTX to be
matched by these patterns allowed the stack pointer for any operand.

The patterns are fixed by adding the 'k' constraint for the first source
operand
to all define_insns that generate the ADDS/SUBS "extended register" and
"immediate" forms (but not the "shifted register" form).

In peephole optimizations, constraint strings are ignored (see "(gccint) C
Constraint Interface" info node in the documentation), so the decision to act
or
not is based solely on the predicate and condition.
This patch introduces a new predicate "aarch64_general_reg" to be used in
define_peephole2 patterns where only GENERAL_REGS registers are acceptable and
uses that predicate in the peepholes that generate patterns for ADDS/SUBS.

Full bootstrap and regtest done on aarch64-none-linux-gnu.
Regression tests done on aarch64-none-linux-gnu and aarch64-none-elf cross
compiler.

OK for trunk?


gcc/ChangeLog:

2019-02-22  Matthew Malcomson  <matthew.malcomson@arm.com>

        PR target/89324
        * config/aarch64/aarch64.md: Use aarch64_general_reg predicate on
        destination register in peepholes generating patterns for ADDS/SUBS.
        (add<mode>3_compare0,
        *addsi3_compare0_uxtw, add<mode>3_compareC,
        add<mode>3_compareV_imm, add<mode>3_compareV,
        *adds_<optab><ALLX:mode>_<GPI:mode>,
        *subs_<optab><ALLX:mode>_<GPI:mode>,
        *adds_<optab><ALLX:mode>_shift_<GPI:mode>,
        *subs_<optab><ALLX:mode>_shift_<GPI:mode>,
        *adds_<optab><mode>_multp2, *subs_<optab><mode>_multp2,
        *sub<mode>3_compare0, *subsi3_compare0_uxtw,
        sub<mode>3_compare1): Allow stack pointer for source register.
        * config/aarch64/predicates.md (aarch64_general_reg): New predicate.


gcc/testsuite/ChangeLog:

2019-02-22  Matthew Malcomson  <matthew.malcomson@arm.com>

        PR target/89324
        * gcc.dg/rtl/aarch64/subs_adds_sp.c: New test.
        * gfortran.fortran-torture/compile/pr89324.f90: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/rtl/aarch64/subs_adds_sp.c
    trunk/gcc/testsuite/gfortran.fortran-torture/compile/pr89324.f90
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/aarch64/aarch64.md
    trunk/gcc/config/aarch64/predicates.md
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634854-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 16:39:24 2019
Return-Path: <gcc-bugs-return-634854-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107626 invoked by alias); 22 Feb 2019 16:39: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 107342 invoked by uid 55); 22 Feb 2019 16:39:20 -0000
From: "law at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/87761] [9 regression][MIPS] New FAIL: gcc.target/mips/fix-r4000-10.c   -O1 start with r265398
Date: Fri, 22 Feb 2019 16:39: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: law at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-87761-4-7bQjUJqCf7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87761-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87761-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: 2019-02/txt/msg03156.txt.bz2
Content-length: 503

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87761

--- Comment #13 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Fri Feb 22 16:38:43 2019
New Revision: 269123

URL: https://gcc.gnu.org/viewcvs?rev=269123&root=gcc&view=rev
Log:
        PR rtl-optimization/87761
        * config/mips/mips.md: Add new combiner pattern to recognize
        a bitfield extraction using (ashiftrt (truncate (ashift (...)))).

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/mips/mips.md
>From gcc-bugs-return-634855-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 16:41:43 2019
Return-Path: <gcc-bugs-return-634855-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120125 invoked by alias); 22 Feb 2019 16:41:43 -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 119731 invoked by uid 48); 22 Feb 2019 16:41:39 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89445] [9 regression] _mm512_maskz_loadu_pd "forgets" to use the mask
Date: Fri, 22 Feb 2019 16:41: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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 cc everconfirmed
Message-ID: <bug-89445-4-cDYkYOBMwB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89445-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89445-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: 2019-02/txt/msg03157.txt.bz2
Content-length: 3722

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89445

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-22
                 CC|                            |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Indeed.  Before that change we have:
Trying 36, 47 -> 51:
   36: r117:V8DF=vec_merge([r107:DI+r103:DI],const_vector,r90:HI#0)
   47: r124:V8DF={r117:V8DF*r94:V8DF+r121:V8DF}
      REG_DEAD r121:V8DF
      REG_DEAD r117:V8DF
   51: [r100:DI]=vec_merge(r124:V8DF,[r100:DI],r90:HI#0)
      REG_DEAD r100:DI
      REG_DEAD r124:V8DF
Failed to match this instruction:
(set (mem:V8DF (reg/f:DI 100 [ _30 ]) [0  S64 A8])
    (vec_merge:V8DF (fma:V8DF (vec_merge:V8DF (mem:V8DF (plus:DI (reg/v/f:DI
107 [ x ])
                        (reg/v:DI 103 [ i ])) [0  S64 A8])
                (const_vector:V8DF [
                        (const_double:DF 0.0 [0x0.0p+0])
                        (const_double:DF 0.0 [0x0.0p+0])
                        (const_double:DF 0.0 [0x0.0p+0])
                        (const_double:DF 0.0 [0x0.0p+0])
                        (const_double:DF 0.0 [0x0.0p+0])
                        (const_double:DF 0.0 [0x0.0p+0])
                        (const_double:DF 0.0 [0x0.0p+0])
                        (const_double:DF 0.0 [0x0.0p+0])
                    ])
                (subreg:QI (reg/v:HI 90 [ mask ]) 0))
            (reg:V8DF 94 [ _18 ])
            (reg:V8DF 121))
        (mem:V8DF (reg/f:DI 100 [ _30 ]) [0  S64 A8])
        (subreg:QI (reg/v:HI 90 [ mask ]) 0)))
With the change:
Trying 36, 47 -> 51:
   36: r117:V8DF=vec_merge([r107:DI+r103:DI],const_vector,r90:HI#0)
   47: r124:V8DF={r117:V8DF*r94:V8DF+r121:V8DF}
      REG_DEAD r121:V8DF
      REG_DEAD r117:V8DF
   51: [r100:DI]=vec_merge(r124:V8DF,[r100:DI],r90:HI#0)
      REG_DEAD r100:DI
      REG_DEAD r124:V8DF
Failed to match this instruction:
(set (mem:V8DF (reg/f:DI 100 [ _30 ]) [0  S64 A8])
    (vec_merge:V8DF (fma:V8DF (mem:V8DF (plus:DI (reg/v/f:DI 107 [ x ])
                    (reg/v:DI 103 [ i ])) [0  S64 A8])
            (reg:V8DF 94 [ _18 ])
            (reg:V8DF 121))
        (mem:V8DF (reg/f:DI 100 [ _30 ]) [0  S64 A8])
        (subreg:QI (reg/v:HI 90 [ mask ]) 0)))
Successfully matched this instruction:
(set (reg:V8DF 124)
    (fma:V8DF (mem:V8DF (plus:DI (reg/v/f:DI 107 [ x ])
                (reg/v:DI 103 [ i ])) [0  S64 A8])
        (reg:V8DF 94 [ _18 ])
        (reg:V8DF 121)))
Successfully matched this instruction:
(set (mem:V8DF (reg/f:DI 100 [ _30 ]) [0  S64 A8])
    (vec_merge:V8DF (reg:V8DF 124)
        (mem:V8DF (reg/f:DI 100 [ _30 ]) [0  S64 A8])
        (subreg:QI (reg/v:HI 90 [ mask ]) 0)))

Something like simplify_merge_mask can be done only if there are MEMs involved
in the operand (or guaranteed not to trap through MEM_NOTRAP_P) and if all the
operations don't have trap states or similar issues (so no floating point ops
nor division by zero, anything else?).
In theory, if the second argument in both inner and outer VEC_MERGE is
CONST_VECTOR and we could prove that feeding that constant into the operation
would result in that same value always, we could optimize away the outer
VEC_MERGE rather than inner, but I guess with floating point ops and signed
zero etc. even that might be hard.

So, shall we just revert that commit until it is fixed, or is there an easy way
to avoid doing it in the problematic cases?
>From gcc-bugs-return-634856-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 16:52:57 2019
Return-Path: <gcc-bugs-return-634856-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54144 invoked by alias); 22 Feb 2019 16:52:57 -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 53930 invoked by uid 48); 22 Feb 2019 16:52:53 -0000
From: "matmal01 at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89324] [9 Regression] ICE in extract_constrain_insn, at recog.c:2211 on aarch64
Date: Fri, 22 Feb 2019 16: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: matmal01 at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: matmal01 at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89324-4-fDGTb5Ffxa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89324-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89324-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: 2019-02/txt/msg03158.txt.bz2
Content-length: 446

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89324

Matthew Malcomson <matmal01 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Matthew Malcomson <matmal01 at gcc dot gnu.org> ---
Fixed on trunk.
>From gcc-bugs-return-634858-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 16:58:35 2019
Return-Path: <gcc-bugs-return-634858-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81197 invoked by alias); 22 Feb 2019 16:58: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 81001 invoked by uid 48); 22 Feb 2019 16:58:30 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89446] [7/8 Regression] __builtin_constant_p expression crashes in char_traits::compare
Date: Fri, 22 Feb 2019 16:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89446-4-UwnpcmWUze@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89446-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89446-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: 2019-02/txt/msg03160.txt.bz2
Content-length: 328

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89446

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #1)
> Not just
> while (__i < __n && __builtin_constant_p(__a[__i]))
> ?

Yeah that's what I'm testing, not sure where the (i < n && __bcp && i < n)
version came from!
>From gcc-bugs-return-634857-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 16:58:18 2019
Return-Path: <gcc-bugs-return-634857-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79753 invoked by alias); 22 Feb 2019 16:58:18 -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 79564 invoked by uid 48); 22 Feb 2019 16:58:14 -0000
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/86259] [8/9 Regression] min(4, strlen(s)) optimized to strlen(s) with -flto
Date: Fri, 22 Feb 2019 16:58: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.1.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bernd.edlinger at hotmail dot de
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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86259-4-x1ummgojZq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86259-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86259-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: 2019-02/txt/msg03159.txt.bz2
Content-length: 160

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86259

--- Comment #35 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
at least gcc 9 has been fixed.
>From gcc-bugs-return-634859-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 17:10:24 2019
Return-Path: <gcc-bugs-return-634859-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109969 invoked by alias); 22 Feb 2019 17:10: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 107728 invoked by uid 48); 22 Feb 2019 17:10:20 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89445] [9 regression] _mm512_maskz_loadu_pd "forgets" to use the mask
Date: Fri, 22 Feb 2019 17:10: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89445-4-HGbBBm5HA9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89445-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89445-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: 2019-02/txt/msg03161.txt.bz2
Content-length: 1461

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89445

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Something like:
--- gcc/simplify-rtx.c.jj       2019-01-10 11:43:14.390377646 +0100
+++ gcc/simplify-rtx.c  2019-02-22 17:54:36.633829649 +0100
@@ -6073,8 +6073,10 @@ simplify_ternary_operation (enum rtx_cod

       if (!side_effects_p (op2))
        {
-         rtx top0 = simplify_merge_mask (op0, op2, 0);
-         rtx top1 = simplify_merge_mask (op1, op2, 1);
+         rtx top0
+           = may_trap_p (op0) ? NULL_RTX : simplify_merge_mask (op0, op2, 0);
+         rtx top1
+           = may_trap_p (op1) ? NULL_RTX : simplify_merge_mask (op1, op2, 1);
          if (top0 || top1)
            return simplify_gen_ternary (code, mode, mode,
                                         top0 ? top0 : op0,
fixes this, except that it seems may_trap_p_1 isn't really ready to handle
vectors (or do they never trap, that would surprise me).

E.g. 
    default:
      /* Any floating arithmetic may trap.  */
      if (SCALAR_FLOAT_MODE_P (GET_MODE (x)) && flag_trapping_math)
        return 1;
Shouldn't that really be FLOAT_MODE_P instead of SCALAR_FLOAT_MODE_P?
For DIV etc. the above plus:
      if (!CONSTANT_P (XEXP (x, 1)) || (XEXP (x, 1) == const0_rtx))
        return 1;
wouldn't we want test for vector integer divisions (does any target have them,
maybe mips?) if all the elements of a CONST_VECTOR are non-zero?
>From gcc-bugs-return-634860-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 17:16:00 2019
Return-Path: <gcc-bugs-return-634860-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97053 invoked by alias); 22 Feb 2019 17:16: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 96747 invoked by uid 48); 22 Feb 2019 17:15:56 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89445] [9 regression] _mm512_maskz_loadu_pd "forgets" to use the mask
Date: Fri, 22 Feb 2019 17:16: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89445-4-fVYBTVowiS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89445-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89445-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: 2019-02/txt/msg03162.txt.bz2
Content-length: 612

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89445

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
        vmovupd (%rsi,%rax), %zmm1{%k1}{z}
        addq    %rdx, %rax
        vmovupd (%rax), %zmm2{%k1}{z}
        vfmadd132pd     %zmm0, %zmm2, %zmm1
        vmovupd %zmm1, (%rax){%k1}
isn't optimal btw, it would be nice if we could merge that masking into the
vfmadd132pd instruction, like:
        vmovupd (%rsi,%rax), %zmm1{%k1}{z}
        addq    %rdx, %rax
        vfmadd132pd     (%rax), %zmm2, %zmm1%{k1}{z}
        vmovupd %zmm1, (%rax){%k1}
but not really sure how to achieve that.
>From gcc-bugs-return-634861-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 17:28:43 2019
Return-Path: <gcc-bugs-return-634861-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38618 invoked by alias); 22 Feb 2019 17:28: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 38193 invoked by uid 48); 22 Feb 2019 17:28:36 -0000
From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/85762] [8/9 Regression] range-v3 abstraction overhead not optimized away
Date: Fri, 22 Feb 2019 17:28: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jamborm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jamborm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85762-4-RmIfw7XqgE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85762-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85762-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: 2019-02/txt/msg03163.txt.bz2
Content-length: 2205

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85762

--- Comment #6 from Martin Jambor <jamborm at gcc dot gnu.org> ---
The problem is that we now consider MEM_REFs loading a different type
than the one of the underlying DECL as V_C_E and are equally careful
about it.

I this particular case, we have statements like.

MEM[(struct box *)&D.389258].value = pos

Where D.363334 is of type struct adaptor_cursor.  If we follow the
chain of first non-method fields, we get struct adaptor_cursor ->
struct adaptor_value_type_ -> struct adaptor_value_type_2_ -> struct
compressed_pair -> struct tagged -> struct getter -> struct getter ->
struct compressed_tuple_ -> struct box, which is the type of the
MEM_REF itself.

So the MEM_REF is not really a V_C_E but instead represents a bunch of
COMPONENT_REFs.  The following patch makes all of the overhead go away
but I guess the type walking results should be cached somehow and it
also only works for MEM_REFs with zero offset, I'm not sure how likely
it is to get MEM_REFs with equal semantics for fields with non-zero
offset.

diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c
index eeef31ba496..e94d01e0ffa 100644
--- a/gcc/tree-sra.c
+++ b/gcc/tree-sra.c
@@ -1169,10 +1169,27 @@ contains_vce_or_bfcref_p (const_tree ref)
       || TREE_CODE (TREE_OPERAND (ref, 0)) != ADDR_EXPR)
     return false;

-  tree mem = TREE_OPERAND (TREE_OPERAND (ref, 0), 0);
+  tree mem_type = TREE_TYPE (TREE_OPERAND (TREE_OPERAND (ref, 0), 0));
   if (TYPE_MAIN_VARIANT (TREE_TYPE (ref))
-      != TYPE_MAIN_VARIANT (TREE_TYPE (mem)))
-    return true;
+      != TYPE_MAIN_VARIANT (mem_type))
+    {
+      while (TREE_CODE (mem_type) == RECORD_TYPE)
+       {
+         tree fld;
+         for (fld = TYPE_FIELDS (mem_type); fld; fld = DECL_CHAIN (fld))
+           if (TREE_CODE (fld) == FIELD_DECL)
+             {
+               if (TYPE_MAIN_VARIANT (TREE_TYPE (ref))
+                   == TYPE_MAIN_VARIANT (TREE_TYPE (fld)))
+                 return false;
+               mem_type = TREE_TYPE (fld);
+               break;
+             }
+         if (!fld)
+           break;
+       }
+      return true;
+    }

   return false;
 }
>From gcc-bugs-return-634862-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 17:38:56 2019
Return-Path: <gcc-bugs-return-634862-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127294 invoked by alias); 22 Feb 2019 17:38:55 -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 126638 invoked by uid 55); 22 Feb 2019 17:38:49 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88853] ICE: verify_type failed (error: type variant differs by TYPE_PACKED)
Date: Fri, 22 Feb 2019 17:38: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: unknown
X-Bugzilla-Keywords: ice-checking, ice-on-valid-code
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:
Message-ID: <bug-88853-4-om3oDppZBt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88853-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88853-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: 2019-02/txt/msg03164.txt.bz2
Content-length: 1535

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88853

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Author: msebor
Date: Fri Feb 22 17:38:11 2019
New Revision: 269125

URL: https://gcc.gnu.org/viewcvs?rev=269125&root=gcc&view=rev
Log:
PR tree-optimization/88993 - GCC 9 -Wformat-overflow=2 should reflect real libc
limits
PR tree-optimization/88835 - overly aggressive -Werror=format-overflow for
printf

gcc/ChangeLog:

        PR tree-optimization/88993
        PR tree-optimization/88853
        * gimple-ssa-sprintf.c (sprintf_dom_walker::call_info::is_file_func):
        New helper.
        (sprintf_dom_walker::call_info::is_string_func): New helper.
        (format_directive): Only issue "may exceed" 4095/INT_MAX warnings
        for formatted string functions.
        (sprintf_dom_walker::handle_gimple_call): Fix a typo in a comment.

gcc/testsuite/ChangeLog:

        PR tree-optimization/88993
        PR tree-optimization/88853
        * gcc.dg/tree-ssa/builtin-fprintf-warn-2.c: New test.
        * gcc.dg/tree-ssa/builtin-printf-warn-2.c: New test.
        * gcc.dg/tree-ssa/builtin-snprintf-warn-3.c: Adjust.
        * gcc.dg/tree-ssa/builtin-sprintf-warn-18.c: Same.


Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/builtin-fprintf-warn-2.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/builtin-printf-warn-2.c
Modified:
    trunk/gcc/gimple-ssa-sprintf.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/builtin-snprintf-warn-3.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c
>From gcc-bugs-return-634864-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 17:38:58 2019
Return-Path: <gcc-bugs-return-634864-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127618 invoked by alias); 22 Feb 2019 17:38:57 -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 127111 invoked by uid 55); 22 Feb 2019 17:38:52 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88993] [9 Regression] GCC 9 -Wformat-overflow=2 should reflect real libc limits
Date: Fri, 22 Feb 2019 17:38: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: diagnostic, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88993-4-AAg6eUJYop@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88993-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88993-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: 2019-02/txt/msg03166.txt.bz2
Content-length: 1536

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88993

--- Comment #14 from Martin Sebor <msebor at gcc dot gnu.org> ---
Author: msebor
Date: Fri Feb 22 17:38:11 2019
New Revision: 269125

URL: https://gcc.gnu.org/viewcvs?rev=269125&root=gcc&view=rev
Log:
PR tree-optimization/88993 - GCC 9 -Wformat-overflow=2 should reflect real libc
limits
PR tree-optimization/88835 - overly aggressive -Werror=format-overflow for
printf

gcc/ChangeLog:

        PR tree-optimization/88993
        PR tree-optimization/88853
        * gimple-ssa-sprintf.c (sprintf_dom_walker::call_info::is_file_func):
        New helper.
        (sprintf_dom_walker::call_info::is_string_func): New helper.
        (format_directive): Only issue "may exceed" 4095/INT_MAX warnings
        for formatted string functions.
        (sprintf_dom_walker::handle_gimple_call): Fix a typo in a comment.

gcc/testsuite/ChangeLog:

        PR tree-optimization/88993
        PR tree-optimization/88853
        * gcc.dg/tree-ssa/builtin-fprintf-warn-2.c: New test.
        * gcc.dg/tree-ssa/builtin-printf-warn-2.c: New test.
        * gcc.dg/tree-ssa/builtin-snprintf-warn-3.c: Adjust.
        * gcc.dg/tree-ssa/builtin-sprintf-warn-18.c: Same.


Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/builtin-fprintf-warn-2.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/builtin-printf-warn-2.c
Modified:
    trunk/gcc/gimple-ssa-sprintf.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/builtin-snprintf-warn-3.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c
>From gcc-bugs-return-634863-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 17:38:58 2019
Return-Path: <gcc-bugs-return-634863-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127562 invoked by alias); 22 Feb 2019 17:38:57 -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 127107 invoked by uid 55); 22 Feb 2019 17:38:52 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88835] overly aggressive -Werror=format-overflow for printf since r265648
Date: Fri, 22 Feb 2019 17:38: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: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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:
Message-ID: <bug-88835-4-2KQz7d0X7F@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88835-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88835-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: 2019-02/txt/msg03165.txt.bz2
Content-length: 1536

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88835

--- Comment #15 from Martin Sebor <msebor at gcc dot gnu.org> ---
Author: msebor
Date: Fri Feb 22 17:38:11 2019
New Revision: 269125

URL: https://gcc.gnu.org/viewcvs?rev=269125&root=gcc&view=rev
Log:
PR tree-optimization/88993 - GCC 9 -Wformat-overflow=2 should reflect real libc
limits
PR tree-optimization/88835 - overly aggressive -Werror=format-overflow for
printf

gcc/ChangeLog:

        PR tree-optimization/88993
        PR tree-optimization/88853
        * gimple-ssa-sprintf.c (sprintf_dom_walker::call_info::is_file_func):
        New helper.
        (sprintf_dom_walker::call_info::is_string_func): New helper.
        (format_directive): Only issue "may exceed" 4095/INT_MAX warnings
        for formatted string functions.
        (sprintf_dom_walker::handle_gimple_call): Fix a typo in a comment.

gcc/testsuite/ChangeLog:

        PR tree-optimization/88993
        PR tree-optimization/88853
        * gcc.dg/tree-ssa/builtin-fprintf-warn-2.c: New test.
        * gcc.dg/tree-ssa/builtin-printf-warn-2.c: New test.
        * gcc.dg/tree-ssa/builtin-snprintf-warn-3.c: Adjust.
        * gcc.dg/tree-ssa/builtin-sprintf-warn-18.c: Same.


Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/builtin-fprintf-warn-2.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/builtin-printf-warn-2.c
Modified:
    trunk/gcc/gimple-ssa-sprintf.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/builtin-snprintf-warn-3.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c
>From gcc-bugs-return-634867-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 17:40:08 2019
Return-Path: <gcc-bugs-return-634867-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4976 invoked by alias); 22 Feb 2019 17:40: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 4505 invoked by uid 48); 22 Feb 2019 17:40:03 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88835] overly aggressive -Werror=format-overflow for printf since r265648
Date: Fri, 22 Feb 2019 17:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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 resolution
Message-ID: <bug-88835-4-il6goxs472@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88835-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88835-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: 2019-02/txt/msg03169.txt.bz2
Content-length: 502

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88835
Bug 88835 depends on bug 88993, which changed state.

Bug 88993 Summary: [9 Regression] GCC 9 -Wformat-overflow=2 should reflect real libc limits
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88993

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-634866-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 17:40:08 2019
Return-Path: <gcc-bugs-return-634866-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4898 invoked by alias); 22 Feb 2019 17:40: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 4461 invoked by uid 48); 22 Feb 2019 17:40:03 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/85741] [meta-bug] bogus/missing -Wformat-overflow
Date: Fri, 22 Feb 2019 17:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: diagnostic, meta-bug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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 resolution
Message-ID: <bug-85741-4-nrfZ0nykFf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85741-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85741-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: 2019-02/txt/msg03168.txt.bz2
Content-length: 502

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85741
Bug 85741 depends on bug 88993, which changed state.

Bug 88993 Summary: [9 Regression] GCC 9 -Wformat-overflow=2 should reflect real libc limits
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88993

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-634865-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 17:40:06 2019
Return-Path: <gcc-bugs-return-634865-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4657 invoked by alias); 22 Feb 2019 17:40:06 -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 4373 invoked by uid 48); 22 Feb 2019 17:40:02 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88993] [9 Regression] GCC 9 -Wformat-overflow=2 should reflect real libc limits
Date: Fri, 22 Feb 2019 17:40: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: diagnostic, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-88993-4-0jh1o98Z2l@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88993-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88993-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: 2019-02/txt/msg03167.txt.bz2
Content-length: 468

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88993

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #15 from Martin Sebor <msebor at gcc dot gnu.org> ---
The warning has been relaxed for GCC 9 in r269125.
>From gcc-bugs-return-634869-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 17:41:06 2019
Return-Path: <gcc-bugs-return-634869-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11015 invoked by alias); 22 Feb 2019 17:41:06 -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 10692 invoked by uid 48); 22 Feb 2019 17:41:02 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/85741] [meta-bug] bogus/missing -Wformat-overflow
Date: Fri, 22 Feb 2019 17:41:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 8.0
X-Bugzilla-Keywords: diagnostic, meta-bug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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 resolution
Message-ID: <bug-85741-4-njCTeKeUIU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85741-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85741-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: 2019-02/txt/msg03171.txt.bz2
Content-length: 496

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85741
Bug 85741 depends on bug 88835, which changed state.

Bug 88835 Summary: overly aggressive -Werror=format-overflow for printf since r265648
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88835

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-634868-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 17:41:06 2019
Return-Path: <gcc-bugs-return-634868-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10946 invoked by alias); 22 Feb 2019 17:41: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 10604 invoked by uid 48); 22 Feb 2019 17:41:01 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88835] overly aggressive -Werror=format-overflow for printf since r265648
Date: Fri, 22 Feb 2019 17:41: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: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-88835-4-bElbO4etmb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88835-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88835-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: 2019-02/txt/msg03170.txt.bz2
Content-length: 468

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88835

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #16 from Martin Sebor <msebor at gcc dot gnu.org> ---
The warning has been relaxed for GCC 9 in r269125.
>From gcc-bugs-return-634870-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 17:47:47 2019
Return-Path: <gcc-bugs-return-634870-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40595 invoked by alias); 22 Feb 2019 17:47: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 40351 invoked by uid 48); 22 Feb 2019 17:47:42 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/81431] add warning for missing initializers in constructor
Date: Fri, 22 Feb 2019 17: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: unknown
X-Bugzilla-Keywords: diagnostic
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-81431-4-BdsmGAdSwo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81431-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81431-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: 2019-02/txt/msg03172.txt.bz2
Content-length: 492

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81431

--- Comment #4 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #3)
> I would prefer to see -Weffc++ deprecated and removed, so tying this valid
> request to -Weffc++ might see it die.

If bug 16166 is fixed, then this request would be tied to whichever suboption
the warning is moved to, rather than to -Weffc++ itself. Splitting -Weffc++ up
could be a step to deprecating/removing it.
>From gcc-bugs-return-634871-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 17:57:35 2019
Return-Path: <gcc-bugs-return-634871-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99301 invoked by alias); 22 Feb 2019 17:57: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 98805 invoked by uid 55); 22 Feb 2019 17:57:31 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/87609] [7/8 Regression] miscompilation with restrict and loop
Date: Fri, 22 Feb 2019 17: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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87609-4-ifLEfknVXL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87609-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87609-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: 2019-02/txt/msg03173.txt.bz2
Content-length: 481

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87609

--- Comment #12 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Feb 22 17:56:59 2019
New Revision: 269127

URL: https://gcc.gnu.org/viewcvs?rev=269127&root=gcc&view=rev
Log:
2019-02-22  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/87609
        * tree-cfg.c (gimple_duplicate_bb): Only remap inlined cliques.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-cfg.c
>From gcc-bugs-return-634872-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 18:04:07 2019
Return-Path: <gcc-bugs-return-634872-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6336 invoked by alias); 22 Feb 2019 18:04: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 5852 invoked by uid 48); 22 Feb 2019 18:04:03 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/4898] adding an option to verify exception specifications [-Wexceptions]
Date: Fri, 22 Feb 2019 18:04: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: 3.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: enhancement
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: blocked short_desc
Message-ID: <bug-4898-4-A06CPDR5to@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-4898-4@http.gcc.gnu.org/bugzilla/>
References: <bug-4898-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: 2019-02/txt/msg03174.txt.bz2
Content-length: 1535

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=4898

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |87403
            Summary|adding an option to verify  |adding an option to verify
                   |exception specifications    |exception specifications
                   |                            |[-Wexceptions]

--- Comment #8 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #7)
> (In reply to Martin Sebor from comment #2)
> > I agree a new warning would be useful. For example, the following code should
> > be diagnosed:
> > 
> > struct S { S () throw () { throw 0; } };
> 
> This is still relevant in current standards, where throw() is equivalent to
> noexcept.
> 
> Clang warns:
> 
> throw.cc:1:28: warning: 'S' has a non-throwing exception specification but
> can still throw [-Wexceptions]
> struct S { S () throw () { throw 0; } };
>                            ^
> throw.cc:1:12: note: function declared non-throwing here
> struct S { S () throw () { throw 0; } };
>            ^    ~~~~~~~~
> 1 warning generated.
> 

Having a -Wexceptions like clang's would be a useful new warning; thus, making
this block the new-warning meta-bug


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-634873-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 18:05:30 2019
Return-Path: <gcc-bugs-return-634873-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13496 invoked by alias); 22 Feb 2019 18:05: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 12994 invoked by uid 48); 22 Feb 2019 18:05:24 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/704] --help and --version
Date: Fri, 22 Feb 2019 18:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: 2.97
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: egallager at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-704-4-jPZ5bBEorN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-704-4@http.gcc.gnu.org/bugzilla/>
References: <bug-704-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: 2019-02/txt/msg03175.txt.bz2
Content-length: 1020

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=704

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #17 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #16)
> (In reply to Iain Sandoe from comment #15)
> > Author: iains
> > Date: Wed Aug 22 12:12:46 2018
> > New Revision: 263768
> > 
> > URL: https://gcc.gnu.org/viewcvs?rev=263768&root=gcc&view=rev
> > Log:
> > Make the gcc-ar,nm, strip tools respond correctly to --help and --version
> > when there's no plugin built.
> > 
> > gcc/
> > 
> > 	PR other/704
> > 	* gcc-ar.c (main): Don’t try to invoke the plug-in if we’re not
> > 	building it.
> > 
> > 
> > Modified:
> >     trunk/gcc/ChangeLog
> >     trunk/gcc/gcc-ar.c
> 
> So can this be closed now?

WAITING on a reply
>From gcc-bugs-return-634874-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 18:09:00 2019
Return-Path: <gcc-bugs-return-634874-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34040 invoked by alias); 22 Feb 2019 18:08: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 33494 invoked by uid 48); 22 Feb 2019 18:08:53 -0000
From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/87008] [8/9 Regression] gimple mem-to-mem assignment badly optimized
Date: Fri, 22 Feb 2019 18:08: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jamborm 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87008-4-1f9CVOQADL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87008-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87008-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: 2019-02/txt/msg03176.txt.bz2
Content-length: 1083

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87008

--- Comment #7 from Martin Jambor <jamborm at gcc dot gnu.org> ---
(In reply to Marc Glisse from comment #1)
> struct A { double a, b; };
> struct B : A {};
> template<class T>void cp(T&a,T const&b){a=b;}
> double f(B x){
>   B y; cp<A>(y,x);
>   B z; cp<A>(z,x);
>   return y.a - z.a;
> }
> 
> This is not quite equivalent because RTL manages to optimize this case, but
> gimple, with -Ofast, still gets the ugly:
> 
>   ISRA.1 = MEM[(const struct A &)&x];
>   SR.9_9 = MEM[(struct A *)&ISRA.1];
>   ISRA.1 = MEM[(const struct A &)&x];
>   SR.8_10 = MEM[(struct A *)&ISRA.1];
>   _3 = SR.9_9 - SR.8_10;
>   return _3;
> 
> Writing cp<B> instead of cp<A> makes it work, and the main difference starts
> in SRA. I expect (didn't check) this is another victim of r255510 .

Indeed, with the proof-of-concept patch from PR 85762, this gets optimized
into:

  <bb 2> [local count: 1073741824]:
  SR.7_2 = MEM[(const struct A &)&x];
  _3 = SR.7_2 - SR.7_2;
  return _3;

with -O2 and to retrn 0 with -Ofast.
>From gcc-bugs-return-634875-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 18:20:53 2019
Return-Path: <gcc-bugs-return-634875-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123500 invoked by alias); 22 Feb 2019 18:20:52 -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 122857 invoked by uid 48); 22 Feb 2019 18:20:48 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89455] New: [9 Regression] FAIL: g++.target/i386/mv16.C on Westmere
Date: Fri, 22 Feb 2019 18: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:
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 target_milestone cf_gcctarget
Message-ID: <bug-89455-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: 2019-02/txt/msg03177.txt.bz2
Content-length: 723

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89455

            Bug ID: 89455
           Summary: [9 Regression] FAIL: g++.target/i386/mv16.C on
                    Westmere
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---
            Target: i386,x86-64

Since r263989 has been re-applied, I got

FAIL: g++.target/i386/mv16.C  -std=gnu++14 execution test
FAIL: g++.target/i386/mv16.C  -std=gnu++17 execution test
FAIL: g++.target/i386/mv16.C  -std=gnu++98 execution test

on Westmere.
>From gcc-bugs-return-634876-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 18:23:26 2019
Return-Path: <gcc-bugs-return-634876-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6842 invoked by alias); 22 Feb 2019 18:23:26 -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 6459 invoked by uid 48); 22 Feb 2019 18:23:20 -0000
From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/85459] [8/9 Regression] Larger code generated from GMP template meta-programming
Date: Fri, 22 Feb 2019 18:23: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jamborm 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85459-4-FoL0grijBb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85459-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85459-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: 2019-02/txt/msg03178.txt.bz2
Content-length: 337

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85459

--- Comment #9 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Given that this is related to r255510, I tried out the proof-of concept patch
from PR 85762 first too and it shrunk text size (compiled with -O3 and Monday
trunk) from 901 to 417.  So very likely the same issue.
>From gcc-bugs-return-634877-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 18:27:04 2019
Return-Path: <gcc-bugs-return-634877-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27568 invoked by alias); 22 Feb 2019 18:27: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 27313 invoked by uid 48); 22 Feb 2019 18:26:59 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89445] [9 regression] _mm512_maskz_loadu_pd "forgets" to use the mask
Date: Fri, 22 Feb 2019 18: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89445-4-q3bvWd5tj6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89445-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89445-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: 2019-02/txt/msg03179.txt.bz2
Content-length: 258

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89445

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45800
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45800&action=edit
gcc9-pr89445.patch

Full untested fix.
>From gcc-bugs-return-634878-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 18:31:41 2019
Return-Path: <gcc-bugs-return-634878-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90376 invoked by alias); 22 Feb 2019 18:31:41 -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 90009 invoked by uid 48); 22 Feb 2019 18:31:37 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89453] Bug parsing "," operator with openmp
Date: Fri, 22 Feb 2019 18:31: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: jakub 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: bug_status cc resolution
Message-ID: <bug-89453-4-pa42rcQDp1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89453-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89453-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: 2019-02/txt/msg03180.txt.bz2
Content-length: 671

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89453

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
That is not valid OpenMP, so it is perfectly fine it is rejected.
In OpenMP, you can't use arbitrary for (...) following the various loop
pragmas, they have various restrictions.
>From gcc-bugs-return-634879-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 18:34:39 2019
Return-Path: <gcc-bugs-return-634879-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113556 invoked by alias); 22 Feb 2019 18:34: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 113240 invoked by uid 48); 22 Feb 2019 18:34:34 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89453] Bug parsing "," operator with openmp
Date: Fri, 22 Feb 2019 18:34: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: jakub 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-89453-4-V7rfehdvx6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89453-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89453-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: 2019-02/txt/msg03181.txt.bz2
Content-length: 567

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89453

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
See e.g. OpenMP 5.0 2.9.1 chapter, or OpenMP 4.5 2.6 chapter.
for (init-expr; test-expr; incr-expr) structured-block
init-expr
One of the following:
var = lb
integer-type var = lb
random-access-iterator-type var = lb
pointer-type var = lb
...
incr-expr
One of the following:
++var
var++
- - var
var - -
var += incr
var - = incr
var = var + incr
var = incr + var
var = var - incr

So both your init-expr and incr-expr are invalid.
>From gcc-bugs-return-634880-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 18:40:02 2019
Return-Path: <gcc-bugs-return-634880-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13573 invoked by alias); 22 Feb 2019 18:40: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 13122 invoked by uid 48); 22 Feb 2019 18:39:57 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88853] ICE: verify_type failed (error: type variant differs by TYPE_PACKED)
Date: Fri, 22 Feb 2019 18:40: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: unknown
X-Bugzilla-Keywords: ice-checking, ice-on-valid-code
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: cc
Message-ID: <bug-88853-4-O8ZVXMyElk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88853-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88853-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: 2019-02/txt/msg03182.txt.bz2
Content-length: 434

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88853

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |msebor at gcc dot gnu.org

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
Please ignore comment #1 -- wrong bug id in the commit.
>From gcc-bugs-return-634881-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 18:45:47 2019
Return-Path: <gcc-bugs-return-634881-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64058 invoked by alias); 22 Feb 2019 18:45:43 -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 63003 invoked by uid 48); 22 Feb 2019 18:45:29 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89450] RFC: Strengthen -fstrict-enums
Date: Fri, 22 Feb 2019 18:45: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: glisse 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-89450-4-4T4kHjNu1o@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89450-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89450-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: 2019-02/txt/msg03183.txt.bz2
Content-length: 220

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89450

--- Comment #4 from Marc Glisse <glisse at gcc dot gnu.org> ---
Would it make sense to have an attribute so this can be specified for each
enum, instead of globally?
>From gcc-bugs-return-634883-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 18:46:32 2019
Return-Path: <gcc-bugs-return-634883-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69224 invoked by alias); 22 Feb 2019 18:46: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 67535 invoked by uid 48); 22 Feb 2019 18:46:27 -0000
From: "jb at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/32770] [Meta-bug] -fdefault-integer-8 issues
Date: Fri, 22 Feb 2019 18:46:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.3.0
X-Bugzilla-Keywords: meta-bug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jb 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 resolution
Message-ID: <bug-32770-4-PXqHbYchq8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-32770-4@http.gcc.gnu.org/bugzilla/>
References: <bug-32770-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: 2019-02/txt/msg03185.txt.bz2
Content-length: 505

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32770
Bug 32770 depends on bug 84509, which changed state.

Bug 84509 Summary: STOP and ERROR STOP statements with -fdefault-integer-8 and large stop code
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84509

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX
>From gcc-bugs-return-634882-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 18:46:31 2019
Return-Path: <gcc-bugs-return-634882-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68839 invoked by alias); 22 Feb 2019 18:46: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 66910 invoked by uid 48); 22 Feb 2019 18:46:20 -0000
From: "jb at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/84509] STOP and ERROR STOP statements with -fdefault-integer-8 and large stop code
Date: Fri, 22 Feb 2019 18:46: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jb at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WONTFIX
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-84509-4-IfvIKeLtQ5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84509-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84509-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: 2019-02/txt/msg03184.txt.bz2
Content-length: 618

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84509

Janne Blomqvist <jb at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #4 from Janne Blomqvist <jb at gcc dot gnu.org> ---
Closing this as WONTFIX, since GCC 8 has been released, and adding new ABI
entry points just for this corner case isn't worth it. Or if somebody feels
differently, please reopen and contribute a patch.
>From gcc-bugs-return-634884-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 19:09:34 2019
Return-Path: <gcc-bugs-return-634884-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112905 invoked by alias); 22 Feb 2019 19:09: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 112699 invoked by uid 48); 22 Feb 2019 19:09:30 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89456] New: target attribute doesn't work well with -march=native
Date: Fri, 22 Feb 2019 19:09: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:
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 target_milestone cf_gcctarget
Message-ID: <bug-89456-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: 2019-02/txt/msg03186.txt.bz2
Content-length: 816

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89456

            Bug ID: 89456
           Summary: target attribute doesn't work well with -march=native
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---
            Target: i386,x86-64

-march=native is expanded to -march=xxx -myyy -mno-zzz.  Whe compiling

int __attribute__ ((target("arch=broadwell"))) foo () {
  return 13; 
}

arch=broadwell won't set x_ix86_isa_flags since x_ix86_isa_flags_explicit
has been set via command line.  As the result, all_ix86_isa_flags checks
in get_builtin_code_for_version will be wrong.
>From gcc-bugs-return-634885-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 19:10:21 2019
Return-Path: <gcc-bugs-return-634885-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118059 invoked by alias); 22 Feb 2019 19:10: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 117805 invoked by uid 48); 22 Feb 2019 19:10:16 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89450] RFC: Strengthen -fstrict-enums
Date: Fri, 22 Feb 2019 19:10: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
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-89450-4-rYQ3HvcBWE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89450-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89450-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: 2019-02/txt/msg03187.txt.bz2
Content-length: 1614

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89450

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #0)
> Issues is that:
> 
>  14746        /* If -fstrict-enums, still constrain TYPE_MIN/MAX_VALUE.  */
>  14747        if (flag_strict_enums)
>  14748          set_min_and_max_values_for_integral_type (enumtype,
> precision, sgn);
> 
> is called for precision, which sets min = 0 and max = 7.

Because that's how enums work in C++, as required by the standard.

That's not an issue.

> What about doing:
> 
> diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
> index 612afbacd27..46302b4a61d 100644
> --- a/gcc/cp/decl.c
> +++ b/gcc/cp/decl.c
> @@ -14745,7 +14745,10 @@ finish_enum_value_list (tree enumtype)
>  
>        /* If -fstrict-enums, still constrain TYPE_MIN/MAX_VALUE.  */
>        if (flag_strict_enums)
> -	set_min_and_max_values_for_integral_type (enumtype, precision, sgn);
> +	{
> +	  TYPE_MIN_VALUE (enumtype) = minnode;
> +	  TYPE_MAX_VALUE (enumtype) = maxnode;
> +	}
>      }
>    else
>      underlying_type = ENUM_UNDERLYING_TYPE (enumtype);
> 
> I can also imagine another option level when desired.

Please no. -fstrict-enums currently makes the compiler *more* strictly
conforming, by following the rules of the standard. Your suggestion arguably
makes it *less* conforming, by deciding that valid values should emit a
warning.

What you want is not how enums work in C++. Please don't abuse -fstrict-enums
when what you want is "some other kind of enum, not one that strictly follows
the C++ standard".
>From gcc-bugs-return-634886-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 19:11:23 2019
Return-Path: <gcc-bugs-return-634886-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123964 invoked by alias); 22 Feb 2019 19:11: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 123617 invoked by uid 55); 22 Feb 2019 19:11:19 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: =?UTF-8?B?W0J1ZyBsaWJzdGRjKysvODk0MDJdIFs5IFJlZ3Jlc3Npb25dIHdhcm5pbmc6?= =?UTF-8?B?IOKAmHZvaWQgX1pOS1N0NGhhc2hJZUVjbEVlKCnigJkgc3BlY2lmaWVzIGxl?= =?UTF-8?B?c3MgcmVzdHJpY3RpdmUgYXR0cmlidXRlIHRoYW4gaXRzIHRhcmdldA==?Date: Fri, 22 Feb 2019 19:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89402-4-9ViNy1uM6V@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89402-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89402-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: 2019-02/txt/msg03188.txt.bz2
Content-length: 530

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89402

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Feb 22 19:10:47 2019
New Revision: 269130

URL: https://gcc.gnu.org/viewcvs?rev=269130&root=gcc&view=rev
Log:
        PR libstdc++/89402
        * src/c++98/compatibility-ldbl.cc (_ZNKSt4hashIeEclEe): Change return
        type to std::size_t and argument to type to long double.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/src/c++98/compatibility-ldbl.cc
>From gcc-bugs-return-634887-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 19:16:50 2019
Return-Path: <gcc-bugs-return-634887-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20379 invoked by alias); 22 Feb 2019 19:16: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 15903 invoked by uid 48); 22 Feb 2019 19:16:46 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88117] [9 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.c:2697
Date: Fri, 22 Feb 2019 19: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pault at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: pault at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: assigned_to attachments.created
Message-ID: <bug-88117-4-GzbxXSDB2W@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88117-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88117-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: 2019-02/txt/msg03189.txt.bz2
Content-length: 802

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88117

Paul Thomas <pault at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |pault at gcc dot gnu.org

--- Comment #7 from Paul Thomas <pault at gcc dot gnu.org> ---
Created attachment 45801
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45801&action=edit
A patch for the PR.

Once you had done the detective work, Thomas, the rest was pretty easy.

Basically, the fact that 'z' is a pointer is what throws it.

Bootstraps and retests OK.

The patch to trans-expr.c has a large offset because my ISO_Fortran_binding
patch is on the tree, awaiting a green light.

Cheers

Paul
>From gcc-bugs-return-634888-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 19:18:11 2019
Return-Path: <gcc-bugs-return-634888-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104124 invoked by alias); 22 Feb 2019 19:18: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 101098 invoked by uid 48); 22 Feb 2019 19:18:07 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/4898] adding an option to verify exception specifications [-Wexceptions]
Date: Fri, 22 Feb 2019 19:18: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: 3.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: enhancement
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-4898-4-D5GpXMdaTC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-4898-4@http.gcc.gnu.org/bugzilla/>
References: <bug-4898-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: 2019-02/txt/msg03190.txt.bz2
Content-length: 204

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=4898

--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Why a new warning instead of making -Wterminate handle throw() as well as
noexcept ?
>From gcc-bugs-return-634890-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 19:25:43 2019
Return-Path: <gcc-bugs-return-634890-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41156 invoked by alias); 22 Feb 2019 19:25:43 -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 39006 invoked by uid 48); 22 Feb 2019 19:25:39 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89420] [9 Regression] ICE: unexpected expression 'int()' of kind cast_expr
Date: Fri, 22 Feb 2019 19: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89420-4-H9IYO6fwlJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89420-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89420-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: 2019-02/txt/msg03192.txt.bz2
Content-length: 429

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89420

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-634889-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 19:25:32 2019
Return-Path: <gcc-bugs-return-634889-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37843 invoked by alias); 22 Feb 2019 19:25:32 -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 37481 invoked by uid 55); 22 Feb 2019 19:25:28 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89420] [9 Regression] ICE: unexpected expression 'int()' of kind cast_expr
Date: Fri, 22 Feb 2019 19: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89420-4-MXOlYYpMM7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89420-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89420-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: 2019-02/txt/msg03191.txt.bz2
Content-length: 927

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89420

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Fri Feb 22 19:24:37 2019
New Revision: 269131

URL: https://gcc.gnu.org/viewcvs?rev=269131&root=gcc&view=rev
Log:
        PR c++/89420 - ICE with CAST_EXPR in explicit-specifier.
        * decl.c (build_explicit_specifier): Don't check
        processing_template_decl.  Call instantiation_dependent_expression_p
        instead of value_dependent_expression_p.  Call
        instantiate_non_dependent_expr_sfinae before
        build_converted_constant_expr instead of calling
        instantiate_non_dependent_expr after it.  Add
        processing_template_decl_sentinel.

        * g++.dg/cpp2a/explicit14.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp2a/explicit14.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634891-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 19:51:50 2019
Return-Path: <gcc-bugs-return-634891-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49509 invoked by alias); 22 Feb 2019 19: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 49139 invoked by uid 48); 22 Feb 2019 19:51:46 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89457] New: -madx doesn't generate ADX instructions
Date: Fri, 22 Feb 2019 19:51: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:
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 target_milestone
Message-ID: <bug-89457-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: 2019-02/txt/msg03193.txt.bz2
Content-length: 1322

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89457

            Bug ID: 89457
           Summary: -madx doesn't generate ADX instructions
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---

[hjl@gnu-4 pr89456]$ cat y.i
unsigned char
foo (unsigned char __CF, unsigned int __X,
     unsigned int __Y, unsigned int *__P)
{
  return __builtin_ia32_addcarryx_u32 (__CF, __X, __Y, __P);
}
[hjl@gnu-4 pr89456]$ gcc -S -O2 -madx y.i
[hjl@gnu-4 pr89456]$ cat y.s
        .file   "y.i"
        .text
        .p2align 4,,15
        .globl  foo
        .type   foo, @function
foo:
.LFB0:
        .cfi_startproc
        movzbl  %dil, %edi
        movl    %edi, %eax
        addb    $-1, %al
        adcl    %edx, %esi
        setc    %al
        movl    %esi, (%rcx)
        ret
        .cfi_endproc
.LFE0:
        .size   foo, .-foo
        .ident  "GCC: (GNU) 8.2.1 20190215 (Red Hat 8.2.1-9)"
        .section        .note.GNU-stack,"",@progbits
[hjl@gnu-4 pr89456]$ 

I am expecting:

        addb    $-1, %dil
        adcxl   %edx, %esi
        movl    %esi, (%rcx)
        setb    %al
        retq
>From gcc-bugs-return-634892-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 19:56:45 2019
Return-Path: <gcc-bugs-return-634892-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74625 invoked by alias); 22 Feb 2019 19:56:44 -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 69695 invoked by uid 48); 22 Feb 2019 19:56:41 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89456] target attribute doesn't work well with -mXXX
Date: Fri, 22 Feb 2019 19:56: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:
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on short_desc everconfirmed
Message-ID: <bug-89456-4-nib1qZkZqH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89456-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89456-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: 2019-02/txt/msg03194.txt.bz2
Content-length: 937

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89456

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-22
            Summary|target attribute doesn't    |target attribute doesn't
                   |work well with              |work well with -mXXX
                   |-march=native               |
     Ever confirmed|0                           |1

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
[hjl@gnu-4 pr89456]$ cat x.i
__attribute__ ((target("arch=broadwell")))
float
foo (float x, float y)
{
  return y;
}
[hjl@gnu-4 pr89456]$ gcc -O2 -mavx -S x.i
x.i: In function ‘foo’:
x.i:4:1: error: SSE register return with SSE disabled
 {
 ^
[hjl@gnu-4 pr89456]$
>From gcc-bugs-return-634893-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 20:18:30 2019
Return-Path: <gcc-bugs-return-634893-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18326 invoked by alias); 22 Feb 2019 20:18: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 18026 invoked by uid 48); 22 Feb 2019 20:18:25 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/89349] segfault when building GCC 8 branch with GCC master
Date: Fri, 22 Feb 2019 20:18: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: 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-89349-4-HyGIO3MYPX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89349-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89349-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: 2019-02/txt/msg03195.txt.bz2
Content-length: 1730

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89349

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|raised STORAGE_ERROR :      |segfault when building GCC
                   |stack overflow or erroneous |8 branch with GCC master
                   |memory access when building |
                   |GCC 8 branch with GCC       |
                   |master                      |

--- Comment #11 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
The backtrace is:

Program received signal SIGSEGV, Segmentation fault.
0x102254bc in __gnat_reset_attributes (
    attr=0x1197f4d0 <osint.unknown_attributes>)
    at /work/botcazou/gcc-8/src/gcc/ada/adaint.c:337
337       attr->exists     = ATTR_UNSET;
(gdb) bt
#0  0x102254bc in __gnat_reset_attributes (
    attr=0x1197f4d0 <osint.unknown_attributes>)
    at /work/botcazou/gcc-8/src/gcc/ada/adaint.c:337
#1  0x104a4e54 in <osint___elabb> ()
    at /work/botcazou/gcc-8/src/gcc/ada/osint.adb:3164
#2  0x106df57c in adainit () at ada/b_gnat1.adb:360
#3  0x1025b3e8 in gnat_parse_file ()
    at /work/botcazou/gcc-8/src/gcc/ada/gcc-interface/misc.c:119
#4  0x10d36ba4 in compile_file () at /work/botcazou/gcc-8/src/gcc/toplev.c:455
#5  0x10d39d5c in do_compile () at /work/botcazou/gcc-8/src/gcc/toplev.c:2132
#6  toplev::main (this=this@entry=0xffd7f638, argc=<optimized out>, 
    argc@entry=35, argv=<optimized out>, argv@entry=0xffd7f8d4)
    at /work/botcazou/gcc-8/src/gcc/toplev.c:2267
#7  0x11833de4 in main (argc=35, argv=0xffd7f8d4)
    at /work/botcazou/gcc-8/src/gcc/main.c:39
>From gcc-bugs-return-634894-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 20:23:27 2019
Return-Path: <gcc-bugs-return-634894-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47465 invoked by alias); 22 Feb 2019 20:23: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 47037 invoked by uid 48); 22 Feb 2019 20:23:19 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/89349] segfault when building GCC 8 branch with GCC master
Date: Fri, 22 Feb 2019 20:23: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: 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89349-4-pg2mZrJrr9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89349-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89349-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: 2019-02/txt/msg03196.txt.bz2
Content-length: 752

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89349

--- Comment #12 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
It's a known historical quirk which has been fixed on the mainline:

2018-05-25  Arnaud Charlet  <charlet@adacore.com>

        * osint.ads (Unknown_Attributes): No longer pretend this is a constant.
        (No_File_Info_Cache): Initialize separately.
        * osint.adb (No_File_Info_Cache): Update initializer.

In osint.ads there is:

   Unknown_Attributes : constant File_Attributes := (others => 0);
   --  Will be initialized properly at elaboration (for efficiency later on,
   --  avoid function calls every time we want to reset the attributes).

which is both put into read-only memory and written to later...
>From gcc-bugs-return-634895-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 20:23:28 2019
Return-Path: <gcc-bugs-return-634895-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47790 invoked by alias); 22 Feb 2019 20:23: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 47253 invoked by uid 48); 22 Feb 2019 20:23:21 -0000
From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/84387] Defined output does not work for a derived type that has no components
Date: Fri, 22 Feb 2019 20:23: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jvdelisle 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-84387-4-S1g2feZ3uW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84387-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84387-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: 2019-02/txt/msg03197.txt.bz2
Content-length: 306

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84387

--- Comment #8 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
We have confirmed this is addressed in the standard, though, as usual, one has
to read two or three conditions and deduce it.

2018: Section 12.6.4.8.4. I am looking at how to fix.
>From gcc-bugs-return-634896-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 20:27:25 2019
Return-Path: <gcc-bugs-return-634896-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69177 invoked by alias); 22 Feb 2019 20:27: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 68903 invoked by uid 48); 22 Feb 2019 20:27:21 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/89349] segfault when building GCC 8 branch with GCC master
Date: Fri, 22 Feb 2019 20:27: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-89349-4-Uzqi5vLmt8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89349-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89349-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: 2019-02/txt/msg03198.txt.bz2
Content-length: 477

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89349

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |ebotcazou at gcc dot gnu.org

--- Comment #13 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Testing a backport.
>From gcc-bugs-return-634897-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 20:28:33 2019
Return-Path: <gcc-bugs-return-634897-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97584 invoked by alias); 22 Feb 2019 20:28: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 95268 invoked by uid 55); 22 Feb 2019 20:28:29 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89431] CPP integer macros not defined
Date: Fri, 22 Feb 2019 20:28: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:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89431-4-6VnQhauP02@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89431-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89431-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: 2019-02/txt/msg03199.txt.bz2
Content-length: 469

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89431

--- Comment #9 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Fri Feb 22 20:27:57 2019
New Revision: 269132

URL: https://gcc.gnu.org/viewcvs?rev=269132&root=gcc&view=rev
Log:
2019-02-22  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/89431
        * gfortran.texi: Fix documentation to match the implementation.

Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/gfortran.texi
>From gcc-bugs-return-634898-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 20:29:34 2019
Return-Path: <gcc-bugs-return-634898-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102576 invoked by alias); 22 Feb 2019 20:29: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 102262 invoked by uid 48); 22 Feb 2019 20:29:29 -0000
From: "jb at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/52879] Pathological reseeding of PRNG generator genernates poor sequence
Date: Fri, 22 Feb 2019 20:29:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libfortran
X-Bugzilla-Version: 4.6.3
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jb at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-52879-4-YfXeBknEaz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-52879-4@http.gcc.gnu.org/bugzilla/>
References: <bug-52879-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: 2019-02/txt/msg03200.txt.bz2
Content-length: 523

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52879

Janne Blomqvist <jb at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Janne Blomqvist <jb at gcc dot gnu.org> ---
I think the current implementation has a decent protection against bad seeds,
so lets close this as fixed.
>From gcc-bugs-return-634899-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 20:36:16 2019
Return-Path: <gcc-bugs-return-634899-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5162 invoked by alias); 22 Feb 2019 20:36: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 4726 invoked by uid 55); 22 Feb 2019 20:36:11 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/83057] OPEN without a filename and without STATUS='SCRATCH' could produce a warning
Date: Fri, 22 Feb 2019 20: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: 6.4.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: anlauf at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-83057-4-Ry3GUOaYtJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83057-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83057-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: 2019-02/txt/msg03201.txt.bz2
Content-length: 658

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83057

--- Comment #6 from anlauf at gcc dot gnu.org ---
Author: anlauf
Date: Fri Feb 22 20:35:38 2019
New Revision: 269134

URL: https://gcc.gnu.org/viewcvs?rev=269134&root=gcc&view=rev
Log:
2019-02-22  Harald Anlauf  <anlauf@gmx.de>

        PR fortran/83057
        * io.c (gfc_match_open): Fix logic in checks of OPEN statement
        when NEWUNIT= is specified.

        PR fortran/83057
        * gfortran.dg/newunit_6.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/newunit_6.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/io.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634900-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 20:37:46 2019
Return-Path: <gcc-bugs-return-634900-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15737 invoked by alias); 22 Feb 2019 20:37: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 15465 invoked by uid 48); 22 Feb 2019 20:37:42 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89431] CPP integer macros not defined
Date: Fri, 22 Feb 2019 20:37: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:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution assigned_to target_milestone
Message-ID: <bug-89431-4-jcOXSctwuU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89431-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89431-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: 2019-02/txt/msg03202.txt.bz2
Content-length: 547

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89431

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
           Assignee|unassigned at gcc dot gnu.org      |kargl at gcc dot gnu.org
   Target Milestone|---                         |9.0

--- Comment #10 from kargl at gcc dot gnu.org ---
Fixed on trunk.  Closing.
>From gcc-bugs-return-634901-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 20:44:26 2019
Return-Path: <gcc-bugs-return-634901-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49548 invoked by alias); 22 Feb 2019 20:44: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 49288 invoked by uid 55); 22 Feb 2019 20:44:20 -0000
From: "joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/704] --help and --version
Date: Fri, 22 Feb 2019 20:44:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: 2.97
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: joseph at codesourcery dot com
X-Bugzilla-Status: WAITING
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-704-4-UsPqzGfIJ1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-704-4@http.gcc.gnu.org/bugzilla/>
References: <bug-704-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: 2019-02/txt/msg03203.txt.bz2
Content-length: 396

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=704

--- Comment #18 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
Whether this is fixed may be determined by running all of the programs 
installed in $exec_prefix/bin by current mainline with the --help and 
--version options (and confirming the GCC version number is properly shown 
in the --version output).
>From gcc-bugs-return-634902-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 20:49:52 2019
Return-Path: <gcc-bugs-return-634902-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73587 invoked by alias); 22 Feb 2019 20:49: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 73337 invoked by uid 48); 22 Feb 2019 20:49:48 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/79251] PowerPC vec_insert generates store-hit-load if the element number is variable
Date: Fri, 22 Feb 2019 20:49: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: 7.0
X-Bugzilla-Keywords:
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_severity
Message-ID: <bug-79251-4-mJxoL1mkFZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79251-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79251-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: 2019-02/txt/msg03204.txt.bz2
Content-length: 458

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79251

Bill Schmidt <wschmidt at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P5                          |P3
           Severity|enhancement                 |normal

--- Comment #3 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Verified this is still a problem in GCC 9.
>From gcc-bugs-return-634903-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 20:57:59 2019
Return-Path: <gcc-bugs-return-634903-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100113 invoked by alias); 22 Feb 2019 20:57: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 99764 invoked by uid 48); 22 Feb 2019 20:57:55 -0000
From: "dnikitin at 3redpartners dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/89458] New: adding aligned attribute to struct causes too much to be copied
Date: Fri, 22 Feb 2019 20:57: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dnikitin at 3redpartners 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-89458-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: 2019-02/txt/msg03205.txt.bz2
Content-length: 1067

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89458

            Bug ID: 89458
           Summary: adding aligned attribute to struct causes too much to
                    be copied
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dnikitin at 3redpartners dot com
  Target Milestone: ---

If I add __attribute__ ((aligned (256))) to a small struct, the whole 256 bytes
are copied by the default copy constructor. I don't think it's correct. This is
with -O3 optimization. Attached is a piece of code to demo:

struct Obj {
void clone(Obj& r);
void clone2(Obj& r);
        int a;
        int b;
        int c; int c1; int c2; int c3; long c4; long c5; long c6;
}__attribute__ ((aligned (256)));

void Obj::clone(Obj& r) {
  *this = r;
}

built like so: 
g++ -O3 -std=c++14 -march=skylake 

The compilation result is a giant "clone" function that copies 256 bytes of
memory
>From gcc-bugs-return-634904-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 21:03:17 2019
Return-Path: <gcc-bugs-return-634904-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8482 invoked by alias); 22 Feb 2019 21:03: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 8122 invoked by uid 55); 22 Feb 2019 21:03:12 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/71066] [7/8 Regression] ICE in set_loop_bounds, at fortran/trans-array.c:4680
Date: Fri, 22 Feb 2019 21:03: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: 6.1.1
X-Bugzilla-Keywords: ice-on-invalid-code, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-71066-4-QPk7Z0vHjz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71066-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71066-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: 2019-02/txt/msg03206.txt.bz2
Content-length: 1026

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71066

--- Comment #16 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Fri Feb 22 21:02:40 2019
New Revision: 269135

URL: https://gcc.gnu.org/viewcvs?rev=269135&root=gcc&view=rev
Log:
2019-02-22  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/71066
        Backport from trunk
        * trans-decl.c (generate_coarray_sym_init):  For an array
        constructor in a DATA statement of a coarray variable, set the
        rank to 1 to avoid confusion later on.  If the constructor
        contains only one value, use that for initiailizig.

2019-02-12  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/71066
        Backport from trunk
        * gfortran.dg/coarray_data_1.f90: New test.


Added:
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/coarray_data_1.f90
Modified:
    branches/gcc-8-branch/gcc/fortran/ChangeLog
    branches/gcc-8-branch/gcc/fortran/trans-decl.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634905-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 21:15:53 2019
Return-Path: <gcc-bugs-return-634905-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49118 invoked by alias); 22 Feb 2019 21:15:52 -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 48772 invoked by uid 48); 22 Feb 2019 21:15:47 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/82255] Vectorizer cost model overcounts cost of some vectorized loads
Date: Fri, 22 Feb 2019 21:15: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: 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: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-82255-4-MwQCj5uvRt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82255-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82255-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: 2019-02/txt/msg03207.txt.bz2
Content-length: 293

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82255

Bill Schmidt <wschmidt at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.4                         |10.0
>From gcc-bugs-return-634906-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 21:28:40 2019
Return-Path: <gcc-bugs-return-634906-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21028 invoked by alias); 22 Feb 2019 21:28: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 13576 invoked by uid 48); 22 Feb 2019 21:28:33 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/704] --help and --version
Date: Fri, 22 Feb 2019 21:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: 2.97
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: enhancement
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: bug_status cf_reconfirmed_on
Message-ID: <bug-704-4-eI3oAHqjpU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-704-4@http.gcc.gnu.org/bugzilla/>
References: <bug-704-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: 2019-02/txt/msg03208.txt.bz2
Content-length: 1885

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=704

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
   Last reconfirmed|2006-02-02 13:45:08         |2019-2-22

--- Comment #19 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to joseph@codesourcery.com from comment #18)
> Whether this is fixed may be determined by running all of the programs 
> installed in $exec_prefix/bin by current mainline with the --help and 
> --version options (and confirming the GCC version number is properly shown 
> in the --version output).

looks like gcc-nm and gcc-ranlib still fail with --help:

$ /usr/local/bin/gcc-nm --help
error: /opt/iains/x86_64-apple-darwin10/darwin-gcc-5-3r0/bin/nm: invalid
argument --
Usage: /opt/iains/x86_64-apple-darwin10/darwin-gcc-5-3r0/bin/nm
[-agnopruUmxjlfAP[s segname sectname] [-] [-t format] [[-arch <arch_flag>] ...]
[file ...]
$ /usr/local/bin/gcc-ranlib --help
error: /opt/iains/x86_64-apple-darwin10/darwin-gcc-5-3r0/bin/ranlib: unknown
option character `-' in: --help
Usage: /opt/iains/x86_64-apple-darwin10/darwin-gcc-5-3r0/bin/ranlib [-sactfqLT]
[-] archive [...]
$ /usr/local/bin/x86_64-apple-darwin10.8.0-gcc-nm --help
error: /opt/iains/x86_64-apple-darwin10/darwin-gcc-5-3r0/bin/nm: invalid
argument --
Usage: /opt/iains/x86_64-apple-darwin10/darwin-gcc-5-3r0/bin/nm
[-agnopruUmxjlfAP[s segname sectname] [-] [-t format] [[-arch <arch_flag>] ...]
[file ...]
$ /usr/local/bin/x86_64-apple-darwin10.8.0-gcc-ranlib --help
error: /opt/iains/x86_64-apple-darwin10/darwin-gcc-5-3r0/bin/ranlib: unknown
option character `-' in: --help
Usage: /opt/iains/x86_64-apple-darwin10/darwin-gcc-5-3r0/bin/ranlib [-sactfqLT]
[-] archive [...]
$
>From gcc-bugs-return-634907-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 21:29:39 2019
Return-Path: <gcc-bugs-return-634907-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50758 invoked by alias); 22 Feb 2019 21:29: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 50635 invoked by uid 48); 22 Feb 2019 21:29:35 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/4898] adding an option to verify exception specifications [-Wexceptions]
Date: Fri, 22 Feb 2019 21: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: 3.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: enhancement
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-4898-4-vF2WYkUGha@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-4898-4@http.gcc.gnu.org/bugzilla/>
References: <bug-4898-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: 2019-02/txt/msg03209.txt.bz2
Content-length: 353

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=4898

--- Comment #10 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #9)
> Why a new warning instead of making -Wterminate handle throw() as well as
> noexcept ?

For consistency with clang? I dunno, I guess putting it under -Wterminate could
work too...
>From gcc-bugs-return-634909-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 21:31:03 2019
Return-Path: <gcc-bugs-return-634909-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55742 invoked by alias); 22 Feb 2019 21:31: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 55209 invoked by uid 48); 22 Feb 2019 21:30:53 -0000
From: "thiago at kde dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89445] [9 regression] _mm512_maskz_loadu_pd "forgets" to use the mask
Date: Fri, 22 Feb 2019 21:31: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: thiago at kde dot org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89445-4-rE5IzEhgum@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89445-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89445-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: 2019-02/txt/msg03211.txt.bz2
Content-length: 2786

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89445

--- Comment #6 from Thiago Macieira <thiago at kde dot org> ---
(In reply to Jakub Jelinek from comment #4)
>         vmovupd (%rsi,%rax), %zmm1{%k1}{z}
>         addq    %rdx, %rax
>         vmovupd (%rax), %zmm2{%k1}{z}
>         vfmadd132pd     %zmm0, %zmm2, %zmm1
>         vmovupd %zmm1, (%rax){%k1}
> isn't optimal btw, it would be nice if we could merge that masking into the
> vfmadd132pd instruction, like:
>         vmovupd (%rsi,%rax), %zmm1{%k1}{z}
>         addq    %rdx, %rax
>         vfmadd132pd     (%rax), %zmm2, %zmm1%{k1}{z}
>         vmovupd %zmm1, (%rax){%k1}
> but not really sure how to achieve that.

It would be nice. It would be even nicer not to have that "addq". That's
actually what ICC generates (click on the godbolt link and change one of the
compilers to ICC 19):

..B1.3:                         # Preds ..B1.3 ..B1.2
        cmpq      %rax, %r8                                     #12.13
        cmova     %r10d, %r9d                                   #12.13
        kmovw     %r9d, %k1                                     #13.20
        vmovupd   (%r8,%rsi), %zmm1{%k1}{z}                     #13.20
        vfmadd213pd (%r8,%rdx), %zmm0, %zmm1{%k1}{z}            #15.20
        vmovupd   %zmm1, (%r8,%rdx){%k1}                        #16.9
        addq      $64, %r8                                      #10.48
        cmpq      %rcx, %r8                                     #10.32
        jb        ..B1.3        # Prob 82%                      #10.32

There's one more simplification here: ICC lacks the movzbl instruction which
GCC inserted but is completely superfluous. First, we've already calculated the
proper 32-bit pattern and stored it in %r9d, there was no need to zero extend
it. Second, when operating on 512-bit packed doubles, there are 8 lanes, so
only the low 8 bits of the mask register will be considered in the first place.
(Arguably, the intrinsic should have used __mmask8, but that wasn't added until
AVX512DQ and this is F)

That reduces the number of instructions and will save you a couple of uops per
loop. Depending on how long your loop is, it may help you fit in the DSB and
help the Loop Stream Detector. I'm not at all knowledgeable about those
details, so I'll just link to
https://stackoverflow.com/questions/39311872/is-performance-reduced-when-executing-loops-whose-uop-count-is-not-a-multiple-of#answer-39940932.

For this particular loop, if run long enough, I don't think there's any effect,
but this is an area for improvement for longer loops. The number of
instructions is also significant for short-lived loops, which happens to me
often when using SIMD for strings (tens of bytes of length, so the loop is run
once or twice only).
>From gcc-bugs-return-634908-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 21:31:03 2019
Return-Path: <gcc-bugs-return-634908-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55724 invoked by alias); 22 Feb 2019 21:31: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 55212 invoked by uid 48); 22 Feb 2019 21:30:53 -0000
From: "peter at cordes dot ca" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/80571] AVX allows multiple vcvtsi2ss/sd (integer -> float/double) to reuse a single dep-breaking vxorps, even hoisting it out of loops
Date: Fri, 22 Feb 2019 21:31: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.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: peter at cordes dot ca
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-80571-4-xjilhvxYTy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80571-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80571-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: 2019-02/txt/msg03210.txt.bz2
Content-length: 422

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80571

--- Comment #2 from Peter Cordes <peter at cordes dot ca> ---
I think hjl's patch for PR 89071 / PR 87007 fixes (most of?) this, at least for
AVX.

If register pressure is an issue, using a reg holding a arbitrary constant
(instead of xor-zeroed) is a valid option, as this bug points out.  So I'm not
sure we should close this as a duplicate of those fixed bugs.
>From gcc-bugs-return-634910-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 21:35:25 2019
Return-Path: <gcc-bugs-return-634910-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78281 invoked by alias); 22 Feb 2019 21:35: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 78105 invoked by uid 48); 22 Feb 2019 21:35:21 -0000
From: "andres_takach at mentor dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libquadmath/89459] New: Incorrect rounding for fma in some cases
Date: Fri, 22 Feb 2019 21:35:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libquadmath
X-Bugzilla-Version: 6.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: andres_takach at mentor 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-89459-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: 2019-02/txt/msg03212.txt.bz2
Content-length: 1645

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89459

            Bug ID: 89459
           Summary: Incorrect rounding for fma in some cases
           Product: gcc
           Version: 6.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libquadmath
          Assignee: unassigned at gcc dot gnu.org
          Reporter: andres_takach at mentor dot com
  Target Milestone: ---

Created attachment 45802
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45802&action=edit
testcase for issue:  c++ fma_rnd_bug.cxx -lquadmath

The function fmaq(x,y,z) should be equivalent to x*y+z if x*y returns a finite
exact value.

Test
  x = smallest (subnormal)
     hex: 00000000000000000000000000000001
  y = 2*(2^112 + 1)
     hex: 40700000000000000000000000000001
  z = x

fma(x,y,z) returns hex (same as x*y):
   00020000000000000000000000000001

x*y+z return hex (it is rounded to nearest even):
   00020000000000000000000000000002

GCC version info:


Using built-in specs.
COLLECT_GCC=/wv/hlstools/gcc6.2.0-64/pkgs/dcs_gcc/gcc-6.2.0/lib/gcc/../../bin/c++
COLLECT_LTO_WRAPPER=/wv/hlstools/gcc6.2.0-64/pkgs/dcs_gcc/gcc-6.2.0/lib/gcc/../../libexec/gcc/x86_64-linux-gnu/6.2.0/lto-wrapper
Target: x86_64-linux-gnu
Configured with:
/wv/hls01/dcs_gcc/rls_iwa/2016-09-27_163927/aol/build/src/gcc-6.2.0/configure
--prefix=/wv/hls01/dcs_gcc/rls_iwa/2016-09-27_163927/aol/exports/mgc_home/pkgs/dcs_gcc.aol/gcc-6.2.0
-build=x86_64-linux-gnu --enable-languages=c,c++ --enable-threads --with-dwarf2
--with-pkgversion=Calypto
Thread model: posix
gcc version 6.2.0 (Calypto)
>From gcc-bugs-return-634911-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 21:38:19 2019
Return-Path: <gcc-bugs-return-634911-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87437 invoked by alias); 22 Feb 2019 21:38:19 -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 87256 invoked by uid 48); 22 Feb 2019 21:38:15 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89450] RFC: Strengthen -fstrict-enums
Date: Fri, 22 Feb 2019 21:38: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
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: cc
Message-ID: <bug-89450-4-9dp6zJclTj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89450-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89450-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: 2019-02/txt/msg03213.txt.bz2
Content-length: 2143

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89450

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egallager at gcc dot gnu.org

--- Comment #6 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #5)
> (In reply to Martin Liška from comment #0)
> > Issues is that:
> > 
> >  14746        /* If -fstrict-enums, still constrain TYPE_MIN/MAX_VALUE.  */
> >  14747        if (flag_strict_enums)
> >  14748          set_min_and_max_values_for_integral_type (enumtype,
> > precision, sgn);
> > 
> > is called for precision, which sets min = 0 and max = 7.
> 
> Because that's how enums work in C++, as required by the standard.
> 
> That's not an issue.
>  
> > What about doing:
> > 
> > diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
> > index 612afbacd27..46302b4a61d 100644
> > --- a/gcc/cp/decl.c
> > +++ b/gcc/cp/decl.c
> > @@ -14745,7 +14745,10 @@ finish_enum_value_list (tree enumtype)
> >  
> >        /* If -fstrict-enums, still constrain TYPE_MIN/MAX_VALUE.  */
> >        if (flag_strict_enums)
> > -	set_min_and_max_values_for_integral_type (enumtype, precision, sgn);
> > +	{
> > +	  TYPE_MIN_VALUE (enumtype) = minnode;
> > +	  TYPE_MAX_VALUE (enumtype) = maxnode;
> > +	}
> >      }
> >    else
> >      underlying_type = ENUM_UNDERLYING_TYPE (enumtype);
> > 
> > I can also imagine another option level when desired.
> 
> Please no. -fstrict-enums currently makes the compiler *more* strictly
> conforming, by following the rules of the standard. Your suggestion arguably
> makes it *less* conforming, by deciding that valid values should emit a
> warning.
> 
> What you want is not how enums work in C++. Please don't abuse
> -fstrict-enums when what you want is "some other kind of enum, not one that
> strictly follows the C++ standard".

This reminds me, I think there are some other related bug reports out there,
but I can't find them right now...
>From gcc-bugs-return-634912-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 21:39:07 2019
Return-Path: <gcc-bugs-return-634912-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91409 invoked by alias); 22 Feb 2019 21:39: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 91227 invoked by uid 48); 22 Feb 2019 21:39:03 -0000
From: "peter at cordes dot ca" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89071] AVX vcvtsd2ss lets us avoid PXOR dependency breaking for scalar float<->double and other scalar xmm,xmm instructions
Date: Fri, 22 Feb 2019 21:39: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: peter at cordes dot ca
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ubizjak at gmail dot com
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89071-4-GPyfAisvWi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89071-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89071-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: 2019-02/txt/msg03214.txt.bz2
Content-length: 1032

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89071

--- Comment #22 from Peter Cordes <peter at cordes dot ca> ---
Nice, that's exactly the kind of thing I suggested in bug 80571.  If this
covers 

* vsqrtss/sd  (mem),%merge_into, %xmm 
* vpcmpeqd    %same,%same, %dest    # false dep on KNL / Silvermont
* vcmptrueps  %same,%same, %ymm     # splat -1 without AVX2.  false dep on all
known uarches

as well as int->FP conversions, then we could probably close that as fixed by
this as well.

bug 80571 does suggest that we could look for any cold reg, like a non-zero
constant, instead of requiring an xor-zeroed vector, so it might go slightly
beyond what this patch does.

And looking for known-to-be-ready dead regs from earlier in the same dep chain
could certainly be useful for non-AVX code-gen, allowing us to copy-and-sqrt
without introducing a dependency on anything that's not already ready.

(In reply to hjl@gcc.gnu.org from comment #21)
> Author: hjl
> Date: Fri Feb 22 15:54:08 2019
> New Revision: 269119
>From gcc-bugs-return-634913-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 21:54:29 2019
Return-Path: <gcc-bugs-return-634913-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7930 invoked by alias); 22 Feb 2019 21: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 7671 invoked by uid 48); 22 Feb 2019 21:54:24 -0000
From: "danglin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/77691] [7/8/9 regression] experimental/memory_resource/resource_adaptor.cc FAILs
Date: Fri, 22 Feb 2019 21:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: danglin at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: ro at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-77691-4-6emtIcBaKd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77691-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77691-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: 2019-02/txt/msg03215.txt.bz2
Content-length: 433

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77691

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |danglin at gcc dot gnu.org

--- Comment #27 from John David Anglin <danglin at gcc dot gnu.org> ---
Fails with gcc-9 on hppa64-hp-hpux11.11.
>From gcc-bugs-return-634914-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 22:00:00 2019
Return-Path: <gcc-bugs-return-634914-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29168 invoked by alias); 22 Feb 2019 21:59: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 28944 invoked by uid 48); 22 Feb 2019 21:59:55 -0000
From: "thiago at kde dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89445] [9 regression] _mm512_maskz_loadu_pd "forgets" to use the mask
Date: Fri, 22 Feb 2019 21:59: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: thiago at kde dot org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89445-4-vOer2SXfx3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89445-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89445-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: 2019-02/txt/msg03216.txt.bz2
Content-length: 1241

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89445

--- Comment #7 from Thiago Macieira <thiago at kde dot org> ---
Comment on attachment 45800
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45800
gcc9-pr89445.patch

Tested and works on my machine.

The movzbl that GCC 8 generated is also gone, but it inserted moves *from* the
OpMask register:

.L4:
        movq    %rcx, %rax
        addq    $64, %rcx
        cmpq    %rdi, %rcx
        kmovw   %k1, %r9d
        cmova   %r8d, %r9d
        kmovw   %r9d, %k1
        vmovupd (%rsi,%rax), %zmm1{%k1}{z}
        addq    %rdx, %rax
        vmovupd (%rax), %zmm2{%k1}{z}
        vfmadd132pd     %zmm0, %zmm2, %zmm1
        vmovupd %zmm1, (%rax){%k1}
        cmpq    %rdi, %rcx
        jb      .L4

Seems like it forgot the GPR that used to contain the mask, so it needed to
reload from %k1. The end detection is also slightly worse.

Yesterday, when I benchmarked with GCC 8, it ran 1000 iterations over 10
million doubles in roughly 11.9 ms, with 10 million instructions. Today, I am
getting 11.8 ms at 16 million instructions (the increase of instructions/cycle
is roughly equal to the decrease in instructions per iteration, proving that
memory bandwidth is the bottleneck)
>From gcc-bugs-return-634915-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 22:01:00 2019
Return-Path: <gcc-bugs-return-634915-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31730 invoked by alias); 22 Feb 2019 22:00:52 -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 31387 invoked by uid 48); 22 Feb 2019 22:00:43 -0000
From: "danglin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89460] New: FAIL: experimental/net/headers.cc (test for excess errors)
Date: Fri, 22 Feb 2019 22:00:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: danglin 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 cf_gcchost cf_gcctarget cf_gccbuild
Message-ID: <bug-89460-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: 2019-02/txt/msg03217.txt.bz2
Content-length: 3051

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89460

            Bug ID: 89460
           Summary: FAIL: experimental/net/headers.cc (test for excess
                    errors)
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
              Host: hppa*-*-hpux*
            Target: hppa*-*-hpux*
             Build: hppa*-*-hpux*

spawn /test/gnu/gcc/objdir/./gcc/xg++ -shared-libgcc
-B/test/gnu/gcc/objdir/./gc
c -nostdinc++ -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/src
-L/tes
t/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/src/.libs
-L/test/gnu/gcc/objd
ir/hppa64-hp-hpux11.11/libstdc++-v3/libsupc++/.libs
-B/opt/gnu64/gcc/gcc-9/hppa6
4-hp-hpux11.11/bin/ -B/opt/gnu64/gcc/gcc-9/hppa64-hp-hpux11.11/lib/ -isystem
/op
t/gnu64/gcc/gcc-9/hppa64-hp-hpux11.11/include -isystem
/opt/gnu64/gcc/gcc-9/hppa
64-hp-hpux11.11/sys-include -fchecking=1
-B/test/gnu/gcc/objdir/hppa64-hp-hpux11
.11/./libstdc++-v3/src/.libs -fmessage-length=0 -fno-show-column
-ffunction-sect
ions -fdata-sections -g -O2 -DLOCALEDIR="." -nostdinc++
-I/test/gnu/gcc/objdir/h
ppa64-hp-hpux11.11/libstdc++-v3/include/hppa64-hp-hpux11.11
-I/test/gnu/gcc/objd
ir/hppa64-hp-hpux11.11/libstdc++-v3/include
-I/test/gnu/gcc/gcc/libstdc++-v3/lib
supc++ -I/test/gnu/gcc/gcc/libstdc++-v3/include/backward
-I/test/gnu/gcc/gcc/lib
stdc++-v3/testsuite/util
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/experimental/n
et/headers.cc -include bits/stdc++.h -fno-diagnostics-show-caret
-fdiagnostics-c
olor=never -S -o headers.s
In file included from
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/incl
ude/experimental/net:40,
                 from
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/experimental/net/
headers.cc:20:
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/experimental/socke
t: In member function 'bool
std::experimental::net::v1::basic_socket<_Protocol>:
:at_mark(std::error_code&) const':
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/experimental/socke
t:798: error: '::sockatmark' has not been declared
compiler exited with status 1
output is:
In file included from
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/incl
ude/experimental/net:40,
                 from
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/experimental/net/
headers.cc:20:
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/experimental/socke
t: In member function 'bool
std::experimental::net::v1::basic_socket<_Protocol>:
:at_mark(std::error_code&) const':
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/experimental/socke
t:798: error: '::sockatmark' has not been declared

FAIL: experimental/net/headers.cc (test for excess errors)
Excess errors:
/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/experimental/socket:798:
error: '::sockatmark' has not been declared
>From gcc-bugs-return-634917-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 22:01:06 2019
Return-Path: <gcc-bugs-return-634917-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32594 invoked by alias); 22 Feb 2019 22:01:06 -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 32040 invoked by uid 48); 22 Feb 2019 22:01:00 -0000
From: "thiago at kde dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89445] [9 regression] _mm512_maskz_loadu_pd "forgets" to use the mask
Date: Fri, 22 Feb 2019 22:01: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: thiago at kde dot org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89445-4-nezYbSDePr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89445-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89445-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: 2019-02/txt/msg03218.txt.bz2
Content-length: 295

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89445

--- Comment #8 from Thiago Macieira <thiago at kde dot org> ---
Sorry, in editing I ended up removing an important point: GCC 8 also generates
the move *from* OpMask when I put it in the benchmark loop. So that's not a
regression, per se.
>From gcc-bugs-return-634916-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 22:01:00 2019
Return-Path: <gcc-bugs-return-634916-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32004 invoked by alias); 22 Feb 2019 22:00: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 31468 invoked by uid 48); 22 Feb 2019 22:00:44 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/52879] Pathological reseeding of PRNG generator genernates poor sequence
Date: Fri, 22 Feb 2019 22:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libfortran
X-Bugzilla-Version: 4.6.3
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-52879-4-p5DTLRigyC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-52879-4@http.gcc.gnu.org/bugzilla/>
References: <bug-52879-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: 2019-02/txt/msg03219.txt.bz2
Content-length: 321

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52879

--- Comment #7 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> I think the current implementation has a decent protection against bad seeds,
> so lets close this as fixed.

The least I can say is that I am not convinced about the "decent protection".
>From gcc-bugs-return-634918-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 22:06:31 2019
Return-Path: <gcc-bugs-return-634918-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99182 invoked by alias); 22 Feb 2019 22:06: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 93946 invoked by uid 48); 22 Feb 2019 22:06:27 -0000
From: "danglin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89461] New: FAIL: experimental/net/timer/waitable/cons.cc
Date: Fri, 22 Feb 2019 22:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: danglin 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 cf_gcchost cf_gcctarget cf_gccbuild
Message-ID: <bug-89461-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: 2019-02/txt/msg03220.txt.bz2
Content-length: 3235

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89461

            Bug ID: 89461
           Summary: FAIL: experimental/net/timer/waitable/cons.cc
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
              Host: hppa*-*-hpux*
            Target: hppa*-*-hpux*
             Build: hppa*-*-hpux*

spawn /test/gnu/gcc/objdir/./gcc/xg++ -shared-libgcc
-B/test/gnu/gcc/objdir/./gc
c -nostdinc++ -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/src
-L/tes
t/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/src/.libs
-L/test/gnu/gcc/objd
ir/hppa64-hp-hpux11.11/libstdc++-v3/libsupc++/.libs
-B/opt/gnu64/gcc/gcc-9/hppa6
4-hp-hpux11.11/bin/ -B/opt/gnu64/gcc/gcc-9/hppa64-hp-hpux11.11/lib/ -isystem
/op
t/gnu64/gcc/gcc-9/hppa64-hp-hpux11.11/include -isystem
/opt/gnu64/gcc/gcc-9/hppa
64-hp-hpux11.11/sys-include -fchecking=1
-B/test/gnu/gcc/objdir/hppa64-hp-hpux11
.11/./libstdc++-v3/src/.libs -fmessage-length=0 -fno-show-column
-ffunction-sect
ions -fdata-sections -g -O2 -DLOCALEDIR="." -nostdinc++
-I/test/gnu/gcc/objdir/h
ppa64-hp-hpux11.11/libstdc++-v3/include/hppa64-hp-hpux11.11
-I/test/gnu/gcc/objd
ir/hppa64-hp-hpux11.11/libstdc++-v3/include
-I/test/gnu/gcc/gcc/libstdc++-v3/lib
supc++ -I/test/gnu/gcc/gcc/libstdc++-v3/include/backward
-I/test/gnu/gcc/gcc/lib
stdc++-v3/testsuite/util
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/experimental/n
et/timer/waitable/cons.cc -include bits/stdc++.h -fno-diagnostics-show-caret
-fd
iagnostics-color=never ./libtestc++.a /opt/gnu64/lib/libiconv.sl -Wl,+b
-Wl,/opt
/gnu64/lib
-L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/src/filesyste
m/.libs -lm -o ./cons.exe
ld: Unsatisfied symbol "__atomic_fetch_sub_8" in file /var/tmp//ccK5pq8s.o
1 errors.
collect2: error: ld returned 1 exit status
compiler exited with status 1
output is:
ld: Unsatisfied symbol "__atomic_fetch_sub_8" in file /var/tmp//ccK5pq8s.o
1 errors.
collect2: error: ld returned 1 exit status

FAIL: experimental/net/timer/waitable/cons.cc (test for excess errors)
Excess errors:
ld: Unsatisfied symbol "__atomic_fetch_sub_8" in file /var/tmp//ccK5pq8s.o
1 errors.
collect2: error: ld returned 1 exit status

Setting LD_LIBRARY_PATH to
:/test/gnu/gcc/objdir/gcc:/test/gnu/gcc/objdir/hppa64
-hp-hpux11.11/./libstdc++-v3/../libatomic/.libs:/test/gnu/gcc/objdir/hppa64-hp-h
pux11.11/./libstdc++-v3/../libgomp/.libs:/test/gnu/gcc/objdir/hppa64-hp-hpux11.1
1/./libstdc++-v3/src/.libs::/test/gnu/gcc/objdir/gcc:/test/gnu/gcc/objdir/hppa64
-hp-hpux11.11/./libstdc++-v3/../libatomic/.libs:/test/gnu/gcc/objdir/hppa64-hp-h
pux11.11/./libstdc++-v3/../libgomp/.libs:/test/gnu/gcc/objdir/hppa64-hp-hpux11.1
1/./libstdc++-v3/src/.libs
FAIL: experimental/net/timer/waitable/cons.cc execution test

Similar fails:
FAIL: experimental/net/timer/waitable/dest.cc (test for excess errors)
FAIL: experimental/net/timer/waitable/dest.cc execution test
FAIL: experimental/net/timer/waitable/ops.cc (test for excess errors)
FAIL: experimental/net/timer/waitable/ops.cc execution test
>From gcc-bugs-return-634919-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 22:35:10 2019
Return-Path: <gcc-bugs-return-634919-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6801 invoked by alias); 22 Feb 2019 22:35: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 4862 invoked by uid 48); 22 Feb 2019 22:35:05 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89456] target attribute doesn't work well with -mXXX
Date: Fri, 22 Feb 2019 22:35: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:
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89456-4-8u4SY0d9KZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89456-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89456-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: 2019-02/txt/msg03221.txt.bz2
Content-length: 581

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89456

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
On AVX2 machine:

[hjl@gnu-skx-1 tmp]$ gcc
/export/gnu/import/git/gitlab/x86-gcc/gcc/testsuite/g++.target/i386/mv17.C 
[hjl@gnu-skx-1 tmp]$ ./a.out 
[hjl@gnu-skx-1 tmp]$ gcc
/export/gnu/import/git/gitlab/x86-gcc/gcc/testsuite/g++.target/i386/mv17.C
-march=haswell
[hjl@gnu-skx-1 tmp]$ ./a.out 
a.out:
/export/gnu/import/git/gitlab/x86-gcc/gcc/testsuite/g++.target/i386/mv17.C:39:
int main(): Assertion `val == 2' failed.
Aborted
[hjl@gnu-skx-1 tmp]$
>From gcc-bugs-return-634920-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 22:48:07 2019
Return-Path: <gcc-bugs-return-634920-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47919 invoked by alias); 22 Feb 2019 22:48:04 -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 47668 invoked by uid 48); 22 Feb 2019 22:47:59 -0000
From: "wilson at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89411] RISC-V backend will generate wrong instruction for longlong type like lw a3,-2048(a5)
Date: Fri, 22 Feb 2019 22:48: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: 7.3.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wilson 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-89411-4-pDDxNyf0qe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89411-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89411-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: 2019-02/txt/msg03222.txt.bz2
Content-length: 1325

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89411

Jim Wilson <wilson at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wilson at gcc dot gnu.org

--- Comment #1 from Jim Wilson <wilson at gcc dot gnu.org> ---
I think the problem is in riscv_valid_lo_sum_p where we do
  /* We may need to split multiword moves, so make sure that each word          
     can be accessed without inducing a carry.  */
  if (GET_MODE_SIZE (mode) > UNITS_PER_WORD
      && (!TARGET_STRICT_ALIGN
          || GET_MODE_BITSIZE (mode) > GET_MODE_ALIGNMENT (mode)))
    return false;

The problem is that this doesn't work for BLKmode, as GET_MODE_SIZE,
GET_MODE_BITSIZE, and GET_MODE_ALIGNMENT don't return usable values for
BLKmode.  We could perhaps just return false for mode == BLKmode here, but that
requires some testing to see what conditions BLKmode might appear here.  We
don't want to accidentally disable this optimization when it is useful and
safe.

Best case solution is probably to pass down a decl or a MEM, so we can get the
actual size and alignment from there.  That is a little bit more work, so I
only want to do that if necessary.
>From gcc-bugs-return-634922-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 22:58:02 2019
Return-Path: <gcc-bugs-return-634922-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75062 invoked by alias); 22 Feb 2019 22:58: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 74654 invoked by uid 48); 22 Feb 2019 22:57:58 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)
Date: Fri, 22 Feb 2019 22:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 4.2.0
X-Bugzilla-Keywords: meta-bug, missed-optimization
X-Bugzilla-Severity: enhancement
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-26163-4-cQPJUZQeXS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-26163-4@http.gcc.gnu.org/bugzilla/>
References: <bug-26163-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: 2019-02/txt/msg03224.txt.bz2
Content-length: 547

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163
Bug 26163 depends on bug 86448, which changed state.

Bug 86448 Summary: GCC 9 compiler generates slower code for spec 2006 milc on a power9 using -mcpu=power9 than using -mcpu=power8
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86448

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WORKSFORME
>From gcc-bugs-return-634921-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 22:58:01 2019
Return-Path: <gcc-bugs-return-634921-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74783 invoked by alias); 22 Feb 2019 22:58: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 74596 invoked by uid 48); 22 Feb 2019 22:57:56 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86448] GCC 9 compiler generates slower code for spec 2006 milc on a power9 using -mcpu=power9 than using -mcpu=power8
Date: Fri, 22 Feb 2019 22: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wschmidt at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WORKSFORME
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-86448-4-gaMOeg33gS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86448-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86448-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: 2019-02/txt/msg03223.txt.bz2
Content-length: 521

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86448

Bill Schmidt <wschmidt at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #7 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Not confirmed at this time.  Let's close it until we have something more
definitive to look at.
>From gcc-bugs-return-634923-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 23:16:57 2019
Return-Path: <gcc-bugs-return-634923-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12924 invoked by alias); 22 Feb 2019 23:16:57 -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 12552 invoked by uid 55); 22 Feb 2019 23:16:46 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/84676] [7/8/9 Regression] internal compiler error: Segmentation fault (build_new_op_1)
Date: Fri, 22 Feb 2019 23:16: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.0.1
X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-84676-4-CR9Zp3gpSm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84676-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84676-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: 2019-02/txt/msg03225.txt.bz2
Content-length: 484

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84676

--- Comment #5 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Fri Feb 22 23:16:14 2019
New Revision: 269138

URL: https://gcc.gnu.org/viewcvs?rev=269138&root=gcc&view=rev
Log:
2019-02-22  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/84676
        * g++.dg/cpp0x/pr84676.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/pr84676.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634924-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 22 23:17:37 2019
Return-Path: <gcc-bugs-return-634924-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16217 invoked by alias); 22 Feb 2019 23:17:36 -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 16007 invoked by uid 48); 22 Feb 2019 23:17:33 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/84676] [7 Regression] internal compiler error: Segmentation fault (build_new_op_1)
Date: Fri, 22 Feb 2019 23:17: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.0.1
X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-84676-4-091fQa5Vas@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84676-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84676-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: 2019-02/txt/msg03226.txt.bz2
Content-length: 623

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84676

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[7/8/9 Regression] internal |[7 Regression] internal
                   |compiler error:             |compiler error:
                   |Segmentation fault          |Segmentation fault
                   |(build_new_op_1)            |(build_new_op_1)

--- Comment #6 from Paolo Carlini <paolo.carlini at oracle dot com> ---
This is fixed in trunk and 8.1.0.
>From gcc-bugs-return-634925-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 00:07:29 2019
Return-Path: <gcc-bugs-return-634925-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125807 invoked by alias); 23 Feb 2019 00:07: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 125658 invoked by uid 55); 23 Feb 2019 00:07:24 -0000
From: "joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libquadmath/89459] Incorrect rounding for fma in some cases
Date: Sat, 23 Feb 2019 00:07:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libquadmath
X-Bugzilla-Version: 6.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joseph at codesourcery 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-89459-4-zDS9xWDWyP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89459-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89459-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: 2019-02/txt/msg03227.txt.bz2
Content-length: 305

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89459

--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
Please see whether this still applies with GCC mainline (postdating my 
2018-11-07 merge of fmaq changes from glibc which brought in at least one 
bug fix).
>From gcc-bugs-return-634926-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 00:16:18 2019
Return-Path: <gcc-bugs-return-634926-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49998 invoked by alias); 23 Feb 2019 00:15: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 49605 invoked by uid 55); 23 Feb 2019 00:15:39 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88074] [7/8 Regression] g++ hangs on math expression
Date: Sat, 23 Feb 2019 00:15: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: 7.2.0
X-Bugzilla-Keywords: compile-time-hog
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88074-4-EcrQyAuaNT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88074-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88074-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: 2019-02/txt/msg03228.txt.bz2
Content-length: 568

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88074

--- Comment #33 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Feb 23 00:14:52 2019
New Revision: 269139

URL: https://gcc.gnu.org/viewcvs?rev=269139&root=gcc&view=rev
Log:
        PR middle-end/88074
        * simplify.c (norm2_do_sqrt, gfc_simplify_norm2): Use
        mpfr_number_p && !mpfr_zero_p instead of mpfr_regular_p.
        (norm2_add_squared): Likewise.  Use mp_exp_t rather than mpfr_exp_t.

Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/simplify.c
>From gcc-bugs-return-634927-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 00:20:54 2019
Return-Path: <gcc-bugs-return-634927-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75605 invoked by alias); 23 Feb 2019 00:20: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 75460 invoked by uid 48); 23 Feb 2019 00:20:49 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89460] FAIL: experimental/net/headers.cc (test for excess errors)
Date: Sat, 23 Feb 2019 00:20:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi 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-89460-4-uMX761STLr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89460-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89460-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: 2019-02/txt/msg03229.txt.bz2
Content-length: 489

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89460

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-23
           Assignee|unassigned at gcc dot gnu.org      |redi at gcc dot gnu.org
     Ever confirmed|0                           |1
>From gcc-bugs-return-634929-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 01:02:48 2019
Return-Path: <gcc-bugs-return-634929-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122988 invoked by alias); 23 Feb 2019 01:02: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 122213 invoked by uid 55); 23 Feb 2019 01:02:42 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89446] [7/8 Regression] __builtin_constant_p expression crashes in char_traits::compare
Date: Sat, 23 Feb 2019 01:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89446-4-nmSHSDyiDd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89446-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89446-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: 2019-02/txt/msg03231.txt.bz2
Content-length: 801

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89446

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Sat Feb 23 01:02:05 2019
New Revision: 269144

URL: https://gcc.gnu.org/viewcvs?rev=269144&root=gcc&view=rev
Log:
PR libstdc++/89446 fix null pointer dereference in char_traits

        PR libstdc++/89446
        * include/bits/char_traits.h (__constant_char_array): Check index is
        in range before dereferencing.
        * testsuite/21_strings/basic_string_view/operators/char/89446.cc:
        New test.

Added:
   
branches/gcc-8-branch/libstdc++-v3/testsuite/21_strings/basic_string_view/operators/char/89446.cc
Modified:
    branches/gcc-8-branch/libstdc++-v3/ChangeLog
    branches/gcc-8-branch/libstdc++-v3/include/bits/char_traits.h
>From gcc-bugs-return-634928-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 01:02:41 2019
Return-Path: <gcc-bugs-return-634928-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121858 invoked by alias); 23 Feb 2019 01:02: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 120925 invoked by uid 55); 23 Feb 2019 01:02:33 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89446] [7/8 Regression] __builtin_constant_p expression crashes in char_traits::compare
Date: Sat, 23 Feb 2019 01:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89446-4-WtAyOhO3iF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89446-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89446-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: 2019-02/txt/msg03230.txt.bz2
Content-length: 801

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89446

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Sat Feb 23 01:01:56 2019
New Revision: 269143

URL: https://gcc.gnu.org/viewcvs?rev=269143&root=gcc&view=rev
Log:
PR libstdc++/89446 fix null pointer dereference in char_traits

        PR libstdc++/89446
        * include/bits/char_traits.h (__constant_char_array): Check index is
        in range before dereferencing.
        * testsuite/21_strings/basic_string_view/operators/char/89446.cc:
        New test.

Added:
   
branches/gcc-7-branch/libstdc++-v3/testsuite/21_strings/basic_string_view/operators/char/89446.cc
Modified:
    branches/gcc-7-branch/libstdc++-v3/ChangeLog
    branches/gcc-7-branch/libstdc++-v3/include/bits/char_traits.h
>From gcc-bugs-return-634930-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 01:03:27 2019
Return-Path: <gcc-bugs-return-634930-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125665 invoked by alias); 23 Feb 2019 01:03: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 125397 invoked by uid 48); 23 Feb 2019 01:03:23 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/84939] [7/8/9 Regression] internal compiler error: in gimplify_expr, at gimplify.c:12382
Date: Sat, 23 Feb 2019 01:03: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.0.1
X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-84939-4-dKdP287S48@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84939-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84939-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: 2019-02/txt/msg03232.txt.bz2
Content-length: 242

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84939

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
This also crashes the compiler, in a different way:

  void b() {
    struct c {
      int d struct d e;
    };
  }
>From gcc-bugs-return-634931-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 01:08:34 2019
Return-Path: <gcc-bugs-return-634931-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17819 invoked by alias); 23 Feb 2019 01:08: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 17646 invoked by uid 48); 23 Feb 2019 01:08:29 -0000
From: "slyfox at inbox dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89462] New: gfortran loops in code generation
Date: Sat, 23 Feb 2019 01:08: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: slyfox at inbox dot ru
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-89462-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: 2019-02/txt/msg03233.txt.bz2
Content-length: 2717

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89462

            Bug ID: 89462
           Summary: gfortran loops in code generation
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: slyfox at inbox dot ru
  Target Milestone: ---

Forwarding bug reported by gvozdila at
https://www.linux.org.ru/forum/development/14824493 :

$ cat a.f95
  CHARACTER*1 FUNCTION test(H)
     CHARACTER*1 test2,TR,aTP

     ENTRY test2(L)
     CALL ttest3(aTP)
     test = TR
     RETURN

     END

$ gfortran -c a.f95
<hung>

Seems to be an old regression:

$ for gf in /usr/bin/gfortran*; do  echo -n "$gf: "; ( ulimit -t 5; $gf -c
a.f95 >/dev/null 2>&1 && echo "OK" || echo "BAD" ; ); done

/usr/bin/gfortran: BAD
/usr/bin/gfortran-4.0.4: OK
/usr/bin/gfortran-4.1.2: OK
/usr/bin/gfortran-4.2.4: BAD
/usr/bin/gfortran-4.3.6: BAD
/usr/bin/gfortran-4.4.7: BAD
/usr/bin/gfortran-4.5.4: BAD
/usr/bin/gfortran-4.6.4: BAD
/usr/bin/gfortran-4.7.4: BAD
/usr/bin/gfortran-4.8.5: BAD
/usr/bin/gfortran-4.9.4: BAD
/usr/bin/gfortran-5.4.0: BAD
/usr/bin/gfortran-5.5.0: BAD
/usr/bin/gfortran-6.4.0: BAD
/usr/bin/gfortran-6.5.0: BAD
/usr/bin/gfortran-7.3.0: BAD
/usr/bin/gfortran-7.4.0: BAD
/usr/bin/gfortran-8.2.0: BAD

$ gdb --quiet -p 13184
Attaching to process 13184
...
(gdb) bt
#0  poplevel (keep=keep@entry=1, functionbody=functionbody@entry=1) at
/usr/src/debug/sys-devel/gcc-8.2.0-r6/gcc-8.2.0/gcc/fortran/f95-lang.c:386
#1  0x00000000006ce95a in gfc_generate_function_code (ns=<optimized out>) at
/usr/src/debug/sys-devel/gcc-8.2.0-r6/gcc-8.2.0/gcc/fortran/trans-decl.c:6633
#2  0x000000000065c960 in translate_all_program_units
(gfc_global_ns_list=<optimized out>) at
/usr/src/debug/sys-devel/gcc-8.2.0-r6/gcc-8.2.0/gcc/fortran/parse.c:6125
#3  gfc_parse_file () at
/usr/src/debug/sys-devel/gcc-8.2.0-r6/gcc-8.2.0/gcc/fortran/parse.c:6328
#4  0x00000000006a45d0 in gfc_be_parse_file () at
/usr/src/debug/sys-devel/gcc-8.2.0-r6/gcc-8.2.0/gcc/fortran/f95-lang.c:204
#5  0x0000000000b0584e in compile_file () at
/usr/src/debug/sys-devel/gcc-8.2.0-r6/gcc-8.2.0/gcc/toplev.c:455
#6  0x00000000005c8fff in do_compile () at
/usr/src/debug/sys-devel/gcc-8.2.0-r6/gcc-8.2.0/gcc/toplev.c:2136
#7  toplev::main (this=this@entry=0x7fffef35aea6, argc=<optimized out>,
argc@entry=13, argv=<optimized out>, argv@entry=0x7fffef35afa8)
    at /usr/src/debug/sys-devel/gcc-8.2.0-r6/gcc-8.2.0/gcc/toplev.c:2271
#8  0x00000000005cb2cb in main (argc=13, argv=0x7fffef35afa8) at
/usr/src/debug/sys-devel/gcc-8.2.0-r6/gcc-8.2.0/gcc/main.c:39
>From gcc-bugs-return-634932-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 01:20:14 2019
Return-Path: <gcc-bugs-return-634932-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6644 invoked by alias); 23 Feb 2019 01:20: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 6363 invoked by uid 55); 23 Feb 2019 01:20:10 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89390] [9 Regression] ICE in get_string, at spellcheck-tree.h:46
Date: Sat, 23 Feb 2019 01: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: 9.0
X-Bugzilla-Keywords: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89390-4-bnq11irZrE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89390-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89390-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: 2019-02/txt/msg03234.txt.bz2
Content-length: 832

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89390

--- Comment #5 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Author: dmalcolm
Date: Sat Feb 23 01:19:38 2019
New Revision: 269145

URL: https://gcc.gnu.org/viewcvs?rev=269145&root=gcc&view=rev
Log:
Capture source location of dtors (PR c++/89390)

gcc/cp/ChangeLog:
        PR c++/89390
        * parser.c (cp_parser_unqualified_id): Capture and use locations
        for destructors.

gcc/testsuite/ChangeLog:
        PR c++/89390
        * g++.dg/diagnostic/pr89390.C: Update expected location of error,
        renaming to a multicharacter name, so that start != finish.  Add
        tests for dtor locations.


Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/diagnostic/pr89390.C
>From gcc-bugs-return-634933-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 01:23:24 2019
Return-Path: <gcc-bugs-return-634933-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16749 invoked by alias); 23 Feb 2019 01:23: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 16515 invoked by uid 48); 23 Feb 2019 01:23:20 -0000
From: "qrzhang at gatech dot edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/89463] New: gcc generates wrong debug information at -O3
Date: Sat, 23 Feb 2019 01:23:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: qrzhang at gatech dot edu
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-89463-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: 2019-02/txt/msg03235.txt.bz2
Content-length: 1783

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89463

            Bug ID: 89463
           Summary: gcc generates wrong debug information at -O3
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: qrzhang at gatech dot edu
  Target Milestone: ---

It bug affects the latest trunk.
It also affects gcc-8 and gcc-7.
gcc-6 works fine.

With "-O3", it incorrectly prints "i=0".



$ gcc-trunk -v
Using built-in specs.
COLLECT_GCC=gcc-trunk
COLLECT_LTO_WRAPPER=/home/absozero/trunk/root-gcc/libexec/gcc/x86_64-pc-linux-gnu/9.0.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc/configure --prefix=/home/absozero/trunk/root-gcc
--enable-languages=c,c++ --disable-werror --enable-multilib
Thread model: posix
gcc version 9.0.1 20190222 (experimental) [trunk revision 269113] (GCC)



$ cat abc.c
int a;
int main() {
  int i;
  for (; a < 10; a++)
    i = 0;
  for (; i < 6; i++)
    ;
  optimize_me_not();
}

$ cat outer.c
optimize_me_not() {}


$ cat cmds
b 8
r
p i
kill
q



$ gcc-trunk -g abc.c outer.c
$ gdb-trunk -x cmds -batch a.out
Breakpoint 1 at 0x4004b9: file abc.c, line 8.

Breakpoint 1, main () at abc.c:8
8         optimize_me_not();
$1 = 6
Kill the program being debugged? (y or n) [answered Y; input not from terminal]
[Inferior 1 (process 29883) killed]






$ gcc-trunk -g abc.c outer.c -O3
$ gdb-trunk -x cmds -batch a.out
Breakpoint 1 at 0x4003b7: file abc.c, line 8.

Breakpoint 1, main () at abc.c:8
8         optimize_me_not();
$1 = 0
Kill the program being debugged? (y or n) [answered Y; input not from terminal]
[Inferior 1 (process 31868) killed]
>From gcc-bugs-return-634934-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 01:33:59 2019
Return-Path: <gcc-bugs-return-634934-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25530 invoked by alias); 23 Feb 2019 01:33: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 25227 invoked by uid 48); 23 Feb 2019 01:33:53 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/89463] debug information for iteractor of an empty loop is gone (at -O3)
Date: Sat, 23 Feb 2019 01:33:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: pinskia 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 bug_severity
Message-ID: <bug-89463-4-grqFTdZyZl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89463-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89463-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: 2019-02/txt/msg03236.txt.bz2
Content-length: 774

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89463

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|gcc generates wrong debug   |debug information for
                   |information at -O3          |iteractor of an empty loop
                   |                            |is gone (at -O3)
           Severity|normal                      |enhancement

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
What is happening is the empty loop is being removed and not replaced with a
debug statement say i is 6 afterwards.  I don't know if this is a good idea to
put a debug statement here or not.
>From gcc-bugs-return-634935-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 01:43:47 2019
Return-Path: <gcc-bugs-return-634935-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64156 invoked by alias); 23 Feb 2019 01:43: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 63844 invoked by uid 48); 23 Feb 2019 01:43:42 -0000
From: "qrzhang at gatech dot edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/89463] debug information for iteractor of an empty loop is gone (at -O3)
Date: Sat, 23 Feb 2019 01:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: qrzhang at gatech dot edu
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-89463-4-vaWvw8jM4c@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89463-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89463-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: 2019-02/txt/msg03237.txt.bz2
Content-length: 811

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89463

--- Comment #2 from Qirun Zhang <qrzhang at gatech dot edu> ---
(In reply to Andrew Pinski from comment #1)
> What is happening is the empty loop is being removed and not replaced with a
> debug statement say i is 6 afterwards.  I don't know if this is a good idea
> to put a debug statement here or not.

Agreed.
Nevertheless, it should not print a wrong value.
The expected behavior is "<optimized out>" like  what gcc-6.5.0 does as
follows:


$ gcc-6 -O3 out.c abc.c -g
$ gdb-trunk -x cmds -batch a.out
Breakpoint 1 at 0x547: file abc.c, line 8.

Breakpoint 1, main () at abc.c:8
8         optimize_me_not();
$1 = <optimized out>
Kill the program being debugged? (y or n) [answered Y; input not from terminal]
[Inferior 1 (process 17644) killed]
>From gcc-bugs-return-634936-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 02:28:05 2019
Return-Path: <gcc-bugs-return-634936-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127108 invoked by alias); 23 Feb 2019 02:28: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 126884 invoked by uid 48); 23 Feb 2019 02:27:59 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/77970] inconsistent and unhelpful -Wformat warning for %lc
Date: Sat, 23 Feb 2019 02:28: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.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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 everconfirmed cf_known_to_fail
Message-ID: <bug-77970-4-1AvacCQtqs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77970-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77970-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: 2019-02/txt/msg03238.txt.bz2
Content-length: 727

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77970

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-23
     Ever confirmed|0                           |1
      Known to fail|                            |7.3.0, 8.2.0, 9.0

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
See also https://gcc.gnu.org/ml/gcc-patches/2019-02/msg01862.html for some of
the headaches this causes.  Confirmed on that basis.
>From gcc-bugs-return-634938-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 02:42:41 2019
Return-Path: <gcc-bugs-return-634938-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50179 invoked by alias); 23 Feb 2019 02:42:41 -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 49839 invoked by uid 48); 23 Feb 2019 02:42:37 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89355] Unnecessary ENDBR
Date: Sat, 23 Feb 2019 02:42: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: missed-optimization
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:
Message-ID: <bug-89355-4-SOupHVp4Ev@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89355-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89355-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: 2019-02/txt/msg03240.txt.bz2
Content-length: 177

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89355

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
*** Bug 89353 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-634937-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 02:42:41 2019
Return-Path: <gcc-bugs-return-634937-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50145 invoked by alias); 23 Feb 2019 02:42: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 49827 invoked by uid 48); 23 Feb 2019 02:42:37 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89353] Unnecessary ENDBR with -mmanual-endbr
Date: Sat, 23 Feb 2019 02:42: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
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-89353-4-Q78h4YCrlJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89353-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89353-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: 2019-02/txt/msg03239.txt.bz2
Content-length: 521

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89353

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
Unnecessary ENDBR should be fixed by PR 89355.

*** This bug has been marked as a duplicate of bug 89355 ***
>From gcc-bugs-return-634939-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 02:42:42 2019
Return-Path: <gcc-bugs-return-634939-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50278 invoked by alias); 23 Feb 2019 02:42:41 -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 49864 invoked by uid 48); 23 Feb 2019 02:42:37 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81652] [meta-bug] -fcf-protection=full bugs
Date: Sat, 23 Feb 2019 02:42:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 8.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_status resolution
Message-ID: <bug-81652-4-uYyH5wfrtk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81652-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81652-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: 2019-02/txt/msg03241.txt.bz2
Content-length: 467

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81652
Bug 81652 depends on bug 89353, which changed state.

Bug 89353 Summary: Unnecessary ENDBR with -mmanual-endbr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89353

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE
>From gcc-bugs-return-634941-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 03:02:52 2019
Return-Path: <gcc-bugs-return-634941-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117463 invoked by alias); 23 Feb 2019 03:02: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 117077 invoked by uid 55); 23 Feb 2019 03:02:47 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/67026] GCC incorrectly rejects well-formed constexpr function definition
Date: Sat, 23 Feb 2019 03:02: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: unknown
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-67026-4-4ELeoJN9hw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67026-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67026-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: 2019-02/txt/msg03243.txt.bz2
Content-length: 1239

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67026

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Sat Feb 23 03:01:59 2019
New Revision: 269148

URL: https://gcc.gnu.org/viewcvs?rev=269148&root=gcc&view=rev
Log:
PR libstdc++/89446 fix null pointer dereference in char_traits

        PR libstdc++/89446
        * include/bits/char_traits.h (__constant_char_array): Check index is
        in range before dereferencing.
        (char_traits<char>::compare, char_traits<char>::find)
        (char_traits<char8_t>::compare, char_traits<char8_t>::find): Return
        immediately if n is zero.
        (char_traits<wchar_t>::compare, char_traits<wchar_t>::find): Likewise.
        Remove workarounds for PR 67026.
        * testsuite/21_strings/basic_string_view/operators/char/89446.cc:
        New test.
        * testsuite/21_strings/basic_string_view/operators/wchar_t/89446.cc:
        New test.

Added:
   
trunk/libstdc++-v3/testsuite/21_strings/basic_string_view/operators/char/89446.cc
   
trunk/libstdc++-v3/testsuite/21_strings/basic_string_view/operators/wchar_t/89446.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/char_traits.h
>From gcc-bugs-return-634940-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 03:02:51 2019
Return-Path: <gcc-bugs-return-634940-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117311 invoked by alias); 23 Feb 2019 03:02: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 116522 invoked by uid 55); 23 Feb 2019 03:02:38 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89446] [7/8 Regression] __builtin_constant_p expression crashes in char_traits::compare
Date: Sat, 23 Feb 2019 03:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89446-4-SPYjisPDUN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89446-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89446-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: 2019-02/txt/msg03242.txt.bz2
Content-length: 1239

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89446

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Sat Feb 23 03:01:59 2019
New Revision: 269148

URL: https://gcc.gnu.org/viewcvs?rev=269148&root=gcc&view=rev
Log:
PR libstdc++/89446 fix null pointer dereference in char_traits

        PR libstdc++/89446
        * include/bits/char_traits.h (__constant_char_array): Check index is
        in range before dereferencing.
        (char_traits<char>::compare, char_traits<char>::find)
        (char_traits<char8_t>::compare, char_traits<char8_t>::find): Return
        immediately if n is zero.
        (char_traits<wchar_t>::compare, char_traits<wchar_t>::find): Likewise.
        Remove workarounds for PR 67026.
        * testsuite/21_strings/basic_string_view/operators/char/89446.cc:
        New test.
        * testsuite/21_strings/basic_string_view/operators/wchar_t/89446.cc:
        New test.

Added:
   
trunk/libstdc++-v3/testsuite/21_strings/basic_string_view/operators/char/89446.cc
   
trunk/libstdc++-v3/testsuite/21_strings/basic_string_view/operators/wchar_t/89446.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/char_traits.h
>From gcc-bugs-return-634942-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 05:16:37 2019
Return-Path: <gcc-bugs-return-634942-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62326 invoked by alias); 23 Feb 2019 05:16:36 -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 62146 invoked by uid 48); 23 Feb 2019 05:16:32 -0000
From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89462] gfortran loops in code generation
Date: Sat, 23 Feb 2019 05: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jvdelisle 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-89462-4-2Rx3tbh9eC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89462-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89462-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: 2019-02/txt/msg03244.txt.bz2
Content-length: 575

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89462

Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-23
                 CC|                            |jvdelisle at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Confirmed on trunk.
>From gcc-bugs-return-634943-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 06:19:40 2019
Return-Path: <gcc-bugs-return-634943-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119807 invoked by alias); 23 Feb 2019 06:19: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 119675 invoked by uid 48); 23 Feb 2019 06:19:35 -0000
From: "gcc at nmacleod dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89464] New: shared_ptr_base.h: error: '__tag' was not declared in this scope (gcc-8.3.0 regression?)
Date: Sat, 23 Feb 2019 06:19: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.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gcc at nmacleod 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-89464-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: 2019-02/txt/msg03245.txt.bz2
Content-length: 3560

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89464

            Bug ID: 89464
           Summary: shared_ptr_base.h: error: '__tag' was not declared in
                    this scope (gcc-8.3.0 regression?)
           Product: gcc
           Version: 8.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gcc at nmacleod dot com
  Target Milestone: ---

I've just tried building the LibreELEC operating system with gcc-8.3.0 (glibc
2.29) and it has failed when compiling the Kodi addon "PVR HDHomeRun"[1].

The compile error is:

/home/neil/projects/scratch/alternates/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.1-devel-gcc/toolchain/bin/x86_64-libreelec-linux-gnu-g++
 -DADDON_GLOBAL_VERSION_MAIN_USED -DADDON_INSTANCE_VERSION_PVR_USED
-DBUILD_KODI_ADDON -Dpvr_hdhomerun_EXPORTS
-I/home/neil/projects/scratch/alternates/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.1-devel-gcc/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include
-I/home/neil/projects/scratch/alternates/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.1-devel-gcc/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/kodi
-I/home/neil/projects/scratch/alternates/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.1-devel-gcc/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/p8-platform
-I/home/neil/projects/scratch/alternates/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.1-devel-gcc/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/hdhomerun
-march=x86-64 -m64 -mmmx -msse -msse2 -mfpmath=sse -fomit-frame-pointer -Wall
-pipe -Os  -std=c++11 -Os -DNDEBUG -fPIC   -D_LINUX -DTARGET_POSIX
-DTARGET_LINUX -D_GNU_SOURCE -DHAVE_LINUX_MEMFD=1 -DHAVE_MKOSTEMP=1
-DHAVE_SSE=1 -DHAVE_SSE2=1 -DHAVE_SSE3=1 -DHAVE_SSSE3=1 -DHAVE_SSE4_1=1 -MD -MT
CMakeFiles/pvr.hdhomerun.dir/src/HDHomeRunTuners.cpp.o -MF
CMakeFiles/pvr.hdhomerun.dir/src/HDHomeRunTuners.cpp.o.d -o
CMakeFiles/pvr.hdhomerun.dir/src/HDHomeRunTuners.cpp.o -c
../src/HDHomeRunTuners.cpp
In file included from
/home/neil/projects/scratch/alternates/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.1-devel-gcc/toolchain/x86_64-libreelec-linux-gnu/include/c++/8.3.0/bits/shared_ptr.h:52,
                 from
/home/neil/projects/scratch/alternates/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.1-devel-gcc/toolchain/x86_64-libreelec-linux-gnu/include/c++/8.3.0/memory:81,
                 from ../src/HDHomeRunTuners.cpp:30:
/home/neil/projects/scratch/alternates/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.1-devel-gcc/toolchain/x86_64-libreelec-linux-gnu/include/c++/8.3.0/bits/shared_ptr_base.h:
In static member function 'static const std::type_info&
std::_Sp_make_shared_tag::_S_ti()':
/home/neil/projects/scratch/alternates/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.1-devel-gcc/toolchain/x86_64-libreelec-linux-gnu/include/c++/8.3.0/bits/shared_ptr_base.h:511:49:
error: '__tag' was not declared in this scope
       return reinterpret_cast<const type_info&>(__tag);
                                                 ^~~~~

The build log for this addon is here: http://ix.io/1BOs

The PVR HDHomeRun code compiles without issue when using gcc-8.2.0 instead of
gcc-8.3.0, so maybe this is a gcc-8.3.0 regression?

gcc-8.3.0 has been built from source along with the rest of the LibreELEC
toolchain. The build host is Ubuntu 17.10.

1.
https://github.com/kodi-pvr/pvr.hdhomerun/blob/master/src/HDHomeRunTuners.cpp#L30
>From gcc-bugs-return-634944-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 06:32:11 2019
Return-Path: <gcc-bugs-return-634944-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40429 invoked by alias); 23 Feb 2019 06:32: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 40194 invoked by uid 48); 23 Feb 2019 06:32:06 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89464] shared_ptr_base.h: error: '__tag' was not declared in this scope (gcc-8.3.0 regression?)
Date: Sat, 23 Feb 2019 06:32:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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 component everconfirmed
Message-ID: <bug-89464-4-7fX5FuEuJA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89464-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89464-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: 2019-02/txt/msg03246.txt.bz2
Content-length: 868

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89464

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2019-02-23
          Component|c++                         |libstdc++
     Ever confirmed|0                           |1

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
17b46dadecbf (redi   2018-11-22 15:02:46 +0000  510)       alignas(type_info)
static constexpr char __tag[sizeof(type_info)] = { };
0d9884f7ccc3 (redi   2017-05-11 13:21:07 +0000  511)       return
reinterpret_cast<const type_info&>(__tag);


Hmm, it is there for me.

Can you add -save-temps and provide the preprocessed source?
>From gcc-bugs-return-634945-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 06:50:27 2019
Return-Path: <gcc-bugs-return-634945-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116003 invoked by alias); 23 Feb 2019 06:50:26 -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 115660 invoked by uid 48); 23 Feb 2019 06:50:20 -0000
From: "iains at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/704] --help and --version
Date: Sat, 23 Feb 2019 06:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: 2.97
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: iains 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-704-4-ogJN0wOPPZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-704-4@http.gcc.gnu.org/bugzilla/>
References: <bug-704-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: 2019-02/txt/msg03247.txt.bz2
Content-length: 1329

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=704

--- Comment #20 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #19)
> (In reply to joseph@codesourcery.com from comment #18)
> > Whether this is fixed may be determined by running all of the programs 
> > installed in $exec_prefix/bin by current mainline with the --help and 
> > --version options (and confirming the GCC version number is properly shown 
> > in the --version output).
> 
> looks like gcc-nm and gcc-ranlib still fail with --help:

That's not a fault with the GCC wrappers, it's because the "upstream" cctools
nm and ranlib don't respond to "--help" (or --version).  I have amended
versions of them that handle --help and --version (available on github***) that
work:

$ ./gcc/gcc-ar --help
usage:  ar -d [-TLsv] archive file ...
        ar -m [-TLsv] archive file ...
<snip>

$ ./gcc/gcc-ar --version
xtools-1.1.0 ar

- the point is that this is not a problem with the GCC wrappers, the intention
of them is to pass the --help and --version onto the underlying commands.

>From the point of view of Darwin, I'd say this could be closed, of course it
might not be completely clean for other platforms.

*** Note: the versions published on github are quite old - on the TODO to
provide some updates.
>From gcc-bugs-return-634946-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 06:51:41 2019
Return-Path: <gcc-bugs-return-634946-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120757 invoked by alias); 23 Feb 2019 06:51:41 -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 120476 invoked by uid 48); 23 Feb 2019 06:51:36 -0000
From: "gcc at nmacleod dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89464] shared_ptr_base.h: error: '__tag' was not declared in this scope (gcc-8.3.0 regression?)
Date: Sat, 23 Feb 2019 06:51:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gcc at nmacleod dot com
X-Bugzilla-Status: WAITING
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-89464-4-11lSYYaaRI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89464-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89464-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: 2019-02/txt/msg03248.txt.bz2
Content-length: 397

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89464

--- Comment #2 from Milhouse <gcc at nmacleod dot com> ---
This is a new build log, with -save-temps added: http://ix.io/1BOD

I've uploaded the PVR HDHomeRun build directory as a tar.gz: 

http://milhouse.libreelec.tv/other/pvrhdhomerun.tar.gz

This directory includes .s, .i, .ii etc. files - hopefully this is what you are
looking for.
>From gcc-bugs-return-634947-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 07:52:56 2019
Return-Path: <gcc-bugs-return-634947-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94367 invoked by alias); 23 Feb 2019 07:52:55 -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 94160 invoked by uid 48); 23 Feb 2019 07:52:51 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89464] shared_ptr_base.h: error: '__tag' was not declared in this scope (gcc-8.3.0 regression?)
Date: Sat, 23 Feb 2019 07:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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: bug_status resolution
Message-ID: <bug-89464-4-a5tieUikS1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89464-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89464-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: 2019-02/txt/msg03249.txt.bz2
Content-length: 943

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89464

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Someone is doing:
#define alignas(x) __attribute__((aligned(x)))

Which is not valid as alignas does take a type name also.

You can figure out who by adding -g3 (with -save-temps still) and looking at
the .ii file to see who defines it.

Easies way to fix this is to reorder the header files:
#include "HDHomeRunTuners.h"

#include <cstring>
#include <ctime>
#include <functional>
#include <memory>
#include <set>
#include <string>
#include <vector>

So the system ones are included first.

But this is not a GCC issue.
>From gcc-bugs-return-634948-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 08:12:31 2019
Return-Path: <gcc-bugs-return-634948-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52803 invoked by alias); 23 Feb 2019 08:12: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 50494 invoked by uid 48); 23 Feb 2019 08:12:26 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89464] shared_ptr_base.h: error: '__tag' was not declared in this scope (gcc-8.3.0 regression?)
Date: Sat, 23 Feb 2019 08:12:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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-89464-4-DE2nV3oIj8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89464-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89464-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: 2019-02/txt/msg03250.txt.bz2
Content-length: 310

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89464

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The problem is in https://github.com/Silicondust/libhdhomerun:
hdhomerun_os_posix.h
Which does:
#if !defined(alignas)
#define alignas(n) __attribute__((aligned(n)))
#endif


That is wrong.
>From gcc-bugs-return-634949-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 08:18:13 2019
Return-Path: <gcc-bugs-return-634949-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121512 invoked by alias); 23 Feb 2019 08:18: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 121439 invoked by uid 48); 23 Feb 2019 08:18:09 -0000
From: "gcc at nmacleod dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89464] shared_ptr_base.h: error: '__tag' was not declared in this scope (gcc-8.3.0 regression?)
Date: Sat, 23 Feb 2019 08:18:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gcc at nmacleod dot com
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-89464-4-k9yQvg6aHd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89464-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89464-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: 2019-02/txt/msg03251.txt.bz2
Content-length: 230

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89464

--- Comment #5 from Milhouse <gcc at nmacleod dot com> ---
Thanks very much for digging into this so quickly and identifying the cause,
I'll feed it back to the add-on author.
>From gcc-bugs-return-634950-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 09:43:53 2019
Return-Path: <gcc-bugs-return-634950-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69003 invoked by alias); 23 Feb 2019 09:43: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 68820 invoked by uid 48); 23 Feb 2019 09:43:47 -0000
From: "mrison at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89448] Failure to generate diagnostic for "complex int" (OK for "_Complex int")
Date: Sat, 23 Feb 2019 09:43: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: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mrison at hotmail 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-89448-4-tfuckS0Qo6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89448-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89448-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: 2019-02/txt/msg03252.txt.bz2
Content-length: 260

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89448

--- Comment #2 from Mark RISON <mrison at hotmail dot com> ---
(In reply to Richard Biener from comment #1)
> Because 'complex' is from a system header probably ...
It still ought to give a diagnostic, no?
>From gcc-bugs-return-634952-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 10:05:18 2019
Return-Path: <gcc-bugs-return-634952-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115252 invoked by alias); 23 Feb 2019 10:05: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 115062 invoked by uid 55); 23 Feb 2019 10:05:13 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/89349] segfault when building GCC 8 branch with GCC master
Date: Sat, 23 Feb 2019 10:05: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89349-4-UrMp71axaF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89349-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89349-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: 2019-02/txt/msg03254.txt.bz2
Content-length: 719

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89349

--- Comment #15 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Sat Feb 23 10:04:41 2019
New Revision: 269154

URL: https://gcc.gnu.org/viewcvs?rev=269154&root=gcc&view=rev
Log:
        PR ada/89349
        Backport from mainline
        2018-05-25  Arnaud Charlet  <charlet@adacore.com>

        * osint.ads (Unknown_Attributes): No longer pretend this is a constant.
        (No_File_Info_Cache): Initialize separately.
        * osint.adb (No_File_Info_Cache): Update initializer.

Modified:
    branches/gcc-7-branch/gcc/ada/ChangeLog
    branches/gcc-7-branch/gcc/ada/osint.adb
    branches/gcc-7-branch/gcc/ada/osint.ads
>From gcc-bugs-return-634951-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 10:05:00 2019
Return-Path: <gcc-bugs-return-634951-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113909 invoked by alias); 23 Feb 2019 10:05: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 113742 invoked by uid 55); 23 Feb 2019 10:04:55 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/89349] segfault when building GCC 8 branch with GCC master
Date: Sat, 23 Feb 2019 10:05: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89349-4-UlyHBhkhtB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89349-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89349-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: 2019-02/txt/msg03253.txt.bz2
Content-length: 719

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89349

--- Comment #14 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Sat Feb 23 10:04:23 2019
New Revision: 269153

URL: https://gcc.gnu.org/viewcvs?rev=269153&root=gcc&view=rev
Log:
        PR ada/89349
        Backport from mainline
        2018-05-25  Arnaud Charlet  <charlet@adacore.com>

        * osint.ads (Unknown_Attributes): No longer pretend this is a constant.
        (No_File_Info_Cache): Initialize separately.
        * osint.adb (No_File_Info_Cache): Update initializer.

Modified:
    branches/gcc-8-branch/gcc/ada/ChangeLog
    branches/gcc-8-branch/gcc/ada/osint.adb
    branches/gcc-8-branch/gcc/ada/osint.ads
>From gcc-bugs-return-634953-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 10:06:49 2019
Return-Path: <gcc-bugs-return-634953-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24425 invoked by alias); 23 Feb 2019 10:06: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 24303 invoked by uid 48); 23 Feb 2019 10:06:45 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/89349] segfault when building GCC 7 & 8 branch with GCC master
Date: Sat, 23 Feb 2019 10:06: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: 7.4.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status version resolution target_milestone short_desc
Message-ID: <bug-89349-4-s5Hgp2BdI7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89349-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89349-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: 2019-02/txt/msg03255.txt.bz2
Content-length: 740

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89349

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
            Version|9.0                         |7.4.1
         Resolution|---                         |FIXED
   Target Milestone|---                         |7.5
            Summary|segfault when building GCC  |segfault when building GCC
                   |8 branch with GCC master    |7 & 8 branch with GCC
                   |                            |master

--- Comment #16 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
.
>From gcc-bugs-return-634954-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 11:50:24 2019
Return-Path: <gcc-bugs-return-634954-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11052 invoked by alias); 23 Feb 2019 11:50: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 11003 invoked by uid 55); 23 Feb 2019 11:50:19 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/71066] [7 Regression] ICE in set_loop_bounds, at fortran/trans-array.c:4680
Date: Sat, 23 Feb 2019 11:50: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: 6.1.1
X-Bugzilla-Keywords: ice-on-invalid-code, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-71066-4-j7zbr84U4w@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71066-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71066-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: 2019-02/txt/msg03256.txt.bz2
Content-length: 1026

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71066

--- Comment #17 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Sat Feb 23 11:49:47 2019
New Revision: 269155

URL: https://gcc.gnu.org/viewcvs?rev=269155&root=gcc&view=rev
Log:
2019-02-23  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/71066
        Backport from trunk
        * trans-decl.c (generate_coarray_sym_init):  For an array
        constructor in a DATA statement of a coarray variable, set the
        rank to 1 to avoid confusion later on.  If the constructor
        contains only one value, use that for initiailizig.

2019-02-23  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/71066
        Backport from trunk
        * gfortran.dg/coarray_data_1.f90: New test.


Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/coarray_data_1.f90
Modified:
    branches/gcc-7-branch/gcc/fortran/ChangeLog
    branches/gcc-7-branch/gcc/fortran/trans-decl.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634955-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 11:51:29 2019
Return-Path: <gcc-bugs-return-634955-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12828 invoked by alias); 23 Feb 2019 11:51: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 12736 invoked by uid 48); 23 Feb 2019 11:51:23 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/71066] [7 Regression] ICE in set_loop_bounds, at fortran/trans-array.c:4680
Date: Sat, 23 Feb 2019 11: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: 6.1.1
X-Bugzilla-Keywords: ice-on-invalid-code, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-71066-4-0TtOm3mt2R@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71066-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71066-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: 2019-02/txt/msg03257.txt.bz2
Content-length: 458

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71066

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #18 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Fixed on all open branches, closing.
>From gcc-bugs-return-634956-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 12:19:23 2019
Return-Path: <gcc-bugs-return-634956-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21463 invoked by alias); 23 Feb 2019 12:19: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 21326 invoked by uid 55); 23 Feb 2019 12:19:16 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89366] Fails to compile BIND(C) interface with assumed-length character argument
Date: Sat, 23 Feb 2019 12:19: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pault at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89366-4-tA9ifbAmKf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89366-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89366-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: 2019-02/txt/msg03258.txt.bz2
Content-length: 2802

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89366

--- Comment #7 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Sat Feb 23 12:18:44 2019
New Revision: 269156

URL: https://gcc.gnu.org/viewcvs?rev=269156&root=gcc&view=rev
Log:
2019-02-23  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/89385
        PR fortran/89366
        * decl.c (gfc_verify_c_interop_param): Restriction on string
        length being one is lifted for F2018.
        * trans-expr.c (gfc_conv_gfc_desc_to_cfi_desc): For scalar
        characters with intent in, make a temporary and copy the result
        of the expression evaluation into it.
        (gfc_conv_procedure_call): Set a flag for character formal args
        having a character length that is not unity. If the procedure
        is bind C, call gfc_conv_gfc_desc_to_cfi_desc in this case.
        Also, extend bind C calls to unconditionally convert both
        pointers and allocatable expressions.

2019-02-23  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/89385
        * gfortran.dg/ISO_Fortran_binding_1.f90 : Correct test for
        previously incorrect lbound for allocatable expressions. Also
        correct stop values to avoid repetition.
        * gfortran.dg/ISO_Fortran_binding_5.f90 : New test
        * gfortran.dg/ISO_Fortran_binding_5.c : Support previous test.

        PR fortran/89366
        * gfortran.dg/ISO_Fortran_binding_6.f90 : New test
        * gfortran.dg/ISO_Fortran_binding_6.c : Support previous test.
        * gfortran.dg/pr32599.f03 : Set standard to F2008.

2019-02-23  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/89385
        PR fortran/89366
        * runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc) : In the
        interchange between character and derived, the character type
        was being set incorrectly.
        (gfc_desc_to_cfi_desc) : Eliminate the interchange of types in
        this function. Do not add the kind and length information to
        the type field of structures. Lbounds were incorrectly being
        set to zero for allocatable and pointer descriptors. Should
        have been non-pointer, non-allocatables that received this
        treatment.


Added:
    trunk/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_5.c
    trunk/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_5.f90
    trunk/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_6.c
    trunk/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_6.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/decl.c
    trunk/gcc/fortran/trans-expr.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_1.f90
    trunk/gcc/testsuite/gfortran.dg/pr32599.f03
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/runtime/ISO_Fortran_binding.c
>From gcc-bugs-return-634957-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 12:19:23 2019
Return-Path: <gcc-bugs-return-634957-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21521 invoked by alias); 23 Feb 2019 12:19: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 21324 invoked by uid 55); 23 Feb 2019 12:19:16 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89385] Incorrect members of C descriptor for an allocatable object
Date: Sat, 23 Feb 2019 12:19: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pault at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: pault at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89385-4-Csw9XWcNFn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89385-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89385-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: 2019-02/txt/msg03259.txt.bz2
Content-length: 2802

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89385

--- Comment #4 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Sat Feb 23 12:18:44 2019
New Revision: 269156

URL: https://gcc.gnu.org/viewcvs?rev=269156&root=gcc&view=rev
Log:
2019-02-23  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/89385
        PR fortran/89366
        * decl.c (gfc_verify_c_interop_param): Restriction on string
        length being one is lifted for F2018.
        * trans-expr.c (gfc_conv_gfc_desc_to_cfi_desc): For scalar
        characters with intent in, make a temporary and copy the result
        of the expression evaluation into it.
        (gfc_conv_procedure_call): Set a flag for character formal args
        having a character length that is not unity. If the procedure
        is bind C, call gfc_conv_gfc_desc_to_cfi_desc in this case.
        Also, extend bind C calls to unconditionally convert both
        pointers and allocatable expressions.

2019-02-23  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/89385
        * gfortran.dg/ISO_Fortran_binding_1.f90 : Correct test for
        previously incorrect lbound for allocatable expressions. Also
        correct stop values to avoid repetition.
        * gfortran.dg/ISO_Fortran_binding_5.f90 : New test
        * gfortran.dg/ISO_Fortran_binding_5.c : Support previous test.

        PR fortran/89366
        * gfortran.dg/ISO_Fortran_binding_6.f90 : New test
        * gfortran.dg/ISO_Fortran_binding_6.c : Support previous test.
        * gfortran.dg/pr32599.f03 : Set standard to F2008.

2019-02-23  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/89385
        PR fortran/89366
        * runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc) : In the
        interchange between character and derived, the character type
        was being set incorrectly.
        (gfc_desc_to_cfi_desc) : Eliminate the interchange of types in
        this function. Do not add the kind and length information to
        the type field of structures. Lbounds were incorrectly being
        set to zero for allocatable and pointer descriptors. Should
        have been non-pointer, non-allocatables that received this
        treatment.


Added:
    trunk/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_5.c
    trunk/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_5.f90
    trunk/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_6.c
    trunk/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_6.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/decl.c
    trunk/gcc/fortran/trans-expr.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_1.f90
    trunk/gcc/testsuite/gfortran.dg/pr32599.f03
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/runtime/ISO_Fortran_binding.c
>From gcc-bugs-return-634958-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 12:29:00 2019
Return-Path: <gcc-bugs-return-634958-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56841 invoked by alias); 23 Feb 2019 12:28: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 52968 invoked by uid 48); 23 Feb 2019 12:28:55 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89366] Fails to compile BIND(C) interface with assumed-length character argument
Date: Sat, 23 Feb 2019 12:28: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pault at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-89366-4-2PdNjNhzYD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89366-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89366-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: 2019-02/txt/msg03260.txt.bz2
Content-length: 520

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89366

Paul Thomas <pault at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
                 CC|                            |pault at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #8 from Paul Thomas <pault at gcc dot gnu.org> ---
Many thanks for the report.

Paul
>From gcc-bugs-return-634959-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 12:29:48 2019
Return-Path: <gcc-bugs-return-634959-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105820 invoked by alias); 23 Feb 2019 12:29: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 102099 invoked by uid 48); 23 Feb 2019 12:29:44 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89385] Incorrect members of C descriptor for an allocatable object
Date: Sat, 23 Feb 2019 12:29: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pault at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: pault at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89385-4-svZVTShVQq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89385-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89385-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: 2019-02/txt/msg03261.txt.bz2
Content-length: 446

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89385

Paul Thomas <pault at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Paul Thomas <pault at gcc dot gnu.org> ---
Many thanks for the report.

Paul
>From gcc-bugs-return-634960-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 12:30:04 2019
Return-Path: <gcc-bugs-return-634960-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115693 invoked by alias); 23 Feb 2019 12:30: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 111970 invoked by uid 48); 23 Feb 2019 12:29:57 -0000
From: "yangyibiao at nju dot edu.cn" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/89465] New: [GCOV] Wrong coverage with setjmp and longjmp function
Date: Sat, 23 Feb 2019 12:30:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: gcov-profile
X-Bugzilla-Version: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: yangyibiao at nju dot edu.cn
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-89465-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: 2019-02/txt/msg03262.txt.bz2
Content-length: 2948

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89465

            Bug ID: 89465
           Summary: [GCOV] Wrong coverage with setjmp and longjmp function
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: gcov-profile
          Assignee: unassigned at gcc dot gnu.org
          Reporter: yangyibiao at nju dot edu.cn
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper
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)

$ cat small.c
long jmp_buf[5];

void baz(void) { __builtin_longjmp(&jmp_buf, 1); }

int main()
{
  int a = 0;
  if (__builtin_setjmp(&jmp_buf) == 0) {
    while (1) {
      a = 1;
      baz();
    }
  }
  return a;
}

$ gcc -O0 --coverage small.c -w; ./a.out; gcov small.c; cat small.c.gcov
File 'small.c'
Lines executed:85.71% of 7
Creating 'small.c.gcov'

        -:    0:Source:small.c
        -:    0:Graph:small.gcno
        -:    0:Data:small.gcda
        -:    0:Runs:1
        -:    0:Programs:1
        -:    1:long jmp_buf[5];
        -:    2:
        1:    3:void baz(void) { __builtin_longjmp(&jmp_buf, 1); }
        -:    4:
        1:    5:int main()
        -:    6:{
        1:    7:  int a = 0;
        2:    8:  if (__builtin_setjmp(&jmp_buf) == 0) {
        -:    9:    while (1) {
    #####:   10:      a = 1;
        1:   11:      baz();
        -:   12:    }
        -:   13:  }
        1:   14:  return a;
        -:   15:}


Line #10 is wrongly marked as not executed. I am not sure whether this bug has
been fixed in the gcc 8.3.X or gcc 9.0 versions.
>From gcc-bugs-return-634961-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 12:51:00 2019
Return-Path: <gcc-bugs-return-634961-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110963 invoked by alias); 23 Feb 2019 12:50: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 108277 invoked by uid 48); 23 Feb 2019 12:50:55 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89466] New: Accessing the Internet while boostrapping
Date: Sat, 23 Feb 2019 12:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: blocker
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-89466-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: 2019-02/txt/msg03263.txt.bz2
Content-length: 1315

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89466

            Bug ID: 89466
           Summary: Accessing the Internet while boostrapping
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tkoenig at gcc dot gnu.org
  Target Milestone: ---

I finally got around to checking what was holding up the bootstrap
process for so long while the message

"checking for docbook stylesheets for documentation creation"

was displayed.  Apparently, the configure script downloads something
from the Internet using

xsltproc --noout --nonet --xinclude
http://docbook.sourceforge.net/release/xsl-ns/current/xhtml-1_1/docbook.xsl

Now, this has several problems.

First, connecting to somehwere external should be under the user's control, no
software package should be doing so during compilation by default.  There is
such a thing as data privacy.

If a source file is needed during compilation, include it in the first place.

Second, this takes far too much time.

Third, this is run repeatedly in several states during bootstrapping.

As to why I mark this a "blocker": This is a serious obstacle to my further
contribution to gcc.
>From gcc-bugs-return-634962-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 12:52:45 2019
Return-Path: <gcc-bugs-return-634962-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119842 invoked by alias); 23 Feb 2019 12:52:44 -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 119680 invoked by uid 48); 23 Feb 2019 12:52:40 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89466] [7/8/9 Regression] Accessing the Internet while boostrapping
Date: Sat, 23 Feb 2019 12:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: blocker
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc target_milestone short_desc
Message-ID: <bug-89466-4-IkMbLg1Xbl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89466-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89466-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: 2019-02/txt/msg03264.txt.bz2
Content-length: 690

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89466

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bkoz at gcc dot gnu.org
   Target Milestone|---                         |7.5
            Summary|Accessing the Internet      |[7/8/9 Regression]
                   |while boostrapping          |Accessing the Internet
                   |                            |while boostrapping

--- Comment #1 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
This appears to have been introduced in r170763.
>From gcc-bugs-return-634963-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 13:06:23 2019
Return-Path: <gcc-bugs-return-634963-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20905 invoked by alias); 23 Feb 2019 13:06: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 20818 invoked by uid 48); 23 Feb 2019 13:06:19 -0000
From: "mark at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/88835] overly aggressive -Werror=format-overflow for printf since r265648
Date: Sat, 23 Feb 2019 13:06: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: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mark at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-88835-4-QGJ34zj8sU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88835-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88835-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: 2019-02/txt/msg03265.txt.bz2
Content-length: 293

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88835

--- Comment #17 from Mark Wielaard <mark at gcc dot gnu.org> ---
(In reply to Martin Sebor from comment #16)
> The warning has been relaxed for GCC 9 in r269125.

Thanks, I can confirm elfutils builds fine without warnings with GCC 9 now.
>From gcc-bugs-return-634964-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 13:10:59 2019
Return-Path: <gcc-bugs-return-634964-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27882 invoked by alias); 23 Feb 2019 13:10: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 27749 invoked by uid 48); 23 Feb 2019 13:10:55 -0000
From: "yangyibiao at nju dot edu.cn" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/89467] New: [GCOV] wrong freqencies when there is comparison operator in the right side of the assignment statement
Date: Sat, 23 Feb 2019 13:10:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: gcov-profile
X-Bugzilla-Version: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: yangyibiao at nju dot edu.cn
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-89467-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: 2019-02/txt/msg03266.txt.bz2
Content-length: 4241

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89467

            Bug ID: 89467
           Summary: [GCOV] wrong freqencies when there is comparison
                    operator in the right side of the assignment statement
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: gcov-profile
          Assignee: unassigned at gcc dot gnu.org
          Reporter: yangyibiao at nju dot edu.cn
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper
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)

$ cat small.c
void foo(int p)
{
  int e;
  int b = 0, f = 0, d = 0;
  if ((p < f) && p) {
L:
    for (e = 0; 0;) ;
  } else if (d) {
    b = (0 >= b);
  }

  for (; e <= 3; e++) {
    if (b) { continue; }
    b = 3;
    goto L;
  }
}

void main()
{
  int a = -1;
  foo(a);
}

$ gcc -O0 --coverage small.c -w; ./a.out; gcov small.c; cat small.c.gcov
File 'small.c'
Lines executed:87.50% of 16
Creating 'small.c.gcov'

        -:    0:Source:small.c
        -:    0:Graph:small.gcno
        -:    0:Data:small.gcda
        -:    0:Runs:1
        -:    0:Programs:1
        1:    1:void foo(int p)
        -:    2:{
        -:    3:  int e;
        1:    4:  int b = 0, f = 0, d = 0;
        3:    5:  if ((p < f) && p) {
        1:    6:L:
        2:    7:    for (e = 0; 0;) ;
    #####:    8:  } else if (d) {
    #####:    9:    b = (0 >= b);
        -:   10:  }
        -:   11:
        6:   12:  for (; e <= 3; e++) {
        5:   13:    if (b) { continue; }
        1:   14:    b = 3;
        1:   15:    goto L;
        -:   16:  }
        1:   17:}
        -:   18:
        1:   19:void main()
        -:   20:{
        1:   21:  int a = -1;
        1:   22:  foo(a);
        1:   23:}

Line #5 is wrongly marked as executed 3 times which should be only executed
once. 

When Line #9 is removed, the coverage report will be correct as:

$ gcc -O0 --coverage small.c -w; ./a.out; gcov small.c; cat small.c.gcov
File 'small.c'
Lines executed:100.00% of 14
Creating 'small.c.gcov'

        -:    0:Source:small.c
        -:    0:Graph:small.gcno
        -:    0:Data:small.gcda
        -:    0:Runs:1
        -:    0:Programs:1
        1:    1:void foo(int p)
        -:    2:{
        -:    3:  int e;
        1:    4:  int b = 0, f = 0, d = 0;
        1:    5:  if ((p < f) && p) {
        1:    6:L:
        2:    7:    for (e = 0; 0;) ;
        -:    8:  } else if (d) {
        -:    9:    // b = (0 >= b);
        -:   10:  }
        -:   11:
        6:   12:  for (; e <= 3; e++) {
        5:   13:    if (b) { continue; }
        1:   14:    b = 3;
        1:   15:    goto L;
        -:   16:  }
        1:   17:}
        -:   18:
        1:   19:void main()
        -:   20:{
        1:   21:  int a = -1;
        1:   22:  foo(a);
        1:   23:}
>From gcc-bugs-return-634965-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 13:16:30 2019
Return-Path: <gcc-bugs-return-634965-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82032 invoked by alias); 23 Feb 2019 13:16: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 78044 invoked by uid 48); 23 Feb 2019 13:16:25 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/61765] [7/8/9 Regression] [F03] Rejects valid BIND(C) ENTRY
Date: Sat, 23 Feb 2019 13: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: 5.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-61765-4-5ab997eZet@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61765-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61765-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: 2019-02/txt/msg03267.txt.bz2
Content-length: 261

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61765

--- Comment #9 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
For the record, after revision r267902 the test in pr34500 comment 0 gives an
ICE instead of a wrong error (see pr34500 comment 6).
>From gcc-bugs-return-634966-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 13:19:24 2019
Return-Path: <gcc-bugs-return-634966-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110676 invoked by alias); 23 Feb 2019 13:19: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 110469 invoked by uid 55); 23 Feb 2019 13:19:19 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88117] [9 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.c:2697
Date: Sat, 23 Feb 2019 13:19: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pault at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: pault at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88117-4-QhQCX9mjaI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88117-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88117-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: 2019-02/txt/msg03268.txt.bz2
Content-length: 913

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88117

--- Comment #8 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Sat Feb 23 13:18:47 2019
New Revision: 269157

URL: https://gcc.gnu.org/viewcvs?rev=269157&root=gcc&view=rev
Log:
2019-02-23  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/88117
        * resolve.c (deferred_op_assign): Return if the lhs expression
        has the pointer attribute.
        * trans-expr.c (gfc_trans_assignment_1): Do not fix the string
        length if the lhs expression has the pointer attribute.

2019-02-23  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/88117
        * gfortran.dg/deferred_character_32.f90 : New test

Added:
    trunk/gcc/testsuite/gfortran.dg/deferred_character_32.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/resolve.c
    trunk/gcc/fortran/trans-expr.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634967-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 13:25:15 2019
Return-Path: <gcc-bugs-return-634967-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120680 invoked by alias); 23 Feb 2019 13:25: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 120574 invoked by uid 48); 23 Feb 2019 13:24:56 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88117] [9 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.c:2697
Date: Sat, 23 Feb 2019 13:25: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pault at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: pault at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88117-4-28RunU4foh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88117-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88117-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: 2019-02/txt/msg03269.txt.bz2
Content-length: 1394

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88117

--- Comment #9 from Paul Thomas <pault at gcc dot gnu.org> ---
(In reply to Paul Thomas from comment #8)
> Author: pault
> Date: Sat Feb 23 13:18:47 2019
> New Revision: 269157
> 
> URL: https://gcc.gnu.org/viewcvs?rev=269157&root=gcc&view=rev
> Log:
> 2019-02-23  Paul Thomas  <pault@gcc.gnu.org>
> 
> 	PR fortran/88117
> 	* resolve.c (deferred_op_assign): Return if the lhs expression
> 	has the pointer attribute.
> 	* trans-expr.c (gfc_trans_assignment_1): Do not fix the string
> 	length if the lhs expression has the pointer attribute.
> 
> 2019-02-23  Paul Thomas  <pault@gcc.gnu.org>
> 
> 	PR fortran/88117
> 	* gfortran.dg/deferred_character_32.f90 : New test
> 
> Added:
>     trunk/gcc/testsuite/gfortran.dg/deferred_character_32.f90
> Modified:
>     trunk/gcc/fortran/ChangeLog
>     trunk/gcc/fortran/resolve.c
>     trunk/gcc/fortran/trans-expr.c
>     trunk/gcc/testsuite/ChangeLog

I committed as 'obvious' to trunk. The testcase does not produce correct code
on 8- or 7-branches. The part of the patch in resolve.c fixes this and so I
intend to backport since it is obvious that extra temporary creation should not
be necessary here; pointers being the same as non-allocatable/non-pointer lhs's
in this context.

Please note, that the testcase works fine on trunk if 'z' is made allocatable.

Paul
>From gcc-bugs-return-634968-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 14:06:09 2019
Return-Path: <gcc-bugs-return-634968-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107377 invoked by alias); 23 Feb 2019 14:06: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 107294 invoked by uid 55); 23 Feb 2019 14:06:05 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88294] [9 Regression] ICE on (invalid) C++11 code: in tsubst_copy, at cp/pt.c:15391
Date: Sat, 23 Feb 2019 14:06: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88294-4-r7M18ordzq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88294-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88294-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: 2019-02/txt/msg03270.txt.bz2
Content-length: 751

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88294

--- Comment #7 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Sat Feb 23 14:05:31 2019
New Revision: 269158

URL: https://gcc.gnu.org/viewcvs?rev=269158&root=gcc&view=rev
Log:
        PR c++/88294 - ICE with non-constant noexcept-specifier.
        * pt.c (maybe_instantiate_noexcept): Set up the list of local
        specializations.  Set current_class_{ptr,ref}.

        * g++.dg/cpp0x/noexcept34.C: New test.
        * g++.dg/cpp0x/noexcept35.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/noexcept34.C
    trunk/gcc/testsuite/g++.dg/cpp0x/noexcept35.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634969-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 14:06:57 2019
Return-Path: <gcc-bugs-return-634969-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109164 invoked by alias); 23 Feb 2019 14:06:57 -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 108941 invoked by uid 48); 23 Feb 2019 14:06:52 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88294] [9 Regression] ICE on (invalid) C++11 code: in tsubst_copy, at cp/pt.c:15391
Date: Sat, 23 Feb 2019 14:06: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-88294-4-ZtXx5d9Rnu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88294-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88294-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: 2019-02/txt/msg03271.txt.bz2
Content-length: 429

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88294

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-634970-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 14:07:13 2019
Return-Path: <gcc-bugs-return-634970-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110003 invoked by alias); 23 Feb 2019 14:07: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 109903 invoked by uid 48); 23 Feb 2019 14:07:08 -0000
From: "yangyibiao at nju dot edu.cn" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/89468] New: [GCOV] wrong frequencies when the block is empty in a if statement
Date: Sat, 23 Feb 2019 14:07:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: gcov-profile
X-Bugzilla-Version: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: yangyibiao at nju dot edu.cn
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-89468-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: 2019-02/txt/msg03272.txt.bz2
Content-length: 3883

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89468

            Bug ID: 89468
           Summary: [GCOV] wrong frequencies when the block is empty in a
                    if statement
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: gcov-profile
          Assignee: unassigned at gcc dot gnu.org
          Reporter: yangyibiao at nju dot edu.cn
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper
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)

$ cat small.c
int main()
{
  int ret = 0;
  int a[2] = {1955, -1957};
  for (int i = 0; i < 2; ++i)
  {
    if (i % 2 == 1 && a[i] != -2 * i - 1955) {
      ret = 1;
    }
    else if (i % 2 == 0 && a[i] != 1955 + 2 * i) {
      // ret = 2;
    }
  }
  return ret;
}

$ gcc -O0 --coverage small.c -w; ./a.out; gcov small.c; cat small.c.gcov
File 'small.c'
Lines executed:87.50% of 8
Creating 'small.c.gcov'

        -:    0:Source:small.c
        -:    0:Graph:small.gcno
        -:    0:Data:small.gcda
        -:    0:Runs:1
        -:    0:Programs:1
        1:    1:int main()
        -:    2:{
        1:    3:  int ret = 0;
        1:    4:  int a[2] = {1955, -1957};
        3:    5:  for (int i = 0; i < 2; ++i)
        -:    6:  {
        2:    7:    if (i % 2 == 1 && a[i] != -2 * i - 1955) {
    #####:    8:      ret = 1;
        -:    9:    }
       1*:   10:    else if (i % 2 == 0 && a[i] != 1955 + 2 * i) {
        -:   11:      // ret = 2;
        -:   12:    }
        -:   13:  }
        1:   14:  return ret;
        -:   15:}

Line #10 should be also executed twice as Line #7.

When Line #11 is not removed, the result is correct as:
$ gcc -O0 --coverage small.c -w; ./a.out; gcov small.c; cat small.c.gcov
File 'small.c'
Lines executed:77.78% of 9
Creating 'small.c.gcov'

        -:    0:Source:small.c
        -:    0:Graph:small.gcno
        -:    0:Data:small.gcda
        -:    0:Runs:1
        -:    0:Programs:1
        1:    1:int main()
        -:    2:{
        1:    3:  int ret = 0;
        1:    4:  int a[2] = {1955, -1957};
        3:    5:  for (int i = 0; i < 2; ++i)
        -:    6:  {
        2:    7:    if (i % 2 == 1 && a[i] != -2 * i - 1955) {
    #####:    8:      ret = 1;
        -:    9:    }
        2:   10:    else if (i % 2 == 0 && a[i] != 1955 + 2 * i) {
    #####:   11:      ret = 2;
        -:   12:    }
        -:   13:  }
        1:   14:  return ret;
        -:   15:}
>From gcc-bugs-return-634971-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 14:47:40 2019
Return-Path: <gcc-bugs-return-634971-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48331 invoked by alias); 23 Feb 2019 14:47: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 48222 invoked by uid 48); 23 Feb 2019 14:47:36 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89419] [8/9 Regression] ICE in is_normal_capture_proxy starting with r253601
Date: Sat, 23 Feb 2019 14: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc assigned_to
Message-ID: <bug-89419-4-Iv23MQd8ap@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89419-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89419-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: 2019-02/txt/msg03273.txt.bz2
Content-length: 588

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89419

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |mpolacek at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |mpolacek at gcc dot gnu.org

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed by r269094 -- PR88394.  Will add the test to trunk.
>From gcc-bugs-return-634972-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 14:54:59 2019
Return-Path: <gcc-bugs-return-634972-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99797 invoked by alias); 23 Feb 2019 14:54: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 95934 invoked by uid 55); 23 Feb 2019 14:54:54 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89419] [8/9 Regression] ICE in is_normal_capture_proxy starting with r253601
Date: Sat, 23 Feb 2019 14: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89419-4-jy3EXmmjOY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89419-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89419-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: 2019-02/txt/msg03274.txt.bz2
Content-length: 455

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89419

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Sat Feb 23 14:54:23 2019
New Revision: 269159

URL: https://gcc.gnu.org/viewcvs?rev=269159&root=gcc&view=rev
Log:
        PR c++/89419
        * g++.dg/cpp1y/lambda-generic-89419.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/lambda-generic-89419.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634973-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 14:56:07 2019
Return-Path: <gcc-bugs-return-634973-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117596 invoked by alias); 23 Feb 2019 14:56:06 -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 117501 invoked by uid 48); 23 Feb 2019 14:56:02 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89419] [8/9 Regression] ICE in is_normal_capture_proxy starting with r253601
Date: Sat, 23 Feb 2019 14:56: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: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89419-4-dzZc6gSmLa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89419-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89419-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: 2019-02/txt/msg03275.txt.bz2
Content-length: 488

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89419

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Done.  PR88394 is still open, so the fix will be backported to 8.
>From gcc-bugs-return-634974-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 15:01:15 2019
Return-Path: <gcc-bugs-return-634974-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8956 invoked by alias); 23 Feb 2019 15:01: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 8221 invoked by uid 55); 23 Feb 2019 15:00:26 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88117] [9 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.c:2697
Date: Sat, 23 Feb 2019 15:01: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pault at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: pault at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88117-4-8l86DCHhoI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88117-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88117-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: 2019-02/txt/msg03276.txt.bz2
Content-length: 866

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88117

--- Comment #10 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Sat Feb 23 14:59:50 2019
New Revision: 269160

URL: https://gcc.gnu.org/viewcvs?rev=269160&root=gcc&view=rev
Log:
2019-02-23  Paul Thomas  <pault@gcc.gnu.org>

        Backport from trunk
        PR fortran/88117
        * resolve.c (deferred_op_assign): Return if the lhs expression
        has the pointer attribute.

2019-02-23  Paul Thomas  <pault@gcc.gnu.org>

        Backport from trunk
        PR fortran/88117
        * gfortran.dg/deferred_character_32.f90 : New test

Added:
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/deferred_character_32.f90
Modified:
    branches/gcc-8-branch/gcc/fortran/ChangeLog
    branches/gcc-8-branch/gcc/fortran/resolve.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634975-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 15:05:38 2019
Return-Path: <gcc-bugs-return-634975-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15146 invoked by alias); 23 Feb 2019 15:05: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 15006 invoked by uid 48); 23 Feb 2019 15:05:33 -0000
From: "yangyibiao at nju dot edu.cn" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/89469] New: [GCOV] wrong frequencies for the first statement in the for(;;) block
Date: Sat, 23 Feb 2019 15:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: gcov-profile
X-Bugzilla-Version: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: yangyibiao at nju dot edu.cn
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-89469-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: 2019-02/txt/msg03277.txt.bz2
Content-length: 4185

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89469

            Bug ID: 89469
           Summary: [GCOV] wrong frequencies for the first statement in
                    the for(;;) block
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: gcov-profile
          Assignee: unassigned at gcc dot gnu.org
          Reporter: yangyibiao at nju dot edu.cn
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper
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)

$ cat small.c
int main()
{
  int start = 0, mid = 3, limit = 3, lastMid = 6, r = 0;
  for (;;) {
      mid = (start + limit) / 2;
      if (lastMid == mid) {
        break;
      }

      r = mid == 1 ? 1 : 0;

      if (r > 0) {
        start = mid;
      } else {
        return 1;
      }
  }
  return 0;
}

$ gcc -O0 --coverage small.c -w; ./a.out; gcov small.c; cat small.c.gcov
File 'small.c'
Lines executed:80.00% of 10
Creating 'small.c.gcov'

        -:    0:Source:small.c
        -:    0:Graph:small.gcno
        -:    0:Data:small.gcda
        -:    0:Runs:1
        -:    0:Programs:1
        1:    1:int main()
        -:    2:{
        1:    3:  int start = 0, mid = 3, limit = 3, lastMid = 6, r = 0;
        -:    4:  for (;;) {
        1:    5:      mid = (start + limit) / 2;
        2:    6:      if (lastMid == mid) {
    #####:    7:        break;
        -:    8:      }
        -:    9:
        2:   10:      r = mid == 1 ? 1 : 0;
        -:   11:
        2:   12:      if (r > 0) {
        1:   13:        start = mid;
        -:   14:      } else {
        1:   15:        return 1;
        -:   16:      }
        -:   17:  }
    #####:   18:  return 0;
        -:   19:}

Line #5 is wrongly marked as executed once which should be executed twice. 

When Line #7 is removed, the result is correct as:
$ gcc -O0 --coverage small.c -w; ./a.out; gcov small.c; cat small.c.gcov
File 'small.c'
Lines executed:100.00% of 7
Creating 'small.c.gcov'

        -:    0:Source:small.c
        -:    0:Graph:small.gcno
        -:    0:Data:small.gcda
        -:    0:Runs:1
        -:    0:Programs:1
        1:    1:int main()
        -:    2:{
        1:    3:  int start = 0, mid = 3, limit = 3, lastMid = 6, r = 0;
        -:    4:  for (;;) {
        2:    5:      mid = (start + limit) / 2;
        -:    6:      if (lastMid == mid) {
        -:    7:        // break;
        -:    8:      }
        -:    9:
        2:   10:      r = mid == 1 ? 1 : 0;
        -:   11:
        2:   12:      if (r > 0) {
        1:   13:        start = mid;
        -:   14:      } else {
        1:   15:        return 1;
        -:   16:      }
        -:   17:  }
        -:   18:  return 0;
        -:   19:}
>From gcc-bugs-return-634976-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 15:17:47 2019
Return-Path: <gcc-bugs-return-634976-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38701 invoked by alias); 23 Feb 2019 15:17:46 -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 38628 invoked by uid 48); 23 Feb 2019 15:17:42 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89451] [9 Regression] FAIL: gfortran.dg/pr79315.f90   -O  (internal compiler error)
Date: Sat, 23 Feb 2019 15:17: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: dominiq at lps dot ens.fr
X-Bugzilla-Status: WAITING
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-89451-4-ZVs25HHNiz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89451-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89451-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: 2019-02/txt/msg03278.txt.bz2
Content-length: 569

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89451

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2019-02-23
     Ever confirmed|0                           |1

--- Comment #6 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
WORKSFORME on x86_64-apple-darwin18 r269156. It doesn't look as a gfortran bug.
>From gcc-bugs-return-634977-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 15:31:40 2019
Return-Path: <gcc-bugs-return-634977-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85644 invoked by alias); 23 Feb 2019 15:31: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 85560 invoked by uid 48); 23 Feb 2019 15:31:36 -0000
From: "yangyibiao at nju dot edu.cn" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/89470] New: [GCOV] wrong frequencies when if statement is executed after a complicated "?:"statement
Date: Sat, 23 Feb 2019 15:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: gcov-profile
X-Bugzilla-Version: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: yangyibiao at nju dot edu.cn
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-89470-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: 2019-02/txt/msg03279.txt.bz2
Content-length: 4096

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89470

            Bug ID: 89470
           Summary: [GCOV] wrong frequencies when if statement is executed
                    after a complicated "?:"statement
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: gcov-profile
          Assignee: unassigned at gcc dot gnu.org
          Reporter: yangyibiao at nju dot edu.cn
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper
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)

$ cat small.c
int foo()
{
  int hints = 2, xi = 1, dy = 18481, adx = 0, ady = 18481;
  if (dy != 0 && (adx <= ady >> 4))
  {
    hints = dy > 0 ? 2 : 1;
    if (xi) {
      hints ^= 3;
    }
  }
  else
  {
    hints = 0;
  }
  return hints;
}

int main()
{
  foo();
}

$ gcc -O0 --coverage small.c -w; ./a.out; gcov small.c; cat small.c.gcov
File 'small.c'
Lines executed:90.00% of 10
Creating 'small.c.gcov'

        -:    0:Source:small.c
        -:    0:Graph:small.gcno
        -:    0:Data:small.gcda
        -:    0:Runs:1
        -:    0:Programs:1
        1:    1:int foo()
        -:    2:{
        1:    3:  int hints = 2, xi = 1, dy = 18481, adx = 0, ady = 18481;
        1:    4:  if (dy != 0 && (adx <= ady >> 4)) {
       1*:    5:    hints = dy > 0 ? 2 : 1;
        2:    6:    if (xi) {
        1:    7:      hints ^= 3;
        -:    8:    }
        -:    9:  }
        -:   10:  else
        -:   11:  {
    #####:   12:    hints = 0;
        -:   13:  }
        1:   14:  return hints;
        -:   15:}
        -:   16:
        1:   17:int main()
        -:   18:{
        1:   19:  foo();
        -:   20:}

Line # 6 is wrongly marked as executed twice which should be only executed
once.

When Line #12 is removed, the result is correst as:
$ gcc -O0 --coverage small.c -w; ./a.out; gcov small.c; cat small.c.gcov
File 'small.c'
Lines executed:100.00% of 9
Creating 'small.c.gcov'

        -:    0:Source:small.c
        -:    0:Graph:small.gcno
        -:    0:Data:small.gcda
        -:    0:Runs:1
        -:    0:Programs:1
        1:    1:int foo()
        -:    2:{
        1:    3:  int hints = 2, xi = 1, dy = 18481, adx = 0, ady = 18481;
        1:    4:  if (dy != 0 && (adx <= ady >> 4)) {
       1*:    5:    hints = dy > 0 ? 2 : 1;
        1:    6:    if (xi) {
        1:    7:      hints ^= 3;
        -:    8:    }
        -:    9:  }
        -:   10:  else
        -:   11:  {
        -:   12:    // hints = 0;
        -:   13:  }
        1:   14:  return hints;
        -:   15:}
        -:   16:
        1:   17:int main()
        -:   18:{
        1:   19:  foo();
        -:   20:}
>From gcc-bugs-return-634978-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 15:54:35 2019
Return-Path: <gcc-bugs-return-634978-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115625 invoked by alias); 23 Feb 2019 15:54: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 115532 invoked by uid 48); 23 Feb 2019 15:54:31 -0000
From: "danglin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/87010] FAIL: gcc.dg/torture/20180712-1.c   -O1  (test for excess errors)
Date: Sat, 23 Feb 2019 15:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: danglin 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: attachments.created
Message-ID: <bug-87010-4-XeHIexT7Ck@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87010-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87010-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: 2019-02/txt/msg03280.txt.bz2
Content-length: 260

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87010

--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> ---
Created attachment 45803
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45803&action=edit
Patch

Fixes test failure on hppa.
>From gcc-bugs-return-634979-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 16:06:20 2019
Return-Path: <gcc-bugs-return-634979-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23612 invoked by alias); 23 Feb 2019 16:06:19 -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 23392 invoked by uid 48); 23 Feb 2019 16:06:14 -0000
From: "gcc at nmacleod dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89464] shared_ptr_base.h: error: '__tag' was not declared in this scope (gcc-8.3.0 regression?)
Date: Sat, 23 Feb 2019 16:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gcc at nmacleod dot com
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-89464-4-Y9Gi3PLERp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89464-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89464-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: 2019-02/txt/msg03281.txt.bz2
Content-length: 530

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89464

--- Comment #6 from Milhouse <gcc at nmacleod dot com> ---
Andrew, can you tell me what the correct algnas() definition should be, as
everywhere it is used seems to be passing a single argument. This is the usage
in shared_ptr_base.h:

alignas(type_info) static constexpr char __tag[sizeof(type_info)] = { };


Also, if possible can you explain what change in gcc-8.3.0 is triggering this
new behaviour (considering gcc-8.2.0 doesn't complain).

Many thanks in advance!
>From gcc-bugs-return-634980-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 16:21:57 2019
Return-Path: <gcc-bugs-return-634980-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57852 invoked by alias); 23 Feb 2019 16:21:56 -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 57730 invoked by uid 48); 23 Feb 2019 16:21:52 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88117] [9 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.c:2697
Date: Sat, 23 Feb 2019 16:21: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: pault at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88117-4-MEw3AfkMj4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88117-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88117-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: 2019-02/txt/msg03282.txt.bz2
Content-length: 343

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88117

--- Comment #11 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
The ICE is now gone, but I get segmentation fault at run time. If I comment the
line

   z = (z)

I get

 ab

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Is this expected?
>From gcc-bugs-return-634981-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 16:23:20 2019
Return-Path: <gcc-bugs-return-634981-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60498 invoked by alias); 23 Feb 2019 16:23: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 60429 invoked by uid 48); 23 Feb 2019 16:23:15 -0000
From: "danglin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug inline-asm/89471] New: FAIL: gcc.dg/pr84941.c (test for excess errors)
Date: Sat, 23 Feb 2019 16:23: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: danglin 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 cf_gcchost cf_gcctarget cf_gccbuild
Message-ID: <bug-89471-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: 2019-02/txt/msg03283.txt.bz2
Content-length: 1242

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89471

            Bug ID: 89471
           Summary: FAIL: gcc.dg/pr84941.c (test for excess errors)
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: inline-asm
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
              Host: hppa*-*-* (32-bit)
            Target: hppa*-*-* (32-bit)
             Build: hppa*-*-* (32-bit)

spawn -ignore SIGHUP /home/dave/gnu/gcc/objdir/gcc/xgcc
-B/home/dave/gnu/gcc/obj
dir/gcc/ /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr84941.c
-fno-diagnostics-
show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=never -O2 -S
-
o pr84941.s
/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr84941.c: In function 'foo':
/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr84941.c:9:3: error: 'asm' operand
has impossible constraints
compiler exited with status 1
FAIL: gcc.dg/pr84941.c (test for excess errors)
Excess errors:
/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr84941.c:9:3: error: 'asm' operand
has impossible constraints

Doesn't fail on hppa64.  Fails on 8.2.1 as well.
>From gcc-bugs-return-634982-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 16:29:14 2019
Return-Path: <gcc-bugs-return-634982-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71220 invoked by alias); 23 Feb 2019 16:29: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 71152 invoked by uid 48); 23 Feb 2019 16:29:09 -0000
From: "danglin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug inline-asm/87010] FAIL: gcc.dg/torture/20180712-1.c   -O1  (test for excess errors)
Date: Sat, 23 Feb 2019 16:29: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: danglin 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: component
Message-ID: <bug-87010-4-FEJmUSLXhW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87010-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87010-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: 2019-02/txt/msg03284.txt.bz2
Content-length: 443

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87010

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|testsuite                   |inline-asm

--- Comment #2 from John David Anglin <danglin at gcc dot gnu.org> ---
Given patch, I suspect it should be possible to handle constraints.
>From gcc-bugs-return-634983-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 16:31:49 2019
Return-Path: <gcc-bugs-return-634983-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77072 invoked by alias); 23 Feb 2019 16:31: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 76938 invoked by uid 48); 23 Feb 2019 16:31:45 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/704] --help and --version
Date: Sat, 23 Feb 2019 16:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: 2.97
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: egallager at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-704-4-eG7CFseA6N@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-704-4@http.gcc.gnu.org/bugzilla/>
References: <bug-704-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: 2019-02/txt/msg03285.txt.bz2
Content-length: 1760

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=704

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #21 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Iain Sandoe from comment #20)
> (In reply to Eric Gallager from comment #19)
> > (In reply to joseph@codesourcery.com from comment #18)
> > > Whether this is fixed may be determined by running all of the programs 
> > > installed in $exec_prefix/bin by current mainline with the --help and 
> > > --version options (and confirming the GCC version number is properly shown 
> > > in the --version output).
> > 
> > looks like gcc-nm and gcc-ranlib still fail with --help:
> 
> That's not a fault with the GCC wrappers, it's because the "upstream"
> cctools nm and ranlib don't respond to "--help" (or --version).  I have
> amended versions of them that handle --help and --version (available on
> github***) that work:
> 
> $ ./gcc/gcc-ar --help
> usage:  ar -d [-TLsv] archive file ...
> 	ar -m [-TLsv] archive file ...
> <snip>
> 
> $ ./gcc/gcc-ar --version
> xtools-1.1.0 ar
> 
> - the point is that this is not a problem with the GCC wrappers, the
> intention of them is to pass the --help and --version onto the underlying
> commands.
> 
> From the point of view of Darwin, I'd say this could be closed, of course it
> might not be completely clean for other platforms.
> 
> *** Note: the versions published on github are quite old - on the TODO to
> provide some updates.

OK, closing then.
>From gcc-bugs-return-634984-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 16:43:43 2019
Return-Path: <gcc-bugs-return-634984-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96161 invoked by alias); 23 Feb 2019 16:43:43 -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 95986 invoked by uid 48); 23 Feb 2019 16:43:38 -0000
From: "danglin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/89472] New: FAIL: gcc.dg/debug/dwarf2/inline5.c scan-assembler-times DW_TAG_lexical_block\\)[^#/!@;\\|]*[#/!@;\\|]+ +[^#/!@\\|]*\\(DIE \\(0x[0-9a-f]*\\) DW_TAG_variable 1
Date: Sat, 23 Feb 2019 16:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: danglin 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 cf_gcchost cf_gcctarget cf_gccbuild attachments.created
Message-ID: <bug-89472-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: 2019-02/txt/msg03286.txt.bz2
Content-length: 2261

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89472

            Bug ID: 89472
           Summary: FAIL: gcc.dg/debug/dwarf2/inline5.c
                    scan-assembler-times
                    DW_TAG_lexical_block\\)[^#/!@;\\|]*[#/!@;\\|]+
                    +[^#/!@\\|]*\\(DIE \\(0x[0-9a-f]*\\) DW_TAG_variable 1
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
              Host: hppa*-*-* (dwarf2)
            Target: hppa*-*-* (dwarf2)
             Build: hppa*-*-* (dwarf2)

Created attachment 45804
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45804&action=edit
.s file

spawn -ignore SIGHUP /home/dave/gnu/gcc/objdir/gcc/xgcc
-B/home/dave/gnu/gcc/obj
dir/gcc/ /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/debug/dwarf2/inline5.c
-fno
-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=n
ever -O -gdwarf -dA -ffat-lto-objects -fno-ident -S -o inline5.s
PASS: gcc.dg/debug/dwarf2/inline5.c (test for excess errors)
PASS: gcc.dg/debug/dwarf2/inline5.c scan-assembler-times
DW_TAG_inlined_subrouti
ne 2
PASS: gcc.dg/debug/dwarf2/inline5.c scan-assembler-times
DW_TAG_lexical_block\\)[^#/!@;\\|]*[#/!@;\\|]+ +DW_AT_abstract_origin 2
gcc.dg/debug/dwarf2/inline5.c: DW_TAG_lexical_block\\)[^#/!@;\\|]*[#/!@;\\|]+
+[^#/!@\\|]*\\(DIE \\(0x[0-9a-f]*\\) DW_TAG_variable found 3 times
FAIL: gcc.dg/debug/dwarf2/inline5.c scan-assembler-times
DW_TAG_lexical_block\\)[^#/!@;\\|]*[#/!@;\\|]+ +[^#/!@\\|]*\\(DIE
\\(0x[0-9a-f]*\\) DW_TAG_variable 1
PASS: gcc.dg/debug/dwarf2/inline5.c scan-assembler-not \\(DIE
\\(0x([0-9a-f]*)\\) DW_TAG_lexical_block\\)[^#/!@;\\|]*[#/!@;\\|]+
+[^(].*DW_TAG_lexical_block\\)[^#/!@;\\|x]*x\\1[^#/!@;\\|]*[#/!@;\\|]
+DW_AT_abstract_origin
PASS: gcc.dg/debug/dwarf2/inline5.c scan-assembler-not
DW_TAG_lexical_block\\)[^#/!@;\\|x]*x([0-9a-f]*)[^#/!@;\\|]*[#/!@;\\|]+
+DW_AT_abstract_origin.*\\(DIE \\(0x\\1\\)
DW_TAG_lexical_block\\)[^#/!@;\\|]*[#/!@;\\|]+ +DW_AT
testcase /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/debug/dwarf2/dwarf2.exp
completed in 2 seconds
>From gcc-bugs-return-634985-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 17:02:44 2019
Return-Path: <gcc-bugs-return-634985-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85212 invoked by alias); 23 Feb 2019 17:02:43 -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 85131 invoked by uid 48); 23 Feb 2019 17:02:39 -0000
From: "danglin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89473] New: FAIL: gcc.dg/tree-ssa/builtin-sprintf-10.c (test for excess errors)
Date: Sat, 23 Feb 2019 17:02: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: danglin 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 cf_gcchost cf_gcctarget cf_gccbuild
Message-ID: <bug-89473-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: 2019-02/txt/msg03287.txt.bz2
Content-length: 1940

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89473

            Bug ID: 89473
           Summary: FAIL: gcc.dg/tree-ssa/builtin-sprintf-10.c (test for
                    excess errors)
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
              Host: hppa-unknown-linux-gnu
            Target: hppa-unknown-linux-gnu
             Build: hppa-unknown-linux-gnu

spawn -ignore SIGHUP /home/dave/gnu/gcc/objdir/gcc/xgcc
-B/home/dave/gnu/gcc/obj
dir/gcc/
/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-10
.c -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-
color=never -O2 -Wall -fdump-tree-optimized -S -o builtin-sprintf-10.s
/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-10.c: In
fu
nction 'elim_wide_char_call':
/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-10.c:50:25:
 warning: format '%lc' expects argument of type 'wint_t', but argument 4 has
typ
e 'long int' [-Wformat=]
/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-10.c:26:9:
note: in definition of macro 'ELIM'
/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-10.c:50:28:
 note: format string is defined here
/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-10.c:51:25:
 warning: format '%lc' expects argument of type 'wint_t', but argument 4 has
typ
e 'long int' [-Wformat=]
[...]
FAIL: gcc.dg/tree-ssa/builtin-sprintf-10.c (test for excess errors)
Excess errors:
/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-10.c:50:25:
warning: format '%lc' expects argument of type 'wint_t', but argument 4 has
type 'long int' [-Wformat=]
[...]
>From gcc-bugs-return-634986-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 17:05:56 2019
Return-Path: <gcc-bugs-return-634986-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90521 invoked by alias); 23 Feb 2019 17:05:55 -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 90470 invoked by uid 55); 23 Feb 2019 17:05:51 -0000
From: "tk at tkoenig dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88117] [9 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.c:2697
Date: Sat, 23 Feb 2019 17:05: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tk at tkoenig dot net
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: pault at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88117-4-mewm2FJG8f@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88117-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88117-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: 2019-02/txt/msg03288.txt.bz2
Content-length: 477

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88117

--- Comment #12 from tk at tkoenig dot net ---
> --- Comment #11 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> The ICE is now gone, but I get segmentation fault at run time. If I comment the
> line
> 
>   z = (z)
> 
> I get
> 
> ab
> 
> Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
> 
> Is this expected?

Yes. The pointer is not pointing at a valid target.
>From gcc-bugs-return-634987-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 17:06:19 2019
Return-Path: <gcc-bugs-return-634987-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91741 invoked by alias); 23 Feb 2019 17:06:19 -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 91672 invoked by uid 48); 23 Feb 2019 17:06:15 -0000
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89474] New: ice in df_reg_chain_verify_unmarked, at df-scan.c:3995
Date: Sat, 23 Feb 2019 17:06: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: 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-89474-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: 2019-02/txt/msg03289.txt.bz2
Content-length: 996

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89474

            Bug ID: 89474
           Summary: ice in df_reg_chain_verify_unmarked, at df-scan.c:3995
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

For this C code:

a;
b(double);
c() {
  while (d())
    b(a);
}

compiled with recent gcc trunk and compiler flags -O3 -march=native,
does this:

during RTL pass: ira
bug507.c:6:1: internal compiler error: in df_reg_chain_verify_unmarked, at
df-scan.c:3995
    6 | }
      | ^
0x61ca63 df_reg_chain_verify_unmarked
        ../../trunk/gcc/df-scan.c:3995


The bug seems to start between revisions 269100 and 269150. 
/proc/cpuinfo says

vendor_id       : AuthenticAMD
cpu family      : 21
model           : 2
model name      : AMD FX(tm)-8350 Eight-Core Processor
>From gcc-bugs-return-634988-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 17:16:09 2019
Return-Path: <gcc-bugs-return-634988-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16667 invoked by alias); 23 Feb 2019 17:16: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 16274 invoked by uid 48); 23 Feb 2019 17:15:58 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89266] ICE with TRANSFER of len=0 character array constructor
Date: Sat, 23 Feb 2019 17: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gmx dot de
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-89266-4-SQFmygO9Ta@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89266-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89266-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: 2019-02/txt/msg03290.txt.bz2
Content-length: 299

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89266

--- Comment #10 from Harald Anlauf <anlauf at gmx dot de> ---
(In reply to Harald Anlauf from comment #9)
> A patch that does this has been posted here:
> 
> https://gcc.gnu.org/ml/fortran/2019-02/msg00153.html

This patch also fixes PR88326.
>From gcc-bugs-return-634989-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 17:19:16 2019
Return-Path: <gcc-bugs-return-634989-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21650 invoked by alias); 23 Feb 2019 17:19: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 21514 invoked by uid 48); 23 Feb 2019 17:19:12 -0000
From: "danglin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/83443] FAIL: gcc.dg/tree-ssa/builtin-sprintf-warn-18.c  (test for warnings, line 119)
Date: Sat, 23 Feb 2019 17:19: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: danglin 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-83443-4-j1gqj9vJ3J@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83443-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83443-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: 2019-02/txt/msg03291.txt.bz2
Content-length: 522

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83443

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|2018-01-15 00:00:00         |2019-02-23
     Ever confirmed|0                           |1

--- Comment #9 from John David Anglin <danglin at gcc dot gnu.org> ---
The test doesn't fail on hppa64-*=hpux*.
>From gcc-bugs-return-634991-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 17:57:49 2019
Return-Path: <gcc-bugs-return-634991-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41762 invoked by alias); 23 Feb 2019 17:57: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 41717 invoked by uid 48); 23 Feb 2019 17:57:44 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89475] Teach ccp about __builtin_bswap{16,32,64}
Date: Sat, 23 Feb 2019 17: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: keywords bug_status cf_reconfirmed_on assigned_to everconfirmed
Message-ID: <bug-89475-4-nWf8AvnE4L@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89475-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89475-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: 2019-02/txt/msg03293.txt.bz2
Content-length: 558

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89475

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-23
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1
>From gcc-bugs-return-634990-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 17:57:27 2019
Return-Path: <gcc-bugs-return-634990-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40879 invoked by alias); 23 Feb 2019 17:57: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 40832 invoked by uid 48); 23 Feb 2019 17:57:23 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89475] New: Teach ccp about __builtin_bswap{16,32,64}
Date: Sat, 23 Feb 2019 17:57: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: jakub 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-89475-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: 2019-02/txt/msg03292.txt.bz2
Content-length: 2245

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89475

            Bug ID: 89475
           Summary: Teach ccp about __builtin_bswap{16,32,64}
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
  Target Milestone: ---

When looking at PR89435, I've noticed ccp should be able, but doesn't, optimize
__builtin_bswap{16,32,64}.

Those builtins should preserve both the mask and INTEGER_CST from the argument,
just bswapped.

Short testcase:

void link_error (void);

unsigned short
f0 (unsigned short x)
{
  x &= 0xaa55;
  x = __builtin_bswap16 (x);
  if (x & 0xaa55)
    link_error ();
  return x;
}

unsigned short
f1 (unsigned short x)
{
  x &= 0x55aa;
  x = __builtin_bswap16 (x);
  if (x & 0x55aa)
    link_error ();
  return x;
}

unsigned int
f2 (unsigned int x)
{
  x &= 0x55aa5aa5U;
  x = __builtin_bswap32 (x);
  if (x & 0x5aa555aaU)
    link_error ();
  return x;
}

unsigned long long int
f3 (unsigned long long int x)
{
  x &= 0x55aa5aa544cc2211ULL;
  x = __builtin_bswap64 (x);
  if (x & 0xeedd33bb5aa555aaULL)
    link_error ();
  return x;
}

unsigned short
f4 (unsigned short x)
{
  x = __builtin_bswap32 (x);
  if (x != 0)
    link_error ();
  return x;
}

unsigned int
f5 (unsigned int x)
{
  x = __builtin_bswap64 (x);
  if (x != 0)
    link_error ();
  return x;
}

unsigned short
f6 (unsigned short x)
{
  x |= 0xaa55;
  x = __builtin_bswap16 (x);
  if ((x | 0xaa55) != 0xffff)
    link_error ();
  return x;
}

unsigned short
f7 (unsigned short x)
{
  x |= 0x55aa;
  x = __builtin_bswap16 (x);
  if ((x | 0x55aa) != 0xffff)
    link_error ();
  return x;
}

unsigned int
f8 (unsigned int x)
{
  x |= 0x55aa5aa5U;
  x = __builtin_bswap32 (x);
  if ((x | 0x5aa555aaU) != 0xffffffffU)
    link_error ();
  return x;
}

unsigned long long int
f9 (unsigned long long int x)
{
  x |= 0x55aa5aa544cc2211ULL;
  x = __builtin_bswap64 (x);
  if ((x | 0xeedd33bb5aa555aaULL) != 0xffffffffffffffffULL)
    link_error ();
  return x;
}

Perhaps somewhat related to PR55177.
>From gcc-bugs-return-634992-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 18:02:34 2019
Return-Path: <gcc-bugs-return-634992-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49666 invoked by alias); 23 Feb 2019 18:02: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 49596 invoked by uid 48); 23 Feb 2019 18:02:30 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89475] Teach ccp about __builtin_bswap{16,32,64}
Date: Sat, 23 Feb 2019 18:02: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: attachments.created
Message-ID: <bug-89475-4-7EfBEQsnkm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89475-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89475-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: 2019-02/txt/msg03294.txt.bz2
Content-length: 286

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89475

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45805
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45805&action=edit
gcc9-pr89475.patch

Untested improvement.  GCC10 material I guess.
>From gcc-bugs-return-634993-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 18:07:47 2019
Return-Path: <gcc-bugs-return-634993-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78437 invoked by alias); 23 Feb 2019 18:07: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 78377 invoked by uid 55); 23 Feb 2019 18:07:42 -0000
From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/84387] Defined output does not work for a derived type that has no components
Date: Sat, 23 Feb 2019 18:07: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jvdelisle 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-84387-4-SaMx542GP1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84387-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84387-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: 2019-02/txt/msg03295.txt.bz2
Content-length: 671

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84387

--- Comment #9 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Author: jvdelisle
Date: Sat Feb 23 18:07:10 2019
New Revision: 269161

URL: https://gcc.gnu.org/viewcvs?rev=269161&root=gcc&view=rev
Log:
2019-02-23  Jerry DeLisle <jvdelisle@gcc.gnu.org>

        PR fortran/84387
        * trans-io.c (transfer_expr): Do not return if there are no
        components to the derived type or class.

        * gfortran.dg/dtio_34.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/dtio_34.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-io.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-634994-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 18:12:28 2019
Return-Path: <gcc-bugs-return-634994-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92011 invoked by alias); 23 Feb 2019 18:12: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 91939 invoked by uid 48); 23 Feb 2019 18:12:23 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89466] [7/8/9 Regression] Accessing the Internet while boostrapping
Date: Sat, 23 Feb 2019 18:12:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: blocker
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89466-4-6tKsHWSV6Q@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89466-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89466-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: 2019-02/txt/msg03296.txt.bz2
Content-length: 208

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89466

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Your xsltproc is broken, the --nonet option means it should not try to download
DTDs.
>From gcc-bugs-return-634995-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 18:13:20 2019
Return-Path: <gcc-bugs-return-634995-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94378 invoked by alias); 23 Feb 2019 18:13:19 -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 94182 invoked by uid 48); 23 Feb 2019 18:13:15 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89466] [7/8/9 Regression] Accessing the Internet while boostrapping
Date: Sat, 23 Feb 2019 18:13:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: blocker
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89466-4-mOI1XBtfY5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89466-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89466-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: 2019-02/txt/msg03297.txt.bz2
Content-length: 452

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89466

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu.org

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This is a known bug on Suse, I think Richi looked into it a while ago.
>From gcc-bugs-return-634996-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 18:21:20 2019
Return-Path: <gcc-bugs-return-634996-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109452 invoked by alias); 23 Feb 2019 18:21: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 109360 invoked by uid 48); 23 Feb 2019 18:21:16 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89466] [7/8/9 Regression] Accessing the Internet while boostrapping
Date: Sat, 23 Feb 2019 18:21:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: blocker
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89466-4-RsXVhU5ziJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89466-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89466-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: 2019-02/txt/msg03298.txt.bz2
Content-length: 237

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89466

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Apparently Suse's xsltproc 1.1.32 works properly, so please either uninstall
xsltproc or upgrade to a fixed version.
>From gcc-bugs-return-634997-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 18:24:49 2019
Return-Path: <gcc-bugs-return-634997-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114956 invoked by alias); 23 Feb 2019 18:24: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 114900 invoked by uid 48); 23 Feb 2019 18:24:45 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89464] shared_ptr_base.h: error: '__tag' was not declared in this scope (gcc-8.3.0 regression?)
Date: Sat, 23 Feb 2019 18:24:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi 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-89464-4-R3W4qz311f@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89464-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89464-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: 2019-02/txt/msg03299.txt.bz2
Content-length: 386

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89464

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
alignas is a keyword in C++, it's not supposed to be a macro at all.

GCC 8.3.0 now uses alignas in the standard library headers, which is OK because
it's a C++ feature supported by the compiler. Stop defining a macro with the
name of a keyword, that's undefined.
>From gcc-bugs-return-634998-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 18:26:26 2019
Return-Path: <gcc-bugs-return-634998-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118221 invoked by alias); 23 Feb 2019 18:26: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 118109 invoked by uid 48); 23 Feb 2019 18:26:22 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89464] shared_ptr_base.h: error: '__tag' was not declared in this scope (gcc-8.3.0 regression?)
Date: Sat, 23 Feb 2019 18:26:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi 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-89464-4-0xNX2QBYJq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89464-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89464-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: 2019-02/txt/msg03300.txt.bz2
Content-length: 481

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89464

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #4)
> The problem is in https://github.com/Silicondust/libhdhomerun:
> hdhomerun_os_posix.h
> Which does:
> #if !defined(alignas)
> #define alignas(n) __attribute__((aligned(n)))
> #endif

This would be less broken as:

#if !defined(__cplusplus) && !defined(alignas)
#define alignas(n) __attribute__((aligned(n)))
#endif
>From gcc-bugs-return-634999-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 18:31:47 2019
Return-Path: <gcc-bugs-return-634999-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11076 invoked by alias); 23 Feb 2019 18:31:46 -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 10925 invoked by uid 48); 23 Feb 2019 18:31:42 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89466] [7/8/9 Regression] Accessing the Internet while boostrapping
Date: Sat, 23 Feb 2019 18:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: blocker
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89466-4-aH2n6MDq3i@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89466-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89466-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: 2019-02/txt/msg03301.txt.bz2
Content-length: 326

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89466

--- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #2)
> Your xsltproc is broken, the --nonet option means it should not try to
> download DTDs.

So, the hyperlink can be safely removed or redirected to /dev/null?
>From gcc-bugs-return-635000-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 18:32:42 2019
Return-Path: <gcc-bugs-return-635000-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13402 invoked by alias); 23 Feb 2019 18:32: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 13232 invoked by uid 48); 23 Feb 2019 18:32:38 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89466] [7/8/9 Regression] Accessing the Internet while boostrapping
Date: Sat, 23 Feb 2019 18:32:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: blocker
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89466-4-Hg0fwa2wZ2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89466-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89466-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: 2019-02/txt/msg03302.txt.bz2
Content-length: 187

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89466

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
No. It's a key used to lookup an entry in the xmlcatalog database.
>From gcc-bugs-return-635001-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 18:36:15 2019
Return-Path: <gcc-bugs-return-635001-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18937 invoked by alias); 23 Feb 2019 18:36: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 18791 invoked by uid 48); 23 Feb 2019 18:36:10 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89466] [7/8/9 Regression] Accessing the Internet while boostrapping
Date: Sat, 23 Feb 2019 18:36:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: blocker
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89466-4-8JII2rhKbm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89466-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89466-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: 2019-02/txt/msg03303.txt.bz2
Content-length: 365

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89466

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
See 'man xmlcatalog' and http://www.xmlsoft.org/catalog.html and
http://www.jclark.com/sp/catalog.htm

The xsltproc command is correct, and does not connect to the internet, it just
queries the local catalog. Your xsltproc has a bug, not GCC.
>From gcc-bugs-return-635002-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 18:43:33 2019
Return-Path: <gcc-bugs-return-635002-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35630 invoked by alias); 23 Feb 2019 18:43: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 35477 invoked by uid 48); 23 Feb 2019 18:43:28 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89466] [7/8/9 Regression] Accessing the Internet while boostrapping
Date: Sat, 23 Feb 2019 18:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: blocker
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89466-4-FmPe2XkTlk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89466-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89466-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: 2019-02/txt/msg03304.txt.bz2
Content-length: 797

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89466

--- Comment #8 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #4)
> Apparently Suse's xsltproc 1.1.32 works properly, so please either uninstall
> xsltproc or upgrade to a fixed version.

It is an absolute no-no to access the net from a configure script.

If see a few options:

1. If it is not needed (as you seem to imply, because otherwiseI could
   not remove it) remove the use of xsltproc in configure

2. If if is needed after all, then put a working version into
   the prerequesites, include a version check and fail at
   configure time if the version shows this broken behavior.

As an aside, putting in a hyperlink as a database entry seems...
asking for trouble, to put it mildly.
>From gcc-bugs-return-635003-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 18:46:04 2019
Return-Path: <gcc-bugs-return-635003-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41678 invoked by alias); 23 Feb 2019 18:46:04 -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 41225 invoked by uid 55); 23 Feb 2019 18:45:52 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88117] [9 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.c:2697
Date: Sat, 23 Feb 2019 18:46: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pault at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: pault at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88117-4-Aqq6vnrhkp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88117-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88117-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: 2019-02/txt/msg03305.txt.bz2
Content-length: 866

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88117

--- Comment #13 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Sat Feb 23 18:44:54 2019
New Revision: 269163

URL: https://gcc.gnu.org/viewcvs?rev=269163&root=gcc&view=rev
Log:
2019-02-23  Paul Thomas  <pault@gcc.gnu.org>

        Backport from trunk
        PR fortran/88117
        * resolve.c (deferred_op_assign): Return if the lhs expression
        has the pointer attribute.

2019-02-23  Paul Thomas  <pault@gcc.gnu.org>

        Backport from trunk
        PR fortran/88117
        * gfortran.dg/deferred_character_32.f90 : New test

Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/deferred_character_32.f90
Modified:
    branches/gcc-7-branch/gcc/fortran/ChangeLog
    branches/gcc-7-branch/gcc/fortran/resolve.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635004-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 18:46:46 2019
Return-Path: <gcc-bugs-return-635004-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45607 invoked by alias); 23 Feb 2019 18:46: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 45480 invoked by uid 48); 23 Feb 2019 18:46:37 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89466] [7/8/9 Regression] Accessing the Internet while boostrapping
Date: Sat, 23 Feb 2019 18:46:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: blocker
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89466-4-185249s6Fn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89466-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89466-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: 2019-02/txt/msg03306.txt.bz2
Content-length: 1120

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89466

--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Thomas Koenig from comment #8)
> (In reply to Jonathan Wakely from comment #4)
> > Apparently Suse's xsltproc 1.1.32 works properly, so please either uninstall
> > xsltproc or upgrade to a fixed version.
> 
> It is an absolute no-no to access the net from a configure script.

It doesn't access the net, it runs a local-only command. Your system is buggy.

> 
> If see a few options:
> 
> 1. If it is not needed (as you seem to imply, because otherwiseI could
>    not remove it) remove the use of xsltproc in configure

No. It's needed to tell if we can generate the docs.

> 2. If if is needed after all, then put a working version into
>    the prerequesites, include a version check and fail at
>    configure time if the version shows this broken behavior.

It's a Suse-specific bug, the same version of xsltproc works fine for me on
Fedora.

> As an aside, putting in a hyperlink as a database entry seems...
> asking for trouble, to put it mildly.

XML is not my fault.
>From gcc-bugs-return-635005-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 18:51:42 2019
Return-Path: <gcc-bugs-return-635005-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64396 invoked by alias); 23 Feb 2019 18:51:41 -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 64237 invoked by uid 48); 23 Feb 2019 18:51:37 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89466] [7/8/9 Regression] Accessing the Internet while boostrapping
Date: Sat, 23 Feb 2019 18:51:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: blocker
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89466-4-vo5nnOuAff@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89466-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89466-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: 2019-02/txt/msg03307.txt.bz2
Content-length: 565

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89466

--- Comment #10 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #9)

> It's a Suse-specific bug, the same version of xsltproc works fine for me on
> Fedora.

The version on my system is

xsltproc -V
Using libxml 20904, libxslt 10128 and libexslt 817
xsltproc was compiled against libxml 20904, libxslt 10128 and libexslt 817
libxslt 10128 was compiled against libxml 20904
libexslt 817 was compiled against libxml 20904

Is this the same output as on your sytem?
>From gcc-bugs-return-635006-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 18:56:06 2019
Return-Path: <gcc-bugs-return-635006-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76166 invoked by alias); 23 Feb 2019 18:56:06 -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 76057 invoked by uid 48); 23 Feb 2019 18:56:01 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88117] [9 Regression] ICE in gimplify_var_or_parm_decl, at gimplify.c:2697
Date: Sat, 23 Feb 2019 18:56: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pault at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: pault at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-88117-4-BEdKk6LPvG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88117-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88117-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: 2019-02/txt/msg03308.txt.bz2
Content-length: 523

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88117

Paul Thomas <pault at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #14 from Paul Thomas <pault at gcc dot gnu.org> ---
Fixed on 7- thru' 9-branches.

Thanks for the report and Thanks again to Thomas for the detective work.

Paul
>From gcc-bugs-return-635007-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 18:58:29 2019
Return-Path: <gcc-bugs-return-635007-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85854 invoked by alias); 23 Feb 2019 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 85785 invoked by uid 48); 23 Feb 2019 18:58:24 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89466] [7/8/9 Regression] Accessing the Internet while boostrapping
Date: Sat, 23 Feb 2019 18:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: blocker
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89466-4-ZooJtr2Iuz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89466-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89466-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: 2019-02/txt/msg03309.txt.bz2
Content-length: 267

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89466

--- Comment #11 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Created attachment 45806
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45806&action=edit
Check for working xmlcatalog

Does this help?
>From gcc-bugs-return-635008-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 19:00:55 2019
Return-Path: <gcc-bugs-return-635008-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90003 invoked by alias); 23 Feb 2019 19:00:43 -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 89824 invoked by uid 48); 23 Feb 2019 19:00:38 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89466] [7/8/9 Regression] Accessing the Internet while boostrapping
Date: Sat, 23 Feb 2019 19:00:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: blocker
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89466-4-GMXZm4UQTT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89466-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89466-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: 2019-02/txt/msg03310.txt.bz2
Content-length: 334

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89466

--- Comment #12 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Thomas Koenig from comment #10)
> Is this the same output as on your sytem?

No, my version is newer, but I've tested your version previously. You have
libxslt 1.1.28, and it's buggy for some reason.
>From gcc-bugs-return-635009-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 19:02:35 2019
Return-Path: <gcc-bugs-return-635009-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93733 invoked by alias); 23 Feb 2019 19:02: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 93680 invoked by uid 48); 23 Feb 2019 19:02:29 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89476] New: FAIL: gfortran.dg/ISO_Fortran_binding_5.f90
Date: Sat, 23 Feb 2019 19:02: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: 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-89476-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: 2019-02/txt/msg03311.txt.bz2
Content-length: 1576

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89476

            Bug ID: 89476
           Summary: FAIL: gfortran.dg/ISO_Fortran_binding_5.f90
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: pault at gcc dot gnu.org
  Target Milestone: ---

On Linux/x86-64, r269156 gave

FAIL: gfortran.dg/ISO_Fortran_binding_5.f90   -O0  (test for excess errors)
FAIL: gfortran.dg/ISO_Fortran_binding_5.f90   -O1  (test for excess errors)
FAIL: gfortran.dg/ISO_Fortran_binding_5.f90   -O2  (test for excess errors)
FAIL: gfortran.dg/ISO_Fortran_binding_5.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess
errors)
FAIL: gfortran.dg/ISO_Fortran_binding_5.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/ISO_Fortran_binding_5.f90   -Os  (test for excess errors)
FAIL: gfortran.dg/ISO_Fortran_binding_6.f90   -O0  (test for excess errors)
FAIL: gfortran.dg/ISO_Fortran_binding_6.f90   -O1  (test for excess errors)
FAIL: gfortran.dg/ISO_Fortran_binding_6.f90   -O2  (test for excess errors)
FAIL: gfortran.dg/ISO_Fortran_binding_6.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess
errors)
FAIL: gfortran.dg/ISO_Fortran_binding_6.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/ISO_Fortran_binding_6.f90   -Os  (test for excess errors)
>From gcc-bugs-return-635010-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 19:03:30 2019
Return-Path: <gcc-bugs-return-635010-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96231 invoked by alias); 23 Feb 2019 19:03: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 96097 invoked by uid 48); 23 Feb 2019 19:03:25 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89466] [7/8/9 Regression] Accessing the Internet while boostrapping
Date: Sat, 23 Feb 2019 19:03:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: blocker
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89466-4-bfmQViSryy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89466-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89466-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: 2019-02/txt/msg03312.txt.bz2
Content-length: 311

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89466

--- Comment #13 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #11)
> Created attachment 45806 [details]
> Check for working xmlcatalog
> 
> Does this help?

I'm giving it a spin, it will take an hour or so.
>From gcc-bugs-return-635011-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 19:05:45 2019
Return-Path: <gcc-bugs-return-635011-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101165 invoked by alias); 23 Feb 2019 19:05:44 -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 101087 invoked by uid 48); 23 Feb 2019 19:05:40 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89476] FAIL: gfortran.dg/ISO_Fortran_binding_5.f90
Date: Sat, 23 Feb 2019 19:05: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:
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-89476-4-HQhryfQB6x@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89476-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89476-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: 2019-02/txt/msg03313.txt.bz2
Content-length: 577

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89476

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-23
     Ever confirmed|0                           |1

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
gcc/testsuite/gfortran.dg/ISO_Fortran_binding_5.c:7:10: fatal error:
ISO_Fortran_binding.h: No such file or directory
>From gcc-bugs-return-635012-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 19:07:01 2019
Return-Path: <gcc-bugs-return-635012-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104784 invoked by alias); 23 Feb 2019 19:07: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 104558 invoked by uid 48); 23 Feb 2019 19:06:56 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89476] FAIL: gfortran.dg/ISO_Fortran_binding_5.f90
Date: Sat, 23 Feb 2019 19:07: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:
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89476-4-AyO8L7DB4i@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89476-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89476-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: 2019-02/txt/msg03314.txt.bz2
Content-length: 186

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89476

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
They should use

#include "../../../libgfortran/ISO_Fortran_binding.h"
>From gcc-bugs-return-635013-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 19:12:31 2019
Return-Path: <gcc-bugs-return-635013-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12060 invoked by alias); 23 Feb 2019 19:12: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 11959 invoked by uid 48); 23 Feb 2019 19:12:25 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89466] [7/8/9 Regression] Accessing the Internet while boostrapping
Date: Sat, 23 Feb 2019 19:12:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: blocker
X-Bugzilla-Who: pinskia 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89466-4-Bl4548ykZP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89466-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89466-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: 2019-02/txt/msg03315.txt.bz2
Content-length: 301

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89466

--- Comment #14 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
https://trac.osgeo.org/postgis/ticket/963

Looks more like you don't have those dtd installed ...
This referenced bug report is from 8 years ago complaining about the same
thing.
>From gcc-bugs-return-635014-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 19:20:01 2019
Return-Path: <gcc-bugs-return-635014-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37024 invoked by alias); 23 Feb 2019 19:20: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 36930 invoked by uid 48); 23 Feb 2019 19:19:56 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89466] [7/8/9 Regression] Accessing the Internet while boostrapping
Date: Sat, 23 Feb 2019 19:20:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: blocker
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89466-4-ZK8BRTa8S4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89466-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89466-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: 2019-02/txt/msg03316.txt.bz2
Content-length: 832

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89466

--- Comment #15 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #14)
> https://trac.osgeo.org/postgis/ticket/963
> 
> Looks more like you don't have those dtd installed ...

The point of the configure checks is to find out if they're installed, and if
they're usable. It should fail immediately if not, because of the --nonet
option.

> This referenced bug report is from 8 years ago complaining about the same
> thing.

Not exactly. In that bug report they say that using --nonet makes it fail
immediately, not try to download the DTDs. That's how it's supposed to work.

It's not a problem for the DTDs to be missing, the configure script detects
that. The problem is a buggy version of xsltproc that ignores the --nonet
option.
>From gcc-bugs-return-635015-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 19:23:23 2019
Return-Path: <gcc-bugs-return-635015-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44337 invoked by alias); 23 Feb 2019 19:23: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 44237 invoked by uid 48); 23 Feb 2019 19:23:19 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89466] [7/8/9 Regression] Accessing the Internet while boostrapping
Date: Sat, 23 Feb 2019 19:23:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: blocker
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89466-4-qDZ1SJglYF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89466-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89466-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: 2019-02/txt/msg03317.txt.bz2
Content-length: 350

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89466

--- Comment #16 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #11)
> Created attachment 45806 [details]
> Check for working xmlcatalog
> 
> Does this help?

I'm bootstrapping right now, and it seems the problem is gone.

Looks good from my side.
>From gcc-bugs-return-635016-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 19:28:11 2019
Return-Path: <gcc-bugs-return-635016-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53264 invoked by alias); 23 Feb 2019 19:28: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 53091 invoked by uid 48); 23 Feb 2019 19:28:06 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89461] FAIL: experimental/net/timer/waitable/cons.cc
Date: Sat, 23 Feb 2019 19:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.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-89461-4-uaAtn1X0Zj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89461-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89461-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: 2019-02/txt/msg03318.txt.bz2
Content-length: 524

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89461

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This might help, but probably isn't the right fix:

--- a/libstdc++-v3/include/experimental/io_context
+++ b/libstdc++-v3/include/experimental/io_context
@@ -134,7 +134,8 @@ inline namespace v1
       io_context* _M_ctx;
     };

-    using count_type =  size_t;
+    using count_type
+      = conditional_t<atomic<size_t>::is_always_lock_free(), size_t, int>;

     // construct / copy / destroy:
>From gcc-bugs-return-635017-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 19:34:43 2019
Return-Path: <gcc-bugs-return-635017-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66386 invoked by alias); 23 Feb 2019 19:34:43 -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 66338 invoked by uid 48); 23 Feb 2019 19:34:39 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89461] FAIL: experimental/net/timer/waitable/cons.cc
Date: Sat, 23 Feb 2019 19:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.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-89461-4-iWHz3ghbe4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89461-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89461-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: 2019-02/txt/msg03319.txt.bz2
Content-length: 504

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89461

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Oops, that should be:

--- a/libstdc++-v3/include/experimental/io_context
+++ b/libstdc++-v3/include/experimental/io_context
@@ -134,7 +134,8 @@ inline namespace v1
       io_context* _M_ctx;
     };

-    using count_type =  size_t;
+    using count_type
+      = conditional_t<ATOMIC_LONG_LOCK_FREE == 2, unsigned long, unsigned
int>;

     // construct / copy / destroy:
>From gcc-bugs-return-635018-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 19:40:13 2019
Return-Path: <gcc-bugs-return-635018-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97693 invoked by alias); 23 Feb 2019 19:40: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 97598 invoked by uid 55); 23 Feb 2019 19:40:09 -0000
From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug driver/69471] "-march=native" unintentionally breaks further -march/-mtune flags
Date: Sat, 23 Feb 2019 19:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: driver
X-Bugzilla-Version: 5.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl 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:
Message-ID: <bug-69471-4-3L6RN32hwn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69471-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69471-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: 2019-02/txt/msg03320.txt.bz2
Content-length: 1528

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69471

--- Comment #10 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Sat Feb 23 19:39:35 2019
New Revision: 269164

URL: https://gcc.gnu.org/viewcvs?rev=269164&root=gcc&view=rev
Log:
driver: Also prune joined switches with negation

When -march=native is passed to host_detect_local_cpu to the backend,
it overrides all command lines after it.  That means

$ gcc -march=native -march=skylake-avx512

is the treated as

$ gcc -march=skylake-avx512 -march=native

Prune joined switches with Negative and RejectNegative to allow
-march=skylake-avx512 to override previous -march=native on command-line.

gcc/

        PR driver/69471
        * opts-common.c (prune_options): Also prune joined switches
        with Negative and RejectNegative.
        * config/i386/i386.opt (march=): Add Negative(march=).
        (mtune=): Add Negative(mtune=).
        * doc/options.texi: Document Negative used together with Joined
        and RejectNegative.

gcc/testsuite/

        PR driver/69471
        * gcc.dg/pr69471-1.c: New test.
        * gcc.dg/pr69471-2.c: Likewise.
        * gcc.target/i386/pr69471-3.c: Likewise.

Added:
    trunk/gcc/testsuite/gcc.dg/pr69471-1.c
    trunk/gcc/testsuite/gcc.dg/pr69471-2.c
    trunk/gcc/testsuite/gcc.target/i386/pr69471-3.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.opt
    trunk/gcc/doc/options.texi
    trunk/gcc/opts-common.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635019-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 19:59:28 2019
Return-Path: <gcc-bugs-return-635019-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29739 invoked by alias); 23 Feb 2019 19:59: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 29630 invoked by uid 55); 23 Feb 2019 19:59:24 -0000
From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89476] FAIL: gfortran.dg/ISO_Fortran_binding_5.f90
Date: Sat, 23 Feb 2019 19:59: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl 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-89476-4-7uYOCwe5Tl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89476-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89476-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: 2019-02/txt/msg03321.txt.bz2
Content-length: 676

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89476

--- Comment #3 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Sat Feb 23 19:58:52 2019
New Revision: 269165

URL: https://gcc.gnu.org/viewcvs?rev=269165&root=gcc&view=rev
Log:
Include "../../../libgfortran/ISO_Fortran_binding.h"

        PR testsuite/89476
        * gfortran.dg/ISO_Fortran_binding_5.c: Include
        "../../../libgfortran/ISO_Fortran_binding.h".
        * gfortran.dg/ISO_Fortran_binding_6.c: Likewise.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_5.c
    trunk/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_6.c
>From gcc-bugs-return-635020-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 20:00:32 2019
Return-Path: <gcc-bugs-return-635020-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31555 invoked by alias); 23 Feb 2019 20:00:04 -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 31302 invoked by uid 48); 23 Feb 2019 20:00:00 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89476] FAIL: gfortran.dg/ISO_Fortran_binding_5.f90
Date: Sat, 23 Feb 2019 20:00: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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 target_milestone
Message-ID: <bug-89476-4-S02rdQmw98@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89476-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89476-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: 2019-02/txt/msg03322.txt.bz2
Content-length: 468

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89476

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |9.0

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed.
>From gcc-bugs-return-635021-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 20:35:27 2019
Return-Path: <gcc-bugs-return-635021-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75093 invoked by alias); 23 Feb 2019 20:35:26 -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 73907 invoked by uid 48); 23 Feb 2019 20:35:23 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89475] Teach ccp about __builtin_bswap{16,32,64}
Date: Sat, 23 Feb 2019 20:35: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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-89475-4-Agl6lwt4t5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89475-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89475-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: 2019-02/txt/msg03323.txt.bz2
Content-length: 285

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89475

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
x &= 0xaa55;
  x = __builtin_bswap16 (x);
  if (x & 0xaa55)


I think that should be:
x &= 0xaa55;
  x = __builtin_bswap16 (x);
  if (x & 0x55aa)

instead.
>From gcc-bugs-return-635022-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 20:37:20 2019
Return-Path: <gcc-bugs-return-635022-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90952 invoked by alias); 23 Feb 2019 20: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 90875 invoked by uid 48); 23 Feb 2019 20:37:16 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89475] Teach ccp about __builtin_bswap{16,32,64}
Date: Sat, 23 Feb 2019 20:37: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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-89475-4-YQYNbSyWRY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89475-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89475-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: 2019-02/txt/msg03324.txt.bz2
Content-length: 422

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89475

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #2)
> x &= 0xaa55;
>   x = __builtin_bswap16 (x);
>   if (x & 0xaa55)
> 
> 
> I think that should be:
> x &= 0xaa55;
>   x = __builtin_bswap16 (x);
>   if (x & 0x55aa)
> 
> instead.

Never mind; I can't do math this morning, ~0xaa55 is 0x55aa :).
>From gcc-bugs-return-635023-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 20:42:38 2019
Return-Path: <gcc-bugs-return-635023-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121330 invoked by alias); 23 Feb 2019 20: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 121249 invoked by uid 48); 23 Feb 2019 20:42:34 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89475] Teach ccp about __builtin_bswap{16,32,64}
Date: Sat, 23 Feb 2019 20: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: 9.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89475-4-47gNllWinQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89475-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89475-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: 2019-02/txt/msg03325.txt.bz2
Content-length: 544

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89475

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #3)
> (In reply to Andrew Pinski from comment #2)
> > x &= 0xaa55;
> >   x = __builtin_bswap16 (x);
> >   if (x & 0xaa55)
> > 
> > 
> > I think that should be:
> > x &= 0xaa55;
> >   x = __builtin_bswap16 (x);
> >   if (x & 0x55aa)
> > 
> > instead.
> 
> Never mind; I can't do math this morning, ~0xaa55 is 0x55aa :).

Yeah, __builtin_bswap16 (~0xaa55) == 0xaa55.
>From gcc-bugs-return-635024-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 20:54:28 2019
Return-Path: <gcc-bugs-return-635024-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100522 invoked by alias); 23 Feb 2019 20: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 100438 invoked by uid 48); 23 Feb 2019 20:54:24 -0000
From: "arthur.j.odwyer at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89477] New: Incorrect CTAD deduction guides for set and multiset
Date: Sat, 23 Feb 2019 20:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: arthur.j.odwyer 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-89477-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: 2019-02/txt/msg03326.txt.bz2
Content-length: 1451

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89477

            Bug ID: 89477
           Summary: Incorrect CTAD deduction guides for set and multiset
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: arthur.j.odwyer at gmail dot com
  Target Milestone: ---

I just implemented set/multiset deduction guides for libc++ because they were
missing entirely. My regression test fails on libstdc++ trunk.
The full test is here (non-GNU code warning!) https://reviews.llvm.org/D58582
and https://godbolt.org/z/4-OFMh

The reduced test case is:

```
// https://godbolt.org/z/0TNJ59
#include <set>
#include <memory_resource>

int main()
{
    std::pmr::polymorphic_allocator<int> a;
    int arr[] = {1,2,3};
    std::set s(arr, arr+3, a);  // ERROR

    std::set t({1, 2, 3}, a);  // ERROR 
}
```

libstdc++ believes that CTAD is ambiguous here because although it is obvious
that "arr" and "arr+3" are InputIterators, it is not sure whether
"std::pmr::polymorphic_allocator<int>()" is intended to be an Allocator or a
Compare.

http://eel.is/c++draft/container.requirements#associative.reqmts-15.3
is clear that a deduction guide template parameter named Compare should not
pick up anything which "qualifies as an allocator." So this CTAD should be
unambiguous.
>From gcc-bugs-return-635025-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 21:03:33 2019
Return-Path: <gcc-bugs-return-635025-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128881 invoked by alias); 23 Feb 2019 21:03:32 -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 128819 invoked by uid 48); 23 Feb 2019 21:03:28 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/89473] FAIL: gcc.dg/tree-ssa/builtin-sprintf-10.c (test for excess errors)
Date: Sat, 23 Feb 2019 21:03:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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 cc component resolution
Message-ID: <bug-89473-4-KCjVvodS53@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89473-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89473-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: 2019-02/txt/msg03327.txt.bz2
Content-length: 726

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89473

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |msebor at gcc dot gnu.org
          Component|tree-optimization           |testsuite
         Resolution|---                         |FIXED

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
The failures were due to bug 77970.  These should be gone with r269137 and
r269167.  Please reopen if they persist.
>From gcc-bugs-return-635026-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 21:09:16 2019
Return-Path: <gcc-bugs-return-635026-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8265 invoked by alias); 23 Feb 2019 21:09: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 8197 invoked by uid 48); 23 Feb 2019 21:09:11 -0000
From: "neil.n.carlson at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89174] [8/9 Regression] Allocation segfault with CLASS(*) MOLD
Date: Sat, 23 Feb 2019 21:09: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: neil.n.carlson at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89174-4-JIlVfDLYjD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89174-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89174-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: 2019-02/txt/msg03328.txt.bz2
Content-length: 372

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89174

--- Comment #3 from Neil Carlson <neil.n.carlson at gmail dot com> ---
r265171 is the commit that broke the 9.0 trunk; r265171 segfaults but r265170
works correctly. I haven't been able to pinpoint where this stuff was
back-ported to the 8 branch, but it definitely was. This example used to work
for 7, 8, and 9.
>From gcc-bugs-return-635027-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 21:11:41 2019
Return-Path: <gcc-bugs-return-635027-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19403 invoked by alias); 23 Feb 2019 21:11:40 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 15517 invoked by uid 48); 23 Feb 2019 21:11:35 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/83443] FAIL: gcc.dg/tree-ssa/builtin-sprintf-warn-18.c  (test for warnings, line 119)
Date: Sat, 23 Feb 2019 21:11: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-83443-4-pbudTpGpoc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83443-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83443-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: 2019-02/txt/msg03329.txt.bz2
Content-length: 422

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83443

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #10 from Martin Sebor <msebor at gcc dot gnu.org> ---
Has r269166 made a difference in clearing up these failures?
>From gcc-bugs-return-635028-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 21:13:46 2019
Return-Path: <gcc-bugs-return-635028-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42925 invoked by alias); 23 Feb 2019 21:13:46 -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 42872 invoked by uid 48); 23 Feb 2019 21:13:42 -0000
From: "SztfG at yandex dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89478] New: missed optimization for lambda expression when variable is uninitialized when declared
Date: Sat, 23 Feb 2019 21:13: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: SztfG at yandex dot ru
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-89478-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: 2019-02/txt/msg03330.txt.bz2
Content-length: 1045

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89478

            Bug ID: 89478
           Summary: missed optimization for lambda expression when
                    variable is uninitialized when declared
           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: SztfG at yandex dot ru
  Target Milestone: ---

testcase:

constexpr void mul2(int &a, const int b)
{
  a = b * 2;
}

int test = []() {int a; mul2(a, 123); return a;}(); 

int test2 = []() {int a = 0; mul2(a, 123); return a;}();


output for GCC trunk with -O3 -std=c++17
_GLOBAL__sub_I_test:
        movl    $246, test(%rip)
        ret
test2:
        .long   246
test:
        .zero   4


simple testcase:

int test3 = []() {int a; a = 5; return a;}();

_GLOBAL__sub_I_test:
        movl    $5, test(%rip)
        ret
test:
        .zero   4
>From gcc-bugs-return-635030-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 21:16:18 2019
Return-Path: <gcc-bugs-return-635030-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46743 invoked by alias); 23 Feb 2019 21:16: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 46457 invoked by uid 48); 23 Feb 2019 21:16:13 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89477] Incorrect CTAD deduction guides for set and multiset
Date: Sat, 23 Feb 2019 21:16:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on version assigned_to everconfirmed
Message-ID: <bug-89477-4-nk7mbXP11z@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89477-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89477-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: 2019-02/txt/msg03332.txt.bz2
Content-length: 605

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89477

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-23
            Version|unknown                     |9.0
           Assignee|unassigned at gcc dot gnu.org      |redi at gcc dot gnu.org
     Ever confirmed|0                           |1
>From gcc-bugs-return-635029-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 21:16:16 2019
Return-Path: <gcc-bugs-return-635029-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46507 invoked by alias); 23 Feb 2019 21:16: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 46375 invoked by uid 48); 23 Feb 2019 21:16:10 -0000
From: "neil.n.carlson at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87566] ICE with class(*) and select
Date: Sat, 23 Feb 2019 21: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: 8.2.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: neil.n.carlson at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
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-87566-4-bcfNdHKFLq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87566-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87566-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: 2019-02/txt/msg03331.txt.bz2
Content-length: 709

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87566

Neil Carlson <neil.n.carlson at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |neil.n.carlson at gmail dot com

--- Comment #12 from Neil Carlson <neil.n.carlson at gmail dot com> ---
The commit r265171 that fixed this issue also introduced a regression in 8.2
and 9, and certainly the 7 branch too if it was back-ported to it. See PR89174
for the example, which had worked correctly for 7, 8, and 9, but which now
segfaults on at least 8 and 9. I suppose it's too late revert that patch ...
>From gcc-bugs-return-635031-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 21:38:10 2019
Return-Path: <gcc-bugs-return-635031-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114190 invoked by alias); 23 Feb 2019 21:38: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 114116 invoked by uid 48); 23 Feb 2019 21:38:05 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89478] missed optimization for lambda expression when variable is uninitialized when declared
Date: Sat, 23 Feb 2019 21:38: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: glisse 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-89478-4-xSZm0AkU5q@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89478-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89478-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: 2019-02/txt/msg03333.txt.bz2
Content-length: 438

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89478

--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> ---
I think the uninitialized variable makes the initialization not constexpr (and
indeed gcc/clang complain if you try to declare test constexpr). Then we hit
the well-known missed optimization that gcc is unable to convert a dynamic
initialization into a static initialization even in the most trivial constant
cases.
>From gcc-bugs-return-635032-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 22:17:07 2019
Return-Path: <gcc-bugs-return-635032-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31711 invoked by alias); 23 Feb 2019 22:17:06 -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 31580 invoked by uid 55); 23 Feb 2019 22:17:02 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86119] [8 Regression] Intrinsic len has wrong type if used within select type for a class(*) string
Date: Sat, 23 Feb 2019 22:17: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.1.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86119-4-e3NaIQ04lS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86119-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86119-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: 2019-02/txt/msg03334.txt.bz2
Content-length: 1118

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86119

--- Comment #8 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Sat Feb 23 22:16:29 2019
New Revision: 269170

URL: https://gcc.gnu.org/viewcvs?rev=269170&root=gcc&view=rev
Log:
2019-02-23  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR fortran/86119
    Backport from trunk
    * class.c (gfc_get_len_component): Add argument k for kind.
    If the kind of the resulting expression is not equal to k,
    convert it.
    * gfortran.h (gfc_len_component): Adjust prototype.
    * simplify.c (gfc_simplify_len): Pass kind to
    gfc_get_len_component.

2019-02-23  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR fortran/86119
    Backport from trunk
    * gfortran.dg/warn_conversion_11.f90: New test.


Added:
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/warn_conversion_11.f90
Modified:
    branches/gcc-8-branch/gcc/fortran/ChangeLog
    branches/gcc-8-branch/gcc/fortran/class.c
    branches/gcc-8-branch/gcc/fortran/gfortran.h
    branches/gcc-8-branch/gcc/fortran/simplify.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635033-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 22:19:22 2019
Return-Path: <gcc-bugs-return-635033-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35880 invoked by alias); 23 Feb 2019 22:19: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 35751 invoked by uid 48); 23 Feb 2019 22:19:18 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/86119] [8 Regression] Intrinsic len has wrong type if used within select type for a class(*) string
Date: Sat, 23 Feb 2019 22:19: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.1.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-86119-4-U20exRunFq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86119-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86119-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: 2019-02/txt/msg03335.txt.bz2
Content-length: 461

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86119

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Fixed on all affected branches, closing.
>From gcc-bugs-return-635034-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 22:36:39 2019
Return-Path: <gcc-bugs-return-635034-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62769 invoked by alias); 23 Feb 2019 22:36: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 62706 invoked by uid 48); 23 Feb 2019 22:36:34 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89451] [9 Regression] FAIL: gfortran.dg/pr79315.f90   -O  (internal compiler error)
Date: Sat, 23 Feb 2019 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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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
Message-ID: <bug-89451-4-i5OKEVT28T@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89451-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89451-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: 2019-02/txt/msg03336.txt.bz2
Content-length: 413

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89451

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tkoenig at gcc dot gnu.org

--- Comment #7 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
I also cannot reproduce this.
>From gcc-bugs-return-635035-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 22:39:26 2019
Return-Path: <gcc-bugs-return-635035-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67087 invoked by alias); 23 Feb 2019 22:39: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 66968 invoked by uid 48); 23 Feb 2019 22:39:20 -0000
From: "eyalroz at technion dot ac.il" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89479] New: __restrict
Date: Sat, 23 Feb 2019 22:39: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: eyalroz at technion dot ac.il
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-89479-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: 2019-02/txt/msg03337.txt.bz2
Content-length: 1645

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89479

            Bug ID: 89479
           Summary: __restrict
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: eyalroz at technion dot ac.il
  Target Milestone: ---

(This is all illustrated at: https://godbolt.org/z/nz2YXE )

Let us make our language C++17. Consider the following function:

  int foo(const int* x, void g())
  {
      int result = *x;
      g();
      result += *x;
      return result;
  }

since we have no aliasing guarantees, we must assume the invocation of g() may
change the value at address x, so we must perform two reads from x to compute
the result - one before the call and one after.

If, however, we add __restrict__ specifier to x:

  int bar(const int* __restrict__ x, void g())
  {
      int result = *x;
      g();
      result += *x;
      return result;
  }

we may assume x "points to an unaliased integer" (as per
https://gcc.gnu.org/onlinedocs/gcc/Restricted-Pointers.html ). That means we
can read from address x just once, and double the value to get our result. I
realize there's a subtle point here, which is whether being "unaliased" also
applies to g()'s behavior. It is my understanding that it does.

Well, clang 7.0 understands things they way I do, and indeed optimizes one of
the reads away in `bar()`. But - g++ 8.3 (and g++ "trunk", whatever that means
on GodBolt) doesn't do so, and reads _twice_ from x both in `foo()` and in
`bar()`.
>From gcc-bugs-return-635037-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 22:55:10 2019
Return-Path: <gcc-bugs-return-635037-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95411 invoked by alias); 23 Feb 2019 22:55: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 95274 invoked by uid 48); 23 Feb 2019 22:55:06 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/81009] missing aliasing optimization for const restrict pointers
Date: Sat, 23 Feb 2019 22: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: 7.0
X-Bugzilla-Keywords: alias, missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: glisse 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-81009-4-U4cIZIQ7Zx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81009-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81009-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: 2019-02/txt/msg03339.txt.bz2
Content-length: 444

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81009

Marc Glisse <glisse at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eyalroz at technion dot ac.il

--- Comment #3 from Marc Glisse <glisse at gcc dot gnu.org> ---
*** Bug 89479 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-635036-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 22:55:10 2019
Return-Path: <gcc-bugs-return-635036-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95352 invoked by alias); 23 Feb 2019 22:55: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 95256 invoked by uid 48); 23 Feb 2019 22:55:05 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89479] __restrict
Date: Sat, 23 Feb 2019 22: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: 8.3.0
X-Bugzilla-Keywords: alias, missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: glisse 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_status component resolution
Message-ID: <bug-89479-4-wcSkjJFHVe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89479-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89479-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: 2019-02/txt/msg03338.txt.bz2
Content-length: 645

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89479

Marc Glisse <glisse at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |alias, missed-optimization
             Status|UNCONFIRMED                 |RESOLVED
          Component|rtl-optimization            |tree-optimization
         Resolution|---                         |DUPLICATE

--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> ---
Seems similar enough.

*** This bug has been marked as a duplicate of bug 81009 ***
>From gcc-bugs-return-635038-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 23:25:14 2019
Return-Path: <gcc-bugs-return-635038-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90412 invoked by alias); 23 Feb 2019 23:25: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 90361 invoked by uid 48); 23 Feb 2019 23:25:09 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/84605] [7/8/9 Regression] internal compiler error: in xref_basetypes, at cp/decl.c:13818
Date: Sat, 23 Feb 2019 23: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.0.1
X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-84605-4-J9vNZcqhPq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84605-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84605-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: 2019-02/txt/msg03340.txt.bz2
Content-length: 482

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84605

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |paolo.carlini at oracle dot com

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Looking into it.
>From gcc-bugs-return-635039-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 23 23:55:25 2019
Return-Path: <gcc-bugs-return-635039-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127385 invoked by alias); 23 Feb 2019 23:55: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 127328 invoked by uid 48); 23 Feb 2019 23:55:21 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80635] std::optional and bogus -Wmaybe-uninitialized warning
Date: Sat, 23 Feb 2019 23:55: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: unknown
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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-80635-4-jGZRtVsIwf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80635-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80635-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: 2019-02/txt/msg03341.txt.bz2
Content-length: 479

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-23
     Ever confirmed|0                           |1

--- Comment #18 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed.
>From gcc-bugs-return-635040-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 00:17:40 2019
Return-Path: <gcc-bugs-return-635040-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102945 invoked by alias); 24 Feb 2019 00:17: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 102883 invoked by uid 48); 24 Feb 2019 00:17:35 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89174] [8/9 Regression] Allocation segfault with CLASS(*) MOLD
Date: Sun, 24 Feb 2019 00:17: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: 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: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89174-4-jIqKWeQSiY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89174-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89174-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: 2019-02/txt/msg03342.txt.bz2
Content-length: 241

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89174

--- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Just tried out r265170 on powerpc64le (because that machine
boots faster :-), and the test case also segfaults.

Hmm...
>From gcc-bugs-return-635041-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 00:29:46 2019
Return-Path: <gcc-bugs-return-635041-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129112 invoked by alias); 24 Feb 2019 00:29:46 -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 129006 invoked by uid 48); 24 Feb 2019 00:29:42 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/78969] bogus snprintf truncation warning due to missing range info
Date: Sun, 24 Feb 2019 00:29: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: 7.0
X-Bugzilla-Keywords: diagnostic, missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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-78969-4-2fl91xm6sy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78969-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78969-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: 2019-02/txt/msg03343.txt.bz2
Content-length: 1034

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78969

--- Comment #15 from Martin Sebor <msebor at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #14)
> Martin: Can you please take a look at the last comment?

There is very little to go on in comment #13.  Please provide a complete test
case that reproduces the warning you think is a false positive.

The warning for the test case in comment #0 and comment #4 was fixed by r257857
in GCC 8.0.1:

r257857 | law | 2018-02-20 13:59:22 -0500 (Tue, 20 Feb 2018) | 8 lines

        PR middle-end/82123
        PR tree-optimization/81592
        PR middle-end/79257
        * gimple-ssa-sprintf.c (format_integer): Query EVRP range analyzer
        for range data rather than using global data.

        * gcc.dg/pr81592.c: New test.
        * gcc.dg/pr82123.c: New test.

The test cases in comment #11 and comment #12 still trigger a warning with GCC
9 so I'm tempted to treat those as separate (and move them to a bug of their
own) and resolve this bug as fixed.
>From gcc-bugs-return-635042-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 01:11:15 2019
Return-Path: <gcc-bugs-return-635042-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32511 invoked by alias); 24 Feb 2019 01:11: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 32446 invoked by uid 48); 24 Feb 2019 01:11:11 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89474] ice in df_reg_chain_verify_unmarked, at df-scan.c:3995
Date: Sun, 24 Feb 2019 01:11: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: pinskia 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: keywords cf_gcctarget component
Message-ID: <bug-89474-4-B1fycM4HUM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89474-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89474-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: 2019-02/txt/msg03344.txt.bz2
Content-length: 573

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89474

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Target|                            |x86_64-*-linux-gnu
          Component|c                           |target

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>-march=native,

Can you provide gcc -v output when compiling this file?
>From gcc-bugs-return-635043-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 02:02:05 2019
Return-Path: <gcc-bugs-return-635043-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62061 invoked by alias); 24 Feb 2019 02:02:04 -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 61039 invoked by uid 55); 24 Feb 2019 02:01:58 -0000
From: "amodra at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89271] [9 Regression] gcc.target/powerpc/vsx-simode2.c stopped working in GCC 9
Date: Sun, 24 Feb 2019 02:02: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: missed-optimization, ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amodra at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: amodra at gmail dot com
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89271-4-ZP8879CaLj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89271-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89271-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: 2019-02/txt/msg03345.txt.bz2
Content-length: 1219

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89271

--- Comment #12 from Alan Modra <amodra at gcc dot gnu.org> ---
Author: amodra
Date: Sun Feb 24 02:01:05 2019
New Revision: 269174

URL: https://gcc.gnu.org/viewcvs?rev=269174&root=gcc&view=rev
Log:
[RS6000] Fix <bd>_<mode> and <bd>tf_<mode> splitters

This patch fixes a bug that can result in "insn does not satisfy its
constraints" if these splitters fire due to not getting ctr for the
jump insn.  Since the jump insn can have any of r,m,d,wi,c,l as the
decremented count output, it's not sufficient to check for
gpc_reg_operand (which matches VSX regs for example).  Seen after
correcting register_move_cost when the cost of gpr <-> vsx is much
lower.  Since this is a prerequisite to fixing PR89271, I'm mentioning
that PR in the ChangeLog.

The <bd>tf_<mode> split had a further bug in that it wouldn't match
if the count output was m,d,wi, or l.

        PR target/89271
        * config/rs6000/rs6000.md (<bd>_<mode> split): Check for an int
        output reg on add insn.
        (<bd>tf_<mode> split): Likewise.  Match predicates with insn.


Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/config/rs6000/rs6000.md
>From gcc-bugs-return-635044-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 03:37:02 2019
Return-Path: <gcc-bugs-return-635044-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56373 invoked by alias); 24 Feb 2019 03:37: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 56265 invoked by uid 48); 24 Feb 2019 03:36:56 -0000
From: "orion at cora dot nwra.com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89416] [9 regression] std::vector<std::thread, custom_allocator>::push_back no longer builds.
Date: Sun, 24 Feb 2019 03:37:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: orion at cora dot nwra.com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89416-4-tj4Bjd1TPk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89416-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89416-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: 2019-02/txt/msg03346.txt.bz2
Content-length: 2904

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89416

Orion Poplawski <orion at cora dot nwra.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |orion at cora dot nwra.com

--- Comment #3 from Orion Poplawski <orion at cora dot nwra.com> ---
This change appears to break building of the score-p profiler at least with
clang++ 7.0.1:

/bin/sh ./libtool  --tag=CXX   --mode=compile /usr/bin/clang++ -DHAVE_CONFIG_H
-I. -I../../build-libwrap -I./../src  -I../../build-libwrap/../src
-DLIBWRAP_BUILD -I../src/utils/include
-I../../build-libwrap/../src/utils/include
-I../../build-libwrap/../vendor/common/src/utils/include   -g -O2 -c -o
libscorep_tools_la-scorep_tools_dir.lo `test -f
'../src/tools/lib/scorep_tools_dir.cpp' || echo
'../../build-libwrap/'`../src/tools/lib/scorep_tools_dir.cpp
libtool: compile:  /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I../../build-libwrap
-I./../src -I../../build-libwrap/../src -DLIBWRAP_BUILD -I../src/utils/include
-I../../build-libwrap/../src/utils/include
-I../../build-libwrap/../vendor/common/src/utils/include -g -O2 -c
../../build-libwrap/../src/tools/lib/scorep_tools_dir.cpp  -fPIC -DPIC -o
.libs/libscorep_tools_la-scorep_tools_dir.o
BUILDSTDERR: In file included from
../../build-libwrap/../src/tools/lib/scorep_tools_dir.cpp:19:
BUILDSTDERR: In file included from
../../build-libwrap/../src/tools/lib/scorep_tools_dir.hpp:22:
BUILDSTDERR: In file included from
/usr/bin/../lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/string:55:
BUILDSTDERR: In file included from
/usr/bin/../lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/bits/basic_string.h:40:
BUILDSTDERR:
/usr/bin/../lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/bits/alloc_traits.h:604:44:
error: 'copy' is a protected member of 'std::__is_alloc_insertable_impl'
BUILDSTDERR:     : __is_alloc_insertable_impl::template copy<_Alloc>
BUILDSTDERR:                                            ^
BUILDSTDERR:
/usr/bin/../lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/bits/alloc_traits.h:595:7:
note: declared protected here
BUILDSTDERR:       using copy = decltype(_M_select<_Alloc, const _Tp&>(0));
BUILDSTDERR:       ^
BUILDSTDERR:
/usr/bin/../lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/bits/alloc_traits.h:616:44:
error: 'move' is a protected member of 'std::__is_alloc_insertable_impl'
BUILDSTDERR:     : __is_alloc_insertable_impl::template move<_Alloc>
BUILDSTDERR:                                            ^
BUILDSTDERR:
/usr/bin/../lib/gcc/x86_64-redhat-linux/9/../../../../include/c++/9/bits/alloc_traits.h:598:7:
note: declared protected here
BUILDSTDERR:       using move = decltype(_M_select<_Alloc, _Tp>(0));
BUILDSTDERR:       ^

Apparently just by including <string>
>From gcc-bugs-return-635045-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 03:46:16 2019
Return-Path: <gcc-bugs-return-635045-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67061 invoked by alias); 24 Feb 2019 03:46: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 66920 invoked by uid 48); 24 Feb 2019 03:46:07 -0000
From: "andres_takach at mentor dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libquadmath/89459] Incorrect rounding for fma in some cases
Date: Sun, 24 Feb 2019 03:46:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libquadmath
X-Bugzilla-Version: 6.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: andres_takach at mentor 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-89459-4-5sit34kf8X@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89459-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89459-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: 2019-02/txt/msg03347.txt.bz2
Content-length: 193

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89459

--- Comment #2 from Andres Takach <andres_takach at mentor dot com> ---
Tried 8.3.0 (took hours to compile!) and it has the same behavior.
>From gcc-bugs-return-635046-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 04:01:31 2019
Return-Path: <gcc-bugs-return-635046-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98149 invoked by alias); 24 Feb 2019 04:01: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 97447 invoked by uid 48); 24 Feb 2019 04:00:48 -0000
From: "kutdanila at yandex dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89480] New: internal compiler error: in unify, at cp/pt.c:22160 with the template argument force conversion.
Date: Sun, 24 Feb 2019 04: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.3.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kutdanila at yandex dot ru
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-89480-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: 2019-02/txt/msg03348.txt.bz2
Content-length: 1090

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89480

            Bug ID: 89480
           Summary: internal compiler error: in unify, at cp/pt.c:22160
                    with the template argument force conversion.
           Product: gcc
           Version: 8.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kutdanila at yandex dot ru
  Target Milestone: ---

Created attachment 45807
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45807&action=edit
Source file

Command line
`g++ test.cpp -o test`

Source file is attached


The code itself:

template <typename Foo, Foo Part>
struct TSelect {};

enum What {
    The
};

template <typename Foo>
struct AnotherOneSelector {
    static constexpr Foo Id = Foo::The;
};

template <typename Foo, typename SelectPartType>
struct THelper;

template <typename Foo>
struct THelper<Foo, TSelect<Foo, Foo{AnotherOneSelector<Foo>::Id}>> {};

int main() {
    THelper<What, TSelect<What, What::The>> t;
}
>From gcc-bugs-return-635047-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 07:27:09 2019
Return-Path: <gcc-bugs-return-635047-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68129 invoked by alias); 24 Feb 2019 07:27: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 68006 invoked by uid 48); 24 Feb 2019 07:27:04 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89416] [9 regression] std::vector<std::thread, custom_allocator>::push_back no longer builds.
Date: Sun, 24 Feb 2019 07:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89416-4-eLymcIAqQ1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89416-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89416-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: 2019-02/txt/msg03349.txt.bz2
Content-length: 425

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89416

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Reopened
>From gcc-bugs-return-635048-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 07:44:07 2019
Return-Path: <gcc-bugs-return-635048-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97396 invoked by alias); 24 Feb 2019 07:44:06 -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 97285 invoked by uid 48); 24 Feb 2019 07:44:03 -0000
From: "eyalroz at technion dot ac.il" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89479] __restrict
Date: Sun, 24 Feb 2019 07:44: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.3.0
X-Bugzilla-Keywords: alias, missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: eyalroz at technion dot ac.il
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_status resolution
Message-ID: <bug-89479-4-N4n7lLm0WC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89479-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89479-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: 2019-02/txt/msg03350.txt.bz2
Content-length: 723

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89479

Eyal Rozenberg <eyalroz at technion dot ac.il> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|DUPLICATE                   |---

--- Comment #2 from Eyal Rozenberg <eyalroz at technion dot ac.il> ---
(In reply to Marc Glisse from comment #1)
> Seems similar enough.

With respect  - this is not about x being a const __restrict pointer; what I
said (including the clang behavior) applies exactly the same when we remove the
const. See: https://godbolt.org/z/hH643a (where the const is gone).
>From gcc-bugs-return-635049-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 07:59:42 2019
Return-Path: <gcc-bugs-return-635049-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17248 invoked by alias); 24 Feb 2019 07:59:41 -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 14473 invoked by uid 48); 24 Feb 2019 07:59:38 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89271] [9 Regression] gcc.target/powerpc/vsx-simode2.c stopped working in GCC 9
Date: Sun, 24 Feb 2019 07:59: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: missed-optimization, ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amodra at gmail dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: amodra at gmail dot com
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created
Message-ID: <bug-89271-4-ZE3SbvXeAu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89271-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89271-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: 2019-02/txt/msg03351.txt.bz2
Content-length: 520

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89271

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45760|0                           |1
        is obsolete|                            |

--- Comment #13 from Alan Modra <amodra at gmail dot com> ---
Created attachment 45808
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45808&action=edit
Current set of patches
>From gcc-bugs-return-635050-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 08:16:23 2019
Return-Path: <gcc-bugs-return-635050-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96614 invoked by alias); 24 Feb 2019 08:16: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 63412 invoked by uid 48); 24 Feb 2019 08:15:54 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89479] __restrict
Date: Sun, 24 Feb 2019 08:16: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.3.0
X-Bugzilla-Keywords: alias, missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: glisse 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-89479-4-2sbSH6naK7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89479-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89479-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: 2019-02/txt/msg03352.txt.bz2
Content-length: 269

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89479

--- Comment #3 from Marc Glisse <glisse at gcc dot gnu.org> ---
Hmm indeed they are different (it would have been clearer to omit const in the
initial testcase). I couldn't find an obvious duplicate in bug 49774.
>From gcc-bugs-return-635051-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 08:23:43 2019
Return-Path: <gcc-bugs-return-635051-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18021 invoked by alias); 24 Feb 2019 08:23: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 17844 invoked by uid 48); 24 Feb 2019 08:23:37 -0000
From: "stefanrin at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88469] [7/8 regression] AAPCS/AAPCS64 - Struct with 64-bit bitfield (128-bit on AArch64) may be passed in wrong registers
Date: Sun, 24 Feb 2019 08:23: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: ABI, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: stefanrin at gmail dot com
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88469-4-Fznex6iGqu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88469-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88469-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: 2019-02/txt/msg03353.txt.bz2
Content-length: 486

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88469

--- Comment #12 from Stefan Ring <stefanrin at gmail dot com> ---
Unfortunately my armv5 device has died in the meantime, so I cannot verify my
original use case. The behavior is indeed different on armv7. It does not trap,
even for the original misaligned code. And contrary to x86, where the alignment
check flag can be changed by user space, this is a privileged operation on arm,
so I cannot even selectively enable it.
>From gcc-bugs-return-635052-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 08:46:17 2019
Return-Path: <gcc-bugs-return-635052-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63094 invoked by alias); 24 Feb 2019 08:46: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 62913 invoked by uid 48); 24 Feb 2019 08:46:08 -0000
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89474] ice in df_reg_chain_verify_unmarked, at df-scan.c:3995
Date: Sun, 24 Feb 2019 08:46: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: 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-89474-4-yKrEjLlr6N@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89474-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89474-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: 2019-02/txt/msg03354.txt.bz2
Content-length: 3077

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89474

--- Comment #2 from David Binderman <dcb314 at hotmail dot com> ---
Using built-in specs.
COLLECT_GCC=/home/dcb/gcc/results/bin/gcc
Target: x86_64-pc-linux-gnu
Configured with: ../trunk/configure --prefix=/home/dcb/gcc/results.269150
--disa
ble-multilib --disable-werror --enable-checking=df,extra,fold,rtl,yes
--enable-l
anguages=c,c++,fortran
Thread model: posix
gcc version 9.0.1 20190223 (experimental) (GCC) 
COLLECT_GCC_OPTIONS='-O3' '-march=native' '-c' '-w' '-v'
 /home/dcb/gcc/results.269150/libexec/gcc/x86_64-pc-linux-gnu/9.0.1/cc1 -quiet
-
v bug507.c -march=bdver2 -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -msse4a
-m
cx16 -msahf -mno-movbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mlwp -mfma
-mfma4
 -mxop -mbmi -mno-sgx -mno-bmi2 -mno-pconfig -mno-wbnoinvd -mtbm -mavx
-mno-avx2
 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mno-rdrnd -mf16c -mno-fsgsbase
-mn
o-rdseed -mprfchw -mno-adx -mfxsr -mxsave -mno-xsaveopt -mno-avx512f
-mno-avx512
er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-clflushopt -mno-xsavec
-mno
-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma
-mno-avx512vbm
i -mno-avx5124fmaps -mno-avx5124vnniw -mno-clwb -mno-mwaitx -mno-clzero
-mno-pku
 -mno-rdpid -mno-gfni -mno-shstk -mno-avx512vbmi2 -mno-avx512vnni -mno-vaes
-mno
-vpclmulqdq -mno-avx512bitalg -mno-movdiri -mno-movdir64b -mno-waitpkg
-mno-clde
mote -mno-ptwrite --param l1-cache-size=16 --param l1-cache-line-size=64
--param
 l2-cache-size=2048 -mtune=bdver2 -quiet -dumpbase bug507.c -auxbase bug507 -O3 
-w -version -o /tmp/ccO1klSX.s
GNU C17 (GCC) version 9.0.1 20190223 (experimental) (x86_64-pc-linux-gnu)
        compiled by GNU C version 9.0.1 20190223 (experimental), GMP version
6.1
.2, MPFR version 3.1.6-p2, MPC version 1.1.0, isl version isl-0.16.1-GMP

GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
ignoring nonexistent directory
"/home/dcb/gcc/results.269150/lib/gcc/x86_64-pc-l
inux-gnu/9.0.1/../../../../x86_64-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /home/dcb/gcc/results.269150/lib/gcc/x86_64-pc-linux-gnu/9.0.1/include
 /usr/local/include
 /home/dcb/gcc/results.269150/include
 /home/dcb/gcc/results.269150/lib/gcc/x86_64-pc-linux-gnu/9.0.1/include-fixed
 /usr/include
End of search list.
GNU C17 (GCC) version 9.0.1 20190223 (experimental) (x86_64-pc-linux-gnu)
        compiled by GNU C version 9.0.1 20190223 (experimental), GMP version
6.1
.2, MPFR version 3.1.6-p2, MPC version 1.1.0, isl version isl-0.16.1-GMP
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: f1cd29d4369196367e92853cfa6243b0
during RTL pass: ira
bug507.c: In function ‘c’:
bug507.c:6:1: internal compiler error: in df_reg_chain_verify_unmarked, at
df-sc
an.c:3995
    6 | }
      | ^
0x61ca63 df_reg_chain_verify_unmarked
        ../../trunk/gcc/df-scan.c:3995

Everything is ok at -O3, so it looks machine type specific.
>From gcc-bugs-return-635053-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 09:24:41 2019
Return-Path: <gcc-bugs-return-635053-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57159 invoked by alias); 24 Feb 2019 09:24: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 56922 invoked by uid 48); 24 Feb 2019 09:24:24 -0000
From: "mickey.veksler at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89481] New: constexpr function allows writing one active union member and reading another
Date: Sun, 24 Feb 2019 09:24: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.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mickey.veksler 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-89481-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: 2019-02/txt/msg03355.txt.bz2
Content-length: 1649

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89481

            Bug ID: 89481
           Summary: constexpr function allows writing one active union
                    member and reading another
           Product: gcc
           Version: 8.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mickey.veksler at gmail dot com
  Target Milestone: ---

The following code should not compile, not when passed as a template argument
to std::intergral_constant<bool, all_zeros()> :

constexpr bool all_zeros()
{
    union mix {
        double numeric;
        char bytes[sizeof(double)+1];
    };
    mix zero{-0.0}; // active is 'numeric'

    // setting a different active member(?):
    zero.bytes[sizeof(double)] = '\0';
    for (unsigned i=0 ; i != sizeof(double) ; ++i)
    {
        // or this is illegal (since it was never initialized through 'bytes')
        if (zero.bytes[i])
           return false;
    }
    return true;
}

The puzzling thing is that the following two give different results:

int main()
{
  //  return all_zeros();
    return std::integral_constant<bool, all_zeros()>::value;
}

Unlike gcc, clang-7.0.0 emits diagnostics:
  <source>:3:16: error: constexpr function never produces a constant expression
[-Winvalid-constexpr]
  constexpr bool all_zeros()
                 ^
  <source>:10:32: note: assignment to member 'bytes' of union with active
member 'numeric' is not allowed in a constant expression
      zero.bytes[sizeof(double)] = '\0';
                               ^
>From gcc-bugs-return-635054-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 09:30:06 2019
Return-Path: <gcc-bugs-return-635054-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79399 invoked by alias); 24 Feb 2019 09:30: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 77977 invoked by uid 48); 24 Feb 2019 09:29:58 -0000
From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89451] [9 Regression] FAIL: gfortran.dg/pr79315.f90   -O  (internal compiler error)
Date: Sun, 24 Feb 2019 09:30: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: janus 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
Message-ID: <bug-89451-4-NfnlTsNAsc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89451-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89451-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: 2019-02/txt/msg03356.txt.bz2
Content-length: 438

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89451

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #8 from janus at gcc dot gnu.org ---
In fact I only see the problem when configuring with --with-arch=haswell. It
goes away if I remove that flag.
>From gcc-bugs-return-635055-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 09:35:25 2019
Return-Path: <gcc-bugs-return-635055-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85386 invoked by alias); 24 Feb 2019 09:35: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 85286 invoked by uid 48); 24 Feb 2019 09:35:21 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89174] [8/9 Regression] Allocation segfault with CLASS(*) MOLD
Date: Sun, 24 Feb 2019 09:35: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: 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: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89174-4-FC5LNM3qkR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89174-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89174-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: 2019-02/txt/msg03357.txt.bz2
Content-length: 419

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89174

--- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
The problem is with the subroutine, not with the call from
the main program.

If you split the module and main program into a separate file
and compile the modlue with r264951 (a random version which works)
and the mani program with r265171, the program works.

The other way around, it segfaults.
>From gcc-bugs-return-635056-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 09:52:55 2019
Return-Path: <gcc-bugs-return-635056-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62694 invoked by alias); 24 Feb 2019 09:52:55 -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 62601 invoked by uid 48); 24 Feb 2019 09:52:51 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89451] [9 Regression] FAIL: gfortran.dg/pr79315.f90   -O  (internal compiler error)
Date: Sun, 24 Feb 2019 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: 9.0
X-Bugzilla-Keywords: ice-on-valid-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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: component
Message-ID: <bug-89451-4-539PotVD7A@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89451-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89451-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: 2019-02/txt/msg03358.txt.bz2
Content-length: 622

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89451

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|fortran                     |target

--- Comment #9 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to janus from comment #8)
> In fact I only see the problem when configuring with --with-arch=haswell. It
> goes away if I remove that flag.

Looks like a target regression then, which Fortran just happens to expose.

Moving component to TARGET.
>From gcc-bugs-return-635057-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 10:00:54 2019
Return-Path: <gcc-bugs-return-635057-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1186 invoked by alias); 24 Feb 2019 10:00: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 731 invoked by uid 48); 24 Feb 2019 10:00:40 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89174] [8/9 Regression] Allocation segfault with CLASS(*) MOLD
Date: Sun, 24 Feb 2019 10:00: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: 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: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89174-4-RRqgVcWFkB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89174-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89174-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: 2019-02/txt/msg03359.txt.bz2
Content-length: 1041

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89174

--- Comment #6 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
And on my AMD system, it does indeed pass with r265170. OK.

Looking at the diff of the tree dumps between the two versions,
the difference is

--- a.r265170   2019-02-24 10:56:39.138713129 +0100
+++ a.r265171   2019-02-24 10:56:59.598888069 +0100
@@ -229,10 +229,7 @@
     }
   (struct __vtype__STAR *) this->_data->mold._vptr = (struct __vtype__STAR *)
((struct __class__STAR_t *) value)->_vptr;
   this->_data->mold._len = ((struct __class__STAR_t *) value)->_len;
-  if (this->_data->mold._vptr->_def_init != 0B)
-    {
-      (void) __builtin_memcpy (this->_data->mold._data, (void *)
this->_data->mold._vptr->_def_init, (unsigned long)
this->_data->mold._vptr->_size);
-    }
+  (void) __builtin_memcpy (this->_data->mold._data, (void *)
this->_data->mold._vptr->_def_init, (unsigned long)
this->_data->mold._vptr->_size);
 }


so there is a NULL pointer check missing from the code compiled with
r265171.
>From gcc-bugs-return-635059-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 10:14:38 2019
Return-Path: <gcc-bugs-return-635059-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3839 invoked by alias); 24 Feb 2019 10:14: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 3017 invoked by uid 48); 24 Feb 2019 10:14:32 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89174] [8/9 Regression] Allocation segfault with CLASS(*) MOLD
Date: Sun, 24 Feb 2019 10:14: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: 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: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89174-4-04JBUYd1Xo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89174-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89174-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: 2019-02/txt/msg03361.txt.bz2
Content-length: 675

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89174

--- Comment #7 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
This patch makes the test case work again:

===================================================================
--- trans-expr.c        (Revision 265171)
+++ trans-expr.c        (Arbeitskopie)
@@ -394,7 +394,11 @@
       e->ref = NULL;
     }

+#if 0
   base_expr = gfc_copy_expr (e);
+#else
+  base_expr = gfc_expr_to_initialize (e);
+#endif

   /* Restore the original tail expression.  */
   if (class_ref)
>From gcc-bugs-return-635058-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 10:14:33 2019
Return-Path: <gcc-bugs-return-635058-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3057 invoked by alias); 24 Feb 2019 10:14:32 -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 2164 invoked by uid 48); 24 Feb 2019 10:14:26 -0000
From: "ciro.santilli at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89482] New: arm aarch32 inline assembly w constraints generate s registers instead of d
Date: Sun, 24 Feb 2019 10: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: ciro.santilli 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-89482-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: 2019-02/txt/msg03360.txt.bz2
Content-length: 1846

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89482

            Bug ID: 89482
           Summary: arm aarch32 inline assembly w constraints generate s
                    registers instead of d
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ciro.santilli at gmail dot com
  Target Milestone: ---

The 8.2.0 documentation at
https://gcc.gnu.org/onlinedocs/gcc-8.2.0/gcc/Machine-Constraints.html#Machine-Constraints
says:

t
VFP floating-point registers s0-s31. Used for 32 bit values.

w
VFP floating-point registers d0-d31 and the appropriate subset d0-d15 based on
command line options. Used for 64 bit values only. Not valid for Thumb1.

However, when I try to compile the following:

main.c

````
#include <assert.h>

int main(void) {
    float my_float = 1.5;
    __asm__ (
        "vmov s0, 1.0;"
        "vadd.f32 %[my_float], %[my_float], s0;"
        : [my_float] "+t" (my_float)
        :
        : "s0"
    );
    assert(my_float == 2.5);

#if 1
    double my_double = 1.5;
    __asm__ (
        "vmov.f64 d0, 1.0;"
        "vadd.f64 %[my_double], %[my_double], d0;"
        : [my_double] "+w" (my_double)
        :
        : "d0"
    );
    assert(my_double == 2.5);
#endif
}
````

with:

    arm-linux-gnueabihf-gcc -std=c99 -ggdb3 -march=armv7-a -pedantic -Wall
-Wextra -o 'main' 'main.c'

the part in #if 1 would fail with:

    selected FPU does not support instruction -- `vadd.f64 s14,s14,d0'

so it appears that the "w" constraint is actually being converted to an s
register.

Tested in Ubuntu 18.10, packaged GCC 8.2.0, mentioned at:
https://stackoverflow.com/questions/53960240/armv8-floating-point-output-inline-assembly
>From gcc-bugs-return-635060-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 10:21:10 2019
Return-Path: <gcc-bugs-return-635060-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49000 invoked by alias); 24 Feb 2019 10:21: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 48882 invoked by uid 48); 24 Feb 2019 10:21:05 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89174] [8/9 Regression] Allocation segfault with CLASS(*) MOLD
Date: Sun, 24 Feb 2019 10:21: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: 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: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89174-4-z8pSEhWkNc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89174-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89174-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: 2019-02/txt/msg03362.txt.bz2
Content-length: 294

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89174

--- Comment #8 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to Thomas Koenig from comment #7)
> This patch makes the test case work again:

This also introduces numerous regressions, so this is not recommended
as a fix :-)
>From gcc-bugs-return-635061-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 10:41:42 2019
Return-Path: <gcc-bugs-return-635061-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119405 invoked by alias); 24 Feb 2019 10:41:41 -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 119258 invoked by uid 48); 24 Feb 2019 10:41:37 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89476] FAIL: gfortran.dg/ISO_Fortran_binding_5.f90
Date: Sun, 24 Feb 2019 10:41: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pault at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-89476-4-Xhoj22kvz2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89476-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89476-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: 2019-02/txt/msg03363.txt.bz2
Content-length: 292

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89476

--- Comment #5 from Paul Thomas <pault at gcc dot gnu.org> ---
Many Thanks HJ.

I find that there is a ISO_Fortran_binding.h still residing in gfortran.dg, in
my tree. Hence the successful regtesting on my side.

Sorry about that

Paul
>From gcc-bugs-return-635062-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 10:50:44 2019
Return-Path: <gcc-bugs-return-635062-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14139 invoked by alias); 24 Feb 2019 10:50:43 -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 13929 invoked by uid 48); 24 Feb 2019 10:50:39 -0000
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87566] ICE with class(*) and select
Date: Sun, 24 Feb 2019 10:50: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.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pault at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87566-4-Y3TAxQ78hW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87566-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87566-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: 2019-02/txt/msg03364.txt.bz2
Content-length: 767

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87566

--- Comment #13 from Paul Thomas <pault at gcc dot gnu.org> ---
(In reply to Neil Carlson from comment #12)
> The commit r265171 that fixed this issue also introduced a regression in 8.2
> and 9, and certainly the 7 branch too if it was back-ported to it. See
> PR89174 for the example, which had worked correctly for 7, 8, and 9, but
> which now segfaults on at least 8 and 9. I suppose it's too late revert that
> patch ...

Hi Neil,

As I said in comment #8, I decided that backporting was not going to work
because there were too many antecedent patches.

I just checked through the ChangeLog for 8-branch and there is no sign of
anybody else attempting the fix.

I'll take a look at 89174.

Thanks

Paul
>From gcc-bugs-return-635063-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 10:52:21 2019
Return-Path: <gcc-bugs-return-635063-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18278 invoked by alias); 24 Feb 2019 10:52: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 18091 invoked by uid 48); 24 Feb 2019 10:52:17 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89174] [8/9 Regression] Allocation segfault with CLASS(*) MOLD
Date: Sun, 24 Feb 2019 10:52: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: 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: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89174-4-07A089JIgo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89174-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89174-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: 2019-02/txt/msg03365.txt.bz2
Content-length: 586

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89174

--- Comment #9 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
FWITW, there is a difference when handling the MOLD expression
in gfc_find_and_cut_at_last_class_ref.

In the version that calls gfc_expr_to_initialize, we see

(gdb) call debug(base_expr)
push:this % mold (CLASS __class__STAR_a)

whereas with current trunk we see

(gdb) call debug(base_expr)
push:this % mold (DERIVED STAR)

On entry, the variable is push:this % mold (DERIVED STAR), so
the call to gfc_expre_to_initialize seems to do something about the
type...
>From gcc-bugs-return-635064-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 12:31:34 2019
Return-Path: <gcc-bugs-return-635064-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35890 invoked by alias); 24 Feb 2019 12:31: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 35777 invoked by uid 48); 24 Feb 2019 12:31:15 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89174] [8/9 Regression] Allocation segfault with CLASS(*) MOLD
Date: Sun, 24 Feb 2019 12:31: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: 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: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89174-4-DQzojTSTkv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89174-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89174-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: 2019-02/txt/msg03366.txt.bz2
Content-length: 2513

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89174

--- Comment #10 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
This seems to work:

Index: trans-expr.c
===================================================================
--- trans-expr.c        (Revision 269161)
+++ trans-expr.c        (Arbeitskopie)
@@ -352,7 +352,7 @@ gfc_vptr_size_get (tree vptr)
    of refs following.  */

 gfc_expr *
-gfc_find_and_cut_at_last_class_ref (gfc_expr *e)
+gfc_find_and_cut_at_last_class_ref (gfc_expr *e, bool is_mold)
 {
   gfc_expr *base_expr;
   gfc_ref *ref, *class_ref, *tail = NULL, *array_ref;
@@ -394,7 +394,10 @@ gfc_expr *
       e->ref = NULL;
     }

-  base_expr = gfc_copy_expr (e);
+  if (is_mold)
+    base_expr = gfc_expr_to_initialize (e);
+  else
+    base_expr = gfc_copy_expr (e);

   /* Restore the original tail expression.  */
   if (class_ref)
Index: trans-stmt.c
===================================================================
--- trans-stmt.c        (Revision 269161)
+++ trans-stmt.c        (Arbeitskopie)
@@ -6641,7 +6641,7 @@ gfc_trans_allocate (gfc_code * code)
          /* Use class_init_assign to initialize expr.  */
          gfc_code *ini;
          ini = gfc_get_code (EXEC_INIT_ASSIGN);
-         ini->expr1 = gfc_find_and_cut_at_last_class_ref (expr);
+         ini->expr1 = gfc_find_and_cut_at_last_class_ref (expr, true);
          tmp = gfc_trans_class_init_assign (ini);
          gfc_free_statements (ini);
          gfc_add_expr_to_block (&block, tmp);
Index: trans.h
===================================================================
--- trans.h     (Revision 269161)
+++ trans.h     (Arbeitskopie)
@@ -412,7 +412,7 @@ tree gfc_class_data_get (tree);
 tree gfc_class_vptr_get (tree);
 tree gfc_class_len_get (tree);
 tree gfc_class_len_or_zero_get (tree);
-gfc_expr * gfc_find_and_cut_at_last_class_ref (gfc_expr *);
+gfc_expr * gfc_find_and_cut_at_last_class_ref (gfc_expr *, bool is_mold =
false);
 /* Get an accessor to the class' vtab's * field, when a class handle is
    available.  */
 tree gfc_class_vtab_hash_get (tree);
>From gcc-bugs-return-635065-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 12:48:55 2019
Return-Path: <gcc-bugs-return-635065-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110169 invoked by alias); 24 Feb 2019 12:48:55 -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 109964 invoked by uid 48); 24 Feb 2019 12:48:50 -0000
From: "walter.zwieflhofer at ineosteamuk dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89291] internal compiler error: in gfc_trans_use_stmts
Date: Sun, 24 Feb 2019 12:48: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.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: walter.zwieflhofer at ineosteamuk dot com
X-Bugzilla-Status: WAITING
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-89291-4-uaygBV2QaU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89291-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89291-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: 2019-02/txt/msg03367.txt.bz2
Content-length: 465

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89291

--- Comment #5 from zwieflhofer <walter.zwieflhofer at ineosteamuk dot com> ---
Yes, I did provided NCAR with the URL to this bug-id but no response so far.

I did not try the 8.2 trunk - sort of assuming that NCAR will do so anyway in
due course as part of their standard release testing.

I am good with 5.5.0 unless you tell me that 8.2 will create binaries that are
likley to run faster on Intel/AMD.
>From gcc-bugs-return-635066-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 13:01:27 2019
Return-Path: <gcc-bugs-return-635066-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20740 invoked by alias); 24 Feb 2019 13:01:26 -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 20628 invoked by uid 48); 24 Feb 2019 13:01:22 -0000
From: "integrex at yandex dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89483] New: internal compiler error: Segmentation fault signal terminated program cc1plus with templates
Date: Sun, 24 Feb 2019 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.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: integrex at yandex dot ru
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-89483-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: 2019-02/txt/msg03368.txt.bz2
Content-length: 1316

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89483

            Bug ID: 89483
           Summary: internal compiler error: Segmentation fault signal
                    terminated program cc1plus with templates
           Product: gcc
           Version: 8.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: integrex at yandex dot ru
  Target Milestone: ---

Created attachment 45809
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45809&action=edit
segfault-program.cpp

Description:
Segmentation fault happens while compiling segfault-program.cpp (in
attachments) with options: "g++ -ftemplate-depth=1000000 segfault-program.cpp".
Also, there is no errors while compiling non-segfault-program.cpp (in
attachments) with the same compiler options, but it takes some time:

real    2m16,186s
user    2m14,934s
sys     0m0,231s

Additional info:
* Verbose output of compiling (with -v option) in attachments (verbose-output).
* g++ version: "g++ (GCC) 8.2.1 20180831".
* Arch Linux version: "Linux Billy 4.18.16-arch1-1-ARCH #1 SMP PREEMPT Sat Oct
20 22:06:45 UTC 2018 x86_64 GNU/Linux".
* Preprosessed segfault program in attachments (preprocessed-segfault-program).
>From gcc-bugs-return-635067-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 13:02:27 2019
Return-Path: <gcc-bugs-return-635067-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23717 invoked by alias); 24 Feb 2019 13:02:26 -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 23593 invoked by uid 48); 24 Feb 2019 13:02:23 -0000
From: "integrex at yandex dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89483] internal compiler error: Segmentation fault signal terminated program cc1plus with templates
Date: Sun, 24 Feb 2019 13:02: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.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: integrex at yandex dot ru
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: attachments.created
Message-ID: <bug-89483-4-aqKotTeabB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89483-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89483-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: 2019-02/txt/msg03369.txt.bz2
Content-length: 245

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89483

--- Comment #1 from Daniil Sharko <integrex at yandex dot ru> ---
Created attachment 45810
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45810&action=edit
non-segfault-program.cpp
>From gcc-bugs-return-635068-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 13:02:53 2019
Return-Path: <gcc-bugs-return-635068-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25251 invoked by alias); 24 Feb 2019 13:02:52 -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 25124 invoked by uid 48); 24 Feb 2019 13:02:49 -0000
From: "integrex at yandex dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89483] internal compiler error: Segmentation fault signal terminated program cc1plus with templates
Date: Sun, 24 Feb 2019 13:02: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.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: integrex at yandex dot ru
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: attachments.created
Message-ID: <bug-89483-4-IOjFRBra1p@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89483-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89483-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: 2019-02/txt/msg03370.txt.bz2
Content-length: 235

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89483

--- Comment #2 from Daniil Sharko <integrex at yandex dot ru> ---
Created attachment 45811
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45811&action=edit
verbose-output
>From gcc-bugs-return-635069-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 13:03:27 2019
Return-Path: <gcc-bugs-return-635069-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27114 invoked by alias); 24 Feb 2019 13:03: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 26957 invoked by uid 48); 24 Feb 2019 13:03:23 -0000
From: "integrex at yandex dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89483] internal compiler error: Segmentation fault signal terminated program cc1plus with templates
Date: Sun, 24 Feb 2019 13:03: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.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: integrex at yandex dot ru
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: attachments.created
Message-ID: <bug-89483-4-vt0lNFLJ4w@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89483-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89483-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: 2019-02/txt/msg03371.txt.bz2
Content-length: 250

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89483

--- Comment #3 from Daniil Sharko <integrex at yandex dot ru> ---
Created attachment 45812
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45812&action=edit
preprocessed-segfault-program
>From gcc-bugs-return-635070-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 13:54:48 2019
Return-Path: <gcc-bugs-return-635070-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111984 invoked by alias); 24 Feb 2019 13:54: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 111731 invoked by uid 48); 24 Feb 2019 13:54:43 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89174] [8/9 Regression] Allocation segfault with CLASS(*) MOLD
Date: Sun, 24 Feb 2019 13:54: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-89174-4-RC0rWFFNBu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89174-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89174-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: 2019-02/txt/msg03372.txt.bz2
Content-length: 382

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89174

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |tkoenig at gcc dot gnu.org
>From gcc-bugs-return-635071-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 14:33:14 2019
Return-Path: <gcc-bugs-return-635071-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58695 invoked by alias); 24 Feb 2019 14:33: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 58571 invoked by uid 48); 24 Feb 2019 14:33:09 -0000
From: "hdusel@tangerine-soft.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89484] New: Compiler ICE: internal compiler error: in dwarf2out_frame_debug_adjust_cfa, at dwarf2cfi.c:1171 when using __attribute__((interrupt))
Date: Sun, 24 Feb 2019 14:33: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.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hdusel@tangerine-soft.de
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-89484-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: 2019-02/txt/msg03373.txt.bz2
Content-length: 1764

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89484

            Bug ID: 89484
           Summary: Compiler ICE: internal compiler error: in
                    dwarf2out_frame_debug_adjust_cfa, at dwarf2cfi.c:1171
                    when using __attribute__((interrupt))
           Product: gcc
           Version: 8.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hdusel@tangerine-soft.de
  Target Milestone: ---

Environmant
===========

Given is a Crosscompiler GCC 8.3 (official Release)

This Crosscompiler hass been build with Xcode Clang
(Apple LLVM version 10.0.0 (clang-1000.11.45.5) Target:
x86_64-apple-darwin17.7.0)

xGCC Target architecture is "RX" (Renesas RX)

Running Host is: Mac OS X 10.11.6

Problem:
=======

If one tries to compile the code as follows:

------------ code start -------------
static void __attribute__((interrupt)) ISR_handleUartReceiveData(void)
{}
------------- code end --------------

...by using the commend line...

$> rx-none-elf-c++ ../Test.cpp -c -g

...The following ICE will happen:

during RTL pass: dwarf2
../Test.cpp: In function 'void ISR_handleUartReceiveData()':
../Test.cpp:6:1: internal compiler error: in dwarf2out_frame_debug_adjust_cfa,
at dwarf2cfi.c:1171
 }
 ^
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.


Side note:
=========
I Discovered that the command line option '-g' __as_well__ the occurence of
'__attribute__((interrupt))' in the program code is vital to trigger this ICE!
>From gcc-bugs-return-635072-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 15:21:03 2019
Return-Path: <gcc-bugs-return-635072-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27939 invoked by alias); 24 Feb 2019 15:21: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 27737 invoked by uid 48); 24 Feb 2019 15:20:58 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89451] [9 Regression] FAIL: gfortran.dg/pr79315.f90   -O  (internal compiler error)
Date: Sun, 24 Feb 2019 15: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: hjl.tools at gmail dot com
X-Bugzilla-Status: WAITING
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 cc
Message-ID: <bug-89451-4-rBKBFLFxRr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89451-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89451-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: 2019-02/txt/msg03374.txt.bz2
Content-length: 666

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89451

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING
                 CC|                            |hjl.tools at gmail dot com

--- Comment #10 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to janus from comment #8)
> In fact I only see the problem when configuring with --with-arch=haswell. It
> goes away if I remove that flag.

Does it fail without --with-arch=haswell if you add -march=haswell by hand?
>From gcc-bugs-return-635073-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 15:34:53 2019
Return-Path: <gcc-bugs-return-635073-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88389 invoked by alias); 24 Feb 2019 15:34:52 -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 88259 invoked by uid 48); 24 Feb 2019 15:34:49 -0000
From: "johannespfau at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug d/89177] unaligned memory access in libphobos
Date: Sun, 24 Feb 2019 15:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: d
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: johannespfau 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:
Message-ID: <bug-89177-4-eUT50xC2wZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89177-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89177-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: 2019-02/txt/msg03375.txt.bz2
Content-length: 200

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89177

--- Comment #6 from Johannes Pfau <johannespfau at gmail dot com> ---
Patch posted here: https://gcc.gnu.org/ml/gcc-patches/2019-02/msg01897.html
>From gcc-bugs-return-635074-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 15:36:30 2019
Return-Path: <gcc-bugs-return-635074-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92982 invoked by alias); 24 Feb 2019 15:36: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 92814 invoked by uid 48); 24 Feb 2019 15:36:25 -0000
From: "hdusel@tangerine-soft.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89484] Compiler ICE: internal compiler error: in dwarf2out_frame_debug_adjust_cfa, at dwarf2cfi.c:1171 when using __attribute__((interrupt))
Date: Sun, 24 Feb 2019 15:36: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.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hdusel@tangerine-soft.de
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-89484-4-jdkOoh7aBb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89484-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89484-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: 2019-02/txt/msg03376.txt.bz2
Content-length: 336

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89484

--- Comment #1 from Hans-Peter Dusel <hdusel@tangerine-soft.de> ---
Tried to verify this with a GCC 8.3 Crosscompiler (same environment as
described) but now for Target ARM. 

This Crosscompiler together with the mentioned Code-snippet and command line
__does not__ cause an ICE.
>From gcc-bugs-return-635075-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 15:44:59 2019
Return-Path: <gcc-bugs-return-635075-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116046 invoked by alias); 24 Feb 2019 15:44: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 115873 invoked by uid 55); 24 Feb 2019 15:44:50 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89416] [9 regression] std::vector<std::thread, custom_allocator>::push_back no longer builds.
Date: Sun, 24 Feb 2019 15:44:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89416-4-g0MAio9V4f@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89416-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89416-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: 2019-02/txt/msg03377.txt.bz2
Content-length: 541

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89416

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Sun Feb 24 15:44:18 2019
New Revision: 269175

URL: https://gcc.gnu.org/viewcvs?rev=269175&root=gcc&view=rev
Log:
PR libstdc++/89416 fix accessibility of members

        PR libstdc++/89416
        * include/bits/alloc_traits.h (__is_alloc_insertable_impl): Make
        copy and move members public.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/alloc_traits.h
>From gcc-bugs-return-635076-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 15:47:50 2019
Return-Path: <gcc-bugs-return-635076-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125307 invoked by alias); 24 Feb 2019 15:47: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 125152 invoked by uid 48); 24 Feb 2019 15:47:46 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89416] [9 regression] std::vector<std::thread, custom_allocator>::push_back no longer builds.
Date: Sun, 24 Feb 2019 15:47:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89416-4-HhGHauAfCn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89416-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89416-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: 2019-02/txt/msg03378.txt.bz2
Content-length: 450

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89416

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
It should be OK with Clang now.
>From gcc-bugs-return-635077-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 16:04:18 2019
Return-Path: <gcc-bugs-return-635077-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43662 invoked by alias); 24 Feb 2019 16:04:18 -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 43483 invoked by uid 48); 24 Feb 2019 16:04:13 -0000
From: "jg at jguk dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89410] [7/8 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1237 after #line
Date: Sun, 24 Feb 2019 16:04: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: diagnostic, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jg at jguk dot org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89410-4-uGyGg8NqKc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89410-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89410-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: 2019-02/txt/msg03379.txt.bz2
Content-length: 699

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89410

--- Comment #15 from Jonny Grant <jg at jguk dot org> ---
(In reply to Segher Boessenkool from comment #11)
> (In reply to Jonny Grant from comment #9)
> > Maybe zero could be disallowed too.
> 
> Yes, but maybe we need that for historical reasons.
> 
> > Not sure what is best here, I'm not knowledgeable of GCC, but maybe setting
> > it to -1 if it goes above, and then never increment again if(-1 == line) ...
> 
> The testcase will still ICE then...  The assert is
> 
>       /* The spans must be ordered.  */
>       gcc_assert (prev->m_first_line < next->m_first_line);

Maybe it needs an update, if #line 0 is not allowed
>From gcc-bugs-return-635078-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 16:04:56 2019
Return-Path: <gcc-bugs-return-635078-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46244 invoked by alias); 24 Feb 2019 16:04:56 -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 46034 invoked by uid 48); 24 Feb 2019 16:04:52 -0000
From: "jg at jguk dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89410] [7/8 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1237 after #line
Date: Sun, 24 Feb 2019 16:04: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: diagnostic, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jg at jguk dot org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89410-4-QiE19exeQk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89410-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89410-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: 2019-02/txt/msg03380.txt.bz2
Content-length: 548

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89410

--- Comment #16 from Jonny Grant <jg at jguk dot org> ---
Hello!

Checked 23 Feb trunk
g++ (Compiler-Explorer-Build) 9.0.1 20190223 (experimental)

comment 9 test case
#line 0
does not give an error


Original test case still shows negative line numbers

<source>:-737418241:2: warning: #warning second [-Wcpp]
<source>:-737418240:7: warning: line number out of range

Same for comment 5 test case


Could the "line number out of range" specify what the max line number supported
is perhaps?
>From gcc-bugs-return-635079-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 16:27:33 2019
Return-Path: <gcc-bugs-return-635079-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115961 invoked by alias); 24 Feb 2019 16:27: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 115809 invoked by uid 48); 24 Feb 2019 16:27:29 -0000
From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89291] internal compiler error: in gfc_trans_use_stmts
Date: Sun, 24 Feb 2019 16:27: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.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jvdelisle at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-89291-4-SuMf3U7aoy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89291-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89291-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: 2019-02/txt/msg03381.txt.bz2
Content-length: 578

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89291

Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jvdelisle at gcc dot gnu.org

--- Comment #6 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
According to the goddess google, this likely is not a gfortran issue. 
Regardless, for reference:

https://github.com/wrf-model/WRF

If someone wants to try to download and build this.
>From gcc-bugs-return-635080-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 16:41:39 2019
Return-Path: <gcc-bugs-return-635080-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130886 invoked by alias); 24 Feb 2019 16:41: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 130748 invoked by uid 48); 24 Feb 2019 16:41:35 -0000
From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89219] ICE with derived type I/O
Date: Sun, 24 Feb 2019 16:41: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.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jvdelisle at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jvdelisle at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: assigned_to
Message-ID: <bug-89219-4-zMXj1vjBpF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89219-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89219-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: 2019-02/txt/msg03382.txt.bz2
Content-length: 410

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89219

Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |jvdelisle at gcc dot gnu.org

--- Comment #3 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
I will try.
>From gcc-bugs-return-635081-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 17:30:59 2019
Return-Path: <gcc-bugs-return-635081-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59698 invoked by alias); 24 Feb 2019 17:30: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 57478 invoked by uid 48); 24 Feb 2019 17:30:29 -0000
From: "hdusel@tangerine-soft.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89484] Compiler ICE: internal compiler error: in dwarf2out_frame_debug_adjust_cfa, at dwarf2cfi.c:1171 when using __attribute__((interrupt))
Date: Sun, 24 Feb 2019 17:30: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.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hdusel@tangerine-soft.de
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-89484-4-FpgthaPv4k@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89484-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89484-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: 2019-02/txt/msg03383.txt.bz2
Content-length: 778

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89484

--- Comment #2 from Hans-Peter Dusel <hdusel@tangerine-soft.de> ---
thor:build hdusel$ /opt/gcc-8.3.0-rx-none-elf/bin/rx-none-elf-g++ -v
Using built-in specs.
COLLECT_GCC=/opt/gcc-8.3.0-rx-none-elf/bin/rx-none-elf-g++
COLLECT_LTO_WRAPPER=/opt/gcc-8.3.0-rx-none-elf/libexec/gcc/rx-none-elf/8.3.0/lto-wrapper
Target: rx-none-elf
Configured with: /tmp/build_cross_gcc/gcc-8.3.0_arch/gcc-8.3.0/configure
--target=rx-none-elf --prefix=/opt/gcc-8.3.0-rx-none-elf --disable-nls
--disable-shared --disable-threads --disable-libssp --enable-multilib
--enable-lto --without-headers --with-newlib --with-gnu-as --with-gnu-ld
--with-gcc --enable-languages=c,c++ --disable-werror
Thread model: single
gcc version 8.3.0 (GCC)
>From gcc-bugs-return-635082-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 17:45:55 2019
Return-Path: <gcc-bugs-return-635082-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3040 invoked by alias); 24 Feb 2019 17:45: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 2168 invoked by uid 48); 24 Feb 2019 17:45:48 -0000
From: "yyc1992 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89485] New: Support vectorcall calling convention on windows
Date: Sun, 24 Feb 2019 17:45: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.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: yyc1992 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-89485-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: 2019-02/txt/msg03384.txt.bz2
Content-length: 961

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89485

            Bug ID: 89485
           Summary: Support vectorcall calling convention on windows
           Product: gcc
           Version: 8.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: yyc1992 at gmail dot com
  Target Milestone: ---

I'm very surprised that I didn't find an issue for this so sorry if this is
discussed/rejected somewhere else.

It appears that both MSVC and clang supports a vectorcall calling convention
which is very similar to the one used on linux and passes large vectors in the
corresponding vector register instead of on the stack. It'll be nice if gcc can
support that both for efficiency and for compatibility.

Ref
https://docs.microsoft.com/en-us/cpp/cpp/vectorcall?view=vs-2017
https://clang.llvm.org/docs/AttributeReference.html#id335
>From gcc-bugs-return-635083-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 18:29:24 2019
Return-Path: <gcc-bugs-return-635083-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28892 invoked by alias); 24 Feb 2019 18:29: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 28642 invoked by uid 48); 24 Feb 2019 18:29:20 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89271] [9 Regression] gcc.target/powerpc/vsx-simode2.c stopped working in GCC 9
Date: Sun, 24 Feb 2019 18:29: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: missed-optimization, ra
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: amodra at gmail dot com
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89271-4-RzEG0QXMZ0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89271-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89271-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: 2019-02/txt/msg03385.txt.bz2
Content-length: 398

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89271

--- Comment #14 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Cool results so far!

+FAIL: gcc.target/powerpc/p9-dimode1.c scan-assembler-not \\mmtvsrd\\M
 p9_plus_1:
 .LFB1:
        .cfi_startproc
-       vspltisw 0,1
-       vupklsw 0,0
+       li 9,1
+       mtvsrd 0,9

The new code is actually cheaper on p9.  The test is wrong?
>From gcc-bugs-return-635084-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 19:11:33 2019
Return-Path: <gcc-bugs-return-635084-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3225 invoked by alias); 24 Feb 2019 19:11: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 2873 invoked by uid 48); 24 Feb 2019 19:11:29 -0000
From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89451] [9 Regression] FAIL: gfortran.dg/pr79315.f90   -O  (internal compiler error)
Date: Sun, 24 Feb 2019 19:11: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: janus 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
Message-ID: <bug-89451-4-eNABtyns47@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89451-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89451-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: 2019-02/txt/msg03386.txt.bz2
Content-length: 669

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89451

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #11 from janus at gcc dot gnu.org ---
(In reply to H.J. Lu from comment #10)
> Does it fail without --with-arch=haswell if you add -march=haswell by hand?

Yes, it does.

Further investigation seems to indicate that the problem is related to AVX:
Compiling the test case results in an ICE when adding -mavx or
-march=sandybridge, but not with -msse4.2 or -march=westmere.
>From gcc-bugs-return-635085-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 19:25:10 2019
Return-Path: <gcc-bugs-return-635085-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19046 invoked by alias); 24 Feb 2019 19:25: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 18726 invoked by uid 55); 24 Feb 2019 19:25:06 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89445] [9 regression] _mm512_maskz_loadu_pd "forgets" to use the mask
Date: Sun, 24 Feb 2019 19:25: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89445-4-CC28CaXP3W@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89445-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89445-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: 2019-02/txt/msg03387.txt.bz2
Content-length: 974

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89445

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sun Feb 24 19:23:51 2019
New Revision: 269176

URL: https://gcc.gnu.org/viewcvs?rev=269176&root=gcc&view=rev
Log:
        PR rtl-optimization/89445
        * simplify-rtx.c (simplify_ternary_operation): Don't use
        simplify_merge_mask on operands that may trap.
        * rtlanal.c (may_trap_p_1): Use FLOAT_MODE_P instead of
        SCALAR_FLOAT_MODE_P checks.  For integral division by zero, if
        second operand is CONST_VECTOR, check if any element could be zero.
        Don't expect traps for VEC_{MERGE,SELECT,CONCAT,DUPLICATE} unless
        their operands can trap.

        * gcc.target/i386/avx512f-pr89445.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/i386/avx512f-pr89445.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/rtlanal.c
    trunk/gcc/simplify-rtx.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635086-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 19:32:32 2019
Return-Path: <gcc-bugs-return-635086-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52350 invoked by alias); 24 Feb 2019 19:32: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 52017 invoked by uid 48); 24 Feb 2019 19:32:28 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89445] [9 regression] _mm512_maskz_loadu_pd "forgets" to use the mask
Date: Sun, 24 Feb 2019 19:32: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution assigned_to
Message-ID: <bug-89445-4-Gq0I2k1hVF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89445-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89445-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: 2019-02/txt/msg03388.txt.bz2
Content-length: 606

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89445

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Should be fixed now.  Guess for the missed optimizations we should have another
PR, targeted at GCC 10.
>From gcc-bugs-return-635087-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 19:55:42 2019
Return-Path: <gcc-bugs-return-635087-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42800 invoked by alias); 24 Feb 2019 19:55: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 42573 invoked by uid 48); 24 Feb 2019 19:55:38 -0000
From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89451] [9 Regression] FAIL: gfortran.dg/pr79315.f90   -O  (internal compiler error)
Date: Sun, 24 Feb 2019 19:55: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: janus at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-89451-4-OtNjAzou8N@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89451-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89451-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: 2019-02/txt/msg03389.txt.bz2
Content-length: 467

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89451

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #12 from janus at gcc dot gnu.org ---
In fact it looks like the problem is gone at r269173 (probably fixed by
r269127).
>From gcc-bugs-return-635089-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 20:04:06 2019
Return-Path: <gcc-bugs-return-635089-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71613 invoked by alias); 24 Feb 2019 20:04:06 -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 71330 invoked by uid 55); 24 Feb 2019 20:04:00 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89266] ICE with TRANSFER of len=0 character array constructor
Date: Sun, 24 Feb 2019 20:04: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: anlauf 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-89266-4-BuE4sYudal@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89266-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89266-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: 2019-02/txt/msg03391.txt.bz2
Content-length: 1463

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89266

--- Comment #11 from anlauf at gcc dot gnu.org ---
Author: anlauf
Date: Sun Feb 24 20:03:28 2019
New Revision: 269177

URL: https://gcc.gnu.org/viewcvs?rev=269177&root=gcc&view=rev
Log:
2019-02-24  Harald Anlauf  <anlauf@gmx.de>

        PR fortran/89266
        PR fortran/88326
        * target-memory.c (gfc_element_size): Return false if element size
        cannot be determined; element size is returned separately.
        (gfc_target_expr_size): Return false if expression size cannot be
        determined; expression size is returned separately.
        * target-memory.h: Adjust prototypes.
        * check.c (gfc_calculate_transfer_sizes): Adjust references to
        gfc_target_expr_size, gfc_element_size.
        * arith.c (hollerith2representation): Likewise.
        * class.c (find_intrinsic_vtab): Likewise.
        * simplify.c (gfc_simplify_sizeof): Likewise.

        PR fortran/89266
        PR fortran/88326
        * gfortran.dg/pr89266.f90: New test.
        * gfortran.dg/pr88326.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/pr88326.f90
    trunk/gcc/testsuite/gfortran.dg/pr89266.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/arith.c
    trunk/gcc/fortran/check.c
    trunk/gcc/fortran/class.c
    trunk/gcc/fortran/simplify.c
    trunk/gcc/fortran/target-memory.c
    trunk/gcc/fortran/target-memory.h
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635088-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 20:04:06 2019
Return-Path: <gcc-bugs-return-635088-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71585 invoked by alias); 24 Feb 2019 20:04: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 71332 invoked by uid 55); 24 Feb 2019 20:04:00 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88326] [7/8/9 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6085
Date: Sun, 24 Feb 2019 20:04: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88326-4-iBuPs9NVFM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88326-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88326-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: 2019-02/txt/msg03390.txt.bz2
Content-length: 1462

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88326

--- Comment #6 from anlauf at gcc dot gnu.org ---
Author: anlauf
Date: Sun Feb 24 20:03:28 2019
New Revision: 269177

URL: https://gcc.gnu.org/viewcvs?rev=269177&root=gcc&view=rev
Log:
2019-02-24  Harald Anlauf  <anlauf@gmx.de>

        PR fortran/89266
        PR fortran/88326
        * target-memory.c (gfc_element_size): Return false if element size
        cannot be determined; element size is returned separately.
        (gfc_target_expr_size): Return false if expression size cannot be
        determined; expression size is returned separately.
        * target-memory.h: Adjust prototypes.
        * check.c (gfc_calculate_transfer_sizes): Adjust references to
        gfc_target_expr_size, gfc_element_size.
        * arith.c (hollerith2representation): Likewise.
        * class.c (find_intrinsic_vtab): Likewise.
        * simplify.c (gfc_simplify_sizeof): Likewise.

        PR fortran/89266
        PR fortran/88326
        * gfortran.dg/pr89266.f90: New test.
        * gfortran.dg/pr88326.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/pr88326.f90
    trunk/gcc/testsuite/gfortran.dg/pr89266.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/arith.c
    trunk/gcc/fortran/check.c
    trunk/gcc/fortran/class.c
    trunk/gcc/fortran/simplify.c
    trunk/gcc/fortran/target-memory.c
    trunk/gcc/fortran/target-memory.h
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635090-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 20:43:14 2019
Return-Path: <gcc-bugs-return-635090-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23934 invoked by alias); 24 Feb 2019 20:43: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 23158 invoked by uid 48); 24 Feb 2019 20:43:10 -0000
From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/87007] [8 Regression] 10% slowdown with -march=skylake-avx512
Date: Sun, 24 Feb 2019 20:43: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ro at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: hjl.tools at gmail dot com
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-87007-4-eseKkaCzNC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87007-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87007-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: 2019-02/txt/msg03392.txt.bz2
Content-length: 664

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87007

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ro at gcc dot gnu.org

--- Comment #9 from Rainer Orth <ro at gcc dot gnu.org> ---
(In reply to H.J. Lu from comment #8)
> Fixed on trunk so far.

However the new tests FAIL for 32-bit (seen on i386-pc-solaris2.11):

+FAIL: gcc.target/i386/pr87007-1.c scan-assembler-times
vxorps[^\\n\\r]*xmm[0-9] 1
+FAIL: gcc.target/i386/pr87007-2.c scan-assembler-times
vxorps[^\\n\\r]*xmm[0-9] 1
>From gcc-bugs-return-635091-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 21:05:36 2019
Return-Path: <gcc-bugs-return-635091-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17452 invoked by alias); 24 Feb 2019 21:05: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 17201 invoked by uid 48); 24 Feb 2019 21:05:31 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/84779] [7/8/9 Regression] Compiling gfortran.fortran-torture/execute/entry_4.f90 with -O1 or -Os and -fdefault-integer-8 gives an ICE
Date: Sun, 24 Feb 2019 21:05: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.0.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gmx dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-84779-4-iMdA55L2Wa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84779-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84779-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: 2019-02/txt/msg03393.txt.bz2
Content-length: 424

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84779

--- Comment #5 from Harald Anlauf <anlauf at gmx dot de> ---
With rev. 269177 and on x86_64-pc-linux-gnu, I now see the ICE only at -O1,
but no longer at -Os.

After a frustrating debugging session, I decided to look at the
-fdump-tree-all for all options -O0 ... -O2, but didn't get any idea
what to look for.  Maybe some help from a middle-end expert
would be needed.
>From gcc-bugs-return-635092-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 22:05:37 2019
Return-Path: <gcc-bugs-return-635092-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72054 invoked by alias); 24 Feb 2019 22:05:36 -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 71902 invoked by uid 48); 24 Feb 2019 22:05:32 -0000
From: "st at quanttec dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89486] New: GCC fails to compile designated initializer use involving implicit conversion
Date: Sun, 24 Feb 2019 22:05: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: st at quanttec 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-89486-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: 2019-02/txt/msg03394.txt.bz2
Content-length: 985

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89486

            Bug ID: 89486
           Summary: GCC fails to compile designated initializer use
                    involving implicit conversion
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: st at quanttec dot com
  Target Milestone: ---

The following code fails to compile with the current trunk version of GCC.
clang compiles the code fine.

struct P {
  int a = 0;
  void* b;
};

void f(P) {}

void test() {
  f({.b = nullptr});
}

<source>: In function 'void test()':
<source>:9:19: error: could not convert '{nullptr}' from '<brace-enclosed
initializer list>' to 'P'

    9 |   f({.b = nullptr});

      |                   ^

      |                   |

      |                   <brace-enclosed initializer list>

Compiler returned: 1
>From gcc-bugs-return-635093-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 22:07:57 2019
Return-Path: <gcc-bugs-return-635093-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78921 invoked by alias); 24 Feb 2019 22:07:56 -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 78749 invoked by uid 48); 24 Feb 2019 22:07:53 -0000
From: "SztfG at yandex dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89478] missed optimization for lambda expression when variable is uninitialized when declared
Date: Sun, 24 Feb 2019 22:07: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: SztfG at yandex dot ru
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-89478-4-YYDumAFAS0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89478-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89478-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: 2019-02/txt/msg03395.txt.bz2
Content-length: 598

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89478

--- Comment #2 from SztfG at yandex dot ru ---
(In reply to Marc Glisse from comment #1)
> I think the uninitialized variable makes the initialization not constexpr
> (and indeed gcc/clang complain if you try to declare test constexpr). Then
> we hit the well-known missed optimization that gcc is unable to convert a
> dynamic initialization into a static initialization even in the most trivial
> constant cases.

Then need to mark this bug as duplicate, but where that bug in GCC bugzilla,
which about that well-known missed optimization?
>From gcc-bugs-return-635094-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 22:31:48 2019
Return-Path: <gcc-bugs-return-635094-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35642 invoked by alias); 24 Feb 2019 22:31: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 35486 invoked by uid 48); 24 Feb 2019 22:31:32 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81879] Bad compilation of small program if LTO is used
Date: Sun, 24 Feb 2019 22:31: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: 7.1.0
X-Bugzilla-Keywords: lto
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-81879-4-Sb2vmR8hiR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81879-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81879-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: 2019-02/txt/msg03396.txt.bz2
Content-length: 1248

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81879

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-24
                 CC|                            |marxin at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed. I can confirm that the difference in resolution file is the problem:

750 6dacea834fb099d1 PREVAILING_DEF_IRONLY _ZNKSt5ctypeIcE8do_widenEc
vs.
750 1b64a3a32ab1e36a PREEMPTED_REG _ZNKSt5ctypeIcE8do_widenEc

Note that on a native x86_64-linux-gnu system, the resolution is also
PREVAILING_DEF_IRONLY with -static option.

It's also visible with:

x86_64-w64-mingw32-nm --plugin
/usr/lib64/gcc/x86_64-w64-mingw32/8.2.0/liblto_plugin.so simpler.o | grep
do_widen
00000000 T _ZNKSt5ctypeIcE8do_widenEc

while on a native linux system:
nm s2.o | grep do_widen
00000000 W _ZNKSt5ctypeIcE8do_widenEc

T == The symbol is in the text (code) section.
W == The symbol is a weak object.
>From gcc-bugs-return-635095-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 22:42:34 2019
Return-Path: <gcc-bugs-return-635095-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71788 invoked by alias); 24 Feb 2019 22:42: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 71600 invoked by uid 55); 24 Feb 2019 22:42:29 -0000
From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/87007] [8 Regression] 10% slowdown with -march=skylake-avx512
Date: Sun, 24 Feb 2019 22:42: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: hjl.tools at gmail dot com
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87007-4-8tnJeWLJfK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87007-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87007-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: 2019-02/txt/msg03397.txt.bz2
Content-length: 675

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87007

--- Comment #10 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Sun Feb 24 22:41:55 2019
New Revision: 269178

URL: https://gcc.gnu.org/viewcvs?rev=269178&root=gcc&view=rev
Log:
i386: Compile PR target/87007 tests with -mfpmath=sse

-mfpmath=sse is needed to enable SSE for FP math in 32-bit.

        PR target/87007
        * gcc.target/i386/pr87007-1.c: Compile with -mfpmath=sse.
        * gcc.target/i386/pr87007-2.c: Likewise.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/i386/pr87007-1.c
    trunk/gcc/testsuite/gcc.target/i386/pr87007-2.c
>From gcc-bugs-return-635096-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 22:50:25 2019
Return-Path: <gcc-bugs-return-635096-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93309 invoked by alias); 24 Feb 2019 22:50: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 93121 invoked by uid 55); 24 Feb 2019 22:50:19 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89174] [8/9 Regression] Allocation segfault with CLASS(*) MOLD
Date: Sun, 24 Feb 2019 22:50: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89174-4-X9alKVmtdG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89174-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89174-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: 2019-02/txt/msg03398.txt.bz2
Content-length: 1121

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89174

--- Comment #11 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Sun Feb 24 22:49:47 2019
New Revision: 269179

URL: https://gcc.gnu.org/viewcvs?rev=269179&root=gcc&view=rev
Log:
2019-02-24  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/89174
        * trans-expr.c (gfc_find_and_cut_at_last_class_ref): Add is_mold
        to garguments. If we are dealing with a MOLD, call
        gfc_expr_to_initialize().
        * trans-stmt.c (gfc_trans_allocate): For MOLD, pass is_mold=true
        to gfc_find_and_cut_at_last_class_ref.
        * trans.h (gfc_find_and_cut_at_last_class_ref): Add optional
        argument is_mold with default false.

2019-02-24  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/89174
        * gfortran.dg/allocate_with_mold_3.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/allocate_with_mold_3.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-expr.c
    trunk/gcc/fortran/trans-stmt.c
    trunk/gcc/fortran/trans.h
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635097-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 22:51:59 2019
Return-Path: <gcc-bugs-return-635097-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99790 invoked by alias); 24 Feb 2019 22: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 99623 invoked by uid 48); 24 Feb 2019 22:51:55 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89174] [8 Regression] Allocation segfault with CLASS(*) MOLD
Date: Sun, 24 Feb 2019 22: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-89174-4-ELsdfvJqqx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89174-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89174-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: 2019-02/txt/msg03399.txt.bz2
Content-length: 483

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89174

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[8/9 Regression] Allocation |[8 Regression] Allocation
                   |segfault with CLASS(*) MOLD |segfault with CLASS(*) MOLD

--- Comment #12 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Fixed on trunk so far.
>From gcc-bugs-return-635098-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 22:55:36 2019
Return-Path: <gcc-bugs-return-635098-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109522 invoked by alias); 24 Feb 2019 22:55:36 -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 109385 invoked by uid 48); 24 Feb 2019 22:55:30 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81879] Bad compilation of small program if LTO is used
Date: Sun, 24 Feb 2019 22:55: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: 7.1.0
X-Bugzilla-Keywords: lto
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81879-4-4vby1kGGrR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81879-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81879-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: 2019-02/txt/msg03400.txt.bz2
Content-length: 279

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81879

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
The .res file contains just a single object, thus PREEMPTED_REG does not make
sense. Problem will be probably in binutils. I'm investigating right now..
>From gcc-bugs-return-635099-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 23:34:16 2019
Return-Path: <gcc-bugs-return-635099-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93564 invoked by alias); 24 Feb 2019 23:34: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 93358 invoked by uid 48); 24 Feb 2019 23:34:12 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/31279] Uninitialized warning for call-by-reference arguments with known intent(in)
Date: Sun, 24 Feb 2019 23:34: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.3.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: msebor 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: cf_reconfirmed_on cc dependson
Message-ID: <bug-31279-4-Ae7ZIbe7Fo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-31279-4@http.gcc.gnu.org/bugzilla/>
References: <bug-31279-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: 2019-02/txt/msg03401.txt.bz2
Content-length: 1013

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31279

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2012-02-02 00:00:00         |2019-2-24
                 CC|                            |msebor at gcc dot gnu.org
         Depends on|                            |83859

--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
I have implemented three attributes: read_only, read_write, and write_only. 
They take two arguments: one refers to the pointer function parameter and the
other to the size of the object the pointer points to.  See bug 83859.  Besides
warning, they can also be used for optimization.  I'm hoping to submit the
feature for GCC 10.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83859
[Bug 83859] Please add new attribute which will establish relation between
parameters for buffer and its size
>From gcc-bugs-return-635100-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 23:44:48 2019
Return-Path: <gcc-bugs-return-635100-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4020 invoked by alias); 24 Feb 2019 23:44: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 3754 invoked by uid 55); 24 Feb 2019 23:44:43 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/84585] [7/8/9 Regression] internal compiler error: in get_local_decls, at cp/name-lookup.c:3654
Date: Sun, 24 Feb 2019 23:44: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.0.1
X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-84585-4-pqd7YLlrsl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84585-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84585-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: 2019-02/txt/msg03402.txt.bz2
Content-length: 484

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84585

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Sun Feb 24 23:44:11 2019
New Revision: 269180

URL: https://gcc.gnu.org/viewcvs?rev=269180&root=gcc&view=rev
Log:
2019-02-24  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/84585
        * g++.dg/cpp0x/pr84585.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/pr84585.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635101-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 23:46:07 2019
Return-Path: <gcc-bugs-return-635101-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9036 invoked by alias); 24 Feb 2019 23:46:06 -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 8703 invoked by uid 48); 24 Feb 2019 23:46:01 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/84585] [7 Regression] internal compiler error: in get_local_decls, at cp/name-lookup.c:3654
Date: Sun, 24 Feb 2019 23:46: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.0.1
X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc short_desc
Message-ID: <bug-84585-4-R0ICKBO6h3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84585-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84585-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: 2019-02/txt/msg03403.txt.bz2
Content-length: 689

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84585

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|vegard.nossum at gmail dot com     |
            Summary|[7/8/9 Regression] internal |[7 Regression] internal
                   |compiler error: in          |compiler error: in
                   |get_local_decls, at         |get_local_decls, at
                   |cp/name-lookup.c:3654       |cp/name-lookup.c:3654

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
This is fixed in trunk and 8.1.0.
>From gcc-bugs-return-635102-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Feb 24 23:58:03 2019
Return-Path: <gcc-bugs-return-635102-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29417 invoked by alias); 24 Feb 2019 23:58: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 29134 invoked by uid 48); 24 Feb 2019 23:57:59 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/36823] missing uninitialized warning (IPA, inlining)
Date: Sun, 24 Feb 2019 23:58: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.3.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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: cf_reconfirmed_on cc
Message-ID: <bug-36823-4-5ZmGcwXozD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-36823-4@http.gcc.gnu.org/bugzilla/>
References: <bug-36823-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: 2019-02/txt/msg03404.txt.bz2
Content-length: 635

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36823

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2009-02-09 15:35:38         |2019-2-24
                 CC|                            |msebor at gcc dot gnu.org

--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
GCC 7, 8 and 9 do warn at -O1 but not at -O2.  The last version on Godbolt to
warn at -O2 was 4.1 (I don't have access to the bisection machine so I can't
tell where this problem was introduced).
>From gcc-bugs-return-635103-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 00:01:58 2019
Return-Path: <gcc-bugs-return-635103-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43102 invoked by alias); 25 Feb 2019 00:01: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 42913 invoked by uid 48); 25 Feb 2019 00:01:54 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/40635] bogus name and location in 'may be used uninitialized' warning
Date: Mon, 25 Feb 2019 00:01: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: 4.4.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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: cf_reconfirmed_on cc cf_known_to_fail
Message-ID: <bug-40635-4-n4R8HqDAyM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-40635-4@http.gcc.gnu.org/bugzilla/>
References: <bug-40635-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: 2019-02/txt/msg03405.txt.bz2
Content-length: 518

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40635

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2017-03-02 00:00:00         |2019-2-24
                 CC|                            |msebor at gcc dot gnu.org
      Known to fail|                            |8.3.0, 9.0

--- Comment #12 from Martin Sebor <msebor at gcc dot gnu.org> ---
No change in GCC 9.
>From gcc-bugs-return-635104-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 00:10:07 2019
Return-Path: <gcc-bugs-return-635104-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71634 invoked by alias); 25 Feb 2019 00:10:06 -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 71364 invoked by uid 48); 25 Feb 2019 00:10:02 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89485] Support vectorcall calling convention on windows
Date: Mon, 25 Feb 2019 00:10: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.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: pinskia 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: cf_gcctarget component bug_severity
Message-ID: <bug-89485-4-CWj43Nzcth@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89485-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89485-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: 2019-02/txt/msg03406.txt.bz2
Content-length: 424

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89485

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x86_64-*-*-mingw32
          Component|c                           |target
           Severity|normal                      |enhancement
>From gcc-bugs-return-635105-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 01:01:47 2019
Return-Path: <gcc-bugs-return-635105-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83657 invoked by alias); 25 Feb 2019 01:01:46 -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 83334 invoked by uid 48); 25 Feb 2019 01:01:41 -0000
From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89219] ICE with derived type I/O
Date: Mon, 25 Feb 2019 01:01: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.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jvdelisle at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jvdelisle at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89219-4-BbCi3on1ya@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89219-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89219-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: 2019-02/txt/msg03407.txt.bz2
Content-length: 2244

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89219

--- Comment #4 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
After a semi-lengthy session I am seeing this just before the segfault.

(gdb) p *expr
$2 = {expr_type = EXPR_OP, ts = {type = BT_CLASS, kind = 0, u = {
      derived = 0x1f24e70, cl = 0x1f24e70, pad = 32657008}, interface = 0x0, 
    is_c_interop = 0, is_iso_c = 0, f90_type = BT_CLASS, deferred = false, 
    interop_kind = 0x0}, rank = 0, shape = 0x0, symtree = 0x0, ref = 0x0, 
  where = {nextc = 0x1eca90c, lb = 0x1eca8c0}, base_expr = 0x0, is_boz = 0, 
  is_snan = 0, error = 0, user_operator = 0, mold = 0, must_finalize = 0, 
  no_bounds_check = 0, external_blas = 0, do_not_resolve_again = 0, 
  do_not_warn = 0, representation = {length = 0, string = 0x0}, value = {
    logical = 27, iokind = 27, integer = {{_mp_alloc = 27, _mp_size = 0, 
        _mp_d = 0x0}}, real = {{_mpfr_prec = 27, _mpfr_sign = 0, 
        _mpfr_exp = 31821088, _mpfr_d = 0x0}}, complex = {{re = {{
            _mpfr_prec = 27, _mpfr_sign = 0, _mpfr_exp = 31821088, 
            _mpfr_d = 0x0}}, im = {{_mpfr_prec = 0, _mpfr_sign = 0, 
            _mpfr_exp = 0, _mpfr_d = 0x0}}}}, op = {
      op = INTRINSIC_PARENTHESES, uop = 0x0, op1 = 0x1e58d20, op2 = 0x0}, 
    function = {actual = 0x1b, name = 0x0, isym = 0x1e58d20, esym = 0x0}, 
    compcall = {actual = 0x1b, name = 0x0, base_object = 0x1e58d20, tbp = 0x0, 
      ignore_pass = 0, assign = 0}, character = {length = 27, string = 0x0}, 
    constructor = 0x1b}, param_list = 0x0}
(gdb) frame
#0  get_dtio_proc (ts=ts@entry=0x1ee8498, code=code@entry=0x1ee8570, 
    dtio_sub=dtio_sub@entry=0x7fffffffcd00)
    at ../../trunk/gcc/fortran/trans-io.c:2246
2246          gfc_add_vptr_component (expr);

One thing that strikes me here is we are trying to get the dtio procedure out
of  I think an EXPR_OP. So I wonder if we need to try to resolve or simplify
this to get the actual class. This is new territory for me. Anyone else have
any input?
>From gcc-bugs-return-635106-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 02:00:00 2019
Return-Path: <gcc-bugs-return-635106-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22723 invoked by alias); 25 Feb 2019 01:59: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 21687 invoked by uid 48); 25 Feb 2019 01:59:54 -0000
From: "gcc at nmacleod dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89464] shared_ptr_base.h: error: '__tag' was not declared in this scope (gcc-8.3.0 regression?)
Date: Mon, 25 Feb 2019 01:59:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gcc at nmacleod dot com
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-89464-4-D6lrRECwGF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89464-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89464-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: 2019-02/txt/msg03408.txt.bz2
Content-length: 281

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89464

--- Comment #9 from Milhouse <gcc at nmacleod dot com> ---
Thanks Jonathan, that's all clear now. A fix has been pushed which is working
with both gcc-8.2.0 and gcc-8.3.0:

https://github.com/Silicondust/libhdhomerun/pull/19
>From gcc-bugs-return-635107-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 04:06:33 2019
Return-Path: <gcc-bugs-return-635107-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90479 invoked by alias); 25 Feb 2019 04:06:32 -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 90288 invoked by uid 48); 25 Feb 2019 04:06:26 -0000
From: "neil.n.carlson at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89174] [8 Regression] Allocation segfault with CLASS(*) MOLD
Date: Mon, 25 Feb 2019 04:06: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: neil.n.carlson at gmail dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89174-4-97yG2sPIdw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89174-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89174-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: 2019-02/txt/msg03409.txt.bz2
Content-length: 265

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89174

--- Comment #13 from Neil Carlson <neil.n.carlson at gmail dot com> ---
I've pinpointed were the regression was introduced on the 8 branch.
r268313 segfaults, but r268311 (the preceding change to 8) works fine.
>From gcc-bugs-return-635108-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 04:10:48 2019
Return-Path: <gcc-bugs-return-635108-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104617 invoked by alias); 25 Feb 2019 04:10: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 104398 invoked by uid 48); 25 Feb 2019 04:10:43 -0000
From: "neil.n.carlson at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89174] [8 Regression] Allocation segfault with CLASS(*) MOLD
Date: Mon, 25 Feb 2019 04:10: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: neil.n.carlson at gmail dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89174-4-6xlVerWb9A@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89174-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89174-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: 2019-02/txt/msg03410.txt.bz2
Content-length: 267

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89174

--- Comment #14 from Neil Carlson <neil.n.carlson at gmail dot com> ---
The comment for r268313 calls out a change to
gfc_find_and_cut_at_last_class_ref -- same function Thomas worked on for the
fix on the trunk.
>From gcc-bugs-return-635109-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 05:10:17 2019
Return-Path: <gcc-bugs-return-635109-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32867 invoked by alias); 25 Feb 2019 05:10: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 32668 invoked by uid 48); 25 Feb 2019 05:10:12 -0000
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89487] New: [8/9 Regression] ICE in expand_expr_addr_expr_1, at expr.c:7993
Date: Mon, 25 Feb 2019 05:10: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: asolokha at gmx 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 cf_gcctarget
Message-ID: <bug-89487-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: 2019-02/txt/msg03411.txt.bz2
Content-length: 4515

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89487

            Bug ID: 89487
           Summary: [8/9 Regression] ICE in expand_expr_addr_expr_1, at
                    expr.c:7993
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---
            Target: x86_64-pc-linux-gnu

gcc-9.0.0-alpha20190224 snapshot (r269177) ICEs when compiling the following
snippet reduced from ocaml 4.05.0 package:

void
caml_interprete (void)
{
  register int *pc asm("%r15");
  register int *sp asm("%r14");
  int i;

  for (i = 0; i < 3; ++i)
    *--sp = pc[i];
}

% x86_64-pc-linux-gnu-gcc-9.0.0-alpha20190224 -O2 -ftree-loop-distribution -c
/tmp/interp.i
during RTL pass: expand
/tmp/interp.i: In function 'caml_interprete':
/tmp/interp.i:2:1: internal compiler error: in expand_expr_addr_expr_1, at
expr.c:7993
    2 | caml_interprete (void)
      | ^~~~~~~~~~~~~~~
0x60739b expand_expr_addr_expr_1
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/expr.c:7993
0xa2909b expand_expr_addr_expr
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/expr.c:8106
0xa2909b expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/expr.c:11261
0xa355e4 expand_expr
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/expr.h:279
0xa355e4 expand_operands(tree_node*, tree_node*, rtx_def*, rtx_def**,
rtx_def**, expand_modifier)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/expr.c:7872
0xa3d20c expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/expr.c:8732
0xa29987 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/expr.c:11317
0xa35927 expand_expr
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/expr.h:279
0xa35927 expand_expr_addr_expr_1
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/expr.c:7931
0xa2909b expand_expr_addr_expr
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/expr.c:8106
0xa2909b expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/expr.c:11261
0xa355e4 expand_expr
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/expr.h:279
0xa355e4 expand_operands(tree_node*, tree_node*, rtx_def*, rtx_def**,
rtx_def**, expand_modifier)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/expr.c:7872
0xa3bfaa expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/expr.c:9732
0xa2bc5d expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/expr.c:9942
0xa3ed51 expand_expr
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/expr.h:279
0xa3ed51 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/expr.c:8508
0xa2bc5d expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/expr.c:9942
0x984200 expand_normal
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/expr.h:285
0x984200 do_compare_and_jump
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/dojump.c:1204
>From gcc-bugs-return-635110-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 05:28:41 2019
Return-Path: <gcc-bugs-return-635110-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94897 invoked by alias); 25 Feb 2019 05:28:41 -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 94711 invoked by uid 48); 25 Feb 2019 05:28:37 -0000
From: "arthur.j.odwyer at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89477] Incorrect CTAD deduction guides for set and multiset
Date: Mon, 25 Feb 2019 05:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: arthur.j.odwyer at gmail dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89477-4-z7AuufongF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89477-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89477-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: 2019-02/txt/msg03412.txt.bz2
Content-length: 438

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89477

--- Comment #1 from Arthur O'Dwyer <arthur.j.odwyer at gmail dot com> ---
Similar cases for `unordered_{multi,}set` as well.

// https://godbolt.org/z/onYid6
#include <unordered_set>
int main() {
    const int arr[] = { 1, 2, 3 };
    std::unordered_set s(arr, arr+3, 42, std::hash<int>(),
std::allocator<int>());
    std::unordered_set t({ 1, 2, 3 }, 42, std::allocator<int>());
}
>From gcc-bugs-return-635111-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 06:21:29 2019
Return-Path: <gcc-bugs-return-635111-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14814 invoked by alias); 25 Feb 2019 06:21: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 14596 invoked by uid 48); 25 Feb 2019 06:21:25 -0000
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89488] New: [9 Regression] ICE in merge_exception_specifiers, at cp/typeck2.c:2395
Date: Mon, 25 Feb 2019 06:21: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: asolokha at gmx 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 keywords bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-89488-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: 2019-02/txt/msg03413.txt.bz2
Content-length: 4375

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89488

            Bug ID: 89488
           Summary: [9 Regression] ICE in merge_exception_specifiers, at
                    cp/typeck2.c:2395
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---

g++-9.0.0-alpha20190224 snapshot (r269177) ICEs when compiling the following
testcase:

struct zl {
  struct {
    int x2 = zl ();
  } fx;
};

% g++-9.0.0-alpha20190224 -c vczgd7oc.cpp
vczgd7oc.cpp:3:18: error: default member initializer for 'zl::<unnamed
struct>::x2' required before the end of its enclosing class
    3 |     int x2 = zl ();
      |                  ^
vczgd7oc.cpp:3:12: note: defined here
    3 |     int x2 = zl ();
      |            ^~~~~~~~
vczgd7oc.cpp:3:18: internal compiler error: in merge_exception_specifiers, at
cp/typeck2.c:2395
    3 |     int x2 = zl ();
      |                  ^
0x67cfaf merge_exception_specifiers(tree_node*, tree_node*)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/cp/typeck2.c:2395
0x96aa69 process_subob_fn
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/cp/method.c:1261
0x96aa69 process_subob_fn
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/cp/method.c:1246
0x96b0a5 walk_field_subobs
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/cp/method.c:1458
0x96b900 synthesized_method_walk
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/cp/method.c:1724
0x96eae3 get_defaulted_eh_spec(tree_node*, int)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/cp/method.c:1762
0xa07186 maybe_instantiate_noexcept(tree_node*, int)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/cp/pt.c:24190
0x92e0da mark_used(tree_node*, int)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/cp/decl2.c:5392
0x893ff5 build_over_call
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/cp/call.c:8552
0x896b1f build_new_method_call_1
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/cp/call.c:9773
0x896b1f build_new_method_call(tree_node*, tree_node*, vec<tree_node*, va_gc,
vl_embed>**, tree_node*, int, tree_node**, int)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/cp/call.c:9848
0x897889 build_special_member_call(tree_node*, tree_node*, vec<tree_node*,
va_gc, vl_embed>**, tree_node*, int, int)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/cp/call.c:9272
0x949ac6 build_value_init(tree_node*, int)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/cp/init.c:354
0xa7af92 build_functional_cast(tree_node*, tree_node*, int)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/cp/typeck2.c:2274
0x997574 cp_parser_functional_cast
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/cp/parser.c:28255
0x9a9c41 cp_parser_postfix_expression
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/cp/parser.c:7098
0x9b8bc9 cp_parser_unary_expression
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/cp/parser.c:8469
0x991d72 cp_parser_cast_expression
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/cp/parser.c:9355
0x99264a cp_parser_binary_expression
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/cp/parser.c:9457
0x9937b6 cp_parser_assignment_expression
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/cp/parser.c:9754
>From gcc-bugs-return-635112-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 06:21:58 2019
Return-Path: <gcc-bugs-return-635112-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16931 invoked by alias); 25 Feb 2019 06:21:57 -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 16716 invoked by uid 48); 25 Feb 2019 06:21:54 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89483] internal compiler error: Segmentation fault signal terminated program cc1plus with templates
Date: Mon, 25 Feb 2019 06:21: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.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WONTFIX
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-89483-4-OquM57mHYM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89483-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89483-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: 2019-02/txt/msg03414.txt.bz2
Content-length: 670

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89483

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>-ftemplate-depth=1000000

You get what you get when you increase this value.

And it is documented to maybe run out of stack space too:
The default value is 900, as the compiler can run out of stack space before
hitting 1024 in some situations.
>From gcc-bugs-return-635113-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 06:22:34 2019
Return-Path: <gcc-bugs-return-635113-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19656 invoked by alias); 25 Feb 2019 06:22: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 19503 invoked by uid 48); 25 Feb 2019 06:22:30 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89483] internal compiler error: Segmentation fault signal terminated program cc1plus with templates
Date: Mon, 25 Feb 2019 06:22: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.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WONTFIX
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-89483-4-PdWNEggZpg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89483-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89483-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: 2019-02/txt/msg03415.txt.bz2
Content-length: 223

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89483

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
https://gcc.gnu.org/onlinedocs/gcc-8.3.0/gcc/C_002b_002b-Dialect-Options.html#index-ftemplate-depth
>From gcc-bugs-return-635114-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 06:25:12 2019
Return-Path: <gcc-bugs-return-635114-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29646 invoked by alias); 25 Feb 2019 06:25: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 29214 invoked by uid 48); 25 Feb 2019 06:25:05 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89482] arm aarch32 inline assembly w constraints generate s registers instead of d
Date: Mon, 25 Feb 2019 06:25: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: documentation
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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: keywords cf_gcctarget component
Message-ID: <bug-89482-4-03l4KOGwuL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89482-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89482-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: 2019-02/txt/msg03416.txt.bz2
Content-length: 698

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89482

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |documentation
             Target|                            |arm*, aarch64*
          Component|c                           |target

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
There is a few undocumented modifies (not constraints) that need to be
documented for both ARM (aarch32) and AARCH64.  There is at least another bug
about them.

NOTE x86 documents the modifies these days.
>From gcc-bugs-return-635115-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 06:38:58 2019
Return-Path: <gcc-bugs-return-635115-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3906 invoked by alias); 25 Feb 2019 06:38:56 -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 3417 invoked by uid 48); 25 Feb 2019 06:38:52 -0000
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89489] New: [9 Regression] ICE in gimple_duplicate_bb, at tree-cfg.c:6257
Date: Mon, 25 Feb 2019 06:38: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: asolokha at gmx 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 keywords bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-89489-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: 2019-02/txt/msg03417.txt.bz2
Content-length: 3547

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89489

            Bug ID: 89489
           Summary: [9 Regression] ICE in gimple_duplicate_bb, at
                    tree-cfg.c:6257
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---

gfortran-9.0.0-alpha20190224 snapshot (r269177) ICEs when compiling
gcc/testsuite/gfortran.dg/inline_sum_5.f90 w/ -O1 -floop-parallelize-all
-ftree-parallelize-loops=2:

% powerpc-e300c3-linux-gnu-gfortran-9.0.0-alpha20190224 -O1
-floop-parallelize-all -ftree-parallelize-loops=2 -c
gcc/testsuite/gfortran.dg/inline_sum_5.f90
during GIMPLE pass: cunroll
f951: internal compiler error: in gimple_duplicate_bb, at tree-cfg.c:6257
0x64d066 gimple_duplicate_bb
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/tree-cfg.c:6257
0x94d81e duplicate_block(basic_block_def*, edge_def*, basic_block_def*,
copy_bb_data*)
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/cfghooks.c:1085
0x94ee42 copy_bbs(basic_block_def**, unsigned int, basic_block_def**,
edge_def**, unsigned int, edge_def**, loop*, basic_block_def*, bool)
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/cfghooks.c:1353
0x95bebc duplicate_loop_to_header_edge(loop*, edge_def*, unsigned int,
simple_bitmap_def*, edge_def*, vec<edge_def*, va_heap, vl_ptr>*, int)
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/cfgloopmanip.c:1296
0xf00818 gimple_duplicate_loop_to_header_edge(loop*, edge_def*, unsigned int,
simple_bitmap_def*, edge_def*, vec<edge_def*, va_heap, vl_ptr>*, int)
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/tree-ssa-loop-manip.c:921
0xee4df0 try_unroll_loop_completely
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/tree-ssa-loop-ivcanon.c:907
0xee4df0 canonicalize_loop_induction_variables
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/tree-ssa-loop-ivcanon.c:1250
0xee6fc0 tree_unroll_loops_completely_1
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/tree-ssa-loop-ivcanon.c:1391
0xee6f2a tree_unroll_loops_completely_1
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/tree-ssa-loop-ivcanon.c:1344
0xee6f2a tree_unroll_loops_completely_1
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/tree-ssa-loop-ivcanon.c:1344
0xee7223 tree_unroll_loops_completely
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/tree-ssa-loop-ivcanon.c:1437
0xee761c execute
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/tree-ssa-loop-ivcanon.c:1597

(While my target here is powerpc, the ICE is not target-specific.)
>From gcc-bugs-return-635116-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 07:01:04 2019
Return-Path: <gcc-bugs-return-635116-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6493 invoked by alias); 25 Feb 2019 07:01:04 -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 6125 invoked by uid 48); 25 Feb 2019 07:01:00 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] New: char array constant put in string merge section
Date: Mon, 25 Feb 2019 07:01: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: amodra 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-89490-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: 2019-02/txt/msg03418.txt.bz2
Content-length: 1405

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

            Bug ID: 89490
           Summary: char array constant put in string merge section
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: amodra at gmail dot com
  Target Milestone: ---

Created attachment 45813
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45813&action=edit
preprocessed source

gold flagged this from a svn r269173 build:
warning:
.../powerpc64le-linux/libstdc++-v3/src/.libs//libstdc++.a(lt1-codecvt.o): last
entry in mergeable string section
'.rodata._ZNSt12_GLOBAL__N_114write_utf8_bomIcEEbRNS_5rangeIT_Lb1EEESt12codecvt_mode.part.0.str1.8'
not null terminated

and yes, 3 bytes are put in the string merge section (flags AMS) without a NUL.
I'm not sure about the classification of this bug since I haven't done any
analysis, it may turn out to be a target problem.

cc1plus -fpreprocessed codecvt.ii -quiet -dumpbase codecvt.cc -mcpu=power9
-auxbase-strip codecvt.o -g -O2 -Wall -Wextra -Wwrite-strings -Wcast-qual
-Wabi=2 -std=gnu++11 -version -fchecking=1 -fno-implicit-templates
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections
-frandom-seed=codecvt.lo -fchar8_t -fPIC -o codecvt.s
>From gcc-bugs-return-635117-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 07:26:34 2019
Return-Path: <gcc-bugs-return-635117-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10870 invoked by alias); 25 Feb 2019 07:26: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 10659 invoked by uid 48); 25 Feb 2019 07:26:30 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] char array constant put in string merge section
Date: Mon, 25 Feb 2019 07: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: amodra 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:
Message-ID: <bug-89490-4-P2Z0xMTayR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03419.txt.bz2
Content-length: 289

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
Reduced C testcase, compile at -O1.

static const unsigned char utf8_bom[3] = { 0xEF, 0xBB, 0xBF };

void
plonk (unsigned char *p)
{
  __builtin_memcpy (p, utf8_bom, 3);
}
>From gcc-bugs-return-635118-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 08:38:45 2019
Return-Path: <gcc-bugs-return-635118-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14200 invoked by alias); 25 Feb 2019 08:38: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 13985 invoked by uid 48); 25 Feb 2019 08:38:41 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Mon, 25 Feb 2019 08:38: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: amodra 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: cc short_desc
Message-ID: <bug-89490-4-Ccvs01xatj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03420.txt.bz2
Content-length: 737

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bernd.edlinger at hotmail dot de
            Summary|char array constant put in  |[9 Regression] char array
                   |string merge section        |constant put in string
                   |                            |merge section

--- Comment #2 from Alan Modra <amodra at gmail dot com> ---
Putting the array initialiser in a STRING_CST conflicts with
varasm.c:categorize_decl_for_section returning SECCAT_RODATA_MERGE_STR for
STRING_CST.
>From gcc-bugs-return-635119-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 09:03:57 2019
Return-Path: <gcc-bugs-return-635119-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90217 invoked by alias); 25 Feb 2019 09:03:56 -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 89948 invoked by uid 48); 25 Feb 2019 09:03:52 -0000
From: "david.bolvansky at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89491] New: Inline jump tables
Date: Mon, 25 Feb 2019 09:03: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: david.bolvansky 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-89491-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: 2019-02/txt/msg03421.txt.bz2
Content-length: 965

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89491

            Bug ID: 89491
           Summary: Inline jump tables
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: david.bolvansky at gmail dot com
  Target Milestone: ---

int square(int x) {
    return x*x;
}

int add(int x) {
    return x + x;
}

typedef int (*p) (int);

p arr[4] = {square, add};

int test(int x) {
    int res = arr[1](x);
    return res;
}

Expected:
test(int):
        lea     eax, [rdi+rdi]
        ret

Currently:
test(int):
        jmp     [QWORD PTR arr[rip+8]]


------------
If the index to the jump table isn't a constant, should not be better to expand
"if else" chain like:
if (x==1)  arr[1](x);
else if (x==2)  arr[2](x);

..and then take an opportunity to inline functions?
>From gcc-bugs-return-635120-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 09:04:44 2019
Return-Path: <gcc-bugs-return-635120-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93060 invoked by alias); 25 Feb 2019 09:04:43 -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 92648 invoked by uid 48); 25 Feb 2019 09:04:35 -0000
From: "harald at gigawatt dot nl" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89486] GCC fails to compile designated initializer use involving implicit conversion
Date: Mon, 25 Feb 2019 09:04: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: harald at gigawatt dot nl
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-89486-4-1ugZxXplSm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89486-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89486-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: 2019-02/txt/msg03422.txt.bz2
Content-length: 545

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89486

Harald van Dijk <harald at gigawatt dot nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |harald at gigawatt dot nl

--- Comment #1 from Harald van Dijk <harald at gigawatt dot nl> ---
This is a duplicate of #71446. As the error message hints, {.b = nullptr} is
treated as just {nullptr} here, so it attempts to initialise a rather than b.
>From gcc-bugs-return-635121-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 09:10:25 2019
Return-Path: <gcc-bugs-return-635121-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114686 invoked by alias); 25 Feb 2019 09:10: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 114488 invoked by uid 48); 25 Feb 2019 09:10:21 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89491] Inline jump tables
Date: Mon, 25 Feb 2019 09:10: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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-89491-4-gwOag96XFb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89491-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89491-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: 2019-02/txt/msg03423.txt.bz2
Content-length: 202

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89491

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
arr is non-constant so GCC cannot assume it would be square or add all the
time.
>From gcc-bugs-return-635122-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 09:29:38 2019
Return-Path: <gcc-bugs-return-635122-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6713 invoked by alias); 25 Feb 2019 09:29: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 6432 invoked by uid 48); 25 Feb 2019 09:29:33 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89481] constexpr function allows writing one active union member and reading another
Date: Mon, 25 Feb 2019 09: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.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89481-4-i1jbBIOBIP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89481-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89481-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: 2019-02/txt/msg03424.txt.bz2
Content-length: 1075

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89481

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-25
                 CC|                            |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC trunk starting with r269052 aka PR89336 fix will reject this too for
-std=c++14 and -std=c++17 too:
pr89481.C:20:29:   in ‘constexpr’ expansion of ‘all_zeros()’
pr89481.C:10:32: error: change of the active member of a union from
‘all_zeros()::mix::numeric’ to ‘all_zeros()::mix::bytes’
   10 |     zero.bytes[sizeof(double)] = '\0';
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
It is accepted with -std=c++2a where changing of active member is allowed.
>From gcc-bugs-return-635123-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 09:31:04 2019
Return-Path: <gcc-bugs-return-635123-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39888 invoked by alias); 25 Feb 2019 09:31:04 -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 35479 invoked by uid 48); 25 Feb 2019 09:30:56 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89481] constexpr function allows writing one active union member and reading another
Date: Mon, 25 Feb 2019 09:31: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.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: bug_status assigned_to attachments.created
Message-ID: <bug-89481-4-QyFFo8NFF4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89481-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89481-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: 2019-02/txt/msg03425.txt.bz2
Content-length: 607

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89481

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45814
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45814&action=edit
gcc9-pr89481.patch

Untested fix for -std=c++2a compilation.
>From gcc-bugs-return-635124-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 09:46:23 2019
Return-Path: <gcc-bugs-return-635124-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93864 invoked by alias); 25 Feb 2019 09:46: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 93475 invoked by uid 48); 25 Feb 2019 09:46:19 -0000
From: "david.bolvansky at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89491] Inline jump tables
Date: Mon, 25 Feb 2019 09:46: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: david.bolvansky 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:
Message-ID: <bug-89491-4-uT0s7MuuZX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89491-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89491-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: 2019-02/txt/msg03426.txt.bz2
Content-length: 253

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89491

--- Comment #2 from Dávid Bolvanský <david.bolvansky at gmail dot com> ---
Right, static helps.

What about more complex examples, like inlining vtables?
https://gcc.godbolt.org/z/ZXkRYa
>From gcc-bugs-return-635125-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 09:52:05 2019
Return-Path: <gcc-bugs-return-635125-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11286 invoked by alias); 25 Feb 2019 09:52:04 -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 10919 invoked by uid 55); 25 Feb 2019 09:51:59 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89438] [9 Regression] ICE in glibc/sysdeps/ieee754/dbl-64/e_pow.c (internal compiler error: in decompose, at rtl.h:2266)
Date: Mon, 25 Feb 2019 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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89438-4-FJ5uHbuel7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89438-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89438-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: 2019-02/txt/msg03427.txt.bz2
Content-length: 689

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89438

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Feb 25 09:51:27 2019
New Revision: 269185

URL: https://gcc.gnu.org/viewcvs?rev=269185&root=gcc&view=rev
Log:
        PR target/89438
        * config/arm.vfp.md (*negdf2_vfp): Use
        gen_int_mode (0x80000000, SImode) instead of GEN_INT (0x80000000).
        * config/arm/neon.md (neon_copysignf<mode>): Likewise.

        * gcc.dg/pr89438.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr89438.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/neon.md
    trunk/gcc/config/arm/vfp.md
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635126-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 09:57:29 2019
Return-Path: <gcc-bugs-return-635126-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34074 invoked by alias); 25 Feb 2019 09:57: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 33866 invoked by uid 48); 25 Feb 2019 09:57:24 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89438] [9 Regression] ICE in glibc/sysdeps/ieee754/dbl-64/e_pow.c (internal compiler error: in decompose, at rtl.h:2266)
Date: Mon, 25 Feb 2019 09: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89438-4-PxZ3L9DUES@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89438-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89438-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: 2019-02/txt/msg03428.txt.bz2
Content-length: 423

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89438

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-635127-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 10:16:31 2019
Return-Path: <gcc-bugs-return-635127-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14456 invoked by alias); 25 Feb 2019 10:16: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 14263 invoked by uid 48); 25 Feb 2019 10:16:27 -0000
From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89482] arm aarch32 inline assembly w constraints generate s registers instead of d
Date: Mon, 25 Feb 2019 10:16: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: documentation
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ktkachov at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-89482-4-sm5VCfl4cp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89482-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89482-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: 2019-02/txt/msg03429.txt.bz2
Content-length: 610

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89482

ktkachov at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2019-02-25
     Ever confirmed|0                           |1

--- Comment #2 from ktkachov at gcc dot gnu.org ---
Hmm, I can't reproduce this with trunk or GCC 8.
I think the exact GCC configuration is key here.
Can you provide the output of "arm-linux-gnueabihf-gcc -v" please?
>From gcc-bugs-return-635128-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 10:30:46 2019
Return-Path: <gcc-bugs-return-635128-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123317 invoked by alias); 25 Feb 2019 10:30: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 121662 invoked by uid 48); 25 Feb 2019 10:30:01 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89474] [9 Regression] ice in df_reg_chain_verify_unmarked, at df-scan.c:3995
Date: Mon, 25 Feb 2019 10:30: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: ubizjak 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 short_desc everconfirmed
Message-ID: <bug-89474-4-i9CWxSJynn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89474-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89474-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: 2019-02/txt/msg03430.txt.bz2
Content-length: 772

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89474

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-25
   Target Milestone|---                         |9.0
            Summary|ice in                      |[9 Regression] ice in
                   |df_reg_chain_verify_unmarke |df_reg_chain_verify_unmarke
                   |d, at df-scan.c:3995        |d, at df-scan.c:3995
     Ever confirmed|0                           |1

--- Comment #3 from Uroš Bizjak <ubizjak at gmail dot com> ---
Confirmed with "-O2 -mavx".
>From gcc-bugs-return-635129-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 10:33:16 2019
Return-Path: <gcc-bugs-return-635129-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72055 invoked by alias); 25 Feb 2019 10:33: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 69587 invoked by uid 55); 25 Feb 2019 10:33:11 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89434] [7/8/9 Regression] wrong code with -Og and __builtin_mul_overflow()
Date: Mon, 25 Feb 2019 10:33: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89434-4-RtZOGRW8mo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89434-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89434-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: 2019-02/txt/msg03431.txt.bz2
Content-length: 1460

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89434

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Feb 25 10:32:38 2019
New Revision: 269186

URL: https://gcc.gnu.org/viewcvs?rev=269186&root=gcc&view=rev
Log:
        PR target/89434
        * config/arm/arm.md (*subsi3_carryin_const): Use
        arm_neg_immediate_operand predicate instead of
        arm_not_immediate_operand, "L" constraint instead of "K" and
        print it using %n2 instead of %B2.
        (*subsi3_carryin_const0): New define_insn.
        (*subsi3_carryin_compare_const): Use const_int_I_operand predicate
        instead of arm_not_operand and "I" constraint instead of "K" and
        print it using %n3 instead of %B2.  Instead of using match_dup 2 add
        another match_operand and in the condition check that it is negation
        of operands[2].
        (*subsi3_carryin_compare_const0): New define_ins.
        (*subdi_di_zesidi): Adjust to use *subsi3_carryin_const0 instead of
        *subsi3_carryin_const.
        (*arm_cmpdi_insn): Fix splitting into *subsi3_carryin_compare_const,
        split into *subsi3_carryin_compare_const0 if the highpart is zero.

        * gcc.c-torture/execute/pr89434.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/execute/pr89434.c
    trunk/gcc/testsuite/gcc.dg/pr89434.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/arm.md
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635130-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 10:40:15 2019
Return-Path: <gcc-bugs-return-635130-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40636 invoked by alias); 25 Feb 2019 10:40: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 40468 invoked by uid 55); 25 Feb 2019 10:40:11 -0000
From: "dominiq at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/89274] Inconsistent list directed output of INTEGER(16)
Date: Mon, 25 Feb 2019 10:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libfortran
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: minor
X-Bugzilla-Who: dominiq at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89274-4-9QLLDLrAN9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89274-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89274-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: 2019-02/txt/msg03432.txt.bz2
Content-length: 721

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89274

--- Comment #2 from dominiq at gcc dot gnu.org ---
Author: dominiq
Date: Mon Feb 25 10:39:38 2019
New Revision: 269187

URL: https://gcc.gnu.org/viewcvs?rev=269187&root=gcc&view=rev
Log:
2019-02-25  Dominique d'Humieres  <dominiq@gcc.gnu.org>

        PR libfortran/89274
        * gfortran.dg/list_directed_large.f90: New test. 

2019-02-25  Dominique d'Humieres  <dominiq@gcc.gnu.org>

        PR libfortran/89274
        * io/write.c (write_integer): Add width for INTEGER(16).


Added:
    trunk/gcc/testsuite/gfortran.dg/list_directed_large.f90
Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/io/write.c
>From gcc-bugs-return-635131-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 10:42:21 2019
Return-Path: <gcc-bugs-return-635131-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86654 invoked by alias); 25 Feb 2019 10:42: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 86373 invoked by uid 48); 25 Feb 2019 10:42:17 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89474] [9 Regression] ice in df_reg_chain_verify_unmarked, at df-scan.c:3995
Date: Mon, 25 Feb 2019 10:42: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: ubizjak 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: cc
Message-ID: <bug-89474-4-Mg5N9G8lNo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89474-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89474-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: 2019-02/txt/msg03433.txt.bz2
Content-length: 539

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89474

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl at gcc dot gnu.org,
                   |                            |hubicka at gcc dot gnu.org

--- Comment #4 from Uroš Bizjak <ubizjak at gmail dot com> ---
Regression introduced by r269119:

i386: Add pass_remove_partial_avx_dependency.
>From gcc-bugs-return-635132-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 10:53:29 2019
Return-Path: <gcc-bugs-return-635132-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11743 invoked by alias); 25 Feb 2019 10:53: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 11549 invoked by uid 48); 25 Feb 2019 10:53:24 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/89274] Inconsistent list directed output of INTEGER(16)
Date: Mon, 25 Feb 2019 10:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libfortran
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: minor
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
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-89274-4-4q99t3Datf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89274-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89274-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: 2019-02/txt/msg03434.txt.bz2
Content-length: 905

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89274

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Seems obvious, Ok for trunk with a ChangeLog.
>
> Another point of view would be that for list-directed we should always
> use width=0 for all kinds; that would make list-directed more useful
> for things like
>
> print *, 'Frobnicator value is ', frob, ' frobs.'
>
> but would make it less useful for outputting tables.

IIRC this has already been discussed in the past. The choice of a fixed width
has been made a long time ago and IMO it is too late to change it.
>From gcc-bugs-return-635133-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 10:55:38 2019
Return-Path: <gcc-bugs-return-635133-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48199 invoked by alias); 25 Feb 2019 10:55:36 -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 46524 invoked by uid 48); 25 Feb 2019 10:55:31 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89487] [8/9 Regression] ICE in expand_expr_addr_expr_1, at expr.c:7993
Date: Mon, 25 Feb 2019 10:55: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: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone everconfirmed
Message-ID: <bug-89487-4-FAjJZf4TzK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89487-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89487-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: 2019-02/txt/msg03435.txt.bz2
Content-length: 845

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89487

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-25
                 CC|                            |jakub at gcc dot gnu.org
   Target Milestone|---                         |8.4
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Seems tree-data-ref.c creates on this testcase (many apparently) ADDR_EXPRs of
these hard register VAR_DECLs and some of them survive until expansion, which
ICEs on them.  We should never try to create ADDR_EXPR of DECL_HARD_REGISTER
VAR_Ps IMHO.
>From gcc-bugs-return-635134-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 11:01:01 2019
Return-Path: <gcc-bugs-return-635134-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73159 invoked by alias); 25 Feb 2019 11:01: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 72146 invoked by uid 48); 25 Feb 2019 11:00:45 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89488] [9 Regression] ICE in merge_exception_specifiers, at cp/typeck2.c:2395
Date: Mon, 25 Feb 2019 11:01: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed
Message-ID: <bug-89488-4-nwA2KwLugi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89488-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89488-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: 2019-02/txt/msg03436.txt.bz2
Content-length: 582

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89488

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-25
           Assignee|unassigned at gcc dot gnu.org      |paolo.carlini at oracle dot com
     Ever confirmed|0                           |1

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Mine.
>From gcc-bugs-return-635135-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 11:01:03 2019
Return-Path: <gcc-bugs-return-635135-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73442 invoked by alias); 25 Feb 2019 11:01: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 72893 invoked by uid 48); 25 Feb 2019 11:00:57 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89487] [8/9 Regression] ICE in expand_expr_addr_expr_1, at expr.c:7993
Date: Mon, 25 Feb 2019 11:01: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: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89487-4-oe0dLO7i3b@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89487-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89487-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: 2019-02/txt/msg03437.txt.bz2
Content-length: 282

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89487

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Can we ignore the DECL_HARD_REGISTER drs, or never canonicalize them to &var
(after all, they should never have any non-zero step, offset etc.), something
else?
>From gcc-bugs-return-635136-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 11:04:56 2019
Return-Path: <gcc-bugs-return-635136-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88423 invoked by alias); 25 Feb 2019 11:04:56 -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 88172 invoked by uid 48); 25 Feb 2019 11:04:52 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89488] [9 Regression] ICE in merge_exception_specifiers, at cp/typeck2.c:2395
Date: Mon, 25 Feb 2019 11:04: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: error-recovery
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords priority cc target_milestone
Message-ID: <bug-89488-4-Zu17irYqph@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89488-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89488-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: 2019-02/txt/msg03438.txt.bz2
Content-length: 480

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89488

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-invalid-code         |error-recovery
           Priority|P3                          |P4
                 CC|                            |jakub at gcc dot gnu.org
   Target Milestone|---                         |9.0
>From gcc-bugs-return-635137-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 11:07:52 2019
Return-Path: <gcc-bugs-return-635137-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117629 invoked by alias); 25 Feb 2019 11:07: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 117024 invoked by uid 48); 25 Feb 2019 11:07:47 -0000
From: "ciro.santilli at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89482] arm aarch32 inline assembly w constraints generate s registers instead of d
Date: Mon, 25 Feb 2019 11:07: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: documentation
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ciro.santilli at gmail dot com
X-Bugzilla-Status: WAITING
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-89482-4-VrvJ0MnPS4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89482-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89482-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: 2019-02/txt/msg03439.txt.bz2
Content-length: 1918

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89482

--- Comment #3 from Ciro Santilli <ciro.santilli at gmail dot com> ---
On Ubuntu 16.04 GCC 5.4.0 which I have access to now and fails with the same
error `arm-linux-gnueabihf-gcc -v` gives:

Using built-in specs.
COLLECT_GCC=arm-linux-gnueabihf-gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc-cross/arm-linux-gnueabihf/5/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
5.4.0-6ubuntu1~16.04.9' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs
--enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-5 --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-libitm
--disable-libquadmath --enable-plugin --with-system-zlib
--disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-armhf-cross/jre
--enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-armhf-cross
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-armhf-cross
--with-arch-directory=arm --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--disable-libgcj --enable-objc-gc --enable-multiarch --enable-multilib
--disable-sjlj-exceptions --with-arch=armv7-a --with-fpu=vfpv3-d16
--with-float=hard --with-mode=thumb --disable-werror --enable-multilib
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=arm-linux-gnueabihf --program-prefix=arm-linux-gnueabihf-
--includedir=/usr/arm-linux-gnueabihf/include
Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9)
>From gcc-bugs-return-635138-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 11:10:32 2019
Return-Path: <gcc-bugs-return-635138-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129585 invoked by alias); 25 Feb 2019 11:10: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 129378 invoked by uid 48); 25 Feb 2019 11:10:27 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89434] [7/8 Regression] wrong code with -Og and __builtin_mul_overflow()
Date: Mon, 25 Feb 2019 11:10: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_known_to_work short_desc cf_known_to_fail
Message-ID: <bug-89434-4-7AgE8mrIph@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89434-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89434-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: 2019-02/txt/msg03440.txt.bz2
Content-length: 646

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89434

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |9.0
            Summary|[7/8/9 Regression] wrong    |[7/8 Regression] wrong code
                   |code with -Og and           |with -Og and
                   |__builtin_mul_overflow()    |__builtin_mul_overflow()
      Known to fail|9.0                         |

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed on the trunk so far.
>From gcc-bugs-return-635139-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 11:14:48 2019
Return-Path: <gcc-bugs-return-635139-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14911 invoked by alias); 25 Feb 2019 11:14: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 14638 invoked by uid 48); 25 Feb 2019 11:14:43 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89474] [9 Regression] ice in df_reg_chain_verify_unmarked, at df-scan.c:3995
Date: Mon, 25 Feb 2019 11:14: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: jakub 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: cc
Message-ID: <bug-89474-4-OC7EyOe5qG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89474-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89474-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: 2019-02/txt/msg03441.txt.bz2
Content-length: 491

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89474

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Cleaned up testcase:
int a;
void foo (double);
int baz (void);

void
bar (void)
{
  while (baz ())
    foo (a);
}
>From gcc-bugs-return-635140-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 11:17:14 2019
Return-Path: <gcc-bugs-return-635140-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34981 invoked by alias); 25 Feb 2019 11:17: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 34777 invoked by uid 48); 25 Feb 2019 11:17:10 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89492] New: [9 Regression] Endless compilation of an invalid TRANSFER after r269177
Date: Mon, 25 Feb 2019 11:17: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
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-89492-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: 2019-02/txt/msg03442.txt.bz2
Content-length: 1249

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89492

            Bug ID: 89492
           Summary: [9 Regression] Endless compilation of an invalid
                    TRANSFER after r269177
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dominiq at lps dot ens.fr
                CC: anlauf at gcc dot gnu.org
  Target Milestone: ---

As reported at https://gcc.gnu.org/ml/fortran/2019-02/msg00198.html, after
revision r269177, compiling the reduced test

program bug4a
   implicit none
   type bug4
! Intentionally left empty
   end type bug4

   write(*,*) size(transfer(1,['']))
   write(*,*) transfer(transfer([1],[bug4()]),[1],size[1])
end program bug4a

gives the error

pr34202_red.f90:8:54:

    8 |    write(*,*) transfer(transfer([1],[bug4()]),[1],size[1])
      |                                                      1
Error: Function 'size' requires an argument list at (1)

and enter an endless state.

If I comment the line

   write(*,*) size(transfer(1,['']))

I get immediately the error

Error: Coarray designator at (1) but 'size' is not a coarray
>From gcc-bugs-return-635141-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 11:21:42 2019
Return-Path: <gcc-bugs-return-635141-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117223 invoked by alias); 25 Feb 2019 11:21:41 -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 116990 invoked by uid 48); 25 Feb 2019 11:21:38 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89492] [9 Regression] Endless compilation of an invalid TRANSFER after r269177
Date: Mon, 25 Feb 2019 11:21: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: compile-time-hog, error-recovery
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_known_to_work keywords cf_reconfirmed_on blocked everconfirmed target_milestone cf_known_to_fail
Message-ID: <bug-89492-4-Lj1px57g3i@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89492-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89492-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: 2019-02/txt/msg03443.txt.bz2
Content-length: 930

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89492

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
             Status|UNCONFIRMED                 |NEW
      Known to work|                            |7.4.0, 8.3.0
           Keywords|                            |compile-time-hog,
                   |                            |error-recovery
   Last reconfirmed|                            |2019-02-25
             Blocks|                            |31237
     Ever confirmed|0                           |1
   Target Milestone|---                         |9.0
      Known to fail|                            |9.0


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31237
[Bug 31237] [meta-bug] TRANSFER intrinsic
>From gcc-bugs-return-635142-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 11:53:55 2019
Return-Path: <gcc-bugs-return-635142-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18310 invoked by alias); 25 Feb 2019 11:53:44 -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 18076 invoked by uid 48); 25 Feb 2019 11:53:39 -0000
From: "hdusel@tangerine-soft.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89484] ICE in dwarf2out_frame_debug_adjust_cfa, at dwarf2cfi.c:1171 when using __attribute__((interrupt)) w. Debug Info
Date: Mon, 25 Feb 2019 11:53: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.3.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hdusel@tangerine-soft.de
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-89484-4-lVoVzw1crP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89484-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89484-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: 2019-02/txt/msg03444.txt.bz2
Content-length: 208

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89484

--- Comment #3 from Hans-Peter Dusel <hdusel@tangerine-soft.de> ---
This issue is not related to the c++ compiler g++. It happens also if one uses
gcc.
>From gcc-bugs-return-635143-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 11:55:21 2019
Return-Path: <gcc-bugs-return-635143-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24822 invoked by alias); 25 Feb 2019 11: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 24461 invoked by uid 48); 25 Feb 2019 11:55:15 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89474] [9 Regression] ice in df_reg_chain_verify_unmarked, at df-scan.c:3995
Date: Mon, 25 Feb 2019 11:55: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: jakub 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:
Message-ID: <bug-89474-4-8nDrIBcAyw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89474-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89474-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: 2019-02/txt/msg03445.txt.bz2
Content-length: 541

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89474

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I admit I don't know much about df infrastructure, but it looks completely
wrong to me to first modify the various instructions to refer to at that point
created, but uninitialized v4sf_const0 pseudo, including df_insn_rescan etc.,
then df_analyze including DF_DU_CHAIN | DF_UD_CHAIN etc. and finally add an
initializer for that pseudo.  I'd say df_analyze shouldn't be called if the IL
is in so inconsistent state.
>From gcc-bugs-return-635144-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 11:57:44 2019
Return-Path: <gcc-bugs-return-635144-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33055 invoked by alias); 25 Feb 2019 11:57:43 -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 32730 invoked by uid 48); 25 Feb 2019 11:57:39 -0000
From: "hdusel@tangerine-soft.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89484] ICE in dwarf2out_frame_debug_adjust_cfa, at dwarf2cfi.c:1171 when using __attribute__((interrupt)) w. Debug Info
Date: Mon, 25 Feb 2019 11: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.3.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hdusel@tangerine-soft.de
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-89484-4-07RrdFXpaV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89484-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89484-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: 2019-02/txt/msg03446.txt.bz2
Content-length: 1541

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89484

--- Comment #4 from Hans-Peter Dusel <hdusel@tangerine-soft.de> ---
The Release 8.2.0 of GCC is also affected by this issue.

Here is a snapshot (same test program as mentioned above)

- begin ----------------------------------------------
alvis:tmp hdusel$ /opt/gcc-8.2.0-rx-none-elf/bin/rx-none-elf-gcc ./test.cpp -c
-g
during RTL pass: dwarf2
./test.cpp: In function 'void ISR_handleUartReceiveData()':
./test.cpp:2:2: internal compiler error: in dwarf2out_frame_debug_adjust_cfa,
at dwarf2cfi.c:1171
 {}
  ^
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
- end -----------------------------------------------

Here are the specs:

- begin ----------------------------------------------
alvis:tmp hdusel$ /opt/gcc-8.2.0-rx-none-elf/bin/rx-none-elf-gcc -v
Using built-in specs.
COLLECT_GCC=/opt/gcc-8.2.0-rx-none-elf/bin/rx-none-elf-gcc
COLLECT_LTO_WRAPPER=/opt/gcc-8.2.0-rx-none-elf/libexec/gcc/rx-none-elf/8.2.0/lto-wrapper
Target: rx-none-elf
Configured with: /tmp/build_cross_gcc/gcc-8.2.0_arch/gcc-8.2.0/configure
--target=rx-none-elf --prefix=/opt/gcc-8.2.0-rx-none-elf --disable-nls
--disable-shared --disable-threads --disable-libssp -v --without-headers
--with-newlib --with-gnu-as --with-gnu-ld --with-gcc --enable-languages=c,c++
Thread model: single
gcc version 8.2.0 (GCC) 
- end -----------------------------------------------
>From gcc-bugs-return-635145-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 12:00:48 2019
Return-Path: <gcc-bugs-return-635145-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44541 invoked by alias); 25 Feb 2019 12:00: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 44184 invoked by uid 48); 25 Feb 2019 12:00:42 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89474] [9 Regression] ice in df_reg_chain_verify_unmarked, at df-scan.c:3995
Date: Mon, 25 Feb 2019 12:00: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: jakub 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:
Message-ID: <bug-89474-4-Mw7PADxXKS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89474-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89474-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: 2019-02/txt/msg03447.txt.bz2
Content-length: 201

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89474

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
And another issue is the insertion of the v4sf_const0 initializer outside of
bbs.
>From gcc-bugs-return-635146-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 12:06:31 2019
Return-Path: <gcc-bugs-return-635146-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64282 invoked by alias); 25 Feb 2019 12:06: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 64062 invoked by uid 48); 25 Feb 2019 12:06:27 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Mon, 25 Feb 2019 12:06: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cc target_milestone everconfirmed
Message-ID: <bug-89490-4-ERWMrYH83l@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03448.txt.bz2
Content-length: 668

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-25
                 CC|                            |jakub at gcc dot gnu.org
   Target Milestone|---                         |9.0
     Ever confirmed|0                           |1

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r264850.
>From gcc-bugs-return-635147-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 12:16:25 2019
Return-Path: <gcc-bugs-return-635147-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106193 invoked by alias); 25 Feb 2019 12: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 105952 invoked by uid 48); 25 Feb 2019 12:16:21 -0000
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Mon, 25 Feb 2019 12:16: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: bernd.edlinger at hotmail dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89490-4-ebYrch0UMP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03449.txt.bz2
Content-length: 1482

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

--- Comment #4 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
funny, how I managed to overlook this...

--- varasm.c.orig       2019-01-25 17:57:32.000000000 +0100
+++ varasm.c    2019-02-25 13:13:55.652051780 +0100
@@ -7634,6 +7634,8 @@

   /* Output the objects themselves.  */
   offset = 0;
+  bool merge_strings = (block->sect->common.flags & SECTION_MERGE)
+                        && (block->sect->common.flags & SECTION_STRINGS);
   FOR_EACH_VEC_ELT (*block->objects, i, symbol)
     {
       /* Move to the object's offset, padding with zeros if necessary.  */
@@ -7652,7 +7654,7 @@
          HOST_WIDE_INT size;
          decl = SYMBOL_REF_DECL (symbol);
          assemble_constant_contents (DECL_INITIAL (decl), XSTR (symbol, 0),
-                                     DECL_ALIGN (decl), false);
+                                     DECL_ALIGN (decl), merge_strings);

          size = get_constant_size (DECL_INITIAL (decl));
          offset += size;
@@ -7669,7 +7671,8 @@
        {
          HOST_WIDE_INT size;
          decl = SYMBOL_REF_DECL (symbol);
-         assemble_variable_contents (decl, XSTR (symbol, 0), false, false);
+         assemble_variable_contents (decl, XSTR (symbol, 0), false,
+                                     merge_strings);
          size = tree_to_uhwi (DECL_SIZE_UNIT (decl));
          offset += size;
          if ((flag_sanitize & SANITIZE_ADDRESS)
>From gcc-bugs-return-635148-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 12:26:38 2019
Return-Path: <gcc-bugs-return-635148-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31328 invoked by alias); 25 Feb 2019 12:26: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 31108 invoked by uid 48); 25 Feb 2019 12:26:33 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89474] [9 Regression] ice in df_reg_chain_verify_unmarked, at df-scan.c:3995
Date: Mon, 25 Feb 2019 12:26: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: jakub 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:
Message-ID: <bug-89474-4-898s9FIEFz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89474-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89474-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: 2019-02/txt/msg03450.txt.bz2
Content-length: 1361

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89474

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
For the former issue, I'd go with:
--- gcc/config/i386/i386.c.jj   2019-02-22 23:02:47.805117610 +0100
+++ gcc/config/i386/i386.c      2019-02-25 12:57:18.238284322 +0100
@@ -2835,7 +2835,14 @@ remove_partial_avx_dependency (void)
            continue;

          if (!v4sf_const0)
-           v4sf_const0 = gen_reg_rtx (V4SFmode);
+           {
+             calculate_dominance_info (CDI_DOMINATORS);
+             df_set_flags (DF_DEFER_INSN_RESCAN);
+             df_chain_add_problem (DF_DU_CHAIN | DF_UD_CHAIN);
+             df_md_add_problem ();
+             df_analyze ();
+             v4sf_const0 = gen_reg_rtx (V4SFmode);
+           }

          /* Convert PARTIAL_XMM_UPDATE_TRUE insns, DF -> SF, SF -> DF,
             SI -> SF, SI -> DF, DI -> SF, DI -> DF, to vec_dup and
@@ -2883,12 +2890,6 @@ remove_partial_avx_dependency (void)

   if (v4sf_const0)
     {
-      calculate_dominance_info (CDI_DOMINATORS);
-      df_set_flags (DF_DEFER_INSN_RESCAN);
-      df_chain_add_problem (DF_DU_CHAIN | DF_UD_CHAIN);
-      df_md_add_problem ();
-      df_analyze ();
-
       /* (Re-)discover loops so that bb->loop_father can be used in the
         analysis below.  */
       loop_optimizer_init (AVOID_CFG_MODIFICATIONS);
>From gcc-bugs-return-635149-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 12:38:19 2019
Return-Path: <gcc-bugs-return-635149-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67465 invoked by alias); 25 Feb 2019 12:38:19 -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 67073 invoked by uid 48); 25 Feb 2019 12:38:14 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89491] Inline jump tables
Date: Mon, 25 Feb 2019 12:38: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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-89491-4-5jzje7vsvB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89491-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89491-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: 2019-02/txt/msg03451.txt.bz2
Content-length: 406

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89491

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Dávid Bolvanský from comment #2)
> Right, static helps.
> 
> What about more complex examples, like inlining vtables?
> https://gcc.godbolt.org/z/ZXkRYa

Your example is much more complex.  The vtable might be constant but where the
vtable is stored is not.
>From gcc-bugs-return-635150-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 13:10:02 2019
Return-Path: <gcc-bugs-return-635150-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109110 invoked by alias); 25 Feb 2019 13:10: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 108750 invoked by uid 48); 25 Feb 2019 13:09:57 -0000
From: "danglin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/83443] FAIL: gcc.dg/tree-ssa/builtin-sprintf-warn-18.c  (test for warnings, line 119)
Date: Mon, 25 Feb 2019 13:10: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: danglin at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-83443-4-oOhF270eTp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83443-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83443-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: 2019-02/txt/msg03452.txt.bz2
Content-length: 448

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83443

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED

--- Comment #11 from John David Anglin <danglin at gcc dot gnu.org> ---
Test is now fixed.
>From gcc-bugs-return-635151-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 13:20:40 2019
Return-Path: <gcc-bugs-return-635151-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48567 invoked by alias); 25 Feb 2019 13:20: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 48439 invoked by uid 48); 25 Feb 2019 13:20:35 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81879] Bad compilation of small program if LTO is used
Date: Mon, 25 Feb 2019 13:20: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: 7.1.0
X-Bugzilla-Keywords: lto
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: see_also
Message-ID: <bug-81879-4-RVAzFIUtI4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81879-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81879-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: 2019-02/txt/msg03453.txt.bz2
Content-length: 798

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81879

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://sourceware.org/bugz
                   |                            |illa/show_bug.cgi?id=24267

--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #5)
> The .res file contains just a single object, thus PREEMPTED_REG does not
> make sense. Problem will be probably in binutils. I'm investigating right
> now..

So no. PREEMPTED_REG is correct and culprit is probably linker:
https://sourceware.org/bugzilla/show_bug.cgi?id=24267
>From gcc-bugs-return-635152-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 13:22:40 2019
Return-Path: <gcc-bugs-return-635152-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54992 invoked by alias); 25 Feb 2019 13:22: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 54722 invoked by uid 48); 25 Feb 2019 13:22:34 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/81879] Bad compilation of small program if LTO is used
Date: Mon, 25 Feb 2019 13:22: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: 7.1.0
X-Bugzilla-Keywords: lto
X-Bugzilla-Severity: normal
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-81879-4-5QGnssnCNA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81879-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81879-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: 2019-02/txt/msg03454.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81879

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |marxin at gcc dot gnu.org
>From gcc-bugs-return-635153-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 13:26:05 2019
Return-Path: <gcc-bugs-return-635153-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72980 invoked by alias); 25 Feb 2019 13:26: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 72708 invoked by uid 48); 25 Feb 2019 13:25:55 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89474] [9 Regression] ice in df_reg_chain_verify_unmarked, at df-scan.c:3995
Date: Mon, 25 Feb 2019 13:26: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: jakub 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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created
Message-ID: <bug-89474-4-LcoGGgdIlW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89474-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89474-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: 2019-02/txt/msg03455.txt.bz2
Content-length: 583

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89474

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45815
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45815&action=edit
gcc9-pr89474.patch

Untested full fix.
>From gcc-bugs-return-635154-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 13:38:24 2019
Return-Path: <gcc-bugs-return-635154-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117135 invoked by alias); 25 Feb 2019 13:38: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 116917 invoked by uid 48); 25 Feb 2019 13:38:19 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89450] RFC: Strengthen -fstrict-enums
Date: Mon, 25 Feb 2019 13:38: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
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: bug_status resolution
Message-ID: <bug-89450-4-PSWtsAAwvJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89450-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89450-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: 2019-02/txt/msg03456.txt.bz2
Content-length: 1518

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89450

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #7 from Martin Liška <marxin at gcc dot gnu.org> ---
> Please no. -fstrict-enums currently makes the compiler *more* strictly
> conforming, by following the rules of the standard. Your suggestion arguably
> makes it *less* conforming, by deciding that valid values should emit a
> warning.
> 
> What you want is not how enums work in C++. Please don't abuse
> -fstrict-enums when what you want is "some other kind of enum, not one that
> strictly follows the C++ standard".

I don't insist on that, I'm fully aware that it's a hackish approach.
My motivation is chromium package which we build with gcc in openSUSE.
In order to handle all
warning: control reaches end of non-void function [-Wreturn-type]

in switch statements, we have a huge patch:
https://build.opensuse.org/package/view_file/network:chromium/chromium-beta/chromium-non-void-return.patch?expand=1

Clang is more tolerant to c++ enums:

$ cat wreturn.cpp
enum A
{
  a,
  b,
  c
};

int foo(int argc)
{
  switch ((A)argc)
  case a:
  case b:
  case c:
    return 0;
}

int main(int argc, char **argv)
{
  return foo(argc);
}

$ clang++ -Wall wreturn.cpp
[no output]
>From gcc-bugs-return-635155-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 13:38:57 2019
Return-Path: <gcc-bugs-return-635155-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119357 invoked by alias); 25 Feb 2019 13:38:56 -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 119194 invoked by uid 48); 25 Feb 2019 13:38:52 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89491] Inline jump tables
Date: Mon, 25 Feb 2019 13:38: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89491-4-DXHX79ciDr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89491-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89491-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: 2019-02/txt/msg03457.txt.bz2
Content-length: 621

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89491

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
"Inlining" from vtables is called devirtualization, and GCC performs that
either if there is just a single possibility, or with PGO if a particular
method is known to be very common.  Doing it in other cases is probably not a
very good idea.
>From gcc-bugs-return-635156-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 13:39:27 2019
Return-Path: <gcc-bugs-return-635156-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121162 invoked by alias); 25 Feb 2019 13:39:26 -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 120990 invoked by uid 48); 25 Feb 2019 13:39:23 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/89349] segfault when building GCC 7 & 8 branch with GCC master
Date: Mon, 25 Feb 2019 13:39: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: 7.4.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: ebotcazou at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89349-4-VUaXOeVtZl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89349-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89349-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: 2019-02/txt/msg03458.txt.bz2
Content-length: 203

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89349

--- Comment #17 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Eric Botcazou from comment #16)
> .

Thank you Erik for the fix!
>From gcc-bugs-return-635157-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 13:41:38 2019
Return-Path: <gcc-bugs-return-635157-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129197 invoked by alias); 25 Feb 2019 13:41: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 128999 invoked by uid 48); 25 Feb 2019 13:41:33 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89474] [9 Regression] ice in df_reg_chain_verify_unmarked, at df-scan.c:3995
Date: Mon, 25 Feb 2019 13:41: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority
Message-ID: <bug-89474-4-EtgeLfHLBl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89474-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89474-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: 2019-02/txt/msg03459.txt.bz2
Content-length: 289

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89474

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
>From gcc-bugs-return-635158-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 13:47:13 2019
Return-Path: <gcc-bugs-return-635158-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67291 invoked by alias); 25 Feb 2019 13:47: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 67120 invoked by uid 48); 25 Feb 2019 13:47:09 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/89465] [GCOV] Wrong coverage with setjmp and longjmp function
Date: Mon, 25 Feb 2019 13:47:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: gcov-profile
X-Bugzilla-Version: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89465-4-US4pzuq6Fs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89465-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89465-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: 2019-02/txt/msg03460.txt.bz2
Content-length: 453

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89465

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed on trunk in r263111.
>From gcc-bugs-return-635159-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 13:50:57 2019
Return-Path: <gcc-bugs-return-635159-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91008 invoked by alias); 25 Feb 2019 13:50:56 -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 90848 invoked by uid 48); 25 Feb 2019 13:50:53 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/89469] [GCOV] wrong frequencies for the first statement in the for(;;) block
Date: Mon, 25 Feb 2019 13:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: gcov-profile
X-Bugzilla-Version: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-89469-4-u2ifRDf0sL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89469-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89469-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: 2019-02/txt/msg03461.txt.bz2
Content-length: 540

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89469

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P5
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-25
     Ever confirmed|0                           |1

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed.
>From gcc-bugs-return-635160-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 13:52:25 2019
Return-Path: <gcc-bugs-return-635160-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121164 invoked by alias); 25 Feb 2019 13:52: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 118206 invoked by uid 48); 25 Feb 2019 13:52:21 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/89470] [GCOV] wrong frequencies when if statement is executed after a complicated "?:"statement
Date: Mon, 25 Feb 2019 13:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: gcov-profile
X-Bugzilla-Version: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-89470-4-o9hVlSZjDh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89470-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89470-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: 2019-02/txt/msg03462.txt.bz2
Content-length: 581

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89470

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P5
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-25
     Ever confirmed|0                           |1

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, it's a folding of a constant expression.
>From gcc-bugs-return-635161-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 13:53:15 2019
Return-Path: <gcc-bugs-return-635161-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44859 invoked by alias); 25 Feb 2019 13:53: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 39383 invoked by uid 48); 25 Feb 2019 13:53:10 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/89468] [GCOV] wrong frequencies when the block is empty in a if statement
Date: Mon, 25 Feb 2019 13:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: gcov-profile
X-Bugzilla-Version: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-89468-4-QQUpttdImD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89468-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89468-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: 2019-02/txt/msg03463.txt.bz2
Content-length: 576

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89468

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P5
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-25
     Ever confirmed|0                           |1

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, again a folding of sub-expressions.
>From gcc-bugs-return-635162-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 13:54:18 2019
Return-Path: <gcc-bugs-return-635162-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66452 invoked by alias); 25 Feb 2019 13:54: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 66128 invoked by uid 48); 25 Feb 2019 13:54:14 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/89467] [GCOV] wrong freqencies when there is comparison operator in the right side of the assignment statement after a label statement
Date: Mon, 25 Feb 2019 13:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: gcov-profile
X-Bugzilla-Version: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89467-4-WiJ1Gk7c7I@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89467-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89467-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: 2019-02/txt/msg03464.txt.bz2
Content-length: 442

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89467

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed on trunk.
>From gcc-bugs-return-635163-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 14:01:02 2019
Return-Path: <gcc-bugs-return-635163-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93107 invoked by alias); 25 Feb 2019 14:01: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 92415 invoked by uid 48); 25 Feb 2019 14:00:56 -0000
From: "pavel at zhukoff dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/89493] New: Stack smashing on armv7hl
Date: Mon, 25 Feb 2019 14:01: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pavel at zhukoff dot net
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-89493-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: 2019-02/txt/msg03465.txt.bz2
Content-length: 2298

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89493

            Bug ID: 89493
           Summary: Stack smashing on armv7hl
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pavel at zhukoff dot net
  Target Milestone: ---

Created attachment 45816
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45816&action=edit
reproducer

Reporting this for ada as reproducer is part of gprbuild (gprinstall) code.

In some cases (return from exception handler) stack pointer is set to weird
value and either stack smashing protection or storage error occurs.

it's easy and 100% reproducible in Fedora linux distribution 
https://bugzilla.redhat.com/show_bug.cgi?id=1677173

gcc-9.0.1-0.4.fc30.armv7hl
gprbuild-2018-12.fc30.armv7hl

All other architectures (x86, s390x, ppc64le and aarch64 work fine)

We were able to strip reproducer to ~200 LOC (attached) 

# gprbuild -v -cargs:Ada -O2 -g


# valgrind ./exe/process
==29563== Memcheck, a memory error detector
==29563== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==29563== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
==29563== Command: ./exe/process
==29563== 
warning: file does not exist '/tmp/a/satrace.log'
==29563== Warning: client switching stacks?  SP change: 0xbdef07c0 --> 0x68818
==29563==          to suppress, use: --max-stackframe=1108836440 or greater
aaa
==29563== Invalid write of size 4
==29563==    at 0x40C04: system__secondary_stack__ss_release (in
/tmp/test/exe/process)
==29563==  Address 0x68754 is 12 bytes inside data symbol
"ada_main__sec_default_sized_stacks"
==29563== 
==29563== Invalid read of size 4
==29563==    at 0x1A09C: _ada_process (process.adb:119)
==29563==  Address 0x687ec is 164 bytes inside data symbol
"ada_main__sec_default_sized_stacks"
==29563== 
==29563== Invalid read of size 4
==29563==    at 0x1A0A4: _ada_process (process.adb:119)
==29563==  Address 0xe1a02026 is not stack'd, malloc'd or (recently) free'd
>From gcc-bugs-return-635164-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 14:12:01 2019
Return-Path: <gcc-bugs-return-635164-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87845 invoked by alias); 25 Feb 2019 14:12: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 87717 invoked by uid 48); 25 Feb 2019 14:11:57 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89489] [9 Regression] ICE in gimple_duplicate_bb, at tree-cfg.c:6257
Date: Mon, 25 Feb 2019 14:12: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: 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc cf_known_to_work everconfirmed cf_known_to_fail
Message-ID: <bug-89489-4-sApv8nkc25@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89489-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89489-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: 2019-02/txt/msg03466.txt.bz2
Content-length: 766

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89489

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-25
                 CC|                            |marxin at gcc dot gnu.org,
                   |                            |rguenth at gcc dot gnu.org
      Known to work|                            |8.2.0
     Ever confirmed|0                           |1
      Known to fail|                            |9.0

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, a Graphite issue.
>From gcc-bugs-return-635165-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 14:16:50 2019
Return-Path: <gcc-bugs-return-635165-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108434 invoked by alias); 25 Feb 2019 14:16: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 108311 invoked by uid 48); 25 Feb 2019 14:16:46 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89489] [9 Regression] ICE in gimple_duplicate_bb, at tree-cfg.c:6257
Date: Mon, 25 Feb 2019 14:16: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: cc target_milestone
Message-ID: <bug-89489-4-J9guPb8gaM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89489-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89489-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: 2019-02/txt/msg03467.txt.bz2
Content-length: 483

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89489

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org
   Target Milestone|---                         |9.0

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
And due to graphite I can't bisect, Martin, can you?
>From gcc-bugs-return-635166-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 14:21:20 2019
Return-Path: <gcc-bugs-return-635166-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130229 invoked by alias); 25 Feb 2019 14:21: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 130060 invoked by uid 48); 25 Feb 2019 14:21:16 -0000
From: "pkubaj at anongoth dot pl" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/89494] New: Bootstrap error when using GCC 4.2.1
Date: Mon, 25 Feb 2019 14:21: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: pkubaj at anongoth dot pl
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-89494-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: 2019-02/txt/msg03468.txt.bz2
Content-length: 3475

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89494

            Bug ID: 89494
           Summary: Bootstrap error when using GCC 4.2.1
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pkubaj at anongoth dot pl
  Target Milestone: ---

I use FreeBSD on powerpc64 architecture, which has GCC 4.2.1 as a system
compiler.

It does support C++98 which, according to
https://gcc.gnu.org/install/prerequisites.html is enough to bootstrap GCC.

I can compile GCC 6.5 at most. GCC 7 and newer are broken. FreeBSD ports tree
has a work around for that to use newer GCC release from FreeBSD's ports, but
it means that to compile GCC 7 or newer, we need to compile 5 or 6.

Building GCC 9 fails with:
/usr/local/poudriere/ports/default/lang/gcc9-devel/work/.build/./gcc/xgcc
-B/usr/local/poudriere/ports/default/lang/gcc9-devel/work/.build/./gcc/ -xc
-nostdinc /dev/null -S -o /dev/null
-fself-test=/usr/local/poudriere/ports/default/lang/g
cc9-devel/work/gcc-9-20190217/gcc/testsuite/selftests
cc1: internal compiler error: Segmentation fault
no stack trace because unwind library not available


Building GCC 7 is more verbose:
/usr/local/poudriere/ports/default/lang/gcc7/work/.build/./gcc/xgcc
-B/usr/local/poudriere/ports/default/lang/gcc7/work/.build/./gcc/
-B/usr/local/powerpc64-portbld-freebsd12.0/bin/
-B/usr/local/powerpc64-portbld-freebsd12.0/lib/ -isystem
/usr/local/powerpc64-portbld-freebsd12.0/include -isystem
/usr/local/powerpc64-portbld-freebsd12.0/sys-include    -g -O2 -pipe
-DLIBICONV_PLUG -fno-strict-aliasing -m32 -fPIC -mstrict-align -O2  -g -O2
-pipe  -DLIBICONV_PLUG -fno-strict-aliasing  -DIN_GCC    -W -Wall
-Wwrite-strings -Wcast-qual -Wno-format -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include   -fPIC
-pthread -mno-minimal-toc -g -DIN_LIBGCC2 -fbuilding-libgcc
-fno-stack-protector   -fPIC -pthread -mno-minimal-toc -I. -I. -I../../.././gcc
-I/usr/local/poudriere/ports/default/lang/gcc7/work/gcc-7.4.0/libgcc
-I/usr/local/poudriere/ports/default/lang/gcc7/work/gcc-7.4.0/libgcc/.
-I/usr/local/poudriere/ports/default/lang/gcc7/work/gcc-7.4.0/libgcc/../gcc
-I/usr/local/poudriere/ports/default/lang/gcc7/work/gcc-7.4.0/libgcc/../include
 -DHAVE_CC_TLS  -o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3
-c /usr/local/poudriere/ports/default/lang/gcc7/work/gcc-7.4.0/libgcc/libgcc2.c
-fvisibility=hidden -DHIDE_EXPORTS
In file included from
/usr/local/poudriere/ports/default/lang/gcc7/work/gcc-7.4.0/libgcc/libgcc2.c:56:0:
/usr/local/poudriere/ports/default/lang/gcc7/work/gcc-7.4.0/libgcc/libgcc2.c:
In function '__muldi3':
/usr/local/poudriere/ports/default/lang/gcc7/work/gcc-7.4.0/libgcc/libgcc2.h:219:20:
internal compiler error: Segmentation fault
 #define __NDW(a,b) __ ## a ## di ## b
                    ^
/usr/local/poudriere/ports/default/lang/gcc7/work/gcc-7.4.0/libgcc/libgcc2.h:273:18:
note: in expansion of macro '__NDW'
 #define __muldi3 __NDW(mul,3)
                  ^~~~~
/usr/local/poudriere/ports/default/lang/gcc7/work/gcc-7.4.0/libgcc/libgcc2.c:548:1:
note: in expansion of macro '__muldi3'
 __muldi3 (DWtype u, DWtype v)
 ^~~~~~~~
no stack trace because unwind library not available

Obviously, I'm not asking to fix GCC 4.2.1, but to make a workaround for newer
releases
>From gcc-bugs-return-635167-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 14:24:00 2019
Return-Path: <gcc-bugs-return-635167-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12383 invoked by alias); 25 Feb 2019 14:24: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 12300 invoked by uid 48); 25 Feb 2019 14:23:56 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89495] New: gcc/c-family/c-format.c:1272:20: runtime error: signed integer overflow: 214748365 * 10 cannot be represented in type 'int'
Date: Mon, 25 Feb 2019 14:24: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: unknown
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 target_milestone
Message-ID: <bug-89495-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: 2019-02/txt/msg03469.txt.bz2
Content-length: 7317

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89495

            Bug ID: 89495
           Summary: gcc/c-family/c-format.c:1272:20: runtime error: signed
                    integer overflow: 214748365 * 10 cannot be represented
                    in type 'int'
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---

It's a recent UBSAN error:

$ ./xgcc -B.
/home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/tree-ssa/builtin-printf-warn-2.c
-O -Wformat -Wformat-overflow=2 -ftrack-macro-expansion=0 -W
../../gcc/c-family/c-format.c:1272:15: runtime error: signed integer overflow:
2147483640 + 8 cannot be represented in type 'int'
    #0 0xaeca84 in maybe_read_dollar_number ../../gcc/c-family/c-format.c:1272
    #1 0xaf28a1 in argument_parser::read_any_dollar()
../../gcc/c-family/c-format.c:2082
    #2 0xafd7c6 in check_format_info_main ../../gcc/c-family/c-format.c:2855
    #3 0xaf0b77 in check_format_arg ../../gcc/c-family/c-format.c:1748
    #4 0xab18f6 in check_function_arguments_recurse(void (*)(void*, tree_node*,
unsigned long), void*, tree_node*, unsigned long)
../../gcc/c-family/c-common.c:5895
    #5 0xab1380 in check_function_arguments_recurse(void (*)(void*, tree_node*,
unsigned long), void*, tree_node*, unsigned long)
../../gcc/c-family/c-common.c:5827
    #6 0xaedc92 in check_format_info ../../gcc/c-family/c-format.c:1471
    #7 0xaebc46 in check_function_format(tree_node const*, tree_node*, int,
tree_node**, vec<unsigned int, va_heap, vl_ptr>*)
../../gcc/c-family/c-format.c:1128
    #8 0xab1020 in check_function_arguments(unsigned int, tree_node const*,
tree_node const*, int, tree_node**, vec<unsigned int, va_heap, vl_ptr>*)
../../gcc/c-family/c-common.c:5802
    #9 0x92d079 in build_function_call_vec(unsigned int, vec<unsigned int,
va_heap, vl_ptr>, tree_node*, vec<tree_node*, va_gc, vl_embed>*,
vec<tree_node*, va_gc, vl_embed>*) ../../gcc/c/c-typeck.c:3118
    #10 0x92dfdc in c_build_function_call_vec(unsigned int, vec<unsigned int,
va_heap, vl_ptr>, tree_node*, vec<tree_node*, va_gc, vl_embed>*,
vec<tree_node*, va_gc, vl_embed>*) ../../gcc/c/c-typeck.c:3184
    #11 0x9db6b7 in c_parser_postfix_expression_after_primary
../../gcc/c/c-parser.c:9595
    #12 0x9d9511 in c_parser_postfix_expression ../../gcc/c/c-parser.c:9270
    #13 0x9cc738 in c_parser_unary_expression ../../gcc/c/c-parser.c:7383
    #14 0x9cb0b0 in c_parser_cast_expression ../../gcc/c/c-parser.c:7222
    #15 0x9c58c7 in c_parser_binary_expression ../../gcc/c/c-parser.c:7025
    #16 0x9c4a15 in c_parser_conditional_expression ../../gcc/c/c-parser.c:6759
    #17 0x9c4518 in c_parser_expr_no_commas ../../gcc/c/c-parser.c:6676
    #18 0x9dc1c6 in c_parser_expression ../../gcc/c/c-parser.c:9731
    #19 0x9dc6db in c_parser_expression_conv ../../gcc/c/c-parser.c:9764
    #20 0x9c0147 in c_parser_statement_after_labels ../../gcc/c/c-parser.c:5610
    #21 0x9be83e in c_parser_compound_statement_nostart
../../gcc/c/c-parser.c:5148
    #22 0x9bdf55 in c_parser_compound_statement ../../gcc/c/c-parser.c:4982
    #23 0x9b437c in c_parser_declaration_or_fndef ../../gcc/c/c-parser.c:2354
    #24 0x9b12a7 in c_parser_external_declaration ../../gcc/c/c-parser.c:1653
    #25 0x9b0aa4 in c_parser_translation_unit ../../gcc/c/c-parser.c:1534
    #26 0xa16edb in c_parse_file() ../../gcc/c/c-parser.c:19854
    #27 0xb39675 in c_common_parse_file() ../../gcc/c-family/c-opts.c:1155
    #28 0x1ffdeae in compile_file ../../gcc/toplev.c:456
    #29 0x2005afb in do_compile ../../gcc/toplev.c:2204
    #30 0x2006129 in toplev::main(int, char**) ../../gcc/toplev.c:2339
    #31 0x436822f in main ../../gcc/main.c:39
    #32 0x7ffff6e7bb7a in __libc_start_main ../csu/libc-start.c:308
    #33 0x857579 in _start
(/home/marxin/Programming/gcc2/objdir/gcc/cc1+0x857579)

../../gcc/c-family/c-format.c:1272:20: runtime error: signed integer overflow:
214748365 * 10 cannot be represented in type 'int'
    #0 0xaeca29 in maybe_read_dollar_number ../../gcc/c-family/c-format.c:1272
    #1 0xaf28a1 in argument_parser::read_any_dollar()
../../gcc/c-family/c-format.c:2082
    #2 0xafd7c6 in check_format_info_main ../../gcc/c-family/c-format.c:2855
    #3 0xaf0b77 in check_format_arg ../../gcc/c-family/c-format.c:1748
    #4 0xab18f6 in check_function_arguments_recurse(void (*)(void*, tree_node*,
unsigned long), void*, tree_node*, unsigned long)
../../gcc/c-family/c-common.c:5895
    #5 0xab1380 in check_function_arguments_recurse(void (*)(void*, tree_node*,
unsigned long), void*, tree_node*, unsigned long)
../../gcc/c-family/c-common.c:5827
    #6 0xaedc92 in check_format_info ../../gcc/c-family/c-format.c:1471
    #7 0xaebc46 in check_function_format(tree_node const*, tree_node*, int,
tree_node**, vec<unsigned int, va_heap, vl_ptr>*)
../../gcc/c-family/c-format.c:1128
    #8 0xab1020 in check_function_arguments(unsigned int, tree_node const*,
tree_node const*, int, tree_node**, vec<unsigned int, va_heap, vl_ptr>*)
../../gcc/c-family/c-common.c:5802
    #9 0x92d079 in build_function_call_vec(unsigned int, vec<unsigned int,
va_heap, vl_ptr>, tree_node*, vec<tree_node*, va_gc, vl_embed>*,
vec<tree_node*, va_gc, vl_embed>*) ../../gcc/c/c-typeck.c:3118
    #10 0x92dfdc in c_build_function_call_vec(unsigned int, vec<unsigned int,
va_heap, vl_ptr>, tree_node*, vec<tree_node*, va_gc, vl_embed>*,
vec<tree_node*, va_gc, vl_embed>*) ../../gcc/c/c-typeck.c:3184
    #11 0x9db6b7 in c_parser_postfix_expression_after_primary
../../gcc/c/c-parser.c:9595
    #12 0x9d9511 in c_parser_postfix_expression ../../gcc/c/c-parser.c:9270
    #13 0x9cc738 in c_parser_unary_expression ../../gcc/c/c-parser.c:7383
    #14 0x9cb0b0 in c_parser_cast_expression ../../gcc/c/c-parser.c:7222
    #15 0x9c58c7 in c_parser_binary_expression ../../gcc/c/c-parser.c:7025
    #16 0x9c4a15 in c_parser_conditional_expression ../../gcc/c/c-parser.c:6759
    #17 0x9c4518 in c_parser_expr_no_commas ../../gcc/c/c-parser.c:6676
    #18 0x9dc1c6 in c_parser_expression ../../gcc/c/c-parser.c:9731
    #19 0x9dc6db in c_parser_expression_conv ../../gcc/c/c-parser.c:9764
    #20 0x9c0147 in c_parser_statement_after_labels ../../gcc/c/c-parser.c:5610
    #21 0x9be83e in c_parser_compound_statement_nostart
../../gcc/c/c-parser.c:5148
    #22 0x9bdf55 in c_parser_compound_statement ../../gcc/c/c-parser.c:4982
    #23 0x9b437c in c_parser_declaration_or_fndef ../../gcc/c/c-parser.c:2354
    #24 0x9b12a7 in c_parser_external_declaration ../../gcc/c/c-parser.c:1653
    #25 0x9b0aa4 in c_parser_translation_unit ../../gcc/c/c-parser.c:1534
    #26 0xa16edb in c_parse_file() ../../gcc/c/c-parser.c:19854
    #27 0xb39675 in c_common_parse_file() ../../gcc/c-family/c-opts.c:1155
    #28 0x1ffdeae in compile_file ../../gcc/toplev.c:456
    #29 0x2005afb in do_compile ../../gcc/toplev.c:2204
    #30 0x2006129 in toplev::main(int, char**) ../../gcc/toplev.c:2339
    #31 0x436822f in main ../../gcc/main.c:39
    #32 0x7ffff6e7bb7a in __libc_start_main ../csu/libc-start.c:308
    #33 0x857579 in _start
(/home/marxin/Programming/gcc2/objdir/gcc/cc1+0x857579)
>From gcc-bugs-return-635168-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 14:25:09 2019
Return-Path: <gcc-bugs-return-635168-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17231 invoked by alias); 25 Feb 2019 14:25: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 16085 invoked by uid 48); 25 Feb 2019 14:24:52 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89495] gcc/c-family/c-format.c:1272:20: runtime error: signed integer overflow: 214748365 * 10 cannot be represented in type 'int'
Date: Mon, 25 Feb 2019 14: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: 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: cc cf_known_to_work version target_milestone cf_known_to_fail
Message-ID: <bug-89495-4-JupcFj1DTc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89495-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89495-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: 2019-02/txt/msg03470.txt.bz2
Content-length: 531

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89495

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |msebor at gcc dot gnu.org
      Known to work|                            |8.2.0
            Version|unknown                     |9.0
   Target Milestone|---                         |9.0
      Known to fail|                            |9.0
>From gcc-bugs-return-635169-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 14:27:12 2019
Return-Path: <gcc-bugs-return-635169-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23941 invoked by alias); 25 Feb 2019 14:27: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 23758 invoked by uid 48); 25 Feb 2019 14:27:08 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89496] New: [9 Regression] gcc/fortran/trans-types.c:3015:9: runtime error: member access within null pointer of type 'struct gfc_formal_arglist'
Date: Mon, 25 Feb 2019 14:27: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: 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 target_milestone
Message-ID: <bug-89496-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: 2019-02/txt/msg03471.txt.bz2
Content-length: 2379

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89496

            Bug ID: 89496
           Summary: [9 Regression] gcc/fortran/trans-types.c:3015:9:
                    runtime error: member access within null pointer of
                    type 'struct gfc_formal_arglist'
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---

A recent regression:

$ ./xgcc -B.
/home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/altreturn_1.f90
../../gcc/fortran/trans-types.c:3015:9: runtime error: member access within
null pointer of type 'struct gfc_formal_arglist'
    #0 0xeb78e3 in get_formal_from_actual_arglist
../../gcc/fortran/trans-types.c:3015
    #1 0xeb82d5 in gfc_get_function_type(gfc_symbol*, gfc_actual_arglist*)
../../gcc/fortran/trans-types.c:3081
    #2 0xd0d1de in gfc_get_extern_function_decl(gfc_symbol*,
gfc_actual_arglist*) ../../gcc/fortran/trans-decl.c:2152
    #3 0xd6e804 in conv_function_val ../../gcc/fortran/trans-expr.c:3920
    #4 0xd8fa14 in gfc_conv_procedure_call(gfc_se*, gfc_symbol*,
gfc_actual_arglist*, gfc_expr*, vec<tree_node*, va_gc, vl_embed>*)
../../gcc/fortran/trans-expr.c:6626
    #5 0xe65236 in gfc_trans_call(gfc_code*, bool, tree_node*, tree_node*,
bool) ../../gcc/fortran/trans-stmt.c:406
    #6 0xc7680b in trans_code ../../gcc/fortran/trans.c:1890
    #7 0xc76efa in gfc_trans_code(gfc_code*) ../../gcc/fortran/trans.c:2149
    #8 0xd3dfce in gfc_generate_function_code(gfc_namespace*)
../../gcc/fortran/trans-decl.c:6568
    #9 0xc76f85 in gfc_generate_code(gfc_namespace*)
../../gcc/fortran/trans.c:2166
    #10 0xad0181 in translate_all_program_units ../../gcc/fortran/parse.c:6134
    #11 0xad0d8e in gfc_parse_file() ../../gcc/fortran/parse.c:6337
    #12 0xc379c6 in gfc_be_parse_file ../../gcc/fortran/f95-lang.c:204
    #13 0x2307a40 in compile_file ../../gcc/toplev.c:456
    #14 0x230f68d in do_compile ../../gcc/toplev.c:2204
    #15 0x230fcbb in toplev::main(int, char**) ../../gcc/toplev.c:2339
    #16 0x469a7c8 in main ../../gcc/main.c:39
    #17 0x7ffff6e7bb7a in __libc_start_main ../csu/libc-start.c:308
    #18 0x86dbe9 in _start
(/home/marxin/Programming/gcc2/objdir/gcc/f951+0x86dbe9)
>From gcc-bugs-return-635171-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 14:27:50 2019
Return-Path: <gcc-bugs-return-635171-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26798 invoked by alias); 25 Feb 2019 14:27: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 26638 invoked by uid 48); 25 Feb 2019 14:27:46 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71446] Incorrect overload resolution when using designated initializers
Date: Mon, 25 Feb 2019 14: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: 5.3.0
X-Bugzilla-Keywords: accepts-invalid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-71446-4-eBdT7wU2s6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71446-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71446-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: 2019-02/txt/msg03473.txt.bz2
Content-length: 784

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71446

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |jason at gcc dot gnu.org,
                   |                            |redi at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Well, before C++2a it is an extension, so outside of the C++ standard, and GCC
has been implementing it as not allowing to skip any fields.
In C++2a it is actually a standard language feature, so I guess it needs to
participate in the overload resolution.
>From gcc-bugs-return-635170-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 14:27:27 2019
Return-Path: <gcc-bugs-return-635170-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25296 invoked by alias); 25 Feb 2019 14:27: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 25048 invoked by uid 48); 25 Feb 2019 14:27:23 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89496] [9 Regression] gcc/fortran/trans-types.c:3015:9: runtime error: member access within null pointer of type 'struct gfc_formal_arglist'
Date: Mon, 25 Feb 2019 14:27: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:
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 cf_known_to_work blocked target_milestone everconfirmed cf_known_to_fail
Message-ID: <bug-89496-4-CzPCzAGTwR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89496-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89496-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: 2019-02/txt/msg03472.txt.bz2
Content-length: 759

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89496

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-25
      Known to work|                            |8.2.0
             Blocks|                            |63426
   Target Milestone|---                         |9.0
     Ever confirmed|0                           |1
      Known to fail|                            |9.0


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426
[Bug 63426] [meta-bug] Issues found with -fsanitize=undefined
>From gcc-bugs-return-635172-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 14:38:58 2019
Return-Path: <gcc-bugs-return-635172-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44533 invoked by alias); 25 Feb 2019 14:38:57 -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 44347 invoked by uid 48); 25 Feb 2019 14:38:54 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89496] [9 Regression] gcc/fortran/trans-types.c:3015:9: runtime error: member access within null pointer of type 'struct gfc_formal_arglist'
Date: Mon, 25 Feb 2019 14:38: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: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords priority cc
Message-ID: <bug-89496-4-rkjWiDo36K@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89496-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89496-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: 2019-02/txt/msg03474.txt.bz2
Content-length: 616

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89496

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
           Priority|P3                          |P4
                 CC|                            |tkoenig at gcc dot gnu.org

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Likely due to r268992 (the ICE occurs in the added block).

The PR requires an instrumented compiler.
>From gcc-bugs-return-635173-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 15:01:56 2019
Return-Path: <gcc-bugs-return-635173-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78711 invoked by alias); 25 Feb 2019 15:01:55 -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 77848 invoked by uid 55); 25 Feb 2019 15:01:35 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89285] [8/9 Regression] ICE after casting the this pointer in the constructor in C++17 mode
Date: Mon, 25 Feb 2019 15:01: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: accepts-invalid, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89285-4-NHEY4eEOWM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89285-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89285-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: 2019-02/txt/msg03475.txt.bz2
Content-length: 444

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89285

--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Feb 25 15:01:01 2019
New Revision: 269188

URL: https://gcc.gnu.org/viewcvs?rev=269188&root=gcc&view=rev
Log:
        PR c++/89285
        * g++.dg/cpp1y/constexpr-89285-2.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/constexpr-89285-2.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635174-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 15:06:48 2019
Return-Path: <gcc-bugs-return-635174-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92712 invoked by alias); 25 Feb 2019 15:06: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 92589 invoked by uid 48); 25 Feb 2019 15:06:44 -0000
From: "roman.perepelitsa at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71446] Incorrect overload resolution when using designated initializers
Date: Mon, 25 Feb 2019 15:06: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: 5.3.0
X-Bugzilla-Keywords: accepts-invalid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: roman.perepelitsa 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:
Message-ID: <bug-71446-4-uM5gsoXCMX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71446-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71446-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: 2019-02/txt/msg03476.txt.bz2
Content-length: 643

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71446

--- Comment #4 from Roman Perepelitsa <roman.perepelitsa at gmail dot com> ---
Please take a look at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71446#c1.
This code compiles. Given that it contains `{.value = 0}`, one would reasonably
expect that it creates an instance of a struct with the data member `value` set
to zero. However, it doesn't. The literal `{.value = 0}` creates an instance of
type `std::initialize_list<int>`. This is very misleading. The code should
either not compile or do what was intended (which is also what C++20 requires
and what clang does).
>From gcc-bugs-return-635175-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 15:07:02 2019
Return-Path: <gcc-bugs-return-635175-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93791 invoked by alias); 25 Feb 2019 15:07: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 93546 invoked by uid 48); 25 Feb 2019 15:06:57 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89285] [8 Regression] ICE after casting the this pointer in the constructor in C++17 mode
Date: Mon, 25 Feb 2019 15:07: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: accepts-invalid, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_known_to_work short_desc cf_known_to_fail
Message-ID: <bug-89285-4-MwDDcznucI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89285-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89285-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: 2019-02/txt/msg03477.txt.bz2
Content-length: 899

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89285

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |9.0
            Summary|[8/9 Regression] ICE after  |[8 Regression] ICE after
                   |casting the this pointer in |casting the this pointer in
                   |the constructor in C++17    |the constructor in C++17
                   |mode                        |mode
      Known to fail|                            |8.3.0

--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Actually, #c16 comment is incorrect, that was the case of the earlier approach
(#c4) but not of what has been actually committed.
Keeping this open for 8.x, though the patch is unlikely to be backportable.
>From gcc-bugs-return-635176-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 15:13:10 2019
Return-Path: <gcc-bugs-return-635176-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115988 invoked by alias); 25 Feb 2019 15:13: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 115824 invoked by uid 48); 25 Feb 2019 15:13:06 -0000
From: "mickey.veksler at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89481] constexpr function allows writing one active union member and reading another
Date: Mon, 25 Feb 2019 15:13: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.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mickey.veksler at gmail dot com
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-89481-4-vuBLGGLJBh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89481-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89481-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: 2019-02/txt/msg03478.txt.bz2
Content-length: 462

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89481

--- Comment #3 from Michael Veksler <mickey.veksler at gmail dot com> ---
Thanks for looking into it.

With the fix, does it behave the same way for:
 - runtime evaluation of all_zeros()
 - compile time evaluation such as std::integral_constant<bool,
all_zeros()>::value;

Currently (trunk 20190223 (experimental) with -std=c++2a), it returns different
results for both cases, which does not feel right.
>From gcc-bugs-return-635178-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 15:16:01 2019
Return-Path: <gcc-bugs-return-635178-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125675 invoked by alias); 25 Feb 2019 15:15: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 124909 invoked by uid 48); 25 Feb 2019 15:15:39 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89487] [8/9 Regression] ICE in expand_expr_addr_expr_1, at expr.c:7993
Date: Mon, 25 Feb 2019 15:15: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: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89487-4-BsAion2g3H@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89487-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89487-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: 2019-02/txt/msg03480.txt.bz2
Content-length: 399

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89487

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amker at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r249994.
>From gcc-bugs-return-635177-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 15:16:00 2019
Return-Path: <gcc-bugs-return-635177-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125352 invoked by alias); 25 Feb 2019 15:15:46 -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 124585 invoked by uid 55); 25 Feb 2019 15:15:32 -0000
From: "amonakov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/86096] [8/9 Regression] ICE: qsort checking failed (error: qsort comparator non-negative on sorted output: 0)
Date: Mon, 25 Feb 2019 15:15: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: ice-checking, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amonakov 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86096-4-2DEnEOqrvM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86096-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86096-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: 2019-02/txt/msg03479.txt.bz2
Content-length: 525

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86096

--- Comment #5 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Author: amonakov
Date: Mon Feb 25 15:14:39 2019
New Revision: 269189

URL: https://gcc.gnu.org/viewcvs?rev=269189&root=gcc&view=rev
Log:
df-scan: fix use of mw_order in df_mw_compare (PR 86096)

        PR rtl-optimization/86096
        * df-scan.c (df_mw_compare): Do not check mw_reg fields when
        comparing mw_order values.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/df-scan.c
>From gcc-bugs-return-635179-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 15:20:28 2019
Return-Path: <gcc-bugs-return-635179-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7019 invoked by alias); 25 Feb 2019 15:20: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 6779 invoked by uid 55); 25 Feb 2019 15:20:17 -0000
From: "dominiq at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89282] Garbage arithmetics results in fortran with -O3 and overloaded operators
Date: Mon, 25 Feb 2019 15:20: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: 6.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-89282-4-PskqzNVmiq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89282-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89282-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: 2019-02/txt/msg03481.txt.bz2
Content-length: 484

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89282

--- Comment #6 from dominiq at gcc dot gnu.org ---
Author: dominiq
Date: Mon Feb 25 15:19:45 2019
New Revision: 269190

URL: https://gcc.gnu.org/viewcvs?rev=269190&root=gcc&view=rev
Log:
2019-02-25  Dominique d'Humieres  <dominiq@gcc.gnu.org>

        PR fortran/89282
        * gfortran.dg/overload_3.f90: New test. 


Added:
    trunk/gcc/testsuite/gfortran.dg/overload_3.f90
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635180-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 15:22:25 2019
Return-Path: <gcc-bugs-return-635180-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15848 invoked by alias); 25 Feb 2019 15:22: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 15572 invoked by uid 48); 25 Feb 2019 15:22:21 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89282] Garbage arithmetics results in fortran with -O3 and overloaded operators
Date: Mon, 25 Feb 2019 15:22: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: 6.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-89282-4-GZN13M54pu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89282-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89282-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: 2019-02/txt/msg03482.txt.bz2
Content-length: 659

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89282

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> It stopped failing with r240291, but because it just added early VRP,
> it just went latent.  With -O3 -fno-tree-vrp it was miscompiled until
> r240303 aka PR77648 fix.  That fix has been backported to 6.3 and 5.5.

Closing.
>From gcc-bugs-return-635181-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 15:30:55 2019
Return-Path: <gcc-bugs-return-635181-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67855 invoked by alias); 25 Feb 2019 15:30: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 67142 invoked by uid 48); 25 Feb 2019 15:30:48 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89495] [9 Regression] gcc/c-family/c-format.c:1272:20: runtime error: signed integer overflow: 214748365 * 10 cannot be represented in type 'int'
Date: Mon, 25 Feb 2019 15:30: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: jakub 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
Message-ID: <bug-89495-4-3hdJkIFDTw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89495-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89495-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: 2019-02/txt/msg03483.txt.bz2
Content-length: 1321

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89495

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Looks like a regression only because the test is new.
I see the same code in there e.g. in GCC 3.2.

That said, I think we can do something like:
2019-02-25  Jakub Jelinek  <jakub@redhat.com>

        PR c++/89495
        * c-format.c (maybe_read_dollar_number): Compute nargnum in
        HOST_WIDE_INT type to avoid overflows and change overflow_flag
        checking.

--- gcc/c-family/c-format.c.jj  2019-01-16 09:35:04.565323073 +0100
+++ gcc/c-family/c-format.c     2019-02-25 16:26:07.872810237 +0100
@@ -1268,9 +1268,9 @@ maybe_read_dollar_number (const char **f
   overflow_flag = 0;
   while (ISDIGIT (*fcp))
     {
-      int nargnum;
-      nargnum = 10 * argnum + (*fcp - '0');
-      if (nargnum < 0 || nargnum / 10 != argnum)
+      HOST_WIDE_INT nargnum
+       = HOST_WIDE_INT_UC (10) * argnum + (*fcp - '0');
+      if ((int) nargnum != nargnum)
        overflow_flag = 1;
       argnum = nargnum;
       fcp++;
>From gcc-bugs-return-635182-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 15:33:00 2019
Return-Path: <gcc-bugs-return-635182-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73282 invoked by alias); 25 Feb 2019 15:33: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 73073 invoked by uid 48); 25 Feb 2019 15:32:56 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89466] [7/8/9 Regression] Accessing the Internet while boostrapping
Date: Mon, 25 Feb 2019 15:33:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc bug_severity
Message-ID: <bug-89466-4-hTq7CpvoBa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89466-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89466-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: 2019-02/txt/msg03484.txt.bz2
Content-length: 367

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89466

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org
           Severity|blocker                     |normal
>From gcc-bugs-return-635183-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 15:34:56 2019
Return-Path: <gcc-bugs-return-635183-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78730 invoked by alias); 25 Feb 2019 15:34:56 -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 78527 invoked by uid 48); 25 Feb 2019 15:34:51 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/71935] [7/8/9 Regression] ICE is_c_interoperable(): gfc_simplify_expr failed
Date: Mon, 25 Feb 2019 15:34: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.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-71935-4-DrEk3U1fnQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71935-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71935-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: 2019-02/txt/msg03485.txt.bz2
Content-length: 667

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71935

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED

--- Comment #10 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> I've read the discussion, but I am not clear about
> what the problem actually is.
>
> Is this something that we can close now?

The same for me. Let close this PR. If a related problem appears in a real
code, please file a new PR.
>From gcc-bugs-return-635185-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 15:40:53 2019
Return-Path: <gcc-bugs-return-635185-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124800 invoked by alias); 25 Feb 2019 15:40: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 124600 invoked by uid 48); 25 Feb 2019 15:40:48 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88256] [7/8/9 Regression] ICE: Segmentation fault (in make_ssa_name_fn), C++ FE missing DECL_EXPRs
Date: Mon, 25 Feb 2019 15:40: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.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-88256-4-ctYSo8LqgZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88256-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88256-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: 2019-02/txt/msg03487.txt.bz2
Content-length: 432

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88256

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gscfq@t-online.de

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
*** Bug 89439 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-635184-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 15:40:53 2019
Return-Path: <gcc-bugs-return-635184-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124780 invoked by alias); 25 Feb 2019 15:40:52 -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 124542 invoked by uid 48); 25 Feb 2019 15:40:48 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89439] [7/8/9 Regression] ICE in make_ssa_name_fn, at tree-ssanames.c:268
Date: Mon, 25 Feb 2019 15:40: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: DUPLICATE
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-89439-4-Y0YijV11Wv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89439-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89439-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: 2019-02/txt/msg03486.txt.bz2
Content-length: 575

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89439

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |DUPLICATE

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
So dup of PR88256.

*** This bug has been marked as a duplicate of bug 88256 ***
>From gcc-bugs-return-635186-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 15:50:49 2019
Return-Path: <gcc-bugs-return-635186-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49863 invoked by alias); 25 Feb 2019 15:50: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 48173 invoked by uid 48); 25 Feb 2019 15:50:41 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/71412] [F03] iso_c_bindings and optimization interaction bug
Date: Mon, 25 Feb 2019 15:50: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: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-71412-4-8Fl5tPs5Ib@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71412-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71412-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: 2019-02/txt/msg03488.txt.bz2
Content-length: 585

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71412

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #15 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Indeed I think that is a duplicate of pr71544.

So let mark this PR as a duplicate.

*** This bug has been marked as a duplicate of bug 71544 ***
>From gcc-bugs-return-635187-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 15:50:50 2019
Return-Path: <gcc-bugs-return-635187-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50029 invoked by alias); 25 Feb 2019 15:50: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 49350 invoked by uid 48); 25 Feb 2019 15:50:44 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/71544] gfortran compiler optimization bug when dealing with c-style pointers
Date: Mon, 25 Feb 2019 15:50: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
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-71544-4-8vaYgEynns@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71544-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71544-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: 2019-02/txt/msg03489.txt.bz2
Content-length: 455

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71544

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |relliott at umn dot edu

--- Comment #12 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
*** Bug 71412 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-635188-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 15:51:12 2019
Return-Path: <gcc-bugs-return-635188-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57727 invoked by alias); 25 Feb 2019 15:51: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 54955 invoked by uid 48); 25 Feb 2019 15:51:06 -0000
From: "rearnsha at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89101] [Aarch64] vfmaq_laneq_f32 generates unnecessary dup instrcutions
Date: Mon, 25 Feb 2019 15:51: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: rearnsha at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-89101-4-hqHgxafPmJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89101-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89101-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: 2019-02/txt/msg03490.txt.bz2
Content-length: 491

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89101

Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
Fixed on trunk (aka gcc-9).  Not a regression, so no backport.
>From gcc-bugs-return-635189-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 15:53:00 2019
Return-Path: <gcc-bugs-return-635189-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118815 invoked by alias); 25 Feb 2019 15:52: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 116065 invoked by uid 48); 25 Feb 2019 15:52:55 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89480] internal compiler error: in unify, at cp/pt.c:22160 with the template argument force conversio
Date: Mon, 25 Feb 2019 15: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: 8.3.1
X-Bugzilla-Keywords:
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-89480-4-fBY08037h2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89480-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89480-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: 2019-02/txt/msg03491.txt.bz2
Content-length: 481

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89480

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-25
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1
>From gcc-bugs-return-635192-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 16:02:31 2019
Return-Path: <gcc-bugs-return-635192-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118682 invoked by alias); 25 Feb 2019 16:02: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 116389 invoked by uid 48); 25 Feb 2019 16:02:25 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/68241] [meta-bug] [F03] Deferred-length character
Date: Mon, 25 Feb 2019 16:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
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 resolution
Message-ID: <bug-68241-4-2Aa2KlQhtL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68241-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68241-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: 2019-02/txt/msg03494.txt.bz2
Content-length: 475

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68241
Bug 68241 depends on bug 70149, which changed state.

Bug 70149 Summary: [F08] Character pointer initialization causes ICE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70149

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-635191-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 16:02:29 2019
Return-Path: <gcc-bugs-return-635191-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118395 invoked by alias); 25 Feb 2019 16:02: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 114693 invoked by uid 48); 25 Feb 2019 16:02:24 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/31392] [meta-bug] gfortran problems with initialization
Date: Mon, 25 Feb 2019 16:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.3.0
X-Bugzilla-Keywords: meta-bug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
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 resolution
Message-ID: <bug-31392-4-LvqKwmy4Be@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-31392-4@http.gcc.gnu.org/bugzilla/>
References: <bug-31392-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: 2019-02/txt/msg03493.txt.bz2
Content-length: 475

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31392
Bug 31392 depends on bug 70149, which changed state.

Bug 70149 Summary: [F08] Character pointer initialization causes ICE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70149

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-635190-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 16:02:27 2019
Return-Path: <gcc-bugs-return-635190-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117512 invoked by alias); 25 Feb 2019 16:02:26 -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 113067 invoked by uid 48); 25 Feb 2019 16:02:23 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/70149] [F08] Character pointer initialization causes ICE
Date: Mon, 25 Feb 2019 16: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: 6.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: pault at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-70149-4-zhpdEd3U90@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70149-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70149-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: 2019-02/txt/msg03492.txt.bz2
Content-length: 531

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70149

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED

--- Comment #14 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Any answer to this question?

No feedback, closing. Please open a new PR for any related issue.
>From gcc-bugs-return-635193-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 16:09:50 2019
Return-Path: <gcc-bugs-return-635193-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39642 invoked by alias); 25 Feb 2019 16: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 39483 invoked by uid 48); 25 Feb 2019 16:09:46 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/43210] Initializer of huge static arrays should be improved
Date: Mon, 25 Feb 2019 16:09:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.5.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WONTFIX
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-43210-4-P32pIQ9zV2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-43210-4@http.gcc.gnu.org/bugzilla/>
References: <bug-43210-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: 2019-02/txt/msg03495.txt.bz2
Content-length: 522

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43210

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> This PR is almost ten year old. Any point to let it rot anymore?

No answer: WONTFIX.
>From gcc-bugs-return-635194-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 16:20:11 2019
Return-Path: <gcc-bugs-return-635194-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4759 invoked by alias); 25 Feb 2019 16:20: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 4503 invoked by uid 48); 25 Feb 2019 16:20:06 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86019] [8/9 Regression] Unref implementation using atomic_thread_fence generates worse code on x86-64 in gcc 8.1 than 7.3
Date: Mon, 25 Feb 2019 16:20: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86019-4-8866MSxcrZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86019-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86019-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: 2019-02/txt/msg03496.txt.bz2
Content-length: 736

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86019

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
This used to be handled by peephole2, but that can't do anything with multiple
basic blocks and
(insn 12 11 13 3 (set (mem/v:BLK (scratch:DI) [0  A8])
        (unspec:BLK [
                (mem/v:BLK (scratch:DI) [0  A8])
            ] UNSPEC_MEMORY_BLOCKAGE))
"/usr/src/gcc-7/obj/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/atomic_base.h":102:26
688 {*memory_blockag
e}
     (nil))
emitted in there.  And generic code doesn't know anything about the memory
blockage instruction that it would e.g. be able to move it from the conditional
to unconditional if it was the only thing (say let ifcvt pass do it?).
>From gcc-bugs-return-635195-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 16:26:33 2019
Return-Path: <gcc-bugs-return-635195-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21282 invoked by alias); 25 Feb 2019 16:26: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 21125 invoked by uid 48); 25 Feb 2019 16:26:28 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/43210] Initializer of huge static arrays should be improved
Date: Mon, 25 Feb 2019 16:26:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.5.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
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 cc resolution bug_severity
Message-ID: <bug-43210-4-aiiuAGeIu8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-43210-4@http.gcc.gnu.org/bugzilla/>
References: <bug-43210-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: 2019-02/txt/msg03497.txt.bz2
Content-length: 872

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43210

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |NEW
                 CC|                            |tkoenig at gcc dot gnu.org
         Resolution|WONTFIX                     |---
           Severity|normal                      |enhancement

--- Comment #6 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Sorry, I missed that one.

This is definitely an area where improvement would be quite helpful -
our performance there is abysmal.

Dominique, I'm all for closing bugs :-) but I think one or two
of them should stay. Just because nobody has found time, inclination
or knowledge to work on them does not mean nobody should.
>From gcc-bugs-return-635196-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 16:43:44 2019
Return-Path: <gcc-bugs-return-635196-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7870 invoked by alias); 25 Feb 2019 16:43:43 -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 7711 invoked by uid 48); 25 Feb 2019 16:43:39 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/77754] [7/8/9 Regression] internal compiler error : tree code 'call_expr' is not supported in LTO streams
Date: Mon, 25 Feb 2019 16:43: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: 5.3.0
X-Bugzilla-Keywords: ice-on-valid-code, lto
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-77754-4-gRTQbxH8bb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77754-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77754-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: 2019-02/txt/msg03498.txt.bz2
Content-length: 341

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77754

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45817
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45817&action=edit
gcc9-pr77754.patch

Seems all the ICEs went away with r266271 aka PR87229 fix.  I'll test these
tests for the testsuite.
>From gcc-bugs-return-635197-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 16:49:09 2019
Return-Path: <gcc-bugs-return-635197-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26791 invoked by alias); 25 Feb 2019 16:49: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 26548 invoked by uid 48); 25 Feb 2019 16:49:03 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/43210] Initializer of huge static arrays should be improved
Date: Mon, 25 Feb 2019 16:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.5.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: dominiq at lps dot ens.fr
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-43210-4-5bV5xxUIQM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-43210-4@http.gcc.gnu.org/bugzilla/>
References: <bug-43210-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: 2019-02/txt/msg03499.txt.bz2
Content-length: 288

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43210

--- Comment #7 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> This is definitely an area where improvement would be quite helpful -
> our performance there is abysmal.

Compiling the test on my laptop takes less than 3s!
>From gcc-bugs-return-635198-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 16:55:09 2019
Return-Path: <gcc-bugs-return-635198-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16322 invoked by alias); 25 Feb 2019 16:55: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 14132 invoked by uid 48); 25 Feb 2019 16:55:04 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/43210] Initializer of huge static arrays should be improved
Date: Mon, 25 Feb 2019 16:55:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.5.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: jakub 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-43210-4-2qlkM4XfsW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-43210-4@http.gcc.gnu.org/bugzilla/>
References: <bug-43210-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: 2019-02/txt/msg03500.txt.bz2
Content-length: 687

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43210

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Well, I'm not convinced the #c0 transformation should be done by default, but
what should and can be done is instead of emitting {42, 42, 42, ...., 42}; emit
like the C or C++ FEs emit {[1..1000000] = 42} which is much more compile time
memory friendly, and if the user doesn't require that it is SAVEd, e.g. the
gimplifier has code to decide if having a .rodata initializer vs. initializing
by a loop is beneficial.  See PR82294 or PR87436 for the C++ counterparts.
I see a single spot with RANGE_EXPR even in the Fortran FE, so maybe it does it
already.
>From gcc-bugs-return-635199-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 17:16:15 2019
Return-Path: <gcc-bugs-return-635199-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40622 invoked by alias); 25 Feb 2019 17:15: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 40404 invoked by uid 48); 25 Feb 2019 17:15:40 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/43210] Initializer of huge static arrays should be improved
Date: Mon, 25 Feb 2019 17:15:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.5.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: jakub 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: attachments.created
Message-ID: <bug-43210-4-Bd6wZWl3yS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-43210-4@http.gcc.gnu.org/bugzilla/>
References: <bug-43210-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: 2019-02/txt/msg03501.txt.bz2
Content-length: 268

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43210

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45818
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45818&action=edit
gcc9-pr43210.patch

Like this (untested so far).
>From gcc-bugs-return-635200-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 17:57:40 2019
Return-Path: <gcc-bugs-return-635200-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3796 invoked by alias); 25 Feb 2019 17:57: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 3513 invoked by uid 55); 25 Feb 2019 17:57:33 -0000
From: "tnfchris at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88530] [8/9 Regression] AArch64 Unsupported options passed to assemblers when it doesn't need to.
Date: Mon, 25 Feb 2019 17: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.0
X-Bugzilla-Keywords: assemble-failure
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tnfchris at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: tnfchris at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88530-4-uCnpnTk7nA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88530-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88530-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: 2019-02/txt/msg03502.txt.bz2
Content-length: 4895

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88530

--- Comment #3 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
Author: tnfchris
Date: Mon Feb 25 17:57:01 2019
New Revision: 269193

URL: https://gcc.gnu.org/viewcvs?rev=269193&root=gcc&view=rev
Log:
AArch64: Fix command line options canonicalization version #2. (PR
target/88530)

Commandline options on AArch64 don't get canonicalized into the smallest
possible set before output to the assembler. This means that overlapping
feature
sets are emitted with superfluous parts.

Normally this isn't an issue, but in the case of crypto we have retro-actively
split it into aes and sha2. We need to emit only +crypto to the assembler
so old assemblers continue to work.

Because of how -mcpu=native and -march=native work they end up enabling all
feature bits. Instead we need to get the smallest possible set, which would
also
fix the problem with older the assemblers and the retro-active split.

The function that handles this is called quite often.  It is called for any
push/pop options or attribute that changes arch, cpu etc.  In order to not make
this search for the smallest set too expensive we sort the options based on the
number of features (bits) they enable.  This allows us to process the list
linearly instead of quadratically (Once we have enabled a feature, we know that
anything else that enables it can be ignored.  By sorting we'll get the biggest
groups first and thus the smallest combination of commandline flags).

The Option handling structures have been extended to have a boolean to indicate
whether the option is synthetic, with that I mean if the option flag itself
enables a new feature.

e.g. +crypto isn't an actual feature, it just enables other features, but
others
like +rdma enable multiple dependent features but is itself also a feature.

There are two ways to solve this.

1) Either have the options that are feature bits also turn themselves on, e.g.
   change rdma to turn on FP, SIMD and RDMA as dependency bits.

2) Make a distinction between these two different type of features and have the
   framework handle it correctly.

Even though it's more code I went for the second approach, as it's the one
that'll be less fragile (people can't forget it) and gives the least surprises.

Effectively this patch changes the following:

The values before the => are the old compiler and after the => the new code.

-march=armv8.2-a+crypto+sha2 => -march=armv8.2-a+crypto
-march=armv8.2-a+sha2+aes => -march=armv8.2-a+crypto

The remaining behaviors stay the same.

gcc/ChangeLog:

        PR target/88530
        * common/config/aarch64/aarch64-common.c
        (struct aarch64_option_extension): Add is_synthetic.
        (all_extensions): Use it.
        (TARGET_OPTION_INIT_STRUCT): Define hook.
        (struct gcc_targetm_common): Moved to end.
        (all_extensions_by_on): New.
        (opt_ext_cmp, typedef opt_ext): New.
        (aarch64_option_init_struct): New.
        (aarch64_contains_opt): New.
        (aarch64_get_extension_string_for_isa_flags): Output smallest set.
        * config/aarch64/aarch64-option-extensions.def
        (AARCH64_OPT_EXTENSION): Explicitly include AES and SHA2 in crypto.
        (fp, simd, crc, lse, fp16, rcpc, rdma, dotprod, aes, sha2, sha3,
        sm4, fp16fml, sve, profile, rng, memtag, sb, ssbs, predres):
        Set is_synthetic to false.
        (crypto): Set is_synthetic to true.
        * config/aarch64/driver-aarch64.c (AARCH64_OPT_EXTENSION): Add
        SYNTHETIC.

gcc/testsuite/ChangeLog:

        PR target/88530
        * gcc.target/aarch64/options_set_1.c: New test.
        * gcc.target/aarch64/options_set_2.c: New test.
        * gcc.target/aarch64/options_set_3.c: New test.
        * gcc.target/aarch64/options_set_4.c: New test.
        * gcc.target/aarch64/options_set_5.c: New test.
        * gcc.target/aarch64/options_set_6.c: New test.
        * gcc.target/aarch64/options_set_7.c: New test.
        * gcc.target/aarch64/options_set_8.c: New test.
        * gcc.target/aarch64/options_set_9.c: New test.


Added:
    trunk/gcc/testsuite/gcc.target/aarch64/options_set_1.c
    trunk/gcc/testsuite/gcc.target/aarch64/options_set_2.c
    trunk/gcc/testsuite/gcc.target/aarch64/options_set_3.c
    trunk/gcc/testsuite/gcc.target/aarch64/options_set_4.c
    trunk/gcc/testsuite/gcc.target/aarch64/options_set_5.c
    trunk/gcc/testsuite/gcc.target/aarch64/options_set_6.c
    trunk/gcc/testsuite/gcc.target/aarch64/options_set_7.c
    trunk/gcc/testsuite/gcc.target/aarch64/options_set_8.c
    trunk/gcc/testsuite/gcc.target/aarch64/options_set_9.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/common/config/aarch64/aarch64-common.c
    trunk/gcc/config/aarch64/aarch64-option-extensions.def
    trunk/gcc/config/aarch64/driver-aarch64.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635201-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 18:20:02 2019
Return-Path: <gcc-bugs-return-635201-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14440 invoked by alias); 25 Feb 2019 18:20: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 8582 invoked by uid 48); 25 Feb 2019 18:19:56 -0000
From: "a.drobyshev at samsung dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82501] AddressSanitizer does not handle negative offset for first global variable
Date: Mon, 25 Feb 2019 18:20: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: unknown
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: a.drobyshev at samsung dot com
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: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82501-4-54VJoS9XYi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82501-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82501-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: 2019-02/txt/msg03503.txt.bz2
Content-length: 1123

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82501

--- Comment #18 from Andrey Drobyshev <a.drobyshev at samsung dot com> ---
(In reply to Martin Liška from comment #16)
> Created attachment 45797 [details]
> Patch candidate
> 
> Patch candidate where I made some refactoring and come up with tests.
> Works fine on x86_64, on ppc64le there are some issues with
> -fsection-anchors, but that would be possible to resolve.
> 
> Please let me know if you're fine with that and we can submit that to
> gcc-patches ML?

Looks good to me. By not setting TREE_PUBLIC flag we give our dummy globals
internal linkage (as if they were static), thus allowing linker to mix multiple
TUs with these dummies.

However, this way number of dummy globals in the resulting executable is
proportional to the number of TUs, and each of them occupies additional 64b for
redzone (due to alignment) + its poisoned metadata (struct __asan_global, also
64b on x86_64). I guess that's what was meant by "wasting more memory" in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82501#c1. I'm not sure, are we ok
with such a waste?
>From gcc-bugs-return-635202-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 18:21:40 2019
Return-Path: <gcc-bugs-return-635202-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69402 invoked by alias); 25 Feb 2019 18:21: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 60348 invoked by uid 48); 25 Feb 2019 18:21:35 -0000
From: "a.drobyshev at samsung dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82501] AddressSanitizer does not handle negative offset for first global variable
Date: Mon, 25 Feb 2019 18:21: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: unknown
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: a.drobyshev at samsung dot com
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: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82501-4-5YUCiuZOm9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82501-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82501-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: 2019-02/txt/msg03504.txt.bz2
Content-length: 3241

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82501

--- Comment #19 from Andrey Drobyshev <a.drobyshev at samsung dot com> ---
(In reply to Martin Liška from comment #17)
> > 2. What should we do with sections like .data.rel.ro, .data.rel.ro.local?
> > They suffer from this bug too, but it's not that easy to put globals there,
> > as you must set various attributes onto decl to ensure it will receive the
> > right reloc value.
> 
> Answer for this would be that we probably can't do that with approach #2 (as
> defined in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82501#c1). Btw. how
> can one hit an invalid memory in .data.rel.ro (or .data.rel.ro.local)?

Take a look:

$ cat data_rel_ro.c
extern int a;
int * const b = &a;

int *foo(void)
{
    int **ptr = &b;
    ptr--;
    return *ptr;
}

$ cat main.c
int a = -1;
int *c;

extern int *foo(void);

int main(int argc, char *argv[])
{
    c = foo();
    return 0;
}

Now compile this thing with -fPIE (assuming we want ASLR):
$ gcc -fsanitize=address -fPIE data_rel_ro.c main.c

...and b is put to .data.rel.ro:
$ objdump -t a.out
a.out:     file format elf64-x86-64

SYMBOL TABLE:
....
0000000000601040 g  O .data.rel.ro 0000000000000008 b
....

foo() hits invalid memory to the left of b, but our patched ASan doesn't detect
(as expected though):
$ ./a.out
$ 

However, there's still a redzone to the right, as it should be:
$ cat data_rel_ro.c
extern int a;
int * const b = &a;

int *foo(void)
{
    int **ptr = &b;
    ptr++;
    return *ptr;
}
$ ./a.out
==32200==ERROR: AddressSanitizer: global-buffer-overflow on address
0x000000601048 at pc 0x0000004007d8 bp 0x7ffee53dc6a0 sp 0x7ffee53dc680
READ of size 8 at 0x000000601048 thread T0
    #0 0x4007d7 in foo /home/src/gcc/obj/data_rel_ro.c:8
    #1 0x40082c in main /home/src/gcc/obj/main.c:8
    #2 0x7f80ea98682f in __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
    #3 0x4006b8 in _start (/home/src/gcc/obj/a.out+0x4006b8)

0x000000601048 is located 0 bytes to the right of global variable 'b' defined
in 'data_rel_ro.c:2:13' (0x601040) of size 8
SUMMARY: AddressSanitizer: global-buffer-overflow
/home/src/gcc/obj/data_rel_ro.c:8 in foo
Shadow bytes around the buggy address:
  0x0000800b81b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0000800b81c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0000800b81d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0000800b81e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0000800b81f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x0000800b8200: 00 00 00 00 00 00 00 00 00[f9]f9 f9 f9 f9 f9 f9
  0x0000800b8210: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0000800b8220: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0000800b8230: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0000800b8240: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0000800b8250: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

So I guess we still have to detect relocations. I cannot see limitations coming
particularly from approach #2 from
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82501#c1. We just need to pass the
right reloc value to categorize_decl_for_section().
>From gcc-bugs-return-635203-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 18:39:58 2019
Return-Path: <gcc-bugs-return-635203-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61139 invoked by alias); 25 Feb 2019 18:39: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 60959 invoked by uid 48); 25 Feb 2019 18:39:54 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/70644] Warn about implicit conversion of 'this' to pointer to virtual base class during construction
Date: Mon, 25 Feb 2019 18:39: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: 6.0
X-Bugzilla-Keywords: diagnostic
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-70644-4-7h1tNEC9Qb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70644-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70644-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: 2019-02/txt/msg03505.txt.bz2
Content-length: 1611

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70644

--- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #0)
> (Reduced from PR 58822)
> 
> struct Base { Base(int) { } };
> 
> int foo(Base*) { return 0; }
> 
> struct X : virtual Base {
>   X() : Base(foo(this)) { }
> };
> 
> int main() {
>   X x;
> }
> 
> The implicit conversion in the call foo(this) is undefined behaviour. It
> violates [basic.life] 3.8p6 (6.3) by converting the object's address to a
> pointer to virtual base before it is constructed.
> 
> There is no warning, and no ubsan error.
> 
> If the implicit conversion happens in a different scope, not inside the
> constructor, then we get a ubsan error (and segfault):
> 
> struct Base { Base(int) { } };
> 
> struct X;
> int foo(X*);
> 
> struct X : virtual Base {
>   X() : Base(foo(this)) { }
> };
> 
> int foo(X* x) { Base* b = x; return 0; }
> 
> int main() {
>   X x;
> }
> 
> vb.cc:10:27: runtime error: cast to virtual base of address 0x7ffd25ef32f0
> which does not point to an object of type 'X'
> 0x7ffd25ef32f0: note: object has invalid vptr
>  00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  90 0a 40 00
> 00 00 00 00  80 65 20 63
>               ^~~~~~~~~~~~~~~~~~~~~~~
>               invalid vptr
> Segmentation fault (core dumped)
> 
> 
> Since the original example is also UB it would be good to either get a
> diagnostic from the front end at the point of the implicit conversion, or at
> least get a ubsan error..

idea for a name for the proposed new warning?
>From gcc-bugs-return-635204-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 18:42:06 2019
Return-Path: <gcc-bugs-return-635204-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77552 invoked by alias); 25 Feb 2019 18:42:06 -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 76886 invoked by uid 48); 25 Feb 2019 18:42:02 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89496] [9 Regression] gcc/fortran/trans-types.c:3015:9: runtime error: member access within null pointer of type 'struct gfc_formal_arglist'
Date: Mon, 25 Feb 2019 18:42: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: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-89496-4-vl43BK23zu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89496-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89496-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: 2019-02/txt/msg03506.txt.bz2
Content-length: 382

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89496

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |tkoenig at gcc dot gnu.org
>From gcc-bugs-return-635205-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 19:29:02 2019
Return-Path: <gcc-bugs-return-635205-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116879 invoked by alias); 25 Feb 2019 19:29: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 116617 invoked by uid 48); 25 Feb 2019 19:28:56 -0000
From: "darkkirb at darkkirb dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89497] New: [8.2 regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled
Date: Mon, 25 Feb 2019 19:29:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: lto
X-Bugzilla-Version: 8.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: darkkirb at darkkirb dot de
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-89497-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: 2019-02/txt/msg03507.txt.bz2
Content-length: 5241

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497

            Bug ID: 89497
           Summary: [8.2 regression] ICE caused by Segmentation Fault when
                    compiling cups 2.2.10 with LTO flags enabled
           Product: gcc
           Version: 8.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: darkkirb at darkkirb dot de
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

I have found a Regression in 8.3 involving cups 2.2.10 and LTO on Gentoo Linux
(x86_64). The package built fine with the C/LDFLAGS found below on 8.2, making
me believe it was recently introduced. 
I have not yet tested this out on any recent development version.

Steps to reproduce:

1. Have the following variables set and exported:
  a) CFLAGS="-march=native -O3 -fgraphite-identity -floop-nest-optimize
-fipa-pta -fno-semantic-interposition -flto=8 -fuse-linker-plugin -pipe
-falign-functions=32 -fPIC"
  b) CXXFLAGS="${CFLAGS}"
  c) LDFLAGS="${CFLAGS} -Wl,--hash-style=gnu"
2. untar the cups 2.2.10 release tarball and go into its directory
3. CC=gcc CXX=g++ ./configure
4. make -j$(nproc) libs

The compiler will report an ICE:

during GIMPLE pass: vrp
ppd-localize.c: In function ‘ppdLocalize’:
ppd-localize.c:51:1: internal compiler error: Segmentation fault
 ppdLocalize(ppd_file_t *ppd)  /* I - PPD file */
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.

You can see the full link command below.

Thanks for making GCC better every day.

GCC Version: 8.3.0 (Gentoo 8.3.0 p1.0)
Target: x86_64-pc-linux-gnu
Configure flags: --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu
--prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/8.3.0
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/8.3.0
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/8.3.0/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/8.3.0/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8
--with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/8.3.0/python
--enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt
--disable-werror --with-system-zlib --enable-nls --without-included-gettext
--enable-checking=release --with-bugurl=https://bugs.gentoo.org/
--with-pkgversion='Gentoo 8.3.0 p1.0' --disable-esp --enable-libstdcxx-time
--enable-shared --enable-threads=posix --enable-__cxa_atexit
--enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64
--disable-altivec --disable-fixed-point --enable-targets=all --enable-libgomp
--disable-libmudflap --disable-libssp --disable-libmpx --disable-systemtap
--enable-vtable-verify --enable-lto --with-isl --disable-isl-version-check
--enable-default-pie --enable-default-ssp

Full offending command line:
x86_64-pc-linux-gnu-gcc -m32  -L../cgi-bin -L../cups -L../filter -L../ppdc
-L../scheduler -march=native -O3 -fgraphite-identity -floop-nest-optimize
-fipa-pta -fno-semantic-interposition -flto=8 -fuse-linker-plugin -pipe
-falign-functions=32 -fPIC -Wl,--hash-style=gnu  -fPIE -pie -Wall
-Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -fPIC -Os -g
-fstack-protector -Wno-format-truncation -Wno-tautological-compare
-D_GNU_SOURCE -L../cups -march=native -O3 -fgraphite-identity
-floop-nest-optimize -fipa-pta -fno-semantic-interposition -flto=8
-fuse-linker-plugin -pipe -falign-functions=32 -fPIC -Wl,--hash-style=gnu
-Wl,-soname,`basename libcups.so.2` -shared -Wall -Wno-format-y2k -Wunused
-Wno-unused-result -Wsign-conversion -fPIC -Os -g -fstack-protector
-Wno-format-truncation -Wno-tautological-compare -D_GNU_SOURCE -o libcups.so.2
adminutil.o array.o auth.o backchannel.o backend.o debug.o dest.o dest-job.o
dest-localization.o dest-options.o dir.o encode.o file.o getdevices.o
getifaddrs.o getputfile.o globals.o hash.o http.o http-addr.o http-addrlist.o
http-support.o ipp.o ipp-support.o langprintf.o language.o md5.o md5passwd.o
notify.o options.o ppd.o ppd-attr.o ppd-cache.o ppd-conflicts.o ppd-custom.o
ppd-emit.o ppd-localize.o ppd-mark.o ppd-page.o ppd-util.o pwg-media.o
request.o sidechannel.o snmp.o snprintf.o string.o tempfile.o thread.o tls.o
transcode.o usersys.o util.o  \
        -lgnutls  -lpthread -lm -lcrypt   -lz -lz

LDFLAGS="-march=native -O3 -fgraphite-identity -floop-nest-optimize -fipa-pta
-fno-semantic-interposition -flto=8 -fuse-linker-plugin -pipe
-falign-functions=32 -fPIC -Wl,--hash-style=gnu"

The libraries named by the previous command line are not in an inconsistent
state (= they are all shared libraries or static LTO 7.1 libraries)

Error output of that command:
during GIMPLE pass: vrp
ppd-localize.c: In function ‘ppdLocalize’:
ppd-localize.c:51:1: internal compiler error: Segmentation fault
 ppdLocalize(ppd_file_t *ppd)  /* I - PPD file */
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
>From gcc-bugs-return-635206-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 19:31:37 2019
Return-Path: <gcc-bugs-return-635206-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126342 invoked by alias); 25 Feb 2019 19:31: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 125971 invoked by uid 48); 25 Feb 2019 19:31:29 -0000
From: "darkkirb at darkkirb dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89497] [8.2 regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled
Date: Mon, 25 Feb 2019 19:31: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.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: darkkirb at darkkirb dot de
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-89497-4-jK36VtsALC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89497-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89497-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: 2019-02/txt/msg03508.txt.bz2
Content-length: 390

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497

--- Comment #1 from darkkirb at darkkirb dot de ---
(In reply to darkkirb from comment #0)
> Full offending command line:
> x86_64-pc-linux-gnu-gcc -m32  -L../cgi-bin -L../cups -L../filter -L../ppdc
> [...]

This happens for both 32 bit and 64 bit compilation, portage just built the 32
bit variant first (independent from -m32 flag)
>From gcc-bugs-return-635207-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 19:36:42 2019
Return-Path: <gcc-bugs-return-635207-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16551 invoked by alias); 25 Feb 2019 19:36:41 -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 16226 invoked by uid 55); 25 Feb 2019 19:36:37 -0000
From: "pc at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89339] sse-movmskb-1.c fails for PPC Big Endian
Date: Mon, 25 Feb 2019 19:36: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pc at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: pc at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89339-4-DqtKVNetio@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89339-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89339-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: 2019-02/txt/msg03509.txt.bz2
Content-length: 1478

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89339

--- Comment #2 from pc at gcc dot gnu.org ---
Author: pc
Date: Mon Feb 25 19:36:05 2019
New Revision: 269195

URL: https://gcc.gnu.org/viewcvs?rev=269195&root=gcc&view=rev
Log:
[rs6000] PR89338, PR89339: Fix compat vector intrinsics for BE and 32-bit

Test FAILS: sse2-cvtpd2dq-1, sse2-cvtpd2ps, sse2-cvttpd2dq on powerpc64
(big-endian).

_mm_cvtpd_epi32, _mm_cvtpd_ps, _mm_cvttpd_epi32: Type conversion from
vector doubleword type to vector word type leaves the results in even
lanes in big endian mode.

Test FAILS: sse-cvtss2si-1, sse-cvtss2si-2, sse-movmskb-1 on powerpc
(32-bit big-endian).

Incorrect type for interpreting the result from mfvsrd instruction leads
to incorrect results.  Also, mfvsrd instruction only works as expected in
64-bit mode or for 32-bit quantities in 32-bit mode.  A more general,
if slower, solution is needed for 32-bit mode.

2019-02-25  Paul A. Clarke  <pc@us.ibm.com>

[gcc]

        * config/rs6000/emmintrin.h (_mm_cvtpd_epi32): Fix big endian.
        (_mm_cvtpd_ps): Likewise.
        (_mm_cvttpd_epi32): Likewise.

        PR target/89338
        * config/rs6000/xmmintrin.h (_mm_cvtss_f32):  Fix type mismatch.
        (_mm_cvt_ss2si): Fix type mismatch and 32-bit.

        PR target/89339
        * config/rs6000/xmmintrin.h (_mm_movemask_pi8): Fix 32-bit.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/emmintrin.h
    trunk/gcc/config/rs6000/xmmintrin.h
>From gcc-bugs-return-635208-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 19:36:42 2019
Return-Path: <gcc-bugs-return-635208-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16599 invoked by alias); 25 Feb 2019 19:36: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 16224 invoked by uid 55); 25 Feb 2019 19:36:37 -0000
From: "pc at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89338] sse-cvtss2si-[12].c fails on PPC Big Endian
Date: Mon, 25 Feb 2019 19:36: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pc at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: pc at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89338-4-on1t0lWuXn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89338-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89338-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: 2019-02/txt/msg03510.txt.bz2
Content-length: 1478

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89338

--- Comment #2 from pc at gcc dot gnu.org ---
Author: pc
Date: Mon Feb 25 19:36:05 2019
New Revision: 269195

URL: https://gcc.gnu.org/viewcvs?rev=269195&root=gcc&view=rev
Log:
[rs6000] PR89338, PR89339: Fix compat vector intrinsics for BE and 32-bit

Test FAILS: sse2-cvtpd2dq-1, sse2-cvtpd2ps, sse2-cvttpd2dq on powerpc64
(big-endian).

_mm_cvtpd_epi32, _mm_cvtpd_ps, _mm_cvttpd_epi32: Type conversion from
vector doubleword type to vector word type leaves the results in even
lanes in big endian mode.

Test FAILS: sse-cvtss2si-1, sse-cvtss2si-2, sse-movmskb-1 on powerpc
(32-bit big-endian).

Incorrect type for interpreting the result from mfvsrd instruction leads
to incorrect results.  Also, mfvsrd instruction only works as expected in
64-bit mode or for 32-bit quantities in 32-bit mode.  A more general,
if slower, solution is needed for 32-bit mode.

2019-02-25  Paul A. Clarke  <pc@us.ibm.com>

[gcc]

        * config/rs6000/emmintrin.h (_mm_cvtpd_epi32): Fix big endian.
        (_mm_cvtpd_ps): Likewise.
        (_mm_cvttpd_epi32): Likewise.

        PR target/89338
        * config/rs6000/xmmintrin.h (_mm_cvtss_f32):  Fix type mismatch.
        (_mm_cvt_ss2si): Fix type mismatch and 32-bit.

        PR target/89339
        * config/rs6000/xmmintrin.h (_mm_movemask_pi8): Fix 32-bit.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/emmintrin.h
    trunk/gcc/config/rs6000/xmmintrin.h
>From gcc-bugs-return-635209-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 19:42:02 2019
Return-Path: <gcc-bugs-return-635209-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81612 invoked by alias); 25 Feb 2019 19: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 81402 invoked by uid 48); 25 Feb 2019 19:41:58 -0000
From: "pc at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89338] sse-cvtss2si-[12].c fails on PPC Big Endian
Date: Mon, 25 Feb 2019 19:42: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pc at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: pc at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89338-4-g7LoAn5NaQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89338-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89338-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: 2019-02/txt/msg03511.txt.bz2
Content-length: 394

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89338

pc at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from pc at gcc dot gnu.org ---
fixes committed
>From gcc-bugs-return-635210-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 19:42:29 2019
Return-Path: <gcc-bugs-return-635210-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83372 invoked by alias); 25 Feb 2019 19:42: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 83176 invoked by uid 48); 25 Feb 2019 19:42:25 -0000
From: "pc at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89339] sse-movmskb-1.c fails for PPC Big Endian
Date: Mon, 25 Feb 2019 19:42: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pc at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: pc at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89339-4-7O4kTKkuHk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89339-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89339-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: 2019-02/txt/msg03512.txt.bz2
Content-length: 394

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89339

pc at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from pc at gcc dot gnu.org ---
fixes committed
>From gcc-bugs-return-635211-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 19:42:44 2019
Return-Path: <gcc-bugs-return-635211-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84439 invoked by alias); 25 Feb 2019 19:42:43 -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 84203 invoked by uid 48); 25 Feb 2019 19:42:39 -0000
From: "vincent.lextrait at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/67650] undef reference with -fdevirtualize
Date: Mon, 25 Feb 2019 19: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: 8.3.0
X-Bugzilla-Keywords: diagnostic, link-failure
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vincent.lextrait 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-67650-4-Cspse3l3gf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67650-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67650-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: 2019-02/txt/msg03513.txt.bz2
Content-length: 143

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67650

--- Comment #33 from Vincent <vincent.lextrait at gmail dot com> ---
Still in gcc 8.3.0.
>From gcc-bugs-return-635213-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 19:44:40 2019
Return-Path: <gcc-bugs-return-635213-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97832 invoked by alias); 25 Feb 2019 19:44: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 97687 invoked by uid 48); 25 Feb 2019 19:44:36 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89498] New: [8/9 Regression] ICE in AT_loc_list, at dwarf2out.c:4871
Date: Mon, 25 Feb 2019 19:44: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: gscfq@t-online.de
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-89498-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: 2019-02/txt/msg03515.txt.bz2
Content-length: 1414

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89498

            Bug ID: 89498
           Summary: [8/9 Regression] ICE in AT_loc_list, at
                    dwarf2out.c:4871
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Affects several testsuite cases at -O1+.
Changed between 20181111 and 20181118 :


$ cat pr71078-2.c
#include <math.h>

float f1(float x)
{
  float t1 = fabsf (x);
  float t2 = t1 / x;
  return t2;
}


$ gcc-9-20181111 -c pr71078-2.c -O2 -gdwarf-5 -gsplit-dwarf
$
$ gcc-9-20190224 -c pr71078-2.c -O0 -gdwarf-5 -gsplit-dwarf
$
$ gcc-9-20190224 -c pr71078-2.c -O2 -gdwarf-5 -gsplit-dwarf
pr71078-2.c:8:1: internal compiler error: in AT_loc_list, at dwarf2out.c:4871
    8 | }
      | ^
0x755b87 AT_loc_list
        ../../gcc/dwarf2out.c:4871
0x76c693 AT_loc_list
        ../../gcc/dwarf2out.c:9874
0x76c693 value_format
        ../../gcc/dwarf2out.c:9735
0x76c84c build_abbrev_table
        ../../gcc/dwarf2out.c:9094
0x76c9d8 build_abbrev_table
        ../../gcc/dwarf2out.c:9117
0x76c9d8 build_abbrev_table
        ../../gcc/dwarf2out.c:9117
0x77060f output_comp_unit
        ../../gcc/dwarf2out.c:11034
0x797441 dwarf2out_finish
        ../../gcc/dwarf2out.c:31569
>From gcc-bugs-return-635212-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 19:44:12 2019
Return-Path: <gcc-bugs-return-635212-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95698 invoked by alias); 25 Feb 2019 19:44: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 95446 invoked by uid 48); 25 Feb 2019 19:44:08 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89492] [9 Regression] Endless compilation of an invalid TRANSFER after r269177
Date: Mon, 25 Feb 2019 19:44: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: compile-time-hog, error-recovery
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gmx dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89492-4-62HPvc6cqd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89492-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89492-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: 2019-02/txt/msg03514.txt.bz2
Content-length: 1163

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89492

Harald Anlauf <anlauf at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anlauf at gmx dot de

--- Comment #1 from Harald Anlauf <anlauf at gmx dot de> ---
Potential patch:

Index: gcc/fortran/check.c
===================================================================
--- gcc/fortran/check.c (revision 269177)
+++ gcc/fortran/check.c (working copy)
@@ -5487,6 +5487,13 @@
   if (!gfc_element_size (mold, &result_elt_size))
     return false;

+  if (result_elt_size == 0 && *source_size > 0)
+    {
+      gfc_error ("%<MOLD%> argument of %<TRANSFER%> intrinsic at %L "
+                 "has storage size 0", &mold->where);
+      return false;
+    }
+
   if ((result_elt_size > 0 && (mold->expr_type == EXPR_ARRAY || mold->rank))
       || size)
     {

Can you please verify that your testcases work?
>From gcc-bugs-return-635214-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 19:48:41 2019
Return-Path: <gcc-bugs-return-635214-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113052 invoked by alias); 25 Feb 2019 19:48:41 -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 112826 invoked by uid 48); 25 Feb 2019 19:48:36 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89499] New: [7/8/9 Regression] ICE in expand_UNIQUE, at internal-fn.c:2605
Date: Mon, 25 Feb 2019 19:48: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: gscfq@t-online.de
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-89499-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: 2019-02/txt/msg03516.txt.bz2
Content-length: 1450

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89499

            Bug ID: 89499
           Summary: [7/8/9 Regression] ICE in expand_UNIQUE, at
                    internal-fn.c:2605
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Started with gcc-6 at -O[23] :


$ cat z1.c
#pragma acc routine vector
void Vector (int *ptr, int n, const int inc)
{
  #pragma acc loop vector
  for (int i = 0; i < n; i++)
    ptr[i] += inc;
  return;
}
void foo (void)
{
  const int m = 16;
  int ary[m][m];
  Vector (&ary[0][0], m*m, (1 << 24) - (1 << 16));
  return;
}


$ gcc-9-20190224 -c z1.c -fopenacc -O0
$ gcc-9-20190224 -c z1.c -fopenacc -O1
$
$ gcc-9-20190224 -c z1.c -fopenacc -O2
during RTL pass: expand
z1.c: In function 'foo':
z1.c:4:11: internal compiler error: in expand_UNIQUE, at internal-fn.c:2605
    4 |   #pragma acc loop vector
      |           ^~~
0x8a133f expand_UNIQUE
        ../../gcc/internal-fn.c:2605
0x6d3a57 expand_call_stmt
        ../../gcc/cfgexpand.c:2633
0x6d3a57 expand_gimple_stmt_1
        ../../gcc/cfgexpand.c:3691
0x6d3a57 expand_gimple_stmt
        ../../gcc/cfgexpand.c:3850
0x6d5a57 expand_gimple_basic_block
        ../../gcc/cfgexpand.c:5886
0x6db096 execute
        ../../gcc/cfgexpand.c:6509
>From gcc-bugs-return-635215-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 19:53:08 2019
Return-Path: <gcc-bugs-return-635215-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127703 invoked by alias); 25 Feb 2019 19:53: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 127529 invoked by uid 48); 25 Feb 2019 19:53:04 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89500] New: [9 Regression] ICE: tree check: expected integer_cst, have ssa_name in get_len, at tree.h:5653
Date: Mon, 25 Feb 2019 19:53: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: gscfq@t-online.de
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-89500-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: 2019-02/txt/msg03517.txt.bz2
Content-length: 3144

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89500

            Bug ID: 89500
           Summary: [9 Regression] ICE: tree check: expected integer_cst,
                    have ssa_name in get_len, at tree.h:5653
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Started with gcc-9 at -O[23] :


$ cat z1.c
extern __SIZE_TYPE__ strlen (const char*);
extern __SIZE_TYPE__ strnlen (const char*, __SIZE_TYPE__);
void foo (int *a)
{
  char c[0];
  a[0] = strlen (c);
  a[0] = strnlen (c, 0);
}


$ gcc-9-20190224 -c z1.c -O1
$
$ gcc-9-20190224 -c z1.c -O2
during GIMPLE pass: strlen
z1.c: In function 'foo':
z1.c:3:6: internal compiler error: tree check: expected integer_cst, have
ssa_name in get_len, at tree.h:5653
    3 | void foo (int *a)
      |      ^~~
0x5cf414 tree_check_failed(tree_node const*, char const*, int, char const*,
...)
        ../../gcc/tree.c:9848
0xc517a7 tree_check(tree_node const*, char const*, int, char const*, tree_code)
        ../../gcc/tree.h:3432
0xc517a7 wi::extended_tree<192>::get_len() const
        ../../gcc/tree.h:5653
0xc517a7 wi::int_traits<generic_wide_int<wi::extended_tree<192> >
>::decompose(long*, unsigned int, generic_wide_int<wi::extended_tree<192> >
const&)
        ../../gcc/wide-int.h:964
0xc517a7 wide_int_ref_storage<true,
false>::wide_int_ref_storage<generic_wide_int<wi::extended_tree<192> >
>(generic_wide_int<wi::extended_tree<192> > const&, unsigned int)
        ../../gcc/wide-int.h:1013
0xc517a7 generic_wide_int<wide_int_ref_storage<true, false>
>::generic_wide_int<generic_wide_int<wi::extended_tree<192> >
>(generic_wide_int<wi::extended_tree<192> > const&, unsigned int)
        ../../gcc/wide-int.h:788
0xc517a7 bool wi::lts_p<generic_wide_int<wi::extended_tree<192> >,
generic_wide_int<wi::extended_tree<192> >
>(generic_wide_int<wi::extended_tree<192> > const&,
generic_wide_int<wi::extended_tree<192> > const&)
        ../../gcc/wide-int.h:1880
0xe1a9ae wi::binary_traits<generic_wide_int<wi::extended_tree<192> >,
generic_wide_int<wi::extended_tree<192> >,
wi::int_traits<generic_wide_int<wi::extended_tree<192> > >::precision_type,
wi::int_traits<generic_wide_int<wi::extended_tree<192> >
>::precision_type>::signed_predicate_result operator<
<generic_wide_int<wi::extended_tree<192> >,
generic_wide_int<wi::extended_tree<192> >
>(generic_wide_int<wi::extended_tree<192> > const&,
generic_wide_int<wi::extended_tree<192> > const&)
        ../../gcc/wide-int.h:3227
0xe1a9ae tree_int_cst_lt(tree_node const*, tree_node const*)
        ../../gcc/tree.h:5809
0xe1a9ae handle_builtin_strlen
        ../../gcc/tree-ssa-strlen.c:1305
0xe1cf63 strlen_check_and_optimize_stmt
        ../../gcc/tree-ssa-strlen.c:3574
0xe1cf63 strlen_dom_walker::before_dom_children(basic_block_def*)
        ../../gcc/tree-ssa-strlen.c:3927
0x1483d67 dom_walker::walk(basic_block_def*)
        ../../gcc/domwalk.c:353
0xe16c97 execute
        ../../gcc/tree-ssa-strlen.c:4007
>From gcc-bugs-return-635216-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 19:54:34 2019
Return-Path: <gcc-bugs-return-635216-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8949 invoked by alias); 25 Feb 2019 19:54: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 8682 invoked by uid 48); 25 Feb 2019 19:54:30 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89492] [9 Regression] Endless compilation of an invalid TRANSFER after r269177
Date: Mon, 25 Feb 2019 19:54: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: compile-time-hog, error-recovery
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
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-89492-4-czdaOgSbVC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89492-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89492-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: 2019-02/txt/msg03518.txt.bz2
Content-length: 642

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89492

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Can you please verify that your testcases work?

With the patch I get

pr34202_red.f90:8:54:

    8 |    write(*,*) transfer(transfer([1],[bug4()]),[1],size[1])
      |                                                      1
Error: Function 'size' requires an argument list at (1)
pr34202_red.f90:7:30:

    7 |    write(*,*) size(transfer(1,['']))
      |                              1
Error: 'MOLD' argument of 'TRANSFER' intrinsic at (1) has storage size 0

Full test in progress. Thanks for the quick answer.
>From gcc-bugs-return-635217-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 20:05:26 2019
Return-Path: <gcc-bugs-return-635217-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111240 invoked by alias); 25 Feb 2019 20:05: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 111097 invoked by uid 48); 25 Feb 2019 20:05:22 -0000
From: "harald at gigawatt dot nl" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71446] Incorrect overload resolution when using designated initializers
Date: Mon, 25 Feb 2019 20:05: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: 5.3.0
X-Bugzilla-Keywords: accepts-invalid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: harald at gigawatt dot nl
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-71446-4-EnsBcNXutw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71446-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71446-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: 2019-02/txt/msg03519.txt.bz2
Content-length: 717

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71446

--- Comment #5 from Harald van Dijk <harald at gigawatt dot nl> ---
(In reply to Jakub Jelinek from comment #3)
> Well, before C++2a it is an extension, so outside of the C++ standard, and
> GCC has been implementing it as not allowing to skip any fields.

Not exactly. Outside of overload resolution, GCC does implement it as allowing
skipping of fields. Test case:

struct S {
    int a, b;
    bool equals(S other) const { return a == other.a && b == other.b; }
} s = {.a = 0, .b = 1};
int main() { return !s.equals({.b = 1}); }

This program should and does return 0, showing that {.b = 1} initialises the
second field, not the first.
>From gcc-bugs-return-635218-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 20:22:02 2019
Return-Path: <gcc-bugs-return-635218-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11225 invoked by alias); 25 Feb 2019 20:22: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 10943 invoked by uid 48); 25 Feb 2019 20:21:57 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71446] Incorrect overload resolution when using designated initializers
Date: Mon, 25 Feb 2019 20:22: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: 5.3.0
X-Bugzilla-Keywords: accepts-invalid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-71446-4-m8YhTqw6yA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71446-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71446-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: 2019-02/txt/msg03520.txt.bz2
Content-length: 524

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71446

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.7 through 7.x emit:
sorry, unimplemented: non-trivial designated initializers not supported
here (and 4.6 and earlier didn't support C++11 enough to grok it).
That said, you're right, the skipping is implemented regardless of the -std=
mode, though you get -pedantic warnings if you do before -std=c++2a:
warning: C++ designated initializers only available with -std=c++2a or
-std=gnu++2a
>From gcc-bugs-return-635219-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 20:35:42 2019
Return-Path: <gcc-bugs-return-635219-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100528 invoked by alias); 25 Feb 2019 20:35:41 -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 100358 invoked by uid 48); 25 Feb 2019 20:35:36 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89500] [9 Regression] ICE: tree check: expected integer_cst, have ssa_name in get_len, at tree.h:5653
Date: Mon, 25 Feb 2019 20:35: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cc assigned_to target_milestone everconfirmed
Message-ID: <bug-89500-4-xIOC2RiGK2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89500-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89500-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: 2019-02/txt/msg03521.txt.bz2
Content-length: 1075

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89500

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-25
                 CC|                            |jakub at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
   Target Milestone|---                         |9.0
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r262114.  Looking into this.
Slightly adjusted testcase, no need for c[0] nor storing strnlen into the same
element as strlen:
typedef __SIZE_TYPE__ size_t;
extern size_t strlen (const char *);
extern size_t strnlen (const char *, size_t);

void
foo (int *a)
{
  char c[4];
  a[0] = strlen (c);
  a[1] = strnlen (c, 0);
}
>From gcc-bugs-return-635220-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 20:36:13 2019
Return-Path: <gcc-bugs-return-635220-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102228 invoked by alias); 25 Feb 2019 20:36: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 102095 invoked by uid 48); 25 Feb 2019 20:36:08 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89492] [9 Regression] Endless compilation of an invalid TRANSFER after r269177
Date: Mon, 25 Feb 2019 20: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: 9.0
X-Bugzilla-Keywords: compile-time-hog, error-recovery
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gmx dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
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-89492-4-L90WrZiGf2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89492-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89492-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: 2019-02/txt/msg03522.txt.bz2
Content-length: 2353

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89492

--- Comment #3 from Harald Anlauf <anlauf at gmx dot de> ---
I found another issue for uses of transfer('',['']), so here's an updated
version with a clearer error message:

Index: gcc/fortran/check.c
===================================================================
--- gcc/fortran/check.c (revision 269177)
+++ gcc/fortran/check.c (working copy)
@@ -5487,6 +5487,26 @@
   if (!gfc_element_size (mold, &result_elt_size))
     return false;

+  if (result_elt_size == 0 && *source_size > 0)
+    {
+      gfc_error ("%<MOLD%> argument of %<TRANSFER%> intrinsic at %L "
+                 "shall not have storage size 0 when %<SOURCE%> "
+                "argument has size greater than 0", &mold->where);
+      return false;
+    }
+
+  /* If MOLD is a scalar and SIZE is absent, the result is a scalar.
+   * If MOLD is an array and SIZE is absent, the result is an array and of
+   * rank one. Its size is as small as possible such that its physical
+   * representation is not shorter than that of SOURCE.
+   */
+  if (result_elt_size == 0 && *source_size == 0 && !size)
+    {
+      *result_size = 0;
+      *result_length_p = 0;
+      return true;
+    }
+
   if ((result_elt_size > 0 && (mold->expr_type == EXPR_ARRAY || mold->rank))
       || size)
     {

Suggested testcase:

! { dg-do compile }
!
! PR fortran/89492 - Endless compilation of an invalid TRANSFER after r269177 
! Test error recovery for invalid uses of TRANSFER
! Test proper simplification for MOLD with size 0
!
! Derived from original testcase by Dominique d'Humieres

program bug4a
  implicit none
  type bug4
! Intentionally left empty
  end type bug4
  integer, parameter :: k = size(transfer('',['']))  ! k = 0
  integer, parameter :: m(k) = k
  print *,      transfer(1,[''])                ! { dg-error "shall not have
storage size 0" }
  print *, size(transfer(1,['']))               ! { dg-error "shall not have
storage size 0" }
  print *, size(transfer([1],[bug4()]))         ! { dg-error "shall not have
storage size 0" }
  print *, transfer(transfer([1],[bug4()]),[1]) ! { dg-error "shall not have
storage size 0" }
end program bug4a
>From gcc-bugs-return-635221-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 20:39:35 2019
Return-Path: <gcc-bugs-return-635221-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26109 invoked by alias); 25 Feb 2019 20:39:32 -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 25967 invoked by uid 48); 25 Feb 2019 20:39:28 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89500] [9 Regression] ICE: tree check: expected integer_cst, have ssa_name in get_len, at tree.h:5653
Date: Mon, 25 Feb 2019 20:39: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89500-4-dEohmlzVE0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89500-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89500-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: 2019-02/txt/msg03523.txt.bz2
Content-length: 400

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89500

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Even better testcase without any UB in it:

typedef __SIZE_TYPE__ size_t;
extern size_t strlen (const char *);
extern size_t strnlen (const char *, size_t);
extern void bar (char *);

void
foo (int *a)
{
  char c[64];
  bar (c);
  a[0] = strlen (c);
  a[1] = strnlen (c, 0);
}
>From gcc-bugs-return-635222-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 20:46:05 2019
Return-Path: <gcc-bugs-return-635222-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41452 invoked by alias); 25 Feb 2019 20:46: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 39818 invoked by uid 48); 25 Feb 2019 20:45:21 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/89498] [8/9 Regression] ICE in AT_loc_list, at dwarf2out.c:4871
Date: Mon, 25 Feb 2019 20:46:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: component target_milestone
Message-ID: <bug-89498-4-PAlUHpOD34@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89498-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89498-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: 2019-02/txt/msg03524.txt.bz2
Content-length: 347

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89498

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |debug
   Target Milestone|---                         |8.4
>From gcc-bugs-return-635223-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 20:49:22 2019
Return-Path: <gcc-bugs-return-635223-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55672 invoked by alias); 25 Feb 2019 20:49: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 55408 invoked by uid 48); 25 Feb 2019 20:49:17 -0000
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Mon, 25 Feb 2019 20:49: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: bernd.edlinger at hotmail dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89490-4-cgEILgIXyt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03525.txt.bz2
Content-length: 2066

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

--- Comment #5 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
The patch should probably work, and a powerpc cross fixes the test case.
At least bootstrap and reg-test on x86_64-pc-linux-gnu is fine,
but that proves not too much.

When I look at the merge-all-constants-2.c test case, I think
the mergeable string secrtion looks bogus (unrelated to this):

$ cat merge-all-constants-2.c
/* { dg-do compile } */
/* { dg-require-effective-target string_merging } */
/* { dg-options "-w -O2 -fmerge-all-constants" } */

const char str1[36] = "0123456789abcdefghijklmnopqrstuvwxyz";
const char str2[37] = "0123456789abcdefghijklmnopqrstuvwxyz";
const char str3[10] = "0123456789abcdefghijklmnopqrstuvwxyz";

/* { dg-final { scan-assembler-not "\\.rodata\[\n\r\]" } } */
$ powerpc64-unknown-linux-gcc -O2 -S merge-all-constants-2.c
merge-all-constants-2.c:7:23: warning: initializer-string for array of chars is
too long
    7 | const char str3[10] = "0123456789abcdefghijklmnopqrstuvwxyz";
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$ cat merge-all-constants-2.s
        .file   "merge-all-constants-2.c"
        .machine power4
        .section        ".text"
        .globl str3
        .globl str2
        .globl str1
        .section        .rodata.str1.8,"aMS",@progbits,1
        .align 3
        .type   str3, @object
        .size   str3, 10
str3:
        .string "0123456789"
        .zero   6
        .type   str2, @object
        .size   str2, 37
str2:
        .string "0123456789abcdefghijklmnopqrstuvwxyz"
        .zero   3
        .type   str1, @object
        .size   str1, 36
str1:
        .string "0123456789abcdefghijklmnopqrstuvwxyz"
        .ident  "GCC: (GNU) 9.0.1 20190222 (experimental)"


Adding zero bytes after each string constant makes no sense IMHO,
since the linker will merge the constants, and so aligning the
constants with .zero does probably not work, but the should be
benign, except for that the alignment of the string constants.
>From gcc-bugs-return-635224-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 20:51:03 2019
Return-Path: <gcc-bugs-return-635224-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59718 invoked by alias); 25 Feb 2019 20:51: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 59574 invoked by uid 48); 25 Feb 2019 20:50:58 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89450] RFC: Strengthen -fstrict-enums
Date: Mon, 25 Feb 2019 20: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: pinskia 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-89450-4-VMUSyl3AZ9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89450-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89450-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: 2019-02/txt/msg03526.txt.bz2
Content-length: 446

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89450

--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #7)
> in switch statements, we have a huge patch:
> https://build.opensuse.org/package/view_file/network:chromium/chromium-beta/
> chromium-non-void-return.patch?expand=1

Part of it should be resolved if you define NOTREACHED correctly ....  Maybe to
__builtin_unreachable.
>From gcc-bugs-return-635225-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 20:58:24 2019
Return-Path: <gcc-bugs-return-635225-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102326 invoked by alias); 25 Feb 2019 20:58: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 102173 invoked by uid 48); 25 Feb 2019 20:58:19 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89496] [9 Regression] gcc/fortran/trans-types.c:3015:9: runtime error: member access within null pointer of type 'struct gfc_formal_arglist'
Date: Mon, 25 Feb 2019 20:58: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: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89496-4-wRLFoyHmO9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89496-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89496-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: 2019-02/txt/msg03527.txt.bz2
Content-length: 1219

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89496

--- Comment #2 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
This looks pretty obvious to me, at least looking at the
-fdump-fortran-original dump.  I will try to come up with
a test case.

Would it be possible to check that this also fixes the
nullpointer offset access?

Index: trans-types.c
===================================================================
--- trans-types.c       (Revision 269161)
+++ trans-types.c       (Arbeitskopie)
@@ -2988,9 +2988,9 @@
   f = &sym->formal;
   for (a = actual_args; a != NULL; a = a->next)
     {
+      (*f) = gfc_get_formal_arglist ();
       if (a->expr)
        {
-         (*f) = gfc_get_formal_arglist ();
          snprintf (name, GFC_MAX_SYMBOL_LEN, "_formal_%d", var_num ++);
          gfc_get_symbol (name, NULL, &s);
          if (a->expr->ts.type == BT_PROCEDURE)
@@ -3012,6 +3012,9 @@
          s->attr.intent = INTENT_UNKNOWN;
          (*f)->sym = s;
        }
+      else
+       (*f)->sym = NULL;
+
       f = &((*f)->next);
     }
 }
>From gcc-bugs-return-635226-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 20:59:58 2019
Return-Path: <gcc-bugs-return-635226-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105975 invoked by alias); 25 Feb 2019 20:59:57 -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 105786 invoked by uid 48); 25 Feb 2019 20:59:54 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/89494] Bootstrap error when using GCC 4.2.1
Date: Mon, 25 Feb 2019 20:59: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: pinskia at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-89494-4-K4TqhroQpI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89494-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89494-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: 2019-02/txt/msg03528.txt.bz2
Content-length: 541

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89494

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2019-02-25
     Ever confirmed|0                           |1

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
What configure options are you using?  How are you invoking make?
>From gcc-bugs-return-635227-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 21:04:46 2019
Return-Path: <gcc-bugs-return-635227-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128726 invoked by alias); 25 Feb 2019 21:04:46 -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 128559 invoked by uid 48); 25 Feb 2019 21:04:40 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89496] [9 Regression] gcc/fortran/trans-types.c:3015:9: runtime error: member access within null pointer of type 'struct gfc_formal_arglist'
Date: Mon, 25 Feb 2019 21:04: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: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89496-4-VkHj5QFMpX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89496-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89496-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: 2019-02/txt/msg03529.txt.bz2
Content-length: 260

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89496

--- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
This test case also segfaults with a non-instrumeted compiler:

program main
  call sub(10, *10, 20)
  stop 1
10 continue
end program main
>From gcc-bugs-return-635228-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 21:18:00 2019
Return-Path: <gcc-bugs-return-635228-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40129 invoked by alias); 25 Feb 2019 21:17: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 39853 invoked by uid 48); 25 Feb 2019 21:17:49 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89500] [9 Regression] ICE: tree check: expected integer_cst, have ssa_name in get_len, at tree.h:5653
Date: Mon, 25 Feb 2019 21:17: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89500-4-cCmVDc81SF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89500-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89500-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: 2019-02/txt/msg03530.txt.bz2
Content-length: 1143

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89500

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The simplest fix might be:
--- gcc/tree-ssa-strlen.c.jj    2019-01-18 00:33:19.466003372 +0100
+++ gcc/tree-ssa-strlen.c       2019-02-25 21:59:18.743419101 +0100
@@ -1302,6 +1302,7 @@ handle_builtin_strlen (gimple_stmt_itera
                = fold_build2_loc (loc, MIN_EXPR, TREE_TYPE (rhs), rhs, bound);

              noncst_bound = (TREE_CODE (new_rhs) != INTEGER_CST
+                             || TREE_CODE (rhs) != INTEGER_CST
                              || tree_int_cst_lt (new_rhs, rhs));

              rhs = new_rhs;

The problem is that even when rhs is not INTEGER_CST, when bound is
size_zero_node, then new_rhs is size_zero_node too, but we can't really use
tree_int_cst_lt in that case (nor know anything about the string length).

But, I think we don't want to stay at that, noncst_bound seems to be really
misnamed, but furthermore, I fail to see when it is ever useful to record
something (or when it actually would record anything, because it doesn't it
si->nonzero_chars is INTEGER_CST.
>From gcc-bugs-return-635229-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 21:18:43 2019
Return-Path: <gcc-bugs-return-635229-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42573 invoked by alias); 25 Feb 2019 21:18:43 -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 42402 invoked by uid 48); 25 Feb 2019 21:18:39 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89500] [9 Regression] ICE: tree check: expected integer_cst, have ssa_name in get_len, at tree.h:5653
Date: Mon, 25 Feb 2019 21:18: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89500-4-SViUB1VWrO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89500-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89500-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: 2019-02/txt/msg03531.txt.bz2
Content-length: 253

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89500

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45819
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45819&action=edit
gcc9-pr89500.patch

Untested fix.
>From gcc-bugs-return-635230-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 21:58:29 2019
Return-Path: <gcc-bugs-return-635230-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31903 invoked by alias); 25 Feb 2019 21:58: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 31681 invoked by uid 48); 25 Feb 2019 21:58:25 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89492] [9 Regression] Endless compilation of an invalid TRANSFER after r269177
Date: Mon, 25 Feb 2019 21:58: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: compile-time-hog, error-recovery
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gmx dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
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-89492-4-bvtGeztGYb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89492-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89492-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: 2019-02/txt/msg03532.txt.bz2
Content-length: 220

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89492

--- Comment #4 from Harald Anlauf <anlauf at gmx dot de> ---
Patch with slightly extended testcase posted here:

https://gcc.gnu.org/ml/fortran/2019-02/msg00218.html
>From gcc-bugs-return-635231-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 22:09:01 2019
Return-Path: <gcc-bugs-return-635231-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101929 invoked by alias); 25 Feb 2019 22:09: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 101678 invoked by uid 48); 25 Feb 2019 22:08:56 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89450] RFC: Strengthen -fstrict-enums
Date: Mon, 25 Feb 2019 22:09: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
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-89450-4-Lg34WiAjuM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89450-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89450-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: 2019-02/txt/msg03533.txt.bz2
Content-length: 555

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89450

--- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #8)
> (In reply to Martin Liška from comment #7)
> > in switch statements, we have a huge patch:
> > https://build.opensuse.org/package/view_file/network:chromium/chromium-beta/
> > chromium-non-void-return.patch?expand=1
> 
> Part of it should be resolved if you define NOTREACHED correctly ....  Maybe
> to __builtin_unreachable.

Yep, that's exactly what we've been doing :)
>From gcc-bugs-return-635232-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 22:17:58 2019
Return-Path: <gcc-bugs-return-635232-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16142 invoked by alias); 25 Feb 2019 22:17: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 16057 invoked by uid 48); 25 Feb 2019 22:17:54 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/84779] [7/8/9 Regression] Compiling gfortran.fortran-torture/execute/entry_4.f90 with -O1 or -Os and -fdefault-integer-8 gives an ICE
Date: Mon, 25 Feb 2019 22:17: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.0.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gmx dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-84779-4-NxIygy3vci@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84779-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84779-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: 2019-02/txt/msg03534.txt.bz2
Content-length: 215

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84779

--- Comment #6 from Harald Anlauf <anlauf at gmx dot de> ---
Adding the option -fno-tree-sra to -O1 (or -Os for the original case)
makes the ICE go away for me.
>From gcc-bugs-return-635233-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 22:33:34 2019
Return-Path: <gcc-bugs-return-635233-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124751 invoked by alias); 25 Feb 2019 22:33: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 123014 invoked by uid 48); 25 Feb 2019 22:33:29 -0000
From: "torvalds@linux-foundation.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89501] New: Odd lack of warning about missing initialization
Date: Mon, 25 Feb 2019 22:33: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.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: torvalds@linux-foundation.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-89501-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: 2019-02/txt/msg03535.txt.bz2
Content-length: 2277

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89501

            Bug ID: 89501
           Summary: Odd lack of warning about missing initialization
           Product: gcc
           Version: 8.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: torvalds@linux-foundation.org
  Target Milestone: ---

Created attachment 45820
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45820&action=edit
You can compile this to see a lack of warning.

We had a simple kernel patch that introduced a stupid bug due to an
uninitialized variable, and while we got it all sorted out and the fix was
trivial, people were surprised by the lack of warning for the uninitialized
case.

I'm adding a test-case as an attachment that largely matches the kernel code
that didn't warn. But it boils down to a pattern of

     int ret;  /* UNINITIALIZED */

     if (somecondition) {
          ret = functioncall(x);
          if (ret)
               return ret;
     }
     .. some more work ..
     return ret;   /* Possibly uninitialized return value! */

What I *suspect* happens is

 (a) gcc sees that there is only one assignment to "ret"

 (b) in the same basic block as the assignment, there is a test against "ret"
being nonzero that goes out.

and what I think happens is that (a) causes gcc to consider that assignment to
be the defining assignment (which makes all kinds of sense in an SSA world),
and then (b) means that gcc decides that clearly "ret" has to be zero in any
case that doesn't go out due to the if-test.

So it turns out that gcc almost by mistake generates code that works (and
doesn't warn about it, exactly because it works), even though the source code
was clearly buggy. 

The attached test-case is stupid but intentionally made to be as close to the
kernel source case as possible. With it, I can do:

Look, ma: no warning:

   gcc -O2 -S -Wall test.c

but this gives the expected warning:

   gcc -O2 -S -Wall -DHIDE_PROBLEM test.c

regardless, this is not a huge problem for us, but I decided to make a report
since we have a test case, and maybe somebody gets excited about it.

Thanks,

            Linus
>From gcc-bugs-return-635234-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 22:59:22 2019
Return-Path: <gcc-bugs-return-635234-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56035 invoked by alias); 25 Feb 2019 22:59: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 55903 invoked by uid 55); 25 Feb 2019 22:59:18 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/77754] [7/8/9 Regression] internal compiler error : tree code 'call_expr' is not supported in LTO streams
Date: Mon, 25 Feb 2019 22:59: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: 5.3.0
X-Bugzilla-Keywords: ice-on-valid-code, lto
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-77754-4-kbdR7WX1WI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77754-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77754-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: 2019-02/txt/msg03536.txt.bz2
Content-length: 1009

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77754

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Feb 25 22:58:45 2019
New Revision: 269197

URL: https://gcc.gnu.org/viewcvs?rev=269197&root=gcc&view=rev
Log:
        PR c/77754
        * gcc.c-torture/compile/pr77754-1.c: New test.
        * gcc.c-torture/compile/pr77754-2.c: New test.
        * gcc.c-torture/compile/pr77754-3.c: New test.
        * gcc.c-torture/compile/pr77754-4.c: New test.
        * gcc.c-torture/compile/pr77754-5.c: New test.
        * gcc.c-torture/compile/pr77754-6.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr77754-1.c
    trunk/gcc/testsuite/gcc.c-torture/compile/pr77754-2.c
    trunk/gcc/testsuite/gcc.c-torture/compile/pr77754-3.c
    trunk/gcc/testsuite/gcc.c-torture/compile/pr77754-4.c
    trunk/gcc/testsuite/gcc.c-torture/compile/pr77754-5.c
    trunk/gcc/testsuite/gcc.c-torture/compile/pr77754-6.c
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635235-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 23:02:53 2019
Return-Path: <gcc-bugs-return-635235-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58431 invoked by alias); 25 Feb 2019 23:02: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 55977 invoked by uid 48); 25 Feb 2019 23:02:49 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Mon, 25 Feb 2019 23:02: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: amodra 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: priority bug_status target_milestone everconfirmed
Message-ID: <bug-89490-4-4Wu9DPNMvJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03537.txt.bz2
Content-length: 999

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3
             Status|NEW                         |UNCONFIRMED
   Target Milestone|9.0                         |---
     Ever confirmed|1                           |0

--- Comment #6 from Alan Modra <amodra at gmail dot com> ---
The zero bytes are added by the -fsection-anchors code.  They used to align the
next object.  Now, the number of zero bytes is wrong (in cases where we used to
have an unterminated string), *and* gcc's calculation of the offset to the
object within the section-anchor block is wrong.  

Misaligned strings will mean poorer performance on some targets. 
Miscalculating the offset will result in wrong-code errors when it results in
too many objects being placed into a block.
>From gcc-bugs-return-635236-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 23:06:24 2019
Return-Path: <gcc-bugs-return-635236-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21841 invoked by alias); 25 Feb 2019 23:06: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 21742 invoked by uid 48); 25 Feb 2019 23:06:20 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89501] Odd lack of warning about missing initialization
Date: Mon, 25 Feb 2019 23: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: 8.2.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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-89501-4-MwhcXZ1LtV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89501-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89501-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: 2019-02/txt/msg03538.txt.bz2
Content-length: 174

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89501

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I think it comes down to the same issue as PR 18501.
>From gcc-bugs-return-635238-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 23:32:55 2019
Return-Path: <gcc-bugs-return-635238-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125351 invoked by alias); 25 Feb 2019 23:32:55 -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 121523 invoked by uid 55); 25 Feb 2019 23:32:51 -0000
From: "joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libquadmath/89459] Incorrect rounding for fma in some cases
Date: Mon, 25 Feb 2019 23:32:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libquadmath
X-Bugzilla-Version: 6.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joseph at codesourcery 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-89459-4-OkC0jnVqrv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89459-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89459-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: 2019-02/txt/msg03540.txt.bz2
Content-length: 346

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89459

--- Comment #3 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
GCC 8 branched off mainline in April 2018, long before that merge; it's 
necessary to test mainline (that will become GCC 9 and later), not any 
existing release, to see if that merge fixed things.
>From gcc-bugs-return-635237-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 23:32:34 2019
Return-Path: <gcc-bugs-return-635237-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118291 invoked by alias); 25 Feb 2019 23: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 117253 invoked by uid 48); 25 Feb 2019 23:32:26 -0000
From: "torvalds@linux-foundation.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89501] Odd lack of warning about missing initialization
Date: Mon, 25 Feb 2019 23:32: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: 8.2.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: torvalds@linux-foundation.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-89501-4-sGoJW6iFX5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89501-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89501-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: 2019-02/txt/msg03539.txt.bz2
Content-length: 1341

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89501

--- Comment #2 from Linus Torvalds <torvalds@linux-foundation.org> ---
(In reply to Andrew Pinski from comment #1)
> I think it comes down to the same issue as PR 18501.

Very possibly the same issue in just a different guise.

NOTE! I have in the meantime verified that yes, it does seem to be about the
pattern

   int x;

   if (somecondition) {
      x = something();
      if (x != XYZ)
         return x;
   }

   return x;

where gcc seems to turn the "if (x != XYZ) return x" to mean that "x" clearly
_has_ to be XYZ elsewhere.

If I change my kernel-based test-case to do

    if (ret != 1)
        return ret;

instead of the original

    if (ret)
        return ret;

then gcc will actually generate code that ends with

        movl    $1, %eax
        popq    %rbp
        popq    %r12
        ret

ie it will basically consider "ret" to be initialized to that value "1", even
if the basic block that assigned it was never actually executed.

Knowing how SSA works, I'm not entirely surprised, but obviously if you'd like
to see the warning about buggy source code, it's less than optimal.

Anyway, this shouldn't be a high priority, but it does strike me as a
potentially fairly common pattern that people might be missing warnings for.

              Linus
>From gcc-bugs-return-635239-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 23:35:41 2019
Return-Path: <gcc-bugs-return-635239-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8169 invoked by alias); 25 Feb 2019 23:35:41 -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 8018 invoked by uid 48); 25 Feb 2019 23:35:36 -0000
From: "law at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89501] Odd lack of warning about missing initialization
Date: Mon, 25 Feb 2019 23:35: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: 8.2.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: law at redhat 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-89501-4-yc7XuL1i2X@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89501-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89501-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: 2019-02/txt/msg03541.txt.bz2
Content-length: 669

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89501

--- Comment #3 from Jeffrey A. Law <law at redhat dot com> ---
Yup.  It's the same as 18501.  We meet UNDEFINED and [0,0] resulting in [0,0]
and nothing ever causes reevaluation of the PHI.  Things are working as
"expected".    

My approach from 2005 would almost certainly address this instance since we'd
see the uninitialized use in the early uninit pass, and later see it went away.
 It'd ultimately generate indicating there was an uninitialized use of "ret"
that was optimized away.

But I'm not inclined to rip the scabs of those old wounds and reopen that
discussion (for the umpteenth time)
>From gcc-bugs-return-635242-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 23:36:59 2019
Return-Path: <gcc-bugs-return-635242-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13119 invoked by alias); 25 Feb 2019 23:36: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 12777 invoked by uid 48); 25 Feb 2019 23:36:55 -0000
From: "law at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues
Date: Mon, 25 Feb 2019 23:36:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 4.1.0
X-Bugzilla-Keywords: diagnostic, meta-bug
X-Bugzilla-Severity: trivial
X-Bugzilla-Who: law at redhat 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: bug_status resolution
Message-ID: <bug-24639-4-QT7ehBGUwc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-24639-4@http.gcc.gnu.org/bugzilla/>
References: <bug-24639-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: 2019-02/txt/msg03544.txt.bz2
Content-length: 478

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639
Bug 24639 depends on bug 89501, which changed state.

Bug 89501 Summary: Odd lack of warning about missing initialization
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89501

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE
>From gcc-bugs-return-635240-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 23:36:47 2019
Return-Path: <gcc-bugs-return-635240-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11730 invoked by alias); 25 Feb 2019 23:36:46 -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 11475 invoked by uid 48); 25 Feb 2019 23:36:42 -0000
From: "law at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89501] Odd lack of warning about missing initialization
Date: Mon, 25 Feb 2019 23:36: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: 8.2.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: law at redhat dot com
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-89501-4-BlZ7eSzNwS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89501-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89501-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: 2019-02/txt/msg03542.txt.bz2
Content-length: 598

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89501

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |law at redhat dot com
         Resolution|---                         |DUPLICATE

--- Comment #4 from Jeffrey A. Law <law at redhat dot com> ---
Dup.  18501 is the canonical bug for this issue.

*** This bug has been marked as a duplicate of bug 18501 ***
>From gcc-bugs-return-635241-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 23:36:58 2019
Return-Path: <gcc-bugs-return-635241-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12837 invoked by alias); 25 Feb 2019 23:36:57 -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 12635 invoked by uid 48); 25 Feb 2019 23:36:53 -0000
From: "law at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/18501] [7/8/9 Regression] Missing 'used uninitialized' warning (CCP)
Date: Mon, 25 Feb 2019 23:36: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: 4.0.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: minor
X-Bugzilla-Who: law at redhat dot com
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P5
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-18501-4-fIA12rOIAR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-18501-4@http.gcc.gnu.org/bugzilla/>
References: <bug-18501-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: 2019-02/txt/msg03543.txt.bz2
Content-length: 491

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |torvalds@linux-foundation.o
                   |                            |rg

--- Comment #89 from Jeffrey A. Law <law at redhat dot com> ---
*** Bug 89501 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-635243-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 23:44:30 2019
Return-Path: <gcc-bugs-return-635243-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110134 invoked by alias); 25 Feb 2019 23:44: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 109957 invoked by uid 55); 25 Feb 2019 23:44:25 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89495] [9 Regression] gcc/c-family/c-format.c:1272:20: runtime error: signed integer overflow: 214748365 * 10 cannot be represented in type 'int'
Date: Mon, 25 Feb 2019 23:44: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: jakub 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-89495-4-VusWIS4HYV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89495-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89495-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: 2019-02/txt/msg03545.txt.bz2
Content-length: 513

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89495

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Feb 25 23:43:51 2019
New Revision: 269198

URL: https://gcc.gnu.org/viewcvs?rev=269198&root=gcc&view=rev
Log:
        PR c/89495
        * c-format.c (maybe_read_dollar_number): Compute nargnum in
        HOST_WIDE_INT type to avoid overflows and change overflow_flag
        checking.

Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-format.c
>From gcc-bugs-return-635244-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 23:46:29 2019
Return-Path: <gcc-bugs-return-635244-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113932 invoked by alias); 25 Feb 2019 23:46:18 -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 113820 invoked by uid 55); 25 Feb 2019 23:46:14 -0000
From: "dave.anglin at bell dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89461] FAIL: experimental/net/timer/waitable/cons.cc
Date: Mon, 25 Feb 2019 23:46:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dave.anglin at bell dot net
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-89461-4-aFe4GCmZja@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89461-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89461-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: 2019-02/txt/msg03546.txt.bz2
Content-length: 759

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89461

--- Comment #3 from dave.anglin at bell dot net ---
On 2019-02-23 2:34 p.m., redi at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89461
>
> --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
> Oops, that should be:
>
> --- a/libstdc++-v3/include/experimental/io_context
> +++ b/libstdc++-v3/include/experimental/io_context
> @@ -134,7 +134,8 @@ inline namespace v1
>        io_context* _M_ctx;
>      };
>
> -    using count_type =  size_t;
> +    using count_type
> +      = conditional_t<ATOMIC_LONG_LOCK_FREE == 2, unsigned long, unsigned
> int>;
>
>      // construct / copy / destroy:
Makes things worse.  I think we need to be using a mutes.
>From gcc-bugs-return-635246-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 23:49:00 2019
Return-Path: <gcc-bugs-return-635246-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2019 invoked by alias); 25 Feb 2019 23:48: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 1505 invoked by uid 48); 25 Feb 2019 23:48:43 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined
Date: Mon, 25 Feb 2019 23:48:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords: meta-bug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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 resolution
Message-ID: <bug-63426-4-o8ttwTtOCX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63426-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63426-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: 2019-02/txt/msg03548.txt.bz2
Content-length: 568

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426
Bug 63426 depends on bug 89495, which changed state.

Bug 89495 Summary: [9 Regression] gcc/c-family/c-format.c:1272:20: runtime error: signed integer overflow: 214748365 * 10 cannot be represented in type 'int'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89495

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-635245-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 23:49:00 2019
Return-Path: <gcc-bugs-return-635245-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1851 invoked by alias); 25 Feb 2019 23:48:56 -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 1361 invoked by uid 48); 25 Feb 2019 23:48:41 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89495] [9 Regression] gcc/c-family/c-format.c:1272:20: runtime error: signed integer overflow: 214748365 * 10 cannot be represented in type 'int'
Date: Mon, 25 Feb 2019 23:48: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-89495-4-tFrNxEz97F@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89495-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89495-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: 2019-02/txt/msg03547.txt.bz2
Content-length: 423

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89495

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-635247-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 25 23:56:38 2019
Return-Path: <gcc-bugs-return-635247-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62279 invoked by alias); 25 Feb 2019 23:56: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 49492 invoked by uid 48); 25 Feb 2019 23:56:33 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89450] RFC: Strengthen -fstrict-enums
Date: Mon, 25 Feb 2019 23:56: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: glisse 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-89450-4-lsdYBrjTtN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89450-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89450-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: 2019-02/txt/msg03549.txt.bz2
Content-length: 230

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89450

--- Comment #10 from Marc Glisse <glisse at gcc dot gnu.org> ---
I still think some __attribute__((exhaustive)) on an enum definition would be
useful for this sort of thing.
>From gcc-bugs-return-635248-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 00:03:50 2019
Return-Path: <gcc-bugs-return-635248-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53267 invoked by alias); 26 Feb 2019 00:03: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 53121 invoked by uid 48); 26 Feb 2019 00:03:46 -0000
From: "danglin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/64132] [7/8/9 Regression] FAIL: 22_locale/numpunct/members/char/3.cc execution test
Date: Tue, 26 Feb 2019 00:03:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: danglin at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-64132-4-IiIcwukBvY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64132-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64132-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: 2019-02/txt/msg03550.txt.bz2
Content-length: 492

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64132

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #14 from John David Anglin <danglin at gcc dot gnu.org> ---
This was fixed on trunk somewhere between r264889 and r265360.
>From gcc-bugs-return-635249-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 00:22:12 2019
Return-Path: <gcc-bugs-return-635249-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11306 invoked by alias); 26 Feb 2019 00:22: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 11237 invoked by uid 48); 26 Feb 2019 00:22:07 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89502] New: Error: can't encode segment `%fs' with 32-bit address
Date: Tue, 26 Feb 2019 00:22: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:
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 target_milestone cf_gcctarget
Message-ID: <bug-89502-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: 2019-02/txt/msg03551.txt.bz2
Content-length: 1720

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89502

            Bug ID: 89502
           Summary: Error: can't encode segment `%fs' with 32-bit address
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---
            Target: x32

[hjl@gnu-cfl-1 xx]$ cat x.i
typedef unsigned int uint32_t;
struct ctx
{
  uint32_t A;
};

void *
buffer_copy (const struct ctx *ctx, void *resbuf)
{
  uint32_t buffer[4];
  buffer[0] = (ctx->A);
  __builtin_memcpy (resbuf, buffer, sizeof (buffer));
  return resbuf;
}
[hjl@gnu-cfl-1 xx]$ make x.o
/export/build/gnu/tools-build/gcc-mmx-debug/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/tools-build/gcc-mmx-debug/build-x86_64-linux/gcc/
-fstack-protector-strong -O1 -frename-registers -mx32  -S x.i
/export/build/gnu/tools-build/gcc-mmx-debug/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/tools-build/gcc-mmx-debug/build-x86_64-linux/gcc/
-fstack-protector-strong -O1 -frename-registers -mx32  -c -o x.o x.s
x.s: Assembler messages:
x.s:11: Error: can't encode segment `%fs' with 32-bit address
x.s:18: Error: can't encode segment `%fs' with 32-bit address
make: *** [Makefile:21: x.o] Error 1
[hjl@gnu-cfl-1 xx]$ 

The problem is

        movl    %fs:(%edx), %ecx

In x32, we can't have 0x67 prefix (from %edx) with segment override
since final address will be

segment base + zero-extended (base + index * scale + disp)

Since assembler

https://sourceware.org/bugzilla/show_bug.cgi?id=24263

doesn't know %edx is always positive, it issues an error.
>From gcc-bugs-return-635250-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 00:32:57 2019
Return-Path: <gcc-bugs-return-635250-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99111 invoked by alias); 26 Feb 2019 00:32:56 -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 98855 invoked by uid 48); 26 Feb 2019 00:32:51 -0000
From: "demoonlit at panathenaia dot halfmoon.jp" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/81956] [7/8/9 regression] calling a null procedure is not skipped
Date: Tue, 26 Feb 2019 00:32: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: demoonlit at panathenaia dot halfmoon.jp
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81956-4-XwIJ9huZZF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81956-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81956-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: 2019-02/txt/msg03552.txt.bz2
Content-length: 194

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81956

--- Comment #3 from yuta tomino <demoonlit at panathenaia dot halfmoon.jp> ---
I'm trying gcc-8.3. This is probably fixed in 8.x.
Thanks.
>From gcc-bugs-return-635251-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 00:43:31 2019
Return-Path: <gcc-bugs-return-635251-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10432 invoked by alias); 26 Feb 2019 00:43: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 10252 invoked by uid 48); 26 Feb 2019 00:43:25 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89502] Error: can't encode segment `%fs' with 32-bit address
Date: Tue, 26 Feb 2019 00:43: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:
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-89502-4-2cSUIU3LWG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89502-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89502-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: 2019-02/txt/msg03553.txt.bz2
Content-length: 778

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89502

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-26
                 CC|                            |ubizjak at gmail dot com
     Ever confirmed|0                           |1

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
We should do

        movl    $24, %edx
        movl    %fs:(%rdx), %ecx

instead of

        movl    $24, %edx
        movl    %fs:(%edx), %ecx

Ever better, we can use UNSPEC_TP to handle it:

        movl    %fs:24, %ecx

to save a register.
>From gcc-bugs-return-635252-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 00:57:20 2019
Return-Path: <gcc-bugs-return-635252-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24849 invoked by alias); 26 Feb 2019 00:57:19 -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 24737 invoked by uid 48); 26 Feb 2019 00:57:15 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88987] [9 Regression] ICE: unexpected expression '(bool)sm' of kind implicit_conv_expr
Date: Tue, 26 Feb 2019 00: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: error-recovery, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-88987-4-Af7dr4muoI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88987-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88987-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: 2019-02/txt/msg03554.txt.bz2
Content-length: 471

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88987

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |paolo.carlini at oracle dot com

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Mine.
>From gcc-bugs-return-635253-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 01:26:17 2019
Return-Path: <gcc-bugs-return-635253-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77008 invoked by alias); 26 Feb 2019 01:26: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 76908 invoked by uid 48); 26 Feb 2019 01:26:13 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89502] Error: can't encode segment `%fs' with 32-bit address
Date: Tue, 26 Feb 2019 01:26: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:
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89502-4-kqwYs1rB6G@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89502-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89502-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: 2019-02/txt/msg03555.txt.bz2
Content-length: 278

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89502

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to H.J. Lu from comment #1)
> 
> Ever better, we can use UNSPEC_TP to handle it:
> 
> 	movl	%fs:24, %ecx
> 

This is how TCB is accessed in glibc.
>From gcc-bugs-return-635254-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 01:33:18 2019
Return-Path: <gcc-bugs-return-635254-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97704 invoked by alias); 26 Feb 2019 01:33: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 97620 invoked by uid 48); 26 Feb 2019 01:33:14 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Tue, 26 Feb 2019 01: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: amodra at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on target_milestone everconfirmed
Message-ID: <bug-89490-4-3VHtcnlwyr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03556.txt.bz2
Content-length: 502

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|2019-02-25 00:00:00         |2019-02-26
   Target Milestone|---                         |9.0
     Ever confirmed|0                           |1
>From gcc-bugs-return-635255-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 02:03:38 2019
Return-Path: <gcc-bugs-return-635255-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76537 invoked by alias); 26 Feb 2019 02:03: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 75982 invoked by uid 48); 26 Feb 2019 02:03:32 -0000
From: "amker at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89487] [8/9 Regression] ICE in expand_expr_addr_expr_1, at expr.c:7993
Date: Tue, 26 Feb 2019 02:03: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: amker at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: amker at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: assigned_to
Message-ID: <bug-89487-4-x9b6G2FJLI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89487-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89487-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: 2019-02/txt/msg03557.txt.bz2
Content-length: 435

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89487

bin cheng <amker at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |amker at gcc dot gnu.org

--- Comment #4 from bin cheng <amker at gcc dot gnu.org> ---
Sorry for the breakage, I will investigate this.  Thanks
>From gcc-bugs-return-635256-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 02:34:04 2019
Return-Path: <gcc-bugs-return-635256-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57775 invoked by alias); 26 Feb 2019 02:34: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 57641 invoked by uid 55); 26 Feb 2019 02:33:59 -0000
From: "sandra at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/80409] Document that va_arg(ap, void*) can be used to consume any pointer argument
Date: Tue, 26 Feb 2019 02:34: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: unknown
X-Bugzilla-Keywords: documentation, easyhack
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sandra 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-80409-4-QPmXx5uJi0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80409-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80409-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: 2019-02/txt/msg03558.txt.bz2
Content-length: 464

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80409

--- Comment #5 from sandra at gcc dot gnu.org ---
Author: sandra
Date: Tue Feb 26 02:33:26 2019
New Revision: 269203

URL: https://gcc.gnu.org/viewcvs?rev=269203&root=gcc&view=rev
Log:
2019-02-25  Sandra Loosemore  <sandra@codesourcery.com>

        PR c/80409

        gcc/
        * doc/extend.texi (Variadic Pointer Args): New section.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/doc/extend.texi
>From gcc-bugs-return-635257-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 02:37:02 2019
Return-Path: <gcc-bugs-return-635257-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65676 invoked by alias); 26 Feb 2019 02:37: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 65499 invoked by uid 48); 26 Feb 2019 02:36:58 -0000
From: "sandra at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/80409] Document that va_arg(ap, void*) can be used to consume any pointer argument
Date: Tue, 26 Feb 2019 02:37: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: unknown
X-Bugzilla-Keywords: documentation, easyhack
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sandra at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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 cc resolution
Message-ID: <bug-80409-4-yJAtjUTfg3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80409-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80409-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: 2019-02/txt/msg03559.txt.bz2
Content-length: 477

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80409

sandra at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |sandra at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #6 from sandra at gcc dot gnu.org ---
Fixed on trunk.
>From gcc-bugs-return-635258-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 05:36:59 2019
Return-Path: <gcc-bugs-return-635258-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64369 invoked by alias); 26 Feb 2019 05:36: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 64251 invoked by uid 48); 26 Feb 2019 05:36:54 -0000
From: "linkw at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/80791] [8/9 regression] test case gcc.dg/sms-1.c fail2 starting with r247885
Date: Tue, 26 Feb 2019 05:36: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: 8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: linkw 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-80791-4-vDjg4g5HzG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80791-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80791-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: 2019-02/txt/msg03560.txt.bz2
Content-length: 2420

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80791

--- Comment #22 from Kewen Lin <linkw at gcc dot gnu.org> ---
As the discussion above, on Power any IV should have an extend (sign/zero) if
its width is less than the GPR width (POINTER_SIZE equivalent here). Although
we don't model this precisely on Power, in most cases it's trivial since we
have TYPE_PRECISION check for those inconsistent width uses, extra cost will be
added, the IV is still the one we prefer even with extension consideration in
cost modeling, that is, considering extension or not doesn't affect the result.

In this case, we have one GENERIC use and one CMP use. Cand 4 was chosen as the
best, but later RTL opts can eliminate CMP use by using counter register for
the loop closing, it means we don't need to consider CMP use in ivopts phase.
Since there is no any uses for 32bit IV, the extension cost can NOT be covered
(ignored) as usual.

The cost for GENERIC use looks like [cand $index ($iv_cost + $comp_cost)]:
  1) without considering extension cost, cand 4 (4 + 4) vs. cand 6 (5 + 0) 
  2) with considering extension cost, cand 4 (8 + 4) vs. cand 6 (9 + 0)
Since cand 6 can't be used for CMP use, so if we still need to consider CMP,
cand 4 is always selected, the cost would be larger introducing cand 6. 
But if can predict CMP is useless and model extension, the cost would be: cand
4 (8 + 4) vs. cand 6 (9 + 0). Cand 6 is better.

I did some hacks locally and it works. But the most tricky and hardest part
would be how to predict CMP will be optimized away with CTR eventually, 
the correctness of predict is more important. It looks better to think about
the simplest case first. The proposed idea is that:
  1) one target specific hook/flag to enable this adjust
  2) one target specific predict function to determine the loop can benefit
do_loop CTR transformation (like innermost loop, no calls, niter determined
etc.)
  3) check only one CMP with biv after find_interesting_uses, biv's width <
POINTER_SIZE, remove the group
  4) mark the biv preserved to avoid to be removed in remove_unused_ivs
  5) adjust determine_iv_cost for those IVs which require extension (optinal,
for this case, it's not necessary but probably good as more precise modeling)

Hi All,

I'm a new comer to gcc and not sure the above idea is practical enough, could
you kindly give me some comments and suggestion?
>From gcc-bugs-return-635259-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 06:39:22 2019
Return-Path: <gcc-bugs-return-635259-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58919 invoked by alias); 26 Feb 2019 06:39: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 58806 invoked by uid 48); 26 Feb 2019 06:39:17 -0000
From: "pkubaj at anongoth dot pl" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/86535] FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails
Date: Tue, 26 Feb 2019 06:39: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: 7.3.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pkubaj at anongoth dot pl
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-86535-4-3wtaNBn5xn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86535-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86535-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: 2019-02/txt/msg03561.txt.bz2
Content-length: 5182

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535

Piotr Kubaj <pkubaj at anongoth dot pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pkubaj at anongoth dot pl

--- Comment #13 from Piotr Kubaj <pkubaj at anongoth dot pl> ---
I have similar errors when building GCC 9:
/usr/local/poudriere/ports/default/lang/gcc9-devel/work/gcc-9-20190217/libgo/go/runtime/cpuprof.go:73:26:
error: reference to undefined name 'nanotime'
   73 |   cpuprof.log.write(nil, nanotime(), hdr[:], nil)
      |                          ^
/usr/local/poudriere/ports/default/lang/gcc9-devel/work/gcc-9-20190217/libgo/go/runtime/cpuprof.go:105:33:
error: reference to undefined name 'nanotime'
  105 |   cpuprof.log.write(&gp.labels, nanotime(), hdr[:], stk)
      |                                 ^
/usr/local/poudriere/ports/default/lang/gcc9-devel/work/gcc-9-20190217/libgo/go/runtime/lock_futex.go:199:14:
error: reference to undefined name 'nanotime'
  199 |  deadline := nanotime() + ns
      |              ^
/usr/local/poudriere/ports/default/lang/gcc9-devel/work/gcc-9-20190217/libgo/go/runtime/lock_futex.go:213:10:
error: reference to undefined name 'nanotime'
  213 |   now := nanotime()
      |          ^
/usr/local/poudriere/ports/default/lang/gcc9-devel/work/gcc-9-20190217/libgo/go/runtime/mgc.go:591:20:
error: reference to undefined name 'nanotime'
  591 |  assistDuration := nanotime() - c.markStartTime
      |                    ^
/usr/local/poudriere/ports/default/lang/gcc9-devel/work/gcc-9-20190217/libgo/go/runtime/mgc.go:721:12:
error: reference to undefined name 'nanotime'
  721 |   delta := nanotime() - gcController.markStartTime
      |            ^
/usr/local/poudriere/ports/default/lang/gcc9-devel/work/gcc-9-20190217/libgo/go/runtime/mgc.go:745:9:
error: reference to undefined name 'nanotime'
  745 |  now := nanotime()
      |         ^
/usr/local/poudriere/ports/default/lang/gcc9-devel/work/gcc-9-20190217/libgo/go/runtime/mgc.go:1279:9:
error: reference to undefined name 'nanotime'
 1279 |  now := nanotime()
      |         ^
/usr/local/poudriere/ports/default/lang/gcc9-devel/work/gcc-9-20190217/libgo/go/runtime/mgc.go:1492:9:
error: reference to undefined name 'nanotime'
 1492 |  now := nanotime()
      |         ^
/usr/local/poudriere/ports/default/lang/gcc9-devel/work/gcc-9-20190217/libgo/go/runtime/mgc.go:1591:15:
error: reference to undefined name 'nanotime'
 1591 |  startTime := nanotime()
      |               ^
/usr/local/poudriere/ports/default/lang/gcc9-devel/work/gcc-9-20190217/libgo/go/runtime/mgc.go:1656:9:
error: reference to undefined name 'nanotime'
 1656 |  now := nanotime()
      |         ^
/usr/local/poudriere/ports/default/lang/gcc9-devel/work/gcc-9-20190217/libgo/go/runtime/mgc.go:1882:16:
error: reference to undefined name 'nanotime'
 1882 |   startTime := nanotime()
      |                ^
/usr/local/poudriere/ports/default/lang/gcc9-devel/work/gcc-9-20190217/libgo/go/runtime/mgc.go:1933:15:
error: reference to undefined name 'nanotime'
 1933 |   duration := nanotime() - startTime
      |               ^
/usr/local/poudriere/ports/default/lang/gcc9-devel/work/gcc-9-20190217/libgo/go/runtime/mgcmark.go:437:15:
error: reference to undefined name 'nanotime'
  437 |  startTime := nanotime()
      |               ^
/usr/local/poudriere/ports/default/lang/gcc9-devel/work/gcc-9-20190217/libgo/go/runtime/mgcmark.go:480:14:
error: reference to undefined name 'nanotime'
  480 |  duration := nanotime() - startTime
      |              ^
/usr/local/poudriere/ports/default/lang/gcc9-devel/work/gcc-9-20190217/libgo/go/runtime/mheap.go:1215:19:
error: reference to undefined name 'nanotime'
 1215 |   s.unusedsince = nanotime()
      |                   ^
/usr/local/poudriere/ports/default/lang/gcc9-devel/work/gcc-9-20190217/libgo/go/runtime/netpoll.go:220:8:
error: reference to undefined name 'nanotime'
  220 |   d += nanotime()
      |        ^
/usr/local/poudriere/ports/default/lang/gcc9-devel/work/gcc-9-20190217/libgo/go/runtime/os_freebsd.go:18:19:
error: reference to undefined name '_CTL_HW'
   18 |  mib := [2]uint32{_CTL_HW, _HW_PAGESIZE}
      |                   ^
/usr/local/poudriere/ports/default/lang/gcc9-devel/work/gcc-9-20190217/libgo/go/runtime/os_freebsd.go:18:28:
error: reference to undefined name '_HW_PAGESIZE'
   18 |  mib := [2]uint32{_CTL_HW, _HW_PAGESIZE}
      |                            ^
/usr/local/poudriere/ports/default/lang/gcc9-devel/work/gcc-9-20190217/libgo/go/runtime/os_freebsd.go:21:9:
error: reference to undefined name 'sysctl'
   21 |  ret := sysctl(&mib[0], 2, (*byte)(unsafe.Pointer(&out)), &nout, nil,
0)
      |         ^
/usr/local/poudriere/ports/default/lang/gcc9-devel/work/gcc-9-20190217/libgo/go/runtime/os_freebsd.go:15:75:
error: use of undefined type 'umtx_time'
   15 | func sys_umtx_op(addr *uint32, mode int32, val uint32, uaddr1 uinptr,
ts *umtx_time) int32

There are more of those errors, all are related to timekeeping.
>From gcc-bugs-return-635260-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 07:04:55 2019
Return-Path: <gcc-bugs-return-635260-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127391 invoked by alias); 26 Feb 2019 07:04: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 123824 invoked by uid 48); 26 Feb 2019 07:04:49 -0000
From: "pkubaj at anongoth dot pl" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/89494] Bootstrap error when using GCC 4.2.1
Date: Tue, 26 Feb 2019 07:04: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: pkubaj at anongoth dot pl
X-Bugzilla-Status: WAITING
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-89494-4-tPCwWPiCix@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89494-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89494-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: 2019-02/txt/msg03562.txt.bz2
Content-length: 2329

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89494

--- Comment #2 from Piotr Kubaj <pkubaj at anongoth dot pl> ---
I compile from FreeBSD ports tree (just change the port's Makefile not to use
external (newer) GCC, but the in-base 4.2.1), so it adds some environment
variables.

/usr/bin/env CC="g
cc6" CPP="cpp6" CXX="g++6"  CFLAGS="-O2 -pipe  -DLIBICONV_PLUG
-fno-strict-aliasing " CPPFLAGS="-DLIBICONV_PLUG" CXXFLAGS="-O2 -pipe 
-DLIBICONV_PLUG  -DLIBICONV_PLUG "  LDFLAGS=" " LIBS="" 
INSTALL="/usr/bin/install -c"  INSTALL_DATA="install  -m 0644" 
INSTALL_LIB="install  -s -m 0644"  INSTALL_PROGRAM="install  -s -m 555" 
INSTALL_SCRIPT="install  -m 555"  MAKE=gmake
ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl 
PERL_USE_UNSAFE_INC=1 UNAME_m="powerpc64"
XDG_DATA_HOME=/usr/local/poudriere/ports/default/lang/gcc9-devel/work 
XDG_CONFIG_HOME=/usr/local/poudriere/ports/default/lang/gcc9-devel/work 
HOME=/usr/local/poudriere/ports/default/lang/gcc9-devel/work
PATH=/usr/local/poudriere/ports/default/lang/gcc9-devel/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
SHELL=/bin/sh CONFIG_SHELL=/bin/sh ADDR2LINE="/usr/local/bin/addr2line"
AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt"
GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm"
OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump"
RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf"
SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings"
CONFIG_SITE=/usr/local/poudriere/ports/default/Templates/config.site
lt_cv_sys_max_cmd_len=262144
/usr/local/poudriere/ports/default/lang/gcc9-devel/work/gcc-9-20190217/configure
--enable-multilib --with-build-config=bootstrap-debug --disable-nls 
--enable-gnu-indirect-function  --libdir=/usr/local/lib/gcc9 
--libexecdir=/usr/local/libexec/gcc9  --program-suffix=9 
--with-as=/usr/local/bin/as  --with-gmp=/usr/local 
--with-gxx-include-dir=/usr/local/lib/gcc9/include/c++/ 
--with-ld=/usr/local/bin/ld    --with-pkgversion="FreeBSD Ports Collection" 
--with-system-zlib --enable-languages=c,c++,objc,fortran --prefix=/usr/local
>From gcc-bugs-return-635261-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 07:05:42 2019
Return-Path: <gcc-bugs-return-635261-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16997 invoked by alias); 26 Feb 2019 07:05:41 -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 16757 invoked by uid 48); 26 Feb 2019 07:05:36 -0000
From: "pkubaj at anongoth dot pl" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/89494] Bootstrap error when using GCC 4.2.1
Date: Tue, 26 Feb 2019 07:05: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: pkubaj at anongoth dot pl
X-Bugzilla-Status: WAITING
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-89494-4-MVRzSWxuc7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89494-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89494-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: 2019-02/txt/msg03563.txt.bz2
Content-length: 1598

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89494

--- Comment #3 from Piotr Kubaj <pkubaj at anongoth dot pl> ---
Make is executed with:
/usr/bin/env PERL_USE_UNSAFE_INC=1
XDG_DATA_HOME=/usr/local/poudriere/ports/default/lang/gcc9-devel/work 
XDG_CONFIG_HOME=/usr/local/poudriere/ports/default/lang/gcc9-devel/work 
HOME=/usr/local/poudriere/ports/default/lang/gcc9-devel/work
PATH=/usr/local/poudriere/ports/default/lang/gcc9-devel/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES
ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar"
AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt"
GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm"
OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump"
RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf"
SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local 
LOCALBASE=/usr/local CC="gcc6" CFLAGS="-O2 -pipe  -DLIBICONV_PLUG
-fno-strict-aliasing "  CPP="cpp6" CPPFLAGS="-DLIBICONV_PLUG"  LDFLAGS=" "
LIBS=""  CXX="g++6" CXXFLAGS="-O2 -pipe  -DLIBICONV_PLUG  -DLIBICONV_PLUG " 
MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555" 
BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555" 
BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444" gmake -f
Makefile -j16 MAKEINFOFLAGS="--no-split" bootstrap-lean
>From gcc-bugs-return-635262-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 07:08:52 2019
Return-Path: <gcc-bugs-return-635262-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23226 invoked by alias); 26 Feb 2019 07:08:52 -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 23067 invoked by uid 48); 26 Feb 2019 07:08:47 -0000
From: "pkubaj at anongoth dot pl" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/89494] Bootstrap error when using GCC 4.2.1
Date: Tue, 26 Feb 2019 07:08: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: pkubaj at anongoth dot pl
X-Bugzilla-Status: WAITING
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-89494-4-DIQChWnawv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89494-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89494-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: 2019-02/txt/msg03564.txt.bz2
Content-length: 3762

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89494

--- Comment #4 from Piotr Kubaj <pkubaj at anongoth dot pl> ---
Sorry, that was for a build with GCC 6. A build with GCC 4.2.1 is done with the
following.

Configure:
/usr/bin/env CC="cc" CPP="cpp" CXX="c++"  CFLAGS="-O2 -pipe  -DLIBICONV_PLUG
-fno-strict-aliasing " CPPFLAGS="-DLIBICONV_PLUG" CXXFLAGS="-O2 -pipe
-DLIBICONV_PLUG -fno-strict-aliasing  -DLIBICONV_PLUG "  LDFLAGS=" " LIBS="" 
INSTALL="/usr/bin/install -c"  INSTALL_DATA="install  -m 0644" 
INSTALL_LIB="install  -s -m 0644"  INSTALL_PROGRAM="install  -s -m 555" 
INSTALL_SCRIPT="install  -m 555"  MAKE=gmake
ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl 
PERL_USE_UNSAFE_INC=1 UNAME_m="powerpc64"
XDG_DATA_HOME=/usr/local/poudriere/ports/default/lang/gcc9-devel/work 
XDG_CONFIG_HOME=/usr/local/poudriere/ports/default/lang/gcc9-devel/work 
HOME=/usr/local/poudriere/ports/default/lang/gcc9-devel/work
PATH=/usr/local/poudriere/ports/default/lang/gcc9-devel/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
SHELL=/bin/sh CONFIG_SHELL=/bin/sh ADDR2LINE="/usr/local/bin/addr2line"
AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt"
GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm"
OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump"
RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf"
SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings"
CONFIG_SITE=/usr/local/poudriere/ports/default/Templates/config.site
lt_cv_sys_max_cmd_len=262144
/usr/local/poudriere/ports/default/lang/gcc9-devel/work/gcc-9-20190217/configure
--enable-multilib --with-build-config=bootstrap-debug --disable-nls 
--enable-gnu-indirect-function  --libdir=/usr/local/lib/gcc9 
--libexecdir=/usr/local/libexec/gcc9  --program-suffix=9 
--with-as=/usr/local/bin/as  --with-gmp=/usr/local 
--with-gxx-include-dir=/usr/local/lib/gcc9/include/c++/ 
--with-ld=/usr/local/bin/ld    --with-pkgversion="FreeBSD Ports Collection" 
--with-system-zlib --enable-languages=c,c++,objc,fortran --prefix=/usr/local

Make:
/usr/bin/env PERL_USE_UNSAFE_INC=1
XDG_DATA_HOME=/usr/local/poudriere/ports/default/lang/gcc9-devel/work 
XDG_CONFIG_HOME=/usr/local/poudriere/ports/default/lang/gcc9-devel/work 
HOME=/usr/local/poudriere/ports/default/lang/gcc9-devel/work
PATH=/usr/local/poudriere/ports/default/lang/gcc9-devel/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES
ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar"
AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt"
GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm"
OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump"
RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf"
SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local 
LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe  -DLIBICONV_PLUG
-fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG"  LDFLAGS=" "
LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fno-strict-aliasing 
-DLIBICONV_PLUG "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m
555" BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m
555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
gmake -f Makefile -j16 MAKEINFOFLAGS="--no-split" bootstrap-lean
>From gcc-bugs-return-635263-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 07:22:08 2019
Return-Path: <gcc-bugs-return-635263-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90083 invoked by alias); 26 Feb 2019 07:22: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 89885 invoked by uid 48); 26 Feb 2019 07:22:04 -0000
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Tue, 26 Feb 2019 07:22: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: bernd.edlinger at hotmail dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89490-4-IYs2jFDwsb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03565.txt.bz2
Content-length: 1001

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

--- Comment #7 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
(In reply to Alan Modra from comment #6)
> The zero bytes are added by the -fsection-anchors code.  They used to align
> the next object.  Now, the number of zero bytes is wrong (in cases where we
> used to have an unterminated string), *and* gcc's calculation of the offset
> to the object within the section-anchor block is wrong.  
> 
> Misaligned strings will mean poorer performance on some targets. 
> Miscalculating the offset will result in wrong-code errors when it results
> in too many objects being placed into a block.

Well, I see, the alignment is not right, but even if the strings
are near to each other, they will be moved to other segments,
if the string constant was already used in another module.

Are there cases where the string constants need to be near the
section anchor, what is that and how does it look like in an assembly file?
>From gcc-bugs-return-635264-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 07:56:26 2019
Return-Path: <gcc-bugs-return-635264-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60357 invoked by alias); 26 Feb 2019 07:56:26 -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 60172 invoked by uid 48); 26 Feb 2019 07:56:22 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Tue, 26 Feb 2019 07:56: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89490-4-9lq5VRyP6I@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03566.txt.bz2
Content-length: 926

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Bernd Edlinger from comment #5)
> Adding zero bytes after each string constant makes no sense IMHO,
> since the linker will merge the constants, and so aligning the
> constants with .zero does probably not work, but the should be
> benign, except for that the alignment of the string constants.

The linker string merging code is not working with the asm directives, it
doesn't really care what part of the string comes from .string or .ascii and
what part comes from .zero directives.  And, what do you find wrong on the
alignment?
The section name indicates 8 byte alignment and .align 3 directive (which is
like .balign 8 on this target) says the alignment of the strings is 8 byte, so
all the strings (including a single terminating '\0') must be padded to
multiples of 8 bytes by zeros.
>From gcc-bugs-return-635265-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 08:12:58 2019
Return-Path: <gcc-bugs-return-635265-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93717 invoked by alias); 26 Feb 2019 08:12: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 93609 invoked by uid 55); 26 Feb 2019 08:12:54 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/81956] [7/8/9 regression] calling a null procedure is not skipped
Date: Tue, 26 Feb 2019 08:12: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: 7.2.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: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-81956-4-me4zQ952zo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81956-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81956-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: 2019-02/txt/msg03567.txt.bz2
Content-length: 884

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81956

--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Tue Feb 26 08:12:21 2019
New Revision: 269205

URL: https://gcc.gnu.org/viewcvs?rev=269205&root=gcc&view=rev
Log:
        PR ada/81956
        Backport from mainline
        2017-09-06  Ed Schonberg  <schonberg@adacore.com>

        * exp_ch6.adb (Expand_Call_Helper): Do not optimize calls to
        null procedures when GNAT coverage is used, so that their (empty)
        bodies are properly covered.

        2017-09-06  Ed Schonberg  <schonberg@adacore.com>

        * exp_ch6.adb (Expand_Call_Helper): Replace call to null
        procedure by a single null statement, after evaluating the
        actuals that require it.

Modified:
    branches/gcc-7-branch/gcc/ada/ChangeLog
    branches/gcc-7-branch/gcc/ada/exp_ch6.adb
>From gcc-bugs-return-635266-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 08:14:31 2019
Return-Path: <gcc-bugs-return-635266-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99794 invoked by alias); 26 Feb 2019 08:14: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 99684 invoked by uid 48); 26 Feb 2019 08:14:27 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/81956] [7 regression] call to null procedure not optimized away
Date: Tue, 26 Feb 2019 08:14: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: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution assigned_to short_desc
Message-ID: <bug-81956-4-S2CsLtOfaI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-81956-4@http.gcc.gnu.org/bugzilla/>
References: <bug-81956-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: 2019-02/txt/msg03568.txt.bz2
Content-length: 748

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81956

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
           Assignee|unassigned at gcc dot gnu.org      |ebotcazou at gcc dot gnu.org
            Summary|[7/8/9 regression] calling  |[7 regression] call to null
                   |a null procedure is not     |procedure not optimized
                   |skipped                     |away

--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Fixed in 7.5 and later releases.
>From gcc-bugs-return-635267-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 08:22:57 2019
Return-Path: <gcc-bugs-return-635267-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37763 invoked by alias); 26 Feb 2019 08:22:56 -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 37712 invoked by uid 48); 26 Feb 2019 08:22:52 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89496] [9 Regression] gcc/fortran/trans-types.c:3015:9: runtime error: member access within null pointer of type 'struct gfc_formal_arglist'
Date: Tue, 26 Feb 2019 08:22: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: marxin at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89496-4-CvAN7NQsD8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89496-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89496-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: 2019-02/txt/msg03569.txt.bz2
Content-length: 1474

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89496

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Thomas Koenig from comment #2)
> This looks pretty obvious to me, at least looking at the
> -fdump-fortran-original dump.  I will try to come up with
> a test case.
> 
> Would it be possible to check that this also fixes the
> nullpointer offset access?
> 
> Index: trans-types.c
> ===================================================================
> --- trans-types.c       (Revision 269161)
> +++ trans-types.c       (Arbeitskopie)
> @@ -2988,9 +2988,9 @@
>    f = &sym->formal;
>    for (a = actual_args; a != NULL; a = a->next)
>      {
> +      (*f) = gfc_get_formal_arglist ();
>        if (a->expr)
>         {
> -         (*f) = gfc_get_formal_arglist ();
>           snprintf (name, GFC_MAX_SYMBOL_LEN, "_formal_%d", var_num ++);
>           gfc_get_symbol (name, NULL, &s);
>           if (a->expr->ts.type == BT_PROCEDURE)
> @@ -3012,6 +3012,9 @@
>           s->attr.intent = INTENT_UNKNOWN;
>           (*f)->sym = s;
>         }
> +      else
> +       (*f)->sym = NULL;
> +
>        f = &((*f)->next);
>      }
>  }

I can confirm this works fine for the test-case as well as for
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89496#c3
Thanks for the fix.
>From gcc-bugs-return-635268-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 08:36:10 2019
Return-Path: <gcc-bugs-return-635268-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127716 invoked by alias); 26 Feb 2019 08:36: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 127619 invoked by uid 48); 26 Feb 2019 08:36:05 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89448] Failure to generate diagnostic for "complex int" (OK for "_Complex int")
Date: Tue, 26 Feb 2019 08:36: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: diagnostic
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-89448-4-kxEi92lyly@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89448-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89448-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: 2019-02/txt/msg03570.txt.bz2
Content-length: 127

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89448

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Yes.
>From gcc-bugs-return-635269-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 08:37:19 2019
Return-Path: <gcc-bugs-return-635269-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130829 invoked by alias); 26 Feb 2019 08:37:19 -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 130717 invoked by uid 48); 26 Feb 2019 08:37:15 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89455] [9 Regression] FAIL: g++.target/i386/mv16.C on Westmere
Date: Tue, 26 Feb 2019 08:37: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:
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: target_milestone
Message-ID: <bug-89455-4-ilBU2nx9o0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89455-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89455-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: 2019-02/txt/msg03571.txt.bz2
Content-length: 293

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89455

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |9.0
>From gcc-bugs-return-635270-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 08:42:41 2019
Return-Path: <gcc-bugs-return-635270-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48229 invoked by alias); 26 Feb 2019 08:42: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 45973 invoked by uid 48); 26 Feb 2019 08:42:36 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89458] adding aligned attribute to struct causes too much to be copied
Date: Tue, 26 Feb 2019 08: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: 8.2.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc component everconfirmed
Message-ID: <bug-89458-4-ZmQNhFfejA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89458-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89458-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: 2019-02/txt/msg03572.txt.bz2
Content-length: 941

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89458

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-26
                 CC|                            |jason at gcc dot gnu.org
          Component|other                       |c++
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
The issue is that sizeof(Obj) is 256.  But yes, the padding at the end of the
object need not be copied.  Thus this is a missed optimization (I'm not sure we
actually store the "original" size anywhere though).  Maybe the FE could
use the classtype-as-base type here?
>From gcc-bugs-return-635271-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 08:43:16 2019
Return-Path: <gcc-bugs-return-635271-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58295 invoked by alias); 26 Feb 2019 08:43: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 56466 invoked by uid 48); 26 Feb 2019 08:43:11 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libquadmath/89459] Incorrect rounding for fma in some cases
Date: Tue, 26 Feb 2019 08:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libquadmath
X-Bugzilla-Version: 6.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-89459-4-vixOV97wRq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89459-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89459-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: 2019-02/txt/msg03573.txt.bz2
Content-length: 408

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89459

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2019-02-26
     Ever confirmed|0                           |1
>From gcc-bugs-return-635272-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 08:46:14 2019
Return-Path: <gcc-bugs-return-635272-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122674 invoked by alias); 26 Feb 2019 08:46: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 120459 invoked by uid 48); 26 Feb 2019 08:46:09 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89497] [8 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled
Date: Tue, 26 Feb 2019 08:46: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.3.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on assigned_to short_desc everconfirmed cf_known_to_fail
Message-ID: <bug-89497-4-FM03vCTp8s@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89497-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89497-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: 2019-02/txt/msg03574.txt.bz2
Content-length: 1018

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-26
           Assignee|unassigned at gcc dot gnu.org      |marxin at gcc dot gnu.org
            Summary|[8.2 regression] ICE caused |[8 Regression] ICE caused
                   |by Segmentation Fault when  |by Segmentation Fault when
                   |compiling cups 2.2.10 with  |compiling cups 2.2.10 with
                   |LTO flags enabled           |LTO flags enabled
     Ever confirmed|0                           |1
      Known to fail|                            |8.3.0

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, investigating right now.
>From gcc-bugs-return-635273-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 08:48:57 2019
Return-Path: <gcc-bugs-return-635273-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58139 invoked by alias); 26 Feb 2019 08:48:56 -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 42606 invoked by uid 48); 26 Feb 2019 08:48:41 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/89463] debug information for iteractor of an empty loop is gone (at -O3)
Date: Tue, 26 Feb 2019 08:48:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: wrong-debug
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 version everconfirmed bug_severity
Message-ID: <bug-89463-4-mL19pqVAkQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89463-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89463-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: 2019-02/txt/msg03575.txt.bz2
Content-length: 1441

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89463

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-debug
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-26
            Version|unknown                     |9.0
     Ever confirmed|0                           |1
           Severity|enhancement                 |normal

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
stmt removal should generate a # DEBUG i = NULL note but eventually removal
inside a CFG cycle is awkward enough that this doesn't work reliably.  In
fact we seem to get an extra = 0 note, likely from the attempt to generate
a i => i_5 one.

--- t.i.036t.dse1       2019-02-26 09:46:03.325257454 +0100
+++ t.i.037t.cddce1     2019-02-26 09:46:03.329257503 +0100
...
@@ -24,22 +52,10 @@
   if (a.1_3 <= 9)
     goto <bb 3>; [INV]
   else
-    goto <bb 6>; [INV]
-
-  <bb 5> :
-  # DEBUG BEGIN_STMT
-  i_11 = i_5 + 1;
-  # DEBUG i => i_11
-
-  <bb 6> :
-  # i_5 = PHI <i_11(5), 0(4)>
-  # DEBUG i => i_5
-  if (i_5 != 6)
     goto <bb 5>; [INV]
-  else
-    goto <bb 7>; [INV]

-  <bb 7> :
+  <bb 5> :
+  # DEBUG i => 0
   # DEBUG BEGIN_STMT
   optimize_me_not ();
   return 0;
>From gcc-bugs-return-635274-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 08:49:18 2019
Return-Path: <gcc-bugs-return-635274-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69829 invoked by alias); 26 Feb 2019 08:49:18 -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 69615 invoked by uid 48); 26 Feb 2019 08:49:13 -0000
From: "tschwinge at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89503] New: Checking ICE in 'gcc.dg/warn-strlen-no-nul.c'
Date: Tue, 26 Feb 2019 08:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: ice-checking, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tschwinge 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 cf_gccbuild
Message-ID: <bug-89503-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: 2019-02/txt/msg03576.txt.bz2
Content-length: 4721

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89503

            Bug ID: 89503
           Summary: Checking ICE in 'gcc.dg/warn-strlen-no-nul.c'
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: ice-checking, ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tschwinge at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu
             Build: x86_64-pc-linux-gnu

Comparing a '--enable-checking=yes' build with a
'--enable-checking=yes,extra,df,fold,rtl' build of r269110 (but this started
earlier, but can't tell exactly when), I see:

    [-PASS:-]{+FAIL:+} gcc.dg/warn-strlen-no-nul.c  (test for warnings, line
100)
    [-PASS:-]{+FAIL:+} gcc.dg/warn-strlen-no-nul.c  (test for warnings, line
101)
    [-PASS:-]{+FAIL:+} gcc.dg/warn-strlen-no-nul.c  (test for warnings, line
103)
    [...]
    [-PASS:-]{+FAIL:+} gcc.dg/warn-strlen-no-nul.c  (test for warnings, line
230)
    [-PASS:-]{+FAIL:+} gcc.dg/warn-strlen-no-nul.c  (test for warnings, line
231)
    [-PASS:-]{+FAIL:+} gcc.dg/warn-strlen-no-nul.c  (test for warnings, line
232)
    PASS: gcc.dg/warn-strlen-no-nul.c  (test for warnings, line 26)
    [-PASS:-]{+FAIL:+} gcc.dg/warn-strlen-no-nul.c  (test for warnings, line
27)
    [-PASS:-]{+FAIL:+} gcc.dg/warn-strlen-no-nul.c  (test for warnings, line
276)
    [-PASS:-]{+FAIL:+} gcc.dg/warn-strlen-no-nul.c  (test for warnings, line
277)
    [...]
    [-PASS:-]{+FAIL:+} gcc.dg/warn-strlen-no-nul.c  (test for warnings, line
74)
    [-PASS:-]{+FAIL:+} gcc.dg/warn-strlen-no-nul.c  (test for warnings, line
75)
    [-PASS:-]{+FAIL:+} gcc.dg/warn-strlen-no-nul.c  (test for warnings, line
76)
    PASS: gcc.dg/warn-strlen-no-nul.c  (test for warnings, line 8)
    [-PASS:-]{+FAIL:+} gcc.dg/warn-strlen-no-nul.c  (test for warnings, line
81)
    [-PASS:-]{+FAIL:+} gcc.dg/warn-strlen-no-nul.c  (test for warnings, line
85)
    [-PASS:-]{+FAIL:+} gcc.dg/warn-strlen-no-nul.c  (test for warnings, line
92)
    [-PASS:-]{+FAIL:+} gcc.dg/warn-strlen-no-nul.c  (test for warnings, line
96)
    [-PASS:-]{+FAIL:+} gcc.dg/warn-strlen-no-nul.c  (test for warnings, line
98)
    [-PASS:-]{+FAIL:+} gcc.dg/warn-strlen-no-nul.c  (test for warnings, line
99)
    [-PASS:-]{+FAIL: gcc.dg/warn-strlen-no-nul.c (internal compiler error)+}
    {+FAIL:+} gcc.dg/warn-strlen-no-nul.c (test for excess errors)

    [...]/gcc/testsuite/gcc.dg/warn-strlen-no-nul.c: In function 'test_26':
    [...]/gcc/testsuite/gcc.dg/warn-strlen-no-nul.c:26:1: warning: 'strlen'
argument missing terminating nul [-Wstringop-overflow=]
    [...]/gcc/testsuite/gcc.dg/warn-strlen-no-nul.c:8:12: note: referenced
argument declared here
    [...]/gcc/testsuite/gcc.dg/warn-strlen-no-nul.c:26:1: internal compiler
error: fold check: original tree changed by fold
    0xc5ce8f fold_check_failed
            [...]/gcc/fold-const.c:12106
    0xc90d44 fold(tree_node*)
            [...]/gcc/fold-const.c:12083
    0xa4935e c_fully_fold_internal
            [...]/gcc/c/c-fold.c:626
    0xa4bb07 c_fully_fold(tree_node*, bool, bool*, bool)
            [...]/gcc/c/c-fold.c:125
    0xa123c7 convert_arguments
            [...]/gcc/c/c-typeck.c:3542
    0xa123c7 build_function_call_vec(unsigned int, vec<unsigned int, va_heap,
vl_ptr>, tree_node*, vec<tree_node*, va_gc, vl_embed>*, vec<tree_node*, va_gc,
vl_embed>*)
            [...]/gcc/c/c-typeck.c:3084
    0xa2ef11 c_parser_postfix_expression_after_primary
            [...]/gcc/c/c-parser.c:9591
    0xa207a1 c_parser_postfix_expression
            [...]/gcc/c/c-parser.c:9270
    0xa2a35f c_parser_unary_expression
            [...]/gcc/c/c-parser.c:7380
    0xa2b9cf c_parser_cast_expression
            [...]/gcc/c/c-parser.c:7222
    0xa2bc48 c_parser_binary_expression
            [...]/gcc/c/c-parser.c:7025
    0xa2cc15 c_parser_conditional_expression
            [...]/gcc/c/c-parser.c:6759
    0xa2d240 c_parser_expr_no_commas
            [...]/gcc/c/c-parser.c:6676
    0xa2d4a1 c_parser_expression
            [...]/gcc/c/c-parser.c:9727
    0xa2dbc7 c_parser_expression_conv
            [...]/gcc/c/c-parser.c:9760
    0xa3d17b c_parser_statement_after_labels
            [...]/gcc/c/c-parser.c:5610
    0xa3f27a c_parser_compound_statement_nostart
            [...]/gcc/c/c-parser.c:5148
    0xa3f808 c_parser_compound_statement
            [...]/gcc/c/c-parser.c:4982
    0xa40f12 c_parser_declaration_or_fndef
            [...]/gcc/c/c-parser.c:2354
    0xa47f6f c_parser_external_declaration
            [...]/gcc/c/c-parser.c:1653
>From gcc-bugs-return-635275-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 08:54:49 2019
Return-Path: <gcc-bugs-return-635275-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89813 invoked by alias); 26 Feb 2019 08:54: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 89675 invoked by uid 48); 26 Feb 2019 08:54:44 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/89472] FAIL: gcc.dg/debug/dwarf2/inline5.c scan-assembler-times DW_TAG_lexical_block\\)[^#/!@;\\|]*[#/!@;\\|]+ +[^#/!@\\|]*\\(DIE \\(0x[0-9a-f]*\\) DW_TAG_variable 1
Date: Tue, 26 Feb 2019 08:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89472-4-2OqGuG4I1p@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89472-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89472-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: 2019-02/txt/msg03577.txt.bz2
Content-length: 180

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89472

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Bah, another one.  A patch to XFAIL hppa is pre-approved.
>From gcc-bugs-return-635276-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 08:55:41 2019
Return-Path: <gcc-bugs-return-635276-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92017 invoked by alias); 26 Feb 2019 08:55: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 91907 invoked by uid 48); 26 Feb 2019 08:55:36 -0000
From: "tschwinge at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89504] New: Checking ICE in 'gcc.dg/rtl/x86_64/pro_and_epilogue.c'
Date: Tue, 26 Feb 2019 08:55: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-checking
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tschwinge 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 cf_gccbuild
Message-ID: <bug-89504-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: 2019-02/txt/msg03578.txt.bz2
Content-length: 1927

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89504

            Bug ID: 89504
           Summary: Checking ICE in 'gcc.dg/rtl/x86_64/pro_and_epilogue.c'
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: ice-checking
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tschwinge at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu
             Build: x86_64-pc-linux-gnu

Comparing a '--enable-checking=yes' build with a
'--enable-checking=yes,extra,df,fold,rtl' build of r269110 (but this started
much, much earlier, but can't tell exactly when), I see:

    [-PASS:-]{+FAIL: gcc.dg/rtl/x86_64/pro_and_epilogue.c (internal compiler
error)+}
    {+FAIL:+} gcc.dg/rtl/x86_64/pro_and_epilogue.c (test for excess errors)
    [-PASS:-]{+FAIL:+} gcc.dg/rtl/x86_64/pro_and_epilogue.c scan-rtl-dump-times
pro_and_epilogue "NOTE_INSN_PROLOGUE_END" 1
    [-PASS:-]{+FAIL:+} gcc.dg/rtl/x86_64/pro_and_epilogue.c scan-rtl-dump-times
pro_and_epilogue "simple_return" 2

    during RTL pass: pro_and_epilogue
    dump file: pro_and_epilogue.c.288r.pro_and_epilogue
    [...]/gcc/testsuite/gcc.dg/rtl/x86_64/pro_and_epilogue.c: In function
'test_1':
    [...]/gcc/testsuite/gcc.dg/rtl/x86_64/pro_and_epilogue.c:103:1: internal
compiler error: in df_scan_verify, at df-scan.c:4233
    0x5ffb7f df_scan_verify()
            [...]/gcc/df-scan.c:4233
    0xb729f8 df_verify()
            [...]/gcc/df-core.c:1817
    0xb72a87 df_analyze_1
            [...]/gcc/df-core.c:1213
    0xca4fb2 thread_prologue_and_epilogue_insns()
            [...]/gcc/function.c:5840
    0xca5872 rest_of_handle_thread_prologue_and_epilogue
            [...]/gcc/function.c:6342
    0xca5872 execute
            [...]/gcc/function.c:6384
>From gcc-bugs-return-635277-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 08:56:49 2019
Return-Path: <gcc-bugs-return-635277-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94442 invoked by alias); 26 Feb 2019 08:56: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 94307 invoked by uid 48); 26 Feb 2019 08:56:45 -0000
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Tue, 26 Feb 2019 08:56: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: bernd.edlinger at hotmail dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89490-4-yl0uFKHgb2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03579.txt.bz2
Content-length: 986

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

--- Comment #9 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
> And, what do you find wrong on the alignment?

In the case of the artificially zero terminated strings,
the .zero is now wrong, and they can actually screw up the
necessary alignment.


Maybe the easiest way out would be simply not try to put
non-zero terminated strings in merge sections, when the
-fsection-anchors is in effect?

--- varasm.c.orig       2019-01-25 17:57:32.000000000 +0100
+++ varasm.c    2019-02-26 09:48:48.061315685 +0100
@@ -838,7 +838,8 @@
              if (j == unit)
                break;
            }
-         if (i == len - unit || (unit == 1 && i == len))
+         if (i == len - unit || (unit == 1 && i == len &&
+                                 !flag_section_anchors))
            {
              sprintf (name, "%s.str%d.%d", prefix,
                       modesize / 8, (int) (align / 8));
>From gcc-bugs-return-635278-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 09:01:30 2019
Return-Path: <gcc-bugs-return-635278-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114785 invoked by alias); 26 Feb 2019 09:01: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 113679 invoked by uid 48); 26 Feb 2019 09:01:19 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89479] __restrict
Date: Tue, 26 Feb 2019 09:01: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.3.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: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-89479-4-PlwZztjzzO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89479-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89479-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: 2019-02/txt/msg03580.txt.bz2
Content-length: 1393

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89479

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-26
                 CC|                            |rguenth at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
I believe there's a dup somewhere.  Basically function calls are not
annotated with {base,clique} (our implementation detail exposing __restrict
to the IL).  To elaborate further to successfully mark a function call
with clique == 1 and base == 0 we have to prove the pointer marked restrict
doesn't escape the function through calls since I belive that for

int *p;
void g() { *p = 1; }
void f(int *q) { p = q; }

int foo(const int* x, void g())
  {
      f(x);
      int result = *x;
      g();
      result += *x;
      return result;
  }

the access in g is still based on x since the above is equivalent to

  int foo(const int* x, void g())
  {
      int *p = x;
      int result = *x;
      *p = 1;
      result += *x;
      return result;
  }

letting aside eventual issues with the const qualification of *x.
>From gcc-bugs-return-635279-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 09:03:37 2019
Return-Path: <gcc-bugs-return-635279-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118007 invoked by alias); 26 Feb 2019 09:03: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 117965 invoked by uid 48); 26 Feb 2019 09:03:33 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89480] internal compiler error: in unify, at cp/pt.c:22160 with the template argument force conversion
Date: Tue, 26 Feb 2019 09:03: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.3.1
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: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords cf_known_to_fail
Message-ID: <bug-89480-4-whWdh2QQHj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89480-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89480-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: 2019-02/txt/msg03581.txt.bz2
Content-length: 479

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89480

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
      Known to fail|                            |4.8.5, 9.0

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.  Not sure if the code is valid.
>From gcc-bugs-return-635281-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 09:05:27 2019
Return-Path: <gcc-bugs-return-635281-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123102 invoked by alias); 26 Feb 2019 09:05: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 121009 invoked by uid 48); 26 Feb 2019 09:05:22 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71446] Incorrect overload resolution when using designated initializers
Date: Tue, 26 Feb 2019 09:05: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: 5.3.0
X-Bugzilla-Keywords: accepts-invalid
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: cc
Message-ID: <bug-71446-4-cQEc55i1uA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71446-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71446-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: 2019-02/txt/msg03583.txt.bz2
Content-length: 443

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71446

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |st at quanttec dot com

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
*** Bug 89486 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-635280-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 09:05:25 2019
Return-Path: <gcc-bugs-return-635280-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122661 invoked by alias); 26 Feb 2019 09:05: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 120392 invoked by uid 48); 26 Feb 2019 09:05:21 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89486] GCC fails to compile designated initializer use involving implicit conversion
Date: Tue, 26 Feb 2019 09:05: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89486-4-rvammejVGA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89486-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89486-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: 2019-02/txt/msg03582.txt.bz2
Content-length: 492

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89486

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
.

*** This bug has been marked as a duplicate of bug 71446 ***
>From gcc-bugs-return-635282-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 09:07:58 2019
Return-Path: <gcc-bugs-return-635282-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128866 invoked by alias); 26 Feb 2019 09:07: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 128779 invoked by uid 48); 26 Feb 2019 09:07:54 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89487] [8/9 Regression] ICE in expand_expr_addr_expr_1, at expr.c:7993
Date: Tue, 26 Feb 2019 09: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:
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: amker at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89487-4-LumCH0TLJs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89487-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89487-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: 2019-02/txt/msg03584.txt.bz2
Content-length: 307

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89487

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Looks like may_be_nonaddressable_p misses a VAR_DECL case checking for hard
registers and the code in loop-distribution should use that helper to fend
off generating invalid addresses.
>From gcc-bugs-return-635283-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 09:08:09 2019
Return-Path: <gcc-bugs-return-635283-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129590 invoked by alias); 26 Feb 2019 09:08: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 129545 invoked by uid 48); 26 Feb 2019 09:08:05 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89487] [8/9 Regression] ICE in expand_expr_addr_expr_1, at expr.c:7993
Date: Tue, 26 Feb 2019 09: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: wrong-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: amker at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords priority
Message-ID: <bug-89487-4-TdwSiv1piH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89487-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89487-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: 2019-02/txt/msg03585.txt.bz2
Content-length: 352

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89487

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
           Priority|P3                          |P2
>From gcc-bugs-return-635284-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 09:09:18 2019
Return-Path: <gcc-bugs-return-635284-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 330 invoked by alias); 26 Feb 2019 09:09: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 131017 invoked by uid 48); 26 Feb 2019 09:09:13 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89489] [9 Regression] ICE in gimple_duplicate_bb, at tree-cfg.c:6257
Date: Tue, 26 Feb 2019 09:09: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: ice-on-valid-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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-89489-4-jWcAiUxGPd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89489-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89489-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: 2019-02/txt/msg03586.txt.bz2
Content-length: 476

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89489

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Dup of PR89451 I guess.
>From gcc-bugs-return-635285-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 09:18:30 2019
Return-Path: <gcc-bugs-return-635285-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24451 invoked by alias); 26 Feb 2019 09:18: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 24318 invoked by uid 48); 26 Feb 2019 09:18:23 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89489] [9 Regression] ICE in gimple_duplicate_bb, at tree-cfg.c:6257
Date: Tue, 26 Feb 2019 09:18: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: ice-on-valid-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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89489-4-jyd0ms4NJb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89489-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89489-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: 2019-02/txt/msg03587.txt.bz2
Content-length: 137

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89489

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Testing patch.
>From gcc-bugs-return-635286-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 09:26:42 2019
Return-Path: <gcc-bugs-return-635286-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45060 invoked by alias); 26 Feb 2019 09:26:41 -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 44990 invoked by uid 48); 26 Feb 2019 09:26:38 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/89494] Bootstrap error when using GCC 4.2.1
Date: Tue, 26 Feb 2019 09:26: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: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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 cf_gcctarget cf_gcchost
Message-ID: <bug-89494-4-LusDTwHHkw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89494-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89494-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: 2019-02/txt/msg03588.txt.bz2
Content-length: 601

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89494

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build
             Target|                            |powerpc64-freebsd
               Host|                            |powerpc64-freebsd

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
So it looks like stage1 gcc is miscompiled somehow.  I wonder if you can avoid
setting CFLAGS et al?
>From gcc-bugs-return-635287-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 09:28:34 2019
Return-Path: <gcc-bugs-return-635287-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47424 invoked by alias); 26 Feb 2019 09:28: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 47370 invoked by uid 48); 26 Feb 2019 09:28:30 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89497] [8 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled
Date: Tue, 26 Feb 2019 09:28: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.3.0
X-Bugzilla-Keywords: ice-on-valid-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: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-89497-4-PN11xradbC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89497-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89497-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: 2019-02/txt/msg03589.txt.bz2
Content-length: 580

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |8.4

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Does trunk work?  Also I wonder whether the graphite flags are necessary to
trigger the issue (and as recommendation, don't use -fgraphite-identity,
it is for debugging, also avoid -floop-nest-optimize and -fipa-pta).
>From gcc-bugs-return-635288-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 09:31:05 2019
Return-Path: <gcc-bugs-return-635288-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55938 invoked by alias); 26 Feb 2019 09:31: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 55892 invoked by uid 48); 26 Feb 2019 09:31:01 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/89498] [8/9 Regression] ICE in AT_loc_list, at dwarf2out.c:4871
Date: Tue, 26 Feb 2019 09:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89498-4-ke4RmpyY87@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89498-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89498-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: 2019-02/txt/msg03590.txt.bz2
Content-length: 226

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89498

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Can't reproduce on trunk.  If #include <math.h> is necessary can you attach
preprocessed source please?
>From gcc-bugs-return-635289-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 09:31:31 2019
Return-Path: <gcc-bugs-return-635289-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56771 invoked by alias); 26 Feb 2019 09:31: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 56738 invoked by uid 48); 26 Feb 2019 09:31:26 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89499] [7/8/9 Regression] ICE in expand_UNIQUE, at internal-fn.c:2605
Date: Tue, 26 Feb 2019 09:31: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: ice-on-valid-code, openacc
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-89499-4-Sg2JhzivwI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89499-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89499-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: 2019-02/txt/msg03591.txt.bz2
Content-length: 293

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89499

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |7.5
>From gcc-bugs-return-635290-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 09:39:11 2019
Return-Path: <gcc-bugs-return-635290-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97217 invoked by alias); 26 Feb 2019 09:39: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 97093 invoked by uid 48); 26 Feb 2019 09:39:06 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89501] Odd lack of warning about missing initialization
Date: Tue, 26 Feb 2019 09:39: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: 8.2.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89501-4-ajXGcAHwWu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89501-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89501-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: 2019-02/txt/msg03592.txt.bz2
Content-length: 860

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89501

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Jeffrey A. Law from comment #3)
> Yup.  It's the same as 18501.  We meet UNDEFINED and [0,0] resulting in
> [0,0] and nothing ever causes reevaluation of the PHI.  Things are working
> as "expected".    

And this meeting helps us avoid bogus warnings for cases where GCC has
difficulties proving dead code paths are actually dead ...  In fact
to preserve uninit warnings we avoid doing the same things for copies,
thus when meeting [i, i] with UNDEFINED which in fact causes some
false positives to appear...  (and with my
GCC-is-an-optimizing-compiler-not-a-static-analysis-tool hat on I'd wanted to
change that more than once,
but testsuite regressions prevented me from doing that)

Uninit warnings are hard ;)
>From gcc-bugs-return-635291-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 09:39:37 2019
Return-Path: <gcc-bugs-return-635291-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98427 invoked by alias); 26 Feb 2019 09:39: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 98361 invoked by uid 48); 26 Feb 2019 09:39:33 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89497] [8 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled
Date: Tue, 26 Feb 2019 09:39: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.3.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89497-4-S0l6JnV42v@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89497-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89497-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: 2019-02/txt/msg03593.txt.bz2
Content-length: 503

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #3)
> Does trunk work? 

Thunk is fine.

> Also I wonder whether the graphite flags are necessary to
> trigger the issue (and as recommendation, don't use -fgraphite-identity,

No.

> it is for debugging, also avoid -floop-nest-optimize and -fipa-pta).

Give me some time, I'm reducing that right now (both options and source files).
>From gcc-bugs-return-635292-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 09:50:41 2019
Return-Path: <gcc-bugs-return-635292-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91069 invoked by alias); 26 Feb 2019 09:50:41 -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 90109 invoked by uid 48); 26 Feb 2019 09:50:37 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89497] [8 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled
Date: Tue, 26 Feb 2019 09:50: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.3.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89497-4-GVnA0602SZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89497-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89497-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: 2019-02/txt/msg03594.txt.bz2
Content-length: 2071

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Created attachment 45821
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45821&action=edit
Unreduced test-case

Started to fail with r268745 which is definitely a culprit:

$ gcc 11.i 22.i 33.i 44.i -fPIC -O3 -fno-semantic-interposition -flto=8 -shared
during GIMPLE pass: vrp
ppd-localize.c: In function ‘ppdLocalize’:
ppd-localize.c:51:1: internal compiler error: Segmentation fault
 ppdLocalize(ppd_file_t *ppd)  /* I - PPD file */
 ^
0xdfd704 crash_signal
        ../../gcc/toplev.c:325
0x7ffff79b1e0f ???
       
/usr/src/debug/glibc-2.29-1.3.x86_64/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0xf2ac71 ptr_derefs_may_alias_p(tree_node*, tree_node*)
        ../../gcc/tree-ssa-alias.c:284
0xf2d2de indirect_refs_may_alias_p
        ../../gcc/tree-ssa-alias.c:1303
0xf2dbfa refs_may_alias_p_1(ao_ref*, ao_ref*, bool)
        ../../gcc/tree-ssa-alias.c:1498
0xaa0876 gimple_fold_builtin_memory_op
        ../../gcc/gimple-fold.c:918
0xaa79ca gimple_fold_builtin
        ../../gcc/gimple-fold.c:3657
0xaa95c9 gimple_fold_call
        ../../gcc/gimple-fold.c:4159
0xaaba38 fold_stmt_1
        ../../gcc/gimple-fold.c:4834
0xaac069 fold_stmt(gimple_stmt_iterator*)
        ../../gcc/gimple-fold.c:4981
0xe44b2a replace_uses_by(tree_node*, tree_node*)
        ../../gcc/tree-cfg.c:2025
0xe44fac gimple_merge_blocks
        ../../gcc/tree-cfg.c:2111
0x8c1c5a merge_blocks(basic_block_def*, basic_block_def*)
        ../../gcc/cfghooks.c:793
0xe5cccc cleanup_tree_cfg_bb
        ../../gcc/tree-cfgcleanup.c:715
0xe5cfae cleanup_tree_cfg_1
        ../../gcc/tree-cfgcleanup.c:797
0xe5d2f6 cleanup_tree_cfg_noloop
        ../../gcc/tree-cfgcleanup.c:911
0xe5d410 cleanup_tree_cfg()
        ../../gcc/tree-cfgcleanup.c:971
0xcdc9ef execute_function_todo
        ../../gcc/passes.c:1947
0xcdbb84 do_per_function
        ../../gcc/passes.c:1659
0xcdcd6d execute_todo
        ../../gcc/passes.c:2048
>From gcc-bugs-return-635293-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 09:53:26 2019
Return-Path: <gcc-bugs-return-635293-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101062 invoked by alias); 26 Feb 2019 09:53: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 101030 invoked by uid 48); 26 Feb 2019 09:53:22 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89497] [8 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled
Date: Tue, 26 Feb 2019 09:53: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.3.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89497-4-MZ2X8PLdtW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89497-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89497-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: 2019-02/txt/msg03595.txt.bz2
Content-length: 2411

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497

--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
Created attachment 45822
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45822&action=edit
Reduced test-case

However, this reduced test-case fails with GCC-8 branch for all releases.
Started on trunk with r256457 and was fixed on trunk r265421:

$ gcc 1.i 2.i 3.i 4.i -fPIC -O3 -fno-semantic-interposition -flto=8 -shared
3.i:9:4: warning: type of ‘ppdFindNextAttr’ does not match original declaration
[-Wlto-type-mismatch]
 b *ppdFindNextAttr();
    ^
2.i:1:6: note: ‘ppdFindNextAttr’ was previously declared here
 int *ppdFindNextAttr() { return 0; }
      ^
2.i:1:6: note: code may be misoptimized unless -fno-strict-aliasing is used
during GIMPLE pass: vrp
3.i: In function ‘d’:
3.i:14:6: internal compiler error: Segmentation fault
 void d() {
      ^
0xdfd704 crash_signal
        ../../gcc/toplev.c:325
0x7ffff79b1e0f ???
       
/usr/src/debug/glibc-2.29-1.3.x86_64/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0xf2a8bc ptr_deref_may_alias_decl_p
        ../../gcc/tree-ssa-alias.c:169
0xf2cb91 indirect_ref_may_alias_decl_p
        ../../gcc/tree-ssa-alias.c:1154
0xf2db42 refs_may_alias_p_1(ao_ref*, ao_ref*, bool)
        ../../gcc/tree-ssa-alias.c:1488
0xaa0876 gimple_fold_builtin_memory_op
        ../../gcc/gimple-fold.c:918
0xaa79ca gimple_fold_builtin
        ../../gcc/gimple-fold.c:3657
0xaa95c9 gimple_fold_call
        ../../gcc/gimple-fold.c:4159
0xaaba38 fold_stmt_1
        ../../gcc/gimple-fold.c:4834
0xaac069 fold_stmt(gimple_stmt_iterator*)
        ../../gcc/gimple-fold.c:4981
0xe44b2a replace_uses_by(tree_node*, tree_node*)
        ../../gcc/tree-cfg.c:2025
0xe44fac gimple_merge_blocks
        ../../gcc/tree-cfg.c:2111
0x8c1c5a merge_blocks(basic_block_def*, basic_block_def*)
        ../../gcc/cfghooks.c:793
0xe5cccc cleanup_tree_cfg_bb
        ../../gcc/tree-cfgcleanup.c:715
0xe5cfae cleanup_tree_cfg_1
        ../../gcc/tree-cfgcleanup.c:797
0xe5d2f6 cleanup_tree_cfg_noloop
        ../../gcc/tree-cfgcleanup.c:911
0xe5d410 cleanup_tree_cfg()
        ../../gcc/tree-cfgcleanup.c:971
0xcdc9ef execute_function_todo
        ../../gcc/passes.c:1947
0xcdbb84 do_per_function
        ../../gcc/passes.c:1659
0xcdcd6d execute_todo
        ../../gcc/passes.c:2048
>From gcc-bugs-return-635294-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 09:54:09 2019
Return-Path: <gcc-bugs-return-635294-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102229 invoked by alias); 26 Feb 2019 09:54: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 102105 invoked by uid 48); 26 Feb 2019 09:54:03 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89497] [8 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled
Date: Tue, 26 Feb 2019 09:54: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.3.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_known_to_work cf_known_to_fail
Message-ID: <bug-89497-4-PR9K0jTFwX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89497-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89497-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: 2019-02/txt/msg03596.txt.bz2
Content-length: 483

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |7.4.0, 9.0
      Known to fail|                            |8.1.0, 8.2.0

--- Comment #7 from Martin Liška <marxin at gcc dot gnu.org> ---
Will it help Richi? Can you please take a look?
>From gcc-bugs-return-635295-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 09:56:02 2019
Return-Path: <gcc-bugs-return-635295-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105982 invoked by alias); 26 Feb 2019 09:56: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 105879 invoked by uid 48); 26 Feb 2019 09:55:57 -0000
From: "mrison at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89448] Failure to generate diagnostic for "complex int" (OK for "_Complex int")
Date: Tue, 26 Feb 2019 09:56: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: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mrison at hotmail 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-89448-4-dBRftGwsyk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89448-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89448-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: 2019-02/txt/msg03597.txt.bz2
Content-length: 445

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89448

--- Comment #4 from Mark RISON <mrison at hotmail dot com> ---
[Aside...

I can't see a way to raise a bug on the GCC Bugzilla itself, so:

The status of this bug is currently NEW.  However the explanatory hyperlink,
https://gcc.gnu.org/bugzilla/page.cgi?id=fields.html#bug_status suggests only
the following are valid statuses: UNCONFIRMED, CONFIRMED, IN_PROGRESS,
RESOLVED, VERIFIED.]
>From gcc-bugs-return-635296-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 10:02:15 2019
Return-Path: <gcc-bugs-return-635296-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129396 invoked by alias); 26 Feb 2019 10:02: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 129229 invoked by uid 48); 26 Feb 2019 10:02:10 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89505] New: [9 Regression] LibreOffice miscompilation starting with r260383
Date: Tue, 26 Feb 2019 10:02: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: jakub 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-89505-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: 2019-02/txt/msg03598.txt.bz2
Content-length: 5032

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89505

            Bug ID: 89505
           Summary: [9 Regression] LibreOffice miscompilation starting
                    with r260383
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
  Target Milestone: ---

Created attachment 45823
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45823&action=edit
rh1682941.ii.xz

The attached testcase from LibreOffice is miscompiled starting with r260383
with
-O2 -fPIC -std=c++2a, unfortunately don't have a smaller testcase so far and
haven't succeeded in coming up with a reduced one.

In the dumps, look for case 263392: or 263392 and in *.optimized dump it should
look like:
  _59 = rtl_str_toInt32 (_58, 10);
  _148 = MIN_EXPR <_59, 1024>;
  _73 = MAX_EXPR <_148, 1>;
  this_12(D)->nColCount = _73;
but starting with r260383 it is not.

We have before dse1 code like:
  D.857771 = 1;
...
  _129 = rtl_str_toInt32 (_128, 10);
  D.857770 = _129;
  if (_129 <= 0)
    goto <bb 8>; [34.00%]
  else
    goto <bb 9>; [66.00%]

  <bb 8> :

  <bb 9> :
  # _119 = PHI <&D.857770(7), &D.857771(8)>
  _12 = *_119;
  this_29(D)->nColCount = _12;
  D.857770 ={v} {CLOBBER};
  D.857771 ={v} {CLOBBER};
  D.857772 = 1024;
  _13 = &this_29(D)->nColCount;
  if (_12 > 1024)
    goto <bb 10>; [34.00%]
  else
    goto <bb 11>; [66.00%]

  <bb 10> :

  <bb 11> :
  # _116 = PHI <_13(9), &D.857772(10)>
  _15 = *_116;
  this_29(D)->nColCount = _15;

In *.mergephi1 with -alias-vops the difference (trunk vs. trunk with r260383
reverted) is:
   # .MEM_55 = VDEF <.MEM_23>
   D.857771 = 1;
...
   # .MEM_206 = VDEF <.MEM_55>
-  # USE = nonlocal null { D.112965 D.113017 D.857775 D.857777 D.857779 }
(nonlocal, escaped, interposable)
-  # CLB = nonlocal null { D.112965 D.113017 D.857775 D.857777 D.857779 }
(nonlocal, escaped, interposable)
+  # USE = nonlocal null { D.112965 D.113017 D.857775 D.857777 D.857779
D.1010617 } (nonlocal, escaped, restrict, interposable)
+  # CLB = nonlocal null { D.112965 D.113017 D.857775 D.857777 D.857779
D.1010617 } (nonlocal, escaped, restrict, interposable)
   _129 = rtl_str_toInt32 (_128, 10);
   # .MEM_57 = VDEF <.MEM_206>
   D.857770 = _129;
   if (_129 <= 0)
     goto <bb 8>; [34.00%]
   else
     goto <bb 9>; [66.00%]

   <bb 8> :

   <bb 9> :
   # PT = { D.857770 D.857771 }
   # ALIGN = 4, MISALIGN = 0
   # _119 = PHI <&D.857770(7), &D.857771(8)>
   # VUSE <.MEM_57>
-  _12 = *_119;
+  _12 = MEM[(const int &)_119 clique 1 base 0];
   # .MEM_59 = VDEF <.MEM_57>
-  this_29(D)->nColCount = _12;
+  MEM[(struct ScXMLTableColContext *)this_29(D) clique 1 base 1].nColCount =
_12;
   # .MEM_60 = VDEF <.MEM_59>
   D.857770 ={v} {CLOBBER};
   # .MEM_61 = VDEF <.MEM_60>
   D.857771 ={v} {CLOBBER};
   # .MEM_62 = VDEF <.MEM_61>
   D.857772 = 1024;
-  # PT = nonlocal 
+  # PT = { D.1010617 } (nonlocal, escaped)
   _13 = &this_29(D)->nColCount;
   if (_12 > 1024)
     goto <bb 10>; [34.00%]
   else
     goto <bb 11>; [66.00%]

   <bb 10> :

   <bb 11> :
-  # PT = nonlocal { D.857772 }
+  # PT = { D.857772 D.1010617 } (nonlocal, escaped)
   # _116 = PHI <_13(9), &D.857772(10)>
   # VUSE <.MEM_62>
-  _15 = *_116;
+  _15 = MEM[(const int &)_116 clique 1 base 0];
   # .MEM_64 = VDEF <.MEM_62>
-  this_29(D)->nColCount = _15;
+  MEM[(struct ScXMLTableColContext *)this_29(D) clique 1 base 1].nColCount =
_15;

and DSE1 removes the nColCount store:
   <bb 9> :
   # _119 = PHI <&D.857770(7), &D.857771(8)>
   _12 = *_119;
-  this_29(D)->nColCount = _12;
   D.857770 ={v} {CLOBBER};
   D.857771 ={v} {CLOBBER};
   D.857772 = 1024;
...
   <bb 11> :
   # _116 = PHI <_13(9), &D.857772(10)>
   _15 = *_116;
-  this_29(D)->nColCount = _15;
+  *this_29(D).nColCount = _15;
   D.857772 ={v} {CLOBBER};
   goto <bb 18>; [INV]

I've tried to reduce this to:
template<typename _Tp> constexpr inline const _Tp&
min (const _Tp& __a, const _Tp& __b) { if (__b < __a) return __b; return __a; }
template<typename _Tp> constexpr inline const _Tp&
max (const _Tp& __a, const _Tp& __b) { if (__a < __b) return __b; return __a; }
template<typename _Tp, typename _Compare> constexpr inline const _Tp&
min (const _Tp& __a, const _Tp& __b, _Compare __comp) { if (__comp(__b, __a))
return __b; return __a; }
template<typename _Tp, typename _Compare> constexpr inline const _Tp&
max (const _Tp& __a, const _Tp& __b, _Compare __comp) { if (__comp(__a, __b))
return __b; return __a; }
int foo () throw ();
struct S { char pad[80]; int nColCount; S (); };
const signed short m = 1024;
int v;
S::S ()
{
  nColCount = 1;
  if (v)
    {
      nColCount = max<int> (foo (), 1);
      nColCount = min<int> (nColCount, m);
    }
}
but that doesn't reproduce this.
>From gcc-bugs-return-635297-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 10:02:41 2019
Return-Path: <gcc-bugs-return-635297-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130630 invoked by alias); 26 Feb 2019 10:02: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 130382 invoked by uid 48); 26 Feb 2019 10:02:32 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89505] [9 Regression] LibreOffice miscompilation starting with r260383
Date: Tue, 26 Feb 2019 10:02: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority cc target_milestone
Message-ID: <bug-89505-4-CHCV58fmLE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89505-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89505-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: 2019-02/txt/msg03599.txt.bz2
Content-length: 494

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89505

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
                 CC|                            |glisse at gcc dot gnu.org,
                   |                            |rguenth at gcc dot gnu.org
   Target Milestone|---                         |9.0
>From gcc-bugs-return-635298-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 10:05:23 2019
Return-Path: <gcc-bugs-return-635298-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14135 invoked by alias); 26 Feb 2019 10:05: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 13957 invoked by uid 48); 26 Feb 2019 10:05:18 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89497] [8 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled
Date: Tue, 26 Feb 2019 10:05: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.3.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89497-4-HHzOs2X02b@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89497-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89497-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: 2019-02/txt/msg03600.txt.bz2
Content-length: 226

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497

--- Comment #8 from Martin Liška <marxin at gcc dot gnu.org> ---
I can also confirm that building the whole project with original flags and
current GCC trunk is fine.
>From gcc-bugs-return-635299-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 10:09:05 2019
Return-Path: <gcc-bugs-return-635299-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26321 invoked by alias); 26 Feb 2019 10:09:04 -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 26177 invoked by uid 55); 26 Feb 2019 10:09:01 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89474] [9 Regression] ice in df_reg_chain_verify_unmarked, at df-scan.c:3995
Date: Tue, 26 Feb 2019 10:09: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89474-4-DlGRNPvwe3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89474-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89474-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: 2019-02/txt/msg03601.txt.bz2
Content-length: 812

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89474

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Feb 26 10:08:29 2019
New Revision: 269206

URL: https://gcc.gnu.org/viewcvs?rev=269206&root=gcc&view=rev
Log:
        PR target/89474
        * config/i386/i386.c (remove_partial_avx_dependency): Call
        df_analyze etc. before creation of the v4sf_const0 pseudo, rather than
        after changing possibly many instructions to use that pseudo.  Fix up
        insertion of v4sf_const0 setter at the start of bb.

        * gcc.target/i386/pr89474.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/i386/pr89474.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635300-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 10:16:31 2019
Return-Path: <gcc-bugs-return-635300-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6036 invoked by alias); 26 Feb 2019 10:16: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 5904 invoked by uid 48); 26 Feb 2019 10:16:26 -0000
From: "eyalroz at technion dot ac.il" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89479] __restrict
Date: Tue, 26 Feb 2019 10:16: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.3.0
X-Bugzilla-Keywords: alias, missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: eyalroz at technion dot ac.il
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-89479-4-7542S85jZn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89479-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89479-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: 2019-02/txt/msg03602.txt.bz2
Content-length: 963

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89479

--- Comment #5 from Eyal Rozenberg <eyalroz at technion dot ac.il> ---
(In reply to Richard Biener from comment #4)
> exposing __restrict to the IL). 

Is "IL" an acronym for "Intermediate Language"? Remember many bug
posters/readers are not GCC developers and don't know all the lingo.

> To elaborate further to successfully mark a function call
> with clique == 1 and base == 0 we have to prove the pointer marked restrict
> doesn't escape the function through calls

Certainly, calling g() could be just the same as writing to an alias of the x
pointer. But - __restrict is how we guarantee this doesn't happen (or can be
ignored) even when the compiler can't prove that's the case on its own. So I'm
not sure I understand what you're suggesting with your comment. I suppose you
could try and "disprove the __restrict" to give a warning, but other than that
- why not just respect it?
>From gcc-bugs-return-635301-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 10:20:38 2019
Return-Path: <gcc-bugs-return-635301-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103098 invoked by alias); 26 Feb 2019 10: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 102905 invoked by uid 48); 26 Feb 2019 10:20:27 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89502] Inefficient access to stack_guard in TCB
Date: Tue, 26 Feb 2019 10:20: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak 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-89502-4-AezVWAOrQW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89502-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89502-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: 2019-02/txt/msg03603.txt.bz2
Content-length: 1046

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89502

--- Comment #3 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to H.J. Lu from comment #0)
> x.s: Assembler messages:
> x.s:11: Error: can't encode segment `%fs' with 32-bit address
> x.s:18: Error: can't encode segment `%fs' with 32-bit address

Is this some new warning, since

GNU assembler version 2.31.1-17.fc29

happily assembles 

        movl    %fs:(%edx), %ecx

to:

   8:   64 67 8b 0a             mov    %fs:(%edx),%ecx

Anyway, the following patch should fix this issue:

--cut here--
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index e77653d66a4..67872e1c15d 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -18542,6 +18542,10 @@ ix86_print_operand_address_as (FILE *file, rtx addr,

   if (!ADDR_SPACE_GENERIC_P (as))
     {
+      /* We can't have 0x67 prefix with segment override.  */
+      if (TARGET_64BIT)
+       code = 'q';
+
       if (ASSEMBLER_DIALECT == ASM_ATT)
        putc ('%', file);

--cut here--
>From gcc-bugs-return-635302-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 10:22:57 2019
Return-Path: <gcc-bugs-return-635302-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107764 invoked by alias); 26 Feb 2019 10:22:56 -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 107583 invoked by uid 48); 26 Feb 2019 10:22:53 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89502] Inefficient access to stack_guard in TCB
Date: Tue, 26 Feb 2019 10:22: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak 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-89502-4-nEVCl7vKif@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89502-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89502-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: 2019-02/txt/msg03604.txt.bz2
Content-length: 344

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89502

--- Comment #4 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to H.J. Lu from comment #1)
> Ever better, we can use UNSPEC_TP to handle it:
> 
> 	movl	%fs:24, %ecx
> 
> to save a register.

We do, with -O2, but -O1 CSEs the constant into the register for some reason.
>From gcc-bugs-return-635303-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 10:25:11 2019
Return-Path: <gcc-bugs-return-635303-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121976 invoked by alias); 26 Feb 2019 10:25: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 121806 invoked by uid 48); 26 Feb 2019 10:25:05 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89505] [9 Regression] LibreOffice miscompilation starting with r260383
Date: Tue, 26 Feb 2019 10:25: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89505-4-gi7OR8tYOg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89505-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89505-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: 2019-02/txt/msg03605.txt.bz2
Content-length: 838

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89505

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I think the problem is mainly:
  MEM[(struct ScXMLTableColContext *)this_29(D) clique 1 base 1].nColCount =
_15;
vs.
  _15 = MEM[(const int &)_116 clique 1 base 0];
Both have the same clique, but different base.
std::min<sal_Int32>(nColCount, MAXCOLCOUNT)
returns a reference, and I bet if this argument was explicitly __restrict, that
would be invalid, referencing *this through some other pointer (reference in
this case).  this argument is not restrict though, and it can alias
references/pointers within the constructor, e.g.
struct S { int s; S (S &, S *); };
S *foo (S *);
S::S (S &x, S *y)
{
  // x.s can't alias this->s
  // y->s can't alias this->s
  S *p = foo (this);
  // p->s can alias this->s
}
>From gcc-bugs-return-635305-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 10:26:13 2019
Return-Path: <gcc-bugs-return-635305-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123975 invoked by alias); 26 Feb 2019 10:26: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 123659 invoked by uid 48); 26 Feb 2019 10:26:09 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/87007] [8 Regression] 10% slowdown with -march=skylake-avx512
Date: Tue, 26 Feb 2019 10:26:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: hjl.tools at gmail dot com
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-87007-4-mNHSV80u4N@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87007-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87007-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: 2019-02/txt/msg03607.txt.bz2
Content-length: 497

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87007
Bug 87007 depends on bug 89474, which changed state.

Bug 89474 Summary: [9 Regression] ice in df_reg_chain_verify_unmarked, at df-scan.c:3995
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89474

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-635304-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 10:26:13 2019
Return-Path: <gcc-bugs-return-635304-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123836 invoked by alias); 26 Feb 2019 10:26: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 123606 invoked by uid 48); 26 Feb 2019 10:26:07 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89474] [9 Regression] ice in df_reg_chain_verify_unmarked, at df-scan.c:3995
Date: Tue, 26 Feb 2019 10:26: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89474-4-gX1E3P2MAP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89474-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89474-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: 2019-02/txt/msg03606.txt.bz2
Content-length: 424

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89474

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-635306-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 10:27:03 2019
Return-Path: <gcc-bugs-return-635306-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125837 invoked by alias); 26 Feb 2019 10:27: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 125723 invoked by uid 48); 26 Feb 2019 10:26:58 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89505] [9 Regression] LibreOffice miscompilation starting with r260383
Date: Tue, 26 Feb 2019 10: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: 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: P1
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-89505-4-Tr96THdt4y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89505-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89505-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: 2019-02/txt/msg03608.txt.bz2
Content-length: 857

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89505

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
ScXMLTableColContext::ScXMLTableColContext (struct ScXMLTableColContext * const
this, struct ScXMLImport & rImport, const struct Reference & rAttrList)
{
  # PT = null { D.1010617 } (nonlocal, escaped, restrict)
  struct ScXMLTableColContext * const this_29(D) = this;

...

  <bb 11> :
  # PT = { D.857772 D.1010617 } (nonlocal, escaped)
  # _116 = PHI <_13(9), &D.857772(10)>
  _15 = MEM[(const int &)_116 clique 1 base 0];

the _116 deref shouldn't have gotten base 0 because of

          vi = get_varinfo (find (vi->id));
          if (bitmap_intersect_p (rvars, vi->solution)
              || (escaped_p && bitmap_bit_p (vi->solution, escaped_id)))
            return false;

now I need to debug what goes wrong...
>From gcc-bugs-return-635307-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 10:36:42 2019
Return-Path: <gcc-bugs-return-635307-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104034 invoked by alias); 26 Feb 2019 10:36:41 -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 103044 invoked by uid 55); 26 Feb 2019 10:36:37 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/43210] Initializer of huge static arrays should be improved
Date: Tue, 26 Feb 2019 10: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: 4.5.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: jakub 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-43210-4-KW19EZ70cB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-43210-4@http.gcc.gnu.org/bugzilla/>
References: <bug-43210-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: 2019-02/txt/msg03609.txt.bz2
Content-length: 501

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43210

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Feb 26 10:36:05 2019
New Revision: 269207

URL: https://gcc.gnu.org/viewcvs?rev=269207&root=gcc&view=rev
Log:
        PR fortran/43210
        * trans-array.c (gfc_conv_array_initializer): Use RANGE_EXPR instead
        of duplicating the initializer possibly many times.

Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-array.c
>From gcc-bugs-return-635308-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 10:54:33 2019
Return-Path: <gcc-bugs-return-635308-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100502 invoked by alias); 26 Feb 2019 10:54:32 -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 100156 invoked by uid 48); 26 Feb 2019 10:54:27 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89505] [9 Regression] LibreOffice miscompilation starting with r260383
Date: Tue, 26 Feb 2019 10: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: rguenth 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-89505-4-3gCahRXKU7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89505-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89505-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: 2019-02/txt/msg03610.txt.bz2
Content-length: 2050

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89505

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-26
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
So what happens is that this points to an aggregate with a lot of fields and
field-sensitive analysis when gathering what are restrict pointed-to's only
looks at the first field.  Thus if you'd have

struct this { int x; void *p; };

and

  _13 = &this_29(D)->nColCount;
  # _116 = PHI <_13(9), &D.857772(10)>
  _15 = *_116;

here _13 does not point to the _first_ field (note you need meaningful
fields - aka pointers - for points-to to separate fields fod analysis)
then we miss that _116 also points to the same thing as this_29.

Then you need a plain this_29 based access and a indirect ref to _13
to get things wrong.

struct S { int i; void *p; int j; };
int a;
int foo (struct S * __restrict p, int q)
{
  int *x = &p->j;
  if (q)
    x = &a;
  p->j = 1;
  *x = 2;
  return p->j;
}

shows wrong alias info:

  # PT = null { D.1921 } (nonlocal, restrict)
  struct S * restrict p_2(D) = p;
...
  <bb 4> :
  # PT = null { D.1909 D.1921 } (nonlocal, interposable)
  # x_1 = PHI <x_3(2), &a(3)>
  MEM[(struct S *)p_2(D) clique 1 base 1].j = 1;
  MEM[(int *)x_1 clique 1 base 0] = 2;
  _9 = MEM[(struct S *)p_2(D) clique 1 base 1].j;

and FRE optimizing the load.


struct S { int i; void *p; int j; };
int a;
int __attribute__((noinline))
foo (struct S * __restrict p, int q)
{
  int *x = &p->j;
  if (q)
    x = &a;
  p->j = 1;
  *x = 2;
  return p->j;
}

int main()
{
  struct S s;
  if (foo (&s, 0) != 2)
    __builtin_abort ();
  return 0;
}
>From gcc-bugs-return-635309-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 10:57:09 2019
Return-Path: <gcc-bugs-return-635309-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112944 invoked by alias); 26 Feb 2019 10:57: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 112787 invoked by uid 48); 26 Feb 2019 10:57:04 -0000
From: "eyalroz at technion dot ac.il" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89479] __restrict on a pointer ignored when a function is passed alongside it
Date: Tue, 26 Feb 2019 10: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: 8.3.0
X-Bugzilla-Keywords: alias, missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: eyalroz at technion dot ac.il
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-89479-4-MwA20BX0xP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89479-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89479-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: 2019-02/txt/msg03611.txt.bz2
Content-length: 409

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89479

--- Comment #6 from Eyal Rozenberg <eyalroz at technion dot ac.il> ---
Thanks to a friendly StackOverflow user, I should also report that (about) the
same code produces the same compiler behavior disparity for proper C:

https://godbolt.org/z/kVYqp8

with the slight modification being `void g(void)` instead of `void g()` in the
function signatures.
>From gcc-bugs-return-635310-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 11:00:34 2019
Return-Path: <gcc-bugs-return-635310-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1155 invoked by alias); 26 Feb 2019 11:00: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 473 invoked by uid 48); 26 Feb 2019 11:00:03 -0000
From: "rearnsha at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88469] [7/8 regression] AAPCS/AAPCS64 - Struct with 64-bit bitfield (128-bit on AArch64) may be passed in wrong registers
Date: Tue, 26 Feb 2019 11:00: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: ABI, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rearnsha 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88469-4-XVAmVi1ZIL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88469-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88469-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: 2019-02/txt/msg03612.txt.bz2
Content-length: 864

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88469

--- Comment #13 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
(In reply to Stefan Ring from comment #12)
> Unfortunately my armv5 device has died in the meantime, so I cannot verify
> my original use case. The behavior is indeed different on armv7. It does not
> trap, even for the original misaligned code. And contrary to x86, where the
> alignment check flag can be changed by user space, this is a privileged
> operation on arm, so I cannot even selectively enable it.

Note that if you have root access on your board you can modify the kernel's
behaviour for various unaligned accesses by changing /proc/cpu/alignment (see
Documentation/arm/mem_alignment in the kernel sources).  You might want to try
setting this to 3 to get the kernel to report (but fix up) any misaligned
accesses).
>From gcc-bugs-return-635311-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 11:02:03 2019
Return-Path: <gcc-bugs-return-635311-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5174 invoked by alias); 26 Feb 2019 11:02: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 5063 invoked by uid 48); 26 Feb 2019 11:01:59 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89505] [9 Regression] LibreOffice miscompilation starting with r260383
Date: Tue, 26 Feb 2019 11:02: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89505-4-2EdqGmCOFi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89505-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89505-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: 2019-02/txt/msg03613.txt.bz2
Content-length: 241

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89505

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Created attachment 45824
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45824&action=edit
patch I am testing
>From gcc-bugs-return-635312-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 11:04:29 2019
Return-Path: <gcc-bugs-return-635312-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11234 invoked by alias); 26 Feb 2019 11:04: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 10591 invoked by uid 55); 26 Feb 2019 11:04:18 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89489] [9 Regression] ICE in gimple_duplicate_bb, at tree-cfg.c:6257
Date: Tue, 26 Feb 2019 11:04: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: ice-on-valid-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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89489-4-be9ylzaQbB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89489-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89489-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: 2019-02/txt/msg03614.txt.bz2
Content-length: 480

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89489

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Feb 26 11:03:45 2019
New Revision: 269210

URL: https://gcc.gnu.org/viewcvs?rev=269210&root=gcc&view=rev
Log:
2019-02-26  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/89489
        * tree-parloops.c (create_loop_fn): Copy over last_clique.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-parloops.c
>From gcc-bugs-return-635313-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 11:04:54 2019
Return-Path: <gcc-bugs-return-635313-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12741 invoked by alias); 26 Feb 2019 11:04: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 12458 invoked by uid 48); 26 Feb 2019 11:04:48 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89489] [9 Regression] ICE in gimple_duplicate_bb, at tree-cfg.c:6257
Date: Tue, 26 Feb 2019 11:04: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: ice-on-valid-code
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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89489-4-fTDb3lK9Us@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89489-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89489-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: 2019-02/txt/msg03615.txt.bz2
Content-length: 429

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89489

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-635314-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 11:24:50 2019
Return-Path: <gcc-bugs-return-635314-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109444 invoked by alias); 26 Feb 2019 11:24: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 109222 invoked by uid 48); 26 Feb 2019 11:24:44 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/64132] [7/8/9 Regression] FAIL: 22_locale/numpunct/members/char/3.cc execution test
Date: Tue, 26 Feb 2019 11:24:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-64132-4-APK3o9GOn1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64132-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64132-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: 2019-02/txt/msg03616.txt.bz2
Content-length: 149

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64132

--- Comment #15 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Probably r265165 or r265286
>From gcc-bugs-return-635315-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 11:31:14 2019
Return-Path: <gcc-bugs-return-635315-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124092 invoked by alias); 26 Feb 2019 11:31: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 123894 invoked by uid 48); 26 Feb 2019 11:31:09 -0000
From: "tnfchris at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89410] [7/8 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1237 after #line
Date: Tue, 26 Feb 2019 11:31: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: diagnostic, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tnfchris at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89410-4-OBN26GAM8I@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89410-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89410-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: 2019-02/txt/msg03617.txt.bz2
Content-length: 623

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89410

Tamar Christina <tnfchris at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tnfchris at gcc dot gnu.org

--- Comment #17 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
Hi, 

I'm getting a test failure on master for these new tests

UNRESOLVED: gcc.dg/pr89410-1.c: bad option "-1": must be -exact, -glob,
-regexp, or -- for " dg-warning 8 "msg" "" { target *-*-* } -1 "

is that `-1` correct there?
>From gcc-bugs-return-635316-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 11:32:05 2019
Return-Path: <gcc-bugs-return-635316-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126048 invoked by alias); 26 Feb 2019 11:32:04 -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 125901 invoked by uid 48); 26 Feb 2019 11:31:59 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/64132] [7/8/9 Regression] FAIL: 22_locale/numpunct/members/char/3.cc execution test
Date: Tue, 26 Feb 2019 11:32:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-64132-4-glDagjzE7C@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64132-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64132-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: 2019-02/txt/msg03618.txt.bz2
Content-length: 524

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64132

--- Comment #16 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I suspect Debian had downstream changes to the it_IT.ISO8859-15 locale data, as
was later done in upstream glibc. The original version of the test failed if
it_IT.ISO8859-15 uses thousands separators. The changes in r265165 would have
fixed it, by using a different locale.

The test I put in comment 11 was after that change to use nl_NL, which explains
why it shows no grouping. Mystery solved.
>From gcc-bugs-return-635317-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 11:54:03 2019
Return-Path: <gcc-bugs-return-635317-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97994 invoked by alias); 26 Feb 2019 11:54: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 97855 invoked by uid 48); 26 Feb 2019 11:53:59 -0000
From: "stefanrin at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88469] [7/8 regression] AAPCS/AAPCS64 - Struct with 64-bit bitfield (128-bit on AArch64) may be passed in wrong registers
Date: Tue, 26 Feb 2019 11: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: 8.2.0
X-Bugzilla-Keywords: ABI, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: stefanrin at gmail dot com
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88469-4-Tw0g2h39Iw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88469-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88469-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: 2019-02/txt/msg03619.txt.bz2
Content-length: 683

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88469

--- Comment #14 from Stefan Ring <stefanrin at gmail dot com> ---
(In reply to Richard Earnshaw from comment #13)
> Note that if you have root access on your board you can modify the kernel's
> behaviour for various unaligned accesses by changing /proc/cpu/alignment
> (see Documentation/arm/mem_alignment in the kernel sources).  You might want
> to try setting this to 3 to get the kernel to report (but fix up) any
> misaligned accesses).

I know that, but armv7 does not trap at all for misaligned ldrd, at the
hardware level. It does trap if it’s not even 32bit-aligned, but that’s a
different matter.
>From gcc-bugs-return-635318-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 12:03:17 2019
Return-Path: <gcc-bugs-return-635318-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28329 invoked by alias); 26 Feb 2019 12:03: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 28198 invoked by uid 48); 26 Feb 2019 12:03:12 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/89498] [8/9 Regression] ICE in AT_loc_list, at dwarf2out.c:4871
Date: Tue, 26 Feb 2019 12:03:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gscfq@t-online.de
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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89498-4-N7auaBBzDQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89498-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89498-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: 2019-02/txt/msg03620.txt.bz2
Content-length: 1534

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89498

--- Comment #2 from G. Steinmetz <gscfq@t-online.de> ---

Hm, on my environment it's not necessary to include <math.h>,
can therefore be omitted. But that case was only exemplary.

You can try to catch the other ones, e.g. simply looping over


###

export LANG=C
cd gcc/testsuite

for i in */*.[cC] */*/*.[cC] */*/*/*.[cC]
do
   timeout 2.0 gcc-9-20190224 -c $i -O2 -gdwarf-5 -gsplit-dwarf
done > _list 2>&1

grep -i 'internal compiler' _list
grep -i 'internal compiler' _list | wc -l

###


Or alternatively one combination out of :
   -O2 -gdwarf -gsplit-dwarf
   -O2 -gdwarf-5 -gsplit-dwarf
   -O2 -gdwarf-4 -gsplit-dwarf
   -O2 -g -gdwarf-5 -gsplit-dwarf


It would be very astonishing if nothing comes out there ...
On my plain vanilla test PC above loop finds 19341 cases with ICE :

$ grep -i 'internal compiler' _list | wc -l
19341


Including another ICE group (closely related or not)
with 2327 failing cases, e.g. :

$ gcc-9-20190224 -c gcc.dg/align-2.c -O2 -gdwarf-5 -gsplit-dwarf
gcc.dg/align-2.c:6:1: internal compiler error: Segmentation fault
    6 | extern char compile_time_assert[__alignof__(v4) == sizeof(float)*4 ? 1
: -1];
      | ^~~~~~
0xa89c1f crash_signal
        ../../gcc/toplev.c:326
0x797b34 void hash_table<addr_hasher, xcallocator>::traverse_noresize<unsigned
int*, &(count_index_addrs(addr_table_entry**, unsigned int*))>(unsigned int*)
        ../../gcc/hash-table.h:965
0x797b34 dwarf2out_finish
        ../../gcc/dwarf2out.c:31551
>From gcc-bugs-return-635319-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 12:09:24 2019
Return-Path: <gcc-bugs-return-635319-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64854 invoked by alias); 26 Feb 2019 12:09: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 60149 invoked by uid 48); 26 Feb 2019 12:09:19 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82501] AddressSanitizer does not handle negative offset for first global variable
Date: Tue, 26 Feb 2019 12:09: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: unknown
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: normal
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: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82501-4-bpXdNwpUeh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82501-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82501-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: 2019-02/txt/msg03621.txt.bz2
Content-length: 1725

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82501

--- Comment #20 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Andrey Drobyshev from comment #18)
> (In reply to Martin Liška from comment #16)
> > Created attachment 45797 [details]
> > Patch candidate
> > 
> > Patch candidate where I made some refactoring and come up with tests.
> > Works fine on x86_64, on ppc64le there are some issues with
> > -fsection-anchors, but that would be possible to resolve.
> > 
> > Please let me know if you're fine with that and we can submit that to
> > gcc-patches ML?
> 
> Looks good to me. By not setting TREE_PUBLIC flag we give our dummy globals
> internal linkage (as if they were static), thus allowing linker to mix
> multiple TUs with these dummies.

One can't use TREE_PUBLIC because:

$ cat a.c
int a = 2;

$ cat b.c
int b = 3;

$ gcc a.c b.c -fsanitize=address
/usr/bin/ld: /tmp/ccSj1xmO.o:(.data+0x0): multiple definition of
`__asan_data_dummy_global'; /tmp/ccsHDJug.o:(.data+0x0): first defined here
/usr/bin/ld: /usr/lib/../lib64/crt1.o: in function `_start':
/home/abuild/rpmbuild/BUILD/glibc-2.29/csu/../sysdeps/x86_64/start.S:104:
undefined reference to `main'
collect2: error: ld returned 1 exit status

> 
> However, this way number of dummy globals in the resulting executable is
> proportional to the number of TUs, and each of them occupies additional 64b
> for redzone (due to alignment) + its poisoned metadata (struct
> __asan_global, also 64b on x86_64). I guess that's what was meant by
> "wasting more memory" in
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82501#c1. I'm not sure, are we
> ok with such a waste?

Yes, I hope it's a reasonable trade off.
>From gcc-bugs-return-635321-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 12:11:46 2019
Return-Path: <gcc-bugs-return-635321-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109876 invoked by alias); 26 Feb 2019 12:11:43 -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 109603 invoked by uid 48); 26 Feb 2019 12:11:35 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82501] AddressSanitizer does not handle negative offset for first global variable
Date: Tue, 26 Feb 2019 12:11: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: unknown
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: normal
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: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82501-4-qr6fDNzKfz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82501-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82501-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: 2019-02/txt/msg03623.txt.bz2
Content-length: 463

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82501

--- Comment #21 from Martin Liška <marxin at gcc dot gnu.org> ---
Thanks for the test-case.

> 
> So I guess we still have to detect relocations. I cannot see limitations
> coming particularly from approach #2 from
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82501#c1. We just need to pass
> the right reloc value to categorize_decl_for_section().

Can you please tweak the patch to emit these?
>From gcc-bugs-return-635320-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 12:11:24 2019
Return-Path: <gcc-bugs-return-635320-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106874 invoked by alias); 26 Feb 2019 12:11: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 101926 invoked by uid 48); 26 Feb 2019 12:11:19 -0000
From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89506] New: [7/8/9 Regression] ICE: in decompose, at rtl.h:2266 with -Og -g
Date: Tue, 26 Feb 2019 12:11: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: zsojka at seznam dot cz
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 attachments.created
Message-ID: <bug-89506-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: 2019-02/txt/msg03622.txt.bz2
Content-length: 3757

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89506

            Bug ID: 89506
           Summary: [7/8/9 Regression] ICE: in decompose, at rtl.h:2266
                    with -Og -g
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu
            Target: armv7a-hardfloat-linux-gnueabi

Created attachment 45825
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45825&action=edit
reduced testcase

Compiler output:
$ armv7a-hardfloat-linux-gnueabi-gcc -Og -g testcase.c
during RTL pass: vartrack
testcase.c: In function 'foo':
testcase.c:10:1: internal compiler error: in decompose, at rtl.h:2266
   10 | }
      | ^
0xa54130 wi::int_traits<std::pair<rtx_def*, machine_mode> >::decompose(long*,
unsigned int, std::pair<rtx_def*, machine_mode> const&)
        /repo/gcc-trunk/gcc/rtl.h:2264
0xdbc19c wide_int_ref_storage<false,
false>::wide_int_ref_storage<std::pair<rtx_def*, machine_mode>
>(std::pair<rtx_def*, machine_mode> const&, unsigned int)
        /repo/gcc-trunk/gcc/wide-int.h:1013
0xdbc19c generic_wide_int<wide_int_ref_storage<false, false>
>::generic_wide_int<std::pair<rtx_def*, machine_mode> >(std::pair<rtx_def*,
machine_mode> const&, unsigned int)
        /repo/gcc-trunk/gcc/wide-int.h:788
0xdbc19c wi::binary_traits<std::pair<rtx_def*, machine_mode>,
std::pair<rtx_def*, machine_mode>, wi::int_traits<std::pair<rtx_def*,
machine_mode> >::precision_type, wi::int_traits<std::pair<rtx_def*,
machine_mode> >::precision_type>::result_type wi::add<std::pair<rtx_def*,
machine_mode>, std::pair<rtx_def*, machine_mode> >(std::pair<rtx_def*,
machine_mode> const&, std::pair<rtx_def*, machine_mode> const&)
        /repo/gcc-trunk/gcc/wide-int.h:2403
0xdbc19c simplify_const_binary_operation(rtx_code, machine_mode, rtx_def*,
rtx_def*)
        /repo/gcc-trunk/gcc/simplify-rtx.c:4286
0xdbb693 simplify_binary_operation(rtx_code, machine_mode, rtx_def*, rtx_def*)
        /repo/gcc-trunk/gcc/simplify-rtx.c:2164
0xdcc86e simplify_plus_minus
        /repo/gcc-trunk/gcc/simplify-rtx.c:4686
0xdb6277 simplify_binary_operation_1
        /repo/gcc-trunk/gcc/simplify-rtx.c:2388
0xdbb6c5 simplify_binary_operation(rtx_code, machine_mode, rtx_def*, rtx_def*)
        /repo/gcc-trunk/gcc/simplify-rtx.c:2167
0x9b0946 cselib_expand_value_rtx_1
        /repo/gcc-trunk/gcc/cselib.c:1856
0x9b1eae cselib_expand_value_rtx_cb(rtx_def*, bitmap_head*, int, rtx_def*
(*)(rtx_def*, bitmap_head*, int, void*), void*)
        /repo/gcc-trunk/gcc/cselib.c:1562
0x10b6ea0 vt_expand_var_loc_chain
        /repo/gcc-trunk/gcc/var-tracking.c:8384
0x10b7538 vt_expand_loc_callback
        /repo/gcc-trunk/gcc/var-tracking.c:8547
0x9b087a cselib_expand_value_rtx_1
        /repo/gcc-trunk/gcc/cselib.c:1716
0x9b0515 cselib_expand_value_rtx_1
        /repo/gcc-trunk/gcc/cselib.c:1754
0x9b1eae cselib_expand_value_rtx_cb(rtx_def*, bitmap_head*, int, rtx_def*
(*)(rtx_def*, bitmap_head*, int, void*), void*)
        /repo/gcc-trunk/gcc/cselib.c:1562
0x10b6ea0 vt_expand_var_loc_chain
        /repo/gcc-trunk/gcc/var-tracking.c:8384
0x10b7538 vt_expand_loc_callback
        /repo/gcc-trunk/gcc/var-tracking.c:8547
0x9b087a cselib_expand_value_rtx_1
        /repo/gcc-trunk/gcc/cselib.c:1716
0x9b0515 cselib_expand_value_rtx_1
        /repo/gcc-trunk/gcc/cselib.c:1754
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-635322-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 12:17:03 2019
Return-Path: <gcc-bugs-return-635322-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119873 invoked by alias); 26 Feb 2019 12:17: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 119758 invoked by uid 48); 26 Feb 2019 12:16:57 -0000
From: "pkubaj at anongoth dot pl" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/89494] Bootstrap error when using GCC 4.2.1
Date: Tue, 26 Feb 2019 12:17: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: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pkubaj at anongoth dot pl
X-Bugzilla-Status: WAITING
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-89494-4-hokWg3YsWD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89494-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89494-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: 2019-02/txt/msg03624.txt.bz2
Content-length: 541

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89494

--- Comment #6 from Piotr Kubaj <pkubaj at anongoth dot pl> ---
(In reply to Richard Biener from comment #5)
> So it looks like stage1 gcc is miscompiled somehow.  I wonder if you can
> avoid
> setting CFLAGS et al?

I just added CFLAGS+=-O0 and CXXFLAGS+=-O0. For now, the build is ongoing (I'm
building GCC 7 first, as it had the most verbose errors), but I think it's
already past the stage where it crashed. I will leave it open until all
versions are built (7, 8, 9)

Thanks!
>From gcc-bugs-return-635323-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 12:38:37 2019
Return-Path: <gcc-bugs-return-635323-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60091 invoked by alias); 26 Feb 2019 12:38: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 57696 invoked by uid 48); 26 Feb 2019 12:38:33 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/67542] ICE in gfc_emit_parameter_debug_info, at fortran/trans-decl.c:4947 and :4945
Date: Tue, 26 Feb 2019 12:38: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: 5.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: WAITING
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-67542-4-ueP4a4hRZc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67542-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67542-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: 2019-02/txt/msg03625.txt.bz2
Content-length: 193

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67542

--- Comment #8 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
I cannot get any ICE with the options and revisions I have tried.
>From gcc-bugs-return-635324-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 12:49:00 2019
Return-Path: <gcc-bugs-return-635324-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78255 invoked by alias); 26 Feb 2019 12:49: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 77832 invoked by uid 48); 26 Feb 2019 12:48:43 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/79864] Implicit type conversion on assignment of unallocated array to unallocated array variable segfaults.
Date: Tue, 26 Feb 2019 12:49: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: INVALID
X-Bugzilla-Priority: P4
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-79864-4-uKNvqph5Jq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79864-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79864-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: 2019-02/txt/msg03626.txt.bz2
Content-length: 643

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79864

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID

--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Compiling the test with '-Wall -Wextra -fcheck=all -Ofast -m32 -fsanitize=address'
> gives ...

I no longer see the warnings with 8.2.0 and trunk (9.0).

From pr79863 comment 5, the code is invalid.
>From gcc-bugs-return-635325-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 12:50:27 2019
Return-Path: <gcc-bugs-return-635325-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83779 invoked by alias); 26 Feb 2019 12:50: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 83124 invoked by uid 48); 26 Feb 2019 12:50:20 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/70644] Warn about implicit conversion of 'this' to pointer to virtual base class during construction
Date: Tue, 26 Feb 2019 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: 6.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-70644-4-AxeW4Fcwc5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70644-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70644-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: 2019-02/txt/msg03627.txt.bz2
Content-length: 1940

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70644

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
  -Wbase-conversion (C++, Objective-C++ only)
    Warn when a pointer/reference to an object is converted to a
    pointer/reference to a base class of the object and any intermediate
    base classes have not begun construction yet.

I think the [basic.life] reference I gave was incorrect. For an object under
construction the correct reference is [class.cdtor]. I'm no longer sure if the
original testcase is actually undefined, but both f(this) calls in this version
require an undefined conversion to B* before the D base class has begun
construction:

struct B { B(int) { } };
struct D : virtual B { D(int i) : B(i) { } };

int foo(B*) { return 0; }

struct X : D {
  X() : B(foo(this)), D(foo(this)) { }
};

int main() {
  X x;
}


The problem isn't specific to virtual bases either, this is also undefined
because it converts X* to B* before construction of the D base has begun:

struct B { };
struct D : B { D(int i) { } };

int foo(B*) { return 0; }

struct X : D {
  X() : D(foo(this)) { }
};

int main() {
  X x;
}

This testcase is based on the one in [class.cdtor] and doesn't give a warning
or ubsan error for the undefined E* to A* conversion:

struct A { };
struct B : virtual A { };
struct C : B { };
struct D : virtual A { D(A*); };
struct X { X(A*); };

struct E : C, D, X {
  E()
  : D(this), // undefined: upcast from E* to A* might use path E* → D* → A*
             // but D is not constructed
             // “D((C*)this)” would be defined:
             // E* → C* is defined because E() has started,
             // and C* → A* is defined because C is fully constructed

    X(this)  // defined: upon construction of X, C/B/D/A sublattice is
             // fully constructed
  { }
};

int main()
{
  E e;
}

D::D(A*) { }
X::X(A*) { }
>From gcc-bugs-return-635326-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 13:14:36 2019
Return-Path: <gcc-bugs-return-635326-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80159 invoked by alias); 26 Feb 2019 13:14: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 77495 invoked by uid 48); 26 Feb 2019 13:14:30 -0000
From: "sbergman at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89507] New: bogus "size of array exceeds maximum object size"
Date: Tue, 26 Feb 2019 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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sbergman at redhat 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-89507-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: 2019-02/txt/msg03628.txt.bz2
Content-length: 1725

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89507

            Bug ID: 89507
           Summary: bogus "size of array exceeds maximum object size"
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sbergman at redhat dot com
                CC: caolanm at redhat dot com, msebor at gcc dot gnu.org
  Target Milestone: ---

With current trunk (towards GCC 9),

> $ cat test.cc
> unsigned char const n = 128;
> int * p = new int[n];
>
> $ g++ -c test.cc
> test.cc:2:20: error: size ‘128’ of array exceeds maximum object size ‘9223372036854775807’
>     2 | int * p = new int[n];
>       |                    ^

This looks like a regression introduced with
<https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=268774> "PR c++/87996 -
size of array is negative error when SIZE_MAX/2 < sizeof(array) <= SIZE_MAX". 
(This breaks the build of LibreOffice,

> [CXX] i18npool/source/characterclassification/cclass_unicode_parser.cxx
> i18npool/source/characterclassification/cclass_unicode_parser.cxx: In member function ‘void i18npool::cclass_Unicode::initParserTable(const com::sun::star::lang::Locale&, sal_Int32, const rtl::OUString&, sal_Int32, const rtl::OUString&)’:
> i18npool/source/characterclassification/cclass_unicode_parser.cxx:417:45: error: size ‘128’ of array exceeds maximum object size ‘9223372036854775807’
>   417 |         pTable.reset(new ParserFlags[nDefCnt]);
>       |                                             ^

.)
>From gcc-bugs-return-635327-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 13:21:19 2019
Return-Path: <gcc-bugs-return-635327-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82654 invoked by alias); 26 Feb 2019 13:21:18 -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 80461 invoked by uid 48); 26 Feb 2019 13:21:14 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/67650] undef reference with -fdevirtualize
Date: Tue, 26 Feb 2019 13:21: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.3.0
X-Bugzilla-Keywords: diagnostic, link-failure
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: cf_reconfirmed_on
Message-ID: <bug-67650-4-bwq0Yunkxg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67650-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67650-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: 2019-02/txt/msg03629.txt.bz2
Content-length: 1711

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67650

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2018-05-03 00:00:00         |2019-2-26

--- Comment #34 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Honza, could you take another look at this reduced version please?

__attribute__((weak)) void f() { }

template <typename T>
struct Base
{
  virtual void virt() = 0;
  void do_virt() { virt(); }
};

template <typename T>
struct Derived : Base<T>
{
  void virt() {}
};

template <typename T>
struct Wrap
{
  T* p = nullptr;

  virtual void indirect_virt()
  {
#ifdef FIX
    p->virt();          // OK
#else
    p->do_virt();       // link error
#endif
  }
};

template <const char*>
struct Template
{
};

constexpr char str[] = "";

struct I
{
  I() { f(); }
  Wrap<Derived<Template<str>>> l;
};

int main(){new I();}


This is valid C++, but when compiled with -O1 -fdevirtualize it fails with:

l.cc:13:8: warning: ‘void Derived<T>::virt() [with T = Template<(& str)>]’ used
but never defined
   void virt() {}
        ^~~~
/usr/bin/ld: /tmp/ccYAFtTY.o: in function `Wrap<Derived<Template<&str> >
>::indirect_virt()':
l.cc:(.text+0x57): undefined reference to `Derived<Template<&str> >::virt()'
collect2: error: ld returned 1 exit status

If compiled with -DFIX it links OK.

Even though the Template<(&str)> template argument is completely unused, it
compiles fine if Derived<int> is used instead, or
Derived<AnotherTemplate<int>>. It only fails when using a template that has a
pointer for its template parameter.
>From gcc-bugs-return-635328-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 13:21:43 2019
Return-Path: <gcc-bugs-return-635328-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91314 invoked by alias); 26 Feb 2019 13:21: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 88448 invoked by uid 48); 26 Feb 2019 13:21:38 -0000
From: "andrewm.roberts at sky dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89508] New: gcc snapshot 9.0.1 20190127 generates invalid assembler options on aarch64-unknown-linux-gnu with -march=native
Date: Tue, 26 Feb 2019 13:21: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: andrewm.roberts at sky 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-89508-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: 2019-02/txt/msg03630.txt.bz2
Content-length: 8461

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89508

            Bug ID: 89508
           Summary: gcc snapshot 9.0.1 20190127 generates invalid
                    assembler options on aarch64-unknown-linux-gnu with
                    -march=native
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: andrewm.roberts at sky dot com
  Target Milestone: ---

The latest gcc 9 snapshot (gcc version 9.0.1 20190127 (experimental)) fails
to compile files  (due to assembler option errors) when used with -march=native
on aarch64-unknown-linux-gnu

The gcc-8.3.0 release built with the same options accepts -march=native and
generates options the assembler can accept.

If -march=native is no longer accepted, it should generate a warning or error
as appropriate, or be silently ignored.

/usr/local/gcc/bin/gcc - is the gcc 9 snapshot
/usr/local/gcc-8.3.0/bin/gcc - is the gcc 8.3.0 release

All testing done an a Raspberry Pi 3B (BCM2837), ARM Cortex A53, running 64 bit
ArchLinux ARM:
uname -a
Linux alarm 4.20.11-1-ARCH #1 SMP Wed Feb 20 19:23:26 MST 2019 aarch64
GNU/Linux

The system binutils is used (2.31.1)

as --version
GNU assembler (GNU Binutils) 2.31.1
Copyright (C) 2018 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `aarch64-unknown-linux-gnu'.


Output of gcc-9.0.1 --help=target with -march=native:
(the guessed -march line is not accepted by the assembler)

/usr/local/gcc/bin/gcc -march=native -Q --help=target
The following options are target specific:
  -mabi=                                lp64
  -march=                              
armv8-a+crc+profile+rng+memtag+sb+ssbs+predres
  -mbig-endian                          [disabled]
  -mbionic                              [disabled]
  -mbranch-protection=
  -mcmodel=                             small
  -mcpu=                                generic
  -mfix-cortex-a53-835769               [enabled]
  -mfix-cortex-a53-843419               [enabled]
  -mgeneral-regs-only                   [disabled]
  -mglibc                               [enabled]
  -mlittle-endian                       [enabled]
  -mlow-precision-div                   [disabled]
  -mlow-precision-recip-sqrt            [disabled]
  -mlow-precision-sqrt                  [disabled]
  -mmusl                                [disabled]
  -momit-leaf-frame-pointer             [enabled]
  -moverride=<string>
  -mpc-relative-literal-loads           [enabled]
  -msign-return-address=                none
  -mstack-protector-guard-offset=
  -mstack-protector-guard-reg=
  -mstack-protector-guard=              global
  -mstrict-align                        [disabled]
  -msve-vector-bits=<number>            scalable
  -mtls-dialect=                        desc
  -mtls-size=                           24
  -mtrack-speculation                   [disabled]
  -mtune=                               generic
  -muclibc                              [disabled]
  -mverbose-cost-dump                   [disabled]

  Known AArch64 ABIs (for use with the -mabi= option):
    ilp32 lp64

  Supported AArch64 return address signing scope (for use with
-msign-return-address= option):
    all non-leaf none

  The code model option names for -mcmodel:
    large small tiny

  Valid arguments to -mstack-protector-guard=:
    global sysreg

  The possible SVE vector lengths:
    1024 128 2048 256 512 scalable

  The possible TLS dialects:
    desc trad

Assembler messages:
Error: unknown architectural extension `rng+memtag+sb+ssbs+predres'
Error: unrecognized option
-march=armv8-a+crc+profile+rng+memtag+sb+ssbs+predres

gcc-9.0.1 build options:

 /usr/local/gcc/bin/gcc -v
Using built-in specs.
COLLECT_GCC=/usr/local/gcc/bin/gcc
COLLECT_LTO_WRAPPER=/usr/local/gcc-9.0.0/libexec/gcc/aarch64-unknown-linux-gnu/9.0.1/lto-wrapper
Target: aarch64-unknown-linux-gnu
Configured with: ../gcc-9.0.0/configure --prefix=/usr/local/gcc-9.0.0
--program-suffix= --disable-werror --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-linker-build-id --with-linker-hash-style=gnu --enable-plugin
--enable-gnu-indirect-function --enable-lto --with-isl
--enable-languages=c,c++,fortran,lto --disable-libgcj --enable-clocale=gnu
--disable-libstdcxx-pch --enable-install-libiberty --disable-multilib
--enable-shared --with-arch-directory=aarch64 --enable-multiarch
--disable-libssp --enable-default-pie --enable-default-ssp
--host=aarch64-unknown-linux-gnu --build=aarch64-unknown-linux-gnu
--with-arch=armv8-a --disable-bootstrap
Thread model: posix
gcc version 9.0.1 20190127 (experimental) (GCC)

Output of gcc-8.3.0 --help=target with -march=native:

/usr/local/gcc-8.3.0/bin/gcc -march=native -Q --help=target
The following options are target specific:
  -mabi=ABI                             lp64
  -march=ARCH                           armv8-a+crc
  -mbig-endian                          [disabled]
  -mbionic                              [disabled]
  -mcmodel=                             small
  -mcpu=CPU
  -mfix-cortex-a53-835769               [enabled]
  -mfix-cortex-a53-843419               [enabled]
  -mgeneral-regs-only                   [disabled]
  -mglibc                               [enabled]
  -mlittle-endian                       [enabled]
  -mmusl                                [disabled]
  -momit-leaf-frame-pointer             [enabled]
  -moverride=STRING
  -mpc-relative-literal-loads           [enabled]
  -msign-return-address=                none
  -mstrict-align                        [disabled]
  -msve-vector-bits=N                   scalable
  -mtls-dialect=                        desc
  -mtls-size=                           24
  -mtune=CPU
  -muclibc                              [disabled]

  Known AArch64 ABIs (for use with the -mabi= option):
    ilp32 lp64

  Supported AArch64 return address signing scope (for use with
-msign-return-address= option):
    all non-leaf none

  The code model option names for -mcmodel:
    large small tiny

  The possible SVE vector lengths:
    1024 128 2048 256 512 scalable

  The possible TLS dialects:
    desc trad

gcc-8.3.0 build options:

/usr/local/gcc-8.3.0/bin/gcc -v
Using built-in specs.
COLLECT_GCC=/usr/local/gcc-8.3.0/bin/gcc
COLLECT_LTO_WRAPPER=/usr/local/gcc-8.3.0/libexec/gcc/aarch64-unknown-linux-gnu/8.3.0/lto-wrapper
Target: aarch64-unknown-linux-gnu
Configured with: ../gcc-8.3.0/configure --prefix=/usr/local/gcc-8.3.0
--program-suffix= --disable-werror --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-linker-build-id --with-linker-hash-style=gnu --enable-plugin
--enable-gnu-indirect-function --enable-lto --with-isl
--enable-languages=c,c++,fortran,lto --disable-libgcj --enable-clocale=gnu
--disable-libstdcxx-pch --enable-install-libiberty --disable-multilib
--enable-shared --with-arch-directory=aarch64 --enable-multiarch
--disable-libssp --enable-default-pie --enable-default-ssp
--host=aarch64-unknown-linux-gnu --build=aarch64-unknown-linux-gnu
--with-arch=armv8-a --disable-bootstrap
Thread model: posix
gcc version 8.3.0 (GCC)


Sample trivial test program gcc-9.0.1 WITHOUT --march=native:

echo "int main(void) { return 0; }" | /usr/local/gcc/bin/gcc -c -x c -o tmp.o -
# success


Sample trivial test program gcc-9.0.1 WITH --march=native:

echo "int main(void) { return 0; }" | /usr/local/gcc/bin/gcc -march=native -c
-x c -o tmp.o -
Assembler messages:
Error: unknown architectural extension `rng+memtag+sb+ssbs+predres'
Error: unrecognized option
-march=armv8-a+crc+profile+rng+memtag+sb+ssbs+predres


Sample trivial test program gcc-8.3.0 WITH --march=native:

 echo "int main(void) { return 0; }" | /usr/local/gcc-8.3.0/bin/gcc
-march=native -c -x c -o tmp.o -
# success
>From gcc-bugs-return-635329-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 13:25:12 2019
Return-Path: <gcc-bugs-return-635329-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66232 invoked by alias); 26 Feb 2019 13:24: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 64078 invoked by uid 48); 26 Feb 2019 13:24:49 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/67650] undef reference with -fdevirtualize
Date: Tue, 26 Feb 2019 13:24: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.3.0
X-Bugzilla-Keywords: diagnostic, link-failure
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-67650-4-tRqyMAkMOx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67650-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67650-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: 2019-02/txt/msg03631.txt.bz2
Content-length: 567

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67650

--- Comment #35 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #34)
> __attribute__((weak)) void f() { }

This is here so that I() { f(); } doesn't get inlined (because the compiler
can't know what f() does, since it might get replaced during linking). Without
a call to some non-inlinable function it links OK. For the version in comment
29 the std::string constructor and destructor served that purpose, because
they're defined in libstdc++.so and not inlined.
>From gcc-bugs-return-635330-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 13:32:47 2019
Return-Path: <gcc-bugs-return-635330-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92119 invoked by alias); 26 Feb 2019 13:32:46 -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 82575 invoked by uid 48); 26 Feb 2019 13:32:43 -0000
From: "schwab@linux-m68k.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89171] FAIL: go/build
Date: Tue, 26 Feb 2019 13:32: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: schwab@linux-m68k.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89171-4-vbgyIkXaNv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89171-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89171-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: 2019-02/txt/msg03632.txt.bz2
Content-length: 162

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89171

--- Comment #3 from Andreas Schwab <schwab@linux-m68k.org> ---
How can I build and run a single libgo test?
>From gcc-bugs-return-635331-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 13:33:02 2019
Return-Path: <gcc-bugs-return-635331-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120715 invoked by alias); 26 Feb 2019 13:33: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 106893 invoked by uid 48); 26 Feb 2019 13:32:56 -0000
From: "jiangning.liu at amperecomputing dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89430] A missing ifcvt optimization to generate csel
Date: Tue, 26 Feb 2019 13: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: jiangning.liu at amperecomputing 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-89430-4-PeiGQuRq2n@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89430-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89430-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: 2019-02/txt/msg03633.txt.bz2
Content-length: 242

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89430

--- Comment #8 from Jiangning Liu <jiangning.liu at amperecomputing dot com> ---
It is related to https://gcc.gnu.org/ml/gcc-patches/2015-11/msg02998.html

Bernd's patch is an overkill.
>From gcc-bugs-return-635332-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 13:43:40 2019
Return-Path: <gcc-bugs-return-635332-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84898 invoked by alias); 26 Feb 2019 13:43: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 84418 invoked by uid 48); 26 Feb 2019 13:43:27 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89502] Inefficient access to stack_guard in TCB
Date: Tue, 26 Feb 2019 13:43: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:
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89502-4-qTV6BLuwxh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89502-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89502-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: 2019-02/txt/msg03634.txt.bz2
Content-length: 2161

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89502

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Uroš Bizjak from comment #3)
> (In reply to H.J. Lu from comment #0)
> > x.s: Assembler messages:
> > x.s:11: Error: can't encode segment `%fs' with 32-bit address
> > x.s:18: Error: can't encode segment `%fs' with 32-bit address
> 
> Is this some new warning, since

Yes. it will be in binutils 2.33.

> GNU assembler version 2.31.1-17.fc29
> 
> happily assembles 
> 
>  	movl	%fs:(%edx), %ecx
> 
> to:
> 
>    8:   64 67 8b 0a             mov    %fs:(%edx),%ecx
> 
> Anyway, the following patch should fix this issue:
> 
> --cut here--
> diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
> index e77653d66a4..67872e1c15d 100644
> --- a/gcc/config/i386/i386.c
> +++ b/gcc/config/i386/i386.c
> @@ -18542,6 +18542,10 @@ ix86_print_operand_address_as (FILE *file, rtx addr,
>  
>    if (!ADDR_SPACE_GENERIC_P (as))
>      {
> +      /* We can't have 0x67 prefix with segment override.  */
> +      if (TARGET_64BIT)
> +       code = 'q';
> +
>        if (ASSEMBLER_DIALECT == ASM_ATT)
>         putc ('%', file);
>  
> --cut here--

I think we should avoid %fs:(%edx) address.  Is that possible to generate
%fs:24 even at -O0?  Glibc can do it at -O0:

[hjl@gnu-cfl-1 gcc]$ cat x.i
int
foo (void)
{
  int i;
  asm volatile ("movl %%fs:%P1, %0" : "=r" (i) : "i" (24)); 
  return i;
}
[hjl@gnu-cfl-1 gcc]$ gcc -S -O0 x.i 
[hjl@gnu-cfl-1 gcc]$ cat x.s
        .file   "x.i"
        .text
        .globl  foo
        .type   foo, @function
foo:
.LFB0:
        .cfi_startproc
        pushq   %rbp
        .cfi_def_cfa_offset 16
        .cfi_offset 6, -16
        movq    %rsp, %rbp
        .cfi_def_cfa_register 6
#APP
# 5 "x.i" 1
        movl %fs:24, %eax
# 0 "" 2
#NO_APP
        movl    %eax, -4(%rbp)
        movl    -4(%rbp), %eax
        popq    %rbp
        .cfi_def_cfa 7, 8
        ret
        .cfi_endproc
.LFE0:
        .size   foo, .-foo
        .ident  "GCC: (GNU) 8.3.1 20190223 (Red Hat 8.3.1-2)"
        .section        .note.GNU-stack,"",@progbits
[hjl@gnu-cfl-1 gcc]$
>From gcc-bugs-return-635333-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 13:46:37 2019
Return-Path: <gcc-bugs-return-635333-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25639 invoked by alias); 26 Feb 2019 13:46: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 25501 invoked by uid 48); 26 Feb 2019 13:46:33 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89506] [7/8/9 Regression] ICE: in decompose, at rtl.h:2266 with -Og -g
Date: Tue, 26 Feb 2019 13:46: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: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc component target_milestone everconfirmed
Message-ID: <bug-89506-4-k9WfiqE1HE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89506-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89506-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: 2019-02/txt/msg03635.txt.bz2
Content-length: 584

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89506

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-26
                 CC|                            |jakub at gcc dot gnu.org
          Component|rtl-optimization            |target
   Target Milestone|---                         |7.5
     Ever confirmed|0                           |1
>From gcc-bugs-return-635334-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 13:47:13 2019
Return-Path: <gcc-bugs-return-635334-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27178 invoked by alias); 26 Feb 2019 13:47: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 26996 invoked by uid 48); 26 Feb 2019 13:47:08 -0000
From: "tnfchris at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89508] gcc snapshot 9.0.1 20190127 generates invalid assembler options on aarch64-unknown-linux-gnu with -march=native
Date: Tue, 26 Feb 2019 13:47: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tnfchris 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-89508-4-DHAtdatslx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89508-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89508-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: 2019-02/txt/msg03636.txt.bz2
Content-length: 719

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89508

Tamar Christina <tnfchris at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |tnfchris at gcc dot gnu.org
         Resolution|---                         |DUPLICATE

--- Comment #1 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
Marking as a dupe of PR target/88530.

This will be fixed by https://gcc.gnu.org/ml/gcc-patches/2019-02/msg00381.html
once it's committed.

Thanks!

*** This bug has been marked as a duplicate of bug 88530 ***
>From gcc-bugs-return-635335-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 13:47:13 2019
Return-Path: <gcc-bugs-return-635335-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27188 invoked by alias); 26 Feb 2019 13:47: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 27022 invoked by uid 48); 26 Feb 2019 13:47:09 -0000
From: "tnfchris at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88530] [8/9 Regression] AArch64 Unsupported options passed to assemblers when it doesn't need to.
Date: Tue, 26 Feb 2019 13:47: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.0
X-Bugzilla-Keywords: assemble-failure
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tnfchris at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: tnfchris at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-88530-4-b90a9TmuH9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88530-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88530-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: 2019-02/txt/msg03637.txt.bz2
Content-length: 457

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88530

Tamar Christina <tnfchris at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrewm.roberts at sky dot com

--- Comment #4 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
*** Bug 89508 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-635336-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 13:49:59 2019
Return-Path: <gcc-bugs-return-635336-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61352 invoked by alias); 26 Feb 2019 13:49: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 61224 invoked by uid 48); 26 Feb 2019 13:49:54 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89506] [7/8/9 Regression] ICE: in decompose, at rtl.h:2266 with -Og -g
Date: Tue, 26 Feb 2019 13:49: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: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created
Message-ID: <bug-89506-4-28YsVaYHQs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89506-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89506-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: 2019-02/txt/msg03638.txt.bz2
Content-length: 578

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89506

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45826
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45826&action=edit
gcc9-pr89506.patch

Untested fix.
>From gcc-bugs-return-635337-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 13:51:12 2019
Return-Path: <gcc-bugs-return-635337-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66130 invoked by alias); 26 Feb 2019 13:51: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 65948 invoked by uid 48); 26 Feb 2019 13:51:03 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89171] FAIL: go/build
Date: Tue, 26 Feb 2019 13:51: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: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89171-4-B1qAnC0YCt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89171-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89171-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: 2019-02/txt/msg03639.txt.bz2
Content-length: 590

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89171

--- Comment #4 from Ian Lance Taylor <ian at airs dot com> ---
To run, say, just the go/build test, cd to the libgo build directory and run
"make go/build/check".  To keep the test binary around, run "make
GOTESTFLAGS=--keep go/build/check".  That will leave the test binary (and other
stuff) in the directory gotestNNNNN/test.  In that directory you can run
"LD_LIBRARY_PATH=../../.libs ./a.out -test.short".  That executable also takes
other options, like "-test.run=TestDependencies" to run just the
TestDependencies test.
>From gcc-bugs-return-635338-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 13:58:52 2019
Return-Path: <gcc-bugs-return-635338-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112927 invoked by alias); 26 Feb 2019 13:58: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 108311 invoked by uid 48); 26 Feb 2019 13:58:48 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89502] Inefficient access to stack_guard in TCB
Date: Tue, 26 Feb 2019 13: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak 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-89502-4-aLcvgrlthf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89502-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89502-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: 2019-02/txt/msg03640.txt.bz2
Content-length: 309

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89502

--- Comment #6 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to H.J. Lu from comment #5)

> I think we should avoid %fs:(%edx) address.  Is that possible to generate

It is what middle-end expands to, so nothing much that we can do here.
>From gcc-bugs-return-635339-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 14:01:04 2019
Return-Path: <gcc-bugs-return-635339-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6659 invoked by alias); 26 Feb 2019 14:01: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 3496 invoked by uid 48); 26 Feb 2019 14:00:59 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89410] [7/8 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1237 after #line
Date: Tue, 26 Feb 2019 14:01: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: diagnostic, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89410-4-smTFCi2eaj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89410-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89410-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: 2019-02/txt/msg03641.txt.bz2
Content-length: 883

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89410

--- Comment #18 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
(In reply to Tamar Christina from comment #17)
> Hi, 
> 
> I'm getting a test failure on master for these new tests
> 
> UNRESOLVED: gcc.dg/pr89410-1.c: bad option "-1": must be -exact, -glob,
> -regexp, or -- for " dg-warning 8 "msg" "" { target *-*-* } -1 "
> 
> is that `-1` correct there?

Sorry about this.

It's meant to be expressing a line number of "-1", but it looks like on your
system that DejaGnu/Tcl is picking that up as an option to a regexp.

Works for me (on x86_64-pc-linux-gnu) with the following:
  dejagnu-1.5.2-1.fc20.noarch
  expect-5.45-10.fc20.x86_64
  tcl-8.5.14-1.fc20.x86_64
where I get:
  PASS: gcc.dg/pr89410-1.c  (test for warnings, line -1)
  PASS: gcc.dg/pr89410-2.c  (test for warnings, line -1)
for such directives.
>From gcc-bugs-return-635340-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 14:03:11 2019
Return-Path: <gcc-bugs-return-635340-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81333 invoked by alias); 26 Feb 2019 14:03: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 81173 invoked by uid 55); 26 Feb 2019 14:03:07 -0000
From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89479] __restrict on a pointer ignored when a function is passed alongside it
Date: Tue, 26 Feb 2019 14:03: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.3.0
X-Bugzilla-Keywords: alias, missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenther at suse dot de
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-89479-4-LIhIvYqcTM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89479-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89479-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: 2019-02/txt/msg03642.txt.bz2
Content-length: 1312

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89479

--- Comment #7 from rguenther at suse dot de <rguenther at suse dot de> ---
On Tue, 26 Feb 2019, eyalroz at technion dot ac.il wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89479
> 
> --- Comment #5 from Eyal Rozenberg <eyalroz at technion dot ac.il> ---
> (In reply to Richard Biener from comment #4)
> > exposing __restrict to the IL). 
> 
> Is "IL" an acronym for "Intermediate Language"? Remember many bug
> posters/readers are not GCC developers and don't know all the lingo.

Yes.

> > To elaborate further to successfully mark a function call
> > with clique == 1 and base == 0 we have to prove the pointer marked restrict
> > doesn't escape the function through calls
> 
> Certainly, calling g() could be just the same as writing to an alias of the x
> pointer. But - __restrict is how we guarantee this doesn't happen (or can be
> ignored) even when the compiler can't prove that's the case on its own. So I'm
> not sure I understand what you're suggesting with your comment. I suppose you
> could try and "disprove the __restrict" to give a warning, but other than that
> - why not just respect it?

Well, "respecting" it means encoding it in the intermediate language
which we don't at the moment for calls.
>From gcc-bugs-return-635341-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 14:08:41 2019
Return-Path: <gcc-bugs-return-635341-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92977 invoked by alias); 26 Feb 2019 14:08:41 -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 92743 invoked by uid 48); 26 Feb 2019 14:08:33 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71446] Incorrect overload resolution when using designated initializers
Date: Tue, 26 Feb 2019 14:08: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: 5.3.0
X-Bugzilla-Keywords: accepts-invalid, rejects-valid
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 everconfirmed
Message-ID: <bug-71446-4-ABxqZLb98C@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71446-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71446-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: 2019-02/txt/msg03643.txt.bz2
Content-length: 674

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71446

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-26
     Ever confirmed|0                           |1

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I'm confirming this as a bug. If we claim to support the extension we should
make it behave sensibly, and we need to fix it for C++2a anyway.
>From gcc-bugs-return-635342-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 14:09:58 2019
Return-Path: <gcc-bugs-return-635342-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96506 invoked by alias); 26 Feb 2019 14:09:55 -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 96349 invoked by uid 55); 26 Feb 2019 14:09:51 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89505] [9 Regression] LibreOffice miscompilation starting with r260383
Date: Tue, 26 Feb 2019 14:09: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89505-4-HKMPaR7fmE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89505-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89505-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: 2019-02/txt/msg03644.txt.bz2
Content-length: 717

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89505

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Feb 26 14:09:19 2019
New Revision: 269212

URL: https://gcc.gnu.org/viewcvs?rev=269212&root=gcc&view=rev
Log:
2019-02-26  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/89505
        * tree-ssa-structalias.c (compute_dependence_clique): Make sure
        to handle restrict pointed-to vars with multiple subvars
        correctly.

        * gcc.dg/torture/pr89505.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr89505.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-structalias.c
>From gcc-bugs-return-635343-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 14:10:23 2019
Return-Path: <gcc-bugs-return-635343-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98049 invoked by alias); 26 Feb 2019 14:10: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 97873 invoked by uid 48); 26 Feb 2019 14:10:17 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89505] [8/7 Regression] LibreOffice miscompilation starting with r260383
Date: Tue, 26 Feb 2019 14:10: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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords priority cf_known_to_work target_milestone short_desc
Message-ID: <bug-89505-4-10AUyZ2vbG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89505-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89505-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: 2019-02/txt/msg03645.txt.bz2
Content-length: 807

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89505

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
           Priority|P1                          |P2
      Known to work|                            |9.0
   Target Milestone|9.0                         |7.5
            Summary|[9 Regression] LibreOffice  |[8/7 Regression]
                   |miscompilation starting     |LibreOffice miscompilation
                   |with r260383                |starting with r260383

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed on trunk sofar, the reduced testcase also fails on branches.
>From gcc-bugs-return-635344-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 14:13:09 2019
Return-Path: <gcc-bugs-return-635344-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106992 invoked by alias); 26 Feb 2019 14:13: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 106839 invoked by uid 48); 26 Feb 2019 14:13:05 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89509] New: restrict doesnt work with subfield accesses
Date: Tue, 26 Feb 2019 14:13: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: 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-89509-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: 2019-02/txt/msg03646.txt.bz2
Content-length: 694

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89509

            Bug ID: 89509
           Summary: restrict doesnt work with subfield accesses
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
  Target Milestone: ---

struct S { int i; void *p; int j; };
int
foo (struct S * __restrict p, int *q, int flag)
{
  int *x = &p->j;
  if (flag)
    x = &p->i;
  *q = 1;
  *x = 2;
  return *q;
}

Is not optimized to return 1.  This is the missed-optimization part of
PR89505.
>From gcc-bugs-return-635345-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 14:13:37 2019
Return-Path: <gcc-bugs-return-635345-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108569 invoked by alias); 26 Feb 2019 14:13: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 108403 invoked by uid 48); 26 Feb 2019 14:13:33 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89509] restrict doesnt work with subfield accesses
Date: Tue, 26 Feb 2019 14:13: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: 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: keywords bug_status cf_reconfirmed_on blocked assigned_to everconfirmed
Message-ID: <bug-89509-4-hJ24Fmk4Wa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89509-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89509-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: 2019-02/txt/msg03647.txt.bz2
Content-length: 851

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89509

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-26
             Blocks|                            |49774
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I have a patch (for GCC 10).


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49774
[Bug 49774] [meta-bug] restrict qualification aliasing issues
>From gcc-bugs-return-635346-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 14:21:22 2019
Return-Path: <gcc-bugs-return-635346-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19077 invoked by alias); 26 Feb 2019 14:21: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 18906 invoked by uid 48); 26 Feb 2019 14:21:17 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71446] Incorrect overload resolution when using designated initializers
Date: Tue, 26 Feb 2019 14:21: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: 5.3.0
X-Bugzilla-Keywords: accepts-invalid, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-71446-4-9m8qgNDN7f@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71446-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71446-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: 2019-02/txt/msg03648.txt.bz2
Content-length: 466

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71446

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
So, shall we never try ck_list conversion for CONSTRUCTORs with any designators
(while for -std=c++2a we'll complain if there is a mix of designated
initializer clauses and non-designated initializ clauses, I think we don't
diagnose that earlier, so maybe we need to cache it in some CONSTRUCTOR flag?),
or never any conversion but ck_aggr?
>From gcc-bugs-return-635347-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 14:22:03 2019
Return-Path: <gcc-bugs-return-635347-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38148 invoked by alias); 26 Feb 2019 14:22: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 35876 invoked by uid 48); 26 Feb 2019 14:21:58 -0000
From: "tnfchris at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89410] [7/8 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1237 after #line
Date: Tue, 26 Feb 2019 14:22: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: diagnostic, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tnfchris at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89410-4-MGtBGb1TqO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89410-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89410-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: 2019-02/txt/msg03649.txt.bz2
Content-length: 229

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89410

--- Comment #19 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
Hmm we're running it on 

Tcl: 8.5
Expect: 5.45
Dejagnu: 1.5.1

So I think those are about the same..
>From gcc-bugs-return-635348-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 14:29:54 2019
Return-Path: <gcc-bugs-return-635348-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69020 invoked by alias); 26 Feb 2019 14:29: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 68939 invoked by uid 89); 26 Feb 2019 14:29:53 -0000
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=3.2 required=5.0 testsºYES_95,GIT_PATCH_2,HTML_MESSAGE,KAM_LAZY_DOMAIN_SECURITY,MISSING_MID,RCVD_IN_PBL,RCVD_IN_XBL autolearn=no version=3.3.2 spammy=H*c:sk:boundar, e, Hx-spam-relays-external:SKY-20150219JSJ, H*r:SKY-20150219JSJ
X-HELO: clcel.com
Received: from Unknown (HELO clcel.com) (60.173.47.196) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 26 Feb 2019 14:29:52 +0000
Received: from SKY-20150219JSJ ([127.0.0.1]) by localhost via TCP with ESMTPA; Tue, 26 Feb 2019 22:29:37 +0800
MIME-Version: 1.0
From: jrxo <jrxo@clcel.com>
Sender: jrxo <jrxo@clcel.com>
To: gcc-bugs@gcc.gnu.org
Date: Tue, 26 Feb 2019 14:29:00 -0000
Subject: =?utf-8?B?5ZCIZeazlU7nu49P6JCldQ==?Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: base64
X-SW-Source: 2019-02/txt/msg03650.txt.bz2
Content-length: 468

5YqeUFAgDQombmJzcDsNCueQhiZuYnNwOyZuYnNwOyQmbmJzcDsmbmJzcDsg
K1ErVivkv6EjJQ0KJm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5i
c3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7IC0tLS0tLQ0KJmFtcDsmbmJzcDsmbmJz
cDsmbmJzcDskJm5ic3A7Jm5ic3A7LS0gSSAzIDQNCumrriZuYnNwOyZuYnNw
OyQtLS0mbmJzcDsmbmJzcDsyIDQgMyA0Jm5ic3A7Jm5ic3A7DQomYW1wOyZu
YnNwOyZuYnNwOyZuYnNwOyQmbmJzcDsmbmJzcDstLS02IDEgNCA4DQrmvIIg
JCZuYnNwOyANCiZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNwOyZuYnNw
OyZuYnNwOyZuYnNwOyAtLS0tLTIwMTkvMi8yNg=>From gcc-bugs-return-635349-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 14:38:18 2019
Return-Path: <gcc-bugs-return-635349-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41417 invoked by alias); 26 Feb 2019 14:38: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 38014 invoked by uid 55); 26 Feb 2019 14:38:12 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89481] constexpr function allows writing one active union member and reading another
Date: Tue, 26 Feb 2019 14:38: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.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89481-4-WF46Y3bqH5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89481-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89481-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: 2019-02/txt/msg03651.txt.bz2
Content-length: 610

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89481

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Feb 26 14:37:39 2019
New Revision: 269213

URL: https://gcc.gnu.org/viewcvs?rev=269213&root=gcc&view=rev
Log:
        PR c++/89481
        * constexpr.c (cxx_eval_store_expression): When changing active union
        member, set no_zero_init.

        * g++.dg/cpp1y/constexpr-89481.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/constexpr-89481.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/constexpr.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635350-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 14:46:31 2019
Return-Path: <gcc-bugs-return-635350-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108638 invoked by alias); 26 Feb 2019 14: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 108004 invoked by uid 48); 26 Feb 2019 14:46:24 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89481] constexpr function allows writing one active union member and reading another
Date: Tue, 26 Feb 2019 14:46: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.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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: bug_status resolution
Message-ID: <bug-89481-4-vxSuIc4p3f@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89481-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89481-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: 2019-02/txt/msg03652.txt.bz2
Content-length: 434

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89481

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed for GCC 9+.
>From gcc-bugs-return-635351-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 14:47:38 2019
Return-Path: <gcc-bugs-return-635351-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112672 invoked by alias); 26 Feb 2019 14:47: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 112522 invoked by uid 55); 26 Feb 2019 14:47:34 -0000
From: "ian at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/86535] FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails
Date: Tue, 26 Feb 2019 14:47: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: 7.3.0
X-Bugzilla-Keywords: build
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86535-4-MzXxHGl1ms@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86535-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86535-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: 2019-02/txt/msg03653.txt.bz2
Content-length: 554

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535

--- Comment #14 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Tue Feb 26 14:46:56 2019
New Revision: 269214

URL: https://gcc.gnu.org/viewcvs?rev=269214&root=gcc&view=rev
Log:
        PR go/86535
    runtime: always declare nanotime in Go

    For libgo it's always defined in C.

    Updates https://gcc.gnu.org/PR86535

    Reviewed-on: https://go-review.googlesource.com/c/163743

Modified:
    trunk/gcc/go/gofrontend/MERGE
    trunk/libgo/go/runtime/stubs3.go
>From gcc-bugs-return-635352-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 14:51:38 2019
Return-Path: <gcc-bugs-return-635352-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123948 invoked by alias); 26 Feb 2019 14:51: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 123773 invoked by uid 48); 26 Feb 2019 14:51:33 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/86535] FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails
Date: Tue, 26 Feb 2019 14:51: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: 7.3.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ian at airs dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86535-4-OLodGBgOHh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86535-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86535-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: 2019-02/txt/msg03654.txt.bz2
Content-length: 546

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535

--- Comment #15 from Ian Lance Taylor <ian at airs dot com> ---
I committed a patch that should fix the nanotime problem.

Some of the other issues you describe will most likely require a fix in the
libgo/mkrsysinfo.sh script, which generates the file runtime_sysinfo.go.  For
example, that is likely the problem with _CTL_HW and _HW_PAGESIZE.

For sysctl we'll need a declaration with a //extern comment.

I'm happy to advise but I don't realistically have the time to do the work
myself.
>From gcc-bugs-return-635353-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 15:21:24 2019
Return-Path: <gcc-bugs-return-635353-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102778 invoked by alias); 26 Feb 2019 15:21: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 102690 invoked by uid 48); 26 Feb 2019 15:21:19 -0000
From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89482] arm aarch32 inline assembly w constraints generate s registers instead of d
Date: Tue, 26 Feb 2019 15: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: 8.2.0
X-Bugzilla-Keywords: documentation
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ktkachov 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: bug_status resolution
Message-ID: <bug-89482-4-VT4gh9jmVL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89482-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89482-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: 2019-02/txt/msg03655.txt.bz2
Content-length: 913

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89482

ktkachov at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID

--- Comment #4 from ktkachov at gcc dot gnu.org ---
Right. So when dealing with double-precision values you should use the %P
output modifier like so:
    double my_double = 1.5;
    __asm__ (
        "vmov.f64 d0, 1.0;"
        "vadd.f64 %P[my_double], %P[my_double], d0;"
        : [my_double] "+w" (my_double)
        :
        : "d0"
    );

This will print the right D-form of the VFP register allocated.
The documentation for this could, admittedly be improved
(https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html). I believe someone is
working on that currently.
>From gcc-bugs-return-635354-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 15:49:47 2019
Return-Path: <gcc-bugs-return-635354-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101541 invoked by alias); 26 Feb 2019 15:49: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 98941 invoked by uid 48); 26 Feb 2019 15:49:43 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Tue, 26 Feb 2019 15:49: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89490-4-nWbf5oyKyt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03656.txt.bz2
Content-length: 4194

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I think there is a serious flaw that the section anchor infrastructure is used
at all for the SECTION_MERGE sections, one really must not use any kind of
section anchors for those sections, there is no guarantees that the layout made
by the compiler will match what the linker will do in the end (between
different objects in the section that is, within a single object it has to
stay).

If that isn't done and we for some strange reason must still go through the
block stuff, I think we should do for something like following, where we'll
account for the artificially added trailing zeros.

--- gcc/varasm.c.jj     2019-02-22 09:30:19.133180850 +0100
+++ gcc/varasm.c        2019-02-26 16:42:11.699848053 +0100
@@ -7452,7 +7452,7 @@ place_block_symbol (rtx symbol)
   struct constant_descriptor_rtx *desc;
   unsigned int alignment;
   struct object_block *block;
-  tree decl;
+  tree decl = NULL_TREE;

   gcc_assert (SYMBOL_REF_BLOCK (symbol));
   if (SYMBOL_REF_BLOCK_OFFSET (symbol) >= 0)
@@ -7511,6 +7511,20 @@ place_block_symbol (rtx symbol)

   /* Calculate the object's offset from the start of the block.  */
   block = SYMBOL_REF_BLOCK (symbol);
+  if ((block->sect->common.flags & SECTION_MERGE)
+      && (block->sect->common.flags & SECTION_STRINGS)
+      && decl
+      && DECL_INITIAL (decl)
+      && TREE_CODE (DECL_INITIAL (decl)) == STRING_CST)
+    {
+      tree str = DECL_INITIAL (decl);
+      unsigned HOST_WIDE_INT thissize = TREE_STRING_LENGTH (str);
+      if ((thissize == 0
+          || TREE_STRING_POINTER (str) [thissize - 1] != '\0')
+         && size == thissize)
+       size++;
+    }
+
   mask = alignment / BITS_PER_UNIT - 1;
   offset = (block->size + mask) & ~mask;
   SYMBOL_REF_BLOCK_OFFSET (symbol) = offset;
@@ -7639,6 +7653,8 @@ output_object_block (struct object_block

   /* Output the objects themselves.  */
   offset = 0;
+  bool merge_strings = ((block->sect->common.flags & SECTION_MERGE)
+                       && (block->sect->common.flags & SECTION_STRINGS));
   FOR_EACH_VEC_ELT (*block->objects, i, symbol)
     {
       /* Move to the object's offset, padding with zeros if necessary.  */
@@ -7657,9 +7673,18 @@ output_object_block (struct object_block
          HOST_WIDE_INT size;
          decl = SYMBOL_REF_DECL (symbol);
          assemble_constant_contents (DECL_INITIAL (decl), XSTR (symbol, 0),
-                                     DECL_ALIGN (decl), false);
+                                     DECL_ALIGN (decl), merge_strings);

          size = get_constant_size (DECL_INITIAL (decl));
+         if (merge_strings
+             && TREE_CODE (DECL_INITIAL (decl)) == STRING_CST)
+           {
+             tree str = DECL_INITIAL (decl);
+             HOST_WIDE_INT thissize = TREE_STRING_LENGTH (str);
+             if (thissize == 0
+                 || TREE_STRING_POINTER (str) [thissize - 1] != '\0')
+               size = MAX (size, thissize + 1);
+           }
          offset += size;
          if ((flag_sanitize & SANITIZE_ADDRESS)
              && TREE_CODE (DECL_INITIAL (decl)) == STRING_CST
@@ -7674,8 +7699,18 @@ output_object_block (struct object_block
        {
          HOST_WIDE_INT size;
          decl = SYMBOL_REF_DECL (symbol);
-         assemble_variable_contents (decl, XSTR (symbol, 0), false, false);
+         assemble_variable_contents (decl, XSTR (symbol, 0), false,
+                                     merge_strings);
          size = tree_to_uhwi (DECL_SIZE_UNIT (decl));
+         if (merge_strings
+             && TREE_CODE (DECL_INITIAL (decl)) == STRING_CST)
+           {
+             tree str = DECL_INITIAL (decl);
+             HOST_WIDE_INT thissize = TREE_STRING_LENGTH (str);
+             if (thissize == 0
+                 || TREE_STRING_POINTER (str) [thissize - 1] != '\0')
+               size = MAX (size, thissize + 1);
+           }
          offset += size;
          if ((flag_sanitize & SANITIZE_ADDRESS)
              && asan_protect_global (decl))
>From gcc-bugs-return-635355-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 16:11:30 2019
Return-Path: <gcc-bugs-return-635355-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7069 invoked by alias); 26 Feb 2019 16:11: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 3270 invoked by uid 48); 26 Feb 2019 16:11:25 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89507] [9 Regression] bogus "size of array exceeds maximum object size"
Date: Tue, 26 Feb 2019 16:11: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: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords priority blocked target_milestone short_desc
Message-ID: <bug-89507-4-515FVQvlss@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89507-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89507-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: 2019-02/txt/msg03657.txt.bz2
Content-length: 854

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89507

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
           Priority|P3                          |P1
             Blocks|                            |87996
   Target Milestone|---                         |9.0
            Summary|bogus "size of array        |[9 Regression] bogus "size
                   |exceeds maximum object      |of array exceeds maximum
                   |size"                       |object size"


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87996
[Bug 87996] [8 Regression] "size of array is negative" error when SIZE_MAX/2 <
sizeof(array) <= SIZE_MAX
>From gcc-bugs-return-635356-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 16:11:59 2019
Return-Path: <gcc-bugs-return-635356-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21762 invoked by alias); 26 Feb 2019 16:11: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 19485 invoked by uid 48); 26 Feb 2019 16:11:55 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89506] [7/8/9 Regression] ICE: in decompose, at rtl.h:2266 with -Og -g
Date: Tue, 26 Feb 2019 16:11: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: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority
Message-ID: <bug-89506-4-Dj9KzGSfZD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89506-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89506-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: 2019-02/txt/msg03658.txt.bz2
Content-length: 292

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89506

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
>From gcc-bugs-return-635357-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 16:12:46 2019
Return-Path: <gcc-bugs-return-635357-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32179 invoked by alias); 26 Feb 2019 16:12: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 32058 invoked by uid 48); 26 Feb 2019 16:12:41 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89509] restrict doesnt work with subfield accesses
Date: Tue, 26 Feb 2019 16:12: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: 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-89509-4-8c1Cr0Hs6X@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89509-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89509-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: 2019-02/txt/msg03659.txt.bz2
Content-length: 232

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89509

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Created attachment 45827
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45827&action=edit
the patch
>From gcc-bugs-return-635358-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 16:20:32 2019
Return-Path: <gcc-bugs-return-635358-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76458 invoked by alias); 26 Feb 2019 16:20:32 -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 76320 invoked by uid 48); 26 Feb 2019 16:20:28 -0000
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Tue, 26 Feb 2019 16:20: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bernd.edlinger at hotmail dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89490-4-rnEOqrHOL9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03660.txt.bz2
Content-length: 880

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

--- Comment #11 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
I agree, that it would be better to not put any
mergeable things in a block object.  If section anchors
are ever used on a string constant, it is going to fail.

A constant with size = 0 is possible, for instance
in Ada an empty string really empty.  These should not
go into mergeable sections.  output_constant
ignores the merge_strings parameter, therefore
I would not assume there is a zero termination


Instead of:

              if (thissize == 0
                  || TREE_STRING_POINTER (str) [thissize - 1] != '\0')
                size = MAX (size, thissize + 1);

maybe:

              if (thissize != 0
                  && TREE_STRING_POINTER (str) [thissize - 1] != '\0')
                size = MAX (size, thissize + 1);
>From gcc-bugs-return-635359-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 16:21:46 2019
Return-Path: <gcc-bugs-return-635359-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105072 invoked by alias); 26 Feb 2019 16:21: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 99323 invoked by uid 48); 26 Feb 2019 16:21:41 -0000
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Tue, 26 Feb 2019 16: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bernd.edlinger at hotmail dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89490-4-YuS8hcAdWD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03661.txt.bz2
Content-length: 226

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

--- Comment #12 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
> These should not go into mergeable sections.

I mean: These do not go into mergeable sections.
>From gcc-bugs-return-635360-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 16:24:56 2019
Return-Path: <gcc-bugs-return-635360-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98948 invoked by alias); 26 Feb 2019 16:24: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 96303 invoked by uid 48); 26 Feb 2019 16:24:41 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Tue, 26 Feb 2019 16:24: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89490-4-BXFtqjmVGp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03662.txt.bz2
Content-length: 862

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Bernd Edlinger from comment #11)
> Instead of:
> 
> 	      if (thissize == 0
> 		  || TREE_STRING_POINTER (str) [thissize - 1] != '\0')
> 		size = MAX (size, thissize + 1);
> 
> maybe:
> 
> 	      if (thissize != 0
> 		  && TREE_STRING_POINTER (str) [thissize - 1] != '\0')
> 		size = MAX (size, thissize + 1);

Well, it matches what output_constant does:
        case STRING_CST:
          thissize = (unsigned HOST_WIDE_INT)TREE_STRING_LENGTH (exp);
          if (merge_strings
              && (thissize == 0
                  || TREE_STRING_POINTER (exp) [thissize - 1] != '\0'))
            thissize++;
(using MAX just in case there is already some extra padding in the length or
whatever else).
>From gcc-bugs-return-635361-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 16:27:44 2019
Return-Path: <gcc-bugs-return-635361-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115792 invoked by alias); 26 Feb 2019 16:27:43 -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 115693 invoked by uid 48); 26 Feb 2019 16:27:40 -0000
From: "torvalds@linux-foundation.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89501] Odd lack of warning about missing initialization
Date: Tue, 26 Feb 2019 16:27: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: 8.2.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: torvalds@linux-foundation.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89501-4-I9bICPKT56@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89501-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89501-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: 2019-02/txt/msg03663.txt.bz2
Content-length: 562

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89501

--- Comment #6 from Linus Torvalds <torvalds@linux-foundation.org> ---
(In reply to Richard Biener from comment #5)
> 
> And this meeting helps us avoid bogus warnings for cases where GCC has
> difficulties proving dead code paths are actually dead ... 

Ack. I do see the difficulty. We already disable some of the
"may-be-uninitialized" warnings in the kernel because they end up being too
noisy for some configurations.

NP. If you guys figure something out, it will be good. If not, we'll survive.
>From gcc-bugs-return-635362-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 16:30:46 2019
Return-Path: <gcc-bugs-return-635362-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126118 invoked by alias); 26 Feb 2019 16:30:43 -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 125917 invoked by uid 48); 26 Feb 2019 16:30:38 -0000
From: "law at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89501] Odd lack of warning about missing initialization
Date: Tue, 26 Feb 2019 16:30: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: 8.2.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: law at redhat dot com
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89501-4-iHDtvyNcx8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89501-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89501-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: 2019-02/txt/msg03664.txt.bz2
Content-length: 352

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89501

--- Comment #7 from Jeffrey A. Law <law at redhat dot com> ---
It's reliably the case that a false positive uninit warning also represents a
failure to optimize something.  So we've got significant incentives to deeply
analyze and look for fixes.  So feel free to pass examples of those along.
>From gcc-bugs-return-635363-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 16:35:53 2019
Return-Path: <gcc-bugs-return-635363-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25449 invoked by alias); 26 Feb 2019 16:35:52 -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 25284 invoked by uid 48); 26 Feb 2019 16:35:49 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89416] [9 regression] std::vector<std::thread, custom_allocator>::push_back no longer builds.
Date: Tue, 26 Feb 2019 16:35:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89416-4-OnBylWxLAQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89416-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89416-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: 2019-02/txt/msg03665.txt.bz2
Content-length: 544

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89416

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Sigh, I tested with clang but using std::allocator, which is handled by a
partial specialization. It's still broken with clang.
>From gcc-bugs-return-635364-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 16:49:09 2019
Return-Path: <gcc-bugs-return-635364-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43131 invoked by alias); 26 Feb 2019 16:49: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 42289 invoked by uid 48); 26 Feb 2019 16:49:00 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89507] [9 Regression] bogus "size of array exceeds maximum object size"
Date: Tue, 26 Feb 2019 16:49: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: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89507-4-V3OK1qtCPh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89507-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89507-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: 2019-02/txt/msg03666.txt.bz2
Content-length: 571

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89507

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
valid_constant_size_p assumes it is sizetype/ssizetype constant, but in this
case we check it before converting it to sizetype.  Checking now if it is just
one spot or if there aren't others.
>From gcc-bugs-return-635365-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 16:50:42 2019
Return-Path: <gcc-bugs-return-635365-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48634 invoked by alias); 26 Feb 2019 16:50: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 48379 invoked by uid 48); 26 Feb 2019 16:50:38 -0000
From: "torvalds@linux-foundation.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89501] Odd lack of warning about missing initialization
Date: Tue, 26 Feb 2019 16:50: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: 8.2.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: torvalds@linux-foundation.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89501-4-X6lwtJ1lAc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89501-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89501-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: 2019-02/txt/msg03667.txt.bz2
Content-length: 1287

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89501

--- Comment #8 from Linus Torvalds <torvalds@linux-foundation.org> ---
(In reply to Jeffrey A. Law from comment #7)
> It's reliably the case that a false positive uninit warning also represents
> a failure to optimize something.  So we've got significant incentives to
> deeply analyze and look for fixes.  So feel free to pass examples of those
> along.

Well, most of it is due to interactions with *other* issues entirely.

For example, when we enable GCOV for coverage checking, we have to disable
tree-loop-im, because of excessive stack usage due to gcc bugzilla 69702.

And disabling that optimization then leads to bogus "might be used
uninitialized" warnings.

We have a few other cases like that. Eg we can't use -Os without also disabling
-Wmaybe-uninitialized etc.

Some of the cases may be historical (ie maybe you've fixed the issues that
cause us to do that in newer versions), but for various distro reasons we end
up supporting old compilers for a _looong_ time.

We not that long ago ended up increasing the minimum required gcc version for
the kernel to gcc-4.6.

So we have this odd "we love using new features" fight with "oops, but we end
up having people using relatively ancient compiler versions".
>From gcc-bugs-return-635366-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 17:08:47 2019
Return-Path: <gcc-bugs-return-635366-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85675 invoked by alias); 26 Feb 2019 17:08: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 85115 invoked by uid 55); 26 Feb 2019 17:08:40 -0000
From: "law at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/87761] [9 regression][MIPS] New FAIL: gcc.target/mips/fix-r4000-10.c   -O1 start with r265398
Date: Tue, 26 Feb 2019 17: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: missed-optimization, ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: law at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-87761-4-TGqYzSSQqn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87761-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87761-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: 2019-02/txt/msg03668.txt.bz2
Content-length: 479

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87761

--- Comment #14 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Tue Feb 26 17:08:06 2019
New Revision: 269218

URL: https://gcc.gnu.org/viewcvs?rev=269218&root=gcc&view=rev
Log:
        PR rtl-optimization/87761
        * regcprop.c (copyprop_hardreg_forward_1): Use REG_UNUSED notes to
        detect obviously dead insns and delete them.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/regcprop.c
>From gcc-bugs-return-635367-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 17:25:37 2019
Return-Path: <gcc-bugs-return-635367-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129185 invoked by alias); 26 Feb 2019 17:25: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 129061 invoked by uid 48); 26 Feb 2019 17:25:32 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89507] [9 Regression] bogus "size of array exceeds maximum object size"
Date: Tue, 26 Feb 2019 17: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: 9.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on assigned_to everconfirmed
Message-ID: <bug-89507-4-xBeRr5Y2yV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89507-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89507-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: 2019-02/txt/msg03669.txt.bz2
Content-length: 640

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89507

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|diagnostic                  |rejects-valid
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-26
           Assignee|unassigned at gcc dot gnu.org      |msebor at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
Let me look into it.
>From gcc-bugs-return-635368-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 17:28:49 2019
Return-Path: <gcc-bugs-return-635368-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17310 invoked by alias); 26 Feb 2019 17:28: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 13698 invoked by uid 48); 26 Feb 2019 17:28:45 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89507] [9 Regression] bogus "size of array exceeds maximum object size"
Date: Tue, 26 Feb 2019 17:28: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: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89507-4-LkRl0dWfm2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89507-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89507-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: 2019-02/txt/msg03670.txt.bz2
Content-length: 272

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89507

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45828
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45828&action=edit
gcc9-pr89507.patch

Untested patch I have right now.
>From gcc-bugs-return-635369-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 17:31:10 2019
Return-Path: <gcc-bugs-return-635369-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24046 invoked by alias); 26 Feb 2019 17:31:06 -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 23389 invoked by uid 48); 26 Feb 2019 17:30:52 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89507] [9 Regression] bogus "size of array exceeds maximum object size"
Date: Tue, 26 Feb 2019 17:31: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: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89507-4-UqGYsm0MB4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89507-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89507-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: 2019-02/txt/msg03671.txt.bz2
Content-length: 390

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89507

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The reason to change tree.c rather than doing something on the cp/init.c side
is the comment there that the checking ought to be done before conversion to
std::size_t (and also, we'd fold to sizetype just for the purposes of the
diagnostics and throw away the result).
>From gcc-bugs-return-635370-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 17:44:49 2019
Return-Path: <gcc-bugs-return-635370-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77580 invoked by alias); 26 Feb 2019 17:44: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 77412 invoked by uid 48); 26 Feb 2019 17:44:43 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89510] New: new_allocator::construct needs to be constrained
Date: Tue, 26 Feb 2019 17:44:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-89510-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: 2019-02/txt/msg03672.txt.bz2
Content-length: 1316

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89510

            Bug ID: 89510
           Summary: new_allocator::construct needs to be constrained
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redi at gcc dot gnu.org
  Target Milestone: ---

The construct member has an exception specification which might cause errors
outside the immediate context when trying to determine if the function is
callable.

We should either remove the exception specification (which would be a step
backwards) or should constrain the function using enable_if.

This isn't currently causing issues because we only use the function in
contexts where it's required to work anyway. However, the internal
__is_copy_insertable and __is_move_insertable traits do attempt to check if the
construct() function template is invocable, and so could hit this issue.
Currently we don't use __is_copy_insertable, and only use __is_move_insertable
in contexts where move insertion into std::vector is required to be valid
anyway.

Any other allocators that have a conditional exception specification (including
at least malloc_allocator) need the same change.
>From gcc-bugs-return-635371-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 17:59:37 2019
Return-Path: <gcc-bugs-return-635371-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116554 invoked by alias); 26 Feb 2019 17:59:36 -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 116455 invoked by uid 48); 26 Feb 2019 17:59:32 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89511] New: ICE in push_using_decl_1, at cp/name-lookup.c:3845
Date: Tue, 26 Feb 2019 17:59: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: gscfq@t-online.de
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-89511-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: 2019-02/txt/msg03673.txt.bz2
Content-length: 2167

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89511

            Bug ID: 89511
           Summary: ICE in push_using_decl_1, at cp/name-lookup.c:3845
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Seems to be an older issue (with -std=c++17) :


$ cat z1.cc
void f ()
{
  enum e { a };
  using e::a;
}


$ g++-9-20190224 -c z1.cc
z1.cc: In function 'void f()':
z1.cc:4:12: internal compiler error: in push_using_decl_1, at
cp/name-lookup.c:3845
    4 |   using e::a;
      |            ^
0x6922f9 push_using_decl_1
        ../../gcc/cp/name-lookup.c:3845
0x6922f9 push_using_decl
        ../../gcc/cp/name-lookup.c:3866
0x6922f9 validate_nonmember_using_decl
        ../../gcc/cp/name-lookup.c:3967
0x699767 finish_local_using_decl(tree_node*, tree_node*, tree_node*)
        ../../gcc/cp/name-lookup.c:5166
0x6c9711 cp_parser_using_declaration
        ../../gcc/cp/parser.c:19495
0x6b8639 cp_parser_declaration_statement
        ../../gcc/cp/parser.c:12922
0x6b9097 cp_parser_statement
        ../../gcc/cp/parser.c:11246
0x6b9f20 cp_parser_statement_seq_opt
        ../../gcc/cp/parser.c:11608
0x6b9fcf cp_parser_compound_statement
        ../../gcc/cp/parser.c:11562
0x6d0830 cp_parser_function_body
        ../../gcc/cp/parser.c:22578
0x6d0830 cp_parser_ctor_initializer_opt_and_function_body
        ../../gcc/cp/parser.c:22615
0x6d0b10 cp_parser_function_definition_after_declarator
        ../../gcc/cp/parser.c:27682
0x6d17c3 cp_parser_function_definition_from_specifiers_and_declarator
        ../../gcc/cp/parser.c:27598
0x6d17c3 cp_parser_init_declarator
        ../../gcc/cp/parser.c:20221
0x6b6b0e cp_parser_simple_declaration
        ../../gcc/cp/parser.c:13492
0x6d6b34 cp_parser_declaration
        ../../gcc/cp/parser.c:13189
0x6d728e cp_parser_translation_unit
        ../../gcc/cp/parser.c:4698
0x6d728e c_parse_file()
        ../../gcc/cp/parser.c:41062
0x796060 c_common_parse_file()
        ../../gcc/c-family/c-opts.c:1155
>From gcc-bugs-return-635372-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 18:01:06 2019
Return-Path: <gcc-bugs-return-635372-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58273 invoked by alias); 26 Feb 2019 18:00: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 57770 invoked by uid 48); 26 Feb 2019 18:00:42 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/67542] ICE in gfc_emit_parameter_debug_info, at fortran/trans-decl.c:4947 and :4945
Date: Tue, 26 Feb 2019 18:00: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: 5.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gscfq@t-online.de
X-Bugzilla-Status: WAITING
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-67542-4-Z69yIOGhL8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67542-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67542-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: 2019-02/txt/msg03674.txt.bz2
Content-length: 365

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67542

G. Steinmetz <gscfq@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gscfq@t-online.de

--- Comment #9 from G. Steinmetz <gscfq@t-online.de> ---
Yep, done.
>From gcc-bugs-return-635373-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 18:01:38 2019
Return-Path: <gcc-bugs-return-635373-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62580 invoked by alias); 26 Feb 2019 18:01: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 61993 invoked by uid 55); 26 Feb 2019 18:01:32 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89212] [8 Regression] ICE in fold_convert_loc at fold-const.c:2552
Date: Tue, 26 Feb 2019 18:01: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, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89212-4-Z6vH8RwR9o@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89212-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89212-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: 2019-02/txt/msg03675.txt.bz2
Content-length: 683

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89212

--- Comment #10 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Tue Feb 26 18:00:41 2019
New Revision: 269222

URL: https://gcc.gnu.org/viewcvs?rev=269222&root=gcc&view=rev
Log:
        PR c++/89212 - ICE converting nullptr to pointer-to-member-function.
        * pt.c (tsubst_copy_and_build) <case CONSTRUCTOR>: Return early for
        null member pointer value.

Added:
    branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp0x/nullptr40.C
    branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp0x/nullptr41.C
Modified:
    branches/gcc-8-branch/gcc/cp/ChangeLog
    branches/gcc-8-branch/gcc/cp/pt.c
>From gcc-bugs-return-635374-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 18:01:55 2019
Return-Path: <gcc-bugs-return-635374-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63591 invoked by alias); 26 Feb 2019 18:01:55 -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 63473 invoked by uid 48); 26 Feb 2019 18:01:51 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89212] [8 Regression] ICE in fold_convert_loc at fold-const.c:2552
Date: Tue, 26 Feb 2019 18:01: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, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89212-4-BoUeTg9aSK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89212-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89212-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: 2019-02/txt/msg03676.txt.bz2
Content-length: 430

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89212

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #11 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-635375-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 18:04:55 2019
Return-Path: <gcc-bugs-return-635375-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106554 invoked by alias); 26 Feb 2019 18:04: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 96239 invoked by uid 48); 26 Feb 2019 18:04:50 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89512] New: ICE in get_expr_operands, at tree-ssa-operands.c:882
Date: Tue, 26 Feb 2019 18:04: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: gscfq@t-online.de
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-89512-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: 2019-02/txt/msg03677.txt.bz2
Content-length: 2627

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89512

            Bug ID: 89512
           Summary: ICE in get_expr_operands, at tree-ssa-operands.c:882
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Affects versions down to gcc-5, no ICE seen with 4.9 or older :


$ cat z1.cc
struct A {
  template <typename A>
  static const int a = 0;
};
struct B {
  template <typename B>
  static int foo ()
  {
    return B::a;
  }
};
int bar ()
{
  int i = B::foo<A> ();
}


$ g++-9-20190224 -c z1.cc
z1.cc: In function 'int bar()':
z1.cc:15:1: warning: no return statement in function returning non-void
[-Wreturn-type]
   15 | }
      | ^
unhandled expression in get_expr_operands():
 <template_decl 0x7f4cbd04c180 a
    type <integer_type 0x7f4cbd179bd0 int readonly sizes-gimplified type_6 SI
        size <integer_cst 0x7f4cbd044078 constant 32>
        unit-size <integer_cst 0x7f4cbd044090 constant 4>
        align:32 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7f4cbd179bd0 precision:32 min <integer_cst 0x7f4cbd044030 -2147483648> max
<integer_cst 0x7f4cbd044048 2147483647>>
    used decl_1 VOID z1.cc:3:20
    align:1 warn_if_not_align:0 context <record_type 0x7f4cbd1799d8 A>
    parms <tree_list 0x7f4cbd17b320
        purpose <integer_cst 0x7f4cbd022f30 constant 1>
        value <tree_vec 0x7f4cbd1872a0 type <template_decl 0x7f4cbd04c180 a>
            length:1
            elt:0 <tree_list 0x7f4cbd17b2f8 value <type_decl 0x7f4cbd1457b8
A>>>>
    full-name "template<class A> const int A::a<A>"
    chain <type_decl 0x7f4cbd145720 A>>

during GIMPLE pass: ssa
z1.cc: In static member function 'static int B::foo() [with B = A]':
z1.cc:15:1: internal compiler error: in get_expr_operands, at
tree-ssa-operands.c:882
0xfd18e9 get_expr_operands
        ../../gcc/tree-ssa-operands.c:882
0xfd24cd parse_ssa_operands
        ../../gcc/tree-ssa-operands.c:932
0xfd3d23 build_ssa_operands
        ../../gcc/tree-ssa-operands.c:947
0xfd3d23 update_stmt_operands(function*, gimple*)
        ../../gcc/tree-ssa-operands.c:1081
0xed1f4a update_stmt
        ../../gcc/gimple-ssa.h:175
0xed1f4a mark_def_sites
        ../../gcc/tree-into-ssa.c:649
0xed1f4a mark_def_dom_walker::before_dom_children(basic_block_def*)
        ../../gcc/tree-into-ssa.c:2346
0x16925c7 dom_walker::walk(basic_block_def*)
        ../../gcc/domwalk.c:353
0xed4619 execute
        ../../gcc/tree-into-ssa.c:2458
>From gcc-bugs-return-635376-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 18:17:21 2019
Return-Path: <gcc-bugs-return-635376-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68759 invoked by alias); 26 Feb 2019 18:17: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 66076 invoked by uid 48); 26 Feb 2019 18:17:17 -0000
From: "schwab@linux-m68k.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89171] FAIL: go/build
Date: Tue, 26 Feb 2019 18:17: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: schwab@linux-m68k.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_gcctarget
Message-ID: <bug-89171-4-Y33nNKYPCc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89171-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89171-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: 2019-02/txt/msg03678.txt.bz2
Content-length: 459

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89171

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|riscv64-*-*                 |

--- Comment #5 from Andreas Schwab <schwab@linux-m68k.org> ---
If $GOROOT is unset, ctxt.GOROOT it set to "/usr".  listStdPkgs then finds all
the files in /usr/src/debug.
>From gcc-bugs-return-635377-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 18:23:21 2019
Return-Path: <gcc-bugs-return-635377-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91202 invoked by alias); 26 Feb 2019 18:23: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 90994 invoked by uid 48); 26 Feb 2019 18:23:17 -0000
From: "segher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89410] [7/8 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1237 after #line
Date: Tue, 26 Feb 2019 18:23: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: diagnostic, ice-on-invalid-code
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: dmalcolm at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89410-4-v1GASg7beW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89410-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89410-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: 2019-02/txt/msg03679.txt.bz2
Content-length: 172

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89410

--- Comment #20 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Maybe you want to say  .-1  instead of  -1  ?
>From gcc-bugs-return-635378-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 18:31:13 2019
Return-Path: <gcc-bugs-return-635378-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26021 invoked by alias); 26 Feb 2019 18:31: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 24161 invoked by uid 48); 26 Feb 2019 18:30:56 -0000
From: "tnfchris at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89434] [7/8 Regression] wrong code with -Og and __builtin_mul_overflow()
Date: Tue, 26 Feb 2019 18:31: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tnfchris 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89434-4-0Ecu08qmuH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89434-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89434-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: 2019-02/txt/msg03680.txt.bz2
Content-length: 2664

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89434

Tamar Christina <tnfchris at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tnfchris at gcc dot gnu.org

--- Comment #8 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
This is causing a glibc build failure on arm-none-Linux-gnueabihf, for some
reason I can only reproduce it native but not cross. Don't exactly know why...

configured with

```
--enable-languages=c,c++,fortran --target=arm-none-linux-gnueabihf
--build=arm-none-linux-gnueabihf --host=arm-none-linux-gnueabihf
--with-arch=armv7-a --with-fpu=neon --with-float=hard --with-mode=thumb
```

repro case

```
long long a;

void f () {
  if (a >= 9223372036854775807 - 1 + 400)
    for (;;)
      ;
}
```

compiled with

```
-c -O2 -Wno-maybe-uninitialized
```

Which gets combined by combine into

```
Trying 8 -> 10:
    8: r112:DI=0x800000000000018e
   10: {cc:CC_NCV=cmp(r113:DI,r112:DI);clobber scratch;}
      REG_DEAD r113:DI
      REG_DEAD r112:DI
      REG_EQUAL cmp(r113:DI,0x800000000000018e)
Successfully matched this instruction:
(parallel [
        (set (reg:CC_NCV 100 cc)
            (compare:CC_NCV (reg:DI 113 [ aD.5557 ])
                (const_int -9223372036854775410 [0x800000000000018e])))
        (clobber (scratch:SI))
    ])
allowing combination of insns 8 and 10
```

and then later is split into

```
(insn 51 50 11 2 (parallel [
            (set (reg:CC 100 cc)
                (compare:CC (reg:SI 3 r3 [ aD.5557+4 ])
                    (const_int -2147483648 [0xffffffff80000000])))
            (set (reg:SI 3 r3 [114])
                (minus:SI (plus:SI (reg:SI 3 r3 [ aD.5557+4 ])
                        (const_int -2147483648 [0xffffffff80000000]))
                    (ltu:SI (reg:CC_C 100 cc)
                        (const_int 0 [0]))))
        ]) "zic.i":4:6 -1
     (nil))
```

Which matches no instruction and so ICEs.  On a cross build this seems to get
split into

```
(insn 51 50 11 2 (parallel [
            (set (reg:CC 100 cc)
                (compare:CC (reg:SI 3 r3 [ aD.5557+4 ])
                    (const_int 2147483647 [0x7fffffff])))
            (set (reg:SI 3 r3 [114])
                (minus:SI (plus:SI (reg:SI 3 r3 [ aD.5557+4 ])
                        (const_int 2147483647 [0x7fffffff]))
                    (ltu:SI (reg:CC_C 100 cc)
                        (const_int 0 [0]))))
        ]) "zin.i":4:6 32 {*subsi3_carryin_compare_const}
     (nil))
```

So the constants seem to be different.
>From gcc-bugs-return-635379-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 18:32:24 2019
Return-Path: <gcc-bugs-return-635379-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30791 invoked by alias); 26 Feb 2019 18:32:18 -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 30499 invoked by uid 48); 26 Feb 2019 18:32:13 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89511] ICE in push_using_decl_1, at cp/name-lookup.c:3845
Date: Tue, 26 Feb 2019 18:32: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-invalid-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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-89511-4-FlaMQXfSbK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89511-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89511-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: 2019-02/txt/msg03681.txt.bz2
Content-length: 561

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89511

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-26
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed.
>From gcc-bugs-return-635380-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 18:33:36 2019
Return-Path: <gcc-bugs-return-635380-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36307 invoked by alias); 26 Feb 2019 18:33: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 36097 invoked by uid 48); 26 Feb 2019 18:33:32 -0000
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Tue, 26 Feb 2019 18: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bernd.edlinger at hotmail dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89490-4-PTuLGi3rZX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03682.txt.bz2
Content-length: 1099

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

--- Comment #14 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
(In reply to Jakub Jelinek from comment #13)
> 
> Well, it matches what output_constant does:
>         case STRING_CST:
>           thissize = (unsigned HOST_WIDE_INT)TREE_STRING_LENGTH (exp);
>           if (merge_strings
>               && (thissize == 0
>                   || TREE_STRING_POINTER (exp) [thissize - 1] != '\0'))
>             thissize++;
> (using MAX just in case there is already some extra padding in the length or
> whatever else).

Ah, well. Just FYI, this check in output_constant

  if (size == 0 || flag_syntax_only)
    return size;

prevents zero-padding of strings with STRING_LENGTH==0 && DECL_SIZE==0.

But due to the check in mergeable_string_section

      && (len = int_size_in_bytes (TREE_TYPE (decl))) > 0
      && TREE_STRING_LENGTH (decl) == len)

we should not get size==0 or thissize == 0 in a merge_strings section.
So it should not make a difference what happens with thissize==0.
>From gcc-bugs-return-635381-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 18:34:13 2019
Return-Path: <gcc-bugs-return-635381-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39155 invoked by alias); 26 Feb 2019 18:34: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 38854 invoked by uid 48); 26 Feb 2019 18:34:09 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89434] [7/8 Regression] wrong code with -Og and __builtin_mul_overflow()
Date: Tue, 26 Feb 2019 18:34: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89434-4-urQ6EzSAZf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89434-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89434-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: 2019-02/txt/msg03683.txt.bz2
Content-length: 167

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89434

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The PR89506 patch might contain a fix for this.
>From gcc-bugs-return-635382-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 18:37:22 2019
Return-Path: <gcc-bugs-return-635382-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47804 invoked by alias); 26 Feb 2019 18:37: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 47702 invoked by uid 48); 26 Feb 2019 18:37:18 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89511] [7/8/9 Regression] ICE in push_using_decl_1, at cp/name-lookup.c:3845
Date: Tue, 26 Feb 2019 18:37: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-invalid-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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-89511-4-Q3IvVrrGlz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89511-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89511-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: 2019-02/txt/msg03684.txt.bz2
Content-length: 572

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89511

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE in push_using_decl_1,   |[7/8/9 Regression] ICE in
                   |at cp/name-lookup.c:3845    |push_using_decl_1, at
                   |                            |cp/name-lookup.c:3845

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
GCC 4.9.4 doesn't ICE.  Started with r211479.
>From gcc-bugs-return-635383-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 18:38:57 2019
Return-Path: <gcc-bugs-return-635383-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53243 invoked by alias); 26 Feb 2019 18:38:57 -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 53113 invoked by uid 48); 26 Feb 2019 18:38:53 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89507] [9 Regression] bogus "size of array exceeds maximum object size"
Date: Tue, 26 Feb 2019 18:38: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: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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 assigned_to
Message-ID: <bug-89507-4-e5UXXRJO0V@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89507-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89507-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: 2019-02/txt/msg03685.txt.bz2
Content-length: 498

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89507

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW
           Assignee|msebor at gcc dot gnu.org          |unassigned at gcc dot gnu.org

--- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> ---
Since Jakub already has a fix I'm unassigning myself.
>From gcc-bugs-return-635384-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 18:43:27 2019
Return-Path: <gcc-bugs-return-635384-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63425 invoked by alias); 26 Feb 2019 18:43:26 -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 63307 invoked by uid 48); 26 Feb 2019 18:43:22 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89512] [7/8/9 Regression] ICE in get_expr_operands, at tree-ssa-operands.c:882
Date: Tue, 26 Feb 2019 18:43: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cc target_milestone short_desc everconfirmed
Message-ID: <bug-89512-4-jRsvpL5Gou@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89512-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89512-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: 2019-02/txt/msg03686.txt.bz2
Content-length: 962

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89512

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-26
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |jason at gcc dot gnu.org
   Target Milestone|---                         |7.5
            Summary|ICE in get_expr_operands,   |[7/8/9 Regression] ICE in
                   |at tree-ssa-operands.c:882  |get_expr_operands, at
                   |                            |tree-ssa-operands.c:882
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r214396.
>From gcc-bugs-return-635385-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 18:49:18 2019
Return-Path: <gcc-bugs-return-635385-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9717 invoked by alias); 26 Feb 2019 18:49:18 -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 327 invoked by uid 48); 26 Feb 2019 18:49:02 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89511] [7/8/9 Regression] ICE in push_using_decl_1, at cp/name-lookup.c:3845
Date: Tue, 26 Feb 2019 18:49: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc target_milestone
Message-ID: <bug-89511-4-UlceZmotku@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89511-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89511-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: 2019-02/txt/msg03687.txt.bz2
Content-length: 364

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89511

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org
   Target Milestone|---                         |7.5
>From gcc-bugs-return-635386-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 19:10:37 2019
Return-Path: <gcc-bugs-return-635386-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36821 invoked by alias); 26 Feb 2019 19:10:36 -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 36726 invoked by uid 55); 26 Feb 2019 19:10:32 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89496] [9 Regression] gcc/fortran/trans-types.c:3015:9: runtime error: member access within null pointer of type 'struct gfc_formal_arglist'
Date: Tue, 26 Feb 2019 19:10: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: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89496-4-hqGvGlWFsc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89496-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89496-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: 2019-02/txt/msg03688.txt.bz2
Content-length: 917

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89496

--- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Tue Feb 26 19:10:00 2019
New Revision: 269226

URL: https://gcc.gnu.org/viewcvs?rev=269226&root=gcc&view=rev
Log:
2019-02-26  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/89496
        * trans-types.c (get_formal_from_actual_arglist): If
        the actual arglist has no expression, the corresponding
        formal arglist is an alternate return.

2019-02-26  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/89496
        * gfortran.dg/altreturn_9_0.f90: New file.
        * gfortran.dg/altreturn_9_1.f90: New file.


Added:
    trunk/gcc/testsuite/gfortran.dg/altreturn_9_0.f90
    trunk/gcc/testsuite/gfortran.dg/altreturn_9_1.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-types.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635387-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 19:11:09 2019
Return-Path: <gcc-bugs-return-635387-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43704 invoked by alias); 26 Feb 2019 19:11: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 43544 invoked by uid 48); 26 Feb 2019 19:11:05 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89496] [9 Regression] gcc/fortran/trans-types.c:3015:9: runtime error: member access within null pointer of type 'struct gfc_formal_arglist'
Date: Tue, 26 Feb 2019 19:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89496-4-wDKEm15Ex6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89496-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89496-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: 2019-02/txt/msg03689.txt.bz2
Content-length: 436

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89496

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Fixed, closing.
>From gcc-bugs-return-635388-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 19:11:10 2019
Return-Path: <gcc-bugs-return-635388-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43933 invoked by alias); 26 Feb 2019 19:11: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 43557 invoked by uid 48); 26 Feb 2019 19:11:05 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined
Date: Tue, 26 Feb 2019 19:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords: meta-bug
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 resolution
Message-ID: <bug-63426-4-iOQmk2FS33@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63426-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63426-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: 2019-02/txt/msg03690.txt.bz2
Content-length: 563

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426
Bug 63426 depends on bug 89496, which changed state.

Bug 89496 Summary: [9 Regression] gcc/fortran/trans-types.c:3015:9: runtime error: member access within null pointer of type 'struct gfc_formal_arglist'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89496

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-635389-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 19:34:07 2019
Return-Path: <gcc-bugs-return-635389-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48999 invoked by alias); 26 Feb 2019 19:34:06 -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 47333 invoked by uid 48); 26 Feb 2019 19:34:02 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89513] New: constexpr functions with function try block shouldn't be accepted at least with -pedantic in -std=c++{11,14,17} modes
Date: Tue, 26 Feb 2019 19:34: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: jakub 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-89513-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: 2019-02/txt/msg03691.txt.bz2
Content-length: 1055

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89513

            Bug ID: 89513
           Summary: constexpr functions with function try block shouldn't
                    be accepted at least with -pedantic in
                    -std=c++{11,14,17} modes
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
  Target Milestone: ---

With -std=c++{11,14,17} -pedantic-errors we should reject both of these
functions, but we do reject just bar and not foo.  I assume this ought to be
valid C++2a (though wonder if the catch block needs to contain only valid
constexpr constructs even when it is not actually ever evaluated during
constexpr evaluation).

constexpr bool foo ()
try {
  return true;
} catch (...) {
}

constexpr bool bar ()
{
  try { return true; } catch (...) {}
  return true;
}

constexpr auto a = foo ();
constexpr auto b = bar ();
>From gcc-bugs-return-635390-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 20:02:14 2019
Return-Path: <gcc-bugs-return-635390-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92936 invoked by alias); 26 Feb 2019 20:02: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 73496 invoked by uid 48); 26 Feb 2019 20:02:08 -0000
From: "darkkirb at darkkirb dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89497] [8 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled
Date: Tue, 26 Feb 2019 20:02: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.3.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: darkkirb at darkkirb dot de
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89497-4-xgIR1yP5p3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89497-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89497-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: 2019-02/txt/msg03692.txt.bz2
Content-length: 448

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497

--- Comment #9 from darkkirb at darkkirb dot de ---
I have bisected the fix a bit (I didn't have enough time today to finish it)
and i found that the fix has happened in one of the 322 commits between 

d1540be4d3b4b8ac6d19997539c13d2ca74f65e4 (2018-09-26, broken)

and 

44257478a8d157f8e0030bb7abe1c3ac91be9302 (2018-10-31, fixed)

Hopefully the fix can be applied to the gcc-8_0 branch.
>From gcc-bugs-return-635391-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 20:03:45 2019
Return-Path: <gcc-bugs-return-635391-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69984 invoked by alias); 26 Feb 2019 20:03:44 -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 55368 invoked by uid 55); 26 Feb 2019 20:03:40 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89492] [9 Regression] Endless compilation of an invalid TRANSFER after r269177
Date: Tue, 26 Feb 2019 20:03: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: compile-time-hog, error-recovery
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
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-89492-4-n7DKVM2Hil@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89492-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89492-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: 2019-02/txt/msg03693.txt.bz2
Content-length: 664

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89492

--- Comment #5 from anlauf at gcc dot gnu.org ---
Author: anlauf
Date: Tue Feb 26 20:03:08 2019
New Revision: 269227

URL: https://gcc.gnu.org/viewcvs?rev=269227&root=gcc&view=rev
Log:
2019-02-26  Harald Anlauf  <anlauf@gmx.de>

        PR fortran/89492
        * check.c (gfc_calculate_transfer_sizes): Handle cases where
        storage size of elements of MOLD is 0.

        PR fortran/89492
        * gfortran.dg/pr89492.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/pr89492.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/check.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635392-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 20:06:05 2019
Return-Path: <gcc-bugs-return-635392-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116333 invoked by alias); 26 Feb 2019 20:06: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 116152 invoked by uid 48); 26 Feb 2019 20:06:01 -0000
From: "gcc at mailinator dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89514] New: -g -fdebug-types-section -flto gives 'Dwarf Error: bad length' in gdb
Date: Tue, 26 Feb 2019 20:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: lto
X-Bugzilla-Version: 8.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gcc at mailinator 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-89514-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: 2019-02/txt/msg03694.txt.bz2
Content-length: 1167

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89514

            Bug ID: 89514
           Summary: -g -fdebug-types-section -flto gives 'Dwarf Error: bad
                    length' in gdb
           Product: gcc
           Version: 8.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gcc at mailinator dot com
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

#include <iostream>
int main() 
{
    std::cout << "Hello, World!";
    return 0;
}

g++ hello_world.cc -g -fdebug-types-section -flto -o hello_world
gdb hello_world

Then GDB 7.11.1, 8.1, 8.2 reports: 
Dwarf Error: bad length (0xe7) in compilation unit header (offset 0x1e3a + 0)

For larger binaries GDB reports a corrupted dwarf version:
Dwarf Error: wrong version in compilation unit header (is 3745, should be 2, 3,
or 4)

Reproduced on GCC 8.1, 8.2, 8.3 with Binutils 2.30 and Binutils 2.32.

At first I suspected Binutils, then GDB, but I think this is a GCC issue, since
-fdebug-types-section works with -fwhole-program, but not -flto.
>From gcc-bugs-return-635393-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 20:11:36 2019
Return-Path: <gcc-bugs-return-635393-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27771 invoked by alias); 26 Feb 2019 20:11:36 -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 27625 invoked by uid 48); 26 Feb 2019 20:11:32 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89511] [7/8/9 Regression] ICE in push_using_decl_1, at cp/name-lookup.c:3845
Date: Tue, 26 Feb 2019 20:11: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89511-4-TiFAuDceJ0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89511-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89511-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: 2019-02/txt/msg03695.txt.bz2
Content-length: 328

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89511

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
To clarify a bit: if I revert r211479 we don't ICE anymore on the new testcase
but we reject it anyway and using-enum-1.C too, which instead we should accept.
By the way, Core/1742 is still open ;)
>From gcc-bugs-return-635394-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 20:12:11 2019
Return-Path: <gcc-bugs-return-635394-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29239 invoked by alias); 26 Feb 2019 20:12: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 29119 invoked by uid 48); 26 Feb 2019 20:12:05 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89514] -g -fdebug-types-section -flto gives 'Dwarf Error: bad length' in gdb
Date: Tue, 26 Feb 2019 20:12: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.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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: dependson
Message-ID: <bug-89514-4-1rFh8u8csk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89514-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89514-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: 2019-02/txt/msg03696.txt.bz2
Content-length: 548

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89514

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |87295

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Related to PR 87295.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87295
[Bug 87295] [8 Regression][early debug] ICE with -ffat-lto-objects
-fdebug-types-section -g
>From gcc-bugs-return-635395-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 20:23:41 2019
Return-Path: <gcc-bugs-return-635395-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90904 invoked by alias); 26 Feb 2019 20:23: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 90608 invoked by uid 48); 26 Feb 2019 20:23:36 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89511] [7/8/9 Regression] ICE in push_using_decl_1, at cp/name-lookup.c:3845
Date: Tue, 26 Feb 2019 20:23: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: 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords
Message-ID: <bug-89511-4-R6dp29kj4Y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89511-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89511-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: 2019-02/txt/msg03697.txt.bz2
Content-length: 487

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89511

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-invalid-code         |ice-on-valid-code

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Changing the keywords;
http://www.open-std.org/JTC1/SC22/WG21/docs/cwg_active.html#1742 says it's
well-formed.
>From gcc-bugs-return-635396-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 20:27:53 2019
Return-Path: <gcc-bugs-return-635396-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102687 invoked by alias); 26 Feb 2019 20:27:52 -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 102314 invoked by uid 48); 26 Feb 2019 20:27:48 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89511] [7/8/9 Regression] ICE in push_using_decl_1, at cp/name-lookup.c:3845
Date: Tue, 26 Feb 2019 20: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: 9.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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89511-4-CDvkFHWKcJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89511-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89511-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: 2019-02/txt/msg03698.txt.bz2
Content-length: 181

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89511

--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
This works:

namespace N {
  enum E { e };
  using E::e;
}
>From gcc-bugs-return-635397-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 20:35:23 2019
Return-Path: <gcc-bugs-return-635397-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127320 invoked by alias); 26 Feb 2019 20:35: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 126965 invoked by uid 55); 26 Feb 2019 20:35:18 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89416] [9 regression] std::vector<std::thread, custom_allocator>::push_back no longer builds.
Date: Tue, 26 Feb 2019 20:35:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89416-4-Txn0DQ4ekF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89416-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89416-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: 2019-02/txt/msg03699.txt.bz2
Content-length: 661

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89416

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Tue Feb 26 20:34:46 2019
New Revision: 269229

URL: https://gcc.gnu.org/viewcvs?rev=269229&root=gcc&view=rev
Log:
PR libstdc++/89416 fix alloc insertable trait for clang (again)

        PR libstdc++/89416
        * include/bits/alloc_traits.h (__is_alloc_insertable_impl): Change
        to class template and partial specialization using void_t.
        (__is_copy_insertable, __is_move_insertable): Adjust base class.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/alloc_traits.h
>From gcc-bugs-return-635398-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 20:37:10 2019
Return-Path: <gcc-bugs-return-635398-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3532 invoked by alias); 26 Feb 2019 20:37: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 3260 invoked by uid 55); 26 Feb 2019 20:37:05 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89500] [9 Regression] ICE: tree check: expected integer_cst, have ssa_name in get_len, at tree.h:5653
Date: Tue, 26 Feb 2019 20:37: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89500-4-ddgUsNiXgK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89500-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89500-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: 2019-02/txt/msg03700.txt.bz2
Content-length: 1169

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89500

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Feb 26 20:36:29 2019
New Revision: 269230

URL: https://gcc.gnu.org/viewcvs?rev=269230&root=gcc&view=rev
Log:
        PR tree-optimization/89500
        * tree-ssa-strlen.c (stridx_strlenloc): Adjust comment.
        (handle_builtin_strlen): Remove noncst_bound variable.  Always
        optimize strnlen (x, 0) to 0.  Optimize strnlen (x, cst) to
        cst if the first cst bytes starting at x are known to be non-zero,
        even if the string is not zero terminated.  Don't try to modify
        *si for strnlen.  Update strlen_to_stridx only for strlen or if
        we can prove strnlen returns the same value as strlen would.

        * gcc.dg/pr89500.c: New test.
        * gcc.dg/Wstringop-overflow-10.c: New test.
        * gcc.dg/strlenopt-60.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/Wstringop-overflow-10.c
    trunk/gcc/testsuite/gcc.dg/pr89500.c
    trunk/gcc/testsuite/gcc.dg/strlenopt-60.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-strlen.c
>From gcc-bugs-return-635399-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 20:41:38 2019
Return-Path: <gcc-bugs-return-635399-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71807 invoked by alias); 26 Feb 2019 20:41: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 71677 invoked by uid 48); 26 Feb 2019 20:41:34 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89511] [7/8/9 Regression] ICE in push_using_decl_1, at cp/name-lookup.c:3845
Date: Tue, 26 Feb 2019 20: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89511-4-TMZtkHRjXG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89511-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89511-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: 2019-02/txt/msg03701.txt.bz2
Content-length: 157

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89511

--- Comment #6 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Yes, it works, it's c++/60265.
>From gcc-bugs-return-635400-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 20:48:01 2019
Return-Path: <gcc-bugs-return-635400-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96003 invoked by alias); 26 Feb 2019 20:48: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 95881 invoked by uid 48); 26 Feb 2019 20:47:57 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89511] [7/8/9 Regression] ICE in push_using_decl_1, at cp/name-lookup.c:3845
Date: Tue, 26 Feb 2019 20:48: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: paolo.carlini at oracle 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89511-4-2xW3xQ0gLp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89511-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89511-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: 2019-02/txt/msg03702.txt.bz2
Content-length: 432

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89511

--- Comment #7 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Thus, to repeat, if we only want to avoid the regression part, it would be just
matter of changing the code I added for c++/60265 to do qscope =
CP_TYPE_CONTEXT (qscope) only when we end-up in a namespace. On the other hand,
if we want to go beyond that we have a little more non-trivial work to do.
>From gcc-bugs-return-635401-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 20:55:16 2019
Return-Path: <gcc-bugs-return-635401-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90445 invoked by alias); 26 Feb 2019 20:55: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 90287 invoked by uid 48); 26 Feb 2019 20:55:10 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89511] [7/8/9 Regression] ICE in push_using_decl_1, at cp/name-lookup.c:3845
Date: Tue, 26 Feb 2019 20:55: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: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-89511-4-ZjV4XrGAP4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89511-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89511-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: 2019-02/txt/msg03703.txt.bz2
Content-length: 1154

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89511

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |mpolacek at gcc dot gnu.org

--- Comment #8 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
(In reply to Paolo Carlini from comment #7)
> Thus, to repeat, if we only want to avoid the regression part, it would be
> just matter of changing the code I added for c++/60265 to do qscope =
> CP_TYPE_CONTEXT (qscope) only when we end-up in a namespace. On the other
> hand, if we want to go beyond that we have a little more non-trivial work to
> do.

I think I'll do just that.  I don't know what we would use as the
USING_DECL_SCOPE in this case; anything other than a NAMESPACE_DECL won't work
currently.  do_nonmember_using_decl uses qualified_namespace_lookup so that
would require further changes.

And maybe the DR will be resolved in such a way that both examples will be
ill-formed.
>From gcc-bugs-return-635402-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 20:56:32 2019
Return-Path: <gcc-bugs-return-635402-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94102 invoked by alias); 26 Feb 2019 20:56: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 93812 invoked by uid 48); 26 Feb 2019 20:56:27 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89511] [7/8/9 Regression] ICE in push_using_decl_1, at cp/name-lookup.c:3845
Date: Tue, 26 Feb 2019 20:56: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: paolo.carlini at oracle dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89511-4-w5wCdkgfaD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89511-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89511-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: 2019-02/txt/msg03704.txt.bz2
Content-length: 142

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89511

--- Comment #9 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Totally agreed.
>From gcc-bugs-return-635403-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 20:58:29 2019
Return-Path: <gcc-bugs-return-635403-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98368 invoked by alias); 26 Feb 2019 20: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 98194 invoked by uid 48); 26 Feb 2019 20:58:23 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89511] [7/8/9 Regression] ICE in push_using_decl_1, at cp/name-lookup.c:3845
Date: Tue, 26 Feb 2019 20:58: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: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89511-4-1hVUKU5Ttl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89511-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89511-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: 2019-02/txt/msg03705.txt.bz2
Content-length: 230

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89511

--- Comment #10 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
(In reply to Paolo Carlini from comment #9)
> Totally agreed.

Thanks (also thanks for the DR reference)!.
>From gcc-bugs-return-635404-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 21:23:26 2019
Return-Path: <gcc-bugs-return-635404-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61512 invoked by alias); 26 Feb 2019 21:23: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 61216 invoked by uid 48); 26 Feb 2019 21:23:20 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89500] [9 Regression] ICE: tree check: expected integer_cst, have ssa_name in get_len, at tree.h:5653
Date: Tue, 26 Feb 2019 21:23: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89500-4-vZi4KZoDAT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89500-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89500-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: 2019-02/txt/msg03706.txt.bz2
Content-length: 423

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89500

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-635406-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 21:28:59 2019
Return-Path: <gcc-bugs-return-635406-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85953 invoked by alias); 26 Feb 2019 21:28: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 85701 invoked by uid 48); 26 Feb 2019 21:28:55 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89507] [9 Regression] bogus "size of array exceeds maximum object size"
Date: Tue, 26 Feb 2019 21:28: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: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution assigned_to
Message-ID: <bug-89507-4-qUDweceVkm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89507-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89507-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: 2019-02/txt/msg03708.txt.bz2
Content-length: 506

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89507

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-635405-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 21:28:10 2019
Return-Path: <gcc-bugs-return-635405-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83592 invoked by alias); 26 Feb 2019 21:28: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 83416 invoked by uid 55); 26 Feb 2019 21:28:05 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89507] [9 Regression] bogus "size of array exceeds maximum object size"
Date: Tue, 26 Feb 2019 21:28: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: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89507-4-E5194nnLxS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89507-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89507-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: 2019-02/txt/msg03707.txt.bz2
Content-length: 583

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89507

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Feb 26 21:27:33 2019
New Revision: 269233

URL: https://gcc.gnu.org/viewcvs?rev=269233&root=gcc&view=rev
Log:
        PR c++/89507
        * tree.c (valid_constant_size_p): Deal with size INTEGER_CSTs
        with types other than sizetype/ssizetype.

        * g++.dg/other/new2.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/other/new2.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree.c
>From gcc-bugs-return-635407-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 21:28:59 2019
Return-Path: <gcc-bugs-return-635407-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86016 invoked by alias); 26 Feb 2019 21:28: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 85760 invoked by uid 48); 26 Feb 2019 21:28:55 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87996] [8 Regression] "size of array is negative" error when SIZE_MAX/2 < sizeof(array) <= SIZE_MAX
Date: Tue, 26 Feb 2019 21:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: diagnostic, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-87996-4-ZRczmRINOI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87996-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87996-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: 2019-02/txt/msg03709.txt.bz2
Content-length: 492

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87996
Bug 87996 depends on bug 89507, which changed state.

Bug 89507 Summary: [9 Regression] bogus "size of array exceeds maximum object size"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89507

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-635408-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 21:30:49 2019
Return-Path: <gcc-bugs-return-635408-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91468 invoked by alias); 26 Feb 2019 21:30: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 90874 invoked by uid 48); 26 Feb 2019 21:30:41 -0000
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Tue, 26 Feb 2019 21:30: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bernd.edlinger at hotmail dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89490-4-ilWhFfZB44@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03710.txt.bz2
Content-length: 649

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

--- Comment #15 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
I wonder if this would also work?
At least for simple test cases that seems to be fine.

--- varasm.c.orig       2019-01-25 17:57:32.000000000 +0100
+++ varasm.c    2019-02-26 22:03:39.753325517 +0100
@@ -373,6 +373,9 @@ get_block_for_section (section *sect)
   if (sect == NULL)
     return NULL;

+  if (sect->common.flags & SECTION_MERGE)
+    return NULL;
+
   object_block **slot
     = object_block_htab->find_slot_with_hash (sect, hash_section (sect),
                                              INSERT);
>From gcc-bugs-return-635409-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 21:41:33 2019
Return-Path: <gcc-bugs-return-635409-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129937 invoked by alias); 26 Feb 2019 21:41:32 -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 129718 invoked by uid 48); 26 Feb 2019 21:41:28 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89513] constexpr functions with function try block shouldn't be accepted at least with -pedantic in -std=c++{11,14,17} modes
Date: Tue, 26 Feb 2019 21: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: 9.0
X-Bugzilla-Keywords: accepts-invalid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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 blocked everconfirmed
Message-ID: <bug-89513-4-wBE4rB6vvt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89513-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89513-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: 2019-02/txt/msg03711.txt.bz2
Content-length: 1626

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89513

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-26
                 CC|                            |msebor at gcc dot gnu.org
             Blocks|                            |55004
     Ever confirmed|0                           |1

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed.  Clang 7 prints:

$ clang++ -S -Wall pr89513.C
pr89513.C:2:1: error: function try block not allowed in constexpr function
try {
^
pr89513.C:9:3: error: statement not allowed in constexpr function
  try { return true; } catch (...) {}
  ^
2 errors generated.


The latest Clang with -Wall:

pr89513.C:3:1: warning: function try block in constexpr function is a C++2a
extension [-Wc++2a-extensions]
try {
^
pr89513.C:6:1: warning: control may reach end of non-void function
[-Wreturn-type]
}
^
pr89513.C:10:3: warning: use of this statement in a constexpr function is a
C++2a extension [-Wc++2a-extensions]
  try { return true; } catch (...) {}
  ^
pr89513.C:14:16: warning: unused variable 'a' [-Wunused-const-variable]
constexpr auto a = foo ();
               ^
pr89513.C:15:16: warning: unused variable 'b' [-Wunused-const-variable]
constexpr auto b = bar ();
               ^
5 warnings generated.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004
[Bug 55004] [meta-bug] constexpr issues
>From gcc-bugs-return-635411-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 22:05:39 2019
Return-Path: <gcc-bugs-return-635411-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129610 invoked by alias); 26 Feb 2019 22:05: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 129512 invoked by uid 48); 26 Feb 2019 22:05:35 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Tue, 26 Feb 2019 22:05: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89490-4-4h2qrWQZx4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03713.txt.bz2
Content-length: 1090

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rsandifo at gcc dot gnu.org

--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
If that works, I'm all for it.
CCing Richard Sandiford as the original author of -fsection-anchors if he
remembers why this hasn't been done for SECTION_MERGE sections from the
beginning.
default_use_anchors_for_symbol_p starts with
  /* Don't use anchors for mergeable sections.  The linker might move
     the objects around.  */
  sect = SYMBOL_REF_BLOCK (symbol)->sect;
  if (sect->common.flags & SECTION_MERGE)
    return false;
and seems all other targetm.use_anchors_for_symbol_p hooks just return false in
a few extra cases than default_use_anchors_for_symbol_p, never return true when
it doesn't.
So indeed, I don't see advantages in using SYMBOL_REF_BLOCK for SECTION_MERGE
section symbols.
>From gcc-bugs-return-635410-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 22:05:23 2019
Return-Path: <gcc-bugs-return-635410-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128513 invoked by alias); 26 Feb 2019 22:05: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 128399 invoked by uid 48); 26 Feb 2019 22:05:17 -0000
From: "hdusel@tangerine-soft.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89515] New: m32c ICE error: in leaf_function_p, at final.c:4492 when compiling newlib 3.1.0 with XGCC 8.3.0
Date: Tue, 26 Feb 2019 22:05: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.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hdusel@tangerine-soft.de
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-89515-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: 2019-02/txt/msg03712.txt.bz2
Content-length: 8363

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89515

            Bug ID: 89515
           Summary: m32c ICE error: in leaf_function_p, at final.c:4492
                    when compiling newlib 3.1.0 with XGCC 8.3.0
           Product: gcc
           Version: 8.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hdusel@tangerine-soft.de
  Target Milestone: ---

m32c-none-elf-gcc
-B/tmp/build_cross_gcc/newlib-3.1.0_build_m32c-none-elf/m32c-none-elf/m32cm/newlib/
-isystem
/tmp/build_cross_gcc/newlib-3.1.0_build_m32c-none-elf/m32c-none-elf/m32cm/newlib/targ-include
-isystem
/tmp/build_cross_gcc/newlib-3.1.0_arch/newlib-3.1.0/newlib/libc/include
-B/tmp/build_cross_gcc/newlib-3.1.0_build_m32c-none-elf/m32c-none-elf/m32cm/libgloss/m32c
-L/tmp/build_cross_gcc/newlib-3.1.0_build_m32c-none-elf/m32c-none-elf/m32cm/libgloss/libnosys
-L/tmp/build_cross_gcc/newlib-3.1.0_arch/newlib-3.1.0/libgloss/m32c 
-mcpu=m32cm -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\"
-DPACKAGE_VERSION=\"3.1.0\" -DPACKAGE_STRING=\"newlib\ 3.1.0\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I.
-I/tmp/build_cross_gcc/newlib-3.1.0_arch/newlib-3.1.0/newlib/libc/argz -Os
-fno-builtin -DPREFER_SIZE_OVER_SPEED -DSMALL_MEMORY -D__NO_SYSCALLS__
-DMISSING_SYSCALL_NAMES -DABORT_PROVIDED -DHAVE_INIT_FINI      -g -O2 
-mcpu=m32cm -c -o lib_a-argz_create_sep.o `test -f 'argz_create_sep.c' || echo
'/tmp/build_cross_gcc/newlib-3.1.0_arch/newlib-3.1.0/newlib/libc/argz/'`argz_create_sep.c
m32c-none-elf-gcc
-B/tmp/build_cross_gcc/newlib-3.1.0_build_m32c-none-elf/m32c-none-elf/m32cm/newlib/
-isystem
/tmp/build_cross_gcc/newlib-3.1.0_build_m32c-none-elf/m32c-none-elf/m32cm/newlib/targ-include
-isystem
/tmp/build_cross_gcc/newlib-3.1.0_arch/newlib-3.1.0/newlib/libc/include
-B/tmp/build_cross_gcc/newlib-3.1.0_build_m32c-none-elf/m32c-none-elf/m32cm/libgloss/m32c
-L/tmp/build_cross_gcc/newlib-3.1.0_build_m32c-none-elf/m32c-none-elf/m32cm/libgloss/libnosys
-L/tmp/build_cross_gcc/newlib-3.1.0_arch/newlib-3.1.0/libgloss/m32c 
-mcpu=m32cm -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\"
-DPACKAGE_VERSION=\"3.1.0\" -DPACKAGE_STRING=\"newlib\ 3.1.0\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I.
-I/tmp/build_cross_gcc/newlib-3.1.0_arch/newlib-3.1.0/newlib/libc/argz -Os
-fno-builtin -DPREFER_SIZE_OVER_SPEED -DSMALL_MEMORY -D__NO_SYSCALLS__
-DMISSING_SYSCALL_NAMES -DABORT_PROVIDED -DHAVE_INIT_FINI      -g -O2 
-mcpu=m32cm -c -o lib_a-argz_delete.o `test -f 'argz_delete.c' || echo
'/tmp/build_cross_gcc/newlib-3.1.0_arch/newlib-3.1.0/newlib/libc/argz/'`argz_delete.c
m32c-none-elf-gcc
-B/tmp/build_cross_gcc/newlib-3.1.0_build_m32c-none-elf/m32c-none-elf/m32cm/newlib/
-isystem
/tmp/build_cross_gcc/newlib-3.1.0_build_m32c-none-elf/m32c-none-elf/m32cm/newlib/targ-include
-isystem
/tmp/build_cross_gcc/newlib-3.1.0_arch/newlib-3.1.0/newlib/libc/include
-B/tmp/build_cross_gcc/newlib-3.1.0_build_m32c-none-elf/m32c-none-elf/m32cm/libgloss/m32c
-L/tmp/build_cross_gcc/newlib-3.1.0_build_m32c-none-elf/m32c-none-elf/m32cm/libgloss/libnosys
-L/tmp/build_cross_gcc/newlib-3.1.0_arch/newlib-3.1.0/libgloss/m32c 
-mcpu=m32cm -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\"
-DPACKAGE_VERSION=\"3.1.0\" -DPACKAGE_STRING=\"newlib\ 3.1.0\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I.
-I/tmp/build_cross_gcc/newlib-3.1.0_arch/newlib-3.1.0/newlib/libc/argz -Os
-fno-builtin -DPREFER_SIZE_OVER_SPEED -DSMALL_MEMORY -D__NO_SYSCALLS__
-DMISSING_SYSCALL_NAMES -DABORT_PROVIDED -DHAVE_INIT_FINI      -g -O2 
-mcpu=m32cm -c -o lib_a-argz_extract.o `test -f 'argz_extract.c' || echo
'/tmp/build_cross_gcc/newlib-3.1.0_arch/newlib-3.1.0/newlib/libc/argz/'`argz_extract.c
during RTL pass: pro_and_epilogue
/tmp/build_cross_gcc/newlib-3.1.0_arch/newlib-3.1.0/newlib/libc/argz/argz_count.c:
In function 'argz_count':
/tmp/build_cross_gcc/newlib-3.1.0_arch/newlib-3.1.0/newlib/libc/argz/argz_count.c:25:1:
internal compiler error: in leaf_function_p, at final.c:4492
 }
 ^
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
make[8]: *** [lib_a-argz_count.o] Error 1
make[8]: *** Waiting for unfinished jobs....
during RTL pass: pro_and_epilogue
/tmp/build_cross_gcc/newlib-3.1.0_arch/newlib-3.1.0/newlib/libc/argz/argz_append.c:
In function 'argz_append':
/tmp/build_cross_gcc/newlib-3.1.0_arch/newlib-3.1.0/newlib/libc/argz/argz_append.c:31:1:
internal compiler error: in leaf_function_p, at final.c:4492
 }
 ^
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
during RTL pass: pro_and_epilogue
/tmp/build_cross_gcc/newlib-3.1.0_arch/newlib-3.1.0/newlib/libc/argz/argz_add.c:
In function 'argz_add':
/tmp/build_cross_gcc/newlib-3.1.0_arch/newlib-3.1.0/newlib/libc/argz/argz_add.c:32:1:
internal compiler error: in leaf_function_p, at final.c:4492
 }
 ^
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
make[8]: *** [lib_a-argz_append.o] Error 1
during RTL pass: pro_and_epilogue
/tmp/build_cross_gcc/newlib-3.1.0_arch/newlib-3.1.0/newlib/libc/argz/argz_add_sep.c:
In function 'argz_add_sep':
/tmp/build_cross_gcc/newlib-3.1.0_arch/newlib-3.1.0/newlib/libc/argz/argz_add_sep.c:35:1:
internal compiler error: in leaf_function_p, at final.c:4492
 }
 ^
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
during RTL pass: pro_and_epilogue
/tmp/build_cross_gcc/newlib-3.1.0_arch/newlib-3.1.0/newlib/libc/argz/argz_delete.c:
In function 'argz_delete':
/tmp/build_cross_gcc/newlib-3.1.0_arch/newlib-3.1.0/newlib/libc/argz/argz_delete.c:40:1:
internal compiler error: in leaf_function_p, at final.c:4492
 }
 ^
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
make[8]: *** [lib_a-argz_add.o] Error 1
make[8]: *** [lib_a-argz_add_sep.o] Error 1
make[8]: *** [lib_a-argz_delete.o] Error 1
during RTL pass: pro_and_epilogue
/tmp/build_cross_gcc/newlib-3.1.0_arch/newlib-3.1.0/newlib/libc/argz/argz_create.c:
In function 'argz_create':
/tmp/build_cross_gcc/newlib-3.1.0_arch/newlib-3.1.0/newlib/libc/argz/argz_create.c:49:1:
internal compiler error: in leaf_function_p, at final.c:4492
 }
 ^
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
during RTL pass: pro_and_epilogue
/tmp/build_cross_gcc/newlib-3.1.0_arch/newlib-3.1.0/newlib/libc/argz/argz_create_sep.c:
In function 'argz_create_sep':
/tmp/build_cross_gcc/newlib-3.1.0_arch/newlib-3.1.0/newlib/libc/argz/argz_create_sep.c:68:1:
internal compiler error: in leaf_function_p, at final.c:4492
 }
 ^
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
make[8]: *** [lib_a-argz_create.o] Error 1
make[8]: *** [lib_a-argz_create_sep.o] Error 1
during RTL pass: pro_and_epilogue
/tmp/build_cross_gcc/newlib-3.1.0_arch/newlib-3.1.0/newlib/libc/argz/argz_extract.c:
In function 'argz_extract':
/tmp/build_cross_gcc/newlib-3.1.0_arch/newlib-3.1.0/newlib/libc/argz/argz_extract.c:31:1:
internal compiler error: in leaf_function_p, at final.c:4492
 }
 ^
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
make[8]: *** [lib_a-argz_extract.o] Error 1
make[7]: *** [all-recursive] Error 1
make[6]: *** [all-recursive] Error 1
make[5]: *** [all] Error 2
make[4]: *** [multi-do] Error 1
make[3]: *** [all-multi] Error 2
make[2]: *** [all] Error 2
make[1]: *** [all-target-newlib] Error 2
make: *** [all] Error 2
hymir:build-cross-gcc hdusel$
>From gcc-bugs-return-635412-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 22:12:56 2019
Return-Path: <gcc-bugs-return-635412-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38276 invoked by alias); 26 Feb 2019 22:12:56 -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 38175 invoked by uid 48); 26 Feb 2019 22:12:52 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89515] m32c ICE error: in leaf_function_p, at final.c:4492 when compiling newlib 3.1.0 with XGCC 8.3.0
Date: Tue, 26 Feb 2019 22:12: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.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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-89515-4-gA8DcVMsAN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89515-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89515-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: 2019-02/txt/msg03714.txt.bz2
Content-length: 153

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89515

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Most likely a dup of bug 83670.
>From gcc-bugs-return-635413-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 22:16:30 2019
Return-Path: <gcc-bugs-return-635413-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47039 invoked by alias); 26 Feb 2019 22:16: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 46914 invoked by uid 48); 26 Feb 2019 22:16:26 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89515] m32c ICE error: in leaf_function_p, at final.c:4492 when compiling newlib 3.1.0 with XGCC 8.3.0
Date: Tue, 26 Feb 2019 22:16: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.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89515-4-2U6u070lg6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89515-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89515-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: 2019-02/txt/msg03715.txt.bz2
Content-length: 503

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89515

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Yes it is a dup.

*** This bug has been marked as a duplicate of bug 83670 ***
>From gcc-bugs-return-635414-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 22:16:30 2019
Return-Path: <gcc-bugs-return-635414-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47056 invoked by alias); 26 Feb 2019 22:16: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 46926 invoked by uid 48); 26 Feb 2019 22:16:26 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/83670] m32c ICE in leaf_function_p, at final.c:4368
Date: Tue, 26 Feb 2019 22:16: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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-83670-4-yeaahrQqHj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83670-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83670-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: 2019-02/txt/msg03716.txt.bz2
Content-length: 443

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83670

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hdusel@tangerine-soft.de

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 89515 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-635415-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 22:25:03 2019
Return-Path: <gcc-bugs-return-635415-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 70129 invoked by alias); 26 Feb 2019 22: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 69710 invoked by uid 48); 26 Feb 2019 22:24:58 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/83670] m32c ICE in leaf_function_p, at final.c:4368
Date: Tue, 26 Feb 2019 22:25: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.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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 everconfirmed
Message-ID: <bug-83670-4-sXNX5SuIsK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83670-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83670-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: 2019-02/txt/msg03717.txt.bz2
Content-length: 777

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83670

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-26
     Ever confirmed|0                           |1

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Exposed by https://gcc.gnu.org/ml/gcc-patches/2017-05/msg01027.html .
The value might already be cached by the time we call leaf_function_p in
crtl->is_leaf which can be used here instead.


Related to the similar issue on mmix: PR 85666.
>From gcc-bugs-return-635416-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 22:36:31 2019
Return-Path: <gcc-bugs-return-635416-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96826 invoked by alias); 26 Feb 2019 22:36: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 96673 invoked by uid 48); 26 Feb 2019 22:36:27 -0000
From: "dvoreader at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/82853] Optimize x % 3 == 0 without modulo
Date: Tue, 26 Feb 2019 22:36: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: 8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dvoreader at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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: cc
Message-ID: <bug-82853-4-PLupILKzka@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82853-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82853-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: 2019-02/txt/msg03718.txt.bz2
Content-length: 4257

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82853

Orr Shalom Dvory <dvoreader at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dvoreader at gmail dot com

--- Comment #33 from Orr Shalom Dvory <dvoreader at gmail dot com> ---
(In reply to Jakub Jelinek from comment #25)
> Created attachment 44657 [details]
> gcc9-pr82853.patch
> 
> Full untested patch.  For x % C1 == C2 it handles all unsigned cases where
> C1 is odd, if C1 is even, just cases where C2 <= -1U % C1, if signed modulo,
> just x % C1 == 0 cases (where C1 is not INT_MIN).

Hi, I will try to help. I've got a more accurate formula. look at my comment
over here https://reviews.llvm.org/D50222
I'm copying it here for the sake of all. 
Hi guys, I found the magical formula for unsigned integers that works also with
even numbers without the need to check for overflows with any remainder:
from divisor d and reminder r, I calculate 4 constants.
any d!=0 should fit.

void calculate_constants64(uint64_t d, uint64_t r, uint64_t &k,uint64_t &mmi,
uint64_t &s,uint64_t& u)
{
        k=__builtin_ctzll(d);/* the power of 2 */
        uint64_t d_odd=d>>k;
        mmi=find_mod_mul_inverse(d_odd,64);
        /* 64 is word size*/
        s=(r*mmi);
        u=(ULLONG_MAX-r)/d;/* note that I divide by d, not d_odd */
}
A little bit background: the constant (u +1) is the count of the possible
values in the range of 64 bit number that will yield the correct modulo.
The constant s should zero the first k bits if the given value have modulo of
r. it will also zero the modulo of d_odd.

then the compiler should generate the following code with the given constants:

int checkrem64(uint64_t k,uint64_t mmi, uint64_t s,uint64_t u,uint64_t x)
{
    uint64_t o=((x*mmi)-s);
    o= (o>>k)|(o<<(64-k));/*ROTR64(o,k)*/
    return o<=u;
}
this replace the following:

/* d is the divisor, r is the remainder */
int checkrem64(uint64_t x)
{
  return x%d==r;
}
this is the code to find modular inverse..

uint64_t find_mod_mul_inverse(uint64_t x, uint64_t bits)
{
      if (bits > 64 || ((x&1)==0))
              return 0;// invalid parameters
      uint64_t mask;
      if (bits == 64)
              mask = -1;
      else
      {                
              mask = 1;
              mask<<=bits;
              mask--;
      }
      x&=mask;
      uint64_t result=1, state=x, ctz=0;
      while(state!=1ULL)
      {
              ctz=__builtin_ctzll(state^1);
              result|=1ULL<<ctz;
              state+=x<<ctz;
              state&=mask;
      }
      return result;
}
good luck!
I tested this on all the cases of 10bit word size, and it passed.

*Edit:* I looked for something that will work for signed integers. I came up
with something that would work with negative numbers if the following
assumption was correct:

(-21)%10==9
but this assumption is not correct because (-21)%10 equals to -1.
anyway, the idea is like that, you shift the range and change s and
accordingly:

void calculate_constants64(uint64_t d, uint64_t r, uint64_t &k,uint64_t &mmi,
uint64_t &s,uint64_t& u)
{
        k=__builtin_ctzll(d);/* the power of 2 */
        uint64_t d_odd=d>>k;
        mmi=find_mod_mul_inverse(d_odd,64);
        /* 64 is word size*/
     //this is the added line to make it work with signed integers
      r+=0x8000 0000 0000 0000% d;
        s=(r*mmi);
        u=(ULLONG_MAX-r)/d;
}

int checkrem64(uint64_t k,uint64_t mmi, uint64_t s,uint64_t u,uint64_t x)
{
     //this is the added line to make it work with signed integers
//x came as signed number but was casted to unsigned
    x^=0x8000 0000 0000 0000;// this is addition simplified to xor, spaces for
clarity.
    uint64_t o=((x*mmi)-s);
    o= (o>>k)|(o<<(64-k));/*ROTR64(o,k)*/
    return o<=u;
}
There is a way to tweak u and s to make it work on negative only numbers or
positive only numbers, when r is negative or positive... but for r=0, this
should work. please tell me the exact requirements, and I will do the math.
>From gcc-bugs-return-635417-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 23:13:25 2019
Return-Path: <gcc-bugs-return-635417-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119566 invoked by alias); 26 Feb 2019 23:13: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 119452 invoked by uid 55); 26 Feb 2019 23:13:18 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89477] Incorrect CTAD deduction guides for set and multiset
Date: Tue, 26 Feb 2019 23:13:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89477-4-e94MKiHSVx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89477-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89477-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: 2019-02/txt/msg03719.txt.bz2
Content-length: 3248

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89477

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Tue Feb 26 23:12:44 2019
New Revision: 269234

URL: https://gcc.gnu.org/viewcvs?rev=269234&root=gcc&view=rev
Log:
PR libstdc++/89477 constrain deduction guides for maps and sets

The Compare, Hash, and Pred template parameters should be constrained in
the C++17 deduction guides for associative and unordered containers.

The deduction guides for stack, queue and priority_queue are already
constrained, but this patch makes them use the _RequireNotAllocator
helper instead of reproducing the logic each time.

        PR libstdc++/89477
        * include/bits/alloc_traits.h (_RequireNotAllocator): New helper for
        container deduction guides.
        * include/bits/hashtable.h (_RequireNotAllocatorOrIntegral): Likewise.
        * include/bits/stl_map.h (map): Use _RequireNotAllocator to constrain
        parameters in deduction guides.
        * include/bits/stl_multimap.h (multimap): Likewise.
        * include/bits/stl_multiset.h (multiset): Likewise.
        * include/bits/stl_queue.h (queue, priority_queue): Likewise.
        * include/bits/stl_set.h (set): Likewise.
        * include/bits/stl_stack.h (stack): Likewise.
        * include/bits/unordered_map.h (unordered_map, unordered_multimap):
        use _RequireNotAllocator and _RequireNotAllocatorOrIntegral to
        constrain parameters in deduction guides.
        * include/bits/unordered_set.h (unordered_set, unordered_multiset):
        Likewise.
        * testsuite/23_containers/map/cons/deduction.cc: Test additional
        deduction cases.
        * testsuite/23_containers/multiset/cons/deduction.cc: Likewise.
        * testsuite/23_containers/set/cons/deduction.cc: Likewise.
        * testsuite/23_containers/unordered_map/cons/deduction.cc: Likewise.
        * testsuite/23_containers/unordered_multimap/cons/deduction.cc:
        Likewise.
        * testsuite/23_containers/unordered_multiset/cons/deduction.cc:
        Likewise.
        * testsuite/23_containers/unordered_set/cons/deduction.cc: Likewise.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/alloc_traits.h
    trunk/libstdc++-v3/include/bits/hashtable.h
    trunk/libstdc++-v3/include/bits/stl_map.h
    trunk/libstdc++-v3/include/bits/stl_multimap.h
    trunk/libstdc++-v3/include/bits/stl_multiset.h
    trunk/libstdc++-v3/include/bits/stl_queue.h
    trunk/libstdc++-v3/include/bits/stl_set.h
    trunk/libstdc++-v3/include/bits/stl_stack.h
    trunk/libstdc++-v3/include/bits/unordered_map.h
    trunk/libstdc++-v3/include/bits/unordered_set.h
    trunk/libstdc++-v3/testsuite/23_containers/map/cons/deduction.cc
    trunk/libstdc++-v3/testsuite/23_containers/multiset/cons/deduction.cc
    trunk/libstdc++-v3/testsuite/23_containers/set/cons/deduction.cc
    trunk/libstdc++-v3/testsuite/23_containers/unordered_map/cons/deduction.cc
   
trunk/libstdc++-v3/testsuite/23_containers/unordered_multimap/cons/deduction.cc
   
trunk/libstdc++-v3/testsuite/23_containers/unordered_multiset/cons/deduction.cc
    trunk/libstdc++-v3/testsuite/23_containers/unordered_set/cons/deduction.cc
>From gcc-bugs-return-635418-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 23:14:11 2019
Return-Path: <gcc-bugs-return-635418-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120940 invoked by alias); 26 Feb 2019 23:14: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 120817 invoked by uid 48); 26 Feb 2019 23:14:07 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89477] Incorrect CTAD deduction guides for set and multiset
Date: Tue, 26 Feb 2019 23:14:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-89477-4-KycMQJwBzA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89477-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89477-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: 2019-02/txt/msg03720.txt.bz2
Content-length: 523

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89477

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |9.0

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed for all associative and unordered containers.
>From gcc-bugs-return-635419-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 23:29:11 2019
Return-Path: <gcc-bugs-return-635419-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38375 invoked by alias); 26 Feb 2019 23:29: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 35479 invoked by uid 48); 26 Feb 2019 23:29:06 -0000
From: "drikosev at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/87199] Thread local storage dynamic initialization behaviour differs Linux vs macOS
Date: Tue, 26 Feb 2019 23:29: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: drikosev 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:
Message-ID: <bug-87199-4-9SsF8F9agK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87199-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87199-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: 2019-02/txt/msg03721.txt.bz2
Content-length: 750

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87199

--- Comment #5 from Ev Drikos <drikosev at gmail dot com> ---
 Hello,

 At first, I'd like to note that these 2 options are also ok in MacOS-10.13:
 (a) g++8 -g  -std=c++11      lib.cpp   main.c -o main && ./main
 (b) g++8 -g  -std=c++11 -I . main.c    -S
     g++8 -g  -std=c++11 -I . lib.cpp   -S 
     g++8 -g  -std=c++11 -I . lib.s main.s     -o main && ./main

 Just for the record, a fresh built gcc-4.8.5~36 in OS X Yosemite (10.10) 
 doesn't have this problem but I just faced it in OS X Mavericks (10.9),
 where I had to properly comment the stmt "ld_uses_coal_sects = true" in
 file "darwin.c", added by an unofficial backport of PR/71767.


 Hope this helps,
 Ev. Drikos
>From gcc-bugs-return-635420-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Feb 26 23:32:51 2019
Return-Path: <gcc-bugs-return-635420-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47391 invoked by alias); 26 Feb 2019 23:32: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 47288 invoked by uid 48); 26 Feb 2019 23:32:47 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89502] Inefficient access to stack_guard in TCB
Date: Tue, 26 Feb 2019 23: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: 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89502-4-LOTaGoFTIq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89502-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89502-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: 2019-02/txt/msg03722.txt.bz2
Content-length: 727

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89502

--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> ---
rtx
memory_address_addr_space (machine_mode mode, rtx x, addr_space_t as)
{
  rtx oldx = x; 
  scalar_int_mode address_mode = targetm.addr_space.address_mode (as);

  x = convert_memory_address_addr_space (address_mode, x, as); 

  /* By passing constant addresses through registers
     we get a chance to cse them.  */
  if (! cse_not_expected && CONSTANT_P (x) && CONSTANT_ADDRESS_P (x)) 
    x = force_reg (address_mode, x);

cprop undoes it, which isn't enabled by O1.  For x86, using register
instead of a 32-bit constant usually is a performance loss.  Shouldn't
backend have a choice here?
>From gcc-bugs-return-635421-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 00:28:53 2019
Return-Path: <gcc-bugs-return-635421-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66347 invoked by alias); 27 Feb 2019 00:28:52 -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 66031 invoked by uid 48); 27 Feb 2019 00:28:48 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Wed, 27 Feb 2019 00:28: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amodra at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89490-4-PytpGDXbT8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03723.txt.bz2
Content-length: 302

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

--- Comment #17 from Alan Modra <amodra at gmail dot com> ---
The correct place for comment #15 patch is get_block_for_decl, I think.  I'm
bootstrapping such a patch along with an assert in output_object_block that we
don't have a merge section.
>From gcc-bugs-return-635422-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 01:02:58 2019
Return-Path: <gcc-bugs-return-635422-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1811 invoked by alias); 27 Feb 2019 01:02:57 -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 1732 invoked by uid 48); 27 Feb 2019 01:02:53 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/704] --help and --version
Date: Wed, 27 Feb 2019 01:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: 2.97
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: egallager at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-704-4-lWd7fIt9Bv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-704-4@http.gcc.gnu.org/bugzilla/>
References: <bug-704-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: 2019-02/txt/msg03724.txt.bz2
Content-length: 1693

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=704

--- Comment #22 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #21)
> (In reply to Iain Sandoe from comment #20)
> > (In reply to Eric Gallager from comment #19)
> > > (In reply to joseph@codesourcery.com from comment #18)
> > > > Whether this is fixed may be determined by running all of the programs 
> > > > installed in $exec_prefix/bin by current mainline with the --help and 
> > > > --version options (and confirming the GCC version number is properly shown 
> > > > in the --version output).
> > > 
> > > looks like gcc-nm and gcc-ranlib still fail with --help:
> > 
> > That's not a fault with the GCC wrappers, it's because the "upstream"
> > cctools nm and ranlib don't respond to "--help" (or --version).  I have
> > amended versions of them that handle --help and --version (available on
> > github***) that work:
> > 
> > $ ./gcc/gcc-ar --help
> > usage:  ar -d [-TLsv] archive file ...
> > 	ar -m [-TLsv] archive file ...
> > <snip>
> > 
> > $ ./gcc/gcc-ar --version
> > xtools-1.1.0 ar
> > 
> > - the point is that this is not a problem with the GCC wrappers, the
> > intention of them is to pass the --help and --version onto the underlying
> > commands.
> > 
> > From the point of view of Darwin, I'd say this could be closed, of course it
> > might not be completely clean for other platforms.
> > 
> > *** Note: the versions published on github are quite old - on the TODO to
> > provide some updates.
> 
> OK, closing then.

Opened an issue on GitHub for your version of cctools about this:
https://github.com/iains/darwin-xtools/issues/3
>From gcc-bugs-return-635423-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 01:11:49 2019
Return-Path: <gcc-bugs-return-635423-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20613 invoked by alias); 27 Feb 2019 01:11: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 19986 invoked by uid 48); 27 Feb 2019 01:11:44 -0000
From: "fche at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/12245] [7/8/9 regression] Uses lots of memory when compiling large initialized arrays
Date: Wed, 27 Feb 2019 01:11: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: 3.3.1
X-Bugzilla-Keywords: memory-hog
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fche at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-12245-4-KkGbZZMNzL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-12245-4@http.gcc.gnu.org/bugzilla/>
References: <bug-12245-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: 2019-02/txt/msg03725.txt.bz2
Content-length: 1658

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12245

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fche at redhat dot com

--- Comment #66 from Frank Ch. Eigler <fche at redhat dot com> ---
Just in case it helps, we are encountering this problem with fedora29's gcc
8.2.1,
when compiling a 24-million unsigned-char initialized array:

% gcc -c -Q -v foo.i
[...]

Time variable                                   usr           sys          wall
              GGC
 phase setup                        :   0.00 (  0%)   0.00 (  0%)   0.00 (  0%)
   1243 kB (  0%)
 phase parsing                      :  25.26 ( 83%)  26.12 (100%)  51.47 ( 90%)
2592523 kB (100%)
 phase opt and generate             :   5.32 ( 17%)   0.08 (  0%)   5.42 ( 10%)
      7 kB (  0%)
 phase finalize                     :   0.00 (  0%)   0.02 (  0%)   0.13 (  0%)
      0 kB (  0%)
 garbage collection                 :   1.27 (  4%)   0.00 (  0%)   1.27 (  2%)
      0 kB (  0%)
 callgraph construction             :   4.05 ( 13%)   0.08 (  0%)   4.15 (  7%)
      5 kB (  0%)
 preprocessing                      :   5.99 ( 20%)   6.39 ( 24%)  12.20 ( 21%)
 524289 kB ( 20%)
 lexical analysis                   :   7.34 ( 24%)   8.90 ( 34%)  16.18 ( 28%)
      0 kB (  0%)
 parser (global)                    :  11.93 ( 39%)  10.83 ( 41%)  23.09 ( 40%)
2068233 kB ( 80%)
 TOTAL                              :  30.58         26.24         57.05       
2593783 kB
>From gcc-bugs-return-635424-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 01:33:05 2019
Return-Path: <gcc-bugs-return-635424-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92019 invoked by alias); 27 Feb 2019 01:33: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 91774 invoked by uid 48); 27 Feb 2019 01:32:59 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89350] [9 Regression] Wrong -Wstringop-overflow= warning since r261518
Date: Wed, 27 Feb 2019 01:33: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: diagnostic, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: msebor at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords
Message-ID: <bug-89350-4-ut1800S9YR@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89350-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89350-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: 2019-02/txt/msg03726.txt.bz2
Content-length: 423

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89350

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch

--- Comment #10 from Martin Sebor <msebor at gcc dot gnu.org> ---
Patch: https://gcc.gnu.org/ml/gcc-patches/2019-02/msg02029.html
>From gcc-bugs-return-635425-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 01:58:17 2019
Return-Path: <gcc-bugs-return-635425-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89840 invoked by alias); 27 Feb 2019 01:58: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 89562 invoked by uid 48); 27 Feb 2019 01:58:13 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Wed, 27 Feb 2019 01:58: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amodra at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89490-4-F6uIFsE4wo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03727.txt.bz2
Content-length: 215

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

--- Comment #18 from Alan Modra <amodra at gmail dot com> ---
The assertion triggered in multiple places when compiling various libgcc2.c
pieces, and dfp-bit.c.
>From gcc-bugs-return-635426-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 07:02:04 2019
Return-Path: <gcc-bugs-return-635426-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103924 invoked by alias); 27 Feb 2019 07:02: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 103774 invoked by uid 48); 27 Feb 2019 07:01:59 -0000
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Wed, 27 Feb 2019 07:02: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amodra at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89490-4-2VNXnX8f7f@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03728.txt.bz2
Content-length: 482

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

--- Comment #19 from Alan Modra <amodra at gmail dot com> ---
Created attachment 45829
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45829&action=edit
Prevent use of merge sections when -fsection-anchors

This isn't particularly elegant, but survives bootstrap and regtest on
powerpc64le-linux.  Companion to this patch is an rs6000 backend one that only
enables -fsection-anchors by default when -mcmodel=small.
>From gcc-bugs-return-635427-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 07:23:06 2019
Return-Path: <gcc-bugs-return-635427-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23447 invoked by alias); 27 Feb 2019 07:23: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 23330 invoked by uid 48); 27 Feb 2019 07:23:01 -0000
From: "pkubaj at anongoth dot pl" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/89494] Bootstrap error when using GCC 4.2.1
Date: Wed, 27 Feb 2019 07:23: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: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pkubaj at anongoth dot pl
X-Bugzilla-Status: WAITING
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-89494-4-Q6KxIalb4Y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89494-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89494-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: 2019-02/txt/msg03729.txt.bz2
Content-length: 4245

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89494

--- Comment #7 from Piotr Kubaj <pkubaj at anongoth dot pl> ---
It still crashes (test was done with 7.4.0), but we're getting somewhere.
It crashes at:
libtool: compile: 
/usr/local/poudriere/ports/default/lang/gcc7/work/.build/./gcc/xgcc
-shared-libgcc -B/usr/local/poudriere/ports/default/lang/gcc7/work/.build/./gcc
-nostdinc++
-L/usr/local/poudriere/ports/default/lang/gcc7/work/.build/powerpc64-portbld-freebsd12.0/libstdc++-v3/src
-L/usr/local/poudriere/ports/default/lang/gcc7/work/.build/powerpc64-portbld-freebsd12.0/libstdc++-v3/src/.libs
-L/usr/local/poudriere/ports/default/lang/gcc7/work/.build/powerpc64-portbld-freebsd12.0/libstdc++-v3/libsupc++/.libs
-B/usr/local/powerpc64-portbld-freebsd12.0/bin/
-B/usr/local/powerpc64-portbld-freebsd12.0/lib/ -isystem
/usr/local/powerpc64-portbld-freebsd12.0/include -isystem
/usr/local/powerpc64-portbld-freebsd12.0/sys-include
-I/usr/local/poudriere/ports/default/lang/gcc7/work/gcc-7.4.0/libstdc++-v3/../libgcc
-I/usr/local/poudriere/ports/default/lang/gcc7/work/.build/powerpc64-portbld-freebsd12.0/libstdc++-v3/include/powerpc64-portbld-freebsd12.0
-I/usr/local/poudriere/ports/default/lang/gcc7/work/.build/powerpc64-portbld-freebsd12.0/libstdc++-v3/include
-I/usr/local/poudriere/ports/default/lang/gcc7/work/gcc-7.4.0/libstdc++-v3/libsupc++
-D_GLIBCXX_SHARED -fno-implicit-templates -Wall -Wextra -Wwrite-strings
-Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections
-fdata-sections -frandom-seed=class_type_info.lo -g -O2 -pipe -DLIBICONV_PLUG
-c
/usr/local/poudriere/ports/default/lang/gcc7/work/gcc-7.4.0/libstdc++-v3/libsupc++/class_type_info.cc
 -fPIC -DPIC -D_GLIBCXX_SHARED -o class_type_info.o
/usr/local/poudriere/ports/default/lang/gcc7/work/gcc-7.4.0/libstdc++-v3/libsupc++/class_type_info.cc:
In member function 'virtual bool
__cxxabiv1::__class_type_info::__do_upcast(const
__cxxabiv1::__class_type_info*, void**) const':
/usr/local/poudriere/ports/default/lang/gcc7/work/gcc-7.4.0/libstdc++-v3/libsupc++/class_type_info.cc:45:6:
internal compiler error: Segmentation fault
 bool __class_type_info::
      ^~~~~~~~~~~~~~~~~

Interestingly, I can see -O0 added to flags before:
gmake "AR_FLAGS=rc" "CC_FOR_BUILD=cc"
"CC_FOR_TARGET=/usr/local/poudriere/ports/default/lang/gcc7/work/.build/./gcc/xgcc
-B/usr/local/poudriere/ports/default/lang/gcc7/work/.build/./gcc/" "CFLAGS=-O0"
"CXXFLAGS=-g -O2 -pipe   -DLIBICONV_PLUG " "CFLAGS_FOR_BUILD=-O0"
"CFLAGS_FOR_TARGET=-O0" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=install  -m
0644" "INSTALL_PROGRAM=install  -s -m 555" "INSTALL_SCRIPT=install  -m 555"
"LDFLAGS=" "LIBCFLAGS=-O0" "LIBCFLAGS_FOR_TARGET=-O0" "MAKE=gmake"
"MAKEINFO=makeinfo --no-split --split-size=5000000 --split-size=5000000
--split-size=5000000" "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/usr/local"
"infodir=/usr/local/share/info/gcc7" "libdir=/usr/local/lib/gcc7"
"includedir=/usr/local/include" "prefix=/usr/local"
"tooldir=/usr/local/powerpc64-portbld-freebsd12.0"
"gxx_include_dir=/usr/local/lib/gcc7/include/c++/"
"AR=/usr/local/powerpc64-portbld-freebsd12.0/bin/ar"
"AS=/usr/local/poudriere/ports/default/lang/gcc7/work/.build/./gcc/as"
"LD=/usr/local/poudriere/ports/default/lang/gcc7/work/.build/./gcc/collect-ld"
"RANLIB=/usr/local/powerpc64-portbld-freebsd12.0/bin/ranlib"
"NM=/usr/local/poudriere/ports/default/lang/gcc7/work/.build/./gcc/nm"
"NM_FOR_BUILD=" "NM_FOR_TARGET=/usr/local/powerpc64-portbld-freebsd12.0/bin/nm"
"DESTDIR=" "WERROR=" all-recursive

But the failing command is run strictly with -O2. If I just cd to
'/usr/local/poudriere/ports/default/lang/gcc7/work/.build/libiberty' and run it
manually, but change -O2 to -O0, it passes.

I can't find how to change -O level globally.
I currently set BOOT_CFLAGS="-O0" CFLAGS_FOR_TARGET="-O0"
CFLAGS_FOR_BUILD="-O0" STAGE_CFLAGS="-O0" STAGE2_CXXFLAGS="-O0"
STAGE2_CFLAGS="-O0" STAGE1_CXXFLAGS="-O0" STAGE1_CFLAGS="-O0" and it looks like
some files are compiled with -O0, but some commands still use -O2 (like the one
above). How can I set it to add -O0 everywhere?
>From gcc-bugs-return-635428-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 07:27:26 2019
Return-Path: <gcc-bugs-return-635428-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67944 invoked by alias); 27 Feb 2019 07:27:26 -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 67835 invoked by uid 48); 27 Feb 2019 07:27:22 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89497] [8 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled
Date: Wed, 27 Feb 2019 07:27: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.3.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89497-4-0a93DMAJ7i@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89497-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89497-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: 2019-02/txt/msg03730.txt.bz2
Content-length: 623

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497

--- Comment #10 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to darkkirb from comment #9)
> I have bisected the fix a bit (I didn't have enough time today to finish it)
> and i found that the fix has happened in one of the 322 commits between 
> 
> d1540be4d3b4b8ac6d19997539c13d2ca74f65e4 (2018-09-26, broken)
> 
> and 
> 
> 44257478a8d157f8e0030bb7abe1c3ac91be9302 (2018-10-31, fixed)
> 
> Hopefully the fix can be applied to the gcc-8_0 branch.

I already bisected that, see:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497#c6
>From gcc-bugs-return-635429-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 07:31:18 2019
Return-Path: <gcc-bugs-return-635429-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75317 invoked by alias); 27 Feb 2019 07:31: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 75239 invoked by uid 48); 27 Feb 2019 07:31:13 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89516] New: ICE in gfc_calculate_transfer_sizes at gcc/fortran/check.c:5506
Date: Wed, 27 Feb 2019 07:31: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: 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 target_milestone
Message-ID: <bug-89516-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: 2019-02/txt/msg03731.txt.bz2
Content-length: 2864

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89516

            Bug ID: 89516
           Summary: ICE in gfc_calculate_transfer_sizes at
                    gcc/fortran/check.c:5506
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---

Apparently a very old surprise, test-case is simplified from:
gcc/testsuite/gfortran.dg/pr89266.f90:

$ cat ice.f90 
program test
  character(*), parameter :: n = ''
  character(*), parameter :: o = transfer ([''], n)
end program test

$ gfortran ice.f90 -c -Wsurprising
f951: internal compiler error: Segmentation fault
0xdd0caf crash_signal
        /home/marxin/Programming/gcc/gcc/toplev.c:326
0x7ffff7b79e0f ???
       
/usr/src/debug/glibc-2.29-2.1.x86_64/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0x7b1daa gfc_calculate_transfer_sizes(gfc_expr*, gfc_expr*, gfc_expr*, unsigned
long*, unsigned long*, unsigned long*)
        /home/marxin/Programming/gcc/gcc/fortran/check.c:5506
0x7b1daa gfc_calculate_transfer_sizes(gfc_expr*, gfc_expr*, gfc_expr*, unsigned
long*, unsigned long*, unsigned long*)
        /home/marxin/Programming/gcc/gcc/fortran/check.c:5470
0x7b1e58 gfc_check_transfer(gfc_expr*, gfc_expr*, gfc_expr*)
        /home/marxin/Programming/gcc/gcc/fortran/check.c:5566
0x7eaa40 check_specific
        /home/marxin/Programming/gcc/gcc/fortran/intrinsic.c:4634
0x7f4c7d gfc_intrinsic_func_interface(gfc_expr*, int)
        /home/marxin/Programming/gcc/gcc/fortran/intrinsic.c:4870
0x84b7af resolve_unknown_f
        /home/marxin/Programming/gcc/gcc/fortran/resolve.c:2873
0x84b7af resolve_function
        /home/marxin/Programming/gcc/gcc/fortran/resolve.c:3211
0x84b7af gfc_resolve_expr(gfc_expr*)
        /home/marxin/Programming/gcc/gcc/fortran/resolve.c:6866
0x7db2af gfc_reduce_init_expr(gfc_expr*)
        /home/marxin/Programming/gcc/gcc/fortran/expr.c:2987
0x7de330 gfc_match_init_expr(gfc_expr**)
        /home/marxin/Programming/gcc/gcc/fortran/expr.c:3035
0x7c9169 variable_decl
        /home/marxin/Programming/gcc/gcc/fortran/decl.c:2788
0x7c9169 gfc_match_data_decl()
        /home/marxin/Programming/gcc/gcc/fortran/decl.c:6015
0x827eef match_word
        /home/marxin/Programming/gcc/gcc/fortran/parse.c:65
0x827eef decode_statement
        /home/marxin/Programming/gcc/gcc/fortran/parse.c:376
0x82b82e next_free
        /home/marxin/Programming/gcc/gcc/fortran/parse.c:1241
0x82b82e next_statement
        /home/marxin/Programming/gcc/gcc/fortran/parse.c:1473
0x82cedb parse_spec
        /home/marxin/Programming/gcc/gcc/fortran/parse.c:3865
0x82f87c parse_progunit
        /home/marxin/Programming/gcc/gcc/fortran/parse.c:5680
>From gcc-bugs-return-635430-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 07:35:18 2019
Return-Path: <gcc-bugs-return-635430-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87533 invoked by alias); 27 Feb 2019 07:35:18 -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 87402 invoked by uid 48); 27 Feb 2019 07:35:14 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/87089] [9 regression] tree check: expected class 'type', have 'declaration' (namespace_decl) in type_with_linkage_p, at ipa-utils.h
Date: Wed, 27 Feb 2019 07:35: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87089-4-67XCfHGw2s@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87089-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87089-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: 2019-02/txt/msg03732.txt.bz2
Content-length: 227

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87089

--- Comment #11 from Martin Liška <marxin at gcc dot gnu.org> ---
Is Jason working on that? Can you please link a gcc-patches mailing list
discussion (if there's any).
>From gcc-bugs-return-635431-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 07:35:23 2019
Return-Path: <gcc-bugs-return-635431-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88054 invoked by alias); 27 Feb 2019 07:35: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 87524 invoked by uid 48); 27 Feb 2019 07:35:18 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89335] [9 Regression] ICE with LTO -Wsuggest-final-methods: ICE during IPA pass devirt in types_same_for_odr, at ipa-devirt.c:391
Date: Wed, 27 Feb 2019 07:35: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89335-4-hIKDr20tks@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89335-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89335-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: 2019-02/txt/msg03733.txt.bz2
Content-length: 226

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89335

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Is Jason working on that? Can you please link a gcc-patches mailing list
discussion (if there's any).
>From gcc-bugs-return-635432-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 07:37:23 2019
Return-Path: <gcc-bugs-return-635432-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91419 invoked by alias); 27 Feb 2019 07:37: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 91295 invoked by uid 48); 27 Feb 2019 07:37:18 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/88585] [9 Regression] ICE in fld_incomplete_type_of, at tree.c:5295
Date: Wed, 27 Feb 2019 07:37: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords
Message-ID: <bug-88585-4-roSubye4LF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88585-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88585-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: 2019-02/txt/msg03734.txt.bz2
Content-length: 432

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88585

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Patch: https://gcc.gnu.org/ml/gcc-patches/2019-02/msg00684.html
>From gcc-bugs-return-635433-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 08:18:26 2019
Return-Path: <gcc-bugs-return-635433-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93235 invoked by alias); 27 Feb 2019 08:18: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 93166 invoked by uid 48); 27 Feb 2019 08:18:21 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89514] -g -fdebug-types-section -flto gives 'Dwarf Error: bad length' in gdb
Date: Wed, 27 Feb 2019 08:18: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.3.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: dependson
Message-ID: <bug-89514-4-HJ5z6Jjlul@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89514-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89514-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: 2019-02/txt/msg03735.txt.bz2
Content-length: 684

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89514

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |88878

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
-fdebug-types-section isn't implemented for -flto and it doesn't really make
much sense for it.  See PR88878.  One possibility would be to ignore the option
but the workaround is to not use it.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88878
[Bug 88878] .debug_pubnames/types empty with -flto
>From gcc-bugs-return-635434-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 08:31:08 2019
Return-Path: <gcc-bugs-return-635434-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39435 invoked by alias); 27 Feb 2019 08:31: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 39297 invoked by uid 48); 27 Feb 2019 08:31:02 -0000
From: "m.marko08154711 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89203] Linux S/390: Unable to build GCC 8.2.0 on Red Hat Enterprise Linux Server release 6.9
Date: Wed, 27 Feb 2019 08:31: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.3.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: m.marko08154711 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: version
Message-ID: <bug-89203-4-A8uCZVqHqy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89203-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89203-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: 2019-02/txt/msg03736.txt.bz2
Content-length: 587

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89203

Martin Marko <m.marko08154711 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|8.2.0                       |8.3.0

--- Comment #1 from Martin Marko <m.marko08154711 at gmail dot com> ---
Tried it again with GCC 8.3.0, still the same error.
Sry for pushing but is it possible to get a patch/workaround in the near future
as this is currently blocking us to update to C++17?
Thanks a lot for any help.
>From gcc-bugs-return-635435-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 08:33:04 2019
Return-Path: <gcc-bugs-return-635435-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117929 invoked by alias); 27 Feb 2019 08:33: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 112772 invoked by uid 48); 27 Feb 2019 08:32:59 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89511] [7/8/9 Regression] ICE in push_using_decl_1, at cp/name-lookup.c:3845
Date: Wed, 27 Feb 2019 08: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-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: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority
Message-ID: <bug-89511-4-QYJReIcLd2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89511-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89511-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: 2019-02/txt/msg03737.txt.bz2
Content-length: 292

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89511

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
>From gcc-bugs-return-635436-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 08:38:47 2019
Return-Path: <gcc-bugs-return-635436-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53307 invoked by alias); 27 Feb 2019 08:38: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 53252 invoked by uid 48); 27 Feb 2019 08:38:43 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Wed, 27 Feb 2019 08:38: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89490-4-4gbVIylL1w@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03738.txt.bz2
Content-length: 355

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

--- Comment #20 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I don't think users would appreciate the change in behavior where constant and
string merging would stop to work completely.

I've successfully bootstrapped/regtested the #c15 patch on powerpc64{,le}-linux
and it looks good to me.
>From gcc-bugs-return-635437-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 08:41:39 2019
Return-Path: <gcc-bugs-return-635437-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64118 invoked by alias); 27 Feb 2019 08:41: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 63997 invoked by uid 55); 27 Feb 2019 08:41:34 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89280] [7/8/9 Regression] ICE: Segmentation fault (in is_gimple_reg_type)
Date: Wed, 27 Feb 2019 08:41: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89280-4-W2eBDvZFW1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89280-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89280-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: 2019-02/txt/msg03739.txt.bz2
Content-length: 1178

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89280

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Feb 27 08:41:01 2019
New Revision: 269243

URL: https://gcc.gnu.org/viewcvs?rev=269243&root=gcc&view=rev
Log:
        PR tree-optimization/89280
        * tree-cfgcleanup.c (maybe_dead_abnormal_edge_p,
        builtin_setjmp_setup_bb): New functions.
        (cleanup_control_flow_pre): Ignore maybe_dead_abnormal_edge_p edges.
        When visiting __builtin_setjmp_setup block, queue in special
        setjmp_vec vector edges from .ABNORMAL_DISPATCHER to corresponding
        __builtin_setjmp_receiver.  Remove .ABNORMAL_DISPATCHER basic blocks
        from visited after the loop if they don't have any visited successor
        blocks.

        * gcc.c-torture/compile/pr89280.c: New test.
        * gcc.dg/torture/pr57147-2.c: Don't expect a setjmp after noreturn
        function.  Skip the test for -O0.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr89280.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/torture/pr57147-2.c
    trunk/gcc/tree-cfgcleanup.c
>From gcc-bugs-return-635438-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 08:50:33 2019
Return-Path: <gcc-bugs-return-635438-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97904 invoked by alias); 27 Feb 2019 08:50:32 -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 97761 invoked by uid 48); 27 Feb 2019 08:50:28 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89203] Linux S/390: Unable to build GCC 8.2.0 on Red Hat Enterprise Linux Server release 6.9
Date: Wed, 27 Feb 2019 08:50: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.3.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89203-4-ls6n4VC4kC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89203-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89203-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: 2019-02/txt/msg03740.txt.bz2
Content-length: 500

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89203

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
This is likely PR89361.  As a workaround, just build a recent binutils first
(or use one from DTS) and build against that.
>From gcc-bugs-return-635439-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 08:52:11 2019
Return-Path: <gcc-bugs-return-635439-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100218 invoked by alias); 27 Feb 2019 08:52: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 100125 invoked by uid 48); 27 Feb 2019 08:52:06 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89280] [7/8 Regression] ICE: Segmentation fault (in is_gimple_reg_type)
Date: Wed, 27 Feb 2019 08:52: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-89280-4-lrwSc9IKxo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89280-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89280-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: 2019-02/txt/msg03741.txt.bz2
Content-length: 536

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89280

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[7/8/9 Regression] ICE:     |[7/8 Regression] ICE:
                   |Segmentation fault (in      |Segmentation fault (in
                   |is_gimple_reg_type)         |is_gimple_reg_type)

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed on the trunk.
>From gcc-bugs-return-635440-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 08:56:23 2019
Return-Path: <gcc-bugs-return-635440-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107202 invoked by alias); 27 Feb 2019 08:56: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 107133 invoked by uid 48); 27 Feb 2019 08:56:17 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/89494] Bootstrap error when using GCC 4.2.1
Date: Wed, 27 Feb 2019 08:56: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: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-89494-4-PuFy2fomm3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89494-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89494-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: 2019-02/txt/msg03742.txt.bz2
Content-length: 275

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89494

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The crash is while compiling C+ code, and your CXXFLAGS still contains -O2:

"CXXFLAGS=-g -O2 -pipe   -DLIBICONV_PLUG"

Try setting CXXFLAGS_FOR_TARGET.
>From gcc-bugs-return-635441-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 08:58:16 2019
Return-Path: <gcc-bugs-return-635441-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116880 invoked by alias); 27 Feb 2019 08:58: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 116799 invoked by uid 48); 27 Feb 2019 08:58:12 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/89494] Bootstrap error when using GCC 4.2.1
Date: Wed, 27 Feb 2019 08:58: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: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-89494-4-lSR2N3vXUT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89494-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89494-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: 2019-02/txt/msg03743.txt.bz2
Content-length: 174

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89494

--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Or the configure option --enable-cxx-flags="-O0 -g"
>From gcc-bugs-return-635442-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 09:02:37 2019
Return-Path: <gcc-bugs-return-635442-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125189 invoked by alias); 27 Feb 2019 09:02: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 125126 invoked by uid 48); 27 Feb 2019 09:02:33 -0000
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Wed, 27 Feb 2019 09:02: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bernd.edlinger at hotmail dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89490-4-MEj80OJyCx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03744.txt.bz2
Content-length: 244

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

--- Comment #21 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
Created attachment 45830
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45830&action=edit
proposed patch
>From gcc-bugs-return-635443-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 09:03:13 2019
Return-Path: <gcc-bugs-return-635443-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126547 invoked by alias); 27 Feb 2019 09: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 126432 invoked by uid 48); 27 Feb 2019 09:03:09 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89497] [8 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled
Date: Wed, 27 Feb 2019 09:03: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.3.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89497-4-iLWt4OfYcP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89497-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89497-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: 2019-02/txt/msg03745.txt.bz2
Content-length: 407

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497

--- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #6)
> Created attachment 45822 [details]
> Reduced test-case
> 
> However, this reduced test-case fails with GCC-8 branch for all releases.
> Started on trunk with r256457 and was fixed on trunk r265421:

r265421 just make the bug latent.
>From gcc-bugs-return-635444-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 09:03:18 2019
Return-Path: <gcc-bugs-return-635444-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127174 invoked by alias); 27 Feb 2019 09:03:18 -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 126458 invoked by uid 48); 27 Feb 2019 09:03:09 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/89494] Bootstrap error when using GCC 4.2.1
Date: Wed, 27 Feb 2019 09:03: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: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-89494-4-1U9DLj5nkW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89494-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89494-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: 2019-02/txt/msg03746.txt.bz2
Content-length: 672

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89494

--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Piotr Kubaj from comment #7)
> But the failing command is run strictly with -O2. If I just cd to
> '/usr/local/poudriere/ports/default/lang/gcc7/work/.build/libiberty' and run
> it manually, but change -O2 to -O0, it passes.

Are you sure? The crash is in .build/powerpc64-portbld-freebsd12.0/libstdc++-v3
not .build/libiberty

Also, it seems that the new gcc-7 compiler is the one crashing here, which is
surprising. You've finished using the gcc-4.2.1 system compiler now, and I
wouldn't expect gcc-7 to crash on its own sources.
>From gcc-bugs-return-635445-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 09:07:16 2019
Return-Path: <gcc-bugs-return-635445-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11857 invoked by alias); 27 Feb 2019 09:07: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 11733 invoked by uid 48); 27 Feb 2019 09:07:10 -0000
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Wed, 27 Feb 2019 09: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bernd.edlinger at hotmail dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89490-4-gEX7LwKBxx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03747.txt.bz2
Content-length: 913

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

--- Comment #22 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
(In reply to Jakub Jelinek from comment #20)
> I don't think users would appreciate the change in behavior where constant
> and string merging would stop to work completely.
> 
> I've successfully bootstrapped/regtested the #c15 patch on
> powerpc64{,le}-linux and it looks good to me.

Thanks Jakub,

It is not surprising that Alan hit the assert because when he modified the
patch and moved it the get_block_for_decl, that enabled mergable constants
to be inside a block, there are not DECLs for.

But I would like to pick up his idea to add an assertion as attachment #45830

I have bootstrapped that successfully, and built
and arm-linux-gnueabihf cross compiler (arm has section anchors IIRC).

I would be grateful if you could give it a try on you powerpc machine.


Bernd.
>From gcc-bugs-return-635446-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 09:09:47 2019
Return-Path: <gcc-bugs-return-635446-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15333 invoked by alias); 27 Feb 2019 09:09:46 -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 15229 invoked by uid 48); 27 Feb 2019 09:09:41 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89497] [8 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled
Date: Wed, 27 Feb 2019 09:09: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.3.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89497-4-InhV7bpFx6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89497-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89497-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: 2019-02/txt/msg03748.txt.bz2
Content-length: 1010

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497

--- Comment #12 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #11)
> (In reply to Martin Liška from comment #6)
> > Created attachment 45822 [details]
> > Reduced test-case
> > 
> > However, this reduced test-case fails with GCC-8 branch for all releases.
> > Started on trunk with r256457 and was fixed on trunk r265421:
> 
> r265421 just make the bug latent.

Yep, I can confirm current trunk is affected with:
diff --git a/gcc/passes.def b/gcc/passes.def
index 446a7c48276..0816bfd7258 100644
--- a/gcc/passes.def
+++ b/gcc/passes.def
@@ -88,7 +88,6 @@ along with GCC; see the file COPYING3.  If not see
          NEXT_PASS (pass_merge_phi);
           NEXT_PASS (pass_dse);
          NEXT_PASS (pass_cd_dce);
-         NEXT_PASS (pass_phiopt, true /* early_p */);
          NEXT_PASS (pass_early_ipa_sra);
          NEXT_PASS (pass_tail_recursion);
          NEXT_PASS (pass_convert_switch);
>From gcc-bugs-return-635447-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 09:10:26 2019
Return-Path: <gcc-bugs-return-635447-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16718 invoked by alias); 27 Feb 2019 09:10:26 -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 16552 invoked by uid 48); 27 Feb 2019 09:10:22 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Wed, 27 Feb 2019 09:10: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89490-4-y1Di1nLSoi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03749.txt.bz2
Content-length: 1006

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

--- Comment #23 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Comment on attachment 45830
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45830
proposed patch

Please update the get_block_for_section function comment accordingly:

/* Return the object_block structure for section SECT.  Create a new
   structure if we haven't created one already.  Return null if SECT
   itself is null.  */

This should say that we return NULL also for mergeable sections and why
- that section anchors can't be used in mergeable sections anyway, because the
linker might move objects around, and that using the object blocks
infrastructure in that case is both a waste and maintenance burden.

Given:
  /* Don't use anchors for small data sections.  The small data register
     acts as an anchor for such sections.  */
  if (sect->common.flags & SECTION_SMALL)
    return false;
we could do the same for SECTION_SMALL, but I'm not suggesting that ATM.
>From gcc-bugs-return-635448-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 09:10:56 2019
Return-Path: <gcc-bugs-return-635448-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18235 invoked by alias); 27 Feb 2019 09:10:56 -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 18086 invoked by uid 48); 27 Feb 2019 09:10:52 -0000
From: "rsandifo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88834] [SVE] Poor addressing mode choices for LD2 and ST2
Date: Wed, 27 Feb 2019 09:10: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: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: rsandifo at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: kugan.vivekanandarajah at linaro dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88834-4-hrQbgETGmd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88834-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88834-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: 2019-02/txt/msg03750.txt.bz2
Content-length: 828

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88834

--- Comment #7 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> ---
Thanks for looking at this.

(In reply to kugan from comment #6)
> 	cmp	w3, 0
> 	ble	.L1
> 	sub	w3, w3, #1
> 	mov	x4, 0
> 	cntw	x5
> 	ptrue	p1.s, all
> 	lsr	w3, w3, 1
> 	add	w3, w3, 1
> 	whilelo	p0.s, xzr, x3
> 	.p2align 3,,7
> .L3:
> 	ld2w	{z4.s - z5.s}, p0/z, [x1, x4, lsl 2]
> 	ld2w	{z2.s - z3.s}, p0/z, [x2, x4, lsl 2]
> 	add	z0.s, z4.s, z2.s
> 	sub	z1.s, z5.s, z3.s
> 	st2w	{z0.s - z1.s}, p0, [x0, x4, lsl 2]
> 	whilelo	p0.s, x5, x3
> 	incb	x4, all, mul #2
> 	incw	x5
> 	ptest	p1, p0.b
> 	bne	.L3
> .L1:
> 	ret
> 	.cfi_endproc

This doesn't look right.  x4 is an index, so it should be
incremented by the number of words in two vectors, rather than
the number of bytes in two vectors.
>From gcc-bugs-return-635449-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 09:12:14 2019
Return-Path: <gcc-bugs-return-635449-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20234 invoked by alias); 27 Feb 2019 09:12: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 20118 invoked by uid 48); 27 Feb 2019 09:12:08 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89497] [8 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled
Date: Wed, 27 Feb 2019 09:12: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.3.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89497-4-Tuw7Z2xZhm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89497-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89497-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: 2019-02/txt/msg03751.txt.bz2
Content-length: 2114

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497

--- Comment #13 from Martin Liška <marxin at gcc dot gnu.org> ---
Minimal command line options:

$ gcc 1.i 2.i 3.i 4.i -fPIC -O2 -fno-semantic-interposition -flto=8  -shared
-finline-functions
during GIMPLE pass: vrp
3.i: In function ‘d’:
3.i:14:6: internal compiler error: Segmentation fault
   14 | void d() {
      |      ^
0xc87e44 crash_signal
        /home/marxin/Programming/gcc/gcc/toplev.c:326
0x7ffff7b79e0f ???
       
/usr/src/debug/glibc-2.29-2.1.x86_64/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0xd8b7e0 ptr_deref_may_alias_decl_p
        /home/marxin/Programming/gcc/gcc/tree-ssa-alias.c:169
0xd90374 indirect_ref_may_alias_decl_p
        /home/marxin/Programming/gcc/gcc/tree-ssa-alias.c:1155
0xd91335 refs_may_alias_p_1(ao_ref*, ao_ref*, bool)
        /home/marxin/Programming/gcc/gcc/tree-ssa-alias.c:1499
0x9cbb5c gimple_fold_builtin_memory_op
        /home/marxin/Programming/gcc/gcc/gimple-fold.c:927
0x9cdddb gimple_fold_builtin
        /home/marxin/Programming/gcc/gcc/gimple-fold.c:3854
0x9cf1f8 gimple_fold_call
        /home/marxin/Programming/gcc/gcc/gimple-fold.c:4354
0x9d02e2 fold_stmt_1
        /home/marxin/Programming/gcc/gcc/gimple-fold.c:5019
0xcd2826 replace_uses_by(tree_node*, tree_node*)
        /home/marxin/Programming/gcc/gcc/tree-cfg.c:2026
0xcd2de7 gimple_merge_blocks
        /home/marxin/Programming/gcc/gcc/tree-cfg.c:2112
0x82097f merge_blocks(basic_block_def*, basic_block_def*)
        /home/marxin/Programming/gcc/gcc/cfghooks.c:793
0xcdfd80 cleanup_tree_cfg_bb
        /home/marxin/Programming/gcc/gcc/tree-cfgcleanup.c:719
0xce1348 cleanup_tree_cfg_noloop
        /home/marxin/Programming/gcc/gcc/tree-cfgcleanup.c:905
0xce1348 cleanup_tree_cfg()
        /home/marxin/Programming/gcc/gcc/tree-cfgcleanup.c:989
0xbb3917 execute_function_todo
        /home/marxin/Programming/gcc/gcc/passes.c:1930
0xbb2ae2 do_per_function
        /home/marxin/Programming/gcc/gcc/passes.c:1638
0xbb3c95 execute_todo
        /home/marxin/Programming/gcc/gcc/passes.c:2031
>From gcc-bugs-return-635450-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 09:15:56 2019
Return-Path: <gcc-bugs-return-635450-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27540 invoked by alias); 27 Feb 2019 09:15:36 -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 25757 invoked by uid 48); 27 Feb 2019 09:15:05 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89497] [8/9 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled
Date: Wed, 27 Feb 2019 09:15: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.3.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_known_to_work assigned_to short_desc cf_known_to_fail
Message-ID: <bug-89497-4-0tQDRHucOH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89497-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89497-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: 2019-02/txt/msg03752.txt.bz2
Content-length: 1013

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|9.0                         |
           Assignee|unassigned at gcc dot gnu.org      |marxin at gcc dot gnu.org
            Summary|[8 Regression] ICE caused   |[8/9 Regression] ICE caused
                   |by Segmentation Fault when  |by Segmentation Fault when
                   |compiling cups 2.2.10 with  |compiling cups 2.2.10 with
                   |LTO flags enabled           |LTO flags enabled
      Known to fail|                            |9.0

--- Comment #14 from Martin Liška <marxin at gcc dot gnu.org> ---
Fails due to a freed SSA NAME:

$1 = (tree) 0x7ffff78f2678
(gdb) p debug_tree(ptr)
 <ssa_name 0x7ffff78f2678 nothrow var <var_decl 0x7ffff751d6c0 a>
    def_stmt 
    version:2 in-free-list>

Let me take a look.
>From gcc-bugs-return-635451-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 09:18:34 2019
Return-Path: <gcc-bugs-return-635451-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51032 invoked by alias); 27 Feb 2019 09:18: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 50936 invoked by uid 48); 27 Feb 2019 09:18:30 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89514] -g -fdebug-types-section -flto gives 'Dwarf Error: bad length' in gdb
Date: Wed, 27 Feb 2019 09:18: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.3.0
X-Bugzilla-Keywords:
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: bug_status cf_reconfirmed_on assigned_to everconfirmed
Message-ID: <bug-89514-4-oll5VP8wOF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89514-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89514-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: 2019-02/txt/msg03753.txt.bz2
Content-length: 637

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89514

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-27
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
OK, I have a patch fixing issues in DIE size and abbrev type calculation.
>From gcc-bugs-return-635452-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 09:19:13 2019
Return-Path: <gcc-bugs-return-635452-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56896 invoked by alias); 27 Feb 2019 09:19: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 56839 invoked by uid 48); 27 Feb 2019 09:19:08 -0000
From: "fw at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89461] FAIL: experimental/net/timer/waitable/cons.cc
Date: Wed, 27 Feb 2019 09:19:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fw 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-89461-4-T2LYMudnBK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89461-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89461-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: 2019-02/txt/msg03754.txt.bz2
Content-length: 459

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89461

Florian Weimer <fw at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fw at gcc dot gnu.org

--- Comment #4 from Florian Weimer <fw at gcc dot gnu.org> ---
Is it really true that 64-bit PA-RISC lacks 64-bit atomics?  That's … awkward.
>From gcc-bugs-return-635455-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 09:22:56 2019
Return-Path: <gcc-bugs-return-635455-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90217 invoked by alias); 27 Feb 2019 09:22:56 -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 90025 invoked by uid 48); 27 Feb 2019 09:22:52 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/77691] [7/8/9 regression] experimental/memory_resource/resource_adaptor.cc FAILs
Date: Wed, 27 Feb 2019 09:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: ro at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-77691-4-NezlwBjcgx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77691-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77691-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: 2019-02/txt/msg03757.txt.bz2
Content-length: 258

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77691

--- Comment #28 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to John David Anglin from comment #27)
> Fails with gcc-9 on hppa64-hp-hpux11.11.

What's the error in the libstdc++.log file?
>From gcc-bugs-return-635453-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 09:22:19 2019
Return-Path: <gcc-bugs-return-635453-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74405 invoked by alias); 27 Feb 2019 09:22:18 -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 72027 invoked by uid 48); 27 Feb 2019 09:22:14 -0000
From: "krebbel at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89203] Linux S/390: Unable to build GCC 8.2.0 on Red Hat Enterprise Linux Server release 6.9
Date: Wed, 27 Feb 2019 09:22: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.3.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: krebbel 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-89203-4-5XHzoj6qRq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89203-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89203-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: 2019-02/txt/msg03755.txt.bz2
Content-length: 727

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89203

Andreas Krebbel <krebbel at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-27
     Ever confirmed|0                           |1

--- Comment #3 from Andreas Krebbel <krebbel at gcc dot gnu.org> ---
I can confirm that this is caused by PR89361 as Jakub mentioned. With the fix
libgomp configures successfully with GCC 8 branch.

Would it be possible for you to just use GCC 8 from DTS?

Jakub: Could you please apply the patch also to GCC 8 branch?
>From gcc-bugs-return-635454-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 09:22:56 2019
Return-Path: <gcc-bugs-return-635454-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90151 invoked by alias); 27 Feb 2019 09:22:55 -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 89977 invoked by uid 48); 27 Feb 2019 09:22:51 -0000
From: "rsandifo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Wed, 27 Feb 2019 09:22: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rsandifo at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89490-4-yvU2zrzy0B@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03756.txt.bz2
Content-length: 1792

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

--- Comment #24 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #23)
> Comment on attachment 45830 [details]
> proposed patch
> 
> Please update the get_block_for_section function comment accordingly:
> 
> /* Return the object_block structure for section SECT.  Create a new
>    structure if we haven't created one already.  Return null if SECT
>    itself is null.  */
> 
> This should say that we return NULL also for mergeable sections and why
> - that section anchors can't be used in mergeable sections anyway, because
> the linker might move objects around, and that using the object blocks
> infrastructure in that case is both a waste and maintenance burden.

I think we should also remove the test in default_use_anchors_for_symbol_p,
since:

  sect = SYMBOL_REF_BLOCK (symbol)->sect;

will surely fault if the block is null.  Agree the patch looks good
with those changes.

> Given:
>   /* Don't use anchors for small data sections.  The small data register
>      acts as an anchor for such sections.  */
>   if (sect->common.flags & SECTION_SMALL)
>     return false;
> we could do the same for SECTION_SMALL, but I'm not suggesting that ATM.

The idea was that the block infrastructure could also be used
at some future time to organise decls into a specific order,
e.g. to promote locality.  Obviously that hasn't happened yet,
but I think we should keep the SECTION_SMALL stuff as-is and
only exclude decls that can't be put into blocks for correctness
reasons.

In general, the section anchor/section block stuff could probably
be cleaned up a lot now that unit-at-a-time is the only supported
mode.  (That wasn't true when it was originally written.)
>From gcc-bugs-return-635456-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 09:24:53 2019
Return-Path: <gcc-bugs-return-635456-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72317 invoked by alias); 27 Feb 2019 09:24: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 48059 invoked by uid 48); 27 Feb 2019 09:24:23 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89461] FAIL: experimental/net/timer/waitable/cons.cc
Date: Wed, 27 Feb 2019 09:24:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.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-89461-4-mCuCka5ppI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89461-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89461-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: 2019-02/txt/msg03758.txt.bz2
Content-length: 201

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89461

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Maybe libstdc++ should just link to libatomic unconditionally for your target.
>From gcc-bugs-return-635457-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 09:26:14 2019
Return-Path: <gcc-bugs-return-635457-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110410 invoked by alias); 27 Feb 2019 09:26: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 110299 invoked by uid 48); 27 Feb 2019 09:26:10 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Wed, 27 Feb 2019 09: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89490-4-d156TmEAxO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03759.txt.bz2
Content-length: 898

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

--- Comment #25 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to rsandifo@gcc.gnu.org from comment #24)
> I think we should also remove the test in default_use_anchors_for_symbol_p,
> since:
> 
>   sect = SYMBOL_REF_BLOCK (symbol)->sect;
> 
> will surely fault if the block is null.  Agree the patch looks good
> with those changes.

Or add gcc_checking_assert in there as well (again with a comment that
get_block_for_section should have not created the block for those sections).

> The idea was that the block infrastructure could also be used
> at some future time to organise decls into a specific order,
> e.g. to promote locality.  Obviously that hasn't happened yet,
> but I think we should keep the SECTION_SMALL stuff as-is and
> only exclude decls that can't be put into blocks for correctness
> reasons.

Ack.
>From gcc-bugs-return-635458-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 09:27:37 2019
Return-Path: <gcc-bugs-return-635458-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113900 invoked by alias); 27 Feb 2019 09:27: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 113827 invoked by uid 48); 27 Feb 2019 09:27:33 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89514] -g -fdebug-types-section -flto gives 'Dwarf Error: bad length' in gdb
Date: Wed, 27 Feb 2019 09:27: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.3.0
X-Bugzilla-Keywords:
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-89514-4-4WQDGmHqQD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89514-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89514-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: 2019-02/txt/msg03760.txt.bz2
Content-length: 241

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89514

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Created attachment 45831
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45831&action=edit
patch I am testing
>From gcc-bugs-return-635459-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 09:28:11 2019
Return-Path: <gcc-bugs-return-635459-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115175 invoked by alias); 27 Feb 2019 09:28: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 115096 invoked by uid 48); 27 Feb 2019 09:28:06 -0000
From: "tnfchris at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89434] [7/8 Regression] wrong code with -Og and __builtin_mul_overflow()
Date: Wed, 27 Feb 2019 09:28: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tnfchris 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89434-4-p5jNMqgZll@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89434-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89434-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: 2019-02/txt/msg03761.txt.bz2
Content-length: 183

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89434

--- Comment #10 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
Hi Jakub,

that does indeed fix the issue!

Thanks,
Tamar
>From gcc-bugs-return-635460-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 09:36:14 2019
Return-Path: <gcc-bugs-return-635460-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9649 invoked by alias); 27 Feb 2019 09:36: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 9602 invoked by uid 48); 27 Feb 2019 09:36:10 -0000
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Wed, 27 Feb 2019 09:36: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bernd.edlinger at hotmail dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created
Message-ID: <bug-89490-4-sAxlPPoBIa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03762.txt.bz2
Content-length: 556

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

Bernd Edlinger <bernd.edlinger at hotmail dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45830|0                           |1
        is obsolete|                            |

--- Comment #26 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
Created attachment 45832
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45832&action=edit
proposed patch

updated comment.
>From gcc-bugs-return-635461-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 09:37:45 2019
Return-Path: <gcc-bugs-return-635461-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12568 invoked by alias); 27 Feb 2019 09:37:44 -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 12472 invoked by uid 48); 27 Feb 2019 09:37:41 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89516] ICE in gfc_calculate_transfer_sizes at gcc/fortran/check.c:5506
Date: Wed, 27 Feb 2019 09:37: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-89516-4-m9lPjm6A1x@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89516-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89516-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: 2019-02/txt/msg03763.txt.bz2
Content-length: 992

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89516

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-27
                 CC|                            |anlauf at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Compiling the test with -Wsurprising gives an ICE from 4.8 up to trunk (9.0).

Note that my instrumented compiler gives

../../work/gcc/fortran/check.c:5506:24: runtime error: store to null pointer of
type 'size_t'

for 9.0, i.e., in new code, while gcc8 gives

../../work/gcc/fortran/decl.c:1814:37: runtime error: member access within null
pointer of type 'struct gfc_expr'
>From gcc-bugs-return-635462-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 09:43:52 2019
Return-Path: <gcc-bugs-return-635462-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23578 invoked by alias); 27 Feb 2019 09:43:52 -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 23470 invoked by uid 48); 27 Feb 2019 09:43:48 -0000
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Wed, 27 Feb 2019 09:43: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bernd.edlinger at hotmail dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89490-4-YH994jy5ag@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03764.txt.bz2
Content-length: 733

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

--- Comment #27 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
(In reply to rsandifo@gcc.gnu.org from comment #24)
> 
> I think we should also remove the test in default_use_anchors_for_symbol_p,
> since:
> 
>   sect = SYMBOL_REF_BLOCK (symbol)->sect;
> 
> will surely fault if the block is null.  Agree the patch looks good
> with those changes.
> 

The reason why there is no segfault here is the call site in expmed.c:

      || SYMBOL_REF_BLOCK (base) == NULL
      || !targetm.use_anchors_for_symbol_p (base))

But I am okay with adding a checking assert as suggested by Jakub.
(messages crossed mid-air, so I will update my patch a second time)
>From gcc-bugs-return-635463-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 09:49:12 2019
Return-Path: <gcc-bugs-return-635463-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44656 invoked by alias); 27 Feb 2019 09:48: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 44270 invoked by uid 55); 27 Feb 2019 09:48:40 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89361] [7/8 Regression] s390 broken without S390_USE_TARGET_ATTRIBUTE, likely since r257489
Date: Wed, 27 Feb 2019 09:48: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89361-4-c0s727pSY5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89361-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89361-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: 2019-02/txt/msg03765.txt.bz2
Content-length: 834

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89361

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Feb 27 09:48:04 2019
New Revision: 269244

URL: https://gcc.gnu.org/viewcvs?rev=269244&root=gcc&view=rev
Log:
        Backported from mainline
        2019-02-18  Jakub Jelinek  <jakub@redhat.com>

        PR target/89361
        * config/s390/s390.c (s390_indirect_branch_attrvalue,
        s390_indirect_branch_settings): Define unconditionally.
        (s390_set_current_function): Likewise, but guard the whole body except
        the s390_indirect_branch_settings call with
        #if S390_USE_TARGET_ATTRIBUTE.
        (TARGET_SET_CURRENT_FUNCTION): Redefine unconditionally.

Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/config/s390/s390.c
>From gcc-bugs-return-635464-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 09:54:28 2019
Return-Path: <gcc-bugs-return-635464-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52988 invoked by alias); 27 Feb 2019 09: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 52916 invoked by uid 48); 27 Feb 2019 09:54:24 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89361] [7 Regression] s390 broken without S390_USE_TARGET_ATTRIBUTE, likely since r257489
Date: Wed, 27 Feb 2019 09: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-89361-4-jh7N3qBn9M@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89361-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89361-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: 2019-02/txt/msg03766.txt.bz2
Content-length: 602

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89361

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[7/8 Regression] s390       |[7 Regression] s390 broken
                   |broken without              |without
                   |S390_USE_TARGET_ATTRIBUTE,  |S390_USE_TARGET_ATTRIBUTE,
                   |likely since r257489        |likely since r257489

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed for 8.4+ too.
>From gcc-bugs-return-635465-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 09:57:50 2019
Return-Path: <gcc-bugs-return-635465-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62488 invoked by alias); 27 Feb 2019 09: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 61964 invoked by uid 48); 27 Feb 2019 09:57:46 -0000
From: "ciro.santilli at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89482] arm aarch32 inline assembly w constraints generate s registers instead of d
Date: Wed, 27 Feb 2019 09: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.2.0
X-Bugzilla-Keywords: documentation
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ciro.santilli at gmail dot com
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-89482-4-tWvmw6n6gK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89482-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89482-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: 2019-02/txt/msg03767.txt.bz2
Content-length: 244

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89482

--- Comment #5 from Ciro Santilli <ciro.santilli at gmail dot com> ---
Ah awesome, thanks, %P works.

If anyone knows who is working on it / if there is a ticket to track it, let me
know.
>From gcc-bugs-return-635466-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 09:58:50 2019
Return-Path: <gcc-bugs-return-635466-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65737 invoked by alias); 27 Feb 2019 09:58: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 65429 invoked by uid 48); 27 Feb 2019 09:58:45 -0000
From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89482] arm aarch32 inline assembly w constraints generate s registers instead of d
Date: Wed, 27 Feb 2019 09: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.2.0
X-Bugzilla-Keywords: documentation
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ktkachov 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: cc
Message-ID: <bug-89482-4-AgCuyrdWZf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89482-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89482-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: 2019-02/txt/msg03768.txt.bz2
Content-length: 627

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89482

ktkachov at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gccbugzilla@limegreensocks.
                   |                            |com

--- Comment #6 from ktkachov at gcc dot gnu.org ---
(In reply to Ciro Santilli from comment #5)
> Ah awesome, thanks, %P works.
> 
> If anyone knows who is working on it / if there is a ticket to track it, let
> me know.

I think David (CC'ed) was interested in this?
>From gcc-bugs-return-635467-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 10:03:00 2019
Return-Path: <gcc-bugs-return-635467-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77634 invoked by alias); 27 Feb 2019 10:03: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 77491 invoked by uid 55); 27 Feb 2019 10:02:55 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89488] [9 Regression] ICE in merge_exception_specifiers, at cp/typeck2.c:2395
Date: Wed, 27 Feb 2019 10:03: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: error-recovery
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89488-4-W8TLQUTSRC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89488-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89488-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: 2019-02/txt/msg03769.txt.bz2
Content-length: 1164

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89488

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Wed Feb 27 10:02:23 2019
New Revision: 269245

URL: https://gcc.gnu.org/viewcvs?rev=269245&root=gcc&view=rev
Log:
/cp
2019-02-27  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/89488
        * method.c (process_subob_fn): When maybe_instantiate_noexcept
        returns false don't call merge_exception_specifiers.

/testsuite
2019-02-27  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/89488
        * g++.dg/cpp0x/nsdmi15.C: New.

/cp
2019-02-27  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/88987
        * parser.c (cp_parser_noexcept_specification_opt): Return NULL_TREE
        for a non-constant parsed expression.

/testsuite
2019-02-27  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/88987
        * g++.dg/cpp0x/pr88987.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/nsdmi15.C
    trunk/gcc/testsuite/g++.dg/cpp0x/pr88987.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/method.c
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635468-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 10:03:09 2019
Return-Path: <gcc-bugs-return-635468-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78493 invoked by alias); 27 Feb 2019 10:03: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 77504 invoked by uid 55); 27 Feb 2019 10:02:55 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88987] [9 Regression] ICE: unexpected expression '(bool)sm' of kind implicit_conv_expr
Date: Wed, 27 Feb 2019 10:03: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: error-recovery, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88987-4-JejAdaEVyr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88987-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88987-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: 2019-02/txt/msg03770.txt.bz2
Content-length: 1164

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88987

--- Comment #4 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Wed Feb 27 10:02:23 2019
New Revision: 269245

URL: https://gcc.gnu.org/viewcvs?rev=269245&root=gcc&view=rev
Log:
/cp
2019-02-27  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/89488
        * method.c (process_subob_fn): When maybe_instantiate_noexcept
        returns false don't call merge_exception_specifiers.

/testsuite
2019-02-27  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/89488
        * g++.dg/cpp0x/nsdmi15.C: New.

/cp
2019-02-27  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/88987
        * parser.c (cp_parser_noexcept_specification_opt): Return NULL_TREE
        for a non-constant parsed expression.

/testsuite
2019-02-27  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/88987
        * g++.dg/cpp0x/pr88987.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/nsdmi15.C
    trunk/gcc/testsuite/g++.dg/cpp0x/pr88987.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/method.c
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635469-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 10:17:22 2019
Return-Path: <gcc-bugs-return-635469-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126954 invoked by alias); 27 Feb 2019 10:17: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 126844 invoked by uid 48); 27 Feb 2019 10:17:18 -0000
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Wed, 27 Feb 2019 10:17: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bernd.edlinger at hotmail dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created
Message-ID: <bug-89490-4-ZQxl2BM6nk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03771.txt.bz2
Content-length: 566

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

Bernd Edlinger <bernd.edlinger at hotmail dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45832|0                           |1
        is obsolete|                            |

--- Comment #28 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
Created attachment 45833
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45833&action=edit
proposed patch

addressed review comments.
>From gcc-bugs-return-635470-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 10:22:31 2019
Return-Path: <gcc-bugs-return-635470-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5350 invoked by alias); 27 Feb 2019 10:22: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 5228 invoked by uid 48); 27 Feb 2019 10:22:27 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Wed, 27 Feb 2019 10:22: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89490-4-aH5UWohtvI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03772.txt.bz2
Content-length: 342

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

--- Comment #29 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Either the
   /* Don't use anchors for mergeable sections.  The linker might move
      the objects around.  */
comment should be dropped, or the two comments in
default_use_anchors_for_symbol_p should be merged into one.
>From gcc-bugs-return-635471-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 10:26:59 2019
Return-Path: <gcc-bugs-return-635471-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51296 invoked by alias); 27 Feb 2019 10:26: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 51228 invoked by uid 48); 27 Feb 2019 10:26:54 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89488] [9 Regression] ICE in merge_exception_specifiers, at cp/typeck2.c:2395
Date: Wed, 27 Feb 2019 10:26: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: error-recovery
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
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 assigned_to
Message-ID: <bug-89488-4-mGKZjq4yXF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89488-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89488-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: 2019-02/txt/msg03773.txt.bz2
Content-length: 525

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89488

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
           Assignee|paolo.carlini at oracle dot com    |unassigned at gcc dot gnu.org

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed.
>From gcc-bugs-return-635472-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 10:27:32 2019
Return-Path: <gcc-bugs-return-635472-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52666 invoked by alias); 27 Feb 2019 10:27:32 -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 52454 invoked by uid 48); 27 Feb 2019 10:27:28 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88987] [9 Regression] ICE: unexpected expression '(bool)sm' of kind implicit_conv_expr
Date: Wed, 27 Feb 2019 10: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: 9.0
X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
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 assigned_to
Message-ID: <bug-88987-4-Xny9jtPe79@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88987-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88987-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: 2019-02/txt/msg03774.txt.bz2
Content-length: 525

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88987

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
           Assignee|paolo.carlini at oracle dot com    |unassigned at gcc dot gnu.org

--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed.
>From gcc-bugs-return-635473-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 10:31:00 2019
Return-Path: <gcc-bugs-return-635473-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58612 invoked by alias); 27 Feb 2019 10:30: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 58463 invoked by uid 48); 27 Feb 2019 10:30:55 -0000
From: "edlinger at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Wed, 27 Feb 2019 10:30: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: edlinger at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89490-4-wwpZVrRBMC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03775.txt.bz2
Content-length: 559

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

--- Comment #30 from Bernd Edlinger <edlinger at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #29)
> Either the
>    /* Don't use anchors for mergeable sections.  The linker might move
>       the objects around.  */
> comment should be dropped, or the two comments in
> default_use_anchors_for_symbol_p should be merged into one.

I'd drop that comment, since "linker might move objects around" is
in the big comment now.

Is the other assert clear enough or does it also need a comment?
>From gcc-bugs-return-635474-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 10:41:41 2019
Return-Path: <gcc-bugs-return-635474-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95243 invoked by alias); 27 Feb 2019 10:41: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 95189 invoked by uid 48); 27 Feb 2019 10:41:35 -0000
From: "tnfchris at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89517] New: [8/9 Regression] AArch64's configure option --with-arch can silently lead to incorrectly configured compiler
Date: Wed, 27 Feb 2019 10:41: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tnfchris 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-89517-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: 2019-02/txt/msg03776.txt.bz2
Content-length: 1017

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89517

            Bug ID: 89517
           Summary: [8/9 Regression] AArch64's configure option
                    --with-arch can silently lead to incorrectly
                    configured compiler
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tnfchris at gcc dot gnu.org
  Target Milestone: ---

The options definition file for aarch64 is parsed by a series of regular
expressions and sed calls in config.gcc based on a couple of hard rules.

One of them is that all the options should be on one line.  From GCC 8 the
lines
were broken up and wrapped to 80 characters but this lead the grep statements
to only select the first line from the options.

This leads to the compiler silently enabling only a subset of features or none
at all when you use --with-arch during configure.
>From gcc-bugs-return-635475-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 10:49:28 2019
Return-Path: <gcc-bugs-return-635475-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126013 invoked by alias); 27 Feb 2019 10:49: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 125881 invoked by uid 48); 27 Feb 2019 10:49:23 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Wed, 27 Feb 2019 10:49: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: bernd.edlinger at hotmail dot de
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89490-4-ZbK1W1Nuwc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03777.txt.bz2
Content-length: 653

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

--- Comment #31 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Bernd Edlinger from comment #30)
> (In reply to Jakub Jelinek from comment #29)
> > Either the
> >    /* Don't use anchors for mergeable sections.  The linker might move
> >       the objects around.  */
> > comment should be dropped, or the two comments in
> > default_use_anchors_for_symbol_p should be merged into one.
> 
> I'd drop that comment, since "linker might move objects around" is
> in the big comment now.

Ok.

> Is the other assert clear enough or does it also need a comment?

I think it is ok as is.
>From gcc-bugs-return-635476-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 10:57:26 2019
Return-Path: <gcc-bugs-return-635476-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25259 invoked by alias); 27 Feb 2019 10:57:26 -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 25182 invoked by uid 48); 27 Feb 2019 10:57:22 -0000
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Wed, 27 Feb 2019 10:57: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bernd.edlinger at hotmail dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: bernd.edlinger at hotmail dot de
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created
Message-ID: <bug-89490-4-3tniZgAgsU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03778.txt.bz2
Content-length: 666

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

Bernd Edlinger <bernd.edlinger at hotmail dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45833|0                           |1
        is obsolete|                            |

--- Comment #32 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
Created attachment 45834
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45834&action=edit
proposed patch

addressed review comments.

I'll bootstrap/regtest that once more and send it to the ML in the afternoon.

Thanks everybody!
>From gcc-bugs-return-635477-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 11:26:27 2019
Return-Path: <gcc-bugs-return-635477-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101101 invoked by alias); 27 Feb 2019 11:26: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 100997 invoked by uid 55); 27 Feb 2019 11:26:17 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89466] [7/8/9 Regression] Accessing the Internet while boostrapping
Date: Wed, 27 Feb 2019 11:26:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.3.1
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89466-4-pVI7dDAxYg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89466-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89466-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: 2019-02/txt/msg03779.txt.bz2
Content-length: 2664

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89466

--- Comment #17 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Wed Feb 27 11:25:44 2019
New Revision: 269249

URL: https://gcc.gnu.org/viewcvs?rev=269249&root=gcc&view=rev
Log:
PR libstdc++/89466 avoid slow xsltproc command in configure

Certain broken versions of xsltproc ignore the --nonet option and will
attempt to fetch the docbook stylesheet from the WWW when it isn't in
the local XML catalog.

This patch checks for the local stylesheet directory first, and doesn't
use xsltproc if no local stylesheets are found. Checking for the local
directory is done using xmlcatalog if available, only checking the
hardcoded list of directories if xmlcatalog fails. The right directory
for Suse is added to the hardcoded list.

This should avoid doing an xsltproc check that would need to download
the stylesheet, so no network connection is made even if a broken
xsltproc is present.

        PR libstdc++/89466
        * acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Reorder check for local
        stylesheet directories before check for xsltproc. Try to use
        xmlcatalog to find local stylesheet directory before trying hardcoded
        paths. Add path used by suse to hardcoded paths. Adjust xsltproc
        check to look for the same stylesheet as doc/Makefile.am uses. Don't
        use xsltproc if xmlcatalog fails to find a local stylesheet.
        * configure.ac: Check for xmlcatalog.
        * Makefile.in: Regenerate.
        * configure: Likewise.
        * doc/Makefile.in: Likewise.
        * include/Makefile.in: Likewise.
        * libsupc++/Makefile.in: Likewise.
        * po/Makefile.in: Likewise.
        * python/Makefile.in: Likewise.
        * src/Makefile.in: Likewise.
        * src/c++11/Makefile.in: Likewise.
        * src/c++17/Makefile.in: Likewise.
        * src/c++98/Makefile.in: Likewise.
        * src/filesystem/Makefile.in: Likewise.
        * testsuite/Makefile.in: Likewise.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/Makefile.in
    trunk/libstdc++-v3/acinclude.m4
    trunk/libstdc++-v3/configure
    trunk/libstdc++-v3/configure.ac
    trunk/libstdc++-v3/doc/Makefile.in
    trunk/libstdc++-v3/include/Makefile.in
    trunk/libstdc++-v3/libsupc++/Makefile.in
    trunk/libstdc++-v3/po/Makefile.in
    trunk/libstdc++-v3/python/Makefile.in
    trunk/libstdc++-v3/src/Makefile.in
    trunk/libstdc++-v3/src/c++11/Makefile.in
    trunk/libstdc++-v3/src/c++17/Makefile.in
    trunk/libstdc++-v3/src/c++98/Makefile.in
    trunk/libstdc++-v3/src/filesystem/Makefile.in
    trunk/libstdc++-v3/testsuite/Makefile.in
>From gcc-bugs-return-635478-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 11:37:57 2019
Return-Path: <gcc-bugs-return-635478-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 725 invoked by alias); 27 Feb 2019 11:37:56 -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 525 invoked by uid 48); 27 Feb 2019 11:37:52 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Wed, 27 Feb 2019 11: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: bernd.edlinger at hotmail dot de
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89490-4-VjPBcEL85f@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03780.txt.bz2
Content-length: 201

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

--- Comment #33 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I've started bootstrap/regtest of this on powerpc64{,le}-linux (on
CompileFarm).
>From gcc-bugs-return-635479-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 11:41:13 2019
Return-Path: <gcc-bugs-return-635479-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71788 invoked by alias); 27 Feb 2019 11:41: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 71764 invoked by uid 48); 27 Feb 2019 11:41:09 -0000
From: "arnaud02 at users dot sourceforge.net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89518] New: missed optimisation for array address calculations
Date: Wed, 27 Feb 2019 11:41: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: 8.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: arnaud02 at users dot sourceforge.net
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-89518-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: 2019-02/txt/msg03781.txt.bz2
Content-length: 1083

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89518

            Bug ID: 89518
           Summary: missed optimisation for array address calculations
           Product: gcc
           Version: 8.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: arnaud02 at users dot sourceforge.net
  Target Milestone: ---

Considering:

int f(int index, int stride) {
    const int i1 = index / stride;
    const int i2 = index % stride;
    const int index2 = i1*stride+i2;
    return index2; // expect: index2 = index
}

gcc 8.3 with "-O3" on x84_64 emits:
f(int, int):
        mov     eax, edi
        cdq
        idiv    esi
        imul    eax, esi
        add     eax, edx
        ret

By contrast, clang 7 with "-O3" emits
f(int, int):
        mov     eax, edi
        ret

MSVC 2017 with "/O2" emits:
int f(int,int)
        mov     eax, ecx
        ret     0

Is there a way to persuade gcc to simplify this expression at compile time?
>From gcc-bugs-return-635480-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 11:45:04 2019
Return-Path: <gcc-bugs-return-635480-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89628 invoked by alias); 27 Feb 2019 11:45: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 89495 invoked by uid 48); 27 Feb 2019 11:44:58 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89503] Checking ICE in 'gcc.dg/warn-strlen-no-nul.c'
Date: Wed, 27 Feb 2019 11:45: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: 9.0
X-Bugzilla-Keywords: ice-checking, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: bug_status cf_reconfirmed_on assigned_to everconfirmed attachments.created
Message-ID: <bug-89503-4-8USy6QnyVX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89503-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89503-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: 2019-02/txt/msg03782.txt.bz2
Content-length: 730

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89503

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-27
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45835
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45835&action=edit
gcc9-pr89503.patch

I think we shouldn't checksum the TREE_NO_WARNING bit.
>From gcc-bugs-return-635482-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 11:46:15 2019
Return-Path: <gcc-bugs-return-635482-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92028 invoked by alias); 27 Feb 2019 11:46: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 91856 invoked by uid 48); 27 Feb 2019 11:46:11 -0000
From: "m.marko08154711 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89361] [7 Regression] s390 broken without S390_USE_TARGET_ATTRIBUTE, likely since r257489
Date: Wed, 27 Feb 2019 11:46: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: m.marko08154711 at gmail dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89361-4-EbfedXy3GN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89361-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89361-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: 2019-02/txt/msg03784.txt.bz2
Content-length: 463

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89361

Martin Marko <m.marko08154711 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m.marko08154711 at gmail dot com

--- Comment #6 from Martin Marko <m.marko08154711 at gmail dot com> ---
*** Bug 89203 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-635481-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 11:46:15 2019
Return-Path: <gcc-bugs-return-635481-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92023 invoked by alias); 27 Feb 2019 11:46: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 91815 invoked by uid 48); 27 Feb 2019 11:46:10 -0000
From: "m.marko08154711 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89203] Linux S/390: Unable to build GCC 8.2.0 on Red Hat Enterprise Linux Server release 6.9
Date: Wed, 27 Feb 2019 11:46: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.3.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: m.marko08154711 at gmail dot com
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89203-4-oL00LesY7D@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89203-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89203-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: 2019-02/txt/msg03783.txt.bz2
Content-length: 801

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89203

Martin Marko <m.marko08154711 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #4 from Martin Marko <m.marko08154711 at gmail dot com> ---
Awesome!

This patch was indeed solving this issue of building.

Just an additional note: we do not use the DTS version as we apply some custom
patches as well.

I changing the issue state to resolved/duplicate in favor to #89361, which is
more specific.

Thank you so much for your help on this one.

*** This bug has been marked as a duplicate of bug 89361 ***
>From gcc-bugs-return-635483-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 11:54:49 2019
Return-Path: <gcc-bugs-return-635483-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105870 invoked by alias); 27 Feb 2019 11:54: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 105793 invoked by uid 48); 27 Feb 2019 11:54:44 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89518] missed optimisation for array address calculations
Date: Wed, 27 Feb 2019 11: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: 8.3.0
X-Bugzilla-Keywords: 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: keywords bug_status cf_reconfirmed_on assigned_to everconfirmed
Message-ID: <bug-89518-4-S64UnDCaiC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89518-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89518-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: 2019-02/txt/msg03785.txt.bz2
Content-length: 1463

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89518

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-27
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
We do not have a (a / b) * b + (a % b) simplification rule.  The following adds
one:

Index: gcc/match.pd
===================================================================
--- gcc/match.pd        (revision 269242)
+++ gcc/match.pd        (working copy)
@@ -2729,6 +2729,13 @@ (define_operator_list COND_TERNARY
   (mult (convert1? (exact_div @0 @@1)) (convert2? @1))
   (convert @0))

+/* Simplify (A / B) * B + (A  % B) -> A.  */
+(for div (trunc_div ceil_div floor_div round_div)
+     mod (trunc_mod ceil_mod floor_mod round_mod)
+  (simplify
+   (plus:c (mult:c (div @0 @1) @1) (mod @0 @1))
+   @0))
+
 /* ((X /[ex] A) +- B) * A  -->  X +- A * B.  */
 (for op (plus minus)
  (simplify
>From gcc-bugs-return-635484-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 11:57:13 2019
Return-Path: <gcc-bugs-return-635484-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111328 invoked by alias); 27 Feb 2019 11:57: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 111209 invoked by uid 48); 27 Feb 2019 11:57:09 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89517] [8/9 Regression] AArch64's configure option --with-arch can silently lead to incorrectly configured compiler
Date: Wed, 27 Feb 2019 11: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: 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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_gcctarget priority target_milestone
Message-ID: <bug-89517-4-XcK6klTSfd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89517-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89517-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: 2019-02/txt/msg03786.txt.bz2
Content-length: 402

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89517

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |aarch64
           Priority|P3                          |P2
   Target Milestone|---                         |8.4
>From gcc-bugs-return-635485-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 11:59:46 2019
Return-Path: <gcc-bugs-return-635485-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116091 invoked by alias); 27 Feb 2019 11:59: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 115913 invoked by uid 55); 27 Feb 2019 11:59:41 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89514] -g -fdebug-types-section -flto gives 'Dwarf Error: bad length' in gdb
Date: Wed, 27 Feb 2019 11:59: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.3.0
X-Bugzilla-Keywords:
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:
Message-ID: <bug-89514-4-pVfP1wwBnS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89514-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89514-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: 2019-02/txt/msg03787.txt.bz2
Content-length: 569

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89514

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Feb 27 11:59:07 2019
New Revision: 269250

URL: https://gcc.gnu.org/viewcvs?rev=269250&root=gcc&view=rev
Log:
2019-02-27  Richard Biener  <rguenther@suse.de>

        PR debug/89514
        * dwarf2out.c (size_of_die): Key on AT_ref (a)->comdat_type_p
        rather than on use_debug_types, doing what output_die does.
        (value_format): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c
>From gcc-bugs-return-635486-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 12:02:42 2019
Return-Path: <gcc-bugs-return-635486-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122584 invoked by alias); 27 Feb 2019 12:02:41 -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 122432 invoked by uid 48); 27 Feb 2019 12:02:36 -0000
From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/87525] [7/8/9 Regression] infinite loop generated for fread() if enabling -flto and -D_FORTIFY_SOURCE=2
Date: Wed, 27 Feb 2019 12:02: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: 7.3.1
X-Bugzilla-Keywords: lto, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jamborm at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87525-4-hJQePBLuOb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87525-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87525-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: 2019-02/txt/msg03788.txt.bz2
Content-length: 328

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87525

--- Comment #21 from Martin Jambor <jamborm at gcc dot gnu.org> ---
After a bit more thinking, I found a better spot where to treat extern inline
functions differently, I have proposed a patch in the mailing list:

https://gcc.gnu.org/ml/gcc-patches/2019-02/msg02049.html
>From gcc-bugs-return-635487-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 12:04:57 2019
Return-Path: <gcc-bugs-return-635487-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8224 invoked by alias); 27 Feb 2019 12:04:57 -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 8036 invoked by uid 48); 27 Feb 2019 12:04:53 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89514] -g -fdebug-types-section -flto gives 'Dwarf Error: bad length' in gdb
Date: Wed, 27 Feb 2019 12:04: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.3.0
X-Bugzilla-Keywords:
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: cf_known_to_work
Message-ID: <bug-89514-4-Lbes9Tc8zP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89514-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89514-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: 2019-02/txt/msg03789.txt.bz2
Content-length: 457

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89514

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |9.0

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed on trunk sofar, will backport together with the -fdebug-types-section fix
for PR88878.
>From gcc-bugs-return-635488-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 12:06:10 2019
Return-Path: <gcc-bugs-return-635488-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10850 invoked by alias); 27 Feb 2019 12:06: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 10659 invoked by uid 48); 27 Feb 2019 12:06:05 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89497] [8/9 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled
Date: Wed, 27 Feb 2019 12:06: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.3.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89497-4-QJpYaTTihp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89497-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89497-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: 2019-02/txt/msg03790.txt.bz2
Content-length: 4021

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497

--- Comment #15 from Martin Liška <marxin at gcc dot gnu.org> ---
There's a more readable test-case:

$ echo =1= && cat 1.i && echo =2= && cat 2.i && echo =3= && cat 3.i && echo =4=
&& cat 4.i
=1=
int guard;
int cupsArraySave() {
  if (guard)
    return 0;
  else
    return 1;
}
=2=
int *get_null() { return 0; }
=3=
unsigned long _cups_strlcpy(char *, char *, long);

typedef struct {
  char array[81];
} container;

container *get();
container *get_null();

container c;

void d() {
  container *a = get();
  for (; a; a = get_null()) {
    cupsArraySave();
    _cups_strlcpy(a->array, c.array, sizeof(c.array));
  }
}
=4=
unsigned long _cups_strlcpy(char *dest, char *src, long len) {
  unsigned long len2 = __builtin_strlen(src);
  if (len2 > len)
    len2 = len;
  __builtin_memmove(dest, src, len2);
}

We ICE in tree-vrp where:

SSA form after inserting ASSERT_EXPRs
d ()
{
  int D.4365;
  long unsigned int len2;
  int * D.4357;
  struct container * a;
  char[81] * _1;
  int _18;
  int _19;

  <bb 2> [local count: 118111600]:
  a_6 = get ();
  goto <bb 9>; [100.00%]

  <bb 3> [local count: 955630223]:
  a_10 = ASSERT_EXPR <a_2, a_2 != 0B>;
  _18 = guard;
  if (_18 != 0)
    goto <bb 5>; [50.00%]
  else
    goto <bb 4>; [50.00%]

  <bb 4> [local count: 477815111]:

  <bb 5> [local count: 955630223]:
  # _19 = PHI <0(3), 1(4)>
  _1 = &a_10->array;
  len2_15 = __builtin_strlen (&c.array);
  if (len2_15 > 81)
    goto <bb 6>; [50.00%]
  else
    goto <bb 11>; [50.00%]

  <bb 11> [local count: 477815112]:
  len2_23 = ASSERT_EXPR <len2_15, len2_15 <= 81>;
  goto <bb 7>; [100.00%]

  <bb 6> [local count: 477815111]:
  len2_14 = ASSERT_EXPR <len2_15, len2_15 > 81>;

  <bb 7> [local count: 955630223]:
  # len2_17 = PHI <81(6), len2_23(11)>
  __builtin_memmove (_1, &c.array, len2_17);

  <bb 8> [local count: 955630223]:
  # a_20 = PHI <0B(7)>
  goto <bb 10>; [100.00%]

  <bb 9> [local count: 118111601]:
  # a_2 = PHI <a_6(2)>
  if (a_2 != 0B)
    goto <bb 3>; [97.00%]
  else
    goto <bb 10>; [3.00%]

  <bb 10> [local count: 118111601]:
  return;

}

...
Visiting statement:
_1 = &a_2->array;
LKUP STMT len2_15 = __builtin_strlen (&c.array) with .MEM_11
<<<< COPY _19 = 0
  Registering jump thread: (3, 5) incoming edge;  (5, 11) normal;
<<<< STMT 0 = a_2 eq_expr 0B
<<<< STMT 1 = a_2 ne_expr 0B
<<<< COPY a_10 = a_2
  Threaded jump 4 --> 5 to 12
  Threaded jump 3 --> 5 to 12
Removing basic block 5
;; basic block 5, loop depth 0
;;  pred:      
# _19 = PHI <>
_1 = &a_2->array;
len2_15 = __builtin_strlen (&c.array);
if (0 != 0)
  goto <bb 6>; [100.00%]
else
  goto <bb 11>; [0.00%]
;;  succ:       6
;;              11
...

after the BB removal we end up with:

(gdb) p debug_function(cfun->decl, 0)
d ()
{
  int D.4365;
  long unsigned int len2;
  int * D.4357;
  struct container * a;
  char[81] * _1;
  int _18;
  int _19;
  int _24;
  char[81] * _25;

  <bb 2> [local count: 118111601]:
  a_6 = get ();
  if (a_6 != 0B)
    goto <bb 3>; [97.00%]
  else
    goto <bb 10>; [3.00%]

  <bb 3> [local count: 955630223]:
  _18 = guard;
  if (_18 != 0)
    goto <bb 12>; [50.00%]
  else
    goto <bb 4>; [50.00%]

  <bb 4> [local count: 477815111]:
  goto <bb 12>; [100.00%]

  <bb 11> [local count: 477815112]:

  <bb 7> [local count: 955630223]:
  # len2_17 = PHI <len2_15(12)>
  __builtin_memmove (_1, &c.array, len2_17);

  <bb 8> [local count: 955630223]:

  <bb 10> [local count: 118111601]:
  return;

  <bb 12> [local count: 477815112]:
  # _24 = PHI <1(4), 0(3)>
  _25 = &a_6->array;
  len2_26 = __builtin_strlen (&c.array);
  goto <bb 7>; [100.00%]

}

Note that _1 has missing definition.
And we segfault in cleanup_tree_cfg_bb where we're trying to fold
__builtin_memmove (_1, &c.array, len2_17);

Am I correct that the bb removal should propagate _1 into the
__builtin_memmove?
Maybe a broken DEF-USE chain?
>From gcc-bugs-return-635489-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 12:08:58 2019
Return-Path: <gcc-bugs-return-635489-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15238 invoked by alias); 27 Feb 2019 12:08: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 15107 invoked by uid 48); 27 Feb 2019 12:08:54 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89504] Checking ICE in 'gcc.dg/rtl/x86_64/pro_and_epilogue.c'
Date: Wed, 27 Feb 2019 12:08: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-checking
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89504-4-r7VGCiHfP7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89504-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89504-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: 2019-02/txt/msg03791.txt.bz2
Content-length: 633

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89504

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmalcolm at gcc dot gnu.org,
                   |                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Perhaps run_rtl_passes or something similar needs to avoid DF verification when
DF has not been constructed yet and starting with a pass that needs it, or
something similar?
>From gcc-bugs-return-635490-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 12:36:24 2019
Return-Path: <gcc-bugs-return-635490-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4837 invoked by alias); 27 Feb 2019 12:36: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 4667 invoked by uid 48); 27 Feb 2019 12:36:19 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89466] [7/8 Regression] Accessing the Internet while boostrapping
Date: Wed, 27 Feb 2019 12:36:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.3.1
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89466-4-ZgQBcIUDES@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89466-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89466-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: 2019-02/txt/msg03792.txt.bz2
Content-length: 248

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89466

--- Comment #18 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Could you check r269249 on trunk? It's a bit different to the patch I suggested
earlier, but should still solve the problem.
>From gcc-bugs-return-635491-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 12:42:11 2019
Return-Path: <gcc-bugs-return-635491-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31047 invoked by alias); 27 Feb 2019 12:42: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 30530 invoked by uid 48); 27 Feb 2019 12:42:04 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89497] [8/9 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled
Date: Wed, 27 Feb 2019 12:42: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.3.0
X-Bugzilla-Keywords: ice-on-valid-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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: assigned_to
Message-ID: <bug-89497-4-ODMqq8BMRL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89497-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89497-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: 2019-02/txt/msg03793.txt.bz2
Content-length: 1006

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|marxin at gcc dot gnu.org          |rguenth at gcc dot gnu.org

--- Comment #16 from Richard Biener <rguenth at gcc dot gnu.org> ---
So the issue is that CFG cleanup has to run before update_ssa and update_ssa
will have the job to replace _1 with _25.  But then BB merging done as part
of later cleanup ends up folding stmts with out-of-date SSA form.  We have

  /* Start by iterating over all basic blocks in PRE order looking for
     edge removal opportunities.  Do this first because incoming SSA form
     may be invalid and we want to avoid performing SSA related tasks such
     as propgating out a PHI node during BB merging in that state.  */
  retval |= cleanup_control_flow_pre ();

but regular SSA update is still not done here.
>From gcc-bugs-return-635492-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 12:48:41 2019
Return-Path: <gcc-bugs-return-635492-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123125 invoked by alias); 27 Feb 2019 12:48:32 -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 122367 invoked by uid 48); 27 Feb 2019 12:48:03 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89497] [8/9 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled
Date: Wed, 27 Feb 2019 12:48: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.3.0
X-Bugzilla-Keywords: ice-on-valid-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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89497-4-SYVgnmqn82@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89497-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89497-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: 2019-02/txt/msg03794.txt.bz2
Content-length: 927

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497

--- Comment #17 from Richard Biener <rguenth at gcc dot gnu.org> ---
Created attachment 45836
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45836&action=edit
patch I am testing

So we can now properly "order" CFG cleanup and SSA update by interleaving them.

There's the slight chance that we run update_ssa twice, but the comment looks
outdated and I wonder what would trigger it:

      /* When cleanup_tree_cfg merges consecutive blocks, it may
         perform some simplistic propagation when removing single
         valued PHI nodes.  This propagation may, in turn, cause the
         SSA form to become out-of-date (see PR 22037).  So, even
         if the parent pass had not scheduled an SSA update, we may
         still need to do one.  */
      if (!(flags & TODO_update_ssa_any) && need_ssa_update_p (cfun))
        flags |= TODO_update_ssa;
>From gcc-bugs-return-635493-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 12:48:53 2019
Return-Path: <gcc-bugs-return-635493-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124207 invoked by alias); 27 Feb 2019 12:48: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 123299 invoked by uid 48); 27 Feb 2019 12:48:40 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/53481] Allow for gfortran (f951) specs option
Date: Wed, 27 Feb 2019 12:48:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WONTFIX
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-53481-4-OyQ1i0C3zh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-53481-4@http.gcc.gnu.org/bugzilla/>
References: <bug-53481-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: 2019-02/txt/msg03795.txt.bz2
Content-length: 575

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53481

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> No activity for more than three years. Is anybody interested or
> should this PR closed as WONTFIX?

Three years later closing as WONTFIX.
>From gcc-bugs-return-635494-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 12:51:50 2019
Return-Path: <gcc-bugs-return-635494-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130036 invoked by alias); 27 Feb 2019 12: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 129919 invoked by uid 48); 27 Feb 2019 12:51:46 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89518] missed optimisation for array address calculations
Date: Wed, 27 Feb 2019 12:51: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.3.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: glisse 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:
Message-ID: <bug-89518-4-jaqm4Ie8Fz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89518-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89518-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: 2019-02/txt/msg03796.txt.bz2
Content-length: 328

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89518

--- Comment #2 from Marc Glisse <glisse at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #1)
> We do not have a (a / b) * b + (a % b) simplification rule.

Indeed. That's surprising since we do have for trunc_div
/* X - (X / Y) * Y is the same as X % Y.  */
>From gcc-bugs-return-635495-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 12:52:20 2019
Return-Path: <gcc-bugs-return-635495-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1304 invoked by alias); 27 Feb 2019 12:52:19 -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 1259 invoked by uid 55); 27 Feb 2019 12:52:14 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/88878] .debug_pubnames/types empty with -flto
Date: Wed, 27 Feb 2019 12:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: lto
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:
Message-ID: <bug-88878-4-W7RzXenzVi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88878-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88878-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: 2019-02/txt/msg03797.txt.bz2
Content-length: 673

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88878

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Feb 27 12:51:43 2019
New Revision: 269251

URL: https://gcc.gnu.org/viewcvs?rev=269251&root=gcc&view=rev
Log:
2019-02-27  Richard Biener  <rguenther@suse.de>

        PR debug/88878
        * dwarf2out.c (output_comdat_type_unit): Add early_lto_debug
        parameter, prefix section name with .gnu.debuglto_ if true.
        (dwarf2out_finish): Pass false to output_comdat_type_unit.
        (dwarf2out_early_finish): Pass true to output_comdat_type_unit.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c
>From gcc-bugs-return-635496-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 13:27:26 2019
Return-Path: <gcc-bugs-return-635496-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53552 invoked by alias); 27 Feb 2019 13:27:26 -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 53472 invoked by uid 48); 27 Feb 2019 13:27:22 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89497] [8/9 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled
Date: Wed, 27 Feb 2019 13:27: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.3.0
X-Bugzilla-Keywords: ice-on-valid-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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89497-4-X3NNyx7JJQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89497-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89497-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: 2019-02/txt/msg03798.txt.bz2
Content-length: 966

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497

--- Comment #18 from Richard Biener <rguenth at gcc dot gnu.org> ---
GIMPLE testcase that doesn't fail, possibly because of NOPs or because of
missing range info or whatever...

typedef struct {
  char array[81];
} container;
container *get();
int guard = 0;
container c;

void __GIMPLE (startwith("vrp1"))
d ()
{
  long unsigned int len2;
  container * a;
  char * _1;
  int _18;
  int i_19;

  bb_2:
  a_6 = get ();
  if (a_6 != _Literal (struct container *) 0)
    goto bb_3;
  else
    goto bb_8;

  bb_3:
  _18 = guard;
  if (_18 != 0)
    goto bb_5;
  else
    goto bb_4;

  bb_4:
  ;

  bb_5:
  i_19 = __PHI (bb_3: 0, bb_4: 1);
  _1 = &a_6->array[0];
  len2_15 = __builtin_strlen (&c.array);
  if (len2_15 > 81ul)
    goto bb_6;
  else
    goto bb_7;

  bb_6:
  ;

  bb_7:
  len2_17 = __PHI (bb_5: len2_15, bb_6: 81ul);
  __builtin_memmove (_1, &c.array, len2_17);

  bb_8:
  return;

}
>From gcc-bugs-return-635497-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 13:28:18 2019
Return-Path: <gcc-bugs-return-635497-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55427 invoked by alias); 27 Feb 2019 13:28:18 -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 55229 invoked by uid 48); 27 Feb 2019 13:28:10 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/88878] .debug_pubnames/types empty with -flto
Date: Wed, 27 Feb 2019 13:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: lto
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:
Message-ID: <bug-88878-4-S8J8sSvR8k@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88878-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88878-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: 2019-02/txt/msg03799.txt.bz2
Content-length: 166

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88878

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
-fdebug-types-section now work as expected.
>From gcc-bugs-return-635498-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 13:46:33 2019
Return-Path: <gcc-bugs-return-635498-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54918 invoked by alias); 27 Feb 2019 13:46:32 -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 51153 invoked by uid 48); 27 Feb 2019 13:46:28 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89513] constexpr functions with function try block shouldn't be accepted at least with -pedantic in -std=c++{11,14,17} modes
Date: Wed, 27 Feb 2019 13:46: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: accepts-invalid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: bug_status assigned_to attachments.created
Message-ID: <bug-89513-4-5vRl2qM9PZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89513-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89513-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: 2019-02/txt/msg03800.txt.bz2
Content-length: 740

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89513

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45837
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45837&action=edit
gcc9-pr89513.patch

Untested fix.  Unless we want to go ahead and implement P1002R1 right now, of
course.  And if we do, the question is if we should just accept it everywhere
with a pedwarn.
>From gcc-bugs-return-635499-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 13:59:43 2019
Return-Path: <gcc-bugs-return-635499-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105350 invoked by alias); 27 Feb 2019 13:59:41 -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 105240 invoked by uid 48); 27 Feb 2019 13:59:38 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Wed, 27 Feb 2019 13:59: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: bernd.edlinger at hotmail dot de
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89490-4-iNOllqKayT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03801.txt.bz2
Content-length: 358

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

--- Comment #34 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #33)
> I've started bootstrap/regtest of this on powerpc64{,le}-linux (on
> CompileFarm).

Passed bootstrap/regtest on powerpc64le-linux, on powerpc64-linux passed
bootstrap, regtest still ongoing.
>From gcc-bugs-return-635500-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 14:04:55 2019
Return-Path: <gcc-bugs-return-635500-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10850 invoked by alias); 27 Feb 2019 14:04: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 10821 invoked by uid 55); 27 Feb 2019 14:04:50 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/88878] .debug_pubnames/types empty with -flto
Date: Wed, 27 Feb 2019 14:04:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: lto
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:
Message-ID: <bug-88878-4-5Y36AWErXT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88878-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88878-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: 2019-02/txt/msg03802.txt.bz2
Content-length: 461

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88878

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Feb 27 14:04:18 2019
New Revision: 269253

URL: https://gcc.gnu.org/viewcvs?rev=269253&root=gcc&view=rev
Log:
2019-02-27  Richard Biener  <rguenther@suse.de>

        PR debug/88878
        * dwarf2out.c (use_debug_types): Disable when in_lto_p.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c
>From gcc-bugs-return-635501-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 14:10:54 2019
Return-Path: <gcc-bugs-return-635501-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19026 invoked by alias); 27 Feb 2019 14:10: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 18963 invoked by uid 48); 27 Feb 2019 14:10:49 -0000
From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/88235] [7/8/9 Regression] ICE: verify_cgraph_node failed (error: edge points to wrong declaration)
Date: Wed, 27 Feb 2019 14:10: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: 9.0
X-Bugzilla-Keywords: ice-checking, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jamborm at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88235-4-UukKpFSHPk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88235-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88235-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: 2019-02/txt/msg03803.txt.bz2
Content-length: 1309

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88235

--- Comment #2 from Martin Jambor <jamborm at gcc dot gnu.org> ---
I have looked at this a bit more and the problem is that thunk
inlining expands a thunk which then makes the clone_of_p() part of
cgraph_edge::verify_corresponds_to_fndecl() fail.

I must say that I found the inlining decision that does the expansion
a bit unexpected:

  #2  0x0000000001a53ace in inline_small_functions () at
/home/mjambor/gcc/icln/src/gcc/ipa-inline.c:2073
  2073              inline_call (edge, true, &new_indirect_edges,
&overall_size, true);
  (gdb) p edge
  $26 = <cgraph_edge _ZThn8_N8ItemView5eventEv/14 -> *.LTHUNK0/13>

where _ZThn8_N8ItemView5eventEv/14 is a real thunk and *.LTHUNK0/13 is
an alias to the real method.  The thing is that the thunk has no
(known) callers:

  (gdb) p edge->caller->callers
  $29 = <cgraph_edge NULL>

Is that intentional?  Do we want to inline functions into their thunks
even that thunk is not itself inlined into anything?

Also, the code in clone_of_p assumes that each thunk has one callee,
which seems to be in start contrast with the comment and code in
inline_call():

  /* When thunk is instrumented we may have multiple callees.  */
  for (e = to->callees; e && e->callee != target; e = e->next_callee)
    ;
>From gcc-bugs-return-635502-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 14:43:25 2019
Return-Path: <gcc-bugs-return-635502-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106273 invoked by alias); 27 Feb 2019 14:43: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 106174 invoked by uid 55); 27 Feb 2019 14:43:19 -0000
From: "dave.anglin at bell dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89461] FAIL: experimental/net/timer/waitable/cons.cc
Date: Wed, 27 Feb 2019 14:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dave.anglin at bell dot net
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-89461-4-v4TA9NQ0BF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89461-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89461-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: 2019-02/txt/msg03804.txt.bz2
Content-length: 1152

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89461

--- Comment #6 from dave.anglin at bell dot net ---
On 2019-02-27 4:19 a.m., fw at gcc dot gnu.org wrote:
> Is it really true that 64-bit PA-RISC lacks 64-bit atomics?  That's … awkward.
PA-RISC only has two atomic instructions (ldcw and ldcd).  These are
insufficient to implement
a full set of 32-bit atomics without kernel support.

In the 32-bit runtime, we can't in general use the ldd and std instructions as
the upper 32 register
bits are not guaranteed to be preserved during context switches.  So, one has
to use 64-bit floating
point loads and stores to ensure the operation operates atomically on memory. 
This makes 64-bit
atomics really ugly with a 32-bit kernel.

We have implemented a kernel helper to implement atomic support on linux. 
There is no documented
kernel helper on hpux although I believe HP implemented pthread support using
light weight system
calls.  Using a kernel helper, tends to make atomics very slow when there is
contention.

I tend to think using 64-bit atomics on 32-bit architectures is not a good
idea.

Dave
>From gcc-bugs-return-635503-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 14:51:15 2019
Return-Path: <gcc-bugs-return-635503-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94991 invoked by alias); 27 Feb 2019 14:51: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 92928 invoked by uid 55); 27 Feb 2019 14:51:10 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/70341] [7/8/9 Regression] cost model for addresses is incorrect, slsr is using reg + reg + CST for arm
Date: Wed, 27 Feb 2019 14:51: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: 5.3.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-70341-4-ItxGk8Qav2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70341-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70341-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: 2019-02/txt/msg03805.txt.bz2
Content-length: 918

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70341

--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Feb 27 14:50:35 2019
New Revision: 269255

URL: https://gcc.gnu.org/viewcvs?rev=269255&root=gcc&view=rev
Log:
        PR target/70341
        * config/arm/arm.md (arm_casesi_internal): New define_expand.  Rename
        old define_insn to ...
        (*arm_casesi_internal): ... this.  Add mode to LABEL_REFs.
        * config/arm/thumb2.md (thumb2_casesi_internal): New define_expand.
        Rename old define_insn to ...
        (*thumb2_casesi_internal): ... this.  Add mode to LABEL_REFs.
        (thumb2_casesi_internal_pic): New define_expand.  Rename old
        define_insn to ...
        (*thumb2_casesi_internal_pic): ... this.  Add mode to LABEL_REFs.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/arm.md
    trunk/gcc/config/arm/thumb2.md
>From gcc-bugs-return-635504-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 14:53:34 2019
Return-Path: <gcc-bugs-return-635504-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53086 invoked by alias); 27 Feb 2019 14:53: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 52453 invoked by uid 55); 27 Feb 2019 14:53:28 -0000
From: "dave.anglin at bell dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89461] FAIL: experimental/net/timer/waitable/cons.cc
Date: Wed, 27 Feb 2019 14:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dave.anglin at bell dot net
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-89461-4-ch0gAiB7mL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89461-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89461-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: 2019-02/txt/msg03806.txt.bz2
Content-length: 443

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89461

--- Comment #7 from dave.anglin at bell dot net ---
On 2019-02-27 4:24 a.m., redi at gcc dot gnu.org wrote:
> Maybe libstdc++ should just link to libatomic unconditionally for your target.
Yes, I'm trying that in current build.  The issue is certain functions are
implemented inline on most
architectures but not on hppa-hpux.

There are a couple of other tests in the same boat.
>From gcc-bugs-return-635505-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 15:22:53 2019
Return-Path: <gcc-bugs-return-635505-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28107 invoked by alias); 27 Feb 2019 15:22:52 -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 27939 invoked by uid 55); 27 Feb 2019 15:22:48 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89280] [7/8 Regression] ICE: Segmentation fault (in is_gimple_reg_type)
Date: Wed, 27 Feb 2019 15:22: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89280-4-MuI8RMhH5d@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89280-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89280-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: 2019-02/txt/msg03807.txt.bz2
Content-length: 485

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89280

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Feb 27 15:22:16 2019
New Revision: 269256

URL: https://gcc.gnu.org/viewcvs?rev=269256&root=gcc&view=rev
Log:
        PR tree-optimization/89280
        * gcc.dg/torture/pr57147-2.c (SetNaClSwitchExpectations): Add static
        keyword.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/torture/pr57147-2.c
>From gcc-bugs-return-635506-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 15:37:00 2019
Return-Path: <gcc-bugs-return-635506-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53851 invoked by alias); 27 Feb 2019 15:37: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 53821 invoked by uid 48); 27 Feb 2019 15:36:56 -0000
From: "gcc at mattwhitlock dot name" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89519] New: POD data member fails to be packed; G++ incorrectly claims it is non-POD
Date: Wed, 27 Feb 2019 15:37: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.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gcc at mattwhitlock dot name
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-89519-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: 2019-02/txt/msg03808.txt.bz2
Content-length: 1785

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89519

            Bug ID: 89519
           Summary: POD data member fails to be packed; G++ incorrectly
                    claims it is non-POD
           Product: gcc
           Version: 8.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gcc at mattwhitlock dot name
  Target Milestone: ---

/* === BEGIN TEST CASE === */

#include <type_traits>

class S {
        int i;
};

struct P {
        char c;
        S s;
} __attribute__ ((packed));

static_assert(std::is_pod<S>::value, "S should be a POD type");
static_assert(sizeof(P) == sizeof(char) + sizeof(S), "P should be packed");

/* === END TEST CASE === */


$ g++ -c test.cpp
test.cpp:9:4: warning: ignoring packed attribute because of unpacked non-POD
field 'S P::s'
  S s;
    ^
test.cpp:13:25: error: static assertion failed: P should be packed
 static_assert(sizeof(P) == sizeof(char) + sizeof(S), "P should be packed");
               ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~


As you can see, S is indeed a POD type, as evidenced by std::is_pod<S>::value
being true, yet the compiler fails to pack it.

This may be due to a discrepancy between C++'s definition of a POD type and
G++'s internal concept of "POD for the purpose of layout," as explained in Bug
83732 Comment 3.

Workaround: changing the access control of S::i to public (for example by
changing "class S" to "struct S") makes G++ pack P::s correctly. However, this
should not be necessary, as the standard only requires all non-static data
members in a standard-layout type to have the *same* access control, which need
not be public.
>From gcc-bugs-return-635507-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 15:52:23 2019
Return-Path: <gcc-bugs-return-635507-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113544 invoked by alias); 27 Feb 2019 15:52: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 110492 invoked by uid 48); 27 Feb 2019 15:52:17 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89506] [7/8/9 Regression] ICE: in decompose, at rtl.h:2266 with -Og -g
Date: Wed, 27 Feb 2019 15: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89506-4-T6IBl82oKm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89506-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89506-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: 2019-02/txt/msg03809.txt.bz2
Content-length: 1682

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89506

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Unfortunately the patch regresses:
+FAIL: c-c++-common/torture/builtin-arith-overflow-1.c   -O2  execution test
+FAIL: c-c++-common/torture/builtin-arith-overflow-1.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none  execution test
+FAIL: c-c++-common/torture/builtin-arith-overflow-12.c   -O2  execution test
+FAIL: c-c++-common/torture/builtin-arith-overflow-12.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none  execution test
+FAIL: c-c++-common/torture/builtin-arith-overflow-13.c   -O2  execution test
+FAIL: c-c++-common/torture/builtin-arith-overflow-13.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none  execution test
+FAIL: c-c++-common/torture/builtin-arith-overflow-2.c   -O2  execution test
+FAIL: c-c++-common/torture/builtin-arith-overflow-2.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none  execution test
+FAIL: c-c++-common/torture/builtin-arith-overflow-p-12.c   -O2  execution test
+FAIL: c-c++-common/torture/builtin-arith-overflow-p-12.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none  execution test
+FAIL: c-c++-common/torture/builtin-arith-overflow-p-13.c   -O2  execution test
+FAIL: c-c++-common/torture/builtin-arith-overflow-p-13.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none  execution test

Looking at the first one, the differences are like:
 t104_4ssub:
        @ args = 0, pretend = 0, frame = 0
        @ frame_needed = 0, uses_anonymous_args = 0
-       mov     r3, #-2147483648
-       subs    r0, r0, r3
+       adds    r0, r0, #-2147483648
>From gcc-bugs-return-635508-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 15:56:41 2019
Return-Path: <gcc-bugs-return-635508-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128665 invoked by alias); 27 Feb 2019 15:56: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 128583 invoked by uid 55); 27 Feb 2019 15:56:36 -0000
From: "uros at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89397] [7/8 Regression] ICE in build_call_expr_loc_array at gcc/tree.c:11563 since r229082
Date: Wed, 27 Feb 2019 15:56: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: accepts-invalid, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: uros at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: hjl.tools at gmail dot com
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89397-4-nk2al6aYfp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89397-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89397-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: 2019-02/txt/msg03810.txt.bz2
Content-length: 719

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89397

--- Comment #8 from uros at gcc dot gnu.org ---
Author: uros
Date: Wed Feb 27 15:56:04 2019
New Revision: 269259

URL: https://gcc.gnu.org/viewcvs?rev=269259&root=gcc&view=rev
Log:
        PR target/89397
        * config/i386/i386.c (ix86_atomic_assign_expand_fenv): Check
        TARGET_SSE in addition to TARGET_SSE_MATH.

        (ix86_excess_precision): Ditto.
        (ix86_float_exceptions_rounding_supported_p): Ditto.
        (use_rsqrt_p): Ditto.
        * config/i386/sse.md (rsqrt<mode>2): Ditto.


Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/config/i386/i386.c
    branches/gcc-8-branch/gcc/config/i386/sse.md
>From gcc-bugs-return-635509-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 16:51:56 2019
Return-Path: <gcc-bugs-return-635509-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96378 invoked by alias); 27 Feb 2019 16:51:55 -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 96225 invoked by uid 48); 27 Feb 2019 16:51:50 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89506] [7/8/9 Regression] ICE: in decompose, at rtl.h:2266 with -Og -g
Date: Wed, 27 Feb 2019 16:51: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89506-4-CgZn27K3nT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89506-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89506-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: 2019-02/txt/msg03811.txt.bz2
Content-length: 906

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89506

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ktkachov at gcc dot gnu.org,
                   |                            |rearnsha at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I'm afraid I don't understand how the cmpsi2_cmpneg pattern can ever work
reliably.  It uses CCmode, so I think that means all of Z, N, C and V flags
have to be useful, but while the Z and N flags really don't care whether adds
or subs is used, I believe C and V depend on that heavily.
So, I'd understand cmpsi2_addneg pattern with CCmode that would only have the
subs alternative, and another pattern with CC_NOOVmode that would have both.
>From gcc-bugs-return-635511-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 17:23:44 2019
Return-Path: <gcc-bugs-return-635511-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23577 invoked by alias); 27 Feb 2019 17:23:44 -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 23440 invoked by uid 48); 27 Feb 2019 17:23:40 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88857] [7/8/9 Regression] ICE in build_value_init
Date: Wed, 27 Feb 2019 17:23: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.2.0
X-Bugzilla-Keywords: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-88857-4-kzomk4wWPd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88857-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88857-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: 2019-02/txt/msg03813.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88857

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |mpolacek at gcc dot gnu.org
>From gcc-bugs-return-635510-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 17:23:26 2019
Return-Path: <gcc-bugs-return-635510-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22564 invoked by alias); 27 Feb 2019 17:23:26 -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 22489 invoked by uid 48); 27 Feb 2019 17:23:21 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89520] New: ICE tree check: accessed operand 4 of call_expr with 3 operands in convert_to_integer_1, at convert.c:668
Date: Wed, 27 Feb 2019 17:23: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: gscfq@t-online.de
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-89520-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: 2019-02/txt/msg03812.txt.bz2
Content-length: 2492

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89520

            Bug ID: 89520
           Summary: ICE tree check: accessed operand 4 of call_expr with 3
                    operands in convert_to_integer_1, at convert.c:668
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Affects versions down to at least gcc-4.1, at -O[gs123] :
(which means: compiles at -O0)


$ cat z1.c
double ceil ();
double floor ();
double trunc ();
long aceil () { return ceil (); }
long afloor () { return floor (); }
long atrunc () { return trunc (); }


$ gcc-9-20190224 -c z1.c -O2
z1.c: In function 'aceil':
z1.c:4:24: warning: too few arguments to built-in function 'ceil' expecting 1
[-Wbuiltin-declaration-mismatch]
    4 | long aceil () { return ceil (); }
      |                        ^~~~
z1.c:1:8: note: declared here
    1 | double ceil ();
      |        ^~~~
z1.c:4:1: internal compiler error: tree check: accessed operand 4 of call_expr
with 3 operands in convert_to_integer_1, at convert.c:668
    4 | long aceil () { return ceil (); }
      | ^~~~
0x5cfb6c tree_operand_check_failed(int, tree_node const*, char const*, int,
char const*)
        ../../gcc/tree.c:10059
0x7c49d6 tree_operand_check(tree_node*, int, char const*, int, char const*)
        ../../gcc/tree.h:3676
0x7c49d6 convert_to_integer_1
        ../../gcc/convert.c:668
0x65cc8b convert(tree_node*, tree_node*)
        ../../gcc/c/c-convert.c:125
0x69cca5 convert_and_check(unsigned int, tree_node*, tree_node*)
        ../../gcc/c-family/c-common.c:1641
0x635362 convert_for_assignment
        ../../gcc/c/c-typeck.c:6812
0x6387d0 c_finish_return(unsigned int, tree_node*, tree_node*)
        ../../gcc/c/c-typeck.c:10568
0x68345a c_parser_statement_after_labels
        ../../gcc/c/c-parser.c:5523
0x684ffe c_parser_compound_statement_nostart
        ../../gcc/c/c-parser.c:5148
0x685786 c_parser_compound_statement
        ../../gcc/c/c-parser.c:4982
0x68706b c_parser_declaration_or_fndef
        ../../gcc/c/c-parser.c:2354
0x68f633 c_parser_external_declaration
        ../../gcc/c/c-parser.c:1653
0x6900f9 c_parser_translation_unit
        ../../gcc/c/c-parser.c:1534
0x6900f9 c_parse_file()
        ../../gcc/c/c-parser.c:19854
0x6f0110 c_common_parse_file()
        ../../gcc/c-family/c-opts.c:1155
>From gcc-bugs-return-635512-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 17:27:25 2019
Return-Path: <gcc-bugs-return-635512-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34199 invoked by alias); 27 Feb 2019 17:27: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 34109 invoked by uid 48); 27 Feb 2019 17:27:20 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89506] [7/8/9 Regression] ICE: in decompose, at rtl.h:2266 with -Og -g
Date: Wed, 27 Feb 2019 17:27: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89506-4-qBxpw961C8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89506-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89506-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: 2019-02/txt/msg03814.txt.bz2
Content-length: 569

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89506

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45838
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45838&action=edit
gcc9-pr89506.patch

Untested version.

With this one, e.g. that t104_4ssub changes compared to vanilla:
-mov r3, #-2147483648
-subs r0, r0, r3
+subs r0, r0, #2147483648
so if that works, would be actually an improvement.
On the other side, there are some changes where the code is larger with the
patch:
-adds r0, r0, #1
+mvn r3, #0
+subs r0, r0, r3
>From gcc-bugs-return-635513-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 17:28:24 2019
Return-Path: <gcc-bugs-return-635513-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36362 invoked by alias); 27 Feb 2019 17:28: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 36242 invoked by uid 48); 27 Feb 2019 17:28:17 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89521] New: ICE in expand_builtin_int_roundingfn, at builtins.c:2697
Date: Wed, 27 Feb 2019 17:28: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: gscfq@t-online.de
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-89521-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: 2019-02/txt/msg03815.txt.bz2
Content-length: 2493

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89521

            Bug ID: 89521
           Summary: ICE in expand_builtin_int_roundingfn, at
                    builtins.c:2697
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

A variation of pr89520 (closely related, but possibly valid) :


$ cat z1.c
double ceil ();
double floor ();
long aceil () { return ceil (1); }
long afloor () { return floor (1); }


$ gcc-9-20190224 -c z1.c -O2
z1.c: In function 'aceil':
z1.c:3:30: warning: 'ceil' argument 1 type is 'int' where 'double' is expected
in a call to built-in function declared without prototype
[-Wbuiltin-declaration-mismatch]
    3 | long aceil () { return ceil (1); }
      |                              ^
z1.c:1:8: note: built-in 'ceil' declared here
    1 | double ceil ();
      |        ^~~~
z1.c: In function 'afloor':
z1.c:4:32: warning: 'floor' argument 1 type is 'int' where 'double' is expected
in a call to built-in function declared without prototype
[-Wbuiltin-declaration-mismatch]
    4 | long afloor () { return floor (1); }
      |                                ^
z1.c:2:8: note: built-in 'floor' declared here
    2 | double floor ();
      |        ^~~~~
during RTL pass: expand
z1.c: In function 'aceil':
z1.c:3:24: internal compiler error: in expand_builtin_int_roundingfn, at
builtins.c:2697
    3 | long aceil () { return ceil (1); }
      |                        ^~~~~~~~
0x73714c expand_builtin_int_roundingfn
        ../../gcc/builtins.c:2697
0x74c390 expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int)
        ../../gcc/builtins.c:7332
0x8a9b86 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        ../../gcc/expr.c:11029
0x8b5936 store_expr(tree_node*, rtx_def*, int, bool, bool)
        ../../gcc/expr.c:5673
0x8b7228 expand_assignment(tree_node*, tree_node*, bool)
        ../../gcc/expr.c:5436
0x772112 expand_call_stmt
        ../../gcc/cfgexpand.c:2722
0x772112 expand_gimple_stmt_1
        ../../gcc/cfgexpand.c:3691
0x772112 expand_gimple_stmt
        ../../gcc/cfgexpand.c:3850
0x774cd8 expand_gimple_tailcall
        ../../gcc/cfgexpand.c:3897
0x774cd8 expand_gimple_basic_block
        ../../gcc/cfgexpand.c:5863
0x77abde execute
        ../../gcc/cfgexpand.c:6509
>From gcc-bugs-return-635515-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 17:32:37 2019
Return-Path: <gcc-bugs-return-635515-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56977 invoked by alias); 27 Feb 2019 17:32:36 -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 56803 invoked by uid 48); 27 Feb 2019 17:32:32 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89522] New: [8/9 Regression] ICE: trying to capture 'f' in instantiation of generic lambda
Date: Wed, 27 Feb 2019 17: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: gscfq@t-online.de
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-89522-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: 2019-02/txt/msg03817.txt.bz2
Content-length: 3120

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89522

            Bug ID: 89522
           Summary: [8/9 Regression] ICE: trying to capture 'f' in
                    instantiation of generic lambda
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Changed between 20190113 (error) and 20190120 (ICE) :


$ cat z1.cc
template <typename F>
void foo (F f)
{
  f (1);
}
template <typename T>
void bar (T)
{
  auto f = [&](auto i) { if (f); };
  foo (f);
}
int main ()
{
  bar (0);
}


$ g++-9-20190224 -c z1.cc
z1.cc: In instantiation of 'bar(T) [with T = int]::<lambda(auto:1)> [with
auto:1 = int]':
z1.cc:4:5:   required from 'void foo(F) [with F = bar(T) [with T =
int]::<lambda(auto:1)>]'
z1.cc:10:7:   required from 'void bar(T) [with T = int]'
z1.cc:14:9:   required from here
z1.cc:9:30: internal compiler error: trying to capture 'f' in instantiation of
generic lambda
    9 |   auto f = [&](auto i) { if (f); };
      |                              ^
0x723c84 add_capture(tree_node*, tree_node*, tree_node*, bool, bool)
        ../../gcc/cp/lambda.c:640
0x723fda add_default_capture(tree_node*, tree_node*, tree_node*)
        ../../gcc/cp/lambda.c:702
0x7ef00c tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool,
bool)
        ../../gcc/cp/pt.c:19413
0x7ef07d tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool,
bool)
        ../../gcc/cp/pt.c:19529
0x7d531e tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
        ../../gcc/cp/pt.c:17843
0x7d4a9d tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
        ../../gcc/cp/pt.c:17195
0x7d51b9 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
        ../../gcc/cp/pt.c:17250
0x7d51b9 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
        ../../gcc/cp/pt.c:17250
0x7d51b9 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
        ../../gcc/cp/pt.c:17250
0x817014 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
        ../../gcc/cp/pt.c:16934
0x817014 instantiate_decl(tree_node*, bool, bool)
        ../../gcc/cp/pt.c:24661
0x6ef157 maybe_instantiate_decl
        ../../gcc/cp/decl2.c:5286
0x6f1f3c mark_used(tree_node*, int)
        ../../gcc/cp/decl2.c:5442
0x62754c build_over_call
        ../../gcc/cp/call.c:8552
0x639d38 build_op_call_1
        ../../gcc/cp/call.c:4671
0x639d38 build_op_call(tree_node*, vec<tree_node*, va_gc, vl_embed>**, int)
        ../../gcc/cp/call.c:4700
0x83c1f3 finish_call_expr(tree_node*, vec<tree_node*, va_gc, vl_embed>**, bool,
bool, int)
        ../../gcc/cp/semantics.c:2586
0x7f0363 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool,
bool)
        ../../gcc/cp/pt.c:19018
0x7d531e tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
        ../../gcc/cp/pt.c:17843
0x7d50a6 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
        ../../gcc/cp/pt.c:16963
>From gcc-bugs-return-635514-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 17:32:07 2019
Return-Path: <gcc-bugs-return-635514-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53827 invoked by alias); 27 Feb 2019 17:32:06 -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 53596 invoked by uid 48); 27 Feb 2019 17:31:59 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89506] [7/8/9 Regression] ICE: in decompose, at rtl.h:2266 with -Og -g
Date: Wed, 27 Feb 2019 17: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89506-4-uqKfjRspTb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89506-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89506-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: 2019-02/txt/msg03816.txt.bz2
Content-length: 1477

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89506

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Where we create larger code, it is:
(insn 7 6 8 2 (set (reg:SI 116)
        (const_int -1 [0xffffffffffffffff])) "builtin-arith-overflow-1.c":11:1
181 {*arm_movsi_insn}
     (nil))
(insn 8 7 9 2 (parallel [
            (set (reg:CC 100 cc)
                (compare:CC (reg/v:SI 114 [ x ])
                    (reg:SI 116)))
            (set (reg:SI 115)
                (minus:SI (reg/v:SI 114 [ x ])
                    (reg:SI 116)))
        ]) "builtin-arith-overflow-1.c":11:1 28 {subsi3_compare1}
     (expr_list:REG_DEAD (reg:SI 116)
        (expr_list:REG_DEAD (reg/v:SI 114 [ x ])
            (nil))))
(jump_insn 9 8 12 2 (set (pc)
        (if_then_else (ltu (reg:CC 100 cc)
                (const_int 0 [0]))
            (label_ref 12)
            (pc))) "builtin-arith-overflow-1.c":11:1 203 {arm_cond_branch}
     (expr_list:REG_DEAD (reg:CC 100 cc)
        (int_list:REG_BR_PROB 536868 (nil)))
where cprop previously managed to turn that subsi3_compare1 into cmpsi2_addneg,
but now it doesn't.  The question is, is
mvn r3, #0
subs r0, r0, r3
setting all the Z, N, C and V flags to the same values as
adds r0, r0, #1
for all the possible values of r0 or not?

And, should I split the
(*subsi3_carryin_compare_const): Similarly, just instead of -UINTVAL.
part of the patch to a separate, non-controversial, patch, to unbreak PR89434
fallout?
>From gcc-bugs-return-635516-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 17:40:53 2019
Return-Path: <gcc-bugs-return-635516-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72952 invoked by alias); 27 Feb 2019 17:40: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 72915 invoked by uid 48); 27 Feb 2019 17:40:49 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89523] New: Incorrect AVX instructions with VSIB address
Date: Wed, 27 Feb 2019 17:40: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: 7.4.1
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-89523-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: 2019-02/txt/msg03818.txt.bz2
Content-length: 1916

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89523

            Bug ID: 89523
           Summary: Incorrect AVX instructions with VSIB address
           Product: gcc
           Version: 7.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: ubizjak at gmail dot com
  Target Milestone: ---
            Target: x32

32-bit indices in VSIB address are sign-extended to 64 bits. In x32,
when 32-bit indices are used as addresses, like

%ymm7, 0(,%ymm6,1), %ymm0

0xf7fa3010 is sign-extended to 0xfffffffff7fa3010 which leads to
invalid address in x32.
Testcase:

[hjl@gnu-4 00000001]$ cat foo.i
void foo (void);

extern float *ncost;

float
bar (int type, int num)
{
  int i;
  float cost;

  cost = 0;
  for (i = 0; i < num; i++)
    if (type)
      cost += ncost[i];
    else
      foo ();
  return (cost);
}
[hjl@gnu-4 00000001]$ gcc -S -mx32 -Ofast -funroll-loops -march=haswell foo.i 
[hjl@gnu-4 00000001]$ grep gather foo.s
        vgatherdps      %ymm7, 0(,%ymm6,1), %ymm0
        vgatherdps      %ymm11, 0(,%ymm10,1), %ymm12
        vgatherdps      %ymm15, 0(,%ymm14,1), %ymm5
        vgatherdps      %ymm7, 0(,%ymm9,1), %ymm6
        vgatherdps      %ymm12, 0(,%ymm11,1), %ymm13
        vgatherdps      %ymm5, 0(,%ymm15,1), %ymm2
        vgatherdps      %ymm7, 0(,%ymm10,1), %ymm6
        vgatherdps      %ymm14, 0(,%ymm13,1), %ymm15
        vgatherdps      %ymm7, 0(,%ymm10,1), %ymm6
        vgatherdps      %ymm13, 0(,%ymm12,1), %ymm14
        vgatherdps      %ymm10, 0(,%ymm9,1), %ymm7
        vgatherdps      %ymm12, 0(,%ymm11,1), %ymm13
        vgatherdps      %ymm9, 0(,%ymm2,1), %ymm10
        vgatherdps      %ymm12, 0(,%ymm11,1), %ymm6
        vgatherdps      %ymm5, 0(,%ymm15,1), %ymm2
[hjl@gnu-4 00000001]$
>From gcc-bugs-return-635517-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 18:01:14 2019
Return-Path: <gcc-bugs-return-635517-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125595 invoked by alias); 27 Feb 2019 18:01: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 125065 invoked by uid 48); 27 Feb 2019 18:00:51 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89519] POD data member fails to be packed; G++ incorrectly claims it is non-POD
Date: Wed, 27 Feb 2019 18:01: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.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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-89519-4-0FSE4qDm2i@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89519-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89519-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: 2019-02/txt/msg03819.txt.bz2
Content-length: 268

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89519

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
C++98 says S is non POD.  This is why the difference comes into play.  To be
abi compatible with the two language options it needs to be that way.
>From gcc-bugs-return-635518-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 18:03:47 2019
Return-Path: <gcc-bugs-return-635518-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25388 invoked by alias); 27 Feb 2019 18:03: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 25289 invoked by uid 48); 27 Feb 2019 18:03:43 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89519] POD data member fails to be packed; G++ incorrectly claims it is non-POD
Date: Wed, 27 Feb 2019 18:03: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.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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-89519-4-F7leKBEbVk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89519-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89519-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: 2019-02/txt/msg03820.txt.bz2
Content-length: 264

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89519

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
If there is a change, then using two sources one compiled with -std=c++98 and
one with -std=c++11 (or later) will not be ABI compatible.
>From gcc-bugs-return-635519-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 18:05:28 2019
Return-Path: <gcc-bugs-return-635519-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33656 invoked by alias); 27 Feb 2019 18:05: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 33528 invoked by uid 48); 27 Feb 2019 18:05:23 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89506] [7/8/9 Regression] ICE: in decompose, at rtl.h:2266 with -Og -g
Date: Wed, 27 Feb 2019 18:05: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89506-4-jYRMrTUwOW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89506-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89506-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: 2019-02/txt/msg03821.txt.bz2
Content-length: 1435

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89506

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
int main () {
  for (long long j = -__INT_MAX__ - 1; j <= __INT_MAX__; j++)
    {
      int t, t2, c, c2;
      int i = j;
      asm volatile ("adds %0, %2, #1; mrs %1, apsr" : "=r" (t), "=r" (c) : "r"
(i) : "cc");
      asm volatile ("subs %0, %2, %3; mrs %1, apsr" : "=r" (t2), "=r" (c2) :
"r" (i), "r" (-1) : "cc");
      if (t != t2 || c != c2)
        __builtin_printf ("%d %d %d %d %d\n", i, t, t2, c, c2);
    }
  return 0;
}

suggests though (unless I've screwed up something) that at least for the adds
r0, r0, #1 vs mvn r3, #0; subs r0, r0, r3 it doesn't make a difference.
On the other side,
int main () {
  for (long long j = -__INT_MAX__ - 1; j <= __INT_MAX__; j++)
    {
      int t, t2, c, c2;
      int i = j;
      asm volatile ("adds %0, %2, #2147483648; mrs %1, apsr" : "=r" (t), "=r"
(c) : "r" (i) : "cc");
      asm volatile ("subs %0, %2, #2147483648; mrs %1, apsr" : "=r" (t2), "=r"
(c2) : "r" (i) : "cc");
      if (t != t2 || c != c2)
        __builtin_printf ("%d %d %d %d %d\n", i, t, t2, c, c2);
    }
  return 0;
}
triggers on lots of values.  If INT_MIN is the only problematic value, we could
tweak the patch to only handle that value carefully, or always emit subs
instead of adds for that case (e.g. by swapping the two alternatives).
>From gcc-bugs-return-635520-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 18:06:25 2019
Return-Path: <gcc-bugs-return-635520-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37107 invoked by alias); 27 Feb 2019 18:06: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 36989 invoked by uid 48); 27 Feb 2019 18:06:20 -0000
From: "gcc at mattwhitlock dot name" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89519] POD data member fails to be packed; G++ incorrectly claims it is non-POD
Date: Wed, 27 Feb 2019 18:06: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.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gcc at mattwhitlock dot name
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-89519-4-genzIe96AM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89519-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89519-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: 2019-02/txt/msg03822.txt.bz2
Content-length: 467

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89519

--- Comment #3 from Matt Whitlock <gcc at mattwhitlock dot name> ---
(In reply to Andrew Pinski from comment #2)
> If there is a change, then using two sources one compiled with -std=c++98
> and one with -std=c++11 (or later) will not be ABI compatible.

ABI compatibility isn't guaranteed across C++ language standards anyway, is it?
For instance, the ABI of std::string differs between C++98 and C++11.
>From gcc-bugs-return-635521-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 18:09:14 2019
Return-Path: <gcc-bugs-return-635521-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42251 invoked by alias); 27 Feb 2019 18:09: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 42134 invoked by uid 48); 27 Feb 2019 18:09:10 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89434] [7/8 Regression] wrong code with -Og and __builtin_mul_overflow()
Date: Wed, 27 Feb 2019 18:09: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89434-4-qlloPGbFZK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89434-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89434-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: 2019-02/txt/msg03823.txt.bz2
Content-length: 269

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89434

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45839
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45839&action=edit
gcc9-pr89434.patch

I'm testing this separately.
>From gcc-bugs-return-635522-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 18:12:04 2019
Return-Path: <gcc-bugs-return-635522-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49032 invoked by alias); 27 Feb 2019 18:12: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 48909 invoked by uid 55); 27 Feb 2019 18:11:59 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/70341] [7/8/9 Regression] cost model for addresses is incorrect, slsr is using reg + reg + CST for arm
Date: Wed, 27 Feb 2019 18:12: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: 5.3.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-70341-4-27EOgS5ETM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-70341-4@http.gcc.gnu.org/bugzilla/>
References: <bug-70341-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: 2019-02/txt/msg03824.txt.bz2
Content-length: 502

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70341

--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Feb 27 18:11:26 2019
New Revision: 269260

URL: https://gcc.gnu.org/viewcvs?rev=269260&root=gcc&view=rev
Log:
        PR target/70341
        * config/aarch64/aarch64.md (casesi): Create the casesi_dispatch
        MEM manually here, set MEM_READONLY_P and MEM_NOTRAP_P on it.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/aarch64/aarch64.md
>From gcc-bugs-return-635523-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 18:18:55 2019
Return-Path: <gcc-bugs-return-635523-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97634 invoked by alias); 27 Feb 2019 18:18:55 -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 97508 invoked by uid 48); 27 Feb 2019 18:18:51 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/87089] [9 regression] tree check: expected class 'type', have 'declaration' (namespace_decl) in type_with_linkage_p, at ipa-utils.h
Date: Wed, 27 Feb 2019 18:18: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc assigned_to
Message-ID: <bug-87089-4-wcoMTn8hDt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87089-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87089-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: 2019-02/txt/msg03825.txt.bz2
Content-length: 452

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87089

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |ASSIGNED
                 CC|                            |jason at gcc dot gnu.org
           Assignee|hubicka at gcc dot gnu.org         |jason at gcc dot gnu.org
>From gcc-bugs-return-635524-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 18:19:56 2019
Return-Path: <gcc-bugs-return-635524-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99510 invoked by alias); 27 Feb 2019 18:19:55 -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 99385 invoked by uid 48); 27 Feb 2019 18:19:52 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89506] [7/8/9 Regression] ICE: in decompose, at rtl.h:2266 with -Og -g
Date: Wed, 27 Feb 2019 18:19: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89506-4-oXF3SWcDsA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89506-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89506-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: 2019-02/txt/msg03826.txt.bz2
Content-length: 397

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89506

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45840
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45840&action=edit
gcc9-pr89506.patch

If 0x80000000 is the only immediate in which adds r0,r0,#imm and adds
r0,r0,#-imm differ in condition code flags settings, then we could just use
this patch.
>From gcc-bugs-return-635525-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 18:21:18 2019
Return-Path: <gcc-bugs-return-635525-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101830 invoked by alias); 27 Feb 2019 18:21:18 -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 101707 invoked by uid 48); 27 Feb 2019 18:21:14 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89506] [7/8/9 Regression] ICE: in decompose, at rtl.h:2266 with -Og -g
Date: Wed, 27 Feb 2019 18: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89506-4-0mTWuniKXA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89506-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89506-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: 2019-02/txt/msg03827.txt.bz2
Content-length: 179

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89506

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I meant adds r0, r0, #imm and subs r0, r0, #-imm of course.
>From gcc-bugs-return-635526-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 18:23:06 2019
Return-Path: <gcc-bugs-return-635526-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105380 invoked by alias); 27 Feb 2019 18:23: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 105236 invoked by uid 48); 27 Feb 2019 18:23:01 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Wed, 27 Feb 2019 18:23: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: bernd.edlinger at hotmail dot de
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89490-4-WHnSVRYmMe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03828.txt.bz2
Content-length: 340

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

--- Comment #35 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #34)
> Passed bootstrap/regtest on powerpc64le-linux, on powerpc64-linux passed
> bootstrap, regtest still ongoing.

Successfully regtested (-m32/-m64) on powerpc64-linux as well.
>From gcc-bugs-return-635527-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 18:27:45 2019
Return-Path: <gcc-bugs-return-635527-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54085 invoked by alias); 27 Feb 2019 18:27: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 53488 invoked by uid 48); 27 Feb 2019 18:27:39 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89466] [7/8 Regression] Accessing the Internet while boostrapping
Date: Wed, 27 Feb 2019 18:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.3.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89466-4-SacA59vwKd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89466-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89466-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: 2019-02/txt/msg03829.txt.bz2
Content-length: 318

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89466

--- Comment #19 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
> Could you check r269249 on trunk? It's a bit different to the patch I
> suggested earlier, but should still solve the problem.

I can confirm that this solves the problem for me.

Thanks a lot!
>From gcc-bugs-return-635528-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 18:28:16 2019
Return-Path: <gcc-bugs-return-635528-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56829 invoked by alias); 27 Feb 2019 18:28: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 56236 invoked by uid 48); 27 Feb 2019 18:28:08 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89519] POD data member fails to be packed; G++ incorrectly claims it is non-POD
Date: Wed, 27 Feb 2019 18:28: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.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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-89519-4-3VIeqBMwDF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89519-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89519-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: 2019-02/txt/msg03830.txt.bz2
Content-length: 512

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89519

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Matt Whitlock from comment #3)
> ABI compatibility isn't guaranteed across C++ language standards anyway, is
> it? For instance, the ABI of std::string differs between C++98 and C++11.


What you are thinking about is the old std::string and the new C++11 compatible
std::string.  std::string is not different between C++98 and C++11 in GCC; both
use the new std::string.
>From gcc-bugs-return-635529-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 18:40:52 2019
Return-Path: <gcc-bugs-return-635529-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102637 invoked by alias); 27 Feb 2019 18:40: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 102542 invoked by uid 48); 27 Feb 2019 18:40:47 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/87089] [9 regression] tree check: expected class 'type', have 'declaration' (namespace_decl) in type_with_linkage_p, at ipa-utils.h
Date: Wed, 27 Feb 2019 18:40: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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 assigned_to
Message-ID: <bug-87089-4-aSWJMjwRZp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87089-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87089-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: 2019-02/txt/msg03831.txt.bz2
Content-length: 1349

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87089

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW
           Assignee|jason at gcc dot gnu.org           |unassigned at gcc dot gnu.org

--- Comment #12 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Jan Hubicka from comment #9)
> This is caused by:
> 
> _ZN4itpp1cILNS_1aE0EED2Ev/1 (itpp::c<<anonymous> >::~c() [with itpp::a
>   Referring: _ZN4itpp1cILNS_1aE0EED1Ev/2 (alias)                            
> 
> this is a destructor which is pointed to from virutal table, but it has no
> DECL_VIRTUAL_P flag set. This makes free_lang_data to modify its context and
> point to outer namespace rather than the containing polymorphic type.
> 
> Why we do not set VIRTUAL_P here?

This is the base (D2) variant of the destructor, which is not virtual and does
not appear in the vtable; the complete (D1) variant of the destructor is
virtual and does appear in the vtable, and in this case is an alias for the
base variant.  I imagine that LTO is treating them as interchangeable, which
causes trouble here.

Unassigning myself.
>From gcc-bugs-return-635530-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 18:41:28 2019
Return-Path: <gcc-bugs-return-635530-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103952 invoked by alias); 27 Feb 2019 18:41: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 103825 invoked by uid 48); 27 Feb 2019 18:41:23 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89506] [7/8/9 Regression] ICE: in decompose, at rtl.h:2266 with -Og -g
Date: Wed, 27 Feb 2019 18:41: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89506-4-dtJzMH937U@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89506-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89506-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: 2019-02/txt/msg03832.txt.bz2
Content-length: 539

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89506

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Using the expressions valgrind uses for ARM to compute flags from ADDS and SUBS
instructions and a program that simulates it on just 8-bit values instead of
32-bit ones, it seems the only problematic values where the flags change are 0
and INT_MIN.  By swapping the alternatives, I think the desirable one (subs)
should trigger for both, so the above patch should be hopefully correct.  Will
bootstrap/regtest it.
>From gcc-bugs-return-635531-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 18:46:02 2019
Return-Path: <gcc-bugs-return-635531-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12524 invoked by alias); 27 Feb 2019 18:45:44 -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 11829 invoked by uid 48); 27 Feb 2019 18:45:30 -0000
From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/88235] [7/8/9 Regression] ICE: verify_cgraph_node failed (error: edge points to wrong declaration)
Date: Wed, 27 Feb 2019 18:45: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: 9.0
X-Bugzilla-Keywords: ice-checking, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jamborm at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-88235-4-WakOsSJPiu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88235-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88235-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: 2019-02/txt/msg03833.txt.bz2
Content-length: 646

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88235

--- Comment #3 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Created attachment 45841
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45841&action=edit
Heavy handed fix

This patch fixes the verification because it stores to cgraph_node
information that the node is an expanded thunk.  It is a fairly huge
change just to make a verifier shut up, but I cannot think of another
way and I always disliked the node->thunk.thunk_p testa and wanted to
replace them with node->thunk_p () call, so this is a good excuse.
Not sure if we want it for GCC 9 though (if at all, of course).
>From gcc-bugs-return-635532-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 18:48:04 2019
Return-Path: <gcc-bugs-return-635532-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40575 invoked by alias); 27 Feb 2019 18:48: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 40314 invoked by uid 48); 27 Feb 2019 18:47:59 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/80916] [7/8/9 Regression] Spurious "declared 'static' but never defined" warning
Date: Wed, 27 Feb 2019 18:48: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.1.0
X-Bugzilla-Keywords: diagnostic, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-80916-4-NnMiAQ8vOE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80916-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80916-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: 2019-02/txt/msg03834.txt.bz2
Content-length: 412

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80916

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu.org

--- Comment #11 from Jason Merrill <jason at gcc dot gnu.org> ---
Patch still waiting for review.
>From gcc-bugs-return-635533-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 19:01:05 2019
Return-Path: <gcc-bugs-return-635533-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23527 invoked by alias); 27 Feb 2019 19:00:44 -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 23235 invoked by uid 48); 27 Feb 2019 19:00:32 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88049] [7/8/9 Regression] ICE in lto_symtab_prevailing_virtual_decl at gcc/lto/lto-symtab.c:1075 since r231671
Date: Wed, 27 Feb 2019 19:00: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-invalid-code, lto, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords
Message-ID: <bug-88049-4-Cv8yAut96N@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88049-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88049-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: 2019-02/txt/msg03835.txt.bz2
Content-length: 805

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88049

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-valid-code           |ice-on-invalid-code

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
On gcc-patches (https://gcc.gnu.org/ml/gcc-patches/2019-02/threads.html#01619)
richi pointed out that the testcase is invalid because the undefined functions
we warn about can never be defined, and I agree.  And indeed with
-pedantic-errors the warnings become errors, so we reject the testcase at
compile time and never get to LTO.

So another possible fix would be changing the pedwarn in
check_global_declaration to an error.
>From gcc-bugs-return-635534-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 19:03:15 2019
Return-Path: <gcc-bugs-return-635534-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48675 invoked by alias); 27 Feb 2019 19:03: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 45631 invoked by uid 48); 27 Feb 2019 19:03:09 -0000
From: "gcc at mattwhitlock dot name" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89519] POD data member fails to be packed; G++ incorrectly claims it is non-POD
Date: Wed, 27 Feb 2019 19:03: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.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gcc at mattwhitlock dot name
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WONTFIX
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-89519-4-r5f8GmUnj1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89519-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89519-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: 2019-02/txt/msg03836.txt.bz2
Content-length: 644

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89519

Matt Whitlock <gcc at mattwhitlock dot name> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #5 from Matt Whitlock <gcc at mattwhitlock dot name> ---
I found this:

https://gcc.gnu.org/ml/gcc/2012-01/msg00056.html

It seems pretty resolute. I guess that means this report is a WONTFIX.

For what it's worth, having two conflicting definitions of "POD" is confusing.
>From gcc-bugs-return-635535-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 19:07:55 2019
Return-Path: <gcc-bugs-return-635535-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98566 invoked by alias); 27 Feb 2019 19:07:55 -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 98433 invoked by uid 55); 27 Feb 2019 19:07:50 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89511] [7/8/9 Regression] ICE in push_using_decl_1, at cp/name-lookup.c:3845
Date: Wed, 27 Feb 2019 19:07: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: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89511-4-WTUXRvC3Vx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89511-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89511-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: 2019-02/txt/msg03837.txt.bz2
Content-length: 684

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89511

--- Comment #11 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Wed Feb 27 19:07:18 2019
New Revision: 269262

URL: https://gcc.gnu.org/viewcvs?rev=269262&root=gcc&view=rev
Log:
        PR c++/89511 - ICE with using-declaration and unscoped enumerator.
        * parser.c (cp_parser_using_declaration): For an unscoped enum
        only use its context if it's not a function declaration.

        * g++.dg/cpp0x/using-enum-3.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/using-enum-3.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635536-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 19:08:29 2019
Return-Path: <gcc-bugs-return-635536-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111260 invoked by alias); 27 Feb 2019 19:08: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 110874 invoked by uid 48); 27 Feb 2019 19:08:25 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89511] [7/8 Regression] ICE in push_using_decl_1, at cp/name-lookup.c:3845
Date: Wed, 27 Feb 2019 19:08: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: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-89511-4-OoBGpgkPtv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89511-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89511-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: 2019-02/txt/msg03838.txt.bz2
Content-length: 548

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89511

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[7/8/9 Regression] ICE in   |[7/8 Regression] ICE in
                   |push_using_decl_1, at       |push_using_decl_1, at
                   |cp/name-lookup.c:3845       |cp/name-lookup.c:3845

--- Comment #12 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed on trunk so far.
>From gcc-bugs-return-635537-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 19:33:54 2019
Return-Path: <gcc-bugs-return-635537-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33718 invoked by alias); 27 Feb 2019 19:33: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 19809 invoked by uid 55); 27 Feb 2019 19:33:48 -0000
From: "uros at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89397] [7/8 Regression] ICE in build_call_expr_loc_array at gcc/tree.c:11563 since r229082
Date: Wed, 27 Feb 2019 19:33: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: accepts-invalid, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: uros at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: hjl.tools at gmail dot com
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89397-4-VZ9gcW6zyV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89397-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89397-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: 2019-02/txt/msg03839.txt.bz2
Content-length: 719

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89397

--- Comment #9 from uros at gcc dot gnu.org ---
Author: uros
Date: Wed Feb 27 19:33:15 2019
New Revision: 269263

URL: https://gcc.gnu.org/viewcvs?rev=269263&root=gcc&view=rev
Log:
        PR target/89397
        * config/i386/i386.c (ix86_atomic_assign_expand_fenv): Check
        TARGET_SSE in addition to TARGET_SSE_MATH.

        (ix86_excess_precision): Ditto.
        (ix86_float_exceptions_rounding_supported_p): Ditto.
        (use_rsqrt_p): Ditto.
        * config/i386/sse.md (rsqrt<mode>2): Ditto.


Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/config/i386/i386.c
    branches/gcc-7-branch/gcc/config/i386/sse.md
>From gcc-bugs-return-635538-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 19:36:51 2019
Return-Path: <gcc-bugs-return-635538-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 592 invoked by alias); 27 Feb 2019 19:36: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 121036 invoked by uid 48); 27 Feb 2019 19:36:47 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/12245] [7/8/9 regression] Uses lots of memory when compiling large initialized arrays
Date: Wed, 27 Feb 2019 19:36: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: 3.3.1
X-Bugzilla-Keywords: memory-hog
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-12245-4-1vHa3TibqG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-12245-4@http.gcc.gnu.org/bugzilla/>
References: <bug-12245-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: 2019-02/txt/msg03840.txt.bz2
Content-length: 556

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12245

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #67 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Are the values completely random or are there big chunks with the same values?
Recently in some cases we use RANGE_EXPR to shrink the CONSTRUCTOR sizes if
values are repeated.
>From gcc-bugs-return-635539-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 19:49:13 2019
Return-Path: <gcc-bugs-return-635539-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80944 invoked by alias); 27 Feb 2019 19:49: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 80849 invoked by uid 48); 27 Feb 2019 19:49:08 -0000
From: "alexhenrie24 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89524] New: -Wno-error doesn't work with warnings from newer versions of GCC
Date: Wed, 27 Feb 2019 19:49: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: 4.8.5
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: alexhenrie24 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-89524-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: 2019-02/txt/msg03841.txt.bz2
Content-length: 1318

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89524

            Bug ID: 89524
           Summary: -Wno-error doesn't work with warnings from newer
                    versions of GCC
           Product: gcc
           Version: 4.8.5
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: alexhenrie24 at gmail dot com
  Target Milestone: ---

I am working on a Qt4 program that we need to compile with both GCC 4.8.5 and
GCC 8.2.0. The build process sets the -Werror option, but the Qt4 header files
trigger the new class-memaccess warning. I'd like to use
-Wno-error=class-memaccess to permit compilation and still see where we've made
this mistake in our own code, but on GCC 4.8.5 that option causes the following
error:

cc1plus: error: -Werror=class-memaccess: no option -Wclass-memaccess

So I am forced to disable the new warning altogether with -Wno-class-memaccess,
which both GCC 4.8.5 and GCC 8.2.0 accept.

You can reproduce the error on GCC 8.2.0 with any arbitrary C file, for
example:

$ gcc -Werror -Wno-error=foobar test.c
cc1: error: -Werror=foobar: no option -Wfoobar

Can we please avoid this problem in the future by ignoring
-Wno-error=<unknown-warning>?
>From gcc-bugs-return-635540-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 19:52:21 2019
Return-Path: <gcc-bugs-return-635540-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90127 invoked by alias); 27 Feb 2019 19:52: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 89978 invoked by uid 48); 27 Feb 2019 19:52:17 -0000
From: "fche at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/12245] [7/8/9 regression] Uses lots of memory when compiling large initialized arrays
Date: Wed, 27 Feb 2019 19: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: 3.3.1
X-Bugzilla-Keywords: memory-hog
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fche at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-12245-4-JlJwWmakau@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-12245-4@http.gcc.gnu.org/bugzilla/>
References: <bug-12245-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: 2019-02/txt/msg03842.txt.bz2
Content-length: 515

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12245

--- Comment #68 from Frank Ch. Eigler <fche at redhat dot com> ---
(In reply to Jakub Jelinek from comment #67)
> Are the values completely random or are there big chunks with the same
> values?

I'd suspect pretty random, considering that gzip of the 
generated source code compresses by only 80%.  In the case
of the systemtap example, it's approximately a byte dump of the
.debug_line section, which is relatively efficiently encoded,
ergo incompressible.
>From gcc-bugs-return-635541-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 19:52:24 2019
Return-Path: <gcc-bugs-return-635541-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90499 invoked by alias); 27 Feb 2019 19:52: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 90078 invoked by uid 48); 27 Feb 2019 19:52:19 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/57553] [F08] Valid use of STORAGE_SIZE rejected, bad error message for invalid use
Date: Wed, 27 Feb 2019 19:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords: diagnostic, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-57553-4-ycDIkGZhEP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57553-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57553-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: 2019-02/txt/msg03843.txt.bz2
Content-length: 393

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57553

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from anlauf at gcc dot gnu.org ---
Fixed.
>From gcc-bugs-return-635542-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 19:58:02 2019
Return-Path: <gcc-bugs-return-635542-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63831 invoked by alias); 27 Feb 2019 19:58: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 63671 invoked by uid 48); 27 Feb 2019 19:57:57 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89519] POD data member fails to be packed; G++ incorrectly claims it is non-POD
Date: Wed, 27 Feb 2019 19:58: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.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WONTFIX
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-89519-4-qv51Ih9uVe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89519-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89519-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: 2019-02/txt/msg03844.txt.bz2
Content-length: 321

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89519

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Matt Whitlock from comment #3)
> For instance, the ABI of std::string differs between C++98 and C++11.

No it doesn't.

https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html
>From gcc-bugs-return-635543-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 19:59:52 2019
Return-Path: <gcc-bugs-return-635543-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67202 invoked by alias); 27 Feb 2019 19:59:52 -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 67083 invoked by uid 48); 27 Feb 2019 19:59:47 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/83057] OPEN without a filename and without STATUS='SCRATCH' could produce a warning
Date: Wed, 27 Feb 2019 19:59: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: 6.4.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: anlauf at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P5
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-83057-4-mwEWwkUU6t@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83057-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83057-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: 2019-02/txt/msg03845.txt.bz2
Content-length: 552

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83057

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from anlauf at gcc dot gnu.org ---
The case with NEWUNIT= has been fixed.

I do not see a need to give a warning for

open(20)

except for e.g. -pedantic, but if you feel differently, please reopen.
>From gcc-bugs-return-635544-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 20:02:56 2019
Return-Path: <gcc-bugs-return-635544-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80178 invoked by alias); 27 Feb 2019 20:02: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 80034 invoked by uid 48); 27 Feb 2019 20:02:49 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89520] ICE tree check: accessed operand 4 of call_expr with 3 operands in convert_to_integer_1, at convert.c:668
Date: Wed, 27 Feb 2019 20:02: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: bug_status cf_reconfirmed_on cc assigned_to everconfirmed
Message-ID: <bug-89520-4-KPTI9hL1lS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89520-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89520-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: 2019-02/txt/msg03846.txt.bz2
Content-length: 563

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89520

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-27
                 CC|                            |jakub at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1
>From gcc-bugs-return-635545-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 20:05:15 2019
Return-Path: <gcc-bugs-return-635545-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83701 invoked by alias); 27 Feb 2019 20:05: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 83608 invoked by uid 48); 27 Feb 2019 20:05:10 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89519] POD data member fails to be packed; G++ incorrectly claims it is non-POD
Date: Wed, 27 Feb 2019 20:05: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.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WONTFIX
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-89519-4-Byc0fxZ7cf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89519-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89519-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: 2019-02/txt/msg03847.txt.bz2
Content-length: 835

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89519

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Matt Whitlock from comment #0)
> test.cpp:9:4: warning: ignoring packed attribute because of unpacked non-POD
> field 'S P::s'

I think this diagnostic would be improved if it said "ignoring packed attribute
because of unpacked field 'S P::s' which is not POD for the purposes of layout"

That would refer to the term from the ABI spec that is relevant to class
layout, which is not the same as the property tested by std::is_pod.

(In reply to Matt Whitlock from comment #5)
> For what it's worth, having two conflicting definitions of "POD" is
> confusing.

The std::is_pod trait is deprecated in the C++2a draft, and the clauses
describing the core language no longer use the term POD at all.
>From gcc-bugs-return-635546-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 20:08:22 2019
Return-Path: <gcc-bugs-return-635546-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93439 invoked by alias); 27 Feb 2019 20:08: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 93328 invoked by uid 48); 27 Feb 2019 20:08:17 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89397] [7/8 Regression] ICE in build_call_expr_loc_array at gcc/tree.c:11563 since r229082
Date: Wed, 27 Feb 2019 20:08: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: accepts-invalid, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: hjl.tools at gmail dot com
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-89397-4-e869M3UwuZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89397-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89397-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: 2019-02/txt/msg03848.txt.bz2
Content-length: 494

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89397

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|9.0                         |7.5

--- Comment #10 from Uroš Bizjak <ubizjak at gmail dot com> ---
Fixed everywhere.
>From gcc-bugs-return-635547-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 20:16:13 2019
Return-Path: <gcc-bugs-return-635547-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106351 invoked by alias); 27 Feb 2019 20:16: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 105921 invoked by uid 55); 27 Feb 2019 20:15:55 -0000
From: "edlinger at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Wed, 27 Feb 2019 20:16: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: edlinger at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: bernd.edlinger at hotmail dot de
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89490-4-L7CWApFjng@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03849.txt.bz2
Content-length: 609

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

--- Comment #36 from Bernd Edlinger <edlinger at gcc dot gnu.org> ---
Author: edlinger
Date: Wed Feb 27 20:14:55 2019
New Revision: 269264

URL: https://gcc.gnu.org/viewcvs?rev=269264&root=gcc&view=rev
Log:
2019-02-27  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR rtl-optimization/89490
        * varasm.c (get_block_for_section): Bail out for mergeable sections.
        (default_use_anchors_for_symbol_p, output_object_block): Assert the
        block section is not mergeable.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/varasm.c
>From gcc-bugs-return-635548-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 20:18:01 2019
Return-Path: <gcc-bugs-return-635548-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112077 invoked by alias); 27 Feb 2019 20:17: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 111969 invoked by uid 48); 27 Feb 2019 20:17:55 -0000
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89490] [9 Regression] char array constant put in string merge section
Date: Wed, 27 Feb 2019 20:17: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bernd.edlinger at hotmail dot de
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: bernd.edlinger at hotmail dot de
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89490-4-1fj9VjlMlv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89490-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89490-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: 2019-02/txt/msg03850.txt.bz2
Content-length: 442

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

Bernd Edlinger <bernd.edlinger at hotmail dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #37 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
fixed.
>From gcc-bugs-return-635549-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 20:26:33 2019
Return-Path: <gcc-bugs-return-635549-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15523 invoked by alias); 27 Feb 2019 20:26:32 -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 15405 invoked by uid 48); 27 Feb 2019 20:26:28 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89520] [7/8/9 Regression] ICE tree check: accessed operand 4 of call_expr with 3 operands in convert_to_integer_1, at convert.c:668
Date: Wed, 27 Feb 2019 20:26: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority target_milestone short_desc
Message-ID: <bug-89520-4-YLIyshngNf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89520-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89520-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: 2019-02/txt/msg03851.txt.bz2
Content-length: 910

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89520

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
   Target Milestone|---                         |7.5
            Summary|ICE tree check: accessed    |[7/8/9 Regression] ICE tree
                   |operand 4 of call_expr with |check: accessed operand 4
                   |3 operands in               |of call_expr with 3
                   |convert_to_integer_1, at    |operands in
                   |convert.c:668               |convert_to_integer_1, at
                   |                            |convert.c:668

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
4.0 compiles this fine, 4.1 already ICEs, can't bisect right now (but have a
fix).
>From gcc-bugs-return-635550-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 20:27:41 2019
Return-Path: <gcc-bugs-return-635550-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19355 invoked by alias); 27 Feb 2019 20:27:41 -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 18734 invoked by uid 48); 27 Feb 2019 20:27:35 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89520] [7/8/9 Regression] ICE tree check: accessed operand 4 of call_expr with 3 operands in convert_to_integer_1, at convert.c:668
Date: Wed, 27 Feb 2019 20: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: 9.0
X-Bugzilla-Keywords: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89520-4-38SX8bE3du@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89520-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89520-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: 2019-02/txt/msg03852.txt.bz2
Content-length: 253

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89520

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45842
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45842&action=edit
gcc9-pr89520.patch

Untested fix.
>From gcc-bugs-return-635551-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 20:28:03 2019
Return-Path: <gcc-bugs-return-635551-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21447 invoked by alias); 27 Feb 2019 20:28: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 21282 invoked by uid 55); 27 Feb 2019 20:27:59 -0000
From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/12245] [7/8/9 regression] Uses lots of memory when compiling large initialized arrays
Date: Wed, 27 Feb 2019 20:28: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: 3.3.1
X-Bugzilla-Keywords: memory-hog
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenther at suse dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-12245-4-5RvJWV2mnE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-12245-4@http.gcc.gnu.org/bugzilla/>
References: <bug-12245-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: 2019-02/txt/msg03853.txt.bz2
Content-length: 925

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12245

--- Comment #69 from rguenther at suse dot de <rguenther at suse dot de> ---
On February 27, 2019 8:52:12 PM GMT+01:00, fche at redhat dot com
<gcc-bugzilla@gcc.gnu.org> wrote:
>https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12245
>
>--- Comment #68 from Frank Ch. Eigler <fche at redhat dot com> ---
>(In reply to Jakub Jelinek from comment #67)
>> Are the values completely random or are there big chunks with the
>same
>> values?
>
>I'd suspect pretty random, considering that gzip of the 
>generated source code compresses by only 80%.  In the case
>of the systemtap example, it's approximately a byte dump of the
>.debug_line section, which is relatively efficiently encoded,
>ergo incompressible.

We could add a NATIVE_ENCODE_RANGE_EXPR that encodes a contiguous range of
bytes in native target representation. Of course that has to be kept throughout
GIMPLE.
>From gcc-bugs-return-635552-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 20:31:36 2019
Return-Path: <gcc-bugs-return-635552-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 70501 invoked by alias); 27 Feb 2019 20:31:36 -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 70426 invoked by uid 48); 27 Feb 2019 20:31:32 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89525] New: [9 Regression] inform messages from -Wbuiltin-declaration-mismatch even with -w
Date: Wed, 27 Feb 2019 20:31: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: jakub 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-89525-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: 2019-02/txt/msg03854.txt.bz2
Content-length: 670

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89525

            Bug ID: 89525
           Summary: [9 Regression] inform messages from
                    -Wbuiltin-declaration-mismatch even with -w
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
  Target Milestone: ---

/* { dg-do compile } */
/* { dg-options "-w" } */

double sqrt (); /* { dg-bogus "declared here" } */

void
foo (void)
{
  sqrt ();
}

emits a bogus message (warning is not emitted, but inform is).
>From gcc-bugs-return-635553-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 20:31:53 2019
Return-Path: <gcc-bugs-return-635553-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71577 invoked by alias); 27 Feb 2019 20:31: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 71385 invoked by uid 48); 27 Feb 2019 20:31:49 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89525] [9 Regression] inform messages from -Wbuiltin-declaration-mismatch even with -w
Date: Wed, 27 Feb 2019 20:31: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: jakub 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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to target_milestone everconfirmed
Message-ID: <bug-89525-4-TZgBsJ75Le@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89525-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89525-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: 2019-02/txt/msg03855.txt.bz2
Content-length: 542

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89525

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-02-27
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
   Target Milestone|---                         |9.0
     Ever confirmed|0                           |1
>From gcc-bugs-return-635554-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 20:39:19 2019
Return-Path: <gcc-bugs-return-635554-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101202 invoked by alias); 27 Feb 2019 20:39:19 -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 101075 invoked by uid 48); 27 Feb 2019 20:39:15 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89525] [9 Regression] inform messages from -Wbuiltin-declaration-mismatch even with -w
Date: Wed, 27 Feb 2019 20:39: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: jakub 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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89525-4-GOEw5Jb5kr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89525-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89525-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: 2019-02/txt/msg03856.txt.bz2
Content-length: 253

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89525

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45843
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45843&action=edit
gcc9-pr89525.patch

Untested fix.
>From gcc-bugs-return-635555-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 20:49:20 2019
Return-Path: <gcc-bugs-return-635555-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4293 invoked by alias); 27 Feb 2019 20:49: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 4199 invoked by uid 48); 27 Feb 2019 20:49:16 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89520] [7/8/9 Regression] ICE tree check: accessed operand 4 of call_expr with 3 operands in convert_to_integer_1, at convert.c:668
Date: Wed, 27 Feb 2019 20:49: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89520-4-3u0QQWhfmq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89520-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89520-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: 2019-02/txt/msg03857.txt.bz2
Content-length: 152

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89520

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Most likely started with r81269.
>From gcc-bugs-return-635556-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 20:52:13 2019
Return-Path: <gcc-bugs-return-635556-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11933 invoked by alias); 27 Feb 2019 20:52: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 11859 invoked by uid 48); 27 Feb 2019 20:52:08 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89525] [9 Regression] inform messages from -Wbuiltin-declaration-mismatch even with -w
Date: Wed, 27 Feb 2019 20: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89525-4-zCcwA91JFq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89525-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89525-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: 2019-02/txt/msg03858.txt.bz2
Content-length: 141

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89525

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r266194.
>From gcc-bugs-return-635558-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 21:04:52 2019
Return-Path: <gcc-bugs-return-635558-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93175 invoked by alias); 27 Feb 2019 21:04:52 -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 92864 invoked by uid 48); 27 Feb 2019 21:04:44 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89516] ICE in gfc_calculate_transfer_sizes at gcc/fortran/check.c:5506
Date: Wed, 27 Feb 2019 21:04: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89516-4-DE5CvgvGlP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89516-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89516-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: 2019-02/txt/msg03860.txt.bz2
Content-length: 865

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89516

--- Comment #2 from anlauf at gcc dot gnu.org ---
The ICE is triggered by a code path that is executed only when -Wsurprising
is used together with TRANSFER.

I'm currently testing the following patch:

Index: gcc/fortran/check.c
===================================================================
--- gcc/fortran/check.c (revision 269227)
+++ gcc/fortran/check.c (working copy)
@@ -5503,7 +5503,8 @@
   if (result_elt_size == 0 && *source_size == 0 && !size)
     {
       *result_size = 0;
-      *result_length_p = 0;
+      if (result_length_p)
+       *result_length_p = 0;
       return true;
     }

Will commit as obvious if it finishes successfully.
>From gcc-bugs-return-635557-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 21:04:24 2019
Return-Path: <gcc-bugs-return-635557-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91874 invoked by alias); 27 Feb 2019 21:04: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 91748 invoked by uid 48); 27 Feb 2019 21:04:20 -0000
From: "fche at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/12245] [7/8/9 regression] Uses lots of memory when compiling large initialized arrays
Date: Wed, 27 Feb 2019 21:04: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: 3.3.1
X-Bugzilla-Keywords: memory-hog
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fche at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-12245-4-HlQlHOXgcE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-12245-4@http.gcc.gnu.org/bugzilla/>
References: <bug-12245-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: 2019-02/txt/msg03859.txt.bz2
Content-length: 469

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12245

--- Comment #70 from Frank Ch. Eigler <fche at redhat dot com> ---
> We could add a NATIVE_ENCODE_RANGE_EXPR that encodes a contiguous range of
> bytes in native target representation. Of course that has to be kept
> throughout GIMPLE.

(Just a silly spitballing here ... but if such a native target representation
is
not processed again before being sent to the assembler, it could even be stored
compressed.)
>From gcc-bugs-return-635559-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 21:29:49 2019
Return-Path: <gcc-bugs-return-635559-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16420 invoked by alias); 27 Feb 2019 21:29: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 16389 invoked by uid 48); 27 Feb 2019 21:29:44 -0000
From: "david.bolvansky at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89526] New: Diagnose errors in asserts
Date: Wed, 27 Feb 2019 21:29: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: david.bolvansky 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-89526-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: 2019-02/txt/msg03861.txt.bz2
Content-length: 592

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89526

            Bug ID: 89526
           Summary: Diagnose errors in asserts
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: david.bolvansky at gmail dot com
  Target Milestone: ---

GCC trunk -Wall -Wextra

#include <assert.h>

int foo(int *x) {
    assert(x && "nullptr");
    return *x;
}

int foo2(int *x) {
    assert("nullptr");  // should warn
    return *x;
}
>From gcc-bugs-return-635560-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 21:55:02 2019
Return-Path: <gcc-bugs-return-635560-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86011 invoked by alias); 27 Feb 2019 21:55: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 85679 invoked by uid 55); 27 Feb 2019 21:54:58 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86969] [8/9 Regression] ICE (in tsubst_copy) for a generic recursive lambda
Date: Wed, 27 Feb 2019 21:55: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: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86969-4-ZbUxGvlod4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86969-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86969-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: 2019-02/txt/msg03862.txt.bz2
Content-length: 1950

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86969

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Feb 27 21:54:25 2019
New Revision: 269265

URL: https://gcc.gnu.org/viewcvs?rev=269265&root=gcc&view=rev
Log:
        PR c++/86969 - ICE with constexpr if and recursive generic lambdas.

Here, the problem was that extract_local_specs wasn't seeing that we use
'self' inside the lambda in the else of the inner constexpr if, because we
don't walk into lambda bodies and we didn't capture it in the lambda because
'self' is still dependent.  Marek recently changed process_outer_var_ref to
do more implicit capture in templates; this example shows that we should
always capture non-packs, so that we can continue to not walk into lambda
bodies.  We do walk into lambda bodies for pack expansions, so we can delay
deciding whether we're capturing a single element or the entire pack.

Immediately capturing a VLA means we need to create a dependent VLA capture
type, and not in the context of the lambda op(), since trying to look up the
instantiation of the op() while we're substituting into the capture list
would crash.  So I force TYPE_CONTEXT and the binding level out to the
enclosing function before pushtag, avoid adding a TAG_DEFN, and instead
force the type to be complete in tsubst_lambda_expr.

        * semantics.c (process_outer_var_ref): Do capture dependent vars.
        * class.c (finish_struct): Only add TAG_DEFN if T is in
        current_function_decl.
        * lambda.c (vla_capture_type): Force the capture type out into the
        lambda's enclosing function.
        (add_capture): Pass in the lambda.
        * pt.c (tsubst_lambda_expr): complete_type a VLA capture type.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1z/constexpr-if27.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.c
    trunk/gcc/cp/lambda.c
    trunk/gcc/cp/pt.c
    trunk/gcc/cp/semantics.c
>From gcc-bugs-return-635561-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 22:31:44 2019
Return-Path: <gcc-bugs-return-635561-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57339 invoked by alias); 27 Feb 2019 22:31:43 -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 57225 invoked by uid 48); 27 Feb 2019 22:31:38 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89406] Go testing leaves many temporary directories in /tmp around
Date: Wed, 27 Feb 2019 22:31: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: jakub at gcc dot gnu.org
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89406-4-yvmJYtUvCM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89406-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89406-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: 2019-02/txt/msg03863.txt.bz2
Content-length: 6009

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89406

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
In today's x86_64-linux and i686-linux bootstrap, I see following in /tmp
(remove all non-systemd directories in /tmp before the bootstrap):
340681328
517045444
844331773
cmd-go-test-051806874
cmd-go-test-051806874/go-build626269585
cmd-go-test-051806874/go-build486488501
cmd-go-test-051806874/go-build486488501/b001
cmd-go-test-051806874/go-build985544238
cmd-go-test-051806874/go-build275250066
cmd-go-test-051806874/go-build206701887
cmd-go-test-051806874/go-build148081200
cmd-go-test-051806874/gotest035473270
cmd-go-test-051806874/gotest035473270/src
cmd-go-test-051806874/gotest035473270/src/p
cmd-go-test-051806874/gotest035473270/src/p/p_test.go
cmd-go-test-051806874/go-build618547490
cmd-go-test-051806874/go-build618547490/b008
cmd-go-test-051806874/go-build618547490/b008/vet.out
cmd-go-test-051806874/go-build618547490/b008/vet.cfg
cmd-go-test-051806874/go-build618547490/b008/_pkg_.a
cmd-go-test-051806874/go-build618547490/b008/_buildid.o
cmd-go-test-051806874/go-build618547490/b008/_buildid.s
cmd-go-test-051806874/go-build618547490/b008/_go_.o
cmd-go-test-051806874/go-build618547490/b008/_importcfgroot_
cmd-go-test-051806874/go-build618547490/b008/_importcfgroot_/libb.a
cmd-go-test-051806874/go-build618547490/b008/_importcfgroot_/liba.a
cmd-go-test-051806874/go-build618547490/b009
cmd-go-test-051806874/go-build618547490/b009/vet.out
cmd-go-test-051806874/go-build618547490/b009/vet.cfg
cmd-go-test-051806874/go-build618547490/b009/_pkg_.a
cmd-go-test-051806874/go-build618547490/b009/_buildid.o
cmd-go-test-051806874/go-build618547490/b009/_buildid.s
cmd-go-test-051806874/go-build618547490/b009/_go_.o
cmd-go-test-051806874/go-build618547490/b009/_importcfgroot_
cmd-go-test-051806874/go-build618547490/b009/_importcfgroot_/libb.a
cmd-go-test-051806874/go-build618547490/b007
cmd-go-test-051806874/go-build618547490/b007/vet.out
cmd-go-test-051806874/go-build618547490/b007/vet.cfg
cmd-go-test-051806874/go-build618547490/b007/_pkg_.a
cmd-go-test-051806874/go-build618547490/b007/_buildid.o
cmd-go-test-051806874/go-build618547490/b007/_buildid.s
cmd-go-test-051806874/go-build618547490/b007/_go_.o
cmd-go-test-051806874/go-build814904079
cmd-go-test-051806874/gotest973510067
cmd-go-test-051806874/gotest973510067/src
cmd-go-test-051806874/gotest973510067/src/p
cmd-go-test-051806874/gotest973510067/src/p/p.go
cmd-go-test-051806874/gotest511784738
cmd-go-test-051806874/gotest511784738/src
cmd-go-test-051806874/gotest511784738/src/p1
cmd-go-test-051806874/gotest511784738/src/p1/p1_test.go
cmd-go-test-051806874/gotest511784738/src/p1/p1.go
cmd-go-test-051806874/gotest648556558
cmd-go-test-051806874/gotest648556558/src
cmd-go-test-051806874/gotest648556558/src/b
cmd-go-test-051806874/gotest648556558/src/b/b_test.go
cmd-go-test-051806874/gotest648556558/src/b/export_test.go
cmd-go-test-051806874/gotest648556558/src/b/b.go
cmd-go-test-051806874/gotest648556558/src/a
cmd-go-test-051806874/gotest648556558/src/a/a.go
cmd-go-test-051806874/gotest294122667
cmd-go-test-051806874/gotest294122667/pkg-config.out
cmd-go-test-051806874/gotest294122667/pkg-config.sh
cmd-go-test-051806874/gotest294122667/src
cmd-go-test-051806874/gotest294122667/src/x
cmd-go-test-051806874/gotest294122667/src/x/b.go
cmd-go-test-051806874/gotest294122667/src/x/a.go
cmd-go-test-051806874/gotest072509820
cmd-go-test-051806874/gotest072509820/x.exe
cmd-go-test-051806874/gotest072509820/src
cmd-go-test-051806874/gotest072509820/src/x
cmd-go-test-051806874/gotest072509820/src/x/a.go
cmd-go-test-051806874/gotest882825809
cmd-go-test-051806874/gotest882825809/pkg
cmd-go-test-051806874/gotest882825809/pkg/gccgo_linux_386
cmd-go-test-051806874/gotest882825809/pkg/gccgo_linux_386/liba.a
cmd-go-test-051806874/gotest882825809/src
cmd-go-test-051806874/gotest882825809/src/a
cmd-go-test-051806874/gotest882825809/src/a/a.go
cmd-go-test-051806874/gotest996175495
cmd-go-test-051806874/gotest996175495/src
cmd-go-test-051806874/gotest996175495/src/example
cmd-go-test-051806874/gotest996175495/src/example/b
cmd-go-test-051806874/gotest996175495/src/example/a
cmd-go-test-051806874/gotest996175495/src/example/a/a.go
cmd-go-test-051806874/gotest996175495/src/example/a/Pkg
cmd-go-test-051806874/gotest996175495/src/example/a/Pkg/pkg.go
cmd-go-test-051806874/gotest996175495/src/example/a/pkg
cmd-go-test-051806874/gotest996175495/src/example/a/pkg/pkg.go
cmd-go-test-051806874/gotest063357645
cmd-go-test-051806874/gotest063357645/src
cmd-go-test-051806874/gotest063357645/src/cgoref
cmd-go-test-051806874/gotest063357645/src/cgoref/cgoref.go
cmd-go-test-051806874/tmpdir706014513
cmd-go-test-051806874/tmpdir706014513/testbin
cmd-go-test-051806874/tmpdir706014513/testbin/go
cmd-go-test-099107789
cmd-go-test-099107789/gotest690010532
cmd-go-test-099107789/gotest690010532/symdir1
cmd-go-test-099107789/gotest690010532/gopath
cmd-go-test-099107789/gotest690010532/gopath/bin
cmd-go-test-099107789/gotest690010532/gopath/bin/dir1
cmd-go-test-099107789/gotest690010532/gopath/src
cmd-go-test-099107789/gotest690010532/gopath/src/dir1
cmd-go-test-099107789/gotest690010532/gopath/src/dir1/p.go
cmd-go-test-099107789/gotest690010532/gopath/src/dir1/internal
cmd-go-test-099107789/gotest690010532/gopath/src/dir1/internal/v
cmd-go-test-099107789/gotest690010532/gopath/src/dir1/internal/v/v.go
cmd-go-test-099107789/tmpdir216051912
cmd-go-test-099107789/tmpdir216051912/testbin
cmd-go-test-099107789/tmpdir216051912/testbin/go
go-build361223223
go-build361223223/testprogcgo_-tags=threadprof.exe
go-build361223223/testprognet.exe
go-build361223223/testprog.exe
go-build361223223/testprogcxx.exe
go-build361223223/testprogcgo.exe

This was --enable-languages=default,ada,obj-c++,lto,go,brig,d x86_64-linux
bootstrap and --enable-languages=default,obj-c++,lto,go,brig,d i686-linux one.
As, the first 3 directories where there is no obvious go string could be from
something else.
>From gcc-bugs-return-635562-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 22:35:51 2019
Return-Path: <gcc-bugs-return-635562-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71013 invoked by alias); 27 Feb 2019 22:35: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 70826 invoked by uid 55); 27 Feb 2019 22:35:47 -0000
From: "ian at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89172] FAIL: runtime/pprof
Date: Wed, 27 Feb 2019 22:35: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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89172-4-3tCq7L74yX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89172-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89172-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: 2019-02/txt/msg03864.txt.bz2
Content-length: 1452

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89172

--- Comment #1 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Wed Feb 27 22:35:10 2019
New Revision: 269266

URL: https://gcc.gnu.org/viewcvs?rev=269266&root=gcc&view=rev
Log:
        PR go/89172
    internal/cpu, runtime, runtime/pprof: handle function descriptors

    When using PPC64 ELF ABI v1 a function address is not a PC, but is the
    address of a function descriptor.  The first field in the function
    descriptor is the actual PC (see
    http://refspecs.linuxfoundation.org/ELF/ppc64/PPC-elf64abi.html#FUNC-DES).
    The libbacktrace library knows about this, and libgo uses actual PC
    values consistently except for the helper function funcPC that appears
    in both runtime and runtime/pprof.

    This patch fixes funcPC by recording, in the internal/cpu package,
    whether function descriptors are being used.  We have to check for
    function descriptors using a C compiler check, because GCC can be
    configured using --with-abi to select the ELF ABI to use.

    Fixes https://gcc.gnu.org/PR89172

    Reviewed-on: https://go-review.googlesource.com/c/162978

Modified:
    trunk/gcc/go/gofrontend/MERGE
    trunk/libgo/Makefile.am
    trunk/libgo/Makefile.in
    trunk/libgo/configure
    trunk/libgo/configure.ac
    trunk/libgo/go/runtime/pprof/proto.go
    trunk/libgo/go/runtime/proc.go
    trunk/libgo/testsuite/Makefile.in
>From gcc-bugs-return-635563-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 22:42:18 2019
Return-Path: <gcc-bugs-return-635563-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87758 invoked by alias); 27 Feb 2019 22:42: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 87479 invoked by uid 48); 27 Feb 2019 22:42:12 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89406] Go testing leaves many temporary directories in /tmp around
Date: Wed, 27 Feb 2019 22:42: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: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89406-4-mcxtCTg0Bb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89406-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89406-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: 2019-02/txt/msg03865.txt.bz2
Content-length: 437

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89406

Ian Lance Taylor <ian at airs dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |ASSIGNED
         Resolution|FIXED                       |---

--- Comment #5 from Ian Lance Taylor <ian at airs dot com> ---
Did any of the tests fail?
>From gcc-bugs-return-635564-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 22:45:47 2019
Return-Path: <gcc-bugs-return-635564-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118302 invoked by alias); 27 Feb 2019 22:45: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 117880 invoked by uid 48); 27 Feb 2019 22:45:35 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89172] FAIL: runtime/pprof
Date: Wed, 27 Feb 2019 22:45: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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89172-4-Nkn6E8bt9o@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89172-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89172-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: 2019-02/txt/msg03866.txt.bz2
Content-length: 419

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89172

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> ---
Fixed.
>From gcc-bugs-return-635565-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 22:47:11 2019
Return-Path: <gcc-bugs-return-635565-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123668 invoked by alias); 27 Feb 2019 22:47: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 123406 invoked by uid 48); 27 Feb 2019 22:47:07 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89406] Go testing leaves many temporary directories in /tmp around
Date: Wed, 27 Feb 2019 22:47: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89406-4-2VP3FbuXoF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89406-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89406-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: 2019-02/txt/msg03867.txt.bz2
Content-length: 615

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89406

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Yes, some go tests fail pretty much all the time for me, but with quite high
volatility, so I usually ignore them if there aren't too many.  This time
FAIL: ./index0-out.go execution,  -O0 -g -fno-var-tracking-assignments
FAIL: go.test/test/nilptr2.go execution,  -O2 -g
FAIL: go test cmd/go
FAIL: go test runtime
on x86_64-linux and
FAIL: ./index0-out.go execution,  -O0 -g -fno-var-tracking-assignments
FAIL: go test cmd/go
FAIL: TestScript
FAIL: go test runtime
FAIL: TestAbort
on i686-linux.
>From gcc-bugs-return-635566-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 22:49:14 2019
Return-Path: <gcc-bugs-return-635566-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130278 invoked by alias); 27 Feb 2019 22:49: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 129407 invoked by uid 48); 27 Feb 2019 22:48:57 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89516] ICE in gfc_calculate_transfer_sizes at gcc/fortran/check.c:5506
Date: Wed, 27 Feb 2019 22:49: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89516-4-7EfVGjDWJB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89516-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89516-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: 2019-02/txt/msg03868.txt.bz2
Content-length: 263

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89516

--- Comment #3 from anlauf at gcc dot gnu.org ---
The patch turned out to require a small adjustment for scalar MOLD
of size 0, so I posted it for review:

https://gcc.gnu.org/ml/fortran/2019-02/msg00237.html
>From gcc-bugs-return-635567-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 22:58:24 2019
Return-Path: <gcc-bugs-return-635567-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46271 invoked by alias); 27 Feb 2019 22:58: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 46188 invoked by uid 48); 27 Feb 2019 22:58:19 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89406] Go testing leaves many temporary directories in /tmp around
Date: Wed, 27 Feb 2019 22:58: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: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89406-4-ekbqhSF35m@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89406-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89406-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: 2019-02/txt/msg03869.txt.bz2
Content-length: 191

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89406

--- Comment #7 from Ian Lance Taylor <ian at airs dot com> ---
Can you attach the file gotools/cmd_go-testlog from your build directory?
>From gcc-bugs-return-635568-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 23:04:45 2019
Return-Path: <gcc-bugs-return-635568-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58565 invoked by alias); 27 Feb 2019 23:04:44 -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 58456 invoked by uid 48); 27 Feb 2019 23:04:40 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89406] Go testing leaves many temporary directories in /tmp around
Date: Wed, 27 Feb 2019 23:04: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89406-4-KsBxB6otaN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89406-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89406-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: 2019-02/txt/msg03870.txt.bz2
Content-length: 246

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89406

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45844
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45844&action=edit
cmd_go-testlog from x86_64
>From gcc-bugs-return-635569-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 23:11:29 2019
Return-Path: <gcc-bugs-return-635569-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68995 invoked by alias); 27 Feb 2019 23:11: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 68914 invoked by uid 48); 27 Feb 2019 23:11:24 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89406] Go testing leaves many temporary directories in /tmp around
Date: Wed, 27 Feb 2019 23:11: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89406-4-3t7JWxWiMQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89406-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89406-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: 2019-02/txt/msg03871.txt.bz2
Content-length: 1671

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89406

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45845
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45845&action=edit
cmd_go-testlog from i686-linux build

Note, this is on 16c32t skylake-avx512 running:
../configure --enable-languages=default,ada,obj-c++,lto,go,brig,d
--enable-checking=yes,rtl,extra && make -j32 bootstrap > LOG 2>&1 &&
GXX_TESTSUITE_STDS=98,11,14,17,2a make -j32 -k check > LOGC 2>&1;
../contrib/test_summary > LOGT 2>&1
for x86_64-linux and
PATH=~/hbin:$PATH i386 ../configure
--enable-languages=default,obj-c++,lto,go,brig,d
--enable-checking=yes,rtl,extra && PATH=~/hbin:$PATH i386 make -j32 bootstrap >
LOG 2>&1 && PATH=~/hbin:$PATH GXX_TESTSUITE_STDS=98,11,14,17,2a i386 make -j32
-k check > LOGC 2>&1; ../contrib/test_summary > LOGT 2>&1
with
for i in ~/hbin/*; do echo ===$i===; cat $i; done
===/home/jakub/hbin/as===
#!/bin/sh
exec /usr/bin/as --32 "$@"
===/home/jakub/hbin/g++===
#!/bin/sh
exec /usr/bin/g++ -m32 "$@"
===/home/jakub/hbin/gcc===
#!/bin/sh
exec /usr/bin/gcc -m32 "$@"
===/home/jakub/hbin/ld===
#!/bin/sh
case "$*" in
  --version) cat <<\EOF
GNU ld version 2.20.52.0.1-10.fc17 20100131
Copyright 2012 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
EOF
  exit 0;;
esac
exec /usr/bin/ld -m elf_i386 -L /usr/lib/ "$@"

Both bootstraps/regtests are running in parallel.
>From gcc-bugs-return-635570-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 23:18:28 2019
Return-Path: <gcc-bugs-return-635570-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80411 invoked by alias); 27 Feb 2019 23:18: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 80217 invoked by uid 48); 27 Feb 2019 23:18:23 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89406] Go testing leaves many temporary directories in /tmp around
Date: Wed, 27 Feb 2019 23:18: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: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89406-4-P7nlOFViSw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89406-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89406-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: 2019-02/txt/msg03872.txt.bz2
Content-length: 466

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89406

--- Comment #10 from Ian Lance Taylor <ian at airs dot com> ---
Thanks.  In both cases the tests were killed because they ran too long (the
timeout was 11 minutes).  Since the tests were killed, they didn't clean up
after themselves.

Can you cd to the gotools directory and run "time make check-go-tool" and see
how long it takes?  Also whether it passes (the full output will go to
cmd_go-testlog)?  Thanks.
>From gcc-bugs-return-635571-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Feb 27 23:27:36 2019
Return-Path: <gcc-bugs-return-635571-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36943 invoked by alias); 27 Feb 2019 23:27:36 -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 36738 invoked by uid 48); 27 Feb 2019 23:27:32 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89406] Go testing leaves many temporary directories in /tmp around
Date: Wed, 27 Feb 2019 23:27: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89406-4-NFtETQuPfd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89406-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89406-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: 2019-02/txt/msg03873.txt.bz2
Content-length: 616

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89406

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45846
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45846&action=edit
cmd_go-testlog from x86_64-linux on idle box

real    3m9.956s
user    9m3.231s
sys     0m39.443s

Though, unlike the normal case, there aren't 63 other tests running
concurrently with that, so it doesn't surprise me if the 3 minute wall time
grows 4 or how many times (especially when the user time is 9 minutes and so it
means it is more than one concurrent process or thread to handle that.
>From gcc-bugs-return-635572-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 00:07:43 2019
Return-Path: <gcc-bugs-return-635572-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122918 invoked by alias); 28 Feb 2019 00:07: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 122732 invoked by uid 55); 28 Feb 2019 00:07:38 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88857] [7/8/9 Regression] ICE in build_value_init
Date: Thu, 28 Feb 2019 00:07: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.2.0
X-Bugzilla-Keywords: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88857-4-3JuNlZtxWT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88857-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88857-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: 2019-02/txt/msg03874.txt.bz2
Content-length: 637

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88857

--- Comment #8 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Thu Feb 28 00:07:06 2019
New Revision: 269267

URL: https://gcc.gnu.org/viewcvs?rev=269267&root=gcc&view=rev
Log:
        PR c++/88857 - ICE with value-initialization of argument in template.
        * call.c (convert_like_real): Don't call build_value_init in template.

        * g++.dg/cpp0x/initlist-value4.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/initlist-value4.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635573-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 00:10:11 2019
Return-Path: <gcc-bugs-return-635573-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24958 invoked by alias); 28 Feb 2019 00:10: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 24759 invoked by uid 48); 28 Feb 2019 00:10:07 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88857] [7/8 Regression] ICE in build_value_init
Date: Thu, 28 Feb 2019 00:10: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.2.0
X-Bugzilla-Keywords: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-88857-4-tsQjioSyvX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88857-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88857-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: 2019-02/txt/msg03875.txt.bz2
Content-length: 471

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88857

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[7/8/9 Regression] ICE in   |[7/8 Regression] ICE in
                   |build_value_init            |build_value_init

--- Comment #9 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed on trunk so far.
>From gcc-bugs-return-635574-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 01:09:34 2019
Return-Path: <gcc-bugs-return-635574-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108623 invoked by alias); 28 Feb 2019 01:09: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 104410 invoked by uid 48); 28 Feb 2019 01:09:29 -0000
From: "raj.khem at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89527] New: GCC ICE internal compiler error during RTL pass: mach on arm/thumb2
Date: Thu, 28 Feb 2019 01:09: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: raj.khem 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-89527-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: 2019-02/txt/msg03876.txt.bz2
Content-length: 2322

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89527

            Bug ID: 89527
           Summary: GCC ICE internal compiler error during RTL pass: mach
                    on arm/thumb2
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: raj.khem at gmail dot com
  Target Milestone: ---

While compiling glibc-2.29, timezone/zic, gcc started to ICE( this was working
ok few weeks ago), this only happens when compiling with thumb2, it works ok in
arm mode.

$
../../recipe-sysroot-native/usr/bin/arm-yoe-linux-gnueabi/arm-yoe-linux-gnueabi-gcc
 -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 
--sysroot=/mnt/a/yoe/build/tmp/work/cortexa7t2hf-neon-vfpv4-yoe-linux-gnueabi/glibc/2.29-r0/recipe-sysroot
a.c -c

a.c: In function 'foo':
a.c:9:1: error: unrecognizable insn:
    9 | }
      | ^
(insn 33 32 23 2 (parallel [
            (set (reg:CC 100 cc)
                (compare:CC (reg:SI 3 r3 [ min_year.0_1+4 ])
                    (const_int -2147483648 [0xffffffff80000000])))
            (set (reg:SI 3 r3 [113])
                (minus:SI (plus:SI (reg:SI 3 r3 [ min_year.0_1+4 ])
                        (const_int -2147483648 [0xffffffff80000000]))
                    (ltu:SI (reg:CC_C 100 cc)
                        (const_int 0 [0]))))
        ]) "a.c":6:6 -1
     (nil))
during RTL pass: mach
a.c:9:1: internal compiler error: in extract_insn, at recog.c:2310
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.


==============================================
reduced testcase a.c
==============================================


static long long int min_year;
void foo() {
  enum { years_of_observations = 400 + 2 };
  if (min_year >= (-9223372036854775807LL -1) + years_of_observations)
    return;
}

==============================================
>From gcc-bugs-return-635575-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 03:42:08 2019
Return-Path: <gcc-bugs-return-635575-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5750 invoked by alias); 28 Feb 2019 03:42: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 5679 invoked by uid 48); 28 Feb 2019 03:42:03 -0000
From: "dccitaliano at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/89528] New: Wrong debug info generated at -Og [gcc-trunk]
Date: Thu, 28 Feb 2019 03:42:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dccitaliano 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-89528-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: 2019-02/txt/msg03877.txt.bz2
Content-length: 2183

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89528

            Bug ID: 89528
           Summary: Wrong debug info generated at -Og [gcc-trunk]
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dccitaliano at gmail dot com
  Target Milestone: ---

$ cat 5.c
char b;
int d, e;
static int i = 1;
void a(l) { printf("", l); }
char(c)(char l) { return l || b && l == 1 ? b : b % l; }
short(f)(l, m) { return l * m; }
short(g)(short l, short m) { return m || l == 767 && m == 1; }
int(h)(l, m) { return (l ^ m & l ^ (m & 647) - m ^ m) < m; }
static int(j)(l) { return d == 0 || l == 647 && d == 1 ? l : l % d; }
short(k)(l) { return l >= 2 >> l; }
static short n(void) {
  int l_1127 = ~j(9 || 0) ^ 65535;
  optimize_me_not();
  f(l_1127, i && e ^ 4) && g(0, 0);
  e = 0;
  return 5;
}
int main() { n(); }

$ cat outer.c
void optimize_me_not() {}


### -Og

Reading symbols from ./a.out...
(gdb) b 13
Breakpoint 1 at 0x400590: file 5.c, line 13.
(gdb) r
Starting program: /home/davide/finished-reducing-gcc/a.out

Breakpoint 1, n () at 5.c:13
13        optimize_me_not();
(gdb) info locals
l_1127 = -4258335

### -O0

Reading symbols from ./a.out...
(gdb) b 13
Breakpoint 1 at 0x40064c: file 5.c, line 13.
(gdb) r
Starting program: /home/davide/finished-reducing-gcc/a.out

Breakpoint 1, n () at 5.c:13
13        optimize_me_not();
(gdb) info locals
l_1127 = -65535

$ gcc-trunk --version
gcc-trunk (GCC) 9.0.1 20190227 (experimental) [trunk revision 269248]
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ gdb-trunk --version
GNU gdb (GDB) 8.3.50.20190227-git
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
>From gcc-bugs-return-635576-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 03:48:58 2019
Return-Path: <gcc-bugs-return-635576-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21059 invoked by alias); 28 Feb 2019 03:48:57 -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 20838 invoked by uid 48); 28 Feb 2019 03:48:52 -0000
From: "dccitaliano at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/89529] New: Wrong debug info generated at -Og [gcc-trunk]
Date: Thu, 28 Feb 2019 03:48:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dccitaliano 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-89529-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: 2019-02/txt/msg03878.txt.bz2
Content-length: 1754

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89529

            Bug ID: 89529
           Summary: Wrong debug info generated at -Og [gcc-trunk]
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dccitaliano at gmail dot com
  Target Milestone: ---

$ cat 2.c
int a;
void b() {
  short l_1862 = 19071;
  a = 0;
  for (; 0;)
    optimize_me_not();
  --l_1862;
}
int main() { b(); }

$ cat outer.c
void optimize_me_not() {}

### -Og

Reading symbols from ./a.out...
(gdb) b 6
Breakpoint 1 at 0x40048c: file 2.c, line 7.
(gdb) r
Starting program: /home/davide/finished-reducing-gcc/a.out

Breakpoint 1, b () at 2.c:7
7         --l_1862;
(gdb) frame var
No symbol "var" in current context.
(gdb) info locals
l_1862 = 19070

### -O0

Reading symbols from ./a.out...
(gdb) b 6
Breakpoint 1 at 0x400497: file 2.c, line 7.
(gdb) r
Starting program: /home/davide/finished-reducing-gcc/a.out

Breakpoint 1, b () at 2.c:7
7         --l_1862;
(gdb) info locals
l_1862 = 19071

$ gcc-trunk --version
gcc-trunk (GCC) 9.0.1 20190227 (experimental) [trunk revision 269248]
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ gdb-trunk --version
GNU gdb (GDB) 8.3.50.20190227-git
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
>From gcc-bugs-return-635577-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 03:50:11 2019
Return-Path: <gcc-bugs-return-635577-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23946 invoked by alias); 28 Feb 2019 03:50: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 23781 invoked by uid 48); 28 Feb 2019 03:50:07 -0000
From: "dccitaliano at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/89529] Wrong debug info generated at -Og [gcc-trunk]
Date: Thu, 28 Feb 2019 03:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dccitaliano 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:
Message-ID: <bug-89529-4-CvUkP69WG7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89529-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89529-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: 2019-02/txt/msg03879.txt.bz2
Content-length: 245

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89529

--- Comment #1 from dcci <dccitaliano at gmail dot com> ---
The breakpoint is set on the line where the decrement happens, so it should
probably print the value before the decrement (at -Og)
>From gcc-bugs-return-635578-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 03:55:05 2019
Return-Path: <gcc-bugs-return-635578-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38673 invoked by alias); 28 Feb 2019 03:55:04 -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 38340 invoked by uid 48); 28 Feb 2019 03:55:00 -0000
From: "dccitaliano at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/89530] New: Wrong debug informations for C array generated at -Og [gcc-trunk]
Date: Thu, 28 Feb 2019 03:55:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dccitaliano 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-89530-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: 2019-02/txt/msg03880.txt.bz2
Content-length: 1946

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89530

            Bug ID: 89530
           Summary: Wrong debug informations for C array generated at -Og
                    [gcc-trunk]
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dccitaliano at gmail dot com
  Target Milestone: ---

$ cat a.c
int e, g;
short f;
char h;
short(a)(b) {}
int(c)(d) {}
void i() {
  int j, k;
  unsigned short l_1404[3][9] = {58143, 8, 5, 80};
  for (; f; f = 0)
    if (h)
      e = l_1404[0][7];
    else {
      for (; g;)
        j = k = c(j);
      e = a(k);
    }
  optimize_me_not();
}
int main() { i(); }

$ cat outer.c
void optimize_me_not() {}

### -O0

Reading symbols from ./a.out...
(gdb) b 17
Breakpoint 1 at 0x40055c: file 3.c, line 17.
(gdb) r
Starting program: /home/davide/finished-reducing-gcc/a.out

Breakpoint 1, i () at 3.c:17
17        optimize_me_not();
(gdb) p l_1404[0][0]
$1 = 58143

### -Og

Reading symbols from ./a.out...
(gdb) b 17
Breakpoint 1 at 0x4004f5: file 3.c, line 17.
(gdb) r
Starting program: /home/davide/finished-reducing-gcc/a.out

Breakpoint 1, i () at 3.c:17
17        optimize_me_not();
(gdb) p l_1404[0][0]
$1 = 9


$ gcc-trunk --version
gcc-trunk (GCC) 9.0.1 20190227 (experimental) [trunk revision 269248]
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ gdb-trunk --version
GNU gdb (GDB) 8.3.50.20190227-git
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
>From gcc-bugs-return-635579-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 04:32:50 2019
Return-Path: <gcc-bugs-return-635579-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7194 invoked by alias); 28 Feb 2019 04:32: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 7083 invoked by uid 48); 28 Feb 2019 04:32:46 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/88088] -Wtrampolines should be enabled by -Wall (or -Wextra)
Date: Thu, 28 Feb 2019 04:32: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: diagnostic, documentation
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager 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-88088-4-oor4z0OQM3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88088-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88088-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: 2019-02/txt/msg03881.txt.bz2
Content-length: 285

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88088

--- Comment #21 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Mark Wielaard from comment #20)
> https://gcc.gnu.org/ml/gcc-patches/2018-11/msg02055.html

Did this make it in? If not, have you pinged it lately?
>From gcc-bugs-return-635580-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 04:49:02 2019
Return-Path: <gcc-bugs-return-635580-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87641 invoked by alias); 28 Feb 2019 04:49: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 87448 invoked by uid 48); 28 Feb 2019 04:48:57 -0000
From: "yyc1992 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/54412] minimal 32-byte stack alignment with -mavx on 64-bit Windows
Date: Thu, 28 Feb 2019 04:49: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: 4.7.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: yyc1992 at gmail dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-54412-4-rwNlcAk1Pr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-54412-4@http.gcc.gnu.org/bugzilla/>
References: <bug-54412-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: 2019-02/txt/msg03882.txt.bz2
Content-length: 6324

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412

Yichao Yu <yyc1992 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yyc1992 at gmail dot com

--- Comment #23 from Yichao Yu <yyc1992 at gmail dot com> ---
> It is GCC does not realign the stack at all that is the issue.

I hit another related issue that might confirm this as well.

I noticed this when I tried to manually align the stack with inline assembly.

C++ code reduced from my test case,

```
#include <immintrin.h>
#include <stdio.h>
#include <stdint.h>

__attribute__((target("avx")))
__attribute__((noinline)) __m256d f(__m256d x, uint32_t a, const double *p)
{
    __m256d res;
    asm volatile ("vxorpd %0, %0, %0" :
                  "=x"(res), "+x"(x), "+r"(a), "+r"(p) ::
                  "memory", "rax", "rcx", "rdx", "r8", "r9", "r10",
                  "r11", "rbp");
    return res;
}

__attribute__((target("avx")))
__attribute__((noinline)) __m256d f2(__m256d x, uint32_t a, const double *p)
{
    __m256d res;
    asm volatile ("vxorpd %0, %0, %0" :
                  "=x"(res), "+x"(x), "+r"(a), "+r"(p) ::
                  "memory", "rax", "rcx", "rdx", "r8", "r9", "r10",
                  "r11", "rbp");
    return res;
}

__attribute__((target("avx")))
__attribute__((noinline)) __m256d f(__m256d x, __m256d y, __m256d z,
                                    uint32_t a, const double *p)
{
    __m256d res;
    asm volatile ("vxorpd %0, %0, %0" :
                  "=x"(res), "+x"(x), "+x"(y), "+x"(z), "+r"(a), "+r"(p) ::
                  "memory", "rax", "rcx", "rdx", "r8", "r9", "r10",
                  "r11", "rbp");
    return res;
}

const double points[] = {0, 0.1, 0.2, 0.6};

__attribute__((target("avx"))) void test_avx()
{
    f(__m256d{0, 0, 0, 0}, __m256d{0, 0, 0, 0},
                           __m256d{0, 0, 0, 0}, 4, points);
    f(__m256d{0, 0, 0, 0}, 4, points);
}

__attribute__((target("avx"))) void test_avx2()
{
    f2(__m256d{0, 0, 0, 0}, 4, points);
}

static void call_aligned_stack(void (*p)(void))
{
    asm volatile ("movq %%rsp, %%rbp\n"
                  "andq $-64, %%rsp\n"
                  "subq $64, %%rsp\n"
                  "callq *%0\n"
                  "movq %%rbp, %%rsp\n"
                  :: "r"(p)
                  : "memory", "rax", "rcx", "rdx", "r8", "r9", "r10", "r11",
"rbp");
}

int main()
{
    call_aligned_stack(test_avx);
    fprintf(stderr, "aaaa\n");
    fflush(stderr);
    call_aligned_stack(test_avx2);
    return 0;
}
```

(The `fprintf` is there only to make it easier to see when the crash happens.)
The stack alignment code makes sure that the stack is aligned to 64bytes before
making the `call`, which is verified in the debugger, however, when compiled
with GCC 8.2.1 on msys2 (using the mingw-w64-x86_64-gcc package) the `test_avx`
function is happy while `test_avx2` function is not.

Looking at the generated code, for the crashing function:

```
00000000004015c0 <_Z9test_avx2v>:
  4015c0:       48 83 ec 68             sub    $0x68,%rsp
  4015c4:       c5 f9 57 c0             vxorpd %xmm0,%xmm0,%xmm0
  4015c8:       4c 8d 0d 51 7a 00 00    lea    0x7a51(%rip),%r9        # 409020
<_ZL6points>
  4015cf:       41 b8 04 00 00 00       mov    $0x4,%r8d
  4015d5:       48 8d 4c 24 40          lea    0x40(%rsp),%rcx
  4015da:       48 8d 54 24 20          lea    0x20(%rsp),%rdx
  4015df:       c5 fd 29 44 24 20       vmovapd %ymm0,0x20(%rsp)
  4015e5:       c5 f8 77                vzeroupper 
  4015e8:       e8 a3 ff ff ff          callq  401590 <_Z2f2Dv4_djPKd>
  4015ed:       90                      nop
  4015ee:       48 83 c4 68             add    $0x68,%rsp
  4015f2:       c3                      retq   
```

which tries to write with 32byte alignment with a stack offset from the initial
call instruction: -8 - 0x68 + 0x20 = -80.

OTOH, for the "good" function,

```
0000000000401640 <_Z8test_avxv>:
  401640:       57                      push   %rdi
  401641:       56                      push   %rsi
  401642:       53                      push   %rbx
  401643:       48 81 ec b0 00 00 00    sub    $0xb0,%rsp
  40164a:       c5 d9 57 e4             vxorpd %xmm4,%xmm4,%xmm4
  40164e:       48 8d 3d cb 79 00 00    lea    0x79cb(%rip),%rdi        #
409020 <_ZL6points>
  401655:       48 8d 74 24 70          lea    0x70(%rsp),%rsi
  40165a:       4c 8d 4c 24 30          lea    0x30(%rsp),%r9
  40165f:       48 89 7c 24 28          mov    %rdi,0x28(%rsp)
  401664:       48 8d 9c 24 90 00 00    lea    0x90(%rsp),%rbx
  40166b:       00 
  40166c:       4c 8d 44 24 50          lea    0x50(%rsp),%r8
  401671:       48 89 f2                mov    %rsi,%rdx
  401674:       c5 fd 29 64 24 70       vmovapd %ymm4,0x70(%rsp)
  40167a:       48 89 d9                mov    %rbx,%rcx
  40167d:       c5 fd 29 64 24 50       vmovapd %ymm4,0x50(%rsp)
  401683:       c5 fd 29 64 24 30       vmovapd %ymm4,0x30(%rsp)
  401689:       c7 44 24 20 04 00 00    movl   $0x4,0x20(%rsp)
  401690:       00 
  401691:       c5 f8 77                vzeroupper 
  401694:       e8 67 ff ff ff          callq  401600 <_Z1fDv4_dS_S_jPKd>
  401699:       c5 d9 57 e4             vxorpd %xmm4,%xmm4,%xmm4
  40169d:       49 89 f9                mov    %rdi,%r9
  4016a0:       48 89 f2                mov    %rsi,%rdx
  4016a3:       41 b8 04 00 00 00       mov    $0x4,%r8d
  4016a9:       48 89 d9                mov    %rbx,%rcx
  4016ac:       c5 fd 29 64 24 70       vmovapd %ymm4,0x70(%rsp)
  4016b2:       c5 f8 77                vzeroupper 
  4016b5:       e8 a6 fe ff ff          callq  401560 <_Z1fDv4_djPKd>
  4016ba:       90                      nop
  4016bb:       48 81 c4 b0 00 00 00    add    $0xb0,%rsp
  4016c2:       5b                      pop    %rbx
  4016c3:       5e                      pop    %rsi
  4016c4:       5f                      pop    %rdi
  4016c5:       c3                      retq   
```

The stack offset for the 32bytes aligned access is, -8 - 8 * 3 - 0xb0 + 0x70 =
-96, which is different from the previous one by 16 so it seems that GCC isn't
even consistent with itself on what stack alignment it expect.
>From gcc-bugs-return-635581-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 04:50:31 2019
Return-Path: <gcc-bugs-return-635581-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90426 invoked by alias); 28 Feb 2019 04: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 90356 invoked by uid 48); 28 Feb 2019 04:50:27 -0000
From: "yyc1992 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/54412] minimal 32-byte stack alignment with -mavx on 64-bit Windows
Date: Thu, 28 Feb 2019 04:50: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: 4.7.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: yyc1992 at gmail dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-54412-4-aA01KOs9dG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-54412-4@http.gcc.gnu.org/bugzilla/>
References: <bug-54412-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: 2019-02/txt/msg03883.txt.bz2
Content-length: 190

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412

--- Comment #24 from Yichao Yu <yyc1992 at gmail dot com> ---
Oh, and the test case above was compiled with -O3 (and -g -Wall -Wextra).
>From gcc-bugs-return-635582-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 04:55:45 2019
Return-Path: <gcc-bugs-return-635582-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51204 invoked by alias); 28 Feb 2019 04:55:44 -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 51107 invoked by uid 48); 28 Feb 2019 04:55:41 -0000
From: "arthur.j.odwyer at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89477] Incorrect CTAD deduction guides for set and multiset
Date: Thu, 28 Feb 2019 04:55:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: arthur.j.odwyer at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89477-4-74ZCjU8b2V@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89477-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89477-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: 2019-02/txt/msg03884.txt.bz2
Content-length: 1301

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89477

--- Comment #4 from Arthur O'Dwyer <arthur.j.odwyer at gmail dot com> ---
libstdc++ passes all my test cases now except this one:
```
// https://godbolt.org/z/kvh9Ih
#include <set>
std::set<int> s;
std::set t(s, std::allocator<long>());
```

The issue is that we humans can logically deduce t's Allocator parameter as
"the same as s's Allocator parameter", but due to an implementation detail, the
compiler is also trying to deduce t's Allocator parameter as
std::allocator<long>, and so it deduces conflicting types and fails deduction.

This test case could be made to work if you changed
https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/include/bits/stl_set.h#L124
from
    typedef _Alloc   allocator_type;
to
    typedef typename __identity<_Alloc>::type   allocator_type;
or whatever libstdc++'s equivalent of __identity is.

MSVC's `set` already effectively does this, by inheriting its `allocator_type`
typedef from a base class. I don't know whether the paper standard has a
definite interpretation one way or the other; it might be open to
interpretation, or it might even say that MSVC is wrong in this case.
(Logically, I think MSVC *should* be right.)

Perhaps a new bugzilla issue should be opened for this one.
>From gcc-bugs-return-635583-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 06:25:41 2019
Return-Path: <gcc-bugs-return-635583-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23617 invoked by alias); 28 Feb 2019 06:25:41 -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 23533 invoked by uid 55); 28 Feb 2019 06:25:33 -0000
From: "helijia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88100] no warning reported when value for vec_splat_{su}{8,16} would overflow
Date: Thu, 28 Feb 2019 06:25: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: unknown
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: helijia 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-88100-4-0O4Z5ch78P@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88100-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88100-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: 2019-02/txt/msg03885.txt.bz2
Content-length: 893

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88100

--- Comment #5 from Li Jia He <helijia at gcc dot gnu.org> ---
Author: helijia
Date: Thu Feb 28 06:24:57 2019
New Revision: 269272

URL: https://gcc.gnu.org/viewcvs?rev=269272&root=gcc&view=rev
Log:
        Backport from trunk
        2019-02-20  Li Jia He  <helijia@linux.ibm.com>

        PR target/88100
        * gcc/config/rs6000/rs6000.c (rs6000_gimple_fold_builtin)
        <case ALTIVEC_BUILTIN_VSPLTISB, ALTIVEC_BUILTIN_VSPLTISH,
        ALTIVEC_BUILTIN_VSPLTISW>: Don't convert the operand before
        range checking it.

        * gcc/testsuite/gcc.target/powerpc/pr88100.c: New testcase.

Added:
    branches/gcc-8-branch/gcc/testsuite/gcc.target/powerpc/pr88100.c
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/config/rs6000/rs6000.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635584-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 06:46:40 2019
Return-Path: <gcc-bugs-return-635584-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72046 invoked by alias); 28 Feb 2019 06:46: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 71871 invoked by uid 48); 28 Feb 2019 06:46:35 -0000
From: "mike at spertus dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89477] Incorrect CTAD deduction guides for set and multiset
Date: Thu, 28 Feb 2019 06:46:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mike at spertus dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89477-4-Pbwzj0MAPC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89477-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89477-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: 2019-02/txt/msg03886.txt.bz2
Content-length: 641

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89477

Mike Spertus <mike at spertus dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike at spertus dot com

--- Comment #5 from Mike Spertus <mike at spertus dot com> ---
Since this deduction comes from the standard’s set(set, Allocator) constructor,
I would say that in this case the gnu behavior is conforming and the MSVC
behavior is not (not implying anything here about what the standard should say,
just what it does...).
>From gcc-bugs-return-635585-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 07:17:14 2019
Return-Path: <gcc-bugs-return-635585-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120986 invoked by alias); 28 Feb 2019 07:17: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 120905 invoked by uid 55); 28 Feb 2019 07:17:10 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89520] [7/8/9 Regression] ICE tree check: accessed operand 4 of call_expr with 3 operands in convert_to_integer_1, at convert.c:668
Date: Thu, 28 Feb 2019 07:17: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89520-4-AIVZKR1qHO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89520-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89520-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: 2019-02/txt/msg03887.txt.bz2
Content-length: 720

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89520

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb 28 07:16:38 2019
New Revision: 269273

URL: https://gcc.gnu.org/viewcvs?rev=269273&root=gcc&view=rev
Log:
        PR c/89520
        * convert.c (convert_to_real_1, convert_to_integer_1): Punt for
        builtins if they don't have a single scalar floating point argument.
        Formatting fixes.

        * gcc.dg/pr89520-1.c: New test.
        * gcc.dg/pr89520-2.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr89520-1.c
    trunk/gcc/testsuite/gcc.dg/pr89520-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/convert.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635586-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 07:18:26 2019
Return-Path: <gcc-bugs-return-635586-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123430 invoked by alias); 28 Feb 2019 07:18: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 123257 invoked by uid 55); 28 Feb 2019 07:18:21 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89525] [9 Regression] inform messages from -Wbuiltin-declaration-mismatch even with -w
Date: Thu, 28 Feb 2019 07:18: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: jakub 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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89525-4-6ayNE7TeVc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89525-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89525-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: 2019-02/txt/msg03888.txt.bz2
Content-length: 589

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89525

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb 28 07:17:49 2019
New Revision: 269274

URL: https://gcc.gnu.org/viewcvs?rev=269274&root=gcc&view=rev
Log:
        PR c/89525
        * c-typeck.c (convert_arguments): Call inform_declaration only if
        the previous warning_at call returned true.

        * gcc.dg/pr89525.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr89525.c
Modified:
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-typeck.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635587-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 07:21:09 2019
Return-Path: <gcc-bugs-return-635587-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128651 invoked by alias); 28 Feb 2019 07:21: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 128589 invoked by uid 48); 28 Feb 2019 07:21:05 -0000
From: "gccbugzilla at limegreensocks dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89482] arm aarch32 inline assembly w constraints generate s registers instead of d
Date: Thu, 28 Feb 2019 07: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: 8.2.0
X-Bugzilla-Keywords: documentation
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gccbugzilla at limegreensocks dot com
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-89482-4-sbSN3Hadun@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89482-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89482-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: 2019-02/txt/msg03889.txt.bz2
Content-length: 750

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89482

--- Comment #7 from David <gccbugzilla at limegreensocks dot com> ---
(In reply to ktkachov from comment #6)
> I think David (CC'ed) was interested in this?
Well, the news here is mixed.

While I attempted to write this (see
https://www.limegreensocks.com/arm/Extended-Asm.html#AArch64Operandmodifiers),
I don't actually speak ARM assembler.  AAR, my confidence in my attempts to
explain things or give examples is limited.  I'm not excited about posting a
doc patch that turns out to be stupid when viewed by ARM experts.

Unless someone who does speak ARM is prepared to comment/review, I'm not sure
how to proceed.  And the few people I know who do speak ARM aren't responding.

- David
>From gcc-bugs-return-635588-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 07:31:14 2019
Return-Path: <gcc-bugs-return-635588-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49318 invoked by alias); 28 Feb 2019 07:31: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 49052 invoked by uid 48); 28 Feb 2019 07:31:09 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89525] [9 Regression] inform messages from -Wbuiltin-declaration-mismatch even with -w
Date: Thu, 28 Feb 2019 07:31: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89525-4-ev5zYgElCB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89525-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89525-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: 2019-02/txt/msg03890.txt.bz2
Content-length: 423

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89525

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-635589-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 07:31:38 2019
Return-Path: <gcc-bugs-return-635589-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50652 invoked by alias); 28 Feb 2019 07:31: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 50532 invoked by uid 48); 28 Feb 2019 07:31:32 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89520] [7/8 Regression] ICE tree check: accessed operand 4 of call_expr with 3 operands in convert_to_integer_1, at convert.c:668
Date: Thu, 28 Feb 2019 07:31: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution short_desc
Message-ID: <bug-89520-4-N7uArQP55Z@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89520-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89520-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: 2019-02/txt/msg03891.txt.bz2
Content-length: 840

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89520

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
            Summary|[7/8/9 Regression] ICE tree |[7/8 Regression] ICE tree
                   |check: accessed operand 4   |check: accessed operand 4
                   |of call_expr with 3         |of call_expr with 3
                   |operands in                 |operands in
                   |convert_to_integer_1, at    |convert_to_integer_1, at
                   |convert.c:668               |convert.c:668

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-635590-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 07:31:58 2019
Return-Path: <gcc-bugs-return-635590-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51750 invoked by alias); 28 Feb 2019 07:31:57 -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 51564 invoked by uid 48); 28 Feb 2019 07:31:53 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89520] [7/8 Regression] ICE tree check: accessed operand 4 of call_expr with 3 operands in convert_to_integer_1, at convert.c:668
Date: Thu, 28 Feb 2019 07:31: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89520-4-sWLc4I0Hz6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89520-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89520-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: 2019-02/txt/msg03892.txt.bz2
Content-length: 447

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89520

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed only for 9+ so far though.
>From gcc-bugs-return-635591-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 07:56:39 2019
Return-Path: <gcc-bugs-return-635591-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22782 invoked by alias); 28 Feb 2019 07:56: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 22672 invoked by uid 48); 28 Feb 2019 07:56:34 -0000
From: "amker at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/80791] [8/9 regression] test case gcc.dg/sms-1.c fail2 starting with r247885
Date: Thu, 28 Feb 2019 07:56: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: 8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amker 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-80791-4-y2RFpSJYMH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80791-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80791-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: 2019-02/txt/msg03893.txt.bz2
Content-length: 3431

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80791

--- Comment #23 from bin cheng <amker at gcc dot gnu.org> ---
(In reply to Kewen Lin from comment #22)
> As the discussion above, on Power any IV should have an extend (sign/zero)
> if its width is less than the GPR width (POINTER_SIZE equivalent here).
> Although we don't model this precisely on Power, in most cases it's trivial
> since we have TYPE_PRECISION check for those inconsistent width uses, extra
> cost will be added, the IV is still the one we prefer even with extension
> consideration in cost modeling, that is, considering extension or not
> doesn't affect the result.
I wonder if a pre-Loop-Opt pass promotes (maybe only induction) variables to
GPR size for usual/simple cases could be helpful? That is, lift burden by
canonicalizing input to IVOPTs as much as possible.  As a mono pass, the
extensibility is not good enough to cover every case, especially based on
possible following optimization.

> 
> In this case, we have one GENERIC use and one CMP use. Cand 4 was chosen as
> the best, but later RTL opts can eliminate CMP use by using counter register
> for the loop closing, it means we don't need to consider CMP use in ivopts
> phase. Since there is no any uses for 32bit IV, the extension cost can NOT
> be covered (ignored) as usual.
> 
> The cost for GENERIC use looks like [cand $index ($iv_cost + $comp_cost)]:
>   1) without considering extension cost, cand 4 (4 + 4) vs. cand 6 (5 + 0) 
>   2) with considering extension cost, cand 4 (8 + 4) vs. cand 6 (9 + 0)
> Since cand 6 can't be used for CMP use, so if we still need to consider CMP,
> cand 4 is always selected, the cost would be larger introducing cand 6. 
> But if can predict CMP is useless and model extension, the cost would be:
> cand 4 (8 + 4) vs. cand 6 (9 + 0). Cand 6 is better.
Elimination of CMP with doloop is not modeled in IVOPTs now, would be great to
have that.  With that support, cand 6 would be chosen regardless of extension
here, right?  Of course, computing cost based on possibly eliminable cand/use
is totally another issue and is even harder.


> 
> I did some hacks locally and it works. But the most tricky and hardest part
> would be how to predict CMP will be optimized away with CTR eventually, 
> the correctness of predict is more important. It looks better to think about
> the simplest case first. The proposed idea is that:
>   1) one target specific hook/flag to enable this adjust
>   2) one target specific predict function to determine the loop can benefit
> do_loop CTR transformation (like innermost loop, no calls, niter determined
> etc.)
>   3) check only one CMP with biv after find_interesting_uses, biv's width <
> POINTER_SIZE, remove the group
>   4) mark the biv preserved to avoid to be removed in remove_unused_ivs
>   5) adjust determine_iv_cost for those IVs which require extension
> (optinal, for this case, it's not necessary but probably good as more
> precise modeling)
> 
> Hi All,
> 
> I'm a new comer to gcc and not sure the above idea is practical enough,
> could you kindly give me some comments and suggestion?

Gibberish, I thought IVOPTs has been improved, but if we continue getting this
kind of sub-optimal issues, maybe we should try to re-implement it, as a group
of small passes each dedicating to specific transformation, rather than a big
mono pass.

Thanks
>From gcc-bugs-return-635592-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 08:47:31 2019
Return-Path: <gcc-bugs-return-635592-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25185 invoked by alias); 28 Feb 2019 08:47: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 19865 invoked by uid 48); 28 Feb 2019 08:47:26 -0000
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89531] New: Possible memory corruption in the gfortran front-end
Date: Thu, 28 Feb 2019 08:47: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: 9.0
X-Bugzilla-Keywords: GC
X-Bugzilla-Severity: normal
X-Bugzilla-Who: asolokha at gmx 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 keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget attachments.created
Message-ID: <bug-89531-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: 2019-02/txt/msg03894.txt.bz2
Content-length: 1302

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89531

            Bug ID: 89531
           Summary: Possible memory corruption in the gfortran front-end
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: GC
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---
            Target: powerpc-*-linux-gnu*

Created attachment 45847
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45847&action=edit
Testcase

gfortran-9.0.0-alpha20190224 snapshot (r269177) ICEs when compiling the
attached testcase extracted from NAS Parallel Benchmarks 3.3.1:

% powerpc-e300c3-linux-gnu-gfortran-9.0.0-alpha20190224 -m32 -O3
-fno-predictive-commoning -fno-tree-scev-cprop -g --param ggc-min-expand=0
--param ggc-min-heapsize=0 --param loop-interchange-stride-ratio=0 --param
max-completely-peeled-insns=3 -c ym32njaj.f

I don't know whether this ICE is target-specific, as I don't have gfortran for
other targets for now.

This seems to be a GC-related error. The compiler crashes in different places,
depending on exact set of the command line arguments and source code included
in the reduced testcase.
>From gcc-bugs-return-635593-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 08:49:01 2019
Return-Path: <gcc-bugs-return-635593-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47013 invoked by alias); 28 Feb 2019 08:48: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 27408 invoked by uid 48); 28 Feb 2019 08:48:47 -0000
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89531] Possible memory corruption in the gfortran front-end
Date: Thu, 28 Feb 2019 08:48: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: GC
X-Bugzilla-Severity: normal
X-Bugzilla-Who: asolokha at gmx 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: attachments.created
Message-ID: <bug-89531-4-2blpib5s2M@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89531-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89531-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: 2019-02/txt/msg03895.txt.bz2
Content-length: 289

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89531

--- Comment #1 from Arseny Solokha <asolokha at gmx dot com> ---
Created attachment 45848
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45848&action=edit
Backtraces

Various backtraces observed during testcase minimization.
>From gcc-bugs-return-635594-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 08:59:49 2019
Return-Path: <gcc-bugs-return-635594-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7719 invoked by alias); 28 Feb 2019 08:59: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 7567 invoked by uid 48); 28 Feb 2019 08:59:44 -0000
From: "ciro.santilli at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89482] arm aarch32 inline assembly w constraints generate s registers instead of d
Date: Thu, 28 Feb 2019 08:59: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: documentation
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ciro.santilli at gmail dot com
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-89482-4-nLrkjYoPag@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89482-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89482-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: 2019-02/txt/msg03896.txt.bz2
Content-length: 1085

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89482

--- Comment #8 from Ciro Santilli <ciro.santilli at gmail dot com> ---
Thanks for the reply, David.

Do you have the doc patch uploaded anywhere to serve as a starting point?

Quick things that we might need to change / clarify:

- is the x constraint documented somewhere? Mentioned at `b     Use with "w" or
"x" constraint to print the register's 8bit B name.`
- also document the aarch32 modifiers, e.g. %P from this thread
- in
https://www.limegreensocks.com/arm/Machine-Constraints.html#Machine-Constraints
"ARM family" why do we have both 't' and 'w', since as per this thread s0 and
d0 are differentiated with a %P modifier?

I don't know GCC internals, but I know enough ARM assembly to experimentally
verify those very quickly and guess from the relevant source point if not too
convoluted, does not look too bad:

- ARM:
https://github.com/gcc-mirror/gcc/blob/gcc-8_2_0-release/gcc/config/arm/arm.c#L22466
- aarch64:
https://github.com/gcc-mirror/gcc/blob/gcc-8_2_0-release/gcc/config/aarch64/aarch64.c#L6743
>From gcc-bugs-return-635595-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 09:12:50 2019
Return-Path: <gcc-bugs-return-635595-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41872 invoked by alias); 28 Feb 2019 09:12: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 41840 invoked by uid 48); 28 Feb 2019 09:12:45 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89532] New: internal compiler error: in type_has_nontrivial_copy_init, at cp/tree.c:4024
Date: Thu, 28 Feb 2019 09:12: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-invalid-code
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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone attachments.created
Message-ID: <bug-89532-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: 2019-02/txt/msg03897.txt.bz2
Content-length: 4671

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89532

            Bug ID: 89532
           Summary: internal compiler error: in
                    type_has_nontrivial_copy_init, at cp/tree.c:4024
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redi at gcc dot gnu.org
  Target Milestone: ---

Created attachment 45849
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45849&action=edit
testcase

Compiling the attached .ii file with -std=gnu++2a causes an ICE. The code has a
circular include, so the std::tuple type is not defined before it's used, so
the code is invalid. I haven't tried to reduce it.

I'm using:
gcc version 9.0.1 20190227 (experimental)


In file included from flat_map:44,
                 from flat_map.cc:1:
/home/jwakely/gcc/9/include/c++/9.0.1/bits/uses_allocator.h: In function
'constexpr auto std::__uses_alloc_piecewise_args(const _Alloc&, _Tuple1&&,
_Tuple2&&)':
/home/jwakely/gcc/9/include/c++/9.0.1/bits/uses_allocator.h:285:19: error:
'make_tuple' is not a member of 'std'
/home/jwakely/gcc/9/include/c++/9.0.1/bits/uses_allocator.h:241:1: note:
'std::make_tuple' is defined in header '<tuple>'; did you forget to '#include
<tuple>'?
/home/jwakely/gcc/9/include/c++/9.0.1/bits/uses_allocator.h:286:9: error:
'apply' is not a member of 'std'
/home/jwakely/gcc/9/include/c++/9.0.1/bits/uses_allocator.h:290:9: error:
'apply' is not a member of 'std'
/home/jwakely/gcc/9/include/c++/9.0.1/bits/uses_allocator.h: At global scope:
/home/jwakely/gcc/9/include/c++/9.0.1/bits/uses_allocator.h:313:65: error:
invalid use of incomplete type 'class std::tuple<>'
In file included from /home/jwakely/gcc/9/include/c++/9.0.1/bits/move.h:55,
                 from /home/jwakely/gcc/9/include/c++/9.0.1/bits/stl_pair.h:59,
                 from /home/jwakely/gcc/9/include/c++/9.0.1/utility:70,
                 from /home/jwakely/gcc/9/include/c++/9.0.1/algorithm:60,
                 from flat_map:36,
                 from flat_map.cc:1:
/home/jwakely/gcc/9/include/c++/9.0.1/type_traits:2511:11: note: declaration of
'class std::tuple<>'
 2511 |     class tuple;
      |           ^~~~~
In file included from flat_map:44,
                 from flat_map.cc:1:
/home/jwakely/gcc/9/include/c++/9.0.1/bits/uses_allocator.h:313:65: internal
compiler error: in type_has_nontrivial_copy_init, at cp/tree.c:4024
0x6559ce type_has_nontrivial_copy_init(tree_node const*)
        /home/jwakely/src/gcc/gcc/gcc/cp/tree.c:4024
0x9f169b build_target_expr_with_type(tree_node*, tree_node*, int)
        /home/jwakely/src/gcc/gcc/gcc/cp/tree.c:800
0x9c52e3 finish_compound_literal(tree_node*, tree_node*, int, fcl_t)
        /home/jwakely/src/gcc/gcc/gcc/cp/semantics.c:2866
0x931c6b cp_parser_functional_cast
        /home/jwakely/src/gcc/gcc/gcc/cp/parser.c:28237
0x943297 cp_parser_postfix_expression
        /home/jwakely/src/gcc/gcc/gcc/cp/parser.c:7098
0x950cb6 cp_parser_unary_expression
        /home/jwakely/src/gcc/gcc/gcc/cp/parser.c:8469
0x92c71f cp_parser_cast_expression
        /home/jwakely/src/gcc/gcc/gcc/cp/parser.c:9355
0x92cf2a cp_parser_binary_expression
        /home/jwakely/src/gcc/gcc/gcc/cp/parser.c:9457
0x92de69 cp_parser_assignment_expression
        /home/jwakely/src/gcc/gcc/gcc/cp/parser.c:9754
0x9312d0 cp_parser_parenthesized_expression_list
        /home/jwakely/src/gcc/gcc/gcc/cp/parser.c:7902
0x942e51 cp_parser_postfix_expression
        /home/jwakely/src/gcc/gcc/gcc/cp/parser.c:7248
0x944254 cp_parser_decltype_expr
        /home/jwakely/src/gcc/gcc/gcc/cp/parser.c:14530
0x944254 cp_parser_decltype
        /home/jwakely/src/gcc/gcc/gcc/cp/parser.c:14626
0x941cc7 cp_parser_simple_type_specifier
        /home/jwakely/src/gcc/gcc/gcc/cp/parser.c:17666
0x9389b5 cp_parser_type_specifier
        /home/jwakely/src/gcc/gcc/gcc/cp/parser.c:17448
0x94cf78 cp_parser_type_specifier_seq
        /home/jwakely/src/gcc/gcc/gcc/cp/parser.c:21903
0x94a0a4 cp_parser_type_id_1
        /home/jwakely/src/gcc/gcc/gcc/cp/parser.c:21732
0x949e1f cp_parser_trailing_type_id
        /home/jwakely/src/gcc/gcc/gcc/cp/parser.c:21838
0x949e1f cp_parser_late_return_type_opt
        /home/jwakely/src/gcc/gcc/gcc/cp/parser.c:21642
0x949e1f cp_parser_direct_declarator
        /home/jwakely/src/gcc/gcc/gcc/cp/parser.c:20777
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-635596-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 09:18:14 2019
Return-Path: <gcc-bugs-return-635596-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50706 invoked by alias); 28 Feb 2019 09:18: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 50583 invoked by uid 48); 28 Feb 2019 09:18:10 -0000
From: "mark at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/88088] -Wtrampolines should be enabled by -Wall (or -Wextra)
Date: Thu, 28 Feb 2019 09:18: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: diagnostic, documentation
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mark 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-88088-4-uL0id275UB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88088-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88088-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: 2019-02/txt/msg03898.txt.bz2
Content-length: 433

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88088

--- Comment #22 from Mark Wielaard <mark at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #21)
> (In reply to Mark Wielaard from comment #20)
> > https://gcc.gnu.org/ml/gcc-patches/2018-11/msg02055.html
> 
> Did this make it in? If not, have you pinged it lately?

No, there was some review, I think we are generally good, but I am waiting for
stage1 to open.
>From gcc-bugs-return-635597-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 09:25:51 2019
Return-Path: <gcc-bugs-return-635597-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62023 invoked by alias); 28 Feb 2019 09:25: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 61948 invoked by uid 48); 28 Feb 2019 09:25:47 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/53646] Surprising effects of cxx11 vs cxx98 ABI compatibility
Date: Thu, 28 Feb 2019 09: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: 4.8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-53646-4-XTIg85Q7yl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-53646-4@http.gcc.gnu.org/bugzilla/>
References: <bug-53646-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: 2019-02/txt/msg03899.txt.bz2
Content-length: 748

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53646

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #23 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I think we can close this. The concrete issue of the pair(pair&&) move
constructor was fixed years ago as PR 53657, and I'm not aware of any more
incompatibilities in recent releases (where C++11 support is stable, and so
should be ABI compatible with C++98).

Any other incompatibilities are bugs and will be fixed if reported.
>From gcc-bugs-return-635598-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 09:26:31 2019
Return-Path: <gcc-bugs-return-635598-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63225 invoked by alias); 28 Feb 2019 09:26: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 63141 invoked by uid 48); 28 Feb 2019 09:26:27 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/71544] gfortran compiler optimization bug when dealing with c-style pointers
Date: Thu, 28 Feb 2019 09:26: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc assigned_to
Message-ID: <bug-71544-4-7n83puPPcw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71544-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71544-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: 2019-02/txt/msg03900.txt.bz2
Content-length: 458

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71544

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |tkoenig at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |tkoenig at gcc dot gnu.org
>From gcc-bugs-return-635599-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 09:27:05 2019
Return-Path: <gcc-bugs-return-635599-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 64265 invoked by alias); 28 Feb 2019 09:27:04 -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 64227 invoked by uid 48); 28 Feb 2019 09:27:00 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89526] Diagnose errors in asserts
Date: Thu, 28 Feb 2019 09: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: 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: keywords bug_severity
Message-ID: <bug-89526-4-Z7s8hagWsL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89526-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89526-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: 2019-02/txt/msg03901.txt.bz2
Content-length: 359

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89526

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
           Severity|normal                      |enhancement
>From gcc-bugs-return-635600-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 09:28:14 2019
Return-Path: <gcc-bugs-return-635600-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76111 invoked by alias); 28 Feb 2019 09:28: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 75997 invoked by uid 48); 28 Feb 2019 09:28:10 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89531] Possible memory corruption in the gfortran front-end
Date: Thu, 28 Feb 2019 09:28: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: GC
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: WAITING
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-89531-4-FJYJKU2KqJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89531-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89531-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: 2019-02/txt/msg03902.txt.bz2
Content-length: 576

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89531

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2019-02-28
     Ever confirmed|0                           |1

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
WORKSFORME on x86_64-apple-darwin18 for the various revisions and options I
have tested.
>From gcc-bugs-return-635601-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 09:32:17 2019
Return-Path: <gcc-bugs-return-635601-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129771 invoked by alias); 28 Feb 2019 09:32: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 129739 invoked by uid 48); 28 Feb 2019 09:32:12 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89452] basic_stringbuf::seekoff and basic_stringbuf::seekpos implementations
Date: Thu, 28 Feb 2019 09:32:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 7.4.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-89452-4-yPYQ5edete@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89452-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89452-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: 2019-02/txt/msg03903.txt.bz2
Content-length: 385

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89452

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Baykov Nikita from comment #0)
> 4. pptr() is a null pointer. Paragraphs [stringbuf.cons]/3,
> [streambuf.cons]/1, [stringbuf. members]/3 guarantee it.

That's no longer true, see PR 80676. It's still true in the libstdc++
implementation today though.
>From gcc-bugs-return-635602-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 09:33:08 2019
Return-Path: <gcc-bugs-return-635602-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10373 invoked by alias); 28 Feb 2019 09:33: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 10325 invoked by uid 48); 28 Feb 2019 09:33:04 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89446] [7/8 Regression] __builtin_constant_p expression crashes in char_traits::compare
Date: Thu, 28 Feb 2019 09:33:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89446-4-51Noc9yBNe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89446-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89446-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: 2019-02/txt/msg03904.txt.bz2
Content-length: 448

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89446

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed on all active branches.
>From gcc-bugs-return-635603-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 09:47:16 2019
Return-Path: <gcc-bugs-return-635603-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67329 invoked by alias); 28 Feb 2019 09:47: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 55368 invoked by uid 48); 28 Feb 2019 09:47:08 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89452] basic_stringbuf::seekoff and basic_stringbuf::seekpos implementations
Date: Thu, 28 Feb 2019 09:47:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 7.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi 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: bug_status resolution
Message-ID: <bug-89452-4-UiEKZAHjko@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89452-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89452-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: 2019-02/txt/msg03905.txt.bz2
Content-length: 936

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89452

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Baykov Nikita from comment #0)
> 4. pptr() is a null pointer. Paragraphs [stringbuf.cons]/3,
> [streambuf.cons]/1, [stringbuf. members]/3 guarantee it.
> 5. [stringbuf.virtuals]/10 specifies that the positioning operation fails,
> i.e., pos_type(-1) should be returned.

I disagree. p10 says it fails if pptr() is zero and newoff is nonzero. Because
way == ios_base::beg Table 113 says that newoff is zero, therefore it doesn't
fail.

This was changed many years ago by https://wg21.link/lwg453
>From gcc-bugs-return-635604-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 09:52:17 2019
Return-Path: <gcc-bugs-return-635604-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82686 invoked by alias); 28 Feb 2019 09:52: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 82412 invoked by uid 48); 28 Feb 2019 09:52:12 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89452] basic_stringbuf::seekoff and basic_stringbuf::seekpos implementations
Date: Thu, 28 Feb 2019 09:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 7.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi 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-89452-4-cSYE8866Ex@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89452-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89452-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: 2019-02/txt/msg03906.txt.bz2
Content-length: 352

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89452

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #2)
> This was changed many years ago by https://wg21.link/lwg453

... and clarified a few months ago by
https://github.com/cplusplus/draft/commit/af40423574aa8e3a495b382840a258f94cb6349d
>From gcc-bugs-return-635605-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 09:55:24 2019
Return-Path: <gcc-bugs-return-635605-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 357 invoked by alias); 28 Feb 2019 09:55: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 130999 invoked by uid 48); 28 Feb 2019 09:55:20 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89513] constexpr functions with function try block shouldn't be accepted at least with -pedantic in -std=c++{11,14,17} modes
Date: Thu, 28 Feb 2019 09:55: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: accepts-invalid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: attachments.isobsolete attachments.created
Message-ID: <bug-89513-4-1cP1M58noK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89513-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89513-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: 2019-02/txt/msg03907.txt.bz2
Content-length: 573

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89513

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45837|0                           |1
        is obsolete|                            |

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45850
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45850&action=edit
gcc9-pr89513.patch

Updated patch which actually implements P1002R1.
>From gcc-bugs-return-635606-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 10:27:40 2019
Return-Path: <gcc-bugs-return-635606-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27475 invoked by alias); 28 Feb 2019 10:27: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 27419 invoked by uid 55); 28 Feb 2019 10:27:35 -0000
From: "paolo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89522] [8/9 Regression] ICE: trying to capture 'f' in instantiation of generic lambda
Date: Thu, 28 Feb 2019 10: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: 9.0
X-Bugzilla-Keywords: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo 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-89522-4-P3CKHyU41n@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89522-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89522-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: 2019-02/txt/msg03908.txt.bz2
Content-length: 510

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89522

--- Comment #1 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Thu Feb 28 10:27:03 2019
New Revision: 269275

URL: https://gcc.gnu.org/viewcvs?rev=269275&root=gcc&view=rev
Log:
2019-02-28  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/89522
        * g++.dg/cpp1y/lambda-generic-ice10.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/lambda-generic-ice10.C
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635607-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 10:28:25 2019
Return-Path: <gcc-bugs-return-635607-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29642 invoked by alias); 28 Feb 2019 10:28: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 28984 invoked by uid 48); 28 Feb 2019 10:28:18 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89522] [8 Regression] ICE: trying to capture 'f' in instantiation of generic lambda
Date: Thu, 28 Feb 2019 10:28: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle 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: bug_status cf_reconfirmed_on short_desc everconfirmed
Message-ID: <bug-89522-4-uMbamxXGhx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89522-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89522-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: 2019-02/txt/msg03909.txt.bz2
Content-length: 778

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89522

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-28
            Summary|[8/9 Regression] ICE:       |[8 Regression] ICE: trying
                   |trying to capture 'f' in    |to capture 'f' in
                   |instantiation of generic    |instantiation of generic
                   |lambda                      |lambda
     Ever confirmed|0                           |1

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Already fixed in trunk.
>From gcc-bugs-return-635608-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 10:44:19 2019
Return-Path: <gcc-bugs-return-635608-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36265 invoked by alias); 28 Feb 2019 10:44:18 -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 36177 invoked by uid 55); 28 Feb 2019 10:44:13 -0000
From: "tnfchris at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88530] [8/9 Regression] AArch64 Unsupported options passed to assemblers when it doesn't need to.
Date: Thu, 28 Feb 2019 10:44: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.0
X-Bugzilla-Keywords: assemble-failure
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tnfchris at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: tnfchris at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88530-4-xsz2iJvJdy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88530-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88530-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: 2019-02/txt/msg03910.txt.bz2
Content-length: 1452

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88530

--- Comment #5 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
Author: tnfchris
Date: Thu Feb 28 10:43:41 2019
New Revision: 269276

URL: https://gcc.gnu.org/viewcvs?rev=269276&root=gcc&view=rev
Log:
AArch64: Have empty HWCAPs string ignored during native feature detection 

This patch makes the feature detection code for AArch64 GCC not add features
automatically when the feature had no hwcaps string to match against.

This means that -mcpu=native no longer adds feature flags such as +profile.
The behavior wasn't noticed before because at the time +profile was added a bug
was preventing any feature bits from being added by native detections.

The loop has also been changed as Jakub specified in order to avoid a memory
leak that was present in the existing code and to be slightly more efficient.

gcc/ChangeLog:

        PR target/88530
        * config/aarch64/aarch64-option-extensions.def: Document it.
        * config/aarch64/driver-aarch64.c (host_detect_local_cpu): Skip feature
        if empty hwcaps.

gcc/testsuite/ChangeLog:

        PR target/88530
        * gcc.target/aarch64/options_set_10.c: New test.



Added:
    trunk/gcc/testsuite/gcc.target/aarch64/options_set_10.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/aarch64/aarch64-option-extensions.def
    trunk/gcc/config/aarch64/driver-aarch64.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635609-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 10:46:44 2019
Return-Path: <gcc-bugs-return-635609-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39820 invoked by alias); 28 Feb 2019 10:46:43 -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 39686 invoked by uid 48); 28 Feb 2019 10:46:39 -0000
From: "tnfchris at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88530] [8 Regression] AArch64 Unsupported options passed to assemblers when it doesn't need to.
Date: Thu, 28 Feb 2019 10:46: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.0
X-Bugzilla-Keywords: assemble-failure
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tnfchris at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: tnfchris at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-88530-4-SB9waTRHEY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88530-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88530-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: 2019-02/txt/msg03911.txt.bz2
Content-length: 614

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88530

Tamar Christina <tnfchris at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[8/9 Regression] AArch64    |[8 Regression] AArch64
                   |Unsupported options passed  |Unsupported options passed
                   |to assemblers when it       |to assemblers when it
                   |doesn't need to.            |doesn't need to.

--- Comment #6 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
Fixed In trunk.
>From gcc-bugs-return-635610-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 10:51:58 2019
Return-Path: <gcc-bugs-return-635610-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62809 invoked by alias); 28 Feb 2019 10:51:57 -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 62769 invoked by uid 48); 28 Feb 2019 10:51:53 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/67542] ICE in gfc_emit_parameter_debug_info, at fortran/trans-decl.c:4947 and :4945
Date: Thu, 28 Feb 2019 10: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: 5.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: WAITING
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-67542-4-JDORS4gKSq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67542-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67542-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: 2019-02/txt/msg03912.txt.bz2
Content-length: 238

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67542

--- Comment #10 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Yep, done.

Do you mean that the PR can be closed as FIXED?

I am wondering if the tests are valid Fortran.
>From gcc-bugs-return-635611-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 10:56:01 2019
Return-Path: <gcc-bugs-return-635611-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78559 invoked by alias); 28 Feb 2019 10:56: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 78477 invoked by uid 48); 28 Feb 2019 10:55:57 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87625] [OOP] (re)allocate on assignment fails for polymorphic array
Date: Thu, 28 Feb 2019 10:56: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: WAITING
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-87625-4-VmmTvqtfEx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87625-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87625-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: 2019-02/txt/msg03913.txt.bz2
Content-length: 221

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87625

--- Comment #7 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Yes, can this please be back-ported? Still broken on at least 8.

This is not a regression.
>From gcc-bugs-return-635612-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 11:23:56 2019
Return-Path: <gcc-bugs-return-635612-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7620 invoked by alias); 28 Feb 2019 11:23:55 -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 7533 invoked by uid 48); 28 Feb 2019 11:23:51 -0000
From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89434] [7/8 Regression] wrong code with -Og and __builtin_mul_overflow()
Date: Thu, 28 Feb 2019 11:23: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ktkachov 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89434-4-ag3PFLW5PN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89434-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89434-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: 2019-02/txt/msg03914.txt.bz2
Content-length: 317

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89434

--- Comment #12 from ktkachov at gcc dot gnu.org ---
(In reply to Jakub Jelinek from comment #11)
> Created attachment 45839 [details]
> gcc9-pr89434.patch
> 
> I'm testing this separately.

This patch is preapproved for trunk if testing is successful.
Thanks.
>From gcc-bugs-return-635613-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 11:25:56 2019
Return-Path: <gcc-bugs-return-635613-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10362 invoked by alias); 28 Feb 2019 11:25:56 -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 10281 invoked by uid 48); 28 Feb 2019 11:25:51 -0000
From: "a.drobyshev at samsung dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82501] AddressSanitizer does not handle negative offset for first global variable
Date: Thu, 28 Feb 2019 11:25: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: unknown
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: a.drobyshev at samsung dot com
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: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-82501-4-16pe0Y88Fi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82501-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82501-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: 2019-02/txt/msg03915.txt.bz2
Content-length: 669

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82501

--- Comment #22 from Andrey Drobyshev <a.drobyshev at samsung dot com> ---
Created attachment 45851
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45851&action=edit
Work-in-progress fix considering relocations

I'm a bit stuck. I managed to precompute reloc value for the globals (the code
for detect_reloc_for_node() is stealed from get_variable_section ()). I also
succeded in putting dummy variable into .data.rel.ro by making a decl of a
pointer type. But .data.rel is not working: checks from varasm.c:1173 and
varasm.c:1197 are somewhat conflicting. Maybe you could find a way to overcome
this?
>From gcc-bugs-return-635614-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 11:37:31 2019
Return-Path: <gcc-bugs-return-635614-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60095 invoked by alias); 28 Feb 2019 11:37: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 60035 invoked by uid 48); 28 Feb 2019 11:37:27 -0000
From: "alexey.kutumov at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89533] New: G++ incorrectly generates noexcept assignment operator
Date: Thu, 28 Feb 2019 11:37: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: alexey.kutumov 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-89533-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: 2019-02/txt/msg03916.txt.bz2
Content-length: 2295

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89533

            Bug ID: 89533
           Summary: G++ incorrectly generates noexcept assignment operator
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: alexey.kutumov at gmail dot com
  Target Milestone: ---

Created attachment 45852
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45852&action=edit
minimal sample which reproduces problem

Consider following example (bad.cpp in atttachment). In this example i have
struct VectorWrapper with following assignment operator:

VectorWrapper& operator=(VectorWrapper) noexcept {
    return *this;
}
Which is really noexcept


And copy ctor:
VectorWrapper(const VectorWrapper& ){
    throw 42;
}
Which is *not* noexcept


If i wrap this struct into
struct MyData {
    VectorWrapper vec;
};


And tries to copy one instance of MyData into another my program crashes even
if i try to catch exception (as seen in bad.cpp).


I suppose that compiler marks assignment operator of MyData as *noexcept* while
it actually is *NOT* noexcept, because it calls copy ctor of VectorWrapper.


I've filed same bug to MSVC:
https://developercommunity.visualstudio.com/content/problem/456988/program-crashes-while-throwing-exception-inside-ge.html?childToView=470086#comment-470086

They said that there is a bug in implementation:

For reference, here's what the Standard has to say:

The exception specification for an implicitly-declared assignment operator, or
an assignment-operator without a noexcept-specifier that is defaulted on its
first declaration, is potentially-throwing if and only if the invocation of any
assignment operator in the implicit definition is potentially-throwing

http://eel.is/c++draft/except.spec#9

Our interpretation of "invocation of any assignment operator" includes the
argument conversions required, not just the specific function(s) being called.
This wording changed quite a bit since C++14, where it explicitly called out
"any function it directly invokes" which would more obviously include the copy
constructor call, yet still no compiler I tried implemented this.
>From gcc-bugs-return-635615-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 12:18:35 2019
Return-Path: <gcc-bugs-return-635615-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128845 invoked by alias); 28 Feb 2019 12:18: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 128756 invoked by uid 48); 28 Feb 2019 12:18:29 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89534] New: mingw is not declarting MAKE_DECL_ONE_ONLY macro
Date: Thu, 28 Feb 2019 12:18: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:
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 target_milestone
Message-ID: <bug-89534-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: 2019-02/txt/msg03917.txt.bz2
Content-length: 567

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89534

            Bug ID: 89534
           Summary: mingw is not declarting MAKE_DECL_ONE_ONLY macro
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---

I'm curious why the target is not using

#define MAKE_DECL_ONE_ONLY(DECL) (DECL_WEAK (DECL) = 1)

is it intentional or a missing feature?
>From gcc-bugs-return-635616-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 12:21:28 2019
Return-Path: <gcc-bugs-return-635616-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1167 invoked by alias); 28 Feb 2019 12:21: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 1123 invoked by uid 48); 28 Feb 2019 12:21:24 -0000
From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89535] New: [9 Regression] ICE when building 416.gamess in prepare_load_store_mask
Date: Thu, 28 Feb 2019 12:21: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ktkachov 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 cf_gcctarget
Message-ID: <bug-89535-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: 2019-02/txt/msg03918.txt.bz2
Content-length: 2469

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89535

            Bug ID: 89535
           Summary: [9 Regression] ICE when building 416.gamess in
                    prepare_load_store_mask
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ktkachov at gcc dot gnu.org
                CC: rsandifo at gcc dot gnu.org
  Target Milestone: ---
            Target: aarch64

I get an ICE when building 416.gamess with -O2 -ftree-vectorize
-march=armv8.4-a+sve -funconstrained-commons -w -std=legacy on aarch64

The reduced testcase is:
      SUBROUTINE FOO(ISH,JSH,P1,P2)

      PARAMETER (MXGTOT=5000, MXGSH=30)

      DIMENSION TMP2(MXGSH), CCBS(MXGSH)
      DIMENSION TMP1(MXGTOT,5)
      DIMENSION P1(15,*)

      LOGICAL SPI,SPJ

      COMMON LIT,LOCI,MINI,NIJ

      LOCI=KLOC(ISH)-MINI
      SPI=LIT.EQ.2.AND.MINI.EQ.1
      DO 10 I=I1,I2
        NGA=NGA+1
        IF(SPI) TMP2(NGA)=TMP1(I,1)/TMP1(I,2)
   10 CONTINUE
      DO 20 J=J1,J2
        IF(SPJ) CCBS(NGB)=TMP1(J,1)/TMP1(J,2)
   20 CONTINUE
      NIJ=0
      DO 300 IA=1,NGA
        DO 200 JB=1,NGB
          IF(DUM.GT.RTOL) GO TO 200
          IF(DUM.LE.DTOL) GO TO 200
          IF(SPI) P1(14,NIJ+P2)=TMP2(IA)
          IF(SPJ) P1(15,NIJ+P2)=CCBS(JB)
  200   CONTINUE
  300 CONTINUE
      RETURN
      END

The ICE is:
during GIMPLE pass: vect
reduce.f:1:0:

    1 |       SUBROUTINE FOO(ISH,JSH,P1,P2)
      | 
internal compiler error: in prepare_load_store_mask, at tree-vect-stmts.c:1922
0xf50214 prepare_load_store_mask
        $SRC/gcc/tree-vect-stmts.c:1922
0xf72344 vectorizable_call
        $SRC/gcc/tree-vect-stmts.c:3490
0xf749fb vect_transform_stmt(_stmt_vec_info*, gimple_stmt_iterator*,
_slp_tree*, _slp_instance*)
        $SRC/gcc/tree-vect-stmts.c:9829
0xf76386 vect_transform_loop_stmt
        $SRC/gcc/tree-vect-loop.c:8199
0xf7f88c vect_transform_loop(_loop_vec_info*)
        $SRC/gcc/tree-vect-loop.c:8418
0xfa86b4 try_vectorize_loop_1
        $SRC/gcc/tree-vectorizer.c:979
0xfa9171 vectorize_loops()
        $SRC/gcc/tree-vectorizer.c:1111
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-635617-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 12:44:47 2019
Return-Path: <gcc-bugs-return-635617-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61793 invoked by alias); 28 Feb 2019 12:44:46 -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 58751 invoked by uid 48); 28 Feb 2019 12:44:41 -0000
From: "linkw at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/80791] [8/9 regression] test case gcc.dg/sms-1.c fail2 starting with r247885
Date: Thu, 28 Feb 2019 12:44: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: 8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: linkw 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-80791-4-0zzrFpo4Qy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-80791-4@http.gcc.gnu.org/bugzilla/>
References: <bug-80791-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: 2019-02/txt/msg03919.txt.bz2
Content-length: 4827

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80791

--- Comment #24 from Kewen Lin <linkw at gcc dot gnu.org> ---
(In reply to bin cheng from comment #23)
> (In reply to Kewen Lin from comment #22)
> > As the discussion above, on Power any IV should have an extend (sign/zero)
> > if its width is less than the GPR width (POINTER_SIZE equivalent here).
> > Although we don't model this precisely on Power, in most cases it's trivial
> > since we have TYPE_PRECISION check for those inconsistent width uses, extra
> > cost will be added, the IV is still the one we prefer even with extension
> > consideration in cost modeling, that is, considering extension or not
> > doesn't affect the result.
> I wonder if a pre-Loop-Opt pass promotes (maybe only induction) variables to
> GPR size for usual/simple cases could be helpful? That is, lift burden by
> canonicalizing input to IVOPTs as much as possible.  As a mono pass, the
> extensibility is not good enough to cover every case, especially based on
> possible following optimization.

It's a very good idea to make some prepass canonicalization, but for this case
it seems we can't guarantee it's safe to promote. Compiler knows nothing about
narrower range of argument m of function f (without lto), it's possible that m
holds INT_MAX (or some values easy to wrap), if we aggressively promote it, it
will have different semantic without extend. I agree that we can determine the
range (range analysis) and get rid of the extend for some cases, or maybe
versioning overflow conditions to get a specialized version without any
possibility to overflow but it sounds too complicated. 
> 
> > 
> > In this case, we have one GENERIC use and one CMP use. Cand 4 was chosen as
> > the best, but later RTL opts can eliminate CMP use by using counter register
> > for the loop closing, it means we don't need to consider CMP use in ivopts
> > phase. Since there is no any uses for 32bit IV, the extension cost can NOT
> > be covered (ignored) as usual.
> > 
> > The cost for GENERIC use looks like [cand $index ($iv_cost + $comp_cost)]:
> >   1) without considering extension cost, cand 4 (4 + 4) vs. cand 6 (5 + 0) 
> >   2) with considering extension cost, cand 4 (8 + 4) vs. cand 6 (9 + 0)
> > Since cand 6 can't be used for CMP use, so if we still need to consider CMP,
> > cand 4 is always selected, the cost would be larger introducing cand 6. 
> > But if can predict CMP is useless and model extension, the cost would be:
> > cand 4 (8 + 4) vs. cand 6 (9 + 0). Cand 6 is better.
> Elimination of CMP with doloop is not modeled in IVOPTs now, would be great
> to have that.  With that support, cand 6 would be chosen regardless of
> extension here, right?  Of course, computing cost based on possibly
> eliminable cand/use is totally another issue and is even harder.

Yes! The key thing here is that the eliminable CMP isn't modeled, the extension
modeling isn't important (that's why it's optional in below step 5) :)
>
>
> > 
> > I did some hacks locally and it works. But the most tricky and hardest part
> > would be how to predict CMP will be optimized away with CTR eventually, 
> > the correctness of predict is more important. It looks better to think about
> > the simplest case first. The proposed idea is that:
> >   1) one target specific hook/flag to enable this adjust
> >   2) one target specific predict function to determine the loop can benefit
> > do_loop CTR transformation (like innermost loop, no calls, niter determined
> > etc.)
> >   3) check only one CMP with biv after find_interesting_uses, biv's width <
> > POINTER_SIZE, remove the group
> >   4) mark the biv preserved to avoid to be removed in remove_unused_ivs
> >   5) adjust determine_iv_cost for those IVs which require extension
> > (optinal, for this case, it's not necessary but probably good as more
> > precise modeling)
> > 
> > Hi All,
> > 
> > I'm a new comer to gcc and not sure the above idea is practical enough,
> > could you kindly give me some comments and suggestion?
> 
> Gibberish, I thought IVOPTs has been improved, but if we continue getting
> this kind of sub-optimal issues, maybe we should try to re-implement it, as
> a group of small passes each dedicating to specific transformation, rather
> than a big mono pass.

I could be wrong, but I think IVOPTs becomes pretty good with your and others'
efforts. (Really appreciate!) I'm not sure whether there are more similar
issues, but it looks understandable to have some limitations or some
sub-optimal scenarios, since sometimes we don't have enough or precise inputs,
like this case, it's hard to precisely predict CMP eliminable or not, have to
use heuristics/checks to archive try-your-best optimal. 

Thanks!

> 
> Thanks
>From gcc-bugs-return-635618-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 12:59:20 2019
Return-Path: <gcc-bugs-return-635618-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17768 invoked by alias); 28 Feb 2019 12:59:19 -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 17694 invoked by uid 48); 28 Feb 2019 12:59:15 -0000
From: "amonakov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/85899] [8/9 Regression] ICE in find_fallthru_edge_from, at haifa-sched.c:8059
Date: Thu, 28 Feb 2019 12:59: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amonakov at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85899-4-4sfYJcj7W5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85899-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85899-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: 2019-02/txt/msg03920.txt.bz2
Content-length: 698

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85899

--- Comment #4 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
It appears that fallthru edges to the exit block are unusual in that they don't
obey the invariant e->dest == e->src->next_bb (i.e. next_bb may be anything).

If so, the assert in haifa-sched needs to be relaxed, so I'm going to
bootstrap/regtest the following:

--- a/gcc/haifa-sched.c
+++ b/gcc/haifa-sched.c
@@ -8082,7 +8082,7 @@ find_fallthru_edge_from (basic_block pred)

       if (e)
        {
-         gcc_assert (e->dest == succ);
+         gcc_assert (e->dest == succ || e->dest->index == EXIT_BLOCK);
          return e;
        }
     }
>From gcc-bugs-return-635620-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 13:01:05 2019
Return-Path: <gcc-bugs-return-635620-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21887 invoked by alias); 28 Feb 2019 13:01:04 -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 21652 invoked by uid 48); 28 Feb 2019 13:01:00 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89434] [7/8 Regression] wrong code with -Og and __builtin_mul_overflow()
Date: Thu, 28 Feb 2019 13:01: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89434-4-W4HPrSgqiv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89434-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89434-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: 2019-02/txt/msg03922.txt.bz2
Content-length: 441

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89434

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |raj.khem at gmail dot com

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
*** Bug 89527 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-635619-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 13:01:03 2019
Return-Path: <gcc-bugs-return-635619-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21729 invoked by alias); 28 Feb 2019 13:01: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 21560 invoked by uid 48); 28 Feb 2019 13:00:59 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89527] GCC ICE internal compiler error during RTL pass: mach on arm/thumb2 compiling glibc
Date: Thu, 28 Feb 2019 13:01: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-89527-4-cfixlp4uxK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89527-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89527-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: 2019-02/txt/msg03921.txt.bz2
Content-length: 584

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89527

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |DUPLICATE

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Already tracked in PR89434.

*** This bug has been marked as a duplicate of bug 89434 ***
>From gcc-bugs-return-635621-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 13:08:54 2019
Return-Path: <gcc-bugs-return-635621-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50686 invoked by alias); 28 Feb 2019 13:08: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 50598 invoked by uid 48); 28 Feb 2019 13:08:49 -0000
From: "csaba_22 at yahoo dot co.uk" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89151] SFINAE-disabled member hides another
Date: Thu, 28 Feb 2019 13:08: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: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: csaba_22 at yahoo dot co.uk
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WORKSFORME
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-89151-4-LXTvPDX9nV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89151-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89151-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: 2019-02/txt/msg03923.txt.bz2
Content-length: 159

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89151

--- Comment #5 from Csaba Ráduly <csaba_22 at yahoo dot co.uk> ---
Appears to be fixed in GCC 8.3.0
>From gcc-bugs-return-635622-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 13:14:13 2019
Return-Path: <gcc-bugs-return-635622-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84474 invoked by alias); 28 Feb 2019 13:14: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 84357 invoked by uid 55); 28 Feb 2019 13:14:07 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89434] [7/8 Regression] wrong code with -Og and __builtin_mul_overflow()
Date: Thu, 28 Feb 2019 13:14: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89434-4-dYrCIVQcfn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89434-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89434-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: 2019-02/txt/msg03924.txt.bz2
Content-length: 508

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89434

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb 28 13:13:33 2019
New Revision: 269277

URL: https://gcc.gnu.org/viewcvs?rev=269277&root=gcc&view=rev
Log:
        PR target/89434
        * config/arm/arm.md (*subsi3_carryin_compare_const): Use
        trunc_int_for_mode (-INTVAL (...), SImode), just instead of
        -UINTVAL (...).

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/arm.md
>From gcc-bugs-return-635623-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 13:15:52 2019
Return-Path: <gcc-bugs-return-635623-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86639 invoked by alias); 28 Feb 2019 13:15: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 86048 invoked by uid 48); 28 Feb 2019 13:15:05 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89497] [8/9 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled
Date: Thu, 28 Feb 2019 13:15: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.3.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin 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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89497-4-trINS0WQG3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89497-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89497-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: 2019-02/txt/msg03925.txt.bz2
Content-length: 2238

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497

--- Comment #19 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #18)
> GIMPLE testcase that doesn't fail, possibly because of NOPs or because of
> missing range info or whatever...
> 
> typedef struct {
>   char array[81];
> } container;
> container *get();
> int guard = 0;
> container c;
> 
> void __GIMPLE (startwith("vrp1"))
> d ()
> {
>   long unsigned int len2;
>   container * a;
>   char * _1;
>   int _18;
>   int i_19;
> 
>   bb_2:
>   a_6 = get ();
>   if (a_6 != _Literal (struct container *) 0)
>     goto bb_3;
>   else
>     goto bb_8;
> 
>   bb_3:
>   _18 = guard;
>   if (_18 != 0)
>     goto bb_5;
>   else
>     goto bb_4;
> 
>   bb_4:
>   ;
> 
>   bb_5:
>   i_19 = __PHI (bb_3: 0, bb_4: 1);
>   _1 = &a_6->array[0];
>   len2_15 = __builtin_strlen (&c.array);
>   if (len2_15 > 81ul)
>     goto bb_6;
>   else
>     goto bb_7;
> 
>   bb_6:
>   ;
> 
>   bb_7:
>   len2_17 = __PHI (bb_5: len2_15, bb_6: 81ul);
>   __builtin_memmove (_1, &c.array, len2_17);
> 
>   bb_8:
>   return;
> 
> }

Who knows, I can see the jump threading happens:

Visiting statement:
_1_23 = &a_25->array[0];
LKUP STMT len2_15 = __builtin_strlen (&c.array) with .MEM_22
<<<< COPY i_19_19 = 1
  Registering jump thread: (4, 5) incoming edge;  (5, 9) normal;
1>>> STMT 1 = len2_15 le_expr 81
1>>> STMT 0 = len2_15 gt_expr 81
0>>> COPY len2_27 = len2_15
<<<< STMT 0 = len2_15 gt_expr 81
<<<< STMT 1 = len2_15 le_expr 81
<<<< COPY len2_27 = len2_15
0>>> COPY i_19_19 = 0
LKUP STMT _1_23 = &a_25->array[0]

Visiting statement:
_1_23 = &a_25->array[0];
LKUP STMT len2_15 = __builtin_strlen (&c.array) with .MEM_22
<<<< COPY i_19_19 = 0
  Registering jump thread: (3, 5) incoming edge;  (5, 9) normal;
  Threaded jump 4 --> 5 to 10
  Threaded jump 3 --> 5 to 10
Removing basic block 5
;; basic block 5, loop depth 0
;;  pred:      
# i_19_19 = PHI <>
bb_5:
_1_23 = &a_6->array[0];
len2_15 = __builtin_strlen (&c.array);
if (0 != 0)
  goto <bb 6>; [INV]
else
  goto <bb 9>; [INV]
;;  succ:       6
;;              9

and the BB is removed, but I can't see the ICE.
>From gcc-bugs-return-635624-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 13:17:45 2019
Return-Path: <gcc-bugs-return-635624-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89740 invoked by alias); 28 Feb 2019 13:17: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 89671 invoked by uid 55); 28 Feb 2019 13:17:41 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/89441] FAIL: g++.dg/ipa/pr89009.C  -std=gnu++98 (test for excess errors)
Date: Thu, 28 Feb 2019 13:17:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: normal
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-89441-4-8De5fMsHdk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89441-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89441-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: 2019-02/txt/msg03926.txt.bz2
Content-length: 542

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89441

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Thu Feb 28 13:17:09 2019
New Revision: 269278

URL: https://gcc.gnu.org/viewcvs?rev=269278&root=gcc&view=rev
Log:
Fix test-case visibility (PR testsuite/89441).

2019-02-28  John David Anglin  <danglin@gcc.gnu.org>

        PR testsuite/89441
        * g++.dg/ipa/pr89009.C: Update symbol visibility.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/ipa/pr89009.C
>From gcc-bugs-return-635625-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 13:19:23 2019
Return-Path: <gcc-bugs-return-635625-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97572 invoked by alias); 28 Feb 2019 13:19: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 97489 invoked by uid 48); 28 Feb 2019 13:19:19 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/89441] FAIL: g++.dg/ipa/pr89009.C  -std=gnu++98 (test for excess errors)
Date: Thu, 28 Feb 2019 13:19:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: normal
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-89441-4-iqaadAlYKa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89441-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89441-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: 2019-02/txt/msg03927.txt.bz2
Content-length: 433

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89441

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-635626-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 13:27:25 2019
Return-Path: <gcc-bugs-return-635626-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31432 invoked by alias); 28 Feb 2019 13:27: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 31329 invoked by uid 48); 28 Feb 2019 13:27:20 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/63164] unnecessary calls to __dynamic_cast
Date: Thu, 28 Feb 2019 13: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: 4.9.1
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: jakub 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-63164-4-N2FjHi4Uc9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63164-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63164-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: 2019-02/txt/msg03928.txt.bz2
Content-length: 872

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63164

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu.org,
                   |                            |jakub at gcc dot gnu.org,
                   |                            |jason at gcc dot gnu.org,
                   |                            |mpolacek at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I guess when we implement http://wg21.link/p1327r1 we could use the same
function to optimize __dynamic_cast in constexpr as well as if during
optimization we determine which vtable a particular __dynamic_cast call is
called with and optimize that too if possible.
>From gcc-bugs-return-635627-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 13:40:18 2019
Return-Path: <gcc-bugs-return-635627-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56103 invoked by alias); 28 Feb 2019 13:40:18 -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 55893 invoked by uid 48); 28 Feb 2019 13:40:14 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89535] [9 Regression] ICE when building 416.gamess in prepare_load_store_mask
Date: Thu, 28 Feb 2019 13:40: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cc target_milestone everconfirmed
Message-ID: <bug-89535-4-Lh0K6zTvoN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89535-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89535-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: 2019-02/txt/msg03929.txt.bz2
Content-length: 668

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89535

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-28
                 CC|                            |jakub at gcc dot gnu.org
   Target Milestone|---                         |9.0
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r262589.
>From gcc-bugs-return-635628-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 13:50:19 2019
Return-Path: <gcc-bugs-return-635628-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114024 invoked by alias); 28 Feb 2019 13:50:18 -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 96398 invoked by uid 55); 28 Feb 2019 13:50:10 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89521] ICE in expand_builtin_int_roundingfn, at builtins.c:2697
Date: Thu, 28 Feb 2019 13: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89521-4-ImVC6BnkdV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89521-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89521-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: 2019-02/txt/msg03930.txt.bz2
Content-length: 496

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89521

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb 28 13:49:38 2019
New Revision: 269280

URL: https://gcc.gnu.org/viewcvs?rev=269280&root=gcc&view=rev
Log:
        PR c/89521
        * gcc.dg/pr89521-1.c: New test.
        * gcc.dg/pr89521-2.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr89521-1.c
    trunk/gcc/testsuite/gcc.dg/pr89521-2.c
Modified:
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635630-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 13:51:53 2019
Return-Path: <gcc-bugs-return-635630-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123944 invoked by alias); 28 Feb 2019 13:51: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 116478 invoked by uid 48); 28 Feb 2019 13:51:49 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89520] [7/8 Regression] ICE tree check: accessed operand 4 of call_expr with 3 operands in convert_to_integer_1, at convert.c:668
Date: Thu, 28 Feb 2019 13: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: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89520-4-Wy41ZweDXC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89520-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89520-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: 2019-02/txt/msg03932.txt.bz2
Content-length: 181

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89520

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
*** Bug 89521 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-635629-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 13:51:53 2019
Return-Path: <gcc-bugs-return-635629-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123087 invoked by alias); 28 Feb 2019 13:51:52 -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 115351 invoked by uid 48); 28 Feb 2019 13:51:48 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89521] ICE in expand_builtin_int_roundingfn, at builtins.c:2697
Date: Thu, 28 Feb 2019 13: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: jakub 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-89521-4-fGTpZVUid4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89521-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89521-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: 2019-02/txt/msg03931.txt.bz2
Content-length: 601

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89521

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |DUPLICATE

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The PR89520 fix actually fixed this one too.

*** This bug has been marked as a duplicate of bug 89520 ***
>From gcc-bugs-return-635631-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 13:56:54 2019
Return-Path: <gcc-bugs-return-635631-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13725 invoked by alias); 28 Feb 2019 13:56: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 13665 invoked by uid 48); 28 Feb 2019 13:56:50 -0000
From: "rsandifo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89535] [9 Regression] ICE when building 416.gamess in prepare_load_store_mask
Date: Thu, 28 Feb 2019 13: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rsandifo at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: rsandifo at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-89535-4-vmL493dxDh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89535-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89535-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: 2019-02/txt/msg03933.txt.bz2
Content-length: 494

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89535

rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |rsandifo at gcc dot gnu.org

--- Comment #2 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> ---
Mine then.
>From gcc-bugs-return-635632-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 13:57:51 2019
Return-Path: <gcc-bugs-return-635632-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15245 invoked by alias); 28 Feb 2019 13:57: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 15194 invoked by uid 48); 28 Feb 2019 13:57:47 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89532] [9 Regression] internal compiler error: in type_has_nontrivial_copy_init, at cp/tree.c:4024
Date: Thu, 28 Feb 2019 13: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-invalid-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: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc assigned_to target_milestone short_desc everconfirmed
Message-ID: <bug-89532-4-OFJr0IrhT2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89532-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89532-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: 2019-02/txt/msg03934.txt.bz2
Content-length: 1035

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89532

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-28
                 CC|                            |mpolacek at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |mpolacek at gcc dot gnu.org
   Target Milestone|---                         |9.0
            Summary|internal compiler error: in |[9 Regression] internal
                   |type_has_nontrivial_copy_in |compiler error: in
                   |it, at cp/tree.c:4024       |type_has_nontrivial_copy_in
                   |                            |it, at cp/tree.c:4024
     Ever confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed.  Started with r268969 ... oops.  I'll reduce.
>From gcc-bugs-return-635633-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 14:09:01 2019
Return-Path: <gcc-bugs-return-635633-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75422 invoked by alias); 28 Feb 2019 14:09: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 75316 invoked by uid 48); 28 Feb 2019 14:08:55 -0000
From: "nok.raven at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/60875] `_Pragma("message \"foo\")"` doesn't work in expression contexts.
Date: Thu, 28 Feb 2019 14:09: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: 4.8.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nok.raven 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: cc
Message-ID: <bug-60875-4-VwbYA9XKQD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60875-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60875-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: 2019-02/txt/msg03935.txt.bz2
Content-length: 937

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60875

Nikita Kniazev <nok.raven at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nok.raven at gmail dot com

--- Comment #4 from Nikita Kniazev <nok.raven at gmail dot com> ---
Is this forbidden by the standard? The Clang and MSVC are fine with such pragma
usage. It really complicates warning suppression.

int main()
{
    return
#pragma GCC diagnostic push
        42;
}

<source>: In function 'int main()':
<source>:4:9: error: '#pragma' is not allowed here
    4 | #pragma GCC diagnostic push
      |         ^~~
<source>:4:12: error: expected ';' before numeric constant
    4 | #pragma GCC diagnostic push
      |            ^
      |            ;
    5 |         42;
      |         ~~ 

https://godbolt.org/z/mT1h0Z
>From gcc-bugs-return-635634-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 14:12:59 2019
Return-Path: <gcc-bugs-return-635634-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62364 invoked by alias); 28 Feb 2019 14:12: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 62209 invoked by uid 48); 28 Feb 2019 14:12:54 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89456] target attribute doesn't work well with -mXXX
Date: Thu, 28 Feb 2019 14:12: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:
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89456-4-kZkmBfr1uN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89456-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89456-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: 2019-02/txt/msg03936.txt.bz2
Content-length: 223

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89456

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
Created attachment 45853
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45853&action=edit
A patch
>From gcc-bugs-return-635635-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 14:14:53 2019
Return-Path: <gcc-bugs-return-635635-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111787 invoked by alias); 28 Feb 2019 14:14:52 -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 111681 invoked by uid 48); 28 Feb 2019 14:14:48 -0000
From: "su at cs dot ucdavis.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89536] New: wrong code at -Os and above on x86_64-linux-gnu
Date: Thu, 28 Feb 2019 14:14: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: su at cs dot ucdavis.edu
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-89536-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: 2019-02/txt/msg03937.txt.bz2
Content-length: 1176

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536

            Bug ID: 89536
           Summary: wrong code at -Os and above on x86_64-linux-gnu
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: su at cs dot ucdavis.edu
  Target Milestone: ---

This appears to be a recent regression. 


$ gcctk -v
Using built-in specs.
COLLECT_GCC=gcctk
COLLECT_LTO_WRAPPER=/home/su/software/tmp/gcc/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/9.0.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc-source-trunk/configure --enable-languages=c,c++,lto
--prefix=/home/su/software/tmp/gcc/gcc-trunk --disable-bootstrap
Thread model: posix
gcc version 9.0.1 20190228 (experimental) [trunk revision 269278] (GCC) 
$ 
$ gcctk -O1 small.c; ./a.out
$ 
$ gcctk -Os small.c
$ ./a.out
Aborted (core dumped)
$ 


-----------------------------


int a = 1;

int main ()
{
  a = ~(a && 1); 
  if (a < -1)
    a = ~a;

  if (!a)
    __builtin_abort ();

  return 0;
}
>From gcc-bugs-return-635636-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 14:16:16 2019
Return-Path: <gcc-bugs-return-635636-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114381 invoked by alias); 28 Feb 2019 14:16: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 114128 invoked by uid 48); 28 Feb 2019 14:16:03 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/60875] `_Pragma("message \"foo\")"` doesn't work in expression contexts.
Date: Thu, 28 Feb 2019 14:16: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: 4.8.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-60875-4-ELKkGVh2Ur@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60875-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60875-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: 2019-02/txt/msg03938.txt.bz2
Content-length: 189

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60875

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Those pragmas are all extensions, so the standard doesn't cover them.
>From gcc-bugs-return-635637-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 14:25:32 2019
Return-Path: <gcc-bugs-return-635637-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1547 invoked by alias); 28 Feb 2019 14:25: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 1247 invoked by uid 55); 28 Feb 2019 14:25:27 -0000
From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89455] [9 Regression] FAIL: g++.target/i386/mv16.C on Westmere
Date: Thu, 28 Feb 2019 14:25: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl 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-89455-4-iWdDkaUuit@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89455-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89455-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: 2019-02/txt/msg03939.txt.bz2
Content-length: 618

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89455

--- Comment #1 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Thu Feb 28 14:24:52 2019
New Revision: 269281

URL: https://gcc.gnu.org/viewcvs?rev=269281&root=gcc&view=rev
Log:
i386: Identify Westmere from PCLMUL

Since AES has been removed from Westmere in GCC 9, we should identify
Westmere from PCLMUL, instead of AES.

        PR target/89455
        * config/i386/i386.c (get_builtin_code_for_version): Identify
        Westmere from PCLMUL, instead of AES.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
>From gcc-bugs-return-635638-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 14:25:50 2019
Return-Path: <gcc-bugs-return-635638-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2769 invoked by alias); 28 Feb 2019 14:25: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 2660 invoked by uid 48); 28 Feb 2019 14:25:45 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89455] [9 Regression] FAIL: g++.target/i386/mv16.C on Westmere
Date: Thu, 28 Feb 2019 14:25: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-89455-4-sInCTbZ6na@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89455-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89455-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: 2019-02/txt/msg03940.txt.bz2
Content-length: 415

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89455

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed.
>From gcc-bugs-return-635639-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 14:26:04 2019
Return-Path: <gcc-bugs-return-635639-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3569 invoked by alias); 28 Feb 2019 14:26: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 3467 invoked by uid 48); 28 Feb 2019 14:25:56 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89536] [9 Regression] wrong code at -Os and above on x86_64-linux-gnu
Date: Thu, 28 Feb 2019 14: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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 cc version target_milestone short_desc everconfirmed
Message-ID: <bug-89536-4-58XB9cTEyw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89536-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89536-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: 2019-02/txt/msg03941.txt.bz2
Content-length: 973

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-28
                 CC|                            |jakub at gcc dot gnu.org
            Version|unknown                     |9.0
   Target Milestone|---                         |9.0
            Summary|wrong code at -Os and above |[9 Regression] wrong code
                   |on x86_64-linux-gnu         |at -Os and above on
                   |                            |x86_64-linux-gnu
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Indeed, started to differ in dom2, around Feb 25th/26th, will bisect in detail
when our bisect seed is populated.
>From gcc-bugs-return-635641-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 14:35:59 2019
Return-Path: <gcc-bugs-return-635641-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69520 invoked by alias); 28 Feb 2019 14:35: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 69368 invoked by uid 48); 28 Feb 2019 14:35:55 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu
Date: Thu, 28 Feb 2019 14:35: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority short_desc
Message-ID: <bug-89536-4-Vbnh3rFTzH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89536-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89536-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: 2019-02/txt/msg03943.txt.bz2
Content-length: 501

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
            Summary|[9 Regression] wrong code   |[8/9 Regression] wrong code
                   |at -Os and above on         |at -Os and above on
                   |x86_64-linux-gnu            |x86_64-linux-gnu
>From gcc-bugs-return-635640-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 14:35:13 2019
Return-Path: <gcc-bugs-return-635640-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65509 invoked by alias); 28 Feb 2019 14:35: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 65348 invoked by uid 48); 28 Feb 2019 14:35:08 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89536] [9 Regression] wrong code at -Os and above on x86_64-linux-gnu
Date: Thu, 28 Feb 2019 14:35: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: cc
Message-ID: <bug-89536-4-bzrHmdrLGw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89536-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89536-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: 2019-02/txt/msg03942.txt.bz2
Content-length: 405

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r269208.
>From gcc-bugs-return-635642-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 14:49:20 2019
Return-Path: <gcc-bugs-return-635642-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112717 invoked by alias); 28 Feb 2019 14:49:19 -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 112592 invoked by uid 48); 28 Feb 2019 14:49:15 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu
Date: Thu, 28 Feb 2019 14:49: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89536-4-5oF9LfDtsH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89536-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89536-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: 2019-02/txt/msg03944.txt.bz2
Content-length: 1150

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I wonder if we shouldn't do:
--- gcc/tree-ssa-dom.c.jj       2019-02-26 14:13:08.296824100 +0100
+++ gcc/tree-ssa-dom.c  2019-02-28 15:46:52.285495060 +0100
@@ -346,6 +346,9 @@ edge_info::derive_equivalences (tree nam
               boolean types with precision > 1.  */
            if (code == BIT_NOT_EXPR
                && TREE_CODE (rhs) == SSA_NAME
+               && (TREE_CODE (TREE_TYPE (rhs)) == BOOLEAN_TYPE
+                   || (INTEGRAL_TYPE_P (TREE_TYPE (rhs))
+                       && TYPE_PRECISION (TREE_TYPE (rhs)) == 1))
                && ssa_name_has_boolean_range (rhs))
              {
                if (integer_zerop (value))

because while ssa_name_has_boolean_range returns true for both the case where
the type is BOOLEAN_TYPE and where the type is integral with precision 1 (and
unsigned), we do not want to do this if the type has larger precision and just
the value has [0, 1] value range.
Perhaps we just should do the checks and not call ssa_name_has_boolean_range
here.
>From gcc-bugs-return-635643-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 14:50:56 2019
Return-Path: <gcc-bugs-return-635643-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115235 invoked by alias); 28 Feb 2019 14:50:56 -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 115153 invoked by uid 48); 28 Feb 2019 14:50:52 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89533] G++ incorrectly generates noexcept assignment operator
Date: Thu, 28 Feb 2019 14: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: 8.0
X-Bugzilla-Keywords: wrong-code
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 everconfirmed
Message-ID: <bug-89533-4-GoyIhEYu3q@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89533-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89533-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: 2019-02/txt/msg03945.txt.bz2
Content-length: 462

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89533

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-28
     Ever confirmed|0                           |1
>From gcc-bugs-return-635644-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 15:02:10 2019
Return-Path: <gcc-bugs-return-635644-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13159 invoked by alias); 28 Feb 2019 15:02: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 13085 invoked by uid 48); 28 Feb 2019 15:02:05 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu
Date: Thu, 28 Feb 2019 15:02: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created
Message-ID: <bug-89536-4-7N1VAefDht@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89536-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89536-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: 2019-02/txt/msg03946.txt.bz2
Content-length: 585

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45854
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45854&action=edit
gcc9-pr89536.patch

Full untested patch.
>From gcc-bugs-return-635645-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 15:02:22 2019
Return-Path: <gcc-bugs-return-635645-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13974 invoked by alias); 28 Feb 2019 15:02: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 13493 invoked by uid 48); 28 Feb 2019 15:02:12 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89537] New: missing location for error
Date: Thu, 28 Feb 2019 15:02: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: diagnostic
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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-89537-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: 2019-02/txt/msg03947.txt.bz2
Content-length: 3805

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89537

            Bug ID: 89537
           Summary: missing location for error
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redi at gcc dot gnu.org
  Target Milestone: ---

The attached code fails to compile (with -std=gnu++20) because it does
addressof(fm->keys) instead of addressof(fm->keys()).

The error is ecpected, but it fails to show the location where the error
happens, just showing "cc1plus" instead:

inc/flat_map: In instantiation of 'std::_Flat_map_iterator<_KeyCont,
_MappedCont, _IsConst>::_Flat_map_iterator(std::flat_map<typename
_KeyCont::value_type, typename _MappedCont::value_type, _Compare, _KeyCont,
_MappedCont>*, std::size_t) [with _Compare = std::less<void>; _KeyCont =
std::vector<int, std::pmr::polymorphic_allocator<int> >; _MappedCont =
std::vector<int, std::allocator<int> >; bool _IsConst = false; typename
_MappedCont::value_type = int; typename _KeyCont::value_type = int; std::size_t
= long unsigned int]':
inc/flat_map:522:50:   required from 'std::flat_map< <template-parameter-1-1>,
<template-parameter-1-2>, <template-parameter-1-3>, <template-parameter-1-4>,
<template-parameter-1-5> >::iterator std::flat_map< <template-parameter-1-1>,
<template-parameter-1-2>, <template-parameter-1-3>, <template-parameter-1-4>,
<template-parameter-1-5> >::begin() [with _Key = int; _Tp = int; _Compare =
std::less<void>; _KeyContainer = std::vector<int,
std::pmr::polymorphic_allocator<int> >; _MappedContainer = std::vector<int,
std::allocator<int> >; std::flat_map< <template-parameter-1-1>,
<template-parameter-1-2>, <template-parameter-1-3>, <template-parameter-1-4>,
<template-parameter-1-5> >::iterator = std::_Flat_map_iterator<std::vector<int,
std::pmr::polymorphic_allocator<int> >, std::vector<int, std::allocator<int> >,
false>]'
flat_map.cc:9:11:   required from here
cc1plus: error: invalid use of non-static member function 'const
key_container_type& std::flat_map< <template-parameter-1-1>,
<template-parameter-1-2>, <template-parameter-1-3>, <template-parameter-1-4>,
<template-parameter-1-5> >::keys() const [with _Key = int; _Tp = int; _Compare
= std::less<void>; _KeyContainer = std::vector<int,
std::pmr::polymorphic_allocator<int> >; _MappedContainer = std::vector<int,
std::allocator<int> >; std::flat_map< <template-parameter-1-1>,
<template-parameter-1-2>, <template-parameter-1-3>, <template-parameter-1-4>,
<template-parameter-1-5> >::key_container_type = std::vector<int,
std::pmr::polymorphic_allocator<int> >]'
In file included from flat_map.cc:1:
inc/flat_map:771:7: note: declared here
  771 |       value_compare value_comp() const { return
value_compare(key_comp()); }
      |       ^~~~
cc1plus: error: invalid use of non-static member function 'const
mapped_container_type& std::flat_map< <template-parameter-1-1>,
<template-parameter-1-2>, <template-parameter-1-3>, <template-parameter-1-4>,
<template-parameter-1-5> >::values() const [with _Key = int; _Tp = int;
_Compare = std::less<void>; _KeyContainer = std::vector<int,
std::pmr::polymorphic_allocator<int> >; _MappedContainer = std::vector<int,
std::allocator<int> >; std::flat_map< <template-parameter-1-1>,
<template-parameter-1-2>, <template-parameter-1-3>, <template-parameter-1-4>,
<template-parameter-1-5> >::mapped_container_type = std::vector<int,
std::allocator<int> >]'
inc/flat_map:774:7: note: declared here
  774 |       keys() const noexcept { return _M_impl.keys; }
      |       ^~~~~~


I haven't tried to reduce this yet.
>From gcc-bugs-return-635646-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 15:03:10 2019
Return-Path: <gcc-bugs-return-635646-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19559 invoked by alias); 28 Feb 2019 15:03: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 15552 invoked by uid 48); 28 Feb 2019 15:03:03 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89537] missing location for error
Date: Thu, 28 Feb 2019 15:03: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: diagnostic
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: attachments.created
Message-ID: <bug-89537-4-nYuEtDZajL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89537-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89537-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: 2019-02/txt/msg03948.txt.bz2
Content-length: 247

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89537

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Created attachment 45855
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45855&action=edit
gzipped unreduced testcase
>From gcc-bugs-return-635647-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 15:08:55 2019
Return-Path: <gcc-bugs-return-635647-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85132 invoked by alias); 28 Feb 2019 15:08: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 85011 invoked by uid 48); 28 Feb 2019 15:08:50 -0000
From: "damian at sourceryinstitute dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89496] [9 Regression] gcc/fortran/trans-types.c:3015:9: runtime error: member access within null pointer of type 'struct gfc_formal_arglist'
Date: Thu, 28 Feb 2019 15:08: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: damian at sourceryinstitute dot org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89496-4-fIsw3zYfUW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89496-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89496-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: 2019-02/txt/msg03949.txt.bz2
Content-length: 552

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89496

Damian Rouson <damian at sourceryinstitute dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |damian at sourceryinstitute dot or
                   |                            |g

--- Comment #7 from Damian Rouson <damian at sourceryinstitute dot org> ---
Thanks for fixing this!  It eliminates an ICE in a legacy code I'm currently
modernizing.
>From gcc-bugs-return-635648-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 15:27:54 2019
Return-Path: <gcc-bugs-return-635648-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39742 invoked by alias); 28 Feb 2019 15:27: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 39638 invoked by uid 48); 28 Feb 2019 15:27:49 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/86979] [9 Regression] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2348 with -m32 on darwin
Date: Thu, 28 Feb 2019 15:27: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: abel at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86979-4-yHTSJ93R2V@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86979-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86979-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: 2019-02/txt/msg03950.txt.bz2
Content-length: 142

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86979

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Any progress on this?
>From gcc-bugs-return-635649-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 15:37:16 2019
Return-Path: <gcc-bugs-return-635649-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97119 invoked by alias); 28 Feb 2019 15:37: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 97021 invoked by uid 48); 28 Feb 2019 15:37:11 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89537] missing location for error
Date: Thu, 28 Feb 2019 15:37: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: diagnostic
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-89537-4-Qu3AsotccF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89537-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89537-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: 2019-02/txt/msg03951.txt.bz2
Content-length: 698

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89537

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-28
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
That error comes from invalid_nonstatic_memfn_p so I'll see if I can figure out
why the location is broken.  Will need to reduce it first though.
>From gcc-bugs-return-635650-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 15:52:46 2019
Return-Path: <gcc-bugs-return-635650-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15840 invoked by alias); 28 Feb 2019 15:52:46 -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 15707 invoked by uid 48); 28 Feb 2019 15:52:41 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71446] Incorrect overload resolution when using designated initializers
Date: Thu, 28 Feb 2019 15: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: 5.3.0
X-Bugzilla-Keywords: accepts-invalid, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason 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-71446-4-NIjbGkePHr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71446-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71446-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: 2019-02/txt/msg03952.txt.bz2
Content-length: 602

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71446

--- Comment #10 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #9)
> So, shall we never try ck_list conversion for CONSTRUCTORs with any
> designators (while for -std=c++2a we'll complain if there is a mix of
> designated initializer clauses and non-designated initializ clauses, I think
> we don't diagnose that earlier, so maybe we need to cache it in some
> CONSTRUCTOR flag?), or never any conversion but ck_aggr?

If there are designated initializers, ck_aggr is the only thing that makes
sense.
>From gcc-bugs-return-635651-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 16:06:41 2019
Return-Path: <gcc-bugs-return-635651-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56668 invoked by alias); 28 Feb 2019 16:06: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 56571 invoked by uid 48); 28 Feb 2019 16:06:36 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71446] Incorrect overload resolution when using designated initializers
Date: Thu, 28 Feb 2019 16:06: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: 5.3.0
X-Bugzilla-Keywords: accepts-invalid, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-71446-4-kaXGv3Jyq3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71446-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71446-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: 2019-02/txt/msg03953.txt.bz2
Content-length: 2230

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71446

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
So like (untested):
--- gcc/call.c.jj       2019-02-28 08:14:58.251562934 +0100
+++ gcc/call.c  2019-02-28 17:04:49.697357298 +0100
@@ -819,7 +819,7 @@ build_list_conv (tree type, tree ctor, i
   conversion **subconvs = alloc_conversions (len);
   conversion *t;
   unsigned i;
-  tree val;
+  tree val, idx;

   /* Within a list-initialization we can have more user-defined
      conversions.  */
@@ -833,8 +833,12 @@ build_list_conv (tree type, tree ctor, i
       || VOID_TYPE_P (elttype))
     return NULL;

-  FOR_EACH_CONSTRUCTOR_VALUE (CONSTRUCTOR_ELTS (ctor), i, val)
+  FOR_EACH_CONSTRUCTOR_ELT (CONSTRUCTOR_ELTS (ctor), i, idx, val)
     {
+      /* If there are any designators, ck_list is not valid.  */
+      if (idx != NULL_TREE)
+       return NULL;
+
       conversion *sub
        = implicit_conversion (elttype, TREE_TYPE (val), val,
                               false, flags, complain);
@@ -1030,7 +1034,7 @@ build_complex_conv (tree type, tree ctor
   unsigned HOST_WIDE_INT len = CONSTRUCTOR_NELTS (ctor);
   tree elttype = TREE_TYPE (type);
   unsigned i;
-  tree val;
+  tree idx, val;
   bool bad = false;
   bool user = false;
   enum conversion_rank rank = cr_exact;
@@ -1040,8 +1044,12 @@ build_complex_conv (tree type, tree ctor

   flags = LOOKUP_IMPLICIT|LOOKUP_NO_NARROWING;

-  FOR_EACH_CONSTRUCTOR_VALUE (CONSTRUCTOR_ELTS (ctor), i, val)
+  FOR_EACH_CONSTRUCTOR_ELT (CONSTRUCTOR_ELTS (ctor), i, idx, val)
     {
+      /* If there are any designators, complex conv is not valid.  */
+      if (idx != NULL_TREE)
+       return NULL;
+
       conversion *sub
        = implicit_conversion (elttype, TREE_TYPE (val), val,
                               false, flags, complain);
@@ -1896,7 +1904,7 @@ implicit_conversion (tree to, tree from,

          if (nelts == 0)
            elt = build_value_init (to, tf_none);
-         else if (nelts == 1)
+         else if (nelts == 1 && CONTRUCTOR_ELT (expr, 0)->index == NULL_TREE)
            elt = CONSTRUCTOR_ELT (expr, 0)->value;
          else
            elt = error_mark_node;
>From gcc-bugs-return-635652-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 16:13:17 2019
Return-Path: <gcc-bugs-return-635652-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82495 invoked by alias); 28 Feb 2019 16:13: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 82294 invoked by uid 48); 28 Feb 2019 16:13:12 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/88235] [7/8/9 Regression] ICE: verify_cgraph_node failed (error: edge points to wrong declaration)
Date: Thu, 28 Feb 2019 16:13: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: 9.0
X-Bugzilla-Keywords: ice-checking, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88235-4-lrD2uKCCgV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88235-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88235-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: 2019-02/txt/msg03954.txt.bz2
Content-length: 536

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88235

--- Comment #4 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
I think you can add cgraph predicate
former_thunk_p which tests that

return !thunk_p && (thunk_info.fixed_offset || virtual_offset_p ||
indirect_offset)

Every thunk should set one of those (it may be good to also add sanity check
that whenever thunk_p the second part of condition suceeds).
This way you don't need to change all uses of thunk_p and patch won't break LTO
streaming once backported to gcc8.

Honza
>From gcc-bugs-return-635653-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 16:14:35 2019
Return-Path: <gcc-bugs-return-635653-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84327 invoked by alias); 28 Feb 2019 16:14: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 84243 invoked by uid 48); 28 Feb 2019 16:14:31 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71446] Incorrect overload resolution when using designated initializers
Date: Thu, 28 Feb 2019 16:14: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: 5.3.0
X-Bugzilla-Keywords: accepts-invalid, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-71446-4-aLQO9tWPgj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71446-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71446-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: 2019-02/txt/msg03955.txt.bz2
Content-length: 152

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71446

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
#c2 with it still fails though.
>From gcc-bugs-return-635654-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 16:16:07 2019
Return-Path: <gcc-bugs-return-635654-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88375 invoked by alias); 28 Feb 2019 16:15: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 87881 invoked by uid 48); 28 Feb 2019 16:15:26 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89532] [9 Regression] internal compiler error: in type_has_nontrivial_copy_init, at cp/tree.c:4024
Date: Thu, 28 Feb 2019 16:15: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-invalid-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: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89532-4-WwTNBUhoNi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89532-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89532-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: 2019-02/txt/msg03956.txt.bz2
Content-length: 180

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89532

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
struct tuple;
template <decltype(tuple {})>
struct S { };
>From gcc-bugs-return-635655-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 16:46:36 2019
Return-Path: <gcc-bugs-return-635655-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27230 invoked by alias); 28 Feb 2019 16:46: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 27129 invoked by uid 55); 28 Feb 2019 16:46:30 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/88585] [9 Regression] ICE in fld_incomplete_type_of, at tree.c:5295
Date: Thu, 28 Feb 2019 16:46: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88585-4-WYJMlSCzE5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88585-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88585-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: 2019-02/txt/msg03957.txt.bz2
Content-length: 473

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88585

--- Comment #5 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Author: hubicka
Date: Thu Feb 28 16:45:44 2019
New Revision: 269282

URL: https://gcc.gnu.org/viewcvs?rev=269282&root=gcc&view=rev
Log:
        PR lto/88585
        * tree.c (find_atomic_core_type): Move ahead in file.
        (check_base_type): Correctly compare alignments of atomic types.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree.c
>From gcc-bugs-return-635656-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 16:46:46 2019
Return-Path: <gcc-bugs-return-635656-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27991 invoked by alias); 28 Feb 2019 16:46:46 -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 27876 invoked by uid 48); 28 Feb 2019 16:46:41 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/88585] [9 Regression] ICE in fld_incomplete_type_of, at tree.c:5295
Date: Thu, 28 Feb 2019 16:46: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-88585-4-m9Vxt2TLsK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88585-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88585-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: 2019-02/txt/msg03958.txt.bz2
Content-length: 423

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88585

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-635657-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 16:49:58 2019
Return-Path: <gcc-bugs-return-635657-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33462 invoked by alias); 28 Feb 2019 16:49: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 33371 invoked by uid 48); 28 Feb 2019 16:49:54 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71446] Incorrect overload resolution when using designated initializers
Date: Thu, 28 Feb 2019 16:49: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: 5.3.0
X-Bugzilla-Keywords: accepts-invalid, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: attachments.created
Message-ID: <bug-71446-4-2LoRncINGk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71446-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71446-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: 2019-02/txt/msg03959.txt.bz2
Content-length: 329

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71446

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45856
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45856&action=edit
WIP

For that test the following helps, but guess I'm still not handling anonymous
aggregates right there.
>From gcc-bugs-return-635658-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 16:57:10 2019
Return-Path: <gcc-bugs-return-635658-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63566 invoked by alias); 28 Feb 2019 16:57: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 63516 invoked by uid 48); 28 Feb 2019 16:57:05 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89537] missing location for error
Date: Thu, 28 Feb 2019 16: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: diagnostic
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89537-4-fA60742Qis@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89537-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89537-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: 2019-02/txt/msg03960.txt.bz2
Content-length: 994

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89537

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
template <typename> class A {};
template <typename, typename, typename, typename> class B;
class C {
  using mapped_type = int;

public:
  template <typename _Compare>
  C(B<mapped_type, _Compare, A<int>, A<int>> *p1, unsigned)
      : keys(p1->keys), values(p1->values) {}
  A<int> keys;
  A<int> values;
};
class D {
public:
  using key_compare = int;
  template <typename _Alloc> D(key_compare, _Alloc);
};
template <typename _Tp, typename, typename, typename = A<_Tp>> class B {
  using _Impl = D;
  _Impl _M_impl;

public:
  using key_compare = int;
  using iterator = C;
  template <typename _Alloc> B(key_compare p1, _Alloc p2) : _M_impl(p1, p2) {}
  template <typename _Alloc> B(_Alloc p1) : B(key_compare(), p1) {}
  iterator begin() { return {this, 0}; }
  void keys();
  void values();
};
void fn1() {
  B<int, int, A<int>> m(fn1);
  m.begin();
}
>From gcc-bugs-return-635659-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 17:00:52 2019
Return-Path: <gcc-bugs-return-635659-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69553 invoked by alias); 28 Feb 2019 17:00: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 69343 invoked by uid 48); 28 Feb 2019 17:00:40 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89537] missing location for error
Date: Thu, 28 Feb 2019 17:00: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: diagnostic
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89537-4-XlsHsevzkW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89537-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89537-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: 2019-02/txt/msg03961.txt.bz2
Content-length: 442

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89537

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
loc is UNKNOWN_LOCATION:

(gdb) up
#1  0x0000000000b98003 in invalid_nonstatic_memfn_p (loc=0, expr=<function_decl
0x7fffeaaf8000 keys>, 
    complain=3) at /home/mpolacek/src/gcc/gcc/cp/typeck.c:1896
1896                  error_at (loc, "invalid use of non-static member function
%qD",
(gdb) p loc
$1 = 0
>From gcc-bugs-return-635660-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 17:06:25 2019
Return-Path: <gcc-bugs-return-635660-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86310 invoked by alias); 28 Feb 2019 17:06: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 85670 invoked by uid 48); 28 Feb 2019 17:06:19 -0000
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88049] [7/8/9 Regression] ICE in lto_symtab_prevailing_virtual_decl at gcc/lto/lto-symtab.c:1075 since r231671
Date: Thu, 28 Feb 2019 17:06: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-invalid-code, lto, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hubicka at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88049-4-sV8vD2r2S7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88049-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88049-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: 2019-02/txt/msg03962.txt.bz2
Content-length: 266

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88049

--- Comment #7 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
I am happy with the patch in #5, so you can consider it pre-approved. It is
probably your call whether to declare the code invalid at first place.
>From gcc-bugs-return-635661-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 17:17:39 2019
Return-Path: <gcc-bugs-return-635661-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83907 invoked by alias); 28 Feb 2019 17:17: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 81527 invoked by uid 48); 28 Feb 2019 17:17:33 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu
Date: Thu, 28 Feb 2019 17:17: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89536-4-V6jCPt0DgO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89536-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89536-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: 2019-02/txt/msg03963.txt.bz2
Content-length: 1154

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536

--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> I wonder if we shouldn't do:
> --- gcc/tree-ssa-dom.c.jj	2019-02-26 14:13:08.296824100 +0100
> +++ gcc/tree-ssa-dom.c	2019-02-28 15:46:52.285495060 +0100
> @@ -346,6 +346,9 @@ edge_info::derive_equivalences (tree nam
>  	       boolean types with precision > 1.  */
>  	    if (code == BIT_NOT_EXPR
>  		&& TREE_CODE (rhs) == SSA_NAME
> +		&& (TREE_CODE (TREE_TYPE (rhs)) == BOOLEAN_TYPE
> +		    || (INTEGRAL_TYPE_P (TREE_TYPE (rhs))
> +			&& TYPE_PRECISION (TREE_TYPE (rhs)) == 1))
>  		&& ssa_name_has_boolean_range (rhs))
>  	      {
>  		if (integer_zerop (value))
> 
> because while ssa_name_has_boolean_range returns true for both the case
> where the type is BOOLEAN_TYPE and where the type is integral with precision
> 1 (and unsigned), we do not want to do this if the type has larger precision
> and just the value has [0, 1] value range.
> Perhaps we just should do the checks and not call ssa_name_has_boolean_range
> here.

There is very likely the same issue in the BIT_AND_EXPR case then.
>From gcc-bugs-return-635662-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 17:19:20 2019
Return-Path: <gcc-bugs-return-635662-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11958 invoked by alias); 28 Feb 2019 17:19: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 10177 invoked by uid 48); 28 Feb 2019 17:19:16 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89537] missing location for error
Date: Thu, 28 Feb 2019 17:19: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: diagnostic
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89537-4-nn0HzenED6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89537-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89537-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: 2019-02/txt/msg03964.txt.bz2
Content-length: 1783

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89537

--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
With this patch

diff --git a/gcc/cp/call.c b/gcc/cp/call.c
index fb67d905acd..d9073d7c23d 100644
--- a/gcc/cp/call.c
+++ b/gcc/cp/call.c
@@ -4246,7 +4246,7 @@ resolve_args (vec<tree, va_gc> *args, tsubst_flags_t
complain)
        error ("invalid use of void expression");
      return NULL;
    }
-      else if (invalid_nonstatic_memfn_p (arg->exp.locus, arg, complain))
+      else if (invalid_nonstatic_memfn_p (EXPR_LOCATION (arg), arg, complain))
    return NULL;
     }
   return args;
diff --git a/gcc/cp/typeck.c b/gcc/cp/typeck.c
index 1db9333b5ff..1bf9ad88141 100644
--- a/gcc/cp/typeck.c
+++ b/gcc/cp/typeck.c
@@ -2562,7 +2562,8 @@ build_class_member_access_expr (cp_expr object, tree
member,
    type = unknown_type_node;
       /* Note that we do not convert OBJECT to the BASELINK_BINFO
     base.  That will happen when the function is called.  */
-      result = build3 (COMPONENT_REF, type, object, member, NULL_TREE);
+      result = build3_loc (input_location, COMPONENT_REF, type, object,
member,
+              NULL_TREE);
     }
   else if (TREE_CODE (member) == CONST_DECL)
     {

we get

89537.C:9:18: error: invalid use of non-static member function ‘void B<
<template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3>,
<template-parameter-1-4> >::keys() [with _Tp = int; <template-parameter-1-2> =
int; <template-parameter-1-3> = A<int>; <template-parameter-1-4> = A<int>]’
    9 |       : keys(p1->keys), values(p1->values) {}
      |              ~~~~^~~~
89537.C:28:8: note: declared here
   28 |   void keys();
      |        ^~~~


so I guess it'd be an improvement.
>From gcc-bugs-return-635663-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 17:28:07 2019
Return-Path: <gcc-bugs-return-635663-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87756 invoked by alias); 28 Feb 2019 17:28:06 -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 87727 invoked by uid 48); 28 Feb 2019 17:28:02 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89537] missing location for error
Date: Thu, 28 Feb 2019 17:28: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: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-89537-4-XPElXyRR8w@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89537-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89537-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: 2019-02/txt/msg03965.txt.bz2
Content-length: 384

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89537

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |mpolacek at gcc dot gnu.org
>From gcc-bugs-return-635664-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 17:31:02 2019
Return-Path: <gcc-bugs-return-635664-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103341 invoked by alias); 28 Feb 2019 17:30: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 103006 invoked by uid 55); 28 Feb 2019 17:30:22 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88049] [7/8/9 Regression] ICE in lto_symtab_prevailing_virtual_decl at gcc/lto/lto-symtab.c:1075 since r231671
Date: Thu, 28 Feb 2019 17:30: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-invalid-code, lto, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88049-4-Z229mNqzRl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88049-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88049-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: 2019-02/txt/msg03966.txt.bz2
Content-length: 733

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88049

--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Feb 28 17:29:48 2019
New Revision: 269283

URL: https://gcc.gnu.org/viewcvs?rev=269283&root=gcc&view=rev
Log:
        PR c++/88049 - ICE with undefined destructor and anon namespace.

A type in an anonymous namespace can never be merged with one from
another translation unit, so a member of such a type is always its own
prevailing decl.

        * lto-symtab.c (lto_symtab_prevailing_virtual_decl): Return early
        for a type in an anonymous namespace.

Added:
    trunk/gcc/testsuite/g++.dg/lto/pr88049_0.C
Modified:
    trunk/gcc/lto/ChangeLog
    trunk/gcc/lto/lto-symtab.c
>From gcc-bugs-return-635665-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 17:31:16 2019
Return-Path: <gcc-bugs-return-635665-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104561 invoked by alias); 28 Feb 2019 17:31: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 104460 invoked by uid 48); 28 Feb 2019 17:31:12 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu
Date: Thu, 28 Feb 2019 17:31: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89536-4-L0br7pu9o8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89536-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89536-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: 2019-02/txt/msg03967.txt.bz2
Content-length: 380

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Eric Botcazou from comment #5)
> There is very likely the same issue in the BIT_AND_EXPR case then.

Isn't that different though?  I mean, even if we have int type and have [0, 1]
range and have a check that the value isn't 0, then it must be 1.
>From gcc-bugs-return-635666-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 17:33:46 2019
Return-Path: <gcc-bugs-return-635666-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118595 invoked by alias); 28 Feb 2019 17:33: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 118508 invoked by uid 48); 28 Feb 2019 17:33:41 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88049] [7/8 Regression] ICE in lto_symtab_prevailing_virtual_decl at gcc/lto/lto-symtab.c:1075 since r23
Date: Thu, 28 Feb 2019 17: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: 9.0
X-Bugzilla-Keywords: ice-on-invalid-code, lto, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-88049-4-jZzCcQZv3M@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88049-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88049-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: 2019-02/txt/msg03968.txt.bz2
Content-length: 670

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88049

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[7/8/9 Regression] ICE in   |[7/8 Regression] ICE in
                   |lto_symtab_prevailing_virtu |lto_symtab_prevailing_virtu
                   |al_decl at                  |al_decl at
                   |gcc/lto/lto-symtab.c:1075   |gcc/lto/lto-symtab.c:1075
                   |since r231671               |since r23

--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed on trunk so far.
>From gcc-bugs-return-635667-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 17:35:59 2019
Return-Path: <gcc-bugs-return-635667-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6508 invoked by alias); 28 Feb 2019 17:35: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 4496 invoked by uid 48); 28 Feb 2019 17:35:55 -0000
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/67542] ICE in gfc_emit_parameter_debug_info, at fortran/trans-decl.c:4947 and :4945
Date: Thu, 28 Feb 2019 17:35: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: 5.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gscfq@t-online.de
X-Bugzilla-Status: WAITING
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-67542-4-GGRIOuxzRo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67542-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67542-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: 2019-02/txt/msg03969.txt.bz2
Content-length: 2506

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67542

--- Comment #11 from G. Steinmetz <gscfq@t-online.de> ---

Well, the ICEs are gone for all posted test cases above.

Assuming that different shapes are not supported as an extension
(aka feature), as such they are not standard-conforming.

F2018 7.5.10 item 2 says
"... expr shall conform in the same way as for a variable
and expr in an intrinsic assignment statement (10.2.1.2).
If necessary, each value of intrinsic type is converted
according to the rules of intrinsic assignment (10.2.1.3)
to a value that agrees in type and type parameters with
the corresponding component of the derived type. For a
nonpointer nonallocatable component, the shape of the
expression shall conform with the shape of the component."


In the following modified example z1.f90 from comment 0
x and z should be flagged with an error :

$ cat z1b.f90
program p
   type t
      integer :: n
      character :: c(2)
   end type
   type(t) :: x = t(1, ['a'])
   type(t) :: y = t(2, ['a', 'b'])
   type(t) :: z = t(3, ['a', 'b', 'c'])
end


---


In the meantime I felt compelled to dig a little further ... 
and unfortunately there are more variants, which fail. 
(also depending on presence/absence of parameter attribute,
prints, compile options)


$ cat za.f90
program p
   type t
      integer :: a(1)
      integer :: b(1)
   end type
   type(t), parameter :: z(2) = t([1,2], [3])
end


$ gfortran-9-20190224 -c za.f90
$ gfortran-9-20190224 -c za.f90 -g
za.f90:7:0:

    7 | end
      |
internal compiler error: in native_encode_initializer, at dwarf2out.c:20274
0x804af8 native_encode_initializer
        ../../gcc/dwarf2out.c:20274
0x804a97 native_encode_initializer
        ../../gcc/dwarf2out.c:20316
0x804ad7 native_encode_initializer
        ../../gcc/dwarf2out.c:20259
0x826d15 tree_add_const_value_attribute
        ../../gcc/dwarf2out.c:20374
#...



$ cat zb.f90
program p
   type t
      integer :: a(1)
      integer :: b(1)
   end type
   type(t), parameter :: z(2) = t([1,2], [3])
   print *, z
end


$ gfortran-9-20190224 -c zb.f90    # -g not necessary
zb.f90:8:0:

    8 | end
      |
internal compiler error: in output_constructor_regular_field, at varasm.c:5207
0xda71d1 output_constructor_regular_field
        ../../gcc/varasm.c:5207
0xda71d1 output_constructor
        ../../gcc/varasm.c:5513
0xda68a5 output_constant
        ../../gcc/varasm.c:4885
0xda68a5 output_constructor_regular_field
        ../../gcc/varasm.c:5246
#...
>From gcc-bugs-return-635668-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 17:43:49 2019
Return-Path: <gcc-bugs-return-635668-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20674 invoked by alias); 28 Feb 2019 17:43: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 20613 invoked by uid 48); 28 Feb 2019 17:43:45 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu
Date: Thu, 28 Feb 2019 17: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89536-4-ri76wvce0S@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89536-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89536-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: 2019-02/txt/msg03970.txt.bz2
Content-length: 342

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536

--- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Isn't that different though?  I mean, even if we have int type and have [0,
> 1] range and have a check that the value isn't 0, then it must be 1.

Then I don't understand the problem in the BIT_NOT_EXPR case: we h
>From gcc-bugs-return-635669-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 17:51:29 2019
Return-Path: <gcc-bugs-return-635669-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32247 invoked by alias); 28 Feb 2019 17:51: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 32160 invoked by uid 48); 28 Feb 2019 17:51:24 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71446] Incorrect overload resolution when using designated initializers
Date: Thu, 28 Feb 2019 17: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: 5.3.0
X-Bugzilla-Keywords: accepts-invalid, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: attachments.isobsolete attachments.created
Message-ID: <bug-71446-4-dIFErn5XxA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71446-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71446-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: 2019-02/txt/msg03971.txt.bz2
Content-length: 948

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71446

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45856|0                           |1
        is obsolete|                            |

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45857
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45857&action=edit
gcc9-pr71446-wip.patch

So, that would be following.  Except that it breaks desig{4,6}.C testcases, but
those try to implement what [over.ics.list]/2 says.  So, it is unclear to me
what exactly is build_aggr_conv actually supposed to do.  If the desig11.C
testcase is valid, then we can't just ignore the designators as we were doing
before, but on the other side if we must ignore the order, then would we need
to lookup up each field?
>From gcc-bugs-return-635670-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 17:52:07 2019
Return-Path: <gcc-bugs-return-635670-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33418 invoked by alias); 28 Feb 2019 17:52: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 33352 invoked by uid 48); 28 Feb 2019 17:52:03 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu
Date: Thu, 28 Feb 2019 17:52: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89536-4-uoIeqFJKOW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89536-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89536-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: 2019-02/txt/msg03972.txt.bz2
Content-length: 459

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536

--- Comment #8 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Isn't that different though?  I mean, even if we have int type and have [0,
> 1] range and have a check that the value isn't 0, then it must be 1.

Then I don't understand the problem in the BIT_NOT_EXPR case: we have int type
and [0, 1] range for rhs; if we know that BIT_NOT_EXPR is zero, we can deduce
than it must be 1 too.
>From gcc-bugs-return-635671-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 17:54:17 2019
Return-Path: <gcc-bugs-return-635671-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36715 invoked by alias); 28 Feb 2019 17:54: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 36449 invoked by uid 48); 28 Feb 2019 17:54:12 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu
Date: Thu, 28 Feb 2019 17: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89536-4-Xcpo6hbxPE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89536-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89536-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: 2019-02/txt/msg03973.txt.bz2
Content-length: 387

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536

--- Comment #9 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Then I don't understand the problem in the BIT_NOT_EXPR case: we have int
> type and [0, 1] range for rhs; if we know that BIT_NOT_EXPR is zero, we can
> deduce that it must be 1 too.

So the problem is in the non-zero case?  Maybe add a test on integer_onep?
>From gcc-bugs-return-635672-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 18:03:33 2019
Return-Path: <gcc-bugs-return-635672-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60120 invoked by alias); 28 Feb 2019 18:03: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 60038 invoked by uid 48); 28 Feb 2019 18:03:29 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu
Date: Thu, 28 Feb 2019 18:03: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89536-4-7MAaTzkjse@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89536-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89536-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: 2019-02/txt/msg03974.txt.bz2
Content-length: 1158

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Eric Botcazou from comment #9)
> > Then I don't understand the problem in the BIT_NOT_EXPR case: we have int
> > type and [0, 1] range for rhs; if we know that BIT_NOT_EXPR is zero, we can
> > deduce that it must be 1 too.
> 
> So the problem is in the non-zero case?  Maybe add a test on integer_onep?

On the testcase, value is -2 and before your change it would derive correctly
that if BIT_NOT_EXPR is -2, then rhs must be ~-2, i.e. 1, but after the patch
it says rhs must be 0.  Adding integer_onep wouldn't be correct IMHO, if you
have some non-boolean non-prec==1 integral type, even if you know rhs has range
[0, 1], if BIT_NOT_EXPR should be assumed to have value 0, then rhs needs to be
assumed to have value ~0, i.e. -1, rather than 1, and similarly if BIT_NOT_EXPR
has value 1, then rhs needs to be assumed to have value ~1, i.e. -2, rather
than 0.  Due to actual value range that will turn to be something impossible,
but what the boolean-ish case does is just not correct for non-boolean.
>From gcc-bugs-return-635673-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 18:07:14 2019
Return-Path: <gcc-bugs-return-635673-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 70283 invoked by alias); 28 Feb 2019 18:07: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 70157 invoked by uid 48); 28 Feb 2019 18:07:09 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu
Date: Thu, 28 Feb 2019 18:07: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89536-4-ii3MkYNyJw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89536-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89536-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: 2019-02/txt/msg03975.txt.bz2
Content-length: 479

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The [0, 1] range in that case (if not boolean or prec==1) is not the property
of the type, but just that optimizations figured out the SSA_NAME will not have
other values.  In tree-ssa-dom.c it goes in the opposite direction, sees that
there is ~x == value comparison, and from that tries to derive what x could be
if that comparison is true.
>From gcc-bugs-return-635674-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 18:13:11 2019
Return-Path: <gcc-bugs-return-635674-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66155 invoked by alias); 28 Feb 2019 18:13: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 63754 invoked by uid 48); 28 Feb 2019 18:13:06 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu
Date: Thu, 28 Feb 2019 18:13: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89536-4-ZDZ0Wc7cyc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89536-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89536-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: 2019-02/txt/msg03976.txt.bz2
Content-length: 1792

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536

--- Comment #12 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> On the testcase, value is -2 and before your change it would derive
> correctly that if BIT_NOT_EXPR is -2, then rhs must be ~-2, i.e. 1, but
> after the patch it says rhs must be 0.

Right, an annoying oversight, which would be cured by:

Index: tree-ssa-dom.c
===================================================================
--- tree-ssa-dom.c      (revision 269211)
+++ tree-ssa-dom.c      (working copy)
@@ -346,7 +346,8 @@ edge_info::derive_equivalences (tree nam
               boolean types with precision > 1.  */
            if (code == BIT_NOT_EXPR
                && TREE_CODE (rhs) == SSA_NAME
-               && ssa_name_has_boolean_range (rhs))
+               && ssa_name_has_boolean_range (rhs)
+               && (integer_zerop (value) || integer_onep (value)))
              {
                if (integer_zerop (value))
                  res = build_one_cst (TREE_TYPE (rhs));

> Adding integer_onep wouldn't be
> correct IMHO, if you have some non-boolean non-prec==1 integral type, even
> if you know rhs has range [0, 1], if BIT_NOT_EXPR should be assumed to have
> value 0, then rhs needs to be assumed to have value ~0, i.e. -1, rather than
> 1, and similarly if BIT_NOT_EXPR has value 1, then rhs needs to be assumed
> to have value ~1, i.e. -2, rather than 0.  Due to actual value range that
> will turn to be something impossible, but what the boolean-ish case does is
> just not correct for non-boolean.

With this line of reasoning, how can the BIT_AND_EXPR case be correct?
>From gcc-bugs-return-635675-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 18:52:26 2019
Return-Path: <gcc-bugs-return-635675-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114382 invoked by alias); 28 Feb 2019 18:52: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 114279 invoked by uid 48); 28 Feb 2019 18:52:21 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu
Date: Thu, 28 Feb 2019 18:52: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89536-4-tSlyhHFR3e@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89536-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89536-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: 2019-02/txt/msg03977.txt.bz2
Content-length: 1295

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536

--- Comment #13 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> On the testcase, value is -2 and before your change it would derive
> correctly that if BIT_NOT_EXPR is -2, then rhs must be ~-2, i.e. 1, but
> after the patch it says rhs must be 0.

The oversight is actually on the integer_zerop predicate itself so:

Index: tree-ssa-dom.c
===================================================================
--- tree-ssa-dom.c      (revision 269211)
+++ tree-ssa-dom.c      (working copy)
@@ -348,7 +348,7 @@ edge_info::derive_equivalences (tree nam
                && TREE_CODE (rhs) == SSA_NAME
                && ssa_name_has_boolean_range (rhs))
              {
-               if (integer_zerop (value))
+               if ((TREE_INT_CST_LOW (value) & 1) == 0)
                  res = build_one_cst (TREE_TYPE (rhs));
                else
                  res = build_zero_cst (TREE_TYPE (rhs));

is the immediate fix.

On the other hand, if your line of reasoning is correct, then we must restrict
both the BIT_AND_EXPR and the BIT_NOT_EXPR cases to bona-fide boolean types.
>From gcc-bugs-return-635676-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 18:53:17 2019
Return-Path: <gcc-bugs-return-635676-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116369 invoked by alias); 28 Feb 2019 18:53: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 116126 invoked by uid 48); 28 Feb 2019 18:53:13 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu
Date: Thu, 28 Feb 2019 18: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89536-4-OL0O8EjY6f@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89536-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89536-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: 2019-02/txt/msg03978.txt.bz2
Content-length: 1208

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Eric Botcazou from comment #12)
> > Adding integer_onep wouldn't be
> > correct IMHO, if you have some non-boolean non-prec==1 integral type, even
> > if you know rhs has range [0, 1], if BIT_NOT_EXPR should be assumed to have
> > value 0, then rhs needs to be assumed to have value ~0, i.e. -1, rather than
> > 1, and similarly if BIT_NOT_EXPR has value 1, then rhs needs to be assumed
> > to have value ~1, i.e. -2, rather than 0.  Due to actual value range that
> > will turn to be something impossible, but what the boolean-ish case does is
> > just not correct for non-boolean.
> 
> With this line of reasoning, how can the BIT_AND_EXPR case be correct?

So, for BIT_AND_EXPR we only handle the case where the result of BIT_AND_EXPR
is known to be non-zero.  That means both operands have to be non-zero (and
have at least one common bit).  Now, if say the operation is done on int and we
know
that rhs1 (or rhs2 or both) have [0, 1] range, that means we can safely assume
that BIT_AND_EXPR is non-zero implies that rhs1 (or rhs2 or both) are 1.
>From gcc-bugs-return-635677-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 19:01:58 2019
Return-Path: <gcc-bugs-return-635677-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 70912 invoked by alias); 28 Feb 2019 19:01:57 -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 70746 invoked by uid 48); 28 Feb 2019 19:01:52 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu
Date: Thu, 28 Feb 2019 19:01: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89536-4-s1tLtGEPgw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89536-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89536-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: 2019-02/txt/msg03979.txt.bz2
Content-length: 309

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536

--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
How is BIT_NOT_EXPR expanded for the prec > 1 BOOLEAN_TYPEs btw?  If it is
normal QImode or SImode etc. one's complement, then I'd say it is a bug if
match.pd generates such BIT_NOT_EXPRs.
>From gcc-bugs-return-635678-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 19:09:04 2019
Return-Path: <gcc-bugs-return-635678-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92823 invoked by alias); 28 Feb 2019 19:09:04 -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 92694 invoked by uid 48); 28 Feb 2019 19:09:00 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu
Date: Thu, 28 Feb 2019 19:09: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89536-4-YzBymsdzRy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89536-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89536-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: 2019-02/txt/msg03980.txt.bz2
Content-length: 779

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536

--- Comment #16 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> So, for BIT_AND_EXPR we only handle the case where the result of
> BIT_AND_EXPR is known to be non-zero.  That means both operands have to be
> non-zero (and have at least one common bit).  Now, if say the operation is
> done on int and we know that rhs1 (or rhs2 or both) have [0, 1] range, that
> means we can safely assume that BIT_AND_EXPR is non-zero implies that rhs1
> (or rhs2 or both) are 1.

But why would the [0, 1] range hold in the BIT_AND_EXPR case and not in the
BIT_NOT_EXPR case?  Either we take the range as granted in both cases or in
none of them.  If the former, then we can apply the exclusion game in the
BIT_NOT_EXPR case too.
>From gcc-bugs-return-635679-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 19:10:45 2019
Return-Path: <gcc-bugs-return-635679-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97272 invoked by alias); 28 Feb 2019 19:10:44 -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 97152 invoked by uid 48); 28 Feb 2019 19:10:40 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu
Date: Thu, 28 Feb 2019 19:10: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89536-4-jMPCy8KALd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89536-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89536-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: 2019-02/txt/msg03981.txt.bz2
Content-length: 387

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536

--- Comment #17 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> How is BIT_NOT_EXPR expanded for the prec > 1 BOOLEAN_TYPEs btw?  If it is
> normal QImode or SImode etc. one's complement, then I'd say it is a bug if
> match.pd generates such BIT_NOT_EXPRs.

No idea about the question, but I would agree with the conclusion.
>From gcc-bugs-return-635680-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 19:20:31 2019
Return-Path: <gcc-bugs-return-635680-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35443 invoked by alias); 28 Feb 2019 19:20: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 35268 invoked by uid 48); 28 Feb 2019 19:20:26 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu
Date: Thu, 28 Feb 2019 19:20: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89536-4-BDAoRuWJM0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89536-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89536-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: 2019-02/txt/msg03982.txt.bz2
Content-length: 1436

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536

--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
We do take the range as granted in both cases.  If for BIT_NOT_EXPR on say int
the result is -2 or -1, then your TREE_INT_CST_LOW fix would DTRT, sure.  If
the result is any other value, then we run into the impossible territory, if
previous optimizations did a good job, then likely that comparison should have
been folded away, but what if it appeared since the last pass that could have
optimized it away?  By that I mean something like if we end up with following
before dom2:
  a.0_1 = a;
  _2 = a.0_1 != 0;
  # RANGE [0, 1] NONZERO 1
  _3 = (int) _2;
  # RANGE [-2, -1]
  _4 = ~_3;
  # .MEM_8 = VDEF <.MEM_7(D)>
  a = _4;
  if (_4 == -5) // on the testcase from this pr it is -2 here
    goto <bb 3>; [34.00%]
  else
    goto <bb 4>; [66.00%]

  <bb 3> [local count: 365072220]:
  # .MEM_9 = VDEF <.MEM_8>
  a = _3;

Normally I'd say the _4 == -5 comparison would be optimized to 0 because _4 has
RANGE [-2, -1].  If for whatever reason it is not, then I think it is better to
keep status quo in the dominated code.  I guess your TREE_INT_CST_LOW & 1 hunk
is probably still desirable for the Ada boolean case (or we fix match.pd and
drop this altogether at some point).  As the patch has been applied to 8.3.1,
we have a serious regression and need a fix fast though.
>From gcc-bugs-return-635681-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 20:05:08 2019
Return-Path: <gcc-bugs-return-635681-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40219 invoked by alias); 28 Feb 2019 20:05: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 40128 invoked by uid 48); 28 Feb 2019 20:05:03 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/71544] gfortran compiler optimization bug when dealing with c-style pointers
Date: Thu, 28 Feb 2019 20:05: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-71544-4-KR00x5mU0m@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71544-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71544-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: 2019-02/txt/msg03983.txt.bz2
Content-length: 1476

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71544

--- Comment #13 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
This looks like it does the trick (test case passes):

Index: trans-types.c
===================================================================
--- trans-types.c       (Revision 269260)
+++ trans-types.c       (Arbeitskopie)
@@ -1176,7 +1176,8 @@ gfc_typenode_for_spec (gfc_typespec * spec, int co
         {
           spec->type = BT_INTEGER;
           spec->kind = gfc_index_integer_kind;
-          spec->f90_type = BT_VOID;
+         spec->f90_type = BT_VOID;
+         spec->is_c_interop = 1;  /* Mark as escaping later.  */
         }
       break;
     case BT_VOID:
@@ -2957,7 +2958,8 @@ create_fn_spec (gfc_symbol *sym, tree fntype)
                    || f->sym->ts.u.derived->attr.pointer_comp))
            || (f->sym->ts.type == BT_CLASS
                && (CLASS_DATA (f->sym)->ts.u.derived->attr.proc_pointer_comp
-                   || CLASS_DATA (f->sym)->ts.u.derived->attr.pointer_comp)))
+                   || CLASS_DATA (f->sym)->ts.u.derived->attr.pointer_comp))
+           || (f->sym->ts.type == BT_INTEGER && f->sym->ts.is_c_interop))
          spec[spec_len++] = '.';
        else if (f->sym->attr.intent == INTENT_IN)
          spec[spec_len++] = 'r';
>From gcc-bugs-return-635683-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 20:31:41 2019
Return-Path: <gcc-bugs-return-635683-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111563 invoked by alias); 28 Feb 2019 20:31: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 111174 invoked by uid 55); 28 Feb 2019 20:31:34 -0000
From: "tschwinge at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89433] Repeated use of the OpenACC 'routine' directive
Date: Thu, 28 Feb 2019 20:31: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: openacc, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tschwinge at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: tschwinge at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89433-4-2lIDwavuls@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89433-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89433-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: 2019-02/txt/msg03985.txt.bz2
Content-length: 1040

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89433

--- Comment #1 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Author: tschwinge
Date: Thu Feb 28 20:31:01 2019
New Revision: 269285

URL: https://gcc.gnu.org/viewcvs?rev=269285&root=gcc&view=rev
Log:
[PR72741, PR89433] Accept intrinsic symbols in Fortran OpenACC 'routine'
directives

        gcc/fortran/
        PR fortran/72741
        PR fortran/89433
        * openmp.c (gfc_match_oacc_routine): Accept intrinsic symbols.
        gcc/testsuite/
        PR fortran/72741
        PR fortran/89433
        * gfortran.dg/goacc/routine-6.f90: Update
        * gfortran.dg/goacc/routine-intrinsic-1.f: New file.
        * gfortran.dg/goacc/routine-intrinsic-2.f: Likewise.

Added:
    trunk/gcc/testsuite/gfortran.dg/goacc/routine-intrinsic-1.f
    trunk/gcc/testsuite/gfortran.dg/goacc/routine-intrinsic-2.f
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/openmp.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/goacc/routine-6.f90
>From gcc-bugs-return-635682-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 20:31:41 2019
Return-Path: <gcc-bugs-return-635682-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111549 invoked by alias); 28 Feb 2019 20:31: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 111175 invoked by uid 55); 28 Feb 2019 20:31:34 -0000
From: "tschwinge at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/72741] Fortran OpenACC routine directive doesn't properly handle clauses specifying the level of parallelism
Date: Thu, 28 Feb 2019 20:31: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.0
X-Bugzilla-Keywords: openacc
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tschwinge at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: tschwinge at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-72741-4-UiIY283IEE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-72741-4@http.gcc.gnu.org/bugzilla/>
References: <bug-72741-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: 2019-02/txt/msg03984.txt.bz2
Content-length: 1040

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72741

--- Comment #9 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Author: tschwinge
Date: Thu Feb 28 20:31:01 2019
New Revision: 269285

URL: https://gcc.gnu.org/viewcvs?rev=269285&root=gcc&view=rev
Log:
[PR72741, PR89433] Accept intrinsic symbols in Fortran OpenACC 'routine'
directives

        gcc/fortran/
        PR fortran/72741
        PR fortran/89433
        * openmp.c (gfc_match_oacc_routine): Accept intrinsic symbols.
        gcc/testsuite/
        PR fortran/72741
        PR fortran/89433
        * gfortran.dg/goacc/routine-6.f90: Update
        * gfortran.dg/goacc/routine-intrinsic-1.f: New file.
        * gfortran.dg/goacc/routine-intrinsic-2.f: Likewise.

Added:
    trunk/gcc/testsuite/gfortran.dg/goacc/routine-intrinsic-1.f
    trunk/gcc/testsuite/gfortran.dg/goacc/routine-intrinsic-2.f
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/openmp.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/goacc/routine-6.f90
>From gcc-bugs-return-635685-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 20:32:15 2019
Return-Path: <gcc-bugs-return-635685-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114079 invoked by alias); 28 Feb 2019 20: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 113953 invoked by uid 55); 28 Feb 2019 20:32:10 -0000
From: "tschwinge at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89433] Repeated use of the OpenACC 'routine' directive
Date: Thu, 28 Feb 2019 20:32: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: openacc, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tschwinge at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: tschwinge at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89433-4-J13bgp0L1M@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89433-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89433-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: 2019-02/txt/msg03987.txt.bz2
Content-length: 1019

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89433

--- Comment #2 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Author: tschwinge
Date: Thu Feb 28 20:31:36 2019
New Revision: 269287

URL: https://gcc.gnu.org/viewcvs?rev=269287&root=gcc&view=rev
Log:
[PR72741, PR89433] Repeated use of the Fortran OpenACC 'routine' directive

        gcc/fortran/
        PR fortran/72741
        PR fortran/89433
        * openmp.c (gfc_match_oacc_routine): Handle repeated use of the
        Fortran OpenACC 'routine' directive.
        gcc/testsuite/
        PR fortran/72741
        PR fortran/89433
        * gfortran.dg/goacc/routine-multiple-directives-1.f90: New file.
        * gfortran.dg/goacc/routine-multiple-directives-2.f90: Likewise.

Added:
    trunk/gcc/testsuite/gfortran.dg/goacc/routine-multiple-directives-1.f90
    trunk/gcc/testsuite/gfortran.dg/goacc/routine-multiple-directives-2.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/openmp.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635686-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 20:32:15 2019
Return-Path: <gcc-bugs-return-635686-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114096 invoked by alias); 28 Feb 2019 20:32: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 113954 invoked by uid 55); 28 Feb 2019 20:32:10 -0000
From: "tschwinge at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/72741] Fortran OpenACC routine directive doesn't properly handle clauses specifying the level of parallelism
Date: Thu, 28 Feb 2019 20:32: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.0
X-Bugzilla-Keywords: openacc
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tschwinge at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: tschwinge at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-72741-4-Z2vex102N9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-72741-4@http.gcc.gnu.org/bugzilla/>
References: <bug-72741-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: 2019-02/txt/msg03988.txt.bz2
Content-length: 1020

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72741

--- Comment #11 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Author: tschwinge
Date: Thu Feb 28 20:31:36 2019
New Revision: 269287

URL: https://gcc.gnu.org/viewcvs?rev=269287&root=gcc&view=rev
Log:
[PR72741, PR89433] Repeated use of the Fortran OpenACC 'routine' directive

        gcc/fortran/
        PR fortran/72741
        PR fortran/89433
        * openmp.c (gfc_match_oacc_routine): Handle repeated use of the
        Fortran OpenACC 'routine' directive.
        gcc/testsuite/
        PR fortran/72741
        PR fortran/89433
        * gfortran.dg/goacc/routine-multiple-directives-1.f90: New file.
        * gfortran.dg/goacc/routine-multiple-directives-2.f90: Likewise.

Added:
    trunk/gcc/testsuite/gfortran.dg/goacc/routine-multiple-directives-1.f90
    trunk/gcc/testsuite/gfortran.dg/goacc/routine-multiple-directives-2.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/openmp.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635684-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 20:32:01 2019
Return-Path: <gcc-bugs-return-635684-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113140 invoked by alias); 28 Feb 2019 20:32: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 112997 invoked by uid 55); 28 Feb 2019 20:31:56 -0000
From: "tschwinge at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/72741] Fortran OpenACC routine directive doesn't properly handle clauses specifying the level of parallelism
Date: Thu, 28 Feb 2019 20:32: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.0
X-Bugzilla-Keywords: openacc
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tschwinge at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: tschwinge at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-72741-4-M0ZVm8IW4t@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-72741-4@http.gcc.gnu.org/bugzilla/>
References: <bug-72741-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: 2019-02/txt/msg03986.txt.bz2
Content-length: 1033

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72741

--- Comment #10 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Author: tschwinge
Date: Thu Feb 28 20:31:23 2019
New Revision: 269286

URL: https://gcc.gnu.org/viewcvs?rev=269286&root=gcc&view=rev
Log:
[PR72741] For all Fortran OpenACC 'routine' directive variants check for
multiple clauses specifying the level of parallelism

        gcc/fortran/
        PR fortran/72741
        * gfortran.h (enum oacc_routine_lop): Add OACC_ROUTINE_LOP_ERROR.
        * openmp.c (gfc_oacc_routine_lop, gfc_match_oacc_routine): Use it.
        * trans-decl.c (add_attributes_to_decl): Likewise.
        gcc/testsuite/
        PR fortran/72741
        * gfortran.dg/goacc/routine-multiple-lop-clauses-1.f90: New file.

Added:
    trunk/gcc/testsuite/gfortran.dg/goacc/routine-multiple-lop-clauses-1.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/openmp.c
    trunk/gcc/fortran/trans-decl.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635688-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 20:43:47 2019
Return-Path: <gcc-bugs-return-635688-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11092 invoked by alias); 28 Feb 2019 20:43:46 -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 10978 invoked by uid 48); 28 Feb 2019 20:43:42 -0000
From: "twoh at fb dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89538] [7.3.0] GCC miscompiling LLVM because of wrong vectorization
Date: Thu, 28 Feb 2019 20:43: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: twoh at fb 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-89538-4-jVKiX2m8DE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89538-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89538-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: 2019-02/txt/msg03990.txt.bz2
Content-length: 169

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89538

--- Comment #1 from Taewook Oh <twoh at fb dot com> ---
And I confirmed that this bug doesn't reproduce with GCC5.
>From gcc-bugs-return-635687-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 20:43:13 2019
Return-Path: <gcc-bugs-return-635687-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9621 invoked by alias); 28 Feb 2019 20:43: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 9521 invoked by uid 48); 28 Feb 2019 20:43:08 -0000
From: "twoh at fb dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89538] New: [7.3.0] GCC miscompiling LLVM because of wrong vectorization
Date: Thu, 28 Feb 2019 20:43: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: 7.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: twoh at fb 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-89538-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: 2019-02/txt/msg03989.txt.bz2
Content-length: 4777

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89538

            Bug ID: 89538
           Summary: [7.3.0] GCC miscompiling LLVM because of wrong
                    vectorization
           Product: gcc
           Version: 7.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: twoh at fb dot com
  Target Milestone: ---

I compiled pretty recent version of LLVM (https://reviews.llvm.org/rL354365)
with GCC 7.3.0, and experiencing segfault from LLVM when I compile. I did some
investigation and seems that GCC generates wrong binary because of the issue in
vectorization. 

This
(https://github.com/llvm-mirror/llvm/blob/master/lib/CodeGen/AsmPrinter/DwarfDebug.cpp#L2650)
is the line causes the problem. The data structure (SmallVector) holds a pair
of a unique_ptr and a raw pointer, and when emplace_back attempt to push a 9th
element to the vector, it releases all the unique_ptrs that previously in the
vector. I added an instrumentation around emplace_back, and below is the output

TypeUnitsUnderConstruction size before: 8
  check1 0x67ecea0 0x6b09908
  check1 0x67eccb0 0x5eefa48
  check1 0x67ecac0 0x61a3b58
  check1 0x67ec8d0 0x6b1ab28
  check1 0x67ec6e0 0x61a3ca8
  check1 0x67ec110 0x6b0c0b8
  check1 0x65fd1a0 0x6b0bfb8
  check1 0x65fcfb0 0x66cc0d8
emplace_back 0x65fcdc0 0x7a7a958
TypeUnitsUnderConstruction size after: 9
  check2 0x0 0x6b09908
  check2 0x0 0x5eefa48
  check2 0x0 0x61a3b58
  check2 0x0 0x6b1ab28
  check2 0x0 0x61a3ca8
  check2 0x0 0x6b0c0b8
  check2 0x0 0x6b0bfb8
  check2 0x0 0x66cc0d8
  check2 0x65fcdc0 0x7a7a958

You can easily guess that something might go wrong when emplace_back triggers a
logic that increases the capacity of the vector and moves the elements from the
old location to the new location. That is actually right, and I confirmed that
here in the function that increases the capacity
(https://github.com/llvm-mirror/llvm/blob/master/include/llvm/ADT/SmallVector.h#L243),
"unitilized_move" only resets the the old object but not moves the elements to
the new object. 

So I investigated further to figure out which instruction actually sets "0x0"
to the new location, and found that instruction 202aef4 below is the one

 202aed0: 48 c7 00 00 00 00 00  movq   $0x0,(%rax)
 202aed7: f3 0f 6f 08           movdqu (%rax),%xmm1
 202aedb: 48 83 c0 20           add    $0x20,%rax
 202aedf: 48 83 c1 20           add    $0x20,%rcx
 202aee3: 48 c7 40 f0 00 00 00  movq   $0x0,-0x10(%rax)
 202aeea: 00
 202aeeb: f3 0f 6f 40 f0        movdqu -0x10(%rax),%xmm0
 202aef0: 0f 11 49 e0           movups %xmm1,-0x20(%rcx)
 202aef4: 0f 11 41 f0           movups %xmm0,-0x10(%rcx)
 202aef8: 48 39 f8              cmp    %rdi,%rax
 202aefb: 75 d3                 jne    202aed0

However, here, %xmm0 is always expected to be 0 because of instruction 202aee3
and 202aeeb (there's no branch targeting instructions after 202aeeb). I found
this weird, and recompiled the problematic LLVM source (DwarfDebug.cpp) again
with all IR dumps
(https://gist.github.com/taewookoh/45e710594497b887e2ac54168c86c17f is my
compilation command). Then I bisected IRs to find out where these suspicious
logic introduced. And it seems to me that vectorizer is the issue. 

https://gist.github.com/taewookoh/3bbe848ee487473f8012028bc78da64a is the code
snippet from DwarfDebug.cpp.160t.ifcvt while
https://gist.github.com/taewookoh/766d1bf3198ac33465fad6d875110f3e is from
DwarfDebug.cpp.161t.vect. From 160t, we can see the logic of reading a value
from the old location, reset the old location, then write the value back to the
new location
(https://gist.github.com/taewookoh/3bbe848ee487473f8012028bc78da64a#file-gistfile1-txt-L225-L284).
However, in one specialization in 161t, the logic seems twisted
(https://gist.github.com/taewookoh/3bbe848ee487473f8012028bc78da64a#file-gistfile1-txt-L225-L284).
Here, both __first$_M_current_84 and vectp.5429_127 are the index for the
original object, while vectp_Result.5433_132 is an index for the new object.
line 378-384 performs the operation of reading the value from the old object
and writing them back to the new object, but for some reason, the old location
is already reset to 0 from line 320-324. And this aligns with what I observe
from the asm instructions above: reset the memory to zero first, read from the
memory, then write to another memory.

As I'm not a gcc expert I still not 100% confident to claim this as a gcc bug
(and hard to believe that this bug hasn't been exposed), but what's happening
here is suspicious enough to me. It would be nice if someone familiar with the
code base can take a look. Thanks!
>From gcc-bugs-return-635689-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 20:55:12 2019
Return-Path: <gcc-bugs-return-635689-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87673 invoked by alias); 28 Feb 2019 20:55: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 87417 invoked by uid 48); 28 Feb 2019 20:55:08 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/68544] ICE trying to pass derived type constructor as a function
Date: Thu, 28 Feb 2019 20:55: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: 5.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gmx dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-68544-4-4FKjek3ds5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68544-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68544-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: 2019-02/txt/msg03991.txt.bz2
Content-length: 593

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68544

--- Comment #9 from Harald Anlauf <anlauf at gmx dot de> ---
(In reply to kargl from comment #8)
> Index: gcc/fortran/resolve.c
> ===================================================================
> --- gcc/fortran/resolve.c	(revision 266281)
> +++ gcc/fortran/resolve.c	(working copy)
> @@ -1863,7 +1863,19 @@ resolve_procedure_expression (gfc_expr* expr)

Steve,

what is the status of your patch?
>From gcc-bugs-return-635690-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 21:00:56 2019
Return-Path: <gcc-bugs-return-635690-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106636 invoked by alias); 28 Feb 2019 21:00:43 -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 105594 invoked by uid 48); 28 Feb 2019 21:00:27 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89537] missing location for error
Date: Thu, 28 Feb 2019 21:00: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: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89537-4-bCpwFUyTy4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89537-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89537-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: 2019-02/txt/msg03992.txt.bz2
Content-length: 692

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89537

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Marek Polacek from comment #5)
> 89537.C:9:18: error: invalid use of non-static member function ‘void B<
> <template-parameter-1-1>, <template-parameter-1-2>,
> <template-parameter-1-3>, <template-parameter-1-4> >::keys() [with _Tp =
> int; <template-parameter-1-2> = int; <template-parameter-1-3> = A<int>;
> <template-parameter-1-4> = A<int>]’
>     9 |       : keys(p1->keys), values(p1->values) {}
>       |              ~~~~^~~~
> 89537.C:28:8: note: declared here
>    28 |   void keys();
>       |        ^~~~

Much better!
>From gcc-bugs-return-635691-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 21:01:43 2019
Return-Path: <gcc-bugs-return-635691-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109867 invoked by alias); 28 Feb 2019 21:01:43 -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 109577 invoked by uid 48); 28 Feb 2019 21:01:39 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/77604] ICE in get_frame_type, at tree-nested.c:208
Date: Thu, 28 Feb 2019 21:01: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.0
X-Bugzilla-Keywords: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gmx dot de
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-77604-4-EpGU8lSMo8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77604-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77604-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: 2019-02/txt/msg03993.txt.bz2
Content-length: 439

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77604

Harald Anlauf <anlauf at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anlauf at gmx dot de

--- Comment #4 from Harald Anlauf <anlauf at gmx dot de> ---
Does this still fail?  I cannot reproduce with current trunk or 8-branch.
>From gcc-bugs-return-635692-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 21:09:35 2019
Return-Path: <gcc-bugs-return-635692-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125456 invoked by alias); 28 Feb 2019 21:09: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 125350 invoked by uid 48); 28 Feb 2019 21:09:30 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87751] ICE in gfc_trans_assignment_1, at fortran/trans-expr.c:10255
Date: Thu, 28 Feb 2019 21:09: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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_known_to_fail
Message-ID: <bug-87751-4-rydD81XXhp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87751-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87751-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: 2019-02/txt/msg03994.txt.bz2
Content-length: 711

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87751

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING
      Known to fail|                            |7.3.1, 8.2.1

--- Comment #3 from anlauf at gcc dot gnu.org ---
(In reply to G. Steinmetz from comment #2)
> Changed in gcc-9 between 20181111 (ICE) and 20181118 (ok=error),
> presumably due to pr70260.
> 
> 
> $ gfortran-9-20181125 -c z1.f90
> z1.f90:8:3:
> 
>     8 |    g = 1
>       |   1
> Error: Illegal assignment to external procedure at (1)

So resolved on trunk?
>From gcc-bugs-return-635693-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 21:21:50 2019
Return-Path: <gcc-bugs-return-635693-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20141 invoked by alias); 28 Feb 2019 21:21: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 20011 invoked by uid 48); 28 Feb 2019 21:21:46 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/60576] [7/8/9 Regression] FAIL: gfortran.dg/assumed_rank_7.f90
Date: Thu, 28 Feb 2019 21:21:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-60576-4-IJky3PRrwo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60576-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60576-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: 2019-02/txt/msg03995.txt.bz2
Content-length: 309

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60576

--- Comment #28 from anlauf at gcc dot gnu.org ---
Is this still an issue?

On x86_64-pc-linux-gnu and with current trunk, I do only get a memory
leak with -fsanitize=address (both -m32 and -m64), which disappears
if I deallocate the arrays at the end.
>From gcc-bugs-return-635694-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 21:44:40 2019
Return-Path: <gcc-bugs-return-635694-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31002 invoked by alias); 28 Feb 2019 21:44: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 30645 invoked by uid 48); 28 Feb 2019 21:44:28 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/68544] ICE trying to pass derived type constructor as a function
Date: Thu, 28 Feb 2019 21:44: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: 5.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
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-68544-4-Yae1hvmQrq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68544-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68544-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: 2019-02/txt/msg03996.txt.bz2
Content-length: 1149

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68544

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu.org

--- Comment #10 from kargl at gcc dot gnu.org ---
(In reply to Harald Anlauf from comment #9)
> (In reply to kargl from comment #8)
> > Index: gcc/fortran/resolve.c
> > ===================================================================
> > --- gcc/fortran/resolve.c	(revision 266281)
> > +++ gcc/fortran/resolve.c	(working copy)
> > @@ -1863,7 +1863,19 @@ resolve_procedure_expression (gfc_expr* expr)
> 
> Steve,
> 
> what is the status of your patch?

It no longer applies and works.  Someone (pault?)
removed the list of derived types (gfc_derived_types),
so the patch needs to be reworked to walk the list
of symbols to see if the actual argument is a 
derived type or not.  I haven't pursued doing that
>From gcc-bugs-return-635695-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 22:02:51 2019
Return-Path: <gcc-bugs-return-635695-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119048 invoked by alias); 28 Feb 2019 22:02: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 118971 invoked by uid 48); 28 Feb 2019 22:02:46 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/84868] [7/8/9 Regression] ICE in gfc_conv_descriptor_offset, at fortran/trans-array.c:208
Date: Thu, 28 Feb 2019 22: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: 8.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-84868-4-C4UYbeP9cZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84868-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84868-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: 2019-02/txt/msg03997.txt.bz2
Content-length: 432

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84868

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anlauf at gcc dot gnu.org

--- Comment #3 from anlauf at gcc dot gnu.org ---
Works also if len_trim is replaced by len.

I wonder if this is related to PR86249.
>From gcc-bugs-return-635696-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 22:20:43 2019
Return-Path: <gcc-bugs-return-635696-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11734 invoked by alias); 28 Feb 2019 22:20:43 -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 11546 invoked by uid 48); 28 Feb 2019 22:20:39 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/60576] [7/8/9 Regression] FAIL: gfortran.dg/assumed_rank_7.f90
Date: Thu, 28 Feb 2019 22:20:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-60576-4-qRvPoMdiO7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60576-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60576-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: 2019-02/txt/msg03998.txt.bz2
Content-length: 261

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60576

--- Comment #29 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Is this still an issue?

I still get the stack-buffer-overflow reported in comment 26 with 8.2 and trunk
(9.0) but not with 7.4.
>From gcc-bugs-return-635697-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 22:30:51 2019
Return-Path: <gcc-bugs-return-635697-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26497 invoked by alias); 28 Feb 2019 22:30:46 -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 26224 invoked by uid 55); 28 Feb 2019 22:30:35 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87068] No diagnostic on an ill-formed [[fallthrough]]
Date: Thu, 28 Feb 2019 22:30: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: unknown
X-Bugzilla-Keywords: accepts-invalid, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87068-4-EojMhjRTry@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87068-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87068-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: 2019-02/txt/msg03999.txt.bz2
Content-length: 791

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87068

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Thu Feb 28 22:29:42 2019
New Revision: 269288

URL: https://gcc.gnu.org/viewcvs?rev=269288&root=gcc&view=rev
Log:
        PR c++/87068 - missing diagnostic with fallthrough statement.
        * gimplify.c (expand_FALLTHROUGH_r): If IFN_FALLTHROUGH was found
        at the end of a seq, save its location to walk_stmt_info.
        (expand_FALLTHROUGH): Warn if IFN_FALLTHROUGH is at the end of
        a switch.

        * c-c++-common/Wimplicit-fallthrough-37.c: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/Wimplicit-fallthrough-37.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimplify.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635698-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 22:31:12 2019
Return-Path: <gcc-bugs-return-635698-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27886 invoked by alias); 28 Feb 2019 22:31: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 27742 invoked by uid 48); 28 Feb 2019 22:31:07 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87068] No diagnostic on an ill-formed [[fallthrough]]
Date: Thu, 28 Feb 2019 22:31: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: unknown
X-Bugzilla-Keywords: accepts-invalid, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-87068-4-DtFpuByBm8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87068-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87068-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: 2019-02/txt/msg04000.txt.bz2
Content-length: 439

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87068

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed for GCC 9.
>From gcc-bugs-return-635699-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 22:49:01 2019
Return-Path: <gcc-bugs-return-635699-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117184 invoked by alias); 28 Feb 2019 22:49: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 116704 invoked by uid 48); 28 Feb 2019 22:48:39 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu
Date: Thu, 28 Feb 2019 22:49: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89536-4-nIQochIB3s@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89536-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89536-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: 2019-02/txt/msg04001.txt.bz2
Content-length: 1321

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536

--- Comment #19 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> We do take the range as granted in both cases.  If for BIT_NOT_EXPR on say
> int the result is -2 or -1, then your TREE_INT_CST_LOW fix would DTRT, sure.
> If the result is any other value, then we run into the impossible territory,
> if previous optimizations did a good job, then likely that comparison should
> have been folded away, but what if it appeared since the last pass that
> could have optimized it away?

So this is about potential pessimization instead of correctness here?

> Normally I'd say the _4 == -5 comparison would be optimized to 0 because _4
> has RANGE [-2, -1].  If for whatever reason it is not, then I think it is
> better to keep status quo in the dominated code.

Why?  The default code would compute a totally bogus value.

> I guess your TREE_INT_CST_LOW & 1 hunk is probably still desirable for the Ada 
> boolean case (or we fix match.pd and drop this altogether at some point).  As
> the patch has been applied to 8.3.1, we have a serious regression and need a fix
> fast though.

OK, I'm going to apply the (TREE_INT_CST_LOW & 1) fixlet as it is obviously
more correct than the current code.  Then we can keep arguing for a while. :-)
>From gcc-bugs-return-635700-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 22:51:24 2019
Return-Path: <gcc-bugs-return-635700-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121490 invoked by alias); 28 Feb 2019 22:51: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 121393 invoked by uid 48); 28 Feb 2019 22:51:19 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/77604] ICE in get_frame_type, at tree-nested.c:208
Date: Thu, 28 Feb 2019 22: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: 7.0
X-Bugzilla-Keywords: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority
Message-ID: <bug-77604-4-W8UtA6FPlX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77604-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77604-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: 2019-02/txt/msg04002.txt.bz2
Content-length: 616

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77604

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4

--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Does this still fail?  I cannot reproduce with current trunk or 8-branch.

The PR seems to be fixed on 7.4.1, 8.3.1 and trunk (9.0).

My archives point to r267379, but I don't understand why.

Also I don't see why this is ice-on-invalid-code.
>From gcc-bugs-return-635701-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 23:02:07 2019
Return-Path: <gcc-bugs-return-635701-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30049 invoked by alias); 28 Feb 2019 23:02:06 -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 29935 invoked by uid 48); 28 Feb 2019 23:02:02 -0000
From: "juergen.reuter at desy dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89539] New: [9.0 regression] gcc fails to build/bootstrap on MACOSX
Date: Thu, 28 Feb 2019 23:02: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: juergen.reuter at desy dot de
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-89539-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: 2019-02/txt/msg04003.txt.bz2
Content-length: 3398

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89539

            Bug ID: 89539
           Summary: [9.0 regression] gcc fails to build/bootstrap on
                    MACOSX
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: juergen.reuter at desy dot de
  Target Milestone: ---

gcc fails to compile/bootstrap on MAC OS X Darwin 10.14.3, 64bit, 
Darwin Finarfin.local 18.2.0 Darwin Kernel Version 18.2.0: Thu Dec 20 20:46:53
PST 2018; root:xnu-4903.241.1~1/RELEASE_X86_64 x86_64 i386 MacBookPro11,5
Darwin

Seems to be a very recent commit, r269230 was still working, r269284 is
failing. 
My configure line was ../configure --prefix=/usr/local/ --with-gmp=/usr/local/
--with-mpfr=/usr/local/ --with-mpc=/usr/local/ --enable-checking=release
--enable-languages=c,c++,fortran,lto
The compiler is being built with 
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 10.0.0 (clang-1000.11.45.5)
Target: x86_64-apple-darwin18.2.0
Thread model: posix
InstalledDir:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Do you need more information? 




/usr/local/packages/gcc_9.0/_build/./prev-gcc/xg++
-B/usr/local/packages/gcc_9.0/_build/./prev-gcc/
-B/usr/local/x86_64-apple-darwin18.2.0/bin/ -nostdinc++
-B/usr/local/packages/gcc_9.0/_build/prev-x86_64-apple-darwin18.2.0/libstdc++-v3/src/.libs
-B/usr/local/packages/gcc_9.0/_build/prev-x86_64-apple-darwin18.2.0/libstdc++-v3/libsupc++/.libs

-I/usr/local/packages/gcc_9.0/_build/prev-x86_64-apple-darwin18.2.0/libstdc++-v3/include/x86_64-apple-darwin18.2.0

-I/usr/local/packages/gcc_9.0/_build/prev-x86_64-apple-darwin18.2.0/libstdc++-v3/include
 -I/usr/local/packages/gcc_9.0/libstdc++-v3/libsupc++
-L/usr/local/packages/gcc_9.0/_build/prev-x86_64-apple-darwin18.2.0/libstdc++-v3/src/.libs
-L/usr/local/packages/gcc_9.0/_build/prev-x86_64-apple-darwin18.2.0/libstdc++-v3/libsupc++/.libs
-fno-PIE -c   -g -O2  -fno-checking  -gtoggle -DIN_GCC     -fno-exceptions
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror  
-DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include
-I./../intl -I../../gcc/../libcpp/include -I/usr/local//include
-I/usr/local//include -I/usr/local//include  -I../../gcc/../libdecnumber
-I../../gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc/../libbacktrace  
-o dwarf2out.o -MT dwarf2out.o -MMD -MP -MF ./.deps/dwarf2out.TPo
../../gcc/dwarf2out.c
../../gcc/dwarf2out.c: In function 'void
output_comdat_type_unit(comdat_type_node*, bool)':
../../gcc/dwarf2out.c:11237:55: error: unused parameter 'early_lto_debug'
[-Werror=unused-parameter]
11237 | output_comdat_type_unit (comdat_type_node *node, bool early_lto_debug)
      |                                                  ~~~~~^~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[3]: *** [dwarf2out.o] Error 1
make[2]: *** [all-stage2-gcc] Error 2
make[1]: *** [stage2-bubble] Error 2
make: *** [all] Error 2
>From gcc-bugs-return-635702-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 23:03:38 2019
Return-Path: <gcc-bugs-return-635702-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34560 invoked by alias); 28 Feb 2019 23:03: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 34463 invoked by uid 55); 28 Feb 2019 23:03:33 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu
Date: Thu, 28 Feb 2019 23:03: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89536-4-vwI1lqYF3a@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89536-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89536-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: 2019-02/txt/msg04004.txt.bz2
Content-length: 623

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536

--- Comment #20 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Thu Feb 28 23:03:01 2019
New Revision: 269289

URL: https://gcc.gnu.org/viewcvs?rev=269289&root=gcc&view=rev
Log:
        PR tree-optimization/89536
        * tree-ssa-dom.c (edge_info::derive_equivalences) <BIT_NOT_EXPR>: Test
        only whether bit #0 of the value is 0 instead of the entire value.

Added:
    trunk/gcc/testsuite/gcc.c-torture/execute/20190228-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-dom.c
>From gcc-bugs-return-635703-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 23:06:51 2019
Return-Path: <gcc-bugs-return-635703-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46196 invoked by alias); 28 Feb 2019 23:06: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 46106 invoked by uid 55); 28 Feb 2019 23:06:47 -0000
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu
Date: Thu, 28 Feb 2019 23:06: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ebotcazou at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89536-4-jG7aKI0Fin@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89536-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89536-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: 2019-02/txt/msg04005.txt.bz2
Content-length: 781

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536

--- Comment #21 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Thu Feb 28 23:06:15 2019
New Revision: 269290

URL: https://gcc.gnu.org/viewcvs?rev=269290&root=gcc&view=rev
Log:
        PR tree-optimization/89536
        * tree-ssa-dom.c (edge_info::derive_equivalences) <BIT_NOT_EXPR>: Test
        only whether bit #0 of the value is 0 instead of the entire value.

Added:
    branches/gcc-8-branch/gcc/testsuite/gcc.c-torture/execute/20190228-1.c
      - copied unchanged from r269289,
trunk/gcc/testsuite/gcc.c-torture/execute/20190228-1.c
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
    branches/gcc-8-branch/gcc/tree-ssa-dom.c
>From gcc-bugs-return-635704-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 23:08:09 2019
Return-Path: <gcc-bugs-return-635704-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 49638 invoked by alias); 28 Feb 2019 23:08: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 49559 invoked by uid 48); 28 Feb 2019 23:08:04 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89539] [9.0 regression] gcc fails to build/bootstrap on MACOSX
Date: Thu, 28 Feb 2019 23:08: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: dominiq at lps dot ens.fr
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-89539-4-ktjIf41LrV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89539-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89539-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: 2019-02/txt/msg04006.txt.bz2
Content-length: 1062

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89539

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-02-28
                 CC|                            |rguenth at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
I have used the following patch

--- ../_clean/gcc/dwarf2out.c   2019-02-27 15:29:19.000000000 +0100
+++ gcc/dwarf2out.c     2019-02-28 01:44:53.000000000 +0100
@@ -11234,7 +11234,7 @@ output_skeleton_debug_sections (dw_die_r
 /* Output a comdat type unit DIE and its children.  */

 static void
-output_comdat_type_unit (comdat_type_node *node, bool early_lto_debug)
+output_comdat_type_unit (comdat_type_node *node, bool early_lto_debug
__attribute((unused)))
 {
   const char *secname;
   char *tmp;
>From gcc-bugs-return-635705-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 28 23:38:33 2019
Return-Path: <gcc-bugs-return-635705-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105908 invoked by alias); 28 Feb 2019 23:38:32 -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 105814 invoked by uid 48); 28 Feb 2019 23:38:28 -0000
From: "10walls at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89534] mingw is not declaring MAKE_DECL_ONE_ONLY macro
Date: Thu, 28 Feb 2019 23:38: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: 10walls 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:
Message-ID: <bug-89534-4-t89vLOXK17@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89534-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89534-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: 2019-02/txt/msg04007.txt.bz2
Content-length: 317

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89534

--- Comment #1 from jon_y <10walls at gmail dot com> ---
Weak symbols aren't quite supported with PE, I'm not sure if making the symbol
weak is the right approach.

Do you have a test case to show this will lead to the correct behavior with
MAKE_DECL_ONE_ONLY?
>From gcc-bugs-return-635706-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 00:01:09 2019
Return-Path: <gcc-bugs-return-635706-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13978 invoked by alias); 1 Mar 2019 00:00:18 -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 13559 invoked by uid 48); 1 Mar 2019 00:00:01 -0000
From: "hpa at zytor dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/41055] libgcc functions and -mregparm don't work well together
Date: Fri, 01 Mar 2019 00:00: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: 4.3.3
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hpa at zytor 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: cc attachments.created
Message-ID: <bug-41055-4-cFfHCKwV85@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-41055-4@http.gcc.gnu.org/bugzilla/>
References: <bug-41055-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: 2019-03/txt/msg00000.txt.bz2
Content-length: 481

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41055

H. Peter Anvin <hpa at zytor dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hpa at zytor dot com

--- Comment #5 from H. Peter Anvin <hpa at zytor dot com> ---
Created attachment 45858
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45858&action=edit
Test case (C)
>From gcc-bugs-return-635709-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 00:02:34 2019
Return-Path: <gcc-bugs-return-635709-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18175 invoked by alias); 1 Mar 2019 00:02:26 -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 17164 invoked by uid 48); 1 Mar 2019 00:01:56 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89532] [9 Regression] internal compiler error: in type_has_nontrivial_copy_init, at cp/tree.c:4024
Date: Fri, 01 Mar 2019 00:02: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status
Message-ID: <bug-89532-4-pL5BWux9KF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89532-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89532-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: 2019-03/txt/msg00003.txt.bz2
Content-length: 298

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89532

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
>From gcc-bugs-return-635707-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 00:02:23 2019
Return-Path: <gcc-bugs-return-635707-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17250 invoked by alias); 1 Mar 2019 00:02: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 15107 invoked by uid 48); 1 Mar 2019 00:01:14 -0000
From: "andres_takach at mentor dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libquadmath/89540] New: roundq(x) returning value with non-zero fractional part
Date: Fri, 01 Mar 2019 00:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libquadmath
X-Bugzilla-Version: 8.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: andres_takach at mentor 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-89540-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: 2019-03/txt/msg00001.txt.bz2
Content-length: 1302

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89540

            Bug ID: 89540
           Summary: roundq(x) returning value with non-zero fractional
                    part
           Product: gcc
           Version: 8.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libquadmath
          Assignee: unassigned at gcc dot gnu.org
          Reporter: andres_takach at mentor dot com
  Target Milestone: ---

Created attachment 45859
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45859&action=edit
Test:  c++  round_bug.cxx -lquadmath

roundq should return an integer value (no fractional part), but it returns
values with fractional part. The incorrect behavior seems to occur when values
are big enough ( 2^31).

The testcase has x = 2^31 + 0.5. In this case roundq(x) returns x, instead of
2^31 + 1.

To exercise:

c++ round_bug.cxx -lquadmath

The output is (x, and roundq(x) are printed in both raw hex and decimal):

401e0000000100000000000000000000
2147483648.50000000000000000000000000000000000000000000000000
roundq(x) returns a value with fractional part
401e0000000100000000000000000000
2147483648.50000000000000000000000000000000000000000000000000


Incorrect behavior has also been confirmed with 6.2.0 and 4.9.2.
>From gcc-bugs-return-635708-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 00:02:23 2019
Return-Path: <gcc-bugs-return-635708-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17364 invoked by alias); 1 Mar 2019 00:02: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 16866 invoked by uid 48); 1 Mar 2019 00:01:35 -0000
From: "hpa at zytor dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/41055] libgcc functions and -mregparm don't work well together
Date: Fri, 01 Mar 2019 00:02: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: 4.3.3
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hpa at zytor 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: attachments.created
Message-ID: <bug-41055-4-BWlfuW8sRv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-41055-4@http.gcc.gnu.org/bugzilla/>
References: <bug-41055-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: 2019-03/txt/msg00002.txt.bz2
Content-length: 241

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41055

--- Comment #6 from H. Peter Anvin <hpa at zytor dot com> ---
Created attachment 45860
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45860&action=edit
Test case (preprocessed)
>From gcc-bugs-return-635710-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 00:03:06 2019
Return-Path: <gcc-bugs-return-635710-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21294 invoked by alias); 1 Mar 2019 00:03: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 21128 invoked by uid 48); 1 Mar 2019 00:03:01 -0000
From: "hpa at zytor dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/41055] libgcc functions and -mregparm don't work well together
Date: Fri, 01 Mar 2019 00:03: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: 4.3.3
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hpa at zytor 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: attachments.created
Message-ID: <bug-41055-4-QDlx5GxSHz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-41055-4@http.gcc.gnu.org/bugzilla/>
References: <bug-41055-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: 2019-03/txt/msg00004.txt.bz2
Content-length: 244

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41055

--- Comment #7 from H. Peter Anvin <hpa at zytor dot com> ---
Created attachment 45861
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45861&action=edit
Test case (assembly output)
>From gcc-bugs-return-635711-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 00:03:37 2019
Return-Path: <gcc-bugs-return-635711-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24013 invoked by alias); 1 Mar 2019 00:03:36 -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 23897 invoked by uid 48); 1 Mar 2019 00:03:33 -0000
From: "hpa at zytor dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/41055] libgcc functions and -mregparm don't work well together
Date: Fri, 01 Mar 2019 00:03: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: 4.3.3
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hpa at zytor 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: attachments.created
Message-ID: <bug-41055-4-5J6QCv7CoT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-41055-4@http.gcc.gnu.org/bugzilla/>
References: <bug-41055-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: 2019-03/txt/msg00005.txt.bz2
Content-length: 242

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41055

--- Comment #8 from H. Peter Anvin <hpa at zytor dot com> ---
Created attachment 45862
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45862&action=edit
Test code (object output)
>From gcc-bugs-return-635712-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 00:08:58 2019
Return-Path: <gcc-bugs-return-635712-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90597 invoked by alias); 1 Mar 2019 00:08:57 -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 90116 invoked by uid 55); 1 Mar 2019 00:08:53 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/86969] [8/9 Regression] ICE (in tsubst_copy) for a generic recursive lambda
Date: Fri, 01 Mar 2019 00:08: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: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86969-4-qFVjWOrJAr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86969-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86969-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: 2019-03/txt/msg00006.txt.bz2
Content-length: 592

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86969

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Mar  1 00:08:21 2019
New Revision: 269292

URL: https://gcc.gnu.org/viewcvs?rev=269292&root=gcc&view=rev
Log:
        PR c++/86969 - ICE with constexpr if and recursive generic lambdas.

        * class.c, lambda.c, pt.c: Revert earlier change.
        * lambda.c (add_capture): Don't special-case capture of dependent
        VLA.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.c
    trunk/gcc/cp/lambda.c
    trunk/gcc/cp/pt.c
>From gcc-bugs-return-635713-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 00:09:36 2019
Return-Path: <gcc-bugs-return-635713-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92947 invoked by alias); 1 Mar 2019 00:09: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 92862 invoked by uid 55); 1 Mar 2019 00:09:31 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88183] [8/9 Regression] Fold expression with operator .* inside an polymorphic lambda
Date: Fri, 01 Mar 2019 00:09: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.1
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88183-4-j0E9LkzcWt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88183-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88183-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: 2019-03/txt/msg00007.txt.bz2
Content-length: 621

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88183

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Mar  1 00:08:58 2019
New Revision: 269293

URL: https://gcc.gnu.org/viewcvs?rev=269293&root=gcc&view=rev
Log:
        PR c++/88183 - ICE with .* fold-expression.

build_m_component_ref can't handle type-dependent operands, so let's use the
default case; tsubst_copy_and_build also uses build_x_binary_op for
substituting a DOTSTAR_EXPR.

        * pt.c (fold_expression) [DOTSTAR_EXPR]: Remove special handling.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
>From gcc-bugs-return-635714-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 00:18:28 2019
Return-Path: <gcc-bugs-return-635714-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109889 invoked by alias); 1 Mar 2019 00:18: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 109774 invoked by uid 48); 1 Mar 2019 00:18:23 -0000
From: "hpa at zytor dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/41055] libgcc functions and -mregparm don't work well together
Date: Fri, 01 Mar 2019 00:18: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: 4.3.3
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hpa at zytor 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-41055-4-CsCPk50bsO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-41055-4@http.gcc.gnu.org/bugzilla/>
References: <bug-41055-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: 2019-03/txt/msg00008.txt.bz2
Content-length: 2008

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41055

--- Comment #9 from H. Peter Anvin <hpa at zytor dot com> ---
I can confirm this bug is still present as of gcc 8.2.1.

I have attached a test case which clearly shows __udivdi3 called with the
regparm convention, but libgcc definitely does not expect it:

objdump -dr `gcc -m32 -march=i386 -mregparm=3 -O3 -fomit-frame-pointer
--print-libgcc`

00000000 <__udivdi3>:
   0:   f3 0f 1e fb             endbr32 
   4:   55                      push   %ebp
   5:   57                      push   %edi
   6:   56                      push   %esi
   7:   53                      push   %ebx
   8:   83 ec 1c                sub    $0x1c,%esp
   b:   8b 54 24 3c             mov    0x3c(%esp),%edx
   f:   8b 6c 24 30             mov    0x30(%esp),%ebp
  13:   8b 74 24 34             mov    0x34(%esp),%esi
  17:   8b 5c 24 38             mov    0x38(%esp),%ebx
...

As far as I can tell, there are four possible options:

a. Build a libgcc for any combination of runtime options.
b. Add multiple functions to libgcc for each combination of runtime options
which matter.
c. Force using a single ABI for libgcc functions (in which case it might as
well use the most efficient ABI, e.g. -mregparm=3 -freg-struct-return); as the
libgcc functions are private to gcc anyway there is no reason they need to use
the main calling convention.
d. Emit these functions in a link-once section, similar to the way
__x86.get_pc_thunk.* are generated. This has upsides and downsides: the upsides
are that they are inherently correct, that they can rely on arch/optimize
flags, a dynamic library can't get out of sync with the compiler if these
functions are changed, and these functions can be marked hidden, which means
that they can be called directly. Downsides are link time and some heavy
lifting in implementation.

It also means that each dynamic library carries its own copy, but since libgcc
already marks its symbols HIDDEN, this is already the case.
>From gcc-bugs-return-635715-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 00:19:21 2019
Return-Path: <gcc-bugs-return-635715-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111774 invoked by alias); 1 Mar 2019 00:19: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 111604 invoked by uid 55); 1 Mar 2019 00:19:16 -0000
From: "joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libquadmath/89540] roundq(x) returning value with non-zero fractional part
Date: Fri, 01 Mar 2019 00:19:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libquadmath
X-Bugzilla-Version: 8.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joseph at codesourcery 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-89540-4-4PfKHmqG9N@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89540-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89540-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: 2019-03/txt/msg00009.txt.bz2
Content-length: 516

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89540

--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
Are you sure you're using (at runtime) the libquadmath from the GCC 
version you're using (via -rpath / LD_LIBRARY_PATH, or linking with static 
rather than shared libquadmath), rather than an older shared library from 
your distribution?  This looks very much like bug 65757, which was fixed 
some time ago (for GCC 8 and backported to older release branches).
>From gcc-bugs-return-635716-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 00:27:17 2019
Return-Path: <gcc-bugs-return-635716-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4160 invoked by alias); 1 Mar 2019 00:27: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 4070 invoked by uid 48); 1 Mar 2019 00:27:12 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89526] Diagnose errors in asserts
Date: Fri, 01 Mar 2019 00: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: 9.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WONTFIX
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 cc resolution
Message-ID: <bug-89526-4-Al7BvrNa9h@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89526-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89526-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: 2019-03/txt/msg00010.txt.bz2
Content-length: 2468

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89526

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |msebor at gcc dot gnu.org
         Resolution|---                         |WONTFIX

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
When NDEBUG is not defined GCC will certainly detect errors in assert
expressions.  But it's clear from the test case you meant warnings.  I'm not
sure I see what warning GCC could issue for assert("nullptr") or what it could
do to even help here.  The assert macro is implemented in the C library, so GCC
has little control over what it expands to.  Whatever it does expand to, GCC
does the same checking as in other code.  So for instance:

  $ cat t.c && gcc -O2 -S -Wall -Wextra t.c
  #include <assert.h>

  void f (unsigned i)
  {
    assert (i >= 0);
  }
  In file included from t.c:1:
  t.c: In function ‘f’:
  t.c:5:13: warning: comparison of unsigned expression >= 0 is always true
[-Wtype-limits]
      5 |   assert (i >= 0);
        |             ^~
  t.c:5:13: warning: comparison of unsigned expression >= 0 is always true
[-Wtype-limits]
      5 |   assert (i >= 0);
        |             ^~

Note the warning is duplicated because in Glibc's definition of assert the
expression appears twice.  That's on purpose but it has the unfortunate effect
when the warning isn't controlled by -Wpedantic.

/* The first occurrence of EXPR is not evaluated due to the sizeof,
   but will trigger any pedantic warnings masked by the __extension__
   for the second occurrence.  The ternary operator is required to
   support function pointers and bit fields in this context, and to
   suppress the evaluation of variable length arrays.  */
#  define assert(expr)                                                  \
  ((void) sizeof ((expr) ? 1 : 0), __extension__ ({                     \
      if (expr)                                                         \
        ; /* empty */                                                   \
      else                                                              \
        __assert_fail (#expr, __FILE__, __LINE__, __ASSERT_FUNCTION);   \
    }))


With that I have to resolve this as won't fix.
>From gcc-bugs-return-635717-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 00:27:44 2019
Return-Path: <gcc-bugs-return-635717-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5279 invoked by alias); 1 Mar 2019 00:27:43 -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 5208 invoked by uid 55); 1 Mar 2019 00:27:39 -0000
From: "joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libquadmath/89459] Incorrect rounding for fma in some cases
Date: Fri, 01 Mar 2019 00:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libquadmath
X-Bugzilla-Version: 6.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joseph at codesourcery dot com
X-Bugzilla-Status: WAITING
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-89459-4-ZJCYNG2qiY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89459-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89459-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: 2019-03/txt/msg00011.txt.bz2
Content-length: 370

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89459

--- Comment #4 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
In fact, having tested it, and used static linking to make sure the new 
libquadmath was used rather than an older distribution version, this bug 
was fixed in GCC 8, presumably by the r250343 merge of changes from glibc.
>From gcc-bugs-return-635718-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 00:55:40 2019
Return-Path: <gcc-bugs-return-635718-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82156 invoked by alias); 1 Mar 2019 00:55: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 78422 invoked by uid 48); 1 Mar 2019 00:55:35 -0000
From: "andres_takach at mentor dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libquadmath/89540] roundq(x) returning value with non-zero fractional part
Date: Fri, 01 Mar 2019 00:55:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libquadmath
X-Bugzilla-Version: 8.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: andres_takach at mentor 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-89540-4-XuXk6RaneM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89540-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89540-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: 2019-03/txt/msg00012.txt.bz2
Content-length: 346

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89540

--- Comment #2 from Andres Takach <andres_takach at mentor dot com> ---
You are right. I did use LD_LIBRARY_PATH, but the issue I had is that I used
the "lib" instead of the "lib64" version (I did not build 32-bit compatability)
so I was picking up the wrong version since "lib" was empty.
>From gcc-bugs-return-635719-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 01:40:04 2019
Return-Path: <gcc-bugs-return-635719-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4498 invoked by alias); 1 Mar 2019 01:40:04 -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 4350 invoked by uid 48); 1 Mar 2019 01:40:00 -0000
From: "helijia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88100] no warning reported when value for vec_splat_{su}{8,16} would overflow
Date: Fri, 01 Mar 2019 01:40: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: unknown
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: helijia at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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 cc resolution
Message-ID: <bug-88100-4-tA7CjhW7Ed@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88100-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88100-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: 2019-03/txt/msg00013.txt.bz2
Content-length: 571

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88100

Li Jia He <helijia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |helijia at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #6 from Li Jia He <helijia at gcc dot gnu.org> ---
It has been patched on the trunk and gcc 8, so modify this issue to a fixed
state.
>From gcc-bugs-return-635720-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 03:04:30 2019
Return-Path: <gcc-bugs-return-635720-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16281 invoked by alias); 1 Mar 2019 03:04: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 16174 invoked by uid 48); 1 Mar 2019 03:04:25 -0000
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89541] New: [9 Regression] ICE in VN_INFO(tree_node*)
Date: Fri, 01 Mar 2019 03: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: asolokha at gmx 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 keywords bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-89541-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: 2019-03/txt/msg00014.txt.bz2
Content-length: 2606

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89541

            Bug ID: 89541
           Summary: [9 Regression] ICE in VN_INFO(tree_node*)
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---

gfortran-9.0.0-alpha20190224 snapshot (r269177) ICEs when compiling the
following testcase w/ -O2 (-O3, -Ofast, -Os) -fno-early-inlining -fno-tree-dce
-fno-tree-pta:

program lh
  call za(0)
  call za(0)
contains
  subroutine za(wl)
    integer wl
    wl = 1
  end subroutine za
end program lh

% powerpc-e300c3-linux-gnu-gfortran-9.0.0-alpha20190224 -O2 -fno-early-inlining
-fno-tree-dce -fno-tree-pta -c awq4hkbw.f90
during GIMPLE pass: pre
awq4hkbw.f90:3:0:

    3 |   call za(0)
      | 
internal compiler error: Segmentation fault
0xda0546 crash_signal
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/toplev.c:326
0xf5fd58 tree_check(tree_node*, char const*, int, char const*, tree_code)
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/tree.h:3175
0xf5fd58 VN_INFO(tree_node*)
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/tree-ssa-sccvn.c:378
0xf68e3d visit_reference_op_store
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/tree-ssa-sccvn.c:4166
0xf68e3d visit_stmt
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/tree-ssa-sccvn.c:4466
0xf6a504 process_bb
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/tree-ssa-sccvn.c:6058
0xf6c348 do_rpo_vn
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/tree-ssa-sccvn.c:6553
0xf6ce69 run_rpo_vn(vn_lookup_kind)
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/tree-ssa-sccvn.c:5629
0xf3c9b3 execute
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/tree-ssa-pre.c:4194

(While my target here is powerpc, the ICE is not target-specific.)
>From gcc-bugs-return-635721-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 03:12:33 2019
Return-Path: <gcc-bugs-return-635721-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32250 invoked by alias); 1 Mar 2019 03:12: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 32162 invoked by uid 48); 1 Mar 2019 03:12:29 -0000
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89531] Possible memory corruption in the gfortran front-end
Date: Fri, 01 Mar 2019 03: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: GC
X-Bugzilla-Severity: normal
X-Bugzilla-Who: asolokha at gmx dot com
X-Bugzilla-Status: WAITING
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-89531-4-uAy016Cq5P@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89531-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89531-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: 2019-03/txt/msg00015.txt.bz2
Content-length: 2385

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89531

--- Comment #3 from Arseny Solokha <asolokha at gmx dot com> ---
In my case the target is 32-bit BE powerpc.

Additionally, the testcase fails w/ -fno-PIC and/or ( -fstack-protector-all or
-fno-stack-protector ); it does not fail w/ -fPIC and/or
-fstack-protector{,-explicit,-strong}.

% powerpc-e300c3-linux-gnu-gfortran-9.0.0-alpha20190224 -v                      
Using built-in specs.                                                 
COLLECT_GCC=powerpc-e300c3-linux-gnu-gfortran-9.0.0-alpha20190224
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/powerpc-e300c3-linux-gnu/9.0.0-alpha20190224/lto-wrapper
Target: powerpc-e300c3-linux-gnu
Configured with:
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/configure
--host=x86_64-pc-linux-gnu --target=powerpc-e300c3-linux-gnu
--build=x86_64-pc-linux-gnu --prefix=/usr
--bindir=/usr/x86_64-pc-linux-gnu/powerpc-e300c3-linux-gnu/gcc-bin/9.0.0-alpha20190224
--includedir=/usr/lib/gcc/powerpc-e300c3-linux-gnu/9.0.0-alpha20190224/include
--datadir=/usr/share/gcc-data/powerpc-e300c3-linux-gnu/9.0.0-alpha20190224
--mandir=/usr/share/gcc-data/powerpc-e300c3-linux-gnu/9.0.0-alpha20190224/man
--infodir=/usr/share/gcc-data/powerpc-e300c3-linux-gnu/9.0.0-alpha20190224/info
--with-gxx-include-dir=/usr/lib/gcc/powerpc-e300c3-linux-gnu/9.0.0-alpha20190224/include/g++-v9
--with-python-dir=/share/gcc-data/powerpc-e300c3-linux-gnu/9.0.0-alpha20190224/python
--enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt
--disable-werror --with-system-zlib --disable-nls --enable-checking=yes
--disable-esp --enable-libstdcxx-time --enable-poison-system-directories
--with-sysroot=/usr/powerpc-e300c3-linux-gnu --disable-bootstrap
--enable-__cxa_atexit --enable-clocale=gnu --disable-multilib --disable-altivec
--disable-fixed-point --enable-targets=all --enable-libgomp
--disable-libmudflap --disable-libssp --disable-libmpx --disable-systemtap
--disable-vtable-verify --disable-libvtv --enable-lto --with-isl
--disable-isl-version-check --disable-libsanitizer
Thread model: posix
gcc version 9.0.0-alpha20190224 20190224 (experimental) (GCC)
>From gcc-bugs-return-635722-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 03:54:24 2019
Return-Path: <gcc-bugs-return-635722-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104245 invoked by alias); 1 Mar 2019 03:54: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 104177 invoked by uid 48); 1 Mar 2019 03:54:19 -0000
From: "puffydaemon at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/89542] New: Error reported on incorrect line number when using GCC to compile .S files using #include
Date: Fri, 01 Mar 2019 03:54: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: 4.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: puffydaemon 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-89542-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: 2019-03/txt/msg00016.txt.bz2
Content-length: 1585

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89542

            Bug ID: 89542
           Summary: Error reported on incorrect line number when using GCC
                    to compile .S files using #include
           Product: gcc
           Version: 4.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: preprocessor
          Assignee: unassigned at gcc dot gnu.org
          Reporter: puffydaemon at gmail dot com
  Target Milestone: ---

Hi!

I am coding a bootloader for my own operating system, and the way I am
compiling the bootloader seems to be something tricky to GAS because it reports
a line far away from the original... I am using comments with # instead of //
or /**/ because it works and I prefer (maybe this is the problem).

The URL of the project is
https://github.com/hombrelogico/MyOwnOperatingSystem/tree/master/bootloader

Please, clone and run make to see more deeply if you need, but basically I am
on OpenBSD, the GCC version is specified before, and it says that asm
instruction on line XX is wrong, but on that line there's not for example a
`mov' instruction, as it reports...

Sorry because I can't expose better my error, I've read the bug reporting
rules, but can't report better...

I know I am using GCC to compile what I would be able with GAS, but as I need
to build a self-relocated binary, I prefer to pass by the CPP to remove
comments and build a big one file.
But seems that, it is generated bad after the CPP and/or when passed to GAS...

Thanks in advance, have a nice day.
>From gcc-bugs-return-635723-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 04:05:20 2019
Return-Path: <gcc-bugs-return-635723-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1109 invoked by alias); 1 Mar 2019 04:05:19 -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 1012 invoked by uid 48); 1 Mar 2019 04:05:15 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/89542] Error reported on incorrect line number when using GCC to compile .S files using #include
Date: Fri, 01 Mar 2019 04:05: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: 4.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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-89542-4-Sb5bhLUEwc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89542-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89542-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: 2019-03/txt/msg00017.txt.bz2
Content-length: 232

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89542

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Are you sure this is not an binutils bug at reporting the wrong line numbers
based on the preprocessed output?
>From gcc-bugs-return-635724-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 04:19:19 2019
Return-Path: <gcc-bugs-return-635724-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94075 invoked by alias); 1 Mar 2019 04:19:19 -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 93971 invoked by uid 48); 1 Mar 2019 04:19:15 -0000
From: "puffydaemon at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/89542] Error reported on incorrect line number when using GCC to compile .S files using #include
Date: Fri, 01 Mar 2019 04:19: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: 4.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: puffydaemon 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:
Message-ID: <bug-89542-4-NNkwzv1vnX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89542-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89542-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: 2019-03/txt/msg00018.txt.bz2
Content-length: 372

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89542

--- Comment #2 from puffydaemon at gmail dot com ---
(In reply to Andrew Pinski from comment #1)
> Are you sure this is not an binutils bug at reporting the wrong line numbers
> based on the preprocessed output?

No, I am not sure. Even I dont understand you well when speaking about
binutils... how can I check it?
>From gcc-bugs-return-635725-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 06:14:39 2019
Return-Path: <gcc-bugs-return-635725-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 70556 invoked by alias); 1 Mar 2019 06:14: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 70365 invoked by uid 48); 1 Mar 2019 06:14:25 -0000
From: "xry111 at mengyan1223 dot wang" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/83239] False positive from -Wstringop-overflow on simple std::vector code
Date: Fri, 01 Mar 2019 06:14: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: 8.0
X-Bugzilla-Keywords: diagnostic, missed-optimization, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: xry111 at mengyan1223 dot wang
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: law at redhat dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-83239-4-UsVdGfqOUa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83239-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83239-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: 2019-03/txt/msg00019.txt.bz2
Content-length: 431

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83239

Xi Ruoyao <xry111 at mengyan1223 dot wang> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xry111 at mengyan1223 dot wang

--- Comment #26 from Xi Ruoyao <xry111 at mengyan1223 dot wang> ---
It seems this issue comes back in 8.3.0.
>From gcc-bugs-return-635726-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 06:22:21 2019
Return-Path: <gcc-bugs-return-635726-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87080 invoked by alias); 1 Mar 2019 06:22: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 86771 invoked by uid 48); 1 Mar 2019 06:22:16 -0000
From: "gccbugzilla at limegreensocks dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89482] arm aarch32 inline assembly w constraints generate s registers instead of d
Date: Fri, 01 Mar 2019 06:22: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: documentation
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gccbugzilla at limegreensocks dot com
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-89482-4-G8oGmVa30c@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89482-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89482-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: 2019-03/txt/msg00020.txt.bz2
Content-length: 818

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89482

--- Comment #9 from David <gccbugzilla at limegreensocks dot com> ---
(In reply to Ciro Santilli from comment #8)

- I haven't posted a patch file since I wasn't sure that I was all that close
to being done.  But I'm certainly not opposed to the idea.  Were you
volunteering to move this forward?

- "document the aarch32 modifiers" It's been discussed, but since I'm already
unable to move aarch64 forward...

- As I've mentioned, I'm not enough of an ARM expert to explain why things are
they way they are.  It's possible that the reason there are "both 't' and 'w'"
has to do with history.  Additionally, remember that machine constraints aren't
just for inline asm.  They are used in the MD files as well where the
differences may have more meaning.
>From gcc-bugs-return-635727-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 06:26:56 2019
Return-Path: <gcc-bugs-return-635727-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94268 invoked by alias); 1 Mar 2019 06:26:56 -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 94198 invoked by uid 48); 1 Mar 2019 06:26:52 -0000
From: "xry111 at mengyan1223 dot wang" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/83239] False positive from -Wstringop-overflow on simple std::vector code
Date: Fri, 01 Mar 2019 06:26: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: 8.0
X-Bugzilla-Keywords: diagnostic, missed-optimization, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: xry111 at mengyan1223 dot wang
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: law at redhat dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-83239-4-94WEu0oTwz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83239-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83239-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: 2019-03/txt/msg00021.txt.bz2
Content-length: 192

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83239

--- Comment #27 from Xi Ruoyao <xry111 at mengyan1223 dot wang> ---
I confirm it is back in 8.3.0.

See https://gcc.godbolt.org/z/QoSa3W.
>From gcc-bugs-return-635728-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 07:08:54 2019
Return-Path: <gcc-bugs-return-635728-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86339 invoked by alias); 1 Mar 2019 07:08: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 86306 invoked by uid 48); 1 Mar 2019 07:08:50 -0000
From: "spinpx at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/89395] libiberty: heap buffer overflow in nm
Date: Fri, 01 Mar 2019 07:08:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: spinpx 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:
Message-ID: <bug-89395-4-e0qjpnIxMC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89395-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89395-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: 2019-03/txt/msg00022.txt.bz2
Content-length: 125

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89395

--- Comment #3 from spinpx <spinpx at gmail dot com> ---
CVE-2019-9070
>From gcc-bugs-return-635729-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 07:10:05 2019
Return-Path: <gcc-bugs-return-635729-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92734 invoked by alias); 1 Mar 2019 07:10:04 -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 90370 invoked by uid 48); 1 Mar 2019 07:10:01 -0000
From: "spinpx at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/89394] libiberty :stack overflow in nm
Date: Fri, 01 Mar 2019 07:10:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: spinpx 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:
Message-ID: <bug-89394-4-KzfYMByhKh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89394-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89394-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: 2019-03/txt/msg00023.txt.bz2
Content-length: 125

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89394

--- Comment #3 from spinpx <spinpx at gmail dot com> ---
CVE-2019-9071
>From gcc-bugs-return-635730-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 08:05:27 2019
Return-Path: <gcc-bugs-return-635730-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122497 invoked by alias); 1 Mar 2019 08:05:26 -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 117631 invoked by uid 48); 1 Mar 2019 08:05:20 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89539] [9 Regression] gcc fails to build/bootstrap on MACOSX
Date: Fri, 01 Mar 2019 08:05: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: jakub 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: cc target_milestone short_desc
Message-ID: <bug-89539-4-IJhgLJXbDp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89539-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89539-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: 2019-03/txt/msg00024.txt.bz2
Content-length: 1165

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89539

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org
   Target Milestone|---                         |9.0
            Summary|[9.0 regression] gcc fails  |[9 Regression] gcc fails to
                   |to build/bootstrap on       |build/bootstrap on MACOSX
                   |MACOSX                      |

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
That should be:
--- gcc/dwarf2out.c.jj  2019-02-27 15:49:28.567392391 +0100
+++ gcc/dwarf2out.c     2019-03-01 09:04:15.440751912 +0100
@@ -11234,7 +11234,8 @@ output_skeleton_debug_sections (dw_die_r
 /* Output a comdat type unit DIE and its children.  */

 static void
-output_comdat_type_unit (comdat_type_node *node, bool early_lto_debug)
+output_comdat_type_unit (comdat_type_node *node,
+                        bool early_lto_debug ATTRIBUTE_UNUSED)
 {
   const char *secname;
   char *tmp;
then, let me commit it as obvious.
>From gcc-bugs-return-635731-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 08:10:55 2019
Return-Path: <gcc-bugs-return-635731-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1927 invoked by alias); 1 Mar 2019 08:10: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 1850 invoked by uid 55); 1 Mar 2019 08:10:51 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/89539] [9 Regression] gcc fails to build/bootstrap on MACOSX
Date: Fri, 01 Mar 2019 08:10: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: jakub 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:
Message-ID: <bug-89539-4-e1WYMRNCDJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89539-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89539-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: 2019-03/txt/msg00025.txt.bz2
Content-length: 454

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89539

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Mar  1 08:10:19 2019
New Revision: 269301

URL: https://gcc.gnu.org/viewcvs?rev=269301&root=gcc&view=rev
Log:
        PR bootstrap/89539
        * dwarf2out.c (output_comdat_type_unit): Add ATTRIBUTE_UNUSED to
        early_lto_debug argument.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c
>From gcc-bugs-return-635732-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 08:21:32 2019
Return-Path: <gcc-bugs-return-635732-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30969 invoked by alias); 1 Mar 2019 08:21:32 -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 30849 invoked by uid 48); 1 Mar 2019 08:21:28 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89541] [9 Regression] ICE in VN_INFO(tree_node*)
Date: Fri, 01 Mar 2019 08:21: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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 cc target_milestone everconfirmed
Message-ID: <bug-89541-4-QCUk2f84qp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89541-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89541-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: 2019-03/txt/msg00026.txt.bz2
Content-length: 616

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89541

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-03-01
                 CC|                            |jakub at gcc dot gnu.org
   Target Milestone|---                         |9.0
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r263875.
>From gcc-bugs-return-635733-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 08:30:20 2019
Return-Path: <gcc-bugs-return-635733-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80867 invoked by alias); 1 Mar 2019 08:30: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 78088 invoked by uid 48); 1 Mar 2019 08:30:03 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/89539] [9 Regression] gcc fails to build/bootstrap on MACOSX
Date: Fri, 01 Mar 2019 08:30: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-89539-4-hg1yZihDqr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89539-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89539-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: 2019-03/txt/msg00027.txt.bz2
Content-length: 433

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89539

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Hopefully fixed.
>From gcc-bugs-return-635734-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 08:31:27 2019
Return-Path: <gcc-bugs-return-635734-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122640 invoked by alias); 1 Mar 2019 08:31:26 -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 122475 invoked by uid 48); 1 Mar 2019 08:31:22 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu
Date: Fri, 01 Mar 2019 08:31: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89536-4-glDAeTwg9X@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89536-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89536-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: 2019-03/txt/msg00028.txt.bz2
Content-length: 459

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #22 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The regression part of this is now fixed.
>From gcc-bugs-return-635735-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 08:36:10 2019
Return-Path: <gcc-bugs-return-635735-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3168 invoked by alias); 1 Mar 2019 08:36: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 3023 invoked by uid 48); 1 Mar 2019 08:36:01 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/12245] [7/8/9 regression] Uses lots of memory when compiling large initialized arrays
Date: Fri, 01 Mar 2019 08:36: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: 3.3.1
X-Bugzilla-Keywords: memory-hog
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-12245-4-meIVOQVXli@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-12245-4@http.gcc.gnu.org/bugzilla/>
References: <bug-12245-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: 2019-03/txt/msg00029.txt.bz2
Content-length: 752

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12245

--- Comment #71 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Frank Ch. Eigler from comment #70)
> > We could add a NATIVE_ENCODE_RANGE_EXPR that encodes a contiguous range of
> > bytes in native target representation. Of course that has to be kept
> > throughout GIMPLE.
> 
> (Just a silly spitballing here ... but if such a native target
> representation is
> not processed again before being sent to the assembler, it could even be
> stored compressed.)

One step at a time - but sure.  Note that we _do_ inspect the data for
constant folding so whether to compress needs to be evaluated on a case-by-case
basis (only initializers to non-constant objects for example?)
>From gcc-bugs-return-635736-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 08:49:04 2019
Return-Path: <gcc-bugs-return-635736-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98045 invoked by alias); 1 Mar 2019 08:49: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 97877 invoked by uid 48); 1 Mar 2019 08:48:59 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/12245] [7/8/9 regression] Uses lots of memory when compiling large initialized arrays
Date: Fri, 01 Mar 2019 08:49: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: 3.3.1
X-Bugzilla-Keywords: memory-hog
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-12245-4-ct7nJaIfn4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-12245-4@http.gcc.gnu.org/bugzilla/>
References: <bug-12245-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: 2019-03/txt/msg00030.txt.bz2
Content-length: 1550

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12245

--- Comment #72 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #71)
> (In reply to Frank Ch. Eigler from comment #70)
> > > We could add a NATIVE_ENCODE_RANGE_EXPR that encodes a contiguous range of
> > > bytes in native target representation. Of course that has to be kept
> > > throughout GIMPLE.
> > 
> > (Just a silly spitballing here ... but if such a native target
> > representation is
> > not processed again before being sent to the assembler, it could even be
> > stored compressed.)
> 
> One step at a time - but sure.  Note that we _do_ inspect the data for
> constant folding so whether to compress needs to be evaluated on a
> case-by-case
> basis (only initializers to non-constant objects for example?)

For anything we need to be able to access it easily, say if you have
int a[2][100000000] = { { huge NATIVE_ENCODE_RANGE_EXPR initializer here },
[0][42] = 42 };

For the non-compressed target dependent initializer we actually have a tree
already, STRING_CST, and we actually since PR71625 use it for char/signed
char/unsigned char array initializers, but decide to use it and convert to it
only after the initializer parsing is done, while to avoid using lots of memory
we'd need to decide for that already during parsing, say after parsing a couple
hundreds or thousands elements.  And we might consider using it for other types
as well and just natively encode/decode stuff from/to the STRING_CST as needed.
>From gcc-bugs-return-635737-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 08:50:50 2019
Return-Path: <gcc-bugs-return-635737-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103563 invoked by alias); 1 Mar 2019 08:50: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 103401 invoked by uid 48); 1 Mar 2019 08:50:45 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/89530] Wrong debug informations for C array generated at -Og [gcc-trunk]
Date: Fri, 01 Mar 2019 08:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: wrong-debug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89530-4-ZCSShYNWiE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89530-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89530-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: 2019-03/txt/msg00031.txt.bz2
Content-length: 298

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89530

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Just a note to all these testcases, you could try to turn them into a single
source file testcases by defining optimize_me_not in the same file with
__attribute__((noipa)) on it.
>From gcc-bugs-return-635738-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 08:52:58 2019
Return-Path: <gcc-bugs-return-635738-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36455 invoked by alias); 1 Mar 2019 08:52:57 -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 30108 invoked by uid 55); 1 Mar 2019 08:52:53 -0000
From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/12245] [7/8/9 regression] Uses lots of memory when compiling large initialized arrays
Date: Fri, 01 Mar 2019 08: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: 3.3.1
X-Bugzilla-Keywords: memory-hog
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenther at suse dot de
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-12245-4-kfYntADyk5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-12245-4@http.gcc.gnu.org/bugzilla/>
References: <bug-12245-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: 2019-03/txt/msg00032.txt.bz2
Content-length: 2355

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12245

--- Comment #73 from rguenther at suse dot de <rguenther at suse dot de> ---
On Fri, 1 Mar 2019, jakub at gcc dot gnu.org wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12245
> 
> --- Comment #72 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
> (In reply to Richard Biener from comment #71)
> > (In reply to Frank Ch. Eigler from comment #70)
> > > > We could add a NATIVE_ENCODE_RANGE_EXPR that encodes a contiguous range of
> > > > bytes in native target representation. Of course that has to be kept
> > > > throughout GIMPLE.
> > > 
> > > (Just a silly spitballing here ... but if such a native target
> > > representation is
> > > not processed again before being sent to the assembler, it could even be
> > > stored compressed.)
> > 
> > One step at a time - but sure.  Note that we _do_ inspect the data for
> > constant folding so whether to compress needs to be evaluated on a
> > case-by-case
> > basis (only initializers to non-constant objects for example?)
> 
> For anything we need to be able to access it easily, say if you have
> int a[2][100000000] = { { huge NATIVE_ENCODE_RANGE_EXPR initializer here },
> [0][42] = 42 };
> 
> For the non-compressed target dependent initializer we actually have a tree
> already, STRING_CST, and we actually since PR71625 use it for char/signed
> char/unsigned char array initializers, but decide to use it and convert to it
> only after the initializer parsing is done, while to avoid using lots of memory
> we'd need to decide for that already during parsing, say after parsing a couple
> hundreds or thousands elements.  And we might consider using it for other types
> as well and just natively encode/decode stuff from/to the STRING_CST as needed.

Yes, we'd usually not end up with a single NATIVE_ENCODE_RANGE_EXPR but
we need to create that "block-wise" to have any savings.  IIRC part of the
reason for the bloat was that we require constructor indices to be
present even for contiguous elements which means having INTEGER_CSTs
counting from zero to very large.  IIRC I had some partial patches that
tried to delay actual constructor element creation for contiguous elements
but somehow it didn't work out - and it would break (not save anything)
once you start using designated initializers...
>From gcc-bugs-return-635739-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 09:14:27 2019
Return-Path: <gcc-bugs-return-635739-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77579 invoked by alias); 1 Mar 2019 09:14:26 -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 77484 invoked by uid 48); 1 Mar 2019 09:14:21 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/77604] ICE in get_frame_type, at tree-nested.c:208
Date: Fri, 01 Mar 2019 09:14: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.0
X-Bugzilla-Keywords: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
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-77604-4-NPNQiMQEiF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77604-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77604-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: 2019-03/txt/msg00033.txt.bz2
Content-length: 817

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77604

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #5)
> > Does this still fail?  I cannot reproduce with current trunk or 8-branch.
> 
> The PR seems to be fixed on 7.4.1, 8.3.1 and trunk (9.0).

I can confirm that, fixed on trunk in r267347. Thus, closing as fixed.

> 
> My archives point to r267379, but I don't understand why.
> 
> Also I don't see why this is ice-on-invalid-code.
>From gcc-bugs-return-635740-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 09:20:01 2019
Return-Path: <gcc-bugs-return-635740-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88378 invoked by alias); 1 Mar 2019 09:20: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 88316 invoked by uid 48); 1 Mar 2019 09:19:56 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89534] mingw is not declaring MAKE_DECL_ONE_ONLY macro
Date: Fri, 01 Mar 2019 09:20: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:
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:
Message-ID: <bug-89534-4-ZbdsdPa3r6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89534-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89534-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: 2019-03/txt/msg00034.txt.bz2
Content-length: 691

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89534

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to jon_y from comment #1)
> Weak symbols aren't quite supported with PE, I'm not sure if making the
> symbol weak is the right approach.
> 
> Do you have a test case to show this will lead to the correct behavior with
> MAKE_DECL_ONE_ONLY?

Well, it's related to https://sourceware.org/bugzilla/show_bug.cgi?id=24267
where we get a different resolution on COFF than on ELF. But apparently, it's a
bug in binutils. I was just curious what makes a difference from compiler
perspective (among ELF and COFF) and MAKE_DECL_ONE_ONLY was the difference.
>From gcc-bugs-return-635741-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 09:22:00 2019
Return-Path: <gcc-bugs-return-635741-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97630 invoked by alias); 1 Mar 2019 09:21: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 97552 invoked by uid 48); 1 Mar 2019 09:21:55 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89497] [8 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled
Date: Fri, 01 Mar 2019 09:21: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: 8.3.0
X-Bugzilla-Keywords: ice-on-valid-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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority component cf_known_to_work short_desc cf_known_to_fail
Message-ID: <bug-89497-4-1UN92XsIMW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89497-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89497-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: 2019-03/txt/msg00035.txt.bz2
Content-length: 841

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
          Component|lto                         |middle-end
      Known to work|                            |9.0
            Summary|[8/9 Regression] ICE caused |[8 Regression] ICE caused
                   |by Segmentation Fault when  |by Segmentation Fault when
                   |compiling cups 2.2.10 with  |compiling cups 2.2.10 with
                   |LTO flags enabled           |LTO flags enabled
      Known to fail|9.0                         |

--- Comment #20 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed on trunk sofar.
>From gcc-bugs-return-635742-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 09:22:12 2019
Return-Path: <gcc-bugs-return-635742-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98684 invoked by alias); 1 Mar 2019 09:22: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 98515 invoked by uid 55); 1 Mar 2019 09:22:06 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89497] [8 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled
Date: Fri, 01 Mar 2019 09:22: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: 8.3.0
X-Bugzilla-Keywords: ice-on-valid-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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89497-4-GULcczkgEK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89497-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89497-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: 2019-03/txt/msg00036.txt.bz2
Content-length: 1220

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497

--- Comment #21 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Mar  1 09:21:30 2019
New Revision: 269302

URL: https://gcc.gnu.org/viewcvs?rev=269302&root=gcc&view=rev
Log:
2019-03-01  Richard Biener  <rguenther@suse.de>

        PR middle-end/89497
        * tree-cfgcleanup.h (cleanup_tree_cfg): Add SSA update flags
        argument, defaulted to zero.
        * passes.c (execute_function_todo): Pass down SSA update flags
        to cleanup_tree_cfg.
        * tree-cfgcleanup.c: Include tree-into-ssa.h and tree-cfgcleanup.h.
        (cleanup_tree_cfg_noloop): After cleanup_control_flow_pre update SSA
        form if requested.
        (cleanup_tree_cfg): Get and pass down SSA update flags.

        * gcc.dg/tree-ssa/reassoc-43.c: Avoid false match in regex.
        * g++.dg/tree-prof/devirt.C: Scan tracer dump for foldings
        that happen now earlier.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/passes.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/tree-prof/devirt.C
    trunk/gcc/testsuite/gcc.dg/tree-ssa/reassoc-43.c
    trunk/gcc/tree-cfgcleanup.c
    trunk/gcc/tree-cfgcleanup.h
>From gcc-bugs-return-635743-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 09:24:45 2019
Return-Path: <gcc-bugs-return-635743-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102640 invoked by alias); 1 Mar 2019 09:24:44 -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 102557 invoked by uid 48); 1 Mar 2019 09:24:40 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89543] New: Don't modify TREE_NO_WARNING during folding in place
Date: Fri, 01 Mar 2019 09:24:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: ice-checking, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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 dependson target_milestone cf_gcchost cf_gcctarget cf_gccbuild
Message-ID: <bug-89543-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: 2019-03/txt/msg00037.txt.bz2
Content-length: 1185

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89543

            Bug ID: 89543
           Summary: Don't modify TREE_NO_WARNING during folding in place
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: ice-checking, ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
                CC: marxin at gcc dot gnu.org, tschwinge at gcc dot gnu.org
        Depends on: 89503
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu
             Build: x86_64-pc-linux-gnu

+++ This bug was initially created as a clone of Bug #89503 +++

As discussed in https://gcc.gnu.org/ml/gcc-patches/2019-03/msg00013.html and
surrounding thread, it might be a good idea not to modify TREE_NO_WARNING flags
in-place during folding, but instead unshare whatever trees surround it.
In that case the PR89503 change can be reverted.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89503
[Bug 89503] Checking ICE in 'gcc.dg/warn-strlen-no-nul.c'
>From gcc-bugs-return-635744-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 09:27:10 2019
Return-Path: <gcc-bugs-return-635744-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114962 invoked by alias); 1 Mar 2019 09:27: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 114934 invoked by uid 48); 1 Mar 2019 09:27:05 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89522] [8 Regression] ICE: trying to capture 'f' in instantiation of generic lambda
Date: Fri, 01 Mar 2019 09: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: 9.0
X-Bugzilla-Keywords: ice-on-invalid-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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority target_milestone
Message-ID: <bug-89522-4-7CoXrOvhoq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89522-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89522-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: 2019-03/txt/msg00038.txt.bz2
Content-length: 345

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89522

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
   Target Milestone|---                         |8.4
>From gcc-bugs-return-635745-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 09:27:19 2019
Return-Path: <gcc-bugs-return-635745-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 115730 invoked by alias); 1 Mar 2019 09:27:19 -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 115644 invoked by uid 55); 1 Mar 2019 09:27:15 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89503] Checking ICE in 'gcc.dg/warn-strlen-no-nul.c'
Date: Fri, 01 Mar 2019 09:27: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: 9.0
X-Bugzilla-Keywords: ice-checking, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89503-4-uiN8uKOCpp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89503-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89503-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: 2019-03/txt/msg00039.txt.bz2
Content-length: 451

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89503

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Mar  1 09:26:40 2019
New Revision: 269303

URL: https://gcc.gnu.org/viewcvs?rev=269303&root=gcc&view=rev
Log:
        PR middle-end/89503
        * fold-const.c (fold_checksum_tree): Ignore TREE_NO_WARNING bit
        on DECL_P and EXPR_P.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
>From gcc-bugs-return-635749-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 09:28:54 2019
Return-Path: <gcc-bugs-return-635749-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118707 invoked by alias); 1 Mar 2019 09:28: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 118646 invoked by uid 48); 1 Mar 2019 09:28:49 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/65403] -Wno-error=<not implemented> is an error
Date: Fri, 01 Mar 2019 09:28: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: 5.0
X-Bugzilla-Keywords: diagnostic, easyhack, patch
X-Bugzilla-Severity: enhancement
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: cc
Message-ID: <bug-65403-4-plxHiPDzOu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65403-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65403-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: 2019-03/txt/msg00043.txt.bz2
Content-length: 452

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65403

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexhenrie24 at gmail dot com

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
*** Bug 89524 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-635746-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 09:28:27 2019
Return-Path: <gcc-bugs-return-635746-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117177 invoked by alias); 1 Mar 2019 09:28: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 117106 invoked by uid 48); 1 Mar 2019 09:28:23 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89503] Checking ICE in 'gcc.dg/warn-strlen-no-nul.c'
Date: Fri, 01 Mar 2019 09:28: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: 9.0
X-Bugzilla-Keywords: ice-checking, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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: bug_status resolution
Message-ID: <bug-89503-4-C18L9rhFHQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89503-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89503-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: 2019-03/txt/msg00040.txt.bz2
Content-length: 423

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89503

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-635747-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 09:28:27 2019
Return-Path: <gcc-bugs-return-635747-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 117186 invoked by alias); 1 Mar 2019 09:28: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 117132 invoked by uid 48); 1 Mar 2019 09:28:24 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89543] Don't modify TREE_NO_WARNING during folding in place
Date: Fri, 01 Mar 2019 09:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: ice-checking, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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_status resolution
Message-ID: <bug-89543-4-5GDGT23ius@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89543-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89543-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: 2019-03/txt/msg00041.txt.bz2
Content-length: 471

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89543
Bug 89543 depends on bug 89503, which changed state.

Bug 89503 Summary: Checking ICE in 'gcc.dg/warn-strlen-no-nul.c'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89503

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-635748-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 09:28:54 2019
Return-Path: <gcc-bugs-return-635748-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118700 invoked by alias); 1 Mar 2019 09:28: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 118631 invoked by uid 48); 1 Mar 2019 09:28:49 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89524] -Wno-error doesn't work with warnings from newer versions of GCC
Date: Fri, 01 Mar 2019 09:28: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: 4.8.5
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89524-4-B0C1YyQesU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89524-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89524-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: 2019-03/txt/msg00042.txt.bz2
Content-length: 493

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89524

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
dup.

*** This bug has been marked as a duplicate of bug 65403 ***
>From gcc-bugs-return-635750-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 09:31:42 2019
Return-Path: <gcc-bugs-return-635750-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123398 invoked by alias); 1 Mar 2019 09:31: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 123365 invoked by uid 48); 1 Mar 2019 09:31:38 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89532] [9 Regression] internal compiler error: in type_has_nontrivial_copy_init, at cp/tree.c:4024
Date: Fri, 01 Mar 2019 09:31: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority
Message-ID: <bug-89532-4-orG745JYpn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89532-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89532-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: 2019-03/txt/msg00044.txt.bz2
Content-length: 292

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89532

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
>From gcc-bugs-return-635751-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 09:35:19 2019
Return-Path: <gcc-bugs-return-635751-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9278 invoked by alias); 1 Mar 2019 09:35:19 -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 9137 invoked by uid 48); 1 Mar 2019 09:35:15 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89538] [7.3.0] GCC miscompiling LLVM because of wrong vectorization
Date: Fri, 01 Mar 2019 09:35: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-89538-4-r32rmbgx1v@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89538-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89538-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: 2019-03/txt/msg00045.txt.bz2
Content-length: 664

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89538

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2019-03-01
     Ever confirmed|0                           |1

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Can you at least attach preprocessed source of DwarfDebug.cpp plus the compiler
command that is used to cause the issue?  You also may want to try GCC 7.4
which has fixes over GCC 7.3.
>From gcc-bugs-return-635753-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 09:36:41 2019
Return-Path: <gcc-bugs-return-635753-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13429 invoked by alias); 1 Mar 2019 09:36:41 -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 13316 invoked by uid 48); 1 Mar 2019 09:36:37 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89541] [9 Regression] ICE in VN_INFO(tree_node*)
Date: Fri, 01 Mar 2019 09:36: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status assigned_to
Message-ID: <bug-89541-4-A7tcz0BLxl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89541-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89541-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: 2019-03/txt/msg00047.txt.bz2
Content-length: 520

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89541

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Mine obviously.
>From gcc-bugs-return-635752-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 09:36:17 2019
Return-Path: <gcc-bugs-return-635752-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11148 invoked by alias); 1 Mar 2019 09:36: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 11096 invoked by uid 48); 1 Mar 2019 09:36:13 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libquadmath/89540] roundq(x) returning value with non-zero fractional part
Date: Fri, 01 Mar 2019 09:36:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libquadmath
X-Bugzilla-Version: 8.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-89540-4-xt7EZh1w2w@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89540-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89540-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: 2019-03/txt/msg00046.txt.bz2
Content-length: 495

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89540

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2019-03-01
     Ever confirmed|0                           |1

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
So INVALID/FIXED?
>From gcc-bugs-return-635754-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 09:37:42 2019
Return-Path: <gcc-bugs-return-635754-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15967 invoked by alias); 1 Mar 2019 09:37: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 15913 invoked by uid 48); 1 Mar 2019 09:37:38 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/89542] Error reported on incorrect line number when using GCC to compile .S files using #include
Date: Fri, 01 Mar 2019 09:37: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: 4.2.1
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:
Message-ID: <bug-89542-4-ocZquAJvF0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89542-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89542-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: 2019-03/txt/msg00048.txt.bz2
Content-length: 172

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89542

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Also note that GCC 4.2.1 is no longer maintained.
>From gcc-bugs-return-635755-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 09:43:34 2019
Return-Path: <gcc-bugs-return-635755-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45696 invoked by alias); 1 Mar 2019 09: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 42847 invoked by uid 48); 1 Mar 2019 09:43:29 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89541] [9 Regression] ICE in VN_INFO(tree_node*)
Date: Fri, 01 Mar 2019 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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89541-4-HVB7XDpTvA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89541-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89541-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: 2019-03/txt/msg00049.txt.bz2
Content-length: 684

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89541

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
So we have

C.3857 = 1;

where the LHS is a CONST_DECL and this doesn't get a virtual definition.

This is arguably bad IL (a CONST_DECL LHS should have been rejected by
the GIMPLE verifier).  We end up here from inlining

za (integer(kind=4) & restrict wl)
{
  <bb 2> :
  *wl_2(D) = 1;
  return;

}

into

lh ()
{
  <bb 2> :
  za (&C.3856);
  za (&C.3857);
  return;

}

I guess this is invalid Fortran but only at runtime and the proper place
to "fix-up" is likely the inliner.

DCE happily removes all "stores" to CONST_DECLs w/o further consideration.
>From gcc-bugs-return-635756-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 09:49:10 2019
Return-Path: <gcc-bugs-return-635756-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17521 invoked by alias); 1 Mar 2019 09:49: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 17413 invoked by uid 48); 1 Mar 2019 09:49:06 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82501] AddressSanitizer does not handle negative offset for first global variable
Date: Fri, 01 Mar 2019 09:49: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: unknown
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: normal
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: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82501-4-UcfQpMvpRN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82501-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82501-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: 2019-03/txt/msg00050.txt.bz2
Content-length: 778

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82501

--- Comment #23 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Andrey Drobyshev from comment #22)
> Created attachment 45851 [details]
> Work-in-progress fix considering relocations
> 
> I'm a bit stuck. I managed to precompute reloc value for the globals (the
> code for detect_reloc_for_node() is stealed from get_variable_section ()). I
> also succeded in putting dummy variable into .data.rel.ro by making a decl
> of a pointer type.

Nice progress!

> But .data.rel is not working: checks from varasm.c:1173
> and varasm.c:1197 are somewhat conflicting. Maybe you could find a way to
> overcome this?

Can you please paste content of the lines, the lines you mentioned point to a
'}' for me.
>From gcc-bugs-return-635757-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 09:53:32 2019
Return-Path: <gcc-bugs-return-635757-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5061 invoked by alias); 1 Mar 2019 09:53:32 -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 4967 invoked by uid 48); 1 Mar 2019 09:53:28 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/82501] AddressSanitizer does not handle negative offset for first global variable
Date: Fri, 01 Mar 2019 09:53: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: unknown
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-82501-4-BLOX6nVrr0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-82501-4@http.gcc.gnu.org/bugzilla/>
References: <bug-82501-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: 2019-03/txt/msg00051.txt.bz2
Content-length: 1433

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82501

--- Comment #24 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #23)
> (In reply to Andrey Drobyshev from comment #22)
> > Created attachment 45851 [details]
> > Work-in-progress fix considering relocations
> > 
> > I'm a bit stuck. I managed to precompute reloc value for the globals (the
> > code for detect_reloc_for_node() is stealed from get_variable_section ()). I
> > also succeded in putting dummy variable into .data.rel.ro by making a decl
> > of a pointer type.
> 
> Nice progress!
> 
> > But .data.rel is not working: checks from varasm.c:1173
> > and varasm.c:1197 are somewhat conflicting. Maybe you could find a way to
> > overcome this?
> 
> Can you please paste content of the lines, the lines you mentioned point to
> a '}' for me.

I would like to ask, has the idea of adding an artificial object linked with
-fsanitize=address early on the link line which would register artificial dummy
variables in at least the most common data sections been considered and
rejected?
I mean, it should at least for large libraries mean significantly fewer dummy
variables, on the other side, when mixing sanitized and non-sanitized objects
within one binary/library (having sanitized ones first and then say linking a
static library non-sanitized would be fine) would mean catching up fewer
issues.
>From gcc-bugs-return-635758-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 09:59:22 2019
Return-Path: <gcc-bugs-return-635758-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19230 invoked by alias); 1 Mar 2019 09:59: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 19109 invoked by uid 48); 1 Mar 2019 09:59:18 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89541] [9 Regression] ICE in VN_INFO(tree_node*)
Date: Fri, 01 Mar 2019 09:59: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89541-4-RqgBP0oQas@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89541-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89541-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: 2019-03/txt/msg00052.txt.bz2
Content-length: 148

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89541

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Quite similar to PR87117.
>From gcc-bugs-return-635759-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 10:26:43 2019
Return-Path: <gcc-bugs-return-635759-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127466 invoked by alias); 1 Mar 2019 10:26:43 -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 127354 invoked by uid 48); 1 Mar 2019 10:26:39 -0000
From: "rearnsha at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89544] New: Argument marshalling incorrectly assumes stack slots are naturally aligned.
Date: Fri, 01 Mar 2019 10:26:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rearnsha 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 cf_gcctarget
Message-ID: <bug-89544-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: 2019-03/txt/msg00053.txt.bz2
Content-length: 1950

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89544

            Bug ID: 89544
           Summary: Argument marshalling incorrectly assumes stack slots
                    are naturally aligned.
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rearnsha at gcc dot gnu.org
                CC: bernd.edlinger at hotmail dot de, ebotcazou at gcc dot gnu.org
  Target Milestone: ---
            Target: arm

The AAPCS requires that an object which is artificially overaligned is passed
at either its natural alignment (if <= 8) or on an 8-byte boundary if it is
more aligned than that.  So a struct of the form

struct s
{ int a; int b;} __attribute__((aligned(8));

has a natural alignment of 4 and must be passed by value with 4-byte alignment.

The middle end code ignores this and assign_parm_find_stack_rtl ends up
generating invalid rtl of the form

(mem/c:DI (plus:SI (reg/f:SI 104 virtual-incoming-args)
        (const_int 4 [0x4])) [1 f+0 S8 A32])

ie a DImode object with 32-bit alignment.  It then proceeds to ignore the under
alignment when expanding to RTL and incorrectly calls gen_movdi directly,
rather than falling back to the misaligned move code.

Test case:

struct s {
  int a, b;
} __attribute__((aligned(8)));

struct s f0;
int f(int a, int b, int c, int d, int e, struct s f)
{
  f0 = f;
  return __alignof(f);
}

When compiled with "-O -march=armv5te" generates:

        @ args = 12, pretend = 0, frame = 0
        @ frame_needed = 0, uses_anonymous_args = 0
        @ link register save eliminated.
        ldrd    r0, [sp, #4]        <========== Invalid alignment for ldrd
        ldr     r3, .L2
        strd    r0, [r3]
        mov     r0, #8
        bx      lr
>From gcc-bugs-return-635760-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 10:32:53 2019
Return-Path: <gcc-bugs-return-635760-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7981 invoked by alias); 1 Mar 2019 10:32:52 -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 7880 invoked by uid 48); 1 Mar 2019 10:32:49 -0000
From: "10walls at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89534] mingw is not declaring MAKE_DECL_ONE_ONLY macro
Date: Fri, 01 Mar 2019 10: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: 10walls 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:
Message-ID: <bug-89534-4-wWALKaKJ9K@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89534-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89534-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: 2019-03/txt/msg00054.txt.bz2
Content-length: 443

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89534

--- Comment #3 from jon_y <10walls at gmail dot com> ---
My experience with weak symbols on mingw is that it will lead to an undefined
symbol error if it was the only symbol definition.

It only works if the weak symbol was encountered before the undefined symbol,
reversing the usual symbol resolution order.

So marking linkonce symbols as weak seems to be a strange solution to me.
>From gcc-bugs-return-635761-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 10:36:57 2019
Return-Path: <gcc-bugs-return-635761-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51113 invoked by alias); 1 Mar 2019 10:36:56 -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 51093 invoked by uid 48); 1 Mar 2019 10:36:53 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89545] New: ABI clarification for over-aligned type stack passing
Date: Fri, 01 Mar 2019 10:36: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:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-89545-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: 2019-03/txt/msg00055.txt.bz2
Content-length: 1199

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89545

            Bug ID: 89545
           Summary: ABI clarification for over-aligned type stack passing
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
  Target Milestone: ---

For the following, if you compile with -O3 -mavx2
-fno-tree-loop-distribute-patterns -fno-ipa-cp you see vectorization assuming
32byte alignment of the stack slot for 'y' in foo.  That seems to be OK
given that main uses appropriately aligned stack-slots for the arguments
but I don't see this documented in the x86 ABI anywhere.

struct X { char x[32]; } __attribute__((aligned(32)));
struct X x;
struct Y { int i; float f; };

void __attribute__((noinline)) baz (struct X *p) { *(volatile char *)p->x; }

void __attribute__((noinline))
foo (int i1, int i2, int i3, int i4, int i5, int i6, struct X pad1, struct Y
pad, struct X y)
{
  for (unsigned i = 0; i < 32; ++i)
    y.x[i] = 1;
  baz (&y);
}

int main()
{
  struct Y y;
  foo (0,1,2,3,4,5, x, y, x);
}
>From gcc-bugs-return-635762-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 10:44:43 2019
Return-Path: <gcc-bugs-return-635762-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74961 invoked by alias); 1 Mar 2019 10:44: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 74800 invoked by uid 48); 1 Mar 2019 10:44:37 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/63872] -Wunused-local-typedefs warns incorrectly on a typedef that's referenced from a template
Date: Fri, 01 Mar 2019 10:44: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: 4.8.2
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-63872-4-W7QfeQXbuZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63872-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63872-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: 2019-03/txt/msg00056.txt.bz2
Content-length: 848

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63872

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Smaller testcase:

template<typename T>
T make()
{
  return { typename T::type{0} };
}

void f()
{
  struct X {
    using type = int;
    X(int) { }
  };

  make<X>();
}

local.cc: In function ‘void f()’:
local.cc:10:21: warning: typedef ‘using type = int’ locally defined but not
used [-Wunused-local-typedefs]
     using type = int;
                     ^

As stated in comment 0, this causes warnings for types with 'allocator_type' or
'is_transparent' typedefs, which get used indirectly by standard library
components and removing them would still compile but with different semantics.

Adding __attribute__((unused)) or [[maybe_unused]] does work, but shouldn't be
necessary.
>From gcc-bugs-return-635763-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 11:16:07 2019
Return-Path: <gcc-bugs-return-635763-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28258 invoked by alias); 1 Mar 2019 11:16: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 28113 invoked by uid 48); 1 Mar 2019 11:15:56 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/63872] -Wunused-local-typedefs warns incorrectly on a typedef that's referenced from a template
Date: Fri, 01 Mar 2019 11:16: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: 4.8.2
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-63872-4-SlsGmk97Pn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63872-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63872-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: 2019-03/txt/msg00057.txt.bz2
Content-length: 544

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63872

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This looks similar enough to PR 61596 to consider it a dup.

*** This bug has been marked as a duplicate of bug 61596 ***
>From gcc-bugs-return-635764-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 11:16:09 2019
Return-Path: <gcc-bugs-return-635764-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28498 invoked by alias); 1 Mar 2019 11:16: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 28176 invoked by uid 48); 1 Mar 2019 11:15:58 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/61596] -Wunused-local-typedefs warns incorrectly on a typedef that's referenced indirectly
Date: Fri, 01 Mar 2019 11:16: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: 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:
Message-ID: <bug-61596-4-F3deEO6Xdl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61596-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61596-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: 2019-03/txt/msg00058.txt.bz2
Content-length: 182

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61596

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
*** Bug 63872 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-635765-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 11:16:11 2019
Return-Path: <gcc-bugs-return-635765-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28852 invoked by alias); 1 Mar 2019 11:16: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 28268 invoked by uid 48); 1 Mar 2019 11:16:01 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89180] [meta-bug] bogus/missing -Wunused warnings
Date: Fri, 01 Mar 2019 11:16:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: diagnostic, meta-bug
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 resolution
Message-ID: <bug-89180-4-Yx4fsWakLj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89180-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89180-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: 2019-03/txt/msg00059.txt.bz2
Content-length: 520

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89180
Bug 89180 depends on bug 63872, which changed state.

Bug 63872 Summary: -Wunused-local-typedefs warns incorrectly on a typedef that's referenced from a template
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63872

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE
>From gcc-bugs-return-635766-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 11:21:35 2019
Return-Path: <gcc-bugs-return-635766-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40214 invoked by alias); 1 Mar 2019 11:21: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 40147 invoked by uid 48); 1 Mar 2019 11:21:31 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71446] Incorrect overload resolution when using designated initializers
Date: Fri, 01 Mar 2019 11:21: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: 5.3.0
X-Bugzilla-Keywords: accepts-invalid, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-71446-4-aAh6Nkj9Z2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71446-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71446-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: 2019-03/txt/msg00060.txt.bz2
Content-length: 649

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71446

--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
So, I'm afraid I need to give up on the build_aggr_conv+desig11.C part of the
above patch, I really don't understand what C++ says that should be done.

I've tried to at least test the remaining part of the patch as incremental
improvement, but it regresses g++.dg/opt/pr65554.C.  The problem is that
various spots in the compiler, e.g. reshape_init, add sometimes ce->index.
So, I'll try to use a flag on the CONSTRUCTOR to note if there are any user
designators (as opposed to something added by the compiler at some point).
>From gcc-bugs-return-635767-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 11:23:50 2019
Return-Path: <gcc-bugs-return-635767-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42813 invoked by alias); 1 Mar 2019 11:23: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 42736 invoked by uid 48); 1 Mar 2019 11:23:46 -0000
From: "ciro.santilli at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89482] arm aarch32 inline assembly w constraints generate s registers instead of d
Date: Fri, 01 Mar 2019 11:23: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: documentation
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ciro.santilli at gmail dot com
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-89482-4-RypS6xTNxq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89482-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89482-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: 2019-03/txt/msg00061.txt.bz2
Content-length: 261

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89482

--- Comment #10 from Ciro Santilli <ciro.santilli at gmail dot com> ---
I'm tempted to give it a shot, since doc current state makes me sad :-)

If I do start work, I'll ping here to avoid work duplication.
>From gcc-bugs-return-635768-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 11:33:56 2019
Return-Path: <gcc-bugs-return-635768-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62275 invoked by alias); 1 Mar 2019 11:33:55 -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 62150 invoked by uid 48); 1 Mar 2019 11:33:51 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71446] Incorrect overload resolution when using designated initializers
Date: Fri, 01 Mar 2019 11: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: 5.3.0
X-Bugzilla-Keywords: accepts-invalid, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: attachments.created
Message-ID: <bug-71446-4-Qfsd1gvw9n@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71446-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71446-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: 2019-03/txt/msg00062.txt.bz2
Content-length: 300

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71446

--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45863
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45863&action=edit
gcc9-pr71446.patch

That would be this (untested except for make check-c++all).
>From gcc-bugs-return-635769-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 11:36:46 2019
Return-Path: <gcc-bugs-return-635769-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 69888 invoked by alias); 1 Mar 2019 11:36:46 -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 69811 invoked by uid 48); 1 Mar 2019 11:36:42 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89051] -Wno-error= does not work for warning groups
Date: Fri, 01 Mar 2019 11:36: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.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
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: target_milestone
Message-ID: <bug-89051-4-nlx1d1cjC8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89051-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89051-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: 2019-03/txt/msg00063.txt.bz2
Content-length: 434

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89051

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|10.0                        |9.0

--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
I've got a patch candidate for it. I hope we can get it in GCC 9.1.
>From gcc-bugs-return-635770-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 12:16:55 2019
Return-Path: <gcc-bugs-return-635770-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103780 invoked by alias); 1 Mar 2019 12:16:55 -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 103751 invoked by uid 48); 1 Mar 2019 12:16:50 -0000
From: "rearnsha at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89544] Argument marshalling incorrectly assumes stack slots are naturally aligned.
Date: Fri, 01 Mar 2019 12:16: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: 9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rearnsha 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-89544-4-E3u7uHYPBC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89544-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89544-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: 2019-03/txt/msg00064.txt.bz2
Content-length: 572

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89544

--- Comment #1 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
I think things start to go wrong in assign_parm_find_data_types.  That calls
promote_function_mode, but that then has no target-specific action when the
type is a RECORD_TYPE, and it never calls the back-end in this case.

If it did, then the backend could change the promoted mode to BLKmode to
represent the fact that the object was not correctly aligned on the stack, and
presumably the code would then be forced into a more sensible action.
>From gcc-bugs-return-635771-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 12:34:39 2019
Return-Path: <gcc-bugs-return-635771-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34582 invoked by alias); 1 Mar 2019 12:34: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 34521 invoked by uid 48); 1 Mar 2019 12:34:34 -0000
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89544] Argument marshalling incorrectly assumes stack slots are naturally aligned.
Date: Fri, 01 Mar 2019 12:34: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: 9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bernd.edlinger at hotmail dot de
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-89544-4-tsanEpei6y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89544-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89544-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: 2019-03/txt/msg00065.txt.bz2
Content-length: 475

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89544

--- Comment #2 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
Dont know if it helps, but when I wrote my patch,
I remember the reason why parameter which have an address taken
is in use_register_for_decl

returns false here:
  /* Honor addressability.  */
  if (TREE_ADDRESSABLE (decl))
    return false;

if that happens the value is copied to a new stack slot,
if TREE_ADDRESSABLE is false things go wrong.
>From gcc-bugs-return-635776-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 12:39:35 2019
Return-Path: <gcc-bugs-return-635776-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44385 invoked by alias); 1 Mar 2019 12:39: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 44251 invoked by uid 48); 1 Mar 2019 12:39:31 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/88878] .debug_pubnames/types empty with -flto
Date: Fri, 01 Mar 2019 12:39:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: lto
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:
Message-ID: <bug-88878-4-Dy0yEQgoUb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88878-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88878-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: 2019-03/txt/msg00070.txt.bz2
Content-length: 184

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88878

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
-fdebug-types-section should be OK now on the branch as well.
>From gcc-bugs-return-635775-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 12:39:16 2019
Return-Path: <gcc-bugs-return-635775-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42313 invoked by alias); 1 Mar 2019 12:39: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 42154 invoked by uid 55); 1 Mar 2019 12:39:11 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89514] -g -fdebug-types-section -flto gives 'Dwarf Error: bad length' in gdb
Date: Fri, 01 Mar 2019 12:39: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.3.0
X-Bugzilla-Keywords:
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-89514-4-r7OxxKcQLG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89514-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89514-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: 2019-03/txt/msg00068.txt.bz2
Content-length: 1381

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89514

--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Mar  1 12:38:38 2019
New Revision: 269305

URL: https://gcc.gnu.org/viewcvs?rev=269305&root=gcc&view=rev
Log:
2019-03-01  Richard Biener  <rguenther@suse.de>

        Backport from mainline
        2019-03-01  Jakub Jelinek  <jakub@redhat.com>

        PR bootstrap/89539
        * dwarf2out.c (output_comdat_type_unit): Add ATTRIBUTE_UNUSED to
        early_lto_debug argument.

        2019-02-27  Richard Biener  <rguenther@suse.de>

        PR debug/88878
        * dwarf2out.c (use_debug_types): Disable when in_lto_p.

        2019-02-27  Richard Biener  <rguenther@suse.de>

        PR debug/88878
        * dwarf2out.c (output_comdat_type_unit): Add early_lto_debug
        parameter, prefix section name with .gnu.debuglto_ if true.
        (dwarf2out_finish): Pass false to output_comdat_type_unit.
        (dwarf2out_early_finish): Pass true to output_comdat_type_unit.

        2019-02-27  Richard Biener  <rguenther@suse.de>

        PR debug/89514
        * dwarf2out.c (size_of_die): Key on AT_ref (a)->comdat_type_p
        rather than on use_debug_types, doing what output_die does.
        (value_format): Likewise.

Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/dwarf2out.c
>From gcc-bugs-return-635772-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 12:39:00 2019
Return-Path: <gcc-bugs-return-635772-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41372 invoked by alias); 1 Mar 2019 12:39: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 41271 invoked by uid 48); 1 Mar 2019 12:38:56 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/89514] -g -fdebug-types-section -flto gives 'Dwarf Error: bad length' in gdb
Date: Fri, 01 Mar 2019 12:39: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.3.0
X-Bugzilla-Keywords:
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-89514-4-k4sv7Sj3wb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89514-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89514-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: 2019-03/txt/msg00066.txt.bz2
Content-length: 484

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89514

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Known to work|                            |8.3.1
         Resolution|---                         |FIXED

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-635773-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 12:39:15 2019
Return-Path: <gcc-bugs-return-635773-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42237 invoked by alias); 1 Mar 2019 12:39: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 42131 invoked by uid 55); 1 Mar 2019 12:39:10 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/89539] [9 Regression] gcc fails to build/bootstrap on MACOSX
Date: Fri, 01 Mar 2019 12:39: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: rguenth at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-89539-4-jQC34HLTTS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89539-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89539-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: 2019-03/txt/msg00067.txt.bz2
Content-length: 1381

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89539

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Mar  1 12:38:38 2019
New Revision: 269305

URL: https://gcc.gnu.org/viewcvs?rev=269305&root=gcc&view=rev
Log:
2019-03-01  Richard Biener  <rguenther@suse.de>

        Backport from mainline
        2019-03-01  Jakub Jelinek  <jakub@redhat.com>

        PR bootstrap/89539
        * dwarf2out.c (output_comdat_type_unit): Add ATTRIBUTE_UNUSED to
        early_lto_debug argument.

        2019-02-27  Richard Biener  <rguenther@suse.de>

        PR debug/88878
        * dwarf2out.c (use_debug_types): Disable when in_lto_p.

        2019-02-27  Richard Biener  <rguenther@suse.de>

        PR debug/88878
        * dwarf2out.c (output_comdat_type_unit): Add early_lto_debug
        parameter, prefix section name with .gnu.debuglto_ if true.
        (dwarf2out_finish): Pass false to output_comdat_type_unit.
        (dwarf2out_early_finish): Pass true to output_comdat_type_unit.

        2019-02-27  Richard Biener  <rguenther@suse.de>

        PR debug/89514
        * dwarf2out.c (size_of_die): Key on AT_ref (a)->comdat_type_p
        rather than on use_debug_types, doing what output_die does.
        (value_format): Likewise.

Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/dwarf2out.c
>From gcc-bugs-return-635774-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 12:39:15 2019
Return-Path: <gcc-bugs-return-635774-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42242 invoked by alias); 1 Mar 2019 12:39: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 42144 invoked by uid 55); 1 Mar 2019 12:39:11 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/88878] .debug_pubnames/types empty with -flto
Date: Fri, 01 Mar 2019 12:39:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: lto
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:
Message-ID: <bug-88878-4-1LQqy8XIzj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88878-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88878-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: 2019-03/txt/msg00069.txt.bz2
Content-length: 1381

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88878

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Mar  1 12:38:38 2019
New Revision: 269305

URL: https://gcc.gnu.org/viewcvs?rev=269305&root=gcc&view=rev
Log:
2019-03-01  Richard Biener  <rguenther@suse.de>

        Backport from mainline
        2019-03-01  Jakub Jelinek  <jakub@redhat.com>

        PR bootstrap/89539
        * dwarf2out.c (output_comdat_type_unit): Add ATTRIBUTE_UNUSED to
        early_lto_debug argument.

        2019-02-27  Richard Biener  <rguenther@suse.de>

        PR debug/88878
        * dwarf2out.c (use_debug_types): Disable when in_lto_p.

        2019-02-27  Richard Biener  <rguenther@suse.de>

        PR debug/88878
        * dwarf2out.c (output_comdat_type_unit): Add early_lto_debug
        parameter, prefix section name with .gnu.debuglto_ if true.
        (dwarf2out_finish): Pass false to output_comdat_type_unit.
        (dwarf2out_early_finish): Pass true to output_comdat_type_unit.

        2019-02-27  Richard Biener  <rguenther@suse.de>

        PR debug/89514
        * dwarf2out.c (size_of_die): Key on AT_ref (a)->comdat_type_p
        rather than on use_debug_types, doing what output_die does.
        (value_format): Likewise.

Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/dwarf2out.c
>From gcc-bugs-return-635777-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 12:40:04 2019
Return-Path: <gcc-bugs-return-635777-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45563 invoked by alias); 1 Mar 2019 12:40:04 -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 45387 invoked by uid 48); 1 Mar 2019 12:39:58 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89544] Argument marshalling incorrectly assumes stack slots are naturally aligned.
Date: Fri, 01 Mar 2019 12:40: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: 9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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-89544-4-3noGm3udqn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89544-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89544-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: 2019-03/txt/msg00071.txt.bz2
Content-length: 150

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89544

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
PR 89545 seems very related.
>From gcc-bugs-return-635778-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 12:49:49 2019
Return-Path: <gcc-bugs-return-635778-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92801 invoked by alias); 1 Mar 2019 12:49: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 92689 invoked by uid 48); 1 Mar 2019 12:49:45 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89546] New: [8/9 Regression] Suspected arm flint miscompilation starting with r255510
Date: Fri, 01 Mar 2019 12:49: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: 8.3.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89546-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: 2019-03/txt/msg00072.txt.bz2
Content-length: 790

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89546

            Bug ID: 89546
           Summary: [8/9 Regression] Suspected arm flint miscompilation
                    starting with r255510
           Product: gcc
           Version: 8.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
  Target Milestone: ---

Created attachment 45864
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45864&action=edit
rh1555151-3.C

The following testcase started aborting with -O2 -mfloat-abi=hard
-march=armv7-a -mfpu=vfp -mtune=generic-armv7-a -mabi=aapcs-linux in r255510
and aborts even with current trunk.
>From gcc-bugs-return-635779-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 12:52:55 2019
Return-Path: <gcc-bugs-return-635779-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 98341 invoked by alias); 1 Mar 2019 12:52:55 -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 98201 invoked by uid 55); 1 Mar 2019 12:52:51 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89541] [9 Regression] ICE in VN_INFO(tree_node*)
Date: Fri, 01 Mar 2019 12:52: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89541-4-sVUPH7x6xj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89541-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89541-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: 2019-03/txt/msg00073.txt.bz2
Content-length: 709

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89541

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Mar  1 12:52:19 2019
New Revision: 269307

URL: https://gcc.gnu.org/viewcvs?rev=269307&root=gcc&view=rev
Log:
2019-03-01  Richard Biener  <rguenther@suse.de>

        PR middle-end/89541
        * tree-ssa-operands.c (add_stmt_operand): CONST_DECL may
        get virtual operands.
        (get_expr_operands): Handle CONST_DECL like other decls.

        * gfortran.dg/pr89451.f90: New testcase.

Added:
    trunk/gcc/testsuite/gfortran.dg/pr89451.f90
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-operands.c
>From gcc-bugs-return-635780-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 12:54:43 2019
Return-Path: <gcc-bugs-return-635780-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 101328 invoked by alias); 1 Mar 2019 12:54: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 101251 invoked by uid 48); 1 Mar 2019 12:54:38 -0000
From: "steven at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/35362] Splitting up a switch table into smaller ones (where there a huge gaps between the clusters)
Date: Fri, 01 Mar 2019 12: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: 4.3.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: steven at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: steven at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_reconfirmed_on cc component
Message-ID: <bug-35362-4-OjfIwzIIJq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-35362-4@http.gcc.gnu.org/bugzilla/>
References: <bug-35362-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: 2019-03/txt/msg00074.txt.bz2
Content-length: 575

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35362

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2013-12-24 00:00:00         |2019-3-1
                 CC|                            |marxin at gcc dot gnu.org
          Component|rtl-optimization            |tree-optimization

--- Comment #2 from Steven Bosscher <steven at gcc dot gnu.org> ---
Now a gimple optimization opportunity (tree-switch-conversion.c).
>From gcc-bugs-return-635781-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 12:56:07 2019
Return-Path: <gcc-bugs-return-635781-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104241 invoked by alias); 1 Mar 2019 12:56:06 -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 104161 invoked by uid 48); 1 Mar 2019 12:56:01 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89546] [8/9 Regression] Suspected arm flint miscompilation starting with r255510
Date: Fri, 01 Mar 2019 12: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: 8.3.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone everconfirmed
Message-ID: <bug-89546-4-ZYN7uTO02G@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89546-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89546-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: 2019-03/txt/msg00075.txt.bz2
Content-length: 2175

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89546

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-03-01
                 CC|                            |jamborm at gcc dot gnu.org
   Target Milestone|---                         |8.4
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I've tried to bisect it further, which exact SRA change makes a difference,
using:
--- gcc/tree-sra.c.jj   2019-03-01 00:21:16.431273877 +0100
+++ gcc/tree-sra.c      2019-03-01 13:09:22.437370185 +0100
@@ -650,12 +650,22 @@ pop_access_from_work_queue (void)
   return access;
 }

+static bool old_rev;
+static int cntxx;

 /* Allocate necessary structures.  */

 static void
 sra_initialize (void)
 {
+if (getenv ("SRA") != NULL)
+{
+  int xx = atoi (getenv ("SRA"));
+  if (cntxx++ < xx)
+    old_rev = true;
+  else
+    old_rev = false;
+}
   candidate_bitmap = BITMAP_ALLOC (NULL);
   candidates = new hash_table<uid_decl_hasher>
     (vec_safe_length (cfun->local_decls) / 2);
@@ -1156,6 +1166,8 @@ contains_vce_or_bfcref_p (const_tree ref
       ref = TREE_OPERAND (ref, 0);
     }

+if (old_rev) return false;
+
   if (TREE_CODE (ref) != MEM_REF
       || TREE_CODE (TREE_OPERAND (ref, 0)) != ADDR_EXPR)
     return false;
@@ -1367,7 +1379,7 @@ build_accesses_from_assign (gimple *stmt
       if (should_scalarize_away_bitmap && !gimple_has_volatile_ops (stmt)
          && !is_gimple_reg_type (racc->type))
        {
-         if (contains_vce_or_bfcref_p (rhs))
+         if (!old_rev && contains_vce_or_bfcref_p (rhs))
            bitmap_set_bit (cannot_scalarize_away_bitmap,
                            DECL_UID (racc->base));
          else

patch applied on top of r255510, so that some SRA invocations are done the
r255509 way and others r255510 way and it seems it is esra pass in get_tail
that matters whether the testcase aborts or succeeds.
>From gcc-bugs-return-635782-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 13:02:26 2019
Return-Path: <gcc-bugs-return-635782-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119035 invoked by alias); 1 Mar 2019 13:02: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 118901 invoked by uid 48); 1 Mar 2019 13:02:21 -0000
From: "steven at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/38711] ira should not be using df-lr except at -O1.
Date: Fri, 01 Mar 2019 13:02: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: unknown
X-Bugzilla-Keywords: patch, ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: steven at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: steven at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_reconfirmed_on
Message-ID: <bug-38711-4-ZxhvR0Pi6M@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-38711-4@http.gcc.gnu.org/bugzilla/>
References: <bug-38711-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: 2019-03/txt/msg00076.txt.bz2
Content-length: 535

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38711

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2012-09-13 00:44:58         |2019-3-1

--- Comment #10 from Steven Bosscher <steven at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #9)

Not much has changed. There's LRA now, so for targets using LRA
things may now work. Worth a try if someone's interested.
>From gcc-bugs-return-635783-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 13:04:51 2019
Return-Path: <gcc-bugs-return-635783-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128961 invoked by alias); 1 Mar 2019 13:04: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 128865 invoked by uid 48); 1 Mar 2019 13:04:45 -0000
From: "pskocik at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/65455] typeof _Atomic fails
Date: Fri, 01 Mar 2019 13:04: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: 4.9.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pskocik at gmail dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-65455-4-wXZPbMXXTS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65455-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65455-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: 2019-03/txt/msg00077.txt.bz2
Content-length: 2919

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65455

pskocik at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pskocik at gmail dot com

--- Comment #22 from pskocik at gmail dot com ---
(In reply to Marek Polacek from comment #18)
> So this looks like a dup of PR39985.  It seems that, if anything, we should
> modify __typeof to drop all qualifiers.  I.e. that all of the following
> __typeofs yield "int":
> 
> const int a;
> volatile int b;
> const volatile c;
> _Atomic int d;
> int *restrict e;
> __typeof (a) x;
> __typeof (b) y;
> __typeof (c) q;
> __typeof (d) r;
> __typeof (const int) z;
> __typeof (volatile const int) w;
> __typeof (volatile int) v;
> __typeof (_Atomic volatile int) t;
> __typeof (*e) *s;
> 
> Or is that not so?
> 
> What should we do for C++?

As a user, I can always force top-level-qualifier dropping by rvalue conversion
(e.g., with , or ?:) but it(In reply to Jens Gustedt from comment #20)
> I would be much happier with a generic operator that makes any object into
> an rvalue. One way that comes close would be `1 ? (X) : (X)`. This is an
> expression that transforms any expression `X` that is not a narrow integer
> type into an rvalue. 
> 
> Unfortunately it is too ugly that anybody ever will systematically write
> `__typeof__(1?(X):(X))`. But a macro
> 
> #define __typeof_unqual__(X) __typeof__(1?(X):(X))
> 
> could do. (And one could fix the finite number of cases that are not covered
> with `_Generic`.)
> 
> I'd like to have prefix `+` for that. This could be useful in `__typeof__`
> but also in `_Generic`. Maybe gcc could extend that operator to be
> applicable to all types.

(In reply to Jens Gustedt from comment #20)
> I would be much happier with a generic operator that makes any object into
> an rvalue. One way that comes close would be `1 ? (X) : (X)`. This is an
> expression that transforms any expression `X` that is not a narrow integer
> type into an rvalue. 
> 
> Unfortunately it is too ugly that anybody ever will systematically write
> `__typeof__(1?(X):(X))`. But a macro
> 
> #define __typeof_unqual__(X) __typeof__(1?(X):(X))
> 
> could do. (And one could fix the finite number of cases that are not covered
> with `_Generic`.)
> 
> I'd like to have prefix `+` for that. This could be useful in `__typeof__`
> but also in `_Generic`. Maybe gcc could extend that operator to be
> applicable to all types.

I agree __typeof should keep all top level qualifs (clang's __typeof does). But
I'd rather the unary + were not extended to non-numeric types. I frequently
rely on it to throw comptime errors when applied to non-numerics. I think the
comma should be able to accomplish the job (__typeof(0,X)) with similar brevity
as that of the unary +.
>From gcc-bugs-return-635784-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 13:05:33 2019
Return-Path: <gcc-bugs-return-635784-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130325 invoked by alias); 1 Mar 2019 13:05: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 130241 invoked by uid 48); 1 Mar 2019 13:05:29 -0000
From: "maqsood3525 at live dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89547] New: pthread_mutex_lock and pthread_cond_wait do not behave properly when compiler with -flto
Date: Fri, 01 Mar 2019 13:05: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: maqsood3525 at live 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-89547-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: 2019-03/txt/msg00078.txt.bz2
Content-length: 933

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89547

            Bug ID: 89547
           Summary: pthread_mutex_lock and pthread_cond_wait do not behave
                    properly when compiler with -flto
           Product: gcc
           Version: lto
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: maqsood3525 at live dot com
  Target Milestone: ---

Created attachment 45865
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45865&action=edit
reporoducer

Hi,
When compiled with -flto the calls to pthread_mutex_lock and pthread_cond_wait
do not behave as they should,
i might be missing something here but i have attached a small reporducer for
the issue both examples should block at the second pthread_mutex_lock
but the one compiled with -flto does not.
is that the desired behaviour ?
>From gcc-bugs-return-635786-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 13:06:43 2019
Return-Path: <gcc-bugs-return-635786-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2394 invoked by alias); 1 Mar 2019 13:06: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 2309 invoked by uid 48); 1 Mar 2019 13:06:39 -0000
From: "rsandifo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89535] [9 Regression] ICE when building 416.gamess in prepare_load_store_mask
Date: Fri, 01 Mar 2019 13:06: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rsandifo at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: rsandifo at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89535-4-fLiq7uBibb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89535-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89535-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: 2019-03/txt/msg00080.txt.bz2
Content-length: 459

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89535

rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-635785-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 13:06:18 2019
Return-Path: <gcc-bugs-return-635785-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1282 invoked by alias); 1 Mar 2019 13:06: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 1051 invoked by uid 55); 1 Mar 2019 13:06:12 -0000
From: "rsandifo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89535] [9 Regression] ICE when building 416.gamess in prepare_load_store_mask
Date: Fri, 01 Mar 2019 13:06: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rsandifo at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: rsandifo at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89535-4-fN8cEMnw3a@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89535-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89535-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: 2019-03/txt/msg00079.txt.bz2
Content-length: 1016

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89535

--- Comment #3 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> ---
Author: rsandifo
Date: Fri Mar  1 13:05:40 2019
New Revision: 269308

URL: https://gcc.gnu.org/viewcvs?rev=269308&root=gcc&view=rev
Log:
Fix mask type choice in vectorizable_call (PR 89535)

This is another case in which we were failing to pass the expected
mask vector type to vect_get_vec_def_for_operand.

2019-02-28  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
        PR tree-optimization/89535
        * tree-vect-stmts.c (vectorizable_call): Record the vector types
        for each operand.  Calculate the fallback choice for mask operands
        and pass it to vect_get_vec_def_for_operand.

gcc/testsuite/
        PR tree-optimization/89535
        * gfortran.dg/vect/pr89535.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/vect/pr89535.f90
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-stmts.c
>From gcc-bugs-return-635787-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 13:07:07 2019
Return-Path: <gcc-bugs-return-635787-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3521 invoked by alias); 1 Mar 2019 13:07: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 3432 invoked by uid 48); 1 Mar 2019 13:07:03 -0000
From: "daniel at iogearbox dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86952] Avoid jump table for switch statement with -mindirect-branch=thunk
Date: Fri, 01 Mar 2019 13:07: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: daniel at iogearbox dot net
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WONTFIX
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-86952-4-ynUyh8ksht@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86952-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86952-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: 2019-03/txt/msg00081.txt.bz2
Content-length: 3188

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86952

Daniel Borkmann <daniel at iogearbox dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |daniel at iogearbox dot net

--- Comment #12 from Daniel Borkmann <daniel at iogearbox dot net> ---
I've been looking into this issue quite recently and improved the benchmark
tool a bit along the way. There need to be multiple considerations wrt to
traversing the switch cases, the case is here is doing round robin, but
additional distributions / tests could be added. Pushed here just in case:
https://github.com/borkmann/microbenchmark

Numbers I'm getting are stable:

* Xeon E3-1240, packet.net c1.small.x86 instance:

 # make prep
 [...]
 # make
 gcc -g -I. -O2   -c -o test.o test.c
 gcc -g -I. -O2 -mindirect-branch=thunk --param=case-values-threshold=20   -c
-o switch-no-table.o switch-no-table.c
 gcc -g -I. -O2 -mindirect-branch=thunk   -c -o switch.o switch.c
 gcc -g -I. -O2   -c -o switch-no-retpol.o switch-no-retpol.c
 gcc -o test test.o switch-no-table.o switch.o switch-no-retpol.o
 taskset 1 ./test
 no retpoline :      6098325270
 no jump table:      6298192058 (no retpoline: 103.28%)
 jump table   :     22081802856 (no retpoline: 362.10%, no jump table: 350.61%)
 # make
 taskset 1 ./test
 no retpoline :      6098439816
 no jump table:      6298242270 (no retpoline: 103.28%)
 jump table   :     22107872854 (no retpoline: 362.52%, no jump table: 351.02%)
 # make
 taskset 1 ./test
 no retpoline :      6098187038
 no jump table:      6298308128 (no retpoline: 103.28%)
 jump table   :     22071053524 (no retpoline: 361.93%, no jump table: 350.43%)

* Xeon Gold 5120, packet.net m2.xlarge.x86 instance:

 # make prep
 [...]
 # make
 gcc -g -I. -O2   -c -o test.o test.c
 gcc -g -I. -O2 -mindirect-branch=thunk --param=case-values-threshold=20   -c
-o switch-no-table.o switch-no-table.c
 gcc -g -I. -O2 -mindirect-branch=thunk   -c -o switch.o switch.c
 gcc -g -I. -O2   -c -o switch-no-retpol.o switch-no-retpol.c
 gcc -o test test.o switch-no-table.o switch.o switch-no-retpol.o
 taskset 1 ./test
 no retpoline :      5450356814
 no jump table:      5620673036 (no retpoline: 103.12%)
 jump table   :     21448285314 (no retpoline: 393.52%, no jump table: 381.60%)
 # make
 taskset 1 ./test
 no retpoline :      5450356100
 no jump table:      5620678302 (no retpoline: 103.12%)
 jump table   :     21448119720 (no retpoline: 393.52%, no jump table: 381.59%)
 # make
 taskset 1 ./test
 no retpoline :      5450331258
 no jump table:      5620839740 (no retpoline: 103.13%)
 jump table   :     21446922902 (no retpoline: 393.50%, no jump table: 381.56%)

I've also looked into clang for their -mretpoline flag, and they generally turn
off jump table generation in this case. For gcc, the s390 folks implemented a
target override for the default case-values-threshold to raise it to 20. For
x86 something similar could be done. Anyway, H.J. Lu asked me to reopen this
issue (but seems like I cannot make this change from my account).
>From gcc-bugs-return-635788-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 13:07:33 2019
Return-Path: <gcc-bugs-return-635788-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5011 invoked by alias); 1 Mar 2019 13:07: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 4910 invoked by uid 48); 1 Mar 2019 13:07:29 -0000
From: "howarth.at.gcc at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/79885] --with-build-sysroot= does not get honored throughout the build (fix-includes, CPP, CXXCPP, configure-stage2)
Date: Fri, 01 Mar 2019 13:07:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: howarth.at.gcc 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: cc
Message-ID: <bug-79885-4-BFLBflLUUW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-79885-4@http.gcc.gnu.org/bugzilla/>
References: <bug-79885-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: 2019-03/txt/msg00082.txt.bz2
Content-length: 2504

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79885

Jack Howarth <howarth.at.gcc at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |howarth.at.gcc at gmail dot com

--- Comment #11 from Jack Howarth <howarth.at.gcc at gmail dot com> ---
Just a reminder that clang solves finding the position of the SDK via xcrun and
SDKROOT.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87243

The compiler stub programs that users run execute the real clang compilers by
calling them via the xcrun program which sets the SDKROOT, among other
environmental variables, for the clang compiler to use.

ENVIRONMENT
       CPATH
          This   environment   variable   is  modified  by  xcrun  to  include
          /usr/local/include when an explicit SDK is not requested  via  envi-
          ronment variable nor command line argument and neither -nostdinc nor
          -nostdsysteminc are present.

       DEVELOPER_DIR
          Overrides the active developer directory. When DEVELOPER_DIR is set,
          its  value  will be used instead of the system-wide active developer
          directory.

       LIBRARY_PATH
          This  environment  variable  is  modified  by   xcrun   to   include
          /usr/local/lib when an explicit SDK is not requested via environment
          variable nor command line argument and -Z is not being passed to the
          linker.

       SDKROOT
          Specifies  the  default  SDK  to be used when looking up tools (some
          tools may have SDK specific versions).

          This environment variable is also set by xcrun to  be  the  absolute
          path  to  the  user  provided  SDK  (either via SDKROOT or the --sdk
          option), when it is used to invoke a normal  developer  tool  (build
          tools like xcodebuild or make are exempt from this behavior).

          For example, if xcrun is used to invoke clang via:
              xcrun --sdk macosx clang test.c

          then xcrun will provide the full path to the macosx SDK in the envi-
          ronment variable SDKROOT. That in turn will be used by  clang(1)  to
          automatically select that SDK when compiling the test.c file.

       TOOLCHAINS
          Specifies  the  default  toolchain  to be used when looking up tools
          (for tools which are toolchain specific).
>From gcc-bugs-return-635790-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 13:11:54 2019
Return-Path: <gcc-bugs-return-635790-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76557 invoked by alias); 1 Mar 2019 13:11: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 74332 invoked by uid 48); 1 Mar 2019 13:11:50 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86952] Avoid jump table for switch statement with -mindirect-branch=thunk
Date: Fri, 01 Mar 2019 13:11: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WONTFIX
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86952-4-EANog8mpoQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86952-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86952-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: 2019-03/txt/msg00084.txt.bz2
Content-length: 140

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86952

--- Comment #13 from H.J. Lu <hjl.tools at gmail dot com> ---
Reopened with new info.
>From gcc-bugs-return-635789-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 13:11:42 2019
Return-Path: <gcc-bugs-return-635789-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71966 invoked by alias); 1 Mar 2019 13:11:41 -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 71862 invoked by uid 48); 1 Mar 2019 13:11:36 -0000
From: "emmanuel.le-trong@cnrs-orleans.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88355] [c++20] Placeholder non-type template argument type deduction fails with custom types
Date: Fri, 01 Mar 2019 13:11: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: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: emmanuel.le-trong@cnrs-orleans.fr
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-88355-4-Kvtx8nXmM4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88355-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88355-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: 2019-03/txt/msg00083.txt.bz2
Content-length: 2249

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88355

--- Comment #2 from Emmanuel Le Trong <emmanuel.le-trong@cnrs-orleans.fr> ---
Ok I got this new snippet showing what is very probably the same bug, although
the diagnostic message is not the same at all. (And quite frankly I don't
understand it.)


$ cat bug_5.cpp                                                                 
    struct T {};

    template <T> 
    struct U {};

    template <T t> 
    void f (U<t>) {}

    int main ()
    {
        constexpr T t;
        f (U<t>{});
    }


$ g++-9 -std=c++2a -Wall -Wextra bug_5.cpp                                      
bug_5.cpp: In function ‘int main()’:
bug_5.cpp:12:18: error: no matching function for call to ‘f(U<T()>)’
   12 |         f (U<t>{});
      |                  ^
bug_5.cpp:7:10: note: candidate: ‘template<T t> void
f(U<((T*)(void)0)->T::__ct_comp (((const T)t))>)’
    7 |     void f (U<t>) {}
      |          ^
bug_5.cpp:7:10: note:   template argument deduction/substitution failed:
bug_5.cpp:12:18: note:   couldn't deduce template parameter ‘t’
   12 |         f (U<t>{});
      |                  ^


$ g++-9 --verbose                                                               
Using built-in specs.
COLLECT_GCC=g++-9
COLLECT_LTO_WRAPPER=/home/manu/system/opt/gcc-9/libexec/gcc/x86_64-pc-linux-gnu/9.0.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc-9/configure --prefix=/home/manu/system/opt/gcc-9
--program-suffix=-9 : (reconfigured) ../gcc-9/configure
--prefix=/home/manu/system/opt/gcc-9 --program-suffix=-9 : (reconfigured)
../gcc-9/configure --prefix=/home/manu/system/opt/gcc-9 --program-suffix=-9
--enable-languages=c,c++,fortran,lto,objc --no-create --no-recursion
Thread model: posix
gcc version 9.0.1 20190227 (experimental) (GCC)
>From gcc-bugs-return-635791-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 13:12:12 2019
Return-Path: <gcc-bugs-return-635791-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85183 invoked by alias); 1 Mar 2019 13:12: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 82832 invoked by uid 48); 1 Mar 2019 13:12:08 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86952] Avoid jump table for switch statement with -mindirect-branch=thunk
Date: Fri, 01 Mar 2019 13:12: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-86952-4-OKPcXPQ526@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86952-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86952-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: 2019-03/txt/msg00085.txt.bz2
Content-length: 417

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86952

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |---

--- Comment #14 from H.J. Lu <hjl.tools at gmail dot com> ---
Reopened.
>From gcc-bugs-return-635792-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 13:12:13 2019
Return-Path: <gcc-bugs-return-635792-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85778 invoked by alias); 1 Mar 2019 13:12: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 83304 invoked by uid 48); 1 Mar 2019 13:12:08 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/84072] [meta-bug] -mindirect-branch=thunk issues
Date: Fri, 01 Mar 2019 13:12:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 8.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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-84072-4-2r5wCi8isd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84072-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84072-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: 2019-03/txt/msg00086.txt.bz2
Content-length: 494

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84072
Bug 84072 depends on bug 86952, which changed state.

Bug 86952 Summary: Avoid jump table for switch statement with -mindirect-branch=thunk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86952

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |---
>From gcc-bugs-return-635793-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 13:14:21 2019
Return-Path: <gcc-bugs-return-635793-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73318 invoked by alias); 1 Mar 2019 13:14: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 68794 invoked by uid 48); 1 Mar 2019 13:14:16 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89541] [9 Regression] ICE in VN_INFO(tree_node*)
Date: Fri, 01 Mar 2019 13:14: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89541-4-uJPgsRBxq7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89541-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89541-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: 2019-03/txt/msg00087.txt.bz2
Content-length: 429

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89541

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-635794-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 13:16:05 2019
Return-Path: <gcc-bugs-return-635794-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 58720 invoked by alias); 1 Mar 2019 13:16:04 -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 52588 invoked by uid 48); 1 Mar 2019 13:15:59 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89546] [8/9 Regression] Suspected arm flint miscompilation starting with r255510
Date: Fri, 01 Mar 2019 13:16: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.3.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89546-4-gRM4IzVVUA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89546-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89546-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: 2019-03/txt/msg00088.txt.bz2
Content-length: 1687

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89546

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
When get_tail is esra optimized the old way, main is:
  int n1$tail$head$payload;
  struct type D.9885;
  struct tuple D.9880;
  struct type D.9879;
  struct type D.9878;
  struct type D.9875;

  <bb 2> [local count: 1073741825]:
  MEM[(struct tuple *)&D.9885] = 3;
  MEM[(struct tuple *)&D.9885 + 4B] = 2;
  MEM[(struct tuple *)&D.9885 + 8B] = 4;
  D.9875.tail = D.9885;
  D.9885 ={v} {CLOBBER};
  D.9878 = MEM[(const struct tuple &)&D.9875 + 8];
  D.9879.tail = D.9878;
  D.9878 ={v} {CLOBBER};
  D.9880.head = MEM[(const struct type_n &)&D.9879 + 4];
  n1$tail$head$payload_32 = MEM[(struct tuple *)&D.9880];
  D.9880 ={v} {CLOBBER};
  D.9879 ={v} {CLOBBER};
  D.9875 ={v} {CLOBBER};
  if (n1$tail$head$payload_32 != 2)
    goto <bb 3>; [0.00%]
  else
    goto <bb 4>; [99.96%]

  <bb 3> [count: 0]:
  __builtin_abort ();

  <bb 4> [local count: 1072883002]:
  return 0;
and the testcase works.  If it is esra optimized the new way, I get:
  int n1$tail$head$payload;
  struct type n1;

  <bb 2> [local count: 1073741825]:
  MEM[(struct  &)&n1] ={v} {CLOBBER};
  n1$tail$head$payload_90 = MEM[(struct tuple *)&n1 + 4B];
  if (n1$tail$head$payload_90 != 2)
    goto <bb 3>; [0.00%]
  else
    goto <bb 4>; [99.96%]

  <bb 3> [count: 0]:
  __builtin_abort ();

  <bb 4> [local count: 1072883002]:
  n1 ={v} {CLOBBER};
  return 0;
which is undefined, so unless the testcase is UB (but passes e.g. on
x86_64-linux too, valgrind is quiet on it, -fsanitize=address,undefined too),
something went wrong during GIMPLE optimizations.
>From gcc-bugs-return-635795-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 13:21:04 2019
Return-Path: <gcc-bugs-return-635795-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3082 invoked by alias); 1 Mar 2019 13:21: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 994 invoked by uid 48); 1 Mar 2019 13:20:59 -0000
From: "ndkrempel at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89548] New: reinterpret_cast treats xvalue as prvalue
Date: Fri, 01 Mar 2019 13:21: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.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ndkrempel 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-89548-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: 2019-03/txt/msg00089.txt.bz2
Content-length: 1493

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89548

            Bug ID: 89548
           Summary: reinterpret_cast treats xvalue as prvalue
           Product: gcc
           Version: 8.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ndkrempel at gmail dot com
  Target Milestone: ---

The following program fails to compile (with -std= any of c++11, c++14, c++17,
c++2a):

  int main() {
    reinterpret_cast<int&&>(static_cast<int&&>(0));
  }

The error reported is:

  gcc-xvalue-bug.cc: In function ‘int main()’:
  gcc-xvalue-bug.cc:8:48: error: invalid cast of an rvalue expression of type
‘int’ to type ‘int&&’
     reinterpret_cast<int&&>(static_cast<int&&>(0));

I.e. reinterpret_cast is treating its argument as a prvalue of type "int"
rather than an xvalue of type "int&&". Testing indicates that the return value
from the static_cast is of the correct type and value category, so the problem
lies with the reinterpret_cast.

The static_cast expression could also be replaced with a function returning
"int&&" and the same problem occurs.

The same problem also occurs when less trivial conversions are requested, for
example "reinterpret_cast<unsigned int&&>(static_cast<int&&>(0))".

For comparison, clang does not give an error, and that is consistent with my
reading of the standards.
>From gcc-bugs-return-635796-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 13:23:11 2019
Return-Path: <gcc-bugs-return-635796-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 33898 invoked by alias); 1 Mar 2019 13:23: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 33808 invoked by uid 48); 1 Mar 2019 13:23:06 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89545] ABI clarification for over-aligned type stack passing
Date: Fri, 01 Mar 2019 13:23: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
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: attachments.created
Message-ID: <bug-89545-4-VZOrPRDVnv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89545-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89545-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: 2019-03/txt/msg00090.txt.bz2
Content-length: 247

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89545

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
Created attachment 45866
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45866&action=edit
An psABI patch

How about this?
>From gcc-bugs-return-635798-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 13:31:22 2019
Return-Path: <gcc-bugs-return-635798-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85850 invoked by alias); 1 Mar 2019 13:31: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 75532 invoked by uid 48); 1 Mar 2019 13:31:04 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87234] GCC should warn if template parameter redefines default argument
Date: Fri, 01 Mar 2019 13:31: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: 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: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-87234-4-0KLZrnqK3c@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87234-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87234-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: 2019-03/txt/msg00092.txt.bz2
Content-length: 402

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87234

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-03-01
     Ever confirmed|0                           |1
>From gcc-bugs-return-635797-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 13:31:21 2019
Return-Path: <gcc-bugs-return-635797-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77692 invoked by alias); 1 Mar 2019 13:31: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 75506 invoked by uid 48); 1 Mar 2019 13:31:04 -0000
From: "matz at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89545] ABI clarification for over-aligned type stack passing
Date: Fri, 01 Mar 2019 13:31: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
X-Bugzilla-Severity: normal
X-Bugzilla-Who: matz 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-89545-4-c1dtX1DFZt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89545-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89545-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: 2019-03/txt/msg00091.txt.bz2
Content-length: 324

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89545

--- Comment #2 from Michael Matz <matz at gcc dot gnu.org> ---
I think we should say something about the addresses of stack slots individual
overaligned arguments as well (i.e. that the slot itself will also be aligned
accordingly), not just for the overall effect.
>From gcc-bugs-return-635799-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 13:32:35 2019
Return-Path: <gcc-bugs-return-635799-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125632 invoked by alias); 1 Mar 2019 13:32:32 -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 122584 invoked by uid 48); 1 Mar 2019 13:32:27 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89547] pthread_mutex_lock and pthread_cond_wait do not behave properly when compiler with -flto
Date: Fri, 01 Mar 2019 13:32: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: lto
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-89547-4-KeWlCklncS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89547-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89547-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: 2019-03/txt/msg00093.txt.bz2
Content-length: 590

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89547

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2019-03-01
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
It works just fine for me - can you please cut&paste the output of the -flto
compile command when you append -v?
>From gcc-bugs-return-635800-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 13:32:40 2019
Return-Path: <gcc-bugs-return-635800-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128930 invoked by alias); 1 Mar 2019 13:32: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 127941 invoked by uid 48); 1 Mar 2019 13:32:35 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89546] [8/9 Regression] Suspected arm flint miscompilation starting with r255510
Date: Fri, 01 Mar 2019 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: 8.3.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89546-4-TB5OPyo5Jw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89546-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89546-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: 2019-03/txt/msg00094.txt.bz2
Content-length: 2010

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89546

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The gimple dumps aren't exactly readable with so many different tuple/type etc.
types, where it is unclear what exact offset is something being stored at.
That said, in cplxlower1 I still see a possibility to get there the desired
value of 2:
  MEM[(struct tupleD.7416 &)&merged2D.7477 + 4].headD.7482.payloadD.6716 = 2;
...
  D.9878.headD.7889 = MEM[(const struct type_nD.6356 &)&merged2D.7477 + 4];
  MEM[(struct  &)&D.9880] ={v} {CLOBBER};
  D.9880.headD.7099 = MEM[(const struct type_nD.6356 &)&D.9878];
  D.9878 ={v} {CLOBBER};
  MEM[(struct tupleD.6387 *)&D.9880 + 4B] = 4;
  D.9881 = D.9880;
  MEM[(struct  &)&D.9874] ={v} {CLOBBER};
  D.9874.headD.7096 = MEM[(const struct type_nD.6355 &)&merged2D.7477 + 8];
  D.9874.tailD.7097 = D.9881;
  D.9881 ={v} {CLOBBER};
  D.9880 ={v} {CLOBBER};
  D.9873 = D.9874;
  MEM[(struct  &)&D.9865] ={v} {CLOBBER};
  D.9865.tailD.7802 = D.9873;
  D.9873 ={v} {CLOBBER};
  D.9874 ={v} {CLOBBER};
  D.9875 ={v} {CLOBBER};
  D.9868 = MEM[(const struct tupleD.6387 &)&D.9865 + 8];
  D.9869.tailD.8063 = D.9868;
  SR.34_37 = MEM[(struct tupleD.6387 *)&D.9868 + 4B];
  D.9868 ={v} {CLOBBER};
  MEM[(struct  &)&D.9870] ={v} {CLOBBER};
  D.9870.headD.7099 = MEM[(const struct type_nD.6356 &)&D.9869 + 4];
  MEM[(struct  &)&n1D.7646] ={v} {CLOBBER};
  MEM[(struct tupleD.6387 *)&D.9870 + 4B] = SR.34_37;
  n1D.7646.tailD.7097 = D.9870;
  D.9870 ={v} {CLOBBER};
  D.9869 ={v} {CLOBBER};
  D.9865 ={v} {CLOBBER};
  _2 = n1D.7646.tailD.7097.headD.7099.payloadD.6716;
  if (_2 != 2)
But in the sra pass dump that possibility is gone:
  MEM[(struct  &)&n1D.7646] ={v} {CLOBBER};
  SR.41_6 = SR.34_37;
  MEM[(struct tupleD.6387 *)&n1D.7646 + 8B] = SR.41_6;
  n1$tail$head$payload_90 = MEM[(struct tupleD.6387 *)&n1D.7646 + 4B];
...
  _2 = n1$tail$head$payload_90;
  if (_2 != 2)
>From gcc-bugs-return-635801-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 13:33:15 2019
Return-Path: <gcc-bugs-return-635801-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16671 invoked by alias); 1 Mar 2019 13:33: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 14363 invoked by uid 48); 1 Mar 2019 13:33:10 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89546] [8/9 Regression] Suspected arm flint miscompilation starting with r255510
Date: Fri, 01 Mar 2019 13:33: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.3.1
X-Bugzilla-Keywords: wrong-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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords cf_gcctarget priority
Message-ID: <bug-89546-4-fZ8W9MsKQq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89546-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89546-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: 2019-03/txt/msg00095.txt.bz2
Content-length: 405

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89546

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
             Target|                            |arm
           Priority|P3                          |P2
>From gcc-bugs-return-635802-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 13:34:50 2019
Return-Path: <gcc-bugs-return-635802-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67648 invoked by alias); 1 Mar 2019 13:34: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 67565 invoked by uid 55); 1 Mar 2019 13:34:46 -0000
From: "tnfchris at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89517] [8/9 Regression] AArch64's configure option --with-arch can silently lead to incorrectly configured compiler
Date: Fri, 01 Mar 2019 13:34: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tnfchris at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: tnfchris at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89517-4-530885jyuZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89517-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89517-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: 2019-03/txt/msg00096.txt.bz2
Content-length: 1257

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89517

--- Comment #1 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
Author: tnfchris
Date: Fri Mar  1 13:34:14 2019
New Revision: 269309

URL: https://gcc.gnu.org/viewcvs?rev=269309&root=gcc&view=rev
Log:
AArch64: Make every option in options.def one line 

Due to config.gcc all the options need to be on one line because of the grep
lines which would select only the first line of the option.

This causes it not to select the right bits on options that are spread over
multiple lines when the --with-arch configure option is used.  The issue
happens
silently and you just get a compiler with an incorrect set of default flags.

This solution just collapses everything back to one line as they were in GCC7.
Unfortunately this does make some lines quite long.

I do have an alternate patch which used the pre-processors to first flatten the
file in config.gcc.  I will send that one out for GCC 10.

gcc/ChangeLog:

        PR target/89517
        * config/aarch64/aarch64-option-extensions.def (fp, simd, crypto, fp16,
        rdma, dotprod, sha2, sha3, sm4, fp16fml, sve): Collapse line.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/aarch64/aarch64-option-extensions.def
>From gcc-bugs-return-635803-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 13:36:10 2019
Return-Path: <gcc-bugs-return-635803-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77331 invoked by alias); 1 Mar 2019 13:36: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 77044 invoked by uid 48); 1 Mar 2019 13:36:05 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/58142] _pthread_tsd_cleanup called before destructors are called
Date: Fri, 01 Mar 2019 13:36:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 4.8.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager 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: see_also
Message-ID: <bug-58142-4-M587Dy3klm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-58142-4@http.gcc.gnu.org/bugzilla/>
References: <bug-58142-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: 2019-03/txt/msg00097.txt.bz2
Content-length: 1919

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58142

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=52268

--- Comment #11 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Iain Sandoe from comment #4)
> (In reply to Jonathan Wakely from comment #3)
> > I think it's still open because nobody has looked at it again recently, not
> > because of any conscious decision.
> > 
> > I'm changing the component to libstdc++ as the runtime library is
> > responsible for the cleanup.
> > 
> > Iain, what do you think? If comment 2 is right, then GCC 7.1 and later will
> > use __cxa_thread_atexit from libc and the destruction order will be correct.
> > I don't know when Darwin libc acquired that function, maybe it's in all
> > supported versions of Darwin but we just didn't use it until the PR 78968
> > change.
> 
> A quick look says that __cxa_thread_atexit exists in libc from Darwin13,
> macOS 10.9 / Mavericks onwards.
> 
> So it's not present in the system mentioned in the OP and Comment #1.
> .. it will not be present in Darwin9 and 10 which I still build and test
> for, but it's present in all versions "supported" by the vendor.
> 
> We have previously worked around such issues by having a version-specific
> CRT, but not sure if that's applicable in this case.
> 
> NOTE 1: Darwin uses GCC's emulatedTLS, and I have some concerns that there
> might be C++ issues with initialisers (and, thus possibly DTORs) anyway (see
> 84497).

and also bug 52268 

> 
> NOTE 2: (I don't think it's relevant, but just for completeness) Darwin's
> linker doesn't support ctor/dtor priorities.
>From gcc-bugs-return-635804-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 13:36:14 2019
Return-Path: <gcc-bugs-return-635804-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77783 invoked by alias); 1 Mar 2019 13:36: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 77279 invoked by uid 48); 1 Mar 2019 13:36:09 -0000
From: "abel at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/86979] [9 Regression] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2348 with -m32 on darwin
Date: Fri, 01 Mar 2019 13:36: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: abel at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: abel at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86979-4-yBkHfYxhf5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86979-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86979-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: 2019-03/txt/msg00098.txt.bz2
Content-length: 358

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86979

--- Comment #12 from Andrey Belevantsev <abel at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #11)
> Any progress on this?

I know what happens but am not fully sure as of why. The sp register should not
be available for the problematic move, so I'm figuring out why we got this
wrong.
>From gcc-bugs-return-635805-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 13:39:29 2019
Return-Path: <gcc-bugs-return-635805-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 94747 invoked by alias); 1 Mar 2019 13:39: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 94539 invoked by uid 55); 1 Mar 2019 13:39:24 -0000
From: "maqsood3525 at live dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89547] pthread_mutex_lock and pthread_cond_wait do not behave properly when compiler with -flto
Date: Fri, 01 Mar 2019 13:39: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: lto
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: maqsood3525 at live dot com
X-Bugzilla-Status: WAITING
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-89547-4-cweZLKskaT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89547-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89547-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: 2019-03/txt/msg00099.txt.bz2
Content-length: 1202

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89547

--- Comment #2 from maqsood3525 at live dot com ---
Hi ,
pardon me for the my tardinees , i should have mentioned the gcc version that
is  gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
the -flto output is attached.
Thanks
Haroon
________________________________
From: rguenth at gcc dot gnu.org <gcc-bugzilla@gcc.gnu.org>
Sent: Friday, March 1, 2019 1:32 PM
To: maqsood3525@live.com
Subject: [Bug c/89547] pthread_mutex_lock and pthread_cond_wait do not behave
properly when compiler with -flto

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89547

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2019-03-01
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
It works just fine for me - can you please cut&paste the output of the -flto
compile command when you append -v?

--
You are receiving this mail because:
You reported the bug.
>From gcc-bugs-return-635806-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 13:40:07 2019
Return-Path: <gcc-bugs-return-635806-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96508 invoked by alias); 1 Mar 2019 13:40:06 -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 96370 invoked by uid 48); 1 Mar 2019 13:40:02 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89545] ABI clarification for over-aligned type stack passing
Date: Fri, 01 Mar 2019 13:40: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
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:
Message-ID: <bug-89545-4-yjGOQs58lK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89545-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89545-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: 2019-03/txt/msg00100.txt.bz2
Content-length: 426

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89545

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
It probably implements what we do but changing 32 to 1024*1024 shows that we
(possibly up to MAX_OFILE_ALIGNMENT) align parameters to arbitrarily high
values.  Maybe we should cap that to some value (but make sure to not run
into issues like PR89544).

The footnote could cite an example using _Alignas.
>From gcc-bugs-return-635807-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 13:43:45 2019
Return-Path: <gcc-bugs-return-635807-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110178 invoked by alias); 1 Mar 2019 13:43:44 -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 110064 invoked by uid 48); 1 Mar 2019 13:43:39 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89545] ABI clarification for over-aligned type stack passing
Date: Fri, 01 Mar 2019 13:43: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
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:
Message-ID: <bug-89545-4-X2XF6e4Qne@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89545-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89545-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: 2019-03/txt/msg00101.txt.bz2
Content-length: 945

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89545

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Michael Matz from comment #2)
> I think we should say something about the addresses of stack slots
> individual overaligned arguments as well (i.e. that the slot itself will
> also be aligned
> accordingly), not just for the overall effect.

How about

diff --git a/low-level-sys-info.tex b/low-level-sys-info.tex
index a1778fa..a1cf2e4 100644
--- a/low-level-sys-info.tex
+++ b/low-level-sys-info.tex
@@ -519,7 +519,7 @@ Once arguments are classified, the registers get assigned
(in
 left-to-right order) for passing as follows:

 \begin{enumerate}
-\item If the class is MEMORY, pass the argument on the stack.
+\item If the class is MEMORY, align and pass the argument on the stack.

 \item If the class is INTEGER, the next available register of the
   sequence \RDI, \RSI, \RDX, \RCX, \reg{r8} and \reg{r9} is
>From gcc-bugs-return-635808-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 13:47:32 2019
Return-Path: <gcc-bugs-return-635808-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118260 invoked by alias); 1 Mar 2019 13:47: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 118184 invoked by uid 48); 1 Mar 2019 13:47:27 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89545] ABI clarification for over-aligned type stack passing
Date: Fri, 01 Mar 2019 13:47: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
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:
Message-ID: <bug-89545-4-Tg6NDjPkLI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89545-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89545-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: 2019-03/txt/msg00102.txt.bz2
Content-length: 632

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89545

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Richard Biener from comment #3)
> It probably implements what we do but changing 32 to 1024*1024 shows that we
> (possibly up to MAX_OFILE_ALIGNMENT) align parameters to arbitrarily high

X86 backend can align stack up to MAX_OFILE_ALIGNMENT.

> values.  Maybe we should cap that to some value (but make sure to not run
> into issues like PR89544).
> 
> The footnote could cite an example using _Alignas.

We don't need a limit in psABI.  But GCC can set a reasonable limit like
MAX_OFILE_ALIGNMENT.
>From gcc-bugs-return-635809-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 13:52:18 2019
Return-Path: <gcc-bugs-return-635809-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1007 invoked by alias); 1 Mar 2019 13:52:18 -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 876 invoked by uid 48); 1 Mar 2019 13:52:12 -0000
From: "rearnsha at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89544] Argument marshalling incorrectly assumes stack slots are naturally aligned.
Date: Fri, 01 Mar 2019 13:52: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: 9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rearnsha 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-89544-4-HEv2w9gbB1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89544-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89544-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: 2019-03/txt/msg00103.txt.bz2
Content-length: 299

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89544

--- Comment #4 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
An alternative way of fixing this might be if the backend could somehow control
DECL_ARG_TYPE for the parameter, to set it to a variant without the additional
alignment.
>From gcc-bugs-return-635810-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 14:08:17 2019
Return-Path: <gcc-bugs-return-635810-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39191 invoked by alias); 1 Mar 2019 14:08: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 39139 invoked by uid 55); 1 Mar 2019 14:08:10 -0000
From: "tnfchris at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89517] [8/9 Regression] AArch64's configure option --with-arch can silently lead to incorrectly configured compiler
Date: Fri, 01 Mar 2019 14:08: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tnfchris at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: tnfchris at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89517-4-FmJVzuSlFe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89517-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89517-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: 2019-03/txt/msg00104.txt.bz2
Content-length: 1106

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89517

--- Comment #2 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
Author: tnfchris
Date: Fri Mar  1 14:07:38 2019
New Revision: 269313

URL: https://gcc.gnu.org/viewcvs?rev=269313&root=gcc&view=rev
Log:
AArch64: Make every option in options.def one line (GCC-8).

Due to config.gcc all the options need to be on one line because of the grep
lines which would select only the first line of the option.

This causes it not to select the right bits on options that are spread over
multiple lines when the --with-arch configure option is used.  The issue
happens
silently and you just get a compiler with an incorrect set of default flags.

This solution just collapses everything back to one line as they were in GCC7.
Unfortunately this does make some lines quite long.

gcc/ChangeLog:

        PR target/89517
        * config/aarch64/aarch64-option-extensions.def (fp, simd, crypto,
        fp16): Collapse line.


Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/config/aarch64/aarch64-option-extensions.def
>From gcc-bugs-return-635811-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 14:09:58 2019
Return-Path: <gcc-bugs-return-635811-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43463 invoked by alias); 1 Mar 2019 14:09: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 43383 invoked by uid 48); 1 Mar 2019 14:09:50 -0000
From: "tnfchris at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89517] [8/9 Regression] AArch64's configure option --with-arch can silently lead to incorrectly configured compiler
Date: Fri, 01 Mar 2019 14:09: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tnfchris at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: tnfchris at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89517-4-bETTnJKrfG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89517-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89517-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: 2019-03/txt/msg00105.txt.bz2
Content-length: 456

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89517

Tamar Christina <tnfchris at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
Fixed both in trunk and GCC-8
>From gcc-bugs-return-635812-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 14:15:49 2019
Return-Path: <gcc-bugs-return-635812-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57374 invoked by alias); 1 Mar 2019 14:15: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 57177 invoked by uid 48); 1 Mar 2019 14:15:42 -0000
From: "david.bolvansky at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89491] Inline jump tables
Date: Fri, 01 Mar 2019 14:15: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: david.bolvansky 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:
Message-ID: <bug-89491-4-ioiLk6qUZN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89491-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89491-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: 2019-03/txt/msg00106.txt.bz2
Content-length: 466

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89491

--- Comment #5 from Dávid Bolvanský <david.bolvansky at gmail dot com> ---
Let's take the original example with small modification:

int square(int x) { return x*x; }
int add(int x) { return x + x; }
typedef int (*p)(int);
static const p arr[4] = {square, add};
int test(int x) {
    int res = arr[x](1);
    return res;
}

Nothing is expanded/inlined. ICC can do it for "two items in arr" case.
>From gcc-bugs-return-635813-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 14:18:24 2019
Return-Path: <gcc-bugs-return-635813-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71345 invoked by alias); 1 Mar 2019 14:18: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 71229 invoked by uid 48); 1 Mar 2019 14:18:20 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89545] ABI clarification for over-aligned type stack passing
Date: Fri, 01 Mar 2019 14:18: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
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: attachments.isobsolete attachments.created
Message-ID: <bug-89545-4-fsmYLZ0xms@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89545-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89545-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: 2019-03/txt/msg00107.txt.bz2
Content-length: 514

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89545

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45866|0                           |1
        is obsolete|                            |

--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
Created attachment 45868
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45868&action=edit
A new psABI patch
>From gcc-bugs-return-635814-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 14:20:41 2019
Return-Path: <gcc-bugs-return-635814-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105213 invoked by alias); 1 Mar 2019 14:20: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 105086 invoked by uid 55); 1 Mar 2019 14:20:36 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89513] constexpr functions with function try block shouldn't be accepted at least with -pedantic in -std=c++{11,14,17} modes
Date: Fri, 01 Mar 2019 14: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: 9.0
X-Bugzilla-Keywords: accepts-invalid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89513-4-I5lSdyBDog@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89513-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89513-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: 2019-03/txt/msg00108.txt.bz2
Content-length: 1611

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89513

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Mar  1 14:20:03 2019
New Revision: 269314

URL: https://gcc.gnu.org/viewcvs?rev=269314&root=gcc&view=rev
Log:
        Implement P1002R1, Try-catch blocks in constexpr functions
        PR c++/89513
        * parser.c (cp_parser_ctor_initializer_opt_and_function_body):
        Diagnose constexpr ctor or function with function-try-block with
        pedwarn for c++17 and earlier.  Formatting fix.
        (cp_parser_try_block): Use pedwarn instead of error and only for
        c++17 and earlier when try block appears in constexpr function.
        * constexpr.c (build_constexpr_constructor_member_initializers):
        Handle TRY_BLOCK here instead of erroring on it.

        * g++.dg/cpp2a/constexpr-try1.C: New test.
        * g++.dg/cpp2a/constexpr-try2.C: New test.
        * g++.dg/cpp2a/constexpr-try3.C: New test.
        * g++.dg/cpp2a/constexpr-try4.C: New test.
        * g++.dg/cpp2a/constexpr-try5.C: New test.
        * g++.dg/cpp0x/constexpr-ctor10.C: Don't expect error for C++2a.

Added:
    trunk/gcc/testsuite/g++.dg/cpp2a/constexpr-try1.C
    trunk/gcc/testsuite/g++.dg/cpp2a/constexpr-try2.C
    trunk/gcc/testsuite/g++.dg/cpp2a/constexpr-try3.C
    trunk/gcc/testsuite/g++.dg/cpp2a/constexpr-try4.C
    trunk/gcc/testsuite/g++.dg/cpp2a/constexpr-try5.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/constexpr.c
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-ctor10.C
>From gcc-bugs-return-635816-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 14:26:47 2019
Return-Path: <gcc-bugs-return-635816-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119227 invoked by alias); 1 Mar 2019 14:26: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 119048 invoked by uid 48); 1 Mar 2019 14:26:43 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/55004] [meta-bug] constexpr issues
Date: Fri, 01 Mar 2019 14:26:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 4.8.0
X-Bugzilla-Keywords: meta-bug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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 resolution
Message-ID: <bug-55004-4-QhEXhEYEkC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-55004-4@http.gcc.gnu.org/bugzilla/>
References: <bug-55004-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: 2019-03/txt/msg00110.txt.bz2
Content-length: 547

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004
Bug 55004 depends on bug 89513, which changed state.

Bug 89513 Summary: constexpr functions with function try block shouldn't be accepted at least with -pedantic in -std=c++{11,14,17} modes
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89513

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-635815-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 14:26:46 2019
Return-Path: <gcc-bugs-return-635815-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119102 invoked by alias); 1 Mar 2019 14:26:46 -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 118993 invoked by uid 48); 1 Mar 2019 14:26:42 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89513] constexpr functions with function try block shouldn't be accepted at least with -pedantic in -std=c++{11,14,17} modes
Date: Fri, 01 Mar 2019 14:26: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: accepts-invalid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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: bug_status resolution
Message-ID: <bug-89513-4-XxLgUFy53m@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89513-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89513-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: 2019-03/txt/msg00109.txt.bz2
Content-length: 437

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89513

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Should be fixed now.
>From gcc-bugs-return-635817-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 14:34:05 2019
Return-Path: <gcc-bugs-return-635817-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41908 invoked by alias); 1 Mar 2019 14:34: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 41650 invoked by uid 48); 1 Mar 2019 14:34:01 -0000
From: "matz at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89545] ABI clarification for over-aligned type stack passing
Date: Fri, 01 Mar 2019 14:34: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
X-Bugzilla-Severity: normal
X-Bugzilla-Who: matz 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-89545-4-TxWpKrmeDH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89545-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89545-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: 2019-03/txt/msg00111.txt.bz2
Content-length: 865

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89545

--- Comment #7 from Michael Matz <matz at gcc dot gnu.org> ---
What about this variant of the second part?

diff --git a/x86-64-ABI/low-level-sys-info.tex
b/x86-64-ABI/low-level-sys-info.tex
index 66270b9..93b5e95 100644
--- a/x86-64-ABI/low-level-sys-info.tex
+++ b/x86-64-ABI/low-level-sys-info.tex
@@ -517,7 +517,9 @@ Once arguments are classified, the registers get assigned
(in
 left-to-right order) for passing as follows:

 \begin{enumerate}
-\item If the class is MEMORY, pass the argument on the stack.
+\item If the class is MEMORY, pass the argument on the stack at an
+  address respecting the arguments alignment (which might be more
+  than its natural alignement).

 \item If the class is INTEGER, the next available register of the
   sequence \RDI, \RSI, \RDX, \RCX, \reg{r8} and \reg{r9} is
>From gcc-bugs-return-635818-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 14:34:55 2019
Return-Path: <gcc-bugs-return-635818-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43884 invoked by alias); 1 Mar 2019 14:34: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 43748 invoked by uid 48); 1 Mar 2019 14:34:50 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89051] -Wno-error= does not work for warning groups
Date: Fri, 01 Mar 2019 14:34: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.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
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-89051-4-fHqoHFHLIb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89051-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89051-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: 2019-03/txt/msg00112.txt.bz2
Content-length: 926

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89051

--- Comment #7 from Martin Liška <marxin at gcc dot gnu.org> ---
@Martin:

I've noticed that these tests has a suspicious construct:

gcc/testsuite/g++.dg/ext/flexary16.C:// { dg-options "-Wpedantic
-Wno-error=pedantic" }
gcc/testsuite/g++.dg/ext/flexary18.C:// { dg-additional-options "-Wpedantic
-Wno-error=pedantic" }
gcc/testsuite/g++.dg/ext/flexary19.C:// { dg-additional-options "-Wpedantic
-Wno-error=pedantic" }
gcc/testsuite/g++.dg/ext/flexary7.C:// { dg-options "-Wpedantic
-Wno-error=pedantic" }
gcc/testsuite/g++.dg/ext/flexary9.C:// { dg-options "-Wpedantic
-Wno-error=pedantic" }
gcc/testsuite/g++.dg/ubsan/object-size-1.C:// { dg-options "-Wpedantic
-Wno-error=pedantic -fsanitize=undefined -fpermissive" }

Note that with my patch the warning (Wpedantic) is disabled. Is it intentional
to mix the -Wpedantic and -Wno-error=pedantic?
>From gcc-bugs-return-635820-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 14:46:42 2019
Return-Path: <gcc-bugs-return-635820-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79217 invoked by alias); 1 Mar 2019 14:46:41 -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 79103 invoked by uid 48); 1 Mar 2019 14:46:37 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89545] ABI clarification for over-aligned type stack passing
Date: Fri, 01 Mar 2019 14:46: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
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: attachments.isobsolete attachments.created
Message-ID: <bug-89545-4-anaoHGMFxA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89545-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89545-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: 2019-03/txt/msg00114.txt.bz2
Content-length: 511

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89545

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45868|0                           |1
        is obsolete|                            |

--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> ---
Created attachment 45869
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45869&action=edit
An psABI patch
>From gcc-bugs-return-635819-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 14:46:27 2019
Return-Path: <gcc-bugs-return-635819-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78237 invoked by alias); 1 Mar 2019 14:46:26 -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 78155 invoked by uid 48); 1 Mar 2019 14:46:22 -0000
From: "abel at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/86979] [9 Regression] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2348 with -m32 on darwin
Date: Fri, 01 Mar 2019 14:46: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: abel at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: abel at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86979-4-VPoQPSJQ4A@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86979-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86979-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: 2019-03/txt/msg00113.txt.bz2
Content-length: 2021

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86979

--- Comment #13 from Andrey Belevantsev <abel at gcc dot gnu.org> ---
So now I understand, finally. We move up an sp decrement and are supposed to
check that sp is available on the paths that are not touched by the move. There
are several successors of the move target block so the checking code is special
(and was the same there since day 1 of sel-sched).  The code checks, for each
successor block, the expressions that are present in the merged availability
set at the end of target block but are not present in the successor block set. 
Such expressions are marked as having unavailable target registers.

In this case for one successor block there happens to be another fence, and
that fence set has the copy of the sp decrement instruction. So it is not
detected as being unavailable. What _should_ have happened is that the
successor block with another fence should have been marked as ineligible
successor (we don't move along that path), so the av set against which we're
checking has to be NULL.  The fix is just to have that properly accounted for.

The patch is below, and I wouldn't be surprised if it fixes more PRs than this
one.

diff --git a/gcc/sel-sched.c b/gcc/sel-sched.c
index 315f2c0c0ab..2053694b196 100644
--- a/gcc/sel-sched.c
+++ b/gcc/sel-sched.c
@@ -2820,10 +2820,12 @@ compute_av_set_at_bb_end (insn_t insn, ilist_t p, int
ws)
     FOR_EACH_VEC_ELT (sinfo->succs_ok, is, succ)
       {
         basic_block succ_bb = BLOCK_FOR_INSN (succ);
+       av_set_t av_succ = (is_ineligible_successor (succ, p)
+                           ? NULL
+                           : BB_AV_SET (succ_bb));

         gcc_assert (BB_LV_SET_VALID_P (succ_bb));
-        mark_unavailable_targets (av1, BB_AV_SET (succ_bb),
-                                  BB_LV_SET (succ_bb));
+        mark_unavailable_targets (av1, av_succ, BB_LV_SET (succ_bb));
       }

   /* Finally, check liveness restrictions on paths leaving the region.  */
>From gcc-bugs-return-635821-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 14:47:05 2019
Return-Path: <gcc-bugs-return-635821-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80311 invoked by alias); 1 Mar 2019 14:47: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 80097 invoked by uid 48); 1 Mar 2019 14:47:01 -0000
From: "juergen.reuter at desy dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/89539] [9 Regression] gcc fails to build/bootstrap on MACOSX
Date: Fri, 01 Mar 2019 14:47: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: juergen.reuter at desy dot de
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-89539-4-qulBcKxfDg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89539-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89539-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: 2019-03/txt/msg00115.txt.bz2
Content-length: 271

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89539

--- Comment #6 from Jürgen Reuter <juergen.reuter at desy dot de> ---
Yep, fixed, thanks for the overnight reaction^^. (and next time I think I have
the guts to mark it as 'bootstrap' right from the beginning)
>From gcc-bugs-return-635822-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 14:48:43 2019
Return-Path: <gcc-bugs-return-635822-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85317 invoked by alias); 1 Mar 2019 14:48: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 84219 invoked by uid 48); 1 Mar 2019 14:48:04 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89545] ABI clarification for over-aligned type stack passing
Date: Fri, 01 Mar 2019 14:48: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
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:
Message-ID: <bug-89545-4-hUJKihPHmS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89545-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89545-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: 2019-03/txt/msg00116.txt.bz2
Content-length: 314

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89545

--- Comment #9 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Michael Matz from comment #7)
> What about this variant of the second part?
> 

Hi Michael,

I moved x86 psABI repo to


https://gitlab.com/x86-psABIs

Would you like to be co-owners?
>From gcc-bugs-return-635823-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 14:53:16 2019
Return-Path: <gcc-bugs-return-635823-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 95823 invoked by alias); 1 Mar 2019 14: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 95771 invoked by uid 48); 1 Mar 2019 14:53:12 -0000
From: "matz at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89545] ABI clarification for over-aligned type stack passing
Date: Fri, 01 Mar 2019 14:53: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
X-Bugzilla-Severity: normal
X-Bugzilla-Who: matz 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-89545-4-ASOlTmMV7n@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89545-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89545-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: 2019-03/txt/msg00117.txt.bz2
Content-length: 169

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89545

--- Comment #10 from Michael Matz <matz at gcc dot gnu.org> ---
Ah, I missed that.  Yeah, I'd like to be co-owner.
>From gcc-bugs-return-635824-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 14:55:24 2019
Return-Path: <gcc-bugs-return-635824-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103892 invoked by alias); 1 Mar 2019 14:55: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 103667 invoked by uid 48); 1 Mar 2019 14:55:20 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89545] ABI clarification for over-aligned type stack passing
Date: Fri, 01 Mar 2019 14:55: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
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:
Message-ID: <bug-89545-4-AJXy2hLODm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89545-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89545-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: 2019-03/txt/msg00118.txt.bz2
Content-length: 255

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89545

--- Comment #11 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Michael Matz from comment #10)
> Ah, I missed that.  Yeah, I'd like to be co-owner.

Please send me your gitlab account name.
>From gcc-bugs-return-635825-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 14:56:58 2019
Return-Path: <gcc-bugs-return-635825-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106841 invoked by alias); 1 Mar 2019 14:56: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 106680 invoked by uid 48); 1 Mar 2019 14:56:54 -0000
From: "matz at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89545] ABI clarification for over-aligned type stack passing
Date: Fri, 01 Mar 2019 14:56: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
X-Bugzilla-Severity: normal
X-Bugzilla-Who: matz 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-89545-4-TpWVvI9eAP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89545-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89545-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: 2019-03/txt/msg00119.txt.bz2
Content-length: 360

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89545

--- Comment #12 from Michael Matz <matz at gcc dot gnu.org> ---
(In reply to H.J. Lu from comment #11)
> (In reply to Michael Matz from comment #10)
> > Ah, I missed that.  Yeah, I'd like to be co-owner.
> 
> Please send me your gitlab account name.

Err, right, that probably helps ;-)  It's 'susematz'
>From gcc-bugs-return-635826-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 14:57:35 2019
Return-Path: <gcc-bugs-return-635826-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108142 invoked by alias); 1 Mar 2019 14:57: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 108025 invoked by uid 48); 1 Mar 2019 14:57:30 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/35362] Splitting up a switch table into smaller ones (where there a huge gaps between the clusters)
Date: Fri, 01 Mar 2019 14: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: 4.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: steven at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-35362-4-X1AEmCCxLv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-35362-4@http.gcc.gnu.org/bugzilla/>
References: <bug-35362-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: 2019-03/txt/msg00120.txt.bz2
Content-length: 769

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35362

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
I can confirm it's implemented. One get following clusters for the 2 tests:

 grep clusters pr36362.c.171t.switchlower1 
;; GIMPLE switch case clusters: JT:0-20 JT:110-220 JT:310-324 

grep clusters pr36362-2.c.171t.switchlower1 
;; GIMPLE switch case clusters: JT:0-20 JT:110-220 JT:310-324 1318 1320-1324 

Which looks good to me.
>From gcc-bugs-return-635827-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 15:21:48 2019
Return-Path: <gcc-bugs-return-635827-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41656 invoked by alias); 1 Mar 2019 15:21: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 41474 invoked by uid 48); 1 Mar 2019 15:21:42 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86952] Avoid jump table for switch statement with -mindirect-branch=thunk
Date: Fri, 01 Mar 2019 15: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: missed-optimization
X-Bugzilla-Severity: normal
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status
Message-ID: <bug-86952-4-0LRJoW2Wju@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86952-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86952-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: 2019-03/txt/msg00121.txt.bz2
Content-length: 4407

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86952

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |ASSIGNED

--- Comment #15 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Daniel Borkmann from comment #12)
> I've been looking into this issue quite recently and improved the benchmark
> tool a bit along the way. There need to be multiple considerations wrt to
> traversing the switch cases, the case is here is doing round robin, but
> additional distributions / tests could be added. Pushed here just in case:
> https://github.com/borkmann/microbenchmark

Thanks a lot for the benchmark.

> 
> Numbers I'm getting are stable:
> 
> * Xeon E3-1240, packet.net c1.small.x86 instance:
> 
>  # make prep
>  [...]
>  # make
>  gcc -g -I. -O2   -c -o test.o test.c
>  gcc -g -I. -O2 -mindirect-branch=thunk --param=case-values-threshold=20  
> -c -o switch-no-table.o switch-no-table.c
>  gcc -g -I. -O2 -mindirect-branch=thunk   -c -o switch.o switch.c
>  gcc -g -I. -O2   -c -o switch-no-retpol.o switch-no-retpol.c
>  gcc -o test test.o switch-no-table.o switch.o switch-no-retpol.o
>  taskset 1 ./test
>  no retpoline :      6098325270
>  no jump table:      6298192058 (no retpoline: 103.28%)
>  jump table   :     22081802856 (no retpoline: 362.10%, no jump table:
> 350.61%)
>  # make
>  taskset 1 ./test
>  no retpoline :      6098439816
>  no jump table:      6298242270 (no retpoline: 103.28%)
>  jump table   :     22107872854 (no retpoline: 362.52%, no jump table:
> 351.02%)
>  # make
>  taskset 1 ./test
>  no retpoline :      6098187038
>  no jump table:      6298308128 (no retpoline: 103.28%)
>  jump table   :     22071053524 (no retpoline: 361.93%, no jump table:
> 350.43%)
> 
> * Xeon Gold 5120, packet.net m2.xlarge.x86 instance:
> 
>  # make prep
>  [...]
>  # make
>  gcc -g -I. -O2   -c -o test.o test.c
>  gcc -g -I. -O2 -mindirect-branch=thunk --param=case-values-threshold=20  
> -c -o switch-no-table.o switch-no-table.c
>  gcc -g -I. -O2 -mindirect-branch=thunk   -c -o switch.o switch.c
>  gcc -g -I. -O2   -c -o switch-no-retpol.o switch-no-retpol.c
>  gcc -o test test.o switch-no-table.o switch.o switch-no-retpol.o
>  taskset 1 ./test
>  no retpoline :      5450356814
>  no jump table:      5620673036 (no retpoline: 103.12%)
>  jump table   :     21448285314 (no retpoline: 393.52%, no jump table:
> 381.60%)
>  # make
>  taskset 1 ./test
>  no retpoline :      5450356100
>  no jump table:      5620678302 (no retpoline: 103.12%)
>  jump table   :     21448119720 (no retpoline: 393.52%, no jump table:
> 381.59%)
>  # make
>  taskset 1 ./test
>  no retpoline :      5450331258
>  no jump table:      5620839740 (no retpoline: 103.13%)
>  jump table   :     21446922902 (no retpoline: 393.50%, no jump table:
> 381.56%)

I can confirm the numbers. I've got:
model name      : Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz

taskset 1 ./test
no retpoline :      4311969467
no jump table:      5146081372 (no retpoline: 119.34%)
jump table   :     18845846887 (no retpoline: 437.06%, no jump table: 366.22%)


> 
> I've also looked into clang for their -mretpoline flag, and they generally
> turn off jump table generation in this case. For gcc, the s390 folks
> implemented a target override for the default case-values-threshold to raise
> it to 20. 

Note that GCC has similar parameter:

--param case-values-threshold
               The smallest number of different values for which it is best to
use a jump-table instead of a tree of conditional branches.  If the value is 0,
use the default for the machine.  The default is 0.

For 20 branches, I've got even worse numbers:
https://github.com/marxin/microbenchmark-1/tree/retpoline-table

taskset 1 ./test
no retpoline :      5096377521
no jump table:      5169400990 (no retpoline: 101.43%)
jump table   :     28830137876 (no retpoline: 565.70%, no jump table: 557.71%)

So are you suggesting to disable jump tables with retpolines at all?

For x86 something similar could be done. Anyway, H.J. Lu asked me
> to reopen this issue (but seems like I cannot make this change from my
> account).

Yep, I would need an account ending with @gcc.org to change a bug.
>From gcc-bugs-return-635828-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 15:25:14 2019
Return-Path: <gcc-bugs-return-635828-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57567 invoked by alias); 1 Mar 2019 15:25: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 57449 invoked by uid 48); 1 Mar 2019 15:25:09 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89549] New: -Wmisleading-indentation is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers
Date: Fri, 01 Mar 2019 15:25: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: 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 target_milestone
Message-ID: <bug-89549-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: 2019-03/txt/msg00122.txt.bz2
Content-length: 12862

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89549

            Bug ID: 89549
           Summary: -Wmisleading-indentation is disabled from this point
                    onwards, since column-tracking was disabled due to the
                    size of the code/headers
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---

Seen on a test-case that is not having many lines, but one line is very wide:

$ cat mi.ii
                                                              class String {   
           public:                                              bool
operator==(char *) const;      bool operator!=(char *) ;                       
                                                                               
                                                                               
                                                                               
         String() ;     String(char *);     };
      class StringName {     public:                                    
StringName(char *);         };
             template <class a> class List {    public:   void push_back( a ) ;
};
         class Variant { public:  enum b {   NIL}  ;               };
      enum c {  PROPERTY_HINT_NONE};
      enum {                  PROPERTY_USAGE_CATEGORY                          
     };
      struct PropertyInfo {                       PropertyInfo(Variant::b ,
String , c ,  String , int )  ;     };
            class Object {     protected:    static String _get_category() ;   
void  _set() ;  bool _get( StringName , Variant ) const ;  void
_get_property_list(List<PropertyInfo> *) const ;  void _notification();        
          static void _get_valid_parents_static(List<String> *)                
   ;     bool _is_gpl_reversed() const                                         
                                                                             ; 
                           };
                       class ClassDB {  public:  template <class >  void
_add_class() ;              static void get_property_list(StringName ,
List<PropertyInfo> *, bool , const Object * );                                 
                             };
      class d : public Object {     protected:  static void _bind_methods(); };
                       class AudioStreamPlayback : public d {    public:   
static String get_class_static() ;   bool is_class( String ) const ; bool
is_class_ptr(void *) const ; static void *_get_bind_methods() ; static void
initialize_class() ; bool (Object::*_get_get() const)(const StringName &,
Variant &) const ; bool _getv( StringName , Variant ) const ;  bool
(Object::*_get_set() )(const StringName &, const Variant &) ; bool _setv(
StringName ,  Variant ) ;  void (Object::*_get_get_property_list()
const)(List<PropertyInfo> * ) const ; void
_get_property_listv(List<PropertyInfo> *, bool ) const ;    };
         String get_category_static_category ;
   class AudioStreamPlaybackRandomPitch : public AudioStreamPlayback { 
private:  mutable StringName _class_name; friend class ClassDB; public:  
static inline void *get_class_ptr_static() { static int ptr; return &ptr; }
static inline String get_class_static() { return
String("AudioStreamPlaybackRandomPitch"); } static inline String
get_parent_class_static() { return AudioStreamPlayback::get_class_static(); }
static void get_inheritance_list_static(List<String> *p_inheritance_list) {
AudioStreamPlayback:get_inheritance_list_static(p_inheritance_list);
p_inheritance_list->push_back(String("AudioStreamPlaybackRandomPitch")); }
static String get_category_static() {  if (_get_category !=
AudioStreamPlayback::_get_category) { if (get_category_static_category != "")
get_category_static_category = ""; get_category_static_category =
_get_category(); } return get_category_static_category; } static String
inherits_static() { return String("AudioStreamPlayback"); } virtual bool
is_class(const String p_class) const { return (p_class ==
("AudioStreamPlaybackRandomPitch")) ? true :
AudioStreamPlayback::is_class(p_class); } virtual bool is_class_ptr(void
*p_ptr) const { return (p_ptr == get_class_ptr_static) ? true :
AudioStreamPlayback::is_class_ptr(p_ptr); } static void
get_valid_parents_static(List<String> *p_parents) { if
(AudioStreamPlaybackRandomPitch::_get_valid_parents_static !=
AudioStreamPlayback::_get_valid_parents_static) {
AudioStreamPlaybackRandomPitch:_get_valid_parents_static(p_parents); }
AudioStreamPlayback:get_valid_parents_static(p_parents); } protected: inline
static void (*_get_bind_methods())() { return
AudioStreamPlaybackRandomPitch::_bind_methods; } public: static void
initialize_class() { static bool initialized = false; if (initialized) return
AudioStreamPlayback::initialize_class();
ClassDB::_add_class<AudioStreamPlaybackRandomPitch>; if
(AudioStreamPlaybackRandomPitch::_get_bind_methods !=
AudioStreamPlayback::_get_bind_methods()) _bind_methods; initialized = true; }
protected: virtual void _initialize_classv() { initialize_class; } inline bool
(Object::*_get_get() const)(const StringName &p_name, Variant &) const { return
(bool (Object::*)(const StringName &, Variant &) const) &
AudioStreamPlaybackRandomPitch::_get; } virtual bool _getv(const StringName
p_name, Variant &r_ret) const { if (AudioStreamPlaybackRandomPitch::_get_get()
!= AudioStreamPlayback::_get_get()) { if (_get(p_name, r_ret)) return true; }
return AudioStreamPlayback::_getv(p_name, r_ret); } inline bool
(Object::*_get_set() const)(const StringName &p_name, const Variant
&p_property) { return (bool (Object::*)(const StringName &, const Variant &)) &
AudioStreamPlaybackRandomPitch::_set; } virtual bool _setv(const StringName
&p_name, const Variant &p_property) { if (AudioStreamPlayback::_setv(p_name,
p_property)) return true; if (AudioStreamPlaybackRandomPitch::_get_set() !=
AudioStreamPlayback::_get_set())  return false; } inline void
(Object::*_get_get_property_list() const)(List<PropertyInfo> * p_list) const {
return (void (Object::*)(List<PropertyInfo> *) const) &
AudioStreamPlaybackRandomPitch::_get_property_list; } virtual void
_get_property_listv(List<PropertyInfo> *p_list, bool p_reversed) const { if
(!p_reversed) { AudioStreamPlayback::_get_property_listv(p_list, p_reversed); }
p_list->push_back(PropertyInfo(Variant::NIL, get_class_static(),
PROPERTY_HINT_NONE, String(), PROPERTY_USAGE_CATEGORY)); if
(!_is_gpl_reversed())
ClassDB::get_property_list("AudioStreamPlaybackRandomPitch", p_list, true,
this); if (AudioStreamPlaybackRandomPitch::_get_get_property_list() !=
AudioStreamPlayback::_get_get_property_list()) { _get_property_list(p_list); }
if (_is_gpl_reversed())
ClassDB::get_property_list("AudioStreamPlaybackRandomPitch", p_list, true,
this); if (p_reversed) { AudioStreamPlayback::_get_property_listv(p_list,
p_reversed); } } inline void (Object::*_get_notification() const)(int) { return
(void (Object::*)(int)) & AudioStreamPlaybackRandomPitch::_notification; }
virtual void _notificationv(int p_notification, bool p_reversed) { if
(p_reversed) ;       p_reversed; }    };

$ g++ mi.ii -c -Wmisleading-indentation
...
mi.ii: In member function ‘virtual void
AudioStreamPlaybackRandomPitch::_notificationv(int, bool)’:
mi.ii:13: note: -Wmisleading-indentation is disabled from this point onwards,
since column-tracking was disabled due to the size of the code/headers
    class AudioStreamPlaybackRandomPitch : public AudioStreamPlayback { 
private:  mutable StringName _class_name; friend class ClassDB; public:  
static inline void *get_class_ptr_static() { static int ptr; return &ptr; }
static inline String get_class_static() { return
String("AudioStreamPlaybackRandomPitch"); } static inline String
get_parent_class_static() { return AudioStreamPlayback::get_class_static(); }
static void get_inheritance_list_static(List<String> *p_inheritance_list) {
AudioStreamPlayback:get_inheritance_list_static(p_inheritance_list);
p_inheritance_list->push_back(String("AudioStreamPlaybackRandomPitch")); }
static String get_category_static() {  if (_get_category !=
AudioStreamPlayback::_get_category) { if (get_category_static_category != "")
get_category_static_category = ""; get_category_static_category =
_get_category(); } return get_category_static_category; } static String
inherits_static() { return String("AudioStreamPlayback"); } virtual bool
is_class(const String p_class) const { return (p_class ==
("AudioStreamPlaybackRandomPitch")) ? true :
AudioStreamPlayback::is_class(p_class); } virtual bool is_class_ptr(void
*p_ptr) const { return (p_ptr == get_class_ptr_static) ? true :
AudioStreamPlayback::is_class_ptr(p_ptr); } static void
get_valid_parents_static(List<String> *p_parents) { if
(AudioStreamPlaybackRandomPitch::_get_valid_parents_static !=
AudioStreamPlayback::_get_valid_parents_static) {
AudioStreamPlaybackRandomPitch:_get_valid_parents_static(p_parents); }
AudioStreamPlayback:get_valid_parents_static(p_parents); } protected: inline
static void (*_get_bind_methods())() { return
AudioStreamPlaybackRandomPitch::_bind_methods; } public: static void
initialize_class() { static bool initialized = false; if (initialized) return
AudioStreamPlayback::initialize_class();
ClassDB::_add_class<AudioStreamPlaybackRandomPitch>; if
(AudioStreamPlaybackRandomPitch::_get_bind_methods !=
AudioStreamPlayback::_get_bind_methods()) _bind_methods; initialized = true; }
protected: virtual void _initialize_classv() { initialize_class; } inline bool
(Object::*_get_get() const)(const StringName &p_name, Variant &) const { return
(bool (Object::*)(const StringName &, Variant &) const) &
AudioStreamPlaybackRandomPitch::_get; } virtual bool _getv(const StringName
p_name, Variant &r_ret) const { if (AudioStreamPlaybackRandomPitch::_get_get()
!= AudioStreamPlayback::_get_get()) { if (_get(p_name, r_ret)) return true; }
return AudioStreamPlayback::_getv(p_name, r_ret); } inline bool
(Object::*_get_set() const)(const StringName &p_name, const Variant
&p_property) { return (bool (Object::*)(const StringName &, const Variant &)) &
AudioStreamPlaybackRandomPitch::_set; } virtual bool _setv(const StringName
&p_name, const Variant &p_property) { if (AudioStreamPlayback::_setv(p_name,
p_property)) return true; if (AudioStreamPlaybackRandomPitch::_get_set() !=
AudioStreamPlayback::_get_set())  return false; } inline void
(Object::*_get_get_property_list() const)(List<PropertyInfo> * p_list) const {
return (void (Object::*)(List<PropertyInfo> *) const) &
AudioStreamPlaybackRandomPitch::_get_property_list; } virtual void
_get_property_listv(List<PropertyInfo> *p_list, bool p_reversed) const { if
(!p_reversed) { AudioStreamPlayback::_get_property_listv(p_list, p_reversed); }
p_list->push_back(PropertyInfo(Variant::NIL, get_class_static(),
PROPERTY_HINT_NONE, String(), PROPERTY_USAGE_CATEGORY)); if
(!_is_gpl_reversed())
ClassDB::get_property_list("AudioStreamPlaybackRandomPitch", p_list, true,
this); if (AudioStreamPlaybackRandomPitch::_get_get_property_list() !=
AudioStreamPlayback::_get_get_property_list()) { _get_property_list(p_list); }
if (_is_gpl_reversed())
ClassDB::get_property_list("AudioStreamPlaybackRandomPitch", p_list, true,
this); if (p_reversed) { AudioStreamPlayback::_get_property_listv(p_list,
p_reversed); } } inline void (Object::*_get_notification() const)(int) { return
(void (Object::*)(int)) & AudioStreamPlaybackRandomPitch::_notification; }
virtual void _notificationv(int p_notification, bool p_reversed) { if
(p_reversed) ;       p_reversed; }    };

It's probably related to line map and it's capacity. But can we do better here?
>From gcc-bugs-return-635829-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 15:28:18 2019
Return-Path: <gcc-bugs-return-635829-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81582 invoked by alias); 1 Mar 2019 15:28:18 -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 81544 invoked by uid 48); 1 Mar 2019 15:28:13 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89549] [7/8/9 Regression] -Wmisleading-indentation is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers
Date: Fri, 01 Mar 2019 15:28: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: 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: cf_reconfirmed_on cf_known_to_work short_desc cf_known_to_fail
Message-ID: <bug-89549-4-qWwhS2rjyu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89549-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89549-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: 2019-03/txt/msg00123.txt.bz2
Content-length: 1033

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89549

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2019-3-1
      Known to work|                            |6.4.0
            Summary|-Wmisleading-indentation is |[7/8/9 Regression]
                   |disabled from this point    |-Wmisleading-indentation is
                   |onwards, since              |disabled from this point
                   |column-tracking was         |onwards, since
                   |disabled due to the size of |column-tracking was
                   |the code/headers            |disabled due to the size of
                   |                            |the code/headers
      Known to fail|                            |7.4.0, 8.3.0, 9.0

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r244292, thus GCC 7 regression.
>From gcc-bugs-return-635830-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 15:37:51 2019
Return-Path: <gcc-bugs-return-635830-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110161 invoked by alias); 1 Mar 2019 15:37: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 110102 invoked by uid 48); 1 Mar 2019 15:37:46 -0000
From: "aaron at bestateless dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89550] New: Spurious array-bounds warning when using __PRETTY_FUNCTION__ as a string_view.
Date: Fri, 01 Mar 2019 15:37: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.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: aaron at bestateless 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-89550-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: 2019-03/txt/msg00124.txt.bz2
Content-length: 3493

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89550

            Bug ID: 89550
           Summary: Spurious array-bounds warning when using
                    __PRETTY_FUNCTION__ as a string_view.
           Product: gcc
           Version: 8.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: aaron at bestateless dot com
  Target Milestone: ---

Created attachment 45870
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45870&action=edit
Preprocessed source.

Compiler Information:
  $ g++ -v
  Using built-in specs.
  COLLECT_GCC=g++
  COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/lto-wrapper
  Target: x86_64-pc-linux-gnu
  Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib
--libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info
--with-bugurl=https://bugs.archlinux.org/
--enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared
--enable-threads=posix --enable-libmpx --with-system-zlib --with-isl
--enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu
--disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object
--enable-linker-build-id --enable-lto --enable-plugin
--enable-install-libiberty --with-linker-hash-style=gnu
--enable-gnu-indirect-function --enable-multilib --disable-werror
--enable-checking=release --enable-default-pie --enable-default-ssp
--enable-cet=auto
  Thread model: posix
  gcc version 8.2.1 20181127 (GCC)

Example:
  #include <string>

  void foo() {
      std::string_view s(__PRETTY_FUNCTION__);
      s.remove_prefix(s.find_last_of(' '));
      std::string().find(s.data());
  }

Command Line:
  g++ -std=c++17 -Warray-bounds -Werror -O2 -c test.cpp -o test.o

  Does not fail for optimization levels -O0, -O1, or -O3. Only fails for -O2.

Expected:
  Compiles successfully.

  From experiments on https://godbolt.org/ this code compiles on 7.1, 7.2, 7.3,
  7.4, 8.1, 8.2, and trunk. It fails to compile on 8.2.1 and 8.3.0.

Actual:
  test.cpp: In function ‘void foo()’:
  test.cpp:3:6: warning: offset ‘-1’ outside bounds of constant string
[-Warray-bounds]
   void foo() {
        ^~~

Details:
  This does not fail if the line with "remove_prefix" is commented out. In this
  case __PRETTY_FUNCTION__ does contain a space, so it should not get npos from
  the "find_last_of" call. Also does not fail if the call to "find" is
commented
  out. It is the combination of both lines that causes the warning.

  I can get this to fail in the same way on -O3 if I wrap the function in a
  namespace name that is six characters in length or more. If it is five
  characters or less then it does compile on -O3.

  This example succeeds with "g++ -std=c++17 -Warray-bounds -Werror -O3":

    #include <string>

    namespace nnnnn
    {

    void foo() {
        std::string_view s(__PRETTY_FUNCTION__);
        s.remove_prefix(s.find_last_of(' '));
        std::string().find(s.data());
    }

    }

  This example fails with "g++ -std=c++17 -Warray-bounds -Werror -O3" (note the
  namespace name is longer by one character):

    #include <string>

    namespace nnnnnn
    {

    void foo() {
        std::string_view s(__PRETTY_FUNCTION__);
        s.remove_prefix(s.find_last_of(' '));
        std::string().find(s.data());
    }

    }
>From gcc-bugs-return-635831-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 15:39:40 2019
Return-Path: <gcc-bugs-return-635831-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113307 invoked by alias); 1 Mar 2019 15:39: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 113201 invoked by uid 48); 1 Mar 2019 15:39:35 -0000
From: "daniel at iogearbox dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86952] Avoid jump table for switch statement with -mindirect-branch=thunk
Date: Fri, 01 Mar 2019 15:39: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: daniel at iogearbox dot net
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86952-4-pcGfpeVHH0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86952-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86952-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: 2019-03/txt/msg00125.txt.bz2
Content-length: 5042

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86952

--- Comment #16 from Daniel Borkmann <daniel at iogearbox dot net> ---
(In reply to Martin Liška from comment #15)
> (In reply to Daniel Borkmann from comment #12)
> > I've been looking into this issue quite recently and improved the benchmark
> > tool a bit along the way. There need to be multiple considerations wrt to
> > traversing the switch cases, the case is here is doing round robin, but
> > additional distributions / tests could be added. Pushed here just in case:
> > https://github.com/borkmann/microbenchmark
> 
> Thanks a lot for the benchmark.
> 
> > Numbers I'm getting are stable:
> > 
> > * Xeon E3-1240, packet.net c1.small.x86 instance:
> > 
> >  # make prep
> >  [...]
> >  # make
> >  gcc -g -I. -O2   -c -o test.o test.c
> >  gcc -g -I. -O2 -mindirect-branch=thunk --param=case-values-threshold=20  
> > -c -o switch-no-table.o switch-no-table.c
> >  gcc -g -I. -O2 -mindirect-branch=thunk   -c -o switch.o switch.c
> >  gcc -g -I. -O2   -c -o switch-no-retpol.o switch-no-retpol.c
> >  gcc -o test test.o switch-no-table.o switch.o switch-no-retpol.o
> >  taskset 1 ./test
> >  no retpoline :      6098325270
> >  no jump table:      6298192058 (no retpoline: 103.28%)
> >  jump table   :     22081802856 (no retpoline: 362.10%, no jump table:
> > 350.61%)
> >  # make
> >  taskset 1 ./test
> >  no retpoline :      6098439816
> >  no jump table:      6298242270 (no retpoline: 103.28%)
> >  jump table   :     22107872854 (no retpoline: 362.52%, no jump table:
> > 351.02%)
> >  # make
> >  taskset 1 ./test
> >  no retpoline :      6098187038
> >  no jump table:      6298308128 (no retpoline: 103.28%)
> >  jump table   :     22071053524 (no retpoline: 361.93%, no jump table:
> > 350.43%)
> > 
> > * Xeon Gold 5120, packet.net m2.xlarge.x86 instance:
> > 
> >  # make prep
> >  [...]
> >  # make
> >  gcc -g -I. -O2   -c -o test.o test.c
> >  gcc -g -I. -O2 -mindirect-branch=thunk --param=case-values-threshold=20  
> > -c -o switch-no-table.o switch-no-table.c
> >  gcc -g -I. -O2 -mindirect-branch=thunk   -c -o switch.o switch.c
> >  gcc -g -I. -O2   -c -o switch-no-retpol.o switch-no-retpol.c
> >  gcc -o test test.o switch-no-table.o switch.o switch-no-retpol.o
> >  taskset 1 ./test
> >  no retpoline :      5450356814
> >  no jump table:      5620673036 (no retpoline: 103.12%)
> >  jump table   :     21448285314 (no retpoline: 393.52%, no jump table:
> > 381.60%)
> >  # make
> >  taskset 1 ./test
> >  no retpoline :      5450356100
> >  no jump table:      5620678302 (no retpoline: 103.12%)
> >  jump table   :     21448119720 (no retpoline: 393.52%, no jump table:
> > 381.59%)
> >  # make
> >  taskset 1 ./test
> >  no retpoline :      5450331258
> >  no jump table:      5620839740 (no retpoline: 103.13%)
> >  jump table   :     21446922902 (no retpoline: 393.50%, no jump table:
> > 381.56%)
> 
> I can confirm the numbers. I've got:
> model name	: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
> 
> taskset 1 ./test
> no retpoline :      4311969467
> no jump table:      5146081372 (no retpoline: 119.34%)
> jump table   :     18845846887 (no retpoline: 437.06%, no jump table:
> 366.22%)

Ok, great, thanks for testing on your side as well!

> > I've also looked into clang for their -mretpoline flag, and they generally
> > turn off jump table generation in this case. For gcc, the s390 folks
> > implemented a target override for the default case-values-threshold to raise
> > it to 20. 
> 
> Note that GCC has similar parameter:
> 
> --param case-values-threshold
>                The smallest number of different values for which it is best
> to use a jump-table instead of a tree of conditional branches.  If the value
> is 0, use the default for the machine.  The default is 0.

Yeah, I know, I've used it above for the test case (see the gcc cmdline parts).

> For 20 branches, I've got even worse numbers:
> https://github.com/marxin/microbenchmark-1/tree/retpoline-table
> 
> taskset 1 ./test
> no retpoline :      5096377521
> no jump table:      5169400990 (no retpoline: 101.43%)
> jump table   :     28830137876 (no retpoline: 565.70%, no jump table:
> 557.71%)
> 
> So are you suggesting to disable jump tables with retpolines at all?

I leave that up to you guys, but I would at min probably implement something
like s390 folks did for gcc, commit db7a90aa0de5 ("S/390: Disable prediction of
indirect branches"), see s390_case_values_threshold() which does:

+unsigned int
+s390_case_values_threshold (void)
+{
+  /* Disabling branch prediction for indirect jumps makes jump tables
+     much more expensive.  */
+  if (TARGET_INDIRECT_BRANCH_NOBP_JUMP)
+    return 20;
+
+  return default_case_values_threshold ();
+}

> For x86 something similar could be done. Anyway, H.J. Lu asked me
> > to reopen this issue (but seems like I cannot make this change from my
> > account).
> 
> Yep, I would need an account ending with @gcc.org to change a bug.
>From gcc-bugs-return-635832-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 15:48:58 2019
Return-Path: <gcc-bugs-return-635832-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8348 invoked by alias); 1 Mar 2019 15:48:57 -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 7872 invoked by uid 48); 1 Mar 2019 15:48:41 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89051] -Wno-error= does not work for warning groups
Date: Fri, 01 Mar 2019 15:48: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.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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-89051-4-pRZwzpN0k8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89051-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89051-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: 2019-03/txt/msg00126.txt.bz2
Content-length: 573

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89051

--- Comment #8 from Martin Sebor <msebor at gcc dot gnu.org> ---
The test passes without the -Wno-error=pedantic so it looks like it's not
necessary.  I must have thought it was for some reason.

But to make sure I understand you correctly: do you mean that -Wpedantic
-Wno-error=pedantic suppresses the pedantic warnings?  (I would expect that to
retain the pedantic warnings and not make them errors even if -Werror were on
the command line; unless -Wno-error=pedantic were followed by
-Werror=pedantic.)
>From gcc-bugs-return-635833-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 15:49:45 2019
Return-Path: <gcc-bugs-return-635833-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10096 invoked by alias); 1 Mar 2019 15:49:44 -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 9839 invoked by uid 48); 1 Mar 2019 15:49:34 -0000
From: "dccitaliano at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/89530] Wrong debug informations for C array generated at -Og [gcc-trunk]
Date: Fri, 01 Mar 2019 15:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: wrong-debug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dccitaliano 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:
Message-ID: <bug-89530-4-H2avpJUpEc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89530-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89530-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: 2019-03/txt/msg00127.txt.bz2
Content-length: 509

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89530

--- Comment #2 from dcci <dccitaliano at gmail dot com> ---
Thanks Jakub. We're trying to report more of these but it's hard to filter out
duplicates. A possible way we thought was that of stopping at some point in the
pipeline (so running a subset of the optimizations), to identify where this
broke.
(something like https://llvm.org/docs/OptBisect.html).
Is there any easy way of doing this in GCC? I skimmed through the docs and
haven't found any.
>From gcc-bugs-return-635834-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 15:54:13 2019
Return-Path: <gcc-bugs-return-635834-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103549 invoked by alias); 1 Mar 2019 15:54: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 103467 invoked by uid 55); 1 Mar 2019 15:54:08 -0000
From: "puffydaemon at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/89542] Error reported on incorrect line number when using GCC to compile .S files using #include
Date: Fri, 01 Mar 2019 15:54: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: 4.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: puffydaemon 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:
Message-ID: <bug-89542-4-6Sp06mVu3m@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89542-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89542-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: 2019-03/txt/msg00128.txt.bz2
Content-length: 502

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89542

--- Comment #4 from puffydaemon at gmail dot com ---
Okay, I am going to try with clang...

El vie., 1 mar. 2019 a las 10:37, rguenth at gcc dot gnu.org (<
gcc-bugzilla@gcc.gnu.org>) escribió:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89542
>
> --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
> Also note that GCC 4.2.1 is no longer maintained.
>
> --
> You are receiving this mail because:
> You reported the bug.
>From gcc-bugs-return-635835-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 15:56:34 2019
Return-Path: <gcc-bugs-return-635835-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107243 invoked by alias); 1 Mar 2019 15:56: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 107163 invoked by uid 55); 1 Mar 2019 15:56:28 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89532] [9 Regression] internal compiler error: in type_has_nontrivial_copy_init, at cp/tree.c:4024
Date: Fri, 01 Mar 2019 15:56: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89532-4-mN3QTHtYUu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89532-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89532-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: 2019-03/txt/msg00129.txt.bz2
Content-length: 668

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89532

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Fri Mar  1 15:55:56 2019
New Revision: 269317

URL: https://gcc.gnu.org/viewcvs?rev=269317&root=gcc&view=rev
Log:
        PR c++/89532 - ICE with incomplete type in decltype.
        * semantics.c (finish_compound_literal): Return error_mark_node
        if digest_init_flags returns error_mark_node.

        * g++.dg/cpp2a/nontype-class14.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp2a/nontype-class14.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635836-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 15:58:24 2019
Return-Path: <gcc-bugs-return-635836-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 112173 invoked by alias); 1 Mar 2019 15:58: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 112076 invoked by uid 55); 1 Mar 2019 15:58:19 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89537] missing location for error
Date: Fri, 01 Mar 2019 15:58: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: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89537-4-hOt9pQLqKx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89537-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89537-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: 2019-03/txt/msg00130.txt.bz2
Content-length: 706

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89537

--- Comment #7 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Fri Mar  1 15:57:46 2019
New Revision: 269318

URL: https://gcc.gnu.org/viewcvs?rev=269318&root=gcc&view=rev
Log:
        PR c++/89537 - missing location for error with non-static member fn.
        * call.c (resolve_args): Use EXPR_LOCATION.
        * typeck.c (build_class_member_access_expr): Use input_location.

        * g++.dg/diagnostic/member-fn-1.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/diagnostic/member-fn-1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/cp/typeck.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635837-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 15:58:46 2019
Return-Path: <gcc-bugs-return-635837-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113070 invoked by alias); 1 Mar 2019 15:58:46 -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 112971 invoked by uid 48); 1 Mar 2019 15:58:42 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89532] [9 Regression] internal compiler error: in type_has_nontrivial_copy_init, at cp/tree.c:4024
Date: Fri, 01 Mar 2019 15:58: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89532-4-dG7WHnFh6n@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89532-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89532-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: 2019-03/txt/msg00131.txt.bz2
Content-length: 429

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89532

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-635838-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 15:59:07 2019
Return-Path: <gcc-bugs-return-635838-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114080 invoked by alias); 1 Mar 2019 15:59:06 -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 113997 invoked by uid 48); 1 Mar 2019 15:59:02 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89537] missing location for error
Date: Fri, 01 Mar 2019 15:59: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: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89537-4-9BH18VKF3y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89537-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89537-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: 2019-03/txt/msg00132.txt.bz2
Content-length: 429

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89537

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed.
>From gcc-bugs-return-635839-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 16:02:44 2019
Return-Path: <gcc-bugs-return-635839-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122338 invoked by alias); 1 Mar 2019 16:02:43 -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 120068 invoked by uid 48); 1 Mar 2019 16:02:38 -0000
From: "nknikita at niisi dot ras.ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89452] basic_stringbuf::seekoff and basic_stringbuf::seekpos implementations
Date: Fri, 01 Mar 2019 16:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 7.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nknikita at niisi dot ras.ru
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-89452-4-HZNJtG6Jyt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89452-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89452-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: 2019-03/txt/msg00133.txt.bz2
Content-length: 1630

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89452

--- Comment #4 from Baykov Nikita <nknikita at niisi dot ras.ru> ---
I apologize for my careless mistake.

I have some other questions that I would like to clarify. Hope it will be right
to do it here.

1. You mentioned that pptr() was no longer required to be null pointer in this
case. I have checked https://cplusplus.github.io/LWG/issue2995. The issue has
WP status, but what is not clear to me whether the change affects only C++20
and further versions of the standard, or all of the versions, including C++17,
C++14, C++11, etc. The explanation in
https://cplusplus.github.io/LWG/lwg-active.html#IssueStatus looks ambigous to
me and I do not really understand the difference between DR, WP and C++1x
statuses.

2. Table 112 in N4800 describes how the positioning depends on function
arguments 'which' and 'way'. I am not sure if conditions in the first two rows
of the table are specified correctly. Maybe, they should be replaced with
'(which & (ios_base::in|ios_base::out)) == ios_base::in' and '(which &
(ios_base::in|ios_base::out)) == ios_base::out'? For now, the result doesn't
seem to depend on 'way'. If 'which == ios_base::in|ios_base::out && way ==
ios_base::cur', the conditions of the third row are not satisfied. However, the
conditions of the first two rows are satisfied, thus both input and output
sequences should be positioned, despite the fact that 'way == ios_base::cur'.

3. Your previous replies don't explain why the opening mode of the buffer
should be checked in addition to requirements of the standard.
>From gcc-bugs-return-635840-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 16:03:53 2019
Return-Path: <gcc-bugs-return-635840-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124142 invoked by alias); 1 Mar 2019 16:03:52 -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 124085 invoked by uid 48); 1 Mar 2019 16:03:48 -0000
From: "nknikita at niisi dot ras.ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89452] basic_stringbuf::seekoff and basic_stringbuf::seekpos implementations
Date: Fri, 01 Mar 2019 16:03:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 7.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nknikita at niisi dot ras.ru
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-89452-4-vxLocAUtzd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89452-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89452-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: 2019-03/txt/msg00134.txt.bz2
Content-length: 1630

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89452

--- Comment #5 from Baykov Nikita <nknikita at niisi dot ras.ru> ---
I apologize for my careless mistake.

I have some other questions that I would like to clarify. Hope it will be right
to do it here.

1. You mentioned that pptr() was no longer required to be null pointer in this
case. I have checked https://cplusplus.github.io/LWG/issue2995. The issue has
WP status, but what is not clear to me whether the change affects only C++20
and further versions of the standard, or all of the versions, including C++17,
C++14, C++11, etc. The explanation in
https://cplusplus.github.io/LWG/lwg-active.html#IssueStatus looks ambigous to
me and I do not really understand the difference between DR, WP and C++1x
statuses.

2. Table 112 in N4800 describes how the positioning depends on function
arguments 'which' and 'way'. I am not sure if conditions in the first two rows
of the table are specified correctly. Maybe, they should be replaced with
'(which & (ios_base::in|ios_base::out)) == ios_base::in' and '(which &
(ios_base::in|ios_base::out)) == ios_base::out'? For now, the result doesn't
seem to depend on 'way'. If 'which == ios_base::in|ios_base::out && way ==
ios_base::cur', the conditions of the third row are not satisfied. However, the
conditions of the first two rows are satisfied, thus both input and output
sequences should be positioned, despite the fact that 'way == ios_base::cur'.

3. Your previous replies don't explain why the opening mode of the buffer
should be checked in addition to requirements of the standard.
>From gcc-bugs-return-635841-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 16:10:36 2019
Return-Path: <gcc-bugs-return-635841-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1150 invoked by alias); 1 Mar 2019 16:10: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 1033 invoked by uid 48); 1 Mar 2019 16:10:30 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/89530] Wrong debug informations for C array generated at -Og [gcc-trunk]
Date: Fri, 01 Mar 2019 16:10:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: wrong-debug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89530-4-tSP1C15Wrb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89530-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89530-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: 2019-03/txt/msg00135.txt.bz2
Content-length: 675

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89530

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
In GCC people don't disable passes usually, but just use -fdump-tree-all and/or
-da and look at the dumps where it broke.  We do have
-fdisable-<kind>-<pass>{,=range-list} options to disable individual passes if
needed, or various -fno-tree-* or -fno-rtl-* etc. options, but it can give
surprising result if you disable too many and just using binary search in the
pass dumps is much better (start looking at -fdump-tree-optimized dump if it is
a GIMPLE or RTL issue, depending on that look at some pass in the middle of the
either range, etc.
>From gcc-bugs-return-635842-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 16:12:54 2019
Return-Path: <gcc-bugs-return-635842-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10201 invoked by alias); 1 Mar 2019 16:12: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 10063 invoked by uid 48); 1 Mar 2019 16:12:49 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/89530] Wrong debug informations for C array generated at -Og [gcc-trunk]
Date: Fri, 01 Mar 2019 16:12:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: wrong-debug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89530-4-CW6ohAbYPa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89530-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89530-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: 2019-03/txt/msg00136.txt.bz2
Content-length: 341

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89530

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Also, we usually bisect which gcc revision introduced a problem and from that
change we can often see what goes wrong quickly.  Both Red Hat and SUSE have
terrabytes of built gcc revisions to make such bisection faster.
>From gcc-bugs-return-635843-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 16:13:59 2019
Return-Path: <gcc-bugs-return-635843-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12025 invoked by alias); 1 Mar 2019 16: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 11961 invoked by uid 48); 1 Mar 2019 16:13:54 -0000
From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89551] New: [9 regression] Test case gcc.dg/uninit-pred-8_b.c fails after r269302
Date: Fri, 01 Mar 2019 16:13:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
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-89551-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: 2019-03/txt/msg00137.txt.bz2
Content-length: 2117

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89551

            Bug ID: 89551
           Summary: [9 regression] Test case gcc.dg/uninit-pred-8_b.c
                    fails after r269302
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

New failures (update from 269300 to 269304):
FAIL: gcc.dg/uninit-pred-8_b.c bogus warning (test for bogus messages, line 20)
FAIL: gcc.dg/uninit-pred-8_b.c bogus warning (test for bogus messages, line 39)
FAIL: gcc.dg/uninit-pred-8_b.c warning (test for warnings, line 42)

spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test2/gcc/
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/uninit-pred-8_b.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -Wuninitialized -O2 -S -o uninit-pred-8_b.s
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/uninit-pred-8_b.c: In function
'foo':
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/uninit-pred-8_b.c:20:7:
warning: 'v' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/uninit-pred-8_b.c: In function
'foo_2':
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/uninit-pred-8_b.c:39:7:
warning: 'v' may be used uninitialized in this function [-Wmaybe-uninitialized]
FAIL: gcc.dg/uninit-pred-8_b.c bogus warning (test for bogus messages, line 20)
PASS: gcc.dg/uninit-pred-8_b.c bogus warning (test for bogus messages, line 23)
FAIL: gcc.dg/uninit-pred-8_b.c bogus warning (test for bogus messages, line 39)
FAIL: gcc.dg/uninit-pred-8_b.c warning (test for warnings, line 42)
PASS: gcc.dg/uninit-pred-8_b.c (test for excess errors)
testcase /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/dg.exp completed in 0
seconds

                === gcc Summary ===

# of expected passes            2
# of unexpected failures        3
>From gcc-bugs-return-635844-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 16:14:49 2019
Return-Path: <gcc-bugs-return-635844-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14972 invoked by alias); 1 Mar 2019 16:14: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 13992 invoked by uid 48); 1 Mar 2019 16:14:44 -0000
From: "dccitaliano at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/89530] Wrong debug informations for C array generated at -Og [gcc-trunk]
Date: Fri, 01 Mar 2019 16:14:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: wrong-debug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dccitaliano 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:
Message-ID: <bug-89530-4-tp8ZP0ypLA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89530-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89530-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: 2019-03/txt/msg00138.txt.bz2
Content-length: 433

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89530

--- Comment #5 from dcci <dccitaliano at gmail dot com> ---
(In reply to Jakub Jelinek from comment #4)
> Also, we usually bisect which gcc revision introduced a problem and from
> that change we can often see what goes wrong quickly.  Both Red Hat and SUSE
> have terrabytes of built gcc revisions to make such bisection faster.

I see. Is this data available for the masses?
>From gcc-bugs-return-635845-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 16:18:35 2019
Return-Path: <gcc-bugs-return-635845-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 23405 invoked by alias); 1 Mar 2019 16:18: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 23301 invoked by uid 48); 1 Mar 2019 16:18:30 -0000
From: "a3at.mail at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89552] New: odr namespace
Date: Fri, 01 Mar 2019 16: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: a3at.mail 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-89552-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: 2019-03/txt/msg00139.txt.bz2
Content-length: 391

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89552

            Bug ID: 89552
           Summary: odr namespace
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: a3at.mail at gmail dot com
  Target Milestone: ---
>From gcc-bugs-return-635846-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 16:18:43 2019
Return-Path: <gcc-bugs-return-635846-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24252 invoked by alias); 1 Mar 2019 16:18:43 -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 24015 invoked by uid 55); 1 Mar 2019 16:18:38 -0000
From: "amonakov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/85899] [8/9 Regression] ICE in find_fallthru_edge_from, at haifa-sched.c:8059
Date: Fri, 01 Mar 2019 16:18: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amonakov at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-85899-4-1ICei5bwRu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85899-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85899-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: 2019-03/txt/msg00140.txt.bz2
Content-length: 678

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85899

--- Comment #5 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Author: amonakov
Date: Fri Mar  1 16:18:04 2019
New Revision: 269319

URL: https://gcc.gnu.org/viewcvs?rev=269319&root=gcc&view=rev
Log:
haifa-sched: handle fallthru edge to EXIT block (PR 85899)

        PR rtl-optimization/85899
        * haifa-sched.c (find_fallthru_edge_from): Relax assert to account for
        fallthru edges leading to the exit block.

        * gcc.dg/pr85899.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr85899.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/haifa-sched.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635849-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 16:19:46 2019
Return-Path: <gcc-bugs-return-635849-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29671 invoked by alias); 1 Mar 2019 16:19:46 -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 29578 invoked by uid 48); 1 Mar 2019 16:19:42 -0000
From: "a3at.mail at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89552] odr namespace
Date: Fri, 01 Mar 2019 16:19: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: a3at.mail at gmail dot com
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-89552-4-eZeqadUCte@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89552-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89552-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: 2019-03/txt/msg00143.txt.bz2
Content-length: 420

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89552

Azat <a3at.mail at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Azat <a3at.mail at gmail dot com> ---
misclick, sorry
>From gcc-bugs-return-635848-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 16:19:32 2019
Return-Path: <gcc-bugs-return-635848-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28832 invoked by alias); 1 Mar 2019 16:19:32 -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 28659 invoked by uid 48); 1 Mar 2019 16:19:28 -0000
From: "amonakov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/85899] [8 Regression] ICE in find_fallthru_edge_from, at haifa-sched.c:8059
Date: Fri, 01 Mar 2019 16:19: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amonakov 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on short_desc everconfirmed
Message-ID: <bug-85899-4-LLCP6Kd3rs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-85899-4@http.gcc.gnu.org/bugzilla/>
References: <bug-85899-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: 2019-03/txt/msg00142.txt.bz2
Content-length: 624

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85899

Alexander Monakov <amonakov at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-03-01
            Summary|[8/9 Regression] ICE in     |[8 Regression] ICE in
                   |find_fallthru_edge_from, at |find_fallthru_edge_from, at
                   |haifa-sched.c:8059          |haifa-sched.c:8059
     Ever confirmed|0                           |1
>From gcc-bugs-return-635847-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 16:19:10 2019
Return-Path: <gcc-bugs-return-635847-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27460 invoked by alias); 1 Mar 2019 16:19: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 26779 invoked by uid 48); 1 Mar 2019 16:19:04 -0000
From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89546] [8/9 Regression] Suspected arm flint miscompilation starting with r255510
Date: Fri, 01 Mar 2019 16:19: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.3.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jamborm 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89546-4-1LDvGR33j4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89546-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89546-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: 2019-03/txt/msg00141.txt.bz2
Content-length: 554

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89546

--- Comment #4 from Martin Jambor <jamborm at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #3)
> ...But in the sra pass dump that possibility is gone:

I am still double checking because it is easy to make a mistake but I
have seen a (potential) path in the sra dump, just not in the
optimized dump.  Also, I believe the testcase passes with
-fstrict-aliasing (can you please check?), which would hint at some
problems with aliasing... (of course, those might be created by SRA
too).
>From gcc-bugs-return-635850-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 16:21:17 2019
Return-Path: <gcc-bugs-return-635850-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35677 invoked by alias); 1 Mar 2019 16:21: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 35515 invoked by uid 48); 1 Mar 2019 16:21:12 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/89530] Wrong debug informations for C array generated at -Og [gcc-trunk]
Date: Fri, 01 Mar 2019 16:21:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: wrong-debug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89530-4-GolvPKKDXO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89530-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89530-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: 2019-03/txt/msg00144.txt.bz2
Content-length: 714

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89530

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to dcci from comment #5)
> (In reply to Jakub Jelinek from comment #4)
> > Also, we usually bisect which gcc revision introduced a problem and from
> > that change we can often see what goes wrong quickly.  Both Red Hat and SUSE
> > have terrabytes of built gcc revisions to make such bisection faster.
> 
> I see. Is this data available for the masses?

No, it is behind VPNs etc.  One can do a git-bisect or write his own script of
course, the bisect seeds we have are just for those who do this several times a
day and don't want to wait until stuff builds again and again.
>From gcc-bugs-return-635851-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 16:22:23 2019
Return-Path: <gcc-bugs-return-635851-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42896 invoked by alias); 1 Mar 2019 16:22: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 42785 invoked by uid 48); 1 Mar 2019 16:22:18 -0000
From: "alexhenrie24 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/65403] -Wno-error=<not implemented> is an error
Date: Fri, 01 Mar 2019 16:22: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: 5.0
X-Bugzilla-Keywords: diagnostic, easyhack, patch
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: alexhenrie24 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-65403-4-Vc7AvV2TDl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65403-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65403-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: 2019-03/txt/msg00145.txt.bz2
Content-length: 161

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65403

--- Comment #8 from Alex Henrie <alexhenrie24 at gmail dot com> ---
Why weren't Manuel's patches accepted?
>From gcc-bugs-return-635852-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 16:23:32 2019
Return-Path: <gcc-bugs-return-635852-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51680 invoked by alias); 1 Mar 2019 16:23:32 -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 51568 invoked by uid 48); 1 Mar 2019 16:23:28 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89548] reinterpret_cast treats xvalue as prvalue
Date: Fri, 01 Mar 2019 16:23: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.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek 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-89548-4-hcS213lxws@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89548-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89548-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: 2019-03/txt/msg00146.txt.bz2
Content-length: 404

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89548

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed by r260622.
>From gcc-bugs-return-635853-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 16:26:26 2019
Return-Path: <gcc-bugs-return-635853-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57104 invoked by alias); 1 Mar 2019 16:26: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 56999 invoked by uid 48); 1 Mar 2019 16:26:21 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89548] reinterpret_cast treats xvalue as prvalue
Date: Fri, 01 Mar 2019 16:26: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.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-89548-4-vhLDho6UCc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89548-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89548-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: 2019-03/txt/msg00147.txt.bz2
Content-length: 454

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89548

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
So fixed, but only for GCC 9...
>From gcc-bugs-return-635854-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 16:55:04 2019
Return-Path: <gcc-bugs-return-635854-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14512 invoked by alias); 1 Mar 2019 16:55:04 -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 14109 invoked by uid 48); 1 Mar 2019 16:54:59 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/44859] missed warning: returning reference to temporary
Date: Fri, 01 Mar 2019 16:55: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: 4.5.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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 cc cf_known_to_work resolution cf_known_to_fail
Message-ID: <bug-44859-4-BWi7rIKBv9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-44859-4@http.gcc.gnu.org/bugzilla/>
References: <bug-44859-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: 2019-03/txt/msg00148.txt.bz2
Content-length: 692

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44859

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |msebor at gcc dot gnu.org
      Known to work|                            |4.9.4
         Resolution|---                         |FIXED
      Known to fail|                            |4.5.3

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
Since 4.9, GCC warns on all functions in the test case in comment #0.  Fixed by
r208970.
>From gcc-bugs-return-635855-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 17:01:57 2019
Return-Path: <gcc-bugs-return-635855-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88329 invoked by alias); 1 Mar 2019 17:01:56 -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 88124 invoked by uid 48); 1 Mar 2019 17:01:51 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89546] [8/9 Regression] Suspected arm flint miscompilation starting with r255510
Date: Fri, 01 Mar 2019 17:01: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.3.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89546-4-mglWXbBX2U@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89546-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89546-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: 2019-03/txt/msg00149.txt.bz2
Content-length: 6188

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89546

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
You mean -fno-strict-aliasing?  I guess many options change the behavior that
it doesn't trigger anymore.
In the #c3 dump, I really don't see how aliasing could matter though, all are
MEM_REFs with addresses of particular automatic vars, there are no pointers
involved.

I've instrumented the compiler a little bit:
--- gcc/gimple-pretty-print.c.jj        2019-01-01 12:37:15.700998856 +0100
+++ gcc/gimple-pretty-print.c   2019-03-01 17:44:46.673862737 +0100
@@ -41,6 +41,7 @@ along with GCC; see the file COPYING3.
 #include "stringpool.h"
 #include "attribs.h"
 #include "asan.h"
+#include "tree-dfa.h"

 #define INDENT(SPACE)                                                  \
   do { int i; for (i = 0; i < SPACE; i++) pp_space (buffer); } while (0)
@@ -575,6 +576,7 @@ dump_ternary_rhs (pretty_printer *buffer
     }
 }

+volatile bool assign_extra;

 /* Dump the gimple assignment GS.  BUFFER, SPC and FLAGS are as in
    pp_gimple_stmt_1.  */
@@ -634,6 +636,35 @@ dump_gimple_assign (pretty_printer *buff
         gcc_unreachable ();
       if (!(flags & TDF_RHS_ONLY))
        pp_semicolon (buffer);
+
+      if (assign_extra && gimple_num_ops (gs) == 2)
+       {
+         bool any = false;
+         for (int i = 0; i < 2; i++)
+           {
+             tree op = gimple_op (gs, i);
+             if (handled_component_p (op)
+                 || TREE_CODE (op) == MEM_REF
+                 || TREE_CODE (op) == TARGET_MEM_REF
+                 || DECL_P (op))
+               {
+                 poly_int64 off, size, max_size;
+                 bool dummy;
+                 get_ref_base_and_extent (op, &off, &size, &max_size, &dummy);
+                  if (!any)
+                   {
+                     pp_string (buffer, "//");
+                     any = true;
+                   }
+                 pp_string (buffer, i ? " rhs1 " : " lhs ");
+                 pp_wide_integer (buffer, off);
+                  pp_space (buffer);
+                 pp_wide_integer (buffer, size);
+                 pp_space (buffer);
+                 pp_wide_integer (buffer, max_size);
+               }
+           }
+       }
     }
 }

and at the start of late_intra_sra after set assign_extra = 1 debug_bb_n (2)
looks like below.
Extra comments added where the value 2 propagates through:

<bb 2> [local count: 1073741824]:
MEM[(struct  &)&merged1] ={v} {CLOBBER};// lhs 0 32 32
MEM[(struct  &)&merged1 + 4] ={v} {CLOBBER};// lhs 32 32 32
MEM[(struct  &)&merged1 + 8] ={v} {CLOBBER};// lhs 64 96 96
MEM[(struct  &)&merged1 + 8] ={v} {CLOBBER};// lhs 64 32 32
MEM[(struct  &)&merged1 + 12] ={v} {CLOBBER};// lhs 96 32 32
MEM[(struct  &)&merged1 + 16] ={v} {CLOBBER};// lhs 128 16 16
MEM[(struct  &)&D.9937] ={v} {CLOBBER};// lhs 0 128 128
D.9933 ={v} {CLOBBER};// lhs 0 96 96
MEM[(struct  &)&D.9936] ={v} {CLOBBER};// lhs 0 128 128
D.9940 ={v} {CLOBBER};// lhs 0 96 96
D.9941 ={v} {CLOBBER};// lhs 0 96 96
D.9942 ={v} {CLOBBER};// lhs 0 64 64
D.9936 ={v} {CLOBBER};// lhs 0 128 128
MEM[(struct  &)&n1] ={v} {CLOBBER};// lhs 0 128 128
D.9937 ={v} {CLOBBER};// lhs 0 128 128
n1 ={v} {CLOBBER};// lhs 0 128 128
MEM[(struct  &)&merged2] ={v} {CLOBBER};// lhs 0 32 32
MEM[(struct  &)&merged2 + 4] ={v} {CLOBBER};// lhs 32 32 32
MEM[(struct  &)&merged2 + 8] ={v} {CLOBBER};// lhs 64 96 96
MEM[(struct  &)&merged2 + 8] ={v} {CLOBBER};// lhs 64 32 32
MEM[(struct  &)&merged2 + 12] ={v} {CLOBBER};// lhs 96 32 32
MEM[(struct  &)&merged2 + 16] ={v} {CLOBBER};// lhs 128 16 16
MEM[(struct tuple &)&merged2 + 4].head.payload = 2;// lhs 32 32 32
// MEM[&merged2+4] == 2
MEM[(struct tuple &)&merged2 + 8].head.payload = 3;// lhs 64 32 32
D.9957.head = MEM[(const struct type_n &)&merged2 + 4];// lhs 0 32 32 rhs1 32
32 32
// MEM[&D.9957+0] == 2
MEM[(struct  &)&D.9959] ={v} {CLOBBER};// lhs 0 96 96
MEM[(struct tuple *)&D.9959].head = MEM[(const struct type_n &)&D.9957];// lhs
0 32 32 rhs1 0 32 32
// MEM[&D.9959+0] == 2
D.9957 ={v} {CLOBBER};// lhs 0 64 64
MEM[(struct tuple *)&D.9959 + 4B] = 4;// lhs 32 32 32
D.9960 = D.9959;// lhs 0 96 96 rhs1 0 96 96
// MEM[&D.9960+0] == 2
MEM[(struct  &)&D.9953] ={v} {CLOBBER};// lhs 0 128 128
D.9953.head = MEM[(const struct type_n &)&merged2 + 8];// lhs 0 32 32 rhs1 64
32 32
D.9953.tail = MEM[(const struct tuple &)&D.9960];// lhs 32 96 96 rhs1 0 96 96
// MEM[&D.9953+4] == 2
D.9960 ={v} {CLOBBER};// lhs 0 96 96
D.9959 ={v} {CLOBBER};// lhs 0 96 96
D.9952 = D.9953;// lhs 0 128 128 rhs1 0 128 128
// MEM[&D.9952+4] == 2
MEM[(struct  &)&D.9944] ={v} {CLOBBER};// lhs 0 160 160
MEM[(struct tuple *)&D.9944].tail = MEM[(const struct tuple &)&D.9952];// lhs
32 128 128 rhs1 0 128 128
// MEM[&D.9944+8] == 2
D.9952 ={v} {CLOBBER};// lhs 0 128 128
D.9953 ={v} {CLOBBER};// lhs 0 128 128
D.9954 ={v} {CLOBBER};// lhs 0 64 64
D.9947 = MEM[(const struct tuple &)&D.9944 + 8];// lhs 0 96 96 rhs1 64 96 96
// MEM[&D.9947+0] == 2
MEM[(struct tuple *)&D.9948].tail = MEM[(const struct tuple &)&D.9947];// lhs
32 96 96 rhs1 0 96 96
// MEM[&D.9948+4] == 2
SR.150_36 = MEM[(const struct tuple &)&D.9947 + 4];// rhs1 32 32 32
D.9947 ={v} {CLOBBER};// lhs 0 96 96
MEM[(struct  &)&D.9949] ={v} {CLOBBER};// lhs 0 96 96
D.9949.head = MEM[(const struct type_n &)&D.9948 + 4];// lhs 0 32 32 rhs1 32 32
32
// MEM[&D.9949+0] == 2
MEM[(struct  &)&n1] ={v} {CLOBBER};// lhs 0 128 128
MEM[(const struct tuple &)&D.9949 + 4] = SR.150_36;// lhs 32 32 32
n1.tail = MEM[(const struct tuple &)&D.9949];// lhs 32 96 96 rhs1 0 96 96
// MEM[&n1+4] == 2
D.9949 ={v} {CLOBBER};// lhs 0 96 96
D.9948 ={v} {CLOBBER};// lhs 0 128 128
D.9944 ={v} {CLOBBER};// lhs 0 160 160
_2 = n1.tail.head.payload;// rhs1 32 32 32
// _2 == 2
if (_2 != 2)
  goto <bb 3>; [0.00%]
else
  goto <bb 4>; [100.00%]

Thus, I believe the IL is correct at least of the 12 step propagation of value
2 down to _2 before late sra in main.  And that is all the testcase cares
about.
>From gcc-bugs-return-635856-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 17:09:04 2019
Return-Path: <gcc-bugs-return-635856-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34420 invoked by alias); 1 Mar 2019 17:09: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 33702 invoked by uid 48); 1 Mar 2019 17:08:57 -0000
From: "twoh at fb dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89538] [7.3.0] GCC miscompiling LLVM because of wrong vectorization
Date: Fri, 01 Mar 2019 17:09: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: twoh at fb dot com
X-Bugzilla-Status: WAITING
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-89538-4-aV9buIFfjw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89538-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89538-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: 2019-03/txt/msg00150.txt.bz2
Content-length: 328

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89538

--- Comment #3 from Taewook Oh <twoh at fb dot com> ---
Here's the compiler command and the preprocessed source.

command: https://gist.github.com/taewookoh/45e710594497b887e2ac54168c86c17f
source: https://gist.github.com/taewookoh/00f38b4a2f617e78b30d33c8103a7703

Thanks!
>From gcc-bugs-return-635857-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 17:24:00 2019
Return-Path: <gcc-bugs-return-635857-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32993 invoked by alias); 1 Mar 2019 17:23: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 32809 invoked by uid 48); 1 Mar 2019 17:23:54 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/86979] [9 Regression] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2348 with -m32 on darwin
Date: Fri, 01 Mar 2019 17:23: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: abel at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86979-4-wVQrR0sVYN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86979-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86979-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: 2019-03/txt/msg00151.txt.bz2
Content-length: 230

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86979

--- Comment #14 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
The patch in comment 13 fixes the ICE for pr69102.c. Testing will start soon.

Thanks for the work!
>From gcc-bugs-return-635858-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 18:04:30 2019
Return-Path: <gcc-bugs-return-635858-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32793 invoked by alias); 1 Mar 2019 18:04: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 32664 invoked by uid 48); 1 Mar 2019 18:04:24 -0000
From: "pkubaj at anongoth dot pl" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/89494] Bootstrap error when using GCC 4.2.1
Date: Fri, 01 Mar 2019 18:04: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: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pkubaj at anongoth dot pl
X-Bugzilla-Status: WAITING
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-89494-4-A0DnPXvuls@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89494-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89494-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: 2019-03/txt/msg00152.txt.bz2
Content-length: 1010

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89494

--- Comment #11 from Piotr Kubaj <pkubaj at anongoth dot pl> ---
Hm, sorry, I copied the Entering directive from a line before.

Nevertheless, setting -O1 helps with GCC 7 and 8.

But building GCC 9 still fails (I'm testing the newest snapshot). I tried both
-O0 and -O1.

The exact set of env variables I set is:
CXXFLAGS_FOR_TARGET="-O0" CFLAGS_FOR_TARGET="-O0" BOOT_CFLAGS="-O0"

rm -f include-fixed/README
cp
/usr/local/poudriere/ports/default/lang/gcc9-devel/work/gcc-9-20190224/gcc/../fixincludes/README-fixinc
include-fixed/README
chmod a+r include-fixed/README
echo timestamp > stmp-int-hdrs
/usr/local/poudriere/ports/default/lang/gcc9-devel/work/.build/./gcc/xgcc
-B/usr/local/poudriere/ports/default/lang/gcc9-devel/work/.build/./gcc/ -xc
-nostdinc /dev/null -S -o /dev/null
-fself-test=/usr/local/poudriere/ports/default/lang/gcc9-devel/work/gcc-9-20190224/gcc/testsuite/selftests
cc1: internal compiler error: Segmentation fault
>From gcc-bugs-return-635859-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 18:16:02 2019
Return-Path: <gcc-bugs-return-635859-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65984 invoked by alias); 1 Mar 2019 18:15: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 64922 invoked by uid 48); 1 Mar 2019 18:15:34 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89546] [8/9 Regression] Suspected arm flint miscompilation starting with r255510
Date: Fri, 01 Mar 2019 18:15: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.3.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89546-4-suTNd5YQNx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89546-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89546-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: 2019-03/txt/msg00153.txt.bz2
Content-length: 796

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89546

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
And in the *.sra dump, I really don't see any way how it could be two:
  MEM[(struct  &)&n1D.7146 clique 22 base 1] ={v} {CLOBBER};
...
  n1D.7146 ={v} {CLOBBER};
...
  MEM[(struct  &)&n1D.7698 clique 27 base 1] ={v} {CLOBBER};
  SR.161_6 = SR.150_36;
  MEM[(struct tupleD.6437 *)&n1D.7698 + 8B] = SR.161_6;
  n1$tail$head$payload_91 = MEM[(struct tupleD.6437 *)&n1D.7698 + 4B];
...
  n1D.7698 ={v} {CLOBBER};

and no other stmts referencing n1.  So, we have the whole var undefined, then
we store an int at offset 8 bytes into it and read an int from offset 4 into
it.
That is uninitialized load which as #c5 tried to prove wasn't there before
late_intra_sra.
>From gcc-bugs-return-635860-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 18:25:28 2019
Return-Path: <gcc-bugs-return-635860-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61627 invoked by alias); 1 Mar 2019 18:25: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 59719 invoked by uid 48); 1 Mar 2019 18:25:13 -0000
From: "andres_takach at mentor dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libquadmath/89540] roundq(x) returning value with non-zero fractional part
Date: Fri, 01 Mar 2019 18:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libquadmath
X-Bugzilla-Version: 8.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: andres_takach at mentor dot com
X-Bugzilla-Status: WAITING
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-89540-4-RK7Ky1vJT2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89540-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89540-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: 2019-03/txt/msg00154.txt.bz2
Content-length: 142

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89540

--- Comment #4 from Andres Takach <andres_takach at mentor dot com> ---
Works in 8.3.0.
>From gcc-bugs-return-635861-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 18:29:14 2019
Return-Path: <gcc-bugs-return-635861-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103043 invoked by alias); 1 Mar 2019 18:29: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 102346 invoked by uid 48); 1 Mar 2019 18:29:09 -0000
From: "andres_takach at mentor dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libquadmath/89459] Incorrect rounding for fma in some cases
Date: Fri, 01 Mar 2019 18:29:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libquadmath
X-Bugzilla-Version: 6.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: andres_takach at mentor dot com
X-Bugzilla-Status: WAITING
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-89459-4-frKlcTOHoB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89459-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89459-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: 2019-03/txt/msg00155.txt.bz2
Content-length: 303

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89459

--- Comment #5 from Andres Takach <andres_takach at mentor dot com> ---
Works in 8.3.0. Needed to use lib64 to link, otherwise was picking up earlier
version of the library that had the bug. 
Version 6.2.0 (as first reported) does have the bug.
>From gcc-bugs-return-635862-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 18:55:37 2019
Return-Path: <gcc-bugs-return-635862-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91034 invoked by alias); 1 Mar 2019 18:55:36 -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 84749 invoked by uid 48); 1 Mar 2019 18:55:31 -0000
From: "tadeus.prastowo at unitn dot it" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89553] New: "static const double x = 2" is treated equivalent to "static constexpr double x = 2"
Date: Fri, 01 Mar 2019 18:55: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.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tadeus.prastowo at unitn dot it
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-89553-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: 2019-03/txt/msg00156.txt.bz2
Content-length: 2094

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89553

            Bug ID: 89553
           Summary: "static const double x = 2" is treated equivalent to
                    "static constexpr double x = 2"
           Product: gcc
           Version: 8.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tadeus.prastowo at unitn dot it
  Target Milestone: ---

For the following example, requesting a strict compliance to C++17 using
"-std=c++17 -pedantic-errors", Clang rejects but GCC accepts
(https://www.godbolt.org/z/RDRdE5):

template<const double *x>
struct X {
  static constexpr double value = *x * 2;
};
static const double x = 2;
static_assert(X<&x>::value > 2);

According to the discussion at the C++ standard discussion forum (see
https://groups.google.com/a/isocpp.org/d/topic/std-discussion/i9eAYNDCr8U), GCC
behavior is wrong because C++17 standard (the draft available at
http://www.open-std.org/JTC1/SC22/WG21/docs/standards.html) says that "static
const double x = 2" cannot be treated as being equivalent to "static constexpr
double x = 2" due to the use of lvalue-to-rvalue conversion that hits the
following stipulation in [expr.const]p2,2.7,2.7.1 (page 139 of the draft):
-- 8< -----------------
An expression e is a core constant expression unless the evaluation of e,
following the rules of the abstract machine (4.6), would evaluate one of the
following expressions:
— an lvalue-to-rvalue conversion (7.1) unless it is applied to
  — a non-volatile glvalue of integral or enumeration type that refers to a
complete non-volatile const object with a preceding initialization, initialized
with a constant expression
-- 8< -----------------

Specifically, "static const double x = 2" is not "a non-volatile glvalue of
integral or enumeration type that refers to a complete non-volatile const
object with a preceding initialization, initialized with a constant expression"
due to the type "double".
>From gcc-bugs-return-635863-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 18:57:54 2019
Return-Path: <gcc-bugs-return-635863-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62446 invoked by alias); 1 Mar 2019 18:57: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 61896 invoked by uid 48); 1 Mar 2019 18:57:50 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89421] [9 Regression] ICE in retrieve_specialization, at cp/pt.c:1245
Date: Fri, 01 Mar 2019 18: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-invalid-code, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority
Message-ID: <bug-89421-4-j6rU3mtbaP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89421-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89421-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: 2019-03/txt/msg00157.txt.bz2
Content-length: 289

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89421

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
>From gcc-bugs-return-635864-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 18:58:59 2019
Return-Path: <gcc-bugs-return-635864-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72371 invoked by alias); 1 Mar 2019 18:58: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 71728 invoked by uid 48); 1 Mar 2019 18:58:54 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89416] [9 regression] std::vector<std::thread, custom_allocator>::push_back no longer builds.
Date: Fri, 01 Mar 2019 18:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89416-4-aSXZyL5XiC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89416-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89416-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: 2019-03/txt/msg00158.txt.bz2
Content-length: 142

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89416

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
So fixed now for real?
>From gcc-bugs-return-635865-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 19:02:57 2019
Return-Path: <gcc-bugs-return-635865-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106941 invoked by alias); 1 Mar 2019 19:02:57 -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 106416 invoked by uid 48); 1 Mar 2019 19:02:53 -0000
From: "nknikita at niisi dot ras.ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89452] basic_stringbuf::seekoff and basic_stringbuf::seekpos implementations
Date: Fri, 01 Mar 2019 19:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 7.4.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nknikita at niisi dot ras.ru
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-89452-4-HLU0dyTJhj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89452-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89452-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: 2019-03/txt/msg00159.txt.bz2
Content-length: 676

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89452

--- Comment #6 from Baykov Nikita <nknikita at niisi dot ras.ru> ---
There is one more issue.

ISO/IEC 14882:2017(E) and N4800 specify that seekpos(sp, which) and
seekoff(off_type(sp), ios_base::beg, which) should be equivalent, but it seems
that they are not equivalent in libstdc++ implementation for GCC.

The following code works fine for me:
    stringbuf sb("abcdefgh", ios_base::in);
    assert (sb.pubseekoff(3, ios_base::beg, ios_base::in|ios_base::out) == -1);

The following code fails:
    stringbuf sb("abcdefgh", ios_base::in); 
    assert (sb.pubseekpos(3, ios_base::in|ios_base::out) == -1);
>From gcc-bugs-return-635866-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 19:07:12 2019
Return-Path: <gcc-bugs-return-635866-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15830 invoked by alias); 1 Mar 2019 19:07: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 13913 invoked by uid 55); 1 Mar 2019 19:07:08 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89497] [8 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled
Date: Fri, 01 Mar 2019 19:07: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: 8.3.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89497-4-elBT43cesm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89497-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89497-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: 2019-03/txt/msg00160.txt.bz2
Content-length: 497

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497

--- Comment #22 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Mar  1 19:06:36 2019
New Revision: 269332

URL: https://gcc.gnu.org/viewcvs?rev=269332&root=gcc&view=rev
Log:
        PR middle-end/89497
        * g++.dg/tree-prof/devirt.C: Adjust also the ilp32
        scan-tree-dump-times from dom3 to tracer pass.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/tree-prof/devirt.C
>From gcc-bugs-return-635867-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 19:31:03 2019
Return-Path: <gcc-bugs-return-635867-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6791 invoked by alias); 1 Mar 2019 19:30: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 6558 invoked by uid 48); 1 Mar 2019 19:30:37 -0000
From: "vmakarov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/88596] [9 Regression] ICE: Maximum number of LRA assignment passes is achieved (30)
Date: Fri, 01 Mar 2019 19:30: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: ice-on-valid-code, ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vmakarov 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:
Message-ID: <bug-88596-4-lS0s1VL1QX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88596-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88596-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: 2019-03/txt/msg00161.txt.bz2
Content-length: 1165

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88596

--- Comment #8 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #7)
> The above testcase reproduced, reduced to following, started with r266385.
> Note, this testcase ICEd in gcc 7.x and earlier too, got fixed with r258504
> (started with r225484).  So, this testcase is effectively [7/9 Regression].

I looked at this. It is a typical problem for x86/x86-64 for some cases when
the 1st insn scheduling is used.  LRA in some cases can do hard register live
range splitting to avoid such problems.  The older reload even did not try to
do thus. Sometimes LRA tries hard to do the range splitting which results in
'Maximum number of LRA assignment passes is achieved' failure.

Unfortunately, the current hard reg live range splitting is not a panacea.  I
don't know how to make it working in for all cases.

I believe the only sane solution for now is to switch off the 1st insn
scheduler for problematic targets *even if user specifies -fschedule-insns*. 
It would stop permanent supply of the same problem especially by automatic test
generators.
>From gcc-bugs-return-635868-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 19:34:09 2019
Return-Path: <gcc-bugs-return-635868-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 60005 invoked by alias); 1 Mar 2019 19:34: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 53390 invoked by uid 48); 1 Mar 2019 19:34:05 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89421] [9 Regression] ICE in retrieve_specialization, at cp/pt.c:1245
Date: Fri, 01 Mar 2019 19:34: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-invalid-code, 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: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89421-4-s07RRYsx7m@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89421-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89421-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: 2019-03/txt/msg00162.txt.bz2
Content-length: 1290

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89421

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
We have
 1235   /* Lambda functions in templates aren't instantiated normally, but
through
 1236      tsubst_lambda_expr.  */
 1237   if (lambda_fn_in_template_p (tmpl))
 1238     return NULL_TREE;

but since r266056 we allow lambdas in a template-parameter-list:

--- a/gcc/cp/semantics.c
+++ b/gcc/cp/semantics.c
@@ -2988,12 +2988,6 @@ begin_class_definition (tree t)
   if (error_operand_p (t) || error_operand_p (TYPE_MAIN_DECL (t)))
     return error_mark_node;

-  if (processing_template_parmlist)
-    {
-      error ("definition of %q#T inside template parameter list", t);
-      return error_mark_node;
-    }
-
   /* According to the C++ ABI, decimal classes defined in ISO/IEC TR 24733
      are passed the same as decimal scalar types.  */
   if (TREE_CODE (t) == RECORD_TYPE

Jason, should we also return NULL_TREE for lambdas inside template parameter
list (in retrieve_specialization)?
>From gcc-bugs-return-635869-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 20:01:19 2019
Return-Path: <gcc-bugs-return-635869-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44790 invoked by alias); 1 Mar 2019 20:01:19 -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 44680 invoked by uid 48); 1 Mar 2019 20:01:14 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/84868] [7/8/9 Regression] ICE in gfc_conv_descriptor_offset, at fortran/trans-array.c:208
Date: Fri, 01 Mar 2019 20:01: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.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-84868-4-1LAALCCWVY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84868-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84868-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: 2019-03/txt/msg00163.txt.bz2
Content-length: 352

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84868

--- Comment #4 from anlauf at gcc dot gnu.org ---
(In reply to anlauf from comment #3)
> Works also if len_trim is replaced by len.
> 
> I wonder if this is related to PR86249.

Sorry, off-by-one, that should have been PR86248.

Also the date given in comment #0 points to rev. 243478 or nearby.
>From gcc-bugs-return-635870-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 20:28:23 2019
Return-Path: <gcc-bugs-return-635870-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91892 invoked by alias); 1 Mar 2019 20:28: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 91780 invoked by uid 48); 1 Mar 2019 20:28:17 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/67894] bounds of assumed-rank dummy argument not equal to actual argument
Date: Fri, 01 Mar 2019 20:28: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: 5.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf 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-67894-4-oUeLH0AxJU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67894-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67894-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: 2019-03/txt/msg00164.txt.bz2
Content-length: 492

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67894

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anlauf at gcc dot gnu.org

--- Comment #9 from anlauf at gcc dot gnu.org ---
For an analysis of how the code shall behave, see PR89365,
especially Reinhold's quote of F2018 (PR89365 comment #3).

IMHO this PR is invalid.
>From gcc-bugs-return-635871-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 20:54:12 2019
Return-Path: <gcc-bugs-return-635871-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128618 invoked by alias); 1 Mar 2019 20:54: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 124140 invoked by uid 48); 1 Mar 2019 20:54:07 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88820] [7/8/9 Regression] ICE in in C++2a mode for code which is able to be compiled in C++17 mode
Date: Fri, 01 Mar 2019 20: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88820-4-q4VyCs9DwL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88820-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88820-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: 2019-03/txt/msg00165.txt.bz2
Content-length: 271

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88820

--- Comment #7 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
A little bit more simplified:

template <int> struct S;

template <S> struct W {
  template <typename> static int foo();
  bool b = foo<int>();
};
>From gcc-bugs-return-635872-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 21:53:36 2019
Return-Path: <gcc-bugs-return-635872-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24933 invoked by alias); 1 Mar 2019 21:53: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 19772 invoked by uid 48); 1 Mar 2019 21:53:30 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89549] [7/8/9 Regression] -Wmisleading-indentation is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers
Date: Fri, 01 Mar 2019 21: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: dmalcolm 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-89549-4-cispCBK1UE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89549-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89549-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: 2019-03/txt/msg00166.txt.bz2
Content-length: 558

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89549

--- Comment #2 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Can you attach the testcase please, rather than pasting it as a comment.  I
can't reproduce the note from the example, but whitespace is significant here,
and I'm not sure roundtripping through a BZ comment has preserved it.  Thanks.

That said, it looks like it's giving up, due to a line wider than >
LINE_MAP_MAX_COLUMN_NUMBER; the note doesn't seem to consider that case (rather
the case of running out of location_t values).
>From gcc-bugs-return-635873-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 21:58:48 2019
Return-Path: <gcc-bugs-return-635873-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 104819 invoked by alias); 1 Mar 2019 21:58: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 104754 invoked by uid 48); 1 Mar 2019 21:58:43 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/77583] ICE in pp_quoted_string, at pretty-print.c:966
Date: Fri, 01 Mar 2019 21:58: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.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf 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-77583-4-pS3ugSvmn8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77583-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77583-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: 2019-03/txt/msg00167.txt.bz2
Content-length: 1412

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77583

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anlauf at gcc dot gnu.org

--- Comment #5 from anlauf at gcc dot gnu.org ---
(In reply to kargl from comment #4)
> (In reply to Manuel López-Ibáñez from comment #2)
> > check_conflict is sometimes called with name = NULL and that is passed to
> > %qs causing a crash.
> 
> Index: symbol.c
> ===================================================================
> --- symbol.c	(revision 240140)
> +++ symbol.c	(working copy)
> @@ -473,8 +473,8 @@ check_conflict (symbol_attribute *attr, 
>  	}
>      }
>  
> -  if (attr->dummy && ((attr->function || attr->subroutine) && 
> -			gfc_current_state () == COMP_CONTAINS))
> +  if (name && attr->dummy && ((attr->function || attr->subroutine)
> +			      && gfc_current_state () == COMP_CONTAINS))
>      gfc_error_now ("internal procedure %qs at %L conflicts with "
>  		   "DUMMY argument", name, where);

The additional check on 'name' basically applies on current trunk and
fixes the ICE.

Are you still pursuing this?
>From gcc-bugs-return-635874-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 22:03:49 2019
Return-Path: <gcc-bugs-return-635874-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118584 invoked by alias); 1 Mar 2019 22:03: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 118349 invoked by uid 55); 1 Mar 2019 22:03:44 -0000
From: "sgk at troutmask dot apl.washington.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/77583] ICE in pp_quoted_string, at pretty-print.c:966
Date: Fri, 01 Mar 2019 22:03: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.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu
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-77583-4-NOkbH7FLfy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77583-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77583-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: 2019-03/txt/msg00168.txt.bz2
Content-length: 1413

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77583

--- Comment #6 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Fri, Mar 01, 2019 at 09:58:43PM +0000, anlauf at gcc dot gnu.org wrote:
> (In reply to kargl from comment #4)
> > (In reply to Manuel López-Ibáñez from comment #2)
> > > check_conflict is sometimes called with name = NULL and that is passed to
> > > %qs causing a crash.
> > 
> > Index: symbol.c
> > ===================================================================
> > --- symbol.c	(revision 240140)
> > +++ symbol.c	(working copy)
> > @@ -473,8 +473,8 @@ check_conflict (symbol_attribute *attr, 
> >  	}
> >      }
> >  
> > -  if (attr->dummy && ((attr->function || attr->subroutine) && 
> > -			gfc_current_state () == COMP_CONTAINS))
> > +  if (name && attr->dummy && ((attr->function || attr->subroutine)
> > +			      && gfc_current_state () == COMP_CONTAINS))
> >      gfc_error_now ("internal procedure %qs at %L conflicts with "
> >  		   "DUMMY argument", name, where);
> 
> The additional check on 'name' basically applies on current trunk and
> fixes the ICE.
> 
> Are you still pursuing this?
> 

Given that 2.7 years have past, I'll offer "no".
Feel free to run with the patch.
>From gcc-bugs-return-635875-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 22:26:19 2019
Return-Path: <gcc-bugs-return-635875-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34147 invoked by alias); 1 Mar 2019 22:26:19 -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 34020 invoked by uid 48); 1 Mar 2019 22:26:15 -0000
From: "david.bolvansky at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89554] New: Incorrect location of warning
Date: Fri, 01 Mar 2019 22:26: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: david.bolvansky 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-89554-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: 2019-03/txt/msg00169.txt.bz2
Content-length: 1466

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89554

            Bug ID: 89554
           Summary: Incorrect location of warning
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: david.bolvansky at gmail dot com
  Target Milestone: ---

Found when building LLVM trunk with GCC 9 trunk (built today) compiler.


https://clang.llvm.org/doxygen/LiteralSupport_8cpp_source.html

 const char *End = saw_exponent ? ExponentBegin : SuffixBegin;
   for (const char *Ptr = DigitsBegin; Ptr < End; ++Ptr) {
     if (*Ptr == '.') {
       FoundDecimal = true;
       continue;


/home/xbolva00/LLVM/llvm-project/clang/lib/Lex/LiteralSupport.cpp:1127:43:
warning: ‘ExponentBegin’ may be used uninitialized in this function
[-Wmaybe-uninitialized]
 1127 |   for (const char *Ptr = DigitsBegin; Ptr < End; ++Ptr) {

                                              ~~~~^~~~~

I would expect carret to be here: saw_exponent ? ExponentBegin : SuffixBegin;

                                                  ~~~~^~~~~


As side note: there are so many "-Wmaybe-uninitialized" warnings. You should
check them whether real issues or no (they spam build warning log very much) -
don't think so.

You should consider removing '-Wmaybe-uninitialized" from standard "-Wall
-Wextra".
>From gcc-bugs-return-635876-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 22:29:57 2019
Return-Path: <gcc-bugs-return-635876-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39677 invoked by alias); 1 Mar 2019 22:29:57 -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 39582 invoked by uid 48); 1 Mar 2019 22:29:53 -0000
From: "jsm28 at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libquadmath/89540] roundq(x) returning value with non-zero fractional part
Date: Fri, 01 Mar 2019 22:29:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libquadmath
X-Bugzilla-Version: 8.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89540-4-Yh9jiJbMN7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89540-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89540-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: 2019-03/txt/msg00170.txt.bz2
Content-length: 500

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89540

Joseph S. Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #5 from Joseph S. Myers <jsm28 at gcc dot gnu.org> ---
So duplicate.

*** This bug has been marked as a duplicate of bug 65757 ***
>From gcc-bugs-return-635877-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 22:29:59 2019
Return-Path: <gcc-bugs-return-635877-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 39838 invoked by alias); 1 Mar 2019 22:29: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 39619 invoked by uid 48); 1 Mar 2019 22:29:54 -0000
From: "jsm28 at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libquadmath/65757] gfortran gives incorrect result for anint with real*16 argument
Date: Fri, 01 Mar 2019 22:29:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libquadmath
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jvdelisle at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-65757-4-zOaqM3JrGz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65757-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65757-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: 2019-03/txt/msg00171.txt.bz2
Content-length: 453

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65757

Joseph S. Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andres_takach at mentor dot com

--- Comment #25 from Joseph S. Myers <jsm28 at gcc dot gnu.org> ---
*** Bug 89540 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-635878-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 22:38:30 2019
Return-Path: <gcc-bugs-return-635878-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72332 invoked by alias); 1 Mar 2019 22:38: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 72205 invoked by uid 48); 1 Mar 2019 22:38:25 -0000
From: "vmakarov 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: Fri, 01 Mar 2019 22:38: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: vmakarov 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: cc
Message-ID: <bug-87716-4-PdGzbtjpD5@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: 2019-03/txt/msg00172.txt.bz2
Content-length: 3683

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87716

Vladimir Makarov <vmakarov at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vmakarov at gcc dot gnu.org

--- Comment #4 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
  I don't think it can be easily fixed.  We have the following code in
IRA (here - means a removed insn, pref means preferred hard reg for
destination pseudo, hard reg in () means assigned hard reg, copy and
constrain mean preference of two pseudo to have the same hard reg):

  -28: r109(di)=di; REG_DEAD di;pref di
  -29: r110(si)=si; REG_DEAD si;pref si
  -30: r111(dx)=dx; REG_DEAD dx;pref dx
  -31: r112(xmm0)=xmm0; REG_DEAD xmm0;pref xmm0
    5: r100(xmm3)=r112(xmm0); REG_DEAD r112 ->copy(100,112)
  -32: r113(xmm1)=xmm1; REG_DEAD xmm1;pref xmm1
   -6: r101(xmm1)=r113(xmm1); REG_DEAD r113 ->copy(101,113)
   10: r103(xmm2)=[r109(di)]; REG_DEAD r109
   11:
r102(xmm2)=trunc(zero_extend(r103(xmm2))+zero_extend([r110(si)])+const_vector
0>>0x1);REG_DEAD r110,r103->constrain(102,103)
   14: r104(xmm0)=vec_select(vec_concat(r102(xmm2),r101(xmm1)),parallel)
   16: r105(xmm2)=vec_select(vec_concat(r102(xmm2),r101(xmm3)),parallel);
REG_DEAD r102, r101->constrain(102,105)
   19: r106(xmm0)=trunc(zero_extend(r104(xmm0))*zero_extend(r100(xmm3))
0>>0x10); REG_DEAD r104->constrain(106,104)
   21: r107(xmm2)=trunc(zero_extend(r105(xmm2))*zero_extend(r100(xmm3))
0>>0x10); REG_DEAD r105, r100->constrain(107,105)(107,100)
   23: r108(xmm0)=vec_concat(us_truncate(r106(xmm0)),us_truncate(r107(xmm2)));
REG_DEAD r107, r106->constrain(108,106)
   25: [r111(dx)]=r108(xmm0); REG_DEAD r111, r108

We form threads of pseudos to have the same hard reg:

Threads:
  1. freq 9000: a2r107(2000) a5r105(2000) a8r102(3000) a10r103(2000)
  2. freq 6000: a1r108(2000) a3r106(2000) a6r104(2000)
  3. freq 5000: a4r100(3000) a13r112(2000); pref xmm0
  4. freq 5000: a7r101(3000) a12r113(2000); pref xmm1

Then coloring algorithm prefers pushing pseudos to coloring stack by
threads when the other priorities the same.  In this case we assign by
threads basically:

      r102  -- assign reg 22(xmm2)
      r107  -- assign reg 22(xmm2)
      r105  -- assign reg 22(xmm2)
      r103  -- assign reg 22(xmm2)
      r108  -- assign reg 20(xmm0)
      r106  -- assign reg 20(xmm0)
      r104  -- assign reg 20(xmm0)
      r100  -- assign reg 23(xmm3)
      r112  -- assign reg 20(xmm0)
      r101  -- assign reg 21(xmm1)
      r113  -- assign reg 21(xmm1)
      r111  -- assign reg 1(dx)
      r110  -- assign reg 4(si)
      r109  -- assign reg 5(di)

We assign xmm2 (first sse reg after xmm0 and xmm1) to pseudos in the
1st thread becuase threads 3 and 4 prefer xmm0 and xmm1.

In LRA:

  As insn 14 requres p104 and p102 be in the same hard reg we generate an
additional insn:
      r114(xmm0) = r102(xmm2)

We could get the desired allocation if we start assignments with
pseudos from threads with less priority (in order to assign xmm3 to
pseudos from the first thread).  But it would worsen performance in
common case.

RA is all about heuristic solution.  In some case they work, in some
cases they don't.  We should see the whole pictures.  Actually in this
case RA removes 5 copies out of 6 and satisfies 5 out 6 2-op
contraints without additional movement.

Probably an additional RA subpass which swaps pseudo-register
assignments in order to improve allocation could help.  But right now
I don't see how effectively to implement this and is it really worth
to do.
>From gcc-bugs-return-635879-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 01 22:41:37 2019
Return-Path: <gcc-bugs-return-635879-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105675 invoked by alias); 1 Mar 2019 22:41: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 105531 invoked by uid 48); 1 Mar 2019 22:41:33 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89416] [9 regression] std::vector<std::thread, custom_allocator>::push_back no longer builds.
Date: Fri, 01 Mar 2019 22:41:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89416-4-LPxLuugm8b@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89416-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89416-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: 2019-03/txt/msg00173.txt.bz2
Content-length: 430

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89416

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Should be.
>From gcc-bugs-return-635880-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 00:14:17 2019
Return-Path: <gcc-bugs-return-635880-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55129 invoked by alias); 2 Mar 2019 00:14: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 54884 invoked by uid 48); 2 Mar 2019 00:14:12 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89550] [8/9 Regression] Spurious array-bounds warning when using __PRETTY_FUNCTION__ as a string_view
Date: Sat, 02 Mar 2019 00:14: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.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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 blocked short_desc everconfirmed cf_known_to_fail
Message-ID: <bug-89550-4-NmRotxFghS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89550-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89550-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: 2019-03/txt/msg00174.txt.bz2
Content-length: 2318

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89550

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-03-02
                 CC|                            |msebor at gcc dot gnu.org
             Blocks|                            |56456
            Summary|Spurious array-bounds       |[8/9 Regression] Spurious
                   |warning when using          |array-bounds warning when
                   |__PRETTY_FUNCTION__ as a    |using __PRETTY_FUNCTION__
                   |string_view.                |as a string_view
     Ever confirmed|0                           |1
      Known to fail|                            |8.3.0, 9.0

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed with the attached translation unit and GCC 9.  Bisection points to
r264869:

2018-10-05  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/63155
        * tree-ssa-ccp.c (ccp_propagate::visit_phi): Avoid excess
        vertical space in dumpfiles.
        * tree-ssa-propagate.h
        (ssa_propagation_engine::process_ssa_edge_worklist): Remove.
        * tree-ssa-propagate.c (cfg_blocks_back): New global.
        (ssa_edge_worklist_back): Likewise.
        (curr_order): Likewise.
        (cfg_blocks_get): Remove abstraction.
        (cfg_blocks_add): Likewise.
        (cfg_blocks_empty_p): Likewise.
        (add_ssa_edge): Add to current or next worklist based on
        RPO index.
        (add_control_edge): Likewise.
        (ssa_propagation_engine::process_ssa_edge_worklist): Fold
        into ...
        (ssa_propagation_engine::ssa_propagate): ... here.  Unify
        iteration from CFG and SSA edge worklist so we process
        everything in RPO order, prioritizing forward progress
        over iteration.
        (ssa_prop_init): Allocate new worklists, do not dump
        immediate uses.
        (ssa_prop_fini): Free new worklists.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456
[Bug 56456] [meta-bug] bogus/missing -Warray-bounds
>From gcc-bugs-return-635881-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 00:48:29 2019
Return-Path: <gcc-bugs-return-635881-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118091 invoked by alias); 2 Mar 2019 00:48: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 117869 invoked by uid 48); 2 Mar 2019 00:48:02 -0000
From: "dccitaliano at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/89530] Wrong debug informations for C array generated at -Og [gcc-trunk]
Date: Sat, 02 Mar 2019 00:48:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: wrong-debug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dccitaliano 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:
Message-ID: <bug-89530-4-nSyI5FsDxX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89530-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89530-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: 2019-03/txt/msg00175.txt.bz2
Content-length: 820

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89530

--- Comment #7 from dcci <dccitaliano at gmail dot com> ---
(In reply to Jakub Jelinek from comment #6)
> (In reply to dcci from comment #5)
> > (In reply to Jakub Jelinek from comment #4)
> > > Also, we usually bisect which gcc revision introduced a problem and from
> > > that change we can often see what goes wrong quickly.  Both Red Hat and SUSE
> > > have terrabytes of built gcc revisions to make such bisection faster.
> > 
> > I see. Is this data available for the masses?
> 
> No, it is behind VPNs etc.  One can do a git-bisect or write his own script
> of course, the bisect seeds we have are just for those who do this several
> times a day and don't want to wait until stuff builds again and again.

I guess I'll just look at the dump, then.
>From gcc-bugs-return-635882-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 00:51:10 2019
Return-Path: <gcc-bugs-return-635882-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125475 invoked by alias); 2 Mar 2019 00:51: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 125312 invoked by uid 55); 2 Mar 2019 00:51:03 -0000
From: "ian at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89406] Go testing leaves many temporary directories in /tmp around
Date: Sat, 02 Mar 2019 00:51: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: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89406-4-A3P6dK6dvN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89406-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89406-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: 2019-03/txt/msg00176.txt.bz2
Content-length: 610

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89406

--- Comment #12 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Sat Mar  2 00:50:30 2019
New Revision: 269338

URL: https://gcc.gnu.org/viewcvs?rev=269338&root=gcc&view=rev
Log:
        PR go/89406
    go/internal/gccgoimporter: remove temporary directories in test

    Backport of https://golang.org/cl/164862.

    Updates https://gcc.gnu.org/PR89406

    Reviewed-on: https://go-review.googlesource.com/c/164863

Modified:
    trunk/gcc/go/gofrontend/MERGE
    trunk/libgo/go/go/internal/gccgoimporter/importer_test.go
>From gcc-bugs-return-635883-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 01:02:23 2019
Return-Path: <gcc-bugs-return-635883-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14077 invoked by alias); 2 Mar 2019 01:02: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 14007 invoked by uid 48); 2 Mar 2019 01:02:19 -0000
From: "ian at airs dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/89406] Go testing leaves many temporary directories in /tmp around
Date: Sat, 02 Mar 2019 01:02: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: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89406-4-ikqKpyZR2s@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89406-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89406-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: 2019-03/txt/msg00177.txt.bz2
Content-length: 213

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89406

--- Comment #13 from Ian Lance Taylor <ian at airs dot com> ---
I increased the timeouts and fixed another case.  Let me know what it looks
like now.  Thanks.
>From gcc-bugs-return-635884-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 01:11:09 2019
Return-Path: <gcc-bugs-return-635884-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27912 invoked by alias); 2 Mar 2019 01:11: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 27757 invoked by uid 48); 2 Mar 2019 01:11:05 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/4210] should not warning with dead code
Date: Sat, 02 Mar 2019 01:11: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: 3.0.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: enhancement
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: cc
Message-ID: <bug-4210-4-7CSz8ck8w6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-4210-4@http.gcc.gnu.org/bugzilla/>
References: <bug-4210-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: 2019-03/txt/msg00178.txt.bz2
Content-length: 1219

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=4210

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |joseph at codesourcery dot com

--- Comment #29 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Paul Eggert from comment #25)
> I'd like this bug to be changed from SUSPENDED to CONFIRMED, given that it's
> continuing to be a problem (e.g., bug#79479).
> 
> Also, I'd like to suggest what I hope is a simple fix. In 2006 Joseph wrote
> "skip_evaluation can't be set for if (0) because you can jump into if (0),
> whereas jumps into statement expressions are not permitted". So, how about
> if we merely set skip_evaluation for "if (0)" when the then-part lacks
> labels? This should be an easy test, as it shouldn't require parsing the
> whole function body. The test might still generate false alarms for code
> containing gotos, but in practice such gotos are rare, so the proposed
> change should be a significant improvement even if it's not perfect.

Joseph, what do you think about this solution?
>From gcc-bugs-return-635885-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 01:25:33 2019
Return-Path: <gcc-bugs-return-635885-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 52511 invoked by alias); 2 Mar 2019 01:25: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 52426 invoked by uid 48); 2 Mar 2019 01:25:28 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89549] [7/8/9 Regression] -Wmisleading-indentation is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers
Date: Sat, 02 Mar 2019 01: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: 9.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager 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: keywords cc see_also
Message-ID: <bug-89549-4-wwLHik24Dd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89549-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89549-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: 2019-03/txt/msg00179.txt.bz2
Content-length: 633

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89549

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
                 CC|                            |egallager at gcc dot gnu.org
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=81334

--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
related to bug 81334 perhaps?
>From gcc-bugs-return-635886-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 01:28:29 2019
Return-Path: <gcc-bugs-return-635886-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72873 invoked by alias); 2 Mar 2019 01:28: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 72752 invoked by uid 48); 2 Mar 2019 01:28:24 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89051] -Wno-error= does not work for warning groups
Date: Sat, 02 Mar 2019 01:28: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.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager 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: cc see_also
Message-ID: <bug-89051-4-cZc2vClDg8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89051-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89051-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: 2019-03/txt/msg00180.txt.bz2
Content-length: 755

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89051

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egallager at gcc dot gnu.org
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=53075,
                   |                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=66505

--- Comment #9 from Eric Gallager <egallager at gcc dot gnu.org> ---
For the stuff about -Wpedantic see bug 53075 and bug 66505
>From gcc-bugs-return-635887-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 01:31:11 2019
Return-Path: <gcc-bugs-return-635887-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90972 invoked by alias); 2 Mar 2019 01:31: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 89561 invoked by uid 48); 2 Mar 2019 01:30:57 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/65403] -Wno-error=<not implemented> is an error
Date: Sat, 02 Mar 2019 01:31: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: 5.0
X-Bugzilla-Keywords: diagnostic, easyhack, patch
X-Bugzilla-Severity: enhancement
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: cc
Message-ID: <bug-65403-4-XrhkbRlBza@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65403-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65403-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: 2019-03/txt/msg00181.txt.bz2
Content-length: 560

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65403

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egallager at gcc dot gnu.org

--- Comment #9 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Alex Henrie from comment #8)
> Why weren't Manuel's patches accepted?

He probably forgot to ping them and then people just forgot about them, I'm
guessing
>From gcc-bugs-return-635888-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 04:41:23 2019
Return-Path: <gcc-bugs-return-635888-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130254 invoked by alias); 2 Mar 2019 04:41: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 130191 invoked by uid 48); 2 Mar 2019 04:41:19 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/69777] Give a warning when virtual function is devirtualized into a __cxa_pure_virtual call
Date: Sat, 02 Mar 2019 04: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: 4.9.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: enhancement
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: blocked
Message-ID: <bug-69777-4-a3h02rZkCg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-69777-4@http.gcc.gnu.org/bugzilla/>
References: <bug-69777-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: 2019-03/txt/msg00182.txt.bz2
Content-length: 566

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69777

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |87403

--- Comment #6 from Eric Gallager <egallager at gcc dot gnu.org> ---
this would be a new warning, so making it block the relevant meta-bug


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-635889-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 04:42:30 2019
Return-Path: <gcc-bugs-return-635889-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1533 invoked by alias); 2 Mar 2019 04:42: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 1451 invoked by uid 48); 2 Mar 2019 04:42:26 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/53404] warning column reported on comment in warning during bootstrap
Date: Sat, 02 Mar 2019 04:42: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: 4.8.0
X-Bugzilla-Keywords: build, diagnostic
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: cc
Message-ID: <bug-53404-4-hnEdADP1mV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-53404-4@http.gcc.gnu.org/bugzilla/>
References: <bug-53404-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: 2019-03/txt/msg00183.txt.bz2
Content-length: 496

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53404

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmalcolm at gcc dot gnu.org,
                   |                            |dodji at gcc dot gnu.org

--- Comment #6 from Eric Gallager <egallager at gcc dot gnu.org> ---
cc-ing diagnostics maintainers
>From gcc-bugs-return-635890-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 05:29:23 2019
Return-Path: <gcc-bugs-return-635890-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86303 invoked by alias); 2 Mar 2019 05:29: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 86247 invoked by uid 48); 2 Mar 2019 05:29:19 -0000
From: "emsr at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88337] Implement P1002R1, P1327R1, P1330R0, C++20 relaxations of constexpr restrictions.
Date: Sat, 02 Mar 2019 05: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: emsr 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-88337-4-bRaEcUAcob@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88337-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88337-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: 2019-03/txt/msg00184.txt.bz2
Content-length: 214

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88337

--- Comment #2 from emsr at gcc dot gnu.org ---
It looks like try blocks in constexpr is in.  p1002r1.  This may be enough to
do some constexpr library bits.
>From gcc-bugs-return-635891-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 08:05:48 2019
Return-Path: <gcc-bugs-return-635891-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83312 invoked by alias); 2 Mar 2019 08:05: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 83246 invoked by uid 55); 2 Mar 2019 08:05:42 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89506] [7/8/9 Regression] ICE: in decompose, at rtl.h:2266 with -Og -g
Date: Sat, 02 Mar 2019 08:05: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89506-4-zoyASlPM3k@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89506-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89506-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: 2019-03/txt/msg00185.txt.bz2
Content-length: 831

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89506

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Mar  2 08:05:10 2019
New Revision: 269339

URL: https://gcc.gnu.org/viewcvs?rev=269339&root=gcc&view=rev
Log:
        PR target/89506
        * config/arm/arm.md (cmpsi2_addneg): Use
        trunc_int_for_mode (-INTVAL (...), SImode) instead of -INTVAL (...).
        If operands[2] is 0 or INT_MIN, force use of subs.
        (*compare_scc splitter): Use gen_int_mode.
        (*negscc): Likewise.
        * config/arm/thumb2.md (*thumb2_negscc): Likewise.

        * gcc.dg/pr89506.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr89506.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/arm.md
    trunk/gcc/config/arm/thumb2.md
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635892-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 08:07:34 2019
Return-Path: <gcc-bugs-return-635892-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85071 invoked by alias); 2 Mar 2019 08:07: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 85003 invoked by uid 55); 2 Mar 2019 08:07:29 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71446] Incorrect overload resolution when using designated initializers
Date: Sat, 02 Mar 2019 08:07: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: 5.3.0
X-Bugzilla-Keywords: accepts-invalid, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-71446-4-FcgukPeN86@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71446-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71446-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: 2019-03/txt/msg00186.txt.bz2
Content-length: 1442

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71446

--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Mar  2 08:06:57 2019
New Revision: 269340

URL: https://gcc.gnu.org/viewcvs?rev=269340&root=gcc&view=rev
Log:
        PR c++/71446
        * cp-tree.h (CONSTRUCTOR_IS_DESIGNATED_INIT): Define.
        * parser.c (cp_parser_braced_list): Adjust cp_parser_initializer_list
        caller, set CONSTRUCTOR_IS_DESIGNATED_INIT.
        (cp_parser_initializer_list): Add designated parameter, set *designated
        to a bool whether any designators were parsed.
        * decl.c (reshape_init): Copy over CONSTRUCTOR_IS_DESIGNATED_INIT if
        needed.
        * pt.c (tsubst_copy_and_build): Likewise.
        * call.c (implicit_conversion): If CONSTRUCTOR_IS_DESIGNATED_INIT,
        don't call build_list_conv, nor build_complex_conv, nor attempt to
        convert a single element initializer to scalar.

        * g++.dg/cpp2a/desig10.C: New test.
        * g++.dg/cpp2a/desig11.C: New test.
        * g++.dg/ext/desig4.C: Expect 4 new errors.

Added:
    trunk/gcc/testsuite/g++.dg/cpp2a/desig10.C
    trunk/gcc/testsuite/g++.dg/cpp2a/desig11.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/parser.c
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/ext/desig4.C
>From gcc-bugs-return-635893-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 08:09:06 2019
Return-Path: <gcc-bugs-return-635893-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86498 invoked by alias); 2 Mar 2019 08:09:06 -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 86424 invoked by uid 48); 2 Mar 2019 08:09:02 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89506] [7/8 Regression] ICE: in decompose, at rtl.h:2266 with -Og -g
Date: Sat, 02 Mar 2019 08:09: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_known_to_work short_desc cf_known_to_fail
Message-ID: <bug-89506-4-8wTQqwnzuA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89506-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89506-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: 2019-03/txt/msg00187.txt.bz2
Content-length: 643

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89506

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |9.0
            Summary|[7/8/9 Regression] ICE: in  |[7/8 Regression] ICE: in
                   |decompose, at rtl.h:2266    |decompose, at rtl.h:2266
                   |with -Og -g                 |with -Og -g
      Known to fail|9.0                         |

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed on the trunk so far.
>From gcc-bugs-return-635894-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 08:33:50 2019
Return-Path: <gcc-bugs-return-635894-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48431 invoked by alias); 2 Mar 2019 08:33: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 48383 invoked by uid 48); 2 Mar 2019 08:33:46 -0000
From: "simon at pushface dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgcc/86215] Exceptions are broken on OSX when linking with -static-libgcc
Date: Sat, 02 Mar 2019 08:33:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libgcc
X-Bugzilla-Version: 7.3.0
X-Bugzilla-Keywords: EH
X-Bugzilla-Severity: normal
X-Bugzilla-Who: simon at pushface dot 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-86215-4-2aLKehUGhb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86215-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86215-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: 2019-03/txt/msg00188.txt.bz2
Content-length: 343

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86215

--- Comment #2 from simon at pushface dot org ---
(In reply to simon from comment #1)

Same results with gcc version 9.0.1 20190219 (experimental) (GCC)
on Darwin 18.2.0.

$ otool -L a.out
a.out:
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1252.200.5)
>From gcc-bugs-return-635895-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 09:34:46 2019
Return-Path: <gcc-bugs-return-635895-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84691 invoked by alias); 2 Mar 2019 09:34: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 84630 invoked by uid 48); 2 Mar 2019 09:34:41 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88337] Implement P1002R1, P1327R1, P1330R0, C++20 relaxations of constexpr restrictions.
Date: Sat, 02 Mar 2019 09:34: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: enhancement
X-Bugzilla-Who: jakub 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-88337-4-JeUtC3Y7Mn@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88337-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88337-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: 2019-03/txt/msg00189.txt.bz2
Content-length: 611

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88337

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
P1330R0 should be now implemented correctly, please report if you see any
issues
(for -std=c++2a, with error for -std=c++{11,14,17}).

The dynamic_cast/rtti constexpr relaxation is not implemented, that one is
related to PR63164.
>From gcc-bugs-return-635896-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 10:19:11 2019
Return-Path: <gcc-bugs-return-635896-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128482 invoked by alias); 2 Mar 2019 10:19: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 128367 invoked by uid 48); 2 Mar 2019 10:19:07 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/86979] [9 Regression] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2348 with -m32 on darwin
Date: Sat, 02 Mar 2019 10:19: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: abel at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86979-4-1MOVNOniKp@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86979-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86979-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: 2019-03/txt/msg00190.txt.bz2
Content-length: 193

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86979

--- Comment #15 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Full test completed, the PR is fixed without regression. Thanks.
>From gcc-bugs-return-635897-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 11:10:48 2019
Return-Path: <gcc-bugs-return-635897-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 81971 invoked by alias); 2 Mar 2019 11:10: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 81882 invoked by uid 48); 2 Mar 2019 11:10:42 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87751] ICE in gfc_trans_assignment_1, at fortran/trans-expr.c:10255
Date: Sat, 02 Mar 2019 11:10: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-87751-4-bZ6yVH6sEb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87751-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87751-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: 2019-03/txt/msg00191.txt.bz2
Content-length: 471

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87751

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> So resolved on trunk?

Yes, closing.
>From gcc-bugs-return-635898-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 11:39:45 2019
Return-Path: <gcc-bugs-return-635898-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44035 invoked by alias); 2 Mar 2019 11:39:44 -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 43954 invoked by uid 48); 2 Mar 2019 11:39:40 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/84387] Defined output does not work for a derived type that has no components
Date: Sat, 02 Mar 2019 11:39: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: WAITING
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-84387-4-5PSZYovrUi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84387-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84387-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: 2019-03/txt/msg00192.txt.bz2
Content-length: 390

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84387

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #10 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Is it fixed?
>From gcc-bugs-return-635899-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 11:49:09 2019
Return-Path: <gcc-bugs-return-635899-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56215 invoked by alias); 2 Mar 2019 11:48:52 -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 55754 invoked by uid 48); 2 Mar 2019 11:48:28 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89266] ICE with TRANSFER of len=0 character array constructor
Date: Sat, 02 Mar 2019 11:48: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: dominiq at lps dot ens.fr
X-Bugzilla-Status: WAITING
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-89266-4-o8rf7uYFKM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89266-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89266-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: 2019-03/txt/msg00193.txt.bz2
Content-length: 494

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89266

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #12 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> This patch also fixes PR88326.

PR88326 is marked as a [7/8/9 Regression]. Is there any plan to back port
r269177?
>From gcc-bugs-return-635900-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 12:13:40 2019
Return-Path: <gcc-bugs-return-635900-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92331 invoked by alias); 2 Mar 2019 12:13: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 92230 invoked by uid 55); 2 Mar 2019 12:13:36 -0000
From: "joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/4210] should not warning with dead code
Date: Sat, 02 Mar 2019 12:13: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: 3.0.1
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: joseph at codesourcery 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-4210-4-X59mn7qJs8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-4210-4@http.gcc.gnu.org/bugzilla/>
References: <bug-4210-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: 2019-03/txt/msg00194.txt.bz2
Content-length: 617

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=4210

--- Comment #30 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
At the point where the then block starts being processed (and, thus, 
warnings may be given) it wouldn't be known whether there are labels in 
there or not; cf. the discussion in bug 68193 regarding such warnings and 
_Generic.  If you did things based on settings on entry to if (0), you'd 
need some way to end that setting (i.e. restore that from the containing 
block) early on encountering a label (allowing appropriately for nested if 
(0), of course).
>From gcc-bugs-return-635901-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 13:11:14 2019
Return-Path: <gcc-bugs-return-635901-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62153 invoked by alias); 2 Mar 2019 13:11: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 62060 invoked by uid 48); 2 Mar 2019 13:11:10 -0000
From: "makubesu at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89555] New: Unable to resolve masking of a type with a local variable of the same name
Date: Sat, 02 Mar 2019 13:11: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: 8.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: makubesu 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-89555-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: 2019-03/txt/msg00195.txt.bz2
Content-length: 2206

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89555

            Bug ID: 89555
           Summary: Unable to resolve masking of a type with a local
                    variable of the same name
           Product: gcc
           Version: 8.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: makubesu at gmail dot com
  Target Milestone: ---

I believe there is a bug with variable names which are masking a type. I
apologize if this is a duplicate, I wasn't able to find this bug by searching.

Output of gcc -v:
Using built-in specs.
COLLECT_GCC=gcc-8
COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc/8.3.0/libexec/gcc/x86_64-apple-darwin18.2.0/8.3.0/lto-wrapper
Target: x86_64-apple-darwin18.2.0
Configured with: ../configure --build=x86_64-apple-darwin18.2.0
--prefix=/usr/local/Cellar/gcc/8.3.0
--libdir=/usr/local/Cellar/gcc/8.3.0/lib/gcc/8 --disable-nls
--enable-checking=release --enable-languages=c,c++,objc,obj-c++,fortran
--program-suffix=-8 --with-gmp=/usr/local/opt/gmp
--with-mpfr=/usr/local/opt/mpfr --with-mpc=/usr/local/opt/libmpc
--with-isl=/usr/local/opt/isl --with-system-zlib --with-pkgversion='Homebrew
GCC 8.3.0' --with-bugurl=https://github.com/Homebrew/homebrew-core/issues
--disable-multilib --with-native-system-header-dir=/usr/include
--with-sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
Thread model: posix
gcc version 8.3.0 (Homebrew GCC 8.3.0) 

Command line which triggers the bug:
gfortran -c mask.f90

Exact output:
mask.f90:3:11:

   TYPE :: T
           1
Error: Symbol 't' at (1) has no IMPLICIT type

The exact code of mask.f90:
MODULE mask
  IMPLICIT NONE
  TYPE :: T
  END TYPE
  INTERFACE Fun
    MODULE PROCEDURE G
    MODULE PROCEDURE H
  END INTERFACE
CONTAINS
  SUBROUTINE F
    INTEGER :: T
    !WRITE(*,*) T
    CALL Fun(T)
  END SUBROUTINE
  SUBROUTINE G(x)
    INTEGER :: x
  END SUBROUTINE
  SUBROUTINE H(x)
    TYPE(T) :: x
  END SUBROUTINE
END MODULE

Note that if you un-comment the write statement, the code now compiles.
>From gcc-bugs-return-635902-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 13:48:42 2019
Return-Path: <gcc-bugs-return-635902-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11056 invoked by alias); 2 Mar 2019 13:48: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 10907 invoked by uid 48); 2 Mar 2019 13:48:37 -0000
From: "lyttlec at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/89556] New: error when using "with Priority"
Date: Sat, 02 Mar 2019 13:48: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.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: lyttlec 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-89556-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: 2019-03/txt/msg00196.txt.bz2
Content-length: 2606

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89556

            Bug ID: 89556
           Summary: error when using "with Priority"
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: lyttlec at gmail dot com
  Target Milestone: ---

Created attachment 45871
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45871&action=edit
tared sporadics.ads, sporadics.adb, and gpr file

Example code is from "Analysable Real-Time Systems Programmed in Ada" by Alan
Burns and Andy Wellings, Chap. 20 pg 472-473.
Ubuntu 18.10 distribution gnat-7 had a frozen error here. The below error is in
both the version gnat-8 distributed in Ubuntu and in a new download from
AdaCore.





+===========================GNAT BUG DETECTED==============================+
| Community 2018 (20180524-73) (x86_64-pc-linux-gnu) GCC error:            |
| in gnat_to_gnu_entity, at ada/gcc-interface/decl.c:429                   |
| Error detected at sporadics.ads:30:23                                    |
| Please submit a bug report by email to report@adacore.com.               |
| GAP members can alternatively use GNAT Tracker:                          |
| http://www.adacore.com/ section 'send a report'.                         |
| See gnatinfo.txt for full info on procedure for submitting bugs.         |
| Use a subject line meaningful to you and us to track the bug.            |
| Include the entire contents of this bug box in the report.               |
| Include the exact command that you entered.                              |
| Also include sources listed below.                                       |
| Use plain ASCII or MIME attachment(s).                                   |
+==========================================================================+

Please include these source files with error report
Note that list may not be accurate in some cases,
so please double check that the problem can still
be reproduced with the set of files listed.
Consider also -gnatd.n switch (see debug.adb).

/media/russ/Projects/Ada/Analysable_RTS/Chap20/Common/sporadics.adb
/media/russ/Projects/Ada/Analysable_RTS/Chap20/Common/sporadics.ads

compilation abandoned
>From gcc-bugs-return-635903-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 14:36:32 2019
Return-Path: <gcc-bugs-return-635903-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21124 invoked by alias); 2 Mar 2019 14:36: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 20973 invoked by uid 48); 2 Mar 2019 14:36:27 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/72714] [7/8/9 Regression] [Coarray] ICE in gfc_array_init_size, at fortran/trans-array.c:5235
Date: Sat, 02 Mar 2019 14: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.0
X-Bugzilla-Keywords: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-72714-4-4oCTG2pyMq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-72714-4@http.gcc.gnu.org/bugzilla/>
References: <bug-72714-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: 2019-03/txt/msg00197.txt.bz2
Content-length: 741

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72714

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tkoenig at gcc dot gnu.org

--- Comment #6 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
This part of resolve_allocate_expr

  if (codimension)
    for (i = ar->dimen; i < ar->dimen + ar->codimen; i++)
      if (ar->dimen_type[i] == DIMEN_THIS_IMAGE)
        {
          gfc_error ("Coarray specification required in ALLOCATE statement "
                     "at %L", &e->where);
          goto failure;
        }


needs a few more checks.
>From gcc-bugs-return-635904-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 14:36:45 2019
Return-Path: <gcc-bugs-return-635904-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22038 invoked by alias); 2 Mar 2019 14:36:44 -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 21947 invoked by uid 48); 2 Mar 2019 14:36:40 -0000
From: "0xe2.0x9a.0x9b at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89557] New: [7/8 regression] 4*movq to 2*movaps IPC performance regression on znver1
Date: Sat, 02 Mar 2019 14: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: 0xe2.0x9a.0x9b 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-89557-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: 2019-03/txt/msg00198.txt.bz2
Content-length: 2315

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89557

            Bug ID: 89557
           Summary: [7/8 regression] 4*movq to 2*movaps IPC performance
                    regression on znver1
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: 0xe2.0x9a.0x9b at gmail dot com
  Target Milestone: ---

Approximate C++ source code:

  struct __attribute__((aligned(16))) A {
    union {
      struct {
        uint64_t a;
        double b;
      };
      uint64_t data[2];
    };
  };

  A a;
  a.a = 2;
  a.b = x*y;
  return a;

CPU: AMD Ryzen 5 1600 Six-Core Processor

GCC 7.4.0 generates (no -march/mtune):

  movq $2, 0x80(%rsp)
  movsd %xmm0, 0x88(%rsp)
  mov 0x80(%rsp), %rax
  mov 0x88(%rsp), %rdx
  mov %rax, 0x30(%rsp)
  mov %rdx, 0x38(%rsp)

GCC 7.4.0 generates (no -march, -mtune=native):

  movq $2, 0x80(%rsp)
  movsd %xmm0, 0x88(%rsp)
  movaps 0x80(%rsp), %xmm6
  movaps %xmm6, 0x30(%rsp)

GCC 8.2.0 generates (no -march/mtune):

  movq $2, 0x80(%rsp)
  movsd %xmm0, 0x88(%rsp)
  movdqa 0x80(%rsp), %xmm6
  movaps %xmm6, 0x30(%rsp)

GCC 8.2.0 generates (no -march, -mtune=native):

  movq $2, 0x80(%rsp)
  movsd %xmm0, 0x88(%rsp)
  movaps 0x80(%rsp), %xmm6
  movaps %xmm6, 0x30(%rsp)

IPC of an executable which uses the above code (perf stat):

  GCC 7.4.0 (no -march/mtune):
        617.233116      task-clock (msec)         #    0.997 CPUs utilized 
     4,139,124,553      instructions              #    1.94  insn per cycle

  GCC 7.4.0 (no -march, -mtune=native):
       1106.252920      task-clock (msec)         #    1.000 CPUs utilized      
     3,995,268,509      instructions              #    1.02  insn per cycle

  GCC 8.2.0 (no -march/mtune):
       1096.852485      task-clock (msec)         #    1.000 CPUs utilized
     3,790,839,401      instructions              #    0.97  insn per cycle

  GCC 8.2.0 (no -march, -mtune=native):
       1105.693441      task-clock (msec)         #    1.000 CPUs utilized     
     4,041,957,928      instructions              #    1.04  insn per cycle

Summary: Using 2*movaps instead of 4*movq severely lowers IPC on znver1 CPUs
>From gcc-bugs-return-635905-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 14:53:08 2019
Return-Path: <gcc-bugs-return-635905-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50259 invoked by alias); 2 Mar 2019 14:53: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 50173 invoked by uid 48); 2 Mar 2019 14:53:03 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89558] New: Recects missing lower bound expression in allocate-shape-spec-list
Date: Sat, 02 Mar 2019 14:53: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-89558-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: 2019-03/txt/msg00199.txt.bz2
Content-length: 1393

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89558

            Bug ID: 89558
           Summary: Recects missing lower bound expression in
                    allocate-shape-spec-list
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tkoenig at gcc dot gnu.org
  Target Milestone: ---

program p
   integer, allocatable :: z(:,:)
   allocate (z(:2,2))
end

is valid, but is rejected with current trunk:

a.f90:3:13:

    3 |    allocate (z(:2,2))
      |             1
Error: Bad array specification in ALLOCATE statement at (1)

J3/18-007r1 says:

9.7.1.1  Form of the ALLOCATE statement

R933 allocate-shape-spec is  [ lower-bound-expr : ] upper-bound-expr

9.7.1.2  Execution of an ALLOCATE statement

 When an ALLOCATE statement is executed for an array for which
allocate-shape-spec-list is specified, the values
of the lower bound and upper bound expressions determine the bounds of the
array. Subsequent redefinition
or undefinition of any entities in the bound expressions do not affect the
array bounds. If the lower bound is
omitted, the default value is 1. If the upper bound is less than the lower
bound, the extent in that dimension is
zero and the array has zero size.

so this should be accepted.
>From gcc-bugs-return-635906-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 15:05:34 2019
Return-Path: <gcc-bugs-return-635906-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 68889 invoked by alias); 2 Mar 2019 15:05: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 68795 invoked by uid 48); 2 Mar 2019 15:05:30 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89558] Recects missing lower bound expression in allocate-shape-spec-list
Date: Sat, 02 Mar 2019 15:05: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: rejects-valid
X-Bugzilla-Severity: normal
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-89558-4-Rj8Oxn2hpP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89558-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89558-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: 2019-03/txt/msg00200.txt.bz2
Content-length: 183

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89558

--- Comment #1 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Same language for F03 and F08, too lazy to look further back.
>From gcc-bugs-return-635907-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 15:09:12 2019
Return-Path: <gcc-bugs-return-635907-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 78345 invoked by alias); 2 Mar 2019 15:09: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 78264 invoked by uid 55); 2 Mar 2019 15:09:07 -0000
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89266] ICE with TRANSFER of len=0 character array constructor
Date: Sat, 02 Mar 2019 15:09: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: anlauf at gmx dot de
X-Bugzilla-Status: WAITING
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-89266-4-RzL9LwI7wa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89266-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89266-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: 2019-03/txt/msg00201.txt.bz2
Content-length: 823

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89266

--- Comment #13 from Harald Anlauf <anlauf at gmx dot de> ---
On 03/02/19 12:48, dominiq at lps dot ens.fr wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89266
> 
> Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|NEW                         |WAITING
> 
> --- Comment #12 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
>> This patch also fixes PR88326.
> 
> PR88326 is marked as a [7/8/9 Regression]. Is there any plan to back port
> r269177?

Yes, but I wanted to wait until all related fallout is resolved,
including PR89492 (fixed) and PR89516 (waiting for review).
>From gcc-bugs-return-635908-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 15:18:25 2019
Return-Path: <gcc-bugs-return-635908-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92091 invoked by alias); 2 Mar 2019 15:18: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 92002 invoked by uid 48); 2 Mar 2019 15:18:21 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89516] ICE in gfc_calculate_transfer_sizes at gcc/fortran/check.c:5506
Date: Sat, 02 Mar 2019 15:18: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, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89516-4-SEdSzgYyFL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89516-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89516-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: 2019-03/txt/msg00202.txt.bz2
Content-length: 323

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89516

--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> The patch turned out to require a small adjustment for scalar MOLD
> of size 0, so I posted it for review:
>
> https://gcc.gnu.org/ml/fortran/2019-02/msg00237.html

The patch works as expected.
>From gcc-bugs-return-635909-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 15:24:56 2019
Return-Path: <gcc-bugs-return-635909-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102230 invoked by alias); 2 Mar 2019 15:24:55 -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 102090 invoked by uid 48); 2 Mar 2019 15:24:51 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug web/89559] New: Setting the sticky revision in SVN read-only view results in an error when a space is added
Date: Sat, 02 Mar 2019 15:24:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: web
X-Bugzilla-Version: 9.0
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-89559-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: 2019-03/txt/msg00203.txt.bz2
Content-length: 838

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89559

            Bug ID: 89559
           Summary: Setting the sticky revision in SVN read-only view
                    results in an error when a space is added
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: web
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tkoenig at gcc dot gnu.org
  Target Milestone: ---

On https://gcc.gnu.org/viewcvs/gcc/, I put in 168506  
with two spaces after the number into the sticky revision field,
resulting in

An Exception Has Occurred
An illegal value was provided for the "pathrev" parameter.

HTTP Response Status
400 Bad Request

Minor, once I had figured out what I did wrong (it was copy&paste
from svn blame).
>From gcc-bugs-return-635910-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 15:30:31 2019
Return-Path: <gcc-bugs-return-635910-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116973 invoked by alias); 2 Mar 2019 15:30: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 116612 invoked by uid 55); 2 Mar 2019 15:30:00 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89516] ICE in gfc_calculate_transfer_sizes at gcc/fortran/check.c:5506
Date: Sat, 02 Mar 2019 15:30: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, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89516-4-1r0oIGisnw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89516-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89516-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: 2019-03/txt/msg00204.txt.bz2
Content-length: 794

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89516

--- Comment #5 from anlauf at gcc dot gnu.org ---
Author: anlauf
Date: Sat Mar  2 15:29:27 2019
New Revision: 269341

URL: https://gcc.gnu.org/viewcvs?rev=269341&root=gcc&view=rev
Log:
2019-03-02  Harald Anlauf  <anlauf@gmx.de>

        PR fortran/89516
        * check.c (gfc_calculate_transfer_sizes): Correct checks for cases
        where storage size of elements of MOLD is 0.

        PR fortran/89516
        * gfortran.dg/pr89492.f90: Adjust testcase.
        * gfortran.dg/transfer_check_5.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/transfer_check_5.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/check.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/pr89492.f90
>From gcc-bugs-return-635911-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 15:37:53 2019
Return-Path: <gcc-bugs-return-635911-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116924 invoked by alias); 2 Mar 2019 15:37:52 -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 112151 invoked by uid 48); 2 Mar 2019 15:37:49 -0000
From: "0xe2.0x9a.0x9b at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89557] [7/8 regression] 4*movq to 2*movaps IPC performance regression on znver1 with -Og
Date: Sat, 02 Mar 2019 15:37: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: 0xe2.0x9a.0x9b 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: short_desc
Message-ID: <bug-89557-4-QpbD9fUif0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89557-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89557-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: 2019-03/txt/msg00205.txt.bz2
Content-length: 702

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89557

Jan Ziak (http://atom-symbol.net) <0xe2.0x9a.0x9b at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[7/8 regression] 4*movq to  |[7/8 regression] 4*movq to
                   |2*movaps IPC performance    |2*movaps IPC performance
                   |regression on znver1        |regression on znver1 with
                   |                            |-Og

--- Comment #1 from Jan Ziak (http://atom-symbol.net) <0xe2.0x9a.0x9b at gmail dot com> ---
Forgot to mention that this happens with -Og optimization level.
>From gcc-bugs-return-635912-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 15:42:24 2019
Return-Path: <gcc-bugs-return-635912-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10727 invoked by alias); 2 Mar 2019 15:42: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 10638 invoked by uid 48); 2 Mar 2019 15:42:20 -0000
From: "manu at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/65403] -Wno-error=<not implemented> is an error
Date: Sat, 02 Mar 2019 15: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: 5.0
X-Bugzilla-Keywords: diagnostic, easyhack, patch
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: manu 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-65403-4-M918rGrbNy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65403-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65403-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: 2019-03/txt/msg00206.txt.bz2
Content-length: 406

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65403

--- Comment #10 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Alex Henrie from comment #8)
> Why weren't Manuel's patches accepted?

I never properly submitted them. Feel free to adopt them and get them through
the process:
https://gcc.gnu.org/wiki/GettingStarted#Basics:_Contributing_to_GCC_in_10_easy_steps
>From gcc-bugs-return-635913-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 15:58:05 2019
Return-Path: <gcc-bugs-return-635913-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91994 invoked by alias); 2 Mar 2019 15:58:04 -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 91797 invoked by uid 48); 2 Mar 2019 15:57:59 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/72714] [7/8/9 Regression] [Coarray] ICE in gfc_array_init_size, at fortran/trans-array.c:5235
Date: Sat, 02 Mar 2019 15:58: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.0
X-Bugzilla-Keywords: accepts-invalid, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords
Message-ID: <bug-72714-4-CvaGFeRdCc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-72714-4@http.gcc.gnu.org/bugzilla/>
References: <bug-72714-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: 2019-03/txt/msg00207.txt.bz2
Content-length: 1200

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72714

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-invalid-code         |accepts-invalid,
                   |                            |ice-on-valid-code

--- Comment #7 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Looking at J3/18-007r1, 9.7.1.1, we have

R936 allocate-coarray-spec  is  [ allocate-coshape-spec-list , ] [
lower-bound-expr : ] *
R937 allocate-coshape-spec is [ lower-bound-expr : ] upper-bound-expr

and in 9.7.1.2, we have

 When an ALLOCATE statement is executed for a coarray, the values of the lower
cobound and upper cobound
expressions determine the cobounds of the coarray. Subsequent redefinition or
undefinition of any entities in the
cobound expressions do not affect the cobounds. If the lower cobound is
omitted, the default value is 1. The
upper cobound shall not be less than the lower cobound.


So the line 

   allocate (z(2)[:3,*])

is in fact valid.

While looking at this code anyway, we should also reject

   allocate (z[2:1,*])
>From gcc-bugs-return-635917-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 16:08:42 2019
Return-Path: <gcc-bugs-return-635917-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22868 invoked by alias); 2 Mar 2019 16:08:41 -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 22619 invoked by uid 55); 2 Mar 2019 16:08:36 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89266] ICE with TRANSFER of len=0 character array constructor
Date: Sat, 02 Mar 2019 16:08: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: anlauf at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-89266-4-rXcgb7bQy5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89266-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89266-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: 2019-03/txt/msg00211.txt.bz2
Content-length: 2315

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89266

--- Comment #14 from anlauf at gcc dot gnu.org ---
Author: anlauf
Date: Sat Mar  2 16:08:03 2019
New Revision: 269342

URL: https://gcc.gnu.org/viewcvs?rev=269342&root=gcc&view=rev
Log:
2019-03-02  Harald Anlauf  <anlauf@gmx.de>

        Backport from trunk
        PR fortran/89516
        * check.c (gfc_calculate_transfer_sizes): Correct checks for cases
        where storage size of elements of MOLD is 0.

        PR fortran/89492
        * check.c (gfc_calculate_transfer_sizes): Handle cases where
        storage size of elements of MOLD is 0.

        PR fortran/89266
        PR fortran/88326
        * target-memory.c (gfc_element_size): Return false if element size
        cannot be determined; element size is returned separately.
        (gfc_target_expr_size): Return false if expression size cannot be
        determined; expression size is returned separately.
        * target-memory.h: Adjust prototypes.
        * check.c (gfc_calculate_transfer_sizes): Adjust references to
        gfc_target_expr_size, gfc_element_size.
        * arith.c (hollerith2representation): Likewise.
        * class.c (find_intrinsic_vtab): Likewise.
        * simplify.c (gfc_simplify_sizeof): Likewise.

        Backport from trunk
        PR fortran/89516
        * gfortran.dg/pr89492.f90: Adjust testcase.
        * gfortran.dg/transfer_check_5.f90: New test.

        PR fortran/89492
        * gfortran.dg/pr89492.f90: New test.

        PR fortran/89266
        PR fortran/88326
        * gfortran.dg/pr89266.f90: New test.
        * gfortran.dg/pr88326.f90: New test.


Added:
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr88326.f90
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr89266.f90
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr89492.f90
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/transfer_check_5.f90
Modified:
    branches/gcc-8-branch/gcc/fortran/ChangeLog
    branches/gcc-8-branch/gcc/fortran/arith.c
    branches/gcc-8-branch/gcc/fortran/check.c
    branches/gcc-8-branch/gcc/fortran/class.c
    branches/gcc-8-branch/gcc/fortran/simplify.c
    branches/gcc-8-branch/gcc/fortran/target-memory.c
    branches/gcc-8-branch/gcc/fortran/target-memory.h
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635915-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 16:08:41 2019
Return-Path: <gcc-bugs-return-635915-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22784 invoked by alias); 2 Mar 2019 16:08:41 -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 22572 invoked by uid 55); 2 Mar 2019 16:08:35 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89516] ICE in gfc_calculate_transfer_sizes at gcc/fortran/check.c:5506
Date: Sat, 02 Mar 2019 16:08: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, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89516-4-gVexfXdfds@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89516-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89516-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: 2019-03/txt/msg00209.txt.bz2
Content-length: 2314

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89516

--- Comment #6 from anlauf at gcc dot gnu.org ---
Author: anlauf
Date: Sat Mar  2 16:08:03 2019
New Revision: 269342

URL: https://gcc.gnu.org/viewcvs?rev=269342&root=gcc&view=rev
Log:
2019-03-02  Harald Anlauf  <anlauf@gmx.de>

        Backport from trunk
        PR fortran/89516
        * check.c (gfc_calculate_transfer_sizes): Correct checks for cases
        where storage size of elements of MOLD is 0.

        PR fortran/89492
        * check.c (gfc_calculate_transfer_sizes): Handle cases where
        storage size of elements of MOLD is 0.

        PR fortran/89266
        PR fortran/88326
        * target-memory.c (gfc_element_size): Return false if element size
        cannot be determined; element size is returned separately.
        (gfc_target_expr_size): Return false if expression size cannot be
        determined; expression size is returned separately.
        * target-memory.h: Adjust prototypes.
        * check.c (gfc_calculate_transfer_sizes): Adjust references to
        gfc_target_expr_size, gfc_element_size.
        * arith.c (hollerith2representation): Likewise.
        * class.c (find_intrinsic_vtab): Likewise.
        * simplify.c (gfc_simplify_sizeof): Likewise.

        Backport from trunk
        PR fortran/89516
        * gfortran.dg/pr89492.f90: Adjust testcase.
        * gfortran.dg/transfer_check_5.f90: New test.

        PR fortran/89492
        * gfortran.dg/pr89492.f90: New test.

        PR fortran/89266
        PR fortran/88326
        * gfortran.dg/pr89266.f90: New test.
        * gfortran.dg/pr88326.f90: New test.


Added:
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr88326.f90
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr89266.f90
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr89492.f90
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/transfer_check_5.f90
Modified:
    branches/gcc-8-branch/gcc/fortran/ChangeLog
    branches/gcc-8-branch/gcc/fortran/arith.c
    branches/gcc-8-branch/gcc/fortran/check.c
    branches/gcc-8-branch/gcc/fortran/class.c
    branches/gcc-8-branch/gcc/fortran/simplify.c
    branches/gcc-8-branch/gcc/fortran/target-memory.c
    branches/gcc-8-branch/gcc/fortran/target-memory.h
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635916-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 16:08:41 2019
Return-Path: <gcc-bugs-return-635916-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22839 invoked by alias); 2 Mar 2019 16:08:41 -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 22628 invoked by uid 55); 2 Mar 2019 16:08:37 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89492] [9 Regression] Endless compilation of an invalid TRANSFER after r269177
Date: Sat, 02 Mar 2019 16:08: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: compile-time-hog, error-recovery
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
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-89492-4-ke1OFm5SyQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89492-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89492-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: 2019-03/txt/msg00210.txt.bz2
Content-length: 2314

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89492

--- Comment #6 from anlauf at gcc dot gnu.org ---
Author: anlauf
Date: Sat Mar  2 16:08:03 2019
New Revision: 269342

URL: https://gcc.gnu.org/viewcvs?rev=269342&root=gcc&view=rev
Log:
2019-03-02  Harald Anlauf  <anlauf@gmx.de>

        Backport from trunk
        PR fortran/89516
        * check.c (gfc_calculate_transfer_sizes): Correct checks for cases
        where storage size of elements of MOLD is 0.

        PR fortran/89492
        * check.c (gfc_calculate_transfer_sizes): Handle cases where
        storage size of elements of MOLD is 0.

        PR fortran/89266
        PR fortran/88326
        * target-memory.c (gfc_element_size): Return false if element size
        cannot be determined; element size is returned separately.
        (gfc_target_expr_size): Return false if expression size cannot be
        determined; expression size is returned separately.
        * target-memory.h: Adjust prototypes.
        * check.c (gfc_calculate_transfer_sizes): Adjust references to
        gfc_target_expr_size, gfc_element_size.
        * arith.c (hollerith2representation): Likewise.
        * class.c (find_intrinsic_vtab): Likewise.
        * simplify.c (gfc_simplify_sizeof): Likewise.

        Backport from trunk
        PR fortran/89516
        * gfortran.dg/pr89492.f90: Adjust testcase.
        * gfortran.dg/transfer_check_5.f90: New test.

        PR fortran/89492
        * gfortran.dg/pr89492.f90: New test.

        PR fortran/89266
        PR fortran/88326
        * gfortran.dg/pr89266.f90: New test.
        * gfortran.dg/pr88326.f90: New test.


Added:
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr88326.f90
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr89266.f90
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr89492.f90
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/transfer_check_5.f90
Modified:
    branches/gcc-8-branch/gcc/fortran/ChangeLog
    branches/gcc-8-branch/gcc/fortran/arith.c
    branches/gcc-8-branch/gcc/fortran/check.c
    branches/gcc-8-branch/gcc/fortran/class.c
    branches/gcc-8-branch/gcc/fortran/simplify.c
    branches/gcc-8-branch/gcc/fortran/target-memory.c
    branches/gcc-8-branch/gcc/fortran/target-memory.h
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635914-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 16:08:41 2019
Return-Path: <gcc-bugs-return-635914-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22766 invoked by alias); 2 Mar 2019 16:08: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 22605 invoked by uid 55); 2 Mar 2019 16:08:36 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88326] [7/8/9 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6085
Date: Sat, 02 Mar 2019 16:08: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88326-4-eb39g7uPCm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88326-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88326-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: 2019-03/txt/msg00208.txt.bz2
Content-length: 2314

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88326

--- Comment #7 from anlauf at gcc dot gnu.org ---
Author: anlauf
Date: Sat Mar  2 16:08:03 2019
New Revision: 269342

URL: https://gcc.gnu.org/viewcvs?rev=269342&root=gcc&view=rev
Log:
2019-03-02  Harald Anlauf  <anlauf@gmx.de>

        Backport from trunk
        PR fortran/89516
        * check.c (gfc_calculate_transfer_sizes): Correct checks for cases
        where storage size of elements of MOLD is 0.

        PR fortran/89492
        * check.c (gfc_calculate_transfer_sizes): Handle cases where
        storage size of elements of MOLD is 0.

        PR fortran/89266
        PR fortran/88326
        * target-memory.c (gfc_element_size): Return false if element size
        cannot be determined; element size is returned separately.
        (gfc_target_expr_size): Return false if expression size cannot be
        determined; expression size is returned separately.
        * target-memory.h: Adjust prototypes.
        * check.c (gfc_calculate_transfer_sizes): Adjust references to
        gfc_target_expr_size, gfc_element_size.
        * arith.c (hollerith2representation): Likewise.
        * class.c (find_intrinsic_vtab): Likewise.
        * simplify.c (gfc_simplify_sizeof): Likewise.

        Backport from trunk
        PR fortran/89516
        * gfortran.dg/pr89492.f90: Adjust testcase.
        * gfortran.dg/transfer_check_5.f90: New test.

        PR fortran/89492
        * gfortran.dg/pr89492.f90: New test.

        PR fortran/89266
        PR fortran/88326
        * gfortran.dg/pr89266.f90: New test.
        * gfortran.dg/pr88326.f90: New test.


Added:
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr88326.f90
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr89266.f90
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr89492.f90
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/transfer_check_5.f90
Modified:
    branches/gcc-8-branch/gcc/fortran/ChangeLog
    branches/gcc-8-branch/gcc/fortran/arith.c
    branches/gcc-8-branch/gcc/fortran/check.c
    branches/gcc-8-branch/gcc/fortran/class.c
    branches/gcc-8-branch/gcc/fortran/simplify.c
    branches/gcc-8-branch/gcc/fortran/target-memory.c
    branches/gcc-8-branch/gcc/fortran/target-memory.h
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635918-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 16:14:26 2019
Return-Path: <gcc-bugs-return-635918-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34869 invoked by alias); 2 Mar 2019 16:14: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 34731 invoked by uid 48); 2 Mar 2019 16:14:21 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/72714] [7/8/9 Regression] [Coarray] ICE in gfc_array_init_size, at fortran/trans-array.c:5235
Date: Sat, 02 Mar 2019 16:14: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.0
X-Bugzilla-Keywords: accepts-invalid, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-72714-4-YeVErFoFCB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-72714-4@http.gcc.gnu.org/bugzilla/>
References: <bug-72714-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: 2019-03/txt/msg00212.txt.bz2
Content-length: 382

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72714

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |tkoenig at gcc dot gnu.org
>From gcc-bugs-return-635919-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 16:16:51 2019
Return-Path: <gcc-bugs-return-635919-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 46574 invoked by alias); 2 Mar 2019 16:16: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 46478 invoked by uid 48); 2 Mar 2019 16:16:46 -0000
From: "dimhen at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/89560] New: [9 regression] ICE In function 'rtx_def* gen_vec_extract_lo_v64qi(rtx, rtx)'
Date: Sat, 02 Mar 2019 16:16: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: dimhen 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-89560-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: 2019-03/txt/msg00213.txt.bz2
Content-length: 5222

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89560

            Bug ID: 89560
           Summary: [9 regression] ICE In function 'rtx_def*
                    gen_vec_extract_lo_v64qi(rtx, rtx)'
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dimhen at gmail dot com
  Target Milestone: ---

r268977 bootstrap PASS
r269340 FAIL

Fedora 29 / x86_64

$ cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 158
model name      : Intel(R) Core(TM) i5-7600K CPU @ 3.80GHz
stepping        : 9
microcode       : 0x8e

configured as

$ /home/dimhen/src/gcc_current/configure --prefix=/usr/local/gcc_current
--enable-checking=yes,df,fold,rtl,extra --enable-languages=c,c++,lto
--disable-multilib --enable-shared --enable-threads=posix --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-linker-build-id --with-linker-hash-style=gnu --enable-plugin
--enable-initfini-array --with-isl --enable-libmpx
--enable-offload-targets=nvptx-none --without-cuda-driver
--enable-gnu-indirect-function --with-tune=native

$ make
[...]

/home/dimhen/build/gcc_current/./prev-gcc/xg++
-B/home/dimhen/build/gcc_current/./prev-gcc/
-B/usr/local/gcc_current/x86_64-pc-linux-gnu/bin/ -nostdinc++
-B/home/dimhen/build/gcc_current/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-B/home/dimhen/build/gcc_current/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs

-I/home/dimhen/build/gcc_current/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu
 -I/home/dimhen/build/gcc_current/prev-x86_64-pc-linux-gnu/libstdc++-v3/include
 -I/home/dimhen/src/gcc_current/libstdc++-v3/libsupc++
-L/home/dimhen/build/gcc_current/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-L/home/dimhen/build/gcc_current/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs
-fno-PIE -c   -g -O2 -fno-checking -gtoggle -DIN_GCC     -fno-exceptions
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common
 -DHAVE_CONFIG_H -I. -I. -I/home/dimhen/src/gcc_current/gcc
-I/home/dimhen/src/gcc_current/gcc/.
-I/home/dimhen/src/gcc_current/gcc/../include
-I/home/dimhen/src/gcc_current/gcc/../libcpp/include
-I/home/dimhen/build/gcc_current/./gmp -I/home/dimhen/src/gcc_current/gmp
-I/home/dimhen/build/gcc_current/./mpfr/src
-I/home/dimhen/src/gcc_current/mpfr/src -I/home/dimhen/src/gcc_current/mpc/src 
-I/home/dimhen/src/gcc_current/gcc/../libdecnumber
-I/home/dimhen/src/gcc_current/gcc/../libdecnumber/bid -I../libdecnumber
-I/home/dimhen/src/gcc_current/gcc/../libbacktrace
-I/home/dimhen/build/gcc_current/./isl/include
-I/home/dimhen/src/gcc_current/isl/include  -o insn-emit.o -MT insn-emit.o -MMD
-MP -MF ./.deps/insn-emit.TPo insn-emit.c
In file included from /home/dimhen/src/gcc_current/gcc/rtl.h:3771,
                 from insn-emit.c:11:
insn-emit.c: In function 'rtx_def* gen_vec_extract_lo_v64qi(rtx, rtx)':
./genrtl.h:91:51: internal compiler error: Segmentation fault
   91 |         gen_rtx_fmt_E_stat (c, m, p0 MEM_STAT_INFO)
      |                                                   ^
./genrtl.h:39:40: note: in definition of macro 'gen_rtx_fmt_ee'
   39 |         gen_rtx_fmt_ee_stat (c, m, p0, p1 MEM_STAT_INFO)
      |                                        ^~
insn-emit.c:22526:10: note: in expansion of macro 'gen_rtx_SET'
22526 |   return gen_rtx_SET (operand0,
      |          ^~~~~~~~~~~
./genrtl.h:1104:3: note: in expansion of macro 'gen_rtx_fmt_ee'
 1104 |   gen_rtx_fmt_ee (VEC_SELECT, (MODE), (ARG0), (ARG1))
      |   ^~~~~~~~~~~~~~
insn-emit.c:22527:2: note: in expansion of macro 'gen_rtx_VEC_SELECT'
22527 |  gen_rtx_VEC_SELECT (V32QImode,
      |  ^~~~~~~~~~~~~~~~~~
./genrtl.h:886:3: note: in expansion of macro 'gen_rtx_fmt_E'
  886 |   gen_rtx_fmt_E (PARALLEL, (MODE), (ARG0))
      |   ^~~~~~~~~~~~~
insn-emit.c:22529:2: note: in expansion of macro 'gen_rtx_PARALLEL'
22529 |  gen_rtx_PARALLEL (VOIDmode,
      |  ^~~~~~~~~~~~~~~~
0x157677c crash_signal
        /home/dimhen/src/gcc_current/gcc/toplev.c:326
0x7f6b7db665bf ???
       
/usr/src/debug/glibc-2.28-60-g4d7af7815a/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0xfbd3f7 fold_checksum_tree
        /home/dimhen/src/gcc_current/gcc/fold-const.c:12168
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.
make[3]: *** [Makefile:1116: insn-emit.o] Error 1
make[3]: Leaving directory '/home/dimhen/build/gcc_current/gcc'
make[2]: *** [Makefile:4707: all-stage2-gcc] Error 2
make[2]: Leaving directory '/home/dimhen/build/gcc_current'
make[1]: *** [Makefile:26614: stage2-bubble] Error 2
make[1]: Leaving directory '/home/dimhen/build/gcc_current'
make: *** [Makefile:993: all] Error 2
Command exited with non-zero status 2
>From gcc-bugs-return-635920-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 16:37:49 2019
Return-Path: <gcc-bugs-return-635920-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59735 invoked by alias); 2 Mar 2019 16:37: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 59644 invoked by uid 48); 2 Mar 2019 16:37:45 -0000
From: "dimhen at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/89560] [9 regression] ICE In function 'rtx_def* gen_vec_extract_lo_v64qi(rtx, rtx)'
Date: Sat, 02 Mar 2019 16:37: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: dimhen 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:
Message-ID: <bug-89560-4-xKBDzTKJ1w@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89560-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89560-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: 2019-03/txt/msg00214.txt.bz2
Content-length: 137

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89560

--- Comment #1 from Dmitry G. Dyachenko <dimhen at gmail dot com> ---
r269158 PASS
>From gcc-bugs-return-635921-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 16:57:30 2019
Return-Path: <gcc-bugs-return-635921-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 100054 invoked by alias); 2 Mar 2019 16:57: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 94943 invoked by uid 48); 2 Mar 2019 16:57:26 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89558] Recects missing lower bound expression in allocate-shape-spec-list
Date: Sat, 02 Mar 2019 16:57: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: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
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-89558-4-rFduAmjR3V@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89558-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89558-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: 2019-03/txt/msg00215.txt.bz2
Content-length: 530

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89558

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-03-02
     Ever confirmed|0                           |1

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed from at least 4.8 up to trunk (9.0).
>From gcc-bugs-return-635922-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 17:08:54 2019
Return-Path: <gcc-bugs-return-635922-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 50106 invoked by alias); 2 Mar 2019 17:08: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 49969 invoked by uid 48); 2 Mar 2019 17:08:50 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89555] Unable to resolve masking of a type with a local variable of the same name
Date: Sat, 02 Mar 2019 17:08: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.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
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-89555-4-XwAd1sBFW5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89555-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89555-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: 2019-03/txt/msg00216.txt.bz2
Content-length: 530

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89555

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-03-02
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed from at least 4.8 up to trunk (9.0).
>From gcc-bugs-return-635923-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 17:37:00 2019
Return-Path: <gcc-bugs-return-635923-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122001 invoked by alias); 2 Mar 2019 17:37: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 121424 invoked by uid 48); 2 Mar 2019 17:36:56 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89558] Recects missing lower bound expression in allocate-shape-spec-list
Date: Sat, 02 Mar 2019 17:37: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: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kargl 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-89558-4-4TcuIUQt3y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89558-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89558-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: 2019-03/txt/msg00217.txt.bz2
Content-length: 1225

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89558

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu.org

--- Comment #3 from kargl at gcc dot gnu.org ---
(In reply to Thomas Koenig from comment #0)
> program p
>    integer, allocatable :: z(:,:)
>    allocate (z(:2,2))
> end
> 
> is valid, but is rejected with current trunk:
> 
> a.f90:3:13:
> 
>     3 |    allocate (z(:2,2))
>       |             1
> Error: Bad array specification in ALLOCATE statement at (1)
> 
> J3/18-007r1 says:
> 
> 9.7.1.1  Form of the ALLOCATE statement
> 
> R933 allocate-shape-spec is  [ lower-bound-expr : ] upper-bound-expr
> 

Gfortran's behavior is correct.  This should be closed as INVALID.
If you wrote 'allocate(z(2,2))', then the missing lower bound
is assumed to be 1.  But, you included the colon, which means that
lower-bound-expr is expected, and R934 applies

R934 lower-bound-expr  is scalar-int-expr

R933 isn 't
R933 allocate-shape-spec is  [ [ lower-bound-expr ] : ] upper-bound-expr

where lower-bound-expr is optional.
>From gcc-bugs-return-635924-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 18:06:33 2019
Return-Path: <gcc-bugs-return-635924-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 70020 invoked by alias); 2 Mar 2019 18:06:32 -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 69881 invoked by uid 48); 2 Mar 2019 18:06:28 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89558] Recects missing lower bound expression in allocate-shape-spec-list
Date: Sat, 02 Mar 2019 18:06: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: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig 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: bug_status resolution
Message-ID: <bug-89558-4-ph0iVQZRvx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89558-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89558-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: 2019-03/txt/msg00218.txt.bz2
Content-length: 453

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89558

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Yes, I misread that.

Closing.
>From gcc-bugs-return-635925-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 18:07:15 2019
Return-Path: <gcc-bugs-return-635925-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71885 invoked by alias); 2 Mar 2019 18:07: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 71661 invoked by uid 48); 2 Mar 2019 18:07:11 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71446] Incorrect overload resolution when using designated initializers
Date: Sat, 02 Mar 2019 18:07: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: 5.3.0
X-Bugzilla-Keywords: accepts-invalid, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: attachments.created
Message-ID: <bug-71446-4-PSrv5zaSiT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71446-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71446-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: 2019-03/txt/msg00219.txt.bz2
Content-length: 288

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71446

--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45872
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45872&action=edit
gcc9-pr71446-2.patch

Untested patch for the build_aggr_conv stuff.
>From gcc-bugs-return-635926-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 18:13:37 2019
Return-Path: <gcc-bugs-return-635926-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89504 invoked by alias); 2 Mar 2019 18:13:36 -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 89360 invoked by uid 48); 2 Mar 2019 18:13:33 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89557] [7/8 regression] 4*movq to 2*movaps IPC performance regression on znver1 with -Og
Date: Sat, 02 Mar 2019 18:13: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: jakub 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-89557-4-KXrJShFH9q@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89557-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89557-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: 2019-03/txt/msg00220.txt.bz2
Content-length: 686

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89557

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
-Og is not meant to generate code with good performance, but code which is easy
to debug, so benchmarking something with -Og makes no sense.
That said, if znver1 has slow movaps and it is confirmed on something other
than a microbenchmark, then we should adjust tuning to avoid using it for
memory copying.
>From gcc-bugs-return-635927-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 18:21:48 2019
Return-Path: <gcc-bugs-return-635927-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118930 invoked by alias); 2 Mar 2019 18:21: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 118786 invoked by uid 48); 2 Mar 2019 18:21:43 -0000
From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/84387] Defined output does not work for a derived type that has no components
Date: Sat, 02 Mar 2019 18:21: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jvdelisle at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-84387-4-CyDtNcqqbU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84387-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84387-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: 2019-03/txt/msg00221.txt.bz2
Content-length: 211

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84387

--- Comment #11 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #10)
> Is it fixed?

I should backport.
>From gcc-bugs-return-635928-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 18:31:18 2019
Return-Path: <gcc-bugs-return-635928-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 76290 invoked by alias); 2 Mar 2019 18:31: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 75958 invoked by uid 48); 2 Mar 2019 18:31:03 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/89560] [9 regression] ICE In function 'rtx_def* gen_vec_extract_lo_v64qi(rtx, rtx)'
Date: Sat, 02 Mar 2019 18:31: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: jakub 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-89560-4-Bx89pZYNDA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89560-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89560-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: 2019-03/txt/msg00222.txt.bz2
Content-length: 545

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89560

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
What does your -mtune=native expand to?
Can you reproduce also without say --enable-offload-targets=nvptx-none?
Why are you using --enable-libmpx when MPX is gone?
>From gcc-bugs-return-635929-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 19:01:30 2019
Return-Path: <gcc-bugs-return-635929-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62214 invoked by alias); 2 Mar 2019 19:01: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 62131 invoked by uid 48); 2 Mar 2019 19:01:25 -0000
From: "0xe2.0x9a.0x9b at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89557] [7/8 regression] 4*movq to 2*movaps IPC performance regression on znver1 with -Og
Date: Sat, 02 Mar 2019 19:01: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: 0xe2.0x9a.0x9b 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:
Message-ID: <bug-89557-4-ddshDj5c7T@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89557-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89557-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: 2019-03/txt/msg00223.txt.bz2
Content-length: 2184

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89557

--- Comment #3 from Jan Ziak (http://atom-symbol.net) <0xe2.0x9a.0x9b at gmail dot com> ---
(In reply to Jakub Jelinek from comment #2)
> -Og is not meant to generate code with good performance, but code which is
> easy to debug, so benchmarking something with -Og makes no sense.

I agree on the first part of your sentence. On the other hand, -Og is in my
opinion the best among the -O? options for C/C++ developers to use during the
development cycle and I believe -Og was originally intended to be used by
developers, so we should care about its performance because of its presumably
non-negligible userbase.

> That said, if znver1 has slow movaps and it is confirmed on something other
> than a microbenchmark, then we should adjust tuning to avoid using it for
> memory copying.

I think a carefully selected use of znver1 16-byte movaps isn't slow, but it is
slow at least in the case when it is preceded by two 8-byte stores or more
generally by any partial store to the 16 bytes in memory.

A little piece of code enables to clearly demonstrate the cause of a problem in
order to suggest an optimization rule for the compiler to follow. The IPC data
I measured are from a larger application, and I was directed to the seemingly
short code fragment by using "perf record" because it is a performance issue in
the larger app.

The 16-byte struct is fundamental to the application and I cannot avoid using
it at this point in time, although I can remove the 16-byte alignment attribute
which causes movaps to be generated.

In general, imposing a 16-byte alignment on any C/C++ data structure with size
>= 16 bytes shouldn't slow down any program by a factor of 2. It can be
expected to increase or decrease performance by say a factor of 1.1 depending
on workload. A factor of 2 slowdown is unexpected.

It would be interesting to see what would happen to performance if all data
structures in C/C++ codes with size >= 16 bytes were annotated to be aligned to
16 bytes. I don't have performance measurements about such general use of the
aligned(16) attribute.

Thank you for your reply.
>From gcc-bugs-return-635930-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 19:11:03 2019
Return-Path: <gcc-bugs-return-635930-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85072 invoked by alias); 2 Mar 2019 19:11: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 81203 invoked by uid 48); 2 Mar 2019 19:10:58 -0000
From: "dimhen at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/89560] [9 regression] ICE In function 'rtx_def* gen_vec_extract_lo_v64qi(rtx, rtx)'
Date: Sat, 02 Mar 2019 19:11: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: dimhen 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:
Message-ID: <bug-89560-4-3teaRFcvK4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89560-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89560-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: 2019-03/txt/msg00224.txt.bz2
Content-length: 464

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89560

--- Comment #3 from Dmitry G. Dyachenko <dimhen at gmail dot com> ---
(In reply to Jakub Jelinek from comment #2)
> What does your -mtune=native expand to?
How I can see it?

> Can you reproduce also without say --enable-offload-targets=nvptx-none?
Yes, I'll rebuild without extra options.

> Why are you using --enable-libmpx when MPX is gone?
I copy configure options from Fedora' gcc and miss MPX gone.
>From gcc-bugs-return-635931-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 19:14:35 2019
Return-Path: <gcc-bugs-return-635931-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 116168 invoked by alias); 2 Mar 2019 19:14: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 116011 invoked by uid 48); 2 Mar 2019 19:14:31 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/89560] [9 regression] ICE In function 'rtx_def* gen_vec_extract_lo_v64qi(rtx, rtx)'
Date: Sat, 02 Mar 2019 19:14: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: jakub 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-89560-4-dXnXiVdwcX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89560-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89560-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: 2019-03/txt/msg00225.txt.bz2
Content-length: 193

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89560

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
E.g.
gcc -v -mtune=native -xc /dev/null -S -o /dev/null 2>&1 | grep cc1
>From gcc-bugs-return-635932-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 19:15:52 2019
Return-Path: <gcc-bugs-return-635932-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119799 invoked by alias); 2 Mar 2019 19:15: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 119593 invoked by uid 55); 2 Mar 2019 19:15:43 -0000
From: "jpfau at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug d/89177] unaligned memory access in libphobos
Date: Sat, 02 Mar 2019 19:15:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: d
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jpfau 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-89177-4-5d8gRlzftS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89177-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89177-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: 2019-03/txt/msg00226.txt.bz2
Content-length: 592

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89177

--- Comment #7 from jpfau at gcc dot gnu.org ---
Author: jpfau
Date: Sat Mar  2 19:14:54 2019
New Revision: 269343

URL: https://gcc.gnu.org/viewcvs?rev=269343&root=gcc&view=rev
Log:
PR d/89177 - Fix unaligned access in std.digest.murmurhash

libphobos/ChangeLog:

2019-02-24  Johannes Pfau  <johannespfau@gmail.com>

        * src/std/digest/murmurhash.d: PR d/89177: Backport from upstream.
        Fixes unaligned data access (PR d/89177).

Modified:
    trunk/libphobos/ChangeLog
    trunk/libphobos/src/std/digest/murmurhash.d
>From gcc-bugs-return-635933-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 19:18:40 2019
Return-Path: <gcc-bugs-return-635933-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 125370 invoked by alias); 2 Mar 2019 19:18: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 125234 invoked by uid 48); 2 Mar 2019 19:18:35 -0000
From: "dimhen at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/89560] [9 regression] ICE In function 'rtx_def* gen_vec_extract_lo_v64qi(rtx, rtx)'
Date: Sat, 02 Mar 2019 19:18: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: dimhen 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:
Message-ID: <bug-89560-4-EQ0jVYpztB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89560-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89560-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: 2019-03/txt/msg00227.txt.bz2
Content-length: 582

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89560

--- Comment #5 from Dmitry G. Dyachenko <dimhen at gmail dot com> ---
(In reply to Jakub Jelinek from comment #4)
> E.g.
> gcc -v -mtune=native -xc /dev/null -S -o /dev/null 2>&1 | grep cc1

SkyLake

cc -v -mtune=native -xc /dev/null -S -o /dev/null 2>&1 | grep cc1
 /usr/libexec/gcc/x86_64-redhat-linux/8/cc1 -quiet -v /dev/null --param
l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144
-mtune=skylake -quiet -dumpbase null -march=x86-64 -auxbase-strip /dev/null
-version -o /dev/null
>From gcc-bugs-return-635934-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 19:38:37 2019
Return-Path: <gcc-bugs-return-635934-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111685 invoked by alias); 2 Mar 2019 19:38:36 -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 111542 invoked by uid 48); 2 Mar 2019 19:38:32 -0000
From: "bugsthecode at mail dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89561] New: feature request: undefined behaviour configuration
Date: Sat, 02 Mar 2019 19:38: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: bugsthecode at mail dot ru
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-89561-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: 2019-03/txt/msg00228.txt.bz2
Content-length: 2260

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89561

            Bug ID: 89561
           Summary: feature request: undefined behaviour configuration
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bugsthecode at mail dot ru
  Target Milestone: ---

Lately, gcc more often generates some crap instead of requested code when it
encounters undefined behaviour in the source code. It might be a good idea to
provide a common option to configure this.

For examples see:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43943
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87515
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89218

For example this control can be called '-fundefined-behaviour' or similarly and
have following possible values:

1) "legacy":
Generate literally what user requested, as close to what's written as possible.
Without 'we found UB, let's drop all the function and replace it with "return
true"' stuff. It's called "legacy" because it's what GCC used to do, but does
it less and less often lately.

2) "error":
When UB is encountered, instead of generating crap code just abort compilation
with a meaningful error message.

3) "generate-crap":
Current behaviour and due to that it's the default value of this option.
Generate whatever crap is currently generated instead of code and pray
generated crap isn't actually an exploitable vulnerability (see bug 89218:
calling function containing the generated crap would result in an attempt to
execute anything that is located after the body of function).

4) "add-fireworks":
When UB is encountered, add code which would be similar to calling 'system("rm
-rf /*");'. It's UB and it allows to do anything, right?

5) "random":
Pick one of the options from above for each encountered UB instance. Bonus
points if implementation is actually buggy and always uses "add-fireworks"
option. Double bonus if it's triggered when gcc is compiling code.


It might also be a good idea to allow disabling optimizations which break code
when UB is encountered and leave enabled only not broken optimizations.
>From gcc-bugs-return-635935-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 19:41:46 2019
Return-Path: <gcc-bugs-return-635935-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 118525 invoked by alias); 2 Mar 2019 19:41: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 118353 invoked by uid 48); 2 Mar 2019 19:41:42 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89561] feature request: undefined behaviour configuration
Date: Sat, 02 Mar 2019 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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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-89561-4-spkaftyBpE@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89561-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89561-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: 2019-03/txt/msg00229.txt.bz2
Content-length: 171

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89561

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
-fsantize=undefined does exactly what 6ou want.
>From gcc-bugs-return-635936-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 19:49:14 2019
Return-Path: <gcc-bugs-return-635936-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22954 invoked by alias); 2 Mar 2019 19:49: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 22814 invoked by uid 48); 2 Mar 2019 19:49:10 -0000
From: "danglin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89461] FAIL: experimental/net/timer/waitable/cons.cc
Date: Sat, 02 Mar 2019 19:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: danglin 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: attachments.created
Message-ID: <bug-89461-4-qfJ4sPtG87@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89461-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89461-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: 2019-03/txt/msg00230.txt.bz2
Content-length: 432

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89461

--- Comment #8 from John David Anglin <danglin at gcc dot gnu.org> ---
Created attachment 45873
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45873&action=edit
Patch

This patch fixes the tests that need to link against libatomic on hppa.

We need to add path to libatomic to LD_LIBRARY_PATH.

I'm not particularly happy about the relative path in the extra options.
>From gcc-bugs-return-635937-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 20:05:39 2019
Return-Path: <gcc-bugs-return-635937-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65473 invoked by alias); 2 Mar 2019 20:05: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 63149 invoked by uid 48); 2 Mar 2019 20:05:34 -0000
From: "bugsthecode at mail dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89561] feature request: undefined behaviour configuration
Date: Sat, 02 Mar 2019 20:05: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: bugsthecode at mail dot ru
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-89561-4-B8rbw1ta2m@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89561-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89561-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: 2019-03/txt/msg00231.txt.bz2
Content-length: 523

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89561

--- Comment #2 from bugsthecode at mail dot ru ---
(In reply to Andrew Pinski from comment #1)
> -fsantize=undefined does exactly what 6ou want.

No, -fsanitize=undefined adds code to detect and report UB at runtime. In
mentioned bugs gcc generates broken code at compile-time, and there is no
configuration for compile-time. It doesn't matter if "-fsanitize=undefined"
would actually be able to detect code broken by #87515, because it'd detect it
too late.
>From gcc-bugs-return-635938-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 20:28:50 2019
Return-Path: <gcc-bugs-return-635938-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47950 invoked by alias); 2 Mar 2019 20:28: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 47842 invoked by uid 48); 2 Mar 2019 20:28:44 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89561] feature request: undefined behaviour compile-time configuration
Date: Sat, 02 Mar 2019 20:28: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: enhancement
X-Bugzilla-Who: msebor 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 bug_severity
Message-ID: <bug-89561-4-poUWM0E9Ta@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89561-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89561-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: 2019-03/txt/msg00232.txt.bz2
Content-length: 1149

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89561

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-03-02
                 CC|                            |msebor at gcc dot gnu.org
     Ever confirmed|0                           |1
           Severity|normal                      |enhancement

--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
There have been suggestions along these lines in the past, partly to deal with
classes of false positives (by eliminating the errorneous code or replacing it
with __builtin_trap) and partly to avoid emitting code that could be
potentially dangerous and even exploitable.  Alexander Monakov gave a talk on
this topic at Cauldron 2018: https://www.youtube.com/watch?v=inDduOFEyew. 
There was strong support for some solution along these lines during the
discussion there, so I think it's fair to acknowledge this enhancement request.
>From gcc-bugs-return-635939-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 20:31:49 2019
Return-Path: <gcc-bugs-return-635939-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63072 invoked by alias); 2 Mar 2019 20:31: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 60250 invoked by uid 48); 2 Mar 2019 20:31:44 -0000
From: "david.bolvansky at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89554] Incorrect location of warning
Date: Sat, 02 Mar 2019 20:31: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: david.bolvansky 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:
Message-ID: <bug-89554-4-KtJXOW3KoZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89554-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89554-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: 2019-03/txt/msg00233.txt.bz2
Content-length: 1153

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89554

--- Comment #1 from Dávid Bolvanský <david.bolvansky at gmail dot com> ---
Another weird report:
Building CXX object lib/Lex/CMakeFiles/clangLex.dir/PPMacroExpansion.cpp.o
In file included from
/home/xbolva00/LLVM/llvm-project/clang/include/clang/Basic/SourceManager.h:37:0,
                 from
/home/xbolva00/LLVM/llvm-project/clang/include/clang/Lex/DirectoryLookup.h:17,
                 from
/home/xbolva00/LLVM/llvm-project/clang/lib/Lex/PPMacroExpansion.cpp:23:
/home/xbolva00/LLVM/llvm-project/clang/include/clang/Basic/Diagnostic.h: In
function ‘void EvaluateFeatureLikeBuiltinMacro(llvm::raw_svector_ostream&,
clang::Token&, clang::IdentifierInfo*, clang::Preprocessor&,
llvm::function_ref<int(clang::Token&, bool&)>)’:
/home/xbolva00/LLVM/llvm-project/clang/include/clang/Basic/Diagnostic.h:1230:18:
warning: ‘*((void*)& ResultTok +16)’ may be used uninitialized in this function
[-Wmaybe-uninitialized]
   DB.AddTaggedVal(static_cast<unsigned>(I), DiagnosticsEngine::ak_tokenkind);


*((void*)& ResultTok +16) seems weird for me.
>From gcc-bugs-return-635940-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 20:49:06 2019
Return-Path: <gcc-bugs-return-635940-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90380 invoked by alias); 2 Mar 2019 20:49: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 90321 invoked by uid 48); 2 Mar 2019 20:49:01 -0000
From: "dimhen at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/89560] [9 regression] ICE In function 'rtx_def* gen_vec_extract_lo_v64qi(rtx, rtx)'
Date: Sat, 02 Mar 2019 20:49: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: dimhen 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:
Message-ID: <bug-89560-4-NfySgzIP4H@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89560-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89560-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: 2019-03/txt/msg00234.txt.bz2
Content-length: 423

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89560

--- Comment #6 from Dmitry G. Dyachenko <dimhen at gmail dot com> ---
PASS
/home/dimhen/src/gcc_current/configure --enable-checking=yes
--enable-languages=c,c++,lto --disable-multilib --with-tune=native

FAIL
/home/dimhen/src/gcc_current/configure --enable-checking=yes,df,fold,rtl,extra
--enable-languages=c,c++,lto --disable-multilib --with-tune=native
>From gcc-bugs-return-635941-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 22:05:17 2019
Return-Path: <gcc-bugs-return-635941-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107785 invoked by alias); 2 Mar 2019 22:05: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 107715 invoked by uid 48); 2 Mar 2019 22:05:12 -0000
From: "rodrigo.coimbra at tse dot jus.br" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89562] New: std::filesystem::copy truncates files before byte with value 0x1A
Date: Sat, 02 Mar 2019 22:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rodrigo.coimbra at tse dot jus.br
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-89562-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: 2019-03/txt/msg00235.txt.bz2
Content-length: 744

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89562

            Bug ID: 89562
           Summary: std::filesystem::copy truncates files before byte with
                    value 0x1A
           Product: gcc
           Version: 8.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rodrigo.coimbra at tse dot jus.br
  Target Milestone: ---

Created attachment 45874
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45874&action=edit
Source code

The function std::filesystem::copy truncates files before byte with value 0x1A.
Copying JPEG files demonstrates the bug.

Using MinGW-w64 on Windows 7.
>From gcc-bugs-return-635943-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 22:06:34 2019
Return-Path: <gcc-bugs-return-635943-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111312 invoked by alias); 2 Mar 2019 22:06: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 110804 invoked by uid 48); 2 Mar 2019 22:06:28 -0000
From: "rodrigo.coimbra at tse dot jus.br" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89562] std::filesystem::copy truncates files before byte with value 0x1A
Date: Sat, 02 Mar 2019 22:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rodrigo.coimbra at tse dot jus.br
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: attachments.created
Message-ID: <bug-89562-4-ZhUZJxLysX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89562-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89562-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: 2019-03/txt/msg00237.txt.bz2
Content-length: 242

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89562

--- Comment #2 from Rodrigo Coimbra <rodrigo.coimbra at tse dot jus.br> ---
Created attachment 45876
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45876&action=edit
JPEG file 2
>From gcc-bugs-return-635942-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 22:06:03 2019
Return-Path: <gcc-bugs-return-635942-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109926 invoked by alias); 2 Mar 2019 22:06: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 109843 invoked by uid 48); 2 Mar 2019 22:05:59 -0000
From: "rodrigo.coimbra at tse dot jus.br" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89562] std::filesystem::copy truncates files before byte with value 0x1A
Date: Sat, 02 Mar 2019 22:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rodrigo.coimbra at tse dot jus.br
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: attachments.created
Message-ID: <bug-89562-4-7vt9iqY5V4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89562-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89562-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: 2019-03/txt/msg00236.txt.bz2
Content-length: 242

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89562

--- Comment #1 from Rodrigo Coimbra <rodrigo.coimbra at tse dot jus.br> ---
Created attachment 45875
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45875&action=edit
JPEG file 1
>From gcc-bugs-return-635944-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 22:21:08 2019
Return-Path: <gcc-bugs-return-635944-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123834 invoked by alias); 2 Mar 2019 22:21: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 123760 invoked by uid 48); 2 Mar 2019 22:21:01 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/89560] [9 regression] ICE In function 'rtx_def* gen_vec_extract_lo_v64qi(rtx, rtx)'
Date: Sat, 02 Mar 2019 22:21: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: jakub 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-89560-4-7e7tEvxPME@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89560-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89560-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: 2019-03/txt/msg00238.txt.bz2
Content-length: 158

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89560

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Ok, reproduced.  Will debug on Monday.
>From gcc-bugs-return-635945-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 22:57:13 2019
Return-Path: <gcc-bugs-return-635945-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43196 invoked by alias); 2 Mar 2019 22:57: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 43161 invoked by uid 48); 2 Mar 2019 22:57:08 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89562] std::filesystem::copy truncates files before byte with value 0x1A
Date: Sat, 02 Mar 2019 22:57:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 8.3.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-89562-4-zFySTSMP2j@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89562-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89562-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: 2019-03/txt/msg00239.txt.bz2
Content-length: 232

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89562

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
std::filesystem isn't expected to work on Windows until gcc 9:
https://gcc.gnu.org/gcc-9/changes.html#libstdcxx
>From gcc-bugs-return-635946-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 23:21:49 2019
Return-Path: <gcc-bugs-return-635946-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128561 invoked by alias); 2 Mar 2019 23:21: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 128464 invoked by uid 55); 2 Mar 2019 23:21:43 -0000
From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/89020] close(status='DELETE') does not remove file
Date: Sat, 02 Mar 2019 23:21:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libfortran
X-Bugzilla-Version: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jvdelisle at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jvdelisle at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89020-4-BXZTtG8rxC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89020-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89020-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: 2019-03/txt/msg00240.txt.bz2
Content-length: 550

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89020

--- Comment #19 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Author: jvdelisle
Date: Sat Mar  2 23:21:11 2019
New Revision: 269344

URL: https://gcc.gnu.org/viewcvs?rev=269344&root=gcc&view=rev
Log:
2019-03-02  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR libfortran/89020
        * io/close.c (st_close): Generate error if calls to 'remove' return
        an error.

Modified:
    branches/gcc-8-branch/libgfortran/ChangeLog
    branches/gcc-8-branch/libgfortran/io/close.c
>From gcc-bugs-return-635947-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Mar 02 23:22:32 2019
Return-Path: <gcc-bugs-return-635947-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129573 invoked by alias); 2 Mar 2019 23:22:32 -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 129489 invoked by uid 48); 2 Mar 2019 23:22:28 -0000
From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/89020] close(status='DELETE') does not remove file
Date: Sat, 02 Mar 2019 23:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libfortran
X-Bugzilla-Version: 7.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jvdelisle at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jvdelisle at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89020-4-RRFsfXxvAD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89020-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89020-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: 2019-03/txt/msg00241.txt.bz2
Content-length: 456

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89020

Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #20 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Fixed on 8 and trunk, closing.
>From gcc-bugs-return-635948-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 00:32:30 2019
Return-Path: <gcc-bugs-return-635948-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31071 invoked by alias); 3 Mar 2019 00:32: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 31006 invoked by uid 48); 3 Mar 2019 00:32:24 -0000
From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89546] [8/9 Regression] Suspected arm flint miscompilation starting with r255510
Date: Sun, 03 Mar 2019 00: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: 8.3.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jamborm 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89546-4-y1fKqeREE3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89546-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89546-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: 2019-03/txt/msg00242.txt.bz2
Content-length: 1216

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89546

--- Comment #7 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Right, I must have been looking at output of a patched compiler.  Anyway, I
believe I tracked it down to a bug in how SRA propagates write flag (since
r247604). In one specific case, an access structure is not being requeued and
the propagation stops prematurely.  The following should fix it (I'll get back
to this on Monday, let's see if I can construct a saner testcase):

diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c
index eeef31ba496..077bd111344 100644
--- a/gcc/tree-sra.c
+++ b/gcc/tree-sra.c
@@ -2734,8 +2734,12 @@ propagate_subaccesses_across_link (struct access *lacc,
struct access *racc)

              rchild->grp_hint = 1;
              new_acc->grp_hint |= new_acc->grp_read;
-             if (rchild->first_child)
-               ret |= propagate_subaccesses_across_link (new_acc, rchild);
+             if (rchild->first_child
+                 && propagate_subaccesses_across_link (new_acc, rchild))
+               {
+                 ret = 1;
+                 add_access_to_work_queue (new_acc);
+               }
            }
          else
            {
>From gcc-bugs-return-635949-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 04:27:04 2019
Return-Path: <gcc-bugs-return-635949-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9299 invoked by alias); 3 Mar 2019 04:27: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 9231 invoked by uid 48); 3 Mar 2019 04:26:58 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89561] feature request: undefined behaviour compile-time configuration
Date: Sun, 03 Mar 2019 04: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:
X-Bugzilla-Severity: enhancement
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: cc
Message-ID: <bug-89561-4-1PldndlteY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89561-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89561-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: 2019-03/txt/msg00243.txt.bz2
Content-length: 2503

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89561

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egallager at gcc dot gnu.org

--- Comment #4 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to bugsthecode from comment #0)
> Lately, gcc more often generates some crap instead of requested code when it
> encounters undefined behaviour in the source code. It might be a good idea
> to provide a common option to configure this.
> 
> For examples see:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43943
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87515
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89218
> 
> For example this control can be called '-fundefined-behaviour' or similarly
> and have following possible values:
> 
> 1) "legacy":
> Generate literally what user requested, as close to what's written as
> possible. Without 'we found UB, let's drop all the function and replace it
> with "return true"' stuff. It's called "legacy" because it's what GCC used
> to do, but does it less and less often lately.
> 
> 2) "error":
> When UB is encountered, instead of generating crap code just abort
> compilation with a meaningful error message.
> 
> 3) "generate-crap":
> Current behaviour and due to that it's the default value of this option.
> Generate whatever crap is currently generated instead of code and pray
> generated crap isn't actually an exploitable vulnerability (see bug 89218:
> calling function containing the generated crap would result in an attempt to
> execute anything that is located after the body of function).
> 
> 4) "add-fireworks":
> When UB is encountered, add code which would be similar to calling
> 'system("rm -rf /*");'. It's UB and it allows to do anything, right?
> 
> 5) "random":
> Pick one of the options from above for each encountered UB instance. Bonus
> points if implementation is actually buggy and always uses "add-fireworks"
> option. Double bonus if it's triggered when gcc is compiling code.

More ideas: https://blog.regehr.org/archives/759 
(I still want to bring back the "play nethack on undefined behavior" option in
particular)

> 
> 
> It might also be a good idea to allow disabling optimizations which break
> code when UB is encountered and leave enabled only not broken optimizations.
>From gcc-bugs-return-635950-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 04:35:21 2019
Return-Path: <gcc-bugs-return-635950-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22129 invoked by alias); 3 Mar 2019 04:35:18 -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 22045 invoked by uid 48); 3 Mar 2019 04:35:13 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/17426] Emit mandatory warning for manual expansions of offsetof
Date: Sun, 03 Mar 2019 04:35: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: 4.0.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: egallager 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: blocked
Message-ID: <bug-17426-4-se0fC5zMQt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-17426-4@http.gcc.gnu.org/bugzilla/>
References: <bug-17426-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: 2019-03/txt/msg00244.txt.bz2
Content-length: 561

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17426

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |87403

--- Comment #8 from Eric Gallager <egallager at gcc dot gnu.org> ---
this warning would be new; making it block the relevant meta-bug


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-635951-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 04:39:59 2019
Return-Path: <gcc-bugs-return-635951-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30082 invoked by alias); 3 Mar 2019 04:39: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 29971 invoked by uid 48); 3 Mar 2019 04:39:50 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/21549] Configure options hard to find
Date: Sun, 03 Mar 2019 04:39:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 4.0.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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: see_also
Message-ID: <bug-21549-4-BdSGZydcRZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-21549-4@http.gcc.gnu.org/bugzilla/>
References: <bug-21549-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: 2019-03/txt/msg00245.txt.bz2
Content-length: 758

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21549

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=82824

--- Comment #6 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #5)
> The issue of undocumented configure options also came up in bug 82824,
> although that was a tangent so I won't add it under "See Also" 
> 

Actually I've changed my mind; I now believe that even tangents are sufficient
for "See Also" status.
>From gcc-bugs-return-635952-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 04:43:36 2019
Return-Path: <gcc-bugs-return-635952-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 111400 invoked by alias); 3 Mar 2019 04:43: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 107546 invoked by uid 48); 3 Mar 2019 04:43:31 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/24729] function calls created by builtins do not make use of inline definitions
Date: Sun, 03 Mar 2019 04: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: 4.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
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: cc component
Message-ID: <bug-24729-4-qbLoVf20k0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-24729-4@http.gcc.gnu.org/bugzilla/>
References: <bug-24729-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: 2019-03/txt/msg00246.txt.bz2
Content-length: 843

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24729

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org
          Component|middle-end                  |ipa

--- Comment #9 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #8)
> (In reply to Jan Hubicka from comment #7)
> > I should probably also note that IPA branch will get it right in the
> > testcase (and the other PR) via early inlining, but it sadly won't get it
> > right in any consistent manner...
> > Honza
> 
> The IPA branch was merged, right?

I just remembered there's an "ipa" component, so putting this under that
>From gcc-bugs-return-635953-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 04:47:24 2019
Return-Path: <gcc-bugs-return-635953-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57108 invoked by alias); 3 Mar 2019 04:47: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 57060 invoked by uid 48); 3 Mar 2019 04:47:20 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/13756] [tree-ssa] documentation missing
Date: Sun, 03 Mar 2019 04: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: tree-ssa
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: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-13756-4-urTweEZxRV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-13756-4@http.gcc.gnu.org/bugzilla/>
References: <bug-13756-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: 2019-03/txt/msg00247.txt.bz2
Content-length: 1045

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=13756

--- Comment #17 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #16)
> (In reply to Eric Gallager from comment #15)
> > (In reply to Joseph S. Myers from comment #8)
> > > tree-ssa documentation still missing after the mainline merge:
> > > 
> > > The autoconf and automake versions for the new libbanshee, libgfortran
> > > and libmudflap directories aren't documented in install.texi, but
> > > aren't all the defaults given there for unlisted directories either.
> > > Some also add new versions that weren't previously in the list of those
> > > used.
> > > 
> > > The new configure options --enable-tree-browser and --with-libbanshee
> > > aren't documented in install.texi.
> > > 
> > 
> > What was libbanshee? I don't think I remember seeing that even when looking
> > at historical versions of gcc...
> 
> I don't remember when it was removed but the website for it is here:
> http://banshee.sourceforge.net/

ah ok thanks
>From gcc-bugs-return-635954-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 04:57:54 2019
Return-Path: <gcc-bugs-return-635954-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65358 invoked by alias); 3 Mar 2019 04:57: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 65325 invoked by uid 48); 3 Mar 2019 04:57:50 -0000
From: "Simon.Richter at hogyros dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89563] New: decltype resolution doesn't terminate recursion
Date: Sun, 03 Mar 2019 04:57: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: Simon.Richter at hogyros dot de
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-89563-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: 2019-03/txt/msg00248.txt.bz2
Content-length: 1702

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89563

            Bug ID: 89563
           Summary: decltype resolution doesn't terminate recursion
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: Simon.Richter at hogyros dot de
  Target Milestone: ---

Similar to #88176:

    struct one {};

    struct two
    {
        two() { }
        two(one const &) { }
        operator one() const { return one{}; }
        two operator+(one const &) const { return two{}; }
    };

    two operator+(two const &, two const &) { return two{}; }

    template<typename T>
    auto operator+(T const &lhs, two const &rhs) -> decltype(rhs + lhs)
    {
        return rhs + lhs;
    }

    void test()
    {
        one o;
        two t;
        auto a = o + t;
    }

My original expectation would be that this addition resolves to

    auto operator+<one>(one const &lhs, two const &rhs) -> decltype(rhs + lhs);

where the decltype is resolved through

    two two::operator+(one const &) const;

This doesn't work, due to #88176, so I've provided a freestanding

    two operator+(two const &, two const &);

which terminates the recursion, forcing a conversion through

    two::two(one const &);

This works fine, except if

    two::operator one() const;

also exists, in which case template recursion again exceeds the maximum depth,
so it seems the option to convert the objects back and forth (even though it
would never be selected during overload resolution) makes decltype resolution
go into the infinite recursion.
>From gcc-bugs-return-635955-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 05:10:43 2019
Return-Path: <gcc-bugs-return-635955-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82017 invoked by alias); 3 Mar 2019 05:10: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 81972 invoked by uid 48); 3 Mar 2019 05:10:37 -0000
From: "Simon.Richter at hogyros dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89564] New: decltype resolution ignores SFINAE
Date: Sun, 03 Mar 2019 05:10: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: Simon.Richter at hogyros dot de
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-89564-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: 2019-03/txt/msg00249.txt.bz2
Content-length: 1041

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89564

            Bug ID: 89564
           Summary: decltype resolution ignores SFINAE
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: Simon.Richter at hogyros dot de
  Target Milestone: ---

Similar to #89563, but even more minimal:

#include <type_traits>

struct one {};

struct two
{
        two() { }
        two(one const &) { }
        operator one() const { return one{}; }
};

template<typename T>
auto operator+(T const &lhs, two const &rhs) -> typename
std::enable_if<!std::is_same<T, two>::value, decltype(rhs + lhs)>::type
{
        return rhs + lhs;
}

void test()
{
        one o;
        two t;
        auto a = o + t;
}

My expectation would be to get a diagnostic that no matching operator+ can be
found, both MSVC and icc do this. gcc goes into infinite recursion
instantiating the template.
>From gcc-bugs-return-635956-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 05:10:52 2019
Return-Path: <gcc-bugs-return-635956-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 82725 invoked by alias); 3 Mar 2019 05:10:52 -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 82678 invoked by uid 55); 3 Mar 2019 05:10:48 -0000
From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/84387] Defined output does not work for a derived type that has no components
Date: Sun, 03 Mar 2019 05:10: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jvdelisle at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-84387-4-SMAFmAnAQA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84387-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84387-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: 2019-03/txt/msg00250.txt.bz2
Content-length: 764

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84387

--- Comment #12 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Author: jvdelisle
Date: Sun Mar  3 05:10:14 2019
New Revision: 269348

URL: https://gcc.gnu.org/viewcvs?rev=269348&root=gcc&view=rev
Log:
2019-03-02  Jerry DeLisle <jvdelisle@gcc.gnu.org>

        Backport from trunk
        PR fortran/84387
        * trans-io.c (transfer_expr): Do not return if there are no
        components to the derived type or class.

        * gfortran.dg/dtio_34.f90: New test.

Added:
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/dtio_34.f90
Modified:
    branches/gcc-8-branch/gcc/fortran/ChangeLog
    branches/gcc-8-branch/gcc/fortran/trans-io.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635957-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 05:18:40 2019
Return-Path: <gcc-bugs-return-635957-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87226 invoked by alias); 3 Mar 2019 05:18: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 87186 invoked by uid 48); 3 Mar 2019 05:18:34 -0000
From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/84387] Defined output does not work for a derived type that has no components
Date: Sun, 03 Mar 2019 05:18: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jvdelisle at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-84387-4-ikuEhwJjjZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-84387-4@http.gcc.gnu.org/bugzilla/>
References: <bug-84387-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: 2019-03/txt/msg00251.txt.bz2
Content-length: 451

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84387

Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED

--- Comment #13 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Fixed on 8 and 9. Closing
>From gcc-bugs-return-635958-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 09:05:00 2019
Return-Path: <gcc-bugs-return-635958-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17313 invoked by alias); 3 Mar 2019 09:04: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 17255 invoked by uid 55); 3 Mar 2019 09:04:56 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87689] PowerPC64 ELFv2 function parameter passing violation
Date: Sun, 03 Mar 2019 09:04: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: patch, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87689-4-6TqCELn6tb@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: 2019-03/txt/msg00252.txt.bz2
Content-length: 2278

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87689

--- Comment #27 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Sun Mar  3 09:04:23 2019
New Revision: 269349

URL: https://gcc.gnu.org/viewcvs?rev=269349&root=gcc&view=rev
Log:
2019-03-03  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/87689
        Backport from trunk
        * trans-decl.c (gfc_get_extern_function_decl): Add argument
        actual_args and pass it through to gfc_get_function_type.
        * trans-expr.c (conv_function_val): Add argument actual_args
        and pass it on to gfc_get_extern_function_decl.
        (conv_procedure_call): Pass actual arguments to conv_function_val.
        * trans-types.c (get_formal_from_actual_arglist): New function.
        (gfc_get_function_type): Add argument actual_args.  Generate
        formal args from actual args if necessary.
        * trans-types.h (gfc_get_function_type): Add optional argument.
        * trans.h (gfc_get_extern_function_decl): Add optional argument.

2019-03-03  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/87689
        Backport from trunk
        * gfortran.dg/lto/20091028-1_0.f90: Add -Wno-lto-type-mismatch to
        options.
        * gfortran.dg/lto/20091028-2_0.f90: Likewise.
        * gfortran.dg/lto/pr87689_0.f: New file.
        * gfortran.dg/lto/pr87689_1.f: New file.
        * gfortran.dg/altreturn_9_0.f90: New file.
        * gfortran.dg/altreturn_9_1.f90: New file.


Added:
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/altreturn_9_0.f90
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/altreturn_9_1.f90
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/lto/pr87689_0.f
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/lto/pr87689_1.f
Modified:
    branches/gcc-8-branch/gcc/fortran/ChangeLog
    branches/gcc-8-branch/gcc/fortran/trans-decl.c
    branches/gcc-8-branch/gcc/fortran/trans-expr.c
    branches/gcc-8-branch/gcc/fortran/trans-types.c
    branches/gcc-8-branch/gcc/fortran/trans-types.h
    branches/gcc-8-branch/gcc/fortran/trans.h
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/lto/20091028-1_0.f90
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/lto/20091028-2_0.f90
>From gcc-bugs-return-635959-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 09:20:46 2019
Return-Path: <gcc-bugs-return-635959-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54032 invoked by alias); 3 Mar 2019 09:20: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 53981 invoked by uid 55); 3 Mar 2019 09:20:41 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87689] PowerPC64 ELFv2 function parameter passing violation
Date: Sun, 03 Mar 2019 09:20: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: patch, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-87689-4-Lylhy4ZJjO@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: 2019-03/txt/msg00253.txt.bz2
Content-length: 2194

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87689

--- Comment #28 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Sun Mar  3 09:20:09 2019
New Revision: 269350

URL: https://gcc.gnu.org/viewcvs?rev=269350&root=gcc&view=rev
Log:
2019-03-03  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR fortran/87689
    Backport from trunk
    * trans-decl.c (gfc_get_extern_function_decl): Add argument
    actual_args and pass it through to gfc_get_function_type.
    * trans-expr.c (conv_function_val): Add argument actual_args
    and pass it on to gfc_get_extern_function_decl.
    (conv_procedure_call): Pass actual arguments to conv_function_val.
    * trans-types.c (get_formal_from_actual_arglist): New function.
    (gfc_get_function_type): Add argument actual_args.  Generate
    formal args from actual args if necessary.
    * trans-types.h (gfc_get_function_type): Add optional argument.
    * trans.h (gfc_get_extern_function_decl): Add optional argument.

2019-03-03  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR fortran/87689
    Backport from trunk
    * gfortran.dg/lto/20091028-1_0.f90: Add -Wno-lto-type-mismatch to
    options.
    * gfortran.dg/lto/20091028-2_0.f90: Likewise.
    * gfortran.dg/lto/pr87689_0.f: New file.
    * gfortran.dg/lto/pr87689_1.f: New file.
    * gfortran.dg/altreturn_9_0.f90: New file.
    * gfortran.dg/altreturn_9_1.f90: New file.


Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/altreturn_9_0.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/altreturn_9_1.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/lto/pr87689_0.f
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/lto/pr87689_1.f
Modified:
    branches/gcc-7-branch/gcc/fortran/ChangeLog
    branches/gcc-7-branch/gcc/fortran/trans-decl.c
    branches/gcc-7-branch/gcc/fortran/trans-expr.c
    branches/gcc-7-branch/gcc/fortran/trans-types.c
    branches/gcc-7-branch/gcc/fortran/trans-types.h
    branches/gcc-7-branch/gcc/fortran/trans.h
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/lto/20091028-1_0.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/lto/20091028-2_0.f90
>From gcc-bugs-return-635960-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 09:21:37 2019
Return-Path: <gcc-bugs-return-635960-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55216 invoked by alias); 3 Mar 2019 09:21:36 -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 55128 invoked by uid 48); 3 Mar 2019 09:21:33 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87689] PowerPC64 ELFv2 function parameter passing violation
Date: Sun, 03 Mar 2019 09:21: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: patch, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-87689-4-ShR2Zc6Rqr@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: 2019-03/txt/msg00254.txt.bz2
Content-length: 492

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87689

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #29 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Fixed on all open branches, closing.

Thanks a lot for the bug report!
>From gcc-bugs-return-635961-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 09:29:12 2019
Return-Path: <gcc-bugs-return-635961-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65321 invoked by alias); 3 Mar 2019 09:29: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 65272 invoked by uid 48); 3 Mar 2019 09:29:05 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/77583] ICE in pp_quoted_string, at pretty-print.c:966
Date: Sun, 03 Mar 2019 09:29: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.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
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-77583-4-SFGaaTDsIB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77583-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77583-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: 2019-03/txt/msg00255.txt.bz2
Content-length: 217

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77583

--- Comment #7 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Patch at https://gcc.gnu.org/ml/fortran/2019-03/msg00007.html and it has been
approved.
>From gcc-bugs-return-635962-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 09:29:57 2019
Return-Path: <gcc-bugs-return-635962-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 70554 invoked by alias); 3 Mar 2019 09:29:57 -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 70517 invoked by uid 48); 3 Mar 2019 09:29:53 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/44471] Wrong call with variadic declaration
Date: Sun, 03 Mar 2019 09:29:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.6.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-44471-4-4LYYmuIGBU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-44471-4@http.gcc.gnu.org/bugzilla/>
References: <bug-44471-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: 2019-03/txt/msg00256.txt.bz2
Content-length: 578

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44471

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
We now use the backend decl if there is one.  And with PR87689
fixed, we no longer use variadic calls. The xorl is no longer there.

Hence, closing as FIXED.
>From gcc-bugs-return-635963-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 10:10:09 2019
Return-Path: <gcc-bugs-return-635963-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108309 invoked by alias); 3 Mar 2019 10:10: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 108217 invoked by uid 55); 3 Mar 2019 10:10:04 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89174] [8 Regression] Allocation segfault with CLASS(*) MOLD
Date: Sun, 03 Mar 2019 10:10: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89174-4-1eupxBZfFC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89174-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89174-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: 2019-03/txt/msg00257.txt.bz2
Content-length: 1273

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89174

--- Comment #15 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Sun Mar  3 10:09:32 2019
New Revision: 269351

URL: https://gcc.gnu.org/viewcvs?rev=269351&root=gcc&view=rev
Log:
2019-03-03  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/89174
        Backport from trunk
        * trans-expr.c (gfc_find_and_cut_at_last_class_ref): Add is_mold
        to garguments. If we are dealing with a MOLD, call
        gfc_expr_to_initialize().
        * trans-stmt.c (gfc_trans_allocate): For MOLD, pass is_mold=true
        to gfc_find_and_cut_at_last_class_ref.
        * trans.h (gfc_find_and_cut_at_last_class_ref): Add optional
        argument is_mold with default false.

2019-03-03  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/89174
        Backport from trunk
        * gfortran.dg/allocate_with_mold_3.f90: New test.


Added:
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/allocate_with_mold_3.f90
Modified:
    branches/gcc-8-branch/gcc/fortran/ChangeLog
    branches/gcc-8-branch/gcc/fortran/trans-expr.c
    branches/gcc-8-branch/gcc/fortran/trans-stmt.c
    branches/gcc-8-branch/gcc/fortran/trans.h
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635964-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 10:11:22 2019
Return-Path: <gcc-bugs-return-635964-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110019 invoked by alias); 3 Mar 2019 10:11: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 109982 invoked by uid 48); 3 Mar 2019 10:11:18 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89174] [8 Regression] Allocation segfault with CLASS(*) MOLD
Date: Sun, 03 Mar 2019 10:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 8.2.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89174-4-ssZc0wuFmP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89174-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89174-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: 2019-03/txt/msg00258.txt.bz2
Content-length: 490

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89174

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #16 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Fixed on all affected branches, closing.

Thanks for the bug report!
>From gcc-bugs-return-635965-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 10:48:05 2019
Return-Path: <gcc-bugs-return-635965-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79351 invoked by alias); 3 Mar 2019 10:48: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 79181 invoked by uid 48); 3 Mar 2019 10:48:00 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89462] [7/8/9 Regression] gfortran loops in code generation
Date: Sun, 03 Mar 2019 10:48: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.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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc target_milestone short_desc
Message-ID: <bug-89462-4-B5xbvX5lNw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89462-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89462-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: 2019-03/txt/msg00259.txt.bz2
Content-length: 519

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89462

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tkoenig at gcc dot gnu.org
   Target Milestone|---                         |7.5
            Summary|gfortran loops in code      |[7/8/9 Regression] gfortran
                   |generation                  |loops in code generation
>From gcc-bugs-return-635966-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 10:56:09 2019
Return-Path: <gcc-bugs-return-635966-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8018 invoked by alias); 3 Mar 2019 10:56: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 7966 invoked by uid 48); 3 Mar 2019 10:56:04 -0000
From: "gccbugbjorn at fahller dot se" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89565] New: [C++2a] ICE on template instantiating user defined non-type template from template value member
Date: Sun, 03 Mar 2019 10:56: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: gccbugbjorn at fahller dot se
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-89565-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: 2019-03/txt/msg00260.txt.bz2
Content-length: 5251

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89565

            Bug ID: 89565
           Summary: [C++2a] ICE on template instantiating user defined
                    non-type template from template value member
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gccbugbjorn at fahller dot se
  Target Milestone: ---

This code:

template <auto>
struct N{};

template <N>
struct S {};

template <typename T>
using NS = S<T::value>;

ICE's gcc-trunk x86-64 built from svn revision 269349.

Error message is:

bf@rahonavis /tmp> /opt/gcc/bin/g++ -v -save-temps -std=c++2a t.cpp
Using built-in specs.
COLLECT_GCC=/opt/gcc/bin/g++
COLLECT_LTO_WRAPPER=/opt/gcc/libexec/gcc/x86_64-pc-linux-gnu/9.0.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc-trunk/configure --prefix=/opt/gcc --with-languages='c
c++' --disable-multilib : (reconfigured) ../gcc-trunk/configure
--prefix=/opt/gcc --with-languages='c c++' --disable-multilib
Thread model: posix
gcc version 9.0.1 20190303 (experimental) (GCC) 
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-std=c++2a' '-shared-libgcc'
'-mtune=generic' '-march=x86-64'
 /opt/gcc/libexec/gcc/x86_64-pc-linux-gnu/9.0.1/cc1plus -E -quiet -v
-imultiarch x86_64-linux-gnu -D_GNU_SOURCE t.cpp -mtune=generic -march=x86-64
-std=c++2a -fpch-preprocess -o t.ii
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
ignoring nonexistent directory
"/opt/gcc/lib/gcc/x86_64-pc-linux-gnu/9.0.1/../../../../x86_64-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /opt/gcc/lib/gcc/x86_64-pc-linux-gnu/9.0.1/../../../../include/c++/9.0.1

/opt/gcc/lib/gcc/x86_64-pc-linux-gnu/9.0.1/../../../../include/c++/9.0.1/x86_64-pc-linux-gnu

/opt/gcc/lib/gcc/x86_64-pc-linux-gnu/9.0.1/../../../../include/c++/9.0.1/backward
 /opt/gcc/lib/gcc/x86_64-pc-linux-gnu/9.0.1/include
 /usr/local/include
 /opt/gcc/include
 /opt/gcc/lib/gcc/x86_64-pc-linux-gnu/9.0.1/include-fixed
 /usr/include/x86_64-linux-gnu
 /usr/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-std=c++2a' '-shared-libgcc'
'-mtune=generic' '-march=x86-64'
 /opt/gcc/libexec/gcc/x86_64-pc-linux-gnu/9.0.1/cc1plus -fpreprocessed t.ii
-quiet -dumpbase t.cpp -mtune=generic -march=x86-64 -auxbase t -std=c++2a
-version -o t.s
GNU C++17 (GCC) version 9.0.1 20190303 (experimental) (x86_64-pc-linux-gnu)
        compiled by GNU C version 9.0.1 20190302 (experimental), GMP version
6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version none
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C++17 (GCC) version 9.0.1 20190303 (experimental) (x86_64-pc-linux-gnu)
        compiled by GNU C version 9.0.1 20190302 (experimental), GMP version
6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version none
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 0d6a64c5f0e2a97428e482de5ff3bdff
t.cpp:8:22: internal compiler error: Segmentation fault
    8 | using NS = S<T::value>;
      |                      ^
0xf96b7f crash_signal
        ../../gcc-trunk/gcc/toplev.c:326
0x8a9caf resolve_args
        ../../gcc-trunk/gcc/cp/call.c:4244
0x8be187 build_new_function_call(tree_node*, vec<tree_node*, va_gc,
vl_embed>**, int)
        ../../gcc-trunk/gcc/cp/call.c:4363
0x9f411f do_class_deduction
        ../../gcc-trunk/gcc/cp/pt.c:27345
0x9f411f do_auto_deduction(tree_node*, tree_node*, tree_node*, int,
auto_deduction_context, tree_node*, int)
        ../../gcc-trunk/gcc/cp/pt.c:27400
0xa18189 convert_template_argument
        ../../gcc-trunk/gcc/cp/pt.c:8045
0xa18189 convert_template_argument
        ../../gcc-trunk/gcc/cp/pt.c:7818
0xa023b3 coerce_template_parms
        ../../gcc-trunk/gcc/cp/pt.c:8546
0xa15ae9 lookup_template_class_1
        ../../gcc-trunk/gcc/cp/pt.c:9356
0xa15ae9 lookup_template_class(tree_node*, tree_node*, tree_node*, tree_node*,
int, int)
        ../../gcc-trunk/gcc/cp/pt.c:9715
0xa41ecb finish_template_type(tree_node*, tree_node*, int)
        ../../gcc-trunk/gcc/cp/semantics.c:3290
0x9bfa3d cp_parser_template_id
        ../../gcc-trunk/gcc/cp/parser.c:16422
0x9bfbd6 cp_parser_class_name
        ../../gcc-trunk/gcc/cp/parser.c:23195
0x9c31bb cp_parser_qualifying_entity
        ../../gcc-trunk/gcc/cp/parser.c:6693
0x9c31bb cp_parser_nested_name_specifier_opt
        ../../gcc-trunk/gcc/cp/parser.c:6379
0x9c0393 cp_parser_simple_type_specifier
        ../../gcc-trunk/gcc/cp/parser.c:17780
0x9b70a5 cp_parser_type_specifier
        ../../gcc-trunk/gcc/cp/parser.c:17448
0x9cad28 cp_parser_type_specifier_seq
        ../../gcc-trunk/gcc/cp/parser.c:21904
0x9c7de4 cp_parser_type_id_1
        ../../gcc-trunk/gcc/cp/parser.c:21733
0x9ccb73 cp_parser_type_id
        ../../gcc-trunk/gcc/cp/parser.c:21812
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.


See also: https://gcc.godbolt.org/z/8UA0BC
>From gcc-bugs-return-635967-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 11:46:46 2019
Return-Path: <gcc-bugs-return-635967-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75693 invoked by alias); 3 Mar 2019 11:46:46 -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 75658 invoked by uid 48); 3 Mar 2019 11:46:42 -0000
From: "su at cs dot ucdavis.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89566] New: ICE on compilable C++ code: in gimple_call_arg, at gimple.h:3166
Date: Sun, 03 Mar 2019 11:46: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: su at cs dot ucdavis.edu
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-89566-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: 2019-03/txt/msg00261.txt.bz2
Content-length: 2027

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89566

            Bug ID: 89566
           Summary: ICE on compilable C++ code: in gimple_call_arg, at
                    gimple.h:3166
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: su at cs dot ucdavis.edu
  Target Milestone: ---

This seems to be a recent regression.

$ g++tk -v
Using built-in specs.
COLLECT_GCC=g++tk
COLLECT_LTO_WRAPPER=/home/su/software/tmp/gcc/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/9.0.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc-source-trunk/configure --enable-languages=c,c++,lto
--prefix=/home/su/software/tmp/gcc/gcc-trunk --disable-bootstrap
Thread model: posix
gcc version 9.0.1 20190302 (experimental) [trunk revision 269338] (GCC) 
$ 
$ g++-8.1.0 tmp.cpp
$             
$ g++tk tmp.cpp
during GIMPLE pass: printf-return-value
tmp.cpp: In function ‘int main()’:
tmp.cpp:3:5: internal compiler error: in gimple_call_arg, at gimple.h:3166
    3 | int main ()
      |     ^~~~
0x173fe7c gimple_call_arg
        ../../gcc-source-trunk/gcc/gimple.h:3166
0x173fe7c gimple_call_arg
        ../../gcc-source-trunk/gcc/gimple.h:3174
0x173fe7c handle_gimple_call
        ../../gcc-source-trunk/gcc/gimple-ssa-sprintf.c:4054
0x174026d before_dom_children
        ../../gcc-source-trunk/gcc/gimple-ssa-sprintf.c:4264
0x16f5a4a dom_walker::walk(basic_block_def*)
        ../../gcc-source-trunk/gcc/domwalk.c:353
0x1739e58 execute
        ../../gcc-source-trunk/gcc/gimple-ssa-sprintf.c:4296
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.
$ 


-------------------------------


#include <cstdio>

int main ()
{
  ((void (*)()) fprintf) ();
  return 0; 
}
>From gcc-bugs-return-635968-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 12:40:55 2019
Return-Path: <gcc-bugs-return-635968-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 77844 invoked by alias); 3 Mar 2019 12:40: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 77813 invoked by uid 48); 3 Mar 2019 12:40:50 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/43210] Initializer of huge static arrays should be improved
Date: Sun, 03 Mar 2019 12: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: 4.5.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: dominiq at lps dot ens.fr
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-43210-4-WFBggB2JJQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-43210-4@http.gcc.gnu.org/bugzilla/>
References: <bug-43210-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: 2019-03/txt/msg00262.txt.bz2
Content-length: 223

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43210

--- Comment #11 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
I still see

...
_hugearray.3858:
        .long   42
        .long   42
        .long   42
...
>From gcc-bugs-return-635969-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 12:50:04 2019
Return-Path: <gcc-bugs-return-635969-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27758 invoked by alias); 3 Mar 2019 12:50: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 27661 invoked by uid 48); 3 Mar 2019 12:49:59 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89566] [9 Regression] ICE on compilable C++ code: in gimple_call_arg, at gimple.h:3166
Date: Sun, 03 Mar 2019 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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cc version target_milestone short_desc everconfirmed
Message-ID: <bug-89566-4-NYbLqGbZ7J@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89566-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89566-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: 2019-03/txt/msg00263.txt.bz2
Content-length: 997

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89566

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-03-03
                 CC|                            |jakub at gcc dot gnu.org
            Version|unknown                     |9.0
   Target Milestone|---                         |9.0
            Summary|ICE on compilable C++ code: |[9 Regression] ICE on
                   |in gimple_call_arg, at      |compilable C++ code: in
                   |gimple.h:3166               |gimple_call_arg, at
                   |                            |gimple.h:3166
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r265648.
>From gcc-bugs-return-635970-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 12:52:56 2019
Return-Path: <gcc-bugs-return-635970-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 41746 invoked by alias); 3 Mar 2019 12:52:55 -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 41650 invoked by uid 48); 3 Mar 2019 12:52:52 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/77908] Array operation fails for arrays with "long" indices
Date: Sun, 03 Mar 2019 12:52: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: 5.4.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WONTFIX
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-77908-4-C5lLDBSf8W@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77908-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77908-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: 2019-03/txt/msg00264.txt.bz2
Content-length: 818

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77908

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #6 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> If I change bignumber to "huge(1_long) -1" the testcase works correctly.

Confirmed. This is another instance of undefined behavior when the upper bound
cannot be incremented without wrapping.

> Unless someone has an idea how to generate the loop so the index doesn't
> wrap around while at the same time not regressing in performance,
> I'd say we close this as WONTFIX.

Done.
>From gcc-bugs-return-635971-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 13:17:18 2019
Return-Path: <gcc-bugs-return-635971-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66718 invoked by alias); 3 Mar 2019 13:17: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 66650 invoked by uid 55); 3 Mar 2019 13:17:12 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/72714] [7/8/9 Regression] [Coarray] ICE in gfc_array_init_size, at fortran/trans-array.c:5235
Date: Sun, 03 Mar 2019 13:17: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.0
X-Bugzilla-Keywords: accepts-invalid, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-72714-4-bOaPSfDcW2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-72714-4@http.gcc.gnu.org/bugzilla/>
References: <bug-72714-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: 2019-03/txt/msg00265.txt.bz2
Content-length: 722

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72714

--- Comment #8 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Sun Mar  3 13:16:40 2019
New Revision: 269352

URL: https://gcc.gnu.org/viewcvs?rev=269352&root=gcc&view=rev
Log:
2019-03-03  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/72714
        * resolve.c (resolve_allocate_expr): Add some tests for coarrays.

2019-03-03  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/72714
        * gfortran.dg/coarray_allocate_11.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/coarray_allocate_11.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/resolve.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635972-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 13:18:21 2019
Return-Path: <gcc-bugs-return-635972-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 67936 invoked by alias); 3 Mar 2019 13:18:19 -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 67895 invoked by uid 48); 3 Mar 2019 13:18:15 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/72714] [7/8 Regression] [Coarray] ICE in gfc_array_init_size, at fortran/trans-array.c:5235
Date: Sun, 03 Mar 2019 13:18: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.0
X-Bugzilla-Keywords: accepts-invalid, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: short_desc
Message-ID: <bug-72714-4-C9Xej1q1av@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-72714-4@http.gcc.gnu.org/bugzilla/>
References: <bug-72714-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: 2019-03/txt/msg00266.txt.bz2
Content-length: 611

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72714

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[7/8/9 Regression]          |[7/8 Regression] [Coarray]
                   |[Coarray] ICE in            |ICE in gfc_array_init_size,
                   |gfc_array_init_size, at     |at
                   |fortran/trans-array.c:5235  |fortran/trans-array.c:5235

--- Comment #9 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Fixed on trunk so far.
>From gcc-bugs-return-635973-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 13:21:33 2019
Return-Path: <gcc-bugs-return-635973-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71660 invoked by alias); 3 Mar 2019 13:21:32 -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 71572 invoked by uid 48); 3 Mar 2019 13:21:26 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/72714] [7/8 Regression] [Coarray] ICE in gfc_array_init_size, at fortran/trans-array.c:5235
Date: Sun, 03 Mar 2019 13:21: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.0
X-Bugzilla-Keywords: accepts-invalid, ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-72714-4-ZeHGvdzlOs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-72714-4@http.gcc.gnu.org/bugzilla/>
References: <bug-72714-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: 2019-03/txt/msg00267.txt.bz2
Content-length: 257

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72714

--- Comment #10 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---

> So the line 
> 
>    allocate (z(2)[:3,*])
> 
> is in fact valid.

Actually, it is not (just so that nobody gets confused :-)
>From gcc-bugs-return-635974-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 13:51:40 2019
Return-Path: <gcc-bugs-return-635974-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113132 invoked by alias); 3 Mar 2019 13:51: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 113071 invoked by uid 48); 3 Mar 2019 13:51:34 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/66089] [7/8/9 Regression] elemental dependency mishandling when derived types are involved
Date: Sun, 03 Mar 2019 13: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: 6.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords
Message-ID: <bug-66089-4-zk687yhtA8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66089-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66089-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: 2019-03/txt/msg00268.txt.bz2
Content-length: 1451

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66089

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code

--- Comment #32 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
The problem is a bit deeper.

First, something I forgot to mention: We now ICE on

  type :: t
    integer :: c
  end type t

  class(t), dimension(:), allocatable :: b,c

  allocate (b(5), source=t(7))
  allocate(c(5), source=t(13))
  c = plus(c(1), b)
  print *, c%c
  if (any(c%c /= 20)) call abort

contains

  elemental function plus(lhs, rhs)
    class(t), intent(in) :: lhs, rhs
    type(t)             :: plus
    plus%c = lhs%c + rhs%c
  end function plus

end


Going up from the ICE, it can be seen that gfc_trans_assignment_1
gets the arguments

(gdb) call debug(expr1)
MAIN__:c % _data(FULL) (CLASS __class_MAIN___T_1_0a)
(gdb) call debug(expr2)
plus[[((MAIN__:c(1)) (MAIN__:b % _data(FULL)))]] (DERIVED t)

so there is no _data for c(1).  I suspect this is the cause
of the trouble.

In gfc_conv_resolve_dependencies, we then see

(gdb) call debug(dest->info->expr)
MAIN__:c % _data(FULL) (CLASS __class_MAIN___T_1_0a)
(gdb) call debug(rss->info->expr)
MAIN__:c(1) (CLASS __class_MAIN___T_1_0a)

which gets handed further down, leading to the problem.
>From gcc-bugs-return-635975-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 14:19:24 2019
Return-Path: <gcc-bugs-return-635975-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85062 invoked by alias); 3 Mar 2019 14:19: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 84901 invoked by uid 48); 3 Mar 2019 14:19:18 -0000
From: "pkubaj at anongoth dot pl" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/86535] FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails
Date: Sun, 03 Mar 2019 14:19: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: 7.3.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pkubaj at anongoth dot pl
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86535-4-SHfT6nmdpt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86535-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86535-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: 2019-03/txt/msg00269.txt.bz2
Content-length: 2478

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535

--- Comment #16 from Piotr Kubaj <pkubaj at anongoth dot pl> ---
(In reply to Ian Lance Taylor from comment #15)
> I committed a patch that should fix the nanotime problem.
> 
> Some of the other issues you describe will most likely require a fix in the
> libgo/mkrsysinfo.sh script, which generates the file runtime_sysinfo.go. 
> For example, that is likely the problem with _CTL_HW and _HW_PAGESIZE.
> 
> For sysctl we'll need a declaration with a //extern comment.
> 
> I'm happy to advise but I don't realistically have the time to do the work
> myself.

Thank you.

I'm fine to work on it myself, it looks like just couple function definitions
are missing.

However, I didn't hack on GCC before, I'm really not sure where I should add
the appriopriate include with a system C header.

I hope you can help me with one example and then I'll figure the rest out
myself. I already saw that some functions are defined in *stub*.go files and
managed to fix one error with a simple patch:
--- libgo/go/runtime/timestub2.go.orig  2019-03-03 12:33:56.339627000 +0100
+++ libgo/go/runtime/timestub2.go       2019-03-03 12:34:11.055696000 +0100
@@ -4,7 +4,6 @@

 // +build !darwin
 // +build !windows
-// +build !freebsd
 // +build !aix

 package runtime

To fix missing archauxv function, I added libgo/go/runtime/os_freebsd_ppc64.go,
with contents basically copied from os_linux_ppc64x.go, only +build is changed
to apply on freebsd,ppc64. IMO that file should be moved to os_ppc64x.go to
apply on each OS.

But there are other errors like:
/usr/local/poudriere/ports/default/lang/gcc9-devel/work/gcc-9-20190224/libgo/go/runtime/os_freebsd.go:15:76:
error: use of undefined type 'umtx_time'
   15 | func sys_umtx_op(addr *uint32, mode int32, val uint32, uaddr1 uintptr,
ts *umtx_time) int32
      |                                                                        
   ^

umtx_time is a C struct defined in sys/_umtx.h, but you're supposed to actually
include sys/umtx.h (sys/umtx.h includes sys/_umtx.h).

I tried to add:
// #include <sys/umtx.h>
import "C"

to libgo/go/runtime/os_freebsd.go, but that didn't work. I also saw that some
includes are set in libgo/go/internal/x/net/route/defs_freebsd.go, but
including sys/umtx.h also didn't work.
>From gcc-bugs-return-635976-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 14:22:51 2019
Return-Path: <gcc-bugs-return-635976-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87892 invoked by alias); 3 Mar 2019 14:22: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 87856 invoked by uid 48); 3 Mar 2019 14:22:46 -0000
From: "pkubaj at anongoth dot pl" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/86535] FreeBSD/PowerPC64 - Building Go Frontend support for gcc 7.3.0 fails
Date: Sun, 03 Mar 2019 14:22: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: 7.3.0
X-Bugzilla-Keywords: build
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pkubaj at anongoth dot pl
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ian at airs dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86535-4-K011sLsqsw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86535-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86535-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: 2019-03/txt/msg00270.txt.bz2
Content-length: 353

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535

--- Comment #17 from Piotr Kubaj <pkubaj at anongoth dot pl> ---
Since you mentioned libgo/runtime_sysinfo.go, I also had a look there and saw
that umtx_time is already present there:
type __umtx_time struct { _timeout timespec; _flags uint32; _clockid uint32; }
const _sizeof__umtx_time = 24
>From gcc-bugs-return-635977-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 15:29:35 2019
Return-Path: <gcc-bugs-return-635977-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 107632 invoked by alias); 3 Mar 2019 15:29: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 107579 invoked by uid 48); 3 Mar 2019 15:29:28 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/66089] [7/8/9 Regression] elemental dependency mishandling when derived types are involved
Date: Sun, 03 Mar 2019 15:29: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: 6.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-66089-4-443eK0QH1A@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66089-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66089-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: 2019-03/txt/msg00271.txt.bz2
Content-length: 1200

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66089

--- Comment #33 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
A much cleaner patch which gets us to the wrong code:

Index: trans-expr.c
===================================================================
--- trans-expr.c        (Revision 269260)
+++ trans-expr.c        (Arbeitskopie)
@@ -10510,6 +10510,9 @@
       if (is_poly_assign && expr2->rank == 0 && !UNLIMITED_POLY (expr2))
        rss->info->type = GFC_SS_REFERENCE;

+      gfc_fix_class_refs (rss->info->expr);
+      gfc_fix_class_refs (lss->info->expr);
+
       rss->no_bounds_check = expr2->no_bounds_check;
       /* Associate the SS with the loop.  */
       gfc_add_ss_to_loop (&loop, lss);

Now, gfc_conv_resolve_dependencies sets
ss_info->data.scalar.needs_temporary = 1 both for type and class,
but obviously the temporary is not being generated for class.

Digging deeper a bit, it seems that gfc_scalar_elemental_arg_saved_as_reference
returns true for the class (which generated wrong code), false for the
type.
>From gcc-bugs-return-635978-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 15:32:15 2019
Return-Path: <gcc-bugs-return-635978-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 110214 invoked by alias); 3 Mar 2019 15: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 110123 invoked by uid 48); 3 Mar 2019 15:32:09 -0000
From: "eyalroz at technion dot ac.il" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89567] New: [missed-optimization] Should not be initializing unused struct parameter members
Date: Sun, 03 Mar 2019 15: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: eyalroz at technion dot ac.il
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-89567-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: 2019-03/txt/msg00272.txt.bz2
Content-length: 1770

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89567

            Bug ID: 89567
           Summary: [missed-optimization] Should not be initializing
                    unused struct parameter members
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: eyalroz at technion dot ac.il
  Target Milestone: ---

The issue is captured in the example here:
https://gcc.godbolt.org/z/_U4X80

The issue was first described in this StackOverflow question:
https://stackoverflow.com/q/54964323/1593077


Consider the following code:

  __attribute__((noinline)) int foo1(int x, int y)
  {
    return x;
  }

  int bar1(int* a)
  {
    int b = foo1(a[5], a[10]);
    return b * b;
  }

GCC (with -O3) optimizes-out the initialization of the y parameter with the
a[10] argument, saving one of the two memory reads. This is good.

Now suppose we put those two int parameters into a struct:

 struct two_ints { int x, y; };

  __attribute__((noinline)) int foo2(struct two_ints s)
  {
    return s.x;
  }

  int bar2(int* a)
  {
    struct two_ints ti = { a[5], a[10] };
    int b = foo2(ti);
    return b * b;
  }

There shouldn't be any difference, right? The parameters (certainly as far as
the assembly, which recognizes no such thing as "structs", is concerned) are
two integers; and the second one is not used. So I would expect to see the same
assembly code. Yet... I don't. Both integers are initialized and two `mov    
eax, DWORD PTR [rdx+something]` instructions are executed.


This behavior also occurs also with "GCC trunk" on GodBolt, i.e. GCC version 
9.0.1.
>From gcc-bugs-return-635979-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 15:44:57 2019
Return-Path: <gcc-bugs-return-635979-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129264 invoked by alias); 3 Mar 2019 15:44:56 -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 129171 invoked by uid 48); 3 Mar 2019 15:44:51 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/66089] [7/8/9 Regression] elemental dependency mishandling when derived types are involved
Date: Sun, 03 Mar 2019 15:44: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: 6.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-66089-4-ZNnIND43j5@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66089-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66089-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: 2019-03/txt/msg00273.txt.bz2
Content-length: 1786

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66089

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pault at gcc dot gnu.org

--- Comment #34 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
This

Index: trans-expr.c
===================================================================
--- trans-expr.c        (Revision 269260)
+++ trans-expr.c        (Arbeitskopie)
@@ -10510,6 +10510,9 @@
       if (is_poly_assign && expr2->rank == 0 && !UNLIMITED_POLY (expr2))
        rss->info->type = GFC_SS_REFERENCE;

+      gfc_fix_class_refs (rss->info->expr);
+      gfc_fix_class_refs (lss->info->expr);
+
       rss->no_bounds_check = expr2->no_bounds_check;
       /* Associate the SS with the loop.  */
       gfc_add_ss_to_loop (&loop, lss);
Index: trans-array.c
===================================================================
--- trans-array.c       (Revision 269260)
+++ trans-array.c       (Arbeitskopie)
@@ -2699,6 +2699,8 @@
   if (ss_info->type != GFC_SS_REFERENCE)
     return false;

+  return false;
+
   /* If the actual argument can be absent (in other words, it can
      be a NULL reference), don't try to evaluate it; pass instead
      the reference directly.  */

"fixes" the test case from comment#32, but, as expected, causes no few
regressions.

Paul, if you happen to have an idea...
>From gcc-bugs-return-635980-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 18:39:54 2019
Return-Path: <gcc-bugs-return-635980-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63409 invoked by alias); 3 Mar 2019 18:39: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 63312 invoked by uid 48); 3 Mar 2019 18:39:49 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/87689] PowerPC64 ELFv2 function parameter passing violation
Date: Sun, 03 Mar 2019 18:39: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: patch, wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wschmidt at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-87689-4-4TeOskMUFe@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: 2019-03/txt/msg00274.txt.bz2
Content-length: 401

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87689

Bill Schmidt <wschmidt at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wschmidt at gcc dot gnu.org

--- Comment #30 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Thanks, Thomas!
>From gcc-bugs-return-635981-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 20:25:42 2019
Return-Path: <gcc-bugs-return-635981-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84104 invoked by alias); 3 Mar 2019 20:25:41 -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 83984 invoked by uid 55); 3 Mar 2019 20:25:30 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/77583] ICE in pp_quoted_string, at pretty-print.c:966
Date: Sun, 03 Mar 2019 20:25: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.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf 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-77583-4-l6LPHgmGoO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77583-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77583-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: 2019-03/txt/msg00275.txt.bz2
Content-length: 709

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77583

--- Comment #8 from anlauf at gcc dot gnu.org ---
Author: anlauf
Date: Sun Mar  3 20:24:53 2019
New Revision: 269353

URL: https://gcc.gnu.org/viewcvs?rev=269353&root=gcc&view=rev
Log:
2019-03-03  Harald Anlauf  <anlauf@gmx.de>
            Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/77583
        * symbol.c (check_conflict): Check for valid procedure name
        passed to error reporting routine.

        PR fortran/77583
        * gfortran.dg/pr77583.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/pr77583.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/symbol.c
    trunk/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635982-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 20:31:35 2019
Return-Path: <gcc-bugs-return-635982-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 99107 invoked by alias); 3 Mar 2019 20:31: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 98974 invoked by uid 55); 3 Mar 2019 20:31:18 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/77583] ICE in pp_quoted_string, at pretty-print.c:966
Date: Sun, 03 Mar 2019 20:31: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.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf 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-77583-4-p9nQoSMAov@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77583-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77583-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: 2019-03/txt/msg00276.txt.bz2
Content-length: 801

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77583

--- Comment #9 from anlauf at gcc dot gnu.org ---
Author: anlauf
Date: Sun Mar  3 20:30:44 2019
New Revision: 269354

URL: https://gcc.gnu.org/viewcvs?rev=269354&root=gcc&view=rev
Log:
2019-03-03  Harald Anlauf  <anlauf@gmx.de>
            Steven G. Kargl  <kargl@gcc.gnu.org>

        Backport from trunk
        PR fortran/77583
        * symbol.c (check_conflict): Check for valid procedure name
        passed to error reporting routine.

        PR fortran/77583
        * gfortran.dg/pr77583.f90: New test.


Added:
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr77583.f90
Modified:
    branches/gcc-8-branch/gcc/fortran/ChangeLog
    branches/gcc-8-branch/gcc/fortran/symbol.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635983-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 20:36:50 2019
Return-Path: <gcc-bugs-return-635983-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28243 invoked by alias); 3 Mar 2019 20:36: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 28159 invoked by uid 55); 3 Mar 2019 20:36:44 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/77583] ICE in pp_quoted_string, at pretty-print.c:966
Date: Sun, 03 Mar 2019 20: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.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf 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-77583-4-0XDbW0r9PW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77583-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77583-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: 2019-03/txt/msg00277.txt.bz2
Content-length: 802

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77583

--- Comment #10 from anlauf at gcc dot gnu.org ---
Author: anlauf
Date: Sun Mar  3 20:36:12 2019
New Revision: 269355

URL: https://gcc.gnu.org/viewcvs?rev=269355&root=gcc&view=rev
Log:
2019-03-03  Harald Anlauf  <anlauf@gmx.de>
            Steven G. Kargl  <kargl@gcc.gnu.org>

        Backport from trunk
        PR fortran/77583
        * symbol.c (check_conflict): Check for valid procedure name
        passed to error reporting routine.

        PR fortran/77583
        * gfortran.dg/pr77583.f90: New test.


Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/pr77583.f90
Modified:
    branches/gcc-7-branch/gcc/fortran/ChangeLog
    branches/gcc-7-branch/gcc/fortran/symbol.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-635984-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 20:37:29 2019
Return-Path: <gcc-bugs-return-635984-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36427 invoked by alias); 3 Mar 2019 20:37: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 36391 invoked by uid 48); 3 Mar 2019 20:37:23 -0000
From: "ppalka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/76577] Tree folding may remove UB which causes invalid constexpr function calls to be accepted
Date: Sun, 03 Mar 2019 20:37: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.0
X-Bugzilla-Keywords: accepts-invalid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ppalka at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-76577-4-bxosNLsHKU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-76577-4@http.gcc.gnu.org/bugzilla/>
References: <bug-76577-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: 2019-03/txt/msg00278.txt.bz2
Content-length: 478

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=76577

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Patrick Palka <ppalka at gcc dot gnu.org> ---
This looks now to be fixed on trunk, by the fix to PR89285.
>From gcc-bugs-return-635985-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 20:42:09 2019
Return-Path: <gcc-bugs-return-635985-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 63393 invoked by alias); 3 Mar 2019 20:42: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 63284 invoked by uid 48); 3 Mar 2019 20:42:04 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/77583] ICE in pp_quoted_string, at pretty-print.c:966
Date: Sun, 03 Mar 2019 20:42: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.0
X-Bugzilla-Keywords: diagnostic, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_status resolution target_milestone
Message-ID: <bug-77583-4-t1LPNNHYFv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77583-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77583-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: 2019-03/txt/msg00279.txt.bz2
Content-length: 553

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77583

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |7.5

--- Comment #11 from anlauf at gcc dot gnu.org ---
Fixed on trunk, 8- and 7-branches.
Closing.
>From gcc-bugs-return-635986-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 20:43:33 2019
Return-Path: <gcc-bugs-return-635986-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65161 invoked by alias); 3 Mar 2019 20:43: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 65060 invoked by uid 48); 3 Mar 2019 20:43:29 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/77908] Array operation fails for arrays with HUGE(kind=8) index bound
Date: Sun, 03 Mar 2019 20:43: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: 5.4.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WONTFIX
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-77908-4-kRQ0rpYIIW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-77908-4@http.gcc.gnu.org/bugzilla/>
References: <bug-77908-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: 2019-03/txt/msg00280.txt.bz2
Content-length: 627

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77908

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Array operation fails for   |Array operation fails for
                   |arrays with "long" indices  |arrays with HUGE(kind=8)
                   |                            |index bound

--- Comment #7 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Just to make sure that people understand what bug we've been closing when
they look up the WONTFIX bugs :-)
>From gcc-bugs-return-635987-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 21:38:30 2019
Return-Path: <gcc-bugs-return-635987-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9572 invoked by alias); 3 Mar 2019 21:38: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 8998 invoked by uid 48); 3 Mar 2019 21:38:24 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89562] std::filesystem::copy truncates files before byte with value 0x1A
Date: Sun, 03 Mar 2019 21:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
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: cf_gcctarget bug_status cf_reconfirmed_on version everconfirmed
Message-ID: <bug-89562-4-uiCirIH4Nz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89562-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89562-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: 2019-03/txt/msg00281.txt.bz2
Content-length: 632

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89562

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x86_64-w64-mingw32
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-03-03
            Version|8.3.0                       |9.0
     Ever confirmed|0                           |1

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Confirmed with gcc version 9.0.0 20190106
>From gcc-bugs-return-635988-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 21:48:52 2019
Return-Path: <gcc-bugs-return-635988-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86810 invoked by alias); 3 Mar 2019 21:48:52 -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 86537 invoked by uid 48); 3 Mar 2019 21:48:42 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88326] [7 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6085
Date: Sun, 03 Mar 2019 21:48: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status
Message-ID: <bug-88326-4-hpSZKYbJsT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88326-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88326-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: 2019-03/txt/msg00282.txt.bz2
Content-length: 743

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88326

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #8 from anlauf at gcc dot gnu.org ---
Fixed on 9-trunk and 8-branch.

My backporting attempt of the fix from PR89266 to 7-branch does fix this
PR, but still ICEs on the testcase for PR89266.  This may be related
to the changes for handling of string length, or something else.

Given that 7.5 will be the final 7-release, I find it too risky to
introduce potential new regressions.  If nobody objects, we might
close this PR.  (Target milestone 8.4?)
>From gcc-bugs-return-635990-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 21:50:15 2019
Return-Path: <gcc-bugs-return-635990-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90343 invoked by alias); 3 Mar 2019 21:50: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 90215 invoked by uid 48); 3 Mar 2019 21:50:11 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/31237] [meta-bug] TRANSFER intrinsic
Date: Sun, 03 Mar 2019 21:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.3.0
X-Bugzilla-Keywords: meta-bug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf 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 resolution
Message-ID: <bug-31237-4-efyjEWA2V7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-31237-4@http.gcc.gnu.org/bugzilla/>
References: <bug-31237-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: 2019-03/txt/msg00284.txt.bz2
Content-length: 499

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31237
Bug 31237 depends on bug 89492, which changed state.

Bug 89492 Summary: [9 Regression] Endless compilation of an invalid TRANSFER after r269177
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89492

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-635992-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 21:50:52 2019
Return-Path: <gcc-bugs-return-635992-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91946 invoked by alias); 3 Mar 2019 21:50:52 -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 91786 invoked by uid 48); 3 Mar 2019 21:50:48 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/31237] [meta-bug] TRANSFER intrinsic
Date: Sun, 03 Mar 2019 21:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.3.0
X-Bugzilla-Keywords: meta-bug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf 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 resolution
Message-ID: <bug-31237-4-sztu0q0dUY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-31237-4@http.gcc.gnu.org/bugzilla/>
References: <bug-31237-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: 2019-03/txt/msg00286.txt.bz2
Content-length: 491

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31237
Bug 31237 depends on bug 89516, which changed state.

Bug 89516 Summary: ICE in gfc_calculate_transfer_sizes at gcc/fortran/check.c:5506
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89516

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-635989-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 21:50:15 2019
Return-Path: <gcc-bugs-return-635989-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90296 invoked by alias); 3 Mar 2019 21:50: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 90187 invoked by uid 48); 3 Mar 2019 21:50:11 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89492] [9 Regression] Endless compilation of an invalid TRANSFER after r269177
Date: Sun, 03 Mar 2019 21:50: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: compile-time-hog, error-recovery
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
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-89492-4-gq7zy49bWC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89492-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89492-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: 2019-03/txt/msg00283.txt.bz2
Content-length: 417

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89492

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from anlauf at gcc dot gnu.org ---
Fixed on 9-trunk and 8-branch.
>From gcc-bugs-return-635991-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 21:50:51 2019
Return-Path: <gcc-bugs-return-635991-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91833 invoked by alias); 3 Mar 2019 21:50: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 91748 invoked by uid 48); 3 Mar 2019 21:50:47 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89516] ICE in gfc_calculate_transfer_sizes at gcc/fortran/check.c:5506
Date: Sun, 03 Mar 2019 21:50: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, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
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-89516-4-Rs5C0fbrXl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89516-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89516-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: 2019-03/txt/msg00285.txt.bz2
Content-length: 417

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89516

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from anlauf at gcc dot gnu.org ---
Fixed on 9-trunk and 8-branch.
>From gcc-bugs-return-635993-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 21:54:38 2019
Return-Path: <gcc-bugs-return-635993-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 51635 invoked by alias); 3 Mar 2019 21:54: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 45040 invoked by uid 48); 3 Mar 2019 21:54:34 -0000
From: "ppalka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/61112] Simple example triggers false-positive -Wmaybe-uninitialized warning
Date: Sun, 03 Mar 2019 21:54: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ppalka 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 resolution everconfirmed
Message-ID: <bug-61112-4-USujhNbXYx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61112-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61112-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: 2019-03/txt/msg00287.txt.bz2
Content-length: 1104

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61112

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |NEW
   Last reconfirmed|                            |2019-03-03
                 CC|                            |ppalka at gcc dot gnu.org
         Resolution|FIXED                       |---
     Ever confirmed|0                           |1

--- Comment #5 from Patrick Palka <ppalka at gcc dot gnu.org> ---
The underlying issue is still there, according to this slightly more
complicated test case:

int p;

void
foo (int x, int y, int z, int a)
{
  int w;
  if (x)
    w = z;
  if (y)
    w = 10;
  if (a)
    w = 67;

  if (x || y || a)
    p = w;
}

$ g++ 61112.c -O2 -Wall -fdump-tree-uninit-details
61112.c: In function ‘void foo(int, int, int, int)’:
61112.c:15:7: warning: ‘w’ may be used uninitialized in this function
[-Wmaybe-uninitialized]
   15 |     p = w;
>From gcc-bugs-return-635995-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 21:54:53 2019
Return-Path: <gcc-bugs-return-635995-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 61142 invoked by alias); 3 Mar 2019 21:54:52 -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 55053 invoked by uid 48); 3 Mar 2019 21:54:48 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89266] ICE with TRANSFER of len=0 character array constructor
Date: Sun, 03 Mar 2019 21:54: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: anlauf at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-89266-4-yFTe4tHbor@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89266-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89266-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: 2019-03/txt/msg00289.txt.bz2
Content-length: 798

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89266

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anlauf at gcc dot gnu.org

--- Comment #15 from anlauf at gcc dot gnu.org ---
Fixed on 9-trunk and 8-branch.

My backporting attempt of the fix from PR89266 to 7-branch unfortunately
does not fix this PR.  This may be related to the changes for handling of
string length, or something else.

(It appears to fix PR88326, though, which was a regression).

Given that 7.5 will be the final 7-release, I find it too risky to
introduce potential new regressions.  If nobody objects, we might
close this PR.  (Target milestone 8.4?)
>From gcc-bugs-return-635994-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 21:54:40 2019
Return-Path: <gcc-bugs-return-635994-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53015 invoked by alias); 3 Mar 2019 21:54: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 47559 invoked by uid 48); 3 Mar 2019 21:54:35 -0000
From: "ppalka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues
Date: Sun, 03 Mar 2019 21:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 4.1.0
X-Bugzilla-Keywords: diagnostic, meta-bug
X-Bugzilla-Severity: trivial
X-Bugzilla-Who: ppalka 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 resolution
Message-ID: <bug-24639-4-B15Lq31xNu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-24639-4@http.gcc.gnu.org/bugzilla/>
References: <bug-24639-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: 2019-03/txt/msg00288.txt.bz2
Content-length: 489

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639
Bug 24639 depends on bug 61112, which changed state.

Bug 61112 Summary: Simple example triggers false-positive -Wmaybe-uninitialized warning
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61112

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |NEW
         Resolution|FIXED                       |---
>From gcc-bugs-return-635996-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 21:57:12 2019
Return-Path: <gcc-bugs-return-635996-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32724 invoked by alias); 3 Mar 2019 21:57: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 26082 invoked by uid 48); 3 Mar 2019 21:57:07 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/31873] missed optimization: we don't move "invariant casts" out of loops
Date: Sun, 03 Mar 2019 21: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: 4.3.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egallager 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 see_also
Message-ID: <bug-31873-4-eUoQSHbS4U@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-31873-4@http.gcc.gnu.org/bugzilla/>
References: <bug-31873-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: 2019-03/txt/msg00290.txt.bz2
Content-length: 2104

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31873

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dberlin at gcc dot gnu.org,
                   |                            |kazu at codesourcery dot com,
                   |                            |roger at eyesopen dot com
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=25125

--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Dorit Naishlos from comment #0)
> This PR was originally opened against PRE (PR25809), but turns out PRE can't
> solve this problem, so here's a new PR instead:
> 
> In testcases that have reduction, like gcc.dg/vect/vect-reduc-2char.c and
> gcc.dg/vect-reduc-2short.c, the following casts appear:
> 
>         signed char sdiff;
>         unsigned char ux, udiff; 
>         sdiff_0 = ...
>         loop:
>            # sdiff_41 = PHI <sdiff_39, sdiff_0>;
>            .....
>            ux_36 = ....
>            udiff_37 = (unsigned char) sdiff_41;  
>            udiff_38 = x_36 + udiff_37;
>            sdiff_39 = (signed char) udiff_38;
>         end_loop
> 
> although these casts could be taken out of loop all together. i.e., transform
> the code into something like the following:
> 
>         signed char sdiff;
>         unsigned char ux, udiff;
>         sdiff_0 = ...
>         udiff_1 = (unsigned char) sdiff_0;
>         loop:
>            # udiff_3 = PHI <udiff_2, udiff_1>;
>            .....
>            ux_36 = ....
>            udiff_2 = ux_36 + udiff_3;
>         end_loop
>         sdiff_39 = (signed char) udiff_2;
> 
> see this discussion thread:
> http://gcc.gnu.org/ml/gcc-patches/2005-12/msg01827.html

thread says this is related to bug 25125; adding that under "See Also"
(also adding some people from the thread on cc)
>From gcc-bugs-return-635997-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 22:01:18 2019
Return-Path: <gcc-bugs-return-635997-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59738 invoked by alias); 3 Mar 2019 22:01: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 59660 invoked by uid 48); 3 Mar 2019 22:01:13 -0000
From: "egallager at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/32392] Support using -mrecip w/o additional Newton-Raphson run
Date: Sun, 03 Mar 2019 22:01: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: 4.3.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
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-32392-4-oEfrqXy9iJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-32392-4@http.gcc.gnu.org/bugzilla/>
References: <bug-32392-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: 2019-03/txt/msg00291.txt.bz2
Content-length: 1015

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32392

--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Tobias Burnus from comment #0)
> Paolo Bonzini wrote:
> >> That said, there is a whole bunch of applications that would kill for -mrecip, 
> > even for 11bit ones. Games are one of them, for sure ;)
> > What about -mrecip=0/1/2 for the number of NR steps? Or would two steps be 
> > slower than divss?
> >
> > I was thinking of adding this as a follow-up patch ;) Just look how the 
> > operations are grouped together.
> 
> As Richard pointed out: Having two NR does not make sense. For some cases
> doing with out Newton-Raphson is enough. (Example: Games -- or SPEC CPU
> 2006: http://www.hpcwire.com/hpc/1556972.html)

Link is dead; archive dot org link:
http://web.archive.org/web/20120528224320/http://archive.hpcwire.com/hpc/1556972.html

> 
> Other compilers have this option, e.g. Pathscale's -OPT:rsqrt=2 [yes, this
> is used for SPEC runs ;-)]
>From gcc-bugs-return-635998-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 22:02:11 2019
Return-Path: <gcc-bugs-return-635998-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 91281 invoked by alias); 3 Mar 2019 22:02: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 87087 invoked by uid 48); 3 Mar 2019 22:02:07 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89562] std::filesystem::copy truncates files before byte with value 0x1A
Date: Sun, 03 Mar 2019 22:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to
Message-ID: <bug-89562-4-rl2XzftZzo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89562-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89562-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: 2019-03/txt/msg00292.txt.bz2
Content-length: 506

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89562

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |redi at gcc dot gnu.org

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The files need to be opened in binary mode, because Windows.
>From gcc-bugs-return-635999-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 22:09:19 2019
Return-Path: <gcc-bugs-return-635999-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72748 invoked by alias); 3 Mar 2019 22:09:19 -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 72713 invoked by uid 48); 3 Mar 2019 22:09:15 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89266] ICE with TRANSFER of len=0 character array constructor
Date: Sun, 03 Mar 2019 22:09: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: dominiq at lps dot ens.fr
X-Bugzilla-Status: WAITING
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-89266-4-4fakZNFn89@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89266-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89266-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: 2019-03/txt/msg00293.txt.bz2
Content-length: 418

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89266

--- Comment #16 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Given that 7.5 will be the final 7-release, I find it too risky to
> introduce potential new regressions.  If nobody objects, we might
> close this PR.  (Target milestone 8.4?)

Makes sense for me. If someone really needs it in 7.5, (s)he can try the back
port in her/his working tree.
>From gcc-bugs-return-636001-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 22:11:00 2019
Return-Path: <gcc-bugs-return-636001-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74612 invoked by alias); 3 Mar 2019 22:10: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 74572 invoked by uid 48); 3 Mar 2019 22:10:56 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89077] ICE using * as len specifier for character parameter
Date: Sun, 03 Mar 2019 22:10: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
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-89077-4-EMzEBPUgAZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89077-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89077-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: 2019-03/txt/msg00295.txt.bz2
Content-length: 168

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89077

--- Comment #20 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Is there any plan to back port r268973?
>From gcc-bugs-return-636000-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 22:10:02 2019
Return-Path: <gcc-bugs-return-636000-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73666 invoked by alias); 3 Mar 2019 22: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 73573 invoked by uid 48); 3 Mar 2019 22:09:57 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88326] [7 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6085
Date: Sun, 03 Mar 2019 22:10: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88326-4-KwdeDgfDZt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88326-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88326-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: 2019-03/txt/msg00294.txt.bz2
Content-length: 417

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88326

--- Comment #9 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Given that 7.5 will be the final 7-release, I find it too risky to
> introduce potential new regressions.  If nobody objects, we might
> close this PR.  (Target milestone 8.4?)

Makes sense for me. If someone really needs it in 7.5, (s)he can try the back
port in her/his working tree.
>From gcc-bugs-return-636002-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 22:24:45 2019
Return-Path: <gcc-bugs-return-636002-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83956 invoked by alias); 3 Mar 2019 22:24: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 83563 invoked by uid 55); 3 Mar 2019 22:24:06 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89562] std::filesystem::copy truncates files before byte with value 0x1A
Date: Sun, 03 Mar 2019 22:24:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89562-4-cfVk8YwzHl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89562-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89562-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: 2019-03/txt/msg00296.txt.bz2
Content-length: 529

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89562

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Sun Mar  3 22:23:33 2019
New Revision: 269356

URL: https://gcc.gnu.org/viewcvs?rev=269356&root=gcc&view=rev
Log:
PR libstdc++/89562 use binary mode for file I/O

        PR libstdc++/89562
        * src/filesystem/ops-common.h (do_copy_file): Open files in binary
        mode for mingw.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/src/filesystem/ops-common.h
>From gcc-bugs-return-636004-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 22:25:34 2019
Return-Path: <gcc-bugs-return-636004-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 87928 invoked by alias); 3 Mar 2019 22:25: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 87222 invoked by uid 48); 3 Mar 2019 22:25:28 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/88326] [7 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6085
Date: Sun, 03 Mar 2019 22:25: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-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-88326-4-zWHZnbjphP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88326-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88326-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: 2019-03/txt/msg00298.txt.bz2
Content-length: 486

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88326

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED

--- Comment #10 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
I concur. Closing, then.

Thanks for the bug report and the fix!
>From gcc-bugs-return-636003-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 22:25:27 2019
Return-Path: <gcc-bugs-return-636003-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 85954 invoked by alias); 3 Mar 2019 22: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 84066 invoked by uid 55); 3 Mar 2019 22:24:42 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89077] ICE using * as len specifier for character parameter
Date: Sun, 03 Mar 2019 22:25: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf 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-89077-4-ilpZIFilyu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89077-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89077-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: 2019-03/txt/msg00297.txt.bz2
Content-length: 1155

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89077

--- Comment #21 from anlauf at gcc dot gnu.org ---
Author: anlauf
Date: Sun Mar  3 22:24:00 2019
New Revision: 269357

URL: https://gcc.gnu.org/viewcvs?rev=269357&root=gcc&view=rev
Log:
2019-03-03  Harald Anlauf  <anlauf@gmx.de>

        Backport from trunk
        PR fortran/89077
        * decl.c (gfc_set_constant_character_len): Clear original string
        representation after padding has been performed to target length.
        * resolve.c (gfc_resolve_substring_charlen): Check substring
        length for constantness prior to general calculation of length.

        Backport from trunk
        PR fortran/89077
        * gfortran.dg/transfer_simplify_12.f90: New test.
        * gfortran.dg/substr_simplify.f90: New test.


Added:
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/substr_simplify.f90
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/transfer_simplify_12.f90
Modified:
    branches/gcc-8-branch/gcc/fortran/ChangeLog
    branches/gcc-8-branch/gcc/fortran/decl.c
    branches/gcc-8-branch/gcc/fortran/resolve.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
>From gcc-bugs-return-636005-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 22:25:37 2019
Return-Path: <gcc-bugs-return-636005-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88237 invoked by alias); 3 Mar 2019 22:25:36 -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 87560 invoked by uid 48); 3 Mar 2019 22:25:31 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/31237] [meta-bug] TRANSFER intrinsic
Date: Sun, 03 Mar 2019 22:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.3.0
X-Bugzilla-Keywords: meta-bug
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 resolution
Message-ID: <bug-31237-4-rZjaRDiNNe@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-31237-4@http.gcc.gnu.org/bugzilla/>
References: <bug-31237-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: 2019-03/txt/msg00299.txt.bz2
Content-length: 507

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31237
Bug 31237 depends on bug 88326, which changed state.

Bug 88326 Summary: [7 Regression] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6085
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88326

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-636006-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 22:27:41 2019
Return-Path: <gcc-bugs-return-636006-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102548 invoked by alias); 3 Mar 2019 22:27: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 102472 invoked by uid 48); 3 Mar 2019 22:27:36 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89077] ICE using * as len specifier for character parameter
Date: Sun, 03 Mar 2019 22:27: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone
Message-ID: <bug-89077-4-vLxpANuDiT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89077-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89077-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: 2019-03/txt/msg00300.txt.bz2
Content-length: 624

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89077

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |anlauf at gcc dot gnu.org
         Resolution|---                         |FIXED
   Target Milestone|---                         |8.4

--- Comment #22 from anlauf at gcc dot gnu.org ---
Fixed on 9-trunk and 8-branch.

Backporting patches parts 2 and 3 to 7-branch may be too risky.

So closing.
>From gcc-bugs-return-636007-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 22:27:42 2019
Return-Path: <gcc-bugs-return-636007-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102640 invoked by alias); 3 Mar 2019 22:27:41 -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 102499 invoked by uid 48); 3 Mar 2019 22:27:37 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/31237] [meta-bug] TRANSFER intrinsic
Date: Sun, 03 Mar 2019 22:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.3.0
X-Bugzilla-Keywords: meta-bug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf 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 resolution
Message-ID: <bug-31237-4-lw5lZ1hqbb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-31237-4@http.gcc.gnu.org/bugzilla/>
References: <bug-31237-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: 2019-03/txt/msg00301.txt.bz2
Content-length: 478

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31237
Bug 31237 depends on bug 89077, which changed state.

Bug 89077 Summary: ICE using * as len specifier for character parameter
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89077

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-636010-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 22:31:16 2019
Return-Path: <gcc-bugs-return-636010-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105964 invoked by alias); 3 Mar 2019 22:31: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 105737 invoked by uid 48); 3 Mar 2019 22:31:11 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/31237] [meta-bug] TRANSFER intrinsic
Date: Sun, 03 Mar 2019 22:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.3.0
X-Bugzilla-Keywords: meta-bug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf 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 resolution
Message-ID: <bug-31237-4-8zmy9y8GgG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-31237-4@http.gcc.gnu.org/bugzilla/>
References: <bug-31237-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: 2019-03/txt/msg00303.txt.bz2
Content-length: 482

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31237
Bug 31237 depends on bug 89266, which changed state.

Bug 89266 Summary: ICE with TRANSFER of len=0 character array constructor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89266

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-636008-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 22:31:15 2019
Return-Path: <gcc-bugs-return-636008-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105788 invoked by alias); 3 Mar 2019 22:31: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 105680 invoked by uid 48); 3 Mar 2019 22:31:10 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89266] ICE with TRANSFER of len=0 character array constructor
Date: Sun, 03 Mar 2019 22:31: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: anlauf at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-89266-4-C4Ck0NDJTL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89266-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89266-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: 2019-03/txt/msg00302.txt.bz2
Content-length: 811

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89266

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |8.4

--- Comment #17 from anlauf at gcc dot gnu.org ---
(In reply to Dominique d'Humieres from comment #16)
> > Given that 7.5 will be the final 7-release, I find it too risky to
> > introduce potential new regressions.  If nobody objects, we might
> > close this PR.  (Target milestone 8.4?)
> 
> Makes sense for me. If someone really needs it in 7.5, (s)he can try the
> back port in her/his working tree.

OK, so closing.
>From gcc-bugs-return-636009-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 22:31:15 2019
Return-Path: <gcc-bugs-return-636009-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 105806 invoked by alias); 3 Mar 2019 22:31: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 105704 invoked by uid 48); 3 Mar 2019 22:31:11 -0000
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/19276] [meta-bug] CHARACTER related bugs in gfortran
Date: Sun, 03 Mar 2019 22:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.0.0
X-Bugzilla-Keywords: meta-bug
X-Bugzilla-Severity: normal
X-Bugzilla-Who: anlauf 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-19276-4-wmH1XlIwJa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-19276-4@http.gcc.gnu.org/bugzilla/>
References: <bug-19276-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: 2019-03/txt/msg00304.txt.bz2
Content-length: 482

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19276
Bug 19276 depends on bug 89266, which changed state.

Bug 89266 Summary: ICE with TRANSFER of len=0 character array constructor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89266

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-636012-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 22:42:30 2019
Return-Path: <gcc-bugs-return-636012-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 127224 invoked by alias); 3 Mar 2019 22:42: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 127020 invoked by uid 48); 3 Mar 2019 22:42:25 -0000
From: "0xe2.0x9a.0x9b at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89557] [7/8 regression] 4*movq to 2*movaps IPC performance regression on znver1 with -Og
Date: Sun, 03 Mar 2019 22: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: 8.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: 0xe2.0x9a.0x9b 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:
Message-ID: <bug-89557-4-hxmKQfVIsh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89557-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89557-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: 2019-03/txt/msg00306.txt.bz2
Content-length: 501

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89557

--- Comment #4 from Jan Ziak (http://atom-symbol.net) <0xe2.0x9a.0x9b at gmail dot com> ---
Without the aligned(16) attribute the alignment of the struct in my code is 8
bytes, struct size remains to be 16 bytes:

GCC 8.2.0 generates (-Og, no -march/mtune):

  movq $2, 0x80(%rsp)
  movsd %xmm0, 0x88(%rsp)
  movdqa 0x80(%rsp), %xmm6
  movups %xmm6, 0x30(%rsp)

The movups used here has approximately the same performance as movaps on
znver1.
>From gcc-bugs-return-636011-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Mar 03 22:42:22 2019
Return-Path: <gcc-bugs-return-636011-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126575 invoked by alias); 3 Mar 2019 22:42: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 126545 invoked by uid 48); 3 Mar 2019 22:42:18 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/89562] std::filesystem::copy truncates files before byte with value 0x1A
Date: Sun, 03 Mar 2019 22:42:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-89562-4-1MhCmNJd8S@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89562-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89562-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: 2019-03/txt/msg00305.txt.bz2
Content-length: 565

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89562

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |9.0

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fied on trunk. I can't even compile gcc-8-branch for mingw so I'm not going to
backport it.
>From gcc-bugs-return-636013-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 00:04:57 2019
Return-Path: <gcc-bugs-return-636013-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27725 invoked by alias); 4 Mar 2019 00:04:56 -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 27696 invoked by uid 48); 4 Mar 2019 00:04:52 -0000
From: "barry.revzin at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89568] New: constexpr functions are implicitly noexcept
Date: Mon, 04 Mar 2019 00:04: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: barry.revzin 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-89568-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: 2019-03/txt/msg00307.txt.bz2
Content-length: 753

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89568

            Bug ID: 89568
           Summary: constexpr functions are implicitly noexcept
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: barry.revzin at gmail dot com
  Target Milestone: ---

Short repro:

struct Y { };

          bool operator<(Y a, Y b) { return false; }
constexpr bool operator>(Y a, Y b) { return false; }

static_assert(!noexcept(Y{} > Y{}));
static_assert(!noexcept(Y{} < Y{}));

Neither case should be noexcept, since neither function is marked noexcept, but
the first static assertion triggers.
>From gcc-bugs-return-636014-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 01:11:49 2019
Return-Path: <gcc-bugs-return-636014-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 31693 invoked by alias); 4 Mar 2019 01:11: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 31618 invoked by uid 48); 4 Mar 2019 01:11:43 -0000
From: "gccbugzilla at limegreensocks dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89482] arm aarch32 inline assembly w constraints generate s registers instead of d
Date: Mon, 04 Mar 2019 01:11: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: documentation
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gccbugzilla at limegreensocks dot com
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-89482-4-DS7tI4SHn7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89482-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89482-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: 2019-03/txt/msg00308.txt.bz2
Content-length: 281

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89482

--- Comment #11 from David <gccbugzilla at limegreensocks dot com> ---
(In reply to Ciro Santilli from comment #10)
> If I do start work, I'll ping here to avoid work duplication.

Do.  I have some resources I could email you.
>From gcc-bugs-return-636015-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 01:39:01 2019
Return-Path: <gcc-bugs-return-636015-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 83374 invoked by alias); 4 Mar 2019 01:39: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 83299 invoked by uid 55); 4 Mar 2019 01:38:57 -0000
From: "amker at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89487] [8/9 Regression] ICE in expand_expr_addr_expr_1, at expr.c:7993
Date: Mon, 04 Mar 2019 01:39: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: amker at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: amker at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89487-4-Z8aU4ohW9f@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89487-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89487-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: 2019-03/txt/msg00309.txt.bz2
Content-length: 916

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89487

--- Comment #6 from bin cheng <amker at gcc dot gnu.org> ---
Author: amker
Date: Mon Mar  4 01:38:25 2019
New Revision: 269361

URL: https://gcc.gnu.org/viewcvs?rev=269361&root=gcc&view=rev
Log:
        PR tree-optimization/89487
        * tree-loop-distribution.c (has_nonaddressable_dataref_p): New.
        (create_rdg_vertices): Compute has_nonaddressable_dataref_p.
        (distribute_loop): Don't do runtime alias check if there is non-
        addressable data reference.
        * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Check if VAR_DECL
        is a register variable.

        * gcc/testsuite/gcc.dg/tree-ssa/pr89487.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr89487.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-loop-distribution.c
    trunk/gcc/tree-ssa-loop-ivopts.c
>From gcc-bugs-return-636016-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 02:03:47 2019
Return-Path: <gcc-bugs-return-636016-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 72960 invoked by alias); 4 Mar 2019 02:03: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 72902 invoked by uid 48); 4 Mar 2019 02:03:42 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89565] [C++2a] ICE on template instantiating user defined non-type template from template value member
Date: Mon, 04 Mar 2019 02:03: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: 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-89565-4-bswqQG1hl0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89565-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89565-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: 2019-03/txt/msg00310.txt.bz2
Content-length: 649

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89565

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-03-04
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
An ICE in unify_one_argument started with r243867.  Changed into an ICE in
resole_args in r245796.
>From gcc-bugs-return-636017-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 02:46:26 2019
Return-Path: <gcc-bugs-return-636017-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126651 invoked by alias); 4 Mar 2019 02:46: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 126349 invoked by uid 48); 4 Mar 2019 02:45:56 -0000
From: "jg at jguk dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89569] New: line number is not accurate on large file gcc compared to clang
Date: Mon, 04 Mar 2019 02:46: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.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jg at jguk dot 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-89569-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: 2019-03/txt/msg00311.txt.bz2
Content-length: 1170

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89569

            Bug ID: 89569
           Summary: line number is not accurate on large file gcc compared
                    to clang
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jg at jguk dot org
  Target Milestone: ---

Line number not accurate, and not expected wraparound value. Clang shows
expected 3 (it wraps around uint32), GCC shows 270860129


1. Compile cre_test.c
2. run ./cre_line.o >test.c
3. gcc-8 -Wall -o test test.c
4. observe the warning line number incorrect

$ clang-7 -Wall -o test2 test.c
test.c:3:2: warning: msg1 [-W#warnings]


$ gcc-8 -Wall -o test test.c
test.c: In function ‘main’:
test.c:270856150: warning: #warning msg1 [-Wcpp]




// gcc -Wall -o cre_line cre_line.c

#include <stdio.h>

int main()
{
    printf("#include <stdio.h>\nint main() {\n");

    for(size_t i = 0; i != 4294967296; ++i)
    {
        printf("\n");
    }

    printf("#warning msg1\n return 0;");

    return 0;
}
>From gcc-bugs-return-636018-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 02:57:35 2019
Return-Path: <gcc-bugs-return-636018-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59302 invoked by alias); 4 Mar 2019 02:57: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 59219 invoked by uid 48); 4 Mar 2019 02:57:31 -0000
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/54936] ICE: in prepare_cmp_insn, at optabs.c:4177 with -fnon-call-exceptions and vector float compare
Date: Mon, 04 Mar 2019 02:57: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: 4.7.3
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: asolokha at gmx 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: cc
Message-ID: <bug-54936-4-CEeDbjJw9U@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-54936-4@http.gcc.gnu.org/bugzilla/>
References: <bug-54936-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: 2019-03/txt/msg00312.txt.bz2
Content-length: 417

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54936

Arseny Solokha <asolokha at gmx dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |asolokha at gmx dot com

--- Comment #3 from Arseny Solokha <asolokha at gmx dot com> ---
I believe this PR can be finally closed.
>From gcc-bugs-return-636019-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 02:57:38 2019
Return-Path: <gcc-bugs-return-636019-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59607 invoked by alias); 4 Mar 2019 02:57: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 59263 invoked by uid 48); 4 Mar 2019 02:57:33 -0000
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89570] New: [9 Regression] ICE in prepare_cmp_insn, at optabs.c:4001
Date: Mon, 04 Mar 2019 02:57: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: asolokha at gmx 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 keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget
Message-ID: <bug-89570-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: 2019-03/txt/msg00313.txt.bz2
Content-length: 3176

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89570

            Bug ID: 89570
           Summary: [9 Regression] ICE in prepare_cmp_insn, at
                    optabs.c:4001
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---
            Target: powerpc-*-linux-gnu*

gcc-9.0.0-alpha20190224 snapshot (r269177) ICEs when compiling the following
testcase w/ -mvsx -O1 -ftree-vectorize -fno-trapping-math -fno-tree-dce
-fno-tree-dominator-opts:

void
e6 (double *xt, double *w4, double *mg)
{
  int tj;

  for (tj = 0; tj < 7; tj += 2)
    {
      xt[tj] = w4[tj] ? mg[tj] / 2.0 : mg[tj];
      xt[tj + 1] = w4[tj + 1] ? mg[tj + 1] / 2.0 : mg[tj + 1];
    }
}

% powerpc-e300c3-linux-gnu-gcc-9.0.0-alpha20190224 -mvsx -O1 -ftree-vectorize
-fno-trapping-math -fno-tree-dce -fno-tree-dominator-opts -c v3agviey.c
during RTL pass: expand
v3agviey.c: In function 'e6':
v3agviey.c:2:1: internal compiler error: in prepare_cmp_insn, at optabs.c:4001
    2 | e6 (double *xt, double *w4, double *mg)
      | ^~
0x62fab1 prepare_cmp_insn
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/optabs.c:4001
0xc15be6 emit_cmp_and_jump_insns(rtx_def*, rtx_def*, rtx_code, rtx_def*,
machine_mode, int, rtx_def*, profile_probability)
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/optabs.c:4146
0x939dfc do_compare_rtx_and_jump(rtx_def*, rtx_def*, rtx_code, int,
machine_mode, rtx_def*, rtx_code_label*, rtx_code_label*, profile_probability)
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/dojump.c:1171
0x93babd do_compare_and_jump
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/dojump.c:1245
0x93d1f4 do_jump_1
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/dojump.c:198
0x9ead1d expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/expr.c:9413
0x8bd6f8 expand_gimple_stmt_1
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/cfgexpand.c:3789
0x8bd6f8 expand_gimple_stmt
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/cfgexpand.c:3850
0x8be227 expand_gimple_basic_block
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/cfgexpand.c:5886
0x8c4427 execute
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-9.0.0_alpha20190224/work/gcc-9-20190224/gcc/cfgexpand.c:6509
>From gcc-bugs-return-636020-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 04:00:57 2019
Return-Path: <gcc-bugs-return-636020-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9063 invoked by alias); 4 Mar 2019 04:00:56 -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 9027 invoked by uid 48); 4 Mar 2019 04:00:51 -0000
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89571] New: [9 Regression] ICE in nothrow_spec_p, at cp/except.c:1238
Date: Mon, 04 Mar 2019 04:00: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: error-recovery, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: asolokha at gmx 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 keywords bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-89571-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: 2019-03/txt/msg00314.txt.bz2
Content-length: 4970

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89571

            Bug ID: 89571
           Summary: [9 Regression] ICE in nothrow_spec_p, at
                    cp/except.c:1238
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: error-recovery, ice-on-invalid-code
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---

g++-9.0.0-alpha20190303 snapshot (r269357) ICEs when compiling the following
testcase:

struct z8 {
  constexpr static int qq /* = 0 */;
};

template<typename T>
struct kf {
  kf (const kf &) noexcept (T::qq);
};

struct lk {
  kf<z8> e1;
};

template<typename T>
T &sc ();

struct b6 {
  decltype (lk (sc<lk> ())) zz;
};

% g++-9.0.0-alpha20190303 -c ldifdhlp.cpp
ldifdhlp.cpp:2:24: error: 'constexpr' static data member 'qq' must have an
initializer
    2 |   constexpr static int qq /* = 0 */;
      |                        ^~
ldifdhlp.cpp: In instantiation of 'kf<T>::kf(const kf<T>&) [with T = z8]':
ldifdhlp.cpp:18:26:   required from here
ldifdhlp.cpp:7:3: error: the value of 'z8::qq' is not usable in a constant
expression
    7 |   kf (const kf &) noexcept (T::qq);
      |   ^~
ldifdhlp.cpp:2:24: note: 'z8::qq' was not initialized with a constant
expression
    2 |   constexpr static int qq /* = 0 */;
      |                        ^~
ldifdhlp.cpp:18:26: internal compiler error: in nothrow_spec_p, at
cp/except.c:1238
   18 |   decltype (lk (sc<lk> ())) zz;
      |                          ^
0x602261 nothrow_spec_p(tree_node const*)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190303/work/gcc-9-20190303/gcc/cp/except.c:1238
0x88e2f8 set_flags_from_callee(tree_node*)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190303/work/gcc-9-20190303/gcc/cp/call.c:334
0x88e443 build_call_a(tree_node*, int, tree_node**)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190303/work/gcc-9-20190303/gcc/cp/call.c:369
0x89047c build_cxx_call(tree_node*, int, tree_node**, int)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190303/work/gcc-9-20190303/gcc/cp/call.c:9043
0x894579 build_over_call
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190303/work/gcc-9-20190303/gcc/cp/call.c:8586
0x896eff build_new_method_call_1
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190303/work/gcc-9-20190303/gcc/cp/call.c:9775
0x896eff build_new_method_call(tree_node*, tree_node*, vec<tree_node*, va_gc,
vl_embed>**, tree_node*, int, tree_node**, int)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190303/work/gcc-9-20190303/gcc/cp/call.c:9850
0x897c69 build_special_member_call(tree_node*, tree_node*, vec<tree_node*,
va_gc, vl_embed>**, tree_node*, int, int)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190303/work/gcc-9-20190303/gcc/cp/call.c:9274
0x8a289b perform_direct_initialization_if_possible(tree_node*, tree_node*,
bool, int)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190303/work/gcc-9-20190303/gcc/cp/call.c:11136
0xa6b329 build_static_cast_1
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190303/work/gcc-9-20190303/gcc/cp/typeck.c:7178
0xa6f6c7 cp_build_c_cast(tree_node*, tree_node*, int)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190303/work/gcc-9-20190303/gcc/cp/typeck.c:7974
0xa6f6c7 cp_build_c_cast(tree_node*, tree_node*, int)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190303/work/gcc-9-20190303/gcc/cp/typeck.c:7891
0xa7b6bf build_functional_cast(tree_node*, tree_node*, int)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190303/work/gcc-9-20190303/gcc/cp/typeck2.c:2263
0x997aa4 cp_parser_functional_cast
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190303/work/gcc-9-20190303/gcc/cp/parser.c:28288
0x9aa111 cp_parser_postfix_expression
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190303/work/gcc-9-20190303/gcc/cp/parser.c:7098
0x9ac22d cp_parser_decltype_expr
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190303/work/gcc-9-20190303/gcc/cp/parser.c:14530
0x9ac22d cp_parser_decltype
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190303/work/gcc-9-20190303/gcc/cp/parser.c:14626
0x9ac9ef cp_parser_qualifying_entity
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190303/work/gcc-9-20190303/gcc/cp/parser.c:6669
0x9ac9ef cp_parser_nested_name_specifier_opt
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190303/work/gcc-9-20190303/gcc/cp/parser.c:6379
0x9ad353 cp_parser_nested_name_specifier
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190303/work/gcc-9-20190303/gcc/cp/parser.c:6619
>From gcc-bugs-return-636021-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 06:24:41 2019
Return-Path: <gcc-bugs-return-636021-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14585 invoked by alias); 4 Mar 2019 06:24: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 14472 invoked by uid 48); 4 Mar 2019 06:24:33 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89570] [9 Regression] ICE in prepare_cmp_insn, at optabs.c:4001
Date: Mon, 04 Mar 2019 06:24: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: 9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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: component target_milestone
Message-ID: <bug-89570-4-jQowMdQV1Q@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89570-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89570-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: 2019-03/txt/msg00315.txt.bz2
Content-length: 352

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89570

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|rtl-optimization            |middle-end
   Target Milestone|---                         |9.0
>From gcc-bugs-return-636022-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 06:40:02 2019
Return-Path: <gcc-bugs-return-636022-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26484 invoked by alias); 4 Mar 2019 06:40: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 26417 invoked by uid 48); 4 Mar 2019 06:39:58 -0000
From: "alexey.kutumov at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89533] G++ incorrectly generates noexcept assignment operator
Date: Mon, 04 Mar 2019 06:40: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.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: alexey.kutumov 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-89533-4-SL0QN8tpmO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89533-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89533-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: 2019-03/txt/msg00316.txt.bz2
Content-length: 520

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89533

--- Comment #1 from Alexey Kutumov <alexey.kutumov at gmail dot com> ---
Hi, 

FYI, i`ve filed same bug to clang`s bugzilla:
https://bugs.llvm.org/show_bug.cgi?id=40896

There is a comment from clang bug:

Richard Smith 2019-03-01 21:13:38 PST
I would consider this to be both a Clang bug and a bug in the standard's
wording. I think it's clear that we should be considering whether the copy
constructor throws as well as whether the assignment operator throws.
>From gcc-bugs-return-636023-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 06:57:44 2019
Return-Path: <gcc-bugs-return-636023-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43120 invoked by alias); 4 Mar 2019 06:57:44 -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 43087 invoked by uid 48); 4 Mar 2019 06:57:40 -0000
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89572] New: ICE in dyn_cast<gcond*, gimple>(gimple*) / get_loop_exit_condition(loop const*)
Date: Mon, 04 Mar 2019 06:57: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: asolokha at gmx 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 keywords bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-89572-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: 2019-03/txt/msg00317.txt.bz2
Content-length: 2272

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89572

            Bug ID: 89572
           Summary: ICE in dyn_cast<gcond*, gimple>(gimple*) /
                    get_loop_exit_condition(loop const*)
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---

Another __attribute__((returns_twice)) issue.

gcc-9.0.0-alpha20190303 snapshot (r269357), 8.3, 7.3, 6.3, 5.4, 4.9.4 all ICE
when compiling the following testcase w/ -O2 -finline-functions:

int vh, it, k1;

void
vn (void)
{
  ++vh;
  if (vh == 0 && it == 0)
    k1 = -k1;
}

__attribute__ ((returns_twice)) void
ef (int *uw)
{
  while (uw != (void *) 0)
    {
      vn ();
      *uw = 0;
    }
}

void
gu (int *uw)
{
  ef (uw);
}

% gcc-9.0.0-alpha20190303 -O2 -finline-functions -c qnf39r7s.c
during GIMPLE pass: ivopts
qnf39r7s.c: In function 'gu':
qnf39r7s.c:22:1: internal compiler error: Segmentation fault
   22 | gu (int *uw)
      | ^~
0xd6fc4f crash_signal
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190303/work/gcc-9-20190303/gcc/toplev.c:326
0xe4314d gcond* dyn_cast<gcond*, gimple>(gimple*)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190303/work/gcc-9-20190303/gcc/is-a.h:224
0xe4314d get_loop_exit_condition(loop const*)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190303/work/gcc-9-20190303/gcc/tree-scalar-evolution.c:913
0xfe2e27 find_loop_location(loop*)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190303/work/gcc-9-20190303/gcc/tree-vect-loop-manip.c:1322
0xec2e52 tree_ssa_iv_optimize_loop
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190303/work/gcc-9-20190303/gcc/tree-ssa-loop-ivopts.c:7538
0xec2e52 tree_ssa_iv_optimize()
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190303/work/gcc-9-20190303/gcc/tree-ssa-loop-ivopts.c:7628
0xee1f80 execute
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190303/work/gcc-9-20190303/gcc/tree-ssa-loop.c:513
>From gcc-bugs-return-636024-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 08:32:23 2019
Return-Path: <gcc-bugs-return-636024-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106425 invoked by alias); 4 Mar 2019 08:32: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 106056 invoked by uid 48); 4 Mar 2019 08:32:19 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/88652] sel-sched.c:1545:11: runtime error: index 2 out of bounds for type 'long unsigned int [2]'
Date: Mon, 04 Mar 2019 08:32: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: 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:
Message-ID: <bug-88652-4-2uvqWm9rQ0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88652-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88652-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: 2019-03/txt/msg00318.txt.bz2
Content-length: 153

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88652

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Any progress on this please?
>From gcc-bugs-return-636025-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 08:39:31 2019
Return-Path: <gcc-bugs-return-636025-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2570 invoked by alias); 4 Mar 2019 08:39: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 2491 invoked by uid 48); 4 Mar 2019 08:39:26 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89549] [7/8/9 Regression] -Wmisleading-indentation is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers
Date: Mon, 04 Mar 2019 08:39: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: diagnostic
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: attachments.created
Message-ID: <bug-89549-4-QNDE2qjtPF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89549-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89549-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: 2019-03/txt/msg00319.txt.bz2
Content-length: 234

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89549

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Created attachment 45877
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45877&action=edit
test-case
>From gcc-bugs-return-636026-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 08:40:04 2019
Return-Path: <gcc-bugs-return-636026-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4024 invoked by alias); 4 Mar 2019 08:40: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 3745 invoked by uid 48); 4 Mar 2019 08:40:00 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89549] [7/8/9 Regression] -Wmisleading-indentation is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers
Date: Mon, 04 Mar 2019 08:40: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: diagnostic
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:
Message-ID: <bug-89549-4-asSJgnxnOM@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89549-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89549-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: 2019-03/txt/msg00320.txt.bz2
Content-length: 232

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89549

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Unreduced test-case:
https://drive.google.com/file/d/1Fp8OE7frCHNglDQ5CTGyBaQXHkeeD-vZ/view?usp=sharing
>From gcc-bugs-return-636027-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 08:52:30 2019
Return-Path: <gcc-bugs-return-636027-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24457 invoked by alias); 4 Mar 2019 08:52: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 24338 invoked by uid 48); 4 Mar 2019 08:52:26 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86952] Avoid jump table for switch statement with -mindirect-branch=thunk
Date: Mon, 04 Mar 2019 08: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: 9.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-86952-4-k3cYr17AX4@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86952-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86952-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: 2019-03/txt/msg00321.txt.bz2
Content-length: 1147

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86952

--- Comment #17 from Martin Liška <marxin at gcc dot gnu.org> ---
> I leave that up to you guys, but I would at min probably implement something
> like s390 folks did for gcc, commit db7a90aa0de5 ("S/390: Disable prediction
> of indirect branches"), see s390_case_values_threshold() which does:

Sure, that's probably the right approach. I would appreciate help with the
benchmark.
Can you please come up with a --param case-values-threshold value that will
show
when a jump table (w/ retpolines) is equally fast as a decision tree
(-fno-jump-tables)?

> 
> +unsigned int
> +s390_case_values_threshold (void)
> +{
> +  /* Disabling branch prediction for indirect jumps makes jump tables
> +     much more expensive.  */
> +  if (TARGET_INDIRECT_BRANCH_NOBP_JUMP)
> +    return 20;
> +
> +  return default_case_values_threshold ();
> +}
> 
> > For x86 something similar could be done. Anyway, H.J. Lu asked me
> > > to reopen this issue (but seems like I cannot make this change from my
> > > account).
> > 
> > Yep, I would need an account ending with @gcc.org to change a bug.
>From gcc-bugs-return-636028-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 09:09:57 2019
Return-Path: <gcc-bugs-return-636028-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 120603 invoked by alias); 4 Mar 2019 09:09: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 120526 invoked by uid 48); 4 Mar 2019 09:09:50 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89549] [7/8/9 Regression] -Wmisleading-indentation is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers
Date: Mon, 04 Mar 2019 09:09: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: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority target_milestone
Message-ID: <bug-89549-4-XRrKEXPNj6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89549-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89549-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: 2019-03/txt/msg00322.txt.bz2
Content-length: 345

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89549

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
   Target Milestone|---                         |7.5
>From gcc-bugs-return-636030-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 09:10:30 2019
Return-Path: <gcc-bugs-return-636030-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122531 invoked by alias); 4 Mar 2019 09:10: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 122340 invoked by uid 48); 4 Mar 2019 09:10:26 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89551] [9 regression] Test case gcc.dg/uninit-pred-8_b.c fails after r269302
Date: Mon, 04 Mar 2019 09:10: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: 9.0
X-Bugzilla-Keywords: diagnostic
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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to target_milestone everconfirmed
Message-ID: <bug-89551-4-ciaNDoce8j@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89551-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89551-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: 2019-03/txt/msg00324.txt.bz2
Content-length: 636

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89551

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-03-04
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
   Target Milestone|---                         |9.0
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I will have a look.
>From gcc-bugs-return-636029-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 09:10:10 2019
Return-Path: <gcc-bugs-return-636029-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121520 invoked by alias); 4 Mar 2019 09:10: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 121390 invoked by uid 48); 4 Mar 2019 09:10:04 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89550] [8/9 Regression] Spurious array-bounds warning when using __PRETTY_FUNCTION__ as a string_view
Date: Mon, 04 Mar 2019 09:10: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.1
X-Bugzilla-Keywords: diagnostic
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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority target_milestone
Message-ID: <bug-89550-4-KIrVyQogU8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89550-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89550-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: 2019-03/txt/msg00323.txt.bz2
Content-length: 345

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89550

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
   Target Milestone|---                         |8.4
>From gcc-bugs-return-636031-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 09:15:45 2019
Return-Path: <gcc-bugs-return-636031-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8745 invoked by alias); 4 Mar 2019 09:15: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 8570 invoked by uid 48); 4 Mar 2019 09:15:35 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89557] [7/8/9 regression] 4*movq to 2*movaps IPC performance regression on znver1 with -Og
Date: Mon, 04 Mar 2019 09:15: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_gcctarget bug_status keywords cf_reconfirmed_on component everconfirmed short_desc target_milestone
Message-ID: <bug-89557-4-j8joRyUP6x@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89557-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89557-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: 2019-03/txt/msg00325.txt.bz2
Content-length: 1043

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89557

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x86_64-*-*, i?86-*-*
             Status|UNCONFIRMED                 |WAITING
           Keywords|                            |missed-optimization
   Last reconfirmed|                            |2019-03-04
          Component|c++                         |target
     Ever confirmed|0                           |1
            Summary|[7/8 regression] 4*movq to  |[7/8/9 regression] 4*movq
                   |2*movaps IPC performance    |to 2*movaps IPC performance
                   |regression on znver1 with   |regression on znver1 with
                   |-Og                         |-Og
   Target Milestone|---                         |7.5

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Please provide a compilable testcase.
>From gcc-bugs-return-636032-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 09:17:41 2019
Return-Path: <gcc-bugs-return-636032-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20154 invoked by alias); 4 Mar 2019 09:17: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 20091 invoked by uid 48); 4 Mar 2019 09:17:36 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/66505] -Wno-error=pedantic does not reverse -Werror -Wpedantic
Date: Mon, 04 Mar 2019 09:17: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: 4.9.2
X-Bugzilla-Keywords: diagnostic, easyhack
X-Bugzilla-Severity: normal
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc assigned_to
Message-ID: <bug-66505-4-ygvwYWptfz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66505-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66505-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: 2019-03/txt/msg00326.txt.bz2
Content-length: 591

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66505

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |marxin at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |marxin at gcc dot gnu.org

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
I believe I'll fix it once patch for PR89051 will be merged.
>From gcc-bugs-return-636033-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 09:18:39 2019
Return-Path: <gcc-bugs-return-636033-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 21347 invoked by alias); 4 Mar 2019 09:18: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 21309 invoked by uid 48); 4 Mar 2019 09:18:34 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/89560] [9 regression] ICE In function 'rtx_def* gen_vec_extract_lo_v64qi(rtx, rtx)'
Date: Mon, 04 Mar 2019 09:18: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: 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: cf_gcctarget target_milestone
Message-ID: <bug-89560-4-xLOL5rB4ZY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89560-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89560-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: 2019-03/txt/msg00327.txt.bz2
Content-length: 363

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89560

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x86_64-*-*, i?86-*-*
   Target Milestone|---                         |9.0
>From gcc-bugs-return-636034-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 09:22:55 2019
Return-Path: <gcc-bugs-return-636034-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26376 invoked by alias); 4 Mar 2019 09:22: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 26305 invoked by uid 48); 4 Mar 2019 09:22:50 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89561] feature request: undefined behaviour compile-time configuration
Date: Mon, 04 Mar 2019 09:22: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: enhancement
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WONTFIX
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-89561-4-aGQ3mhl68J@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89561-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89561-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: 2019-03/txt/msg00328.txt.bz2
Content-length: 1110

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89561

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Note that iff GCC could easily see "what you want" and see that some undefined
behavior rule contradicts this then from a QOI perspective GCC already tries
to do what you want.  The difficult thing is to detect what you want (from
inside generic analysis infrastructure).

For example GCC will not misoptimize

int i;

int main() { *(float *)&i = 0.0; return i; }

even if it could (because type-based alias rules make the code undefined)
because it sees the must-alias.

That is, -fundefined-behavior=XYZ is impossible besides making all undefined
behavior implementation-defined (there are many options to individually control
such thing already, like -fwrapv for example).
>From gcc-bugs-return-636035-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 09:28:20 2019
Return-Path: <gcc-bugs-return-636035-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 108040 invoked by alias); 4 Mar 2019 09:28: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 105625 invoked by uid 48); 4 Mar 2019 09:28:16 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89567] [missed-optimization] Should not be initializing unused struct parameter members
Date: Mon, 04 Mar 2019 09:28: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: 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc component everconfirmed
Message-ID: <bug-89567-4-yilfwPxE0o@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89567-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89567-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: 2019-03/txt/msg00329.txt.bz2
Content-length: 919

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89567

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-03-04
                 CC|                            |marxin at gcc dot gnu.org,
                   |                            |mjambor at suse dot cz
          Component|tree-optimization           |ipa
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
You are looking for IPA DSE - by marshalling through a struct you make GCCs
job a lot harder...  "pro-active" IPA-SRA might help here, or making its
analysis stronger by looking for (partial) aggregate argument usage...

Don't hold your breath.
>From gcc-bugs-return-636036-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 09:29:39 2019
Return-Path: <gcc-bugs-return-636036-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3381 invoked by alias); 4 Mar 2019 09:29: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 3288 invoked by uid 48); 4 Mar 2019 09:29:35 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89570] [9 Regression] ICE in prepare_cmp_insn, at optabs.c:4001
Date: Mon, 04 Mar 2019 09:29: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: rguenth at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority component
Message-ID: <bug-89570-4-nlqUV8VDIl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89570-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89570-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: 2019-03/txt/msg00330.txt.bz2
Content-length: 348

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89570

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
          Component|middle-end                  |target
>From gcc-bugs-return-636037-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 09:29:58 2019
Return-Path: <gcc-bugs-return-636037-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13686 invoked by alias); 4 Mar 2019 09:29:57 -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 8965 invoked by uid 48); 4 Mar 2019 09:29:54 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89571] [9 Regression] ICE in nothrow_spec_p, at cp/except.c:1238
Date: Mon, 04 Mar 2019 09: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: 9.0
X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority target_milestone
Message-ID: <bug-89571-4-4KbKlc1mCq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89571-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89571-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: 2019-03/txt/msg00331.txt.bz2
Content-length: 345

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89571

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
   Target Milestone|---                         |9.0
>From gcc-bugs-return-636038-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 09:31:10 2019
Return-Path: <gcc-bugs-return-636038-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121233 invoked by alias); 4 Mar 2019 09: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 121200 invoked by uid 48); 4 Mar 2019 09:31:06 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89572] ICE in dyn_cast<gcond*, gimple>(gimple*) / get_loop_exit_condition(loop const*)
Date: Mon, 04 Mar 2019 09:31: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: ice-on-valid-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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed
Message-ID: <bug-89572-4-k9U7klgGzT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89572-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89572-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: 2019-03/txt/msg00332.txt.bz2
Content-length: 569

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89572

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-03-04
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Mine.
>From gcc-bugs-return-636039-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 09:45:48 2019
Return-Path: <gcc-bugs-return-636039-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48452 invoked by alias); 4 Mar 2019 09:45: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 48408 invoked by uid 48); 4 Mar 2019 09:45:44 -0000
From: "eyalroz at technion dot ac.il" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89567] [missed-optimization] Should not be initializing unused struct parameter members
Date: Mon, 04 Mar 2019 09:45: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: 9.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: eyalroz at technion dot ac.il
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-89567-4-FfRq0dqjk9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89567-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89567-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: 2019-03/txt/msg00333.txt.bz2
Content-length: 872

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89567

--- Comment #2 from Eyal Rozenberg <eyalroz at technion dot ac.il> ---
(In reply to Richard Biener from comment #1)
> You are looking for IPA DSE 

I'm not a compiler expert and don't know what this means. Even literally, I
don't know what these acronyms stand for.

> by marshalling through a struct you make GCCs job a lot harder...  

Well, first - yes, I suppose this could make things harder. However, as GCC
does its magic, I presume that at some point the struct abstraction is lost,
and we only have code which passes values to another function in registers, and
one of these values is unused. So at some point along the way this might be
easier than analyzing structs.

> "pro-active" IPA-SRA might help here,

Again, I have no idea what that is... could I trouble you to elaborate just a
bit more?
>From gcc-bugs-return-636040-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 09:52:50 2019
Return-Path: <gcc-bugs-return-636040-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 74850 invoked by alias); 4 Mar 2019 09:52: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 74807 invoked by uid 48); 4 Mar 2019 09:52:46 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89573] New: -fexcess-precision=standard doesn't work for conversion to integer of multiplication
Date: Mon, 04 Mar 2019 09:52: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: 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-89573-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: 2019-03/txt/msg00334.txt.bz2
Content-length: 1351

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89573

            Bug ID: 89573
           Summary: -fexcess-precision=standard doesn't work for
                    conversion to integer of multiplication
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
  Target Milestone: ---

The following, built with -m32 -march=i586 -fexcess-precision=standard on
x86_64-linux outputs

a: -75345
b: -75346
c: -75346

where the first result is off.  The IL looks like

    int r = (int) ((long double) log (p) * (long double) inv_log_of_base);

where possibly the missing cast to (double) is elided by bogus optimization
(didn't try to track down the issue yet).

-ffloat-store makes the testcase work as does any optimization (well, we
then get constant folding).

#include <math.h>
#include <stdio.h>

int main(int argc, char **argv)
{
  double p = 0.00053447623258905705;
  double inv_log_of_base = 10000.499991668185;

  int r = log(p) * inv_log_of_base;
  printf("a: %d\n", r);

  double gr = log(p) * inv_log_of_base;
  printf("b: %g\n", gr);

  double g = log(p);
  int c = g * inv_log_of_base;
  printf("c: %d\n", c);

  return 0;
}
>From gcc-bugs-return-636041-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 10:01:44 2019
Return-Path: <gcc-bugs-return-636041-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 96859 invoked by alias); 4 Mar 2019 10:01:43 -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 96775 invoked by uid 48); 4 Mar 2019 10:01:40 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89566] [9 Regression] ICE on compilable C++ code: in gimple_call_arg, at gimple.h:3166
Date: Mon, 04 Mar 2019 10:01: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created
Message-ID: <bug-89566-4-vqn6FP0wSw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89566-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89566-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: 2019-03/txt/msg00335.txt.bz2
Content-length: 578

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89566

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45878
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45878&action=edit
gcc9-pr89566.patch

Untested fix.
>From gcc-bugs-return-636042-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 10:16:40 2019
Return-Path: <gcc-bugs-return-636042-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16217 invoked by alias); 4 Mar 2019 10:16: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 15575 invoked by uid 48); 4 Mar 2019 10:16:36 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89572] [7/8/9 Regression] ICE in dyn_cast<gcond*, gimple>(gimple*) / get_loop_exit_condition(loop const*)
Date: Mon, 04 Mar 2019 10:16: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc target_milestone short_desc
Message-ID: <bug-89572-4-ytnFjiZV5I@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89572-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89572-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: 2019-03/txt/msg00336.txt.bz2
Content-length: 804

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89572

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org
   Target Milestone|---                         |7.5
            Summary|ICE in dyn_cast<gcond*,     |[7/8/9 Regression] ICE in
                   |gimple>(gimple*) /          |dyn_cast<gcond*,
                   |get_loop_exit_condition(loo |gimple>(gimple*) /
                   |p const*)                   |get_loop_exit_condition(loo
                   |                            |p const*)

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started to ICE with r202185.
>From gcc-bugs-return-636043-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 10:20:57 2019
Return-Path: <gcc-bugs-return-636043-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 79408 invoked by alias); 4 Mar 2019 10:20:57 -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 77019 invoked by uid 48); 4 Mar 2019 10:20:53 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89571] [9 Regression] ICE in nothrow_spec_p, at cp/except.c:1238
Date: Mon, 04 Mar 2019 10: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: 9.0
X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
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 cc everconfirmed
Message-ID: <bug-89571-4-kNHxvrKhCj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89571-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89571-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: 2019-03/txt/msg00337.txt.bz2
Content-length: 654

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89571

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-03-04
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |jason at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r269032 aka PR88368 fix.
>From gcc-bugs-return-636044-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 10:21:19 2019
Return-Path: <gcc-bugs-return-636044-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90958 invoked by alias); 4 Mar 2019 10:21:19 -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 88639 invoked by uid 48); 4 Mar 2019 10:21:15 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88368] [7/8 Regression] Improper ``use of deleted function''
Date: Mon, 04 Mar 2019 10:21: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.1
X-Bugzilla-Keywords: rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88368-4-xxvXKhoBP3@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88368-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88368-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: 2019-03/txt/msg00338.txt.bz2
Content-length: 156

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88368

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The above change introduced PR89571.
>From gcc-bugs-return-636045-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 10:22:26 2019
Return-Path: <gcc-bugs-return-636045-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 106536 invoked by alias); 4 Mar 2019 10:22:26 -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 106467 invoked by uid 48); 4 Mar 2019 10:22:21 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/89551] [9 regression] Test case gcc.dg/uninit-pred-8_b.c fails after r269302
Date: Mon, 04 Mar 2019 10:22: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: 9.0
X-Bugzilla-Keywords: diagnostic
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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-89551-4-fGKeN8DTdD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89551-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89551-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: 2019-03/txt/msg00339.txt.bz2
Content-length: 1602

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89551

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |law at gcc dot gnu.org

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
The difference starts in DOM3 by the CFG cleanup change catching two more BB
merging opportunities which then in VRP2 causes(?) extra jump threadings to
happen (for whatever reason...).

On x86_64 we have different IL (branch-cost, logical-op-non-short-circuit)
so what happens is different.

The IL we hand off to the late uninit pass is not resembling the original
source in any way due to these threadings and the usual inabilities of
the uninit pass pop up.

--param logical-op-non-short-circuit=1 fixes the testcase on powerpc64le,
=0 makes it fail on x86_64.

I'll adjust the testcase, not sure if anybody wants to analyze why
jump threading goes berzerk here.

Note disabling DOM3 fixes the testcase as well - the effect is just
the extra forwarder and then in VRP2:

 Visiting statement:
 _2 = g.0_1 + 1;
-<<<< COPY m_19 = m_8(D)
-0>>> COPY m_20 = m_8(D)
+LKUP STMT n_7(D) le_expr 9
+FIND: 0
+LKUP STMT m_8(D) gt_expr 100
+FIND: 0
+  Registering jump thread: (6, 7) incoming edge;  (7, 8) joiner;  (8, 10)
normal; (10, 11) nocopy;
 <<<< COPY m_20 = m_8(D)
+LKUP STMT n_7(D) le_expr 9
+FIND: 0
+  Registering jump thread: (6, 7) incoming edge;  (7, 9) joiner;  (9, 11)
normal;

and more similar cases.
>From gcc-bugs-return-636046-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 10:27:05 2019
Return-Path: <gcc-bugs-return-636046-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15628 invoked by alias); 4 Mar 2019 10:27:04 -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 15549 invoked by uid 48); 4 Mar 2019 10:27:00 -0000
From: "steven at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/19792] Missed optimizations due to signedness in the way
Date: Mon, 04 Mar 2019 10: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: unknown
X-Bugzilla-Keywords: missed-optimization, TREE
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: steven 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_reconfirmed_on cc
Message-ID: <bug-19792-4-BCoYiQFzZU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-19792-4@http.gcc.gnu.org/bugzilla/>
References: <bug-19792-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: 2019-03/txt/msg00340.txt.bz2
Content-length: 1826

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19792

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2016-08-06 00:00:00         |2019-3-4
                 CC|                            |rguenth at gcc dot gnu.org

--- Comment #7 from Steven Bosscher <steven at gcc dot gnu.org> ---
Still an issue as of "g++ (Compiler-Explorer-Build) 9.0.1 20190303
(experimental)" on x86-64 at -O2:

_Z3fooj:
        movslq  %edi, %rax
        movl    %edi, %edi
        movzbl  size_lookup(%rdi), %edx
        cmpb    %dl, size_lookup(%rax)
        sete    %al
        movzbl  %al, %eax
        ret
_Z3barj:
        movl    $1, %eax
        ret



FWIW "clang version 7.0.0 (tags/RELEASE_700/final 342594)" at -O2:

_Z3fooj:                                # @_Z3fooj
        movslq  %edi, %rax
        movb    size_lookup(%rax), %cl
        movl    %eax, %edx
        xorl    %eax, %eax
        cmpb    size_lookup(%rdx), %cl
        sete    %al
        retq
_Z3barj:                                # @_Z3barj
        movl    $1, %eax
        retq



and "icc (ICC) 19.0.1.144 20181018":

_Z3fooj:
        xorl      %eax, %eax                                    #6.36
        movslq    %edi, %rdi                                    #6.11
        movb      size_lookup(%rdi), %dl                        #6.11
        movl      %edi, %edi                                    #6.36
        cmpb      size_lookup(%rdi), %dl                        #6.36
        sete      %al                                           #6.36
        ret                                                     #6.36
_Z3barj:
        movl      $1, %eax                                      #13.15
        ret
>From gcc-bugs-return-636047-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 10:30:56 2019
Return-Path: <gcc-bugs-return-636047-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19321 invoked by alias); 4 Mar 2019 10:30:55 -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 19193 invoked by uid 48); 4 Mar 2019 10:30:46 -0000
From: "dmitrievdv242 at yandex dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/89574] New: internal compiler error: in conv_function_val, at fortran/trans-expr.c:3792
Date: Mon, 04 Mar 2019 10:30: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: 8.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmitrievdv242 at yandex dot ru
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-89574-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: 2019-03/txt/msg00341.txt.bz2
Content-length: 3465

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89574

            Bug ID: 89574
           Summary: internal compiler error: in conv_function_val, at
                    fortran/trans-expr.c:3792
           Product: gcc
           Version: 8.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dmitrievdv242 at yandex dot ru
  Target Milestone: ---

Created attachment 45879
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45879&action=edit
A source file to reproduce the bug

The bug occurs when you have a module with some name (lets name it init) and it
uses a module with an aliased subroutine or function with the same name (init)
- see the attached source file. 

-The command command line that triggers the bug (with -v and -save-temps
flags):

gfortran-8 -v -save-temps -o test test.f90

-The the compiler output:

Driving: gfortran-8 -v -save-temps -o test test.f90 -l gfortran -l m
-shared-libgcc
Using built-in specs.
COLLECT_GCC=gfortran-8
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/8/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
8.1.0-5ubuntu1~16.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=i686-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 --with-system-zlib
--with-target-system-zlib --enable-objc-gc=auto --enable-targets=all
--enable-multiarch --disable-werror --with-arch-32=i686
--with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic
--enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu
--target=i686-linux-gnu
Thread model: posix
gcc version 8.1.0 (Ubuntu 8.1.0-5ubuntu1~16.04) 
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-o' 'test' '-shared-libgcc'
'-mtune=generic' '-march=i686'
 /usr/lib/gcc/i686-linux-gnu/8/f951 test.f90 -quiet -dumpbase test.f90
-mtune=generic -march=i686 -auxbase test -version -fintrinsic-modules-path
/usr/lib/gcc/i686-linux-gnu/8/finclude -o test.s
GNU Fortran (Ubuntu 8.1.0-5ubuntu1~16.04) version 8.1.0 (i686-linux-gnu)
        compiled by GNU C version 8.1.0, GMP version 6.1.0, MPFR version 3.1.4,
MPC version 1.0.3, isl version isl-0.16.1-GMP

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU Fortran2008 (Ubuntu 8.1.0-5ubuntu1~16.04) version 8.1.0 (i686-linux-gnu)
        compiled by GNU C version 8.1.0, GMP version 6.1.0, MPFR version 3.1.4,
MPC version 1.0.3, isl version isl-0.16.1-GMP

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
test.f90:23:0:

     call test_init

internal compiler error: in conv_function_val, at fortran/trans-expr.c:3792
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-8/README.Bugs> for instructions.


The flag -save-temps doesn't produce any *.i files, only one *.s file.
>From gcc-bugs-return-636048-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 10:47:45 2019
Return-Path: <gcc-bugs-return-636048-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129063 invoked by alias); 4 Mar 2019 10:47:44 -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 128993 invoked by uid 48); 4 Mar 2019 10:47:41 -0000
From: "steven at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/56770] Partial sums loop optimization
Date: Mon, 04 Mar 2019 10:47: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: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: steven 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 assigned_to
Message-ID: <bug-56770-4-5xH0ZxRmDq@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-56770-4@http.gcc.gnu.org/bugzilla/>
References: <bug-56770-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: 2019-03/txt/msg00342.txt.bz2
Content-length: 381

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56770

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW
           Assignee|steven at gcc dot gnu.org          |unassigned at gcc dot gnu.org
>From gcc-bugs-return-636049-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 10:49:03 2019
Return-Path: <gcc-bugs-return-636049-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2446 invoked by alias); 4 Mar 2019 10:49: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 130825 invoked by uid 48); 4 Mar 2019 10:48:57 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89573] -fexcess-precision=standard doesn't work for conversion to integer of multiplication
Date: Mon, 04 Mar 2019 10:49: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: wrong-code
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: cc
Message-ID: <bug-89573-4-n4zyUVSU2u@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89573-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89573-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: 2019-03/txt/msg00343.txt.bz2
Content-length: 1759

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89573

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jsm28 at gcc dot gnu.org

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
The FE correctly builds

<<< Unknown tree: excess_precision_expr
  (long double) __builtin_log (p) * (long double) inv_log_of_base >>>

but then convert_for_assignment seems to elide via convert_to_real_1:

        /* Convert (outertype)((innertype0)a+(innertype1)b)
           into ((newtype)a+(newtype)b) where newtype
           is the widest mode from all of these.  */
304             case PLUS_EXPR:
305             case MINUS_EXPR:
306             case MULT_EXPR:
307             case RDIV_EXPR:
308                {
309                  tree arg0 = strip_float_extensions (TREE_OPERAND (expr,
0));
310                  tree arg1 = strip_float_extensions (TREE_OPERAND (expr,
1));

where strip_float_extensions makes the comment not true (because we ignore
the casts to long double).

Maybe the code in convert_and_check

1627      if (TREE_CODE (expr) == EXCESS_PRECISION_EXPR)
1628        {
1629          tree orig_type = TREE_TYPE (expr);
1630          expr = TREE_OPERAND (expr, 0);
1631          expr_for_warning = convert (orig_type, expr);
1632          if (orig_type == type)
1633            return expr_for_warning;

shouldn't use convert here but convert_to_real_1 with fold_p = false?
But then other code may simply elide the conversions (can we really
ignore the extra rounding performed by the outer truncating conversion, ever?)
>From gcc-bugs-return-636050-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 10:49:11 2019
Return-Path: <gcc-bugs-return-636050-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4978 invoked by alias); 4 Mar 2019 10:49: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 3164 invoked by uid 48); 4 Mar 2019 10:49:05 -0000
From: "steven at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/55629] Missed value numbering to a constant
Date: Mon, 04 Mar 2019 10:49: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: 4.8.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: steven 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: cf_reconfirmed_on
Message-ID: <bug-55629-4-KOq9HO8IV2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-55629-4@http.gcc.gnu.org/bugzilla/>
References: <bug-55629-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: 2019-03/txt/msg00344.txt.bz2
Content-length: 633

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55629

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2012-12-09 00:00:00         |2019-3-4

--- Comment #2 from Steven Bosscher <steven at gcc dot gnu.org> ---
Trunk today with -O2:
foo(int):
        cmpl    $1, %edi
        sbbl    %eax, %eax
        notl    %eax
        cmpl    $1, %edi
        sbbl    %edx, %edx
        leal    6(%rdx,%rax), %eax
        ret

and with -O2:
foo(int):
        movl    $5, %eax
        ret
>From gcc-bugs-return-636051-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 10:53:37 2019
Return-Path: <gcc-bugs-return-636051-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38348 invoked by alias); 4 Mar 2019 10:53: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 37958 invoked by uid 48); 4 Mar 2019 10:53:33 -0000
From: "steven at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/45026] struct passed as argument in memory compiles to dead stores
Date: Mon, 04 Mar 2019 10:53: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: 4.6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: steven 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: cf_gcctarget cf_reconfirmed_on component short_desc
Message-ID: <bug-45026-4-hplmG8WS06@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-45026-4@http.gcc.gnu.org/bugzilla/>
References: <bug-45026-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: 2019-03/txt/msg00345.txt.bz2
Content-length: 761

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45026

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|ia64-unknown-linux-gnu      |
   Last reconfirmed|2011-02-25 23:15:12         |2019-3-4
          Component|target                      |rtl-optimization
            Summary|Empty function compiles to  |struct passed as argument
                   |many loads and stores       |in memory compiles to dead
                   |                            |stores

--- Comment #2 from Steven Bosscher <steven at gcc dot gnu.org> ---
Still an issue on ia64, but actually a generic issue (per comment #1).
>From gcc-bugs-return-636052-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 11:00:58 2019
Return-Path: <gcc-bugs-return-636052-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66592 invoked by alias); 4 Mar 2019 11:00: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 58981 invoked by uid 48); 4 Mar 2019 11:00:53 -0000
From: "steven at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/19095] testsuite/gcc.dg/vect/vect.exp is not precise enough on x86
Date: Mon, 04 Mar 2019 11:00:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 4.0.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: steven 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: cf_reconfirmed_on
Message-ID: <bug-19095-4-u2W1fLKSJK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-19095-4@http.gcc.gnu.org/bugzilla/>
References: <bug-19095-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: 2019-03/txt/msg00346.txt.bz2
Content-length: 412

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19095

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2006-03-05 03:54:36         |2019-3-4

--- Comment #7 from Steven Bosscher <steven at gcc dot gnu.org> ---
Still an issue, and add avx to the list now.
>From gcc-bugs-return-636053-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 11:02:09 2019
Return-Path: <gcc-bugs-return-636053-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 102706 invoked by alias); 4 Mar 2019 11:02: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 102599 invoked by uid 48); 4 Mar 2019 11:02:04 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/19792] Missed optimizations due to signedness in the way
Date: Mon, 04 Mar 2019 11:02: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: unknown
X-Bugzilla-Keywords: missed-optimization, TREE
X-Bugzilla-Severity: enhancement
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-19792-4-Nq8JQtRBzX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-19792-4@http.gcc.gnu.org/bugzilla/>
References: <bug-19792-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: 2019-03/txt/msg00347.txt.bz2
Content-length: 1166

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19792

--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
I think for foo the "solution" is to only consider indices with well-defined
behavior, that is, for size_lookup[] indices in [0,257] which means we
should be safely able to truncate the index to unsigned char (for the
purpose of analysis only!).

Note we're not value-numbering (int) t the same as t but even
size_lookup[(short) t] should result in the same value to be loaded
unless undefined behavior is invoked.

Of course extern unsigned char size_lookup[257]; might be considered
extern unsigned char size_lookup[]; for QOI reasons and existing broken
code, so...  but just change the testcase to non-extern size_lookup.

The solution might ly in value-numbering which could, when value-numbering
the two loads lookup (and insert!) VNs of (shortest-allowed-type)index.
The danger is of course that the shortest-allowed-type might differ
depentent on the shape of the lookup where otherwise we'd compute the
same VN.

I'm quite sure we can't simply trust TYPE_DOMAIN of TREE_TYPE of
TREE_OPERAND (array-ref, 0) when constraining operand 1.
>From gcc-bugs-return-636054-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 11:12:39 2019
Return-Path: <gcc-bugs-return-636054-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11747 invoked by alias); 4 Mar 2019 11:12: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 10032 invoked by uid 48); 4 Mar 2019 11:12:35 -0000
From: "steven at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/44532] x86-64 unnecessary parameter extension
Date: Mon, 04 Mar 2019 11:12: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: 4.6.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: steven at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WONTFIX
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 resolution
Message-ID: <bug-44532-4-J34aSn1lFw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-44532-4@http.gcc.gnu.org/bugzilla/>
References: <bug-44532-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: 2019-03/txt/msg00348.txt.bz2
Content-length: 1543

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44532

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
   Last reconfirmed|2010-06-14 11:30:39         |2019-3-4
                 CC|                            |steven at gcc dot gnu.org
         Resolution|---                         |WONTFIX

--- Comment #4 from Steven Bosscher <steven at gcc dot gnu.org> ---
GCC trunk today:"

f1(short, int):
        movswl  %di, %eax
        imull   %esi, %eax
        ret
f2(unsigned short, int):
        movzwl  %di, %eax
        imull   %esi, %eax
        ret


clang trunk:
f1(short, int):                                # @f1(short, int)
        movl    %edi, %eax
        imull   %esi, %eax
        retq
f2(unsigned short, int):                                # @f2(unsigned short,
int)
        movl    %edi, %eax
        imull   %esi, %eax
        retq


icc 19.0.1:
f1(short, int):
        movswq    %di, %rax                                     #3.12
        imull     %esi, %eax                                    #3.16
        ret                                                     #3.16
f2(unsigned short, int):
        movzwl    %di, %eax                                     #7.1
        imull     %esi, %eax                                    #8.16
        ret  


Given the comments from H.J. and the icc output, let's WONTFIX this one.
>From gcc-bugs-return-636055-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 11:14:44 2019
Return-Path: <gcc-bugs-return-636055-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13782 invoked by alias); 4 Mar 2019 11:14:43 -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 13704 invoked by uid 48); 4 Mar 2019 11:14:38 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89570] [9 Regression] ICE in prepare_cmp_insn, at optabs.c:4001
Date: Mon, 04 Mar 2019 11:14: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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 cc everconfirmed
Message-ID: <bug-89570-4-EgY7TpgL7z@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89570-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89570-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: 2019-03/txt/msg00349.txt.bz2
Content-length: 2200

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89570

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-03-04
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |rguenth at gcc dot gnu.org,
                   |                            |rsandifo at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
-fno-tree-dce considered harmful (as in many cases).
Seems in this case match.pd invoked during forwprop4 (after generic vector
lowering) creates statements that don't have hw support.

 (simplify
  (vec_cond @0 @1 (view_convert? (uncond_op@4 @2 @3)))
  (with { tree op_type = TREE_TYPE (@4); }
   (if (element_precision (type) == element_precision (op_type))
    (view_convert (cond_op (bit_not @0) @2 @3 (view_convert:op_type @1)))))))
and are dead.
The dse3 to forwprop4 changes are:
-  vect_iftmp.20_108 = vect__6.19_106 * vect_cst__107;
+  vect_iftmp.20_108 = vect__6.19_106 * { 5.0e-1, 5.0e-1 };
   iftmp.5_28 = _14 * 5.0e-1;
-  vect_iftmp.21_110 = VEC_COND_EXPR <vect__4.16_103 == vect_cst__109,
vect__6.19_106, vect_iftmp.20_108>;
+  _34 = vect__4.16_103 == { 0.0, 0.0 };
+  _1 = vect__4.16_103 != { 0.0, 0.0 };
+  vect_iftmp.21_110 = VEC_COND_EXPR <vect__4.16_103 == { 0.0, 0.0 },
vect__6.19_106, vect_iftmp.20_108>;

No target other than aarch64 has the IFN_COND_* support so far (though I bet
AVX512F could be a good candidate for that), so for the other targets the above
match.pd pattern just creates garbage that with -fno-tree-dce isn't even
removed.
Shouldn't that match.pd simplification be a) restricted to targets that
actually have some IFN_COND_*, so that it doesn't do useless work elsewhere b)
even if it fails, clean up the temporaries it created while processing the
(bit_not @0) if it fails?

Guess this has been introduced with r260710.
>From gcc-bugs-return-636056-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 11:17:39 2019
Return-Path: <gcc-bugs-return-636056-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17612 invoked by alias); 4 Mar 2019 11:17: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 17560 invoked by uid 48); 4 Mar 2019 11:17:34 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89570] [9 Regression] ICE in prepare_cmp_insn, at optabs.c:4001
Date: Mon, 04 Mar 2019 11:17: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89570-4-p7jeGOfING@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89570-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89570-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: 2019-03/txt/msg00350.txt.bz2
Content-length: 451

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89570

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Or perhaps as an alternative, we shouldn't use the match.pd code here to tweak
the conditions of VEC_COND_EXPRs exactly because the conditions themselves
might be valid solely in VEC_COND_EXPR's first argument and not as standalone
stmt, and just use some C helper from the match.pd rule or something to deal
with that instead.
>From gcc-bugs-return-636058-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 11:19:34 2019
Return-Path: <gcc-bugs-return-636058-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34046 invoked by alias); 4 Mar 2019 11:19: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 33994 invoked by uid 48); 4 Mar 2019 11:19:30 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/87603] [C++17] noexcept isn't special cased for constant expressions anymore
Date: Mon, 04 Mar 2019 11:19: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: 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-87603-4-o8bVnnY7vQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-87603-4@http.gcc.gnu.org/bugzilla/>
References: <bug-87603-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: 2019-03/txt/msg00352.txt.bz2
Content-length: 448

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87603

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |barry.revzin at gmail dot com

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
*** Bug 89568 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-636057-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 11:19:34 2019
Return-Path: <gcc-bugs-return-636057-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34042 invoked by alias); 4 Mar 2019 11:19: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 33983 invoked by uid 48); 4 Mar 2019 11:19:30 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89568] constexpr functions are implicitly noexcept
Date: Mon, 04 Mar 2019 11:19: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: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-89568-4-E9XlglYwws@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89568-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89568-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: 2019-03/txt/msg00351.txt.bz2
Content-length: 600

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89568

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Actually in C++11 and C++14 they are required to be noexcept. That changed for
C++17. See PR 87603 for more info.

*** This bug has been marked as a duplicate of bug 87603 ***
>From gcc-bugs-return-636059-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 11:22:44 2019
Return-Path: <gcc-bugs-return-636059-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38449 invoked by alias); 4 Mar 2019 11:22:43 -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 38366 invoked by uid 48); 4 Mar 2019 11:22:40 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/71425] GCC does not implement C++/WG21 DR 1399/1388
Date: Mon, 04 Mar 2019 11:22: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: 6.1.0
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: keywords bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-71425-4-JVGtu6RLyA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-71425-4@http.gcc.gnu.org/bugzilla/>
References: <bug-71425-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: 2019-03/txt/msg00353.txt.bz2
Content-length: 467

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71425

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-03-04
     Ever confirmed|0                           |1
>From gcc-bugs-return-636060-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 11:31:57 2019
Return-Path: <gcc-bugs-return-636060-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57855 invoked by alias); 4 Mar 2019 11:31:56 -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 57749 invoked by uid 48); 4 Mar 2019 11:31:52 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89570] [9 Regression] ICE in prepare_cmp_insn, at optabs.c:4001
Date: Mon, 04 Mar 2019 11:31: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: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
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-89570-4-Gy0fknm9q2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89570-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89570-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: 2019-03/txt/msg00354.txt.bz2
Content-length: 342

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89570

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
At the minimum guarding those simplifications with something like
expand_vec_cmp_expr_p test for @0 if we can figure out mask type somehow (what
would IFN_COND_* need), and a check whether IFN_COND_* is supported at all.
>From gcc-bugs-return-636061-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 11:39:14 2019
Return-Path: <gcc-bugs-return-636061-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93096 invoked by alias); 4 Mar 2019 11:39: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 90851 invoked by uid 48); 4 Mar 2019 11:39:09 -0000
From: "steven at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/14504] Missed Bit Twiddling Optimization
Date: Mon, 04 Mar 2019 11:39: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: 3.3.2
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: steven at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: kazu at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_reconfirmed_on
Message-ID: <bug-14504-4-1cW1ze078T@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-14504-4@http.gcc.gnu.org/bugzilla/>
References: <bug-14504-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: 2019-03/txt/msg00355.txt.bz2
Content-length: 1249

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14504

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2009-04-22 23:02:33         |2019-3-4

--- Comment #9 from Steven Bosscher <steven at gcc dot gnu.org> ---
// -O3 -m32 -fomit-frame-pointer
unsigned long cond_mask_1(bool flag, unsigned long mask, unsigned long target)
{
    return flag ? target | mask : target & ~mask;
}

unsigned long cond_mask_2(bool flag, unsigned long mask, unsigned long target)
{
    return (mask | target ^ 0xFFFFFFFFUL + flag) ^ 0xFFFFFFFFUL + flag;
}


GCC trunk:
cond_mask_1(bool, unsigned long, unsigned long):
        movl    12(%esp), %eax
        movl    8(%esp), %edx
        movl    %eax, %ecx
        orl     %edx, %ecx
        notl    %edx
        andl    %eax, %edx
        cmpb    $0, 4(%esp)
        movl    %ecx, %eax
        cmove   %edx, %eax
        ret
cond_mask_2(bool, unsigned long, unsigned long):
        movzbl  4(%esp), %eax
        leal    -1(%eax), %edx
        movl    12(%esp), %eax
        xorl    %edx, %eax
        orl     8(%esp), %eax
        xorl    %edx, %eax
        ret
>From gcc-bugs-return-636062-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 11:49:00 2019
Return-Path: <gcc-bugs-return-636062-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 40005 invoked by alias); 4 Mar 2019 11:49: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 39731 invoked by uid 48); 4 Mar 2019 11:48:54 -0000
From: "Predelnik at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/86899] [8/9 regression] TSAN incorrect warning: control reaches end of non-void function
Date: Mon, 04 Mar 2019 11:49: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: 9.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: Predelnik 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: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-86899-4-Flkd5QphG6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86899-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86899-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: 2019-03/txt/msg00356.txt.bz2
Content-length: 580

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86899

Sergey Semushin <Predelnik at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Predelnik at gmail dot com

--- Comment #5 from Sergey Semushin <Predelnik at gmail dot com> ---
Had the same issue where the only dead code was leftover break in a switch case
after return. Reasons are probably exactly the same but maybe in this form this
issue will arise more often.
>From gcc-bugs-return-636065-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 12:03:40 2019
Return-Path: <gcc-bugs-return-636065-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124334 invoked by alias); 4 Mar 2019 12:03: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 123718 invoked by uid 48); 4 Mar 2019 12:03:31 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88334] Implement P0482R6, C++20 char8_t.
Date: Mon, 04 Mar 2019 12:03: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: enhancement
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-88334-4-5fJe4FXzD1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88334-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88334-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: 2019-03/txt/msg00358.txt.bz2
Content-length: 436

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88334

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This is done now.
>From gcc-bugs-return-636063-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 12:03:37 2019
Return-Path: <gcc-bugs-return-636063-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123856 invoked by alias); 4 Mar 2019 12:03:36 -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 123730 invoked by uid 48); 4 Mar 2019 12:03:32 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/88322] Implement C++20 library features.
Date: Mon, 04 Mar 2019 12:03:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: meta-bug
X-Bugzilla-Severity: enhancement
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 resolution
Message-ID: <bug-88322-4-IwwsfMUNPN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88322-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88322-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: 2019-03/txt/msg00357.txt.bz2
Content-length: 459

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88322
Bug 88322 depends on bug 88334, which changed state.

Bug 88334 Summary: Implement P0482R6, C++20 char8_t.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88334

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-636064-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 12:03:37 2019
Return-Path: <gcc-bugs-return-636064-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123860 invoked by alias); 4 Mar 2019 12:03:36 -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 123750 invoked by uid 48); 4 Mar 2019 12:03:32 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/88323] implement C++20 language features.
Date: Mon, 04 Mar 2019 12:03:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: meta-bug
X-Bugzilla-Severity: enhancement
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 resolution
Message-ID: <bug-88323-4-iV9o0poezk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88323-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88323-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: 2019-03/txt/msg00359.txt.bz2
Content-length: 459

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88323
Bug 88323 depends on bug 88334, which changed state.

Bug 88334 Summary: Implement P0482R6, C++20 char8_t.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88334

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-636066-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 12:04:16 2019
Return-Path: <gcc-bugs-return-636066-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126341 invoked by alias); 4 Mar 2019 12:04: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 126247 invoked by uid 48); 4 Mar 2019 12:04:11 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/88340] Implement P0019R8, C++20 std::atomic_ref.
Date: Mon, 04 Mar 2019 12:04:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: redi 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-88340-4-uAvxPk730B@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88340-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88340-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: 2019-03/txt/msg00360.txt.bz2
Content-length: 488

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88340

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
.

*** This bug has been marked as a duplicate of bug 88305 ***
>From gcc-bugs-return-636067-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 12:04:16 2019
Return-Path: <gcc-bugs-return-636067-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126354 invoked by alias); 4 Mar 2019 12:04: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 126267 invoked by uid 48); 4 Mar 2019 12:04:12 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/88305] Implement P0019R8, C++20 std::atomic_ref
Date: Mon, 04 Mar 2019 12:04:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
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:
Message-ID: <bug-88305-4-WFiDfLV4Ep@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88305-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88305-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: 2019-03/txt/msg00361.txt.bz2
Content-length: 182

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88305

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
*** Bug 88340 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-636068-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 12:04:16 2019
Return-Path: <gcc-bugs-return-636068-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 126438 invoked by alias); 4 Mar 2019 12:04: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 126280 invoked by uid 48); 4 Mar 2019 12:04:12 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/88322] Implement C++20 library features.
Date: Mon, 04 Mar 2019 12:04:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: meta-bug
X-Bugzilla-Severity: enhancement
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 resolution
Message-ID: <bug-88322-4-3yLwIz2flN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88322-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88322-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: 2019-03/txt/msg00362.txt.bz2
Content-length: 471

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88322
Bug 88322 depends on bug 88340, which changed state.

Bug 88340 Summary: Implement P0019R8, C++20 std::atomic_ref.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88340

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE
>From gcc-bugs-return-636069-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 12:07:37 2019
Return-Path: <gcc-bugs-return-636069-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3246 invoked by alias); 4 Mar 2019 12:07:36 -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 3161 invoked by uid 48); 4 Mar 2019 12:07:33 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89570] [9 Regression] ICE in prepare_cmp_insn, at optabs.c:4001
Date: Mon, 04 Mar 2019 12:07: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created
Message-ID: <bug-89570-4-24tKvAk8U0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89570-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89570-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: 2019-03/txt/msg00363.txt.bz2
Content-length: 668

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89570

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45880
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45880&action=edit
gcc9-pr89570.patch

Untested fix.  No way to test on aarch64 with SVE though (nor experience with
that in cross-testing).
>From gcc-bugs-return-636070-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 12:07:49 2019
Return-Path: <gcc-bugs-return-636070-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4012 invoked by alias); 4 Mar 2019 12:07: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 3945 invoked by uid 48); 4 Mar 2019 12:07:45 -0000
From: "jozef.l at mittosystems dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89575] New: LRA for msp430 - Max. number of generated reload insns - frame pointer subreg simplification
Date: Mon, 04 Mar 2019 12:07: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: 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created
Message-ID: <bug-89575-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: 2019-03/txt/msg00364.txt.bz2
Content-length: 3820

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89575

            Bug ID: 89575
           Summary: LRA for msp430 - Max. number of generated reload insns
                    - frame pointer subreg simplification
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jozef.l at mittosystems dot com
  Target Milestone: ---

Created attachment 45881
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45881&action=edit
testcase

When enabling LRA for msp430, libgcc fails to build, specifically _muldi3.o.

> gcc -S tester.i -O2

> during RTL pass: reload
> ../../../../libgcc/libgcc2.c: In function '__muldi3':
> ../../../../libgcc/libgcc2.c:558:1: internal compiler error: Max. number of generated reload insns per insn is achieved (90)
> 
>       558 | }
>                       | ^
> 0xa2ab20 lra_constraints(bool)
>                               ../../gcc/lra-constraints.c:4875
> 0xa12b84 lra(_IO_FILE*)
>                               ../../gcc/lra.c:2461
> 0x9c68f1 do_reload
>                               ../../gcc/ira.c:5516
> 0x9c68f1 execute
>                               ../../gcc/ira.c:5700

The cycling reload occurs because IRA assigns hard register R4 (also
FRAME_POINTER_REGNUM, but not fixed for this use) to a pseudo reg, but when LRA
goes to simplify a subreg of the pseudo, it disallows simplification of this
subreg.

Specifically, simplify_subreg_regno (rtlanal.c):

> /* We shouldn't simplify stack-related registers.  */
> if ((!reload_completed || frame_pointer_needed)
>     && xregno == FRAME_POINTER_REGNUM)
>   return -1;

This is in an output reload, so a new set of mov insns are generated to load
the value back into the original, problematic pseudo of R4. Once again
simplify_subreg_regno is called to simplify the pseudo of R4, but it is
disallowed and the cycle continues.

From the IRA dump:

> Disposition:
>     0:r28  l0     8    2:r30  l0     4    1:r31  l0     4
> ...
> (insn 2 6 3 2 (set (subreg:HI (reg/v:DI 30 [ arg1 ]) 0)
>         (reg:HI 12 R12 [ arg1 ])) "tester.c":16:1 12 {movhi}
>      (expr_list:REG_DEAD (reg:HI 12 R12 [ arg1 ])
>         (nil)))

From the reload dump:

>     Creating newreg=37 from oldreg=30, assigning class NO_REGS to subreg reg r37
>   2: r37:DI#0=R12:HI
>   ...
>   Inserting subreg reload after:
>  42: r30:DI#0=r37:DI#0
>  ...
>     Creating newreg=38 from oldreg=30, assigning class NO_REGS to subreg reg r38
>  42: r38:DI#0=r37:DI#0
>  ...
>   Inserting subreg reload after:
>  52: r30:DI#0=r38:DI#0
And so on.

Is it OK to allow simplification of a subreg of FRAME_POINTER_REGNUM
when lra_in_progress is true? After all, constraints on the allocation of hard
regs shouldn't get more resitrictive as compilation progresses?
e.g.

diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c
index 3873b4098b0..9700928ff4e 100644
--- a/gcc/rtlanal.c
+++ b/gcc/rtlanal.c
@@ -3971,7 +3971,7 @@ simplify_subreg_regno (unsigned int xregno, machine_mode
xmode,
     return -1;

   /* We shouldn't simplify stack-related registers.  */
-  if ((!reload_completed || frame_pointer_needed)
+  if ((!(reload_completed || lra_in_progress) || frame_pointer_needed)
       && xregno == FRAME_POINTER_REGNUM)
     return -1;

This fixes the cycling reload for insn 2, as the frame pointer is not needed,
but there are further separate issues building the test case.

I've attached a reduced test case, and the IRA and reload dumps.

> gcc -v

> Target: msp430-elf
> Configured with: ../configure --target=msp430-elf --disable-nls --enable-languages=c,c++
> Thread model: single
> gcc version 9.0.1 20190301 (experimental) (GCC)
>From gcc-bugs-return-636072-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 12:08:41 2019
Return-Path: <gcc-bugs-return-636072-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5968 invoked by alias); 4 Mar 2019 12:08:41 -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 5916 invoked by uid 48); 4 Mar 2019 12:08:37 -0000
From: "jozef.l at mittosystems dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89575] LRA for msp430 - Max. number of generated reload insns - frame pointer subreg simplification
Date: Mon, 04 Mar 2019 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: 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: attachments.created
Message-ID: <bug-89575-4-6Hx5gC2Lxj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89575-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89575-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: 2019-03/txt/msg00366.txt.bz2
Content-length: 242

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89575

--- Comment #2 from Jozef Lawrynowicz <jozef.l at mittosystems dot com> ---
Created attachment 45883
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45883&action=edit
reload dump
>From gcc-bugs-return-636071-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 12:08:23 2019
Return-Path: <gcc-bugs-return-636071-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5122 invoked by alias); 4 Mar 2019 12:08: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 5091 invoked by uid 48); 4 Mar 2019 12:08:19 -0000
From: "jozef.l at mittosystems dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/89575] LRA for msp430 - Max. number of generated reload insns - frame pointer subreg simplification
Date: Mon, 04 Mar 2019 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: 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: attachments.created
Message-ID: <bug-89575-4-JPf48dE7s7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89575-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89575-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: 2019-03/txt/msg00365.txt.bz2
Content-length: 239

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89575

--- Comment #1 from Jozef Lawrynowicz <jozef.l at mittosystems dot com> ---
Created attachment 45882
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45882&action=edit
ira dump
>From gcc-bugs-return-636073-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 12:17:27 2019
Return-Path: <gcc-bugs-return-636073-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88246 invoked by alias); 4 Mar 2019 12:17: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 88123 invoked by uid 55); 4 Mar 2019 12:17:22 -0000
From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89570] [9 Regression] ICE in prepare_cmp_insn, at optabs.c:4001
Date: Mon, 04 Mar 2019 12:17: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: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenther at suse dot de
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89570-4-lVdHxRlJfF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89570-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89570-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: 2019-03/txt/msg00367.txt.bz2
Content-length: 899

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89570

--- Comment #5 from rguenther at suse dot de <rguenther at suse dot de> ---
On Mon, 4 Mar 2019, jakub at gcc dot gnu.org wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89570
> 
> Jakub Jelinek <jakub at gcc dot gnu.org> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|NEW                         |ASSIGNED
>            Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
> 
> --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
> Created attachment 45880
>   --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45880&action=edit
> gcc9-pr89570.patch
> 
> Untested fix.  No way to test on aarch64 with SVE though (nor experience with
> that in cross-testing).

LGTM
>From gcc-bugs-return-636074-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 12:20:21 2019
Return-Path: <gcc-bugs-return-636074-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14231 invoked by alias); 4 Mar 2019 12:20: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 14149 invoked by uid 48); 4 Mar 2019 12:20:15 -0000
From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89567] [missed-optimization] Should not be initializing unused struct parameter members
Date: Mon, 04 Mar 2019 12:20: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: 9.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jamborm 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-89567-4-DY6vI28AVZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89567-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89567-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: 2019-03/txt/msg00368.txt.bz2
Content-length: 1852

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89567

Martin Jambor <jamborm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jamborm at gcc dot gnu.org

--- Comment #3 from Martin Jambor <jamborm at gcc dot gnu.org> ---
In the first excample, the interproceudral constant propagation pass
(IPA-CP) found that foo1 is so small that copying all of it might be
worth not passing the unused argument and so it does, that is why
you'll find function foo1 twice in the assembly.  This functionality
in the pass is there just "on the side" and it is not easy to make it
also work with aggegates, not even desireable (that is the job of a
different pass, see below).

Both examples are compiled better if you make foo1 and foo2 static.
In the latter case, you get exactly what you want, the structure is be
split and only the used part survives.  In the first example, you
don't get a clone emitted which you probably don't need.  Both of
these transformation are done by a pass called interprocedural scalar
replacement of aggregates (IPA-SRA), which specifically also aims to
remove unused arguments, but it never creates multiple clones.

If you cannot make these functions static, you need link-time
optimization (LTO, option -flto) because you need information about
one compilation unit to optimize others.  The current IPA-SRA cannot
unfortunately make use of it but I have a replacement for it that can,
hopefully it will be part of GCC 10.

I'm afraid you'd need to provide a strong real-world use-case to make
me investigate how to make IPA-SRA clone so you might not need static
and/or LTO because that would mean devising a cost/benefit
(size/speedup) heuristics and that is not easy.
>From gcc-bugs-return-636076-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 12:23:56 2019
Return-Path: <gcc-bugs-return-636076-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53821 invoked by alias); 4 Mar 2019 12:23:55 -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 53360 invoked by uid 55); 4 Mar 2019 12:23:50 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89572] [7/8 Regression] ICE in dyn_cast<gcond*, gimple>(gimple*) / get_loop_exit_condition(loop const*)
Date: Mon, 04 Mar 2019 12:23: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: ice-on-valid-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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-89572-4-nkCl4rmz8n@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89572-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89572-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: 2019-03/txt/msg00370.txt.bz2
Content-length: 644

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89572

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Mar  4 12:23:17 2019
New Revision: 269363

URL: https://gcc.gnu.org/viewcvs?rev=269363&root=gcc&view=rev
Log:
2019-03-04  Richard Biener  <rguenther@suse.de>

        PR middle-end/89572
        * tree-scalar-evolution.c: (get_loop_exit_condition): Use
        safe_dyn_cast.

        * gcc.dg/torture/pr89572.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr89572.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-scalar-evolution.c
>From gcc-bugs-return-636075-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 12:23:48 2019
Return-Path: <gcc-bugs-return-636075-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53030 invoked by alias); 4 Mar 2019 12:23:46 -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 52924 invoked by uid 48); 4 Mar 2019 12:23:42 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89572] [7/8 Regression] ICE in dyn_cast<gcond*, gimple>(gimple*) / get_loop_exit_condition(loop const*)
Date: Mon, 04 Mar 2019 12:23: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: ice-on-valid-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: 7.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority cf_known_to_work short_desc cf_known_to_fail
Message-ID: <bug-89572-4-WYdyUeVBW9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89572-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89572-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: 2019-03/txt/msg00369.txt.bz2
Content-length: 829

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89572

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
      Known to work|                            |9.0
            Summary|[7/8/9 Regression] ICE in   |[7/8 Regression] ICE in
                   |dyn_cast<gcond*,            |dyn_cast<gcond*,
                   |gimple>(gimple*) /          |gimple>(gimple*) /
                   |get_loop_exit_condition(loo |get_loop_exit_condition(loo
                   |p const*)                   |p const*)
      Known to fail|9.0                         |

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed on trunk sofar.
>From gcc-bugs-return-636077-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 12:26:35 2019
Return-Path: <gcc-bugs-return-636077-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92624 invoked by alias); 4 Mar 2019 12:26: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 89918 invoked by uid 48); 4 Mar 2019 12:26:31 -0000
From: "wielkiegie at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89576] New: constexpr not working if implicitly captured in a lambda in a function template (gcc 8.3+)
Date: Mon, 04 Mar 2019 12:26: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.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wielkiegie 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-89576-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: 2019-03/txt/msg00371.txt.bz2
Content-length: 1741

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89576

            Bug ID: 89576
           Summary: constexpr not working if implicitly captured in a
                    lambda in a function template (gcc 8.3+)
           Product: gcc
           Version: 8.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: wielkiegie at gmail dot com
  Target Milestone: ---

There are many similar bugs that I have found in the bugzilla (see below), but
this one differs from the other ones:
1. It happens only in gcc 8.3 and trunk (gcc 8.2 and earlier are fine)
2. The lambda is not generic (but it is contained in a function template which
might be similar internally)
3. The capture is implicit

Example to reproduce:

------------------------------------------------
template <class T>
void foo()
{
    constexpr int x = 0;
    [&] {
        if constexpr (x) {}
    };
}
------------------------------------------------

Produces the following in gcc 8.3 and trunk:

------------------------------------------------
<source>: In lambda function:

<source>:6:24: error: lambda capture of 'x' is not a constant expression

         if constexpr (x) {}

                        ^
------------------------------------------------

The following changes to the example make it compile:
1. Adding static to the constexpr int
2. Making it a regular function and not a template
3. Removing the [&] capture

Changing the capture from [&] to [=] doesn't help.

If I change it to an explicit capture [x], it fails in all gcc versions except
gcc 7.4 and passes on clang.

The other similar bug reports: bug 86429, bug 82643
>From gcc-bugs-return-636078-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 12:32:02 2019
Return-Path: <gcc-bugs-return-636078-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122115 invoked by alias); 4 Mar 2019 12:32: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 121999 invoked by uid 48); 4 Mar 2019 12:31:57 -0000
From: "steven at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/45144] SRA optimization issue of bit-field
Date: Mon, 04 Mar 2019 12: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: 4.6.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: steven 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 cc resolution
Message-ID: <bug-45144-4-6yd6ELT2Wh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-45144-4@http.gcc.gnu.org/bugzilla/>
References: <bug-45144-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: 2019-03/txt/msg00372.txt.bz2
Content-length: 557

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45144

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                 CC|                            |steven at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #6 from Steven Bosscher <steven at gcc dot gnu.org> ---
With/without -fno-tree-sra gives same code since GCC 5.4.1.
>From gcc-bugs-return-636079-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 12:36:42 2019
Return-Path: <gcc-bugs-return-636079-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130309 invoked by alias); 4 Mar 2019 12:36: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 130252 invoked by uid 55); 4 Mar 2019 12:36:36 -0000
From: "wilco at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89437] [9 regression] incorrect result for sinl (atanl (x))
Date: Mon, 04 Mar 2019 12:36: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wilco 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-89437-4-mPkvfIsZSs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89437-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89437-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: 2019-03/txt/msg00373.txt.bz2
Content-length: 868

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89437

--- Comment #1 from Wilco <wilco at gcc dot gnu.org> ---
Author: wilco
Date: Mon Mar  4 12:36:04 2019
New Revision: 269364

URL: https://gcc.gnu.org/viewcvs?rev=269364&root=gcc&view=rev
Log:
Fix PR89437

Fix PR89437. Fix the sinatan-1.c testcase to not run without
a C99 target system.  Use nextafterl for long double initialization.

Fix an issue with sinl (atanl (sqrtl (LDBL_MAX)) returning 0.0
instead of 1.0 by using x < sqrtl (LDBL_MAX) in match.pd.

    gcc/
        PR tree-optimization/89437
        * match.pd: Use lt in sin(atan(x)) and cos(atan(x)) simplifications.

    testsuite/
        PR tree-optimization/89437
        * gcc.dg/sinatan-1.c: Fix testcase.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/match.pd
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/sinatan-1.c
>From gcc-bugs-return-636081-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 12:38:58 2019
Return-Path: <gcc-bugs-return-636081-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3454 invoked by alias); 4 Mar 2019 12:38: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 3362 invoked by uid 48); 4 Mar 2019 12:38:54 -0000
From: "steven at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/19987] [meta-bug] fold missing optimizations in general
Date: Mon, 04 Mar 2019 12:38:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 4.0.0
X-Bugzilla-Keywords: meta-bug, missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: steven 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-19987-4-YYIOJwBmV7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-19987-4@http.gcc.gnu.org/bugzilla/>
References: <bug-19987-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: 2019-03/txt/msg00375.txt.bz2
Content-length: 488

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19987
Bug 19987 depends on bug 15241, which changed state.

Bug 15241 Summary: [tree-ssa] Convert a <= 7 && b <= 7 into (a | b) <= 7.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15241

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
>From gcc-bugs-return-636080-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 12:38:58 2019
Return-Path: <gcc-bugs-return-636080-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3444 invoked by alias); 4 Mar 2019 12:38:57 -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 3335 invoked by uid 48); 4 Mar 2019 12:38:53 -0000
From: "steven at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/15241] [tree-ssa] Convert a <= 7 && b <= 7 into (a | b) <= 7.
Date: Mon, 04 Mar 2019 12:38: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: tree-ssa
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: steven at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: pinskia at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-15241-4-D0mBPmq5L9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-15241-4@http.gcc.gnu.org/bugzilla/>
References: <bug-15241-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: 2019-03/txt/msg00374.txt.bz2
Content-length: 440

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15241

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Steven Bosscher <steven at gcc dot gnu.org> ---
Fixed since GCC 8
>From gcc-bugs-return-636082-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 12:46:14 2019
Return-Path: <gcc-bugs-return-636082-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 55370 invoked by alias); 4 Mar 2019 12:46: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 55312 invoked by uid 48); 4 Mar 2019 12:46:09 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/41320] XFAIL gcc.dg/tree-ssa/forwprop-12.c
Date: Mon, 04 Mar 2019 12:46: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: 4.5.0
X-Bugzilla-Keywords: missed-optimization, xfail
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:
Message-ID: <bug-41320-4-FXtqZIbVrF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-41320-4@http.gcc.gnu.org/bugzilla/>
References: <bug-41320-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: 2019-03/txt/msg00376.txt.bz2
Content-length: 228

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41320

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Actually reconstructing array-refs is dangerous so I think the testcase looks
for something unwanted...
>From gcc-bugs-return-636083-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 12:47:30 2019
Return-Path: <gcc-bugs-return-636083-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 57372 invoked by alias); 4 Mar 2019 12:47: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 57287 invoked by uid 48); 4 Mar 2019 12:47:26 -0000
From: "eyalroz at technion dot ac.il" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89567] [missed-optimization] Should not be initializing unused struct parameter members
Date: Mon, 04 Mar 2019 12:47: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: 9.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: eyalroz at technion dot ac.il
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-89567-4-iTLrrpQDMD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89567-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89567-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: 2019-03/txt/msg00377.txt.bz2
Content-length: 2181

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89567

--- Comment #4 from Eyal Rozenberg <eyalroz at technion dot ac.il> ---

> In the first excample, the interproceudral constant propagation pass
> (IPA-CP) found that foo1 is so small that copying all of it might be
> worth not passing the unused argument and so it does, that is why
> you'll find function foo1 twice in the assembly. 

Why does this have anything to do with constant propagation? I also don't
understand the sense in two identical copies.

It also sounds like "the wrong optimization" is being used if it's not about
noticing unused parameters.

> This functionality
> in the pass is there just "on the side" and it is not easy to make it
> also work with aggegates, not even desireable (that is the job of a
> different pass, see below).
>
> Both examples are compiled better if you make foo1 and foo2 static.

This really makes no sense to me! bar() is not affected by other TUs at all...

> In the latter case, you get exactly what you want, the structure is be
> split and only the used part survives.  In the first example, you
> don't get a clone emitted which you probably don't need.  Both of
> these transformation are done by a pass called interprocedural scalar
> replacement of aggregates (IPA-SRA), which specifically also aims to
> remove unused arguments, but it never creates multiple clones.

I like this pass :-) ... so, why does it work for the static case with bar2()
but doesn't work with bar1() ?


> I'm afraid you'd need to provide a strong real-world use-case to make
> me investigate how to make IPA-SRA clone so you might not need static
> and/or LTO because that would mean devising a cost/benefit
> (size/speedup) heuristics and that is not easy.

For now I'm just trying to understand why this isn't already happening. Then
I'll perhaps try to understand why clang does do this.

But - don't necessarily clone. IIUC,  cloning would possibly mean removing that
parameter even though it's a field of a struct. But even if you _don't_ clone,
functions calling foo() should still not have to initialize that member. It
seems like we're talking about different optimizations.
>From gcc-bugs-return-636084-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 12:51:02 2019
Return-Path: <gcc-bugs-return-636084-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62177 invoked by alias); 4 Mar 2019 12:51: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 62120 invoked by uid 48); 4 Mar 2019 12:50:58 -0000
From: "steven at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/63864] Missed late memory CSE
Date: Mon, 04 Mar 2019 12:51: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: 5.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: steven 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:
Message-ID: <bug-63864-4-seMbIagh4i@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63864-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63864-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: 2019-03/txt/msg00378.txt.bz2
Content-length: 4211

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63864

--- Comment #4 from Steven Bosscher <steven at gcc dot gnu.org> ---
Code looks pretty much the same for "test_ok" and "test_slow" since GCC 6 for
x86-64, and since GCC 7 for i686.

GCC 6.3 x86-64:
test_ok(float (*) [3], float, float, float, float, float):
        mulss   %xmm3, %xmm0
        movss   4(%rdi), %xmm6
        mulss   %xmm3, %xmm1
        mulss   %xmm3, %xmm2
        movss   12(%rdi), %xmm3
        movaps  %xmm0, %xmm5
        addss   %xmm4, %xmm1
        movss   (%rdi), %xmm0
        addss   %xmm4, %xmm5
        addss   %xmm4, %xmm2
        mulss   %xmm1, %xmm3
        mulss   %xmm5, %xmm0
        mulss   %xmm5, %xmm6
        mulss   8(%rdi), %xmm5
        addss   %xmm3, %xmm0
        movss   24(%rdi), %xmm3
        mulss   %xmm2, %xmm3
        addss   %xmm3, %xmm0
        movss   16(%rdi), %xmm3
        mulss   %xmm1, %xmm3
        mulss   20(%rdi), %xmm1
        addss   %xmm3, %xmm6
        movss   28(%rdi), %xmm3
        mulss   %xmm2, %xmm3
        mulss   32(%rdi), %xmm2
        addss   %xmm1, %xmm5
        addss   %xmm3, %xmm6
        addss   %xmm2, %xmm5
        addss   %xmm6, %xmm0
        addss   %xmm5, %xmm0
        ret
test_slow(mat3&, float, float, float, float, float):
        mulss   %xmm3, %xmm0
        mulss   %xmm3, %xmm1
        mulss   %xmm2, %xmm3
        movss   16(%rdi), %xmm2
        movaps  %xmm0, %xmm6
        addss   %xmm4, %xmm1
        movss   4(%rdi), %xmm0
        addss   %xmm4, %xmm6
        addss   %xmm3, %xmm4
        movss   (%rdi), %xmm3
        mulss   %xmm1, %xmm2
        mulss   %xmm6, %xmm0
        mulss   %xmm6, %xmm3
        mulss   8(%rdi), %xmm6
        addss   %xmm2, %xmm0
        movss   28(%rdi), %xmm2
        mulss   %xmm4, %xmm2
        addss   %xmm2, %xmm0
        movss   12(%rdi), %xmm2
        mulss   %xmm1, %xmm2
        mulss   20(%rdi), %xmm1
        addss   %xmm2, %xmm3
        movss   24(%rdi), %xmm2
        mulss   %xmm4, %xmm2
        mulss   32(%rdi), %xmm4
        addss   %xmm6, %xmm1
        addss   %xmm2, %xmm3
        addss   %xmm4, %xmm1
        addss   %xmm3, %xmm0
        addss   %xmm1, %xmm0
        ret


GCC 7.4 i686:
test_ok(float (*) [3], float, float, float, float, float):
        flds    20(%esp)
        flds    8(%esp)
        fmul    %st(1), %st
        movl    4(%esp), %eax
        fadds   24(%esp)
        flds    12(%esp)
        fmul    %st(2), %st
        fadds   24(%esp)
        fxch    %st(2)
        fmuls   16(%esp)
        fadds   24(%esp)
        flds    (%eax)
        fmul    %st(2), %st
        flds    12(%eax)
        fmul    %st(4), %st
        faddp   %st, %st(1)
        flds    24(%eax)
        fmul    %st(2), %st
        faddp   %st, %st(1)
        flds    4(%eax)
        fmul    %st(3), %st
        flds    16(%eax)
        fmul    %st(5), %st
        faddp   %st, %st(1)
        flds    28(%eax)
        fmul    %st(3), %st
        faddp   %st, %st(1)
        faddp   %st, %st(1)
        fxch    %st(2)
        fmuls   8(%eax)
        fxch    %st(3)
        fmuls   20(%eax)
        faddp   %st, %st(3)
        fmuls   32(%eax)
        faddp   %st, %st(2)
        faddp   %st, %st(1)
        ret
test_slow(mat3&, float, float, float, float, float):
        flds    20(%esp)
        flds    8(%esp)
        fmul    %st(1), %st
        movl    4(%esp), %eax
        fadds   24(%esp)
        flds    12(%esp)
        fmul    %st(2), %st
        fadds   24(%esp)
        fxch    %st(2)
        fmuls   16(%esp)
        fadds   24(%esp)
        flds    4(%eax)
        fmul    %st(2), %st
        flds    16(%eax)
        fmul    %st(4), %st
        faddp   %st, %st(1)
        flds    28(%eax)
        fmul    %st(2), %st
        faddp   %st, %st(1)
        flds    (%eax)
        fmul    %st(3), %st
        flds    12(%eax)
        fmul    %st(5), %st
        faddp   %st, %st(1)
        flds    24(%eax)
        fmul    %st(3), %st
        faddp   %st, %st(1)
        faddp   %st, %st(1)
        fxch    %st(2)
        fmuls   8(%eax)
        fxch    %st(3)
        fmuls   20(%eax)
        faddp   %st, %st(3)
        fmuls   32(%eax)
        faddp   %st, %st(2)
        faddp   %st, %st(1)
        ret
>From gcc-bugs-return-636085-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 12:54:45 2019
Return-Path: <gcc-bugs-return-636085-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130096 invoked by alias); 4 Mar 2019 12:54:44 -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 128083 invoked by uid 48); 4 Mar 2019 12:54:40 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/37516] ~(-2 - a) is not being optimized into a + 1
Date: Mon, 04 Mar 2019 12:54: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: 4.4.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: pinskia at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-37516-4-Q64WAar9ye@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-37516-4@http.gcc.gnu.org/bugzilla/>
References: <bug-37516-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: 2019-03/txt/msg00379.txt.bz2
Content-length: 516

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37516

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
A match.pd rule should be reasonably easy to write.  Beware that ~a is not
undefined but -a - 1 might be if it overflows.  That is

 (simplify
  (bit_not (minus INTEGER_CST@0 @1))
  (plus @1 (minus (negate @0) { build_one_cst (type); }))

with the constant folding done at compile-time, caring for overflow in the
constant term.  As said, not sure how to avoid @1 + new-cst from overflowing.
>From gcc-bugs-return-636086-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 12:58:12 2019
Return-Path: <gcc-bugs-return-636086-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10916 invoked by alias); 4 Mar 2019 12:58: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 10841 invoked by uid 48); 4 Mar 2019 12:58:08 -0000
From: "steven at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/21982] GCC should combine adjacent stdio calls
Date: Mon, 04 Mar 2019 12:58: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: 4.1.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: steven at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
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
Message-ID: <bug-21982-4-3uDSMjfK2J@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-21982-4@http.gcc.gnu.org/bugzilla/>
References: <bug-21982-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: 2019-03/txt/msg00380.txt.bz2
Content-length: 518

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21982

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |WAITING
   Last reconfirmed|2006-02-05 21:14:21         |2019-3-4

--- Comment #38 from Steven Bosscher <steven at gcc dot gnu.org> ---
What happened with Diego's patch?
(https://gcc.gnu.org/ml/gcc-patches/2005-06/msg00909.html)
>From gcc-bugs-return-636087-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 12:59:11 2019
Return-Path: <gcc-bugs-return-636087-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17064 invoked by alias); 4 Mar 2019 12:59: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 12508 invoked by uid 48); 4 Mar 2019 12:59:06 -0000
From: "vincent-gcc at vinc17 dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/89577] New: In the manual, replace -fprofile-arcs -ftest-coverage by the simpler --coverage
Date: Mon, 04 Mar 2019 12:59: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: vincent-gcc at vinc17 dot net
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-89577-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: 2019-03/txt/msg00381.txt.bz2
Content-length: 868

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89577

            Bug ID: 89577
           Summary: In the manual, replace -fprofile-arcs -ftest-coverage
                    by the simpler --coverage
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vincent-gcc at vinc17 dot net
  Target Milestone: ---

The GCC manual Section 10 (gcov)

  https://gcc.gnu.org/onlinedocs/gcc/Invoking-Gcov.html
  https://gcc.gnu.org/onlinedocs/gcc/Gcov-and-Optimization.html

uses "-fprofile-arcs -ftest-coverage" while the simpler option --coverage could
be used instead (I also assume that --coverage may be better in general, as it
generates the right option when linking). I suggest the replacement.
>From gcc-bugs-return-636090-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 13:03:49 2019
Return-Path: <gcc-bugs-return-636090-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27705 invoked by alias); 4 Mar 2019 13:03: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 27639 invoked by uid 48); 4 Mar 2019 13:03:45 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89576] [8/9 Regression] constexpr not working if implicitly captured in a lambda in a function template (gcc 8.3+)
Date: Mon, 04 Mar 2019 13:03: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.3.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: priority bug_status cf_reconfirmed_on cc target_milestone short_desc everconfirmed
Message-ID: <bug-89576-4-e8XRrqk9Ty@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89576-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89576-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: 2019-03/txt/msg00384.txt.bz2
Content-length: 1142

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89576

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-03-04
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |nathan at gcc dot gnu.org
   Target Milestone|---                         |8.4
            Summary|constexpr not working if    |[8/9 Regression] constexpr
                   |implicitly captured in a    |not working if implicitly
                   |lambda in a function        |captured in a lambda in a
                   |template (gcc 8.3+)         |function template (gcc
                   |                            |8.3+)
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r268016.  When not it template, it is still accepted.
>From gcc-bugs-return-636089-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 13:03:35 2019
Return-Path: <gcc-bugs-return-636089-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26884 invoked by alias); 4 Mar 2019 13:03: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 26246 invoked by uid 48); 4 Mar 2019 13:03:31 -0000
From: "steven at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/14455] Structs that cannot alias are not SRA'd
Date: Mon, 04 Mar 2019 13:03: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: tree-ssa
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: steven at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WORKSFORME
X-Bugzilla-Priority: P2
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-14455-4-HKnAEPRKmU@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-14455-4@http.gcc.gnu.org/bugzilla/>
References: <bug-14455-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: 2019-03/txt/msg00383.txt.bz2
Content-length: 358

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14455

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |WORKSFORME
>From gcc-bugs-return-636088-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 13:03:24 2019
Return-Path: <gcc-bugs-return-636088-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25267 invoked by alias); 4 Mar 2019 13:03: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 25171 invoked by uid 48); 4 Mar 2019 13:03:18 -0000
From: "wcventure at 126 dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/89394] libiberty :stack overflow in nm
Date: Mon, 04 Mar 2019 13:03:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wcventure at 126 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: cc
Message-ID: <bug-89394-4-FxzVtDc14H@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89394-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89394-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: 2019-03/txt/msg00382.txt.bz2
Content-length: 426

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89394

Cheng Wen <wcventure at 126 dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wcventure at 126 dot com

--- Comment #4 from Cheng Wen <wcventure at 126 dot com> ---
This issue is similar to CVE-2018-18700 & CVE-2018-18701
>From gcc-bugs-return-636091-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 13:06:44 2019
Return-Path: <gcc-bugs-return-636091-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113892 invoked by alias); 4 Mar 2019 13:06:44 -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 111654 invoked by uid 48); 4 Mar 2019 13:06:40 -0000
From: "steven at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/78824] multiple add should in my opinion be optimized to multiplication
Date: Mon, 04 Mar 2019 13: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.2
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: steven at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WORKSFORME
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-78824-4-l7nGCGy5bD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-78824-4@http.gcc.gnu.org/bugzilla/>
References: <bug-78824-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: 2019-03/txt/msg00385.txt.bz2
Content-length: 358

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78824

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |WORKSFORME
>From gcc-bugs-return-636092-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 13:09:07 2019
Return-Path: <gcc-bugs-return-636092-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 123453 invoked by alias); 4 Mar 2019 13:09:06 -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 123409 invoked by uid 48); 4 Mar 2019 13:09:02 -0000
From: "wcventure at 126 dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/89394] libiberty :stack overflow in nm
Date: Mon, 04 Mar 2019 13:09:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wcventure at 126 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-89394-4-BRxPODv5qb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89394-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89394-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: 2019-03/txt/msg00386.txt.bz2
Content-length: 552

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89394

--- Comment #5 from Cheng Wen <wcventure at 126 dot com> ---
So many similar cases and repetitive CVEs.

This problem has been fixed before, but it has not been completely fixed.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85122
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85452
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87335
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87636
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87675
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87681
>From gcc-bugs-return-636095-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 13:11:42 2019
Return-Path: <gcc-bugs-return-636095-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128422 invoked by alias); 4 Mar 2019 13:11: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 128111 invoked by uid 48); 4 Mar 2019 13:11:38 -0000
From: "steven at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/65964] [meta] Operand Shortening
Date: Mon, 04 Mar 2019 13:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: steven 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_status resolution
Message-ID: <bug-65964-4-zYzZ5Jn3GQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65964-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65964-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: 2019-03/txt/msg00389.txt.bz2
Content-length: 529

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65964
Bug 65964 depends on bug 14844, which changed state.

Bug 14844 Summary: [tree-ssa] narrow types if wide result is not needed for unsigned types or when wrapping is true
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14844

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |WORKSFORME
>From gcc-bugs-return-636093-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 13:11:41 2019
Return-Path: <gcc-bugs-return-636093-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128233 invoked by alias); 4 Mar 2019 13:11:40 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 128048 invoked by uid 48); 4 Mar 2019 13:11:37 -0000
From: "steven at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/14844] [tree-ssa] narrow types if wide result is not needed for unsigned types or when wrapping is true
Date: Mon, 04 Mar 2019 13:11: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: tree-ssa
X-Bugzilla-Keywords: missed-optimization, TREE
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: steven at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WORKSFORME
X-Bugzilla-Priority: P2
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-14844-4-OpiN5SJ2u2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-14844-4@http.gcc.gnu.org/bugzilla/>
References: <bug-14844-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: 2019-03/txt/msg00387.txt.bz2
Content-length: 358

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14844

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |WORKSFORME
>From gcc-bugs-return-636094-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 13:11:41 2019
Return-Path: <gcc-bugs-return-636094-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128259 invoked by alias); 4 Mar 2019 13:11:41 -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 128069 invoked by uid 48); 4 Mar 2019 13:11:37 -0000
From: "steven at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/19986] [meta-bug] fold missing optimizations (compared to RTL)
Date: Mon, 04 Mar 2019 13:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: dep_changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 4.0.0
X-Bugzilla-Keywords: meta-bug, missed-optimization, TREE
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: steven 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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-19986-4-SgHKjSTV3g@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-19986-4@http.gcc.gnu.org/bugzilla/>
References: <bug-19986-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: 2019-03/txt/msg00388.txt.bz2
Content-length: 529

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19986
Bug 19986 depends on bug 14844, which changed state.

Bug 14844 Summary: [tree-ssa] narrow types if wide result is not needed for unsigned types or when wrapping is true
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14844

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |WORKSFORME
>From gcc-bugs-return-636096-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 13:14:27 2019
Return-Path: <gcc-bugs-return-636096-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15812 invoked by alias); 4 Mar 2019 13:14: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 15018 invoked by uid 48); 4 Mar 2019 13:14:23 -0000
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/89569] line number is not accurate on large file gcc compared to clang
Date: Mon, 04 Mar 2019 13:14: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.0
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dmalcolm 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-89569-4-4jQyU9Lapk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89569-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89569-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: 2019-03/txt/msg00390.txt.bz2
Content-length: 271

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89569

--- Comment #1 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
I don't think the word "accurate" is right here: both gcc and clang print the
wrong line number - they're just getting it wrong in different ways.
>From gcc-bugs-return-636097-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 13:16:00 2019
Return-Path: <gcc-bugs-return-636097-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27280 invoked by alias); 4 Mar 2019 13:15: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 23597 invoked by uid 48); 4 Mar 2019 13:15:48 -0000
From: "steven at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/83352] Missed optimization in math expression: sqrt(sqrt(a)) == pow(a, 1/4)
Date: Mon, 04 Mar 2019 13:15: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: steven at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: WONTFIX
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-83352-4-AJ2ZPyePcF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-83352-4@http.gcc.gnu.org/bugzilla/>
References: <bug-83352-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: 2019-03/txt/msg00391.txt.bz2
Content-length: 547

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83352

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #4 from Steven Bosscher <steven at gcc dot gnu.org> ---
More than 1 year no explanation for how "pow(a, 1/4)" can be compiled 
to faster code than "sqrt(sqrt(a))" => WONTFIX.
>From gcc-bugs-return-636098-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 13:20:50 2019
Return-Path: <gcc-bugs-return-636098-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47166 invoked by alias); 4 Mar 2019 13:20: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 47097 invoked by uid 48); 4 Mar 2019 13:20:46 -0000
From: "steven at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/86011] Inefficient code generated for ldivmod with constant value
Date: Mon, 04 Mar 2019 13:20: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: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: steven 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-86011-4-BlAwOSTCou@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-86011-4@http.gcc.gnu.org/bugzilla/>
References: <bug-86011-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: 2019-03/txt/msg00392.txt.bz2
Content-length: 293

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86011

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
>From gcc-bugs-return-636099-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 13:25:12 2019
Return-Path: <gcc-bugs-return-636099-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62975 invoked by alias); 4 Mar 2019 13:25: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 62874 invoked by uid 48); 4 Mar 2019 13:25:06 -0000
From: "steven at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/40072] Nonoptimal code -  CMOVxx %eax,%edi; mov    %edi,%eax; retq
Date: Mon, 04 Mar 2019 13:25: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: 4.4.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: steven 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 cf_known_to_fail
Message-ID: <bug-40072-4-fcvssAxWKz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-40072-4@http.gcc.gnu.org/bugzilla/>
References: <bug-40072-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: 2019-03/txt/msg00393.txt.bz2
Content-length: 463

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40072

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW
   Last reconfirmed|2009-05-08 16:08:31         |2019-3-4
                 CC|steven at gcc dot gnu.org          |
      Known to fail|                            |8.2.0
>From gcc-bugs-return-636100-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 13:33:15 2019
Return-Path: <gcc-bugs-return-636100-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 122554 invoked by alias); 4 Mar 2019 13:33: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 122447 invoked by uid 48); 4 Mar 2019 13:33:09 -0000
From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/89567] [missed-optimization] Should not be initializing unused struct parameter members
Date: Mon, 04 Mar 2019 13:33: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: 9.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jamborm 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-89567-4-UhBzPffapo@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89567-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89567-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: 2019-03/txt/msg00394.txt.bz2
Content-length: 3412

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89567

--- Comment #5 from Martin Jambor <jamborm at gcc dot gnu.org> ---
(In reply to Eyal Rozenberg from comment #4)
> > In the first excample, the interproceudral constant propagation pass
> > (IPA-CP) found that foo1 is so small that copying all of it might be
> > worth not passing the unused argument and so it does, that is why
> > you'll find function foo1 twice in the assembly. 
> 
> Why does this have anything to do with constant propagation? I also don't
> understand the sense in two identical copies.

The transformation literally removes a parameter from a function.  All
(direct) callers in the same compilation unit then call the new clone,
all indirect clones and callers from other compilation units call the
old one, with the old calling convention.  I understand that in your
simple testcase that does not matter but in others it might (and
IPA-CP is a high-level pass that does not know about physical
registers, calling conventions etc.).

> 
> It also sounds like "the wrong optimization" is being used if it's not about
> noticing unused parameters.

You can call it that way if you like to.  It was just easy to add
there, it makes a good job and has no practical disadvantages.

> 
> > This functionality
> > in the pass is there just "on the side" and it is not easy to make it
> > also work with aggegates, not even desireable (that is the job of a
> > different pass, see below).
> >
> > Both examples are compiled better if you make foo1 and foo2 static.
> 
> This really makes no sense to me! bar() is not affected by other TUs at
> all...

IPA-SRA primarily changes foo.  

> 
> > In the latter case, you get exactly what you want, the structure is be
> > split and only the used part survives.  In the first example, you
> > don't get a clone emitted which you probably don't need.  Both of
> > these transformation are done by a pass called interprocedural scalar
> > replacement of aggregates (IPA-SRA), which specifically also aims to
> > remove unused arguments, but it never creates multiple clones.
> 
> I like this pass :-) ... so, why does it work for the static case with
> bar2() but doesn't work with bar1() ?

I don't understand your question, just make foo1 and/or foo2 static
and it will trigger.   The pass needs to adjust all callers and
therefore only works on static functions because otherwise there may
be other call in other compilation units.

> 
> > I'm afraid you'd need to provide a strong real-world use-case to make
> > me investigate how to make IPA-SRA clone so you might not need static
> > and/or LTO because that would mean devising a cost/benefit
> > (size/speedup) heuristics and that is not easy.
> 
> For now I'm just trying to understand why this isn't already happening. Then
> I'll perhaps try to understand why clang does do this.
> 
> But - don't necessarily clone. IIUC,  cloning would possibly mean removing
> that parameter even though it's a field of a struct. But even if you _don't_
> clone, functions calling foo() should still not have to initialize that
> member. It seems like we're talking about different optimizations.

Indeed, you really have a IPA-DSE in your mind (DSE stands for dead
store elimination), that would only affect callers.  We don't have
that, it might be an alternative for to IPA-SRA when we do cannot or
do not want to clone.
>From gcc-bugs-return-636101-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 13:34:15 2019
Return-Path: <gcc-bugs-return-636101-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 128525 invoked by alias); 4 Mar 2019 13:34: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 125777 invoked by uid 48); 4 Mar 2019 13:34:10 -0000
From: "steven at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/17217] not removing removal of nested structs
Date: Mon, 04 Mar 2019 13:34: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: 4.0.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: steven at gcc dot gnu.org
X-Bugzilla-Status: WAITING
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
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-17217-4-8DlKcoFX6W@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-17217-4@http.gcc.gnu.org/bugzilla/>
References: <bug-17217-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: 2019-03/txt/msg00395.txt.bz2
Content-length: 1066

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17217

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |WAITING

--- Comment #6 from Steven Bosscher <steven at gcc dot gnu.org> ---
What code is expected in this really old bug? Trunk x86-64 today:

int h(int *a);
struct G
{
int t;
int t1;
};
static int g1(struct G*);
int f1(int i, int j)
{
  struct G nestedf1={i,j};
  return g1(&nestedf1)+nestedf1.t1;
}
__attribute__((noinline))
static int g1(struct G *nestedf1)
{
  return h(&nestedf1->t)+ nestedf1->t1;
}



g1(G*):
        pushq   %rbx
        movq    %rdi, %rbx
        call    h(int*)
        addl    4(%rbx), %eax
        popq    %rbx
        ret
f1(int, int):
        subq    $24, %rsp
        movl    %edi, 8(%rsp)
        leaq    8(%rsp), %rdi
        movl    %esi, 12(%rsp)
        call    g1(G*)
        addl    12(%rsp), %eax
        addq    $24, %rsp
        ret
>From gcc-bugs-return-636102-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 13:39:33 2019
Return-Path: <gcc-bugs-return-636102-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 38256 invoked by alias); 4 Mar 2019 13:39:32 -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 35926 invoked by uid 48); 4 Mar 2019 13:39:29 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug gcov-profile/89577] In the manual, replace -fprofile-arcs -ftest-coverage by the simpler --coverage
Date: Mon, 04 Mar 2019 13:39:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: gcov-profile
X-Bugzilla-Version: 9.0
X-Bugzilla-Keywords: documentation
X-Bugzilla-Severity: normal
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: bug_status cf_reconfirmed_on assigned_to target_milestone everconfirmed
Message-ID: <bug-89577-4-4PAjXC4Hr9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89577-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89577-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: 2019-03/txt/msg00396.txt.bz2
Content-length: 644

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89577

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-03-04
           Assignee|unassigned at gcc dot gnu.org      |marxin at gcc dot gnu.org
   Target Milestone|---                         |9.0
     Ever confirmed|0                           |1

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Yep, let me update that.
>From gcc-bugs-return-636103-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 13:41:40 2019
Return-Path: <gcc-bugs-return-636103-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25451 invoked by alias); 4 Mar 2019 13:41: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 21158 invoked by uid 48); 4 Mar 2019 13:41:36 -0000
From: "wilco at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/89437] [9 regression] incorrect result for sinl (atanl (x))
Date: Mon, 04 Mar 2019 13:41: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wilco at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
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-89437-4-aehdjBUqJ7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89437-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89437-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: 2019-03/txt/msg00397.txt.bz2
Content-length: 406

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89437

Wilco <wilco at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Wilco <wilco at gcc dot gnu.org> ---
Fixed
>From gcc-bugs-return-636104-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 13:46:53 2019
Return-Path: <gcc-bugs-return-636104-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28488 invoked by alias); 4 Mar 2019 13:46: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 27534 invoked by uid 48); 4 Mar 2019 13:46:49 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/17217] not removing removal of nested structs
Date: Mon, 04 Mar 2019 13:46: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: 4.0.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status everconfirmed
Message-ID: <bug-17217-4-Vu90yEHU9O@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-17217-4@http.gcc.gnu.org/bugzilla/>
References: <bug-17217-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: 2019-03/txt/msg00398.txt.bz2
Content-length: 981

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17217

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |UNCONFIRMED
     Ever confirmed|1                           |0

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Steven Bosscher from comment #6)
> What code is expected in this really old bug? Trunk x86-64 today:
> __attribute__((noinline))

g1 is not to be noinline for the nested testcase.

The un-nested testcase is actually should not be optimized.
The nested function testcase shows the issue.
For the original testcase:
int h(int *a);
int f(int i, int j)
{
  int t = i;
  int t1 = j;
  int g()
  {
     return h(&t) + t1;
  }
  return g() + t1;
}

We should optimize this to the same as:
int h(int *a);
int f(int i, int j)
{
  return h(&t) + 2 * j;
}
>From gcc-bugs-return-636105-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 14:05:30 2019
Return-Path: <gcc-bugs-return-636105-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84106 invoked by alias); 4 Mar 2019 14:05: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 84080 invoked by uid 48); 4 Mar 2019 14:05:25 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89578] New: [9 Regression] 5% runtime regression for 481.wrf at -Ofast -flto
Date: Mon, 04 Mar 2019 14:05: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:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-89578-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: 2019-03/txt/msg00399.txt.bz2
Content-length: 648

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89578

            Bug ID: 89578
           Summary: [9 Regression] 5% runtime regression for 481.wrf at
                    -Ofast -flto
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
  Target Milestone: ---

I see with -march=native on haswell in addition to -Ofast -flto ~5% runtime
regression for 481.wrf with the last known good rev. being r269093 and
the first known bad one r269146.
>From gcc-bugs-return-636106-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 14:06:25 2019
Return-Path: <gcc-bugs-return-636106-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86053 invoked by alias); 4 Mar 2019 14:06: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 85961 invoked by uid 48); 4 Mar 2019 14:06:20 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89538] [7.3.0] GCC miscompiling LLVM because of wrong vectorization
Date: Mon, 04 Mar 2019 14:06: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: WAITING
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-89538-4-igG5mmP2Zd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89538-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89538-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: 2019-03/txt/msg00400.txt.bz2
Content-length: 951

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89538

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
> 
> So I investigated further to figure out which instruction actually sets
> "0x0" to the new location, and found that instruction 202aef4 below is the
> one
> 
>  202aed0: 48 c7 00 00 00 00 00  movq   $0x0,(%rax)
>  202aed7: f3 0f 6f 08           movdqu (%rax),%xmm1
>  202aedb: 48 83 c0 20           add    $0x20,%rax
>  202aedf: 48 83 c1 20           add    $0x20,%rcx
>  202aee3: 48 c7 40 f0 00 00 00  movq   $0x0,-0x10(%rax)
>  202aeea: 00
>  202aeeb: f3 0f 6f 40 f0        movdqu -0x10(%rax),%xmm0
>  202aef0: 0f 11 49 e0           movups %xmm1,-0x20(%rcx)
>  202aef4: 0f 11 41 f0           movups %xmm0,-0x10(%rcx)
>  202aef8: 48 39 f8              cmp    %rdi,%rax
>  202aefb: 75 d3                 jne    202aed0

What's the name of the function this assembly belongs to?

Can you please test the 7.4.0 release?
>From gcc-bugs-return-636107-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 14:07:55 2019
Return-Path: <gcc-bugs-return-636107-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 88239 invoked by alias); 4 Mar 2019 14:07:55 -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 88193 invoked by uid 48); 4 Mar 2019 14:07:51 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89578] [9 Regression] 5% runtime regression for 481.wrf at -Ofast -flto
Date: Mon, 04 Mar 2019 14:07: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: needs-bisection
X-Bugzilla-Severity: normal
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: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc assigned_to everconfirmed
Message-ID: <bug-89578-4-FgWUCfFIrF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89578-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89578-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: 2019-03/txt/msg00401.txt.bz2
Content-length: 861

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89578

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needs-bisection
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-03-04
                 CC|                            |marxin at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |marxin at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Also seen here:
https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=2.270.0&plot.1=7.270.0&plot.2=4.270.0&plot.3=8.270.0

I'll bisect that.
>From gcc-bugs-return-636108-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 14:08:48 2019
Return-Path: <gcc-bugs-return-636108-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93155 invoked by alias); 4 Mar 2019 14: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 93066 invoked by uid 48); 4 Mar 2019 14:08:44 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89578] [9 Regression] 5% runtime regression for 481.wrf at -Ofast -flto
Date: Mon, 04 Mar 2019 14:08: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:
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: keywords bug_status cf_reconfirmed_on cc assigned_to target_milestone everconfirmed
Message-ID: <bug-89578-4-RlVEoUqSND@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89578-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89578-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: 2019-03/txt/msg00402.txt.bz2
Content-length: 867

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89578

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|needs-bisection             |
             Status|ASSIGNED                    |UNCONFIRMED
   Last reconfirmed|2019-03-04 00:00:00         |
                 CC|                            |hjl.tools at gmail dot com
           Assignee|marxin at gcc dot gnu.org          |unassigned at gcc dot gnu.org
   Target Milestone|---                         |9.0
     Ever confirmed|1                           |0

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Suspicious changes include the fix for PR87609 and the new
pass_remove_partial_avx_dependency.  I see no other relevant changes.
>From gcc-bugs-return-636109-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 14:36:33 2019
Return-Path: <gcc-bugs-return-636109-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5297 invoked by alias); 4 Mar 2019 14: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 5186 invoked by uid 48); 4 Mar 2019 14:36:29 -0000
From: "steven at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/68211] Free __m128d subreg of double
Date: Mon, 04 Mar 2019 14:36: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: 6.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: steven 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
Message-ID: <bug-68211-4-srtC2k4VjT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68211-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68211-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: 2019-03/txt/msg00403.txt.bz2
Content-length: 869

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68211

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW
   Last reconfirmed|2016-04-19 00:00:00         |2019-3-4

--- Comment #7 from Steven Bosscher <steven at gcc dot gnu.org> ---
"g++ (Compiler-Explorer-Build) 9.0.1 20190303 (experimental)":

#include <x86intrin.h>

double sqrt_up(double x){
  __m128d y = { x, 0 };
  return _mm_cvtsd_f64(_mm_sqrt_round_sd(y, y,
_MM_FROUND_TO_POS_INF|_MM_FROUND_NO_EXC));
}

double f(double x)
{
  return __builtin_sqrt(x);
}


sqrt_up(double):
        vmovq   %xmm0, %xmm0
        vsqrtsd {ru-sae}, %xmm0, %xmm0, %xmm0
        ret
f(double):
        vsqrtsd %xmm0, %xmm0, %xmm0
        ret
>From gcc-bugs-return-636110-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 15:08:56 2019
Return-Path: <gcc-bugs-return-636110-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18981 invoked by alias); 4 Mar 2019 15:08:55 -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 17448 invoked by uid 48); 4 Mar 2019 15:08:50 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89578] [9 Regression] 5% runtime regression for 481.wrf at -Ofast -flto
Date: Mon, 04 Mar 2019 15:08: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:
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 everconfirmed
Message-ID: <bug-89578-4-5sgGgWt8Sr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89578-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89578-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: 2019-03/txt/msg00404.txt.bz2
Content-length: 683

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89578

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-03-04
     Ever confirmed|0                           |1

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #2)
> Suspicious changes include the fix for PR87609 and the new
> pass_remove_partial_avx_dependency.  I see no other relevant changes.

Yes, started with r269098.
>From gcc-bugs-return-636111-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 15:15:50 2019
Return-Path: <gcc-bugs-return-636111-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 75152 invoked by alias); 4 Mar 2019 15:15: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 74939 invoked by uid 48); 4 Mar 2019 15:15:41 -0000
From: "abigail.buccaneer at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89579] New: -Wclobbered warning false positive when compiling with -Og
Date: Mon, 04 Mar 2019 15:15: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: diagnostic, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: abigail.buccaneer 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 keywords bug_severity priority component assigned_to reporter target_milestone attachments.created
Message-ID: <bug-89579-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: 2019-03/txt/msg00405.txt.bz2
Content-length: 980

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89579

            Bug ID: 89579
           Summary: -Wclobbered warning false positive when compiling with
                    -Og
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: diagnostic, rejects-valid
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: abigail.buccaneer at gmail dot com
  Target Milestone: ---

Created attachment 45884
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45884&action=edit
Minimal reproduction

When compiling with `-Wclobbered -Og`, we see false positives from the
-Wclobbered warning. These don't occur with any other optimization level. This
breaks our build under `-Wextra -Werror -Og`.

Attached is a minimal reproduction test case. This bug is present from GCC
5.5.0 to GCC trunk (9.0.1 20190303). GCC 5.4.0 and below are not affected.
>From gcc-bugs-return-636112-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 15:20:33 2019
Return-Path: <gcc-bugs-return-636112-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 80832 invoked by alias); 4 Mar 2019 15: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 80775 invoked by uid 48); 4 Mar 2019 15:20:28 -0000
From: "eric at efcs dot ca" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89580] New: overload resolution for pointers fails to consider conversion operator
Date: Mon, 04 Mar 2019 15:20: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: eric at efcs dot ca
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-89580-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: 2019-03/txt/msg00406.txt.bz2
Content-length: 866

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89580

            Bug ID: 89580
           Summary: overload resolution for pointers fails to consider
                    conversion operator
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: eric at efcs dot ca
  Target Milestone: ---

I believe the following code is valid and should be accepted.

// g++ -std=c++11
struct Foo {
  template <class T> operator T() const;
};
// error: no match for 'operator==' (operand types are 'Foo' and 'void*')
bool R = (Foo{} == static_cast<void*>(nullptr));


Note that when Foo's conversion operator is declared as `operator T*()`, the
code is accepted.

See https://godbolt.org/z/nc43wx
>From gcc-bugs-return-636113-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 15:23:33 2019
Return-Path: <gcc-bugs-return-636113-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 86920 invoked by alias); 4 Mar 2019 15:23: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 86872 invoked by uid 48); 4 Mar 2019 15:23:29 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/89560] [9 regression] ICE In function 'rtx_def* gen_vec_extract_lo_v64qi(rtx, rtx)'
Date: Mon, 04 Mar 2019 15:23: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: jakub 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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed
Message-ID: <bug-89560-4-rIW2qFilJP@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89560-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89560-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: 2019-03/txt/msg00407.txt.bz2
Content-length: 931

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89560

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-03-04
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Oops, caused by my previous fold_checksum_tree fix r269303 aka PR89503.

Short testcase:
#define TEN(x) x##0, x##1, x##2, x##3, x##4, x##5, x##6, x##7, x##8, x##9,
#define HUNDRED(x) TEN(x##0) TEN(x##1) TEN(x##2) TEN(x##3) TEN(x##4) \
                   TEN(x##5) TEN(x##6) TEN(x##7) TEN(x##8) TEN(x##9)
int foo (int, ...);

int
bar (void)
{
  return (foo (HUNDRED (1) 0));
}
>From gcc-bugs-return-636114-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 15:44:29 2019
Return-Path: <gcc-bugs-return-636114-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 48031 invoked by alias); 4 Mar 2019 15:44: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 47967 invoked by uid 48); 4 Mar 2019 15:44:24 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/89560] [9 regression] ICE In function 'rtx_def* gen_vec_extract_lo_v64qi(rtx, rtx)'
Date: Mon, 04 Mar 2019 15:44: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: jakub 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: 9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-89560-4-bmaZGWq9qG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89560-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89560-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: 2019-03/txt/msg00408.txt.bz2
Content-length: 533

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89560

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45885
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45885&action=edit
gcc9-pr89560.patch

Fix the buffer overflow.  Unlike most other trees, CALL_EXPR has variable size,
on 64-bit targets 48 + call_expr_nargs * 8, while fold_checksum_tree was using
fixed size 216 byte long buffer, so any CALL_EXPR with 22 or more arguments and
TREE_NO_WARNING flag set caused buffer overflow.
>From gcc-bugs-return-636115-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 15:49:39 2019
Return-Path: <gcc-bugs-return-636115-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 56774 invoked by alias); 4 Mar 2019 15:49: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 56573 invoked by uid 55); 4 Mar 2019 15:49:25 -0000
From: "tnfchris at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/88530] [8 Regression] AArch64 Unsupported options passed to assemblers when it doesn't need to.
Date: Mon, 04 Mar 2019 15:49: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.0
X-Bugzilla-Keywords: assemble-failure
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tnfchris at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: tnfchris at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 8.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-88530-4-nnsm23RGTF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-88530-4@http.gcc.gnu.org/bugzilla/>
References: <bug-88530-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: 2019-03/txt/msg00409.txt.bz2
Content-length: 656

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88530

--- Comment #7 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
Author: tnfchris
Date: Mon Mar  4 15:48:49 2019
New Revision: 269366

URL: https://gcc.gnu.org/viewcvs?rev=269366&root=gcc&view=rev
Log:
AArch64: Make test options_set_10.c not run on native.

The test options_set_10.c shouldn't run when cross compiled.
In addition to gating it on linux I'm also gating it on native now.

gcc/testsuite/ChangeLog:

        PR target/88530
        * gcc.target/aarch64/options_set_10.c:


Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/aarch64/options_set_10.c
>From gcc-bugs-return-636116-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 15:58:58 2019
Return-Path: <gcc-bugs-return-636116-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 103463 invoked by alias); 4 Mar 2019 15:58: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 103423 invoked by uid 48); 4 Mar 2019 15:58:54 -0000
From: "yyc1992 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89581] New: Unneeded stack alignment on windows x86
Date: Mon, 04 Mar 2019 15:58: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: 8.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: yyc1992 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-89581-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: 2019-03/txt/msg00410.txt.bz2
Content-length: 1316

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89581

            Bug ID: 89581
           Summary: Unneeded stack alignment on windows x86
           Product: gcc
           Version: 8.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: yyc1992 at gmail dot com
  Target Milestone: ---

On windows, when compiling the following code with ` gcc -mavx2 a.c -o - -S -O3
-g0 -fno-asynchronous-unwind-tables -fomit-frame-pointer -Wall -Wextra`

```
typedef struct {
    double x1;
    double x2;
} vdouble __attribute__((aligned(16)));

vdouble f(vdouble x, vdouble y)
{
    return (vdouble){x.x1 + y.x1, x.x2 + y.x2};
}
```

I got

```
        pushq   %rbp
        vmovdqa (%r8), %xmm0
        movq    %rcx, %rax
        vaddpd  (%rdx), %xmm0, %xmm0
        movq    %rsp, %rbp
        andq    $-16, %rsp
        vmovaps %xmm0, (%rcx)
        leave
        ret
```

which include 4 extra instructions to align the stack without actually using
it....

FWIW, clang has a similar problem on linux...
https://bugs.llvm.org/show_bug.cgi?id=40844

Also worth noting that with -O2 all three vector instructions are splitted into
scalar ones whereas clang does this transformation at -O2...
>From gcc-bugs-return-636117-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 16:10:32 2019
Return-Path: <gcc-bugs-return-636117-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 130499 invoked by alias); 4 Mar 2019 16:10:32 -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 130462 invoked by uid 48); 4 Mar 2019 16:10:27 -0000
From: "yyc1992 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89582] New: Suboptimal code generated for floating point struct in -O3 compare to -O2
Date: Mon, 04 Mar 2019 16:10: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: 8.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: yyc1992 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-89582-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: 2019-03/txt/msg00411.txt.bz2
Content-length: 1683

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89582

            Bug ID: 89582
           Summary: Suboptimal code generated for floating point struct in
                    -O3 compare to -O2
           Product: gcc
           Version: 8.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: yyc1992 at gmail dot com
  Target Milestone: ---

When testing the code for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89581 on
linux, I noticed that the code seems suboptimum when compiled under -O3 rather
than -O2 on linux x64.

```
typedef struct {
    double x1;
    double x2;
} vdouble __attribute__((aligned(16)));

vdouble f(vdouble x, vdouble y)
{
    return (vdouble){x.x1 + y.x1, x.x2 + y.x2};
}
```

Compiled with `-O2` produces
```
f:
        addsd   %xmm3, %xmm1
        addsd   %xmm2, %xmm0
        ret
```

With `-O3` or `-Ofast`, however, the code produced is,

```
f:
        movq    %xmm0, -40(%rsp)
        movq    %xmm1, -32(%rsp)
        movapd  -40(%rsp), %xmm4
        movq    %xmm2, -24(%rsp)
        movq    %xmm3, -16(%rsp)
        addpd   -24(%rsp), %xmm4
        movaps  %xmm4, -40(%rsp)
        movsd   -32(%rsp), %xmm1
        movsd   -40(%rsp), %xmm0
        ret
```

It seems that gcc tries to use the vector instruction but had to use the stack
for that. I did a quick benchmark which confirms that the -O3 version is much
slower than the -O2 version.

Clang produces

```
f:
        addsd   %xmm2, %xmm0
        addsd   %xmm3, %xmm1
        retq
```

As long as any optimizations are on, which seems appropriate.
>From gcc-bugs-return-636118-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 16:21:22 2019
Return-Path: <gcc-bugs-return-636118-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 34568 invoked by alias); 4 Mar 2019 16:21: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 29424 invoked by uid 48); 4 Mar 2019 16:21:16 -0000
From: "yyc1992 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/89581] Unneeded stack alignment on windows x86
Date: Mon, 04 Mar 2019 16: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: 8.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: yyc1992 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:
Message-ID: <bug-89581-4-wpwU0VZX44@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89581-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89581-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: 2019-03/txt/msg00412.txt.bz2
Content-length: 1244

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89581

--- Comment #1 from Yichao Yu <yyc1992 at gmail dot com> ---
The problem is still there when compiled with -O2

```
f:
        pushq   %rbp
        vmovq   (%r8), %xmm1
        movq    %rcx, %rax
        vmovq   8(%r8), %xmm0
        vaddsd  (%rdx), %xmm1, %xmm1
        vaddsd  8(%rdx), %xmm0, %xmm0
        movq    %rsp, %rbp
        andq    $-16, %rsp
        vmovsd  %xmm1, (%rcx)
        vmovsd  %xmm0, 8(%rcx)
        leave
        ret
```


but is not there under `-O2` when the arguments and results are passed
explicitly by reference.

```
void f2(vdouble *res, const vdouble *x, const vdouble *y)
{
    *res = (vdouble){x->x1 + y->x1, x->x2 + y->x2};
}
```


```
f2:
        vmovsd  8(%rdx), %xmm0
        vmovsd  (%rdx), %xmm1
        vaddsd  8(%r8), %xmm0, %xmm0
        vaddsd  (%r8), %xmm1, %xmm1
        vmovsd  %xmm0, 8(%rcx)
        vmovsd  %xmm1, (%rcx)
```

The problem comes back, however, with the explicit pass by reference version
when compiled under -O3

```
f2:
        pushq   %rbp
        vmovapd (%rdx), %xmm0
        vaddpd  (%r8), %xmm0, %xmm0
        movq    %rsp, %rbp
        andq    $-16, %rsp
        vmovaps %xmm0, (%rcx)
        leave
        ret
```
>From gcc-bugs-return-636119-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 16:21:37 2019
Return-Path: <gcc-bugs-return-636119-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 35473 invoked by alias); 4 Mar 2019 16:21: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 35388 invoked by uid 48); 4 Mar 2019 16:21:32 -0000
From: "simon at pushface dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/89583] New: GNAT.Sockets.Bind_Socket fails with IPv4 address
Date: Mon, 04 Mar 2019 16:21: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: 9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: simon at pushface dot 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-89583-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: 2019-03/txt/msg00413.txt.bz2
Content-length: 1184

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89583

            Bug ID: 89583
           Summary: GNAT.Sockets.Bind_Socket fails with IPv4 address
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: simon at pushface dot org
  Target Milestone: ---

Created attachment 45886
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45886&action=edit
Reproducer

On Darwin 18.2.0 (Mojave), gcc (GCC) 9.0.1 20190219 (experimental),
GNAT.Sockets.Bind_Socket fails if given an IPv4 address.

I believe that this is caused by the introduction of the new 
IPv6-aware Sockaddr, which is an Unchecked_Union where the size 
in bytes can be 4 (unspec), 16 (IPv4) or 28 (IPv6) bytes; when 
Bind_Socket says

      Sin : aliased Sockaddr;
      Len : constant C.int := Sin'Size / 8;

   begin
      Set_Address (Sin'Unchecked_Access, Address);

      Res := C_Bind (C.int (Socket), Sin'Address, Len);

it sets Len to be 28, and macOS (darwin 15, darwin 18) says this 
is an invalid argument; see demonstrator.
>From gcc-bugs-return-636120-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 16:22:01 2019
Return-Path: <gcc-bugs-return-636120-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 36461 invoked by alias); 4 Mar 2019 16:22: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 36359 invoked by uid 48); 4 Mar 2019 16:21:56 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89579] -Wclobbered warning false positive when compiling with -Og
Date: Mon, 04 Mar 2019 16:22: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: diagnostic, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89579-4-eFFH2BMv47@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89579-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89579-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: 2019-03/txt/msg00414.txt.bz2
Content-length: 3549

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89579

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |law at gcc dot gnu.org,
                   |                            |redi at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
This is caused by the uninitialized __capacity variable in
basic_string& operator=(basic_string&& __str);

The code is like:
            // Just move the allocated pointer, our allocator can free it.
            pointer __data = nullptr;
            size_type __capacity;
            if (!_M_is_local())
              {
                if (_Alloc_traits::_S_always_equal())
                  {
                    // __str can reuse our existing storage.
                    __data = _M_data();
                    __capacity = _M_allocated_capacity;
                  }
                else // __str can't use it, so free it.
                  _M_destroy(_M_allocated_capacity);
              }

            _M_data(__str._M_data());
            _M_length(__str.length());
            _M_capacity(__str._M_allocated_capacity);
            if (__data)
              {
                __str._M_data(__data);
                __str._M_capacity(__capacity);
              }
            else
              __str._M_data(__str._M_local_buf);

Although __capacity is never actually used uninitialized (and e.g. the uninit
warning pass figures that out), because it is used only if __data is non-NULL
and __data is non-NULL only if __capacity is also initialized, with -Og or e.g.
with -O1 -fno-tree-dominator-opts, if we don't perform jump threading, we end
up with something like:
  if (&dummy.D.19123._M_local_buf != _35)
    goto <bb 14>; [70.00%]
  else
    goto <bb 15>; [30.00%]

  <bb 14> [local count: 173485181]:
  __capacity_44 = dummy.D.19123._M_allocated_capacity;

  <bb 15> [local count: 247835973]:
  # __data_47 = PHI <_35(14), 0B(13)>
  # __capacity_48 = PHI <__capacity_44(14), __capacity_50(D)(13)>
  dummy._M_dataplus._M_p = _37;
  _45 = D.24766._M_string_length;
  dummy._M_string_length = _45;
  _46 = D.24766.D.19123._M_allocated_capacity;
  dummy.D.19123._M_allocated_capacity = _46;
  if (__data_47 != 0B)
    goto <bb 16>; [70.00%]
  else
    goto <bb 17>; [30.00%]

  <bb 16> [local count: 173485181]:
  D.24766._M_dataplus._M_p = __data_47;
  D.24766.D.19123._M_allocated_capacity = __capacity_48;
  goto <bb 18>; [100.00%]

before expansion and later when IRA checks for the clobbered vars, it does:
      if (VAR_P (decl)
          && DECL_RTL_SET_P (decl)
          && REG_P (DECL_RTL (decl))
          && regno_clobbered_at_setjmp (setjmp_crosses, REGNO (DECL_RTL
(decl))))
where the last one uses:
  return ((REG_N_SETS (regno) > 1
           || REGNO_REG_SET_P (df_get_live_out (ENTRY_BLOCK_PTR_FOR_FN (cfun)),
                               regno))
          && REGNO_REG_SET_P (setjmp_crosses, regno));
While REG_N_SETS is just 1 here for the pseudo used for __capacity, because of
the uninitialized use in the PHI it is considered live on the entry block and
that is why the warning is emitted.

Changing libstdc++ code to size_type __capacity = 0; makes the warning away,
though we'd need to check if it doesn't result in worse generated code.
>From gcc-bugs-return-636122-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 16:22:18 2019
Return-Path: <gcc-bugs-return-636122-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37879 invoked by alias); 4 Mar 2019 16:22:18 -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 37777 invoked by uid 48); 4 Mar 2019 16:22:14 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/89579] -Wclobbered warning false positive when compiling with -Og
Date: Mon, 04 Mar 2019 16:22: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: diagnostic, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub 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-89579-4-vdC8bS9J5O@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-89579-4@http.gcc.gnu.org/bugzilla/>
References: <bug-89579-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: 2019-03/txt/msg00416.txt.bz2
Content-length: 401

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89579

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-03-04
     Ever confirmed|0                           |1
>From gcc-bugs-return-636121-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 04 16:22:10 2019
Return-Path: <gcc-bugs-return-636121-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 37174 invoked by alias); 4 Mar 2019 16:22: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 37166 invoked by uid 89); 4 Mar 2019 16:22:09 -0000
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=4.8 required=5.0 testsºYES_50,HTML_MESSAGE,LIKELY_SPAM_BODY,LIKELY_SPAM_SUBJECT,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS,T_FILL_THIS_FORM_SHORT autolearn=no version=3.3.2 spammy=kathleen, Employee, day!, sic
X-HELO: IND01-MA1-obe.outbound.protection.outlook.com
Received: from mail-eopbgr1380047.outbound.protection.outlook.com (HELO IND01-MA1-obe.outbound.protection.outlook.com) (40.107.138.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 04 Mar 2019 16:22:07 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NETORGFT4690007.onmicrosoft.com; s=selector1-webtechiezone-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sOqCdndRdPSjE5qz/h21oxOLjaWyLlydEMysBUbyYWI=; b=CjsfQEivOmR3QD9FO32yJHRpE+ApLzD6McJXNmHgMQxLoyG0wwxfg7UFjGVJwij0l32UfqXAZkSLSfKNUVteyU8wirg0CRsxw3bAeeXsC7OfhgmvavgXRGts5sl8Xc0fiLsndz0ZYFTUcxK85JsYDOXKneFVbdNXuc6udT1u/F0Received: from BM1PR01MB2563.INDPRD01.PROD.OUTLOOK.COM (20.178.173.139) by BM1PR01MB3586.INDPRD01.PROD.OUTLOOK.COM (52.133.237.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1665.16; Mon, 4 Mar 2019 16:22:03 +0000
Received: from BM1PR01MB2563.INDPRD01.PROD.OUTLOOK.COM ([fe80::52f:e6c4:47d3:baaf]) by BM1PR01MB2563.INDPRD01.PROD.OUTLOOK.COM ([fe80::52f:e6c4:47d3:baaf%2]) with mapi id 15.20.1665.019; Mon, 4 Mar 2019 16:22:03 +0000
From: Kathleen Brown <kathleen.brown@webtechiezone.com>
To: "gcc-bugs@gcc.gnu.org" <gcc-bugs@gcc.gnu.org>
Subject: Oracle E-Business Suite Users Contact List
Date: Mon, 04 Mar 2019 16:22:00 -0000
Message-ID: <BM1PR01MB25639C6D093192DF3387A75E91710@BM1PR01MB2563.INDPRD01.PROD.OUTLOOK.COM>
authentication-results: spf=none (sender IP is ) smtp.mailfrom=kathleen.brown@webtechiezone.com;
received-spf: None (protection.outlook.com: webtechiezone.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
X-SW-Source: 2019-03/txt/msg00415.txt.bz2
Content-length: 631

Hello,



Hope you're having a great day!



I just wanted to know if you're looking to acquire Oracle E-Business Suite Users Contact List for your marketing efforts?



Information Field: Names, Title, Email, Phone, Company Name, Company URL, Company physical address, SIC Code, Industry and Company Size (Revenue and Employee).



Kindly review and let me know of your target interest so that I can get back to you with the exact counts and sample file.



Do let me know if you have any questions for me.



Regards,

Kathleen Brown

Database Executive

If you do not wish to receive these emails. Please respond Exit.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-02-09 11:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-81552-4@http.gcc.gnu.org/bugzilla/>
2019-02-09 11:02 ` [Bug fortran/81552] -finit-integer=n is restricted to 32-bit INTEGER dominiq at lps dot ens.fr

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).